﻿@import url(https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@0,300..800;1,300..800&display=swap);

:root {
    --dt-row-selected: 255, 0, 0;
}

body {
    background: #f4f4f3;
    /*color: #797979;*/
    font-family: "Open Sans", "Arial", "Helvetica Neue", "Helvetica", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    color: rgba(0, 0, 0, .65);
}

html {
    font-family: sans-serif;
    line-height: 1.15;
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
    -ms-overflow-style: scrollbar;
    -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

a { color: #eb4734; }
a:hover { color: #c82333; }
p { color: #0e1111; font-size: 16px; }
h6 { font-weight: bold; color: #000; }
.border-top-none { border-top: none !important; }
.border-bottom-none { border-bottom: none !important; }
.border-left-none { border-left: none !important; }
.border-right-none { border-right: none !important; }
.border-bottom-dark { border-bottom: 2px solid #555 !important; }
.border-radius-none { border-radius: 0; }
.text-bg-dark { background: #1d1d1d !important; }
.hidden { display: none; }
.text-right { text-align: right; }
.fs-12 { font-size: 12px; }
.fs-13 { font-size: 13px; }
.fs-14 { font-size: 14px; }
.fs-16 { font-size: 16px; }
.fs-18 { font-size: 18px; }
.fs-20 { font-size: 20px; }
.fs-22 { font-size: 22px; }
.fs-24 { font-size: 24px; }
.fs-26 { font-size: 26px; }

table {
    font-size: 14px;
    margin-bottom: 0 !important;
}

table th { padding: 10px 20px !important; }
table td { padding: 10px 15px !important; }

.modal-header {
    background: #5f5f5f;
    border-radius: 0;
    padding: 25px;
    color: #fff;
}

.modal-title {
    /*text-transform: uppercase;*/
    font-size: 16px;
    font-weight: 700;
}

.btn-nav {
    color: #c4c4c4;
    text-decoration: none;
    box-shadow: none;
    outline: rgba(0, 0, 0, 0);
    border-color: rgba(0, 0, 0, 0);
    margin-right: 15px;
    font-size: 16px;
    background-color: #1b1b1b;
    min-width: 115px;
    border-radius: 2px;
    font-weight: 600;
    padding: 10px 25px 10px 25px;
    text-transform: uppercase;
}

.btn-nav:hover {
    color: #fff;
    opacity: 1;
    box-shadow: 0 0;
    background-color: #1b1b1b;
}

.dropdown-menu {
    border-radius: 0;
    border: none;
    box-shadow: 0px 3px 3px 0px rgba(0,0,0,0.2);
}

.dropdown-item {
    font-size: 14px;
    font-weight: 500;
    padding: 10px 25px;
}

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

.dropdown.open-hover:hover .dropdown-menu {
    display: block;
    margin-top: 10px;
}

.userprofile-icon {
    width: 40px;
    color: #c4c4c4;
}
.userprofile-icon:hover {
    color: #fff;
}

.login-form-input {
    border-radius: 0;
    background: #F4F4F3;
}

.btn-primary {
    display: inline-block;
    padding: 8px 15px;
    background-color: #eb4734;
    color: #fff;
    border-color: #eb4734;
    border-radius: 1px;
    min-width: 150px;
    max-width: 250px;
    font-weight: 500;
}

.btn-success {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 1px;
    min-width: 150px;
    max-width: 250px;
    font-weight: 500;
}

.btn-danger {
    display: inline-block;
    padding: 8px 15px;
    border-radius: 1px;
    min-width: 150px;
    max-width: 250px;
    font-weight: 500;
}

.btn-sm {
    padding: 3px;
    border-radius: 2px;
}

.btn-primary:hover {
    background-color: #c82333;
    border-color: #c82333;
}

.btn-primary:active {
    background-color: #c82333 !important;
    border-color: #c82333 !important;
}

.login-heading {
    font-size: 22px;
}

.heading-text {
    font-style: normal;
    font-weight: 600;
    color: #424242;
    -webkit-text-stroke-width: thin;
}

.subheading-text {
    color: #0b0b0b;
    font-weight: bold;
    font-size: 26px;
}

.breadcrumb { font-size: 14px; }
.nav-link { color: #000; font-size: 14px; padding: 10px 25px 10px 25px; }
.nav-link.active { font-weight: bold; }
.tab-pane { position: relative; }
.tab-content { position: relative; }
.tab-content.bordered {
    border-left: 1px solid #dce0e4;
    border-right: 1px solid #dce0e4;
    border-bottom: 1px solid #dce0e4;
}
.tab-dataset { min-height: 500px; }

.metric-header { font-size: 14px; }
.metric-value { color: #0e1111; font-weight: bold; letter-spacing: normal; font-size: 20px; margin-bottom: 10px; }

.card { border-radius: 0; }

.list-item {
    font-size: 16px;
    color: #000;
    padding: 0;
    margin: 0;
}


.col-form-label { font-weight: bold; color: #000; }

.filter-selector {
    position: absolute;
    top: 0;
    right: 0;
    /*width: 450px;*/
    text-align: right;
}
.col-form-label {
    font-size: 14px;
}

.font-weight-bold {
    font-weight: bold;
}

/* datasets page */
.sidebar {
    position: sticky;
    top: 40px;
    background: white;
    color: #0e1111;
}
.sidebar .sidebar-brand {
    font-weight: bold;
}
.sidebar .nav-item {
    font-size: 0.9rem;
    margin-left: 10px;
    padding: 5px 0;
}

.sidebar label {
    cursor: pointer;
}

.sidebar ul {
    list-style: none;
    padding: 0;
}

.sidebar ul li input {
    margin-right: 8px;
    accent-color: #282c31;
}

.dataset-list {
    margin: 0;
    padding: 0;
}

.dataset {
    position: relative;
    background: white;
    border: 1px solid #ddd;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.highlighted {
    position: absolute;
    top: 0;
    right: 0;
    background: #d9d9d9;
    font-weight: bold;
    color: #282c31;
    padding: 5px 15px;
    font-size: 12px;
}

.bg-categories {
    background: #d9d9d9;
    font-weight: bold;
    color: #282c31;
    padding: 5px 15px;
    font-size: 12px;
    border-radius: 0;
}

.dataset h3 {
    margin: 0;
    padding: 15px;
    font-size: 20px;
    font-weight: bold;
    color: #0b0b0b;
}

.tab-content h3 {
    margin: 0;
    padding: 0;
    font-size: 22px;
    color: #000;
}

.border-right {
    border-right: 1px solid #ccc;
}

.dataset p {
    margin: 0 0 10px 0;
    color: #666;
}

.meta p {
    margin: 5px 0;
    font-size: 0.9em;
    color: #333;
}

.sort-by {
    text-decoration: none;
    font-size: 14px;
}

.header-actions {
    cursor: pointer;
}

.bg-body-attom-grey {
    background: #ececec;
}

.home-card {
    text-align: center;
    background: #fff;
    border-color: #dee2e6;
    border-bottom: 8px solid #eb4734;
    border-top: none;
    border-right: none;
    border-left: none;
}

.home-card:hover {
    background: #c4c4c4;
    transition: 0.5s;
}

.home-card a {
    padding: 0;
    height: 200px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #0e1111;
    text-decoration: none;
    font-size: 24px;
    font-weight: 400;
}

.main-image {
    background: url('../images/header-image.jpg') no-repeat center center;
    background-size: cover;
}

.delivery-image {
    background: linear-gradient( rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5) ), url('../images/delivery-image.jpg') no-repeat center top;
    background-size: cover;
}

.dt-type-numeric {
/*    align-content: center;*/
    text-align: center;
}

/*table {
    margin: 0 auto;
    width: 100%;
    clear: both;
    border-collapse: collapse;
    table-layout: fixed;
    word-wrap: break-word;
}*/

table.dataTable tbody tr.selected > * {
    box-shadow: inset 0 0 0 9999px rgb(133, 124, 124) !important;
}

div.dt-search input[type=search] {
    width: 270px !important;
    margin-left: 0 !important;
}

/* Hide all sort icons by default */
table.dataTable thead th .dt-column-order {
    display: none !important;
}

/* Show icon for sorted column */
table.dataTable thead th[aria-sort] .dt-column-order {
    display: inline-block !important;
    margin-left: 6px;
}

/* Show icon when hovering over a sortable column */
table.dataTable thead th.dt-orderable-asc:hover .dt-column-order,
table.dataTable thead th.dt-orderable-desc:hover .dt-column-order {
    display: inline-block !important;
    margin-left: 6px;
}

table.dataTable thead th {
    vertical-align: middle !important;
}

table.dataTable thead th .dt-column-order {
    margin-right: -8px;
}

.dt-info {
    font-size: 14px;
    color: #0e1111;
}
.dt-length {
    font-size: 14px;
    color: #0e1111;
}

#show-scroll-btn {
    position: fixed;
    bottom: 20px;
    right: 30px;
    transition: transform 0.3s ease;
}

#dropdown-menu {
    max-height: 10px;
    overflow: hidden;
    transition: max-height 0.3s ease-in-out;
    line-height: 1;
}

#dropdown-menu.show {
    max-height: 100px;
}

#overview-content {
    font-family: "Open Sans", sans-serif;
    color: black;
    background: white;
    margin-left: 20px;
    margin-right: 20px;
}

#overview-content h2 {
    border-bottom: 1px solid #c82333;
    color: #c82333;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-weight: 300;
}

#overview-content h3 {
    font-weight: bold;
}

#overview-content h3 {
    margin-bottom: 0.5em;
}

#overview-content p {
    max-width: 860px;
}

#overview-content ul,
#overview-content ol {
    margin-left: 2em;
    font-size: 16px;
    padding-left: 1em;
    max-width: 860px;
}

