.header{
	color: #fff;
	padding: 13px 0;
	position: fixed;
	left: 0;
	top: 0;
	width: 100%;
	z-index: 999;
	transition: all ease .5s;
}

.page-template-page-content-nobaner-php .header {background: #333b44;}


.header.white{padding:17px 0;background-color:rgb(202, 212, 224, 1);color:#111;height:100px}

.header.white .header-socs a{
	color: #111;
	border-color: #111;
}

.header.white .header-socs a:hover {border-width:19px; color:#fff;}

.header.white .header-btn{
	border-color: #111;
}

.header.white .header-burger-line{
	background-color: #111;
}

.header-menu{
	position: fixed;
	z-index: 10000;
	right: -450px;
	top: 0;
	background: url('../img/menu-bg.png'), linear-gradient(180deg, #cad4e0 15%, rgb(202, 212, 224,.82));
	background-repeat: no-repeat;
	background-size: inherit;
	background-attachment: scroll;
	background-position: 100% 100%;
	height: 100%;
	width: 450px;
	padding: 24px 40px;
	transition: .5s;
	overflow: auto;
}

.header-menu.active{
	right: 0;
}

.offcanvas-init.offcanvas-active .header-menu{
	right: 0;
}

.header-l{
	display: flex;
	align-items: center;
}

.header-c{
	display: flex;
	align-items: center;
	gap:15px;
}

.header-logo img{
	height: 60px;
}

.header.white .header-more-phones {
    top: -4px; display:none;
    position: relative;
}
    
.header.white .header-logo img {height: 40px;}
.header.white .header-logo-text span {
    display: none;
}
.header.white .header-btn {
    height: 35px;
    font-size: 0.9rem;
}
.header.white .header-btn:hover {border:2px solid #1a7fbe;}
.header-logo-text{font-weight:600;font-size:14px;line-height:1.7;margin-left:20px;max-width:280px}
.header-logo-text a{color: inherit;text-decoration: underline}

.header-socs{
	display: flex;
	margin-left: 20px;
}

.footer .header-socs {

    margin-left: 0;
}

.header-socs a{
	display: flex;
	align-items: center;
	justify-content: center;
	width: 38px;
	height: 38px;
	border-radius: 50%;
	margin-right: 15px;
   border: 1px solid #fff;
	color: #fff;
	transition: .2s;
}
.header-socs a:hover {border-width:19px;color:#222;}

.header-socs a:last-child{
	margin-right: 0;
}

.header-btn{
	font-size: 16px;
	font-weight: 500;
	line-height: calc(22 / 16);
	height: 45px;
   padding: 5px 20px;
	border: 2px solid #fff;
   margin-right: 30px;
	display: flex;
	align-items: center;
	margin-left: 50px;
	cursor: pointer;transition: background-color 200ms;
}

.header-btn:hover{
	background-color: #1a7fbe;
	color: #fff;	border: 2px solid #1a7fbe;
}

.header-r{
	display: flex;
	align-items: center;
}

.header-burger{
	width: 25px;
	height: 15px;
	cursor: pointer;
}

.header-burger-line{
	width: 100%;
	height: 2px;
	background-color: #fff;
	transition: .5s;
}

.header-burger-line:nth-child(2){
	margin: 5px 0;
}

.header-phone{
	font-size: 20px;
	line-height: calc(24 / 20);
	font-weight: 500;
}
.header-phone span.decr_phone {display:block;font-size:12px;margin-bottom:4px;}
.header-phone .ct_phone a {color:#fff!important;}

.white .header-phone .ct_phone a {
    color: #222!important;
}


.header>.container {max-width: 1600px!important;}


.header-more-phones{position: relative; top:-5px;
	font-size: 14px;
	line-height: calc(17 / 14);
	font-weight: 200;
	border-bottom: 1px dashed;
	display: inline;
	cursor: pointer;
	user-select: none;
}

.header-contacts-top-l{
	text-align: right;
}

.header-contacts-top{
	display: flex;
	align-items: center;
}

.header-contacts-top-r{
	font-size: 20px;
	margin-left: 10px;display:none;
}

.header-inner{
	display: flex;
	align-items: center;
	justify-content: space-between;
	background-color: rgba(255, 255, 255, 0.32);
    padding: 10px;
}

.header.white .header-inner{background:none;padding:0}

.header-contacts{
	position: relative;
	padding-right: 30px;
}

.header-contacts-bottom{
	position: absolute;
	top: 99%;
	right: 0;
   padding: 15px;
   width: 270px;
	background-color: #fff;
	border-radius: 4px;
	border: 1px solid rgba(0,0,0,.15);
	color: #111;
	display: none;
	z-index: 1000;
}

.header-contacts-bottom.active{
	display: block;
	background-color: #fff;
	color: #111;
}

.header-contacts-bottom-item{
	margin-bottom: 15px;
   padding-bottom: 15px;
   border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.header-contacts-bottom-item:last-child{
	margin-bottom: 0;
	padding-bottom: 0;
	border-bottom: none;
}

.header-contacts-bottom-item-smalltext{
	font-size: 14px;line-height:1.2;
	font-weight: 400;
	margin-bottom: 10px;
}
.header .header-contacts-bottom-item-smalltext{}
.header-contacts-bottom-item-phone, .header-contacts-bottom-item-email{
	font-size: 20px;
	line-height: calc(24 / 20);
	font-weight: 500;width:120px;
	display: block;
	color: inherit;white-space: nowrap;
}

.header-contacts-bottom:before {
	display: inline-block;
	position: absolute;
	width: 0;
	height: 0;
	vertical-align: middle;
	content: "";
	top: -5px;
	left: auto;
	right: 10px;
	color: #fff;
	border-bottom: 6px solid;
	border-right: 6px solid transparent;
	border-left: 6px solid transparent;
}

.header-menu-item a{
	font-size: 20px;
	line-height: calc(32 / 28);
	color: #252525;
	padding: 10px 0px;
	font-weight: 400;
	display: block;
	display: flex;
	justify-content: space-between;
	align-items: center;
	cursor: pointer;
	transition: .5s;
	user-select: none;
	text-transform:uppercase
}

.header-menu-item a:hover{
	color: #da4544;
}

.header-menu-item-sub a{
	font-size: 15px;
	line-height: 20px;
	font-weight: 400;
	color: rgba(37, 37, 37, 0.8);
	padding: 5px 0;
}

.header-menu-top{
	display: flex;
	justify-content: space-between;
	margin-bottom: 20px;
	align-items:center;
}

.header-menu-logo{
	height: 50px;
}

.header-menu-close{
	width: 25px;
	height: 25px;
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 24px;
	color: #111;
	cursor: pointer;
}

.header-menu-item a i{
	font-size: 20px;
	color: rgba(37, 37, 37, 0.5);
	transition: .5s;
}
.header-menu-item-sub {padding-left:10px;}
.header-menu-item a i.rotated{
	transform: rotate(90deg);
}

@media (max-width: 991px) {
	.header-logo-text{
		display: none;
	}
	.header-btn {
		display: none;
	}
	.header-socs {
    margin-right: 30px;
}
}

@media (max-width: 767px) {
    .header.white {
    padding: 5px;
}
	.header-contacts{
		display: none;
	}
	.header-socs{
	/*	display: none;*/
	}
	.header-socs a {
    width: 30px;
    height: 30px;}
	.header-btn{
		display: none;
	}
	.header-menu{
		width: 100%;
		right: -100%;
	}
	
	.header-menu {
    background: #cad4e0;
    padding: 24px 20px;

}

.header-logo img {
    height: 50px;
}
	
}

.fancybox__content {

    padding: 0;}
    
    
@media (max-width:1299px){
    
.header-btn {
    display: none;}    

.header-socs {margin-right:30px;}
}
.admin-bar .header {
  
    padding: 45px 0;}
    
.admin-bar .header.white {
    padding: 45px 0;height: 150px;
} 

.admin-bar .header-menu {padding-top:56px;}

.fixed-contacts {
    position: fixed;
    display: flex;
    justify-content: space-between;
    align-items: center;
    right: 17px;
    bottom: 20px;
    left: 17px;
    pointer-events: none;
    transition: all .3s ease;
    z-index: 201;
}
.fixed-contact {
    width: 56px;
    height: 56px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    background-color: rgba(0, 0, 0, 0.52);
    pointer-events: all;
    border-radius: 50%;
}
.fixed-contact .icon {
    width: auto;
    height: auto;
}
@media (min-width: 992px){
.fixed-contacts {display:none}
.menu-horizontal{display:none}	
}
.agree {display:none}
#menu-glavnoe-menju {padding:0;}
.sp-pre-loader{background:#FFFFFF;height:100%;left:0;position:fixed;top:0;width:100%;z-index:99999}.sp-pre-loader .sp-loader-clock{border:3px solid #0345BF;border-radius:60px;bottom:0;height:80px;left:0;margin:auto;position:absolute;right:0;top:0;width:80px}.sp-pre-loader .sp-loader-clock:after{content:'';position:absolute;background-color:#0345BF;top:2px;left:48%;height:38px;width:4px;border-radius:5px;-webkit-transform-origin:50% 97%;transform-origin:50% 97%;-webkit-animation:grdAiguille 2s linear infinite;animation:grdAiguille 2s linear infinite}.sp-pre-loader .sp-loader-clock:before{content:'';position:absolute;background-color:#0345BF;top:6px;left:48%;height:35px;width:4px;border-radius:5px;-webkit-transform-origin:50% 94%;transform-origin:50% 94%;-webkit-animation:ptAiguille 12s linear infinite;animation:ptAiguille 12s linear infinite}.sp-pre-loader .sp-loader-circle{position:absolute;height:80px;width:80px;border-radius:80px;border:3px solid fade(#0345BF, 70%);left:0;top:0;right:0;bottom:0;margin:auto;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:loader1 3s linear infinite;animation:loader1 3s linear infinite}.sp-pre-loader .sp-loader-circle:after{content:'';position:absolute;top:-5px;left:20px;width:11px;height:11px;border-radius:10px;background-color:#0345BF}.sp-pre-loader .sp-loader-bubble-loop{position:absolute;width:12px;height:12px;left:0;top:0;right:0;bottom:0;margin:auto;border-radius:12px;background-color:#0345BF;-webkit-transform-origin:50% 50%;transform-origin:50% 50%;-webkit-animation:loader6 1s ease-in-out infinite;animation:loader6 1s ease-in-out infinite}.sp-pre-loader .sp-loader-bubble-loop:before{content:'';position:absolute;background-color:rgba(3, 69, 191, 0.5);top:0px;left:-25px;height:12px;width:12px;border-radius:12px}.sp-pre-loader .sp-loader-bubble-loop:after{content:'';position:absolute;background-color:rgba(3, 69, 191, 0.5);top:0px;left:25px;height:12px;width:12px;border-radius:12px}.sp-pre-loader .circle-two{bottom:0;height:100px;left:0;margin:auto;position:absolute;right:0;top:0;width:100px}.sp-pre-loader .circle-two>span,.sp-pre-loader .circle-two>span:before,.sp-pre-loader .circle-two>span:after{content:'';display:block;border-radius:50%;border:2px solid #0345BF;position:absolute;top:50%;left:50%;-webkit-transform:translate(-50%, -50%);-moz-transform:translate(-50%, -50%);-ms-transform:translate(-50%, -50%);-o-transform:translate(-50%, -50%);transform:translate(-50%, -50%)}.sp-pre-loader .circle-two>span{width:100%;height:100%;top:0;left:0;border-left-color:transparent;-webkit-animation:effect-2 2s infinite linear;-moz-animation:effect-2 2s infinite linear;-ms-animation:effect-2 2s infinite linear;-o-animation:effect-2 2s infinite linear;animation:effect-2 2s infinite linear}.sp-pre-loader .circle-two>span:before{width:75%;height:75%;border-right-color:transparent}.sp-pre-loader .circle-two>span:after{width:50%;height:50%;border-bottom-color:transparent}.sp-pre-loader .wave-two-wrap{position:absolute;margin:auto;left:0;right:0;top:50%;width:90px}.sp-pre-loader .wave-two{margin:0;list-style:none;width:90px;position:relative;padding:0;height:10px}.sp-pre-loader .wave-two li{position:absolute;width:2px;height:0;background-color:#0345BF;bottom:0}.sp-pre-loader .wave-two li:nth-child(1){left:0;-webkit-animation:sequence1 1s ease infinite 0;animation:sequence1 1s ease infinite 0}.sp-pre-loader .wave-two li:nth-child(2){left:15px;-webkit-animation:sequence2 1s ease infinite 0.1s;animation:sequence2 1s ease infinite 0.1s}.sp-pre-loader .wave-two li:nth-child(3){left:30px;-webkit-animation:sequence1 1s ease-in-out infinite 0.2s;animation:sequence1 1s ease-in-out infinite 0.2s}.sp-pre-loader .wave-two li:nth-child(4){left:45px;-webkit-animation:sequence2 1s ease-in infinite 0.3s;animation:sequence2 1s ease-in infinite 0.3s}.sp-pre-loader .wave-two li:nth-child(5){left:60px;-webkit-animation:sequence1 1s ease-in-out infinite 0.4s;animation:sequence1 1s ease-in-out infinite 0.4s}.sp-pre-loader .wave-two li:nth-child(6){left:75px;-webkit-animation:sequence2 1s ease infinite 0.5s;animation:sequence2 1s ease infinite 0.5s}.sp-pre-loader .sp-loader-audio-wave{width:3em;height:2em;background:linear-gradient(#0345BF, #0345BF) 0 50%, linear-gradient(#0345BF, #0345BF) 0.625em 50%, linear-gradient(#0345BF, #0345BF) 1.25em 50%, linear-gradient(#0345BF, #0345BF) 1.875em 50%, linear-gradient(#0345BF, #0345BF) 2.5em 50%;background-repeat:no-repeat;background-size:0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em, 0.5em 0.25em;animation:audioWave 1.5s linear infinite;position:absolute;left:0;top:0;bottom:0;right:0;margin:auto}.sp-pre-loader .sp-loader-with-logo{top:0;left:0;width:100%;height:100%;right:0;bottom:0;margin:auto;text-align:center;position:absolute;display:flex;justify-content:center;align-items:center}.sp-pre-loader .sp-loader-with-logo .logo{display:inline-block;width:auto}.sp-pre-loader .sp-loader-with-logo .line{background:#0345BF;height:5px;left:0;position:absolute;top:0}
/* Горизонтальное меню */
.menu-horizontal {
    display: flex;           /* Расположить пункты в ряд */
	justify-content: center;
    list-style: none;        /* Убираем маркеры */
    padding: 0;
    margin: 20px 0 0 0;
    gap: 5px;               /* Расстояние между пунктами */
}
.header.white .menu-horizontal {margin:5px 0 0}

/* Позиционируем LI, чтобы подменю привязывалось к пункту */
.menu-horizontal > .header-menu-item {
    position: relative;
}

/* Стили для ссылок */
.menu-horizontal > .header-menu-item > a {
    display: block;
    padding: 10px 15px;
    text-decoration: none;
    color: #fff;
    font-weight: 400;
    transition: 0.3s;
    font-size: 18px;
    text-transform: uppercase}
.header.white .menu-horizontal > .header-menu-item > a {color:#111;font-size:16px}

/* Ховер на ссылку */
.menu-horizontal > .header-menu-item > a:hover {
    color: #da4544;
}

/* Стрелка в пункте меню */
.menu-horizontal > .header-menu-item > a i {
    font-size: 16px;
    color: #fff;
    transition: 0.5s}
.header.white .menu-horizontal > .header-menu-item > a i {color:#111}

/* Подменю */
.menu-horizontal .header-menu-item-sub {
    display: none !important;
    position: absolute;
    top: 100%;              /* сразу под пунктом меню */
    left: 0;
    background: #fff;
    list-style: none;
    padding: 10px 0;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    min-width: 250px;
    z-index: 1000;
}

/* Показываем подменю при наведении */
.menu-horizontal .header-menu-item:hover > .header-menu-item-sub {
    display: block !important;;
}

/* Стили ссылок в подменю */
.menu-horizontal .header-menu-item-sub .header-menu-item > a {
    padding: 8px 15px;
    color: #333;
    display: block;
	text-transform: uppercase;
	line-height: 20px
		
}

/* Ховер подменю */
.menu-horizontal .header-menu-item-sub .header-menu-item > a:hover {
    background: #f0f0f0;
}

/* Опционально: стрелка поворачивается при открытии подменю */
.menu-horizontal .header-menu-item:hover > a i {
    transform: rotate(90deg);
}

@media (max-width: 992px){
.menu-horizontal{display:none}	
.header.white{height:50px}
}
