/*
Theme Name: STO
Theme URI: http://www.7detalei-sto.ru
Author: STO
Author URI: http://www.7detalei-sto.ru
Description: Private Theme
Version: 1.0
License: Private
Text Domain: sto
*/

:root {
    --color-black: #333333;
    --color-red: #FF4C4C;
    --color-text: var(--color-black);

    --transition: .3s;
}

* {
    margin: 0;
    padding: 0;
    border: 0;
    box-sizing: border-box;
}

:focus {
    outline: 0;
}

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
    display: block;
}

body {
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    box-sizing: border-box;
    font-family: 'Montserrat';
    line-height: 1;
}

ol,
ul {
    list-style: none;
}

blockquote,
q {
    quotes: none;
}

blockquote:before,
blockquote:after,
q:before,
q:after {
    content: '';
    content: none;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

input[type=search]::-webkit-search-cancel-button,
input[type=search]::-webkit-search-decoration,
input[type=search]::-webkit-search-results-button,
input[type=search]::-webkit-search-results-decoration {
    -webkit-appearance: none;
    -moz-appearance: none;
}

input[type=search] {
    -webkit-appearance: none;
    -moz-appearance: none;
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}

textarea {
    overflow: auto;
    vertical-align: top;
    resize: vertical;
}

audio,
canvas,
video {
    display: inline-block;
    *display: inline;
    *zoom: 1;
    max-width: 100%;
}

audio:not([controls]) {
    display: none;
    height: 0;
}

[hidden] {
    display: none;
}

html {
    font-size: 100%;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

a {
    text-decoration: none;
    color: inherit;
    cursor: pointer;
    outline: none;
    transition: var(--transition);
}

a:active,
a:hover {
    color: var(--color-red);
}

img {
    display: block;
    border: 0;
    max-width: 100%;
    max-height: 100%;
    -ms-interpolation-mode: bicubic;
}

figure {
    margin: 0;
}

form {
    margin: 0;
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

legend {
    border: 0;
    padding: 0;
    white-space: normal;
    *margin-left: -7px;
}

button,
input,
select,
textarea {
    font-size: 100%;
    margin: 0;
    vertical-align: baseline;
    *vertical-align: middle;
}

button,
input {
    line-height: normal;
}

button,
select {
    text-transform: none;
}

button,
html input[type="button"],
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
    *overflow: visible;
}

button[disabled],
html input[disabled] {
    cursor: default;
}

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
    *height: 13px;
    *width: 13px;
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto;
    vertical-align: top;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

html,
button,
input,
select,
textarea {
    color: #222;
}

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

img {
    vertical-align: middle;
}

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

textarea {
    resize: vertical;
}

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}


input:focus::-webkit-input-placeholder {
    color: transparent;
}

input:focus:-moz-placeholder {
    color: transparent;
}

input:focus::-moz-placeholder {
    color: transparent;
}

input:focus:-ms-input-placeholder {
    color: transparent;
}

html,
body {
    height: 100%;
    min-height: 100%;
}

body {
    font-size: 1rem;
    font-family: 'Montserrat', sans-serif;
    font-weight: 300;
    color: var(--color-text);
    background-color: #F5F5F5;
}

.wrap {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    overflow-x: hidden;
}

.main {
    margin-bottom: auto;
}

.overflow-disabled {
    overflow: hidden;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font: inherit;
}

u {
    text-decoration: none;
}

.img {
    border-radius: 10px;
    overflow: hidden;
}

.img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.img.--abs img {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
}

.row {
    display: flex;
    flex-wrap: wrap;
}


.container {
    width: 100%;
    padding-left: 15px;
    padding-right: 15px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (min-width: 576px) {
    .container {
        max-width: 540px;
    }
}

@media screen and (min-width: 768px) {
    .container {
        max-width: 720px;
    }
}

@media screen and (min-width: 840px) {
    .container {
        max-width: 810px;
    }
}

@media screen and (min-width: 1024px) {
    .container {
        max-width: 992px;
    }
}

@media screen and (min-width: 1170px) {
    .container {
        max-width: 1140px;
    }
}

@media screen and (min-width: 1440px) {
    .container {
        max-width: 1260px;
    }
}

@media screen and (min-width: 1920px) {
    .container {
        max-width: 1740px;
    }
}


/* Typography */

.h1 {
    font-size: 3rem;
    font-weight: 800;
    margin: 0 0 1.5rem;
    text-indent: -.25rem;
}


.h2 {
    font-weight: 700;
    font-size: 30px;
    line-height: 36px;
}

.h3 {
    font-size: 24px;
    font-weight: 700;
    line-height: 30px;
}

.h4 {
    font-size: 18px;
    font-weight: 700;
    line-height: 24px;
}

.h5 {
    font-size: 14px;
    font-weight: 700;
    line-height: 18px;
}

.t1 {
    line-height: 1.4;
}

.t1 h2 {
    font-weight: 700;
    font-size: 20px;
    margin-top: 30px;
    margin-bottom: 20px;
}

.t1 * {
    margin-bottom: 1.5rem;
}

.t1 *:first-child {
    margin-top: 0;
}

.t1 *:last-child {
    margin-bottom: 0;
}

.t2 {
    font-size: 14px;
    font-weight: 400;
    line-height: 26px;
}

.t2 h2 {
    display: block;
    font-size: 20px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.t2 h3 {
    font-size: 16px;
    font-weight: 700;
    margin-top: 20px;
    margin-bottom: 20px;
}

.t2 ul {
    list-style: disc;
    margin-left: 40px;
    font-weight: 400;
    font-size: 14px;
    line-height: 26px;
    margin-bottom: 20px;
}

.t2 em {
    font-style: normal;
}

.t2 *:first-child {
    margin-top: 0;
}

.t2 *:last-child {
    margin-bottom: 0;
}

@media screen and (max-width: 1023px) {
    .h2 {
        font-size: 26px;
    }

}

@media screen and (max-width: 767px) {
    .h1 {
        font-size: 2.3rem;
    }

    .h2 {
        font-size: 24px;
    }

}

@media screen and (max-width: 575px) {
    .h1 {
        font-size: 28px;
    }
}

@media screen and (max-width: 555px) {
    .h2 {
        font-size: 24px;
        line-height: 30px;
    }
}

@media screen and (max-width: 380px) {
    .h1 {
        font-size: 24px;
    }
}


.field__area {
    display: block;
    width: 100%;
    appearance: none;
    -webkit-appearance: none;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
}

.field__area::placeholder {
    opacity: 1;
}

.field.--md .field__area {
    height: 44px;
    padding: 0 20px;
    border-radius: 10px;
}

.field.--b-gray .field__area {
    border: 2px solid #E7E7E7;
}

.field .field__area.wpcf7-not-valid {
    color: #f00;
    border-color: #f00;
}

.field .field__area.wpcf7-not-valid::placeholder {
    color: #f00;
}

.btn {
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    font-family: 'Montserrat', sans-serif;
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
}

.btn.--xs {
    font-size: 12px;
    font-weight: 700;
    border-radius: 10px;
    padding: 4px 12px;
}

.btn.--md {
    height: 42px;
    font-weight: 700;
    border-radius: 10px;
}

.btn.--lg {
    font-size: 1.5rem;
    font-weight: 700;
    border-radius: 10px;
    padding: 20px 45px;
}


.btn.--bg-red {
    color: #fff;
    background: var(--color-red);
}

.btn.--bg-red:hover {
    background: #dd3737;
}

@media screen and (max-width: 1023px) {
    .btn.--lg {
        font-size: 1rem;
        padding: 14px 20px;
    }

}

.block {
    padding-top: 30px;
    padding-bottom: 30px;
}

.block__title {
    margin-bottom: 20px;
}


@media screen and (max-width: 767px) {
    .block {
        padding-top: 20px;
        padding-bottom: 20px;
    }

    .block__title {
        margin-bottom: 14px;
    }
}


.inner {
    border: 1px solid #E7E7E7;
    border-radius: 10px;
    background-color: #fff;
}

.inner.--p-md {
    padding: 20px;
}

.inner.--p-lg {
    padding: 30px;
}

@media screen and (max-width: 490px) {

    .inner.--p-md,
    .inner.--p-lg {
        padding: 20px;
    }

}

.socials__list {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 -15px -20px;
}

.socials__item {
    margin: 0 15px 20px;
}

.socials__item:hover {
    transform: scale(0.9);
}


.page {
    padding-top: 0;
}

.page__img {
    height: 520px;
}

.page__img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.page__breadcrumb {
    margin-top: 50px;
    margin-bottom: 25px;
}

.page__title {
    margin-bottom: 30px;
}

.page__inner {
    display: flex;
    flex-direction: column;
}

.page__btn {
    margin-top: 50px;
    margin-left: auto;
    margin-right: auto;
}

@media screen and (max-width: 1023px) {
    .page__img {
        height: 350px;
    }

    .page__btn {
        margin-top: 20px;
    }

}

@media screen and (max-width: 767px) {
    .page__breadcrumb {
        display: none;
    }

    .page__title {
        margin-top: 25px;
        margin-bottom: 25px;
    }

}

@media screen and (max-width: 575px) {
    .page__img {
        height: 240px;
    }

}

@media screen and (max-width: 450px) {
    .page__title {
        font-size: 21px;
        line-height: 24px;
    }
}


.breadcrumb__list {
    display: flex;
    flex-wrap: wrap;
}

.breadcrumb__item {
    font-size: 12px;
    font-weight: 400;
}

.breadcrumb__item:after {
    content: " ›";
    display: inline-block;
    margin: auto 0.5em auto 0.75em;
}

.breadcrumb__item:last-child::after {
    display: none;
}

.breadcrumb__item a {
    color: #AAAAAA;
    border-bottom: 1px solid transparent;
}

.breadcrumb__item a:hover {
    color: var(--color-red);
    border-color: var(--color-red);
}




.control_panel_block {
    display: none;
}

.thanks {
    position: fixed;
    z-index: 1000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow-y: auto;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.thanks.--show {
    opacity: 1;
    visibility: visible;
}

.thanks.--show .thanks__inner {
    opacity: 1;
    transform: scale(1);
}

.thanks__inner {
    z-index: 1;
    position: relative;
    width: 100%;
    max-width: 370px;
    padding: 35px;
    border-radius: 10px;
    background-color: #fff;
    text-align: center;
    transform: scale(0);
    transition: var(--transition);
}

.thanks__close {
    position: absolute;
    top: 20px;
    right: 20px;
    flex-direction: column;
    width: 15px;
    height: 15px;
}

.thanks__close::before,
.thanks__close::after {
    display: block;
    content: '';
    width: 17px;
    height: 2px;
    transition: var(--transition);
    background-color: rgb(133, 132, 132);
}

.thanks__close::before {
    transform: rotate(45deg);
    margin-bottom: -1px;
}

.thanks__close::after {
    transform: rotate(-45deg);
    margin-top: -1px;
}

.thanks__close:hover::before,
.thanks__close:hover::after {
    background-color: var(--color-red);
}

.thanks__title {
    margin-bottom: 10px;
}

.thanks__text {
    font-weight: 400;
}

.thanks__bg {
    opacity: .7;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000;
}

.screen-reader-response,
.wpcf7-response-output,
.wpcf7-not-valid-tip {
    display: none;
}

.btn_show_phones {
    display: none;
}

.btn_show_phones.active {
    display: flex;
}