#overview-content li {
    margin-bottom: 0.5em;
}

.page-link {
    font-size: 14px !important;
    color: #262b2b;
}

.page-link:hover {
    font-size: 14px !important;
    color: #0e1111;
}

.active > .page-link, .page-link.active {
    background-color: #eb4734;
    border-color: #eb4734;
}


#loading {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
/*    background-color: #fff;*/
    z-index: 2;
}

.loading {
    position: absolute;
    top: 150px;
    left: 50%;
    margin-left: -75px;
}

/* Styles from dataset page */
.custom-multi-dropdown {
    padding: .375rem 2.25rem .375rem .75rem;
    padding: .375rem .75rem .475rem .75rem;
    /* padding-left: 0.25rem; */
    /* padding-right:0.25rem; */
/*    font-size: 0.875rem;*/
    line-height: 1.2;
}

#layout_partitionType {
    /*max-width: 210px;
    width: 100%;*/ /* Optional: makes it responsive within flex */
    /*font-size: 0.75rem;
    height: 30px;
    padding: 0.25rem 0.4rem;
    line-height: 1.1;*/
}

.control-row-compact select,
.control-row-compact input[type="search"],
.control-row-compact .btn {
/*    font-size: 0.75rem;*/
/*    height: 30px !important;
    padding: 0.25rem 0.4rem;
    line-height: 1.1;*/
}

