/*
Theme Name: SCOOL
Theme URI: #
Author: the Top Secret Team
Author URI: analyzed.com.ua
Description: Top Tamplate, Individual from your company
Version: 1.9
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: blog, two-columns, left-sidebar, accessibility-ready, custom-background, custom-colors, custom-header, custom-logo, custom-menu, editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
Text Domain: symfony

This theme, like WordPress!
*/

@font-face {
    font-family: 'Magnolia Script';
    src: url(fonts/magnolia-script.regular.otf);
}

html {
    margin: 0;
    padding: 0;
    position: relative;
    height: 100vh;
}

body {
    position: relative;
    margin: 0;
    padding: 0;
    color: #666666;
    font-size: 18px;
    font-family: 'Montserrat', sans-serif;
    background: #fff;
    min-height: 100vh;
}


span.text a {
    color: #fff;
}

a.fancybox.image:hover {
    opacity: 0.3;

}



nav.top .col-md-3 {
    width: 25%;
}
.col1 {
    width: 49%;
    display: inline-block;
    vertical-align: top;
    min-width: 300px;
	padding:15px;
}


.onoff {
    padding: 5px;
    background: #f8f8f8;
}

ul.langs {
    display: none;
}


.btn-success {
    background: #ff7e00!important;

}


.onoff {
    padding: 5px;
    background: #f8f8f8;
}


.col-onoff {

	text-align:center;
}

.on {
    color: #00bec5!important;
}
.off {
    color: #ff7e00!important;
    font-family: arial;
    letter-spacing: 1px;
}

section.programs-page .col-md-3 {
  
    min-height: 360px;
}


	
	.programs  .col-md-3 {
  
min-height: 360px;
}
	
	


p.format{
  position:relative;
  text-align: center
}
p.format:before {
    content: "";
    display: block;
    border-top: solid 2px #1acdd4;
    border-bottom: solid 2px #ff7e00;
    width: 100%;
    height: 6px;
    position: absolute;
    top: 40%;
    z-index: 0;
}

.col-onoff p{

  position: relative;
  z-index: 1;
}

span.line {
    background: #f8f8f8;
    z-index: 2;
    position: relative;
    padding: 0 0 0 10px;
    text-align: center;
    /* display: flex; */
}



img#fancybox-img{border: 3px solid #ff7e00;}


div#fancybox-content {
    border: 0px;
}

#fancybox-outer {
    position: relative;
    width: 100%;
    height: 100%;
    background: none!important;
    box-shadow: none!important;
    -moz-box-shadow: none!important;
    -webkit-box-shadow: none!important;
}

dl.gallery-item img {
    border: none!important;
  
}


#gallery-2 .gallery-item {
    float: none!important;
    display: inline-block!important;
	
  
    
}

