@font-face{
	font-family: "Ponter"; 
	src: url(13748.ttf); 
}

@keyframes mov-me {   
  0% {     
      width: 0%;
  }   
  100% {
    width: 100%;
   }
}

@keyframes mov-brd {   
  0% {     
      border-left-width: 0px;
  }   
  100% {
    border-left-width: 5px;
   }
}

@keyframes view-text {   
  0% {     
      opacity: 0;
  }   
  100% {
    opacity: 1;
   }
}

/* Навигационное меню */
.bg-light {
	background-color: #c3243c!important;
	border-bottom: 2px solid white;
}

i.fab.fa-vk {
    color: white;
    font-size: 30px;
    padding-left: 9px;
    transition: 0.3s;
}

i.fab.fa-vk:hover {
    color: #597da3;
    transition: 0.3s;
}

ul.navbar-nav {
    margin: 0 auto;
}

.navbar-light .navbar-nav .nav-link {
	color             : white;
	font-weight       : 600;
	font-size         : 16px;
	transition        : all 0.3s ease;
	-webkit-transition: all 0.3s ease;
	position          : relative;
}

.navbar-light .navbar-nav .nav-link:after {
	content           : '';
	position          : absolute;
	left              : 0;
	opacity           : 0;
	bottom            : 20%;
	width             : 100%;
	height            : 100%;
	border-bottom     : 2px solid #ffffff;
	-webkit-box-shadow: inset 0px -1px 0px 0px #ffffff;
	-moz-box-shadow   : inset 0px -1px 0px 0px #ffffff;
	box-shadow        : inset 0px -1px 0px 0px #ffffff;
	-webkit-transition: all 0.3s ease;
	transition        : all 0.3s ease;
}

.navbar-expand-lg .navbar-nav .nav-link {
	margin-right: 0.5rem;
	margin-left: 0.5rem;
	padding-right: 0rem;
	padding-left: 0rem;
}

.navbar-light .navbar-nav .nav-link:hover:after {
	bottom: 5%;
	opacity: 1;
	transition: all 0.3s ease;
	border-bottom: 2px solid white;
}

.navbar-light .navbar-nav .nav-link:hover {
	color: white;
}

/* +ВИДЕО+ */ 
#trailer {
	position: relative;
	top: 0; right: 0; bottom: 0; left: 0;
	overflow: hidden;
	display: block;
	z-index: -1;
	width: 100%;
	height: 100%;
}

#trailer > video {
	position: absolute;
	top: 0;
	left: 0;
	min-width: 100%; 
	min-height: 100%;
	width: auto; 
	height: auto;
}
/* -ВИДЕО- */

.background-on-video{
	z-index: -1;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

	background-image: -moz-linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0,0,0,0.5));
	background-image: -webkit-linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0,0,0,0.5));
	background-image: -o-linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0,0,0,0.5));
	background-image: -ms-linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0,0,0,0.5));
	background-image: linear-gradient(top, rgba(0, 0, 0, 0.2), rgba(0,0,0,0.5));
}

/* Название (СШ "Спартак") */
.header {
	position: absolute;
	top: 0;
	display: table;
	width: 100%;
	height: 100%;
}

.text-header {
	display: table-cell;
	text-align: center;
	vertical-align: middle;
}

/* Описание достоинтсв школы */
.about-the-school{
	background: #c3243c;
	padding-top: 140px;
	padding-bottom: 140px;
}

.about-the-school h2{
	color: white;
	font-size: 40px;
}

.img-list {
	width: 120px;
}

.name-list {
	font-size: 20px;
	line-height: 1.35;
	font-weight: 600;
	color: white;
}

.text-list{
	font-size: 18px;
	line-height: 1.55;
	font-weight: 300;
	color: white;
	font-family: 'Littera',Arial,sans-serif;
}

h1{
	font-family: Ponter;
	font-size: 100px;
	color: #c3243c;
    text-shadow: 1px 1px 2px #fff;
	z-index: 1;
}

