:root{
	--blue: #003e77;
	--black: #090909;
	--gray: #383838;
}
*{
	box-sizing: border-box;
}
html{
	font-size: 17px;
    font-family: 'Roboto Condensed', sans-serif;
    line-height: 1.3;
}
body{
	margin: 0;
	padding: 0;
}
a{
	text-decoration: none;
	color: inherit;
}
form{
	margin: 0;
}
input, textarea{
	border: 1px solid var(--blue);
	padding: .5em;
	font-family: 'Roboto Condensed', sans-serif;
}
button, input[type="submit"] {
	padding: 1em 2em;
	border: 1px solid white;
	font-family: 'Roboto Condensed', sans-serif;
	text-transform: uppercase;
	background: transparent;
	color: white;
	cursor: pointer;
}
button:hover, input[type="submit"]:hover {
    border-radius: 5px;
    outline: black auto 1px;
    outline-offset: 0;
    
}
h1, h2, h3, h4, h5, h6{
	font-weight: bold;
	color: var(--blue);
	text-align: center;
	margin: 1.5em auto 1em;
	text-transform: uppercase;
}
h1{
	font-size: clamp(2.5rem, calc(2rem + 1vw), 3rem);
}
h2{
	font-size: clamp(2rem, calc(1.5rem + 1vw), 2.5rem);
}
h3{
	font-size: clamp(1.5rem, calc(1rem + 1vw), 2rem);
}
h4{
	font-size: 1.5rem;
}
h5{
	font-size: 1rem;
}
img{
	max-width: 100%;
	max-height: 100%;
	object-fit: cover;
}
table{
	border-collapse: collapse;
	width: 100%;
}
thead{
	background: var(--blue);
	color: white;
}
td{
	padding: 1rem;
	color: inherit;
	border: 1px solid var(--blue);
}
body .dashicons, body .dashicons-before:before{
	width: auto;
	height: auto;
}
.ulitochka .ulitochka-arrow{
	padding: 0;
}
.container{
	/*max-width: 1660px;*/
	max-width: calc(100vw - 260px);
	width: 100%;
	margin: 0 auto;
	/*padding: 0 130px;*/
}
.tail-border{
	outline: 1px solid #ececec;
    padding: 1rem;
}
.tail-border:hover{
	box-shadow: 0 10px 20px 0 rgb(0 0 0 / 10%);
}

.mail-link {
	text-transform: uppercase;
}

.highlight {
	color: var(--blue);
	font-weight: bold;
}


.spu-box {
	top: 50% !important;
	padding-bottom: 0 !important;
	transform: translateY(-50%);
}

.spu-box form h4 {
	margin: 0.5rem 0 1rem;
}

.spu-box form input[type="text"],
.spu-box form input[type="tel"],
.spu-box form input[type="email"],
.spu-box form textarea {
	width: 100%;
}

.spu-box form textarea {
	height: 100px;
}

.spu-box form input[type="submit"] {
	display: block;
	margin: 0 auto;
	background: var(--blue);
}

.spu-box form .ajax-loader {
	display: block;
	margin: 0 auto;
}

.form-required {
	color: red;
}

.spu-box form p:last-of-type {
	margin-bottom: 0;
	padding-bottom: 0;
}

.spu-box form .wpcf7-response-output {
	margin-top: 0;
	margin-bottom: 2rem;
	padding-top: 0;
}

@media (max-height: 500px) {
	.spu-box form h4 {
		margin: 0;
	}
	.spu-box form p {
		margin: 0.25rem 0;
	}
	.spu-box form textarea {
		height: 33px;
	}
}

@media (max-height: 400px) {
	.spu-box form h4 {
		display: none;
	}
}

@media (max-height: 350px) {
	.spu-box form p {
		display: inline-block;
		width: 48%;
	}

	.spu-box form.invalid .wpcf7-response-output {
		margin-top: 0;
		margin-bottom: 2rem;
		padding-top: 0;
	}
}



