/*   
Theme Name: webfellixTemplate
Version: 1.0
Description: Разработанный WebFellix шаблон
Author: WebFellix
Author URI: http://wbcb.ru
*/
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,700&subset=latin,cyrillic,latin-ext);


/* GENERAL */
*{
	margin: 0;
	padding: 0;
	outline: none;
}

body{
	font-family: 'Open Sans', sans-serif;
}

.main{
	max-width: 1200px;
	margin: 0px auto;
	padding: 0px 15px;
	position: relative;
}

.clear {clear:both; }
.clear-25 {clear:both; width: 100%; height: 25px; }
.clear-40 {clear:both; width: 100%; height: 40px; }
.clear-55 {clear:both; width: 100%; height: 55px; }
.clear-75 {clear:both; width: 100%; height: 75px; }
.clear-90 {clear:both; width: 100%; height: 90px; }

.flex{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
}

/* HEADER */
.head-top{
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-ms-flex-line-pack: center;
	    align-content: center;
}

.head-top-menu {
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}



#menu-verhnee-menyu{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-ms-flex-line-pack: center;
	    align-content: center;
}

#menu-verhnee-menyu li{
	list-style-type: none;
	margin-right: 35px;
}

#menu-verhnee-menyu a{
	color: #ffffff;
	font-size: 16px;
	font-weight: 300;
	line-height: 24px;
	text-decoration: none;
}

#menu-verhnee-menyu a:hover{
	text-decoration: underline;
}

.bg-head-top{
	background-color: #3484d5;
	padding:5px 0px;
}

.search form#searchform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.search input#s {
    border: 1px solid #e6eaed;
    width: 360px;
    height: 32px;
    padding-left: 10px;
}

.search input#searchsubmit {
    background: url(../../../wp-content/themes/webellixTemplate/img/ico-search.png) no-repeat;
    width: 29px;
    height: 24px;
    border: none;
    margin-left: -40px;
    margin-right: 10px;
    cursor: pointer;
}

.head-contact-main{
	margin-top: 20px;
	margin-bottom: 20px;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	            -ms-grid-row-align: center;
	        align-items: center;
}

.head-contact{
	font-size: 18px;
	line-height: 30px;
	font-weight: 300;
}

.number {
	color: #666666;
	font-size: 20px;
	background: url(../../../wp-content/themes/webellixTemplate/img/ico-phone.png) no-repeat;
	background-position: left center;
	padding-left: 35px;
    margin-bottom: 20px;
	max-width: 650px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack:justify;
	    -ms-flex-pack:justify;
	        justify-content:space-between;
}

.number b{
	color: #000000;
}

.number p{
	margin-right: 25px;
}

.number p:last-child{
	margin-right: 0px;
}

.line-flex {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack: end;
	    -ms-flex-pack: end;
	        justify-content: flex-end;
}

.addres{
	background: url(../../../wp-content/themes/webellixTemplate/img/ico-adress.png) no-repeat;
	background-position: left center;
	padding-left: 35px;
	margin-right: 35px;
}

.time{
	background: url(../../../wp-content/themes/webellixTemplate/img/ico-time.png) no-repeat;
	background-position: left center;
	padding-left: 35px;
}

.bg-main-menu{
	background-color: #014991; 
}

ul#menu-glavnoe-menyu {
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack:justify;
        -ms-flex-pack:justify;
            justify-content:space-between;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

ul#menu-glavnoe-menyu > li {
    -webkit-box-flex: 1;
        -ms-flex-positive: 1;
            flex-grow: 1;
    padding: 15px 0px;
}

ul#menu-glavnoe-menyu a {
    font-size: 18px;
    line-height: 28px;
    font-weight: 300;
    text-transform: uppercase;
    color: #f9f9f7;
    display: block;
    text-align: center;
    width: 100%;
    text-decoration: none;
    border-right: 1px solid #f1f5f8;
}

ul#menu-glavnoe-menyu ul.sub-menu > li > a {
    color: #000;
    font-size: 16px;
    line-height: 36px;
    font-weight: 300;
    text-align: left;
    text-transform: inherit;
	padding-left: 20px;
} 

.logo img {
    max-width: 200px;
}

ul#menu-glavnoe-menyu li:last-child a{
	border-right: 1px solid transparent;
}

