﻿@import 'https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext';

@import url('https://fonts.googleapis.com/css2?family=Raleway:wght@700;800;900&display=swap');

@font-face {
    font-family: "Open Sans";
    src: url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext");
    src: url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext?#iefix")format("embedded-opentype"),
    url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext") format("woff"),
    url("https://fonts.googleapis.com/css?family=Open+Sans:400,400i,700,700i&subset=cyrillic,cyrillic-ext") format("truetype");
    font-style: normal;
    font-weight: normal;
}


/*@font-face {
    font-family: "Open Sans";
    src: url("../fonts/OpenSans/OpenSans-Regular.ttf");
    src: url("../fonts/OpenSans/OpenSans-Regular.ttf?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSans/OpenSans-Regular.ttf") format("woff"),
    url("../fonts/OpenSans/OpenSans-Regular.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Open Sans-Italic";
    src: url("../fonts/OpenSans/Open Sans-Italic.ttf");
    src: url("../fonts/OpenSans/Open Sans-Italic.ttf?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSans/Open Sans-Italic.ttf") format("woff"),
    url("../fonts/OpenSans/Open Sans-Italic.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

@font-face {
    font-family: "Open Sans-Bold";
    src: url("../fonts/OpenSans/OpenSans-Bold.ttf");
    src: url("../fonts/OpenSans/OpenSans-Bold.ttf?#iefix")format("embedded-opentype"),
    url("../fonts/OpenSans/OpenSans-Bold.ttf") format("woff"),
    url("../fonts/OpenSans/OpenSans-Bold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}

*/
@font-face {
    font-family: "Raleway";
    src: url("../fonts/Raleway/static/Raleway-SemiBold.ttf");
    src: url("../fonts/Raleway/static/Raleway-SemiBold.ttf?#iefix")format("embedded-opentype"),
    url("../fonts/Raleway/static/Raleway-SemiBold.ttf") format("truetype");
    font-style: normal;
    font-weight: normal;
}





    
}


body p {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    font-weight: 100;
    color: #666;
    overflow-x: hidden!important;
}



a:focus {
    outline: none;
}

body h1 {
    font: 30px "Raleway";
    color: #666;
    text-transform: uppercase;
    text-transform: none;

}

body h2 {
    font: 22px "Raleway";
    color: #666;
    text-transform: uppercase;

}

body h3 {
    font: 22px "Raleway";
    color: #8dc63f;
    text-transform: uppercase;

}

.sppb-container p {
	margin-bottom: 20px;
}

.popular-news-col h3 {
    text-transform: none;
}

.tab-container {
    padding-left: 20px;
}

.uslugi-image img {
margin-bottom: 20px;
border-radius: 17px;
border: 4px solid #F76531;
}

/*========================хлебные крошки===============================*/

.breadcrumb {
    font-family: "Open Sans", sans-serif;
    font-size: 15px;
    background: transparent;
    width: 1170px;
    margin: 0 auto;
    background: #fcf7e9;
    margin-top: 10px;
    text-transform: none;
}

.breadcrumb > li + li:before {
 content: '>';
    margin-left: 4px;
    margin-right: 4px;
}

.breadcrumb li a.pathway {
    color: #777;
    border-bottom: 1px dotted #777;
}

#sp-page-title {
    background: #fcf7e9;
}

/*====================СТИЛИ HEADER=========================*/
#sp-top-bar {
    background-color: #419c3e!important;
    height: 70px;
}

.customheader-logo p {
    margin: 0;
}

#sp-top1 .customheader-soc-icons ul {
    list-style: none;
}

#sp-top1 .customheader-soc-icons ul li a {
    position: relative;
    float: right;
    display: block;
    font-size: 0;
    width: 37px;
    height: 37px;
    background: #96ba60;
    border-radius: 50%;
    margin-left: 3px;
    margin-right: 3px;
}

#sp-top1 .customheader-soc-icons ul li a:hover {
    background: #ffc728;
}

#sp-menu {
    width: 100%!important;
}

/*====================СТИЛИ ИКОНОК СОЦ СЕТЕЙ HEADER=========================*/

/*====================VK=========================*/
#sp-top1 > div.customheader-soc-icons > ul > li:nth-child(4) > a:before {
    content: '';
    position: absolute;
    top: 13px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/header/vk_head.png) no-repeat;
    width: 20px;
    height: 12px;
}
/*====================INSTAGRAM=========================*/
#sp-top1 > div.customheader-soc-icons > ul > li:nth-child(3) > a:before {
    content: '';
    position: absolute;
    top: 8px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/header/youtube_head.png) no-repeat;
    width: 15px;
    height: 20px;
}
/*====================FACEBOOK=========================*/
#sp-top1 > div.customheader-soc-icons > ul > li:nth-child(2) > a:before  {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/header/instagram_head.png) no-repeat;
    width: 17px;
    height: 17px;
}
/*====================YOUTUBE=========================*/
#sp-top1 > div.customheader-soc-icons > ul > li:nth-child(1) > a:before  {
    content: '';
    position: absolute;
    top: 6px;
    left: 0;
    right: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/header/facebook_head.png) no-repeat;
    width: 11px;
    height: 22px;
}

/*====================КНОПКА ЗАПИСАТСЯ=========================*/
.modalDialog {
    position: fixed;
    font-family: Arial, Helvetica, sans-serif;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: rgba(0,0,0,0.8);
    z-index: 99999;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
    display: none;
    pointer-events: none;
    overflow-x: auto;
}

.modalDialog:target {
    display: block;
    pointer-events: auto;
}

.modalDialog > div {
    max-width: 500px;
    width: 98%;
    height: 500px;
    position: relative;
    margin: 10% auto;
    padding: 5px 20px 13px 20px;
    border-radius: 0;

    background: #fff;
/*    background: -moz-linear-gradient(#fff, #999);
    background: -webkit-linear-gradient(#fff, #999);
    background: -o-linear-gradient(#fff, #999);*/
}

.modal-body {
    width: 500px;
    height: 500px;
}

.modal-heading {
    color: #414141;
    font: bold 27px "Open Sans";
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
    margin-top: 20px;
}

.modal-body .close {
    position: relative;
    font-size: 0;
    opacity: 1;
    background: transparent;
    float: right;
}

.modal-body .close:after {
    content: '';
    position: absolute;
    top: 15px;
    right: 0;
    background: url(../images/wizardsmile/header/close.png) no-repeat;
    width: 21px;
    height: 21px;
}

.close:hover { background: #00d9ff; }

.input-modal {
    width: 100%;
    height: 50px!important;
    margin-bottom: 20px;
}

.input-modal-textarea {
    width: 100%;
    height: 160px;
    resize: none;
}

#modal-form select {
    width: 100%;
    height: 50px;
    margin-bottom: 20px;
}
.modal-header .close {
    position: relative;
    font-size: 0;
    opacity: 1;
}

.submit-button-modal {
    width: 100%!important;
    height: 50px!important;
    border: 0;
    background: #d9680d;
    text-transform: uppercase;
    font: 17px "Open Sans";
    color: #fff;
}

.footer-submit {
    margin-top: 20px;
}

.modal-body .close:hover {
    background: none;
}

.div-border-bottom {
    position: relative;
}

.div-border-bottom:hover:after {
    content: '';
    border-bottom: 3px solid #d9680d;
    position: absolute;
    bottom: 0;
    width: 100%;
    left: 0;
}



.momo2{
    background-color: rgba(255, 255, 255, 1);
    border: 1px solid #fff;
    border-radius: 10px;
    height: 150px;
    left: 50%;
    margin-left: -300px;
    margin-top: -200px;
    position: fixed;
    top: 50%;
    width: 600px;
    z-index: 15;
    text-align: center;
}

.momo2 p {
    display: inline-block;
    margin-top: 65px;
    margin-left: 30px;
    font-size: 18px;
    font-family: Open Sans;
    text-transform: uppercase;
    color: #666;
}

.momo{
    background-color: rgba(0, 0, 0, 0.8);
    height: 100%;
    left: 0;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 10;
}

.closed {
    border: 2px solid #fff;
    border-radius: 14px;
    cursor: pointer;
    float: right;
    margin-right: 5px;
    margin-top: 3px;
    padding: 9px 7px;
    color: #F76531;
    font-size: 24px;
}

.customheader-button a{
    display: block;
    background: #ffe700;
    font-size: 15px;
    font-family: Open Sans;
    color: #454545;
    text-transform: uppercase;
    border-radius: 30px;
    float: left;
    font-weight: bold;
    margin-bottom: 3px;
    padding: 7px 45px;
}

.customheader-button a {

}

.customheader-button a:hover {
    color: #454545;
    background:#ffc728;
}

.customheader-phone {
    position: relative;
    padding-left: 39px;
}

.customheader-phone:before {
    content: '';
    position: absolute;
    top: 4px;
    left: 0;
    background: url(../images/wizardsmile/header/iphone_head.png) no-repeat;
    width: 21px;
    height: 39px;
}

.submit-button {
    display: none;
}

.modal-form-header {
    color: #414141;
    font: bold 27px "Open Sans";
    text-align: center;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.modal-header {
    border: 0;
}

.modal-header .close {
    position: relative;
    font-size: 0;
    opacity: 1;
}

.modal-header .close:after {
    content: '';
    position: absolute;
    top: -20px;
    left: 0;
    background: url(../images/wizardsmile/header/close.png) no-repeat;
    width: 21px;
    height: 21px;
}

.modal-content {
    border-radius: 0;
}

#form-user_course, #form-user_age, #form-user_email, #form-user_name {
    width: 100%!important;
    height: 50px!important;
    margin: 0 auto;
    border-radius: 0;
    margin-bottom: 20px;
   
}

.div-border-bottom {
    position: relative;
}

.div-border-bottom:hover:after {
    content: '';
    border-bottom: 3px solid #d9680d;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.modal-header {
    padding: 50px;
}

#form-submit-button {
    width: 100%!important;
    height: 50px!important;
    border: 0;
    background: #d9680d;
    text-transform: uppercase;
    font: 17px "Open Sans";
    color: #fff;
}

    /*====================ТЕЛЕФОНЫ=========================*/

/*====================ЦЕНТР ВИШЕНКА=========================*/

/*====================МЕНЮ=========================*/

/*выпадающее меню*/
.sp-megamenu-parent a:focus {
    outline: none;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item {
    border-bottom: none!important;
}

.sp-dropdown-main {
    width: auto!important;
    text-align: left;
    white-space: nowrap;
    min-width: 100%;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item a {
    position: relative;
}

.sp-megamenu-parent .sp-dropdown li.sp-menu-item a:hover, .sp-megamenu-parent .sp-dropdown li.sp-menu-item.active>a:not(.sp-group-title) {
    background: transparent!important;
}

/*.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover a:after {
    content: '';
    border-bottom: 4px solid #8bc430;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    position: absolute;
}*/

.sp-megamenu-parent .sp-dropdown li.sp-menu-item:hover a {
    color: #8bc430!important;
}

/*центрирование меню*/

.sp-megamenu-parent .sp-dropdown .sp-dropdown-inner {
    padding: 0!important;
}

.sp-megamenu-parent {
    text-align: center!important;
    float: none!important;
}

#sp-header {
    height: 68px!important;
    border-bottom: 4px solid #8bc430;
    border-top: 4px solid #ffc728;
}

/*шрифт и отступы*/
.sp-megamenu-parent >li >a {
    font: 15px 'Open Sans';
    color: #454545!important;
    padding: 0 30px!important;
    text-transform: none!important;
}

.sp-megamenu-parent >li:hover:after {
    /*color: #ffe700!important;*/
    border-bottom: 4px solid #8bc430;
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width:100%;
}

/*серые полосы по краям пунктов меню*/
.sp-megamenu-parent >li {
    position: relative;
}

.sp-megamenu-parent >li:before {
    content: '';
    position: absolute;
    height: 30px;
    top: 15px;
    left: 0;
    border-left: 1px solid #e8e8e8;
}
.sp-megamenu-parent >li:last-child:before {
    content: '';
    position: absolute;
    height: 30px;
    top: 15px;
    right: 0;
    border-right: 1px solid #e8e8e8;
}

/*выключаем подчеркивание*/
.sp-megamenu-parent >li >a:before {
    background: none!important;
}

/*====================СЛАЙДЕР СМАЙЛ ЦЕНТР РАЗВИТИЯ РЕБЕНКА=========================*/
#main-slider #sp-page-builder .page-content .sppb-section:first-child {
    background: #8bc430;
}

#main-slider .sppb-carousel-pro .sppb-carousel-inner .sppb-row > div {
    float: right;
}

#main-slider .sppb-text-right {
    position: relative;
    display: block;
}

/*#main-slider .sppb-text-right:before {
    content: 'в будущее с улыбкой';
    position: absolute;
    top: 45%;
    left: 25%;
    font: 27px 'Open Sans';
    color: #1e707a;
    max-width: 150px;
    text-align: center;
}*/

#main-slider .sppb-carousel-pro-text h2 {
    font-family: "Raleway";
    color: #fff;
    position: relative;
    padding-bottom: 10px;
    font-size: 34px;
text-align: center;
text-shadow: 1px 1px 2px #357d33;
}

/*
span.yellow {
    color: #ffe700;
}
*/

/*#main-slider .sppb-carousel-pro-text h2:before {
    content: 'Смайл - ';
    font-family: NautilusPompilius;
    color: #ffe700;
    font-size: 34px;
}*/

#main-slider .sppb-carousel-pro-text h2:after {
    content: '';
    position: absolute;

    bottom: 0;
    left: 0;
    width: 100%;
    border-bottom: 2px solid #ffff00;
}

#main-slider .sppb-container p {
    font: 20px 'Open Sans';
    color: #fff;
text-align: center;
text-shadow: 1px 1px 1px #357d33;
}

#main-slider .sppb-carousel-pro-text {
    position: relative;
    padding-top: 25%;
}

/*====================СЕКЦИЯ УСЛУГИ=========================*/

.uslugi h3 {
    font: 22px "Raleway";
    color: #5c5c5c;
    background: #F76531;
    display: inline-block;
    padding: 7px 50px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin-bottom: 50px;
}

.uslugi h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

.uslugi h3:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

/*====================ШИРИНА КОЛОНОК И СТИЛИ=========================*/


.uslugi-col {
    width: 16.66666%;
    float: left;
    text-align: center;
}

.uslugi-col img {
    margin: 0 auto;
    width: 150px!important;
    height: 145px!important;
    margin-bottom: 15px;
}

.uslugi-col {
    font: 15px "Open Sans";
    color: #5c5c5c;
    text-transform: uppercase;
    position: relative;
}

.uslugi-col:after {
    content: '';
    position: absolute;
    width: 30px;
    height: 2px;
    background: #f3792f;
    left: 0;
    right: 0;
    margin: 0 auto;
}

/*====================О НАС=========================*/

.about-us p, .about-us-left-top p, .about-us-left-bottom p, .about-us-right-top p, .about-us-right-bottom p{
    font: 16px "Open Sans";
    color: #5c5c5c;
}

.about-us-left-top h4, .about-us-left-bottom h4, .about-us-right-top h4, .about-us-right-bottom h4 {
    text-transform: uppercase;
    color: #5c5c5c;
    font: bold 15px "Open Sans";
}

.about-us-left-top h4, .about-us-left-bottom h4, .about-us-left-top p, .about-us-left-bottom p {
    text-align: right;
}

.about-us-right-top h4, .about-us-right-bottom h4, .about-us-right-top p, .about-us-right-bottom p {
    text-align: left;
}

.about-us-left-top, .about-us-left-bottom, .about-us-right-top, .about-us-right-bottom {
    margin-bottom: 55px;
    margin-top: 55px;
 }

.about-us-center-img {

}

.about-us p {
    text-align: center;
}

.about-us-heading h3 {
    font: 22px "Raleway";
    background: #4e88fe;
    padding: 7px 50px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
}

.about-us-heading  {
    text-align: center;
}

.about-us-heading h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_left.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

.about-us-heading h3:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_right.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

#uslugi-section {
    margin-top: 0!important;
}

#about-us-top, #about-us-bottom {
    margin-top: 0!important;
}

#about-us-bottom .sppb-col-sm-4{
    padding: 0;
}

.center-image-style .about-us-center-img .sppb-addon-content {

}

#about-us-bottom .about-us-center-img img {
    width: 80%;
    z-index: 1;
    position: relative;
}

#about-us-top {
    position: relative;
}

/*#about-us-top:after{
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/about-us/picture_1.png) no-repeat;
    width: 1158px;
    height: 593px;
    z-index: -1;
}*/

#about-us-bottom {
    position: relative;
}

#about-us-bottom:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 50px solid #edffff;
    border-right: 1920px solid transparent;
    bottom: -49px;
    left: 0;
    position: absolute;
    background: #ff9e80;
}