header{
	text-transform: uppercase;
}
#desctop-header .top{
	background: var(--blue);
	/*color:  var(--blue);*/
	color:  #fff;
}
#desctop-header .top, #desctop-header .bottom{
	padding: 1rem 0;
}
#desctop-header .bottom>.container {
    border-bottom: 2px solid var(--blue);
    padding-bottom: 1rem;
}
#desctop-header .top>.container, #desctop-header .bottom>.container{
	display: flex;
	justify-content: space-between;
	align-items: center;
	gap: 1rem;
}
#desctop-header .top>.container>*{
	/*margin: 0;*/
}
#desctop-header .bottom{
	background: white;
	color: var(--blue);
	transform: scale(1);
}
#desctop-header .bottom button{
	color: var(--blue);
	border: 2px solid var(--blue);
    text-transform: uppercase;
    font-weight: bold;
}
#desctop-header .menu{
	padding: 0;
	margin: 0;
	list-style: none;
	display: flex;
	gap: 2rem;
	text-transform: uppercase;
}
#desctop-header .menu>.menu-item{
	position: relative;
	    font-weight: bold;
    font-size: 1.2rem;
}
#desctop-header .sub-menu{
	margin: 0;
	padding: 0;
	list-style: none;
	position: absolute;
	top: 100%;
	width: max-content;
	background: white;
	display: none;
	border: 1px solid var(--blue);
}
#desctop-header .sub-menu>.menu-item{
	padding: .5rem 1rem;
}
#desctop-header .menu>.menu-item:hover .sub-menu{
	display: block;
}
#desctop-header .menu-item{
	font-size: 1rem;
}
#desctop-header .change-city{
	margin: 0;
	margin-right: auto;
}
#desctop-header .logo{
	width: 410px;
	display: block;
}
#desctop-header .logo svg{
	width: 100%;
	object-fit: contain;
}
#desctop-header .logo path{
	fill: var(--blue);
  stroke: var(--blue);
}

#desctop-header .logo #svg_1 path {
  stroke: none;
}

#desctop-header .header-menu-right {
    display: flex;
    align-items: center;
}

#desctop-header .header-menu-right ul {
    margin-right: 2rem;
}




.page-template-index #desctop-header .top {
    padding: 0;
    background-color: transparent;
    color: #fff;
}

.page-template-index #desctop-header .top .container {
    padding: 1rem 0;
    border-bottom: 2px solid  hsla(0, 0%, 100%, 0.5);
}



#mobile-header{
	display: none;
	justify-content: space-between;
	align-items: center;
	background: var(--blue);
	color: white;
	padding: 2rem;
}
#mobile-header .logo{
	width: 150px;
	grid-area: logo;
	height: 60px;
}
#mobile-header .logo svg{
	width: 100%;
	object-fit: contain;
}
#mobile-header .logo svg path{
	fill: white;
	stroke: none;
}
#mobile-header .change-city{
	grid-area: change;
}
#mobile-header .burger-menu{
	position: fixed;
	top: -100vh;
	left: 0;
	width: 100%;
	height: 100vh;
	background: white;
	transition: .3s;
	color: var(--blue);
	padding: 2rem;
	z-index: 10;
}
#mobile-header .burger-menu.active{
	top: 0;
}
#mobile-header .burger-menu .menu{
	list-style: none;
	padding: 0;
	margin: 0;
}
#mobile-header .burger-menu .close{
	font-size: 2rem;
	width: 50px;
	height: 50px;
	border: none;
	padding: 0;
	color: var(--blue);
	margin-left: auto;
	display: block;
}
#mobile-header .burger{
	border: none;
	padding: 0;
	font-size: 2rem;
	width: 50px;
	height: 50px;
	display: flex;
	align-items: center;
	justify-content: center;
	grid-area: burger;
}

