
strong {
    font-weight: 600;
    font-style: italic;
}

header.navbar_cabinet_header .nav-link {
    font-weight: 600;
    font-size: 14px;
    letter-spacing: -0.05em;
    text-transform: uppercase;
    color: #333333;

}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.fade_in_element {
    animation: fadeIn .6s; /* Adjust the duration as needed */
}

.cabinet_header_logout,
header.navbar_cabinet_header .nav-link {
    margin-left: 30px;
}

.cabinet h2, .cabinet_h2 {
    font-weight: 700;
    font-size: 19px;
    line-height: 25px;
    letter-spacing: 0.03em;
}

.cabinet label {
    user-select: none;
    cursor: pointer;
}

/*.edoc_required{*/
/*    border-color: #f29e2d!important;*/
/*}*/

.edoc_required .has-star:not(.custom-control-label):not(.custom-file-label)::after, .is-required::after {
    content: "*";
    margin-left: 3px;
    font-weight: normal;
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    color: #d42d0f;
}

.cabinet {
    accent-color: var(--msb-green2);
}

.btn_cabinet {
    background-color: var(--msb-green2);
    text-transform: uppercase;
    font-weight: 600;
    font-size: 10px;
    letter-spacing: 0.1em;
    border-radius: 5px;
    /*height: 38px;*/
    color: white;
    min-width: 170px;
}


.btn_cabinet__secondary {
    background-color: #E5E5E5;
    color: #000;

}

.cabinet_fintabs {
    border-top: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
    border-bottom: 1px solid #e5e5e5;
    border-bottom-left-radius: 5px;
    border-bottom-right-radius: 5px;
    border-top-right-radius: 5px;

    font-weight: 700;
    font-size: 14px;
    line-height: 107%;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    text-align: center;
    color: rgba(51, 51, 51, 0.5);
}

.cabinet_fintabs > div {
    padding: 15px;
}

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

.btn_anketa {
    margin-right: 10px;
    padding: 7px 15px;
    display: inline-block;
    border: 1px solid #e5e5e5;
    border-radius: 20px;
    background: rgba(241, 237, 230, 0.5);

    font-weight: 600;
    font-size: 14px;
    letter-spacing: 0.02em;
    color: #333;
    transition: all .3s;
}

.btn_anketa__next {
    background: rgb(7 74 74);
    /* background: url(/image/design/cabinet/btn_bg.jpg); */
    /*background-size: cover;*/
    box-shadow: 1px 2px 2px 0 rgba(0, 0, 0, 0.3);
    border: 1px inset #fff;

    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: #fff !important;
    text-transform: uppercase;
    min-width: 200px;
}

.cabinet_green_table {
    color: #fff !important;
    background: rgba(24, 108, 55, 0.54);
    background: url('/image/design/cabinet/btn_bg.jpg');
    background-size: cover;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);*/
    border-radius: 30px;
    padding: 10px;
    font-size: 12px;
    text-transform: uppercase;
}

.cabinet_green_table th {
    padding-top: 7px;
    padding-bottom: 7px;
    padding-right: 15px;
}

.cabinet_green_label {
    color: #fff !important;
    background: rgba(24, 108, 55, 0.54);
    background: url('/image/design/cabinet/btn_bg.jpg');
    background-size: cover;
    /*box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);*/
    border: 1px solid #fff;
    border-radius: 30px;
    font-size: 12px;
    text-transform: uppercase;
    padding: 5px 10px;
    text-align: center;
    min-width: 200px;
    display: inline-block;
}

.cabinet_green_label__short {
    min-width: initial;
    padding-left: 20px;
    padding-right: 20px;
}

.cabinet_green_label__warn {
    background: darkred;
    background: url('/image/design/bg_red_small.jpg');
    background-size: cover;
}

.btn_anketa__second {
    background: white !important;
    background: none;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(24, 108, 55, 0.54);
    border-radius: 10px;
    padding-left: 20px;
    padding-right: 20px;
    color: #5E6262;
    text-transform: uppercase;
    min-width: 200px;
}


.btn_anketa__next:link,
.btn_anketa__next:visited {
    color: #fff !important;
}

.btn_anketa__next:hover {
    /*background-size: 200%;*/
}

.btn_anketa > b {
    color: #254e5a;
}

.btn_anketa:link,
.btn_anketa:visited {
    color: #333;
}

.btn_anketa:hover {
    /*background: rgba(222, 221, 218, 0.5);*/
    /*border: 1px solid #c7c7c7;*/
    box-shadow: none;

}

