:root {
    --primary-color: #246545; /* Blue for buttons and links */
    --secondary-color: #28a745; /* Green for download button */
    --background-color: #e9f2ffb2; /* Light gray background */
    --card-background: #e6e6e6;
    --background-color-sec: #eaf2ff; /* White background for cards */
    --color-white: #fff; /* White color */
    --text-color: #232323; /* Dark text color */
    --secondary-text-color: #676767; /* Lighter text for secondary info */
    --border-color: #ddd; /* Light gray border */
    --shadow-color: 2px 2px 7px -4px rgba(0, 0, 0, 0.3); /* Subtle shadow */
    --spacing-sm: 10px; /* Small spacing */
    --spacing-md: 20px; /* Medium spacing */
    --radius-medium: 25px;
    --font-size-xl: 30px;
    --font-size-lg: 20px; /* Large font for headings */
    --font-size-md: 18px; /* Medium font for titles */
    --font-size-sm: 14px; /* Small font for secondary text */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-weight: 400;
}

button {
    margin: 0;
    padding: 0;
    border: 0;
    outline: none;
}

html,
body {
    font-family: "Open Sans", sans-serif !important;
    height: 100%;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
}

main {
    min-height: 100vh;
    overflow: visible;
}

img {
    max-width: 100%;
    width: 100%;
}

a {
    text-decoration: none;
}

    a:hover {
        text-decoration: none;
    }

.container {
    max-width: 1300px;
    width: 100%;
    padding: 0 15px;
}

.andaman-logo {
    width: 257px;
    height: 66px;
    border-radius: 170.29px;
    opacity: 1;
    /*background-color: rgb(36, 101, 71);*/
    position: relative;
}

    /*.andaman-logo img {
        width: 28px;
        position: absolute;
        left: 21px;
        top: 11px;
    }*/

    .andaman-logo img {
        width: 100%;
        max-width: 218px;
    }

    .andaman-logo h3 {
        font-size: 10px;
        position: absolute;
        top: 11px;
        left: 58px;
        color: rgb(255, 255, 255);
        font-family: "Open Sans", sans-serif;
    }

    .andaman-logo h2 {
        position: absolute;
        font-size: 15px;
        color: rgb(255, 255, 255);
        line-height: 18px;
        top: 25px;
        left: 60px;
        width: 100%;
        max-width: 180px;
    }

.logo a {
    display: flex;
    gap: 30px;
    max-width: 300px;
    width: 100%;
    margin-right: 10px;
    border-right: 1px solid rgb(188, 188, 188);
    padding-right: 10px;
}

.dropdown-item {
    display: block;
    width: 100%;
    padding: var(--bs-dropdown-item-padding-y) var(--bs-dropdown-item-padding-x);
    clear: both;
    font-weight: 400;
    color: #6c757d;
    text-align: inherit;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    border: 0;
}

.wraper-section {
    display: flex;
    align-items: center;
    gap: 10px;
}

    .wraper-section nav ul {
        margin: 0;
        padding: 0;
    }

        .wraper-section nav ul li a {
            font-weight: 700;
            font-size: 1.4rem;
            color: #246545;
            text-decoration:underline;
        }



.fa-folder:before {
    content: "\f07b";
    color: #246445;
}

.user-menu .dropdown-toggle {
    background: #246445;
    color: white;
    border: none;
    padding: 8px 20px;
}

    .user-menu .dropdown-toggle:hover {
        background: #a0a0a0;
    }

.dropdown-item:hover {
    background-color: #f8f9fa;
}

.dropdown-item i {
    color: #6c757d;
}

.dropdown-header {
    font-size: 0.85rem;
    font-weight: 600;
    color: #246445;
}

.custm-btn {
    border: 1px solid var(--primary-color);
    color: var(--primary-color);
    display: block;
    padding: 8px 40px;
    border-radius: var(--radius-medium);
    font-size: var(--font-size-md);
    text-align: center;
    font-weight: 700;
    transition: 0.5s;
}

.btn-bg-dark {
    background-color: var(--primary-color);
    color: var(--color-white);
}

