:root {
    --as--color--complementary: #43CB3A;
    -as--color--secondary: #FFFFFF;
    --bullseye-color: #000000;
    --blue: #006CE0;
}

.loader {
    position: absolute;
    top: 50%;
    left: 50%;
    margin: -50px 0px 0px -50px;
}

.c3-xgrid-lines .year-marker line {
    stroke: #C9AE40; /* make the line red */
    stroke-width: 4px; /* optional: thicker line */
    stroke-dasharray: none; /* ensure solid (no dashes) */
}
.c3-xgrid-lines .year-marker text {
  font-size: 12px;   /* Increase text size */
  font-weight: bold; /* Optional: make it bold */
}

html,
body {
    height: 100%;
    margin: 0;
    padding: 0;
    background: white;
}

#map {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    bottom: 0;
}

.leaflet-touch .leaflet-control-layers-toggle {
    width: 36px;
    height: 36px;
}

.leaflet-control-layers-base {
    font-size: 9pt;
    font-family: Roboto, Arial, sans-serif;
    color: #777;
}

.navbar {
    height: 50px;
    box-shadow: 0 4px 50px rgba(0, 0, 0, .2);
}

.logo {
    margin-right: 10px;
    margin-bottom: 6px;
    width: 20px;
    height: auto;
}

.as-toolbar {
    background-color: #F5F5F5;
    height: 92px;
    display: inline;
}

.navTitle {
    font-size: 18pt;
    font-weight: 500;
    font-family: Roboto, Arial, sans-serif;
    text-decoration: none !important;
    color: #000000 !important;
    margin-bottom: 1px;
    padding-top: 2mm;
    padding-left: 4mm;
    line-height: 1;
}

.navTitle br {
  display: block;
  margin: 0; /* Remove extra margin if any */
}

#coop-title-text {
    font-size: 13pt;
    font-weight: 400;
    padding-left: 4mm;
    margin-bottom: 1px;
}

.nav-text {
    font-size: 13pt !important;
    font-weight:500;
    margin-left: 4mm;
    padding-left: 0mm !important;
    color: #006CE0 !important;
}

.aboutIcon {
    margin-bottom: 22px;
    color: #000000 !important;
    float: right;
    font-size: 20pt;
}

    .aboutIcon:hover {
        color: #006CE0;
    }

    .navInfo .dropdown-toggle{
        color: #000000;
        font-size: 11pt;
        padding-left: 10px;
    }
    .navInfo .dropdown-item {
        font-size: 9pt;
        font-family: Roboto, Arial, sans-serif;
        color: #777;
    }

    .navInfo .dropdown-disclaimer-text {
        color: #777;
        font-size: 10pt;
        font-family: Roboto, Arial, sans-serif;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
        width: 300px;
        cursor: default;
    }
    .navInfo .dropdown-start-text {
        color: #777;
        font-size: 10pt;
        font-family: Roboto, Arial, sans-serif;
        margin-left: 15px;
        margin-right: 15px;
        margin-top: 5px;
        margin-bottom: 5px;
        width: 750px;
        cursor: default;
    }

.as-sidebar--left {
    width: 280px;
}

.legendList {
    list-style: none;
    padding-left: 0;
}

.legendItem {
    padding: 2px;
}

.legendText {
    vertical-align: text-top;
    padding-left: 6px;
}

.title {
    font-size: 12pt;
    font-family: Roboto, Arial, sans-serif;
    color: #333;
}

.pText {
    font-size: 9pt;
    font-family: Roboto, Arial, sans-serif;
    color: #636363;
}

.pSpace {
    margin-top: -10px;
    margin-bottom: 8px
}

.smallText {
    font-family: Roboto, Arial, sans-serif;
    color: #636363;
}

.as-input::placeholder {
    color: #636363 !important;
}

.as-input {
    width: 68%;
    margin-bottom: -6px;
    color: #636363
}

.yearSlider {
    width: 90%;
}

.yearSlider::-webkit-slider-thumb {
    background-color: #006CE0 !important;
    border: #006CE0 !important;
}

.locateBtn {
    float: right;
    margin-top: -19px;
    margin-right: 18px;
    font-family: Roboto, Arial, sans-serif;
    font-weight: 400;
    cursor: context-menu;
}

.resultsBtn {
    width: 90%;
    margin-top: 10px;
    margin-right: 14px;
    padding: .5rem .5rem;
    font-size: .875rem;
    line-height: .9;
    font-family: Roboto, Arial, sans-serif;
}

