﻿/* Portal Styles */
/*@import url(https://fonts.googleapis.com/css2?family=Anton&family=Lexend+Exa:wght@100;200;900&family=Quicksand&family=Raleway:wght@500&display=swap);*/

:root {
    --dx-green: #35B86B;
    --bg-blue: #01577f;
}

@font-face {
    font-family: Quicksand;
    src: url(https://fonts.googleapis.com/css2?family=Anton&family=Lexend+Exa:wght@100;200;900&family=Quicksand&family=Raleway:wght@500&display=swap);
}

.breadcrumb {
    --bs-breadcrumb-divider: "\00BB";
}
/*#region base styles*/
body, html, * {
    margin: 0 0;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    user-select: none;
    font-family: Quicksand !important;
}
/*.bg-dark {
    background-color: #2c3531!important;
}*/
body {
    /*background: url('images/bg7.jpg');*/
    /*background-color: #eefcff;*/
    min-height: 100vh;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
}
/*#endregion*/

/*#region dark/light/default theme*/
.dark-theme,
.dark-theme .dxpc-contentWrapper,
.dark-theme .dxgvSearchPanel_Material,
.dark-theme .themed-pagecontrol,
.dark-theme #Content_PageControl_CC,
.dark-theme .dxtc-content,
.dark-theme .checklist,
.dark-theme .themed-seperator,
.dark-theme .side-nav {
    background-color: var(--bs-gray-800) !important;
}

    .dark-theme .dxsc-date-cell-body {
        background-color: darkgray !important;
    }

    .dark-theme .themed-divider {
        border-color: white;
    }

    .dark-theme nav,
    .dark-theme footer {
        background-color: rgba(33,37,41,1) !important;
    }

    .dark-theme #Content_PageControl_ReceivingReportGrid_DXHFP_PW-1 label,
    .dark-theme #SwitchLangBtn,
    .dark-theme #Toggler,
    .dark-theme .header-text,
    .dark-theme #codeList,
    .dark-theme #codeList span,
    .dark-theme .themed-label,
    .dark-theme .themed-checklist label,
    .dark-theme .dxeCaption_MetropolisBlue,
    .dark-theme .themed-tb,
    .dark-theme .side-nav-close,
    .dark-theme .themed-node,
    .dark-theme .dxeCaptionCell_Material {
        color: rgba(248,249,250,1);
    }

    .dark-theme .side-nav .themed-node-link {
        color: #2e85bb !important;
    }

    .dark-theme .dxtv-ndHov {
        background-color: var(--bs-gray-800) !important;
    }

    .dark-theme #FavButton {
        color: white !important;
    }

    .dark-theme .list-btn {
        color: white !important;
    }

    .dark-theme .disabled-btn {
        color: grey !important;
    }

    .dark-theme #HomeBtn:hover,
    .dark-theme #FavButton:hover {
        color: grey !important;
    }

    .dark-theme #Content_SaveToPopup_FolderList_CD .dxtv-ndSel {
        color: black !important;
    }

    .dark-theme #Content_ViewPanel_Splitter_TopicTree_CD .dxtv-ndHov,
    .dark-theme #Content_ViewPanel_Splitter_SearchTree .dxtv-ndHov,
    .dark-theme #Content_SaveToPopup_FolderList_CD .dxtv-ndHov,
    .dark-theme #Content_SaveToPopup_FileList_CD .dxtv-ndHov,
    .dark-theme #Content_FileManagementPopup_PW-1 .dxtv-ndHov {
        background-color: whitesmoke !important;
        color: black !important;
    }
/*.dark-theme #Content_SaveToPopup_FolderList_CD .dxtv-nd {
    color: rgba(248,249,250,1)!important;
}*/

