/* General Styles */
html, body {
    background: linear-gradient( 62.14deg, rgba(255, 255, 255, 0.64) 28.04%, #fff9f4 66.05%, #e9f6ef 86.91% ), linear-gradient( 161.65deg, rgba(253, 231, 211, 0) 23.28%, rgba(245, 236, 229, 0.391342) 52.05%, rgba(240, 221, 205, 0.983359) 89.59% );
    width: 100%;
}
/*.container-fluid{
    margin-left:0 !important;
    margin-right:0 !important;
}*/
.header.resolutions-header {
    margin-top: 35px;
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
    box-sizing: border-box;
    white-space: normal
}

    .header.resolutions-header .header-first-section h1 {
        margin: 0;
        color: rgba(194, 135, 86, 1);
        font-family: Metropolis, sans-serif;
        font-weight: 600;
        font-size: 36px;
        line-height: 36px;
        text-transform:uppercase;
    }

    .header.resolutions-header .header-first-section p {
        padding: 30px 145px 15px 8px;
        color: rgba(0, 0, 0, 1);
        font-family: Metropolis, sans-serif;
        font-weight: 500;
        font-size: 16px;
        line-height: 16px;
    }

    .header.resolutions-header .year-container {
        display: flex;
        align-items: center;
        gap: 12px;
        flex-direction: row;
        box-sizing: border-box;
        padding-top: 20px;
    }

        .header.resolutions-header .year-container p {
            padding-right: 12px;
            padding-top: 10px;
            margin-bottom: 0;
            font-size: 16px;
            font-weight: 500;
        }



        .header.resolutions-header .year-container .dropdown {
            display: flex;
            gap: 12px;
        }

            .header.resolutions-header .year-container .dropdown .dropdown-toggle {
                gap: 12px;
            }

                .header.resolutions-header .year-container .dropdown .dropdown-toggle::after {
                    display: none !important;
                }
        .header.resolutions-header .year-container .dropdown-menu{
            z-index:9999;
        }

        .header.resolutions-header .year-container .dropdown .dropdown-toggle i {
            font-size: 32px;
            transition: transform 0.3s ease;
            padding: 0 !important;
        }

            .header.resolutions-header .year-container .dropdown.show .dropdown-toggle i {
                transform: rotate(180deg) !important;
            }

        .header.resolutions-header .year-container .btn-link {
            background: rgba(194, 135, 86, 1) !important;
            border-radius: 20px !important;
            border: none;
            font-size: 16px !important;
            font-weight: 500;
            align-items: center !important;
            margin-top: 0;
            display: flex;
            align-items: center;
            text-align: center;
            color: rgba(255,255,255,1) !important;
            text-decoration: none;
            padding: 12px 12px;
            min-width: 20%;
            width: auto;
            flex: 1;
            white-space: nowrap;
            justify-content: center;
        }

    .header.resolutions-header .dropdown .dropdown-toggle {
        background: rgba(194, 135, 86, 1) !important;
        border-radius: 20px !important;
        border: none;
        font-size: 16px !important;
        font-weight: 500;
        align-items: center !important;
        margin-top: 0;
        display: flex;
        text-align: center;
        padding: 0px 15px;
        min-width: 20%;
        width: auto;
        color: rgba(255,255,255,1) !important;
        flex: 1;
        justify-content: center;
    }

        .header.resolutions-header .dropdown .dropdown-toggle:hover,
        .header.resolutions-header .year-container .btn-link:hover {
            background: linear-gradient(117.11deg, #9c5f30 23.18%, #b37c4a 52.49%);
            transform: scale(1.05);
            transition: transform 0.3s ease-in-out;
        }


/* Datatable Wrapper */
/* Make the table container scrollable */
.table-responsive {
    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.card-body {
    overflow-x: auto;
}

.datatable-wrapper {
    width: 100%;
    overflow-x: auto;
}

.datatable tr td img {
    max-width: 100%;
    height: auto;
    max-height: 120px;
    display: block;
    margin: 0 auto;
}


.datatable-wrapper.no-header .datatable-container {
    border-top: 1px solid #d9d9d9;
}

.datatable-wrapper.no-footer .datatable-container {
    border-bottom: 1px solid #d9d9d9;
}

.datatable-top,
.datatable-bottom {
    padding: 8px 10px;
}

    .datatable-top > nav:first-child,
    .datatable-top > div:first-child,
    .datatable-bottom > nav:first-child,
    .datatable-bottom > div:first-child {
        float: left;
    }

    .datatable-top > nav:last-child,
    .datatable-top > div:not(first-child),
    .datatable-bottom > nav:last-child,
    .datatable-bottom > div:last-child {
        float: right;
    }

.datatable-selector {
    padding: 6px;
}

.datatable-input {
    padding: 6px 12px;
}

.datatable-info {
    margin: 7px 0;
}

/* PAGER */
.datatable-pagination ul {
    margin: 0;
    padding-left: 0;
}

.datatable-pagination li {
    list-style: none;
    float: left;
}

    .datatable-pagination li.datatable-hidden {
        visibility: hidden;
    }

.datatable-pagination a,
.datatable-pagination button {
    border: 1px solid transparent;
    float: left;
    margin-left: 2px;
    padding: 6px 12px;
    position: relative;
    text-decoration: none;
    color: #333;
    cursor: pointer;
}

    .datatable-pagination a:hover,
    .datatable-pagination button:hover {
        background-color: #d9d9d9;
    }

.datatable-pagination .datatable-active a,
.datatable-pagination .datatable-active a:focus,
.datatable-pagination .datatable-active a:hover,
.datatable-pagination .datatable-active button,
.datatable-pagination .datatable-active button:focus,
.datatable-pagination .datatable-active button:hover {
    background-color: #d9d9d9;
    cursor: default;
}

.datatable-pagination .datatable-ellipsis a,
.datatable-pagination .datatable-disabled a,
.datatable-pagination .datatable-disabled a:focus,
.datatable-pagination .datatable-disabled a:hover,
.datatable-pagination .datatable-ellipsis button,
.datatable-pagination .datatable-disabled button,
.datatable-pagination .datatable-disabled button:focus,
.datatable-pagination .datatable-disabled button:hover {
    pointer-events: none;
    cursor: default;
}

    .datatable-pagination .datatable-disabled a,
    .datatable-pagination .datatable-disabled a:focus,
    .datatable-pagination .datatable-disabled a:hover,
    .datatable-pagination .datatable-disabled button,
    .datatable-pagination .datatable-disabled button:focus,
    .datatable-pagination .datatable-disabled button:hover {
        cursor: not-allowed;
        opacity: 0.4;
    }

.datatable-pagination .datatable-pagination a,
.datatable-pagination .datatable-pagination button {
    font-weight: bold;
}

/* TABLE */
.datatable-table {
    max-width: 100%;
    width: 100%;
    border-spacing: 0;
    border-collapse: separate;
}

    .datatable-table > thead > tr > th {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .datatable-table > tbody > tr > td,
    .datatable-table > tbody > tr > th,
    .datatable-table > tfoot > tr > td,
    .datatable-table > tfoot > tr > th,
    .datatable-table > thead > tr > td,
    .datatable-table > thead > tr > th {
        vertical-align: middle;
        padding: 8px 10px;
    }

    .datatable-table > tfoot > tr > th,
    .datatable-table > tbody > tr > td {
        border-right: 1px solid rgba(0, 0, 0, 0.2);
    }

    .datatable-table > thead > tr {
        background: rgba(178, 113, 61, 1) !important;
    }

        .datatable-table > thead > tr > th {
            vertical-align: bottom;
            text-align:center;
            border-bottom: 1px solid #d9d9d9;
            border-radius: 3px;
            background: transparent !important;
        }

    .datatable-table > tfoot > tr > th {
        vertical-align: bottom;
        text-align: left;
        border-top: 1px solid #d9d9d9;
    }

    .datatable-table th {
        vertical-align: bottom;
        text-align: left;
    }

        .datatable-table th a {
            text-decoration: none;
            color: rgba(255, 255, 255, 1);
        }

        .datatable-table th button,
        .datatable-pagination-list button {
            color: inherit;
            border: 0;
            background-color: inherit;
            cursor: pointer;
            text-align: inherit;
            font-weight: inherit;
            font-size: inherit;
        }

.datatable-sorter,
.datatable-filter {
    display: inline-block;
    height: 100%;
    position: relative;
    width: 100%;
}

    .datatable-sorter::before,
    .datatable-sorter::after {
        content: "";
        height: 0;
        width: 0;
        position: absolute;
        right: 4px;
        border-left: 4px solid transparent;
        border-right: 4px solid transparent;
        opacity: 0.2;
    }

    .datatable-sorter::before {
        border-top: 4px solid #000;
        bottom: 0px;
    }

    .datatable-sorter::after {
        border-bottom: 4px solid #000;
        border-top: 4px solid transparent;
        top: 0px;
    }

.datatable-ascending .datatable-sorter::after,
.datatable-descending .datatable-sorter::before,
.datatable-ascending .datatable-filter::after,
.datatable-descending .datatable-filter::before {
    opacity: 0.6;
}

.datatable-filter::before {
    content: "";
    position: absolute;
    right: 4px;
    opacity: 0.2;
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-radius: 50%;
    border-top: 10px solid #000;
    top: 25%;
}

.datatable-filter-active .datatable-filter::before {
    opacity: 0.6;
}

.datatable-empty {
    text-align: center;
}

.datatable-top::after,
.datatable-bottom::after {
    clear: both;
    content: " ";
    display: table;
}

table.datatable-table:focus tr.datatable-cursor > td:first-child {
    border-left: 3px blue solid;
}

table.datatable-table:focus {
    outline: solid 1px black;
    outline-offset: -1px;
}

/* Button Styling */
.resolutions-content .btn-download {
    background: none !important;
    /* border: 1px solid rgba(178, 113, 61, 1); */
    border-radius: 20px;
    font-family: Metropolis;
    font-weight: 600;
    font-size: 16px;
    line-height: 16px;
    text-align: center;
    display: flex;
    margin: 0 auto;
    align-items: center;
    color: rgba(178, 113, 61, 1) !important;
    padding: 12px;
    text-decoration: none;
    white-space: nowrap;
}

    .resolutions-content .btn-download:hover {
        transform: scale(1.05);
        transition: transform 0.3s ease-in-out;
    }

/* Media Queries for Responsiveness */
@media (max-width: 1024px) {
    .header.resolutions-header .dropdown .dropdown-toggle i {
        font-size: 28px;
    }
}
/* For screens up to 768px */
@media (max-width: 767.97px) {
    .header.resolutions-header {
        display: flex;
        align-items: center;
        flex-direction: row;
        flex-wrap: wrap;
/*        justify-content: center;*/
    }

        .header.resolutions-header .header-first-section h1 {
            font-size: 32px;
            line-height: 32px;
        }

        .header.resolutions-header .header-first-section p {
            padding: 20px 20px 10px 8px;
            font-size: 14px;
            line-height: 14px;
        }

        .header.resolutions-header .year-container {
            flex-direction: row;
            align-items: center;
            gap: 8px;
        }

            .header.resolutions-header .year-container .btn-link {
                padding: 8px 12px;
                font-size: 14px;
                font-weight: 400;
                width: 60% !important;
            }

            .header.resolutions-header .year-container .dropdown {
                display: flex;
                gap: 12px;
                width: 60% !important;
            }


                .header.resolutions-header .year-container .dropdown .dropdown-toggle {
                    font-size: 14px !important;
                    font-weight: 400 !important;
                }

                    .header.resolutions-header .year-container .dropdown .dropdown-toggle i {
                        font-size: 24px;
                    }

    .datatable-table > thead > tr > th,
    .datatable-table > tbody > tr > td {
        padding: 6px 8px;
        font-size: 14px;
    }

    .resolutions-content .btn-download {
        padding: 5px;
        font-size: 16px;
    }
}

/* For screens up to 425px */
@media (max-width: 425px) {
    .container-fluid{
        padding-left:1.25rem !important;
        padding-right:1.25rem !important;
    }
    .header.resolutions-header {
        flex-direction: column;
    }

        .header.resolutions-header .header-first-section h1 {
            font-size: 28px;
            line-height: 28px;
            padding-right: 12px;
            align-items: center;
        }

        .header.resolutions-header .header-first-section p {
            padding: 15px 10px 5px 8px;
            font-size: 12px;
            line-height: 12px;
        }

    .resolutions-actions .btn-secondary {
        padding: 10px 10px;
        font-size: 12px;
        border-radius: 15px;
    }

        .resolutions-actions .btn-secondary i {
            font-size: 12px;
        }

    .header.resolutions-header .year-container {
        gap: 8px;
        flex-direction: column;
        flex-wrap: wrap;
        align-items: center;
    }

        .header.resolutions-header .year-container p {
            font-size: 10px;
            font-weight: 400;
            padding-right: 5px !important;
        }

        .header.resolutions-header .year-container .dropdown {
            display: flex;
            flex-direction: column;
            gap: 12px;
            width: 95% !important;
        }

            .header.resolutions-header .year-container .dropdown .dropdown-toggle {
                padding-top: 7px;
            }

                .header.resolutions-header .year-container .dropdown .dropdown-toggle i {
                    font-size: 18px;
                    transition: transform 0.3s ease;
                    padding: 0 !important;
                }

        .header.resolutions-header .year-container .btn-link {
            padding: 7px 30px !important;
            font-size: 14px !important;
            font-weight: 400 !important;
            border-radius: 20px !important;
            width: 95% !important;
        }


    .datatable-table > thead > tr > th,
    .datatable-table > tbody > tr > td {
        padding: 4px 6px;
        font-size: 10px;
    }

    .table thead th {
        font-size: 12px;
    }


    .resolutions-content .btn-download {
        padding: 3px;
        font-size: 12px;
        white-space: wrap;
    }
}

/* For screens up to 375px */
@media (max-width: 375px) {
    .header.resolutions-header .header-first-section {
        display: flex;
        flex-direction: column !important;
    }

        .header.resolutions-header .header-first-section h1 {
            font-size: 30px;
            line-height: 30px;
        }

        .header.resolutions-header .header-first-section p {
            padding: 10px 5px 5px 8px;
            font-size: 10px;
            line-height: 10px;
        }

    .header.resolutions-header .year-container {
        gap: 6px;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

        .header.resolutions-header .year-container p {
            font-size: 12px;
            font-weight: 400;
        }

    .datatable-top,
    .datatable-bottom {
        padding: 8px 10px;
        font-size: 12px;
    }

    .datatable-table > thead > tr > th,
    .datatable-table > tbody > tr > td {
        padding: 3px 5px;
        font-size: 8px !important;
    }

    .resolutions-content .btn-download {
        padding: 5px;
        font-size: 10px;
    }
}

/* For screens up to 320px */
@media (max-width: 320px) {
    .container-fluid {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }
    .header.resolutions-header {
        justify-content: center;
        text-align: center;
    }

        .header.resolutions-header .header-first-section h1 {
            font-size: 28px;
            line-height: 28px;
        }

        .header.resolutions-header .header-first-section p {
            padding: 8px 5px 5px 8px;
            font-size: 10px;
            line-height: 10px;
        }

    .resolutions-actions .btn-secondary {
        padding: 10px 14px;
        font-size: 12px;
        font-weight: 500;
        align-items: center;
    }

    .header.resolutions-header .year-container {
        gap: 6px;
        flex-direction: column;
        align-items: center;
        /* margin-left: 5% !important;
    margin-right: 5% !important; */
    }

        .header.resolutions-header .year-container p {
            font-size: 12px;
            font-weight: 400;
        }

    .resolutions-content .btn-download {
        padding: 0px 1px;
        font-size: 10px;
        border-radius: 14px;
    }
}