/*.btn_anketa_top_wrap {*/
/*    text-align: right;*/
/*    position: relative;*/
/*    top: -20px;*/
/*    z-index: 100;*/
/*}*/

.navbar_cabinet {
    display: block;
    left: 155px;
    top: 39px;
    color: white;
    background: rgba(102, 25, 163, 0.78);
    background: url('/image/design/cabinet/bg_red.jpg');
    background-size: cover;
    border-radius: 20px;
    font-weight: 600;
    font-size: 14px;
    margin-top: 13px;
    /*line-height: 9px;*/
}

.navbar_cabinet:link, .navbar_cabinet:visited {
    color: white;
}

.navbar_cabinet_header {
    background: #F1EDE680;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.cabinet_addcompany {
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;

    color: #000000;
    background: rgba(241, 237, 230, 0.5);
    border: 1px solid #E5E5E5;
}

.cabinet_addcompany_btn {
    border: 1px solid #864AB4;
    border-radius: 5px;
    padding: 20px 10px;
    display: block;
    font-weight: 600;
    font-size: 10px;
    /*line-height: 15px;*/
    text-align: center;
    letter-spacing: 0.1em;
    text-transform: uppercase;
    transition: .3s all;
    color: #864AB4;
    width: 100%;
    background: rgba(241, 237, 230, 0.5);
}

.cabinet_addcompany_btn:hover {
    background: rgba(245, 234, 217, 0.5);
}

.cabinet_addcompany_btn:link, .cabinet_addcompany_btn:visited {
    color: #864AB4;
}

.cabinet_banners img {
    width: 100%;
    /*height: 216px;*/
    margin-bottom: 24px;
}


.cabinet_addcompany_modal_title {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 18px;
    line-height: 15px;
    /* or 83% */

    text-align: center;
    letter-spacing: 0.03em;

    color: #000000;
}

.cabinet_addcompany_modal_title__change {
    text-align: left;
    margin-left: 20px;
}

.cabinet_addcompany_modal_header {
    position: relative;
    padding-top: 35px;
}

.cabinet_addcompany_modal_close {
    float: none;
    position: absolute;
    right: 32px;
    top: 30px;
    color: #1CA263;
    opacity: 1;
}


.cabinet_addcompany_modal_download_text {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    letter-spacing: 0.03em;
    color: #333333;

}

.cabinet_addcompany_modal_body {
    font-weight: 400;
    font-size: 14px;
    color: #333333;
}

.cabinet_pay_peni {
    margin-right: 19px;
    padding: 3px 22px;
    background: #E4E4E4;
    /*font-weight: bold;*/
    border-radius: 18px;
    border: 1px solid white;
}

.cabinet_pay_link {
    font-weight: bold;
    color: var(--msb-green5);
}

.cabinet_subnav_anketa_ul li {
    position: relative;
}

.cabinet_anketa_procent {
    font-size: 90%;
    position: absolute;
    right: 14px;
    top: 17px;
    color: #979797;
}

.cabinet_anketa__filled {
    display: none;
    position: absolute;
    right: -6px;
    top: 15px;
}

.cabinet_anketa__filled img {
    width: 16px;
}


.cabinet_progress {
    border-radius: 0px;
    width: 100%;
    height: 2px;
}

.cabinet_progress::-webkit-progress-bar {
    background-color: white;
}

.cabinet_progress::-webkit-progress-value {
    background-color: var(--msb-green5);
}

.cabinet_progress::-moz-progress-bar {
    /* style rules */
}

@media (max-width: 600px) {

    .cabinet_header_logout,
    header.navbar_cabinet_header .nav-link {
        margin-left: 0px;
    }


    header .navbar {
        height: 75px;
    }

    .navbar-light .navbar-toggler {
        border: none;
    }

    .navbar_cabinet_header {
        background: white;
        box-shadow: none;
    }


    .cabinet_banners img {
        /*height: auto;*/
    }

    .navbar_cabinet {
        font-size: 11px;
        margin-top: 0;
    }

}

.cabinet_nav_active {
    font-weight: 600;
}

.cabinet_contact {
    font-size: 14px;
    letter-spacing: 0.03em;
}

.cabinet_contact_manager {
    width: 100%;
}

.cabinet_contact_ico {
    width: 27px;
    height: 27px;
    margin-right: 10px;

}

.market_subnav_item_ul {
    /*padding: 0;*/
    margin: 0;
    /*list-style: none;*/
}

.market_subnav_item_ul li a:link {
    padding: 0;
    margin: 0;
}

