:root {
    --light-blue: #6acbf4;
    --trans-blue: #6acbf444;
    --color-secondary: #004c6a;
    --blue-green: #67d5cc;
    --primary: #2d9bf0;
    --not-valid: #dc3545;
}
.filter_lblue {
    filter: invert(74%) sepia(22%) saturate(1259%) hue-rotate(166deg) brightness(99%) contrast(93%);
}
.filter_blue {
    filter: invert(65%) sepia(47%) saturate(6213%) hue-rotate(182deg) brightness(99%) contrast(89%);
}
.border-primary {
    border-color: var(--light-blue) !important;
}
body {
    min-height: 100vh;
}
section.row, section .row {
    --bs-gutter-x: 0 !important;
}

#duplicate-btn{
    position: fixed;
    left: calc(50% - 82px);
    bottom: 0;
    display: none;
}
.form-check-input{
    width: 2em;
    height: 2em;
    margin-right: .5em;
    border: 2px solid;
}
.form-switch .form-check-input {
    width: 4em;
    border-radius: 4em;
}

.form-check label {
    margin-left: -1.5rem;
}
.form-check input+label {
    margin-left: 0;
}

.accordion-button:not(.collapsed) {
    background-color: var(--trans-blue);
}
.text-primary {
    color: var(--primary) !important;
}
.btn-primary {
    background-color: var(--primary);
    border: 2px solid var(--primary);
}
.bg-lblue {
    background-color: var(--light-blue);
}
.bg-trans-blue {
    background-color: var(--trans-blue);
}
.text-lblue {
    color: var(--light-blue);
}
.border-primary {
    border-color: var(--primary);
}
.btn-lblue {
    background-color: var(--light-blue);
    color: #fff;
    border: 2px solid var(--light-blue);
}
.btn-lblue:hover, .btn-primary:hover {
    background-color: var(--color-secondary) ;
    font-weight: normal;
    color: #fff;
    border-color: var(--color-secondary);
}
.btn-outline-lblue {
    background-color: transparent;
    border: 2px solid var(--light-blue);
}

.btn-outline-lblue:hover {
    background-color: var(--light-blue);
    color: #fff;
    font-weight: normal;
    border-color: var(--light-blue);
}
.btn-outline-primary {
    background-color: transparent;
    border: 2px solid var(--primary);
    color: var(--color-secondary);
}.btn-outline-primary:hover {
    background-color: var(--primary);
    color: #fff;
    font-weight: normal;
    border-color: var(--primary);
}

.text-secondary {
    color: var(--color-secondary) !important;
}

.mw-200p {
    max-width: 200px;
}

.alert-notice {
    background-color: var(--trans-blue);
    color: var(--color-secondary);
    border: 1px solid var(--light-blue);
}

.btn.fixed-width {
    width: 284px;
    max-width: 80%;
}
.btn-long {
    width: 400px;
    max-width: 90%;
}
.header_body .logo {
    max-width: 80px;
}

.bg_image img {
    position: absolute;
    z-index: -5;
}

.body_container {
    max-width: 573px;
    background-image: url("../images/background-c33e753e405219468080d91b56fc6358.png");
    background-repeat: no-repeat;
    background-size: auto;
    background-position: center;
}

.form_login {
    width: max-content;
}

button.navbar-toggler {
    border: none;
}
button.navbar-toggler:focus {
    box-shadow: 0 0 0 2px;
    color: #fff;
}
.header_menu .nav-item a {
    display: flex;
    justify-content: start;
    align-items: center;
    flex-direction: column;
    font-size: 12px;
}

.grid-row {
    display: grid;
    grid-template-columns: 50px 3fr 2fr 2fr 1fr 1fr 1fr;
}

a.grid-row {
    text-decoration: none;
    color: var(--bs-body-color);
}

.grid-2 {
    display: grid;
    grid-template-columns: auto 1fr;
}

.delete_photo {
    position: absolute;
    right: 0;
    background: #ffffffad;
    border-radius: 3px;
}

.delete_photo:hover {
    background: var(--bs-gray-200);
}

.roundel {
    position: absolute;
    top: -.25rem;
    right: -.25rem;
    border-radius: 50%;
    background: white;
    width: 1.6em;
    height: 1.6em;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 0;
    border-color: var(--light-blue);
    color: var(--bs-body-color);
}

.header_menu .nav-item img {
    max-width: 24px;
    width: 24px;
    margin-bottom: .5rem;
    height: 21px;
}
.header_menu .nav-item .nav-link__exit{
    transform: rotate(180deg);
}
.header_menu .nav-item.active {
    color:#fff;
    box-shadow: 0 0 0 2px;
    border-radius: var(--bs-navbar-toggler-border-radius);
}
.offcanvas .nav-item {
    display: flex;
    flex-direction: row;
}
.offcanvas .nav-item img {
    max-width: 16px;
    width: 16px;
    margin-right: .5rem;
}
.offcanvas .nav-link.active {
    color:#fff;
}
.nav-link {
    word-wrap: break-word;
}

#to_top {
    display: none; 
    position: fixed; 
    bottom: 20px; 
    right: 30px; 
    z-index: 99; 
    border: none; 
    outline: none;
    cursor: pointer; 
    background: none;;
}
#to_top:hover {
    color: var(--color-secondary)
}

.user, .user a {
    width: fit-content;
}

