/* ================================================================================================================================================================== */
/* Основные стили */
/* ================================================================================================================================================================== */
:root {
    --color-primary: #444;
    --color-primary-hover: #222;
    --color-danger: #A22C16;
    --color-danger-hover: #832311;
    --color-success: #0f5132;
    --color-gray: #f4f4f4;
    --color-gray-hover: #777;
    --color-gray-border: #e5e5e5;
    --margin-block: 80px;
    --border-radius: 10px;
    --padding-item-border: 18px;
    --font-size-body: 15px;
    --font-size-ntitle: 25px;
    --bs-border-radius: var(--border-radius);
}

body {
    font-family: 'Montserrat', sans-serif;
    font-size: var(--font-size-body);
    line-height: 1.2;
    color: #000;
}

a, a:hover {
    color: var(--color-primary);
    text-decoration: none;
}

/* xxl */
@media (min-width: 1400px) {
    .container {
        max-width: 1330px;
    }
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
    :root {
        --margin-block: 50px;
    }
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    :root {
        --margin-block: 40px;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    :root {
        --margin-block: 30px;
        --border-radius: 6px;
        --font-size-ntitle: 20px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    :root {
        --margin-block: 30px;
        --border-radius: 6px;
        --font-size-ntitle: 22px;
    }
    body {
        font-size: 14px;
    }
}

/* xs */
@media (max-width: 575px) {
    :root {
        --margin-block: 40px;
        --border-radius: 6px;
        --font-size-ntitle: 22px;
    }

    body {
        padding-top: 46px;
        font-size: 14px;
    }

    .__jivoMobileButton {
        left: 2rem !important;
        bottom: .6rem !important;
        right: unset !important;
    }
}

/* ================================================================================================================================================================== */
/* Мобильное меню */
/* ================================================================================================================================================================== */
.navbar-brand {
    font-weight: 600;
    padding-top: unset;
    padding-bottom: unset;
    font-size: 17px;
    line-height: 1;
}

.navbar-toggler {
    padding-top: 0;
    padding-bottom: 0;
}

/* https://stackoverflow.com/a/64265878 */
.navbar-toggler span {
    display: block;
    background-color: #FFFFFF;
    height: 2px;
    width: 25px;
    margin-top: 6px;
    margin-bottom: 6px;
    position: relative;
    left: 0;
    opacity: 1;
    transition: all 0.2s ease-out;
    transform-origin: center left;
}

.navbar-toggler span:nth-child(1) {
    margin-top: 0.3em;
}

.navbar-toggler:not(.collapsed) span:nth-child(1) {
    transform: translate(15%, -33%) rotate(45deg);
}

.navbar-toggler:not(.collapsed) span:nth-child(2) {
    opacity: 0;
}

.navbar-toggler:not(.collapsed) span:nth-child(3) {
    transform: translate(15%, 33%) rotate(-45deg);
}

.navbar-toggler span:nth-child(1) {
    transform: translate(0%, 0%) rotate(0deg);
}

.navbar-toggler span:nth-child(2) {
    opacity: 1;
}

.navbar-toggler span:nth-child(3) {
    transform: translate(0%, 0%) rotate(0deg);
}

/* ================================================================================================================================================================== */
#menuPhone a {
    color: #FFFFFF;
}

#menuPhone > ul {
    border-top: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
    list-style-type: none;
    padding: 10px 0 10px 0;
    margin: 10px 0 20px 0;
    font-size: 20px;
}

#menuPhone > ul > li {
    margin: 10px 0;
}

#menuPhone > ul > li > a {
    font-weight: 600;
}

#menuPhone > ul > li > ul {
    list-style-type: none;
    padding: 0;
    margin: 15px 0 10px 20px;
    font-size: 18px;
}

#menuPhone > ul > li > ul > li {
    margin-bottom: 10px;
}

/* ================================================================================================================================================================== */
/* Шапка */
/* ================================================================================================================================================================== */
.row_top_vi {
    font-size: 13px;
    line-height: 1.1;
}

