.bold {
    font-weight: 600!important;
}
[data-status-annulment] {
    text-decoration: line-through;
}
.form-only-checkbox {
    display: inline;
}

.dash-table.possible-invoice-table tr td:last-child
{
	width: 600px;
}

.table-frc {
    height: 96px;
}

.table-contragents th:nth-child(2),
.table-contragents td:nth-child(2) {
    max-width: 580px;
}

.btn-def.create-frc {
    width: 322px;
    margin-top: 5px;
    padding-left: 45px;
}

.upload-form__example p {
    font-size: 20px;
}

#settings-page .js-deposit-save {
	margin-top: 15px;
}

/*leftmenu*/

/* .left-menu {
    position: fixed;
    left: 0;
    top: 62px;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    max-width: 253px;
    width: 100%;
} */

:root {
    --sidebarWidthClosed: 86px;
    --sidebarWidthOpened: 260px;
    --mainPaddingSidebarOpened: 275px;
    --mainPaddingSidebarClosed: 105px;
    --mainPaddingWithoutSidebar: 0;
}

.left-menu {
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    background: #fff;
    z-index: 1000;
    width: var(--sidebarWidthOpened);
    border-right: 1px solid #DBE1E0;
    overflow: hidden;
    transition: all .12s linear
}

.left-menu__head {
    position: relative;
    display: flex;
    align-items: center;
    padding: 12px 25px 12px 25px;
    border-bottom: 1px solid #DBE1E0;
    justify-content: flex-end;
}

.left-menu__head span {
    color: #000;
    font-size: 16px;
    font-weight: 550;
    line-height: 18px;
    text-transform: uppercase;
    position: absolute;
    left: 32px;
    display: flex;
    width: calc(100% - 100px);
    overflow: hidden;

    transition: opacity .12s linear, visibility .12s linear;
}

.button-opensidebar {
    cursor: pointer;
    width: 38px;
    height: 38px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
    outline: none;
    background: #fff;
}

html.sidebar-closed .button-opensidebar {
    transform: scale(-1, 1);
    transition: scale .12s linear;
}

.left-menu__inner {
    padding: 12px 19px 12px 19px;
}

nav.leftmenu-main ul {
    list-style: none;
    padding: 0;
    display: flex;
    flex-direction: column;
}

nav.leftmenu-main ul li {
    padding: 12px 13px 12px 13px;
    border-radius: 6px;
    transition: background .12s linear;
}

nav.leftmenu-main ul li:last-child {
    position: absolute;
    bottom: 20px;
    width: 220px;
}

nav.leftmenu-main .left_menu_img {
    position: relative;
    bottom: -145px;
}

nav.leftmenu-main ul li a {
    position: relative;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 14px;
    color: #000;
    font-size: 16px;
    font-weight: 400;
    line-height: 1;
    letter-spacing: 0.16px;
    /* flex-shrink: 0; */
}

nav.leftmenu-main ul li a svg {
    flex-shrink: 0;
}

nav.leftmenu-main ul li a span {
    position: absolute;
    padding-left: 34px;
    white-space: nowrap;

    transition: opacity .12s linear, visibility .12s linear;
}

nav.leftmenu-main ul li:hover,
nav.leftmenu-main ul li.current {
    background: #E6FBF4;
    transition: background .12s linear;
    flex-shrink: 0;
}

html.without-sidebar header { width:100% }

html.without-sidebar main {
    padding-left: var(--mainPaddingWithoutSidebar);
}

html.sidebar-opened header {
    width: calc(100% - var(--sidebarWidthOpened));
}

html.sidebar-opened .left-menu {
    width: var(--sidebarWidthOpened);
}

html.sidebar-opened main {
    padding-left: var(--mainPaddingSidebarOpened);
}

html.sidebar-opened nav.leftmenu-main ul li a > span {
    opacity: 1;
    visibility: visible;
}

html.sidebar-opened .left-menu__head > span {
    opacity: 1;
    visibility: visible;
}


/* closed */

html.sidebar-closed header {
    width: calc(100% - var(--sidebarWidthClosed));
}

html.sidebar-closed .left-menu {
    width: var(--sidebarWidthClosed);
}

html.sidebar-closed main {
    padding-left: var(--mainPaddingSidebarClosed);
}

html.sidebar-closed nav.leftmenu-main ul li a > span {
    opacity: 0;
    visibility: hidden;
}

