/* СТИЛИ ДЛЯ ВСЕГО + */
:root {
    --one: #4D7CFF;               /* основной синий */
    --one_light: #80A4FF;         /* светлый синий */
    --one_dark: #1A53FF;          /* насыщенный синий */

    --two: #194CA6;               /* тёмно-синий */
    --two_light: #1F65D2;         /* средне-синий */
    --two_dark: #13397A;          /* глубокий синий */

    --three: #1959A6;             /* серо-синий */
    --three_light: #1F71D2;       /* более светлый серо-синий */
    --three_dark: #13417A;        /* тёмный серо-синий */

    --four: #4987C7;              /* голубовато-синий */
    --four_light: #1A98E6;        /* голубой */
    --four_dark: #0E4F80;         /* тёмно-голубой */

    --five: #7AAFFF;              /* светло-синий */
    --five_light: #AECBFF;        /* ещё светлее */
    --five_dark: #467DFF;         /* средне-синий */

    --pagination: #F2F7FB;        /* очень светлый фон */
    --pagination_hover: #A3C9F5;  /* при наведении */
    --pagination_active: #356FA6; /* активная */

    --price: #4D7CFF;             /* цена, как основной синий */

    --a_dark: #1F2937;            /* тёмный текст */
    --a_light: #ffffff;           /* светлый текст */

    --background_white_transparent: rgba(255, 255, 255, 0.7);
    --background_gray_transparent: rgba(0, 0, 0, 0.1);

    --white: #ffffff;
    --gray: #c0c0c0;
    --gray_light: #DADADA;
    --gray_dark: #A6A6A6;
}
@media (max-width: 640px) {
    html, body {
        overflow-x: hidden;
    }
}
select {
    display: none;
}
.select_no_filter .bs-searchbox {
    display: none;
}
.select_order .dropdown-toggle {
    background: #fff;
}
.input_double input {
    margin-bottom: -3px;
    padding-left: 6px;
    width: 48% !important;
    display: inline-block;
}
.input_double input:nth-child(2) {
    float: right;
}
.disabled_form {
    pointer-events: none;
    opacity: 0.4;
}
.search_form {
    position: relative;
    margin-bottom: 10px;
}
.search_form .card-body {
    padding: 20px 10px;
}
.search_form .btn,
.search_form .form-control,
.search_form .col-form-label {
    /*padding: .25rem .5rem;*/
    font-size: 0.99rem;
    line-height: 1.5;
    border-radius: .2rem;
}
.search_form .expand_collapse {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 0);
    margin-top: -45px;
    background: #fff;
    border: 1px solid var(--gray);
    padding: 0 10px;
    border-radius: 10px;
    cursor: pointer;
}
.search_form label {
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.search_form .form-check label  {
    white-space: normal;
}
.search_form .menu {
    /*height: auto;*/
    max-height: 1500px;
    transition: all 0.5s ease-out 0s;
    /*transform:scaleY(1);*/
}
.search_form .menu.collapsed {
    max-height: 0;
    overflow: hidden;
    /*transform:scaleY(0);*/
}
.border_error {
    border: 1px solid #FFC095 !important;
}
.btn, .form-check, .form-check-input, .form-check-label {
    cursor: pointer;
}
ul {
    padding: 0;
    margin: 0;
}
a.active.focus,
a.active:focus,
a.focus,
a:active.focus,
a:active:focus,
a:focus,
button.active.focus,
button.active:focus,
button.focus,
button:active.focus,
button:active:focus,
button:focus,
.btn.active.focus,
.btn.active:focus,
.btn.focus,
.btn:active.focus,
.btn:active:focus,
.btn:focus {
    outline: 0!important;
    outline-color: transparent!important;
    outline-width: 0!important;
    outline-style: none!important;
    box-shadow: 0 0 0 0 rgba(0,123,255,0)!important;
}
textarea:focus,
input:focus,
.form-control:focus {
    box-shadow: none;
    outline: 0;
}
a {
    cursor: pointer;
    color: var(--one);
}
a:hover {
    text-decoration: none;
    color: var(--one_dark);
}
/*a:not([href]):hover {
    color: var(--white);
}*/
.dropleft .dropdown-toggle::before {
    display: none;
}

/* Настройки по умолчанию + */
@media (min-width: 1250px) {
    .col-xl-3.myxl {
        max-width: 22%;
        flex: 0 0 22%;
    }
    .col-xl-6.myxl {
        max-width: 56%;
        flex: 0 0 56%;
    }
    .col-xl-9.myxl {
        max-width: 78%;
        flex: 0 0 78%;
    }
}
@media (max-width: 1909px) {
    .container {
        max-width: calc(100% - 20px);
    }
}
@media (min-width: 1910px) {
    .container {
        max-width: 1870px;
    }
}
/*@media (min-width: 1280px) {
    .container {
        max-width: 1270px;
    }
}
@media (min-width: 1350px) {
    .container {
        max-width: 1325px;
    }
}
@media (min-width: 1650px) {
    .container {
        max-width: 1580px;
    }
}
@media (min-width: 1800px) {
    .container {
        max-width: 1785px;
    }
}
@media (min-width: 1910px) {
    .container {
        max-width: 1870px;
    }
}*/
@media (max-width: 1200px) {
    legend {
        font-size: calc(1.275rem + 0.3vw);
    }

    h1, .h1 {
        font-size: calc(1.375rem + 1.5vw);
    }

    h2, .h2 {
        font-size: calc(1.325rem + 0.9vw);
    }

    h3, .h3 {
        font-size: calc(1.3rem + 0.6vw);
    }

    h4, .h4 {
        font-size: calc(1.275rem + 0.3vw);
    }

    .display-1 {
        font-size: calc(1.725rem + 5.7vw);
    }

    .display-2 {
        font-size: calc(1.675rem + 5.1vw);
    }

    .display-3 {
        font-size: calc(1.575rem + 3.9vw);
    }

    .display-4 {
        font-size: calc(1.475rem + 2.7vw);
    }

    .close {
        font-size: calc(1.275rem + 0.3vw);
    }
}
/* Настройки по умолчанию - */

/* КНОПКИ + */
.btn-primary {
    color: var(--a_light) !important;
    background-color: var(--three);
    border-color: var(--three);
}
.btn-primary:hover {
    color: var(--a_light) !important;
    background-color: var(--three_dark);
    border-color: var(--three_dark);
}
.btn-outline-primary {
    color: var(--three) !important;
    border-color: var(--three);
}
.btn-outline-primary:hover {
    color: var(--a_light) !important;
    background-color: var(--three_dark);
    border-color: var(--three_dark);
}

.btn-success {
    color: var(--a_light) !important;
    background-color: var(--four);
    border-color: var(--four);
}
.btn-success:hover {
    color: var(--a_light) !important;
    background-color: var(--four_dark);
    border-color: var(--four_dark);
}
.btn-outline-success {
    color: var(--four) !important;
    border-color: var(--four);
}
.btn-outline-success:hover {
    color: var(--a_light) !important;
    background-color: var(--four_dark);
    border-color: var(--four_dark);
}

.btn-info {
    color: var(--a_light) !important;
    background-color: var(--five);
    border-color: var(--five);
}
.btn-info:hover {
    color: var(--a_light) !important;
    background-color: var(--five_dark);
    border-color: var(--five_dark);
}
.btn-outline-info {
    color: var(--five) !important;
    border-color: var(--five);
}
.btn-outline-info:hover {
    color: var(--a_light) !important;
    background-color: var(--five_dark);
    border-color: var(--five_dark);
}

.btn-secondary {
    color: var(--a_light) !important;
    background-color: var(--gray);
    border-color: var(--gray);
}
.btn-secondary:hover {
    color: var(--a_light) !important;
    background-color: var(--gray_dark);
    border-color: var(--gray_dark);
}
.btn-outline-secondary {
    color: var(--gray) !important;
    border-color: var(--gray);
}
.btn-outline-secondary:hover {
    color: var(--a_light) !important;
    background-color: var(--gray_dark);
    border-color: var(--gray_dark);
}
/* КНОПКИ - */

body {
    /*background-image: url(../img/body_bg.jpg);*/ /* Путь к фоновому изображению */
    /*background-attachment: fixed;*/ /* Фиксируем фон веб-страницы */
}

h1 {
    position: relative;
    display: inline-block;
    margin-top: 15px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
}
h1:before,
h1:after {
    content: "";
    width: 100%;
    height: 1px;
    background-color: #dadada;
    position: absolute;
    bottom: -5px;
    left: 0;
}
/*h1::before {
    margin-left: -5px;
    top: 0;
    border-left: 3px solid var(--one);
    border-top: 3px solid var(--one);
}*/
h1::after {
    width: 40%;
    background-color: var(--one_dark);
}

.info_box {
    display: inline-block;
    /*background-color: var(--five_light);*/
    text-align: center;
    padding: 4px;
    margin-top: 10px;
    /*box-shadow: 0 4px 4px var(--background_gray_transparent);*/
    border-radius: 6px;
    border: 1px dashed var(--a_dark);
}
.box_shadow {
    /*border-radius: 6px;*/
    /*box-shadow: 0 4px 4px var(--background_gray_transparent);*/
    box-shadow: 0px 0px 3px 0px var(--one);
    /*padding-bottom: 4px;*/
}
.textfade {
    box-shadow: -12px 0 15px 2px rgb(255, 255, 255) inset;
    height: 20px;
    position: absolute;
    right: 10px;
    width: 25px;
}
.info_block {
    border: 3px solid var(--four_light);
    border-radius: 4px;
    margin: 0 0 20px 0;
    padding: 4px;
}

.card.no_border {
    border: 0;
    border-radius: 0;
    margin-bottom: 30px;
}
/*.card::after {
    z-index: -1;
    position: absolute;
    right: 10px;
    left: auto;
    clear: both;
    float: none;
    content: "";
    bottom: 15px;
    width: 50%;
    top: 80%;
    max-width: 300px;
    background: var(--gray);
    transform: rotate(2deg);
}*/
.card-header {
    /*height: 31px;
    line-height: 29px;*/
    padding: 0 5px;
    margin-bottom: 0;
    background-color: var(--one);
    border-bottom: 0;
    /*text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;*/
    line-height: 36px;
    color: var(--white);
}
.card-header i::before {
    position: relative;
    background-color: var(--white);
    color: var(--one);
    display: block;
    top: 0;
    left: -5px;
    padding: 10px;
    line-height: 17px;
}
.card-header span.more {
    height: 25px;
    line-height: 23px;
    font-size: 75%;
    background: var(--four_light);
    position: absolute;
    right: 5px;
    top: 3px;
    padding: 0 4px;
    border-radius: 4px;
}
.card-header span.before_triangle {
    background-color: var(--four);
    display: inline-block;
    height: 32px;
    padding: 0 5px 0 8px;
    color: var(--white);
    margin: 0 -9px 0 -5px;
}
.card-header span.triangle {
    position: relative;
    top: -22px;
    left: -22px;
    display: inline-block;
    width: 36px;
    margin-right: -6px;
}
.card-header span.triangle::before {
    content: '';
    position: absolute;
    right: 0px;
    top: -1px;
    border-style: solid;
    border-width: 17px 0px 17px 11px;
    border-color: var(--white) var(--white) var(--white) var(--four);
}
.card-header span.triangle::after {
    content: '';
    position: absolute;
    right: -9px;
    border-style: solid;
    border-width: 16px 0px 16px 10px;
    border-color: var(--two) var(--two) var(--two) var(--white);
    top: 0px;
}
.card-header a {
    color: var(--white);
}
.card-header span.before_triangle i {
    transform: scale(1.2);
}
.card-header a span {

}
.card-title {
    font-weight: bold;
    padding: 5px;
    margin-bottom: 0;
    text-transform: uppercase;
}
.card-body {
    padding: 5px;
    background-color: transparent;
}
.card-body:last-child {
    margin-bottom: 0;
}
.card-footer {
    background-color: transparent;
    border-top: unset;
    padding: 0 5px;
}
.card-footer .btn {
    float: right;
    margin: 10px 0 5px 0;
}
/* кнопки перезаписать всего hover и т.п. */
/* СТИЛИ ДЛЯ ВСЕГО - */

/* ХЛЕБНЫЕ КРОШКИ + */
.breadcrumbs {
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    margin: -26px 5% 0 5%;
    padding: 10px 10px 6px 10px;
    background: linear-gradient(to right, var(--two_light) 0%, var(--two) 50%, var(--two_light) 100%);
    border-radius: 8px;
}
.breadcrumbs .breadcrumb {
    margin: 0;
    background-color: transparent;
}
.breadcrumb-item + .breadcrumb-item::before {
    display: inline-flex;
}
.breadcrumbs .breadcrumb i:first-child::before {
    color: var(--five);
    background-color: var(--white);
    width: 30px;
    height: 30px;
    display: flex;
    position: relative;
    top: -5px;
    border-radius: 50%;
    align-items: center;
    justify-content: center;
}
.breadcrumb-item + .breadcrumb-item {
    padding-left: 0;
}
.breadcrumb-item + .breadcrumb-item::before {
    padding-right: 0;
    content: "";
}
.breadcrumbs > ul {
    list-style: none;
    display: inline-flex;
    padding: 0 4px;
}
.breadcrumbs > ul > li,
.breadcrumbs > ul > li * {
    line-height: 26px;
}
.breadcrumbs > ul > li {
    overflow: hidden;
    display: none;
    padding-right: 5px;
}
.breadcrumbs > ul > li.show {
    display: inline-flex; /*inline-block;*/
    color: var(--white);
}
.breadcrumbs > ul > li i {
    padding-top: 5px;
    line-height: 20px;
    color: var(--gray);
}
.breadcrumbs > ul > li.ellipsis {
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    direction: rtl;
}
.breadcrumbs > ul > li a {
    color: var(--five);
    margin-right: 5px;
}
.breadcrumbs .divider {
    color: var(--gray);
    padding: 0 5px;
}
.breadcrumbs ul li:nth-child(2n) a {
    /*display: inline-flex;*/
    float: left;
    text-overflow: ellipsis;
    -o-text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}
.breadcrumbs .btn {
    color: var(--white);
}
@media only screen and (min-width: 1024px) {
    .breadcrumbs ul li:nth-child(2n) a {
        max-width: 500px;
    }
}
/* Десктоп - */
/* Таблет + */
@media only screen and (max-width: 1023px) {
    .breadcrumbs ul li:nth-child(2n) a {
        max-width: 300px;
    }
}
/* Таблет - */
/* Мобильный большой + */
@media only screen and (max-width: 640px) {
    .breadcrumbs ul li:nth-child(2n) a {
        max-width: 250px;
    }
}
/* Мобильный большой - */
/* Мобильный маленький + */
@media only screen and (max-width: 480px) {
    .breadcrumbs ul li:nth-child(2n) a {
        max-width: 110px;
    }
}
/* Мобильный маленький - */
/* ХЛЕБНЫЕ КРОШКИ - */

/* ПОИСКОВЫЙ БЛОК + */
.card.search {

}
/* ПОИСКОВЫЙ БЛОК - */

/* ПОСТРАНИЧНАЯ НАВИГАЦИЯ + */
.pagination {

}
.pagination li.page-item {
    margin-right: 5px;
}
.pagination li.page-item a {
    color: var(--a_dark);
    text-align: center;
    background-color: var(--pagination);
    border-radius: 5px;
}
.pagination li.page-item a:hover {
    color: var(--white);
    border-color: var(--pagination_hover);
    background-color: var(--pagination_hover);
}
.pagination li.page-item.active .page-link {
    z-index: 3;
    color: var(--white);
    background-color: var(--pagination_active);
    border-color: var(--pagination_active);
}
/* ПОСТРАНИЧНАЯ НАВИГАЦИЯ - */

/* ЦЕНА + */
.price {
    color: var(--price);
}
.price.old {
    text-decoration: line-through;
}
/* ЦЕНА - */

/* СПЕЦ + */
#specs img {
    height: 100%;
    max-height: 250px;
    object-fit: cover;
}
/* СПЕЦ - */


