body.page-template:before, body.single:before{
	height: 220px;
}

body{
	min-width: 1300px;
}


.box_th{
	display: table;
	position: relative;
	vertical-align: middle;
	margin-top: 50px;
	margin-bottom: 50px;
	padding-top: 50px;
	padding-bottom: 50px;
}


.page-thanks{
	height: calc( 100vh - 443px );
	display: table;
	width: 100%;
}

.page-thanks .header-title-container{
	display: table-cell;
	vertical-align: middle;
	padding-top: 50px;
	padding-bottom: 50px;
}

.page-template-page-thanks .wrapper{
	min-height: inherit;
}


.header_table .adress{
	display: block;
	position: absolute;
	top: 50px;
	left: 0;
	font-size: 17px;
	color: rgb(255, 255, 255);
	font-weight: bold;
	line-height: 1.2;
	text-align: left;
}

.header_table .adress div{}
.header_table .adress div span{
	color: #c7c7c7;
	color: #fff342;
}
.header_table .adress div.first{
	margin-bottom: 10px;
}


.style_item_wrap{
	padding: 10px 10px 20px;
}

.main-caption.style{
	display: block;
	position: relative;
	text-align: left;
	margin-bottom: 30px;
}

.yellow_circle{
	display: inline-block;
	position: relative;
	border-radius: 50%;
	width: 300px;
	height: 300px;
	bottom: -15px;
	background-color: yellow;
}

.yellow_circle img{
	display: block;
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -65%);
	max-height: 330px;
}


.page-style {}

.page-style .row-header{
	padding-top: 60px;
	padding-bottom: 60px;
}

.page-style .main-caption_q{
	padding-left: 0;
}


.page-style .col-left{
	text-align: right; 
	padding-right: 40px;
}
.page-style .col-right{
	text-align: left; 
	padding-left: 40px;
}






.btn_default{
	display: inline-block;
	position: relative;
	padding: 25px 50px;
	background-color: #ffdf00;
	border-radius: 50px;
	font-size: 24px;
	color: rgb(0, 0, 0);
	font-weight: 400;
	text-transform: uppercase;
	line-height: 1;
	text-align: center;
	transition: background .35s ease, transform 1s ease;
}

.single-format-standard .btn_default{
	font-size: 24px;
}

.btn_default span{
	display: inline-block;
	position: relative;
	bottom: -2px;
}



.btn_default:hover{
	background-color: #ff8800;
	color: #000;
	transition: background .35s ease, transform 1s ease;
}

.btn_default:active{
	transform: scale(.8);
	transition: background .35s ease, transform 1s ease;
}


.btn_default.test-lesson{
	margin-top: 5px;
	margin-bottom: 50px;
}








.table_default{
	margin-bottom: 85px;
	color: #000;
	font-family: "dincondensedc";
	font-size: 24px;
}
.table_default tbody tr{
	box-shadow: none;
	border: none;
	font-weight: 400;
}

.table_default tbody tr td{
	text-align: center;
	vertical-align: middle;
}
.table_default tbody tr td:first-child{
	text-align: right;
}
.table_default tbody tr td:last-child{
	text-align: left;
	padding-right: 15px;
}


.table_default tbody tr td{
	padding-left: 10px;
	padding-right: 10px;
}
.table_default tbody tr td:nth-child(1){
	/* padding-left: 95px; */
	/* max-width: 65px; */
}
.table_default tbody tr td:nth-child(2){
	max-width: 100px;
}
.table_default tbody tr td:nth-child(3){
	text-align: left;
	max-width: 130px;
}
.table_default tbody tr td:nth-child(4){
	text-align: left;
	max-width: 180px;
}
.table_default tbody tr td:nth-child(5){
	text-align: left;
}


.table_default td,
.table_default th{
	border: none;
}
.table_default tbody tr:nth-of-type(odd){
	background-color: transparent;
}