/*#about-us-bottom:after{
    content: '';
    position: absolute;
    bottom: 0;
    right: 0;
    left: 0;
    margin: 0 auto;
    background: url(../images/wizardsmile/about-us/picture_1.png) no-repeat;
    width: 1158px;
    height: 593px;
    z-index: -2;
}*/

#about-us-top {
    background-color: rgb(237, 255, 255);
    background-image: url(../images/wizardsmile/about-us/picture_1.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-attachment: scroll;
    background-position: 50% 0px;
}

#about-us-bottom {
    background-color: rgb(237, 255, 255);
    background-image: url(../images/wizardsmile/about-us/picture_1.png);
    background-repeat: no-repeat;
    background-size: inherit;
    background-attachment: scroll;
    background-position: 50% -225px;
}

.about-us-heading h3 {
    position: relative;
}

/*====================О НАС ВИДЕО=========================*/

#about-us-video {
    margin-top: 49px!important;
}

.about-us-video-h3 h3, .otzivi-adbout-us h3 {
    font: 22px "Raleway";
    color: #5c5c5c;
    background: #F76531;
    display: inline-block;
    padding: 7px 50px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin-bottom: 50px;
}

.about-us-video-h3 h3:before, .otzivi-adbout-us h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

.about-us-video-h3 h3:after, .otzivi-adbout-us h3:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

.about-us-video-h3 {
    text-align: center;
}
/*====================О НАС ОТЗЫВЫ=========================*/

.otzivi-adbout-us {
    text-align: center;
}

.about-us-slider .sppb-col-sm-6 {
    width: 100%!important;
}

.about-us-slider .sppb-carousel-pro-text h2 {
    display: none;
}

.about-us-slider p {
    text-align: justify; 
    font-size: 16px!important;
}

.about-us-slider .sppb-carousel-inner > .sppb-item {
    padding: 20px 60px 70px;
}

#sppb-carousel2 > div > div > div > div > div > div > div:nth-child(2) {
    display: none;
}

#about-us-video {
    position: relative;
}

#about-us-video:before {
    content: '';
    width: 0;
    height: 0;
    border-top: 50px solid #ff9e80;
    border-right: 1920px solid transparent;
    bottom: -49px;
    left: 0;
    position: absolute;
    background: #b9e7fe;
    z-index: -2;
}

#about-us-video:after {
    content: '';
    position: absolute;
    bottom: -228px;
    left: 194px;
    background: url(../images/wizardsmile/about-us/sun.png) no-repeat;
    width: 362px;
    height: 370px;
    z-index: -1;
}

/*
.about-us-video-container {
    position: relative;
}*/

.about-us-slider {
    position: relative;
}

.about-us-slider:before {
    content: '';
    position: absolute;
    top: 0px;
    left: 0px;
    background: url(../images/wizardsmile/about-us/quotes.png) no-repeat;
    width: 69px;
    height: 50px;
    z-index: -1;
}

.iz-zihzni-centra-h3 {

}

.iz-zihzni-centra-h3 h3 {
    font: 22px "Raleway";
    background: #4e88fe;
    padding: 7px 50px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    z-index: 1;
}

.iz-zihzni-centra-h3 {
    text-align: center;
}

.iz-zihzni-centra-h3 h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_left.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

.iz-zihzni-centra-h3 h3:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_right.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

/*====================ИЗ ЖИЗНИ ЦЕНТРА=========================*/

.carousel-col-1 .sppb-carousel-item-inner {
/*    animation-delay: 2000ms!important;*/
}

.gallery-slider-1 h2, .gallery-slider-2 h2, .gallery-slider-3 h2, .gallery-slider-4 h2, .gallery-slider-5 h2, .gallery-slider-6 h2, .gallery-slider-7 h2, .gallery-slider-8 h2{
    display: none;
}

.gallery-slider-1, .gallery-slider-2, .gallery-slider-3, .gallery-slider-4 {
    margin-bottom: 10px;
}

#iz-zihzni-centra-slider .sppb-col-sm-3 {
    padding: 5px;
}

#iz-zihzni-centra-slider {
    margin-top: 0!important;
}

#gallery-url-button {
    margin-top: 0!important;
    text-align: center;
}

.gallery-url-button {
    font: italic 13px "Open Sans";
    background: #4e88fe;
    padding: 10px 30px;
    border-radius: 7px;
    position: relative;
    display: inline-block;
    margin-bottom: 20px;
    margin-top: 20px;
}

.gallery-url-button a {
    color: #fff;
    position: relative;
}

.gallery-url-button a:after {
    content: '>';
    position: absolute;
    top: 0;
    right: -15px;
    font: 13px "Open Sans";
}

.rsformforma-zapisi h3 {
    font: 25px 'Raleway';
    color: #000;
    text-transform: uppercase;
    text-align: center;
    max-width: 300px;
    margin: 0 auto;
    margin-bottom: 20px;
}

.rsformforma-zapisi {
    background: #d8f7f3;
    padding: 30px 0;
    position: relative;
    z-index: 3;
}

.rsformforma-zapisi:before {
    content: '';
    width: 70px;
    height: 100%;
    background: #d8f7f3;
    position: absolute;
    top: 0;
    left: -70px;
    z-index: 3;
}

.rsformforma-zapisi:after {
    content: '';
    width: 70px;
    height: 100%;
    background: #d8f7f3;
    position: absolute;
    top: 0;
    right: -70px;
    z-index: 3;
}

.baloon-img {
    width: 450px;
}

#form-section {
    position: relative;
}

#form-section:before {
    content: '';
    position: absolute;
    top: -95px;
    left: 0;
    right: 0;
    background: url(../images/wizardsmile/forma-zapisi/cloud.png) no-repeat;
    width: 1389px;
    height: 95px;
    margin: 0 auto;
    z-index: 0;
}

#form-section:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 50px solid #f4fffe;
    border-right: 1920px solid transparent;
    bottom: -30px;
    left: 0;
    position: absolute;
    background: #a3d15a;
    z-index: -2;
}

#form-section {
    margin-top: 0px!important;
}

#gallery-url-button {
    padding-bottom: 100px!important;
}

.input-form-before-after {
    position: relative;
}

.input-form-before-after:before {
    content: '';
    width: 740px;
    height: 360px;
    position: absolute;
    background: #b6eae3;
    left: -77px;
    top: -381px;
    z-index: 0;
    transform: rotate(-8deg);
}



    /*.form-after {
        position: relative;
        z-index: -1;
    }*/

/*.form-after:after {
    content: '';
    width: 725px;
    height: 402px;
    position: absolute;
    background: #b6eae3;
    left: -70px;
    top: -30px;
    z-index: -1;
}*/

/*
.form-after {
    position: relative;
}

.form-after:before {
    content: '';
    width: 725px;
    height: 402px;
    position: absolute;
    background: #b6eae3;
    left: -70px;
    top: -30px;
    z-index: -1;
}
*/

.rsformforma-zapisi input[type="text"] {
    border-color: #dde9e8;
    height: 50px;
    float: left;
}

.rsformforma-zapisi select {
    border-color: #dde9e8;
    border-radius: 0;
    height: 50px;
    float: left;
}
.rsformforma-zapisi .form-horizontal .control-label {
    width: 100%;
    text-align: left;
}

.rsformforma-zapisi  .btn-primary, .sppb-btn-primary {
    float: right;
}

.rsformforma-zapisi .form-horizontal .form-group {
    margin: 0 auto;
}

.rsformforma-zapisi .rsform-submit-button {
    background-color: #8bc430;
    color: #fff;
    border: 0;
    font-family: Open Sans!important;
    font-size: 17px!important;
    text-transform: uppercase;
    padding: 10px 60px;
    border-radius: 30px;
    margin-top: 20px;
}

.rsform-block-user-name, .rsform-block-user-phone, .rsform-block-user-child-age, .rsform-block-user-cource, .rsform-block-submit-button, .rsformforma-zapisi .formControls {
    padding-left: 2px;
    padding-right: 2px;
    margin-bottom: 15px;
}

.rsformforma-zapisi .form-horizontal .control-label {
    padding: 2px;
    font: italic 15px Open Sans;
    color: #000;
}

#form-section .sppb-col-sm-6 {
    padding:0;
}

/*====================СЕКЦИЯ НОВОСТИ/АКЦИИ=========================*/

/*
СЕКЦИЯ АКЦИИ
*/

.sales-col .sppb-article-introtext p, .sales-col .sppb-article-introtext span, .sales-col .sppb-article-introtext div {
    display: inline;
}

.news-module .sppb-wow:hover .sppb-article-info h3 a {
    color: #F76531!important;
}

#news-section .news-module .sppb-wow:hover .sppb-addon-article {
    border-color: #F76531;
}

#news-section .news-module .sppb-wow:hover a.sppb-readmore {
    color: #F76531!important;
    border-color: #F76531!important;
}

#news-section .news-module .sppb-wow:hover a.sppb-readmore:after {
    color: #F76531!important;
    border-color: #F76531!important;
}

#news-section .news-module .sppb-wow:hover .sppb-article-img {
    border-bottom: 1px solid #F76531;
}

#news-section .news-module h3.sppb-addon-title {
    font: 22px "Raleway";
    background: #F76531;
    display: block;
    padding: 7px 0;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin: 0 auto;
    width: 185px;
    margin-bottom: 30px;
    margin-top: 50px;
    text-align: center;
}

#news-section .news-module h3.sppb-addon-title:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

#news-section .news-module h3.sppb-addon-title:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

#news-section .sales-module h3.sppb-addon-title {
    font: 22px "Raleway";
    background: #c33574;
    display: block;
    padding: 7px 0;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin: 0 auto;
    width: 250px;
    margin-bottom: 30px;
    margin-top: 50px;
    text-align: center;
}

#news-section .sales-module h3.sppb-addon-title:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/news/round_pink_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

#news-section .sales-module h3.sppb-addon-title:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/news/round_pink_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

#news-section .news-col {
    border-top: 15px solid #F76531;
    border-bottom: 5px solid #F76531;
    margin-top: 80px;
}

#news-section .sales-col {
    border-top: 15px solid #c33574;
    border-bottom: 5px solid #c33574;
    margin-top: 80px;
    padding: 0 15px;
}

#news-section .sales-col .sppb-article-img {
    border: 1px solid #ffa184;
    border-radius: 12px;
    overflow: hidden;
    width: 150px;
    height: 150px;
    float: left;
    margin-right: 20px;

}

#news-section .sales-col .sppb-article-img a img {
    min-width: 100%;
    min-height: 100%;
    border-radius: 12px;
    max-width: 200px!important;
}

#news-section .sales-col .sppb-article-info h3 {
    color:#666;
    font: bold 15px "Open Sans";
    text-transform: uppercase;
    height: 45px;
    overflow: hidden;
}

#news-section .sales-col .sppb-article-info h3 a {
    color:#666;
}

#news-section .sales-col .sppb-wow:hover .sppb-article-info h3 a{
    color: #c33574;
}

#news-section .sales-col .sppb-wow:hover a.sppb-readmore{
    color: #c33574;
    border-color: #c33574;
}

#news-section .sales-col .sppb-wow:hover a.sppb-readmore:after{
    color: #c33574;
    border-color: #c33574;
}

#news-section .sales-col .sppb-article-introtext  {
    height: 110px;
    overflow: hidden;
}

#news-section .sales-col .sppb-article-introtext p {
    color:#666;
    font: 14px "Open Sans";
}

#news-section .sales-col a.sppb-readmore {
    color:#666;
    font: italic 13px "Open Sans-Italic";
    position: relative;
    text-decoration: none;
    float: right;
    margin-top: 0px;
    border-bottom: 1px dotted #666;
}

#news-section .sales-col a.sppb-readmore:after {
    position: absolute;
    content: '';
    color: #666;
    font: 17px "Open Sans-Italic";
    top: 6px;
    right: -14px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #666;
    border-top: 1px solid #666;
    transform: rotate(45deg);
}

#news-section .sales-col .sppb-wow {
    border-bottom: 2px dotted #fff;
    padding: 0 35px;
    padding-bottom: 0;
    padding-top: 15px;
}

#news-section .sales-module .sppb-wow{
    height: 231px;
}

/*
СЕКЦИЯ НОВОСТИ
*/

#news-section .news-module .sppb-addon-article {
    background: #fffdf4;
    border: 1px solid #e6e6e6;
    float: left;
    height: 330px;
/*    margin-bottom: 15px;*/
}

#news-section .news-module .sppb-article-img {
    background: #fffdf4;
    overflow: hidden;
}

#news-section .news-module  .sppb-article-info h3 {
    color:#666;
    font: bold 15px "Open Sans";
    text-transform: uppercase;
    padding: 0 25px;
    margin-top: 13px;
}

#news-section .news-module  .sppb-article-info h3 a{
    color:#666;
    font: bold 14px "Open Sans";
    text-transform: uppercase;
}

#news-section .news-module .sppb-article-introtext p span {
    color:#666!important;
    font: 14px "Open Sans"!important;
/*    padding: 0 25px;*/
}

#news-section .news-module  a.sppb-readmore {
    color:#666;
    font: italic 13px "Open Sans-Italic";
    position: relative;
    text-decoration: none;
    float: right;
    margin-top: 5px;
    margin-right: 45px;
    border-bottom: 1px dotted #666;
}

#news-section .news-module  a.sppb-readmore:after {
    position: absolute;
    content: '';
    color: #666;
    font: 17px "Open Sans";
    top: 6px;
    right: -14px;
    width: 7px;
    height: 7px;
    border-right: 1px solid #666;
    border-top: 1px solid #666;
    transform: rotate(45deg);
}

#news-section .news-module .sppb-article-introtext p {
    display: inline;
}

#news-section .news-module .sppb-article-introtext {
    padding: 0 25px;

}

#news-section .news-module .sppb-article-img {
    width: 100%;
    height: 160px;
    border-bottom: 1px solid #e6e6e6;

}

#news-section .news-module .sppb-article-img img {
    width: 100%;
    height: auto;
}

#news-section .news-col {
    padding: 0 50px;
    padding-bottom: 30px;
    height: 830px;
}

#news-section .news-col .sppb-wow {
    padding: 7px;
}
/*интротекст*/
#news-section .news-module .sppb-article-introtext {
    line-height: 8px;
    height: 75px;
    color: #666 !important;
    font: 14px "Open Sans" !important;
    overflow: hidden;
/*    width: 290px;*/
}

#news-section {
    padding-bottom: 190px;
    position: relative;
}

#news-section:before {
    content: '';
    position: absolute;
    width: 100%;
    height: 643px;
    background: #fcf7e9;
    bottom:0;
/*    background-image: url(../images/wizardsmile/news/TRAIN.png);
    background-repeat: no-repeat;
    background-position: bottom left;*/
}

/*.sp-bottom-footer:after {
    content: '';
    position: absolute;
    width: 346px;
    height: 448px;
    top: -448px;
    background-image: url(../images/wizardsmile/news/TRAIN.png);
    background-repeat: no-repeat;
    z-index: 1;
}*/


#news-section:after {
    content: '';
    width: 0;
    height: 0;
    border-top: 50px solid #a3d15a;
    border-right: 1920px solid transparent;
    top: 408px;
    left: 0;
    position: absolute;
    background:#fcf7e9;
    z-index: -2;
}

/*====================ФУТЕР=========================*/

#sp-bottom:before {
    content: '';
    position: absolute;
    border-top: 4px solid #ffc931;
    top: -0px;
    left: 0;
    width: 100%;
    height: 4px;
}

/*.customfooter-left-col, .footer-our-services, .footer-info-col, .footer-contacts-col {
    position: relative;
}*/

/*.customfooter-left-col:after {
    content: '';
    position: absolute;
    border-top: 4px solid #f37c7e;
    top: -50px;
    left: 0;
    width: 100%;
    height: 4px;
}

.footer-our-services:after {
    content: '';
    position: absolute;
    border-top: 4px solid #fac34c;
    top: -50px;
    left: 0;
    width: 100%;
    height: 4px;
}

.footer-info-col:after {
    content: '';
    position: absolute;
    border-top: 4px solid #acc158;
    top: -50px;
    left: 0;
    width: 100%;
    height: 4px;
}

.footer-contacts-col:after {
    content: '';
    position: absolute;
    border-top: 4px solid #fac34c;
    top: -50px;
    left: 0;
    width: 100%;
    height: 4px;
}*/

.sp-bottom-footer:before {
    display: none;
}

.sp-bottom-footer {
    background: #96ba60!important;
}

/*
КОПИРАЙТ
*/

.customfooter-copyright {
    text-align: center;
    float: left;
    width: 100%;
    /*margin-top: 10px;*/
}