/* ПЛАШКА С ИНФОЙ + */
.navbar_over .logo {
    height: 100%;
    background-color: var(--one);
    clip-path: polygon(0 0, 100% -28%, 88% 100%, 0% 100%); /*polygon(0 0, 100% 0%, 82% 100%, 0% 100%);*/
    position: absolute;
    top: 0;
    left: 0;
    width: 110%;
}
.navbar_over .logo img {
    position: absolute;
    top: 50%;
    left: 42%;
    transform: translate(-50%, -50%);
}
.near_navbar {
    height: 50px;
    background-color: var(--one);
    color: #fff;
    overflow: hidden;
}
.near_navbar > div {
    height: 100% !important;
    align-items: center !important;
    overflow: hidden;
    line-height: 100%;
}
.near_navbar > div.row div {
    line-height: 23px;
    text-align: center;
    max-height: 100% !important;
    align-items: center !important;
}
/*.near_navbar > div.row > div a {
    height: 100% !important;
}*/
.near_navbar > div.row div:nth-child(2):before {
    content: "";
    position: absolute;
    top: -15px;
    left: 0;
    background-color: #D8D8D8;
    width: 1px;
    height: 115px;
}
.near_navbar > div.row div:nth-child(2):after {
    content: "";
    position: absolute;
    top: -15px;
    right: 0;
    background-color: #D8D8D8;
    width: 1px;
    height: 115px;
}
.near_navbar a {
    color: #fff;
}

