
/* -------------------- 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_Sizer_1_SmartPhone.css?ver=1512');             /* Defines the sizes for screen ports < 300 */
@import url('/css/css_Sizer_2_iPad.css?ver=54101');             /* Defines the sizes for screen ports >300 < 420 */
@import url('/css/css_Sizer_3_Desktop.css?ver=1141');             /* Defines the sizes for screen ports >420 < 790 */
@import url('/css/css_Sizer_4_LargeScreen.css?ver=1109');            /* Defines the sizes for screen ports >790 < 1080 */
@import url('/css/css_Sizer_5_Android.css?ver=1113');            /* Defines the sizes for screen ports >1100 */
@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
================================ */

* {
    box-sizing: border-box;
}

html {
}

body {
    overflow-x: hidden;
    background-color: #f8f9fa;
    font-family: Montserrat, sans-serif;
    font-weight: bold;
}

img {
    vertical-align: middle;
    max-width: 100%;
}

/* ================================
   LAYOUT
================================ */

.container_padding {
    padding-left: 0;
    padding-right: 0;
}

.main-content {
    min-height: 70vh;
    padding: 15px;
    overflow-x: hidden;
}

.body-Panel {
    background-color: ghostwhite;
    margin: 3vw;
}

.grid-container {
    display: grid;
    grid-template-columns: 0.2fr 0.8fr;
}

/* ================================
   TOP BAR
================================ */

.top-bar {
    background-color: #003300;
    color: ghostwhite;
    font-size: 0.9rem;
    min-height: 40px;
    display: flex;
    align-items: center;
    padding-left: 20px;
}

.social-bar {
    text-align: center;
    padding: 8px 0;
}

    .social-bar img {
        height: 22px;
        margin: 0 4px;
        transition: 0.3s;
        cursor: pointer;
    }

        .social-bar img:hover {
            transform: scale(1.1);
        }

/* ================================
   NAVBAR
================================ */

.navbar-brand img {
    max-height: 70px;
    width: auto;
}

.navbar-nav .nav-link {
    font-size: 0.95rem;
    font-weight: 500;
    padding-left: 12px !important;
    padding-right: 12px !important;
}

.dropdown-menu {
    border-radius: 10px;
    border: none;
    box-shadow: 0 5px 20px rgba(0,0,0,0.08);
}

.dropdown-item {
    padding-top: 8px;
    padding-bottom: 8px;
}

    .dropdown-item:hover {
        background-color: #f2f2f2;
    }

/* ================================
   FOOTER
================================ */

.footer-main {
    background-color: #003300;
    color: white;
    font-size: 0.85rem;
    padding: 15px;
}

    .footer-main a {
        color: #2BBBAD;
        text-decoration: none;
    }

        .footer-main a:hover {
            text-decoration: underline;
        }

.footer-bottom {
    background-color: #DCEDC8;
    padding: 10px;
}

    .footer-bottom img {
        max-height: 50px;
        width: auto;
    }

/* ================================
   GRID ROWS
================================ */

.gridrow:nth-child(odd) {
    background-color: lavender;
    align-items: center;
}

.gridrow:nth-child(even) {
    background-color: white;
    align-items: center;
}

/* ================================
   ICON COLORS
================================ */

.fa-good,
.imssbn-valid {
    color: green;
}

.fa-bad,
.imssbn-invalid {
    color: red;
}

/* ================================
   TABLE STYLING
================================ */

.th_text {
    background: green;
    color: white;
    margin: auto;
    padding: 0.05in;
    font-weight: bold;
    font-size: 14px;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Century Gothic';
}

.td_text {
    background: white;
    color: black;
    margin: auto;
    padding: 0.01in;
    font-weight: bold;
    font-size: 12px;
    text-transform: uppercase;
    text-align: center;
    font-family: 'Century Gothic';
}

/* ================================
   LINKS
================================ */

a {
    color: blue;
}

    a:visited {
        color: forestgreen;
    }

    a:hover {
        color: green;
    }

    a:active {
        color: orangered;
    }

.style_Link,
.qck_Links {
    font-family: Montserrat, sans-serif;
    font-weight: bold;
}

/* ================================
   WATERMARK
================================ */

.my_Watermark {
    opacity: 0.05;
    position: fixed;
    transform: translate(-50%, -55%);
}

/* ================================
   SLIDESHOW
================================ */

.slideshow-container {
    position: relative;
    margin: auto;
}