.footer-soc {
    text-align: center;
    float: left;
    width: 100%;
    padding: 15px 0;
}

.footer-soc ul li {
    list-style: none;
    width: 24px;
    height: 24px;
    display: inline-block;
    float: left;
    margin: 0 2px;

}

.p-cpoyright {
    float: left;
    width: 100%;
    background: #ffc931;
    margin: 0;
    padding: 10px 0;
}

.p-cpoyright a {
    color: #fff;
}

.p-cpoyright a:hover {
    color: #fff;
    text-decoration: underline;
}

.footer-soc  ul {
    text-align: center;
    display: inline-block;
}

.footer-soc  li a {
    font-size: 0!important;
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    float: left;
    margin: 0 2px;
}

.footer-soc li a:after {
    content: '';
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    position: absolute;
}

.footer-soc  .vk-icon a:after {
    background: url(../images/wizardsmile/footer/vk_icon.png) no-repeat;
}

.footer-soc  .vk-icon a:hover {
    transform: rotate(-30deg);
}

.footer-soc  .yt-icon a:after {
    background: url(../images/wizardsmile/footer/yt_icon.png) no-repeat;
}

.footer-soc  .yt-icon a:hover {
    transform: rotate(30deg);
}

.footer-soc .insta-icon a:after {
    background: url(../images/wizardsmile/footer/insta_icon.png) no-repeat;
}

.footer-soc .insta-icon a:hover {
    transform: rotate(-30deg);
}

.footer-soc  .fb-icon a:after {
    background: url(../images/wizardsmile/footer/facebook_icon.png) no-repeat;
}

.footer-soc  .fb-icon a:hover {
    transform: rotate(30deg);
}

.sp-bottom-footer {
    padding: 0!important;
}

#sp-footer {
    padding: 0!important;
}

/*Левая колонка*/
.footer-left-col {
    color: #637d3b;
    font: 13px "Open Sans";
}

.footer-left-col ul li a {
    color: #ffff7d!important;
    font: 14px "Open Sans"!important;
}

.footer-left-col ul li {
    list-style: none;
    position: relative;
    padding-left: 20px;
    margin-bottom: 10px;
    text-align: left;
}

.footer-left-col ul li:before {
    content: '';
    top: 8px;
    left: 0;
    width: 24px;
    height: 24px;
    position: absolute;
    background: url(../images/wizardsmile/footer/footer-arrow.png) no-repeat;
}

/*колонка наши услуги*/

.customfooter-our-services li a {
    color: #fff!important;
}

/*колонка информация*/

.customfooter-info-col li a {
    color: #fff!important;
}

/*колонка контакты*/

.footer-contacts-col li a, .footer-contacts-col li, p.contacts-module {
    color: #fff!important;
}

.footer-contacts-col li a:hover, .footer-contacts-col li:hover, .customfooter-info-col li a:hover, .customfooter-our-services li a:hover {
    color: #ffc931!important;
}

p.contacts-module, p.sp-module-title, p.sp-module-title {
    margin-top: 0!important;
    margin-bottom: 5px!important;
    padding-top: 0!important;
    text-transform: uppercase!important;
    font: bold 14px "Open Sans"!important;
}

.footer-button a {
    font: 15px "Open Sans";
    color: #fff;
    text-transform: uppercase;
    border: 2px solid #fff;
    border-radius: 35px;
    padding: 10px 30px;
    margin-top: 30px;
    float: left;
}

.footer-button a:hover {
    color: #ffc931;
    border: 2px solid #ffc931;
}

/*
общие стили футера
*/

#sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 {
    padding-right: 0!important;
    padding-left: 0!important;
}

#sp-bottom {
    padding-top: 50px;
}

.footer-loc, .footer-phone, .footer-mail {
    padding-left: 20px;
    position: relative;
}

.footer-loc:before, .footer-phone:before, .footer-mail:before {
    content: '';
    top: 3px;
    left: 0;
    width: 15px;
    height: 15px;
    position: absolute;
}

.footer-loc:before {
    background: url(../images/wizardsmile/footer/footer-loc.png) no-repeat;
}

.footer-mail:before {
    background: url(../images/wizardsmile/footer/footer-mail.png) no-repeat;
    top: 10px;
    width: 16px;
    height: 12px;
}

.footer-phone:before {
    background: url(../images/wizardsmile/footer/footer-phone.png) no-repeat;
}





/*======================================================СТРАНИЦА УСЛУГИ==============================================================*/
#sect-usl-2 h1 {
     font: 30px "Raleway";
     text-transform: uppercase;
     text-align: center;
     color: #666;
 }

#sect-usl-3 h2 {
    font: 17px "Raleway";
    text-transform: uppercase;
}

#sect-usl-1, #sect-usl-2, #sect-usl-3 {
    margin-top: 0!important;
}

#uslugi-sect-5 .sppb-nav-tabs > li.active > a:focus, #uslugi-sect-5 .sppb-nav-tabs > li.active > a:active {
    outline: none;
}

/*======================================================ПОДРАЗДЕЛЫ==============================================================*/

.podgotovka-k-shole div img, .angliyskiy-yazik div img, .logoritmika div img, .eydetika div img, .mini-sadik div img, .price-list div img {
    margin: 0 20px 15px 0;
    padding: 0;
}

/*======================================================блок акции==============================================================*/

#sect-usl-3 .sect-usl-sales h3.sppb-addon-title {
    font: 22px "Open Sans";
    background: #F76531;
    display: block;
    padding: 7px 0;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin: 0 auto;
    width: 250px;
    margin-bottom: 30px;
    margin-top: 50px;
    text-align: center;
}

#sect-usl-3 .sect-usl-sales h3.sppb-addon-title:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

#sect-usl-3 .sect-usl-sales h3.sppb-addon-title:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

#sect-usl-3 .sect-usl-sales {
    border-top: 15px solid #F76531;
    border-bottom: 5px solid #F76531;
    margin-top: 22px;
    padding: 0 15px;
    background: #fefcf7;
    border-right: 1px solid #d0d0d0;
    border-left: 1px solid #d0d0d0;
}

#sect-usl-3 .sect-usl-sales .sppb-wow {
    border-bottom: 1px dotted #f7652f;
    height: 200px;
}

#sect-usl-3 .sect-usl-sales .sppb-article-info h3 a {
    color: #666;
    font: bold 16px "Open Sans";
    text-transform: uppercase;
}

#sect-usl-3 .sect-usl-sales .sppb-article-info h3 {

    font: bold 16px "Open Sans";

}

#sect-usl-3 .sect-usl-sales .sppb-article-introtext p {
    color: #666;
    font: 13px "Open Sans";
}

#sect-usl-3 .sect-usl-sales .sppb-article-introtext {
    max-height: 107px;
    overflow: hidden;
    max-width: 305px;
}

#sect-usl-3 .sect-usl-sales .sppb-article-introtext p {
    display: inline;
}

#sect-usl-3 .sect-usl-sales .sppb-article-img {
    border: 1px solid #ffa184;
    border-radius: 12px;
    overflow: hidden;
    width: 100px;
    height: 100px;
    float: left;
    margin-right: 20px;
}

#sect-usl-3 .sect-usl-sales .sppb-article-img a img {
    min-width: 100%;
    min-height: 100%;
    border-radius: 12px;
    max-width: 150px!important;
}

#sect-usl-3 .sect-usl-sales a.sppb-readmore {
    color: #666;
    font: italic 13px "Open Sans";
    text-decoration: underline;
    float: right;
    position: absolute;
    right: 45px;
    bottom: 25px;
}

#sect-usl-3 .sect-usl-sales a.sppb-readmore:after {
    position: absolute;
    content: '>';
    color: #666;
    font: 17px "Open Sans";
    top: -1px;
    right: -15px;
}

#sect-usl-3 .sect-usl-sales .sppb-wow:hover .sppb-article-info h3 a {
    color: #F76531!important;
}

#sect-usl-3 .sect-usl-sales .sppb-wow:hover  a.sppb-readmore {
    color: #F76531!important;
}

#sect-usl-3 .sect-usl-sales .sppb-wow:hover  a.sppb-readmore:after {
    color: #F76531!important;
}

.primer-journala {
    background: #419c3e;
    padding: 10px 40px 10px 60px;
    border-radius: 30px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    float: left;
}

.primer-journala:hover {
    color: #fff;
    background: #F76531;
}

.primer-journala:before {
    content: '';
    position: absolute;
    top: 6px;
    left: 24px;
    background: url(../images/wizardsmile/uslugi-page/uslugi-icon-1.png) no-repeat;
    width: 20px;
    height: 23px;
}


.photo-s-zanyatii {
    background: #419c3e;
    padding: 10px 40px 10px 60px;
    border-radius: 30px;
    color: #fff;
    text-transform: uppercase;
    position: relative;
    margin-bottom: 20px;
    float: left;
}

.photo-s-zanyatii:hover {
    color: #fff;
    background: #F76531;
}

.photo-s-zanyatii:before {
    content: '';
    position: absolute;
    top: 9px;
    left: 20px;
    background: url(../images/wizardsmile/uslugi-page/uslugi-icon-2.png) no-repeat;
    width: 28px;
    height: 23px;
}

.sect-usl-title-h2 p {
    float: left;
}

.video-about-us{
    float: left;
    width: 50%;
    margin-bottom: 30px;
}

.video-about-us h3 {
    font: 22px "Open Sans";
    background: #F76531;
    display: block;
    padding: 7px 0;
    color: #fff;
    border-radius: 34px;
    position: relative;
    margin: 0 auto;
    width: 200px;
    margin-bottom: 45px;
    margin-top: 30px;
    text-align: center;
}

.video-about-us h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

.video-about-us h3:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

#uslugi-sect-4, #uslugi-sect-5 {
    margin-top: 0!important;
}

/*информация об обучении*/

#uslugi-sect-5 ul.sppb-nav-tabs {
    border: none;
    margin-bottom: 10px;
}

#uslugi-sect-5 .sppb-nav-tabs > li {
    width: 50%;
    text-align: center;
}

#uslugi-sect-5 .sppb-tab-content > .active {
    width: 43%;
    padding: 30px 30px;
    border: 2px dotted #fff;
    border-radius: 15px;
    margin-left: 105px;
    margin-bottom: 110px;
}

.obuchenie-info-tilte p {
    font: 22px "Open Sans";
    background: #4e88fe;
    padding: 10px 50px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    display: inline-block;
    margin-bottom: 50px;
    margin-top: 30px;
}

.obuchenie-info-tilte {
    text-align: center;
}

.obuchenie-info-tilte p:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_left.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

.obuchenie-info-tilte p:after {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/about-us/round_blue_right.png) no-repeat;
    width: 43px;
    height: 20px;
    z-index: 2;
}

#uslugi-sect-5 .sppb-nav-tabs > li {
    position: relative;
    font: bold 14px "Open Sans";
    text-transform: uppercase;
    padding-left: 100px;
    margin-bottom: 15px;
    padding-top: 5px;
    text-align: left;
}

#uslugi-sect-5 ul.sppb-nav-tabs li.active a {
    color: #4e88fe;
}

#uslugi-sect-5 .sppb-nav-tabs > li.active > a, .sppb-nav-tabs > li.active > a:hover, .sppb-nav-tabs > li.active > a:focus {
    background: transparent;
}

#uslugi-sect-5 ul.sppb-nav-tabs li a:hover {
    color: #4e88fe;
}

#uslugi-sect-5 .sppb-nav-tabs > li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    background: url(../images/wizardsmile/uslugi-page/klyaksa.png) no-repeat;
    width: 53px;
    height: 51px;
    z-index: 1;
}

#uslugi-sect-5 .sppb-nav-tabs > li:after {
    content: '';
    color: #fff;
    font: 22px "Open Sans";
    z-index: 2;
    position: absolute;
    top: 12px;
    left: 70px;
}

#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(1):after {content: '1';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(2):after {content: '2';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(3):after {content: '3';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(4):after {content: '4';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(5):after {content: '5';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(6):after {content: '6';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(7):after {content: '7';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(8):after {content: '8';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(9):after {content: '9';}
#uslugi-sect-5 .sppb-nav-tabs > li:nth-child(10):after {content: '10';left: 64px;}


#uslugi-forma .sppb-text-left h5 {
    font: bold 16px "Open Sans";
    color: #5e5e5e;
    text-transform: uppercase;
}

#uslugi-forma .sppb-text-left p {
    font: 15px "Open Sans";
    color: #5e5e5e;
}

#uslugi-forma .sppb-text-left {
    padding-right: 100px;
    padding-left: 100px;
    margin-top: 32px;
}
/*
форма отправки
*/

.formValidation {
    display: none;
}

#uslugi-forma {
    margin-top: 0!important;
    position: relative;
    padding: 50px 0 70px 0;
}

#uslugi-forma:before {
    content: '';
    position: absolute;
    top: -95px;
    left: 0;
    right: 0;
    background: url(../images/wizardsmile/forma-zapisi/cloud.png) no-repeat;
    width: 1389px;
    height: 95px;
    margin: 0 auto;
    z-index: 0;
}

#uslugi-forma .rsformforma-zapisi {
    position: relative;
}

/*================================================================СТРАНИЦА О НАС======================================================================*/

#o-nas-sect h1 {
    font: 30px "Raleway"!important;
    text-transform: uppercase;
    text-align: center;
    color: #666;
}

/*================================================================СТРАНИЦА НОВОСТИ======================================================================*/

.view-category .blog .entry-intro-text {
    height: 60px;
    overflow: hidden;
}

/*.view-category .blog .entry-header h2 {
    overflow: hidden;
    height: 40px;
    margin-bottom: 5px;
    margin-top: 5px;
    font: bold 14px "Open Sans"!important;
    text-transform: uppercase!important;
*/

.aczii-page .entry-image a img, .statyi-page .entry-image a img{
    width: 100%;
}

.aczii-page .entry-header, .statyi-page .entry-header {
    margin-bottom: 0;
}

.aczii-page  .article-info, .statyi-page .article-info {
    margin-bottom: 0!important;
}

.aczii-page .clearfix, .statyi-page .clearfix {
    height: 0;
}

.all-news-page #sp-component .blog, .aczii-page #sp-component .blog, .statyi-page #sp-component .blog {
    background: #fcf7e9;
}

.all-news-page #sp-main-body , .aczii-page #sp-main-body, .statyi-page #sp-main-body{
    background: #fcf7e9;
}

.all-news-page .blog .items-row .item .entry-image:after, .aczii-page .blog .items-row .item .entry-image:after, .statyi-page .blog .items-row .item .entry-image:after{
    display: none;
}

.all-news-page .blog article > div.entry-image.intro-image > a > img, .aczii-page .blog article > div.entry-image.intro-image > a > img, .statyi-page .blog article > div.entry-image.intro-image > a > img  {
    width: 100%;
}

.all-news-page .page-header, .statyi-page .page-header, .aczii-page .page-header{
    border-bottom: 0;
    padding-bottom: 0;
}

.all-news-page .blog .page-header h1, .statyi-page .page-header h1, .aczii-page .page-header h1 {
    font: 30px "Raleway";
    text-transform: uppercase;
    color: #666;
}


.all-news-page .blog .entry-info-wrap, .statyi-page .entry-info-wrap ,.aczii-page .entry-info-wrap  {
    background: #fffdf4;
    border: 1px solid #e6e6e6;
    padding: 20px;
}

.all-news-page .view-category .blog .items-row .item .entry-info-wrap .entry-header, .statyi-page .view-category .items-row .item .entry-info-wrap .entry-header, .aczii-page .view-category .items-row .item .entry-info-wrap .entry-header {
    height: 80px;
}

.all-news-page .view-category .blog .items-row .item.show-intro .entry-image, .statyi-page .view-category .items-row .item.show-intro .entry-image, .aczii-page .view-category .items-row .item.show-intro .entry-image {
    max-height: 240px;
    overflow: hidden;
    min-height: 240px;
}

.all-news-page .entry-header h2, .statyi-page .entry-header h2, .aczii-page .entry-header h2 {
    text-align: left;
}

.all-news-page .blog .entry-header .published-date,.statyi-page .entry-header .published-date,.aczii-page .entry-header .published-date {
    text-align: left !important;
    font: 14px "Open Sans" !important;
    color: #a0a0a0 !important;
    letter-spacing: 0!important;
    margin-left: 20px;
    position: relative;
    margin-bottom: 0!important;
}

.all-news-page .blog .entry-header .published-date:before, .statyi-page .entry-header .published-date:before, .aczii-page .entry-header .published-date:before {
    content: '';
    width: 3px;
    height: 14px;
    background: #8bc430;
    position: absolute;
    top: 0;
    left: -19px;
}

.all-news-page .readmore-blog, .statyi-page .readmore-blog,  .aczii-page .readmore-blog {
    float: right;
    font: italic 13px "Open Sans";
    color: #8bc430;
    position: relative;
}