ul#menu-glavnoe-menyu a:hover {
    text-decoration: underline;
}

ul#menu-glavnoe-menyu ul.sub-menu {
    display: none;
	min-width: 100%;
    position: absolute;
    background: #f1f5f8;
    list-style-type: none;
    margin-top: 15px;
    z-index: 99;
    box-shadow: 0px 0px 15px 0px #808080;
	    padding: 20px 0px;
}

ul#menu-glavnoe-menyu > li {
    position: relative;
}

ul#menu-glavnoe-menyu > li:hover ul {
    display: block;
}

ul#menu-glavnoe-menyu ul.sub-menu li {
    border-bottom: 1px solid #f1f5f8;
    padding: 4px 10px;
}

ul#menu-glavnoe-menyu ul.sub-menu li a{
	border-right: initial;
}

ul#menu-glavnoe-menyu li:last-child ul.sub-menu {
    right: 0px;
}

ul#menu-glavnoe-menyu li:last-child ul.sub-menu a{
	    padding-left: 20px;
}

.mobile-header{
	display: none;
}

.info-slider {
    position: absolute;
	bottom: 10%;
    background: rgba(96, 141, 183, 0.6);
	color: #ffffff;
	padding: 15px;
	font-weight: 300;
    max-width: 345px;
    max-height: 190px;
}

.info-slider-main{
    margin: 0 auto;
    max-width: 1200px;
    padding: 0px 15px;
}

.info-slider h3{
	font-size: 24px;
	padding-bottom: 20px;
	font-weight: 300;
}

.info-slider p{
	font-size: 14px;
	line-height: 24px;
}

.slick-slide img {
    display: block;
    min-height: 350px;
    width: 100%;
}

.slick-slide a{
 width:0%;
}


.block-ban {
    position: relative;
	margin: 0px 2%;
}

.slick-slide {
    display: flex !important;
    justify-content: center;
    align-items: center;
max-height: 350px;
    overflow: hidden;
}

.main-ban {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    padding-top: 40px;
    padding-bottom: 90px;
}

.block-ban p {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	text-align: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
	color: #ffffff;
	font-size: 18px;
	text-transform: uppercase;
}

img.visible-ban {
    position: absolute;
    z-index: 1;
    opacity: 0;
	-webkit-transition: 0.4s;
	transition: 0.4s;
}

img.visible-ban:hover{
	opacity: 1;
}