.btn-primary {
    background-color: #006CE0 !important;
    border-color: #006CE0 !important;
}

.btn-outline-primary {
    color: #006CE0 !important;
    border-color: #006CE0!important;
}

.btn-outline-primary:not(:disabled):not(.disabled).active {
    color: #FFFFFF !important;
    background-color: #006CE0 !important;
    border-color: #006CE0 !important;
}

#source-info {
    padding-top: 2mm;
}

#divider0, #divider1, #divider2, #divider3, #divider4 {
    background-color: #B5B5B5;
    height: 1px;
    border: 0;
}

#step-1, #step-2, #step-3, #step-4 {
    padding-top: 3mm;
}

.form-control {
    color: #006CE0;
}

.oOBText {
    color: #ff1900;
    font-weight: 500;
    margin-top: 10px;
    margin-bottom: 10px;
}

.depthRangeText {
    color: #006CE0;
    font-weight: 500;
}

.outDepthText {
    color: #ff1900;
    font-weight: 500;
    margin-bottom: 12px;
}

/* tooltips CSS are the hydrographic area labels */
.hydroTooltip {
    background: transparent;
    white-space: normal;
    border: 0px;
    color: #333;
    box-shadow: none;
    font-size: 10pt;
    font-weight: 700;
    text-shadow: -1px -1px 0 #f5f5f5, 1px -1px 0 #f5f5f5, -1px 1px 0 #f5f5f5, 1px 1px 0 #f5f5f5;
}

.leaflet-tooltip-left.tooltip::before {
    border-left-color: transparent;
    margin-left: 0px;
}

.leaflet-tooltip-right.tooltip::before {
    border-right-color: transparent;
    margin-right: 0px;
}

.leaflet-tooltip-pane {
    z-index: 401;
}

.bullseye {
    text-align: center;
    line-height: 20px;
    color: var(--bullseye-color);
    font-size: 20px;
    text-shadow: 0 0 1px #666;
}

    .bullseye:hover {
        text-align: center;
        line-height: 20px;
        color: var(--bullseye-color);
        font-size: 28px;
        text-shadow: 0 0 1px #666;
    }

.custom-popup {
    font-weight: bold;
    font-family: Roboto, Arial, sans-serif;
}

/* right slide-in sidebar */
.sidenav {
    width: 0;
    position: fixed;
    z-index: 1;
    right: 0;
    transition: 0.5s;
    padding-top: 60px;
    box-shadow: 0 10px 4px rgba(0, 0, 0, 0.3);
    overflow-y: auto;
    overflow-x: auto;
}

    .sidenav a {
        padding: 8px 8px 2px 32px;
        text-decoration: none;
        color: #818181;
        display: block;
        transition: 0.3s;
    }

        .sidenav a:hover {
            color: #f1f1f1;
        }

    .sidenav p {
        padding: 0px 8px 8px 32px;
        display: block;
        transition: 0.3s;
    }

    .sidenav .closebtn {
        float: left;
        position: absolute;
        top: -16px;
        left: -28px;
        font-size: 24px;
        color: #B2B2B2;
    }

#as-main {
    transition: margin-right .5s;
}

@media screen and (max-height: 450px) {
    .sidenav {
        padding-top: 15px;
    }

        .sidenav a {
            font-size: 18px;
        }
}

.helpTooltip {
    position: relative;
    float: right;
    font-size: 12px;
    color: #777;
    right: 83px;
    top: -54px;
}

.helpIcon:hover {
    color: rgb(255, 26, 0);
    opacity: 0.8;
}

.tooltip-inner {
    font-size: 10px;
    color: #777;
    text-align: left;
    background-color: #fff;
    border: 1px solid #dbdbdb;
    border-radius: 5px;
}

.tooltip.show {
    opacity: 1;
}

.tooltip.bs-tooltip-auto[x-placement^=left] .arrow::before, .tooltip.bs-tooltip-left .arrow::before {
    right: 0;
    margin-top: -3px;
    content: "";
    border-width: 5px 0 5px 5px;
    border-left-color: #dbdbdb;
}

.printBtn {
    float: right;
    position: absolute;
    width: 100px;
    top: 18px;
    right: 30px;
    padding: .5rem .5rem;
    font-size: .8rem;
    line-height: .4;
    font-family: Roboto, Arial, sans-serif;
}

.titleRight {
    font-size: 24px;
    font-family: Roboto, Arial, sans-serif;
    color: #333;
    margin-top: -40px;
}

