:root {
  --bg-color: #18191b;
  --bg-color-light: #2d3034;
  --bg-color-grey: #eee;
  --bg-odd: #fff;
  --bg-even: #e7e7e7;
  --green-color: #28a745;
  --red-color: #db5763;
  --blue-color: #33689d;
  --yellow-color: #c9c45f;
  --white-color: #ececec;
  --text-dark: #16181b;
  --text-grey: #7c8597;
  --block-quot: #8f8484;
}
.wrapper, body, html {
    min-height: 100%;
    min-width: 390px;
}
.student_pfofile_card {
    width: 100px;
    height: 100px;
    position: relative;
    display: block;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 50%;
}
.table.table-hover {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
    justify-content: flex-start;
    width: 100%;
}
.profile-card-header {
    width: 100%;
    background: #e5e5e5;
    padding: 4px;
    font-size: 1.4em;
    margin-top: 8px;
}
.profile-card {
    display: flex;
    width: 100%;
    justify-content: space-evenly;
    align-items: stretch;
    flex-direction: row;
    flex-wrap: wrap;
    border: 2px solid var(--white-color);
    padding: 4px;
}
.profile-card-block {
    width: 100%;
    min-width: 150px;
    max-width: calc(100% / 4);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-evenly;
}
.card-body.table-responsive {
 padding: 0;   
}
.card {
    margin-bottom: 0;
    padding: 0;
    position: relative;
    display: -ms-flexbox;
    display: block;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 0;
    border-radius: 0;
    width: 100%;
}
li.nav-item {
    /* border-bottom: 1px solid #4f59626b;
    text-shadow: 1px 2px #181818; */
    border-radius: 0px;
}
ul.dropdown-menu.show {
    width: 100%;
    position: relative !important;
    transform: none !important;
    background: var(--bg-color-light);
    padding: 0;
}
.dropdown-item:focus, .dropdown-item:hover {
    color: var(--text-dark) !important;
    text-decoration: none;
    background-color: var(--bg-color-light);
}
[class*=sidebar-dark-] .sidebar a {
    color: var(--text-grey);
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active, .sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: var(--bg-color-light);
    color: var(--white-color);
    border-radius: 0;
    box-shadow: none;
}
    blockquote::before {
        content: "“";
        font-size: 2em;
        color: var(--white-color);
        margin-right: 10px;
    }
    blockquote::after {
        content: "”";
        font-size: 2em;
        color: var(--white-color);
        margin-left: 10px;
    }
blockquote {
    border: none;
    background: transparent;
    color: var(--text-grey);
    margin: 0;
    padding: 0;
}
.code-card {
    padding: 8px;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    margin: 9px 0;
}
.code-card-header {
    width: 100%;
}
.code-card-header tr{
    position: relative;
    z-index: 1;
}
.code-card-header tr:after{
    content: "-";
    position: absolute;
    left: -15px;
    top: 50%;
    z-index: 2;
    font-size: 3em;
    font-weight: 100;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: nowrap;
    flex-direction: row;
    height: 1px;
}
.permision-card {
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    margin: 9px 0;
    border: 1px solid #e7e5e5;
    padding-top: 12px;
    box-shadow: 4px 4px 8px #a9a8a8;
    background: #fff;
    border-top: 4px dotted #c9c8c8;
}
/* .permision-card:nth-child(odd){
background-color: var(--bg-odd);
}
.permision-card:nth-child(even){
background-color: var(--bg-even);
} */
.list-permisions {
    width: 100%;
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.permision-card-header {
    width: 100%;
    margin-bottom: 8px;
}
.login-card-body .input-group .form-control, .register-card-body .input-group .form-control {
    border-right: 1px solid var(--text-grey);
}
select#select-login-view {
    color: var(--bg-color-light);
}
.hidden {
    display: none !important;
    visibility: hidden;
}
select#select-login-view {
  -webkit-appearance: none; /* For WebKit browsers (Chrome, Safari) */
  -moz-appearance: none;    /* For Mozilla Firefox */
  appearance: none;         /* Standard property */
}

