:root {
    --main: #071019;
    --highlight: #C6A54B;
    --einfo: #489d8e;
    --bg: #fff;
    --light-blue: #EFF5FA;
    --light-darker-blue: #A3B1C6;
    --dark-blue: #131b25;
    --light-dark-blue: #131b2594;
}

/*.readonly-mode input,*/
/*.readonly-mode textarea,*/
/*.readonly-mode select {*/
/*    pointer-events: none;*/
/*    !*background-color: #f5f5f5;*!*/
/*    !*color: #888;*!*/
/*    !*border-color: #ddd;*!*/
/*}*/

/*.readonly-mode button,*/
/*.readonly-mode span.reset_password,*/
/*.readonly-mode span.edit_rights,*/
/*.readonly-mode .edit-button {*/
/*    display: none;*/
/*}*/

/*.readonly-mode .close {*/
/*    pointer-events: auto;*/
/*}*/

body {
    background-color: var(--light-blue);
    font-size: 0.875rem;
    margin: 0;
    padding: 0;
}

.link_color {
    color: #5b77c9;
    transition: color 0.2s;

}

/*a, a * {*/
/*    all: unset;*/
/*    text-decoration: none;*/
/*    cursor: pointer;*/
/*}*/


a:hover, .pink {
    color: var(--highlight);
}

.einfo {
    color: var(--einfo);
}

nav {
    background: var(--main);
    opacity: 0.95;
    position: sticky;
    top: 0;
    z-index: 1000;
    width: 100%;
}

nav .nav-link {
    color: white !important;
}

nav .nav-link:hover, nav .nav-link.active {
    color: var(--light-darker-blue) !important;
}

nav .nav-logo {
    height: 0.5em;
}

div.filter {
    background: #212529;
    padding: 10px;
    border-radius: 5px;
    color: white;
    /*position: sticky;*/
    top: 70px;
    z-index: 999;
    margin-top: 10px;
}

input, textarea {
    border-radius: 5px;
}

.pointer, .pointer-dark {
    cursor: pointer;
}

.pointer:hover {
    color: #000;
}
.pointer-dark:hover {
    color: #ffffff;
}

ul.navbar-nav {
    display: flex;
    align-items: center;
}

li.nav-item .new_loading_list {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

span.reset_date {
    cursor: pointer;
    font-size: x-small;
}

div.date_block {
    display: flex;
    flex-direction: row;
    align-items: baseline;
}

div.dates, .selects, div.filter_items {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
}

.myalert {
    padding: 5px 20px;
    border-radius: 5px;
    display: flex;
    justify-content: space-between;
}

.info_text {
    cursor: pointer;
    color: #dde9f3;
}

.info_text:hover {
    color: #a3a5a9;
}

.i_info, .i_info_r {
    opacity: 0.5;
    vertical-align: top;
}

.truncate {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 200px;
}

.i_info_r {
    text-align: right;
}

.loader {
    margin: auto;
    text-align: center;
    border: 2px solid transparent;
    border-top-color: var(--highlight);
    border-radius: 50%;
    width: 80px;
    height: 80px;
    animation: spin 2s infinite;
    z-index: 9999;
}

body.loading {
    overflow: hidden;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}


/*.tooltip-inner {*/
/*    min-width: 75vw;*/
/*    background-color: #000;*/
/*    color: #fff;*/
/*    font-size: 14px;*/
/*    border-radius: 5px;*/
/*    padding: 10px;*/
/*    max-width: 200px;*/
/*    text-align: left;*/
/*}*/

/*.tooltip-inner ul {*/
/*    padding-left: 20px;*/
/*    margin: 0;*/
/*}*/

/*.tooltip-inner li {*/
/*    margin-bottom: 5px;*/
/*}*/

img.goo_image {
    width: 100%;
    max-width: 300px;
    height: auto;
    cursor: pointer;
}

.m_green {
    color: #41c998;
}

.m_red {
    color: #dc0069;
}
.maybe_yes, .maybe_no {
    cursor: pointer;
}
.maybe_yes:hover {
    color: #41c998;
}

.maybe_no:hover {
    color: #dc0069;
}

table.res_table {
    margin-top: 2px;
}

div.new_state {
    display: flex;
    flex-direction: column;
}

.videoWrapper {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 25px;
    height: 0;
}

.videoWrapper iframe, .videoWrapper object {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.img_gallery {
    border-radius: 3px;
    height: 300px;
    background-size: cover;
    background-position: 50% 20%;
    transition: all 0.5s ease;
}

.img_gallery a {
    position: absolute;
    height: 100%;
    width: 100%;
    left: 0;
}

div.complete_item {
    padding: 10px;
    background-color: #3d434a0d;
    margin: 10px auto;
    border: 1px solid silver;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 95%;
}

div.all_items {
    margin-top: 70px;
}

div.form_prev {
    display: flex;
    width: 25%;
    flex-direction: column;
    border-right: 1px solid silver;
}

div.prev_pic {
    display: flex;
    flex-direction: row;
    width: 75%;
    gap: 10px;
    align-items: center;
}

nav.navbar.mainnav{
    opacity: 0.95;
    order: 2;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.sub_navbar {
    opacity: 0.95;
    position: sticky;
    top: 0;
    width: 100%;
    z-index: 999;
}

.items-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.filter-panel {
    width: 100%;
    background-color: #f8f8f8;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
}

.all-items {
    flex-grow: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
}

.complete_item {
    margin-left: 320px;
    padding: 20px;
}

@media screen and (max-width: 768px) {
    .filter-panel {
        width: 100%;
        padding: 15px;
    }

    .items-container {
        flex-direction: column;
        gap: 0;
    }

    .all-items {
        width: 100%;
    }

    .complete_item {
        margin-left: 0;
        text-align: center;
    }
}

.save_btn {
    color: var(--einfo);
}

@media (max-width: 768px) {
    div.date_block, div.filter_items {
        flex-direction: column;
        align-items: flex-start;
    }

    div.complete_item {
        text-align: center;
        width: 95%;
        margin: 10px auto;
    }

    .find-data, .text-center {
        text-align: center;
        width: 100%;
    }

    div.form_prev, div.prev_pic {
        width: 100%;
        flex-direction: column;
        gap: 5px;
        border-right: none;
    }
}

.filter-panel {
    width: 100%;
    background-color: #f8f8f8;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    margin-top: 20px;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: center;
    justify-content: space-around;
}

.filter-panel .btn {
    width: 100%;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin-right: -15px;
    margin-left: -15px;
    align-items: center;
    justify-content: space-around;
    padding: 8px;
}

.filter-panel .btn i {
    margin-right: 5px;
}

.flexmyh3 {
    display: flex;
    justify-content: space-around;
}

@media screen and (max-width: 768px) {
    .filter-panel {
        padding: 10px;
    }

    .filter-panel .form-group {
        margin-bottom: 10px;
    }

}

@media (max-width: 575.98px) {
    .modal-lg {
        max-width: 95% !important;
        margin: 10px auto;
    }
}