.calendar_one_day a[id^="fc-dom-"] {
    font-size: 1.4rem;
    text-decoration: none;
    color: #444;
}
.fc-col-header a {
    text-decoration: none;
    color: var(--color-secondary);
}
.fc .fc-toolbar-title {
    text-align: center;
    padding: 0 .5rem;
}
.top-list-item {
    position: relative;
    padding: var(--bs-list-group-item-padding-y) var(--bs-list-group-item-padding-x);
    color: var(--bs-list-group-color);
    text-decoration: none;
    width: 100%;
    box-sizing: border-box;
}
.list-group-item, .top-list-item {
    background-color: var(--light-blue);
    border: none;
    border-radius: 1rem !important;
    margin: .5rem !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 20%;
    flex-basis: 20%;
    max-width: 20%;
}
.list-group-item.active {
    background-color: var(--blue-green);
    color: initial;
}
.list-group-item:first-child {
    margin-left: 0 !important;
}
.list-group-item:hover {
    background-color: var(--trans-blue);
}
.list-group-item.disabled, .top-list-item.disabled {
    background-color: var(--light-blue);
    opacity: 50%;
}
.w-60 {
    width: 60%;
}
.w-40 {
    width: 40%;
}
.cursor-zoom {
    cursor: zoom-in;
}

.cursor-pointer {
    cursor: pointer; 
}

.not-valid {
    border-color: var(--not-valid);
    color: var(--not-valid);
}

.required::before {
    content: '*';
    color: var(--not-valid);
}

.signature[disabled], #sign_img[disabled] {
    opacity: 50%;
    background-image: repeating-linear-gradient(135deg, #fefefe, #fefefe 10px, #dedede 10px, #dedede 20px);
}

.fs-smaller {
    font-size: smaller;
}

.expired {
    box-shadow: #f99 0px 30px 60px -12px inset, #ff3 0px 18px 36px -18px inset;
}
.alert-row {
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 9999;
    justify-content: center;
    min-height: 5em;
    display: flex;
    align-items: center;
    padding: .5em;
    transition: left 5s;
}
.alert-close {
    position: absolute;
    top: 0;
    right: 0;
    height: 40px;
    width: 40px;
}
input[type="range"]::-moz-range-thumb {
    width: 2.5rem;
    height: 2.5rem;
    border-radius: 50%;
    background-color: var(--light-blue);
}
input[type="range"]::-ms-thumb{
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -16px;
    background-color: var(--light-blue);
 }
 input[type="range"]::-webkit-slider-thumb {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    margin-top: -16px;
    background-color: var(--light-blue);
}
input[type="range"]::-moz-range-progress {
    background-color: var(--light-blue);
    height: .5em;
    border-radius: 3px;
  }
.hidden {
    display: none;
}

.dash-pill{
    background-color: var(--trans-blue);
    padding: 1rem;
    border-radius: 1rem;
    width: 46%;
    max-width: 350px;
    position: relative;
}
label.form-check-label{
    position: relative;
}
/* label.form-check-label.required::before {
    position: absolute;
    top: 10px;
    width: 10px;
    height: 10px;
    left: 6px;
    z-index: 1;
} */

.select2-container--bootstrap-5 .select2-selection--single {
    height: unset !important;
}

.select2-container--bootstrap-5 .select2-selection--single .select2-selection__rendered {
    line-height: 1.5;
}
.select2-container .select2-selection--single .select2-selection__clear {
    float: right;
    font-weight: bold;
    height: 26px;
    margin-right: 20px;
    padding-right: 0px;
}

.list-subheader {
    list-style-type: none;
    margin: .5em 0;
}

.mb-100px {
    margin-bottom: 100px;
}

.w-maxc {
    width: max-content;
}

.values_rows {
    display: grid;
    grid-template-columns: 1fr 1fr auto;
}

.values_rows > div {
    padding: .5rem;
    border: 1px solid var(--bs-gray-300)
}

#block_2 {
    /*/app/in-work/step/2*/
    min-height: calc(100vh - 100px);
}

@media screen and (min-width: 577px) {
    .header_menu .nav-item a {
        justify-content: space-between;
        line-height: 1.2;
    }

    .header_menu .nav-item a .nav_text {
        min-height: 30px;
    }
}

@media screen and (min-width: 660px) {
    .header_menu .nav-item a {
        min-height: 50px;
    }

    .header_menu .nav-item a .nav_text {
        min-height: auto;
    }
}

@media screen and (max-width: 768px) {
    .body_container {
        font-size: 13px;
    }
    .top-list-item > img,
    .list-group-item img {
        width: 30px;
    }
    .top-list-item .text,
    .list-group-item .text {
        display: none;
    }
    .top-list-item,
    .list-group-item {
        padding: 1rem;
    }
    #offer .offer-overflow,
    #report .report-overflow{
        flex-direction: column;
        overflow: auto;
    }
    #offer .offer-table,
    #report .report-table{
        width: max-content;
        max-width: 200%;
        min-width: 100%;
    }
}


@media screen and (max-width: 576px) {
    .nav_text {
        display: none;
    }
    .header_menu .nav-item img {
        margin: 0.3rem;
    }
    .body_container {
        font-size: 12px;
    }
    .fc .fc-toolbar-title {
        font-size: 1.5em;
    }
    .calendar_one_day a[id^="fc-dom-"] {
        font-size: 1rem;
    }
    .btn.fixed-width {
        width: 100%;
        max-width: 100%;
    }
}

@media screen and (max-width: 430px) {
    .header_body .logo {
        max-width: 50px;
    }
    .header_menu .nav-item img {
        margin: 0.1rem;
    }
    .top-list-item,
    .list-group-item {
        margin: .2rem !important;
    }
}

@media screen and (min-width: 577px) {
    .w-sm-auto {
        width: auto !important;
    }
}