html.sidebar-closed .left-menu__head > span {
    opacity: 0;
    visibility: hidden;
}


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

    :root {
        --sidebarWidthClosed: 100%;
        --sidebarWidthOpened: 100%;
        --mainPaddingSidebarOpened: inherit;
        --mainPaddingSidebarClosed: 100%;
    }


    html.sidebar-closed main {
        padding-left: 0;
        padding-top: 128px;
    }

    html.sidebar-closed header {
        width: 100%;
        padding-left: 20px;
        margin-bottom: 0;
        border-bottom: 2px solid #55b174;
    }

    html .left-menu {
        width: 100%;
        top: 62px;
        overflow: hidden;
        border-right: 0;
        display: flex;
        align-items: flex-start;
        justify-content: flex-end;
    }

    html.sidebar-closed .left-menu {
        height: 45px;
    }


    html .left-menu__head > span {
        display: none;
    }

    html nav.leftmenu-main ul li a > span {
        opacity: 1;
        visibility: visible;
    }

    .left-menu__head {
        padding: 10px 20px 10px 20px;
        border-bottom: none;
        justify-content: flex-end;
    }

    .left-menu__inner {
        width: 100%;
    }

    .left-menu__wrapper {
        width: 100%;
    }

    .button-opensidebar {
        width: 25px;
        height: 25px;
    }



    html main {
        padding-left: 0;
        padding-top: 128px;
    }

    header {
        width: 100%;
        padding-left: 20px;
        margin-bottom: 0;
        border-bottom: 2px solid #55b174;
    }

    .left-menu {
        height: 100%;
    }

}
/*leftmenu*/


/*header*/
/* header {
    position: fixed;
    background: #fff;
    width: 100%;
    height: 62px;
    overflow: hidden;
    padding-left: 37px;
    margin-bottom: 10px;
} */

header {
    position: fixed;
    display: flex;
    background: #fff;
    right: 0;
    width: calc(100% - var(--sidebarWidthOpened));
    height: 62px;
    overflow: hidden;
    padding-left: 37px;
    margin-bottom: 10px;
    z-index: 999;

    transition: all .1s linear
}

.header-wrapper {
    width: 100%;
    background: #55B174;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-right: 60px;

}

.logo {
    max-width: 285px;
    max-height: 62px;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

.logo img {
    width: 100%;
    height: 100%;
    object-fit: fill;
}

.heaader-opts {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 10px 50px;
}

.username {
    text-decoration: none;
    color: #FFF;
    font-size: 16px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: 0.16px;
}

.logout {
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 10px;
    color: #FFF;
    font-size: 16px;
    font-weight: 550;
    line-height: 1;
    letter-spacing: 0.16px;
}


.logout-icon {
    display: flex;
    width: 22px;
    height: 22px;
}

@media screen and (max-width: 770px) {
    .header-wrapper {
        padding-right: 20px;
    }

    .heaader-opts {
        gap: 10px 25px;
    }
}

/*404*/
.error-page_container{
    height: 800px;
}
#error-page{
    position: absolute;
    top: 10%;
    left: 15%;
    right: 15%;
    bottom: 10%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    box-shadow: 0px 5px 10px rgba(0,0,0,0.1);
}
.error-page-content{
    max-width: 600px;
    text-align: center;
}
h2.error-page-header{
    font-size: 18vw;
    line-height: 1em;
    position: relative;
}
h2.error-page-header:after{
    position: absolute;
    content: attr(data-text);
    top: 0;
    left: 0;
    right: 0;
    background: -webkit-repeating-linear-gradient(-45deg, #55c174, #7bb285, #95a295, #aa90a4, #bc7bb3, #cb62c2, #d93dd0);
    background-size: 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.25);
    animation: animate 10s ease-in-out infinite;
}
@keyframes animate {
    0%{
        background-position: 0 0;
    }
    25%{
        background-position: 100% 0;
    }
    50%{
        background-position: 100% 100%;
    }
    75%{
        background-position: 0% 100%;
    }
    100%{
        background-position: 0% 0%;
    }
}
.error-page-content h4{
    font-size: 1.5em;
    margin-bottom: 20px;
    text-transform: uppercase;
    color: #000;
    font-size: 2em;
    max-width: 600px;
    position: relative;
}
.error-page-content h4:after{
    position: absolute;
    content: attr(data-text);
    top: 0;
    left: 0;
    right: 0;
    text-shadow: 1px 1px 2px rgba(255,255,255,0.4);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}
.error-page-content p{
    font-size: 1.2em;
    color: #0d0d0d;
}
.error-page-btns{
    margin: 25px 0;
    display: inline-flex;
}
.error-page-btns a{
    display: inline-block;
    margin: 0 10px;
    text-decoration: none;
    border: 2px solid #55c174;
    color: #55c174;
    font-weight: 500;
    padding: 10px 25px;
    border-radius: 25px;
    text-transform: uppercase;
    transition: all 0.3s ease;
}
.error-page-btns a:hover{
    background: #55c174;
    color: #fff;
}