.main-uslugi {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-pack: distribute;
        justify-content: space-around;
    padding-top: 40px;
    padding-bottom: 65px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.main-uslugi > a{
    box-sizing: border-box;
    width: 31%;
	margin-bottom: 25px;
}

.block-uslugi {
    position: relative;
}

.block-uslugi img {
	width: 100%;
   max-height: 375px;
    height: 100%;
}

.title-uslugi {
    position: absolute;
    bottom: 0px;
    left: 0px;
	color: #000000;
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 300;
	background: rgba(255,255,255,0.5);
}

.block-uslugi {
    position: relative;
	max-width: 370px;
	    overflow: hidden;
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
}

.title-uslugi {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    text-align: center;
	-webkit-box-align: center;
	    -ms-flex-align: center;
	        align-items: center;
    padding: 15px 0px;
    width: 100%;
    position: absolute;
    bottom: 0px;
    left: 0px;
    color: #000000;
    font-size: 24px;
    text-transform: uppercase;
    font-weight: 300;
    background: rgba(255,255,255,0.5);
}

h2.title-block{
	color: #014991;
	font-size: 36px;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
}

p.secondtitle-form{
	color: #333333;
	font-size: 18px;
	font-weight: 300;
	line-height: 40px;
	text-align: center;
}

.main-form {
    max-width: 770px;
    margin: 0 auto;
    margin-top: 40px;
    margin-bottom: 90px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.main-form input {
    max-width: 375px;
	width: 100%;
    padding: 14px;
    font-size: 16px;
	margin-bottom: 5px;
    border: 1px solid #014991;
	-webkit-transition: 0.4s;
	transition: 0.4s;
	box-sizing: border-box;
}

.main-form textarea {
    max-width: 375px;
    height: 141px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 5px;
    border: 1px solid #014991;
    -webkit-transition: 0.4s;
    transition: 0.4s;
	box-sizing: border-box;
}

.main-form input:focus, .main-form textarea:focus{
	 border: 1px solid #92c5fa;
}

.main-form label{
	font-size: 16px;
	color: #000000;
	font-weight: 300;
	line-height: 40px;
}

input.wpcf7-form-control.wpcf7-submit{
	color: #ffffff;
	font-size: 18px;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
	background: #014991;
	cursor: pointer;
	width: 175px;
}

div.wpcf7 img.ajax-loader {
    border: none;
    display: none;
}

p.button-form {
    text-align: right;
}

span.wpcf7-not-valid-tip {
    color: #f00;
    font-size: 12px !important;
    margin-top: -6px;
    width: 200px;
    display: block;
    position: absolute;
}

form.wpcf7-form {
    position: relative;
    max-width: 770px;
    margin: 0 auto;
}

.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    border: 0px;
    color: #014991;
    position: absolute;
    right: 0px;
    font-size: 14px;
    margin: 10px 0px;
    padding: 0px;
    margin-top: -90px;
}

div.wpcf7-validation-errors {
    border: 0px !important;
    display: none;
    font-size: 0px;
}

.main-form input.wpcf7-not-valid, .main-form textarea.wpcf7-not-valid{
	border:1px solid #FB3939;
}

.left-block-form {
    margin-right: 15px;
}

.main-about-front {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
    max-width: 970px;
    margin: 0 auto;
    margin-bottom: 90px;
}

.img-about-front img {
    margin-right: 25px;
    max-width: 275px;
}

.txt-about-front{
	margin-top:40px;
	color: #000000;
	font-size: 16px;
	line-height: 30px;
	font-weight: 400;
}

.txt-about-front a{
	font-size: 16px;
	color: #014991;
	font-weight: 400;
	text-transform: uppercase;
	display: block;
    text-align: right;
    margin-top: 25px;
}

.txt-about-front a:hover{
	text-decoration: none;
}

footer{
	background: #014991;
	padding-top: 25px;
	padding-bottom: 15px;
	width: 100%;
}

.foot-flex{
	display: -webkit-box;
	display: -ms-flexbox;
	display: flex;
	-webkit-box-pack: justify;
	    -ms-flex-pack: justify;
	        justify-content: space-between;
}

.contact-foot h3{
	color: #92c5fa;
	font-size: 16px;
	font-weight: 300;
	padding-bottom: 10px;
}

.contact-foot p{
	color: #f1f5f8;
	font-size: 16px;
	font-weight: 400;
	line-height: 24px;
}

p.copyright{
	text-align: center;
	color: #ffffff;
	font-size: 14px;
	line-height: 24px;
	padding-top: 35px;
}

.social img {
    margin: 0px 5px;
}

h1.title-cat{
	font-size: 36px;
	color: #014991;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
}

h2.title-cat{
	font-size: 32px;
	color: #014991;
	font-weight: 300;
	text-transform: uppercase;
	text-align: center;
}

.text-rubric p{
	text-align: center;
	font-size: 16px;
	line-height: 24px;
}

.kama_breadcrumbs {
	font-size: 14px;
	color: #282828;
	font-weight: 700;
	margin-top: 25px;
}

.kama_breadcrumbs span{
	font-weight: 300;
}

.kama_breadcrumbs a{
	font-weight: 300;
	color: #282828;
	text-decoration: none;
}

.kama_breadcrumbs a:hover{
	
	text-decoration: underline;
}

article.main-post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    margin-bottom: 75px;
}

.post-right {
    width: 63%;
}

.post-left {
    width: 35%;
}

.post-left img {
    max-width: 375px;
	width: 100%;
	    margin-right: 25px;
}

h2.post-title a{
	font-size: 24px;
	text-transform: uppercase;
	font-weight: 400;
	color: #000;
	padding-bottom: 15px;
	display: block;
	text-decoration: none;
}

h2.post-title a:hover{
	text-decoration: underline;
}

.post-text p{
	font-size: 16px;
	line-height: 24px;
}

a.ancor-full-post {
    color: #014991;
    font-size: 18px;
    text-transform: uppercase;
    display: block;
    text-align: right;
    margin-top: 25px;
}

a.ancor-full-post:hover{
	text-decoration: none;
}