h2{
	font-family: Ponter;
	font-size: 60px;
	color: #c3243c;
}

h3{
	font-family: Ponter;
	font-size: 40px;
	color: #c3243c;
}


.fixed-bg {
	display: table;
	width: 100%;
	height: 100%;
	position: relative;
	min-height: 100%;
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	z-index: 1;
	background-attachment: fixed;
}

.fixed-bg.bg-1 {
	background-image: url("img/fon1.jpg");
}

.fixed-bg h2 {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
	color: #fff;
	font-size: 60px;
	font-family: Ponter;
	background: #00000054;
}

/* Расписание занятий */
.rectangle-shadow{
	box-shadow: 0px 0px 10px 0px rgba(0, 0, 0, 0.3);	
}

.years-groups {
	display: flex;
	justify-content: center;
}

.tab-year-birth{
	padding: 18px 20px;
	color: #c3243c;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
	font-family: 'Littera', Arial, 'sans-serif';
	transition: .3s;
	position: relative;
}

.tab-year-birth:hover{
	background: #eaeaea;
	cursor: pointer;
	transition: .3s;
}

.tab-year-birth:before{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	z-index: 1;
	width: 100%;
	height: 3px;
	background-color: transparent;
	transition: .3s;
}

.tab-year-birth.active_tab:before{
	background-color: #c3243c;
	transition: .3s;
}


table {
	font-family: 'Littera', Arial, 'sans-serif';
	font-size: 25px;
}

td {
	padding: 10px;
}

td:nth-child(1) {
	font-style: italic;
    padding-left: 10px;
}

td:nth-child(2) {
	text-align: center;
}

td:nth-child(3) {
	text-align: center;
}

/* Контакты */
.contacts {
	height: 100%;
	display: flex;
}

.info {
	width: 50%;
	height: 100%;
	background: #c3243c;
	display: table;
}

.info-cells {
	display: table-cell;
	vertical-align: middle;
	padding-left: 90px;
}

.info-cells h2 {
	color: white;
}

.info-cells p {
	color: white;
}

.map {
	width: 50%;
	height: 100%;
}


@media (min-width: 768px) { 
	.img-list{
		float: right;
	}
}

@media (max-width: 768px) {
	#video{
		display: none;
	}

	.background-on-video{
		background-image: url('video/fon-img.png');
		background-size: cover;
		background-position: center center;
		background-repeat: no-repeat;
	}
	
	.img-list{
		float: none;
	}

	.align-self-center{
		text-align: center;
	}
}

.navbar-light .navbar-nav .nav-link.activ{
	color: #e59fa9;
}

.navbar-light .navbar-nav .nav-link.activ:after {
	bottom: 5%;
	opacity: 1;
	transition: all 0.3s ease;
	border-bottom: 2px solid #e59fa9;
}

.lvl_1 {
	width: 100%;
	display: -ms-flexbox;
	display: flex;
	-ms-flex-direction: row;
	flex-direction: row;
	-ms-flex-wrap: wrap;
	flex-wrap: wrap;
	position: relative;
	max-width: 480px;
	text-decoration: none;
	margin: auto;
}

.lvl_1_1{
	position: relative;
	height: 400px;
	width: 100%;
	overflow: hidden;
}

.romb{
	position: absolute;
	bottom: -64px;
	left: 50%;
	-ms-transform-origin: 50% 50%;
	transform-origin: 50% 50%;
	overflow: hidden;
	width: 250px;
	height: 250px;
	background: #ededed;
	-ms-transform: rotate(45deg) skew(-20deg,-20deg) translateX(-50%);
	transform: rotate(45deg) skew(-20deg,-20deg) translateX(-50%);
	z-index: -2;
}

.for_img{
	height: 100%;
	width: 100%;
	overflow: hidden;
	position: relative;
}

