:root {
    --primarybg: #002957;
    --secondarybg: #00234a;
    --secondarycolor: #9d9d9dd4;
}

.primary-bg {
    background-color: var(--primarybg);
}

.secondary-color {
    color: var(--secondarycolor);
}

/* AUTOCOMPLETE */
.autocomplete {
    /*the container must be positioned relative:*/
    position: relative;
    display: inline-block;
}

.autocomplete-items div {
    padding: 10px;
    cursor: pointer;
    background-color: #fff;
    border-bottom: 1px solid #d4d4d4;
}

.autocomplete-items div:hover {
    /*when hovering an item:*/
    background-color: #e9e9e9;
}

.autocomplete-active {
    /*when navigating through the items using the arrow keys:*/
    background-color: DodgerBlue !important;
    color: #ffffff;
}


/*TOASTS*/
.toast {
    position: absolute;
    right: 50px;
    top: 50px;
    z-index: 999;
}

/* WRAPPER SIDEBAR */
.wrapper {
    display: flex;
    align-items: stretch;
}

#content-area {
    width: calc(100% - 250px);
    min-height: 100vh;
    margin-left: 250px;
    background: var(--body-color);
    transition: var(--tran-04);
}

#content-area.closed {
    margin-left: 88px;
    width: calc(100% - 88px);
}

.auth-wrapper {
    flex-direction: row;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.auth-wrapper .w-50 {
    position: relative;
    width: 100%;
    flex: 0 0 50%;
    max-width: 50%;
    padding: 0 8%;
}

/* SMART */
.base-wrapper {
    padding: 30px 0;
}

.base-wrapper.primary-bg, .base-wrapper.primary-bg a {
    color: white;
}

.base-wrapper.primary-bg h1 {
    font-size: 28px;
}

.base-wrapper.primary-bg h2 {
    font-size: 23px;
}

.base-wrapper.primary-bg p, li {
    font-size: 12px;
}

.base-wrapper form input[type="email"], .base-wrapper form input[type="text"], .base-wrapper form input[type="password"] {
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
    padding: 8px 12px;
    border-radius: 0;
    border: 0;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: #0029570a;
}

::placeholder {
    font-size: 12px;
    color: #979797;
}

.base-wrapper form label {
    font-size: 12px;
    color: #979797;
}

.base-wrapper input:focus-visible {
    box-shadow: 0 0 10px 0 rgb(0 41 87 / 31%);
    outline: 1px solid #002957;
}

.smartbtn {
    display: block;
    width: 100%;
    border: none;
    padding: 12px;
    margin: 15px 0;
    background: #002957;
    color: white;
    font-weight: bolder;
    border-radius: 30px;
    transition: all .3s ease-in-out;
    -moz-transition: all .3s ease-in-out;
    -webkit-transition: all .3s ease-in-out;
    -ms-transition: all .3s ease-in-out;
    -o-transition: all .3s ease-in-out;
}

.viewerbtn {
    position: absolute;
    right: 15px;
    width: auto;
    padding: 12px 30px;
}

.smartbtn.secondary {
    background: #9f9f9f;
}

.progress-bar {
    background-color: #009fd4;
}

.smartbtn:hover {
    background: #004089;
    color: white;
    text-decoration: none;
}

label[for="#id_remember"] {
    display: inline-block !important;
}

#id_remember {
    display: inline-block !important;
}

.base-wrapper ul.errorlist {
    list-style: none;
    background: #e35252;
    color: white;
    padding: 15px;
    border-radius: 10px;
}

.base-wrapper form.login p:nth-of-type(3) {
    display: none;
}

table td small {
    color: #a3a3a3;
}

.mobile-card {
    margin-bottom: 25px;
}

.custom-card {
    background: #FFF;
    border-radius: 15px;
    padding: 70px 50px;
    margin: 0 auto;
    max-width: 65%;
}

@media screen and (min-width: 769px) and (max-width: 991px) {
    .custom-card {
        margin: 0;
        max-width: unset;
        width: 100%;
    }
}

#meshViewer {
    width: 100%;
}

.large-btn {
    min-width: 200px;
    max-width: 300px;
}

.hamburger {
    padding: 0 0 0 15px;
}

.hamburger .hamburger-box {
    top: 6px;
}

.hamburger.custom-white .hamburger-inner, .hamburger.custom-white .hamburger-inner:before, .hamburger.custom-white .hamburger-inner:after {
    background-color: #FFF;
    width: 30px;
    height: 2px;
}