.all-news-page .readmore-blog:before, .statyi-page .readmore-blog:before, .aczii-page .readmore-blog:before  {
    content: '';
    position: absolute;
    bottom: 10px;
    left: 19px;
    width: 73%;
    border-bottom: 1px dotted #8bc430;
}

.all-news-page .readmore-blog:after, .statyi-page .readmore-blog:after, .aczii-page .readmore-blog:after {
    content: '>';
    font: 13px "Open Sans";
    position: absolute;
    top: 10px;
    right: 3px;
}


.all-news-page .view-category .blog .entry-header h2, .statyi-page .view-category .entry-header h2, .aczii-page .view-category .entry-header h2 {
    margin: 0;
    margin-bottom: 20px;
    font: 15px "Raleway";
    text-transform: uppercase;
    color: #666;
}

.all-news-page .view-category .blog .items-row .item .entry-info-wrap .entry-header, .statyi-page .view-category .items-row .item .entry-info-wrap .entry-header, .aczii-page .view-category .items-row .item .entry-info-wrap .entry-header  {
    height: auto;
}

.all-news-page p.intro-text, .statyi-page p.intro-text, .aczii-page p.intro-text {
    margin: 0;
    font: 13px "Open Sans";
    color: #666;
    letter-spacing: 0;
    line-height: 18px;
}

.all-news-page .readmore-container, .statyi-page .readmore-container, .aczii-page .readmore-container  {
    width: 100%;
}

.all-news-page .readmore-blog, .statyi-page .readmore-blog, .aczii-page .readmore-blog {
    padding: 9px 15px;
    float: right;
}

.all-news-page .view-category .blog .items-row .item.show-intro .entry-info-wrap, .statyi-page .view-category .items-row .item.show-intro .entry-info-wrap , .aczii-page .view-category .items-row .item.show-intro .entry-info-wrap  {
    padding: 15px!important;
    height: 212px;
}

.all-news-page  .all-news-date .article-info, .statyi-page  .all-news-date .article-info, .aczii-page .all-news-date .article-info {
    margin-top: 0!important;
    margin: 0;
    padding-left: 15px;
    position: relative;
    margin-bottom: 15px;
    text-align: left;

}

.all-news-page  .all-news-date .article-info dd, .statyi-page .all-news-date .article-info dd, .aczii-page  .all-news-date .article-info dd {
    color: #818181!important;
    font-size: 14px;
    margin-top: 1px;
}

.all-news-page  .all-news-date,.statyi-page  .all-news-date,.aczii-page .all-news-date  {
    text-align: left;

}

.all-news-page  .all-news-date .article-info:before, .statyi-page .all-news-date .article-info:before, .aczii-page .all-news-date .article-info:before {
    content: '';
    position: absolute;
    border-left: 3px solid #8bc430;
    width: 3px;
    height: 15px;
    top: 3px;
    left: 0;
    z-index: 6;
}


.all-news-page .entry-header h2, .statyi-page .entry-header h2, .aczii-page .entry-header h2 {
    margin: 0;
}

.all-news-page .entry-header h2 a, .statyi-page .entry-header h2 a, .aczii-page .entry-header h2 a {
    color: #666;
    font: bold 14px "Open Sans";
    text-transform: uppercase;
    text-indent: 0;
    display: inline-block;
    letter-spacing: 1px;
    margin-bottom: 10px;
    margin-top: 10px;
    height: 40px;
    overflow: hidden;
    margin-top: 13px;
}

.all-news-page .blog .items-row .item.show-intro .entry-info-wrap, .statyi-page .items-row .item.show-intro .entry-info-wrap, .aczii-page .items-row .item.show-intro .entry-info-wrap {
    height: 220px;
    margin-bottom: 25px;
}

.view-category .blog .items-row .item.show-intro .entry-image, .statyi-page .items-row .item.show-intro .entry-image, .aczii-page .items-row .item.show-intro .entry-image {
    height: 244px;
    overflow: hidden;
}

/*
Пагинация
*/

ul.pagination li.active a {
    border-color: transparent;
    background-color: transparent;
    color: #8bc430;
}

ul.pagination li.active a:after {
    display: none;
}

ul.pagination li {
    color: #838383;
}

ul.pagination li a {
    background-color: transparent;
}

p.counter {
    display: none;
}

ul.pagination li a.first, ul.pagination li a.last {
    color: #8bc430;
    position: relative;
}

ul.pagination li.disabled:first-child a {
    background: transparent;
    color: #8bc430;
    cursor: default;
    position: relative;
}

ul.pagination li.disabled:first-child a:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    width: 74%;
    border-bottom: 1px dotted #8bc430;
}

ul.pagination li.disabled:nth-child(2) a {
    background: #8bc430;
    width: 34px;
    height: 34px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    font-size: 0;
    position: relative;
    opacity: 0.5;
    cursor: default;
}

ul.pagination li.disabled:nth-child(2) a:before {
    content: '';
    background: url(../images/wizardsmile/pagination/pag-arrow-prev.png);
    position: absolute;
    height: 17px;
    width: 10px;
    top: 8px;
    left: 13px;
}

ul.pagination li.disabled:last-child a {
    background: transparent;
    color: #8bc430;
    cursor: default;
    position: relative;
}

ul.pagination li.disabled:last-child a:before {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    width: 84%;
    border-bottom: 1px dotted #8bc430;
}

ul.pagination li.disabled:nth-last-child(2) a {
    background: #8bc430;
    width: 34px;
    height: 34px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 0;
    position: relative;
    opacity: 0.5;
    cursor: default;
}

ul.pagination li.disabled:nth-last-child(2) a:before {
    content: '';
    background: url(../images/wizardsmile/pagination/pag-arrow-next.png);
    position: absolute;
    height: 17px;
    width: 10px;
    top: 8px;
    left: 13px;
}

ul.pagination li a.first:before  {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    width: 73%;
    border-bottom: 1px dotted #8bc430;
}

ul.pagination li a.last {
    color: #8bc430;
    position: relative;
}

ul.pagination li a.last:before  {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 12px;
    width: 81%;
    border-bottom: 1px dotted #8bc430;
}

ul.pagination li a.next {
    background: #8bc430;
    width: 34px;
    height: 34px;
    border-top-right-radius: 15px;
    border-bottom-right-radius: 15px;
    font-size: 0;
    position: relative;
}

ul.pagination li a.next:before {
    content: '';
    background: url(../images/wizardsmile/pagination/pag-arrow-next.png);
    position: absolute;
    height: 17px;
    width: 10px;
    top: 8px;
    left: 13px;
}

ul.pagination li a.previous {
    background: #8bc430;
    width: 34px;
    height: 34px;
    border-top-left-radius: 15px;
    border-bottom-left-radius: 15px;
    color: #fff;
    position: relative;
    font-size: 0;
}

ul.pagination li a.previous:before {
    content: '';
    background: url(../images/wizardsmile/pagination/pag-arrow-prev.png);
    position: absolute;
    height: 17px;
    width: 10px;
    top: 8px;
    left: 13px;
}

ul.pagination li.active a:hover {
    background: transparent!important;
    color: #8bc430;
}

/*============================================страница галлерея===========================================*/

.gallery-page article.item {
    float: left;
}

.gallery-page ul.sigProClassic li.sigProThumb span.sigProLinkWrapper {
    background: transparent;
}

.gallery-page ul.sigProClassic.singleThumbGallery {
    padding: 0!important;
}

.gallery-page #sp-main-body{
    background: #fcf7e9;
}

.gallery-page ul.sigProClassic li.sigProThumb {
    background: transparent!important;
}

.gallery-page table h3 {
    color: #666;
    font: bold 15px "Open Sans";
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 25px;
    position: relative;
}

.gallery-page table h3:before {
    position: absolute;
    content: '';
    top: 0;
    left: 4px;
    border: 2px solid #8bc430;
    width: 2px;height: 15px;
}

.gallery-page ul.sigProClassic li.sigProThumb span.sigProLinkWrapper {
    border: none;
    box-shadow: none;
}

.gallery-page .popular-news-container-left .article-info {
    display: none;
}

.gallery-page .popular-news-container-left {
    width: 100%;
    padding: 0;
    margin-bottom: 20px;
}

.gallery-page  .popular-news-col {
    display: none;
}

.gallery-page table {
    float: left;
}

.gallery-page .popular-news-container-left {
    width: 100%;
}

.gallery-page .show-all-news-button{
    display: none;
}

.gallery-page .entry-header, .article-info .article-info {
/*    display: none;*/
}

.gallery-page .page-header {
    border-bottom: none;
}

.gallery-page .create, .gallery-page .modified, .gallery-page .article-info {
 /*   display: none;*/
}

.gallery-page .articleBody {
    text-align: center;
}

.gallery-page .sigProLink {
    width: 340px;
    height: 340px;
    float: none;
    display: inline-block;
}

.gallery-page .gallery-col {
    float: left;
}

.gallery-page .page-header {
    margin-bottom: 0;
    padding-bottom: 0;
}

.gallery-page .page-header {
    font: 30px "Raleway";
    color: #666;
    text-transform: uppercase;
}

/*============================================страница одной новости===========================================*/
/*============================================колонка популярные статьи===========================================*/

.statyi-page .popular-news-col, .all-news-page .popular-news-col, .aczii-page .popular-news-col {
    margin-top: 38px;
}

.statyi-page .entry-header h2 a, .statyi-page .entry-header h2 a, .aczii-page .entry-header h2 a {
    height: 32px;
    overflow: hidden;
    margin-top: 13px;
}

.popular-news-col {
    padding: 0;
}

.latestnewspopular-news {
    background: #fffdf4;
}


.popularnews-image-container {
    width: 110px;
    height: 110px;
    overflow: hidden;
    float: left;
    border-radius: 15px;
    border: 1px solid #d9680d;
}

.popular-news-content-intro-text {
    text-align: left;

	
}

.popularnews-image-container img {
    height: auto;
    min-height: 100%;
    max-height: 100%;
    height: auto;
    min-width: 150px!important;

}

.popular-news-col h3 {
    font: 22px "Open Sans";
text-align: center;
    background: #F76531;
    display: block;
    padding: 7px 45px;
    color: #fff;
    border-radius: 34px;
    position: relative;
    /* margin: 0 auto; */
    width: 300px;
    float: none;
    margin: 0 auto;
    margin-bottom: 15px;
}

.popular-news-col h3:before {
    content: '';
    position: absolute;
    top: 8px;
    left: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_left.png) no-repeat;
    width: 43px;
    height: 20px;
}

.popular-news-col h3:after  {
    content: '';
    position: absolute;
    top: 8px;
    right: -55px;
    background: url(../images/wizardsmile/uslugi/round_red_right.png) no-repeat;
    width: 43px;
    height: 20px;
}

.popular-news-content-title a {
    color: #666;
    font: bold 15px "Open Sans";
    text-transform: uppercase;
    padding: 0 15px;
    text-indent: 0;
    display: inline-block;
    width: 66.666666%;
}

.popular-news-content-title {

}

.popular-news-content-intro-text {
    color: #666!important;
    font-family: "Open Sans"!important;
    font-size: 13px!important;
    padding: 10px 0px;
    display: inline-block;
    width: 100%;
	text-align: justify;
}

.popular-news-col .readmore-blog {
    color: #666;
}

.popular-news-col .readmore-blog:before {
    border-bottom: 1px dotted #666;
}

.popular-news-container {
/*    background: #fffdf4;*/
    float: left;
    padding: 20px;
    border-radius: 15px;
/*    padding-right: 100px;*/
}

.popular-news-container-left {
    padding-right: 100px
}

.latestnewspopular-news {
    float: left;
    background: #fffdf4;
    border-radius: 15px;
    border: 1px dotted #d9680d;
}

.entry-header:before {
    display: none;
}

.popular-news-container-left .entry-header {
    margin-bottom: 0!important;
}

.popular-news-container .entry-image {
    margin-bottom: 0!important;
    float: left;
}

.popular-news-container .entry-image {
    margin-bottom: 30px!important;
    height: 275px;
    overflow: hidden;
    border-radius: 15px;
    width: 100%;
}

.popular-news-container .entry-image img {
    display: block;
    width: 100%;
    height: auto;
    margin: 0 auto;
}

.popular-news-col {
    margin-top: 132px;
}

.popular-news-container-left .article-info {
    margin: 0;
    padding-left: 15px;
    position: relative;
    margin-bottom: 20px;
    text-align: left;
}

.popular-news-container-left .article-info:before {
    content: '';
    position: absolute;
    border-left: 3px solid #8bc430;
    width: 3px;
    height: 15px;
    top: 3px;
    left: 0;
    z-index: 6;
}

.show-all-news-button {
    width: 200px;
    height: 40px;
    background: #419c3e!important;
    color: #fff;
    padding: 10px;
    display: inline-block;
    text-align: center;
    border-radius: 30px;
    text-transform: uppercase;
}

.show-all-news-button-container {
    text-align: center;
    padding: 25px;
    float: left;
    width: 100%;
}

.popular-news-container-left .entry-header h2 {
    font: bold 30px "Open Sans";
    color: #666;
    text-transform: uppercase;
}


/*====================================СТРАНИЦА КОНТАКТЫ======================================*/

.google-map-container {
    padding-right: 100px;
}

.contacts-page-heading h3 {
    font: 30px "Raleway";
    text-transform: uppercase;
    color: #666;
    text-align: center;
}

#contcts-page-sect-2 {
    margin-top: 0!important;
    padding-bottom: 50px;
}

#contcts-page-sect-2 .customfooter-soc ul {
    text-align: left;
    display: inline-block;
    padding-left: 0;
}

#contcts-page-sect-2 .customfooter-soc li {
    float: left;
    list-style: none;
}

#contcts-page-sect-2 .customfooter-soc li a {
    font-size: 0!important;
    position: relative;
    width: 24px;
    height: 24px;
    display: inline-block;
    float: left;
    margin: 0 2px;
}

#contcts-page-sect-2 .customfooter-soc li a:after {
    content: '';
    top: 0;
    left: 0;
    width: 24px;
    height: 24px;
    position: absolute;
}

#contcts-page-sect-2 .customfooter-soc .vk-icon a:after {
    background: url(../images/wizardsmile/footer/vk_icon.png) no-repeat;
}

#contcts-page-sect-2 .customfooter-soc .vk-icon a:hover {
    transform: rotate(-30deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}
#contcts-page-sect-2 .customfooter-soc .yt-icon a {
    transition-delay: 0.5s;
    transition: .2s ease-out;
}
#contcts-page-sect-2 .customfooter-soc .insta-icon a {
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

#contcts-page-sect-2 .customfooter-soc .fb-icon a {
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

#contcts-page-sect-2 .customfooter-soc .vk-icon a {
    transition-delay: 0.5s;
    transition: .2s ease-out;
}



#contcts-page-sect-2 .customfooter-soc .yt-icon a:after {
    background: url(../images/wizardsmile/footer/yt_icon.png) no-repeat;
}

#contcts-page-sect-2 .customfooter-soc .yt-icon a:hover {
    transform: rotate(30deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

#contcts-page-sect-2 .customfooter-soc .insta-icon a:after {
    background: url(../images/wizardsmile/footer/insta_icon.png) no-repeat;
}

#contcts-page-sect-2 .customfooter-soc .insta-icon a:hover {
    transform: rotate(-30deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

#contcts-page-sect-2 .customfooter-soc .fb-icon a:after {
    background: url(../images/wizardsmile/footer/facebook_icon.png) no-repeat;
}

#contcts-page-sect-2 .customfooter-soc .fb-icon a:hover {
    transform: rotate(30deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

/*
============================================================СТРАНИЙА ПРЕПОДАВАТЕЛИ===============================================================
*/

#prepod-page .sppb-col-sm-4 {
    padding: 0 60px;
}

#prepod-page {
    margin-top: 0!important;
}


.prepod-container {
    text-align: center;
    margin-bottom: 35px;
}

.prepod-container h5 {
    font: 18px "Raleway" !important;
    text-transform: uppercase;
    text-align: center;
    color: #666;
    height: 45px;
    overflow: hidden;
}

.prepod-container p {
    font: 14px "Open Sans" !important;
    text-align: center;
    color: #666;
    height: 21px;
    overflow: hidden;
}

    /*.prepod-container div {
        height: 320px;
        width: 100%;
        overflow: hidden;
    }*/

.prepod-container div img {
    width: 100%;
    height: 360px;
}

#prepod-page .sppb-col-sm-4 {
    padding: 0 70px;
}

#prepod-page h2 {

}

#prepod-page h1 {
    font: 30px "Raleway"!important;
    text-transform: uppercase;
    text-align: center;
    color: #666;
}