.text,
.numbertext {
    color: #f2f2f2;
    position: absolute;
    text-align: center;
}

.dot {
    background-color: #bbb;
    display: inline-block;
    transition: background-color 0.6s ease;
}

.mySlides {
    display: none;
}

.active {
    background-color: #717171;
}

.fade {
    animation-name: fade;
    animation-duration: 1.5s;
}

@keyframes fade {

    from {
        opacity: .4;
    }

    to {
        opacity: 1;
    }
}

/* ================================
   FORM CONTROLS
================================ */

.input,
.btn {
    font-size: 1.52vh;
    min-height: 3.17vh;
    max-height: 4.44vh;
    padding: 0.25vh 0.64vh;
    border-radius: 0.64vh;
    margin: 0.25vh;
}

.style_Btn {
    border: none;
    padding: 0.25vh;
    width: 8vw;
}

.mod_Label {
    margin: 0 auto;
}

/* ================================
   UTILITIES
================================ */

.place_Div {
    text-align: center;
    display: block;
}

.hidden {
    display: none;
}

.show-flex {
    display: flex !important;
}

.scroll {
    overflow-y: auto;
    flex-grow: 1;
}

.closebtn {
    margin-left: 15px;
}

/* ================================
   PRINT PAGES
================================ */

.A4_page {
    width: 29.7cm;
    max-height: 24cm;
    padding: 2cm;
    margin: 1cm auto;
    border: 1px ghostwhite solid;
    border-radius: 5px;
    background: white;
    box-shadow: 0 0 5px rgba(0,0,0,0.1);
}

.A4_subpage {
    padding: 1cm;
    border: 5px aqua solid;
    height: 198mm;
    outline: 2cm #FFEAEA solid;
}

/* ================================
   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 {
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 10px;
    color: #fff;
}

.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 {
    padding: 6px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    font-size: 12px;
}

    .list-item:hover {
        background: #f5f5f5;
    }

    .list-item.active {
        background: #d0ebff;
    }

.preview-img {
    max-height: 300px;
    object-fit: contain;
}

/* ================================
   IMSSBN
================================ */

.imssbn-inline {
    display: flex;
    align-items: center;
    gap: 4px;
    flex-wrap: nowrap;
}

    .imssbn-inline .form-control {
        width: auto !important;
        display: inline-block;
        padding: 2px 4px;
    }

.imssbn-small {
    width: 70px;
    text-align: center;
}

.imssbn-tiny {
    width: 40px;
    text-align: center;
}

.imssbn-indicator {
    width: 20px;
    text-align: center;
}

    .imssbn-indicator i {
        font-size: 18px;
    }

/* ================================
   CONFIRM DIALOG
================================ */

.confirm-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.confirm-box {
    background: #fff;
    padding: 20px;
    border-radius: 6px;
    width: 300px;
    text-align: center;
}

.confirm-image img {
    max-width: 100%;
    max-height: 200px;
    margin-bottom: 10px;
}

.confirm-text {
    margin-bottom: 15px;
    font-size: 14px;
}

.confirm-actions {
    display: flex;
    justify-content: space-between;
}

/* ================================
   SCREEN MEDIA
================================ */

@media screen {

    .Header_1 {
        display: table;
        position: absolute;
        left: 2.9in;
        top: 1.8in;
        width: 8.5in;
    }

    .Content_1 {
        display: table;
        position: absolute;
        left: 2.9in;
        top: 3.15in;
        width: 9in;
    }
}

/* ================================
   PRINT MEDIA
================================ */

@media print {

    .Header_1 {
        display: table;
        position: absolute;
        left: 2.4in;
        top: 1.6in;
        width: 9in;
    }

    .Content_1 {
        display: table;
        position: absolute;
        left: 2.4in;
        top: 2.95in;
        width: 9in;
    }
}

/* ================================
   MOBILE
================================ */

@media (max-width: 991px) {

    .navbar-nav {
        padding-top: 10px;
    }

        .navbar-nav .nav-link {
            padding-top: 10px;
            padding-bottom: 10px;
        }

    .top-bar {
        justify-content: center;
        text-align: center;
        padding-left: 0;
        font-size: 0.8rem;
    }

    .social-bar {
        margin-top: 5px;
    }

    .main-content {
        min-height: auto;
        padding: 10px;
    }

    .footer-main {
        text-align: center;
        font-size: 0.75rem;
    }

    .footer-bottom {
        text-align: center;
    }
}