@font-face {
    font-family: "Mazda";
    src: url("../fonts/MazdaTypeCyrillic-Regular.woff2") format("woff2"), url("../fonts/MazdaTypeCyrillic-Regular.woff") format("woff");
    font-style: normal;
    font-weight: 400;
    font-display: swap;
}

@font-face {
    font-family: "Mazda";
    src: url("../fonts/MazdaTypeCyrillic-Bold.woff2") format("woff2"), url("../fonts/MazdaTypeCyrillic-Bold.woff") format("woff");
    font-style: normal;
    font-weight: 700;
    font-display: swap;
}

@font-face {
    font-family: "Mazda";
    src: url("../fonts/MazdaTypeCyrillic-Medium.woff2") format("woff2"), url("../fonts/MazdaTypeCyrillic-Medium.woff") format("woff");
    font-style: normal;
    font-weight: 500;
    font-display: swap;
}

/* font-family: "StandardIconFont"; */
@font-face {
    font-family: "standart-icons";
    src: url("../fonts/standard-icon-font.woff2") format("woff2"), url("../fonts/standard-icon-font.woff") format("woff");
    font-style: normal;
    font-weight: 400;
}

html, body {
    margin: 0;
    padding: 0;
}

* {
    padding: 0;
    margin: 0;
}

body {
    box-sizing: border-box;
    font-family: "Mazda", "Helvetica", "Arial", sans-serif;
    color: #191919;
    font-weight: 400;
    font-size: 15px;
    line-height: 1.3;
    background-color: #f5f5f5;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
}

picture {
    display: block;
}