.page-id-149  dl.gallery-item{	border: 1px solid #cfcfcf!important; min-height:350px;}

.page-id-149 dt.gallery-icon.portrait img {
   
    width: 240px;
    height: auto;

}

.page-id-149 dt.gallery-icon.portrait  {

    width: 240px;
    height: auto;
	min-height:350px;
}


.page-id-182  dl.gallery-item{	border: 1px solid #cfcfcf!important; min-height:350px;}

.page-id-182 dt.gallery-icon.portrait img {
   
    width: 240px;
    height: auto;

}

.page-id-182 dt.gallery-icon.portrait  {

    width: 240px;
    height: auto;
	min-height:350px;
}




dl.gallery-item {
    width: 24%!important;
    margin: 5px;
    max-height: 200px;
    overflow: hidden;
    min-width: 240px;
    text-align: center;
}


dt.gallery-icon.landscape {
  
    background: url(http://wunderchado.com.ua/wp-content/uploads/2019/04/f00e.png) center #0e140f;
    background-repeat: no-repeat;
	overflow:hidden;
}

dt.gallery-icon.portrait img {
    min-width: 300px;
}


dt.gallery-icon.landscape {
    width: 100%;
}


dt.gallery-icon.portrait img {
    min-width: 100%;
}



dt.gallery-icon.portrait  {
  
    background: url(http://wunderchado.com.ua/wp-content/uploads/2019/04/f00e.png) center #0e140f;
    background-repeat: no-repeat;
	  min-width: 240px;
	  max-height: 200px;
	  overflow:hidden;
}
#fancybox-left-ico:hover{left:0!important;}

#fancybox-right-ico:hover{right:20px!important;}

#fancybox-left-ico{left:0!important;}

#fancybox-right-ico{right:20px!important;}
#fancybox-left-ico, #fancybox-right-ico{left:auto!important;}

span.video-text {
    
    padding: 20px;
    display: block;
}

span.video-text iframe {
    width: 100%;
    text-align: center;
}

span.video-text p {
    width: 32.8%;
    min-width: 300px;
    display: inline-block;
    overflow: hidden;
    background-position: center center;
    text-align: center;
    margin: 0 auto;
}



#fancybox-close {
    position: absolute;
       top: -20px!important;
    right: -20px!important;
    width: 30px;
    height: 30px;
    background: url(img/fancybox.png) -40px 0!important;
    cursor: pointer;
    z-index: 111103;
    display: none;
}

#fancybox-left-ico {
    background-image: url(img/fancybox.png)!important;
    background-position: -40px -30px;
}

#fancybox-right-ico {
    background-image: url(img/fancybox.png)!important;
    background-position: -40px -60px;
}

a.fancybox-inline.vidgk {
    background: #ff7e00;
    padding: 15px;
    border: 3px solid #fff;
    color: #fff !important;
    margin: 30px 5px;
    max-width: 300px;
    margin: 0 auto;
    margin-top: 35px;
    margin-bottom: 35px;
    display: block;
    font-size: 24px;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
}


a.fancybox-inline.vidgk1 {
    background: #ff7e00;
    padding: 10px;
    border: 3px solid #fff;
    color: #fff !important;
  
    max-width: 150px;
    display: block;
    font-size: 18px;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px;
    text-decoration: none;
    text-align: center;
}

.footer-button {
    position: fixed;
    z-index: 50;
    bottom: 10px;
    right: 10px;
}

div#contact_form_pop_v {
    background: #ff7e00;
    padding: 15px;
	height: 100%;
	 border-radius: 20px;
}
div#contact_form_pop_r {
    background: #ff7e00;
    padding: 15px;
	height: 100%;
	 border-radius: 20px;
}
div#contact_form_pop_f {
    background: #ff7e00;
    padding: 15px;
	height: 100%;
	 border-radius: 20px;
}
div#contact_form_pop_r2 {
    background: #ff7e00;
    padding: 15px;
	 border-radius: 20px;
}



span.wpcf7-not-valid-tip {
    display: none;
}

.f11 input
 {
    border: none;
    padding: 10px;
    border-radius: 15px;
	font-size: 14px;
	    width: 100%;
}


.f11 textarea {
    border: none;
    width: 100%;
    border-radius: 15px;
    padding: 10px;
	    max-height: 150px;
		font-size: 14px;
}



input.wpcf7-form-control.wpcf7-tel.wpcf7-validates-as-required.wpcf7-text.wpcf7-validates-as-tel.wpcf7-not-valid {
    border: solid 2px #8f1616;
}
input.wpcf7-form-control.wpcf7-text.wpcf7-validates-as-required.wpcf7-not-valid {
    border: solid 2px #8f1616;
}

textarea.wpcf7-form-control.wpcf7-textarea.wpcf7-validates-as-required.wpcf7-not-valid {
    border: solid 2px #8f1616;
}


span.wpcf7-spinner {
    display: none;
}

input.wpcf7-form-control.wpcf7-submit.has-spinner {
    background: #ff7e00;
    font-size:17px;
    color: #fff;
    border-radius: 15px;
    border: solid 3px #fff;
    display: block;
    margin: 0 auto;
	max-width: 200px;
}







div#fancybox-content {
    background: none !important;
}



.wpcf7-response-output {
    color: #fff;
    font-size: 10px;
}



.fancy-ico span{display:none!important;}
.form2 h4 {
    color: #fff;
    text-align: center;
	font-family: 'Magnolia Script';
	font-size: 30px;
}
h1 {
    font-family: 'Magnolia Script';
    font-size: 48px;
    color: #ff7e00;
}

h2 {
    font-family: 'Magnolia Script';
    font-size: 40px;
    color: #00bec5;
}

h3 {
    font-family: 'Magnolia Script';
    font-size: 30px;
    color: #ff7e00;
    margin-top: 30px;
}

h4 {
    font-family: 'Montserrat';
    font-weight: bold;
    color: #ff7e00;
    font-size: 24px;
}

h5 {
    font-family: 'Montserrat';
    font-weight: bold;
    color: #00bec5;
    font-size: 22px;
}

h6 {
    font-family: 'Montserrat';
    font-size: 24px;
    color: #575757;
}

a, a:visited {
    text-decoration: none;
    color: #00bec5;
}