.table_default tbody tr:nth-of-type(even){
	background-color: #fff;
}












.modal-backdrop{
	z-index: 1040;
}



.footer.box{
	bottom: 200px;

}

#new_footer{
	display: block;
	position: relative;
	background-color: #232323;
	padding-top: 25px;
	padding-bottom: 25px;
}



#new_footer .social_list{
	display: block;
	position: relative;
	padding-left: 0;
	list-style-type: none;
}


#new_footer .social_list li a{
	padding: 5px;
}
#new_footer .social_list li, #new_footer .social_list li a{
	display: inline-block;
	position: relative;
}



#new_footer .links{
	display: block;
	position: relative;
	padding-left: 0;
	list-style-type: none;
	margin-top: 50px;
	margin-bottom: 40px;
}
#new_footer .links li{
	display: block;
	position: relative;
	line-height: 1;
}
#new_footer .links li:first-child{
	margin-bottom: 5px;
}
#new_footer .links li a{
	display: inline-block;
	position: relative;
	font-size: 16px;
	color: rgb(170, 170, 170);
	font-weight: 400;
	line-height: 1;
	text-align: left;
	transition: .35s ease;
}

#new_footer .links li a:hover{
	color: #fff342;
	transition: .35s ease;
}


#new_footer .fop{
	display: block;
	position: relative;
	font-size: 16px;
	color: rgb(170, 170, 170);
	font-weight: 400;
	line-height: 1.2;
	text-align: left;
}


.logo{
	position: relative;
}

.logo:active{
	margin-top: 3px;
}

#new_footer .col-logo{
	text-align: center;
}
#new_footer .logo{
	display: inline-block;
	position: relative;
	cursor: pointer;
}



#new_footer .adress{
	display: block;
	position: relative;
	text-align: right;
	z-index: 1;
}
#new_footer .copyright{
	display: block;
	position: relative;
	font-size: 16px;
	color: rgb(170, 170, 170);
	font-weight: 400;
	line-height: 1.2;
	text-align: right;
}

#new_footer .col-left{
	text-align: left;
}
#new_footer .col-right{
	text-align: right;
}

#new_footer .btn_default.transparent{
	background-color: transparent;
	border: 2px solid #fff342;
	color: #fff;
	font-size: 17px;
	padding: 15px 40px;
	margin-top: 25px;
	margin-bottom: 40px;
	transition: background .35s ease, color .35s ease;
}

#new_footer .btn_default.transparent:hover{
	background-color: #fff342 !important;
	color: #000;
	transition: background .35s ease, color .35s ease;
}

.wrapper{
	padding-bottom: 0;
}


.main h2{
	margin-bottom: 70px;
}


.box.main .btn_group .btn_default{
	font-size: 28px;
	font-weight: 400;
	color: #000;
	padding-left: 65px;
	padding-right: 65px;
}

.box.main .btn_group .btn_default img{
	display: inline-block;
	position: relative;
	width: 16px;
	vertical-align: top;
	margin-right: 10px;
}

.box.main .btn_group .btn_default:first-child{
	margin-right: 40px;
}
.box.main .btn_group .btn_default:last-child{
	margin-left: 40px;
}



/* header */

body.page-template-page-home:before{
	height: 175px;
	height: 220px;
}


/* body.page-template .header_social, body.post-template-default .header_social{ */
.header_social{
	padding-top: 15px;
}

/* body.page-template .header__tel,  body.post-template-default .header__tel{ */
.header__tel{
	padding-top: 37px !important;
}

.div_logo{
	vertical-align: middle !important;
}

.header_table > div.div_logo{
	height: 165px;
	padding-top: 0;
	padding-bottom: 0;
}

/* body.page-template .header_table .adress{ */
.header_table .adress{
	line-height: 1 !important;
}
/* body.page-template .header_table .adress,
body.post-template-default .header_table .adress{ */
.header_table .adress{
	top: 46px;
	font-weight: 400;
}


