input[type="text"],
input[type="password"] {
    background: #F5F7FA;
}

.bg-menu {
    background-color: #494A5F;
}

.bg-custom-body {
    background-color: #F5F7FA;
}

.btn-primary {
    background-color: #2E2E46;
    color: #FFFFFF;
    --bs-btn-border-color: #2E2E46;
}

.block {
    background-color: #FFFFFF;
}

.form-control-plaintext {
    background-color: transparent !important;
}

.col-count {
    flex: 0 0 auto;
    width: 8em;
    text-align: center;
}

/*#table-reference {
    margin-left: auto;
    margin-right: auto;
    height: 100px;
    width: 550px;
    border-spacing: 2px 5px;
}
#table-reference > tbody > tr > td {
    border: 1px solid darkgray;
    background-color: white;
}
#table-reference > tbody > tr > td:first-child {
    text-align: center;
    width: 10%;
    border-top-left-radius: 10px;
    border-bottom-left-radius: 10px;
}
#table-reference > tbody > tr > td:last-child {
    width: 90%;
    border-top-right-radius: 10px;
    border-bottom-right-radius: 10px;
}
#table-reference > tbody > tr:hover > td {
    background-color: lightgreen;
}*/

.table-reference {/*из https://stackoverflow.com/questions/74091066/bootstrap-table-layout-with-space-between-rows-with-border-around-it-without-bor*/
    /* можно
    https://stackoverflow.com/questions/74964340/how-to-separate-rows-in-a-table-with-space-between-with-html-and-bootstrap-5
    https://www.geeksforgeeks.org/space-between-two-rows-in-a-table-using-css/
     */
    border-collapse: separate;
    border-spacing: 0 0.75em;
}

.table-reference tr {
    /*border: 1px solid #A8A8AD;*/
    transform: scale(1);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    box-shadow: .5em .3em .25em 0 rgba(128,128,128, .15);
    -webkit-box-shadow: .5em .3em .25em 0 rgba(128,128,128, .15);
    -moz-box-shadow: .5em .3em .25em 0 rgba(128,128,128, .15);

    /*0 4px 2px -2px gray*/

    /*0px 2px 0px rgba(128,128,128, .15) ++*/

    /*box-shadow: .2em .2em .25em 0 rgba(0, 0, 255, .2);*/
}

.table-reference th {
    background: #A8A8AD;
}

.table-reference td {
    padding: 1em;
}

.table-bordered > :not(caption) > * > * {
    border-width: 0 !important; /* Remove default borders */
    /*border-top: 1px solid grey !important; !* Add custom border *!*/
    /*border-bottom: 1px solid grey !important; !* Add custom border *!*/
    /*border-radius: 15px;*/
}

td:first-child,
th:first-child {
    /*border-left: 1px solid grey !important; !* Add custom border *!*/
    border-radius: .75em;
    -webkit-border-radius: .75em;
    -moz-border-radius: .75em;
    -khtml-border-radius: .75em;
    border-top-right-radius: 0;
    border-bottom-right-radius: 0;
}

td:last-child,
th:last-child {
    /*border-right: 1px solid grey !important; !* Add custom border *!*/
    border-radius: .75em;
    -webkit-border-radius: .75em;
    -moz-border-radius: .75em;
    -khtml-border-radius: .75em;
    border-top-left-radius: 0;
    border-bottom-left-radius: 0;
}

.b-popup{
    z-index: 10000;
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}
.b-popup .b-popup-content{
    margin:0 auto;
    /*width:auto;*/
    height: auto;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.b-accept{
    z-index: 10000;
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}
.b-accept .b-accept-content{
    padding:10px;
    background-color: #ffffff;
    border-radius:5px;
    box-shadow: 0px 0px 10px #000;
}

.nav-pills .nav-link {
    color: #ffffff;
}

.no-records-found {
    border-radius: .75em;
    -webkit-border-radius: .75em;
    -moz-border-radius: .75em;
    -khtml-border-radius: .75em;
}

.no-records-found td:last-child,
th:last-child {
    border-top-left-radius: .75em;
    border-bottom-left-radius: .75em;
}

.modal-header {
    padding: 1rem 1rem;
}

.modal-header .close {
    margin-right: -0.5em;
}

button.close {
    padding: 0;
    background-color: transparent;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}

.modal-footer {
    padding: 1rem;
}

.sidebar-brand {
    color: #FFFFFF;
    text-decoration: none;
    font-size: large;
}

.sidebar-brand-icon {
    margin-right: .5em;
}

.sidebar-brand-icon img {
    width: 4em;
}

#include-form {
    border-radius: 4px;
}