#prepod-page .sppb-section-title {
    margin-bottom: 25px;
    margin-top: 25px;
}

#prepod-page-bottom {
    margin-top: 0!important;
}

/*
============================================================СТРАНИЙА ПРЕПОДАВАТЕЛИ===============================================================
*/

.otzivi-page article.item {
    margin-bottom: 0;
}

.otzivi-page {
    background: #fcf7e9;
}

.otzivi-page #comments-form {
    position: relative;
    margin-top: 70px;
}

.otzivi-page #comments-form input {
    padding: 0 15px!important;
    margin-bottom: 15px!important;
}

#comments-form img.captcha {
    margin: 0 0 -10px 0;
}

.otzivi-page #comments-form-captcha {
    width: 150px;
}

.otzivi-page #comments-form:before {
    content: 'Написать отзыв';
    font: 18px "Open Sans";
    color: #666;
    position: absolute;
    left: 0;
    right: 0;
    margin: 0 auto;
    top: -35px;
    text-transform: uppercase;
}

.otzivi-page .popular-news-col {
    display: none;
}

.otzivi-page .popular-news-container-left {
    width: 100%;
}

.otzivi-page #comments-form input {
    width: 400px;
    margin-bottom: 2px;
    height: 50px;
/*    margin: 0 auto;*/
}

.otzivi-page #comments-form textarea {
    width: 100%;
    max-width: 100%;
    height: 169px;
    padding: 15px!important;
}

.otzivi-page .popular-news-container-left {
    padding-right: 0;
}

.otzivi-page #comments-form .grippie {
    width: 100%;
}

.otzivi-page #comments-form > p:nth-child(5) {
    display: none;
}

.otzivi-page #comments-form {
    text-align: center;
}

/*.otzivi-page  #comments-form > p:nth-child(3) {
    display: none;
}*/

.otzivi-page  #comments-form .btn, #comments-report-form .btn, #comments-form .btn div {
    background: none;
}

.otzivi-page #comments-form .btn, #comments-report-form .btn {
    float: none;
}

.otzivi-page #comments-form .btn a {
    color: #fff;
    background-color: #72a230;
    border-color: #567b24;
    padding: 10px 70px;
    height: auto;
    border-radius: 30px;
    text-transform: uppercase;
    font-family: Open Sans;
    font-size: 14px;
    display: inline-block;
}

.otzivi-page  .btn, .sppb-btn {
    border-bottom: 0;
}

.otzivi-page #comments-footer {
    display: none;
}

.otzivi-page #comments-form-buttons {
    text-align: center;
}

.otzivi-page #comments-form p {
    display: inline-block;
}

.otzivi-page #comments-form img.smile {
    display: inline-block;
}

.otzivi-page .article-info {
    display: none;
}


.otzivi-page  #jc h4 {
    display: none;
}

.otzivi-page  #comments-list-footer {
    display: none;
}

.otzivi-page #comments .comments-list {
    margin-left: 0!important;
}
.otzivi-page .popular-news-container-left {
    padding-right: 15px;
    padding-left: 15px;
}

.otzivi-page #comments-form p {
    margin-left: 0!important;
}

.intro-image img {
    min-height: 244px;
}

#news-section .news-module .sppb-addon-article {
    width: 100%;
}

/*
==============================================================АДАПТИВ===============================================================
*/

@media (min-width: 1024px) and (max-width: 1366px) {

    /*главноая страница     меню*/
    #sp-top-bar .sp-module {
        margin: 0 0 0 15px!important;
    }

    .sp-megamenu-parent > li > a {
        padding: 0 30px !important;
    }

    /*прячем паравоз*/
    .sp-bottom-footer:after {
        display: none;
    }

    #news-section {
        padding-bottom: 50px;
    }

    /*колонки новостей*/
    #news-section .news-module .sppb-article-img {
        height: 148px;
    }

    #news-section .news-module .sppb-article-info h3 a {
        font: bold 14px "Open Sans";
    }

    #news-section .news-module .sppb-article-info {
  /*      height: 43px;*/
        overflow: hidden;
    }

    /*колонка акции*/
    #news-section .sales-col .sppb-article-info h3 {
        font: bold 14px "Open Sans";
        margin-top: 10px;
        padding-bottom: 0;
    }

    #news-section .sales-col .sppb-article-introtext p {
        font: 12px "Open Sans";
    }

    #news-section .sales-col .sppb-article-introtext {
        height: 108px;
        overflow: hidden;
    }

    #news-section .sales-col a.sppb-readmore {
        margin-top: 10px;
    }

    #news-section .sales-module h3.sppb-addon-title {
        width: 200px;
    }

    /*кнопка футера*/
    .footer-button a {
        font: 12px "Open Sans";
    }

    /*СТРАНИЦА ГАЛЛЕРЕИ*/
    .gallery-page table {
        float: left;
        width: 50%;
        text-align: left;
    }

    .gallery-page .gallery-col {
        float: none;
        display: inline-block;
    }

    .gallery-page table h3 {
        text-align: left;
    }

    /*страница преподавателей*/
    #prepod-page .sppb-col-sm-4 {
        padding: 0 80px;
    }

    /*страница новостей*/
    .all-news-page .entry-image {
        height: 200px!important;
    }

    .all-news-page .intro-image img {
        min-height: 200px;
    }

    /*страница отдельной новости*/
    .view-article .popular-news-container-left p img {
        padding: 25px;
    }

    .all-news-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .all-news-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .all-news-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .all-news-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .all-news-page .popular-news-col {
        margin-top: 110px;
    }

    .all-news-page article.item {
        margin-bottom: 0;
    }

    /*страница отдельной статьи*/

    .statyi-page .items-row .item.show-intro .entry-image {
        height: 170px !important;
    }

    .statyi-page .entry-image a img {
        min-height: 170px;
    }

    .statyi-page .items-row .item.show-intro .entry-info-wrap {
        height: auto;
        float: left;
    }

    .statyi-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .statyi-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .statyi-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .statyi-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .statyi-page .popular-news-col {
        margin-top: 110px;
    }

    .statyi-page article.item {
        margin-bottom: 0;
    }

    /*страница отдельной акции*/
    .aczii-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .aczii-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .aczii-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .aczii-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .aczii-page .popular-news-col {
        margin-top: 110px;
    }

    .aczii-page article.item {
        margin-bottom: 0;
    }

    /*Галлерея*/
    .gallery-page table h3:before {
        display: none;
    }

    .gallery-page table h3 {
        text-align: center;
        padding-left: 0;
    }

    .gallery-page table {
        text-align: center;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .all-news-page .entry-header h2 a, .statyi-page .entry-header h2 a, .aczii-page .entry-header h2 a {
        margin-bottom: 5px;
        margin-top: 5px;
    }

    .view-category .blog .entry-intro-text {
        height: 55px;
    }

    .all-news-page p.intro-text, .statyi-page p.intro-text, .aczii-page p.intro-text {
        font-size: 12px;
    }

    /*главная*/

    #main-slider .sppb-text-right:before {
        top: 43%;
        left: 21%;
        font: 22px 'Open Sans';
    }

    /*колонки услуги высота картинок*/
    .uslugi-col img {
        height: 120px !important;
    }
    /*уменьшаем лого*/
    .customheader-logo p {
        width: 138px;
    }

    .customheader-button a {
        padding: 10px 30px;
        font-size: 14px;
    }

   /* секция о нас*/

    .about-us-right-top, .about-us-right-bottom, .about-us-left-top, .about-us-left-bottom {
        margin-bottom: 30px;
        margin-top: 10px;
    }

    .about-us-right-top p, .about-us-right-bottom p, .about-us-left-top p, .about-us-left-bottom p {
        font: 14px "Open Sans";
        height: 33px;
    }

    /*выравниваем отступы заголовков*/

    .about-us-heading h3 {
        margin-bottom: 45px;
    }


    #sp-page-builder .page-content .sppb-section {
        padding: 20px 0 10px 0 !important;
    }


    /*видео о нас и отзывы на весь экран*/

    #about-us-video .sppb-col-sm-6 {
        width: 100%;
    }

    .about-us-video-h3 h3 {
        margin-bottom: 55px;
    }

    .otzivi-adbout-us h3 {
        margin-bottom: 20px;
        margin-top: 50px;
    }

        /*из жизни центра*/

    .iz-zihzni-centra-h3 h3 {
        margin-bottom: 0;
    }

    .iz-zihzni-centra-h3 {
        margin-top: 40px;
    }

 /*   #gallery-url-button {
        padding: 20px 0 !important;
    }*/

    .gallery-url-button {
        margin-bottom: 100px;
        margin-top: 0;
    }

    #form-section > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
        display: none;
    }

    #form-section > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) {
        width: 100%;
    }

    #form-section > div:nth-child(1) > div:nth-child(1) > div:nth-child(2) > div:nth-child(1) {
        width: 500px;
        margin: 0 auto;
    }

    .input-form-before-after:before {
        display: none;
    }

    /*колонка акции*/

    #news-section .sales-module h3.sppb-addon-title {
        width: 150px;
    }

    /*отключаем паравоз*/
    .sp-bottom-footer:after {
        display: none;
    }

    /*секция колонка новости*/
    #news-section .news-module .sppb-article-info h3 {
        height: 45px;
        margin-top: 10px;
        padding: 0 10px;
    }

    #news-section .news-module .sppb-article-introtext {
        height: 83px;
        font: 13px "Open Sans" !important;
        overflow: hidden;
        padding: 0 10px;
    }

    #news-section .news-module .sppb-wow:hover a.sppb-readmore {
        float: right;
        /*margin-top: 5px;*/
    }

  /*  #news-section .news-module a.sppb-readmore {
        padding-right: 25px;
    }*/

    #news-section .news-module a.sppb-readmore:after {
        top: 7px;
        right: -15px;
    }

    #news-section .news-module .sppb-article-img {
        height: 120px;
    }

    #news-section .news-module .sppb-article-img img {
        height: 100%;
    }

    #news-section .news-col {
        height: 830px;
    }

    #news-section .sales-col .sppb-article-info h3 {
        height: 38px;
        overflow: hidden;
    }

    #news-section .sales-col .sppb-article-img {
        width: 75px;
        height: 75px;
    }

    #news-section .sales-col .sppb-article-introtext {
        height: 70px;
        overflow: hidden;
        margin-top: 43px;
    }

    #news-section .sales-col a.sppb-readmore {
        margin-top: 0px;
    }

    /*футер*/

    .customfooter-left-col img {
        width: 90%;
    }

    /*адаптивное меню */
    #sp-header, #sp-header-sticky-wrapper {
        display: none;
    }

    .customheader-soc-icons {
        display: none;
    }

    #offcanvas-toggler > i {
        padding: 10px 10px 0 0!important;
        color: #fff!important;
        font-size: 30px!important;
    }

    .offcanvas-menu .offcanvas-inner .sp-module:first-child {
        display: none;
    }

    /* .customheader-phone {
         padding-left: 0;
     }*/

    .customheader-button a {
        padding: 10px 32px;
    }

    .visible-xs {
        display: block!important;
    }

    /*  .customheader-phone:before {
          display: none;
      }*/

    #sp-top1 {
        width: 33.33333%;
    }

    #sp-top2 {
        width: 66.66666%;
    }

    #sp-top-bar {
        height: auto;
    }

    /*СТРАНИЦА КОНТАКТЫ*/
    #contcts-page-sect-2 .rsformforma-zapisi:before, #contcts-page-sect-2 .rsformforma-zapisi:after {
        display: none;
    }

    #contcts-page-sect-2 .google-map-container {
        padding-right: 0;
    }

    #contcts-page-sect-2 .rsformforma-zapisi {
        padding: 30px 30px;
    }

    /*СТРАНИЦА КОНТАКТЫ*/

    #prepod-page .sppb-col-sm-3 {
        width: 33%;
    }

    #prepod-page .sppb-col-sm-4 {
        padding: 0 10px;
    }

    /*страница новостей*/
    .all-news-page .entry-image {
        height: 170px!important;
    }

    .all-news-page .intro-image img {
        min-height: 170px;
    }

    /*страница отдельной новости*/

    .all-news-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .all-news-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .all-news-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .all-news-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .all-news-page .popular-news-col {
        margin-top: 110px;
    }

    .all-news-page .popular-news-col h3:before, .all-news-page .popular-news-col h3:after {
        display: none;
    }

    .all-news-page .popular-news-content-intro-text {
        width: 100%;
        margin-top: 5px;
        padding: 0;
    }

    .all-news-page .popular-news-content-title a {
        width: 100%;
        margin-top: 10px;
        padding: 0;
    }

    .all-news-page .popularnews-image-container {
        width: 100%;
        height: 115px;
/*        padding: 15px 15px 0 15px;*/
    }

    .all-news-page .popularnews-image-container img {
        min-height: 100%;
        max-height: 100%;
        height: auto;
        min-width: 100% !important;
    }

    .all-news-page article.item {
        margin-bottom: 0;
    }

    /*страница отдельной статьи*/

    .statyi-page .items-row .item.show-intro .entry-image {
        height: 170px !important;
    }

    .statyi-page .entry-image a img {
        min-height: 170px;
    }

    .statyi-page .items-row .item.show-intro .entry-info-wrap {
        height: auto;
        float: left;
    }

    .statyi-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .statyi-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .statyi-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .statyi-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .statyi-page .popular-news-col {
        margin-top: 110px;
    }

    .statyi-page .popular-news-col h3:before, .statyi-page .popular-news-col h3:after {
        display: none;
    }

    .statyi-page .popular-news-content-intro-text {
        width: 100%;
        margin-top: 5px;
        padding: 0;
    }

    .statyi-page .popular-news-content-title a {
        width: 100%;
        margin-top: 10px;
        padding: 0;
    }

    .statyi-page .popularnews-image-container {
        width: 100%;
        height: 115px;
        /*        padding: 15px 15px 0 15px;*/
    }

    .statyi-page .popularnews-image-container img {
        min-height: 100%;
        max-height: 100%;
        height: auto;
        min-width: 100% !important;
    }

    .statyi-page article.item {
        margin-bottom: 0;
    }

    /*страница отдельной акции*/

    .aczii-page .popular-news-container-left {
        width: 66.66666%;
        float: left;
        padding: 0 50px 0 0;
    }

    .aczii-page .popular-news-col {
        width: 33.33333%;
        float: left;
    }

    .aczii-page .popular-news-col h3 {
        padding: 7px 15px;
        width: 230px;
    }

    .aczii-page .popularnews-image-container {
        width: 90px;
        height: 90px;
    }

    .aczii-page .popular-news-col {
        margin-top: 110px;
    }

    .aczii-page .popular-news-col h3:before, .aczii-page .popular-news-col h3:after {
        display: none;
    }

    .aczii-page .popular-news-content-intro-text {
        width: 100%;
        margin-top: 5px;
        padding: 0;
    }

    .aczii-page .popular-news-content-title a {
        width: 100%;
        margin-top: 10px;
        padding: 0;
    }

    .aczii-page .popularnews-image-container {
        width: 100%;
        height: 115px;
        /*        padding: 15px 15px 0 15px;*/
    }

    .aczii-page .popularnews-image-container img {
        min-height: 100%;
        max-height: 100%;
        height: auto;
        min-width: 100% !important;
    }

    .aczii-page article.item {
        margin-bottom: 0;
    }

    /*Разделы меню Услуги*/

    .video-about-us {
        width: 100%;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales h3.sppb-addon-title {
        width: 145px;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
        max-height: 84px;
        overflow: hidden;
        line-height: 20px;
    }

    .uslugi-category .video-about-us h3:before, .video-about-us h3:after {
        display: none;
    }

    .uslugi-category #uslugi-sect-5 .sppb-tab-content > .active {
        width: 100%;
        margin-left: 0;
    }

    .uslugi-category .rsformforma-zapisi:before, .uslugi-category .rsformforma-zapisi:after {
        display: none;
        padding: 30px 30px;
    }

    .uslugi-category #uslugi-forma .sppb-col-sm-6 {
        width: 100%;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 30px 100px;
    }

    /*Галлерея*/
    .gallery-page table h3:before {
        display: none;
    }

    .gallery-page table h3 {
        text-align: center;
        padding-left: 0;
    }

    .gallery-page table {
        text-align: center;
    }

    .gallery-page .gallery-col {
        float: none;
        width: 100%;
    }

    .gallery-page ul.sigProClassic.singleThumbGallery {
        width: 100%;
        float: none;
        text-align: center;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        text-align: center;
        width: 350px;
        margin: 0 auto;
        height: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb span.sigProLinkOuterWrapper {
        margin: 0 auto;
        display: block;
        float: none;
    }

    .gallery-page table {
        width: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        float: none;
    }

    .gallery-page .popular-news-container-left {
        margin-bottom: 0;
    }

    /*адаптивное меню справа*/
    #offcanvas-toggler {
        position: absolute;
        right: -490px;
        top: 0;
        z-index: 3;
    }

    .customheader-center-info {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    /*главная*/
    /*header*/
    #sp-top2, #sp-top1 {
        width: 100%;
    }

    #sp-top-bar {
        height: auto;
    }

    .customheader-button a {
        padding: 10px 35px;
    }

    #main-slider .sppb-carousel-pro-text {
        padding-top: 0;
    }

    /*услуги*/
    .uslugi h3, .about-us-heading h3, .about-us-video-h3 h3, .otzivi-adbout-us h3 {
        margin-top: 50px;
    }


    .uslugi-section img {
        width: auto!important;
    }

    .uslugi-col {
        width: 50%;
        margin-bottom: 25px;
    }

    .about-us-center-img {
        display: none;
    }

    #about-us-top {
        padding-bottom: 0!important;
    }

    #about-us-bottom {
        padding-top: 0!important;
    }

    .about-us-left-top h4, .about-us-left-bottom h4, .about-us-left-top p, .about-us-left-bottom p, .about-us-right-top h4, .about-us-right-bottom h4, .about-us-right-top p, .about-us-right-bottom p  {
        text-align: left;
        padding: 0 20px;
    }

    .about-us-left-top, .about-us-left-bottom, .about-us-right-top, .about-us-right-bottom {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .about-us-section {
        padding: 0 !important;
    }

    /*из жизни центра*/

    .iz-zihzni-centra-h3 h3 {
        margin-top: 80px;
    }

    #sp-page-builder img {
        width: 100%;
        padding: 0 20px;
    }

    #sp-page-builder .page-content .sppb-section {
        padding: 0 !important;
    }

    #gallery-url-button {
        height: 150px;
    }

    #form-section > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
        display: none;
    }

    .rsformforma-zapisi {
        width: 300px;
        margin:  0 auto;
    }

    .input-form-before-after {
        display: none;
    }

   /* .rsformforma-zapisi:before, .rsformforma-zapisi:after {
        display: none;
    }*/

    .rsformforma-zapisi .rsform-submit-button {
        width: 100%;
    }

    /*колонка акции*/
    .sales-col img {
        padding: 0!important;
    }

    #news-section:after {
        display: none;
    }

    #news-section .news-module .sppb-wow .sppb-addon-article {
        width: 100%!important;
    }
    /*колонка новости*/
    #news-section .news-module h3.sppb-addon-title {
        margin-bottom: 45px;
    }

    .news-module img {
        padding: 0!important;
    }

    #news-section .news-module .sppb-addon-article {
        margin-bottom: 25px;
    }

    #news-section .news-col {
        height: auto;
        margin-bottom: 25px;
    }


    /*футер*/

    #sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 {
    /*    margin-bottom: 30px;*/
        width: 50%;
        float: left;
        text-align: center;
        height: 200px;
        margin-top: 30px;
        margin-bottom: 0!important;
    }

    #sp-bottom1 .sp-module ul, #sp-bottom1 p {
        display: inline-block;
    }

    #sp-bottom4 .footer-button a {
        float: none;
        display: inline-block;
    }

    .sp-bottom-footer:after {
        display: none;
    }

  /*  .customfooter-contacts-col ul li {
        text-align: left;
    }*/

    .footer-loc:before, .footer-phone:before, .footer-mail:before {
        display: none;
    }

    .footer-loc, .footer-phone, .footer-mail {
        padding-left: 0;
    }

    /*адаптивное меню */
    #sp-header, #sp-header-sticky-wrapper {
        display: none;
    }

    .customheader-soc-icons {
        display: none;
    }

    #offcanvas-toggler > i {
        padding: 10px 10px 0 0!important;
        color: #fff!important;
        font-size: 30px!important;
    }

    .offcanvas-menu .offcanvas-inner .sp-module:first-child {
        display: none;
    }

   /* .customheader-phone {
        padding-left: 0;
    }*/

    .customheader-button a {
        padding: 10px 32px;
    }

  /*  .customheader-phone:before {
        display: none;
    }*/

    /*СТРАНИЦА КОНТАКТЫ*/
    #contcts-page-sect-2 .rsformforma-zapisi:before, #contcts-page-sect-2 .rsformforma-zapisi:after {
        display: none;
    }

    #contcts-page-sect-2 .google-map-container {
        padding-right: 0;
    }

    #contcts-page-sect-2 .rsformforma-zapisi {
        padding: 30px 30px;
    }

    #contcts-page-sect-2 .sppb-text-left {
        text-align: center;
        margin-top: 15px;
    }

    #contcts-page-sect-2 .customfooter-soc ul {
        text-align: center;
        width: 100%;
    }

    #contcts-page-sect-2 .customfooter-soc li {
        float: none;
        display: inline-block;
    }

    #contcts-page-sect-2 .rsformforma-zapisi {
        width: 100%;
        margin-bottom: 20px;
    }


    /*страница преподаватели*/
    #prepod-page .sppb-col-sm-4 {
        padding: 0 20px;
    }

    #sp-page-builder img {
        width: 100%;
        padding: 0;
        height: auto;
    }

    .prepod-container h5 {
        height: auto;
    }

    /*страница новостей*/
    .all-news-page .entry-image {
        height: auto!important;
    }

    .all-news-page .intro-image img {
        height: auto;
        min-height: 100%;
    }

    /*страница отдельной новости*/

    .all-news-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .all-news-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .all-news-page .popular-news-col {
        margin-top: 20px;
    }

    .all-news-page article.item {
        margin-bottom: 0;
    }

    .all-news-page .blog .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
    }

    .statyi-page .blog .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
    }

    .aczii-page .items-row .item.show-intro .entry-info-wrap,  .statyi-page .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
    }

    .aczii-page article.item, .statyi-page article.item {
        float: left;
    }



    /*страница отдельной новости*/

    .statyi-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .statyi-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .statyi-page .popular-news-col {
        margin-top: 20px;
    }

    .statyi-page article.item {
        margin-bottom: 0;
    }

    /*страница отдельной акции*/

    .aczii-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .aczii-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .aczii-page .popular-news-col {
        margin-top: 20px;
    }

    .aczii-page article.item {
        margin-bottom: 0;
    }

    /*Разделы меню Услуги*/

    .video-about-us {
        width: 100%;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales h3.sppb-addon-title {
        width: 145px;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
 /*       max-height: 76px;*/
        overflow: hidden;
    }

    .uslugi-category .video-about-us h3:before, .video-about-us h3:after {
        display: none;
    }

    .uslugi-category #uslugi-sect-5 .sppb-tab-content > .active {
        width: 100%;
        margin-left: 0;
    }

    .uslugi-category .rsformforma-zapisi:before, .uslugi-category .rsformforma-zapisi:after {
        display: none;
        padding: 30px 30px;
    }

    .uslugi-category #uslugi-forma .sppb-col-sm-6 {
        width: 100%;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 30px 100px;
    }

    .uslugi-category .sppb-row {
        float: left;
        width: 100%;
        margin: 0 auto;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales {
        float: left;
        width: 100%;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
      /*  max-height: 88px;*/
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales {
        margin-bottom: 50px;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 30px;
        width: 100%;
        margin-bottom: 50px;
    }

    #uslugi-forma .sppb-text-left {
        padding: 0 20px;
    }

    #uslugi-sect-5 .sppb-nav-tabs > li {
        width: 100%;
    }

    /*Галлерея*/
    .gallery-page table h3:before {
        display: none;
    }

    .gallery-page table h3 {
        text-align: center;
        padding-left: 0;
    }

    .gallery-page table {
        text-align: center;
    }

    .gallery-page .gallery-col {
        float: none;
        width: 100%;
    }

    .gallery-page ul.sigProClassic.singleThumbGallery {
        width: 100%;
        float: none;
        text-align: center;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        text-align: center;
        width: 350px;
        margin: 0 auto;
        height: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb span.sigProLinkOuterWrapper {
        margin: 0 auto;
        display: block;
        float: none;
    }

    .gallery-page table {
        width: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        float: none;
    }

    .gallery-page .popular-news-container-left {
        margin-bottom: 0;
    }
}