/* 404 */

body.error404:before {
    content: '';
    position: absolute;
    z-index: 0;
    left: 0;
    right: 0;
    background-color: rgba(1, 2, 2, 0.66);
    height: 175px;
    height: 220px;
    top: 0;
}
.error404 h2{
	margin-bottom: 0;
	line-height: 1;
}
.error404 .header-title-container{
	padding-top: 70px;
}
.error404 .header-title-container .row{
	min-height: calc( 100vh - 514px );
}

.error404{
	min-height: 100vh;
	background-image: url("http://dside.com.ua/wp-content/uploads/2018/08/bg.jpg"); background-size: cover; background-repeat:repeat; background-position: center top;
}

/* Trainer page */

.page-template-page-trainer h2, .page-template-page-style h2, .page-template-page-shedule h2, .page-template-page-room h2{
	margin-bottom: 0;
	line-height: 1;
}


.header-title-container h2{
	bottom: -5px;
	position: relative;
}

.header_table > div:nth-child(2){
	font-weight: 400;
}


.page-template-page-style .btn_default.left{
	margin-right: 40px;
}


.header-title-container{
	padding-top: 20px;
	padding-bottom: 50px;
	padding-left: 0;
	padding-right: 0;
}


.header-title-container .btn_default{
	padding: 22px 45px;
	margin-right: 0;
}

.page_style_box, .page_trainer_box, .page_shedule_box, .page_room_box{
    margin-bottom: 50px;
}

.page-template-page-default .page-default-page {
	margin-bottom: 0;
}


.page-default-page .header-title-container h2{
	margin-bottom: 0;
}


/* Teacher */

.single-post .teacher_box {
	position: relative;
	background: transparent !important;
}
.single-post .teacher_box:before {
	content: none;
}
.teacher_box_container{
	display: block;
	position: relative;
	overflow: hidden;
}
.single-post .teacher_box{
	margin-bottom: 0;
}
.teacher_box_container:before{
	content: "";
	display: block;
	position: absolute;
	top: 0;
	left: 0;
	right: 0;
	height: 100%;
	background-image: -webkit-gradient(linear, left top, right top, from(#353535), to(#504d4f));
	background-image: linear-gradient(to right, #353535, #504d4f);
}


.single-post .wrapper,
.single-post .box
{
	overflow: visible;
}

 .single-post .page__trainer_text{
 	padding-top: 40px;
 }


.teacher_box_container {}
.teacher_box_container strong{
	color: #fff343;
	margin-bottom: 15px;
	display: inline-block;
	position: relative;
}
.teacher_box_container em{
	font-style: normal;
	color: #aaaaaa;
}

.teacher_box_container .page__trainer_text {
	line-height: 1.15;
}
.teacher_box_container .page__trainer_text ul {
	list-style-type: none;
	padding-left: 0;
    font-size: 25px;
    margin: 0;
    font-family: "GOSTTypeA";
}

.teacher_box_container .page__trainer_text ul li{
	margin-bottom: 15px;
}

.teacher_box_container .teacher_box > img,
.teacher_box_container .page__trainer_text{
	vertical-align: middle;
}


.teacher_box_container .col-left{

}
.teacher_box_container .col-left img{
	max-width: 400px;
}
.teacher_box_container .col-right{
	padding-left: 50px;
}


.container-shedule {
	padding-top: 50px;
	padding-bottom: 50px;
}


.container-shedule table{
	margin-bottom: 0;
	padding-bottom: 0;
}

.container-shedule .btn_default{
	margin-right: 0;
	padding: 20px 40px; 
	margin-bottom: 0;
	display: inline-block;
	font-size: 24px;
}



.bounceIn {
  -webkit-animation-duration: 0.75s;
  animation-duration: 0.75s;
  -webkit-animation-name: bounceIn;
  animation-name: bounceIn;
}



.bounceIn {
    -webkit-animation-duration: .75s;
    animation-duration: .75s;
    -webkit-animation-name: bounceIn;
    animation-name: bounceIn;
}



@-webkit-keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}

@keyframes bounceIn {
  from,
  20%,
  40%,
  60%,
  80%,
  to {
    -webkit-animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
    animation-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  }

  0% {
    opacity: 0;
    -webkit-transform: scale3d(0.3, 0.3, 0.3);
    transform: scale3d(0.3, 0.3, 0.3);
  }

  20% {
    -webkit-transform: scale3d(1.1, 1.1, 1.1);
    transform: scale3d(1.1, 1.1, 1.1);
  }

  40% {
    -webkit-transform: scale3d(0.9, 0.9, 0.9);
    transform: scale3d(0.9, 0.9, 0.9);
  }

  60% {
    opacity: 1;
    -webkit-transform: scale3d(1.03, 1.03, 1.03);
    transform: scale3d(1.03, 1.03, 1.03);
  }

  80% {
    -webkit-transform: scale3d(0.97, 0.97, 0.97);
    transform: scale3d(0.97, 0.97, 0.97);
  }

  to {
    opacity: 1;
    -webkit-transform: scale3d(1, 1, 1);
    transform: scale3d(1, 1, 1);
  }
}


/* Fixed social */


.fixed_social{
	display: block;
	position: fixed;
	text-align: center;
	bottom: 40px;
	right: -200px;
	z-index: 10;
	-webkit-transition: -webkit-transform .35s ease;
	transition: -webkit-transform .35s ease;
	-o-transition: transform .35s ease;
	transition: transform .35s ease;
	transition: transform .35s ease,-webkit-transform .35s ease;
}





.mobile_version #scroll_to_top{
	zoom: 2.5;
	bottom: 140px;
}

#scroll_to_top.bounceIn{
	right: 5px;
}