.row_top_phone {
    font-size: 18px;
    font-weight: 600;
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
    .row_top .logo img {
        width: 200px;
    }

    .row_top .logo2 img {
        width: 200px;
    }
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .row_top .logo img {
        width: 200px;
    }

    .row_top .logo2 img {
        width: 175px;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .row_top .logo img {
        width: 255px;
    }

    .row_top .logo2 img {
        width: 220px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .row_top .logo img {
        width: 275px;
    }

    .row_top .logo2 img {
        width: 190px;
    }
}

/* xs */
@media (max-width: 575px) {
    .row_top_phone svg {
        width: 22px;
        height: 22px;
    }
    
    .row_top_phone a {
        font-size: 20px;
    }
}

/* ================================================================================================================================================================== */
/* Верхнее меню */
/* ================================================================================================================================================================== */
.row_top_menu > .col > ul {
    margin: 0;
    padding: 0;
}

.row_top_menu > .col > ul > li {
    margin: 0;
    padding: 0;
    display: inline-block;
}

.row_top_menu > .col > ul > li > a {
    display: block;
    color: var(--color-primary);
    font-weight: 800;
    font-size: 20px;
    line-height: 1;
    text-transform: uppercase;
    padding: 18px 40px;
    border-radius: var(--border-radius);
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
}

.row_top_menu > .col > ul > li.dropdown > a {
    padding-right: 50px;
    border-radius: var(--border-radius) var(--border-radius) 0 0;
}

.row_top_menu > .col > ul > li.dropdown {
    background: url(/templates/Default/images/ico/arr.svg) right 10px center no-repeat;
}

.row_top_menu > .col > ul > li:hover > a {
    text-decoration: none;
    background-color: var(--color-primary);
    color: #FFF;
}

.row_top_menu > .col > ul > li > ul {
    position: absolute;
    z-index: 3;
    background-color: var(--color-primary);
    margin: 0;
    padding: 22px 30px;
    line-height: 1.9;
    border-radius: 0 var(--border-radius) var(--border-radius) var(--border-radius);
    font-weight: 500;
    font-size: 16px;
    visibility: hidden;
    opacity: 0;
    transition: visibility 0.2s, opacity 0.2s linear;
}

.row_top_menu > .col > ul > li > ul > li {
    display: block;
}

.row_top_menu > .col > ul > li > ul > li > a {
    color: #FFF;
    -webkit-transition: color 200ms linear;
    -ms-transition: color 200ms linear;
    transition: color 200ms linear;
    white-space: nowrap;
}

.row_top_menu > .col > ul > li > ul > li > a:hover {
    color: #CCC;
}

.row_top_menu > .col > ul > li:hover > ul {
    visibility: visible;
    opacity: 1;
}

/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
    .row_top_menu > .col > ul > li > a {
        padding: 15px 25px;
    }
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .row_top_menu > .col > ul > li > ul {
        line-height: 1.5;
    }

    .row_top_menu > .col > ul > li > a {
        padding: 13px 25px;
        font-size: 17px;
        font-weight: 700;
    }

    .row_top_menu > .col > ul > li > ul {
        padding: 12px 25px;
    }

    .row_top_menu > .col > ul > li > ul > li > a {
        font-size: 14px;
    }

    .row_top_menu > .col > ul > li.dropdown > a {
        padding-right: 30px;
    }

    .row_top_menu > .col > ul > li.dropdown {
        background-position: right 5px center;
    }
}


/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .row_top_menu > .col > ul > li > ul {
        line-height: 1.5;
    }

    .row_top_menu > .col > ul > li > a {
        padding: 10px 16px;
        font-size: 16px;
        font-weight: 700;
    }

    .row_top_menu > .col > ul > li > ul > li > a {
        font-size: 14px;
    }

    .row_top_menu > .col > ul > li.dropdown > a {
        padding-right: 30px;
    }

    .row_top_menu > .col > ul > li.dropdown {
        background-position: right 5px center;
    }

    .row_top_menu > .col > ul > li > ul {
        padding: 10px 16px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .row_top_menu > .col > ul {
        text-align: center;
    }

    .row_top_menu > .col > ul > li:last-child {
/*        display: none;*/
    }

    .row_top_menu > .col > ul > li > a {
        padding: 12px 20px;
        font-size: 16px;
        font-weight: 700;
    }

    .row_top_menu > .col > ul > li > ul {
        text-align: left;
        line-height: 1.5;
    }

    .row_top_menu > .col > ul > li > ul > li > a {
        font-size: 14px;
    }

    .row_top_menu > .col > ul > li.dropdown > a {
        padding-right: 30px;
    }

    .row_top_menu > .col > ul > li.dropdown {
        background-position: right 5px center;
    }

    .row_top_menu > .col > ul > li > ul {
        padding: 15px 20px;
    }
}

/* ================================================================================================================================================================== */
/* Карусель */
/* ================================================================================================================================================================== */
.carousel-inner {background-color: #f0edf1;}

.carousel-item {
    height: 740px;
    background-size: auto 100%;
    background-position: center;
    background-repeat: no-repeat;
}

.carousel_text {
    position: absolute;
    bottom: calc(var(--margin-block)*2);
    width: 100%;
}

.carousel_text .desc {
    font-size: 55px;
    font-weight: 800;
    margin-bottom: 50px;
    width: 50%;
    color: var(--color-primary);
    line-height: 1.1;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.carousel_text .desc span {
    color: var(--color-danger);
}

.carousel-control-next,
.carousel-control-prev {
    width: 5%;
}

.indicators_block {
    position: absolute;
    bottom: var(--margin-block);
    width: 100%;
}

.carousel-indicators {
    position: relative;
    justify-content: unset;
    margin-right: unset;
    margin-bottom: unset;
    margin-left: unset;
}

.carousel-indicators .active {
    opacity: 1;
    background-color: var(--color-danger);
}

.carousel-indicators [data-bs-target] {
    width: 90px;
    height: 5px;
    opacity: 1;
    border-radius: 3px;
    border-top: unset;
    border-bottom: unset;
}

.carousel-control-prev-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath d='M11.354 1.646a.5.5 0 0 1 0 .708L5.707 8l5.647 5.646a.5.5 0 0 1-.708.708l-6-6a.5.5 0 0 1 0-.708l6-6a.5.5 0 0 1 .708 0z'/%3e%3c/svg%3e");
}

.carousel-control-next-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23111'%3e%3cpath d='M4.646 1.646a.5.5 0 0 1 .708 0l6 6a.5.5 0 0 1 0 .708l-6 6a.5.5 0 0 1-.708-.708L10.293 8 4.646 2.354a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}


/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
    .carousel-item {
        height: 550px;
    }

    .carousel_text .desc {
        font-size: 45px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 3%;
    }    
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .carousel-item {
        height: 450px;
    }

    .carousel_text .desc {
        font-size: 32px;
        font-weight: 700;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 3%;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .carousel-item {
        height: 350px;
    }

    .carousel_text .desc {
        font-size: 26px;
        font-weight: 600;
    }

    .carousel-indicators [data-bs-target] {
        width: 50px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 3%;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .carousel-item {
        height: 350px;
    }

    .carousel_text .desc {
        font-size: 24px;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .carousel-indicators [data-bs-target] {
        width: 30px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        width: 3%;
    }
}

/* xs */
@media (max-width: 575px) {
    .carousel-item {
        height: 350px;
    }

    .carousel_text .desc {
        font-size: 20px;
        font-weight: 600;
        margin-bottom: 30px;
    }

    .carousel-indicators [data-bs-target] {
        width: 30px;
    }

    .carousel-control-next,
    .carousel-control-prev {
        display: none;
    }
}

/* ================================================================================================================================================================== */
/* Блоки на главной */
/* ================================================================================================================================================================== */
.row_main_block {
    padding-top: var(--margin-block);
    padding-bottom: var(--margin-block);
}

.main_blocks  >  .main_blocks_bg:nth-child(2n) {
    background-color: var(--color-gray);
    border-top: 1px solid var(--color-gray-border);
    border-bottom: 1px solid var(--color-gray-border);
}

/* ================================================================================================================================================================== */
/* Блоки-ссылки с фоновым изображением */
/* ================================================================================================================================================================== */
.block_img_link a.item {
    position: relative;
    display: block;
    width: 100%;
    height: 340px;
    padding: 30px;
    border-radius: var(--border-radius);
    overflow: hidden;
    transition: transform 0.25s;
    border: 1px solid var(--color-gray-border);
}

.block_img_link a.item .img {
    position: absolute;
    z-index: 1;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
}

.block_img_link a.item .img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
    transition: all .5s;
}

.block_img_link a.item:hover .img img {
    transform: scale(1.05);
}

.block_img_link a.item .text {
    position: relative;
    z-index: 2;
}

.block_img_link a.item .text .title {
    font-size: 36px;
    font-weight: 800;
}

.block_img_link a.item .text .desc {
    margin-top: 30px;
    color: #000;
    width: 50%;
    font-size: 16px;
}

.block_img_link a.item .link {
    position: absolute;
    z-index: 3;
    background-color: var(--color-danger);
    background-image: url(/templates/Default/images/ico/arr2.svg);
    background-repeat: no-repeat;
    background-position: center center;
    width: 60px;
    height: 60px;
    -webkit-transition: background-color 200ms linear;
    -ms-transition: background-color 200ms linear;
    transition: background-color 200ms linear;
    transition: all .5s;
    bottom: 30px;
}

.block_img_link a.item:hover .link {
    background-color: var(--color-danger-hover);
    transform: scale(1.1) rotateZ(-450deg);
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .block_img_link a.item {
        height: 315px;
    }

    .block_img_link a.item .text .title {
        font-size: 28px;
        font-weight: 700;
    }

    .block_img_link a.item .text .desc {
        font-size: 15px;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    
    .block_img_link a.item {
        height: 300px;
    }

    .block_img_link a.item .link {
        width: 50px;
        height: 50px;
    }

    .block_img_link a.item .text .title {
        font-size: 25px;
        font-weight: 600;
    }

    .block_img_link a.item .text .desc {
        font-size: 13px;
    }

    .block_img_link a.item .img img {
        object-position: -80px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .block_img_link a.item {
        height: 300px;
    }

    .block_img_link.col-md-6:nth-child(n+2) {
        margin-top: 24px;
    }

    .block_img_link a.item .link {
        width: 50px;
        height: 50px;
    }

    .block_img_link a.item .text .title {
        font-size: 25px;
        font-weight: 600;
    }

    .block_img_link a.item .text .desc {
        font-size: 15px;
    }
}

/* xs */
@media (max-width: 575px) {
    .block_img_link a.item {
        height: 300px;
    }

    .block_img_link.col-md-6:nth-child(n+2) {
        margin-top: 20px;
    }

    .block_img_link a.item .link {
        width: 50px;
        height: 50px;
    }

    .block_img_link a.item .text .title {
        font-size: 25px;
        font-weight: 600;
    }

    .block_img_link a.item .text .desc {
        font-size: 14px;
    }

    .block_img_link a.item .img img {
/*        object-position: -80px;*/
    }
}

/* ================================================================================================================================================================== */
/* Проверка ИНН */
/* ================================================================================================================================================================== */
.row_main_block_checkinn .input-group {
    margin-top: 10px;
}

.row_main_block_checkinn .input-group input[type="search"] {
    padding: 0.9rem 1.6rem;
    border-top-left-radius: var(--border-radius) !important;
    border-bottom-left-radius: var(--border-radius) !important;
    border: 1px solid var(--color-gray-border);
    z-index: 1;
    letter-spacing: 2px;
    font-weight: 600;
}

.row_main_block_checkinn .input-group input[type="search"]::placeholder {
    font-weight: 400;
    letter-spacing: 0;
}

.row_main_block_checkinn .input-group input[type="search"]:focus {
    box-shadow: unset;
    border: 1px solid var(--color-gray-border);
}

.row_main_block_checkinn .input-group button {
    border-top-right-radius: var(--border-radius) !important;
    border-bottom-right-radius: var(--border-radius) !important;
    padding-left: 50px;
    padding-right: 50px;
    font-weight: 500;
    /*    position: absolute;*/
    bottom: 0;
    top: 0;
    right: 0;
    z-index: 2;
}

.row_main_block_checkinn .desc {
    margin-top: 20px;
}

.row_main_block_checkinn .input-group input[type="search"]::-webkit-search-decoration,
.row_main_block_checkinn .input-group input[type="search"]::-webkit-search-cancel-button,
.row_main_block_checkinn .input-group input[type="search"]::-webkit-search-results-button,
.row_main_block_checkinn .input-group input[type="search"]::-webkit-search-results-decoration {
    -webkit-appearance: none;
}

/* xs */
@media (max-width: 575px) {
    .row_main_block_checkinn .input-group input[type="search"] {
        padding: 0.6rem 1.4rem;
    }

    .row_main_block_checkinn .input-group button {
        padding-left: 30px;
        padding-right: 30px;
    }
}

/* ================================================================================================================================================================== */
/* Калькулятор займа */
/* ================================================================================================================================================================== */
.row_main_block_calc .title {
    font-size: 17px;
    margin-top: 20px;
    margin-bottom: 10px;
}

.row_main_block_calc .calc_bg {
    background-color: var(--color-gray);
    padding: 25px 25px 15px 25px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-gray-border);
}

.row_calc_slider .row_calc_slider_desc {
    margin-top: 3px;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.row_calc_slider .calc_slider_result {
    font-weight: 600;
    font-size: 22px;
    margin: 10px 0 0 30px;
    -moz-user-select: none;
    -khtml-user-select: none;
    user-select: none;
}

.calc_right_bg {
    background-color: var(--color-gray);
    position: relative;
    padding: 35px;
    border-radius: var(--border-radius);
    border: 1px solid var(--color-gray-border);
}

.calc_right_bg .item {
    margin-bottom: 25px;
}

.calc_right_bg .item .desc {
    font-size: 15px;
    line-height: 1.1;
}

.calc_right_bg .item .number {
    font-size: 22px;
    font-weight: 700;
    line-height: 33px;
}

.calc_right_bg .calc_link {
    position: absolute;
    bottom: 35px;
    left: 35px;
    right: 35px;
}

.calc_right_bg .calc_link > div {
    margin-bottom: 25px;
}

.calc_right_bg .calc_link a.link {
    position: relative;
    display: inline-block;
    line-height: 1;
    color: var(--color-danger);
    font-weight: 500;
    padding-left: 25px;
}

.calc_right_bg .calc_link a.link > svg {
    position: absolute;
    left: 0;
}

.calc_right_bg .calc_link a.btn.btn-danger {
    width: 100%;
    margin-top: 10px;
}

#credit_calc_table_outer {
    color: #000;
}

tbody#credit_calc_table td {
    white-space: nowrap;
}

/* xs */
@media (max-width: 575px) {
    .table-responsive table.table tbody tr th.ps-0 {
        width: 100% !important;
        float: left;
        padding-right: 0;
        border-bottom: none;
        padding-bottom: 0;
    }

    .table-responsive table.table tbody tr td.pe-0 {
        width: 100% !important;
        float: left;
        padding-left: 0;
        padding-bottom: 15px;
        margin-bottom: 15px;
    }
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .row_main_block_calc .title {
        font-size: 16px;
    }

    .row_calc_slider .calc_slider_result {
        font-size: 19px;
        margin: 3px 0 0 15px;
    }

    .calc_right_bg .item .number {
        font-size: 19px;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .row_main_block_calc .title {
        font-size: 15px;
    }

    .row_calc_slider .calc_slider_result {
        font-size: 20px;
        margin: 10px 0 0 0;
        text-align: center;
    }
    .modal-dialog {
        max-width: 95%;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .row_main_block_calc .title {
        font-size: 15px;
    }

    .row_calc_slider .calc_slider_result {
        text-align: center;
        font-size: 19px;
        margin: 10px 0 0 0px;
    }

    .row_main_block_calc .calc_bg {
        padding: 15px 25px 10px 25px;
    }

    .calc_right_bg {
        padding: 20px;
    }

    .calc_right_bg .item .desc {
        font-size: 14px;
    }

    .calc_right_bg .item .number {
        font-size: 19px;
        font-weight: 600;
    }

    .calc_right_bg .calc_link {
        bottom: 20px;
        left: 20px;
        right: 20px;
    }

    .calc_right_bg .calc_link a.link svg {
        top: 2px;
    }

    .calc_right_bg .calc_link a.btn.btn-danger {
        padding: 10px;
    }

    .calc_right_bg .calc_link > div {
        margin-bottom: 15px;
    }
    .row_schedule_desc .btn {
        font-size: 13px;
    }
}

/* xs */
@media (max-width: 575px) {
    .row_main_block_calc .title {
        font-size: 15px;
    }

    .row_main_block_calc .calc_bg {
        padding: 15px 25px 10px 25px;
    }

    .calc_right_bg {
        padding: 20px;
    }

    .calc_right_bg .item .desc {
        font-size: 14px;
    }

    .calc_right_bg .item .number {
        font-size: 19px;
        font-weight: 600;
    }

    .calc_right_bg .calc_link {
        position: relative;
        bottom: unset;
        left: unset;
        right: unset;
    }

    .calc_right_bg .calc_link a.link svg {
        top: 2px;
    }

    .calc_right_bg .calc_link a.btn.btn-danger {
        padding: 10px;
    }

    .calc_right_bg .calc_link > div {
        margin-bottom: 15px;
    }

    .row_calc_slider .calc_slider_result {
        text-align: center;
        font-size: 19px;
        margin: 10px 0 0 0px;
    }
    .row_schedule_desc .btn {
        font-size: 13px;
    }
}

/* Switch */
.switch {
    position: relative;
    display: inline-block;
    width: 55px;
    height: 30px;
    vertical-align: middle;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.swich_text {
    padding-left: 8px;
    font-size: 15px;
}

.swich_text i.add_text {
    margin-left: 10px;
    font-style: normal;
    background-color: var(--color-gray);
    width: 24px;
    height: 24px;
    display: inline-block;
    text-align: center;
    line-height: 24px;
    font-weight: 800;
    border-radius: 20px;
    cursor: help;
}

/* Select2 */
.select2-container--bootstrap .select2-selection {
    border: 1px solid var(--color-danger);
}

.select2-container--bootstrap.select2-container--focus .select2-selection {
    border-color: var(--color-danger);
    -webkit-box-shadow: none;
    box-shadow: none;
}

.select2-container--bootstrap .select2-dropdown {
    border-color: var(--color-danger);
}

.select2-container--bootstrap .select2-results > .select2-results__options {
    max-height: 30em;
    font-size: 13px;
}

.select2-container--bootstrap .select2-results__option {
    padding: 8px 6px 8px 20px;
    cursor: pointer;
}

.select2-container--bootstrap .select2-results__option--highlighted[aria-selected] {
    background-color: var(--color-primary);
    color: #fff;
}

.select2-container--bootstrap.select2-container--focus .select2-selection,
.select2-container--bootstrap.select2-container--open .select2-selection {
    -webkit-box-shadow: none;
    box-shadow: none;
    border-color: var(--color-danger);
}

.select2-container--bootstrap .select2-results__option[aria-selected=true] {
    background-color: var(--color-danger);
    color: #fff;
}

.select2-container--bootstrap .select2-selection--single {
    height: 50px !important;
    font-size: 16px;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__rendered {
    line-height: 38px;
}

.select2-container .select2-selection--single .select2-selection__rendered {
    padding-left: 10px;
}

.select2-container--bootstrap .select2-selection--single .select2-selection__arrow b {
    top: 60%;
    border-color: unset;
    border-style: unset;
    border-width: unset;
    width: 24px;
    height: 24px;
    left: 50%;
    margin-left: -18px;
    margin-top: -18px;
    background-image: url(/templates/Default/images/ico/arr.svg);
}

/* ================================================================================================================================================================== */
/* Slider */
.slider_togle {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #000;
    -webkit-transition: .4s;
    transition: .4s;
}

.slider_togle:hover {
    background-color: #000;
}

.slider_togle:before {
    position: absolute;
    content: "";
    height: 24px;
    width: 24px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    -webkit-transition: .4s;
    transition: .4s;
}

input:checked+.slider_togle {
    background-color: var(--color-danger);
}

input:focus+.slider_togle {
    /*box-shadow: 0 0 1px #e05038;*/
}

input:checked+.slider_togle:before {
    -webkit-transform: translateX(25px);
    -ms-transform: translateX(25px);
    transform: translateX(25px);
}

/* Rounded sliders */
.slider_togle.round {
    border-radius: 22px;
}

.slider_togle.round:before {
    border-radius: 50%;
}

.slider.slider-horizontal {
    width: 100%;
    height: 26px;
}

.slider-handle {
    width: 26px;
    height: 26px;
    background-color: var(--color-danger);
    background-image: none;
    box-shadow: none;
    cursor: pointer;
}

.slider.slider-horizontal .slider-track {
    height: 6px;
    margin-top: -3px;
    box-shadow: none;
    background-color: #FFF;
    background-image: none;
}

.slider-selection {
    background-color: var(--color-danger);
    background-image: none;
    border-radius: 4px;
}

.slider.slider-disabled .slider-handle {
    background-image: unset;
    background-image: unset;
    background-image: unset;
    background-color: var(--color-gray-hover);
    background-repeat: unset filter: unset;
}

/* ================================================================================================================================================================== */
.tooltip.show {
    opacity: 1;
}

.tooltip-inner {
    max-width: 320px;
    background-color: var(--color-primary);
    line-height: 1.2;
    padding: 10px 20px;
    text-align: left;
}

.bs-tooltip-auto[data-popper-placement^=top] .tooltip-arrow::before,
.bs-tooltip-top .tooltip-arrow::before {
    border-top-color: var(--color-primary);
}

.bs-tooltip-auto[data-popper-placement^=right] .tooltip-arrow::before,
.bs-tooltip-right .tooltip-arrow::before {
    border-right-color: var(--color-primary);
}

/* ================================================================================================================================================================== */
/* Универсальный блок  */
/* ================================================================================================================================================================== */
.block .item {
    display: block;
    height: 100%;
    background-color: #FFF;
    color: #000;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius);
    -webkit-transition: background-color 500ms linear;
    -ms-transition: background-color 500ms linear;
    transition: background-color 500ms linear;

}

.block a.item:hover {
    background: var(--color-gray-border);
}

.block .item .img {
    overflow: hidden;
    position: relative;
    border-top-right-radius: var(--border-radius);
    border-top-left-radius: var(--border-radius);
}

.block a.item .img {
    height: 230px;
}

.block a.item .img.ico {
    height: 180px;
}

.block a.item .img.ico {
    display: flex;
    align-items: center;
    justify-content: center;
}

.block .item .img.ico span {
    font-size: 120px;
    color: var(--color-danger);
    -webkit-transition: all 500ms;
    -ms-transition: all 500ms;
    transition: all 500ms;
    opacity: 1;
    z-index: 1;
}

.block .item .img img {
    object-fit: cover;
    object-position: center center;
    height: 100%;
    width: 100%;
    -webkit-transition: all 500ms;
    -ms-transition: all 500ms;
    transition: all 500ms;
    opacity: 1;
    z-index: 1;
}

.block a.item:hover .img img,
.block a.item:hover .img span {
    transform: scale(1.1);
    transform-origin: bottom center;
    opacity: 0.7;
}

.block a.item .img:before {
    opacity: 0;
    position: absolute;
    z-index: 2;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    content: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='80' height='80' fill='%23FFF' class='bi bi-eye-fill' viewBox='0 0 16 16'%3E%3Cpath d='M10.5 8a2.5 2.5 0 1 1-5 0 2.5 2.5 0 0 1 5 0z'/%3E%3Cpath d='M0 8s3-5.5 8-5.5S16 8 16 8s-3 5.5-8 5.5S0 8 0 8zm8 3.5a3.5 3.5 0 1 0 0-7 3.5 3.5 0 0 0 0 7z'/%3E%3C/svg%3E");
    width: 80px;
    height: 80px;
    -webkit-transition: opacity .5s ease-in-out;
    -ms-transition: opacity .5s ease-in-out;
    transition: opacity .5s ease-in-out;
}

.block .item:hover .img:before {
    filter: alpha(opacity=100);
    opacity: 1;
}

.block .item .info {
    padding: var(--padding-item-border);
}

.block .item .info .date {}

.block .item .info .title {
    font-size: calc(var(--font-size-ntitle) * 0.75);
    font-weight: 600;
}

.block .item .info .post {
    font-size: calc(var(--font-size-body) - 1px);
    font-weight: 600;
}

.block .item .info .desc {
    font-size: calc(var(--font-size-body) - 1px);
}

.block .item .info .text {}

/* xl */
@media (min-width: 1200px) and (max-width: 1399px) {
    .block a.item .img {
        height: 200px;
    }
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    body:not(.inner) .row_main_block_last_news > .block:nth-child(4) {
        display: none;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .block a.item .img {
        height: 220px;
    }
    .block .item .info .title {
        font-size: calc(var(--font-size-ntitle) * 0.9);
    }
    body:not(.inner) .row_main_block_last_news > .block:nth-child(n+3) {
        display: none;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .block a.item .img {
        height: 220px;
    }

    .block .item .info .title {
        font-size: calc(var(--font-size-ntitle) * 0.85);
    }
    body:not(.inner) .row_main_block_last_news > .block:nth-child(n+3) {
        display: none;
    }
}

/* xs */
@media (max-width: 575px) {
    .block a.item .img {
        height: 200px;
    }

    .block a.item .img img {
        width: 100%;
    }

    .block .item .info .title {
        font-size: calc(var(--font-size-ntitle) * 0.85);
    }
    body:not(.inner) .row_main_block_last_news > .block:nth-child(n+3) {
        display: none;
    }
}

/* ================================================================================================================================================================== */
/* Партнеры  */
/* ================================================================================================================================================================== */
.row_main_block_partners {}

.row_main_block_partners .item {
    display: inline-block;
    overflow: hidden;
    border: 1px solid var(--color-gray);
    border-radius: var(--border-radius);
    -webkit-transition: border-color 100ms linear;
    -ms-transition: border-color 100ms linear;
    transition: border-color 100ms linear;
}

.row_main_block_partners .item:hover {
    border: 1px solid var(--color-gray-hover);
    background-color: var(--color-primary);
}

.row_main_block_partners .item img {
    -webkit-transition: all .3s;
    -ms-transition: all .3s;
    transition: all .3s;
}

.row_main_block_partners .item:hover img {
    transform: scale(1.05);
    opacity: 0.9;
}

/* ================================================================================================================================================================== */
/* Подвал */
/* ================================================================================================================================================================== */
.bg_footer {
    background-color: var(--color-primary);
    color: #FFF;
}

.bg_footer a {
    color: #FFF;
}

.bg_footer .bg-white a {
    color: var(--color-primary);
}

.row_main_block_footer {}

.row_main_block_footer ul {
    margin: 0;
    padding: 0;
}

.row_main_block_footer ul > li {
    display: block;
}

.row_main_block_footer ul > li > a {
    display: inline-block;
    font-size: 19px;
    font-weight: 700;
    text-transform: uppercase;
    margin-bottom: 15px;
}

.row_main_block_footer ul > li > ul {
    margin: 0 0 20px 0;
    padding: 0;
}

.row_main_block_footer ul > li > ul > li {
    display: block;
}

.row_main_block_footer ul > li > ul > li > a {
    color: #DDD;
    font-size: 16px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: 500;
    text-transform: unset;
}

.row_main_block_footer .title {
    font-size: 19px;
    font-weight: 700;
}

.row_main_block_footer .text {
    margin-top: 15px;
    margin-bottom: 15px;
    font-size: 13px;
}

.row_main_block_footer .links {
    font-size: 13px;
}

.row_main_block_footer .links a {
    display: inline-block;
    margin-right: 30px;
    margin-bottom: 10px;
}

.row_main_block_footer .links a:last-child {
    margin-right: unset;
}

.row_main_block_footer a[href^="/contacts/"] > span {
    display: block;
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .row_main_block_footer ul > li > a {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .row_main_block_footer ul > li > ul > li > a {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .row_main_block_footer ul > li > a {
        font-size: 17px;
        margin-bottom: 10px;
    }

    .row_main_block_footer ul > li > ul > li > a {
        font-size: 15px;
        margin-bottom: 10px;
    }
}

/* xs */
@media (max-width: 575px) {
    .row_main_block_footer ul > li > a {
        font-size: 18px;
        margin-bottom: 10px;
        font-weight: 600;
    }

    .row_main_block_footer ul > li > ul > li > a {
        font-size: 14px;
        margin-bottom: 8px;
    }

    .row_main_block_footer .title {
        font-size: 14px;
        font-weight: 600;
    }

    .row_main_block_footer .text {
        font-size: 12px;
    }
}

/* ================================================================================================================================================================== */
#check-inn-error {
    margin-top: 15px;
    border: 2px solid var(--color-danger);
    border-radius: var(--border-radius);
    padding: 0.9rem 1.6rem;
    background-color: #ffffff;
    color: #000;
    text-align: center;
}

#check-inn-success {
    margin-top: 15px;
    border: 1px solid var(--color-gray-border);
    border-radius: var(--border-radius);
    padding: 1.6rem;
    background-color: #ffffff;
    color: #000;
}

.row_check_inn .line {
    border-bottom: 1px solid #DDD;
}

.row_check_inn .alert {
    /*    -webkit-transition: all 500ms;
    -ms-transition: all 500ms;
    transition: all 500ms;*/
}

/* ================================================================================================================================================================== */
#map {
    height: 100%;
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    #map {
        height: 400px;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    #map {
        height: 400px;
    }
}

/* xs */
@media (max-width: 575px) {
    #map {
        height: 400px;
    }
}

/* ================================================================================================================================================================== */
/* Заголовок новости */
/* ================================================================================================================================================================== */
.ntitle {
    font-size: var(--font-size-ntitle);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-primary);
}

/* ================================================================================================================================================================== */
.row_content {
    margin-top: calc(var(--margin-block) - 24px);
    margin-bottom: var(--margin-block);
}

.col_news .news {
    line-height: 1.4;
    margin-top: 30px;
}

.col_news .news .news_text a:not(.btn) {
    text-decoration: underline;
}

.col_news .news .news_text h6 {
    font-size: unset;
    font-weight: 600;
    color: var(--color-danger);
    margin-bottom: 0;
}

.col_news .full_link {
    text-align: right;
}

.row_content .col_news:not(:last-child) .full_link {
    border-bottom: 1px solid var(--color-gray-border);
    margin-bottom: calc(var(--margin-block) / 2);
    padding-bottom: calc(var(--margin-block) / 2);
}

/* ================================================================================================================================================================== */
.bg_speedbar {
    background-color: var(--color-primary);
    border-top: 1px solid var(--color-primary-hover);
    border-bottom: 1px solid var(--color-primary-hover);
    position: relative;
}

.speedbar {
    font-size: 13px;
    margin-top: calc(var(--margin-block) / 6.5);
    margin-bottom: calc(var(--margin-block) / 6.5);
    color: #EEE;
    position: relative;
    z-index: 2;
    display: inline-block;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 10px;
    background-color: var(--color-primary);
}

.speedbar a {
    color: #EEE;
}

/* ================================================================================================================================================================== */
#particles-js {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: 50% 50%;
    position: absolute;
    top: 0px;
    z-index: 1;
}

@media (max-width: 575px) {
    #particles-js {
        display: none;
    }
}

/* ================================================================================================================================================================== */
.news_promo_img {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 461px;
}

.news_promo_img img {
    position: absolute;
}

.news_promo_img b {
    font-size: 50px;
    mix-blend-mode: overlay;
    text-transform: uppercase;
}

/* ================================================================================================================================================================== */
.attachment {
    display: inline-block;
    padding-left: 55px;
    position: relative;
    margin-bottom: 30px;
    margin-right: 30px;

}

.attachment a.link {
    display: block;
    line-height: 1.1;
    text-align: left;
    font-weight: 500;
}

.attachment .size {
    font-size: 13px;
    line-height: 1;
    margin-top: 5px;
}

.attachment .size span.count {
    font-size: 13px;
}

.attachment a.link_online {
    font-size: 14px;
}

.attachment:before {
    content: "";
    position: absolute;
    top: 3px;
    left: 0;
    display: block;
    width: 40px;
    height: 40px;
    background: url(/templates/Default/images/types.svg) 0 -84px no-repeat;
}

.attachment.doc:before,
.attachment.docx:before {
    background-position: -42px 0;
}

.attachment.png:before {
    background-position: -84px -84px;
}

.attachment.rtf:before {
    background-position: 0 -42px;
}

.attachment.txt:before {
    background-position: -42px -84px;
}

.attachment.pdf:before {
    background-position: 0 0;
}

.attachment.xls:before,
.attachment.xlsx:before {
    background-position: -84px 0;
}

.attachment.jpg:before {
    background-position: -42px -42px;
}

.attachment.ppt:before,
.attachment.pptx:before {
    background-position: -84px -126px;
}

.attachment.zip:before {
    background-position: -84px -42px;
}

/* ================================================================================================================================================================== */
.xfieldimagegallery.gallery {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    list-style-type: none;
    margin: calc(var(--margin-block) / 1.5) 0 0 0;
    padding: 0;
    gap: 20px;
}

.xfieldimagegallery.gallery li {
    flex: 1 0 21%;
}

.xfieldimagegallery.gallery li img {
    max-width: 100%;
    height: auto;
    border-radius: var(--border-radius);
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .xfieldimagegallery.gallery li {
        flex: 1 0 21%;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .xfieldimagegallery.gallery li {
        flex: 1 0 26%;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .xfieldimagegallery.gallery li {
        flex: 1 0 35%;
    }
}

/* xs */
@media (max-width: 575px) {
    .xfieldimagegallery.gallery {
        gap: 10px;
    }
    .xfieldimagegallery.gallery li {
        flex: 1 0 35%;
    }
}

.highslide-wrapper, .highslide-outline { background: #fff }
    .highslide-image { border: 2px solid #fff }
    .highslide-active-anchor { visibility: hidden } 
    .highslide-active-anchor img { visibility: hidden }
    .highslide-dimming { background-color: black }
    .highslide-html { background-color: white }
    .highslide-loading { display: block; color: white; font-size: 9px; font-weight: bold; text-decoration: none; padding: 3px; border: 1px solid white; background-color: black }
    a.highslide-full-expand { background: url(/templates/Default/dleimages/fullexpand.gif) no-repeat; display: block; margin: 0 10px 10px 0; width: 34px; height: 34px }
    .highslide-display-block { display: block }
    .highslide-display-none { display: none }
    .highslide-caption { display: none; padding: 5px; background: white }
    .highslide-controls { width: 195px; height: 40px; background: url(/engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 0 -90px; margin-right: 15px; margin-bottom: 10px; margin-top: 10px }
    .highslide-controls ul { position: relative; left: 15px; height: 40px; list-style: none; margin: 0; padding: 0; background: url(/engine/classes/highslide/graphics/controlbar-black-border.gif) no-repeat 100% -90px }
    .highslide-controls li { float: left; padding: 5px 0; }
    .highslide-controls a { background: url(/engine/classes/highslide/graphics/controlbar-black-border.gif); display: block; float: left; height: 30px; width: 30px; outline: none }
    .highslide-controls a.disabled { cursor: default }
    .highslide-controls a span { display: none }
 
.highslide-controls .highslide-previous a { background-position: 0 0 }
    .highslide-controls .highslide-previous a:hover { background-position: 0 -30px }
    .highslide-controls .highslide-previous a.disabled { background-position: 0 -60px !important }
    .highslide-controls .highslide-play a { background-position: -30px 0 }
    .highslide-controls .highslide-play a:hover { background-position: -30px -30px }
    .highslide-controls .highslide-play a.disabled { background-position: -30px -60px !important }
    .highslide-controls .highslide-pause a { background-position: -60px 0 }
    .highslide-controls .highslide-pause a:hover { background-position: -60px -30px }
    .highslide-controls .highslide-next a { background-position: -90px 0 }
    .highslide-controls .highslide-next a:hover { background-position: -90px -30px }
    .highslide-controls .highslide-next a.disabled { background-position: -90px -60px !important }
    .highslide-controls .highslide-move a { background-position: -120px 0 }
    .highslide-controls .highslide-move a:hover { background-position: -120px -30px }
    .highslide-controls .highslide-full-expand a { background-position: -150px 0 }
    .highslide-controls .highslide-full-expand a:hover { background-position: -150px -30px }
    .highslide-controls .highslide-full-expand a.disabled { background-position: -150px -60px !important }
    .highslide-controls .highslide-close a { background-position: -180px 0 }
    .highslide-controls .highslide-close a:hover { background-position: -180px -30px }


/* ================================================================================================================================================================== */
.btn-lg {
    font-size: 15px;
    text-transform: uppercase;
    font-weight: 700;
    border-radius: var(--border-radius);
    padding: 16px 35px;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: var(--color-danger);
    --bs-btn-border-color: var(--color-danger);
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: var(--color-danger-hover);
    --bs-btn-hover-border-color: var(--color-danger-hover);
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: var(--color-danger-hover);
    --bs-btn-active-border-color: var(--color-danger-hover);
    --bs-btn-active-shadow: inset 0 3px 5pxrgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: #dc3545;
    --bs-btn-disabled-border-color: #dc3545;
}

.btn-light {
    --bs-btn-color: #FFF;
    --bs-btn-bg: transparent;
    --bs-btn-border-color: #f8f9fa;
    --bs-btn-hover-color: #000;
    --bs-btn-hover-bg: #FFF;
    --bs-btn-hover-border-color: #FFF;
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c6c7c8;
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: #f8f9fa;
    --bs-btn-disabled-border-color: #f8f9fa;
}

.btn-primary {
    --bs-btn-color: #FFF;
    --bs-btn-bg: var(--color-primary);
    --bs-btn-border-color: var(--color-primary);
    --bs-btn-hover-color: #FFF;
    --bs-btn-hover-bg: var(--color-primary-hover);
    --bs-btn-hover-border-color: var(--color-primary-hover);
    --bs-btn-focus-shadow-rgb: 211, 212, 213;
    --bs-btn-active-color: #000;
    --bs-btn-active-bg: #c6c7c8;
    --bs-btn-active-border-color: #babbbc;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;
    --bs-btn-disabled-bg: var(--color-primary);
    --bs-btn-disabled-border-color: var(--color-primary);
}

/* lg */
@media (min-width: 992px) and (max-width: 1199px) {
    .btn-lg {
        padding: 14px 30px;
    }
}

/* md */
@media (min-width: 768px) and (max-width: 991px) {
    .btn-lg {
        padding: 12px 25px;
        font-size: 13px;
        font-weight: 600;
    }
}

/* sm */
@media (min-width: 576px) and (max-width: 767px) {
    .btn-lg {
        padding: 10px 20px;
        font-size: 13px;
        font-weight: 600;
    }
}

/* xs */
@media (max-width: 575px) {
    .btn-lg {
        padding: 8px 18px;
        font-size: 12px;
        font-weight: 600;
    }
}

/* ================================================================================================================================================================== */
/* Таблицы в новости */
table.news {
    padding: 3px;
    border-spacing: 10px;
    border-collapse: collapse;
    border: 1px solid #999999;
}

table.news th {
    padding: 10px;
    border-width: 1px;
    border-style: inset;
    border-color: #999999;
}

table.news td {
    padding: 10px;
    border-width: 1px;
    border-style: inset;
    border-color: #999999;
}

/* ================================================================================================================================================================== */
/* Навигация */
.navigation {
    border: 0px;
    padding-top: 10px;
    padding-bottom: 10px;
    text-align: center;
    font-size: 12px;
}

.navigation a:link,
.navigation a:visited,
.navigation a:hover,
.navigation a:active {
    text-decoration: none;
    color: #FFF;
    background-color: var(--color-primary);
    padding: 7px 15px;
}

.navigation a:hover {
    color: #FFF;
    background-color: var(--color-primary-hover);
}

.navigation span {
    text-decoration: none;
    color: #000;
    padding: 7px 15px;
    background-color: var(--color-gray);
}

/* ================================================================================================================================================================== */
.go-top {
    display: none;
    right: 2em;
    bottom: 2em;
    padding: 1em;
    color: #FFFFFF;
    position: fixed;
    text-decoration: none;
    border: 2px solid #FFF;
    border-radius: var(--border-radius);
    background-color: var(--color-primary);
    z-index: 899;
}

.go-top:hover {
    cursor: pointer;
    background-color: var(--color-primary-hover);
}

body.modal-open .go-top {
    display: none !important;
}

/* ================================================================================================================================================================== */
.link_request {
    position: fixed;
    left: 2em;
    bottom: 2em;
    border: 2px solid #FFF;
    border-radius: 100%;
    background: var(--color-danger);
    box-shadow: 0 0 30px 0 rgba(162, 44, 22, 0.2);
    z-index: 903;
}

.link_request .link_request_block {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    width: 66px;
    height: 66px;
    -webkit-animation: wrapAnimation 10s infinite;
    animation: wrapAnimation 10s infinite;
    transform-style: preserve-3d;
}

.link_request .link_request_block::after,
.link_request .link_request_block::before {
    box-sizing: unset;
    opacity: 0;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    position: absolute;
    top: -8px;
    left: -8px;
    right: 0;
    bottom: 0;
    content: "";
    height: 100%;
    width: 100%;
    border: 8px solid rgba(162, 44, 22, 0.5);
    border-radius: 100%;
    -webkit-animation-name: ripple;
    animation-name: ripple;
    -webkit-animation-duration: 3s;
    animation-duration: 3s;
    -webkit-animation-iteration-count: infinite;
    animation-iteration-count: infinite;
    -webkit-animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
    animation-timing-function: cubic-bezier(0.65, 0, 0.34, 1);
    z-index: 902;
}

.link_request .link_request_block::after {
    -webkit-animation-delay: 0s;
    animation-delay: 0s;
}

.link_request .link_request_block::before {
    -webkit-animation-delay: 0.5s;
    animation-delay: 0.5s;
}

.link_request .link_request_block svg {
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    margin: auto !important;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
    transform-style: preserve-3d;
    visibility: visible;
}

.link_request .link_request_block svg.ico1 {
    transform: rotateY(180deg);
}

.link_request .link_request_block svg.ico2 {
    transform: rotateY(0deg);
}

@-webkit-keyframes wrapAnimation {
    0%,
    83.3% {
        transform: rotateY(0deg);
    }
    86%,
    98.1% {
        transform: rotateY(180deg);
    }
    to {
        transform: rotateY(0deg);
    }
}

@keyframes wrapAnimation {
    0%,
    83.3% {
        transform: rotateY(0deg);
    }
    86%,
    98.1% {
        transform: rotateY(180deg);
    }
    to {
        transform: rotateY(0deg);
    }
}

@-webkit-keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(0.75, 0.75, 1);
    }
    to {
        opacity: 0;
        transform: scale3d(1.5, 1.5, 1);
    }
}

@keyframes ripple {
    from {
        opacity: 1;
        transform: scale3d(0.75, 0.75, 1);
    }
    to {
        opacity: 0;
        transform: scale3d(1.5, 1.5, 1);
    }
}

/* ================================================================================================================================================================== */
/*
 * Bootstrap Cookie Alert by Wruczek
 * https://github.com/Wruczek/Bootstrap-Cookie-Alert
 * Released under MIT license
 */
.cookiealert {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    margin: 0 !important;
    z-index: 900;
    opacity: 0;
    visibility: hidden;
    transform: translateY(100%);
    transition: all 500ms ease-out;
    padding-top: 15px;
    padding-bottom: 15px;
}

.cookiealert_bg {
    background-color: var(--color-primary);
    padding: 20px 20px;
    border-radius: var(--border-radius);
    border: 2px solid #FFF;
    margin-left: -2px;
    margin-right: -2px;    
    color: #FFF;
    font-size: 13px;
    line-height: 1.2;
}

.cookiealert.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0%);
    transition-delay: 1000ms;
}

.cookiealert a {
    text-decoration: underline
}

.cookiealert .acceptcookies {
/*    margin-left: 10px;*/
    vertical-align: baseline;
    background-color: #fff;
    color: #000;
    font-weight: 600;
}

/* ================================================================================================================================================================== */
#loading-layer { background: #000; padding: 20px; text-align: center; color: #fff; border-radius: 2px }
.image-bordered {
    border: 1px solid #ddd;
}
.image-shadows {
    box-shadow: rgb(9 30 66 / 25%) 0px 4px 8px -2px, rgb(9 30 66 / 8%) 0px 0px 0px 1px;
}
.image-padded {
    padding: 0.5rem;
}
/* ================================================================================================================================================================== */