.near_navbar .messenger {

}
/* ПЛАШКА С ИНФОЙ - */

/* ПЛАШКА С ИНФОЙ + */
/*.near_navbar {
    background-color: var(--one);
    color: var(--white);
    height: 55px;
    overflow: hidden;
    box-shadow: 0 1px 10px 1px rgba(0, 0, 0, 0.4);
}
.near_navbar > div,
.near_navbar > div > div {
    height: 100% !important;
    align-items: center !important;
    overflow: hidden;
}
.near_navbar > div > div > div {
    max-height: 100%;
    text-align: center;
}
.near_navbar > div > div > div a {
    height: 100% !important;
}
.near_navbar a {
    color: var(--white);
}
.near_navbar .messenger {

}*/
/* ПЛАШКА С ИНФОЙ - */

/* СОЦ. КНОПКИ + */
ul.social {
    list-style: outside none none;
    padding: 0;
    margin: 0;
}
ul.social li {
    display: inline-block;
}
ul.social li:before {
    content: '' !important;
}
ul.social li:hover::before {
    padding: 0;
}
ul.social li a {
    position: relative;
    text-align: center;
    background: var(--white);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-block;
    padding: 6px 0;
    overflow: hidden;
    cursor: pointer;
}
ul.social li a::before,
ul.social li a::after {
    content: '';
    position: absolute;
    left: -25%;
    width: 150%;
    height: 0;
    opacity: 0;
    visibility: hidden;
    transform: rotate(45deg);
}
ul.social li a::before {
    top: -10%;
    transition: all 0.3s linear;
}
ul.social li a::after {
    bottom: -10%;
    transition: all 0.3s linear;
}
ul.social li a:hover::before,
ul.social li a:hover::after {
    opacity: 1;
    visibility: visible;
    height: 60%;
    background-color: #77929f;
}
ul.social li a:hover {
    color: var(--white) !important;
}
ul.social li a.whatsapp {
    color: #29AD00;
}
ul.social li a.whatsapp:hover::before,
ul.social li a.whatsapp:hover::after {
    background-color: #29AD00;
}
ul.social li a.telegram {
    color: #2CA3E0;
    padding: 7px 10px 6px 6px;
}
ul.social li a.telegram:hover::before,
ul.social li a.telegram:hover::after {
    background-color: #2CA3E0;
}
ul.social li a.viber {
    color: #734D93;
}
ul.social li a.viber:hover::before,
ul.social li a.viber:hover::after {
    background-color: #734D93;
}
ul.social li a.vk {
    color: #4F7DB2;
}
ul.social li a.vk:hover::before,
ul.social li a.vk:hover::after {
    background-color: #4F7DB2;
}
ul.social li a.facebook {
    color: #4064AD;
}
ul.social li a.facebook:hover::before,
ul.social li a.facebook:hover::after {
    background-color: #4064AD;
}
ul.social li a.instagram {
    color: #C50364;
}
ul.social li a.instagram:hover::before,
ul.social li a.instagram:hover::after {
    background-color: #C50364;
}
ul.social li a.odnoklassniki {
    color: #F98B0E;
}
ul.social li a.odnoklassniki:hover::before,
ul.social li a.odnoklassniki:hover::after {
    background-color: #F98B0E;
}
ul.social li a i {
    position: relative;
    z-index: 2;
    font-size: 26px;
}
/* СОЦ. КНОПКИ - */

