@font-face {
    font-family: 'fontello';
    src: url('fonts/fontello.woff2?32349660') format('woff2');
    font-display: swap;
}

[class^="icon-"]:before,
[class*=" icon-"]:before {
    font-family: "fontello";
    font-style: normal;
    font-weight: normal;
    display: inline-block;
}

.icon-arrow:before { content: '\e800' }
.icon-phone:before { content: '\e801' }
.icon-down:before { content: '\e802' }
.icon-location:before { content: '\e803' }
.icon-clock:before { content: '\e804' }
.icon-facebook:before { content: '\f09a' }
.icon-mail:before { content: '\f0e0' }

:root {
    --blue: #2B7CAB;
    --blue-hover: #216993;
    --darkblue: #13263b;
    --darkblue-text: #93a5b8;
    --body-text: #333;
    --body-font-family: "Roboto", sans-serif;
    --grey: #5e5e5e;
    --lightgrey: #f4f4f4;
    --lightgrey-hover: #ddd;
    --border-radius: 3px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

body {
    font-family: var(--body-font-family);
    color: var(--body-text);
}

a {
    color: var(--blue);
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 1.5rem;
    color: var(--blue);
    margin: 0 0 1.875rem 0;
    line-height: 1.3
}
h2 {
    font-size: 1.25rem;
    color: var(--blue);
    margin: 1.5rem 0 1rem 0;
    line-height: 1.3
}
h3 {
    font-size: 1.125rem;
    margin: 1.875rem 0 1rem 0
}

p {
    margin: 0 0 1rem 0;
    line-height: 1.6;
}

ul, ol {
    margin: 0 0 1rem 1.875rem
}
li {
    line-height: 1.6;
}
ul ul,
ul ol,
ol ul,
ol ol {
    margin-top: 1rem;
}

.mt-0 {
    margin-top: 0;
}

.mb-0 {
    margin-bottom: 0;
}

.text-right {
    text-align: right;
}

.text-center {
    text-align: center;
}

.alignleft {
    float: left;
    margin: 5px 1rem 5px 0;
}

.alignright {
    float: right;
    margin: 5px 0 5px 1rem;
}

.aligncenter {
    display: block;
    margin: 5px auto;
}

.alignnone {
    margin: 5px 0;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
    margin: 1.25rem 0
}

table td {
    padding: 10px;
    border: 1px solid var(--lightgrey-hover);
    vertical-align: top
}

table td img {
    min-width: 100px
}

.wrapper {
    max-width: 1000px;
    margin: 0 auto;
    padding-left: 1rem;
    padding-right: 1rem;
}

main {
    padding-top: 3rem;
    padding-bottom: 3rem
}





header {
    background: linear-gradient(white, var(--lightgrey-hover));
    padding: 1.5rem 0;
}
header .wrapper {
    display: grid;
    grid-template-columns: 180px 1fr;
    align-items: center;
}
header img {
    width: 100%;
    display: block;
}
header .right {
    display: flex;
    justify-content: flex-end;
}
header ul {
    list-style: none;
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
    align-items: center;
    justify-content: flex-end;
    color: var(--grey);
    margin: 0;
}
header ul a {
    color: var(--grey);
    display: block;
    background: white;
    padding: 0.5rem 1rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    font-size: 0.9rem;
    transition: background-color 0.3s;
}
header ul a:hover {
    text-decoration: none;
    background: var(--darkblue);
    color: white;
}
header ul li {
    margin: 0;
}
header ul span {
    margin-right: 5px;
}
@media(max-width:800px) {
    header {
        padding: 1rem 0;
    }
    header ul {
        gap: 0.5rem;
    }
    header ul a {
        padding: 0.2rem 0.7rem;
    }
}
@media(max-width:400px) {
    header ul span {
        display: none;
    }
    header .wrapper {
        grid-template-columns: 150px 1fr;
    }
    header ul a {
        padding: 0.1rem 0.4rem;
        font-size: 0.8rem;
    }
}



nav {
    background: var(--blue)
}
nav li {
    display: inline-block;
    font-weight: 500;
    margin: 0;
}
nav a {
    display: block;
    padding: 10px 1rem;
    text-decoration: none;
    color: white
}
nav a:hover {
    background: var(--blue-hover);
    text-decoration: none
}
nav .sub-menu {
    display: none;
    position: absolute;
    background: var(--grey);
    z-index: 100;
    width: 100%;
    min-width: 250px;
    margin: 0;
}
nav .sub-menu li {
    display: block;
    text-transform: none;
    font-weight: 400;
    font-size: 14px;
}
nav .sub-menu a {
    padding: 5px 1rem
}
nav .sub-menu a:hover {
    background: var(--blue);
}
nav .menu-item-has-children {
    position: relative
}
nav .menu-item-has-children>a {
    padding-right: 1.875rem
}
nav .menu-item-has-children:before {
    content: '\e802';
    font-family: 'fontello';
    position: absolute;
    right: 13px;
    top: 11px;
    color: white;
}
nav .menu-item-has-children:hover .sub-menu {
    display: block
}

.menu-toggle {
    display: none;
    cursor: pointer;
    padding: 0.8rem 1rem;
    background: transparent;
    border: 0;
}
.menu-toggle span {
    background-color: white;
    display: block;
    width: 32px;
    height: 2px;
}
.menu-toggle span:last-child {
    margin: 0
}

@media(max-width:800px) {
    nav {
        display: flex;
        justify-content: flex-end;
    }
    nav ul {
        display: none;
    }
    .menu-toggle {
        display: flex;
        flex-flow: column wrap;
            gap: 0.4rem;
    }
}

footer {
    background: var(--darkblue);
    padding: 2rem 0 1rem 0;
    color: var(--darkblue-text)
}
footer .footer-logo {
    display: block;
    width: 100%;
}
footer .grid {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 4rem;
    justify-content: center;
    border-bottom: 1px solid var(--darkblue-text);
    padding-bottom: 2rem;
    margin-bottom: 1rem;
}
footer .contacts a {
    display: grid;
    grid-template-columns: 15px 1fr;
    align-items: center;
    gap: 0.7rem;
}
footer .contacts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.7rem;
}
footer .contact-col {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}
footer a {
    color: var(--darkblue-text);
}
footer .icon {
    display: flex;
    justify-content: center;
}
footer .footer-bottom {
    display: flex;
    gap: 1rem;
}
@media(max-width:800px) {
    footer .grid {
        grid-template-columns: 1fr;
    }
    footer .footer-logo {
        max-width: 200px;
    }
    footer .grid {
        gap: 2rem;
    }
}
@media(max-width:480px) {
    footer .contacts {
        grid-template-columns: 1fr;
    }
}



