
/* -------------------- Attach dedicated CSS for various viewports --------------------- */
@import url('/css/css_Sanitize.css?ver=171');              /* Imports all fonts for the project */
@import url('/css/css_Fonts.css?ver=171');                 /* Imports all fonts for the project */
@import url('/css/css_Effects.css?ver=107'); /* Imports all effects for the project */
@import url('/css/css_Boxes.css?ver=112'); /* Imports the design for the Div tags */
@import url('/css/css_Forms.css?ver=189'); /* Imports the design for Form tags */
@import url('/css/css_Objects.css?ver=186'); /* Imports object styling */

/* ==========================================================
   GLOBAL
========================================================== */

*,
*::before,
*::after {
    box-sizing: border-box;
}

body {
    overflow-x: hidden;
    background-color: #f8f9fa;
    font-family: 'Montserrat', sans-serif;
    color: #212529;
}

img {
    max-width: 100%;
    vertical-align: middle;
}

/* ==========================================================
   LAYOUT
========================================================== */

.container-padding {
    padding-inline: 0;
}

.main-content {
    overflow-x: hidden;
}

.body-panel {
    background-color: ghostwhite;
}

.grid-container {
    display: grid;
}

/* ==========================================================
   PAGE SHELL
========================================================== */

.page-shell {
    padding-top: 1rem;
    padding-bottom: 1rem;
}

.page-content {
    min-height: 50vh;
    max-height: 75vh;
    background: #fff;
    border-radius: 1rem;
    box-shadow: 0 4px 10px rgba(0,0,0,.10), 0 12px 30px rgba(0,0,0,.18);
    overflow-y: auto;
    overflow-x: hidden;
}

.content-panel {
    min-height: 50vh;
    max-height: 75vh;
    padding: 1.5rem;
    background: rgba(255,255,255,.95);
    border: 1px solid rgba(255,255,255,.3);
    border-radius: 1rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 .5rem 1rem rgba(0,0,0,.15), 0 1rem 2rem rgba(0,0,0,.10);
    overflow-y: auto;
    overflow-x: hidden;
}

/* ==========================================================
   NAVBAR
========================================================== */

.navbar-brand img {
    width: auto;
}

.navbar-nav {
    display: flex;
}

    .navbar-nav .nav-link {
        font-weight: 500;
        white-space: nowrap;
    }

.nav-tabs {
    border-bottom: 1px solid #dee2e6;
}

    .nav-tabs .nav-link {
        border: none !important;
        background: transparent !important;
        color: #495057;
        font-weight: 600;
        padding: .25rem 1rem;
        margin-bottom: -1px;
    }

        .nav-tabs .nav-link:hover {
            border: none !important;
            color: #0d6efd;
        }

        .nav-tabs .nav-link.active {
            border: none !important;
            background: transparent !important;
            color: #0d6efd;
        }

            .nav-tabs .nav-link.active::after {
                content: '';
                display: block;
                margin-top: .35rem;
                height: 2px;
                background: #0d6efd;
            }

.axx-nav-icon {
    width: 0.9rem;
    height: 0.9rem;
}

.axx-nav-link {
    display: inline-flex;
    align-items: center;
    gap: .25rem;
    font-size: .875rem;
}

/* ==========================================================
   ERROR PAGE
========================================================== */
.error-avatar {
    width: 10rem;
    height: 10rem;
    object-fit: cover;
}

.error-illustration {
    max-width: 12rem;
}

.error-watermark {
    opacity: .05;
    z-index: 0;
}

.error-message {
    position: relative;
    z-index: 1;
}


/* ==========================================================
   DROPDOWN
========================================================== */

.dropdown-menu {
    border: none;
    border-radius: .5rem;
    box-shadow: 0 .25rem 1rem rgba(0,0,0,.08);
}

.dropdown-item {
    line-height: 1.2;
    transition: background-color .2s ease;
}

    .dropdown-item:hover,
    .dropdown-item:focus {
        background-color: #f5f5f5;
    }

/* ==========================================================
   TOP BAR / SOCIALS
========================================================== */

.top-bar {
    background-color: #003300;
    color: #fff;
    display: flex;
    align-items: center;
}

.social-bar {
    text-align: center;
}

    .social-bar img {
        cursor: pointer;
        transition: transform .3s ease;
    }

        .social-bar img:hover {
            transform: scale(1.1);
        }

/* ==========================================================
   FOOTER
========================================================== */

.footer-main {
    background-color: #003300;
    color: #fff;
}

    .footer-main a {
        color: #2BBBAD;
        text-decoration: none;
    }

        .footer-main a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    background-color: #DCEDC8;
}

    .footer-bottom img {
        width: auto;
    }