.logoRight {
    margin-right: 10px;
    margin-top: -4px;
    padding: 4px;
    width: auto;
    height: 50px;
}

.titleText {
    padding-top: 200mm;
    margin-top: 0px;
}

#report-caption {
    padding-right: 5mm;
    padding-bottom: 0mm;
    margin: 0mm;
}

.grid-container {
    display: grid;
    margin-right: 16px;
    margin-top: 10px;
}

.grid-item {
    text-align: center;
}

#modelName {
    padding: 0mm !important;
    color: #006CE0 !important;
    display: inline !important;
}

.item1 {
    grid-column: 1;
    grid-row: 1;
    text-align: left;
    margin-left: -14px;
    margin-right: 14px;
}

.item2 {
    grid-column: 2;
    grid-row: 1/ span 2;
}

.item3 {
    grid-column: 1;
    grid-row: 2;
    margin-top: -10px;
}

.boldTextSummary {
    color: #333;
    font-weight: 600;
}

.map2 {
    width: 300px;
    height: 226px;
    border-style: solid;
    border-width: 1px;
    border-color: #F5F5F5;
}

    .map2 .leaflet-control-attribution {
        font-size: 0px;
        background: transparent;
    }

    .map2 .leaflet-control-layers-base {
        font-size: 8pt;
    }

    .map2 .leaflet-control-layers-selector {
        margin-top: -2px;
        position: relative;
        top: 3px;
    }

    .map2 .leaflet-control-layers-expanded {
        opacity: 0.9;
        padding: 4px;
        text-align: left;
        margin-right: 6px;
        margin-top: 6px;
    }

/* c3 donut chart */
.c3-chart-arcs text {
    font-size: .6rem;
    font-weight: bold;
    font-family: Roboto, Arial, sans-serif;
    fill: #ffffff;
}

.big-font {
    font-size: 16pt;
    fill: #333;
    font-weight: 700;
    font-family: Roboto, Arial, sans-serif;
}

.small-font {
    font-size: 9pt;
    fill: #333;
    font-weight: 600;
    font-family: Roboto, Arial, sans-serif;
}


#chart2 .c3-legend-item text {
    font-size: 12px;
}


/* c3 line chart */
.chart1Container {
    min-width: 100%;
}

.chartLegendText {
    font-size: 0pt;
}

.c3-legend-item {
    font-size: 9pt;
    font-weight: 400;
    font-family: Roboto, Arial, sans-serif;
    fill: #555;
}

.c3-line {
    stroke-width: 5px;
}

.c3-axis {
    font-size: 9pt;
    font-weight: 500;
    font-family: Roboto, Arial, sans-serif;
    color: #333;
}

.c3-axis-x-label {
    font-size: 10pt;
    font-weight: 600;
    font-family: Roboto, Arial, sans-serif;
    color: #333;
}

.c3-axis-y-label {
    font-size: 10pt;
    font-weight: 600;
    font-family: Roboto, Arial, sans-serif;
    color: #333;
}

.c3-axis-y2 {
    font-size: 0pt;
    color: transparent;
}

.c3-xgrid-line line {
    stroke: rgba(255, 26, 0, 0.6);
    stroke-width: 2.5;
    stroke-dasharray: 6;
}

.c3-tooltip th {
    font-size: 9pt;
    font-family: Roboto, Arial, sans-serif;
}

.c3-tooltip td {
    font-size: 9pt;
    font-family: Roboto, Arial, sans-serif;
}

/* table */
.table th {
    position: sticky;
    top: 0;
    text-align: center;
    padding: 2px !important;
}

.tableMain1 {
    margin-left: 16px;
    margin-top: 4px;
    padding-right: 30px;
    overflow-y: auto;
    overflow-x: hidden;
}

.table1 tr td {
    padding: 1px !important;
    padding-left: 4px !important;
    font-family: Roboto, Arial, sans-serif;
    font-size: 8pt;
    color: #636363;
    text-align: center;
}

#table1 td,  #table1 th {
    border: 2px solid black;
}

#table1-caption {
    color: red;
    padding-left: 16px;
}

.tableMain2 {
    height: 250px;
    margin-left: 16px;
    margin-top: 4px;
    overflow-y: scroll;
    overflow-x: hidden;
}

.table2 tr td {
    padding: 1px !important;
    padding-left: 4px !important;
    font-family: Roboto, Arial, sans-serif;
    font-size: 8pt;
    color: #636363;
    text-align: center;
}