/*Light theme css*/
.light-theme,
.light-theme .dxpc-contentWrapper,
.light-theme .dxgvSearchPanel_Material,
.light-theme .themed-pagecontrol,
.light-theme #Content_PageControl_CC,
.light-theme .themed-seperator,
.light-theme .dxtc-content {
    background-color: #eefcff !important;
}

    .light-theme .dxsc-date-cell-body {
        background-color: whitesmoke !important;
    }
    /*.light-theme #HomeBtn,
.light-theme #FavButton {
    color: black!important;
}
.light-theme #HomeBtn:hover,
.light-theme #FavButton:hover {
    color: grey!important;
}*/
    .light-theme .themed-divider {
        border-color: black;
    }

    .light-theme nav,
    .light-theme footer {
        background-color: rgba(248,249,250,1) !important;
    }

    .light-theme #SwitchLangBtn,
    .light-theme #toggler,
    .light-theme .header-text,
    .light-theme #codeList,
    .light-theme #codeList span,
    .light-theme .themed-label,
    .light-theme .themed-checklist label,
    .light-theme .dxeCaption_MetropolisBlue,
    .light-theme .themed-tb,
    .light-theme .dxeCaptionCell_Material {
        color: rgba(33,37,41,1) !important;
    }

    .light-theme #FavListPopup_PW-1,
    .light-theme .checklist,
    .light-theme .dxpc-contentWrapper #FavListPopup_PWC-1 {
        background-color: white !important;
    }

    .light-theme .breadcrumb {
        background-color: whitesmoke !important;
        color: black !important;
        border: 1px solid rgba(0,0,0,0.3) !important;
    }

    .light-theme .disabled-link {
        color: black !important;
    }

/*Default theme css*/
.default-theme,
/*.default-theme .dxpc-contentWrapper,*/
.default-theme .dxgvSearchPanel_Material,
.default-theme .dxtc-content {
    background-color: #eefcff !important;
    background-color: var(--bs-gray-300) !important;
}

    .default-theme .checklist {
        background-color: white !important;
    }

    .default-theme #SwitchLangBtn,
    .default-theme #toggler {
        color: rgba(248,249,250,1) !important;
    }

    .default-theme nav,
    .default-theme footer {
        background-color: rgba(33,37,41,1) !important;
    }

    .default-theme .disabled-link {
        color: black !important;
    }

/*#endregion*/

/*#region media queries*/
@media screen and (max-width: 1366px) {
    .Punchclock {
        font-size: 12px;
    }

    .Fix1366 {
        font-size: 8px;
        font-weight: bold;
    }
}
/*@media (max-width: 767px) {
    .top-menu {
        top: 6px;
        right: 52px;
        width: 100%;
    }

    .top-menu > .navbar-nav > li {
        float: none !important;
    }
}

@media (min-width: 768px) {
    .top-menu {
        margin-right: -15px;
    }

    .top-auth-menu {
        margin-left: auto;
    }
}
*/
.dx-bs5.bg-light {
    padding: 2rem 1rem;
    margin-bottom: 2rem;
    background-color: #e9ecef;
    border-radius: .3rem;
}

@media (min-width: 576px) {
    .dx-bs5.bg-light {
        padding: 4rem 2rem;
    }
}
/*#endregion*/

/*#region animations*/
@keyframes OpenSidebar {
    from {
        width: 0%;
    }

    to {
        width: 100%;
    }
}

@keyframes CloseSidebar {
    from {
        width: 100%;
    }

    to {
        width: 0%;
    }
}
/*#endregion*/

/*#region custom styles*/
.float-left {
    float: left;
    align-self: flex-end;
    justify-content: flex-end;
}

.acc-btn::after {
    display: inline-block;
    vertical-align: -1.7em;
    content: "";
    border-top: 0.5em solid;
    border-right: 0.5em solid transparent;
    border-bottom: 0;
    border-left: 0.5em solid transparent;
    /*color: #0d6efd;*/
    color: blue;
    margin-left: -1.8em;
}

.float-right {
    float: right;
    justify-content: flex-start;
}

.footer {
    position: fixed;
    z-index: 100;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 50px;
    background-color: rgba(0,0,0,0.15);
    box-shadow: 0px 0px 8px 0px rgba(0,0,0,0.3);
}

.SearchBar {
    width: 50%;
}

.text-warning:hover {
    color: Orange !important;
}

.btn-hover {
    color: white;
}

    .btn-hover:hover {
        color: black !important;
    }

.LangBtn {
    background: none;
    color: black;
    border: none;
    box-shadow: none;
    width: 100%;
    text-align: center;
}