/* ВЕРХНЕЕ МЕНЮ + */
.navbar {
    /*position: fixed;*/
    width: 100%;
    height: 50px;
    background-color: var(--white);
    padding: 0;
    z-index: 1;
}
.navbar_over {
    height: 100px;
    background-color: var(--white);
}
.navbar.nav-up {
    margin-top: -50px;
    position: fixed;
    left: 0;
    z-index: 1000;
    box-shadow: 0 10px 14px -3px rgba(0, 0, 0, 0.4);
    /*transition: all 0.3s ease-in-out;*/
}
.navbar .dropdown-toggle::after {
    border: 0;
    margin-left: 0;
    vertical-align: -1px;
}
.navbar .dropdown-toggle i {
    position: relative;
    top: 2px;
}
.navbar li .dropdown-menu {
    margin: 0;
}
/*@media (max-width: 991px) {
.navbar {
    position: absolute;
}
.navbar.nav-up {
    margin-top: 50px;
}
}*/
@media (min-width: 992px) {
    #navbar.navbar li > .dropdown-menu {
        display: block;
        transform: scaleY(0);
        transition: 0.1s ease-in-out;

        /*visibility: hidden;
        opacity: 0;
        transition: 0.9s ease-in-out;*/
    }
    #navbar.navbar li:hover > .dropdown-menu {
        transform: scaleY(1);

        /*visibility: visible;
        opacity: 1;*/
    }
    #navbar .dropdown > .dropdown-toggle:active {
        pointer-events: none;
    }
}
.navbar li a {
    color: var(--a_dark);
}
.navbar li > a{
    transition: all 0.3s linear;
}
.navbar li a:hover,
.navbar li.active > a,
.navbar li .dropdown-item.active {
    color: #fff;
    background-color: var(--one);
    /*transition: all 0.5s ease;*/
}
.navbar ul > li:hover > a {
    color: #fff;
    background-color: var(--one);
}
.navbar ul li a.dropdown-item.active,
.navbar ul li a.dropdown-item:active {
    background-color: var(--one);
}
.navbar li a.dropdown-item {
    position: relative;
    max-width: 100%;
    padding: 5px 2px;
}
/*.navbar li a.dropdown-item > span {
    position: relative;
    z-index: 1;
}
.navbar li a.dropdown-item:hover > span {
    z-index: 2;
    background-color: var(--one);
    transition: all 0.5s ease;
    !*background: #fff;*!
}
.navbar li a.dropdown-item > span + span {
    position: absolute;
    right: 5px;
    height: 20px;
    box-shadow: -200px 0px 150px -51px rgb(255, 255, 255) inset;
    padding-left: 10px;
    z-index: 2;
}
.navbar li a.dropdown-item:hover > span + span {
    z-index: 1;
    background-color: transparent;
    box-shadow: unset;
}*/
.navbar li a.dropdown-item > span {
    position: relative;
    z-index: 1;
    padding: 5px 0;
    background-color: transparent;
}
.navbar li a.dropdown-item:hover > span {
    z-index: 2;
    background-color: var(--one);
    /*transition: all 0.5s ease;*/
}
.navbar li a.dropdown-item > span + span {
    position: absolute;
    right: 5px;
    height: 20px;
    box-shadow: -200px 0px 150px -51px rgb(255, 255, 255) inset;
    padding-left: 10px;
    padding-right: 5px;
    border-radius: 5px;
    z-index: 2;
    transition: all 0.5s ease;
}
.navbar li a.dropdown-item > span + span {
    position: absolute;
    top: 6px;
    right: 2px;
    line-height: 11px;
    height: 22px;
}
.navbar li a.dropdown-item:hover > span + span {
    background-color: #fff;
    color: var(--one);
    padding-left: 0;
    padding-right: 0;
    /*padding: 0 3px;*/
    z-index: 1;
}
.flexmenu_dropdown .nav-link {
    white-space: nowrap !important;
}
#navbar_top {
    justify-content: center !important;
}
/* ВЕРХНЕЕ МЕНЮ - */

/* ШАПКА + */
.header {
    background: url('../img/header.jpg');
    height: 300px;
}
/* ШАПКА - */

/* ВКЛАДКИ + */
.tabdrop {
    position: absolute;
    right: 0;
    background: var(--white);
}
.bootstrap-tabs {

}
.bootstrap-tabs .nav-tabs {
    border-bottom: 1px solid #dee2e6;
    margin-left: 0 !important;
}
.bootstrap-tabs .nav-tabs li {
    padding: 0 !important;
}
.bootstrap-tabs .nav-tabs li:before {
    display: none;
}
.bootstrap-tabs .nav-tabs .nav-item {
    margin-bottom: -1px;
}
.bootstrap-tabs .tab-content {
    border: 1px solid #ddd;
    border-top: 0px;
    padding: 5px;
}
.bootstrap-tabs .dropdown-menu {
    padding: 0;
}
.bootstrap-tabs .nav-tabs a {
    color: var(--one);
}
/* ВКЛАДКИ - */

/* ДВЕ КОЛОНКИ UL + */
ul.data {
    list-style: none;
    column-count: 2;
    column-width: 250px;
    column-gap: 6em;
    padding: 5px 0 5px 0;
    margin-bottom: 0;
}
ul.data li {
    /*clear: both;*/
    width: 100%;
    display: inline-block;
}
ul.data li span:first-child {
    float: left;
    padding: 0 .4em 0 0;
    margin: 0 0 1px 0;
    font-weight: bold;
}
ul.data li span + span {
    float: right;
    padding: 0 0 0 .4em;
    margin: 0 0 1px 0;
}
ul.data li:after {
    content: "";
    display: block;
    overflow: hidden;
    height: 1em;
    border-bottom: 1px solid #E7E7E7;
    padding-top: 18px;
    margin: 0 0 1px 0;
}
.article ul.data li:before {
    content: "" !important;
    margin-right: 0 !important;
}
/* ДВЕ КОЛОНКИ UL - */


/* БОКОВОЕ МЕНЮ + */
.card.side_menu {
    background-color: #F2FAF1;
    padding: 0;
    position: relative;
    border-radius: 5px;
    overflow: hidden;
    border: 1px solid var(--one);
}
.card.side_menu .card {
    margin-top: 10px;
    margin-bottom: 10px;
}
.card.side_menu .card-header {
    position: relative;
    color: var(--four);
    font-weight: bold;
    border: 0;
    background-color: var(--one);
    margin: 0;
    padding: 0;
    border-radius: 0;
}
/*.card.side_menu > .card-header::before {
    position: absolute;
    top: -1px;
    left: -1px;
    display: block;
    !*border-top-color: #3ECC3E;
    border-left-color: #3ECC3E;
    border-width: 22px;
    border-style: solid;
    border-right-color: transparent;
    border-bottom-color: transparent;*!
    !*width: 17px;*!
    border-width: 17px 17px 0px 0px;
    border-style: solid solid solid solid;
    border-color: var(--white) transparent transparent var(--white);
    !*border: 20px solid #3ECC3E;
    transform: matrix(0.68,0.73,-0.73,0.68,0,0);*!
    content: '';
    z-index: 1;
}*/
.card.side_menu .card-header h3 {
    position: sticky;
    padding: 0 2px 0px 5px;
    font-size: 20px;
    line-height: 32px;
    margin: 0;
    color: var(--white);
    z-index: 10;

    width: 100%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card.side_menu .card-header i {
    margin-right: 6px;
}
.card.side_menu .card-header i::before {
    background-color: #F2FAF1;
}
.card.side_menu .card-title {
    padding-left: 0;
}
.card.side_menu > .card-body {
    padding: 0;
}
.card.side_menu .card-body .card-header {
    background: transparent;
    padding: 0;
    border: 0;
    margin: 0 0 8px 1px;
}
.card.side_menu .card-body img {
    width: calc(100% + 10px);
    height: 250px;
    object-fit: cover;
    object-position: 50% 50%;
    margin: -5px 0 0 -5px;
    border-radius: 0;
}
.card.side_menu .card-body ul.menu {
    padding: 0;
    overflow: hidden;
    white-space: nowrap;
    margin: 5px;
}
.card.side_menu .card-body ul.menu li {
    list-style: outside none none;
    margin: 0;
}
.card.side_menu .card-body ul.menu li::before {
    content: "\f105 ";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 13px;
    color: #B6B6B6;
    position: relative;
    top: -6px;
    left: 2px;
}
.card.side_menu .card-body ul.menu li div {
    width: 100%;
    display: inline-block;
}
.card.side_menu .card-body ul.menu li div a {
    color: var(--a_dark);
    text-decoration: none;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    width: 89%;
    display: inline-block;
    height: 24px;
}
.card.side_menu .card-body ul.menu li:hover a,
.card.side_menu .card-body ul.menu li:hover:before,
.card.side_menu .card-body ul.menu li.active a,
.card.side_menu .card-body ul.menu li.active:before {
    color: var(--one);
    padding-left: 2px;
    transition: 0.2s ease-in;
}
.card.side_menu .card-body ul.menu li div a span {

}
.card.side_menu .card-body ul.menu li div a span + span {
    position: absolute;
    right: 2px;
    margin-top: 5px;
    background-color: var(--two);
    color: var(--white);
    display: inline-block;
    padding: 2px 4px;
    font-size: 80%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25rem;
}
.card.side_menu .card-body .card-footer {
    background: transparent;
    border-top: 0;
    /*border-bottom: 1px solid var(--gray);*/
    border-radius: 0;
    /*margin-bottom: 15px;*/
}
.card.side_menu .card-footer {
    border-top: 0;
    border-bottom: 0;
}
/* БОКОВОЕ МЕНЮ - */

/* СЕКЦИЯ СТАТЬИ + */
.two-col-left,
.two-col-right,
.two-col,
.three-col {
    margin-right: 0;
    margin-left: 0;
}
/*#art ul,
#building ul {
    margin-left: 5px;
}*/
#art ul li,
#building ul li {
    padding: 0 0 3px 0;
    list-style: outside none none;
}
#art ul li:before,
#building ul li:before {
    content: "\f00c ";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 0.9rem;
    margin-right: 4px;
    color: var(--four);
}
/*.article .card-body {
    padding: 0 5px;
}*/
.article .card-body .preview {
    position: relative;
    float: left;
    cursor: pointer;
}
.article .card-body .preview .title {
    position: absolute;
    top: 7px;
    left: 2px;
    max-width: calc(100% - 10px);
    padding: 0 4px 3px 4px;
    background-color: var(--background_white_transparent);
    border-radius: 10px;
    line-height: 17px;
    font-size: 80%;
    font-weight: bold;
}
.article .card-body .preview .construction {
    position: absolute;
    bottom: 7px;
    right: 8px;
    max-width: calc(100% - 10px);
    padding: 0 4px 3px 4px;
    background-color: var(--background_white_transparent);
    border-radius: 10px;
    line-height: 17px;
    font-size: 80%;
    font-weight: bold;
}
/*.article .card-footer,
.object .card-footer {
    background-color: transparent;
    border-top: unset;
    padding: 0 5px 0 0;
}*/
.article .art img, .article img {
    margin: 0 5px 5px 0;
    cursor: pointer;
}
.article .art img {
    width: 300px;
    height: 300px;
    object-fit: cover;
}
@media (max-width: 1024px) {
    .article .card-body .preview {
        float: unset;
    }
    .article .art img {
        width: 100%;
        margin: 4px 0 4px 0;
    }

    .article img {
        width: 100% !important;
        /*height: 100% !important;*/
        object-fit: cover;
        margin: 4px 0px 4px 2px !important;
    }
}
/* СТАТЬИ + */
#arts {

}
#arts .art {

}
/* СТАТЬИ - */