.fixed_social ul{
	display: block;
	position: relative;
	padding-left: 0;
	list-style-type: none;
}
.fixed_social ul li{
	display: inline-block;
	position: relative;
}
.fixed_social ul li:last-child{
	margin-left: 3px;
}

.fixed_social ul li a{
	display: inline-block;
	position: relative;
	padding: 3px;
	transition: opacity .35s ease;
}

.fixed_social ul li a:hover{
	cursor: pointer;
	opacity: .8;
	transition: opacity .35s ease;
}

.fixed_social ul li a img{
	display: inline-block;
	position: relative;
	width: 50px;
}

.fixed_social .message_us{
	display: inline-block;
	position: relative;
	text-align: center;
    border-radius: 4px;
	transition: .35s ease, box-shadow .35s ease;
}

.fixed_social .message_us:hover{
	/* opacity: .85; */
    box-shadow: 0 0 11px #004688;
	transition: .35s ease, box-shadow .35s ease;
}
.fixed_social .message_us img{
	display: inline-block;
	position: relative;
	max-width: 170px;
}





.page-template-page-shedule .container{
	max-width: 1400px;
}
















/* Media */




@media all and (max-width: 768px){
	.page-template-page-home .box.main .btn_group .btn_default{
		font-size: 35px;
		padding: 30px 80px;
	}
	.box.main .btn_group .btn_default img{
		width: 19px;
	}
	.fixed_social ul li a img{
		width: 70px !important; 
	}
	.fixed_social .message_us img{
		max-width: 225px !important; 
	}


}







/* Header feature */

.header .logo{
	display: inline-block;
	position: absolute;
	top: 8px;
	left: 50%;
	transform: translateX(-50%);
	/* border: 1px dotted gray; */
}
.header .logo img{
	max-width: 160px;
}


body.home .header .logo{
	top: 70px;
}