footer{
	color: white;
	margin-top: 4vw;
}
footer .menu {
	grid-area: menu;
	margin: 0;
	padding: 0;
	list-style: none;
}
footer #menu-footer {
    text-transform: uppercase;
}
footer .top{
	background: var(--blue);
	padding: 2rem 0 0;
}
footer .top .container{
	display: flex;
	justify-content: space-between;
	flex-wrap: wrap;
	align-items: flex-start;
	gap: 2rem;
	border-bottom: 2px solid rgba(255,255,255, .5);
	padding-bottom: 2rem;
}
footer .bottom{
	background: var(--blue);
	padding: 1rem;
}
footer :-webkit-any(form, .menu){
	display: grid;
	grid-gap: 1rem;
}

footer .wpcf7 {
	grid-area: form;
}

footer form {
	display: block;
}

footer form p {
	max-width: 225px;
	margin: 0;
}

footer form input {
	width: 100%;
	max-width: 225px;
	border: 1px solid white;
	background: transparent;
	color: #fff;
}

footer form input[type="text"],
footer form input[type="tel"] {
	margin-bottom: 1rem;
}

footer form input::placeholder {
	color: #ccc
}

footer .title{
	font-size: 1.5rem;
	font-weight: bold;
	margin-top: 0;
	margin-bottom: 1rem;
}
footer form{
	display: block !important;
	position: relative;
}

footer .wpcf7-not-valid-tip {
	margin-top: -1rem;
	padding: 0.25rem 0;
	font-size: 0.825rem;
}

footer .wpcf7 form.invalid .wpcf7-response-output,
footer .wpcf7 form.unaccepted .wpcf7-response-output {
	display: none;
}

footer form .wpcf7-response-output {
	display: flex;
	justify-content: center;
	align-items: center;
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	margin: 0 !important;
	text-align: center;
	background-color: #eee;
	color: #000;
}

footer .contacts{
	display: grid;
	grid-gap: 1rem;
	grid-area: contacts;
}
footer .contacts>*{
	margin: 0;
}
footer .tel-btn{
	display: none;
	width: 50px;
	height: 50px;
	border-radius: 50%;
	background: white;
	align-items: center;
	justify-content: center;
	font-size: 2rem;
	color: var(--blue);
	grid-area: tel;
}
footer a{
	opacity: .5;
}
footer a:hover{
	opacity: 1;
}
@media (min-width: 1024px) and (max-width: 1400px) {
    .container {
        max-width: calc(100vw - 130px);
    }
    #desctop-header .logo {
        width: 350px;
    }
}
@media (max-width:1200px) {
	.container{
		padding: 0 1rem;
	}
}
@media (max-width: 1024px) {
    .container {
        max-width: 100%;
    }
	#mobile-header{
		display: flex;
	}
	#desctop-header{
		display: none;
	}
	footer .top .container{
		display: grid;
		grid-template-areas: 
			'menu contacts form'
			'tel tel tel';
		justify-items: center;
		grid-template-columns: 1fr 2fr 2fr;
	}

	footer #menu-footer {
		justify-self: start;
	}
	footer .wpcf7 {
		justify-self: end;
	}
	footer :-webkit-any(form, .footer-cat){
		display: none;
	}
	footer .tel-btn{
		display: grid;
	}
}

@media (max-width: 600px) {
	footer .top .container{
		grid-template-areas: 
			'menu'
			'contacts'
			'form'
			'tel';
		justify-items: center;
		grid-template-columns: 1fr;
	}

	footer #menu-footer {
		width: 225px;
		justify-self: unset;
	}

	footer .wpcf7 {
		justify-self: unset;
	}

	footer .contacts {
		max-width: 225px;
	}
}

@media(max-width: 480px){
	#mobile-header{
		display: grid;
		grid-template-areas: 'logo logo' 'change burger';
	}
	#mobile-header .logo{
		width: 100%;
	}
	#mobile-header .burger{
		justify-self: flex-end;
	}
}
/*оптикание изображения текстом*/ 
.aligncenter,
div.aligncenter {
display: block;
margin-left: auto;
margin-right: auto;
}
.alignleft {
float: left;
}
.alignright {
float: right;
}