/* СТАТЬЯ + */
#art {

}
#art.article,
#buildings .article,
#building.article {
    overflow: auto;
    padding: 5px;
    margin-bottom: 20px;
}
/* СТАТЬЯ - */
/* СЕКЦИЯ СТАТЬИ - */

/* СЕКЦИЯ НОВОСТРОЙКИ + */
/* НОВОСТРОЙКИ + */
#buildings {

}
#buildings .art {

}
/* НОВОСТРОЙКИ - */

/* НОВОСТРОЙКА + */
/* ТОЖЕ САМОЕ ЧТО И СТАТЬЯ */
/* НОВОСТРОЙКА - */
/* СЕКЦИЯ НОВОСТРОЙКИ - */

/* КОММЕНТАРИИ + */
#comment .input-group-text sup {
    color: #f00;
    font-size: 15px;
    left: 6px;
    position: absolute;
    top: 14px;
}
#comment .input-group-text {
    width: 40px;
}
.comments_2 {
    margin-bottom: 20px;
    padding: 0;
}
.comments_2 li {
    list-style-type: none;
    border-bottom: 1px solid #D5D5D5;
    padding-bottom: 10px;
    margin-bottom: 10px;
}
.comments_2 .content {
    padding: 15px 35px;
    background-color: #fff9f0;
    color: #594939;
    max-width: 400px;
    display: inline-block;
    margin-bottom: -20px;
    margin-left: 20px;
    border-radius: 20px;
    text-align: left;
}
.comments_2 .avatar {
    display: inline-block;
    vertical-align: bottom;
}
.comments_2 .avatar img {
    width: 60px;
    height: auto;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0px 0px 0px 5px var(--white);
}
.comments_2 .info {
    display: inline-block;
    vertical-align: bottom;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 0.72em;
    color: rgba(0, 0, 0, 0.3);
}
.comments_2 .comment .self {
    text-align: right;
}
.comments_2 .comment .self .content {
    background-color: #f0f9ff;
    color: #2A4E7F;
    margin-right: 20px;
    margin-left: 0px;
}
/* КОММЕНТАРИИ - */

/* КАРУСЕЛЬ +*/
.carousel_objects img {
    height: 200px;
    object-fit: cover;
}
.carousel_objects .item {
    position: relative;
    overflow: hidden;
}
.carousel_objects .item span {
    position: absolute;
    height: 50px;
    width: calc(100% - 30px);
    margin-top: -50px;
    background: rgba(0, 0, 0, .5);
    color: var(--white);
    overflow: hidden;
}
.carousel .owl-theme .owl-nav [class*='owl-'] {
    color: var(--white);
    font-size: 14px;
    margin: 5px;
    padding: 4px 12px;
    background: #0db2f0;
    display: inline-block;
    cursor: pointer;
    border-radius: 2px;
}
.carousel .owl-theme .owl-nav [class*='owl-']:hover {
    background: #ff515b;
    color: var(--white);
    text-decoration: none;
}
.carousel .owl-theme .owl-nav {
    line-height: 1;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
}
.carousel .owl-theme .owl-nav .owl-prev {
    position: absolute;
    top: 40%;
    left: -12px;
    color: #252328;
    font-size: 20px;
    padding: 14px;
    background: var(--white);
    border: 1px solid #dbdbdb;
    display: inline-block;
    cursor: pointer;
    border-radius: 100px;
    height: 34px;
    width: 34px;
}
.carousel .owl-theme .owl-nav .owl-next {
    position: absolute;
    top: 40%;
    right: -12px;
    color: #252328;
    font-size: 20px;
    padding: 14px;
    background: var(--white);
    border: 1px solid #dbdbdb;
    display: inline-block;
    cursor: pointer;
    border-radius: 100px;
    height: 34px;
    width: 34px;
}
.carousel .owl-theme .owl-nav .owl-prev:hover {
    background: var(--danger);
    text-decoration: none;
    color: var(--white);
    transition: .5s ease;
    border-color: var(--danger);
}
.carousel .owl-theme .owl-nav .owl-next:hover {
    background: var(--danger);
    text-decoration: none;
    color: var(--white);
    transition: .5s ease;
    border-color: var(--danger);
}
.carousel .owl-theme .owl-dots {
    display: none;
}
.carousel .owl-theme .owl-dots .owl-dot {
    display: none;
    zoom: 1;
}
/*@media only screen and (max-width:1200px) {
    .carousel .owl-theme .owl-nav .owl-next { position: absolute; right: -10px; }
    .carousel .owl-theme .owl-nav .owl-prev { position: absolute; top: 40%; left: -10px; }
}*/
@media only screen and (max-width: 768px) {
    .carousel .owl-theme .owl-nav .owl-next {
        position: initial;
    }

    .carousel .owl-theme .owl-nav .owl-prev {
        position: initial;
    }
}
/* КАРУСЕЛЬ -*/