a:hover {
    color: #ff7e00;
}

nav.top {
    background: #f8f8f8;
    padding:0;
    height: 75px;
    color: #999999;
}


nav.top  .col-md-2.col-sm-3 {
    text-align: center;
}

#logo {
    display: block;
    margin-top: -10px;
    text-align: left;
    position: relative;
}

#logo img {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 20;
    
}

a.social {
    display: inline-block;
    vertical-align: middle;
    color: #ff7e00;
    border-radius: 20px;
    width: 30px;
    height: 30px;
    font-size: 18px;
    border: 1px solid #ff7e00;
    text-align: center;
    padding-top: 5px;
    transition: 0.3s;
    margin: 10px 1px 0 0;
}

a.social:hover {
    color: #00bec5;
    border: 1px solid #00bec5;
}

.langs {
    list-style: none;
    margin: 0;
    padding: 0;
}

.langs li {
    display: block;
    margin: 0 0 3px 0;
}

.langs li a {
    display: block;
    width: 100%;
    background: #cdcdcd;
    color: #fff;
    padding: 1px 3px;
    border-radius: 5px;
    text-align: center;
    font-size: 18px;
    line-height: 24px;
}

.langs li a:hover,
.langs li.active a {
    background: #ff7e00;
}
.nf-error .ninja-forms-field{
	   border: 2px solid #e80000 !important;
}
.tel {
    display: block;
    line-height: 23px;
    color: #ff7e00;
    font-weight: 500;
    font-size: 18px;
}

nav.top .tel:first-of-type {
    margin-top: -6px;
}

nav.main {
    background: #ff7e00;
    color: #fff;
    height: 65px;
}

nav.main a:link {
    color: #fff;
}

.top_menu > ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.top_menu > ul > li {
    display: inline-block;
    vertical-align: middle;
    position: relative;
    padding: 20px 6px;
}

.top_menu > ul > li > a {
    color: #fff;
    transition: 0.3s;
    font-size: 16px;
}

.top_menu > ul > li > a:hover {
    text-decoration: none;
    border-bottom: 1px solid #fff;
}

.top_menu > ul > li > ul {
    position: absolute;
    display: block;
    list-style: none;
    min-width: 220px;
    top: 100%;
    left: 0;
    margin: 0;
    padding: 0;
    z-index: 55;
    max-height: 0;
    transition: 0.3s;
    overflow: hidden;
    text-align: left;
}

.top_menu > ul > li.current-menu-item,
.top_menu > ul > li.current-menu-parent {

}

.top_menu > ul > li.current-menu-item > a,
.top_menu > ul > li.current-menu-parent > a {
    border-bottom: 1px solid #fff;
}

.top_menu > ul > li:hover > ul {
    max-height: 800px;
}

.top_menu > ul > li > ul > li {
    display: block;
    margin: 0;
    padding: 0;
}

.top_menu > ul > li > ul > li > a {
    display: block;
    width: 100%;
    padding: 10px;
    background: #bababa;
    color: #fff;
    transition: 0.3s;
    border-bottom: 1px solid #fff;
}

.top_menu > ul > li > ul > li > a:hover {
    background: #ff7e00;
}

.adrs i {
    font-size: 14px;
}

.home-head {
    /* height: 560px; */
    width: 100%;
    background-size: cover;
    background-position: top center;
}

.inmde {
    display: inline-block;
    vertical-align: middle;
}

.chado {
    color: #fff;
    background: #00bec5;
    text-align: center;
    padding: 15px 0;
}

.chado img {
    vertical-align: middle;
    margin: 0 5px;
}

.chado .inmde {
    font-size: 36px;
    font-family: 'Magnolia Script';
    margin-top: 10px;
}

.pluses {
    background: #00bec5;
    padding: 30px 0 0 0;
    text-align: center;
}

.pluses h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 30px;
}

.pluse {
    text-align: center;
    color: #fff;
    font-size: 14px;
    height: 270px;
    margin-bottom: 20px;
}

.pluse .name {
    font-family: 'Magnolia Script';
    font-size: 29px;
    margin: 15px 0 5px;
}

.pluse img {
    height: 95px;
}

.forks {
    margin: 0 0 50px 0;
    font-size: 20px;
}

.fork {
    background: #efa42b;
    color: #fff;
    text-align: center;
    margin: 30px 0;
}

.fork .name {
    font-family: 'Magnolia Script';
    font-size: 30px;
    padding: 15px 5px;
}

.fork .img {
    position: relative;
    overflow: hidden;
}