#table2 td,  #table2 th {
    border: 2px solid black;
}


/* summary/all year buttons */
.nav {
    margin-bottom: 4px;
    margin-right: 16px;
}

#filtered-tab {
    padding: .5rem .5rem;
    font-size: .7rem;
    line-height: .4;
    border-top-right-radius: 0rem;
    border-bottom-right-radius: 0rem;
    font-family: Roboto, Arial, sans-serif;
}

#all-tab {
    padding: .5rem .5rem;
    font-size: .7rem;
    line-height: .4;
    border-top-left-radius: 0rem;
    border-bottom-left-radius: 0rem;
    font-family: Roboto, Arial, sans-serif;
}

.definitions {
    padding-left: 10mm;
    padding-right: 10mm;
}

#disclaimer {
    padding-left: 10mm;
    padding-right: 10mm;
    padding-top: 8mm;
}

#coop {
    padding-left: 10mm;
    padding-right: 10mm;
    padding-top: 1mm;
}

#all-years-print {
            padding-left: 10mm;
            padding-right: 30mm;
            padding-top: 3mm;
        }

.date {
    margin-left: 30px;
    color: #fff;
    font-family: Roboto, Arial, sans-serif;
    font-size: .7rem;
}

/* format for printer */
@media print {
    body,
    * {
        visibility: hidden;
    }

    .sectionToPrint .doNotPrint * {
        display: none;
    }

    .sectionToPrint,
    .sectionToPrint * {
        visibility: visible !important;
        -webkit-print-color-adjust: exact;  /* legacy WebKit property */
        print-color-adjust: exact;          /* standardized property */
    }

        .sectionToPrint .rightSideNav {
            display: block;
            overflow: hidden;
            width: 100%;
            min-width: 100%;
            height: auto;
            margin-left: 10mm;
        }

        .sectionToPrint .titleRight {
            font-size: 1.9rem;
            margin-bottom: 2mm;
            margin-left: 0mm;
        }

        .sectionToPrint .logoRight {
            display: inline;
            width: auto;
            height: 64px;
            margin-right: 6mm;
        }

        .sectionToPrint #report-caption {
            font-size: 1.1rem;
        }

        .sectionToPrint .item1 {
            width: 140mm;
        }

        .sectionToPrint .item1 .pText {
             font-size: 1.1rem;
             line-height: 1.5rem
        }

        .sectionToPrint .map2 {
            width: 80mm;
            height: 70mm;
            margin-bottom: 10mm;
            margin-right: 20mm;
        }

        .sectionToPrint .chart1Container {
            margin-top: 1mm;
            margin-bottom: 14mm;
        }

      .sectionToPrint .chart1 {
        transform: scale(1.2);
        transform-origin: top left;
        transform-box: fill-box;
      }

      .sectionToPrint #chart2 .c3-legend-item text {
            font-size: 1.1rem;
        }

        .sectionToPrint #table1 {
            width: 220mm;
            font-size: 1.1rem;
            border: 2px solid black;
        }

        .sectionToPrint .header1 .th2 {
            background-color: #136090 !important;
        }
        .sectionToPrint .header1 .th3 {
            background-color: #537817 !important;
        }
        .sectionToPrint .header1 .th4 {
            background-color: #906C51 !important;
        }
        .sectionToPrint .header1 .th5 {
            background-color: #463262 !important;
        }

        .sectionToPrint #table1 td {
            font-size: 1.1rem;
        }

        .sectionToPrint #table1 td,  .sectionToPrint #table1 th {
             border: 2px solid black !important;
        }

        .sectionToPrint #def,
        .sectionToPrint #stream-def,
        .sectionToPrint #et-def,
        .sectionToPrint #storage-def,
        .sectionToPrint #drain-def
        {
            padding-left: 10mm;
            padding-right: 20mm;
            padding-top: 1.3mm;
            font-size: 1.1rem;
        }

        .sectionToPrint #disclaimer {
            padding-left: 10mm;
            padding-right: 20mm;
            padding-top: 5mm;
            font-size: 1.0rem;
        }
        .sectionToPrint #coop {
            padding-left: 10mm;
            padding-right: 20mm;
            padding-top: 1.3mm;
            font-size: 1.0rem;
        }

        .sectionToPrint #all-years-print {
            display: none;
        }

        .sectionToPrint .footer {
            margin-top: 2mm;
            margin-left: 10mm;
            font-size: 0.9rem;
            color: #333;
        }
}