/* СЕКЦИЯ ОБЪЕКТЫ + */
.object ul, .object ol {
    padding: 15px;
}
/*.object .card-body {
    padding: 5px 10px;
}*/
#objects .object .box a img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}
/* ОБЪЕКТЫ + */
#objects .object {

}
#objects .object:last-child {
    margin-bottom: 0 !important;
}
#objects .object .card-header {

}
/* !!!!ЕСТЬ ЕЩЕ ВЫБРАННЫЙ ОБЪЕКТ с классом #objects .object.ordered */
#objects .object .box {
    position: relative;
    padding-bottom: 42px;
    box-shadow: 0 0 4px 0 rgba(0, 0, 0, 0.1);
}
#objects .object .box .preview {
    height: 280px;
    overflow: hidden;
    position: relative;
}
#objects .object .box .info {
    position: relative;
    padding: 5px;
    top: -42px;
}
#objects .object:hover  .box .info,
#objects .object.ordered .box .info {
    max-height: 230px;
}
#objects .object .box .info .agent {

}
#objects .object .box .info .agent .avatar {
    float: left;
}
#objects .object .box .info .agent .avatar img {
    width: 80px;
    height: 80px;
    border: 1px solid var(--white);
    border-radius: 6px;
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.7);
}
#objects .object .box .info .agent .contact {
    position: absolute;
    right: 4px;
    top: 43px;
    max-width: calc(100% - 100px);
    text-align: right;
}
#objects .object .box .info .agent .contact .phone {
    margin-bottom: 2px;
}
#objects .object .box .info .agent .contact .fio {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    margin-bottom: 2px;
}
#objects .object .box .info .tools {
    position: absolute;
    top: 4px;
    right: 0;
    clear: both;
    display: flex;
    justify-content: space-around;
}
#objects .object .box .info .tools a {
    position: relative;
    width: 34px;
    height: 34px;
    color: var(--white);
    background: var(--one);
    border: 1px solid var(--white);
    border-radius: 6px;
    cursor: pointer;
    margin: 0 5px 0 5px;
    padding: 3px;
}
#objects .object .box .info .tools.vibors a {
    background: #fff;
}
#objects .object .box .info .tools a i {
    transform: scale(1.3);
}
/*
#objects .object .box .info .tools a:after {
    content: "";
    position: absolute;
    top: 50%;
    right: -1px;
    transform: translateY(-50%);
    width: 1px;
    height: 40px;
    background-color: var(--gray);
}
*/
/*#objects .object .box .info .tools a:last-child:after {
    display: none;
}*/
/*@media only screen and (max-width: 1270px) and (min-width: 1200px)  {
    #objects .object .box .info .agent .avatar {
        display: none;
    }
    #objects .object .box .info .agent .contact {
        width: 100%;
    }
}*/
#objects .object .datas {
    padding-top: 5px;
}
/* ОБЪЕКТЫ - */

/* ОБЪЕКТ + */
#object {

}
/* ОБЪЕКТ - */
/* СЕКЦИЯ ОБЪЕКТЫ - */

/* БЛОК АГЕНТА + */
.block_agent {
    border-radius: 10px;
    /*background-color: #f5f5f5;*/
    border: 1px solid #ebebeb;
    margin: 0;
    padding: 10px;
}
.block_agent .agent .avatar {
    max-width: 200px;
}
.block_agent .agent .avatar img {
    width: 100%;
    object-fit: cover;
    border: 10px solid #F1F2F7;
    border-radius: 50%;
}
.block_agent .agent .info {

}
.block_agent .agent .contact {

}
.block_agent .agent .contact .phone {
    margin-bottom: 8px;
}
.block_agent .agent .contact .fio {
    font-weight: bold;
    color: var(--one);
}
@media (max-width: 991px){
    /*#object .agent {
        flex-direction: column;
    }*/
    .block_agent .col-12:first-child {

    }
    .block_agent .col-12:last-child {

    }
}
/* БЛОК АГЕНТА - */

/* ПОДВАЛ + */
.footer {

}
.footer ul.data {
    column-count: 3;
    column-width: 200px;
    column-rule: 1px solid rgba(120, 130, 140, 0.13);
    /*column-gap: 50%;*/
}
.footer ul li::before {
    content: "\f105 ";
    font-family: "Font Awesome 5 Free";
    font-weight: bold;
    font-size: 13px;
    color: #B6B6B6;
    position: relative;
    top: 0px;
    left: -2px;
}
.footer ul li a {
    padding-left: 2px;
}
.footer ul li:hover a,
.footer ul li:hover:before {
    color: var(--one);
    transition: 0.2s ease-in;
}
/*@media only screen and (max-width: 640px) {
    .footer ul.data {
        column-count: 2;
        column-width: 200px;
    }
}*/
.footer ul.data li:after {
    display: inline-block;
}
.footer .info {
    background-color: var(--one);
    color: var(--white);
    width: calc(100% - 50px);
    max-width: 1140px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 1;
    bottom: -45px;
    font-size: 18px;
}
@media only screen and (max-width: 768px) {
    .footer .info {
        width: 95%;
        padding: 10px;
        text-align: center;
    }
}
.footer .info h3 {
    font-size: 20px;
}
.footer .info .contact a {
    position: relative;
    border: 1px solid var(--white);
    border-radius: 22px;
    padding: 6px 45px 6px 15px;
    display: inline-block;
}
.footer .info .contact a i {
    position: absolute;
    top: -1px;
    right: -1px;
    width: 41px;
    height: 41px;
    background-color: var(--white);
    color: var(--one);
    border-radius: 50%;
    text-align: center;
    padding: 10px;
}
.footer .agency {
    background-color: #302d34;
    padding-top: 70px;
    padding-bottom: 30px;
    color: var(--gray_light);
    justify-content: center !important;
    border-bottom: 1px solid rgba(120, 130, 140, 0.13);
}
.footer .main {
    background-color: #302d34;
    padding-top: 10px;
    padding-bottom: 40px;
    color: #98969b;
    justify-content: center !important;
}
.footer a {
    color: var(--a_light);
    transition: 0.5s;
}
.footer a:hover,
.footer a.active {
    color: var(--five_light);
    transition: 0.5s;
}
.footer ul {
    list-style: none;
    padding: 0px;
}
.footer .tiny {
    background-color: #252428;
    color: #98969b;
    font-size: 13px;
    padding-top: 10px;
    padding-bottom: 10px;
}
.footer .logo {

}
.footer .title {
    color: var(--five_dark);
    font-weight: bold;
    margin-bottom: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-top: 20px;
}
.footer .contact {

}
.footer .social {

}
.footer .links {

}
/* ПОДВАЛ - */

/* БЛОК НА ГЛАВНОЙ + */
.main_blocks {
    overflow: hidden;
}
.main_blocks .card-body {
    padding: 0 10px;
}
.main_blocks a.title {
    display: block;
    font-size: 18px;
    color: #3a3c41;
    height: 25px;
    margin: 0;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
.main_blocks .card-body .row div {
    padding-right: 5px;
    padding-left: 5px;
}
.main_blocks figure span {
    position: absolute;
    top: 5px;
    left: 5px;
    background: var(--two);
    color: var(--white);
    font-size: 13px;
    padding: 3px 10px 4px 8px;
    border-radius: 12px 12px 42px 12px;
    z-index: 10;
}
.main_blocks figure {
    position: relative;
    overflow: hidden;
    margin: 10px 0;
    /*min-width: 220px;
    max-width: 310px;*/
    width: 100%;
    background: var(--white);
    color: #000000;
}
.main_blocks figure * {
    box-sizing: border-box;
    transition: all 0.35s ease-in-out;
}
.main_blocks figure img {
    /*max-width: 100%;*/
    position: relative;
    display: block;
}
.main_blocks figure:before {
    position: absolute;
    content: '';
    height: 100%;
    width: 90%;
    z-index: 1;
    left: -20%;
    background: var(--background_white_transparent);
    border: 1px solid var(--white);
    transition: all 0.4s ease-in-out;
    transform: skewX(-30deg) translateX(-80%);
    box-shadow: 2px 0px 10px rgba(0, 0, 0, 0.5);
}
.main_blocks figure figcaption {
    position: absolute;
    top: 45%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -45%);
    z-index: 1;
    opacity: 0;
}
.main_blocks figure .position {
    position: absolute;
    bottom: 0;
    width: 100%;
    text-align: right;
    padding: 2px 5px 5px 5px;
    color: var(--white);
    background: var(--two);
    z-index: 1;
    font-weight: bold;
}
.main_blocks figure:hover figcaption,
.main_blocks figure.hover figcaption {
    opacity: 1;
    transition-delay: 0.2s;
}
.main_blocks figure:hover:before,
.main_blocks figure.hover:before {
    transform: skewX(-30deg) translateX(28%);
}