.circle-icon {
    height: 50px;
    width: 50px;
    background: #002957;
    border-radius: 50%;
    color: white;
    text-align: center;
    line-height: 50px;
    font-size: 23px;
}

.language-selector, .language-selector-mobile {
    padding: 12px 30px;
    border: none;
    border-radius: 15px;
}

.addToCard {
    position: absolute;
    width: fit-content;
    padding-left: 30px;
    padding-right: 30px;
    right: 5%;
    bottom: 5%;
}

.backBtn {
    position: absolute;
    width: fit-content;
    padding-left: 30px;
    padding-right: 30px;
    left: 5%;
    bottom: 5%;
}

.openAddProductionJobModal {
    background: #002957;
    border-radius: 50%;
    color: white;
    font-size: 20px;
}

.preloader-wrapper {
    width: 100vw;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 9999;
    background-color: #002957c2;
}

.preloader-wrapper .spinner-border {
    width: 5rem;
    height: 5rem;
    color: white;
}

.clickable-row {
    cursor: pointer;
}

.clickable-row:hover {
    background-color: #002957;
    color: white;
}

/* PAGINATION */
.pagination {

}

.pagination .step-links {
    display: flex;
}

.pagination .paginate-button {
    border-radius: 50%;
    border: none;
    padding: 8px 8px;
    position: relative;
    margin: 0 3px;
    display: block;
    height: 50px;
    width: 50px;
    text-align: center;
    font-size: 15px;
    line-height: 33px;
    -webkit-transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out, -webkit-box-shadow .15s ease-in-out;
}

.pagination .paginate-button:not(.current-paginate):hover {
    background-color: #0029579e;
    color: white;
    text-decoration: none;
}

.pagination .current-paginate {
    color: var(--white);
    background-color: var(--primarybg);
    border-color: var(--primarybg);
}

/* CARD ELEMENTS */
.card-wrapper {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-clip: border-box;
    border-radius: 0.25rem;
    padding: 35px;
    border: none;
    -webkit-box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    box-shadow: 0 0 35px 0 rgba(154, 161, 171, 0.15);
    margin-bottom: 24px;
}

/* TAB NAVIGATION */
.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link {
    background-color: #eef2f7;
    font-size: 14px;
    padding: 10px 50px;
    border-radius: 0;
}

.tab-pane {
    padding: 1rem;
    border: 1px solid #eef2f7;
}

.breadcrumb {
    background-color: #eef2f7;
}

.nav-tabs .nav-item.show .nav-link, .nav-tabs .nav-link.active {
    color: #f7f7f7;
    background-color: #002957;
    font-size: 14px;
    border-radius: 0;
}

/* SLICK SLIDER */
.image-slider {
    width: 100%;
    position: relative;
}

.image-slider-wrapper {
    position: relative;
    width: 100%;
    overflow: hidden;
    max-width: 600px;
}


/* LOADERS */
.custom-loader {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    margin: auto;
}

.custom-loader .loader-circle {
    width: 3rem;
    height: 3rem;
    border: solid 0.5rem #d8d8d8;
    border-radius: 50%;
    border-right: solid 0.5rem #002957;
    animation: spin 2s infinite;
}

.custom-loader p {
    margin-top: 10px;
    letter-spacing: 0.2rem;
}

.mobile-nav.primary-bg {
    color: white;
    padding: 20px 30px;
}

/* NOTIFICATIONS */
.notifications-wrapper {
    margin: 0 -15px;
}

.notifications-wrapper .notifications-list p {
    margin: 0;
}

.notifications-wrapper .notifications-list {
    padding: 0;
    list-style: none;
    margin: 0;
}

.notifications-wrapper .notifications-list .notification-element {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px 30px;
    border-bottom: 2px solid #e1e1e1;
}

.notifications-wrapper .notifications-list .notification-element .notification-info {
    width: 75%;
}

.notifications-wrapper .notifications-list .notification-element .icon {
    width: 25%;
}

.notifications-wrapper .notifications-list .notification-element .icon i {
    font-size: 25px;
    color: var(--primary-color)
}

.light-grey {
    color: #a1a1a1;
}

.wrapp-flexed {
    display: flex;
}

.wrapp-flexed input.search {
    height: 100%;
}

.button-row {
    margin-bottom: 15px;
    text-align: right;
}

.copyURL, .adminURL {
    background-color: #f2f2f2;
    width: 2.5rem;
    height: 2.5rem;
    padding: 0;
    border-radius: 50%;
    line-height: 2rem;
}

