/*   
Theme Name: SiteRussia
Theme URI: siterussia.ru
Description: Дизайн сайта разработанный компанией Site Russia
Author: Wolf
Author URI: siterussia.ru
Version: 1.0
*/

@font-face {
    font-family: 'Avenir Next';
	src: url('fonts/AvenirNextCyr-Regular.woff2') format('woff2'),
    url('fonts/AvenirNextCyr-Regular.woff') format('woff'),
    url('fonts/AvenirNextCyr-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
	font-display: block;
}

@font-face {
    font-family: 'Avenir Next';
	src: url('fonts/AvenirNextCyr-Medium.woff2') format('woff2'),
    url('fonts/AvenirNextCyr-Medium.woff') format('woff'),
    url('fonts/AvenirNextCyr-Medium.ttf') format('truetype');
    font-weight: 500;
    font-style: normal;
	font-display: block;
}

@font-face {
    font-family: 'Avenir Next';
    src: url('fonts/AvenirNextCyr-Demi.woff2') format('woff2'),
    url('fonts/AvenirNextCyr-Demi.woff') format('woff'),
    url('fonts/AvenirNextCyr-Demi.ttf') format('truetype');
    font-weight: 700;
    font-style: normal;
	font-display: block;
}


/* Все что меньше 921 + iPad вертикальный */
@media (max-width: 921px) {
	.block{padding: 40px 0px;}
	.page h1{padding: 30px 0px!important;}
	.grid{gap: 20px;}
	.col-m-2{grid-template-columns: repeat(2, 1fr);}
	.col-m-3{grid-template-columns: repeat(3, 1fr);}
	.o1{order: 1;}
	.o2{order: 2;}
	
	.ppage h1{font-size: 32px!important;text-align: center;padding-top: 10px;}
	
	#header .mobile{display: flex;justify-content: space-between;align-items: center;}
	
	
	#mmenu{background-color: #fff;}
	#mmenu .modal-content{width: 100%;border: none;}

	#mmenu .cont{padding-top: 10px;font-size: 18px;padding-bottom: 100px;display: grid;gap: 10px;}
	#mmenu .cont span{display: block;}
	#mmenu .cont .phone{display: block;font-weight: bold;font-size: 20px;}
	#mmenu .cont .time{color: gray;font-size: 15px;}
	#mmenu .cont .mail{color: var(--hovercolor);}
	#mmenu .cont .ad{font-size: 15px;}
	#mmenu .cont .button{margin-top: 20px;display: block;}
	
	#mmenu .nav{display: inline-block;width: 100%;padding-top: 10px;list-style: none;margin-bottom: 20px;}
	#mmenu .nav>ul{padding: 0px;}
	#mmenu .nav>li{border-bottom: 1px solid #F8F8F8;padding: 10px 0px;list-style: none;}
	#mmenu .nav>li>a{text-transform: uppercase;font-weight: 500;}
	
	#mmenu .nav .sub-menu{padding-top: 10px;}
	#mmenu .nav .sub-menu>li{padding: 10px 0px;list-style: none;}
	
	#mmenu .nav ul.hide {display: none!important;}
	#mmenu .nav .menu-item-has-children {position: relative;}
	#mmenu .nav span.menu-closed:after {content: "";width: 50px;max-height: 50px;position: absolute;right: 0;top: 6px;bottom: 6px;background-image: url('images/marrow.svg');background-size: 12px 7px;background-position: center;background-repeat: no-repeat;transform-origin: center;transform: rotate(-90deg);-webkit-transition: transform 0.4s cubic-bezier(0, 0.5, 0.5, 1), opacity 0.3s cubic-bezier(0, 0.5, 0.5, 1);transition: transform 0.4s cubic-bezier(0, 0.5, 0.5, 1), opacity 0.3s cubic-bezier(0, 0.5, 0.5, 1);}
	#mmenu .nav span.menu-closed:before {content: "";position: absolute;right: 50px;top: 6px;bottom: 6px;border-left: 1px solid #F8F8F8;}
	#mmenu .nav span.menu-closed.menu-open:after{transform: rotate(0deg);opacity: 0.3;}
	#mmenu .nav span.menu-closed.menu-open:before{opacity: 0;}
	
	#header .head, #menu{display: none !important;}
	#header img{max-width: 180px;}

	#banner .text{padding: 20px!important;}
	#slider h1{font-size: 32px;font-weight: 500;}
	#slider .button{width: 100%;}
	#prem .items{text-align: center;}

	
	#gallary .owl-nav{display: flex;}
	
	.block h2{text-align: center; font-size: 30px !important; font-weight: 500 !important;}
	.table td, .table th{padding: 5px !important;}

	


	#form, #form2{padding-bottom: 0px;}
	#form .form, #form2 .form{background-color: #222222;padding-top: 30px;padding-bottom: 30px;}
	#form .button{width: 100%;}
	#form .lic, #form2 .lic{margin: 10px 0px 0px 0px!important;}

	#footer{padding-top: 20px;padding-bottom: 20px;text-align: center;}
}

.col-faq{grid-template-columns: 3fr 0.3fr;}
@media (min-width: 992px) {
	h1{font-size: 45px;}
	h2{font-size: 40px;}
	.block{padding: 40px 0px;}
	.grid{gap: 30px;}
	.col-pc-2{grid-template-columns: repeat(2, 1fr);}
	.col-pc-3{grid-template-columns: repeat(3, 1fr);}
	.col-pc-4{grid-template-columns: repeat(4, 1fr);}
	.col-pc-5{grid-template-columns: repeat(5, 1fr);}
	.col-pc-6{grid-template-columns: repeat(6, 1fr);}
	.col-pc-7{grid-template-columns: repeat(7, 1fr);}
	.col-pc-2-05{grid-template-columns: 2fr 0.5fr;}
	.col-pc-1{grid-template-columns:1fr 2fr 1fr;}
	.col-pc-1-2{grid-template-columns: 1fr 2fr;}
	.col-pc-2-1{grid-template-columns: 2fr 1fr;}
	.page h1{padding-bottom: 20px;}
	
	.page header{margin-top: 30px!important;margin-bottom: 30px!important;}
	#header .mobile{display: none!important;}
	#header .nav a{font-size: 14px;}
	#menu a{font-size: 13px;}
	
	

	
	#form .big, #form2 .big{padding-bottom: 40px;}

	#form label, #form2 label{font-size: 10px;}
	#form .poly, #form2 .poly{display: flex;align-items: center;}
	
}

@media (min-width: 1200px) {
	.container{max-width: 1200px;}
	#header .nav a{font-size: 16px;}
	#menu a{font-size: 16px;}
	#form .lic{padding-top: 0px;}
	
}

html, body{
	font-family: Arial, Helvetica, sans-serif!important;
	font-size: 17px!important;
	font-weight: 500;
	margin: 0px;
	padding: 0px;
	color: black;
}

*, ::after, ::before {box-sizing: border-box;}

.container{width: 100%;padding-right: 15px;padding-left: 15px;margin-right: auto;margin-left: auto;}
@media (min-width: 576px){.container {max-width: 540px;}}
@media (min-width: 768px){.container {max-width: 720px;}}
@media (min-width: 992px){.container {max-width: 960px;}}
@media (min-width: 1200px){.container {max-width: 1200px;}}

html, body{
	font-family: 'Avenir Next', Arial, Helvetica, sans-serif!important;
	font-size: 17px!important;
	font-weight: 500;
	margin: 0px;
	padding: 0px;
	color: black;
}

body {margin: 0;line-height: 1.5;}
article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {display: block;}
a{color: white;text-decoration: none;-webkit-tap-highlight-color: rgba(0, 0, 0, 0);outline: none;}
img, svg{vertical-align: middle;}
label {display: inline-block;margin-bottom: .5rem;}
button, input, optgroup, select, textarea {margin: 0;font-family: inherit;font-size: inherit;line-height: inherit;-webkit-appearance: none;background-color: white;}
p {margin-top: 0;}
h1, h2, h3, h4, h5, h6 {margin-top: 0;font-weight: 500;line-height: 1.2;}
h1{font-size:50px;margin-bottom: 20px;}
h2{font-size:32px;margin-bottom: 15px;}
h3 {font-size: 28px;}
/* Дата для мобильного */
input[type="date"]:before {color: lightgrey;content: attr(placeholder) !important;margin-right: 0.5em;} 
input[type="date"]:focus:before {content: '' !important;}
.img-fluid {max-width: 100%;height: auto;}
.table {width: 100%;margin-bottom: 1rem;border-collapse: collapse;}
.table td, .table th {padding: .75rem;vertical-align: top;border-top: 1px solid #dee2e6;}
.table-responsive{display:block;width:100%;overflow-x:auto;-webkit-overflow-scrolling:touch}
.table-striped tbody tr:nth-of-type(odd){background-color:rgba(0,0,0,.05)}


/* Табы */
.nav {display: flex;flex-wrap: wrap;padding: 0;margin: 0;list-style: none;outline: none;}
.nav-link:focus, .nav-link:hover {text-decoration: none;}
.nav-link {display: block;}
.tab-content>.tab-pane {display: none;}
.tab-content>.active {display: block;}
.fade {transition: opacity .15s linear;}
.fade:not(.show) {opacity: 0;}
/* Гармошка */
.collapse:not(.show) {display: none;}
.collapsing {position: relative;height: 0;overflow: hidden;transition: height .35s ease;}


.modal {position: fixed;top: 0;left: 0;z-index: 1050;display: none;width: 100%;height: 100%;overflow: hidden;outline: 0;background-color: #00000060;}
.modal-scrollbar-measure{position:absolute;top:-9999px;width:50px;height:50px;overflow:scroll} /*Нужно что бы не прыгало */
@media (max-width: 921px) {.modal .modal-dialog{width: 100%;padding: 60px 20px 0px 20px;}}
@media (min-width: 992px) {.modal .modal-dialog{max-width: 500px;padding: 40px;}}
.modal-open {overflow: hidden;}
.modal-open .modal {overflow-x: hidden;overflow-y: auto;}
#za .modal-dialog{display: flex;align-items: center;}
.modal .modal-dialog{background-color: white;color: black;position: absolute;right: 0;height: 100%;margin: 0;}
.modal .close{cursor: pointer;position: absolute;top: 20px;right: 20px; border: none;}
.modal .grid{gap: 20px;}
.modal .title{font-size: 45px;line-height: 55px;font-weight: bold;}
.modal .text{color: #545560;font-size: 20px;line-height: 35px;}
.modal .wpcf7-text, .modal .wpcf7-mask{border: none;border-bottom: 1px solid #54556020;margin-bottom: 30px;padding: 10px 0px;width: 100%;}


/* Основное */

button:active, button:focus {outline: none;} /* Убираем обводку у кнопок */
button::-moz-focus-inner {border: 0;}
.aligncenter{display: block;margin: 5px auto 5px auto;}
.alignright{float:right;padding-left: 10px;padding-bottom: 10px;}
.box {overflow:hidden;}
.box img {-moz-transition: all 0.25s ease-out;-o-transition: all 0.25s ease-out;-webkit-transition: all 0.25s ease-out;transition: all 0.25s ease-out;}
.box img:hover{-webkit-transform: scale(1.1);-moz-transform: scale(1.1);-o-transform: scale(1.1);transform: scale(1.1);}
.ppage{min-height: 500px;padding-top: 20px;padding-bottom: 20px;}
.grid{display: grid;}
.ac{align-items: center;}


h1{margin-bottom: 0px!important;margin-top: 0px!important;font-weight: 400;}
h2{margin-bottom: 0px!important;margin-top: 0px!important;padding-top: 20px!important;padding-bottom: 30px!important;font-weight: 400;}
h3{font-size: 26px;}
.aligncenter{display: block;margin: 5px auto 5px auto;}
.alignright{float: right;margin-left: 10px;margin-bottom: 10px;}
.page{min-height: 500px;padding-bottom: 20px;}
button:active, button:focus, input:focus {outline: none;}
button::-moz-focus-inner, input::-moz-focus-inner {border: 0;}

.button{display: inline-block;background-color: #EB303B;color: white;font-weight: 500;border: none;padding: 15px 40px;text-align: center;}
.button:hover{background-color: black;color: white!important;text-decoration: none;}

.cbutton{display: inline-block;cursor: pointer;text-align: center;background: black;color: white;border: none;padding: 15px 40px;border-radius: 25px;}
.cbutton:hover{background-color: gray;color: white!important;}

a{color: black;-webkit-transition: all 0.25s ease-out;transition: all 0.25s ease-out;text-decoration: none!important;}
#header .city:hover, #header .phones a:hover{color: #EB303B!important;}


.ppage h1{margin-bottom: 20px!important;}





.h-100{height:100%;}
.p404{text-align: center;padding: 50px 0px;}
.grid{display: grid;}
.ac{align-items: center;}
.phone{display: block;white-space: nowrap;}
.time{font-size: 15px;color: gray;}

.breadcrumbs{font-size: 14px;}
.breadcrumbs a{color: gray;}
.gallary{gap: 10px;}

.citylist a:hover{color: var(--hover-color);}
.citylist ul{gap: 0px 20px;}

.box {overflow:hidden;}
.box img {-moz-transition: all 0.25s ease-out;-o-transition: all 0.25s ease-out;-webkit-transition: all 0.25s ease-out;transition: all 0.25s ease-out;}
.box img:hover{-webkit-transform: scale(1.05);-moz-transform: scale(1.05);-o-transform: scale(1.05);transform: scale(1.05);}
div.wpcf7 .ajax-loader{display: none!important;}

.owl-controls{display: flex;margin-top: 20px;}
.owl-controls svg path{opacity: 0.5;}
.owl-controls svg:hover path{opacity: 1;}
.owl-controls .owl-next, .owl-controls .owl-dots{margin-left: 20px;}
.owl-dot span {width: 15px;height: 15px;margin: 0px 5px;background: #D6D6D6;display: block;-webkit-backface-visibility: visible;border-radius: 30px;}
.owl-dot.active span, .owl-dots .owl-dot:hover span {background: #EB303B;}

.btn-back-top {opacity: 0;background: #EB303B;border-radius: 2px;cursor: pointer;display: block!important;width: 45px;height: 45px;position: fixed;right: 15px;bottom: 15px;transition: .5s;z-index: 1030;}
.btn-back-top:hover{opacity: 1!important;}
.btn-back-top:before {border-radius: 4px;border-color: #fff;border-style: solid;border-width: 5px 0 0 5px;content: "";width: 17px;height: 17px;position: absolute;top: 17px;left: 15px;transform: rotate(45deg);}

/* Кнопка вотсап */
.whatsapp-button{position: fixed;right: 70px;bottom: 70px;background: #25D366;border-radius: 50%;width: 65px;height: 65px;z-index: 9999;display: flex;align-items: center;justify-content: center;box-shadow: 0px 0px 11px rgb(37 211 102);}
.whatsapp-button:before,
.whatsapp-button:after {content: " ";display: block;position: absolute;border: 50%;border: 1px solid #25D366;left: -20px;right: -20px;top: -20px;bottom: -20px;border-radius: 50%;animation: animate 1.5s linear infinite;opacity: 0;backface-visibility: hidden; }
.whatsapp-button:after{animation-delay: .5s;}
@keyframes animate{0%{transform: scale(0.5);opacity: 0;}50%{opacity: 1;}100%{transform: scale(1.2);opacity: 0;}}
@media (max-width: 921px) {.whatsapp-button {bottom: 10px!important;left: 10px;}}




.block h2 a{color: black;}
.block h2 .more{font-size: 16px;}
.text-center{text-align: center;}
.flex{display: flex; align-items: center; gap: 20px;}

.owl-controls{display: flex;margin-top: 20px;}
.owl-controls svg path{opacity: 0.5;}
.owl-controls svg:hover path{opacity: 1;}
.owl-controls .owl-next, .owl-controls .owl-dots{margin-left: 20px;}
.owl-dot span {width: 10px;height: 10px;margin: 0px 5px;background: #D6D6D6;display: block;-webkit-backface-visibility: visible;border-radius: 30px;}
.owl-dot.active span, .owl-dots .owl-dot:hover span {background: #EB303B;}

.btn-back-top {opacity: 0;background: #EB303B;border-radius: 2px;cursor: pointer;display: block!important;width: 45px;height: 45px;position: fixed;right: 15px;bottom: 15px;transition: .5s;z-index: 1030;}
.btn-back-top:hover{opacity: 1!important;}
.btn-back-top:before {border-radius: 4px;border-color: #fff;border-style: solid;border-width: 5px 0 0 5px;content: "";width: 17px;height: 17px;position: absolute;top: 17px;left: 15px;transform: rotate(45deg);}

/* Кнопка вотсап */
.whatsapp-button{position: fixed;right: 70px;bottom: 70px;background: #25D366;border-radius: 50%;width: 65px;height: 65px;z-index: 9999;display: flex;align-items: center;justify-content: center;box-shadow: 0px 0px 11px rgb(37 211 102);}
.whatsapp-button:before,
.whatsapp-button:after {content: " ";display: block;position: absolute;border: 50%;border: 1px solid #25D366;left: -20px;right: -20px;top: -20px;bottom: -20px;border-radius: 50%;animation: animate 1.5s linear infinite;opacity: 0;backface-visibility: hidden; }
.whatsapp-button:after{animation-delay: .5s;}
@keyframes animate{0%{transform: scale(0.5);opacity: 0;}50%{opacity: 1;}100%{transform: scale(1.2);opacity: 0;}}
@media (max-width: 921px) {.whatsapp-button {bottom: 10px!important;left: 10px;}}



.block h2 a{color: black;}
.block h2 .more{font-size: 16px;}

.flex{display: flex; align-items: center; gap: 20px}




#header .container .top{ display: grid; grid-template-columns: repeat(3, auto);align-items: center;justify-content: space-between; }
#header ul li a { padding: 15px; font-size: 18px !important; display: inline-block;}
#header .phone {font-size: 22px; font-weight: 600;}
#header ul li a:hover{color: #EB303B;}
#header .phone{font-size: 30px; font-weight: 700;}
#header .link_phone, #header .link_mail{width: 50px !important;}
#menu {background-color: #EEEEEE;}
#menu {margin-top: 10px;}
#menu  .sub-menu .menu-item-has-children:after {content: url(images/arr.svg);margin-left: -4px;top:0;position: relative;display: inline-block;transform: rotate(269deg);}
#menu  .menu-item-has-children:after {content: url(images/arr.svg);margin-left: -4px;position: relative;top: -2px;}
#menu  .menu-item-has-children:hover > .sub-menu {display: block; z-index: 3; position: absolute;background-color: white;list-style: none;padding: 0; color: #e40613 !important;}
#menu  .sub-menu {display: none;z-index: 1;}
#menu  .sub-menu li {white-space: nowrap;}
#menu  .sub-menu li:hover > .sub-menu {display: block; z-index: 3; position: absolute;left: 100%; top:0;background-color: whitesmoke;list-style: none;padding: 0;}
#menu  .sub-menu li{padding: 5px 20px;}
#menu  .sub-menu li a{color: black !important;}
#menu  .sub-menu li a:hover{color:#f3960b !important ;}
#menu  .sub-menu .current-menu-item a{color: #f3960b !important;}

#slider {background-color: #2A2A2A;}
#slider h1{font-weight:  700 !important; color: white !important; margin-bottom: 10px !important;}
#slider ul li{color: white; font-size: 18px; margin-bottom: 10px;}
#slider .text{background-color: #EB303B; padding: 15px; color: white !important;}
#slider ul li::marker{color: #EB303B;}
#slider .btn{padding: 15px 40px; display: inline-block; text-align: center; color: white;}
#slider .flex{gap: 10px; flex-wrap: wrap;}
#slider .btn1{background-color: white !important; color: black !important;}
#slider .btn2{background-color: #EB303B;}
#slider .btn:hover{background-color: black !important; color: white !important;}
#slider .grid {align-items: center;}
#slider .textt{color: white !important; opacity: 0.6;}
#slider .col-pc-4{margin-top: 30px; text-align: center;}
#slider .col-pc-4 img{margin-bottom: 15px;}
#slider .col-pc-4 .title{color: white; font-size: 18px; text-align: center;}

#usl h2{font-weight: 600 !important; margin-bottom: 15px !important; padding-bottom: 0 !important;}
#usl .link{text-align: center; padding: 30px 15px;transition: 0.5s; display: grid; align-items: center; justify-content: center; background-color: #2A2A2A; color: white !important;}
#usl .link:hover{background-color:#EB303B ;}
#usl .red:hover{background-color:#2A2A2A  ;}
#usl .red{background-color: #EB303B !important; }
#usl img{margin-bottom: 20px !important; margin-top: 20px !important;}
#usl .title{font-size: 20px; color: white; font-weight: 600 !important;}
#usl .col-pc-2-1{ margin-bottom: 30px;}
#usl .item{background-color:#2A2A2A ; transition: 0.5s;}
#usl .item:hover{background-color: #EB303B;}

#form {background-color: #2A2A2A ; color: white !important;}
#form h2{text-align: center; font-weight: 600; color: white;}
#form input{padding: 15px; border: none; outline: none; display: block; width: 100%;}
#form .text{text-align: center;}

#onas h2{font-weight: 700;}
#onas h3{font-weight: 700;}
#onas{font-size: 18px;}
#onas .number{font-size: 50px; color: #EB303B; font-family: 700; text-align: center;}
#onas .text{text-align: center;}
#onas .item{text-align: center; padding: 15px; background-color:#EB303B ; display: flex; align-items: center; justify-content: center; color: white; font-weight: 700;}
#onas .col-pc-2-1{align-items: center;}

#about{background: url(images/about.jpg) no-repeat center center; padding: 60px 0;}
#about .text{ margin-bottom: 20px; text-align: center; padding: 20px;background-color:#EB303B ; color: white;}
#about h2{font-weight: 700; color:  white;}

#content .item{text-align: center; padding: 30px 15px; display: grid;align-items: center; justify-content: center; background-color: #2A2A2A; color: white !important;}
#content .items{text-align: center; padding: 30px 15px;grid-row: span 2; display: grid;align-items: center; justify-content: center; background-color: #EB303B; color: white !important;}
#content .item,#content .items {align-content: center;}
#content img{margin-bottom: 20px;}
#content .title{font-size: 20px; font-weight: 600;}

#etap .number{display: flex; align-items: center; justify-content: center; width: 50px; height: 50px; margin-bottom: 10px; font-size: 20px; background-color:#EB303B; color: white !important; border-radius: 50px; }
#etap h2{font-weight: 700;}

#form.form3 h2{text-align: left !important;}

#text {background-color: whitesmoke; font-size: 20px;}
#text .container{padding: 20px; background-color: white;}
#text h2{font-weight: 700;}
#text li{margin-bottom: 10px;}

#map{background-color: whitesmoke;}
#map h2{text-align: left;}
#map p{	font-size: 15px; margin-bottom: 7px; opacity: 0.8;}
#map a{color: #EB303B; margin-bottom: 7px;}
#map .grid{align-items: center;}


#footer .bot {margin-top: 20px;}
#footer{background-color: whitesmoke;}
#footer .widget-title{font-weight: 700; font-size: 22px;}
#footer a{color: black;}
#footer a:hover{color: #EB303B; opacity: 1;}
#footer .widget-title{font-size: 20px;margin-bottom: 15px; color: #EB303B;}
#footer ul{padding: 0px;list-style: none;}
#footer ul li{padding: 5px 0px; opacity: 0.7;}
#footer .phonee, #footer .maill{font-size: 22px;font-weight: 500; color: #EB303B; margin-bottom: 10px;}
#footer .ad{margin: 10px 0px;}

#contpage{margin-bottom: 20px;}
#contpage .info{padding: 20px;background: whitesmoke;}
#contpage p{margin: 0px;}
#contpage .item{font-size: 20px;padding-top: 15px;padding-bottom: 15px;}
#contpage .item .title{color: #6C6C6C;font-size: 15px;}
#contpage .item .phone{font-size: 25px;font-weight: bold;}
#contpage .item a{color: black;}
#contpage .item .mail{color: var(--hovercolor);}