.market_subnav_item_ul li a:hover {
    /*border-bottom: 1px solid grey;*/
    background-color: white;

    text-decoration: underline;
}

.cabinet_header_wrap {
    text-align: center;
    color: #333333;
}

.cabinet_login {
    width: 100%;
    max-width: 590px;
    margin: auto;
}

.cabinet_login_btn {
    width: 279px;
    padding: 17px;
}

.cabinet_login_btn__white {
    color: var(--msb-green2);
    border-color: var(--msb-green2);
}

.cabinet_login_btn__white:hover {
    color: #f8f4fa;
    border-color: #fff;
    background-color: #864AB4;
}

.cabinet_login_btn__violet {
    color: #864AB4;
    border-color: #864AB4;
}

.cabinet_login_btn__violet:hover {
    color: #864AB4;
    border-color: #864AB4;
    background-color: #f8f4fa;
}


.cabinet_login_header {
    font-weight: 700;
    font-size: 32px;
}

.cabinet_login_subheader {
    font-weight: 400;
    font-size: 22px;
}


.cabinet_login .control-label {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 15px;
    /* identical to box height, or 107% */


    color: #333333;

}

.inquiry_success_flash_msg {
    /*text-align: left;*/
    background-color: #f8fdf6;
    border: 1px solid var(--msb-green);
}

.cabinet_profile_current_login {
    color: #aaa;
}

.cabinet_calc_form {
    padding-left: 60px;
    padding-right: 57px;
    padding-bottom: 20px;
    margin-top: -10px;
    border-bottom: 1px solid #E5E5E5;
    border-left: 1px solid #E5E5E5;
    border-right: 1px solid #E5E5E5;
    background: #F8F9FB;
    box-sizing: border-box;
    border-radius: 5px;
}

.cabinet_calc_note {
    font-weight: 400;
    font-size: 10px;
    line-height: 15px;
    color: #1C9A5F;
}

.cabinet_contract_subheader {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    color: #000000;
}

.cabinet_contract_subtitle {
    padding-left: 25px;
}

.cabinet_contract_subtitle:before {
    position: absolute;
    content: '';
    left: 0;
    top: 5px;
    display: block;
    height: 9px;
    width: 15px;
    border-radius: 10px;
    background-color: var(--msb-green2);
}

.cabinet_contract_subtitle__red:before {
    background-color: red;
}

.cabinet_contact_value {
    margin-top: 7px;
    margin-left: 25px;
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 20px;
    letter-spacing: 0.03em;
    color: #000000;
}

.cabinet_table_link {
    font-weight: bold;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 86.46%), url(/image/design/cabinet/text_bg.jpeg);
    background-position-x: center;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-fill-color: transparent;
}

.cabinet_table {
    width: 100%;
    padding-left: 20px;
}

/*.cabinet_table th {*/
/*    !*border-bottom: 2px solid #E5E5E5;*!*/
/*    text-transform: uppercase;*/
/*    !*padding-bottom: 10px;*!*/

/*    font-weight: 700;*/
/*    font-size: 12px;*/
/*    !*color: #000000;*!*/
/*}*/

.cabinet_table td {
    padding: 15px;
}


/*.cabinet_table_contracts th,*/
.cabinet_table_contracts td {
    padding-right: 15px;
    padding-left: 0;
}

.cabinet_table_contracts th:first-of-type,
.cabinet_table_contracts td:first-of-type {
    padding-left: 15px;
    /*padding-left: 0;*/
    text-transform: uppercase;
}

.cabinet_table tbody {
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.03em;
    color: #333333;

}

.cabinet_table_first_th {
    border-top-left-radius: 20px;
    border-bottom-left-radius: 20px;
}

.cabinet_table_last_th {
    border-top-right-radius: 20px;
    border-bottom-right-radius: 20px;
}

.cabinet_table_payments td {
    border-bottom: 1px solid #eeeeee;
}

.cabinet_table_payments th {
    color: white;
    font-size: 70%;
    padding-top: 8px;
    border-bottom: none;
    text-transform: uppercase;
    padding-bottom: 6px;
    letter-spacing: 0.3px;
}

.cabinet_table_payments thead tr {
    background: var(--msb-green5);
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.2) 0%, rgba(0, 0, 0, 0) 205.46%), url(/image/design/trucks/bg_title.jpg);
    background-position-x: center;
}

.cabinet_payments_datepicker input {
    /*border: 1px solid grey;*/
    background-color: #fff !important;

}