.fork .img img {
    width: 100%;
}

.fork .img .text {
    position: absolute;
    top: -100%;
    left: 0;
    opacity: 0;
    background: #efa42b;
    transition: 0.3s;
    color: #fff;
    line-height: 24px;
    padding: 5px;
    width: 100%;
    height: 100%;
    font-size: 18px;
}

.fork:hover .img .text {
    top: 0;
    opacity: 1;
}

.srch {
    position: relative;
    margin-top: -6px;
    width: 100%;
}

.srch .btn-search {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 2;
}

.srch .inp {
    position: absolute;
    right: 0;
    top: 0;
    width: 0;
    transition: 0.3s;
    overflow: hidden;
    opacity: 0;
    z-index: 1;
    border-radius: 10px;
}

.srch.active .inp {
    width: 270px;
    opacity: 1;
}

.srch.active .btn-search {
    background: #fff;
    color: #ff7e00;
}

.srch .inp .form-control {
    padding-right: 40px;
    height: 40px;
}

.srch .inp .form-control::placeholder { /* Chrome, Firefox, Opera, Safari 10.1+ */
    color: #cdcdcd;
    opacity: 1; /* Firefox */
    font-style: italic;
}

.srch .inp .form-control:-ms-input-placeholder { /* Internet Explorer 10-11 */
    color: #cdcdcd;
    font-style: italic;
}

.srch .inp .form-control::-ms-input-placeholder { /* Microsoft Edge */
    color: #cdcdcd;
    font-style: italic;
}

.btn {
    transition: 0.3s;
}

.btn-search {
    background: #ff7e00;
    border: none;
    color: #fff;
    border-radius: 8px;
    height: 40px;
}

.btn-search:hover {
    color: #fff;
    background: #00bec5;
}

.btn-success {
    background: none;
    border: 3px solid #fff;
    color: #fff !important;
    margin: 15px 5px;
    font-size: 24px;
    font-weight: 500;
    border-radius: 10px;
    padding: 10px;
}

.btn-success:hover,
.btn-success:focus,
.btn-success:active,
.btn-success:focus:active {
    background: #fff;
    color: #4a828b !important;
    border: 3px solid #fff;
}

.chado .btn-success {
    width: 305px;
}

* {
    outline: none !important;
}

p {
    margin-bottom: 20px;
}

.methods {
    padding: 40px 0;
    background: #f8f8f8;
}

.methods h3 {
    margin-top: 0;
    margin-bottom: 30px;
}

.methods img {
    width: 100%;
}

.methods p {
    margin-bottom: 0;
    padding: 0 10px;
}

.method {
    background: #ff7e00;
    color: #fff;
    border-radius: 10px;
    text-align: center;
    font-size: 20px;
    padding: 10px 0;
    font-weight: 500;
    margin: 10px 0;
}

.title-block {
    background: #00bec5;
    padding: 20px 0 30px 0;
    text-align: center;
}

.title-block.orange {
    background: #ff7e00;
}

.title-block h2 {
    font-size: 48px;
    color: #fff;
    margin: 0;
}

.prog {
    display: block;
    text-align: center;
    margin: 30px 0;
}

.prog:hover {
    text-decoration: none;
}

.prog span {
    display: block;
    color: #55909e;
}

.prog span.name {
    font-weight: 500;
    margin-top: 15px;
}

.programs {
    padding: 50px 0;
    background: url("img/progs.jpg") center;
}

.check-terms {
    text-align: center;
}

.btn-check {
    background: #c4c4c4;
    width: 165px;
    color: #fff !important;
    margin: 15px;
    border-radius: 10px;
}

.btn-check.active,
.btn-check:hover {
    background: #00bec5;
    color: #fff;
    box-shadow: none;
}

.gallery .btn-check.active,
.gallery .btn-check:hover {
    background: #ff7e00;
}

footer {
    position: relative;
    left: 0;
    bottom: 0;
    width: 100%;
    background: #bababa;
    color: #fff;
}

footer .adrs {
    color: #fff;
    font-size: 18px;
}
footer .adrs a{
	color:#fff;
}

footer a {
    color: #fff;
}

footer .tel {
    color: #fff;
    font-size: 18px;
}

footer .social {
    color: #fff;
    border-color: #fff;
}

.footer-gray {
    padding: 50px 0 30px 0;
}

.footer-dark {
    background: #575757;
    padding: 15px 0;
}

.footer-logo {
    margin-top: -35px;
}

.footer-logo img {
    
}

#event {
    position: fixed;
    top: 0;
    left: 0;
}