ul.page-numbers {
    list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

ul.page-numbers span {
    background: #f1f5f8;
	font-size: 14px;
	color:#000;
    border: 2px solid #014991;
    margin: 5px;
    width: 26px;
    line-height: 26px;
    display: block;
	text-align: center;
}

ul.page-numbers a {
    background: #f1f5f8;
	font-size: 14px;
	color: #2b2825;
    border: 2px solid #c9e2fd;
    margin: 5px;
    width: 26px;
    line-height: 26px;
    display: block;
	text-align: center;
	text-decoration: none;
}

img.alignleft {
    float: left;
    padding: 0px 15px 15px 0px;
}

article p {
    font-size: 16px;
    line-height: 30px;
    margin-bottom: 10px;
	font-weight: 300;
}

article img{
	max-width: 100%;
    height: auto;
	box-sizing: border-box;
}

.button-post-single a{
	margin: 40px auto 90px;
	width: 260px;
	display: block;
	text-align: center;
	text-decoration: none;
	font-size: 18px;
	color: #fff;
	line-height: 50px;
	background: #014991;
}

.button-post-single a:hover{
	text-decoration: underline;
}

ul.menu-cat-public{
	list-style-type: none;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

ul.menu-cat-public a {
    background: #fff;
	font-weight: 300;
    font-size: 18px;
    color: #2b2825;
    padding: 0px 15px;
    border: 2px solid #c9e2fd;
    margin: 6px;
    line-height: 38px;
    display: block;
    text-align: center;
    text-decoration: none;
	-webkit-transition: 0.5s;
	transition: 0.5s;
}

ul.menu-cat-public a:hover{
	border: 2px solid #014991;
	color: #014991;
}

ul.menu-cat-public li.current-cat a{
	border: 2px solid #014991;
	color: #014991;
}

.nav-bottom-post {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
.nav-bottom-post div {
    margin: 0px 4% ;
}

.nav-bottom-post > .button-post-single:first-child a{
	margin-bottom: 0px;
}

.main-special {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    padding-top: 40px;
    padding-bottom: 65px;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}

.special-block {
    box-sizing: border-box;
    width: 23%;
    min-width: 210px;
    margin-bottom: 50px;
}

.special-block img {
    max-width: 275px;
    width: 100%;
}

.special-block h2, .special-block a{
	text-decoration: none;
	font-size: 18px;
	color: #014991;
	text-align: center;
	text-transform: uppercase;
	font-weight: 300;
}

.special-block a:hover{
	text-decoration: underline;
}

.special-block p{
	text-align: center;
	font-size: 14px;
}

.card-special {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.card-special h2{
	font-size: 24px;
	font-weight: 300;
	text-transform: uppercase;
	color: #014991;
	padding-bottom: 5px;
}

.card-special p.special-prof{
	font-size: 16px;
	font-weight: 300;
	padding-bottom: 10px;
}

.left-block-card-special {
    max-width: 335px;
    min-width: 250px;
	    width: 100%;
    margin-right: 25px;
}

.text-acc{
	display: none;
}

.title-acc {
    background-color: #014991;
    height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    margin: 2px 0px;
	font-size: 18px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 400;
	cursor: pointer;
}

.title-acc > img{
	padding: 0px 20px;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

.title-acc.visible-acc > img{
	-webkit-transform: rotate(90deg);
 	 transform: rotate(90deg);
}

.line-acc.title-line-acc {
    border: 1px solid #014991;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 700;
    min-height: 50px;
}

.line-acc {
    border: 1px solid #014991;
    border-top: 0px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    font-weight: 300;
    min-height: 50px;
}

.line-acc.title-line-acc div {
    border-right: 1px solid #014991;
    min-height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
}

.line-acc div:last-child{
	border-right: 1px solid transparent;
}

.line-acc div {
    border-right: 1px solid #014991;
    min-height: 50px;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: center;
        -ms-flex-pack: center;
            justify-content: center;
	font-size: 16px;
	color: #1e1e1e;
}

.line-acc .usluga-acc {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
    padding-left: 15px;
	padding-right: 15px;
}

.line-acc .content-acc{
	-webkit-box-pack: start;
	    -ms-flex-pack: start;
	        justify-content: flex-start;
	padding-left: 15px;
	padding-right: 15px;
}

.number-acc {
    max-width: 50px;
    width: 100%;
}

.usluga-acc {
    max-width: 375px;
    width: 100%;
}

.content-acc{
	max-width: 470px;
    width: 100%;
}

.money-acc {
    max-width: 205px;
    width: 100%;
}

.text-acc .line-acc:last-child{
	margin-bottom: 20px;
}

.comment-full{
	display: none;
}

.comment-meta{
	margin-bottom: 25px;
}

.comment-author {
    font-size: 18px;
    color: #014991;
    padding-right: 10px;
	text-transform: uppercase;
}

.comment-time{
	font-size: 14px;
	color:#666666;
}

.comment-text{
	font-size: 16px;
	line-height: 24px;
}

.comment-main{
	font-weight: 300;
	margin-bottom: 50px;
}

a.comment-more {
    display: block;
    text-align: right;
    font-size: 16px;
    color: #014991;
    font-weight: 400;
    margin-top: 10px;
}

#window{
	position: relative;
	max-width: 770px;
    width: 83%;
	height: 465px;
	margin: 50px auto;
	display: none;
	background: #fff;
	z-index: 200;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 25px;
}

#wrap{
	display: none;
	opacity: 0.8;
	position: fixed;
	left: 0;
	right: 0;
	top: 0;
	bottom: 0;
	padding: 16px;
	background-color: rgba(1, 1, 1, 0.725);
	z-index: 100;
	overflow: auto;
}

img.comments-click{
	position: absolute;
    right: 15px;
    top: 15px;
}
div#window h2 {
    margin-bottom: 40px;
    margin-top: 20px;
}

#window label {
    font-size: 16px;
    font-weight: 300;
    line-height: 32px;
}

form#commentform {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
}