.segmented_coasts {
	display: inline-block;
	position: absolute;
	min-width: 650px;
	padding: 5px;
	list-style-type: none;
	padding: 6px;
	top: 88px;
	left: 50%;
	border-radius: 14px;
	transform: translateX(-50%);
	background-color: rgb(255 255 255 / 33%); 
}
.segmented_coasts li{
	display: inline-block;
	position: relative;
	float: left;
	min-width: 50%;
}
.segmented_coasts li a{
	display: block;
	position: relative;
	padding: 6px 5px;
	text-align: center;
	border-radius: 9px;
	font-size: 30px;
	font-family: "dincondensedc";
	font-weight: 400;
	color: #000;
	line-height: 1.1;
	text-transform: uppercase;
	cursor: pointer;
}



.segmented_coasts li a span{
	display: inline-block;
	position: relative;
	bottom: -2px;
}


.segmented_coasts li.active a:before{
	content: "";
	display: block;
	position: absolute;
	left: 0;
	top: 0;
	z-index: -2;
	height: 100%;
	width: 100%;
	border-radius: 9px;
	background-color: #fff;
	border: 0.5px solid rgba(0, 0, 0, 0.04);
	box-shadow: 0px 3px 8px rgba(0, 0, 0, 0.12), 0px 3px 1px rgba(0, 0, 0, 0.04);
}




.segmented_coasts li:first-child.active a:before{
	transition: transform .3s ease-out;
}
.segmented_coasts li:last-child.active a:before{
	transition: transform .3s ease-out;
}


.segmented_coasts li:first-child.active.un_active a:before{
	transform: translateX(100%);
	transition: transform .4s ease;
}
.segmented_coasts li:last-child.active.un_active a:before{
	transform: translateX(-100%);
	transition: transform .4s ease;
}



/* Lg content */

.header__tel a{
	font-size: 28px;
	line-height: 1.15;
}
.adress .city{
	display: block;
	position: relative;
	margin-bottom: 5px;
}
/* body.page-template .header_table .adress, body.post-template-default  */
.header_table .adress{
	font-size: 20px;
}


.header, .footer, .header_table{
	overflow: visible;
}




/* Grid size and fixeds*/


@media (min-width: 1200px){
	.container {
	    max-width: 1300px;
	}
}

.wrapper {
    width: 1300px;
    min-height: 100vh;
}

.header, .footer, .header_table{
	width: 1300px;
}
.box{
	width: 1300px;	
}



.style_box {
    width: calc( 20% - 12px );
    margin: 0 14px 13px 0;
}

.style_box:nth-child(4n) {
	margin-right: 14px;
}
.style_box:nth-child(5n) {
    margin-right: 0;
}


.room_item4{
	width: 413px;
}
.room_item4 .room_item_img img{
	height: 250px;
}

.room_item3 {
    width: 310px;
}

.box_iframe.float-left{
	width: 635px;
}

/* New default template */

body.page-template-page-default{
	background-image: url("http://dside.com.ua/wp-content/uploads/2018/08/bg.jpg"); background-size: cover; background-repeat:repeat; background-position: center top;
}



.page-default-page .main_text a{
	font-weight: 600;
}

.page-default-page .main_text a:hover{
	color: #ffdf00;
}


body.page-template-page-default{
    min-height: 100vh;
    background-image: url(http://dside.com.ua/wp-content/uploads/2018/08/bg.jpg);
    background-size: cover;
    background-repeat: repeat;
    background-position: center top;
}
body.page-template-page-default .wrapper{
    min-height: 100vh;
}



	.box.main .btn_group .btn_default{
		font-size: 36px !important;
		/* padding: 30px 75px !important */
	}
	.box.main .btn_group .btn_default img{
		width: 20px;
	}




.single.single-post .wrapper{ 
	min-height: initial;
}

.page__teacher, .page-thema{
	min-height: calc( 100vh - 458px );
}



body.home .header .logo{
	top: 60px;
}
.home .header .logo img{
	max-width: initial;
	width: initial;
	width: 220px;

}