button, input, textarea, select {
    -webkit-appearance: none;
    font-family: inherit;
    color: inherit;
    border: none;
    border-radius: 0;
    background: none;
    outline: 0;
}
main {
    font-size: 16px;
}
.icon:before {
    display: inline-block;
    letter-spacing: 0;
    line-height: 1;
    font-family: "standart-icons";
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    text-rendering: auto;
    vertical-align: middle;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.site {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.footer {
    margin-top: auto;
    flex: 0 0 auto;
    color: #d5d5d5;
    text-align: center;
    padding-top: 29px;
    background: #191919;
}

.footer__copy-links {
    font-weight: 700;
    font-size: 10px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    padding-top: 15px;
    border-top: 1px solid #6e6e6e;
}

.footer__copy {
    padding-bottom: 25px;
}
.footer__main {
    padding-bottom: 29px;
    font-size: 12px;
}
.footer__main p {
    margin-top: 0;
    margin-bottom: 0;
}
.footer a {
    color: inherit;
    font-weight: bold;
}

@media (min-width: 992px) {
    .footer__copy-links {
        display: flex;
        align-items: center;
        width: 100%;
        font-weight: 400;
        padding: 33px 0 35px 0;
    }

    .footer__copy {
        flex-shrink: 0;
        font-size: 11px;
        line-height: 1.4;
        color: #808080;
        padding: 0;
    }

}

.container {
    margin: 0 auto;
    max-width: 1210px;
    padding: 0 20px;
}

.text-content {
    margin: 0 auto;
    max-width: 800px;
    line-height: 1.6;
}
.text-content a {
    color: inherit;
}

.header {
    position: relative;
    height: 60px;
    color: #d5d5d5;
    background: #191919;
}

.header ul {
    list-style-type: none;
}

.header__nav-sm {
    flex-shrink: 0;
    margin-left: auto;
}

.header__burger {
    position: relative;
    color: #999;
    margin-left: 21px;
    cursor: pointer;
}

.header__burger:before {
    font-size: 20px;
}

.header__burger:after {
    content: '';
    position: absolute;
    top: -5px;
    bottom: -5px;
    left: -21px;
    width: 1px;
    background: #444;
}

.header__burger.icon_close:before {
    content: "\f118";
}

.header__phone {
    color: #999;
    margin-left: 19px;
    cursor: pointer;
    margin: 0 15px 0 5px;
}

.header__phone:before {
    font-size: 20px;
}

.header__phone.icon_close:before {
    content: "\f118";
}

.header__search {
    display: none;
}

.header1__wrap {
    display: flex;
    align-items: center;
}

.header1__dealer {
    font-size: 11px;
    color: #fff;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-left: 17px;
}

.header1__logo {
    flex-shrink: 0;
    margin: 9px 0;
}

.header1__logo IMG {
    width: 46px;
    height: auto;
}

.header1__contacts {
    visibility: hidden;
    opacity: 0;
    z-index: 99;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: #191919;
    transition: opacity 0.3s ease-out;
}

.header1__contacts_open {
    visibility: visible;
    opacity: 1;
}

.header1__contacts-item {
    font-size: 11px;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    border-top: 1px solid #444;
}

.header1__contacts-link {
    display: block;
    position: relative;
    color: #999;
    text-decoration: none;
    padding: 22px 30px 22px 20px;
}

.header1__contacts-link:before {
    position: absolute;
    top: calc(50% - 10px);
    right: 20px;
    font-size: 20px;
}

.header1__contacts-phone {
    display: block;
    font-size: 13px;
    color: #fff;
    margin-top: 4px;
}

.header1__links-lg {
    display: none;
}

.header2__dealer {
    display: none;
}

.header__phone:before {
    font-size: 20px;
}

.icon_phone:before {
    content: "";
}

.text-page {
    padding: 30px 0 40px;
}
.text-page p {
    margin-bottom: 23px;
    font-weight: 500;
}

.text-page li {
    display: list-item;
    text-indent: -27px;
    margin-bottom: 10px;
}
.text-page li:before {
    content: '\2022';
    color: #6e6e6e;
    padding-right: 18px;
}

.text-page h2 {
    padding-top: 10px;
    font-weight: 700;
    letter-spacing: .2em;
    text-transform: uppercase;
    font-size: 15px;
    margin-bottom: 23px;
}
.text-page ul,
.text-page ol {
    list-style: none;
    padding-left: 28px;
    margin-bottom: 28px;
}

.anchors {
    margin-bottom: 30px;
    display: flex;
    flex-wrap: wrap;
    margin-left: -20px;
    margin-right: -20px;
}

.anchors__item {
    padding: 0 20px;
}

.button {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    font-weight: 700;
    font-size: 13px;
    line-height: 20px;
    letter-spacing: .2em;
    text-transform: uppercase;
    cursor: pointer;
    transition: color .2s, background .2s;
    color: inherit;
    text-decoration: none;
}
.button_line {
    position: relative;
    padding: 0;
}
.button_line:after {
    position: absolute;
    content: "";
    width: 100%;
    left: 50%;
    bottom: -1px;
    height: 2px;
    transform: translateX(-50%);
    background-color: #191919;
    transition: width .2s;
}
.button_line:hover:after {
    width: 50%;
}
.org {
    padding: 50px 0 0;
    text-align: center;
}
@media (max-width: 1199px) {
    .header2__links-sm {
        font-weight: 700;
        font-size: 14px;
        letter-spacing: .2em;
        text-transform: uppercase;
        padding: 0 20px;
        background: #f5f5f5;
    }

    .header2__links-sm li {
        border-bottom: 1px solid #d5d5d5;
    }

    .header2__links-sm li:last-child {
        border: 0;
    }

    .header2__links-sm a {
        display: block;
        padding: 30px 0;
    }
}


.partners {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding-top: 20px;
    margin: 0 -12px;
}
.partners__item {
    height: 26px;
    padding: 4px 4px 0;
    margin: 8px 12px;
}

.partners__item img {
    max-height:100%;
}



@media (min-width: 992px) {
    .anchors {
        margin-bottom: 50px;
    }

    .text-page h2 {
        font-size: 28px;
        margin-bottom: 40px;
    }
    .partners {
        padding-top: 40px;
    }
    .partners__item {
        height: 44px;
    }
}
@media (min-width: 1200px) {
    .text-page {
        padding: 60px 0 90px;
    }
    .header {
        height: auto;
    }

    .header__dealer-lg {
        display: block;
        flex-shrink: 0;
        font-weight: 700;
        font-size: 11px;
        color: #6e6e6e;
        text-transform: uppercase;
    }

    .header__dealer-lg-name {
        font-size: 18px;
        color: #fff;
    }

    .header__search {
        display: block;
        flex-shrink: 0;
        cursor: pointer;
        margin-left: 20px;
    }

    .header__search:before {
        font-size: 25px;
        color: #d5d5d5;
        transition: color .3s linear;
    }

    .header__search:hover:before {
        color: #fff;
    }

    .header1__dealer {
        display: none;
    }

    .header1__logo {
        margin: 16px 0;
    }

    .header1__logo IMG {
        width: 62px;
    }

    .header1__links-block {
        flex-basis: 0;
        flex-grow: 1;
        max-width: 100%;
        text-align: right;
        margin-left: auto;
    }

    .header1__contacts {
        visibility: visible;
        opacity: 1;
        position: static;
        z-index: auto;
        padding: 12px 0;
        background: none;
    }

    .header1__contacts-item {
        display: inline-block;
        margin-left: 23px;
        border: none;
    }

    .header1__contacts-phone {
        display: inline;
        font-size: 11px;
    }

    .header1__contacts-link {
        display: inline;
        color: #6e6e6e;
        padding: 0;
    }

    .header1__contacts-link::before {
        display: none;
    }

    .header1__links-lg {
        display: block;
        font-size: 11px;
        letter-spacing: 0.15em;
        text-transform: uppercase;
        padding: 12px 0;
    }

    .header1__links-lg LI {
        display: inline;
        margin-left: 23px;
    }

    .header1__links-lg A {
        color: #d5d5d5;
        text-decoration: none;
        transition: color .3s linear;
    }

    .header1__links-lg A:hover {
        color: #fff;
    }

    .header2 {
        position: relative;
        border-top: 1px solid #6e6e6e;
    }

    .header2__wrap {
        height: 90px;
        padding: 5px 0;
        display: flex;
        align-items: center;
    }

    .header2__dealer {
        display: block;
        flex-shrink: 0;
        font-weight: 700;
        font-size: 11px;
        color: #6e6e6e;
        letter-spacing: .15em;
        text-transform: uppercase;
        max-width: 235px;
    }

    .header2__dealer-name {
        font-size: 18px;
        color: #fff;
        letter-spacing: .2em;
        margin-bottom: 6px;
        line-height: 1;
    }

    .header2__links-sm {
        display: none;
    }

    .header2__menu-block {
        margin-left: auto;
    }

    .d-xl-none {
        display: none !important;
    }
}