.copyURL svg {
    height: 1rem;
    width: 1rem;
    margin-top: 0.25rem;
}

.adminURL {
    & i {
        font-size: 1.25rem;
        color: #002957;
        line-height: 2;
    }
}

.small-buttons {

    .adminURL {
        width: 2rem;
        height: 2rem;
        border: 1pt solid #dee2e6;

        & i {
            line-height: unset;
        }
    }
}

.toast {
    z-index: 0;
}

.toast.show {
    z-index: 5;
}

@keyframes spin {
    0% {
        transform: rotate(0);
    }
    100% {
        transform: rotate(360deg);
    }
}


@media (max-width: 768px) {
    .mobile.base-wrapper {
        min-height: 100vh;
    }

    .list-view {
        max-height: 80vh;
        overflow-x: hidden;
        overflow-y: scroll;
    }

    .list-view .mobile-card table a {
        color: #002957;
        display: block;
        font-size: 20px;
        text-align: center;
        height: 40px;
        width: 40px;
        background: #d3eaff;
        border-radius: 10px;
        line-height: 40px;
    }

    .toggle-notify .switch {
        display: inline-grid;
        height: 22px;
        width: 44px;
    }

    .toggle-notify .switch::before {
        background: var(--primarybg);
    }

    .toggle-notify small {
        margin-right: 25px;
        line-height: 22px;
    }

    .toggle-notify.active .switch::before {
        left: 25px;
    }

    .toggle-notify.active .switch {
        background: #B8C5D5;
    }

    .toggle-notify {
        display: flex;
    }

    .mw-100 {
        width: 100% !important;
    }

    .auth-wrapper .mw-100 {
        padding: 50px 25px;
    }

    h1 {
        font-size: 2.6rem;
    }

    .sidebar.mobile-sidebar {
        padding: 0;
    }

    .sidebar.mobile-sidebar.closed {
        width: 0;
    }

    .sidebar.mobile-sidebar .menu-bar .toggle {
        background: var(--sidebar-color);
        color: var(--primary-color);
        top: 40%;
        right: -40px;
    }

    .sidebar.mobile-sidebar.closed .toggle {
        top: 50%;
    }

    .sidebar.mobile-sidebar.closed .menu {
        display: none;
    }

    .sidebar.mobile-sidebar.closed header {
        display: none;
    }

    .sidebar.mobile-sidebar header {
        padding-top: 1rem;
    }

    .sidebar.mobile-sidebar .logo {
        height: 3rem;
    }

    .mobile-card {
        background: white;
        color: #002957;
        padding: 1.5rem 1rem;
        border-radius: 1rem;
    }
}

@media (max-width: 768px) {
    .mobile {
        display: block;
    }

    .desktop {
        display: none;
    }

    .mobile-full-h {
        height: 100vh;
        max-height: 100vh;
    }

    table {
        max-width: 100%;
        overflow-x: scroll;
        display: block;
        font-size: 0.75rem;
    }

    .wrapper {
        max-width: 100vw;
        width: 100vw;
        height: 100vh;
        position: relative;
        overflow-x: hidden;
        display: block;
    }

    .input-group-prepend {
        display: none;
    }

    #content-area, #content-area.closed {
        margin-left: 0;
        width: 100%;
    }

    .pagination .paginate-button {
        width: 2.875rem;
        height: 2.875rem;
        text-align: center;
        font-size: 0.75rem;
        line-height: 1rem;
    }

    .card-wrapper .container.pt-4 {
        padding: 0 !important;
    }

    .navbar.mobile {
        display: flex;
    }

    .mobile .navbar-brand svg {
        height: 30px;
    }

    .navbar-light .navbar-toggler {
        color: rgba(0, 0, 0, .5);
        border: none;
    }

    .navbar-nav .nav-item a {
        display: block;
        padding: 10px;
    }

    .navbar-nav .nav-item a span {
        font-size: 1rem;
        margin-left: 1.25rem;
    }

    .navbar-nav .nav-item a i {
        font-size: 1.25rem;
    }

    .navbar.mobile {
        padding: 1rem 2rem;
    }

    section {
        padding: 1.5rem 0.75rem;
    }

    .nav-tabs {
        display: block;
        text-align: center;
    }

    .card-wrapper {
        padding: 0.75rem;
    }

    .navbar.mobile .navbar-nav {
        padding-top: 0.5rem;
    }

    .mobile-m-0 {
        margin: 0 !important;
    }
}