.gallery {
    padding: 30px 0;
}

.gallery.no-magrin {
    padding: 0;
}

.gal, .gal:visited {
    display: block;
    background: #ff9e01;
    color: #fff;
    margin: 30px 0 50px 0;
    padding: 5px 0 10px 0;
    transition: 0.3s;
    text-decoration: none;
}

.gal:hover {
    background: #ff7e00;
    text-decoration: none;
    color: #fff;
}

.gal img {
	display:inline-block;
	vertical-align:middle;
    width: 100%;
}

.gal .thumbnail > img{
	display:inline-block;
	min-height:0;
}
.gal span {
    display: block;
    text-align: center;
    padding: 3px 0;
    margin-top: 5px;
}

.gal span.name {
    font-weight: 500;
    margin-top: 10px;
}

.gal:hover span {
    color: #fff;
}







	   .gal { min-height: 360px;}









.invite {
	
	
	
    background: url('img/999.png') no-repeat center bottom;
    background-size: cover;
    height: 525px;
  
    color: #fff;
    text-align: center;
}

.invite h2 {
    color: #fff;
    margin-bottom: 40px;
}

.invite p {
    margin-bottom: 30px;
}

.invite .btn-success {
    width: 305px;
}

.smlogo {
    display: none;
}

.rowfix {
    font-size: 0;
    text-align: center;
}

.colfix {
    display: inline-block;
    float: none;
    font-size: 18px;
}

.sm-fix {
    display: none;
}

nav.mobile {
    display: none;
}

.simple-header {
    background: url("img/simple-header.jpg") no-repeat center bottom;
    background-size: cover;
    text-align: center;
    padding: 30px 0;
}

.custom-header {
    background-repeat: no-repeat;
    background-position: center;
    background-attachment: fixed;
    background-size: cover;
    text-align: center;
    height: 300px;
}

.simple-header h1,
.custom-header h1 {
    color: #fff;
    margin: 0;
}

.rozklad {
    padding: 50px 0;
}

.text-page img {
    max-width: 100%;
}

.text-page h1,
.text-page h2,
.text-page h3 {
    margin: 15px 0;
}

.text-page p {
    line-height: 30px;
}

.thumbnail {
    border-radius: 0;
    border: none;
    box-shadow: none;
    background: transparent;
    margin-bottom: 0;
    overflow: hidden;
}

.thumbnail img {
    max-width: 100%;
    min-height: 100%;
    width: auto;
}

.gal .thumbnail {
    height: 238px;
	font-size:0;
}
.gal .thumbnail:before{
	content:'';
	display:inline-block;
	vertical-align:middle;
	height:100%;
}
.slider {
    text-align: center;
}

.slider h3 {
    margin-bottom: 30px;
}

.breadcrumb {
    background: none;
    padding: 15px 0;
    margin-bottom: 0;
}

.breadcrumb > li + li:before {
    content: ">";
    font-size: 14px;
}

.breadcrumb > li a {
    color: #bababa;
    font-size: 14px;
}

.breadcrumb > li.active a {
    color: #ff7e00;
}

.rozklad table {
    border-spacing: 3px; /* Расстояние между границ */
    border-collapse: separate !important;
    border: none;
}

.rozklad table thead td,
.rozklad table thead th {
    background: #00bec5;
    color: #fff;
}

.rozklad table thead h2 {
    color: #fff;
    font-size: 24px;
    margin: 15px 0;
}

.rozklad table td {
    border: 1px solid #00bec5;
    padding: 5px;
}

.rozklad table tbody {
    font-size: 12px;
}

.rozklad table tbody td {
    width: 40%;
}

.rozklad table tbody td:last-of-type {
    width: 60%;
}

.rozklad.orange {
    padding-top: 30px;
}

.rozklad.orange table td {
    border: 1px solid #ff7e00;
    text-align: center;
    font-size: 14px;
}

.rozklad.orange table thead td,
.rozklad.orange table thead th {
    background: #ff7e00;
}

.rozklad table td.cell-cost {
    font-family: 'Magnolia Script';
    color: #666666;
    font-size: 24px;
}

.secprice table {
    border-spacing: 3px; /* Расстояние между границ */
    border-collapse: separate !important;
    border: none;
    color: #666666;
}

.secprice table thead td,
.secprice table thead th {
    background: #ff7e00;
    color: #fff;
}

.secprice table thead h2 {
    color: #fff;
    font-size: 24px;
    margin: 15px 0;
}

.secprice table td {
    border: 1px solid #ff7e00;
    padding: 10px;
}