/* ==========================================================
   GRID ROWS
========================================================== */

.gridrow:nth-child(odd) {
    background-color: lavender;
}

.gridrow:nth-child(even) {
    background-color: #fff;
}

/* ==========================================================
   ICON STATES
========================================================== */

.fa-good,
.imssbn-valid {
    color: green;
}

.fa-bad,
.imssbn-invalid {
    color: red;
}

/* ==========================================================
   TABLES
========================================================== */

.th-text,
.td-text {
    text-align: center;
    text-transform: uppercase;
    font-family: 'Century Gothic', sans-serif;
}

.th-text {
    background: green;
    color: white;
    font-weight: 700;
}

.td-text {
    background: white;
    color: black;
    font-weight: 700;
}

/* ==========================================================
   LINKS
========================================================== */

.style-link,
.qck-links {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

/* ==========================================================
   WATERMARK
========================================================== */

.my-watermark {
    position: fixed;
    opacity: .05;
}

/* ==========================================================
   SLIDESHOW
========================================================== */

.slideshow-container {
    position: relative;
    margin: auto;
}

.mySlides {
    display: none;
}

.text,
.numbertext {
    color: #f2f2f2;
    position: absolute;
    text-align: center;
}

.dot {
    background-color: #bbb;
    display: inline-block;
    transition: background-color .6s ease;
}

.active {
    background-color: #717171;
}

.fade {
    animation: fade 1.5s;
}

@keyframes fade {
    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

/* ==========================================================
   FORM CONTROLS
========================================================== */

.input,
.btn {
    border-radius: .4rem;
}

.style-btn {
    border: none;
}

.mod-label {
    text-align: center;
}

/* ==========================================================
   UTILITIES
========================================================== */

.place-div {
    text-align: center;
}

.hidden {
    display: none;
}

.show-flex {
    display: flex !important;
}

.scroll {
    overflow-y: auto;
    flex-grow: 1;
}

.center-it {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

/* ==========================================================
   TREE VIEW
========================================================== */

#folderRoleSelector {
    position: relative;
    z-index: 10;
}

.tree-container ul {
    list-style: none;
    padding-left: 20px;
    font-size: 12px;
}

.tree-node {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 4px;
    cursor: pointer;
}

    .tree-node:hover {
        background: #f0f0f0;
    }

.active-node {
    background: #d0ebff;
    border-radius: 4px;
}

.tree-badge {
    color: #fff;
    border-radius: 10px;
}

.badge-img {
    background: #28a745;
}

.badge-doc {
    background: #6c757d;
}

.badge-mix {
    background: #ffc107;
}

.tree-thumb {
    width: 24px;
    height: 24px;
    object-fit: cover;
    border-radius: 3px;
}

/* ==========================================================
   ACTION BUTTONS
========================================================== */

.folder-actions {
    margin-left: auto;
}

    .folder-actions button {
        font-size: 10px;
        padding: 2px 6px;
        margin-left: 4px;
    }

/* ==========================================================
   PANELS
========================================================== */

.panel {
    height: 60vh;
    display: flex;
    flex-direction: column;
}

.tree-section {
    height: 45%;
    overflow: auto;
}

.content-section {
    height: 55%;
    overflow: hidden;
}

.pane {
    border: 1px solid #ddd;
    padding: 5px;
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* ==========================================================
   LIST / PREVIEW
========================================================== */

.list-item {
    border-bottom: 1px solid #eee;
    cursor: pointer;
}

    .list-item:hover {
        background: #f5f5f5;
    }

    .list-item.active {
        background: #d0ebff;
    }

.preview-img {
    object-fit: contain;
}

/* ==========================================================
   IMSSBN
========================================================== */

.imssbn-inline {
    display: flex;
    align-items: center;
    flex-wrap: nowrap;
}

    .imssbn-inline .form-control {
        width: auto !important;
        display: inline-block;
    }

.imssbn-small,
.imssbn-tiny,
.imssbn-indicator {
    text-align: center;
}

/* ==========================================================
   CONFIRM DIALOG
========================================================== */

.confirm-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: none;
    align-items: center;
    justify-content: center;
    background: rgba(0,0,0,.5);
}

.confirm-box {
    text-align: center;
    background: #fff;
    border-radius: 6px;
}

.confirm-actions {
    display: flex;
    justify-content: space-between;
}

/* ==========================================================
   DEVICE OVERRIDES
   (Handled in css_Sizer_* files)
========================================================== */