:root {
    --_height_pic: 190px;
    --container: 1355px;
    --msb-green: #5bb04f;
    --msb-green2: #1ca263;

    --msb-green3: #1c9a5f;
    --msb-green4: #1c8b57;
    --msb-green5: #0c6c6c;

    --msb-grey: #f8f9fb;

    --msb-orange: #da5d01;
}

a {
    color: var(--msb-green2);
}

a:hover {
    text-decoration: none;
    color: var(--msb-green);
    /*border-bottom: 1px solid;*/
}

h3 {
    font-weight: 600;
}

h1,
h2,
h3,
h4 {
    line-height: 150%;
}

h6 {
    font-size: 90%;
    text-transform: uppercase;
    color: #acacac;
}

@media (max-width: 768px) {
    h1,
    h2,
    h3,
    h4 {
        line-height: 110%;
        /*font-size: 120%;*/
    }
}

/* debug hack обводка для колонок bootstrap сетки*/
/*div[class*="col-"] {*/
/*  outline: 1px solid rgba(249, 73, 231, 0.64);*/
/*}*/

/* переопределяем стандартные классы бутстрапа, 1320px ширины мало */
.container {
    max-width: var(--container);
    margin: auto;
}

.container2 {
    max-width: 1250px;
    margin: auto;
}

/*<!--подогнал сетку под дизайн в фигме-->*/
.wide_container {
    max-width: calc(var(--container) + 30px);
    margin: auto;
}

.ruble_sign {
    font-family: Helvetica, Verdana, Arial, sans-serif;
}

.button {
    color: white;
    font-size: 10px;
    font-weight: 600;
    line-height: 15px;
    display: inline-block;
    padding: 0.9rem 4rem;

    transition: all 0.3s;
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    background-size: cover;
}

.button__wide300 {
    width: 100%;
    max-width: 300px;
}

.button__shadow {
    box-shadow: 2px 2px 8px 0px #808080b5;
}

.button__gradient_green {
    background-size: 100%;
    background-image: url("/image/homepage2/bg_button_green.jpg");
}

.button__gradient_green:hover {
    background-size: 130%;
}

a.button:hover,
a.button:link,
a.button:visited {
    color: white;
}

.button:hover {
    background-size: 150%;
    /*background-position-x: -30px;*/
}

.button__green {
    color: white;
    background-color: var(--msb-green2);
}

a.button__green:hover {
    color: white;
    background-color: var(--msb-green3);
}

.button__white {
    color: white;
    border-color: white;
}

a.button__white:hover {
    color: white;
    border-color: white;
    background-color: rgba(255, 255, 255, 0.12);
}

.button__orange {
    background-color: #de3d0a;
}

.button__orange:hover {
    background-color: #b6401b;
}

.button__whitebg {
    background-color: white;
    color: var(--msb-green2) !important;
}

a.button__whitebg:hover {
    background-color: #dff4ea;
}

.button__red {
    height: 37px;
    background-color: #de3d0a;
    background-image: url("/image/design/bg_red.jpg");
}

.button_whatsapp {
    width: 216px;
    color: #fff !important;
    display: inline-block;
    transition: all 0.3s !important;
    text-align: center;
    border: 1px solid transparent;
    border-radius: 5px;
    cursor: pointer;
    background-size: cover;
    background-color: var(--msb-green3);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 7px;
    padding-bottom: 5px;
}

.button_whatsapp_top {
    width: 35px;
    color: #fff !important;
    display: inline-block;
    transition: all 0.3s !important;
    text-align: center;
    /*border: 1px solid transparent;*/
    border-radius: 5px;
    /*cursor: pointer;*/
    /*background-size: cover;*/
    background-color: var(--msb-green3);
    padding-left: 10px;
    padding-right: 10px;
    padding-top: 10px;
    padding-bottom: 10px;
}

.button_whatsapp:hover {
    background-color: #107345;
}

.button__transparent {
    border: 1px solid #ffffff;
    color: white;
}

.button__darkgreen {
    background-color: #103f45;
    background-image: url("/image/design/trucks/bg_btn.jpeg");
    background-size: 120%;
}

.breadcrumb {
    font-size: 0.8667em !important;
    margin-bottom: 0;
    padding: 1.5em;
    padding-left: 0 !important;
    background-color: unset !important;
}

.breadcrumb-item + .breadcrumb-item::before {
    content: "\2014" !important;
    color: #9f9f9f;
}

.breadcrumb-item a:link,
.breadcrumb-item a:visited {
    color: #9f9f9f;
}