/* Optional: To remove the button from IE11 */
select#select-login-view::-ms-expand {
  display: none;
}
.couple-link {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    margin: 0;
    padding: 0;
}
.nav-pills .nav-link.active, .nav-pills .show>.nav-link {
    color: var(--white-color);
    background-color: var(--green-color);
    border-radius: 0;
}
.btn{
    border-radius: 0;
}
.couple-link-all {
        width: calc(100% - 40px);
}
.couple-link-add {
    width: 40px;
    padding: 0.4rem 0;
    text-align: center;
    height: 100%;
    border-left: 1px solid var(--text-grey);
}
.nav-pills .nav-link {
    border-radius: 0;
}
.alert {
    position: relative;
    padding: .75rem 1.25rem;
    margin-bottom: 1rem;
    border: 1px solid transparent;
    border-radius: 0;
}
.card-primary:not(.card-outline)>.card-header {
    background-color: var(--blue-color);
    border-radius: 0;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    width: 100%;
    align-items: center;
    padding: 10px;
}
.btn-primary {
    color: var(--white-color);
    background-color: var(--blue-color);
    border-color: unset; /* */
    box-shadow: none;
}
.alert-success {
    color: var(--white-color);
    background: var(--green-color);
    border-color: unset; /* */
}
.btn-success {
    color: #fff;
    background-color: var(--green-color);
    border-color: unset;
    box-shadow: none;
}
.btn-danger {
    color: #fff;
    background-color: var(--red-color);
    border-color: unset;
    box-shadow: none;
}
strong {
    /* color: var(--block-quot); */ 
    font-weight: 100;
}
[class*=sidebar-dark-] {
    background-color: var(--bg-color);
}
.external-events{
    position: relative;
    width: 250px;
    padding: 10px;
    border: 1px solid var(--white-color);
    background: var(--bg-color-grey);
    text-align: left;
}
#wrap {
    display: flex;
    width: 100%;
    position: relative;
    justify-content: flex-end;
    /* justify-content: space-between; */
    /* align-items: stretch; */
    /* flex-direction: row; */
    /* flex-wrap: nowrap;*/
}
#calendar-wrap{
    width: calc(100% - 500px);
    height: 100%;
}
#calendar-wrap.not_read{
    width: calc(100% - 250px);
}
.permision-card-tastes {
    padding: 8px;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    text-align: left;
    border-bottom: 1px solid var(--white-color);
    /* margin-bottom: 8px;*/
}
.permision-card-header-tastes {
    width: fit-content;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    width: 100%;
}
.fc-h-event {
    background-color: var(--blue-color);
    border: none;
    display: block;
}
.fc-daygrid-event {
    border-radius: 3px;
    position: relative;
    white-space: normal;
    font-size: inherit;
}
.plane-red {
    background: var(--red-color);
}
.fc .fc-daygrid-day-frame {
    min-height: 100%;
    position: relative;
    /* overflow: hidden; */
}
.fc .fc-daygrid-body-unbalanced .fc-daygrid-day-events {
    min-height: 4em;
    position: relative;
    /* max-height: 5em; */
    display: block;
    overflow-y: auto;
    overflow-x: hidden;
}
.bg-grey {
    background: var(--text-grey);
    color: var(--white-color);
    text-align: center;
}
#draggable-events-list{
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5em;
}
#draggable-events-list .fc-event-main {
    background: #c3e7c3;
    width: 100%;
    cursor: grab !important;
    color: #333 !important;
}
#draggable-events-list .fc-event {
    margin: 0;
    position: relative;
    white-space: normal;
    width: 100%;
    font-size: inherit;
    border-radius: 0;
    color: var(--text-grey);
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: no-drop;
}
.fc-direction-ltr .fc-timegrid-col-events {
    margin: 0;
}
.fc-timegrid-event-harness > .fc-timegrid-event {
    overflow: hidden;
}
.draggable-event{
    cursor: grab;
    background-color: var(--green-color);
    color: var(--bg-color-grey);
}
.event-counts {
    float: right;
}
.card-footer {
    width: 100%;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: space-between;
    /* text-align: right; */
}
.flex-row {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
}
.pic-card{
    max-width: 120px;
    margin: 12px;
    width: auto;
    height: auto;
    max-height: 120px;
}
.small-profile-pic {
    width: auto;
    height: auto;
    max-width: 90px;
    max-height: 90px;
    margin: 12px;
}
.flex-between{
    justify-content: space-between;
}
.jsgrid-align-center, .jsgrid-align-center select{
    text-align: left;
}
.permision-card-header h4 {
    background: var(--blue-color);
    margin: -9px;
    margin-bottom: 12px;
    padding: 8px;
    color: var(--white-color);
    border: none;
}
.permision-card-header table {
    width: 100%;
}
.perision-card-group {
    width: 100%;
}
.card-filter {
    display: flex;
    width: 100%;
    flex-wrap: wrap;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
}
.input-group.input-group-sm {
    max-width: 200px;
}
#filter-select {
    display: block;
    width: 100%;
    padding: .375rem;
    font-weight: 400;
    line-height: 1.5;
    color: #495057;
    background-color: #fff;
    background-clip: padding-box;
    border: 1px solid #ced4da;
    border-radius: .25rem;
    box-shadow: inset 0 0 0 transparent;
}
.input-group-sm>.custom-select, .input-group-sm>.form-control:not(textarea) {
    height: auto;
}
.table td, .table th {
    padding: .75rem;
    vertical-align: top;
    border: 1px solid #dee2e6;
}
.btn-add {
    background: var(--blue-color);
    color: var(--bg-color-grey) !important;
}
.btn-add:hover, .btn-add:focus{
    background: var(--bg-color-grey);
    color: var(--blue-color) !important;
}
.input-group-sm>.custom-select, .input-group-sm>.form-control:not(textarea) {
    height: auto !important ;
}
.table-responsive {
    display: block;
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}
.card-info:not(.card-outline)>.card-header {
    background-color: #33689d;
}
.status-header {
    float: right;
    font-size: 0.7em;
    font-weight: 400;
    position: relative;
    top: 5px;
}
.color-yellow{
    color: #f9ff00;
}
.color-green{
    color: #a6ffa1;
    text-shadow: none;
}
.color-black{
    color: #000;
}
.fc-multiMonthYear-view.fc-view.fc-multimonth.fc-multimonth-multicol.fc-multimonth-compact.fc-scroller {
    position: relative;
}
.fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
    position: sticky;
    top: 0;
    left: 0;
    z-index: 100;
    background: var(--bg-color-grey);
}
/* .fc-view-harness.fc-view-harness-active{
    height: auto !important;
}
.fc .fc-view-harness-active > .fc-view {
    inset: 0px;
    position: relative !important;
} */
.fc-daygrid-week-number {
    background-color: #c3e7c3 !important;
    /* position: relative;
    left: -13px !important;
    z-index: 10; */
}
.fc .fc-daygrid-day.fc-day-today {
    background-color: #effeda;
}
.fc-direction-ltr .fc-daygrid-event.fc-event-end, .fc-direction-rtl .fc-daygrid-event.fc-event-start {
    margin: 0;
    padding-right: 28px;
}
.fc .fc-daygrid-day-events {
    margin: 0;
    padding: 0;
}
.fc .fc-daygrid-event-harness {
    margin: 0 !important;
    padding: 0;
}
.my-class-event-cleaner{
    text-shadow: none;
    line-height: 14px;
    font-size: 14px;
    font-weight: 400;
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    height: 100%;
    background: #b1ffad;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    cursor: pointer;
    color: #000000;
    letter-spacing: 0.2px;
    overflow-x: hidden;
}
.my-class-event{
    color: #000000 !important;
    text-shadow: none;
    line-height: 14px;
    font-size: 14px;
    font-weight: 600;
    width: 100%;
    padding: 4px;
    box-sizing: border-box;
    height: 100%;
    background: #d3d3d3;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-between;
    cursor: pointer;
    letter-spacing: 0.1px;
}
.my-class-event i{
    color: #390027;
    letter-spacing: 0.75px;
    text-align: center;
}
.trash-event.trash-cleaner {
    right: -26px;
    /* z-index: 100; */
}
.edit-plane-contextmenu {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
    background: #fff;
    padding: 12px;
    box-shadow: 4px 4px 12px #0000001f;
}
.btn.btn-contextmenu {
    border: 1px solid #cbc7c7;
    background: #98cf98;
    color: #454545;
}
.close-contextmenu {
    position: absolute;
    top: -8px;
    left: -8px;
    background: #fff;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: -2px -2px 2px #0000001A;
}
#block-plane {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 8px;
    z-index: 9000;
    background-color: #0a0700b3;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    overflow: auto;
}
.footer-block-plane,
.content-block-plane,
.header-block-plane {
    position: relative;
    width: 100%;
    max-width: 320px;
}
.footer-block-plane{
    background: var(--bg-even);
    padding: 8px;

}
.content-block-plane{
    background: var(--bg-even);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 8px;
}
.content-block-plane input,
.content-block-plane select{
    border: none;
    font-size: 14px;
    color: #333;
    padding: 4px;
    margin: 4px;
}
.header-block-plane {
    background: var(--bg-even);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.lbl-name-block-plane {
    font-size: 1.1em;
    font-weight: 600;
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    margin: 4px 0;
    box-sizing: border-box;
}
.wrapper-header-block-plane {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    align-items: stretch;
    flex-wrap: nowrap;
}
.wrapper-header-block-plane select {
    width: 100%;
    border: none;
    margin: 4px;
}
i#cls-block-plane {
    position: absolute;
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 28px;
    z-index: 10;
    right: -4px;
    top: -40px;
    cursor: pointer;
    background: var(--bg-color);
    color: var(--text-grey);
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
.fc .fc-daygrid-more-link {
    display: block;
    cursor: pointer;
    line-height: 1;
    margin-top: 1px;
    width: 100%;
    overflow: hidden;
    padding: 2px;
    position: relative;
    white-space: nowrap;
    z-index: 4;
    font-weight: 600;
    font-size: 1.2em;
    border-radius: unset;
    text-align: center;
    background: #a9d5fb;
}
.edited{
    position: relative;
}
.edited::before{
    content:"\f304";
    position:absolute;
    top: 0;
    left: 15px;
    width: 32px;
    height: 32px;
    -moz-osx-font-smoothing: grayscale;
    -webkit-font-smoothing: antialiased;
    display: inline-block;
    font-style: normal;
    font-variant: normal;
    text-rendering: auto;
    line-height: 1;
    font-family: "Font Awesome 5 Free";
    font-weight: 900;
    font-size: 1.1rem;
    z-index: 10;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    color: var(--text-grey);
}
.btn-plane-add {
    background: #bee2be;
    border: none;
    text-transform: uppercase;
    font-size: 14px;
    padding: 8px;
    min-width: 120px;
    float: right;
}
.div-radio-plane {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
}
.sticky2,
.sticky0 {
    position: sticky;
    top: 0;
    z-index: 10;
}
.sticky1 {
    position: sticky;
    z-index: 9;
    top: 65px;
    background-color: #effeda;
}
.block-plane-counts {
    display: flex;
    width: 100%;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
}
.content-block-plane input[type="date"],
.content-block-plane input[type="text"],
.content-block-plane input[type="number"] {
    width: 100%;
    max-width: 120px;
}
.trash-event {
    min-width: 25px;
    display: flex;
    justify-content: center;
    color: var(--red-color);
    height: 100%;
    align-items: center;
    cursor: pointer;
    z-index: 100;
    position: absolute;
    right: 0;
    top: 0;
}
.fc-daygrid-dot-event.fc-event-mirror, .fc-daygrid-dot-event:hover {
    background: transparent !important;
}
.comment-plane {
    border: none;
    min-height: 100px;
    width: 100%;
    outline: none;
}
.error{
    color: red !important;
}
.good {
    color: green !important;
}
input[type='radio'] {
    display: none;
}
input[type='radio'] + label{
    padding: 0 8px;
    color: var(--text-grey);
    cursor: pointer;
}
#radioLine0:checked + label {
    background-color: #cfcfcf;
    color: inherit;
}
#radioLine1:checked + label{
    background-color: #e9e3b9;
    color: inherit;
}
#radioLine2:checked + label{
    background-color: #cae1fb;
    color: inherit;
}
.fieldset-plane {
    border: 1px solid #7c8597;
    padding: 6px;
}
legend.legend-plane {
    font-size: 0.8em;
    width: fit-content;
    background: #7c8597;
    padding: 0 6px;
    color: #e7e7e7;
}
#block-plane label {
    font-weight: 400 !important;
    font-size: 0.9em;
}
.name-info-order {
    color: rgb(235 235 235);
    text-align: center;
    font-weight: 100;
    background: #7c8597;
}
.h4-order-head {
    background: rgb(223 235 205);
    color: rgb(109 109 109);
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 0px;
    padding: 2px;
    position: relative;
    width: 100%;
}
.p-order {
    margin: 0;
    color: #333;
    font-weight: 600;
    margin-bottom: 8px;
}
.head-order-info {
    margin: 8px 0;
    border: 1px solid #d9d9d9;
}
.date-active {
    background: #dae0eb;
}
#info-order {#info-order {
    position: relative;
    z-index: 1;
    /* top: 402px; */
}
}
.btn-show-codes-small {
    text-decoration: blink !important;
    color: #007bff;
    cursor: pointer;
    width: 100%;
    display: block;
    margin: 0;
}
.list-codes {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
}
.code-card-header tr {
    border: 1px solid #7d7d7d;
    padding: 4px;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
    margin: 4px;
    margin-left: 12px;
}
.not-read {
    background: #efe;
}
.btn-copy-codes-big {
    text-decoration: blink !important;
    color: #33689d;
    cursor: pointer;
    width: 100%;
    display: block;
    margin: 0;
}
.btn-show-codes {
    text-decoration: blink !important;
    color: #33689d;
    cursor: pointer;
    width: 100%;
    display: block;
    margin: 0;
}
.code-date {
    border-right: 1px solid;
    width: fit-content;
    display: flex;
    padding: 8px;
    font-weight: 600;
    align-items: center;
    justify-content: center;
}
.card-tools-filter {
    width: 100%;
    display: flex;
    color: #858584;
    justify-content: flex-end;
}
#btn-filter {
    border: none;
    margin-left: 8px;
    position: absolute;
    top: 0;
    height: 38px;
    width: 38px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    right: 0;
}
.btn-show-codes,
.btn-show-codes-small,
.btn-copy-codes-big {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.code-card-header td {
    margin-right: 4px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
td .fa-copy {
    margin-left: 4px;
    color: #d5d4d4;
}
.btn-suz {
    color: #fff !important;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    border: none;
}
.form-group.check-group {
    display: flex;
    width: 100%;
    justify-content: space-between;
    align-items: center;
    max-width: 320px;
}
.check-group label {
    width: 100%;
}
.check-group .form-control {
    width: 38px;
}
.h4-order {
    background: rgb(223 235 205);
    color: rgb(109 109 109);
    font-size: 1em;
    font-weight: 500;
    margin-bottom: 0px;
    padding: 2px;
}
hr.hr-plane {
    width: 100%;
    height: 2px;
    border: none;
    background: #b9b9b9;
}
textarea#id_packages_codes {
    min-height: 160px;
}
.btn-codes {
    background: #fbeb5d;
}
.footer-block-codes {
    background: var(--bg-even);
    padding: 8px;
}
.header-block-codes {
    background: var(--bg-even);
    display: flex;
    flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
.content-block-codes {
    background: var(--bg-even);
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    flex-wrap: nowrap;
    padding: 8px;
}
.section-handle {
    position: relative;
    width: calc(50% - 30px);
    height: 100%;
}
.section-center {
    display: flex;
    align-items: center;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 60px;
    width: 100%;
    padding: 8px;
}
.section-sender {
    position: relative;
    width: calc(50% - 30px);
    height: 100%;
}
.content-codes{
    background: var(--bg-even);
    display: flex;
    /* grid-template-rows: 50% 50%; */
    height: 100%;
    flex-direction: column;
    justify-content: space-between;
    align-items: stretch;
}
.footer-block-codes, .content-block-codes, .header-block-codes {
    position: relative;
    width: 100%;
    max-width: 920px;
    min-height: 40px;
}
.section-handle a.handle {
    position: relative;
    /* left: 8px; */
    /* bottom: 0; */
    /* top: 50%; */
    width: calc(100% - 16px);
    /* transform: translate(0%, -50%); */
    z-index: 1;
    cursor: n-resize;
    height: 16px;
    box-sizing: border-box;
    display: block;
}
#multi-sel,
#multi-sel-send {
    min-height: 200px;
    border: none;
    height: calc(50% - 8px);
}
select:focus{
    border: none !important;
    outline: none;
}
.content-block-codes {
    height: calc(80% - 64px);
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: stretch;
}
#multi-sel-sender {
    width: 100%;
    height: 50%;
    border: none;
}
#cls-block-codes {
    position: absolute;
    display: flex;
    width: 40px;
    height: 40px;
    font-size: 28px;
    z-index: 10;
    right: -4px;
    top: -4px;
    cursor: pointer;
    background: var(--bg-color);
    color: var(--text-grey);
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
}
optgroup.label-multiple {
    padding: 2px 4px;
    color: #3b6ad9;
    font-weight: 600;
}
optgroup.label-multiple option{
    color: #000;
}
optgroup.label-multiple option:disabled {
    color: #919191 !important;
}
button:focus{
    outline: none;
    border: inherit;
}
#btn-add, #btn-adds {
    border: 1px solid #999;
    width: 100%;
    margin: 8px 0;
    background: #ffffff;
    border-radius: 0;
}
.permision-card-header b {
    background: var(--blue-color);
    margin: -9px;
    margin-top: 12px;
    padding: 8px;
    color: var(--white-color);
    border: none;
    width: calc(100% + 18px);
    display: block;
}
.user-card {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: stretch;
    border: 1px solid #e7e5e5;
    margin-bottom: 14px;
    padding: 4px;
    padding-top: 12px;
    box-shadow: 4px 4px 8px #a9a8a8;
    background: #fff;
    border-top: 4px dotted #c9c8c8;
}
.permision-card-header h5,
.user-card h5 {
    background: #33689d;
    color: #fff;
    padding: 4px;
}
.user-profile-pic {
    position: sticky;
    top: 0;
    width: 220px;
    height: 220px;
    object-fit: cover;
    margin-right: 14px;
}
.btns {
    display: flex;
    justify-content: space-between;
    margin-bottom: 4px;
    align-items: center;
}
.user-profile-table {
    display: flex;
    justify-content: flex-start;
    justify-items: start;
    align-items: center;
}
hr.hr-user-profile {
    height: 0;
    border-top: 4px dotted #c9c8c8;
    width: 100%;
    margin-top: 0;
}
.type-user {
    float: right;
    font-size: 0.8em;
}
.card-body:not(.card-body.login-card-body,.card-body.card-line,.card-tools-filter) {
    display: grid;
    grid-template-columns: 49% 49%;
    justify-content: space-between;
    justify-items: stretch;
    align-items: stretch;
}
.negate {
    filter: grayscale(0.8) opacity(0.7);
}
.permision-card-header.flex-row {
    display: grid;
    grid-template-columns: 25% 75%;
    justify-items: stretch;
}
.permision-card-header div {
    display: flex;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
}
#grid_perms {
    display: grid;
    grid-template-columns: 30% 30% 30%;
    justify-items: stretch;
    align-items: start;
    justify-content: space-between;
    align-content: start;
}
.rform-group.check-group {
    display: flex;
    flex-direction: row-reverse;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: flex-end;
    width: 95%;
    padding: 4px;
}
.radio-perm-label {
    margin-bottom: 0;
    margin-left: 8px;
    width: auto;
}
.radio-perm {
    width: 20px;
    height: 20px;
}
.form-group-perms {
    width: 100%;
    padding: 12px;
    border: 1px solid #e5e4e4;
    background: #f1f1f1;
    max-height: 420px;
    overflow-y: auto;
}
.user-panel img {
    height: 2.1rem;
    width: 2.1rem;
    object-fit: cover;
}
.fc-daygrid-day-top {
    color: #00396b;
    font-size: 1em;
    font-weight: 600;
    background: linear-gradient(to left, #c3e7c3 0%, #f4f6f900 50%);
}
.fc-popover-title {
    color: #00396b;
    font-size: 1em;
    font-weight: 600;
    background: linear-gradient(to right, #c3e7c3 0%, #f4f6f900 50%);
}
legend.task-order {
    background: #33689d;
    color: #fff;
}
.task-list-field {
    width: 100%;
    margin: 12px;
    margin-left: 0;
}
.oder-task table {
    position: relative;
    top: 6px;
}
.oder-task table {
    position: relative;
    top: 6px;
    width: 100%;
    margin-bottom: 8px;
    background: #f1ede6;
}
.task-list-field .btns {
    margin: 0;
    background: #dbdbdb;
}
.task-list-field button {
    border: none;
}
.task-lists {
    width: 100%;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    align-items: flex-start;
}
#modal{
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: #000000a1;
    padding: 12px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}
.close-close-contextmenu{
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 1.2em;
    color: #fff;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 28px;
    height: 28px;
    cursor:pointer;
}
.close-modal {
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 2em;
    color: #fff;
    background: #000;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 48px;
    height: 48px;
    cursor:pointer;
}
.iframe-docs {
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border:none;
}
#draggable-events-list .fc-event {
    display: none;
}
#draggable-events-list .fc-event-main {
    display: table-row;
}
.comment-label{
    position: relative;
}
.comment-label::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    border-bottom: 10px solid transparent;
    border-right: 10px solid #FF5722;
}
.explorer-excel {
    width: 100%;
    height: auto;
    min-height: 100%;
    background: #fff;
    padding: 8px;
    overflow-x: hidden;
    overflow-y: auto;
}
#id_packages_codes,
#id_code_small {
    border: 1px solid #cfcfcf;
    border-radius: 3px;
    padding: 4px;
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}
#id_packages_codes div,
#id_code_small div{
    background-color: #fff;
    position: relative;
    padding-right: 50px;
}
#id_packages_codes div:hover,
#id_code_small div:hover{
    background-color: #e1e1e1;
}
#id_packages_codes div:focus-visible,
#id_code_small div:focus-visible{
    background-color: #fffefe;
    outline: none;
    border: 1px solid #e1e1e1;
}
.editable.trash {
    top: 2px;
    right: 0;
    color: #e36565;
}
.editable.pen {
    top: 2px;
    right: 26px;
    color: #79b17b;
}
.editable {
    position: absolute;
    z-index: 10;
    margin: 2px;
    cursor: pointer;
}
.error-code {
    color: red;
}
err {
    color: red;
    font-weight: 400;
}
tooltip{
    position: fixed;
    pointer-events: none;
    width: auto;
    height: auto;
    padding: 8px;
    display: block;
    background-color: #fff;
    box-shadow: 2px 2px 8px #00000081;
}
.add-icon {
    position: absolute;
    top: 0;
    right: 0;
}
.add-icon .form-control:focus {
    outline: none;
}
.add-icon .form-control {
    padding: 0 0.375rem;
    height: auto;
    padding-right: 1.5rem;
    border: 1px solid #d7d7d7;
}
.icon-right {
    position: absolute;
    right: 0;
    top: 0;
    background: #e9e9e9;
    color: #919191;
    padding: 0.31rem;
    border-top-right-radius: 4px;
    border-bottom-right-radius: 4px;
}
.block-small-check {
    background: #fff;
    padding: 12px;
    width: 100%;
    max-width: 900px;
}
.textarea-small-check{
    height: 100%;
    min-height: 250px;
}
.tooltip{
    text-align: left !important;
    z-index: 10000 !important;
    color: #000 !important;
}
.tooltip-inner {
    max-width: 200px;
    padding: .25rem .5rem;
    color: #fff;
    text-align: center;
    background-color: #1a252f;
    border-radius: .25rem;
}
.tooltip-inner img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}
.bs-tooltip-auto[x-placement^=top] .arrow::before, .bs-tooltip-top .arrow::before {
    top: 0;
    border-width: .4rem .4rem 0;
    border-top-color: #1a252f;
}
.bs-tooltip-auto[x-placement^=bottom] .arrow::before, .bs-tooltip-bottom .arrow::before {
    bottom: 0;
    border-width: 0 .4rem .4rem;
    border-bottom-color: #1a252f;
}
.bs-tooltip-auto[x-placement^=right] .arrow::before, .bs-tooltip-right .arrow::before {
    right: 0;
    border-width: .4rem .4rem .4rem 0;
    border-right-color: #1a252f;
}
#wrap.wrap-mobile{
    display: flex;
    width: 100%;
    position: relative;
    justify-content: flex-end;
    height: 100vh;
}
#wrap.wrap-mobile #calendar-wrap {
    width: 100%;
}
#wrap.wrap-mobile #calendar {
    height: 100%;
    width: 100%;
}
#wrap.wrap-mobile .fc-header-toolbar.fc-toolbar.fc-toolbar-ltr {
    display: flex;
    flex-direction: row;
    font-size: 1em !important;
    align-items: flex-start;
    justify-content: space-between;
    padding: 4px;
    margin: 0;
}
#wrap.wrap-mobile .fc .fc-toolbar-title {
    font-size: 1em;
    margin: 0px;
}
#wrap.wrap-mobile table{
    width: 100% !important;
}
.input-group.check-group {
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: stretch;
}
.input-group.check-group #id_remember_me {
    width: 22px;
    height: 22px;
    display: block;
    visibility: visible;
}
.input-group.check-group label {
    width: calc(100% - 34px);
}
.code-card-header input[type="checkbox"] {
    width: 20px;
}
.form-group .fa-copy {
    color: #c3c3c3;
}
.card-header{
    border-bottom: 1px solid rgba(0, 0, 0, .125);
    padding: .75rem 1.25rem;
    position: relative;
    border-top-left-radius: 0;
    border-top-right-radius: 0;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: stretch;
}
.card-title {
    font-size: 1.1rem;
    font-weight: 400;
    margin: 0;
    width: auto;
}
.card-body::after, .card-footer::after, .card-header::after {
    display: none;
}
.card.card-danger .card-body,
.card.card-info .card-body {
    max-height: 250px;
    overflow-x: hidden;
    overflow-y: auto;
}
.info-label {
    display: block;
    margin-top: 12px;
}
li::marker:not(#workers li, #editors li) {
    font-size: 1.5em;
    font-weight: 600;
    color: #777;
    position: relative;
    bottom: 5px;
    display: block;
}
#mark-lines {
    position: absolute;
    display: flex;
    left: 49px;
    bottom: -24px;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
}
.tooltip-inner p{
    text-align: left;
}
a.fc-col-header-cell-cushion {
    text-align: right !important;
    width: 100%;
}
.multiple-list {
    min-height: 450px;
}
.btn-showmore {
    background: #afafaf;
    color: #fff;
    max-height: fit-content;
}
.copy-codes {
    position: fixed;
    font-size: 32px;
    cursor: pointer;
    background: #ededed;
    padding: 18px;
    border-radius: 50%;
    top: 60px;
    right: 8px;
}
.widgets-table {
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    overflow-y: auto;
    max-height: 150px;
    margin-bottom: 12px;
    padding: 8px;
    font-size: 0.9em;
}
.small-box {
    border-radius: 0;
}
#qr-container {
    animation: fadeIn 0.5s;
}