.form-comment-text {
    -webkit-box-ordinal-group: 4;
        -ms-flex-order: 3;
            order: 3;
	width: 100%;
}

form > div{
	margin-bottom: 15px;
}

textarea#comment {
    max-width: 100%;
    height: 141px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 5px;
    border: 1px solid #014991;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    box-sizing: border-box;
}

.form-comment-author {
    -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
            order: 1;
	width: 49%;
}

.form-comment-mail {
    -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
            order: 2;
	width: 49%;
}

p.form-submit {
    -webkit-box-ordinal-group: 5;
        -ms-flex-order: 4;
            order: 4;
    display: block;
    text-align: right;
    width: 100%;
}

form#commentform div input {
    max-width: 375px;
    width: 100%;
    padding: 14px;
    font-size: 16px;
    margin-bottom: 5px;
    border: 1px solid #014991;
    -webkit-transition: 0.4s;
    transition: 0.4s;
    box-sizing: border-box;
}

form#commentform div input:focus, form#commentform div textarea:focus {
    border: 1px solid #92c5fa;
}

input#submit {
    color: #ffffff;
    font-size: 18px;
    font-weight: 300;
    text-transform: uppercase;
    text-align: center;
    background: #014991;
    cursor: pointer;
    width: 175px;
    margin-bottom: 5px;
    border: 1px solid #014991;
    box-sizing: border-box;
    max-width: 375px;
    padding: 14px;
}

body.page-id-47 h2.title-block{
	display: none;
}

.flex-contact {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
        -ms-flex-align: center;
            align-items: center;
    -webkit-box-pack: justify;
        -ms-flex-pack: justify;
            justify-content: space-between;
    font-weight: 400;
	-ms-flex-wrap: wrap;
	    flex-wrap: wrap;
}

.contact-phone-page {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.flex-contact div{
	margin-right: 20px;
}

.flex-contact div:last-child{
	margin-right: 0px;
}

.contact-phone-page p{
	margin: 0px 5px;
	font-weight: 400;
}

body.search section{
	min-height: 400px;
}

#fancybox-close {
    position: absolute;
    top: -23px !important;
    right: -23px !important;
    width: 47px !important;
    height: 47px !important;
    background: url(../../../wp-content/themes/webellixTemplate/img/cancel-pop.png)  !important;
    cursor: pointer;
    z-index: 11103;
    display: none;
}

#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 30px; 
    z-index: 11101;
    outline: 0;
    display: none;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
}

#fancybox-left, #fancybox-right {
    visibility: visible !important;
}
#fancybox-left-ico, #fancybox-right-ico {
    position: absolute;
    top: 50%;
    left: 20px !important;
    width: 54px !important;
    height: 54px !important;
    margin-top: -28px !important;
    cursor: pointer;
    z-index: 11102;
    display: block;
}