.dxb {
    padding: 0 !important;
    background-color: transparent !important;
}

.static-add {
    position: fixed;
    bottom: 60px;
    right: 5em;
}

.FullImage {
    max-width: 100vw;
    max-height: 100vh;
    min-height: 100vh;
}

.prev-btn {
    width: 50px;
    height: 50px;
    font-size: 2.5em;
    color: white;
    position: absolute;
    top: 48%;
    left: 5%;
    font-weight: bold;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    border: none;
}

.next-btn {
    width: 50px;
    height: 50px;
    font-size: 2.5em;
    color: white;
    position: absolute;
    top: 48%;
    right: 5%;
    font-weight: bold;
    border-radius: 50%;
    background-color: rgba(255,255,255,0.3);
    border: none;
}

.close-btn {
    font-size: 5em;
    line-height: 0;
    background-color: transparent;
    border: none;
    padding: 0px;
    color: rgba(255, 255, 255, 0.3);
    position: absolute;
    right: 5px;
    top: 15px;
}

.Coral {
    background-color: coral;
}

.LightBlue {
    background-color: lightblue;
}

.MediumPurple {
    background-color: mediumpurple;
}

.LightGreen {
    background-color: lightgreen;
}

.Yellow {
    background-color: yellow;
}

.Pink {
    background-color: pink;
}
/*#endregion*/

/*#region sidenav*/
.side-nav {
    display: flex;
    flex-direction: column;
    align-items: center;
    position: absolute;
    left: 0px;
    top: 0px;
    height: 100vh !important;
    width: 0px;
    max-width: 28em;
    /*background-color: var(--bs-dark);*/
    background-color: whitesmoke;
    z-index: 100;
    box-shadow: 4px 0px 8px 0px rgba(0,0,0,0.3);
    font-size: medium;
}

    .side-nav .content {
        display: none;
        width: 100%;
    }

.side-nav-close {
    padding-right: 0.25rem;
    opacity: 1;
    float: right;
    font-size: 2em;
    line-height: 24px;
    color: var(--bs-dark);
    position: sticky;
    top: 0;
}

    .side-nav-close:hover {
        cursor: pointer;
        color: red;
    }

.side-nav-modal {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100vw;
    height: 100vh;
    z-index: 2;
    background-color: rgb(255,255,255);
    opacity: 0;
    transition: opacity 0.2s ease-in;
}
/*#endregion*/

/*#region dropdown*/
.bg-dropdown, .bg-item-dropdown {
    position: relative;
    display: inline-block;
}

.bg-item-dropdown-content {
    display: none;
    position: absolute;
    left: 240px;
    top: 0px;
    background-color: #f9f9f9;
    min-width: 240px;
    width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    padding: 12px 0px;
    z-index: 10;
    border-radius: 0px 5px 5px 5px;
}

.bg-dropdown-content {
    display: none;
    position: absolute;
    top: 41px;
    background-color: #f9f9f9;
    min-width: 250px;
    /*max-width: 350px;*/
    width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    padding: 12px 0px;
    z-index: 10;
    border-radius: 0px 0px 5px 5px;
}

.bg-dropdown-content-sm {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    max-width: 250px;
    min-width: 180px;
    width: fit-content;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.3);
    padding: 12px 0px;
    z-index: 1;
    border-radius: 0px 0px 5px 5px;
}

.bg-dropdown:hover .bg-dropdown-content,
.bg-dropdown:hover .bg-dropdown-content-sm,
.bg-item-dropdown:hover .bg-item-dropdown-content {
    display: block;
}

.bg-dropdown:hover .bg-dropdown-toggle {
    padding: 0 0.25rem 1rem 0.25rem;
    border-right: 4px solid #2e85bb;
    border-left: 4px solid #2e85bb;
    border-bottom: 4px solid #2e85bb;
    border-bottom-left-radius: 0.25rem;
    border-bottom-right-radius: 0.25rem;
}

.bg-dropdown:hover .bg-dropdown-content {
    /*border-top: 10px solid #2e85bb;*/
}

.bg-dropdown:hover .bg-dropdown-toggle::after {
    transform: rotateX(180deg);
}