.for_img img{
	max-height: 100%;
	margin: 0 auto;
	position: absolute;
	-ms-transform: translate(-50%,-48%);
	transform: translate(-50%,-48%);
	top: 50%;
	left: 50%;
	transition: .5s;
	z-index: -1;
}

._3RaYXWVU{
	position: absolute;		
	width: 100%;
	height: 100%;
	bottom: -1px;
}

._3RaYXWVU:after, ._3RaYXWVU:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent #fff;
	bottom: 0;
}
._3RaYXWVU:before {
	border-width: 0 244px 120px 0;
	border-left: 0;
	left: 0;
	right: auto;
}

._3RaYXWVU:after {
	border-width: 0 0 120px 244px;
	border-right: 0;
	right: 0;
	left: auto;
}
._3RaYXWVU:after, ._3RaYXWVU:before {
	content: "";
	position: absolute;
	width: 0;
	height: 0;
	border-style: solid;
	border-color: transparent transparent #fff;
	bottom: 0;
}


ul.group-name {
	padding-inline-start: 0px;
	margin: 0px;
}

ul.group-name li {
	list-style: none;
	width: 200px;
	padding: 18px 20px;
	color: #c3243c;
	font-weight: 400;
	text-transform: uppercase;
	cursor: pointer;
	font-family: 'Littera', Arial, 'sans-serif';
	transition: .3s;
	position: relative;
	border-bottom: 0.25rem solid #c7c7c7;
}

ul.group-name li:hover {
	background: #eaeaea;
	cursor: pointer;
	transition: .3s;
}

.line {
	height: 0.25rem;
	margin: 0;
	width: 200px;
	background-color: #c3243c;
	border: none;
	transition: all 350ms;
	position: relative;
	bottom: 4px;
}


.lvl_1_1:hover .hover-img{
	transition: .5s;
	transform: translate(-50%,-50%);
}

.info-text{
	color: #7a7a7a;
	font-size: 17px;
}

strong {
	color: #c3243c;
}

.info-coach .name-coach, 
.age-coach{
	color: #c3243c;
	font-family: 'Littera',Arial,sans-serif;
	font-weight: 600;
	font-size: 23px;
}

.info-coach .vacancy-coach{
	color: #7a7a7a;
	font-family: 'Littera',Arial,sans-serif;
	font-weight: 600;
	font-size: 20px;
}

.phone{
  display: none;
}

.drop-down-arrow {
    display: none;
    position: relative;
}

.drop-down-arrow:after {
    content: ' ';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 5px 4px 0 4px;
    position: absolute;
    top: 50%;
    right: 20px;
    border-color: #c3243c transparent transparent transparent;
}


@media (max-width: 991px) {
    .contacts {
        height: 100%;
        width: 100%;
        display: table;
    }
    
    .info {
        width: 100%;
        height: 50%;
        display: table-row;
    }
    
    .map {
        width: 100%;
        height: 50%;
        display: table-row;
    }
  
  .phone{
    display: block;
  }
  
  .drop-down-arrow {
    display: block;
  }
  
  .moving-line{
    display: none;
  }
  
  table{
    width: 100%;
  }
}

@media (max-width: 576px) {
    h1 {
      font-size: 60px;
    }
  
    .fixed-bg h2 {
        font-size: 40px;
    }
  
    td {
        padding: 0px; 
    }
  
    table {
        font-size: 13px;
    }
  
    .info-cells {
        padding-left: 15px;
    }
  
    .Official-organization {
        font-size: 25px;
    }
  
    .moving-line {
        display: none;
    }
}


select.phone {
    -webkit-appearance: none;
    color: #c3243c;
    border-color: #eeeeee;
    padding: 16px 20px;
    width: 100%;
    box-sizing: border-box;
    background-color: transparent;
    border-radius: 0;
    outline: none;
    margin: 0;
    font-size: 16px;
    font-family: 'Littera',Arial,sans-serif;
    font-weight: 600;
    background: #e6e6e6;
    height: 78px;
}

select.phone:hover {
    cursor: pointer;
}

td{
  height: 78px;
}