#fancybox-left-ico {
    background-image: url(../../../wp-content/themes/webellixTemplate/img/arrow-pop.png) !important;
    background-position: 0px !important;
	-moz-transform: rotate(180deg);  /* Firefox */
 	-o-transform: rotate(180deg);  /* Opera */
  	-webkit-transform: rotate(180deg);  /* Safari y Chrome */
	    left: -75px !important;
}

#fancybox-right-ico {
    background-image: url(../../../wp-content/themes/webellixTemplate/img/arrow-pop.png) !important;
    background-position: 0px !important;
}

#fancybox-left, #fancybox-right {
    position: absolute;
    bottom: 0;
	    top: 0;
    height: initial !important;
    width: initial !important;
    cursor: pointer;
    outline: 0;
    background: url(../../../wp-content/themes/webellixTemplate/blank.gif);
    z-index: 11102;
    display: none;
}

#fancybox-title {
    font-family: 'Open Sans', sans-serif !important;
    z-index: 11102;
    color: #000;
    font-size: 24px !important;
    font-weight: 300;
    position: absolute;
    bottom: 0px;
    background: rgba(255,255,255, 0.7);
    line-height: 40px;
	text-transform: uppercase;
}

div#slider .title-uslugi{
	opacity: 0;
	-webkit-transition: 0.3s;
	transition: 0.3s;
}

div#slider .block-uslugi:hover .title-uslugi{
	opacity: 1;
}

#fancybox-wrap {
    position: absolute;
    top: 0;
    left: 0;
    padding: 60px !important;
    z-index: 11101;
    outline: 0;
    display: none;
    box-sizing: content-box;
    -moz-box-sizing: content-box;
}

.video {
display: block;
max-width: 570px;
	    width: 49%;
	height: 370px;
margin-bottom: 30px

}
 
.video iframe{
width: 100% !important; height: 100% !important;
	min-width: 350px;
}

/* 960PX START ADAPTIVE*/
@media screen and (max-width:959px) {
	
	#menu-verhnee-menyu li {
    margin-right: 20px;
}
	#menu-verhnee-menyu a {
    font-size: 14px;
}
	.search input#s {
    width: 280px;
}
	.number {
    font-size: 16px;
}
	.head-contact {
    font-size: 15px;
}
	ul#menu-glavnoe-menyu a {
    font-size: 14px;
}
	ul#menu-glavnoe-menyu > li {
    padding: 12px 0px;
}  
	ul#menu-glavnoe-menyu ul.sub-menu {
    margin-top: 12px;
}
	.main-uslugi {
    -ms-flex-pack: distribute;
        justify-content: space-around;
}
	.main-uslugi > a {
    width: 50%;
}
	.block-uslugi {
    margin: 0px 5px;
}
	.special-block {
    width: 31%;
}
	.main-special {
    -ms-flex-pack: distribute;
        justify-content: space-around;
}
	.flex-contact {
    -webkit-box-pack: start;
        -ms-flex-pack: start;
            justify-content: flex-start;
}
	.flex-contact div{
		width: 100%;
	}
	.contact-phone-page p:first-child{
		margin-left: 0px;
	}
	.flex-contact div {
    margin: 10px;
		margin-left: 0px;
}
	.contact-phone-page {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
	.video {
    width: 100%;
}
	
}