.cabinet_payments_datepicker .kv-drp-dropdown {
    max-width: 470px;
}
.cabinet_table_hover tbody tr{
    border-bottom: 1px solid #E5E5E5;
}
.cabinet_table_hover tbody tr:hover {
    transition: all .3s;
    background: rgba(241, 237, 230, 0.5);
}

.cabinet_table__contract td {
    border-bottom: 1px solid #E5E5E5;
}

.cabinet_contracts_note {
    font-size: 80%;
    text-transform: uppercase;
    color: #aaa;
}

.cabinet_contact_ico_file {
    width: 40px;
    height: auto;
}

.cabinet_contact_items_list {
    font-family: 'Open Sans';
    font-style: normal;
    font-weight: 400;
    font-size: 12px;
    line-height: 15px;
    letter-spacing: 0.03em;
    color: #000000;
}

.cabinet_contact_items_list {
    margin-left: 12px;
    padding: 0;

    /*list-style-type: initial;*/
}

.cabinet_table_payments tr:hover {
    cursor: initial !important;
}


#cabinet_payments_dropdown {
    height: initial;
    font-size: initial;

    padding-right: 30px;
    max-width: 330px;
    background-position: calc(100% - 12px) center !important;
    background-repeat: no-repeat !important;

    background-size: initial !important;
    background-repeat: no-repeat !important;
    background-image: url(/image/design/down_arrow.png) !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

}

.cabinet_payments_future {
    color: grey;
    font-size: 80%;
    text-align: center;
}

.cabinet_menu_logout_row {
    margin-top: 38px;
    cursor: pointer;
}

.cabinet_menu_logout_row img {
    width: 30px;
    margin-left: -5px;
}

.cabinet_menu_logout {
    margin-top: 5px;
    font-weight: 400;
    font-size: 12px;
    color: #9F9F9F;
}

.cabinet_changeuser_list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.cabinet_changeuser_list li {
    display: inline-block;
    margin-right: 15px;
    margin-bottom: 10px;
    background: #F1EDE6;
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 2px 10px;

}

.cabinet_changeuser_list li:hover {
    background: #eae4da;
}

.cabinet_changeuser_list a:link,
.cabinet_changeuser_list a:visited {

    color: #333333;
    text-transform: uppercase;
    font-weight: 400;
    font-size: 14px;
    letter-spacing: 0.02em;

}

.cabinet_changeuser_list a:hover {
    text-decoration: none;
}

.cabinet_nav_title_ico {
    width: 20px;
}

.cabinet_nav_title {
    font-weight: 700;
    font-size: 14px;
    line-height: 19px;
    color: #333333;
}

.cabinet_nav_title_wrap {
    border: 1px solid #E5E5E5;
    background-color: #F1EDE6;
    border-radius: 20px;
}

.cabinet h3 {
    font-weight: 700;
    font-size: 18px;
    line-height: 25px;
    letter-spacing: 0.03em;
    color: #000000;

}

.cabinet_h4 {
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-transform: uppercase;
    color: #000000;
    padding-bottom: 5px;
    border-bottom: 2px solid #E5E5E5;

}

.cabinet_docs_tr_signed {
    display: none;
}

.cabinet_docs_tr {
    /*cursor: pointer;*/
    user-select: none;
    transition: all .3s;
    /*position: relative;*/

}

.cabinet_docs_tr .cabinet_docs_td_last {
    background-image: url(/image/design/cabinet/down_arrow.png);
    background-position: top 25px right 20px;
    background-repeat: no-repeat;
    vertical-align: top;
}

.cabinet_docs_tr__opened .cabinet_docs_td_last {
    background-image: url(/image/design/cabinet/up_arrow.png);
}

.cabinet_docs_tr:hover {

}

.cabinet_docs_td {

}

.cabinet_docs_td_first {
    vertical-align: top;
    /*position: relative;*/
}

.cabinet_docs_td_last {
    cursor: pointer;
}

.cabinet_docs_td_first_icon {

}

.cabinet_doc_sign_link {
    border-bottom: 1px dashed;
    /*var(--msb-green2);*/
}

.cabinet_doc_sign_link_icon {
    color: var(--msb-green2);
    font-size: 8px;
    content: '⬤';
    vertical-align: super;
}

.cabinet_docs_tr__opened {
    background: rgba(241, 237, 230, 0.5);
    border: 1px solid #E5E5E5;
    box-shadow: 0px 4px 4px rgb(0 0 0 / 25%);


}

.cabinet_change_company_link {
    background: white;
    /*background: rgba(241, 237, 230, 0.5);*/
    border: 1px solid #E5E5E5;
    border-radius: 20px;
    padding: 3px 20px;
    display: inline-flex;
    font-size: 14px !important;
}