.main_blocks.arts .card {
    border: 0;
}
.main_blocks.arts .card .card-body {
    /*height: 30px;
    margin-top: -30px;*/
    padding: 0 !important;
}
.main_blocks.arts .card .card-img-top {
    height: 250px;
    object-fit: cover;
}
.main_blocks.arts .card .card-body p {
    height: 100%;
    padding: 4px;
    margin: 0;
    background-color: var(--one);
    color: var(--white);
    text-align: center;
}
/* БЛОК НА ГЛАВНОЙ - */

/* ДЛЯ СТАТЕЙ + */
.block_generator div img {
    width: 100%;
    max-height: 150px;
    object-fit: cover;
    margin: 0 !important;
    padding: 0;
}
.block_generator div p.price {
    text-align: center;
    letter-spacing: -0.05rem;
}
/* ДЛЯ СТАТЕЙ - */

/* КАРТА + */
#map, #panorama {
    width: 100%;
    height: 350px;
    border: 1px solid var(--gray);
    box-shadow: 0 4px 4px var(--background_gray_transparent);
    margin-bottom: 10px;
    text-align: center;
}
.map_link {
    border-radius: 10px;
    /*box-shadow: 0 4px 4px var(--background_gray_transparent);*/
    margin: 0 auto 15px auto;
    position: relative;
    width: 98%;
    background: #F2ECE6;
}
.map_link:before {
    backface-visibility: hidden;
    background: rgba(255, 100, 0, 0.1) none repeat scroll 0 0;
    border-radius: 10px 0 0 10px;
    content: "";
    height: 100%;
    left: 0;
    position: absolute;
    top: 0;
    transition: width 500ms ease 0s;
    width: 82px;
}
.map_link:hover:before {
    width: 100%;
    border-radius: 10px;
}
.map_link .left {
    float: left;
    padding: 5px 10px;
    text-align: center;
}
.map_link .left i.fa {
    color: #FF6400;
    font-size: 55px;
    width: 60px;
}
.map_link .right {
    overflow: hidden;
    padding: 10px 5px 10px 20px;
    color: #FF6400;
    font-size: 16px;
}
.map_link .right i {
    color: var(--gray);
    font-size: 13px;
}
/* КАРТА - */

/* OFFER + */
#offer {
    display: none;
    left: 0;
    right: 0;
    top: 15%;
    width: 500px;
    max-height: none;
    overflow: hidden;
    background: var(--white);
    position: fixed;
    margin: auto;
    max-width: 100%;
    z-index: 2147483645;
    color: #323232;
    box-shadow: 0 0 10px rgba(0,0,0,0.7);
    border-radius: 6px;
    border: 4px solid #329B58;
}
#offer .title {
    background: #329B58;
    min-height: 40px;
}
#offer .title i {
    background: var(--white);
    color: #329B58;
    font-size: 18px;
}
#offer .title i.h3 {
    float: left;
    margin: 5px;
    padding: 6px;
    border-radius: 50%;
}
#offer .title h3 {
    font-size: 20px;
    font-weight: bold;
    text-align: center;
    color: var(--white);
    margin: 0 50px 0 0;
}
#offer .triangle {
    width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
    border-left: 245px solid transparent;
    border-right: 245px solid transparent;
    border-top: 20px solid #329B58;
    z-index: 100;
}
#offer .body {
    padding: 0 10px 5px 10px;
}
#offer #intro, #offer #form {
    overflow: hidden;
}
#offer .form-group {
    margin-bottom: 5px;
}
#offer .form-group label {
    margin-bottom: 0;
    background: var(--white);
    color: var(--gray);
    margin-left: 8px;
    font-weight: bold;
    line-height: 18px;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    max-width: 93%;
}
#offer .form-group input {
    margin-top: -14px;
}
#offer p.privacy {
    margin: 0;
}
@media (orientation: landscape) and (max-height: 650px) {
    #offer {
        top: 280px !important;
        position: absolute !important;
    }
}
@media screen and (max-width: 500px) {
    #offer {
        width: 300px;
    }
    #offer h3 {
        font-size: 15px !important;
    }

    #offer .triangle {
        border-left: 150px solid transparent;
        border-right: 150px solid transparent;
    }
}
#offer_button {
    background: #329B58;
    border-radius: 50%;
    color: var(--white);
    font-size: 20px;
    margin: 8px 4px 6px 1px;
    padding: 3px 0 0 8px;
    position: fixed;
    top: -2px;
    z-index: 2147483646;
    cursor: pointer;
    width: 40px;
    height: 40px;
}
#offer_button.right {
    right: 5px;
}
/* OFFER - */

/* ЗАКАЗ - КОРЗИНА + */
#basket {
    position: fixed;
    bottom: 10px;
    right: 10px;
    width: 350px;
    max-width: 94%;
    max-height: 90vh;
    /*overflow: auto;*/

    /*display: flex;
    flex-direction: column;*/

    background: #FDFDFD;
    border: 1px solid var(--gray);
    transition: width 500ms 0ms ease-in-out, max-height 500ms 500ms ease-in-out, box-shadow 150ms linear;
    border-radius: 8px;
    padding: 2px 0;

    overflow: hidden;
    z-index: 10000;
}
#basket:hover {
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.28);
}
#basket > .title {
    text-align: center;
    font-weight: bold;
    cursor: pointer;
    margin-bottom: 5px;
}
#basket > .title:after {
    font-family: "Font Awesome 5 Free";
    content: "\f077";
    font-size: 16px;
    float: right;
    margin-right: 5px;
    margin-top: 2px;
    line-height: 23px;

    transform: rotate(0deg);
    transition: transform 550ms ease;
}
#basket.closed > .title:after {
    /*font-family: FontAwesome;
    content: "\f078";
    font-size: 16px;*/
    transform: rotate(-180deg);
    transition: transform 550ms ease;
}
#basket .html {
    display: flex;
    flex-direction: column;
    max-height: calc(80vh - 25px);
}
#basket .html .objects {
    display: block;
    height: 100%;
    overflow-x: hidden;
    padding: 0 8px;
}
#basket .form {
    max-height: calc(80vh - 25px);
    padding: 0 15px;
    overflow: auto;
}
/*#basket .form .form-check-input {
    margin-top: 0.4rem;
}*/
#basket .form .privacy {
    font-size: 14px;
}
#basket .form .privacy label {
    margin-bottom: 0;
}
#basket.closed {
    width: 250px;
    max-height: 32px;
    transition: width 300ms 1100ms ease-in-out, max-height 1000ms 0ms ease-in-out, border 300ms 0ms ease-in-out, box-shadow 150ms linear;
    border: 1px solid var(--gray);
}
#basket .objects,
#basket .html .info {
    opacity: 1;
    transition: opacity 1s ease-in-out;
}
#basket.closed .objects,
#basket.closed .html .info {
    opacity: 0;
    transition: opacity 1.0s ease-in-out;
}
#basket .html .info {
    padding: 0 8px;
    border-top: 1px solid var(--gray);
}
#basket .objects .object {
    border: 1px solid var(--gray);
    padding: 5px 5px;
    margin-bottom: 8px;
    background: var(--white);
    border-radius: 4px;
}
#basket .objects .object .title {
    float: right;
    font-weight: bold;
    text-align: right;
    width: calc(100% - 80px);
}
#basket .objects .object .image {
    float: left;
    width: 80px;
    max-height: 80px;
    overflow: hidden;
}
#basket .objects .object .image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
}
#basket .objects .object .price {
    float: left;
    line-height: 31px;
}
#basket .objects .object .tools {
    float: right;
}
#basket .objects .object .tools .ordered {
    background:  #000 !important;
    color: #fff !important;
}
#basket .form-group {
    margin-bottom: 0.3rem;
}
#basket_float {
    /*display: block;*/
    width: 250px;
    height: 250px;
    overflow: hidden;
    border: 1px solid #000;
    border-radius: 8px;
    position: absolute;
    background: var(--white);
    z-index: 10001;
}
#basket_float img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
/* ЗАКАЗ - КОРЗИНА - */