.bg-dropdown-toggle {
    text-decoration: none;
    align-items: center;
    padding: 1em 0.5em;
    color: #2e85bb !important;
    font-weight: bold;
}

.bg-item-toggle {
    text-decoration: none;
    align-items: center;
    padding-bottom: 1em;
    color: inherit !important;
    font-weight: bold;
}

.light-theme .bg-dropdown-toggle, .light-theme .bg-item-toggle {
    text-decoration: none;
    align-items: center;
    padding-bottom: 1em;
    color: black !important;
}

.bg-dropdown-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    color: #2e85bb !important;
    margin-left: 1em;
}

.bg-dropdown-header {
    padding-left: 0.25em;
    font-size: 1.2em;
    /*text-align: center;*/
    color: rgba(0,0,200, 0.75);
}

    .bg-dropdown-header:hover {
        cursor: default !important;
    }

.bg-dropdown-content hr {
    margin: 0 0;
}

.LinkButton {
    display: block !important;
    padding: 0.5rem 1rem;
    margin: 0 0;
    text-decoration: none;
    color: #2e85bb !important;
    white-space: nowrap;
    /*width: fit-content!important;*/
    /*text-align: center;*/
}

    .LinkButton:hover {
        /*background-color: rgb(128, 128, 128, 0.5);*/
        background-color: transparent;
        /*border: 1px solid #2e85bb;*/
        color: blue !important;
        font-weight: bold;
        /*
    font-size: 15px!important;
    padding-top:    0.55rem;
    padding-bottom: 0.59rem;
    border-top: 1px solid black;
    border-bottom: 1px solid black;
    */
        /*
    */
        /*color: black!important;*/
    }

a:not(.bg-item-toggle) {
    color: #2e85bb;
}

.bg-dropdown-item, .bg-item-toggle {
    width: 100%;
    padding: 0.25rem 1rem;
    margin: 0 0;
}

.bg-item-dropdown {
    width: 100%;
}

.bg-item-toggle {
    color: #0000ff !important;
    text-decoration: none;
    align-content: center;
    width: 100%;
}

    .bg-item-toggle::after {
        display: inline-block;
        content: "";
        border-left: 0.3em solid;
        border-bottom: 0.3em solid transparent;
        border-right: 0;
        border-top: 0.3em solid transparent;
        color: black;
        float: right;
        position: relative;
        top: 0.5em;
    }

.bg-dropdown-link {
    text-decoration: none;
}

.bg-dropdown-item:hover, .bg-item-dropdown:hover {
    background-color: rgb(128, 128, 128, 0.5);
    cursor: pointer;
}

.bg-item-toggle:hover::after,
.bg-drop-item-content .bg-item-toggle::after {
    display: inline-block;
    margin-left: 0.255em;
    vertical-align: 0.255em;
    content: "";
    border-top: 0.3em solid;
    border-right: 0.3em solid transparent;
    border-bottom: 0;
    border-left: 0.3em solid transparent;
    /*color: #0d6efd;*/
    margin-left: 1em;
}

/*#endregion*/

select {
    border-radius: 50rem !important;
}

/*#region flexbox*/
.bg-flex-col {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: auto;
    max-width: 80%;
    min-width: 50%;
}

.bg-flex {
    display: flex;
    margin: auto;
    flex-wrap: wrap;
    align-items: center;
    max-width: 80%;
    min-width: 50%;
}

.bg-flex-item {
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: center;
    min-height: 100px;
    font-family: sans-serif;
    font-weight: bold;
}

.flex-25 {
    flex: 24%;
}

.flex-33 {
    flex: 31%;
}

.flex-50 {
    flex: 48%;
}

.flex-66 {
    flex: 65%;
}

.flex-75 {
    flex: 74%;
}

.flex-100 {
    flex: 100%;
}

.bg-gap-1 {
    grid-gap: 1em;
}

.flex-link {
    background-color: var(--bs-primary);
    border-radius: 5px;
}

    .flex-link:hover {
        cursor: pointer;
        background-color: var(--bs-secondary);
        color: whitesmoke !important;
        border: 1px solid rgba(0,0,0,0.3);
        box-shadow: 0 .5rem 1rem rgba(0,0,0,.3) !important;
    }
/*#endregion*/