.custm-btn:hover {
    color: var(--color-white);
    background-color: var(--primary-color);
}

.btn-bg-dark:hover {
    color: var(--primary-color);
    background-color: var(--color-white);
}

header {
    padding: 16px 0;
    border-bottom: 1px solid var(--border-color);
}

    header > .container {
        display: flex;
        justify-content: space-between;
        align-items: center;
    }

    header .logo {
        max-width: 280px;
        width: 100%;
    }

        header .logo a {
            display: flex;
            gap: 20px;
        }

    header .login-options {
        display: flex;
        gap: 15px;
    }

    header .dropdown button {
        padding-inline: 15px !important;
    }

        header .dropdown button + ul {
            transform: translate(8px, 45px) !important;
        }

        .archival-collection {
            width: 100%;
            display: flex;
            align-self: flex-end;
            align-items: center;
            margin-block: 15px;
        }

    .archival-collection h1 {
        font-family: "Palatino", sans-serif;
        font-weight: 700;
        margin: 0;
        font-size: var(--font-size-xl);
        line-height: normal;
        color: var(--primary-color);
    }

.search-sec {
    max-width: 330px;
    width: 100%;
    position: relative;
    margin-left: auto;
}

    .search-sec::before {
        content: "\f002"; /* Font Awesome search icon */
        font-family: "FontAwesome";
        position: absolute;
        left: 15px; /* Position the icon inside the input */
        top: 50%;
        transform: translateY(-50%);
        color: var(--secondary-text-color);
        font-size: var(--font-size-md);
        display: flex;
        align-items: center;
    }

    .search-sec input {
        border: 1px solid var(--secondary-text-color);
        color: var(--secondary-text-color);
        padding: 10px 16px;
        padding-left: 40px;
        border-radius: var(--radius-medium);
        background-color: transparent;
        width: 100%;
        font-family: "Open Sans", sans-serif;
        font-weight: 600;
        font-size: var(--font-size-md);
        position: relative;
    }

.cards-sec li {
    max-width: 350px;
    width: 100%;
    border: none;
    transition: 0.5s;
    box-shadow: 0px 0px 2px rgba(0, 0, 0, 0.3);
    padding: 15px;
}

    .cards-sec li img {
        padding: 10px;
        background-color: var(--card-background);
        margin-bottom: 10px;
        display: block;
        height: 100%;
        width: 100%;
    }

    .cards-sec li h2 {
        font-family: "Open Sans", sans-serif;
        font-weight: 600;
        font-size: var(--font-size-lg);
        color: var(--text-color);
        line-height: 1.1;
        margin-bottom: 2px;
    }

    .cards-sec li p {
        font-family: "Open Sans", sans-serif;
        font-weight: 400;
        font-size: var(--font-size-md);
        color: var(--secondary-text-color);
        margin: 0px;
        margin-top: 10px;
        margin-bottom: 10px;
    }

.cards-list {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 80px;
    margin-top: 20px;
    gap: 30px;
    justify-content: space-between;
    width: 100%;
}

header {
    position: static !important;
}

    header .header {
        display: flex;
        justify-content: space-between;
    }

        header .header .logo {
            margin: 0;
            display: flex;
            gap: 20px;
            max-width: initial !important;
        }

            header .header .logo a {
                max-width: 210px !important;
            }

.card-sec-options-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 1000;
    padding-block: 15px;
}

.dropdown-options,
.control-options-buttons {
    display: flex;
    align-items: center;
    gap: 40px;
}

.total-records {
    font-weight: 600;
    font-size: var(--font-size-md);
    color: var(--primary-color);
}

.views-btn {
    display: flex;
    gap: 20px;
}

    .views-btn button {
        padding: 5px;
        background-color: transparent;
        display: block;
    }

        .views-btn button img.active {
            display: none;
        }

        .views-btn button.active {
            background-color: var(--background-color-sec);
        }

            .views-btn button.active img {
                display: none;
            }

                .views-btn button.active img.active {
                    display: block;
                }