/* Меню снизу - типа звонка + */
.widget_messages {
    width: 250px;
    height: 250px;
    margin: 0;
    position: fixed;
    bottom: -175px;
    right: -175px;
    transition: all .4s ease-out .0s;
    z-index: 1010;
}
.widget_messages.open {
    bottom: 5px;
    right: 5px;
    transition: all .4s ease-out .0s;
}
.widget_messages .menu_circle {
    width: 250px;
    height: 250px;
    opacity: 0;
    transform: scale(0);
    transition: all .4s ease-in-out;
    /*background: rgba(76, 186, 219, .5);
    box-shadow: inset -2px -8px 30px 0px rgba(0, 0, 0, .3);*/
    background: rgba(73, 153, 73, .2);
    border: 1px solid rgba(73, 153, 73, .3);
    border-radius: 50%;
}
.widget_messages.open .menu_circle {
    display: flex;
    justify-content: center;
    opacity: 1;
    transform: scale(1);
    transition: all .4s ease-in-out;
}
.widget_messages .menu_circle a {
    text-decoration: none;
    color: white;
    height: 40px;
    width: 40px;
    line-height: 40px;
    margin-left: -20px;
    margin-top: -20px;
    position: absolute;

    display: flex;
    justify-content: center;
    align-items: center;

    font-size: 22px;
    background: var(--four);
    border-radius: 50%;
    text-shadow: 1px 3px #000;
    border: 1px solid var(--white);
}
.widget_messages .menu_circle a:hover {
    color: #eef;
}
.widget_messages .menu_button {
    position: absolute;
    top: 0;
    left: 0;
    /*top: calc(50% - 20px);
    left: calc(50% - 20px);*/
    text-decoration: none;
    text-align: center;
    color: #444;
    border-radius: 50%;
    display: block;
    height: 40px;
    width: 40px;
    line-height: 40px;
    padding: 10px;
    /*background: var(--white);*/
    transition: all 0.2s linear;
}
.widget_messages.open .menu_button {
    top: calc(50% - 20px);
    left: calc(50% - 20px);
    transition: all 0.2s linear;
}
.widget_messages .menu_button:hover {
    /*background-color: var(--white);*/
}
.widget_messages.open .menu_circle ~ .menu_button em,
.widget_messages.open .menu_circle ~ .menu_button u {
    display: none;
}
.widget_messages .menu_button em, .widget_messages .menu_button u, .widget_messages .menu_button span {
    display: block;
    position: absolute;
    border-radius: 100%;
    transform-origin: center center;
    transition: 0.5s
}
.widget_messages .menu_button em {
    width: 80px;
    height: 80px;
    top: -10px;
    left: -10px;
    border: 2px solid #93A8B2;
    opacity: 0.5;
    background: #f00;
    animation: widget_menu_anim1 1.2s infinite ease-in-out;
}
.widget_messages .menu_button u {
    width: 48px;
    height: 48px;
    top: 6px;
    left: 6px;
    text-decoration: none;
    background: #6E9AC1;
    opacity: 0.45;
    animation: widget_menu_anim2 2.3s infinite ease-in-out;
}
.widget_messages .menu_button span {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
    height: 30px;
    top: 15px;
    left: 15px;
    background: var(--four);
    opacity: 0.7;
    animation: widget_menu_anim3 2s infinite ease-in-out, widget_menu_bg_change 10s infinite;
    color: var(--white);
    font-size: 20px;
    cursor: pointer;
}
.widget_messages.open .menu_circle ~ .menu_button span {
    top: -6px;
    left: -6px;
    padding: 25px;
    font-size: 30px;
    animation: unset;
    border: 1px solid black;
}
.widget_messages.open .menu_circle .social_phone,
.widget_messages.open .menu_circle .social_mail
{
    background: var(--one);
}
.widget_messages.open .menu_circle .social_whatsapp {
    background: #29AD00;
}
.widget_messages.open .menu_circle .social_telegram {
    background: #2CA3E0;
}
.widget_messages.open .menu_circle .social_instagram {
    background: #C50364;
}
.widget_messages.open .menu_circle .social_vk {
    background: #4F7DB2;
}
.widget_messages.open .menu_circle .social_facebook {
    background: #4064AD;
}
.widget_messages.open .menu_circle .social_odnoklassniki {
    background: #F98B0E;
}
.widget_messages.open .menu_circle .social_viber {
    background: #734D93;
}
@keyframes widget_menu_anim1 {
    0% {
        transform: rotate(0deg) scale(0.5) skew(1deg);
        opacity: 0.1
    }
    30% {
        transform: rotate(0deg) scale(.7) skew(1deg);
        opacity: 0.5
    }
    100% {
        transform: rotate(0deg) scale(1) skew(1deg);
        opacity: 0.1
    }
}
@keyframes widget_menu_anim2 {
    0% {
        transform: rotate(0deg) scale(0.7) skew(1deg);
        opacity: 0.2
    }
    50% {
        transform: rotate(0deg) scale(1) skew(1deg);
        opacity: 0.2
    }
    100% {
        transform: rotate(0deg) scale(0.7) skew(1deg);
        opacity: 0.2
    }
}
@keyframes widget_menu_anim3 {
    0% {
        transform: rotate(0deg) scale(1) skew(1deg);
    }
    5% {
        transform: rotate(-15deg) scale(1) skew(1deg)
    }
    10% {
        transform: rotate(15deg) scale(1) skew(1deg)
    }
    100%, 20% {
        transform: rotate(0deg) scale(1) skew(1deg)
    }
}
@keyframes widget_menu_bg_change {
    0% {
        background: #A61919;
        color: #fff;
        font-size: 20px;
    }
    25% {
        background: #A65919;
        color: #fff;
        font-size: 14px;
    }
    50% {
        background: #0F6363;
        color: #fff;
        font-size: 16px;
    }
    75% {
        background: #148514;
        color: #fff;
        font-size: 18px;
    }
    100% {
        background: #fff;
        color: #000;
        font-size: 20px;
    }
}
/* Меню снизу - типа звонка - */