.secprice table tbody {
    font-size: 14px;
}

.secprice table tbody td {
    width: 40%;
}

.secprice table tbody td:first-of-type {
    background: #ff7e00;
    color: #fff;
}

.secprice table tbody td:last-of-type {
    width: 60%;
    padding: 10px 20px;
}

.saller {
    margin: 30px 0 0 0;
}

.saller .blue {
    background: #00bec5;
    color: #fff;
    text-align: center;
    padding: 15px;
}

.owl-dots {
    text-align: center;
    margin: 15px 0;
}

.owl-dot {
    display: inline-block;
    background: #ff7e00;
    width: 15px;
    height: 15px;
    border-radius: 15px;
    margin: 2px;
    transition: 0.3s;
}

.owl-dot.active {
    background: #00bec5;
}

.contact-title {
    display: block;
    color: #ff7e00;
    font-size: 20px;
    margin-bottom: 15px;
    font-weight: 500;
}

.map {
    margin-bottom: 50px;
}

.maptitle {
 
    background: #56bcc4;
    color: #fff;
    padding: 15px;
}

.text-page {
    margin-bottom: 30px;
}

.text-page .tel {
    color: #666666;
    font-size: 20px;
}

.text-page .email {
    color: #666666;
    font-size: 16px;
}

.text-page .social {
    color: #666;
    border-color: #666;
}

.one-photo {
    display: block;
    position: relative;
    height: 175px;
    width: 100%;
    overflow: hidden;
	margin-bottom: 30px;
}

.one-photo .img {
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.one-photo .lupa {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    color: #fff;
    font-size: 60px;
    z-index: 1;
    opacity: 0;
    text-align: center;
    padding-top: 55px;
    transition: 0.3s;
}

.one-photo:hover .lupa {
    opacity: 1;
}

.modal-content {
    position: relative;
}

.pop-nav {
    position: absolute;
    color: #fff !important;
    text-shadow: 1px 1px 2px #000;
    left: 15px;
    font-size: 30px;
    top: calc(50% - 15px);
}

.pop-nav:last-of-type {
    left: auto;
    right: 15px;
}

.modal-close {
    position: relative;
}

.modal-close .close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: #20d0c2;
    border-radius: 20px;
    height: 30px;
    width: 30px;
    z-index: 2;
    opacity: 1;
    color: #fff;
    font-size: 30px;
    line-height: 30px;
}

.modal {
    text-align: center;
}

#photoModal img {
    width: 100%;
}

.news {
    text-align: center;
}

.news .thumbnail {
    display: block;
    height: 243px;
    position: relative;
    margin: 0;
    padding: 0;
}

.news .thumbnail .date {
    color: #fff;
    background: #00bec5;
    padding: 3px 5px;
    position: absolute;
    bottom: 0;
    left: 0;
}

.news .name {
    display: block;
    font-family: 'Magnolia Script';
    color: #fff;
    background: #ff7e00;
    padding: 5px;
    font-size: 0;
    height: 66px;
}

.news .name span {
    display: inline-block;
    vertical-align: middle;
    font-size: 20px;
}

.news .name:before {
    content: '';
    display: inline-block;
    vertical-align: middle;
    height: 100%;
}

.news .minitext {
    font-size: 16px;
    line-height: 24px;
    color: #666666;
    text-align: center;
    margin-top: 4px;
    height: 72px;
    overflow: hidden;
}

.post-image {
    width: 100%;
}

.teacher {
    display: block;
    text-align: center;
    margin-bottom: 30px;
}

.teacher .thumbnail {
    margin: 0;
    padding: 0;
    border: none;
    height: 400px;
}

.teacher .name {
    display: block;
    padding: 15px 10px;
    background: #56bcc4;
    font-size: 24px;
    color: #fff;
    font-family: 'Magnolia Script';
}

.teacher .text {
    display: block;
    color: #fff;
    background: #ff7e00;
    padding: 10px;
	min-height: 100px;
}

.stocks {
    margin-bottom: 30px;
}

.stock {
    background: #33cccc;
    color: #fff;
}

.stock .thumbnail {
    display: block;
    margin: 0;
    padding: 0;
    height: 270px;
}

.stock h3 {
    color: #fff;
    font-size: 30px;
    margin: 30px 0;
}

.search-res {
    margin: 30px 0;
    padding: 5px 15px;
    background: rgba(0, 0, 0, 0.1);
}

.search-res h2 {
    font-size: 22px;
    margin-bottom: 5px;
}