@media (min-width: 320px) and (max-width: 479px) {
    /*пагинация*/
    ul.pagination >li >a {
        margin-right: 5px!important;
        font-size: 14px;
    }

    .pagination>li>a, .pagination>li>span {
        padding: 3px 3px;
        line-height: 1.8;
    }

    ul.pagination > li.disabled:first-child, ul.pagination > li.disabled:last-child {
        display: none;
    }
    /*главная*/
    /*header*/
    #sp-top2, #sp-top1 {
        width: 100%;
    }

    #sp-top-bar {
        height: auto;
    }

    .customheader-logo {
        width: 165px;
        margin-top: 5px;
    }

    .social-bar #sp-top1 {
        margin-bottom: 0;
    }

    .customheader-button a {
       /* padding: 10px 13px;*/
        font-size: 13px;
    }

    .customheader-phone {
        font-size: 15px;
    }

    .customheader-center-info {
        display: none;
    }

    #sp-top2 .sp-column {
        height: 62px;
    }

    #main-slider .sppb-carousel-pro-text {
        padding-top: 0;
    }

    /*слайдер*/
    #main-slider .sppb-text-right:before {
        top: 43%;
        left: 22%;
        font: 11px 'Open Sans';
        max-width: 90px;
    }

    /*услуги*/
    .uslugi h3, .about-us-heading h3, .about-us-video-h3 h3, .otzivi-adbout-us h3 {
        margin-top: 50px;
    }

    .about-us-video-h3 h3 {
        padding: 7px 30px;
    }

    .uslugi-section img {
        width: auto!important;
    }

    .uslugi-col {
        width: 100%;
        margin-bottom: 25px;
    }

    .uslugi-col img {
        height: auto !important;
    }

    .about-us-center-img {
        display: none;
    }

    #about-us-top {
        padding-bottom: 0!important;
    }

    #about-us-bottom {
        padding-top: 0!important;
    }

    .about-us-left-top h4, .about-us-left-bottom h4, .about-us-left-top p, .about-us-left-bottom p, .about-us-right-top h4, .about-us-right-bottom h4, .about-us-right-top p, .about-us-right-bottom p  {
        text-align: left;
        padding: 0 20px;
    }

    .about-us-left-top, .about-us-left-bottom, .about-us-right-top, .about-us-right-bottom {
        margin-bottom: 15px;
        margin-top: 15px;
    }

    .about-us-section {
        padding: 0 !important;
    }

    .about-us-slider .sppb-carousel-inner > .sppb-item {
        padding: 20px 35px 70px;
    }

    #about-us-top .about-us p {
        text-align: left;
    }

    /*из жизни центра*/

    .iz-zihzni-centra-h3 h3 {
        margin-top: 80px;
        padding: 7px 12px;
    }

    #sp-page-builder img {
        width: 100%;
        padding: 0 20px;
    }

    #sp-page-builder .page-content .sppb-section {
        padding: 0 !important;
    }

    #gallery-url-button {
        height: 150px;
    }

    #form-section > div:nth-child(1) > div:nth-child(1) > div:nth-child(1) {
        display: none;
    }

    .rsformforma-zapisi {
        width: 300px;
        margin:  0 auto;
    }

    .input-form-before-after {
        display: none;
    }

    /* .rsformforma-zapisi:before, .rsformforma-zapisi:after {
         display: none;
     }*/

    .rsformforma-zapisi .rsform-submit-button {
        width: 100%;
    }

    /*колонка акции*/
    .sales-col img {
        padding: 0!important;
    }

    #news-section:after {
        display: none;
    }

    #news-section .news-module .sppb-wow .sppb-addon-article {
        width: 100%!important;
    }

    #news-section .sales-module h3.sppb-addon-title {
        width: 150px;
    }

    #news-section .sales-module .sppb-wow {
        height: 300px;
    }

    #news-section .sales-col a.sppb-readmore {
        margin-top: 0;
    }