.control-row-compact select {
/*    max-width: 160px;
    min-width: 120px;*/
}

.control-row-compact .dropdown-toggle {
/*    font-size: 0.75rem;*/
    height: 30px;
    padding: 0.25rem 0.5rem;
    line-height: 1.1;
}

.control-row-compact {
/*    font-size: 0.75rem;*/
    gap: 0.5rem !important;
}

.tab-scroll-wrapper {
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
    -webkit-overflow-scrolling: touch;
    /* Ensure dropdowns are not clipped */
    position: relative;
    /* overflow: visible; */
    /*  max-width:700px; */
}

.tab-scroll-wrapper .nav-tabs {
    flex-wrap: nowrap;
}

.main-tab {
/*    min-height: 1600px;*/
}

/* Homepage styles */
.dataset-row {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 1rem;
}

.dataset-box {
    flex: 1 1 120px;
    text-align: center;
}

.dataset-box img {
    width: 100%;
    max-width: 160px;
    height: auto;
}

@media (max-width: 992px) {
    .dataset-box img {
        max-width: 120px;
    }
}

@media (max-width: 768px) {
    .dataset-box img {
        max-width: 100px;
    }
}

.dataset-box img {
    transition: transform 0.3s ease, filter 0.3s ease;
}

.dataset-box:hover img {
    transform: scale(1.05);
}

.dataset-box.small {
    padding: 30px 5px;
}

.section-title {
    margin-top: 30px;
    margin-bottom: 20px;
    color: #0e1111;
    font-weight: bold;
    font-size: 1.3rem;
}

.view-all {
    color: #e74c3c;
    font-weight: bold;
    text-decoration: none;
    margin-top: 10px;
}

.flex-wrap-gap {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.equal-height {
    height: 100%;
}

.dataset-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr); /* 5 equal columns */
    gap: 1.5rem 2rem;
    margin-bottom: 1.5rem;
}

.dataset-grid-item {
    display: flex;
    align-items: center;
    font-size: 16px;
    font-weight: bold;
    text-decoration: none;
    color: #000;
    transition: opacity 0.2s ease;
}

.dataset-grid-item img {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
    flex-shrink: 0;
}

.dataset-grid-item:hover {
    opacity: 0.75;
}

/* Optional responsive tweak */
@media (max-width: 768px) {
    .dataset-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}


/* Coming soon */
.coming-soon-section h2 {
    font-size: 1.75rem;
    margin-bottom: 0.5rem;
}

.coming-soon-section p {
    font-size: 1rem;
}

@media (max-width: 768px) {
    .coming-soon-section h2 {
        font-size: 1.5rem;
    }

    .coming-soon-section p {
        font-size: 0.95rem;
    }
}


.tooltip-inner {
    max-width: 400px;
}

.feedback-button {
    position: fixed;
    top: 50%;
    left: 0;
    transform: rotate(-90deg) translateX(-50%);
    transform-origin: top left;
    background-color: #007bff;
    color: white;
    padding: 12px 18px;
    text-decoration: none;
    font-family: sans-serif;
    font-size: 14px;
    border-radius: 0 0 4px 4px;
    box-shadow: 0 2px 6px rgba(0,0,0,0.2);
    z-index: 1000;
    transition: background-color 0.3s ease;
    display: inline-block;
    font-weight: bold;
    border: 0;
}

.feedback-button:hover {
    background-color: #0056b3;
    color: #fff;
}

search-wrapper {
    max-width: 500px;
    margin-bottom: 1rem;
}