/* 768PX */
@media screen and (max-width:768px){
	
	.main{
		padding: 0px 40px;
	}
	.bg-head-top, .head-contact-main, .bg-main-menu{
		display: none;
	}
	.mobile-header{
		display: -webkit-box;
		display: -ms-flexbox;
		display: flex;
    	-webkit-box-pack: justify;
    	    -ms-flex-pack: justify;
    	        justify-content: space-between;
	    -webkit-box-align: center;
	        -ms-flex-align: center;
	            align-items: center;
		background: #f1f5f8;
		border-bottom: 1px solid #e6eaed;
		height:140px;
	}
	.logo-mobile {
	    text-align: center;
	}
	.search-mobile {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-box-pack: end;
	        -ms-flex-pack: end;
	            justify-content: flex-end;
	    -webkit-box-align: center;
	        -ms-flex-align: center;
	            align-items: center;
	}
	.mobile-header > div{
		width: 33.33%;
	}
	.burger-menu{
		display: none;
	}
	.mobile-header .burger-menu.visible-burger{
		display: block;
	}
	.mobile-header .burger-menu {
    	display: none;
    	position: absolute;
    	top: 0px;
    	left: 0px;
    	max-width: 400px;
    	width: 100%;
		padding-top: 40px;
		padding-bottom: 40px;
    	background: #fff;
    	border-right: 1px solid #e7ebee;
    	border-bottom: 1px solid #e7ebee;
	    z-index: 3;
	}
	.burger-menu hr{
		border: 0px;
		height: 1px;
		margin: 20px 0px;
		background: #e6eaed;
	}
	.burger-menu img.burger-click{
		position: absolute;
  		right: 15px;
   		top: 15px;
	}
	ul#menu-glavnoe-menyu-1, ul#menu-verhnee-menyu-1{
		padding-left: 40px;
	}
	ul#menu-glavnoe-menyu-1 li{
		list-style-type: none;
	}
	ul#menu-glavnoe-menyu-1 a{
		font-weight: 300;
		font-size: 24px;
		text-transform: uppercase;
		text-decoration: none;
		line-height: 48px;
		color:#000;
	}
	ul#menu-glavnoe-menyu-1 a:hover{
		color:#014991;
		text-decoration: underline;
	}
	ul#menu-glavnoe-menyu-1 ul.sub-menu a {
	    padding-left: 25px;
	    font-size: 20px;
	    color: #4E4E4E;
	}
	ul#menu-verhnee-menyu-1 li{
		list-style-type: none;
	}
	ul#menu-verhnee-menyu-1 a{
		font-weight: 300;
		font-size: 24px;
		text-decoration: none;
		line-height: 48px;
		color:#000;
	}
	ul#menu-verhnee-menyu-1 a:hover{
		color:#014991;
		text-decoration: underline;
	}
	.logo-mobile img {
	    max-width: 155px;
	    max-height: 90px;
	}
	.search-mobile form#searchform {
	    display: -webkit-box;
	    display: -ms-flexbox;
	    display: flex;
	    -webkit-box-pack: center;
	        -ms-flex-pack: center;
	            justify-content: center;
	    -webkit-box-align: center;
	        -ms-flex-align: center;
	            align-items: center;
	}
	.search-mobile input#s {
	    border: 1px solid #e6eaed;
	    width: 150px;
	    height: 32px;
	    padding-left: 10px;
	}
	.search-mobile input#searchsubmit {
	    background: url(../../../wp-content/themes/webellixTemplate/img/ico-search.png) no-repeat;
	    width: 29px;
	    height: 24px;
	    border: none;
	    margin-left: -40px;
	    margin-right: 10px;
	    cursor: pointer;
	}
	.search-mobile-block{
		display: none;
	}
	.hidden{
		display:none;
	}
	.visible-search{
		display: block;
	}
	.slider{
		display: none;
	}
	.block-ban {
   	 	margin: 5px;
	}
	.main-ban {
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
	.main-form {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
	.left-block-form {
    margin-right: 0px;
    width: 100%;
}
	.right-block-form {
    width: 100%;
}
	.main-form input {
    max-width: 100%;
}
	.main-form textarea {
    max-width: 100%;
}
	p.button-form {
    text-align: center;
}
	.wpcf7-response-output.wpcf7-display-none.wpcf7-mail-sent-ok {
    position: relative;
    text-align: center;
}
	.main-about-front > div {
    width: 47%;
}
	.img-about-front img {
    max-width: 335px;
	margin-right: 0px;
    width: 100%;
}
	.txt-about-front {
    margin-top: 0px;
}
	.foot-flex {
    -ms-flex-pack: distribute;
        justify-content: space-around;
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
	.social {
    width: 100%;
    text-align: center;
	margin-bottom: 45px;
}
	.contact-foot {
    margin-bottom: 30px;
	margin: 15px 10px;
}
	article.main-post {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
}
	.post-left {
    width: 100%;
    text-align: center;
}
	.post-left img {
    max-width: 535px;
    width: 100%;
    margin-right: 0px;
}
	.post-right {
    width: 100%;
    margin-top: 20px;
}
	.special-block {
    width: 48%;
}
	.special-block img {
    max-width: 335px;
}
	.card-special {
    -ms-flex-wrap: wrap;
        flex-wrap: wrap;
	-webkit-box-pack: center;
	    -ms-flex-pack: center;
	        justify-content: center;
}
	.left-block-card-special {
    max-width: 100%;
    margin-right: 0px;
	text-align: center;
}
	.card-special h2{
		text-align: center;
	}
	.card-special p.special-prof{
		text-align: center;
	}
	.right-block-card-special, .right-block-card-special p{
		text-align: center;
	}
	.kama_breadcrumbs{
		display: none;
	}
	.line-acc.title-line-acc {
    display: none;
}
	.text-acc .line-acc:nth-child(2){
		border-top: 1px solid #014991;
	}
	.line-acc {
    display: block;
	padding: 20px 10px;
}
	.line-acc .number-acc{
		display: none;
	}
	.line-acc div {
    border-right: 0px;
    display: block;
    max-width: 100%;
	min-height: initial;
}
	.line-acc .usluga-acc, .line-acc .content-acc{
		padding: 0px;
	}
	.money-acc{
		text-align: right;
	}
	.content-acc, .money-acc{
		font-weight: 300;
		font-size: 22px;
		line-height: 40px;
	}
	.usluga-acc{
		font-size: 24px;
		font-weight: 300;
		line-height: 40px;
		text-transform: uppercase;
	}
	.text-acc .line-acc:last-child{
	margin-bottom: 5px;
}
	#window {
    width: 100%;
    height: 100%;
    margin: 0px auto; 
    box-sizing: border-box;
}
	form#commentform div input {
    max-width: 100%;
    width: 100%;
}
	.form-comment-author {
    width: 100%;
}
	.form-comment-mail {
    width: 100%;
}
	#fancybox-left-ico, #fancybox-right-ico {
    left: 2px !important;
    width: 30px !important;
    height: 30px !important;
    background-size: contain;
    margin-top: -28px !important;
}
	#fancybox-left-ico {
    left: -75px !important;
}
	#fancybox-left-ico {
    left: -32px !important;
}
	#fancybox-close {
    top: -15px !important;
    right: -15px !important;
    width: 30px !important;
    height: 30px !important;
    background: url(../../../wp-content/themes/webellixTemplate/img/cancel-pop.png) !important;
    background-size: cover !important;
}
	
}