.cabinet_subnav {
    border: 1px solid #e5e5e5;
    border-radius: 10px;
    /*background-image: url(/image/design/cabinet/edoc/form_bg.png);*/
    /*background-position-x: -3px;*/
    /*background-size: 150%;*/
}

.cabinet_subnav {

}

.cabinet_subnav_item {
    transition: all .3s;
    margin-bottom: 10px;
    border: 1px solid #e5e5e5;
    font-weight: 600;

    /*border: 1px solid  transparent;*/
    /*border-image: linear-gradient(blue, red) 30%;*/
    /*https://stackoverflow.com/a/77231282*/

    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.2);
}

.cabinet_subnav_item:hover,
.cabinet_subnav_active {
    box-shadow: 0 2px 15px 0 rgba(0, 0, 0, 0.05);
}

.cabinet_subnav_item > a:link,
.cabinet_subnav_item > a:visited {
    color: #000;
    display: block;
    padding: 15px;
}


.cabinet_subnav_active {

}

.cabinet_subnav_item_ul {
    font-weight: 400;
    list-style: none;
}

.cabinet_subnav_item_ul a:link,
.cabinet_subnav_item_ul a:visited {
    color: #000;
}

.cabinet_subnav_item_active {
    font-weight: 700;
    position: relative;
}

.cabinet_subnav_item_active::before {
    font-weight: 500;
    font-size: 90%;
    content: '\003E';
    position: absolute;
    left: -11px;
    top: 1px;
    transform: scaleY(1.7);

}


.payment_small {
    font-style: normal;
    font-weight: 400;
    font-size: 10px;
    line-height: 14px;
    color: #9F9F9F;
}

.payment_small__ovedue {
    color: #d94c20;
}

.payment_state img {
    width: 18px;
}


.cabinet_menu_overdue {
    background-color: rgba(241, 237, 230, 0.5);
    border: 1px solid #E5E5E5;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
    font-size: 10px;
    line-height: 15px;
}

.market_subnav_item__dot {
    font-size: 150%;
    color: var(--msb-green2)
}

#overdue_payment_tooltip {
    width: max-content;
    position: absolute;
    top: 0;
    left: 0;
    background: #222;
    color: white;
    font-weight: bold;
    padding: 5px;
    border-radius: 4px;
    font-size: 90%;
}


.cabinet_scroll {
    height: 300px;
    overflow-y: scroll;
    scrollbar-width: thin;
    scrollbar-color: hsl(0 0% 50%);
}

.cabinet_scroll::-webkit-scrollbar {
    width: 4px;
}

.cabinet_scroll::-webkit-scrollbar-track {
    background-color: #fff;
}

.cabinet_scroll::-webkit-scrollbar-thumb {
    box-shadow: inset 0 0 6px var(--msb-green3);
}


/* info-block element */

.info-block {
    width: 100%;
    max-height: 450px;
    overflow-y: auto;
    font-family: "Open Sans", sans-serif;
}

.info-block p {
    margin: 8px 16px 8px 8px;
}

.info-block::-webkit-scrollbar {
    width: 4px;
}

.info-block::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
}

.info-block::-webkit-scrollbar-thumb {
    background: #1C9A5F;
    width: 8px;
    height: 8px;
    border-radius: 10px;
}

.info-block::-webkit-scrollbar-thumb:hover {
    background: #126b43;
}

/* horizontal line element */
.horizontal-line {
    border: 2px solid white;
}

/* btn */
.esign-btn {
    box-sizing: border-box;
    width: 100%;
    padding: 8px 24px;
    min-height: 40px;
    color: white;
    outline: none;
    border: none;
    background: linear-gradient(88.98deg, #438170 0%, #0E4049 100%);
    border-radius: 5px;
    text-align: center;
    align-content: center;
    cursor: pointer;
    z-index: 10;
}

.esign-btn:hover {
    color: white;
}


@media (max-width: 760px) {

    .cabinet_pay_peni {
        background: none;
    }

    .cabinet_docs_td_first_icon {
        display: none;
    }

    .cabinet_calc_form {
        padding-left: 15px;
        padding-right: 15px;

    }


    .cabinet_addcompany_modal_close {
        right: 19px;
        top: 15px;
    }
}


@media (max-width: 760px) {
    .cabinet_contract_subheader {
        font-size: 10px;
    }

    .cabinet_contact_value {
        font-size: 11px;
    }
}