#qr-code-img {
    border: 1px solid #dee2e6;
    padding: 10px;
    border-radius: 8px;
    background: white;
}

.progress {
    margin: 15px 0;
    border-radius: 3px;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}
#users-container .img-sm {
    margin-right: 8px;
}
#users-container strong {
    font-weight: 600;
}
#users-container .table-sm {
    font-size: 12px;
}
#users-container .table-sm th, .table-sm td {
    padding: 2px 8px;
}
.page-info {
    max-width: 250px;
}
.page-info strong {
    color: #007bff;
    font-size: 0.9em;
}
.page-info small {
    font-size: 0.8em;
}
select.form-control[multiple] {
    height: auto;
    resize: auto;
}
chz-ok,
chz-bad{
cursor:pointer;
}
.block-codes-chz {
    width: 99%;
    height: 99%;
    background: #fff;
    padding: 12px;
    display: flex;
    gap: 2rem;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}
.card-body.card-search {
    /* display: flex !important; */
    flex-direction: row;
    align-items: stretch;
    justify-content: flex-start;
    width: 100%;
    gap: 2em;
}
.form-group label {
    display: block;
}
.form-group {
    margin-bottom: 1rem;
    width: 100%;
}
.search-block {
    width: 100%;
    position: relative;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: stretch;
    justify-content: space-between;
}
.btn-search {
    display: flex;
    width: 45px;
    background: #33689d;
    color: #fff;
    font-size: 1.2em;
    cursor: pointer;
    align-items: center;
    justify-content: center;
    border-top-right-radius: .25rem;
    border-bottom-right-radius: .25rem;
    position: absolute;
    top: 0;
    bottom: 0;
    right: 0;
}
.search-block input{
    padding-right: 50px;
}
.block-search-modal {
    width: 99%;
    height: 99%;
    background: #fff;
    padding: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
}
.search-result {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: flex-start;
}
.block-mark {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}
.mark-code {
    width: 76px;
    height: 110px;
    border: 1px solid #ededed;
    border-radius: 5px;
    box-shadow: 2px 2px 4px #ededed;
    padding: 9px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
label.mark-label
 {
    font-weight: 600 !important;
    font-size: 6px;
    margin-top: 8px;
    text-align: right;
}
.btn-print {
    height: auto;
    width: auto;
    padding: .375rem .75rem;
    background: #edefea;
}
.search-result textarea {
    font-size: 0.8em;
}
#addSmall {
    max-width: 200px;
    right: 0;
    position: absolute;
}
        .calendar-header {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            background: #f8f9fa;
            border-bottom: 2px solid #dee2e6;
            margin-bottom: 10px;
        }
        .calendar-weekday {
            text-align: center;
            padding: 10px;
            font-weight: bold;
            color: #495057;
            font-size: 14px;
        }
        .calendar-days {
            display: grid;
            grid-template-columns: repeat(7, 1fr);
            gap: 2px;
            background-color: #e9ecef;
            border: 1px solid #dee2e6;
        }
        .calendar-day {
            background: white;
            min-height: 100px;
            padding: 8px;
            position: relative;
            transition: all 0.2s;
    overflow: hidden;
        }
        .calendar-day.empty {
            background: #f8f9fa;
            min-height: 100px;
        }
        .calendar-day.today {
            background: #fff3cd;
        }
        .day-number {
    font-weight: bold;
    font-size: 14px;
    margin: -8px;
    color: #495057;
    background: #efefef9c;
    padding: 4px;
    margin-bottom: 8px;
        }
        .calendar-day.today .day-number {
            color: #009706;
            font-weight: bold;
        }
        .day-events {
            display: flex;
            flex-direction: column;
            gap: 4px;
        }
        .event-item {
            font-size: 11px;
            padding: 3px 6px;
            background: #f8f9fa;
            border-left: 4px solid;
            border-radius: 3px;
            margin-bottom: 2px;
            cursor: pointer;
            transition: all 0.2s;
            white-space: nowrap;
            overflow: hidden;
            text-overflow: ellipsis;
    box-shadow: 2px 2px 4px #00000024;
        }
        .event-item:hover {
            background: #e9ecef;
            transform: translateX(2px);
        }
        .event-hours {
            font-weight: bold;
            color: #28a745;
            font-size: 10px;
        }
        .event-more {
            font-size: 10px;
            color: #6c757d;
            text-align: center;
            padding: 2px;
            cursor: pointer;
        }
        .event-more:hover {
            color: #007bff;
            text-decoration: underline;
        }
        .legend {
            display: flex;
            gap: 15px;
            justify-content: center;
            flex-wrap: wrap;
        }
        .legend-item {
            display: flex;
            align-items: center;
            gap: 5px;
            font-size: 12px;
            color: #6c757d;
        }
        .legend-color {
            width: 12px;
            height: 12px;
            border-radius: 2px;
        }
        @media (max-width: 768px) {
            .calendar-day {
                min-height: 80px;
                padding: 4px;
            }
            .event-item {
                font-size: 9px;
                padding: 2px 4px;
            }
            .calendar-weekday {
                font-size: 12px;
                padding: 5px;
            }
            .day-number {
                font-size: 12px;
            }
        }