.btn-outline-primary {
    --bs-btn-color: #2E2E46;
    --bs-btn-border-color: #2E2E46;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: #0d6efd;
    --bs-btn-hover-border-color: #0d6efd;
    --bs-btn-focus-shadow-rgb: 13, 110, 253;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: #2E2E46;
    --bs-btn-active-border-color: #2E2E46;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #2E2E46;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: #2E2E46;
    --bs-gradient: none;
}

.card_logo {
    cursor: pointer;
}

.login_logo {
    width: 11rem;
    margin-bottom: 1.8rem;
}

.active-entity {
    background-color: #EBF8F1;
    color: #2F8849;
    border-radius: 3em 3em 3em 3em;
    padding: .25em .25em;
    width: 6em;
    margin: 0 auto;
}

.block-entity {
    background-color: #F8EBEE;
    color: #D70F17;
    border-radius: 3em 3em 3em 3em;
    padding: .25em .25em;
    width: 9em;
    margin: 0 auto;
}

.form-select:focus {
    border-color: inherit;
    box-shadow: none;
}

.form-control:focus {
    border-color: inherit;
}

.search {
    position: relative;
    box-shadow: 0 0 40px rgba(51, 51, 51, .1);
}

.search .bi-search{
    position: absolute;
    top: .5em;
    left: .5em;
}

.b-popup-message {
    z-index: 10030;
    width:100%;
    min-height:100%;
    background-color: rgba(0,0,0,0.5);
    overflow:hidden;
    position:fixed;
    top:0px;
}
.b-popup-message .b-popup-message-content{
    margin:0 auto;
    /*width:auto;*/
    height: auto;
    background: #FFFFFF;
    box-shadow: 0px 4px 10px rgba(0, 0, 0, 0.1);
    border-radius: 4px;
}

.ui-widget.ui-widget-content {
    z-index: 10001;
}

#qrcode img {
    margin: 0 auto;
    max-width: 100%;
    height: auto;
}

#accept {
    height: 93%;
}

.container-fluid h4 {
    margin-right: calc(var(--bs-gutter-x)* -0.5);
    margin-left: calc(var(--bs-gutter-x)* -0.5);
}

.active-count {
    color: #00AC45;
}

#floating-panel {
    position: absolute;
    width: 4em;
    right: 1.5em;
    /*bottom: 1em;*/
    top: calc(50% + 3em);
    text-align: center;
    z-index: 9999;
}

.disable-map-button {
    cursor: not-allowed;
}

.map-ref {
    color: #00AC45;
}

#floating-panel-map-window {
    position: absolute;
    width: 2em;
    right: 1.5em;
    /*bottom: 1em;*/
    top: calc(50% - 2.5em);
    text-align: center;
    z-index: 9999;
}

.vh-85 {
    height: 85vh !important;
}

.vh-75 {
    height: 75vh !important;
}

.dropdown-menu {
    max-height: 10em;
    overflow-y: auto;
    overflow-x: hidden;
}

.label-inkasstatement {
    width: 5em;
}

.field-inkasstatement {
    width: 15em;
}

.denomination {
    width: 6.5em;
    text-align: center;
}

.summa {
    width: 14em;
    text-align: center;
}

.container-menu {
    display: grid;
    width: 96%;
    margin: 0 auto;
    background: red;
    gap: 1.8rem;
    grid-template-columns: 14rem auto 23rem;
}

aside {
    height: 100vh;
    background: gray;
}

aside .top {
    background: white;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 1.4rem;
}

aside .logo {
    display: flex;
    gap: 0.8rem;
}

aside .close {
    display: none;
}

aside .logo img {
    width: 2rem;
    height: 2rem;
}


aside .sidebar {
    background: white;
    display: flex;
    flex-direction: column;
    height: 86vh;
    position: relative;
    top: 3rem;
}

@media screen and (max-width: 1200px){
    .container-menu {
        width: 94%;
        grid-template-columns: 7rem auto 23rem;
    }

    aside .logo h2 {
        display: none;
    }

    aside .sidebar h3 {
        display: none;
    }

    aside .sidebar a {
        width: 5.6rem;
    }

    aside .sidebar a:last-child {
        position: relative;
        margin-top: 1.8rem;
    }

    main .insights {
        grid-template-columns: 1fr;
        gap: 0;
    }
}