/*    #news-section .sales-module .sppb-wow {
        width: 100%;
        height: 150px;
        margin-right: 0;
        margin-bottom: 20px;
    }*/

    /*колонка новости*/
    #news-section .news-col {
        padding: 0 25px;
    }

    #news-section .news-module h3.sppb-addon-title {
        margin-bottom: 45px;
    }

    .news-module img {
        padding: 0!important;
    }

    #news-section .news-module .sppb-addon-article {
        margin-bottom: 25px;
    }

    #news-section .news-col {
        height: auto;
        margin-bottom: 25px;
    }

    #news-section .news-module h3.sppb-addon-title {
        width: 150px;
    }

    #news-section .sales-col .sppb-article-img {
        margin-right: 0;
        margin-bottom: 20px;
        width: 100%;
    }

    /*футер*/

    #sp-bottom1, #sp-bottom2, #sp-bottom3, #sp-bottom4 {
        /*    margin-bottom: 30px;*/
        width: 100%;
        float: left;
        text-align: center;
        height: auto;
        margin-top: 30px;
        margin-bottom: 0!important;
    }

    #sp-bottom1 .sp-module ul, #sp-bottom1 p {
        display: inline-block;
    }

    #sp-bottom4 .footer-button a {
        float: none;
        display: inline-block;
    }

    .sp-bottom-footer:after {
        display: none;
    }

    .customfooter-contacts-col ul li {
  /*      text-align: left;*/
    }

    .footer-loc::before, .footer-phone::before, .footer-mail:before {
        display: none;
    }

    .footer-loc, .footer-phone, .footer-mail {
        padding: 0;
    }

    #sp-bottom {
        padding-top: 0;
    }

    #sp-bottom1 .customfooter-left-col {
        width: 50%;
        margin: 0 auto;
    }

    /*адаптивное меню */
    #sp-header, #sp-header-sticky-wrapper {
        display: none;
    }

    .customheader-soc-icons {
        display: none;
    }

    #offcanvas-toggler > i {
        padding: 10px 10px 0 0!important;
        color: #fff!important;
        font-size: 30px!important;
    }

    .offcanvas-menu .offcanvas-inner .sp-module:first-child {
        display: none;
    }

    .customheader-phone {
        padding-left: 0;
    }

    .customheader-button a {
        padding: 10px 24px;
    }

    .customheader-phone:before {
        display: none;
    }
    /*СТРАНИЦА КОНТАКТЫ*/
    #contcts-page-sect-2 .rsformforma-zapisi:before, #contcts-page-sect-2 .rsformforma-zapisi:after {
        display: none;
    }

    #contcts-page-sect-2 .google-map-container {
        padding-right: 0;
    }

    #contcts-page-sect-2 .rsformforma-zapisi {
        padding: 30px 30px;
    }

    #contcts-page-sect-2 .sppb-text-left {
        text-align: center;
        margin-top: 15px;
    }

    #contcts-page-sect-2 .customfooter-soc ul {
        text-align: center;
        width: 100%;
    }

    #contcts-page-sect-2 .customfooter-soc li {
        float: none;
        display: inline-block;
    }

    #contcts-page-sect-2 .rsformforma-zapisi {
        width: 100%;
        margin-bottom: 20px;
    }

    /*страница преподаватели*/
    #prepod-page .sppb-col-sm-4 {
        padding: 0 20px;
    }

    #sp-page-builder img {
        width: 100%;
        padding: 0;
        height: auto;
    }

    .prepod-container h5 {
        height: auto;
    }

    /*страница новостей*/
    .all-news-page .entry-image {
        height: auto!important;
    }

    .all-news-page .intro-image img {
        height: auto;
        min-height: 100%;
    }

    .all-news-page .blog .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
    }

    .statyi-page .blog .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
    }

    .aczii-page .items-row .item.show-intro .entry-info-wrap,  .statyi-page .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
        height: auto;
    }

    .aczii-page article.item, .statyi-page article.item {
        float: left;
    }


    /*страница отдельной новости*/

    .all-news-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .all-news-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .all-news-page .popular-news-col {
        margin-top: 20px;
    }

    .all-news-page article.item {
        margin-bottom: 0;
    }

    .all-news-page .popular-news-col h3:before, .popular-news-col h3:after {
        display: none;
    }

    .popular-news-col h3 {
        padding: 7px 25px;
        width: 250px;
    }

    .popularnews-image-container {
        width: 80px;
        height: 80px;
        padding: 10px 20px 0 20px;
    }

    .all-news-page .popular-news-container .entry-image {
        height: auto;
        overflow: auto;
    }

    .all-news-page  .popularnews-image-container {
        padding: 0;
    }

    /*страница отдельной статьи*/

    .statyi-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .statyi-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .statyi-page .popular-news-col {
        margin-top: 20px;
    }

    .statyi-page article.item {
        margin-bottom: 0;
    }

    .statyi-page .popular-news-col h3:before, .statyi-page .popular-news-col h3:after {
        display: none;
    }

    .statyi-page .popular-news-col h3 {
        padding: 7px 25px;
        width: 250px;
    }

    .statyi-page .popularnews-image-container {
        width: 80px;
        height: 80px;
       /* padding: 10px 20px 0 20px;*/
        padding: 0;
    }

    .statyi-page .entry-header h2 {
        font-size: 26px!important;
    }

    .statyi-page .popular-news-container .entry-image {
        height: auto;
        overflow: auto;
    }

    /*страница отдельной статьи*/

    .aczii-page .popular-news-container-left {
        padding-right: 15px;
        width: 100%;
    }

    .aczii-page .popular-news-col {
        width: 100%;
        float: left;
    }

    .aczii-page .popular-news-col {
        margin-top: 20px;
    }

    .aczii-page article.item {
        margin-bottom: 0;
    }

    .aczii-page .popular-news-col h3:before, .aczii-page .popular-news-col h3:after {
        display: none;
    }

    .aczii-page .popular-news-col h3 {
        padding: 7px 25px;
        width: 250px;
    }

    .aczii-page .popularnews-image-container {
        width: 80px;
        height: 80px;
        /* padding: 10px 20px 0 20px;*/
        padding: 0;
    }

    .aczii-page .entry-header h2 {
        font-size: 26px!important;
    }

    .aczii-page .popular-news-container .entry-image {
        height: auto;
        overflow: auto;
    }

    .aczii-page .popular-news-container-left, .statyi-page .popular-news-container-left, .all-news-page .popular-news-container-left {
        padding: 20px 5px;
    }

    .view-category .blog .items-row .item.show-intro .entry-image, .statyi-page .items-row .item.show-intro .entry-image, .aczii-page .items-row .item.show-intro .entry-image {
        height: 100%;
        width: 100%;
    }

    .all-news-page .blog .items-row .item.show-intro .entry-info-wrap, .statyi-page .items-row .item.show-intro .entry-info-wrap, .aczii-page .items-row .item.show-intro .entry-info-wrap {
        margin-bottom: 25px;
        float: left;
    }

    /*Разделы меню Услуги*/
    .video-about-us {
        width: 100%;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales h3.sppb-addon-title {
        width: 145px;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
        overflow: hidden;
    }

    .uslugi-category .video-about-us h3:before, .video-about-us h3:after {
        display: none;
    }

    .uslugi-category #uslugi-sect-5 .sppb-tab-content > .active {
        width: 100%;
        margin-left: 0;
    }

    .uslugi-category .rsformforma-zapisi:before, .uslugi-category .rsformforma-zapisi:after {
        display: none;
        padding: 30px 30px;
    }

    .uslugi-category #uslugi-forma .sppb-col-sm-6 {
        width: 100%;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 30px 100px;
    }

    .uslugi-category .sppb-row {
        float: left;
        width: 100%;
        margin: 0 auto;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales {
        float: left;
        width: 100%;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
        /*max-height: 102px;*/
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales {
        margin-bottom: 50px;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 30px;
        width: 100%;
        margin-bottom: 50px;
    }

    .uslugi-category #uslugi-forma .sppb-text-left {
        padding: 0 20px;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-article-introtext {
        margin-bottom: 50px;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales .sppb-wow {
        height: auto;
    }

    .uslugi-category .sppb-article-img {
        margin-bottom: 20px;
        width: 100%!important;
        height: 150px!important;
    }

    .uslugi-category #sect-usl-3 .sect-usl-sales h3.sppb-addon-title{
        width: 115px;
    }

    .uslugi-category .obuchenie-info-tilte p:before, .uslugi-category .obuchenie-info-tilte p:after {
        display: none;
    }

    .uslugi-category  #uslugi-sect-5 .sppb-nav-tabs > li {
        width: 100%;
        padding-left: 50px;
    }

    #uslugi-sect-5 .sppb-nav-tabs > li:before {
        left: 0;
    }

    #uslugi-sect-5 .sppb-nav-tabs > li:after {
        left: 20px;
    }

    .uslugi-category .rsformforma-zapisi {
        padding: 15px;
    }

    /*раздел отзывы*/
    .otzivi-page #comments-form input {
        width: 100%;
    }



    /*Галлерея*/
    .gallery-page table h3:before {
        display: none;
    }

    .gallery-page table h3 {
        text-align: center;
        padding-left: 0;
    }

    .gallery-page table {
        text-align: center;
    }

    .gallery-page .gallery-col {
        float: none;
        width: 100%;
    }

    .gallery-page ul.sigProClassic.singleThumbGallery {
        width: 100%;
        float: none;
        text-align: center;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        text-align: center;
        width: 350px;
        margin: 0 auto;
        height: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb span.sigProLinkOuterWrapper {
        margin: 0 auto;
        display: block;
        float: none;
    }

    .gallery-page table {
        width: 100%;
    }

    .gallery-page ul.sigProClassic li.sigProThumb {
        float: none;
    }

    .gallery-page .popular-news-container-left {
        margin-bottom: 0;
    }

    .gallery-page .gallery-col {
        width: 290px;
        margin: 0 auto;
    }

    .gallery-page a.sigProLink {
        width: 290px;
    }

    /*пагинация*/
    ul.pagination li.disabled:first-child, ul.pagination li.disabled:last-child, ul.pagination a.last, ul.pagination a.first {
        display: none;
    }

    #news-section .sales-col .sppb-article-introtext {
        height: 67px;
        width: 100%;
        float: left;
        overflow: hidden;
    }
}


@media (min-width: 320px) and (max-width: 1199px) {
    .breadcrumb {
        padding: 10px 40px;
        width: 100%;
    }
}

/*
анимация вращение слайдера
*/

/*
@keyframes rotate{
    from {
        transform:  rotate(0);
    }
    to {
        transform: rotate(360deg);
    }
}
@-moz-keyframes rotate{from {-moz-transform:  rotate(0);}	to {-moz-transform: rotate(360deg);}}

@-webkit-keyframes rotate{from {-webkit-transform:  rotate(0);}	to {-webkit-transform: rotate(360deg);}}

#main-slider .sppb-text-right {
    animation: rotate 16s infinite linear;
    -moz-animation: rotate 16s infinite linear;
    -webkit-animation: rotate 16s infinite linear;
}
*/

/*табы*/

.sppb-tab-pane {
    float: left;
    height: 0;
}

.sppb-tab-pane.in {
    height: 100%;
}


/*.hide {
   display: none;
}*/

.tab-container {
    width: 50%;
    float: right;
}

.tab-container:nth-child(odd) {
    float: left;
}

#uslugi-sect-5 .tab-container li {
    position: relative;
    font: bold 14px "Open Sans"!important;
    text-transform: uppercase;
    padding-left: 115px;
    margin-bottom: 15px;
    text-align: left;
    padding-top: 18px;
}

#uslugi-sect-5 .tab-container li:before {
    content: '';
    position: absolute;
    top: 0;
    left: 50px;
    background: url(../images/wizardsmile/uslugi-page/klyaksa.png) no-repeat;
    width: 53px;
    height: 51px;
    z-index: 1;
}

#uslugi-sect-5 {
    height: auto;
    padding-bottom: 100px;
}

#uslugi-sect-5 .tab-container div.in {
    width: 75%;
    padding: 30px 30px;
    border: 2px dotted #fff;
    border-radius: 15px;
    margin-left: 115px;
    /*    margin-bottom: 20px;*/
    /* float: left; */
    margin-right: 0;
}

#uslugi-sect-5 .tab-container li:after {
    content: '';
    color: #fff;
    font: 22px "Open Sans";
    z-index: 2;
    position: absolute;
    top: 12px;
    left: 70px;
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(1) .tab-container:nth-child(1) li:after {
    content: '1';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(1) .tab-container:nth-child(2) li:after {
    content: '2';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(2) .tab-container:nth-child(1) li:after {
    content: '3';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(2) .tab-container:nth-child(2) li:after {
    content: '4';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(3) .tab-container:nth-child(1) li:after {
    content: '5';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(3) .tab-container:nth-child(2) li:after {
    content: '6';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(4) .tab-container:nth-child(1) li:after {
    content: '7';
}

#uslugi-sect-5 ul.sppb-nav div.row:nth-child(4) .tab-container:nth-child(2) li:after {
    content: '8';
}

#uslugi-sect-5 .tab-container {
    margin-bottom: 20px;
}

#uslugi-sect-5 ul.sppb-nav-tabs li a:hover {
    cursor: pointer;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    #uslugi-sect-5 .tab-container div.in {
        width: 73%;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    #uslugi-sect-5 .tab-container div.in {
        width: 80%;
        margin-left: 40px;
    }

  /*  #uslugi-sect-5 ul.sppb-nav-tabs div.row:last-child .tab-container{
        padding-bottom: 100px;
    }*/
}

@media (min-width: 480px) and (max-width: 767px) {
    #uslugi-sect-5 .tab-container {
        width: 100%;
    }

    #uslugi-sect-5 .tab-container div.in {
        margin-left: 20px;
    }

    #uslugi-forma:before {
        display: none;
    }

    #uslugi-sect-5 .tab-container {
        padding: 15px;
    }

    #uslugi-sect-5 .tab-container li:after {
        left: 27px;
    }

    #uslugi-sect-5 .tab-container li:before {
        left: 7px;
    }

    #uslugi-sect-5 .tab-container li {
        padding-left: 75px;
    }

    #uslugi-sect-5 .tab-container div.in {
        width: 85%;
    }

    #uslugi-sect-5 .tab-container div.in {
        width: 100%;
        margin: 0 auto !important;
        margin-top: 20px !important;
    }
}

@media (min-width: 320px) and (max-width: 479px) {
    #uslugi-sect-5 .tab-container div.in {
        float: none;
        margin: 0 auto !important;
        width: 90%;
        padding: 10px 10px;
    }

    #uslugi-forma:before {
        display: none;
    }

    #uslugi-sect-5 .tab-container {
        width: 100%;
    }

    #uslugi-sect-5 .tab-container li {
        padding-left: 75px;
        padding-top: 9px;
    }

    #uslugi-sect-5 .tab-container li:before {
        left: 15px;
    }

    #uslugi-sect-5 .tab-container li:after {
        left: 35px;
    }

    #uslugi-sect-5 .tab-container {
        padding: 15px;
    }
}

/*
стилизация select */

select {
    /*  padding:3px;
      margin: 0;
      -webkit-border-radius:4px;
      -moz-border-radius:4px;
      border-radius:4px;
      -webkit-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
      -moz-box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
      box-shadow: 0 3px 0 #ccc, 0 -1px #fff inset;
      background: #f8f8f8;
      color:#888;
      border:none;
      outline:none;
      display: inline-block;*/
    -webkit-appearance:none;
    -moz-appearance:none;
    appearance:none;
    cursor:pointer;
    background-image: url('../images/wizardsmile/forma-zapisi/select-arrow.png')!important;
    background-position: right center!important;
    background-repeat: no-repeat!important;

}

/*Стилизация лайт бокс галереи*/

div.pp_default .pp_social {
    display: none;
}

/*переписывание галереи под вложеность*/
.gallery-page .page-header {
    margin-top: 0;
}

.gallery-page  .page-header h1 {
    text-align: center;
    margin: 0 0 20px;
    font-size: 36px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 1;
}

.gallery-page .create, .gallery-page .modified, .gallery-page .article-info {
    display: none;
}

.gallery-page .entry-header h2 a {
    color: #666;
    font: bold 15px "Open Sans";
    text-transform: uppercase;
    margin-bottom: 0;
    padding-bottom: 0;
    padding-left: 20px;
    position: relative;
}

.gallery-page .entry-header h2 {
    margin-bottom: 15px;
    padding-bottom: 0;
    padding-left: 0;
    text-align: left;
}

.gallery-page .entry-header h2 a:before {
    position: absolute;
    content: '';
    top: 0;
    left: 0;
    border: 2px solid #8bc430;
    width: 2px;
    height: 15px;
}

.view-article .entry-header h2 {
    text-align: center;
    letter-spacing: 1px!important;
}

.gallery-page .entry-image {
    width: 372px;
    overflow: hidden;
    height: 260px;
}

.gallery-page .entry-image a img {
    min-height: 260px;
    height: auto;
    width: 100%;
}



/*.gallery-page .entry-info-wrap {
    padding-left: 5px;
}*/

.gallery-page .entry-intro-text, .gallery-page .readmore-container {
    display: none;
}

.gallery-page table h3:before {
    position: relative;
    left: -21px;
}

.gallery-page table h3 {
    margin-top: -15px;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .gallery-page .entry-image {
        width: 100%;
    }

    .gallery-page .entry-header h2 {
        text-align: center;
    }

    .gallery-page .entry-header h2 a {
        padding-left: 0;
    }

    .gallery-page .entry-header h2 a:before {
        display: none;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-page .entry-image {
        width: 100%;
    }

    .gallery-page .col-sm-4 {
        width: 50%;
    }

    .gallery-page .entry-header h2 {
        text-align: center;
    }

    .gallery-page .entry-header h2 a {
        padding-left: 0;
    }

    .gallery-page .entry-header h2 a:before {
        display: none;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    .gallery-page .entry-image {
        width: 100%;
    }

    .gallery-page .col-sm-4 {
        width: 100%;
    }

    .gallery-page .entry-header h2 {
        text-align: center;
    }

    .gallery-page .entry-header h2 a {
        padding-left: 0;
    }

    .gallery-page .entry-header h2 a:before {
        display: none;
    }
}

@media (min-width: 320px) and (max-width: 479px) {
    .gallery-page .entry-image {
        width: 100%;
    }

    .gallery-page .col-sm-4 {
        width: 100%;
    }

    .gallery-page .entry-header h2 {
        text-align: center;
    }

    .gallery-page .entry-header h2 a {
        padding-left: 0;
    }

    .gallery-page .entry-header h2 a:before {
        display: none;
    }
}

.gallery-page table h3 {
    float: left;
    margin-top: 0px;
    margin-bottom: 30px;
}

.gallery-page article.item {
    margin-bottom: 0;
}

/*пагинация отзывов*/
#jc div#nav-top, #jc div#nav-bottom {
    background: none;
}

#jc #nav-bottom span.activepage, #jc #nav-bottom span.page, #jc #nav-top span.page, #jc #nav-top span.activepage {
    border: none;
}

#jc #nav-bottom span.activepage, #jc #nav-top span.activepage,#jc #nav-bottom span.page, #jc #nav-top span.page {
    background-color: transparent;
}

#jc #nav-bottom span, #jc #nav-top span {
    font-size: 14px;
}

#jc #nav-bottom span.hoverpage, #jc #nav-top span.hoverpage {
    background: transparent;
    border: 0;
    color: #8bc430;
}

#jc #nav-bottom span.activepage, #jc #nav-top span.activepage {
    color: #8bc430;
    text-decoration: underline;
}

/*доп ховер на футер*/
.customfooter-left-col ul li:hover a {
    color: #ffc931!important;
}

.sp-bottom-footer .sp-module ul > li > a {
    white-space: nowrap;
}

/*правки 09-08-2016*/
.sppb-carousel-indicators .active {
    background: #ffe700;
    border: #ffe700;
}

.sppb-carousel-indicators li {
    background: #fff;
    margin-bottom: 0;
    margin-left: 2px;
    margin-right: 2px;
}

.sppb-carousel-indicators .active {
    margin-left: 2px;
    margin-right: 2px;
    width: 10px;
    height: 10px;
}

.about-us-slider .sppb-carousel-indicators .active {
    background: #ff6e42;
    border: #ff6e42;
}

.customheader-phone {
    margin-left: 35px;
}

.about-us-video-container {
    z-index: 1;
    position: relative;
}

#about-us-video:after {
    z-index: 0;
}

.about-us-left-top h4, .about-us-left-bottom h4, .about-us-right-top h4, .about-us-right-bottom h4 {
    position: relative;
}

.about-us-left-top h4:before  {
    content: '';
    position: absolute;
    border-bottom: 2px solid #8bc430;
    width: 50px;
    height: 2px;
    right: 0;
    bottom: 0;
}

.about-us-left-bottom h4:before  {
    content: '';
    position: absolute;
    border-bottom: 2px solid #8bc430;
    width: 50px;
    height: 2px;
    right: 0;
    bottom: 0;
}

.about-us-right-top h4:before  {
    content: '';
    position: absolute;
    border-bottom: 2px solid #8bc430;
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
}

.about-us-right-bottom h4:before  {
    content: '';
    position: absolute;
    border-bottom: 2px solid #8bc430;
    width: 50px;
    height: 2px;
    left: 0;
    bottom: 0;
}

.customheader-phone {
    margin-top: 3px;
}

.about-us p, .about-us-left-top p, .about-us-left-bottom p, .about-us-right-top p, .about-us-right-bottom p {
    font: 14px "Open Sans";
}