.block {
    padding: 2rem 0
}

.block:nth-child(even) {
    background: var(--lightgrey);
}

.block h2 {
    margin-top: 0;
}
.block h1 {
    margin-bottom: 1rem;
}
.block img {
    display: block;
}
.block .fc {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
}
@media(max-width:800px) {
    .block {
        padding: 1rem 0;
    }
    .block .fc {
        grid-template-columns: 1fr;
        gap: 1rem
    }
    .block .box.order-1 {
        order: 1
    }
    .block .box.order-2 {
        order: 2;
        margin: 0
    }
}


.reviews h3 {
    background: white;
    font: inherit;
    font-weight: 700;
    padding: 10px 1rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}
.reviews .grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.review-box p {
    padding: 1rem;
    margin: 0;
    font-style: italic
}
@media(max-width:600px) {
    .reviews .grid {
        grid-template-columns: 1fr;
    }
}

.btn {
    background: var(--blue);
    color: white;
    display: inline-flex;
    font: inherit;
    font-weight: 500;
    padding: 0.5rem 1rem;
    text-decoration: none;
    border: 0;
    cursor: pointer;
    border-radius: var(--border-radius);
}
.btn:hover {
    background: var(--blue-hover);
    text-decoration: none
}

.rb {
    width: 270px;
    text-align: center;
    display: block;
    margin: 0 auto 1.875rem auto;
    padding: 0 0 10px 0;
    background: var(--blue);
    color: white;
    transition: background-color .2s
}
.rb img {
    display: block;
    margin: 0 0 10px 0
}
.rb:hover {
    background: var(--blue-hover);
}

.pagination {
    text-align: center;
    margin: 1.25rem 0 0 0;
    display: flex;
    flex-flow: row wrap;
    gap: 10px;
}
.page-numbers {
    display: inline-flex;
    padding: 5px 10px;
    background: var(--lightgrey);
}
.page-numbers:hover {
    background: var(--grey);
    color: white;
    text-decoration: none
}
.page-numbers.current {
    font-weight: 700;
    background: var(--blue);
    color: white
}