@media screen and (max-width: 768px){
    .container-menu {
        width: 100%;
    }

    aside {
        position: fixed;
        left: 0;
        width: 18rem;
        z-index: 3;
        height: 100vh;
        padding-right: 0.5rem;
        box-shadow: 1rem 3rem 4rem lightgray;
        display: none;
    }

    aside .sidebar a {
        width: 100%;
        height: 3.4rem;
    }

    aside .close {
        display: inline-block;
        cursor: pointer;
    }

    main {
        margin-top: 8rem;
        padding: 0 1rem;
    }
}

.toggle-nav {
    background: #FFFFFF;
    height: 4em;
}

.toggle {
    height: 2em;
    width: 2em;
    cursor: pointer;
    border-radius: 2px;
    top: 1.5em;
    background: red;
    left: 2px;
    box-shadow: 0 0 1em rgba(0, 0, 0, 0.3);
}

.pretty .state label {
    margin-left: 1em !important;
    margin-top: .2em !important;
}

.label-numbering {
    width: 1em;
}

th {
    text-align:center;
}

.table-bags {
    width: 100%;
}

.table-bags td {
    text-align:center;
}

/**/
/*a:hover,a:focus{
    text-decoration: none;
    outline: none;
}*/

/*.tab*/ .nav-tabs{
    background-color: transparent;
    border: none;
}
/*.tab*/ .nav-tabs li a{
    color: #222;
    background: transparent;
    /*font-size: 18px;*/
    font-weight: 800;
    letter-spacing: 1px;
    text-align: center;
    text-transform: uppercase;
    padding: 15px 15px 10px;
    margin: 0;
    border: none;
    border-radius: 0;
    overflow: hidden;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease 0s;
}
/*.tab*/ .nav-tabs li:last-child a{ margin-right: 0; }
/*.tab*/ .nav-tabs li a:hover,
/*.tab*/ .nav-tabs li.active a{
    color: #222;
    background: #fff;
    border: none;
}
/*.tab*/ /*.nav-tabs li a.active{ */
.nav-tabs a.active{
             color: #494A5F;
         }
/*.tab*/ .nav-tabs li a:before,
/*.tab*/ .nav-tabs li a:after{
    content: "";
    background-color: #d1d1d1;
    height: 7px;
    width: 100%;
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    transition: all 0.5s ease 0s;
}
/*.tab*/ /*.nav-tabs li a:after{*/
.nav-tabs a:after{
    background-color: #494A5F!important;
    height: 100%;
    opacity: 0;
}
/*.tab*/ /*.nav-tabs li.active a:before,*/
.nav-tabs li a.active:before,
/*.tab*/ .nav-tabs li a:hover:before{
    height: 100%;
    opacity: 0;
}
/*.tab*/ /*.nav-tabs li.active a:after,*/
.nav-tabs li a.active:after,
/*.tab*/ .nav-tabs li a:hover:after{
    height: 7px;
    opacity: 1;
}
/*.tab*/ .tab-content{
    color: #555;
    background: #fff;
    font-size: 15px;
    letter-spacing: 1px;
    line-height: 23px;
    padding: 20px;
}

.error {
    border-color: red;
}

.row_selected {
    color: #212529;
    background-color: rgba(0, 0, 0, 0.075);
}

.fit-content {
    width: fit-content;
}

input.right-aligned {
    text-align: right;
}

.head-help {
    text-align: center;
    margin-bottom: 1em;
}

.subhead-help {
    text-align: center;
    margin-bottom: 1em;
    margin-top: 1em;
}

.meta {
    font-size: 0.9em;
    color: gray;
    margin-top: 40px;
    text-align: center;
}

.help-body {
    background-color: #f8f9fa;
}
.help .sidebar {
    height: 100vh;
    background-color: #fff;
    border-right: 1px solid #dee2e6;
    padding-top: 1rem;
    overflow: auto;
}
.help .sidebar a {
    display: block;
    padding: 0.5rem 1rem;
    color: #333;
    text-decoration: none;
}
.help .sidebar a.active, .help .sidebar a:hover {
    background-color: #e9ecef;
    font-weight: 500;
}
.help .content {
    padding: 2rem;
}

.form{
    background-color: #FFFFFF;
    padding: 2rem;
}

.title_sign {
    text-align: center;
    color: #101928;
    margin-bottom: 1.3rem;
}

.weekday-checkbox {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 50px;
}

.weekday-label {
    font-size: 0.8rem;
    margin-bottom: 4px;
}

.checkbox-hidden {
    display: none;
}

.checkbox-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border: 2px solid #ccc;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    transition: all 0.2s;
}


.pretty.p-icon .state .icon {
    font-size: 16px;
}


.pretty {
    margin: 0;
}

.pretty .state label {
    padding: 0.4rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
}