.orange-modal .modal-dialog {
    max-width: 600px;
}

.orange-modal .modal-content {
    background: #ff7e00;
    border-radius: 10px;
    text-align: center;
	margin:15px 0;
}

.orange-modal .modal-content h2 {
    color: #fff;
    margin: 30px 0;
}

.nf-form-fields-required {
    display: none;
}

.methods-img {
    margin-top: 45px;
}

.add-review {
    padding: 30px 0;
    text-align: center;
    background: #00bec5;
}

.add-review .btn-success {
    width: 310px;
}

.review {
    background: #fff;
    margin: 50px 0;
}

.review .thumbnail {
    width: 100%;
    height: 165px;
    overflow: hidden;
    border-radius: 15px;
    margin: 0;
    padding: 0;
}

.review h3 {
    font-size: 24px;
    margin: 0 0 10px 0;
}

.review .date {
    font-size: 14px;
    margin: 0 0 10px 0;
}

@media screen and (min-width: 768px) {
	
	


    .modal:before {
        display: inline-block;
        vertical-align: middle;
        content: " ";
        height: 100%;
    }
}

.modal-dialog {
    display: inline-block;
    text-align: left;
    vertical-align: middle;
}

.adrs {
    color: #999999;
    font-size: 15px;
    
}
.adrs a{
	color:#999;
}
.mobile-langs {
    display: none;
}

footer .adrs {
    color: #fff;
    margin-top: 0;
}

.form-control {
    background: #fff;
    border-radius: 10px;
    width: 100%;
    border: none;
    height: 40px;
}

.modal .form-control {
    height: 50px !important;
}

.modal textarea.form-control {
    height: 120px !important;
}

.btn-success[disabled]:hover {
    background: #fff;
    color: #ff7e00;
    border-color: #fff;
}

nav .paterka {
    color: #666;
}

.text-page .tel .paterka {
    color: #666;
}

.nf-error-msg {
    font-size: 14px;
}

.nf-error-msg {
    display: none !important;
}

.teacher-image {
    float: left;
    width: 360px;
    margin: 0 35px 15px 0;
}
#photoModal .video{
	border-radius:15px;
	overflow:hidden;
	padding:15px;
}
#photoModal iframe{
	width:100% !important;
	height:auto !important;
	min-width:560px;
	min-height:300px;
}
img.alignright { float: right; margin: 0 0 1em 1em; }
img.alignleft { float: left; margin: 0 1em 1em 0; }
img.aligncenter { display: block; margin-left: auto; margin-right: auto; }
.alignright { float: right; }
.alignleft { float: left; }
.aligncenter { display: block; margin-left: auto; margin-right: auto; }

@media (max-width: 1199px) {
    .adrs {
        font-size: 14px;
    }

    .tel {
        font-size: 14px;
    }

    #logo img {
        width: 100%;
    }

    footer {
        font-size: 14px;
    }

    footer .tel {
        font-size: 14px;
    }
	.top_menu > ul > li{
		padding:20px 1px;
	}
	
	dl.gallery-item {
    width: 47%!important;
    margin: 5px;
    max-height: 300px;
    overflow: hidden;
    min-width: 240px;
    text-align: center;
}


		dt.gallery-icon.landscape img {
    width: 100%;
    height: auto;
}


		dt.gallery-icon.portrait img {
    width: 100%;
    height: auto;
}




}

@media (max-width: 1024px) {
    body {
        
    }
	.gal .thumbnail:before{
		display:none;
	}

	.top_menu > ul > li{
		padding:20px 2px;
		font-size:16px;
	}
    nav.top {
        height: auto;
    }

    .prog span.name {
        height: 50px;
    }

    .smlogo {
        display: block;
        text-align: center;
        background: #fff;
    }

    .adrs {
        font-size: 14px;
        margin-top: 0;
    }

    .langs li {
        margin-bottom: 4px;
    }

    .langs li a {
        font-size: 14px;
    }

    .sm-fix {
        display: block;
        height: 50px;
        width: 100%;
        clear: both;
    }

    footer {
        text-align: center;
    }

    .footer-logo {
        text-align: left;
    }

    footer .adrs {
        text-align: left;
    }

    footer .tel {
        font-size: 18px;
    }

    footer .tel:first-of-type {
        margin-top: 50px;
    }
}