.cards-list.list-view {
    display: flex;
    flex-direction: column;
}

    .cards-list.list-view li.card {
        max-width: 100%;
        display: flex;
        flex-direction: row;
        align-items: flex-start;
        gap: 30px;
    }

    .cards-list.list-view .btn-wraper {
        max-width: 250px;
    }

.img-thumb {
    max-width: 300px;
    width: 100%;
    min-height: 350px;
    max-height: 420px;
    margin-bottom: 10px;
    overflow: hidden;
}

.wrap {
    position: relative;
    margin: 10px;
    float: left;
}

    .wrap .select {
        display: none;
        position: absolute;
        z-index: 9;
        background-color: #fff;
        width: 230px;
        padding: 10px;
        box-shadow: var(--shadow-color);
    }

    .wrap label {
        display: block;
        cursor: pointer;
        margin-bottom: 10px;
        font-weight: 700;
        font-size: var(--font-size-md);
    }

        .wrap label:hover, .wrap label:focus {
            color: #256546;
        }

    .wrap button {
        /* Block */
        display: block;
        border: none;
        background: transparent;
        font-family: "Open Sans", sans-serif;
        font-weight: 700;
        font-size: var(--font-size-md);
        line-height: 100%;
        letter-spacing: 0%;
        /* Text */
        text-align: left;
        line-height: 1.42857;
        color: #555;
    }

        .wrap button:after {
            font-family: "FontAwesome";
            font-size: 12px;
            display: inline-block;
            /* width: 17px; */
            /* height: 42px; */
            /* line-height: 42px; */
            text-align: center;
            content: "\f107";
            position: absolute;
            right: -13px;
            top: 4px;
            /* border: 1px solid #b3b3b3;
    /* background-color: #e4e4e4; */
        }

        .wrap button.afk-active:after {
            content: "\f106";
        }

.img-thumb-details {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.cards-list.List-view .card {
    box-shadow: none;
}

.show-only-list-view {
    display: none;
}

.cards-list.list-view .show-only-list-view {
    display: block;
}

.pdf-page-container {
    margin-bottom: 20px;
    text-align: center;
}

.pdf-navigation {
    margin: 10px 0;
}
/* Loading Animation Styles */
.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
    flex-direction: column;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #f3f3f3;
    border-top: 6px solid #3498db;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

.loading-text {
    font-size: 1.2rem;
    color: #555;
    font-weight: 500;
}

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

    100% {
        transform: rotate(360deg);
    }
}

.modal-title {
    width: 100%;
    text-align: center;
    font-weight: 700;
    font-size: var(--font-size-lg);
    color: var(--primary-color);
}

.modal-footer {
    border: none;
}

canvas {
    max-width: 100%;
    width: 100%;
}

.modal form {
    max-width: 400px;
    width: 100%;
    margin-inline: auto;
}

    .modal form .form-group {
        display: flex;
        flex-direction: column;
        margin-bottom: 30px;
    }

        .modal form .form-group label {
            font-weight: 600;
            font-size: var(--font-size-md);
            color: var(--secondary-text-color);
        }

        .modal form .form-group input {
            border: 1px solid var(--secondary-text-color);
            color: var(--secondary-text-color);
            padding: 10px 16px;
            border-radius: var(--radius-medium);
            background-color: transparent;
            width: 100%;
            font-family: "Open Sans", sans-serif;
            font-weight: 600;
            font-size: var(--font-size-md);
            position: relative;
        }

        .modal form .form-group p {
            font-weight: 400;
            font-size: var(--font-size-md);
            color: var(--secondary-text-color);
        }

            .modal form .form-group p button {
                color: var(--primary-color);
                font-weight: 600;
                background-color: transparent;
            }

.modal button.close {
    background-color: transparent;
    border: none;
    font-size: var(--font-size-xl);
    color: var(--primary-color);
}

.modal#previewPDF .modal-dialog {
    max-width: 800px;
    width: 100%;
    height: 90vh;
/*    overflow-y: auto;*/
}

    .modal#previewPDF .modal-dialog .modal-body {
        text-align: center;
        overflow-y: auto;
    }

        .modal#previewPDF .modal-dialog .modal-body > img {
            max-width: 480px;
        }

.modal-header {
    display: flex;
    justify-content: flex-end;
}