.mobile-menu {
	height: 100dvh;
	width: 250px;
	position: fixed;
	z-index: 3;
	top: 0;
	left: -250px;
	background-color: black;
	overflow-x: hidden;
	transition: left .5s;
}

.mobile-menu ul {
	margin: 0;
	list-style: none;
}

.mobile-menu li {
	margin: 0;
}

.mobile-menu .current_page_item > a {
	background: var(--blue);
	color: white;
}

.mobile-menu a {
	display: block;
	padding: 5px 1rem;
	color: white;
	text-decoration: none;
	border-bottom: 1px solid rgba(255, 255, 255, .2);
}

.mobile-menu .sub-menu a {
	padding-left: 1.875rem;
	color: rgba(255, 255, 255, .7);
	font-size: 14px;
}

.mobile-menu.open {
	left: 0;
}

#menu-overlay {
	position: fixed;
	inset: 0;
	z-index: 2;
	background: rgba(0, 0, 0, .65);
	opacity: 0;
	visibility: hidden;
	transition:
		opacity .3s,
		visibility .3s;
}

#menu-overlay.open {
	opacity: 1;
	visibility: visible;
}

body.menu-open {
	overflow: hidden;
}





.posts {
    list-style: none;
    margin: 0;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}
.post-box {
    text-decoration: none;
    color: var(--body-text);
    padding: 1rem;
    display: block;
    background: var(--lightgrey);
    position: relative;
    height: 100%;
    transition: background-color .2s, color .2s
}
.post-box h2 {
    font-size: 1rem;
    margin: 3px 0 5px 0
}
.post-box .date {
    font-size: 11px;
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    background: var(--blue);
    color: white;
    padding: 0 5px;
}
.post-box .excerpt {
    font-size: small;
    line-height: 1.4;
    display: block;
}
.post-box:hover {
    background: var(--blue);
    color: white;
    text-decoration: none;
}
.post-box:hover h2 {
    color: white;
}
.post-box:hover .date {
    background: var(--blue-hover);
}
@media(max-width:600px) {
    .posts {
        grid-template-columns: 1fr;
    }
}

.breadcrumb {
    margin: 0 0 1.875rem 0;
    background: var(--lightgrey);
    padding: 1rem;
    border-radius: var(--border-radius);
    font-size: smaller;
}

.gallery {
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
}
.gallery a {
    display: block;
}
.gallery img {
    display: block;
    border-radius: var(--border-radius);
}
.gallery figure {
    text-align: center;
    width: 150px;
}
.gallery figcaption {
    font-size: 13px;
    margin-top: 10px;
}


.contact-box {
    display: grid;
    grid-template-columns: 250px 1fr;
    gap: 1.875rem;
    margin-bottom: 50px
}
.contact-box h2 {
    margin-top: 0
}
.contact-box .time {
    margin: 1.25rem 0 0 0;
    font-weight: bold;
}
.contact-box .week {
    margin: 10px 0 0 0
}
@media(max-width:600px) {
    .contact-box {
        gap: 0;
        grid-template-columns: 1fr;
    }
}


.partner-box {
    padding: 1rem;
    border: 1px solid var(--lightgrey-hover);
    margin: 0 0 1rem 0
}

.partner-box:after {
    content: '';
    display: table;
    clear: both
}

.partner-box img {
    vertical-align: middle;
    margin: 0 1rem 0 0
}

.manufacturers {
    display: flex;
    flex-flow: row wrap;
    gap: 1rem;
    margin: 0 0 1rem 0;
}
.manufacturers .box {
    display: block;
    width: 200px;
    border: 1px solid var(--lightgrey-hover);
    padding: 1rem;
    text-align: center;
    background: var(--lightgrey);
    font-weight: 700;
    border-radius: var(--border-radius);
}
.manufacturers .image {
    display: flex;
    align-items: center;
    height: 100px;
}
.manufacturers img {
    display: block;
    margin: 0 auto 1rem auto;
    max-width: 100px;
    max-height: 100px;
}




.service-partner {
	display: grid;
	grid-template-columns: 1fr 250px;
	gap: 60px;
}
.service-partner img {
    display: block;
    margin: 0 auto;
}
.service-partner figcaption {
    font-style: italic;
    text-align: center;
    margin-top: 5px;
    font-size: smaller;
    line-height: 1.4;
}
@media(max-width:600px) {
	.service-partner {
		grid-template-columns: 1fr;
		gap: 1rem
	}
}