/* 650PX */
@media screen and (max-width:650px){
	
	.main-uslugi > a {
    width: inherit;
}
	
}

/* 600PX */
@media screen and (max-width:600px){
	
	.mobile-header {
	    height: 200px;
	    -ms-flex-wrap: wrap;
	        flex-wrap: wrap;
	}
	.mobile-header > div{
		width: 50%;
	}
	.mobile-header > .search-mobile{
		width: 100%;
	}
	.search-mobile-block {
   		width: 100%;
	}
	.burger-menu-block {
	    text-align: center;
	}
	.search-mobile input#s {
	    width: 100%;
	}
	.search-click{
		display: none;
	}
	.search-mobile-block{
		display: block;
	}
	.main-about-front {
   		-ms-flex-wrap: wrap;
   		    flex-wrap: wrap;
	}
	.main-about-front > div {
   		width: 100%;
		text-align: center;
	}
	.special-block {
	    width: 100%;
		    text-align: center;
	}
	
}


/* 400PX */
@media screen and (max-width:400px){
	
	.mobile-header > div {
   		width: initial;
	}
	.title-uslugi {
    	font-size: 18px;
	}
	.main {
    	padding: 0px 15px;
	}
	h2.title-block {
    font-size: 32px;
}
	h1.title-cat{
		font-size: 32px;
	}
	
	h2.title-cat{
		font-size: 28px;
	}
	
	.video {
    display: block;
    max-width: 570px;
    width: 49%;
    height: 270px;
    margin-bottom: 30px;
	    min-width: 260px;
}

.video iframe {
    width: 100% !important;
    height: 100% !important;
    min-width: 260px;
}
}

/*
playback timings (ms):
  captures_list: 104.176
  exclusion.robots: 0.082
  exclusion.robots.policy: 0.075
  RedisCDXSource: 14.147
  esindex: 0.009
  LoadShardBlock: 74.301 (3)
  PetaboxLoader3.datanode: 68.97 (5)
  CDXLines.iter: 13.252 (3)
  load_resource: 109.872 (2)
  PetaboxLoader3.resolve: 82.467 (2)
*/