.footer-loc, .footer-phone, .footer-mail {
    padding-left: 35px;
}

.about-us-left-top h4, .about-us-left-bottom h4, .about-us-right-top h4, .about-us-right-bottom h4 {
    padding-bottom: 2px;
}

@media (min-width: 320px) and (max-width: 1199px) {
    .customheader-phone {
        margin-left: 0px;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .sp-bottom-footer .sp-module ul > li > a {
        white-space: normal;
    }
}

@media (min-width: 320px) and (max-width: 768px) {
    .footer-loc, .footer-phone, .footer-mail {
        padding-left: 0;
    }

    .about-us-left-top h4:before, .about-us-left-bottom h4:before, .about-us-right-top h4:before, .about-us-right-bottom h4:before {
        display: none;
    }
}

@media (min-width: 320px) and (max-width: 1199px) {
    #about-us-video:after {
        display: none;
    }
}

#iz-zihzni-centra-slider {
    position: relative;
    z-index: 2;
}

#nav-top {
    display: none;
}

@media (min-width: 320px) and (max-width: 1366px) {
    .gallery-page table h3 {
        float: none;
    }

    .gallery-page article.item {
        float: none;
    }
}

@media (min-width: 1024px) and (max-width: 1200px) {
    #prepod-page .sppb-col-sm-4 {
        padding: 0 40px;
    }
}

/*@media (min-width: 768px) and (max-width: 1023px) {
    .gallery-page article.item {
        float: left;
    }
}*/

#uslugi-section a {
    color: #666;
}

#uslugi-section .uslugi-col:hover a {
    color: #F76531;
}

/*
#uslugi-section .uslugi-col:nth-child(odd):hover img {
    transform: rotate(-15deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

#uslugi-section .uslugi-col:nth-child(even):hover img {
    transform: rotate(15deg);
    transition-delay: 0.5s;
    transition: .2s ease-out;
}*/

.sales-col div.sppb-col-sm-12:nth-child(3) {
    border-bottom: none!important;
}

/*
paravoz*/

/*
.paravoz-span {
    position: relative;
}

.paravoz-span:before {
    content: '';
    position: absolute;
    width: 346px;
    height: 448px;
    background-image: url(../images/wizardsmile/news/TRAIN.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}
*/

#news-section:before {
    background-image: url(../images/wizardsmile/news/TRAIN.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

#o-nas-sect,  #uslugi-forma, .all-news-page #sp-main-body, .aczii-page #sp-main-body, .statyi-page #sp-main-body, .prepod-page-backgr, .gallery-page #sp-main-body, .otzivi-page  #sp-main-body, #contcts-page-sect-2  {
    background-image: url(../images/wizardsmile/news/TRAIN.png);
    background-repeat: no-repeat;
    background-position: left bottom;
}

.view-category .blog .items-row .item {
    box-shadow: none!important;
}

ul.pagination {
    background: transparent;
}

.all-news-page #sp-component .blog, .aczii-page #sp-component .blog, .statyi-page #sp-component .blog {
    background: transparent;
}

@media (max-width: 1365px) {
    #uslugi-forma {
        background-image: none;
    }
}

@media (max-width: 1800px) {
   #o-nas-sect {
        background-image: none;
    }

    .all-news-page #sp-main-body {
        background-image: none;
    }
}

.popular-news-container span, .popular-news-container p, .popular-news-container {
    font-family: "Open Sans", sans-serif!important;
    font-size: 15px!important;
    font-weight: 100!important;
    color: #666!important;
	margin-bottom: 20px;
}

.popular-news-container img {
    padding: 25px;
}

.popular-news-container .entry-image img {
    padding: 0;
}

#comments-form .grippie .counter, #comments-form .grippie span span{
    font-size: 10px!important;
}

@media (min-width: 768px) and (max-width: 1023px) {
    #news-section .sales-col a.sppb-readmore {
        margin-top: 0px;
    }

    #news-section .sales-col .sppb-article-introtext {
        line-height: 1px;
    }

    ul.pagination >li >a {
        margin-right: 5px!important;
    }

}

@media (max-width: 768px) {
    #news-section:before, #o-nas-sect, .view-category #sp-main-body, #uslugi-forma, .all-news-page #sp-main-body, .aczii-page #sp-main-body, .statyi-page #sp-main-body, .prepod-page-backgr, .gallery-page #sp-main-body, .otzivi-page  #sp-main-body, #contcts-page-sect-2 {
        background-image: none;
    }
}

.uslugi-category a:hover, .uslugi-category a:focus {
    color: #fff;
}

.latestnewspopular-news img {
    padding: 0;
}

.news-module .sppb-article-introtext img {
    display: none;
}

#news-section .news-module .sppb-article-info h3 {
    height: 37px;
    overflow: hidden;
}

/*
правки 11.08.2016
*/

@media (min-width: 1024px) {
    .customheader-logo {
        position: relative;
        top: -5px;
    }
}

.sp-megamenu-parent >li >a {
    font-weight: 500!important;
    letter-spacing: 0.02em!important;
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .customheader-phone {
        padding-left: 30px;
    }
    .customheader-phone:before {
        left: -6px;
    }
}

@media (min-width: 480px) and (max-width: 768px) {
    /*пагинация*/
    ul.pagination >li a.first, ul.pagination >li a.last {
        display: none;
    }

    ul.pagination > li.disabled:first-child, ul.pagination > li.disabled:last-child {
        display: none;
    }

    ul.pagination >li >a {
        margin-right: 0!important;
    }

    .customheader-phone {
        padding-left: 22px;
    }

    .customheader-phone:before {
        left: -13px;
    }
}

#main-slider .sppb-carousel-pro-text h2 {
    font-weight: 500;
}

.about-us-video-container {
    border: 5px solid #fff;
}

.gallery-url-button a {
    font-size: 16px;
}

.gallery-url-button a:after {
    content: '';
    border-right: 2px solid #fff;
    border-bottom: 2px solid #fff;
    height: 8px;
    width: 8px;
    transform: rotate(-45deg);
    top: 4px;
    right: -21px;

}

.gallery-url-button {
    padding: 10px 40px 10px 25px;
}

.gallery-url-button a:hover {
    color: #fff;
}

.gallery-url-button:hover {
    background: #F76531;
}

.formRequired {
    display: none;
}

.p-cpoyright {
    padding: 4px 0 3px;
    font-size: 13px;
    color: #fff;
}

.uslugi-category .sppb-col-sm-7 {
    margin-top: 21px;
}

#sect-usl-3 h2 {
    margin-top: 0;
}

/*
#uslugi-sect-5 .sppb-nav-tabs .sppb-row {
    width: 50%;
}

#uslugi-sect-5 .sppb-row .tab-container{
    width: 100%;
    float: left;
}*/

/*.all-news-page .blog article > div.entry-image.intro-image > a > img {
    border: 1px solid #e6e6e6;
}*/

.gallery-page .entry-image, .sigProImg {
    border: 1px solid #e6e6e6!important;
}

.otzivi-page .popular-news-container {
    padding-top: 0;
}

.otzivi-page .entry-header h2 {
    margin-top: 0!important;
}

.comment-anchor {
    display: none;
}

#comments .comment-author {
    margin-right: 25px;
    font: bold 16px "Open Sans"!important;
}

#comments .comment-date {
    font-size: 13px!important;
}

#comments .comment-body {
    margin-top: 20px!important;
}

#jc .rbox {
    padding: 15px 15px;
    border: 1px solid #8bc430;
}

#comments a {
    font-size: 13px;
    color: #72a230;
}

#comments a:hover {
    color: #F76531!important;
}

#jc #nav-bottom span.activepage {
    color: #72a230!important;
    text-decoration: none;
}

#nav-bottom span.page:hover {
    color: #72a230!important;
}

.otzivi-page #comments-form textarea {
    display: block!important;
}

.gallery-page  .page-header h1, .gallery-page .entry-header h2, .popular-news-container-left .entry-header h2 {
    font: 30px "Raleway"!important;
}

.gallery-page .entry-header h2 {
    margin: 0!important;
    height: 45px;
}

.gallery-page .popular-news-container-left .entry-header h2 {
    margin: 0 0 5px!important;
}

#uslugi-sect-5 .sppb-nav-tabs div.row {
    width: 50%;
    float: left;
}

#uslugi-sect-5 .sppb-nav-tabs .tab-container {
    width: 100%;
}


/*
переключения слайдов переопределение стилей*/

.lv_window_dark .lv_side_buttons_underneath .lv_side_button_previous {
    border-right: 6px solid #b6b6b6!important;
    border-bottom: 6px solid #b6b6b6!important;
    background-image: none!important;
    width: 30px!important;
    height: 30px!important;
    transform: rotate(135deg)!important;
}

.lv_side {
    background-image: none!important;
    overflow: visible!important;
    height: 50px!important;
    width: 50px!important;
}

.lv_window_dark .lv_side_buttons_underneath .lv_side_button_next {
    border-left: 6px solid #b6b6b6!important;
    border-top: 6px solid #b6b6b6!important;
    background-image: none!important;
    width: 30px!important;
    height: 30px!important;
    transform: rotate(135deg)!important;
}

.lv_side, .lv_side_button {
    right: 4px;
}

.show-all-news-button:hover {
    color: #fff;
    background: #F76531!important;
}

@media (min-width: 768px) and (max-width: 1023px) {
    #uslugi-forma:before {
        display: none;
    }

    .aczii-page .entry-intro-text, .statyi-page .entry-intro-text {
        height: 57px;
        overflow: hidden;
    }

    .statyi-page .items-row .item.show-intro .entry-info-wrap {
        float: none;
        height: 195px;
    }

    .footer-loc:before, .footer-phone:before, .footer-mail:before {
        left: -30px;
    }

    .aczii-page .items-row .item.show-intro .entry-image {
        height: 170px;
    }

    .aczii-page .intro-image img {
        min-height: 170px;
    }
}

@media (min-width: 480px) and (max-width: 767px) {
    #uslugi-forma:before {
        display: none;
    }

    #uslugi-sect-5 .sppb-nav-tabs div.row {
        width: 100%;
    }

    #uslugi-sect-5 .tab-container {
        padding-left: 43px;
    }
}

@media (min-width: 320px) and (max-width: 480px) {
    #uslugi-forma:before {
        display: none;
    }

    #uslugi-sect-5 .sppb-nav-tabs div.row {
        width: 100%;
    }

    #uslugi-sect-5 .tab-container {
        padding-left: 43px;
    }

    #uslugi-sect-5 .tab-container div.in {
        width: 100%;
    }

    #uslugi-sect-5 .sppb-col-sm-12 {
        padding: 0;
    }
}

.statyi-page .items-row .item.show-intro .entry-image {

}

.view-category .blog .items-row .item.show-intro .entry-image, .statyi-page .items-row .item.show-intro .entry-image, .aczii-page .items-row .item.show-intro .entry-image {
    border: 1px solid #e6e6e6;
}


.swing:hover {
    transform: translate(0,-10px);
    -webkit-transform: translate(0,-10px); /** Chrome & Safari **/
    -o-transform: translate(0,-10px); /** Opera **/
    -moz-transform: translate(0,-10px); /** Firefox **/
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

.swing {
    transition-delay: 0.5s;
    transition: .2s ease-out;
}

.aczii-page .entry-header h2 a {
    margin-bottom: 0;
}

/*
Заголовки новостей
*/

.all-news-page .popular-news-container-left h1 {
    font: 30px "Raleway" !important;
    color: #666;
    text-transform: uppercase;
}

/*, .all-news-page .popular-news-container-left h2, .all-news-page .popular-news-container-left h3, .all-news-page .popular-news-container-left h4, .all-news-page .popular-news-container-left h5, .all-news-page .popular-news-container-left h6*/

@media (min-width: 320px) and (max-width: 1600px) {
    .prepod-page-backgr {
        background-image: none;
    }
}

.all-news-page .popular-news-container-left, .statyi-page .popular-news-container-left, .aczii-page .popular-news-container-left {
    padding-top: 0;
}

.all-news-page .popular-news-container-left .entry-header h2, .statyi-page .popular-news-container-left .entry-header h2, .aczii-page .popular-news-container-left .entry-header h2 {
    margin: 10px 0 20px!important;
}

.aczii-page .popular-news-container-left .entry-image, .statyi-page .popular-news-container-left .entry-image {
    margin-top: 20px;
}

@media (min-width: 1024px) and (max-width: 1920px) {
    .popular-news-col h3 {
        white-space: nowrap;
    }
}

.news-module .sppb-article-introtext br {
    display: none;
}

.sales-module .sppb-article-introtext br {
    display: none;
}

/*p strong, a strong, span strong {
    font-family: Open Sans-Bold;
    font-weight: normal;*/
}

@media (min-width: 1024px) {
    body p {
        text-align: justify;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .sp-bottom-footer .sp-module ul > li > a {
        white-space: normal;
    }
}

.all-news-page .popular-news-col h3 {
    font-size: 21px;
}

@media (min-width: 320px) and (max-width: 768px) {
    .all-news-page .popular-news-col h3 {
        font-size: 20px;
    }
}

@media (min-width: 320px) and (max-width: 479px) {
    .statyi-page .blogstatyi-page .intro-image img, .aczii-page .blogaczii-page .intro-image img {
        min-height: 100%;
        min-width: 100%;
        max-width: none;
    }

    .statyi-page .blogstatyi-page .intro-image, .aczii-page .blogaczii-page .intro-image {
        overflow: hidden;
        height: 210px;
    }

    .all-news-page .latestnewspopular-news .popularnews-image-container, .statyi-page .latestnewspopular-news .popularnews-image-container, .aczii-page .latestnewspopular-news .popularnews-image-container {
        width: 33.33333%;
    }

    .all-news-page .moduletablepopular-news img, .statyi-page .moduletablepopular-news img, .aczii-page .moduletablepopular-news img {
        max-height: none;
    }

    .all-news-page .latestnewspopular-news .popular-news-container p, .statyi-page .latestnewspopular-news .popular-news-container p, .aczii-page .latestnewspopular-news .popular-news-container p {
        width: 100%;
        margin-top: 15px;
        margin-bottom: 0;
    }

    .customheader-phone {
        font-size: 14px;
    }
}

.popular-news-col .popular-news-container:hover .readmore-blog, .popular-news-col .popular-news-container:hover .readmore-blog:before, .popular-news-col .popular-news-container:hover .readmore-blog:after, .popular-news-col .popular-news-container:hover .popularnews-image-container {
    color: #72a230;
    border-color: #72a230;
}

.popular-news-col .popular-news-container:hover .popular-news-content-title a {
    color: #72a230;
}

@media (min-width: 480px) and (max-width: 767px) {
    .all-news-page .latestnewspopular-news .popular-news-container, .statyi-page .latestnewspopular-news .popular-news-container, .aczii-page .latestnewspopular-news .popular-news-container {
        width: 100%;
    }

    #news-section .sales-col .sppb-article-img a img {
        width: auto;
    }
}

@media (min-width: 768px) and (max-width: 1023px) {
    .all-news-page .latestnewspopular-news .popular-news-content-intro-text p, .statyi-page .latestnewspopular-news .popular-news-content-intro-text p, .aczii-page .latestnewspopular-news .popular-news-content-intro-text p {
        width: 100%;
        padding: 0;
    }

    .all-news-page .latestnewspopular-news .popularnews-image-container img, .statyi-page .latestnewspopular-news .popularnews-image-container img, .aczii-page .latestnewspopular-news .popularnews-image-container img {
        max-height: none;
    }
}

@media (min-width: 1024px) and (max-width: 1199px) {
    .all-news-page .latestnewspopular-news .popularnews-image-container img, .statyi-page .latestnewspopular-news .popularnews-image-container img, .aczii-page .latestnewspopular-news .popularnews-image-container img {
        max-height: none;
    }

    .statyi-page .latestnewspopular-news .popular-news-content-intro-text p, .all-news-page .latestnewspopular-news .popular-news-content-intro-text p, .aczii-page .latestnewspopular-news .popular-news-content-intro-text p {
        width: 100%;
        margin-top: 15px;
        text-align: left;
    }
}

#news-section .sales-col .sppb-wow:hover .sppb-article-img {
    color: #c33574;
    border-color: #c33574;
}

.p-cpoyright {
    text-align: center;
}

.article-url-container:before, .article-url-container:after {
    display: none;
}

.sp-megamenu-parent li.active a {
    color: #5f5f5f !important;
}

@media (min-width: 320px) and (max-width: 768px) {
    #sect-usl-3 .sect-usl-sales .sppb-article-img a img {
        width: auto;
    }
}

@media (min-width: 320px) and (max-width: 479px) {
    .uslugi-category .rsformforma-zapisi {
        padding: 5px;
    }
}