@media (max-width: 767px) {
	.onoff {
    text-align: center;
}
	
	.f11 p {
  margin-bottom: 10px; 
}




.col1 {
    width: 99%;
    display: inline-block;
    vertical-align: top;
    min-width: 300px;
	padding:15px;
	margin:0 auto;
}

	
		dt.gallery-icon.landscape img {
    width: 100%;
    height: auto;
}

dl.gallery-item {
    width: 45%!important;
    margin: 5px;
    max-height: 200px;
    overflow: hidden;
    min-width: 240px;
    text-align: center;
}


#gallery-2 .gallery-item {
    float: none!important;
    display: inline-block!important;
	text-align:center;
  
    
}



	.invite{
		font-size:12px;
	}
    .teacher-image {
        float: none;
        width: 100%;
        margin: 0 0 30px 0;
    }

    body {
       
    }

    .add-review .btn-success {
        width: 100%;
    }

    .smlogo {
        position: relative;
    }

    .mobile-langs {
        display: block;
        position: absolute;
        width: 90px;
        right: 10px;
        top: 10px;
        text-align: right;
    }

    .mobile-langs li {
        display: inline-block;
        width: 40px;
    }

    .news .name,
    .news .minitext {
        /*height: auto;*/
    }

    .home-head {
       
    }

    .btn-check {
        width: 128px;
    }

    nav.top {
        display: none;
    }

    nav.main {
        display: none;
    }

    nav.mobile {
        background: #ff7e00;
        display: block;
    }

    .drop-mobile {
        color: #fff;
        text-align: center;
        position: relative;
        background: #ff7e00;
    }

    .drop-mobile .list {
        background: #ff7e00;
        position: absolute;
        top: -100vh;
        width: 300%;
        z-index: 55;
        opacity: 0;
        transition: 0.3s;
        text-align: left;
        padding: 5px 10px;
        border-bottom: 1px solid #fff;
    }

    .drop-mobile.active .list {
        top: 100%;
        opacity: 1;
    }

    .drop-mobile .dropper {
        height: 40px;
        display: block;
        color: #fff;
        padding-top: 10px;
    }

    .drop-mobile.drop-adr {
        background: #57b7c4;
    }

    .drop-mobile.drop-adr .list {
        background: #57b7c4;
    }

    .drop-mobile.drop-phone {
        background: #55dcd1;
    }

    .drop-mobile.drop-phone .list {
        background: #55dcd1;
        left: -100%;
        text-align: center;
    }

    .drop-mobile.drop-phone .list .tel {
        color: #fff;
        font-size: 18px;
    }

    .drop-mobile.drop-menu .list {
        left: -200%;
    }

    .mobile_menu ul {
        list-style: none;
        margin: 0;
        padding: 0;
    }

    .mobile_menu > ul > li {
        margin: 0;
        padding: 0;
        border-bottom: 1px solid #fff;
    }

    .mobile_menu > ul > li:last-of-type {
        border-bottom: none;
    }

    .mobile_menu ul > li > a {
        display: block;
        padding: 5px 10px;
        color: #fff;
        text-decoration: none;
    }

    .mobile_menu > ul > li > ul {
        overflow: hidden;
        transition: 0.3s;
        margin: 0;
        padding: 0 0 0 15px;
    }

	.mobile_menu > ul > li > ul > li{
        border-top: 1px solid #fff;
	}
    /*.mobile_menu > ul > li:hover > ul {
        max-height: 500px;
    }*/

    .chado .inmde {
        padding: 0 5px;
        font-size: 30px;
    }

    .footer-logo {
        text-align: center;
        margin: 0;
    }

    .adrs {
        width: 300px;
        margin: 0 auto 50px auto;
    }

    .gal .thumbnail {
        height: auto;
    }

    .thumbnail img {
        width: 100%;
        height: auto;
    }
	
	.orange-modal .modal-content {
		max-width: 95%;
	}
	
	#photoModal iframe{
		min-width:300px;
		min-height:160px;
	}
	.review .thumbnail{
		height:auto;
		margin-bottom:15px;
	}
	
	
	



}



@media (max-width: 600px) {	dt.gallery-icon.landscape {
    background: url(http://wunderchado.com.ua/wp-content/uploads/2019/04/f00e.png) center #000;
    background-repeat: no-repeat;
       overflow: hidden;
}


dl.gallery-item {
    width: 100%!important;
    margin: 5px 10px;
	
    max-height: 300px;
    overflow: hidden;
    min-width: 240px;
    text-align: center;
}



		dt.gallery-icon.landscape img {
    width: 100%;
    height: auto;
}
		dt.gallery-icon.portrait img {
    width: 100%;
    height: auto;
}

span.video-text {
    text-align: center;
    padding: 20px;
    display: block;
}



}