@media (max-width: 899px){
            #tebel-content-table td.fio-tabel {
                display: grid;
                grid-template-columns: 80% 20%;
                align-items: center;
                font-size: 1em;
            }
            #tebel-content-table td.fio-tabel span:last-child{
                display: none;
            }
            #tebel-content-table th.fio-tabel, #tebel-content-table td.fio-tabel {
                width: 180px;
            }
            header#tabel-header {
                padding: 0;
            }
            .navbar {
                padding: 0px;
            }
            .h4, h4 {
                font-size: 1rem;
            }#tabel {
                height: calc(100vh - 90px);
            }
            .h3, h3 {
                font-size: 1.2rem;
                margin: 0 !important;
                display: flex;
                align-items: center;
            }
}
.calendar-widget-container .btn-group {
    width: 100%;
    display: grid;
    align-items: center;
    grid-auto-flow: column;
    text-align: center;
    justify-content: space-between;
}
.calendar-prev-month,
.calendar-next-month {
    width: 60px;
    background: #ffffff26;
    color: #fff;
    border: none;
}
.sandays{
    background: #b1ffad !important;
}
.weekend{
    background: #ffefb2 !important;
}
.calendar-widget-container .card-body {
    padding: 0;
}
#sessions-table tr {
    width: 100%;
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
#sessions-table thead,
#sessions-table tbody, 
#sessions-table th, 
#sessions-table td {
    width: 100%;
}
.toasts-bottom-right.fixed {
    position: fixed;
    min-width: 320px;
    box-shadow: 2px 2px 6px #1414146e;
}
/* Стили для этикетки под печать 20x29mm */
.mark-code.print-section {
    width: 20mm;
    height: 29mm;
    padding: 2mm;
    background: white;
    border: 1px solid #ddd;
    border-radius: 2mm;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.mark-code.print-section .mark-img {
    width: 16mm;
    height: 16mm;
    margin-bottom: 1mm;
}

.mark-code.print-section .mark-label {
    word-break: break-all;
}
.outline {
    color: inherit;
    padding: 4px;
    cursor: pointer;
    text-decoration: line-through;
    border: 1px solid;
}
input#chk-exch {
    width: 28px;
    height: 32px;
    margin-right: 8px;
}
.block-check {
    display: flex;
    width: 100%;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    margin: 4px 0;
}
.flex.flex-collumn {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    position: relative;
}




@media (max-width: 1270px) {
.card-body:not(.card-body.login-card-body,.card-body.card-line) {
    display: flex;
    grid-template-columns: 49% 49%;
    justify-content: space-between;
    justify-items: stretch;
    flex-direction: column;
    width: 100%;
    align-items: stretch;
}
}

@media (max-width: 600px) {
.user-profile-table {
    display: flex;
    justify-content: space-between;
    justify-items: start;
    align-items: stretch;
    flex-direction: column;
}
.user-profile-table div {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
}
}