ul.iconlist li {
    max-width: 55px !important;
}

    ul.iconlist li img {
        width: auto;
    }

.details-card {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
}

    .details-card .img-fluid {
        max-width: 420px;
        height: 100%;
        -o-object-fit: cover;
        object-fit: cover;
        border: 10px solid #f6f6f6;
    }

    .details-card .headingview {
        font-size: 32px;
        line-height: normal;
    }

    .details-card .pleft {
        font-weight: bold;
    }

    .details-card .custm-btn {
        max-width: 300px;
    }

.bg-footer {
    background-color: #2d2d2d;
}

@media (max-width: 992px) {
    :root {
        --font-size-xl: 22px;
        --font-size-lg: 18px;
        --font-size-md: 14px;
        --font-size-sm: 10px;
    }

    .custm-btn {
        padding: 8px 30px;
    }

    .cards-list {
        grid-template-columns: repeat(3, 1fr);
        gap: 35px;
    }

    .search-sec {
        max-width: 260px;
    }
}

@media (max-width: 767px) {
    .cards-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 35px;
    }

    .archival-collection {
        flex-direction: column;
        gap: 15px;
    }

    .search-sec {
        max-width: 50%;
    }

    .card-sec-options-controls {
        margin-bottom: 30px;
    }

    .details-card .headingview {
        font-size: 24px;
    }

    header .logo a {
        justify-content: center;
    }

    header .logo {
        max-width: 150px;
    }
}

@media (max-width: 600px) {
    header > .container {
        flex-direction: column;
        gap: 10px;
    }

    .wrap .select {
        width: 110px;
    }

    header .login-options {
        gap: 8px;
    }

    .search-sec {
        max-width: 100%;
    }

    .dropdown-options,
    .control-options-buttons {
        gap: 40px;
        justify-content: space-around;
        width: 100%;
    }

    .card-sec-options-controls {
        display: flex;
        flex-direction: column;
        gap: 10px;
    }

    .list-view .img-thumb {
        max-width: 50%;
        width: 100%;
    }

    .cards-list.list-view li.card {
        gap: 20px;
    }

    .cards-list {
        gap: 20px;
    }

    .wrap button:after {
        top: 2px;
    }

    .img-thumb {
        min-height: 250px;
        max-height: 250px;
    }

    .list-view .img-thumb {
        height: 100%;
        max-width: 150px;
        position: relative;
        max-height: 100%;
    }

        .list-view .img-thumb img {
            height: 100%;
            -o-object-fit: contain;
            object-fit: contain;
            position: absolute;
        }

    .list-view .custm-btn {
        padding: 8px 15px;
    }
}
/* ===== 425px ===== */
@media (max-width: 425px) {
    .header {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 12px;
    }

    .logo {
        flex-direction: column;
        gap: 8px;
    }

    .andaman-logo img {
        max-width: 60px;
    }

    .andaman-logo h3 {
        font-size: 10px;
    }

    .andaman-logo h2 {
        font-size: 15px;
        line-height: 1.2;
    }

    .login-options {
        display: flex;
        gap: 8px;
    }

    .custm-btn {
        padding: 6px 12px;
        font-size: 13px;
    }

    .header {
        flex-direction: column;
        padding-block: 10px;
        gap: 20px;
    }

        .header .logo {
            width: 100%;
            justify-content: space-around;
            align-items: center;
        }

            .header .logo a {
                border: none !important;
            }
}
/* ===== 375px ===== */
@media (max-width: 375px) {
    .andaman-logo h3 {
        font-size: 10px;
    }

    .andaman-logo h2 {
        font-size: 14px;
    }

    .custm-btn {
        font-size: 12px;
        padding: 5px 10px;
    }
}
/* ===== 320px ===== */
@media (max-width: 320px) {
    .andaman-logo h3 {
        font-size: 10px;
    }

    .andaman-logo h2 {
        font-size: 13px;
    }

    .login-options {
        flex-direction: column;
        width: 100%;
    }

    .custm-btn {
        width: 100%;
        text-align: center;
    }
}
/*# sourceMappingURL=explore.css.map */