.page-item.active .page-link {
    border-color: var(--msb-green2);
    background-color: var(--msb-green2);
}

/* bootstrap */

.submenu_item {
    font-size: 110%;
    display: block;
    margin-bottom: 8px;
}

.nav_express_btn {
    font-size: 75%;
    font-weight: 500;
    margin-top: -5px;
    padding: 12px 27px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 5px;
}

.btn_backleasing {
    width: 207px;
    transition: all 0.3s;
}

.btn_backleasing:hover {
    background-color: #f46b00 !important;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.nav_express_btn2 {
    font-size: 75%;
    font-weight: 500;
    width: 280px;
    padding: 12px 27px;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    border-radius: 5px;
}

.nav_call_ico {
    position: absolute;
    top: -4px;
    left: -27px;
}

.call_us {
    background-color: var(--msb-grey);
}

.call_us_avatar {
    width: 80%;
    max-width: 200px;
}

.call_us_title {
    font-size: 2em;
    line-height: 1.15em;
}

@media (max-width: 768px) {
    .call_us_title {
        font-size: 1.6em;
        line-height: 1.1em;
    }
}

.callus_btn {
    font-size: 0.7333em;
    padding: 12px 21px 11px;
    text-decoration: none;
    text-transform: uppercase;
    border: 1px solid;
}

.callus_btn:hover {
    color: white;
    background-color: #21bc73;
}

/*company */
.company_label {
    font-size: 80%;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #aaa;
}

/*company/docs*/
a.company_docs:link,
a.company_docs:visited {
    transition: all 0.3s;
    color: black;
}

a.company_docs:hover {
    text-decoration: none;
    color: var(--msb-green);
}

.company_docs_ico {
    width: 50px;
}

.company_docs_size {
    color: #aaa;
}

/*company/faq*/

.company_faq_question {
    font-size: 90%;
    /*font-size: 110%;*/
    /*font-variant: small-caps;*/
    font-weight: 400;
    text-transform: uppercase;
}

.company_faq_answer {
}

/*company/partners*/
.company_partners_title {
    font-size: 120%;
}

.company_partners_txt {
    font-size: 90%;
}

/*company/staff*/

.company_staff_name {
    font-size: 130%;
}

.company_staff_name_big {
    font-size: 200%;
}

.company_staff_quote {
    font-size: 130%;
    font-weight: 300;
}

.company_staff_photo {
    width: 220px;
    border: 1px solid rgb(231, 231, 231);
    border-radius: 5px;
}

.company_social img {
    width: 43px;
}

.investors_banner {
    width: 100%;
}

.investors_table {
    font-size: 90%;
}

.investors_table th {
    font-size: 80%;
    font-weight: normal;
    text-transform: uppercase;
    /*color: darkgrey;*/
    color: #fff;
    background: #a5abb5;
}

.investors_table tr:hover {
    transition: all 0.3s;
    background-color: #f8f9fb;
}

.investors_links a:hover {
    text-decoration: none;
    color: black;
}

.investors_disclosure_years_title {
    font-size: 18px;
    font-weight: 700;

    margin-bottom: 20px;
    margin-left: 10px;
}

.investors_disclosure_item {
    font-size: 12px;
    font-weight: 400;
    line-height: 15px;
    margin-bottom: 15px;
}

.investors_disclosure_item_bytes {
    font-size: 10px;
    font-weight: 400;
    line-height: 15px;
    /* or 150% */

    text-transform: uppercase;

    color: #9f9f9f;
}

.investors_disclosure_item a:link,
.investors_disclosure_item a:active,
.investors_disclosure_item a:visited {
    color: black;
}

.investors_disclosure_item a:hover {
    color: var(--msb-green2);
}

.investors_info_wrapper img {
    /*для мобильных*/
    max-width: 100% !important;
    height: auto !important;
}

.news_cat {
    font-size: 14px;
    font-weight: 400;
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    padding: 2px 10px;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: #f1ede6;
}

.news_cat:hover {
    text-decoration: none;
    background: #eae4da;
}

a.news_cat:link,
a.news_cat:visited {
    color: #333333;
}

.newscard {
    position: relative;
    height: var(--_height);
    --_height: 436px;
}

.newscard_i {
    position: relative;
    z-index: 1;
    width: 100%;
}

.newscard_text {
}

.newscard_category {
    font-size: 10px;
    text-transform: uppercase;
    color: grey;
}

