main, body {
    overflow: hidden;
}

.select2-container {
    z-index: 9999;
}

.index-overflow {
    max-height: 100vh;
    overflow-y: auto;
}

.table-overflow {
    max-height: 85vh;
    overflow-y: auto;
}

.cabinet-overflow {
    max-height: 50vh;
    overflow-y: auto;
}

*::-webkit-scrollbar {
    width: 6px;
}

*::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px grey;
    border-radius: 5px;
    border: 5px solid transparent;
}

*::-webkit-scrollbar-thumb {
    background: var(--bs-info);
}

*::-webkit-scrollbar-thumb:hover {
    background: #0a9fbd;
}

.expired {
    border: 2px solid var(--bs-danger) !important;
}

span.expired {
    background-color: var(--bs-danger);
    color: white;
    opacity: 65%;
}

.current-day .card-header {
    color: var(--bs-primary);
}

.signin-form {
    width: 15%;
    min-width: 350px;
    height: auto;
    margin: 1em auto;
    border: 3px solid var(--bs-primary);
    padding: 15px;
    border-radius: 5px;
}

.signup-form {
    width: 15%;
    min-width: 350px;
    height: auto;
    margin: 4em auto 3em;
    border: 3px solid var(--bs-warning);
    padding: 15px;
    border-radius: 5px;
    opacity: .5;
    transform: scale(.8);
    transition: 1s;
}

.signup-form:hover {
    opacity: 1;
    transform: scale(1);
}

.closed-event-comment {
    position: absolute;
    left: 15px;
    color: red;
    bottom: -12px;
    font-size: 12px;
}

.event-li {
    position: relative;
}

.keys-table td, .keys-table th{
    max-width: 190px;
    overflow-wrap: break-word;
}

.seeds_container {
    max-height: 250px;
    overflow-y: scroll;
}

.logo-text {
    animation: 5s linear  infinite logo-blink;
}

.level-badge {
    width: 15px;
    height: 15px;
    display: inline-block;
}

@keyframes logo-blink {
    0% {
        text-shadow: none;
    }
    50% {
        text-shadow: 0 0 12px #fff;
    }

    100% {
        text-shadow: 0 0 0 #fff;
    }
}

ul.timeline {
    list-style-type: none;
    position: relative;
}

ul.timeline:before {
    content: ' ';
    background: #d4d9df;
    display: inline-block;
    position: absolute;
    left: 29px;
    width: 2px;
    height: 100%;
    z-index: 400;
}

ul.timeline > li {
    margin: 20px 0;
    padding-left: 20px;
}

ul.timeline > li:before {
    content: ' ';
    background: white;
    display: inline-block;
    position: absolute;
    border-radius: 50%;
    border: 3px solid var(--bs-info);
    left: 20px;
    width: 20px;
    height: 20px;
    z-index: 400;
}

.report-badge {
    border: 2px solid var(--bs-info);
    border-radius: 25px;
    font-size: 16px;
    text-decoration: none;
    color: black;
    padding: 5px 10px 5px 5px;
    display: flex;
    align-items: center;
    gap: 0 5px;
    width: fit-content;
}

.report-badge.not-ready {
    border: 2px solid var(--bs-secondary);
}

.report-badge.not-ready:hover {
    background: var(--bs-secondary);
}

.report-badge:hover {
    color: #fff;
    background: var(--bs-info);
}

.reports-day-container {
    display: flex;
    flex-direction: column;
    align-items: start;
    gap: 5px;
    flex-wrap: wrap;
}

/* admin tables section*/
.new-table-fields {
    border: 1px solid var(--bs-gray-400);
    padding: 5px;
    border-radius: 12px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px 3%;
}

.new-table-fields > div {
    position: relative;
    min-width: 30%;
    max-width: 30%;
}

.new-table-fields > div > span {
    content: '\274C';
    position: absolute;
    top: 5px;
    right: 5px;
    background: white;
    color: red;
    border-radius: 50%;
    width: 24px;
    height: 24px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    user-select: none;
}
/* show reports section */
.report-images-block {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.report-images-block img {
    max-height: 40em;
    border: 3px solid var(--bs-info);
    border-radius: 5px;
}

/* calendar */
.calendar div {
    width: 14%;
    height: 100px;
}
.calendar-headers div {
    width: 14%;
    height: 50px;
}

/* workday transfers */
.workday-transfer-card:not(.tag-editing) .remove_tag_admin,
.workday-transfer-card:not(.tag-editing) .add_tag_admin,
.workday-transfer-card:not(.tag-editing) .available_tags {
    display: none;
}