.newscard_title {
    /*font-weight: 300;*/
}

.newscard_title:link,
.newscard_title:visited {
    transition: all 0.3s;
    color: black;
}

.newscard_date {
    font-size: 90%;
    position: absolute;
    bottom: 21px;
    left: 25px;
    color: grey;
}

.newscard_title:hover {
    text-decoration: none;
    color: var(--msb-green2);
}

.sell_btn {
    width: 207px;
}

@media (max-width: 768px) {
    .newscard {
        height: var(--_height);
        --_height: 500px;
    }

    .newsitem_title {
        font-size: 170%;
    }

    .sell_btn {
        width: 100%;
    }

    .investors_table_wrap {
        overflow: auto;
        /*  для прокркутки таблицы на мобильном */
    }
}

@media (min-width: 1200px) {
    .newsrow_with_big .newscard_i {
        /*height: var(--_height_pic);*/
        /*отключил т.к. некоторые обложки (особенно с лицами) были не 2/3 и лица заметно вытягивались */
    }

    .newscard_wide .newscard_i {
        height: 100%;
    }

    .newscard_wide .newscard_text {
        position: absolute;
        z-index: 5;
        right: 0;
        bottom: 0;
        width: 50%;
        height: calc(var(--_height) - var(--_height_pic));
        background-color: rgba(255, 255, 255, 0.82);
        -webkit-backdrop-filter: blur(4px);
        backdrop-filter: blur(4px);
    }

    .newscard_wide__second .newscard_text {
        right: unset;
        left: 0 !important;
    }
}

@keyframes heartBeat {
    0% {
        transform: scale(1);
    }
    14% {
        transform: scale(1.3);
    }
    28% {
        transform: scale(1);
    }
    42% {
        transform: scale(1.3);
    }
    70% {
        transform: scale(1);
    }
}

@keyframes tada {
    0% {
        transform: scale(1);
    }
    10%,
    20% {
        transform: scale(0.9) rotate(-3deg);
    }
    30%,
    50%,
    70%,
    90% {
        transform: scale(1.1) rotate(3deg);
    }
    40%,
    60%,
    80% {
        transform: scale(1.1) rotate(-3deg);
    }
    100% {
        transform: scale(1) rotate(0);
    }
}

.modal_form_callus img {
    width: 70px;
    position: fixed;
    right: 15px;
    bottom: 15px;
    cursor: pointer;
    transition: all 0.3s;
}

.tada {
}

.modal_form_callus img:hover {
    width: 80px;

    animation-name: tada;
    animation-duration: 1s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
}

.newsitem_image {
    max-width: 100%;
}

.newsitem_date {
    font-size: 90%;
    color: grey;
}

.newsitem_preview_text,
.newsitem_text {
    /*max-width: 1100px;*/
    word-break: break-word;
}

.newsitem_preview_text {
    font-size: 135%;
    font-weight: 500;
    line-height: 160%;
    color: #484848;
}

.newsitem_text {
    line-height: 200%;
}

.newsitem_text ul {
    padding-left: 10px;
    list-style: none;
}

.newsitem_text ul li::before {
    font-size: 18px;
    font-weight: bold;
    display: inline-block;
    width: 1em;
    margin-left: -10px;
    content: "\2022";
    color: var(--msb-green2);
}

/*в основном для старых новостей из битрикса и для мобилы */
.newsitem_text img {
    max-width: 100%;
    height: auto !important;
}

.newsitem_text blockquote {
    font-size: 1.2em;
    font-weight: 600;
    line-height: 1.6667em;
    position: relative;
    margin: 54px 0 55px;
    padding: 0 0 0 80px;
    color: #333;
    border: none;
}

.newsitem_text blockquote::before {
    position: absolute;
    top: 7px;
    left: 0;
    width: 60px;
    height: 60px;
    content: "";
    background-image: url(/image/design/backquote.png);
    background-repeat: no-repeat;
    background-size: 45px;
}

/*!*для адаптивности ютьб роликов в новостях *!*/
.newsitem_text iframe {
    width: 100% !important;
    max-width: 600px !important;
    aspect-ratio: 16 / 9 !important;
}

.was-validated .custom-control-input:valid ~ .custom-control-label,
.custom-control-input.is-valid ~ .custom-control-label {
    color: #3f3f3f;
}

.homepage_callus
.was-validated
.custom-control-input:valid
~ .custom-control-label,
.homepage_callus .custom-control-input.is-valid ~ .custom-control-label {
    color: #f9fff8;
}
