﻿:root {
    --highlightColor: #7eccff;
    --highlightScrimBackground: rgb(0, 122, 194);
    --highlightColor-light: #a2daff;
    --pageElementbackground: #defbde;
    --pageElementpadding: 7px;
    --pageElementborder: 1px solid rgb(162 229 162);
    --pageElementborder-radius: 4px;
    --pageElementmargin: 3px;
    --pageElementFontSize: 8pt;
    --page-font-size--5: .5em;
    --calcite-font-size-0: 1em;
    /*--calcite-block-heading-text-color: white;*/
    --heading-font-weight: bolder;
}

calcite-panel {
}

.renderer-help {
    margin-top: 10px;
    margin-left: 10px;
    color: var(--calcite-color-text-2);
    /*font-size: var(--calcite-font-size--2);*/
    line-height: 1.3;
    max-height: 75%;
    overflow-y: scroll;
}
/* Any demo specific styling needed for this tutorial only */
html, body {
    height: 100%;
    margin: 0;
    padding: 0;
    background-color: rgba(245, 245, 245, 1);
    font-family: "Montserrat", "Gotham", "Open Sans", "Helvetica Neue", Helvetica, sans-serif;
    color: rgba(70, 70, 70, 1);
}

#appLayout {
    height: 100%;
}

#leftCol {
    width: 14em;
}

.claro .demoLayout .edgePanel {
    background-color: #d0e9fc;
}

#viewsChart {
    width: 550px;
    height: 550px;
}

button:hover {
    background-color: #AFD9FF;
    color: #000000;
}

h1 {
    font-size: 1.5em;
}

.break {
    float: none;
    clear: both;
}

.header {
    /*top: 5px;
        left: 5px;
        right: 5px;
        height: 50px;
        opacity: 0.85;
        filter: alpha(opacity=85);
        z-index: 100;

        font-size: .75em !important;*/
}

.headerText {
    text-decoration: underline;
}

.largeScreenMenu ul, .smallScreenMenu ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    overflow: hidden;
    background-color: #2a578d;
}

.largeScreenMenu li, .smallScreenMenu li {
    float: left;
    display: block;
    color: white;
    padding: 12px;
    font-size: .5em;
    text-decoration: none;
}

    .largeScreenMenu li:hover, .smallScreenMenu li:hover {
        background-color: #111111;
        cursor: pointer;
    }

#topPanel {
    background-color: rgb(245, 245, 245);
}

.historicItemCollapse {
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    max-height: 150px;
    overflow: hidden;
    position: relative;
    box-shadow: 1px 1px 3px #000;
    background-color: rgba(250, 250, 250, 1);
}

.historicItemExpand {
    border-radius: 10px;
    padding: 20px;
    margin: 20px;
    position: relative;
    box-shadow: 1px 1px 3px #000;
    background-color: rgba(250, 250, 250, 1);
}

.historicItemCollapseImg {
    position: absolute;
    right: 5px;
    top: 5px;
    background-image: url('../images/collapse_icon.gif');
    height: 16px;
    width: 16px;
}

    .historicItemCollapseImg:hover {
        cursor: pointer;
    }

.historicItemExpandImg {
    position: absolute;
    right: 5px;
    top: 5px;
    background-image: url('../images/expand_icon.gif');
    height: 16px;
    width: 16px;
}

    .historicItemExpandImg:hover {
        cursor: pointer;
    }

.quickLinks {
    padding: 5px;
}

    .quickLinks:hover {
        background-color: #CDCDCD;
        cursor: pointer;
    }

#content {
    min-height: 100%;
    width: 100%;
    z-index: 1000;
    display: block;
    padding: 0px;
}

#mapPanel {
    height: 100%;
    width: 100%;
    background-color: white;
    bottom: 0px;
    right: 0px;
    left: 0px;
    top: 0px;
    position: absolute;
    z-index: 1000;
    display: none;
}

#map {
    height: 100%;
    width: 100%;
}

/*        #toolTip {
            z-index: 1000;
            position: absolute;
            overflow: hidden;
            opacity: 0.8;
            filter: alpha(opacity=80);
        }*/

/*.tooltipMessage {
            padding: 10px;
            border: 1px solid #CCCCCC;
            font-family: Calibri;
            font-size: medium;
            background-repeat: repeat-x;
            background-image: url('../Images/button_grad_d.png');
            vertical-align: middle;
            color: #71798e;
            background-color: #FFFFFF;
            font-weight: bold;
        }

        .tooltipConnector {
            padding-left: 21px;
        }

        img.tooltipConnector1i {
            width: 23px;
            height: 16px;
            background: url('../Images/popup_sprite1.png') 0px -58px;
        }*/
/* Floating Tooltip Styling */
#tooltip {
    position: absolute;
    color: #71798e;
    border: 1px solid #CCCCCC;
    background-repeat: repeat-x;
    background-image: url('../Images/button_grad_d.png');
    background-color: #FFFFFF;
    font-family: Calibri;
    padding: 6px 12px;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none; /* Prevents the tooltip from blocking the cursor's hitTest */
    display: none;
    z-index: 99;
    box-shadow: 0 2px 6px rgba(0,0,0,0.5);
}

.showMap {
    cursor: pointer;
}

.fcTitle {
    padding: 5px 0px;
    cursor: pointer;
}

.toggleButtons {
    background: white;
    border: solid 1px gray;
    padding: 5px;
    display: inline-block;
}

.historicTypeDropDown {
    background-color: transparent;
    border: none;
    box-shadow: none;
}

.mapControls {
    position: absolute;
    text-align: center;
    border: 1px solid #57585A;
    background-color: #FFF;
    color: #4C4C4C;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
    -o-border-radius: 5px;
    border-radius: 5px;
    z-index: 1001;
    margin: 10px;
}

    .mapControls:hover {
        cursor: pointer;
    }

.carousel-indicators {
    margin-bottom: 12px;
    font-family: sans-serif;
    font-size: 14px;
}

.progress-bar-container {
    background-color: #e0e0e0;
    border-radius: 4px;
    height: 6px;
    margin-top: 6px;
    width: 100%;
}

#carousel-progress-bar {
    background-color: #007ac2; /* Esri Calcite Brand Blue */
    height: 100%;
    border-radius: 4px;
    transition: width 0.2s ease-in-out;
}
/* Overlay takes up the full panel canvas space */
.loader-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(255, 255, 255, 0.75); /* Dim effect */
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

    /* Quick helper to toggle states cleanly */
    .loader-overlay.hidden {
        display: none;
    }

.lightbox-trigger:hover {
    cursor: pointer;
}
/* 1. Force the internal dialog chasis wrapper to fill out 90% */
.lightbox-custom-size::part(dialog) {
    width: 90vw !important;
    height: 90vh !important;
    max-width: 90vw !important;
    max-height: 90vh !important;
}

/* 2. Force the internal core content wrapper to take up 100% of that new box */
.lightbox-custom-size::part(content) {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
    padding: 0 !important; /* Removes default body padding around the photo */
}

/* 3. Style the slotted image wrapper container to fill the frame */
.lightbox-image-container {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

    /* 4. Keep the image bound strictly inside the container bounds */
    .lightbox-image-container img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain; /* Prevents stretching and distortion */
    }

.header-container {
    background: #a2daff;
}
/* Establish the container context on the wrapper */
.category-toggle-wrapper {
    container-type: inline-size;
    width: 100%; /* Spans the full width of its placement */
}

    /* Default state (Narrow Container): Show dropdown, hide segmented control */
    .category-toggle-wrapper .desktop-toggle {
        display: none;
    }

    .category-toggle-wrapper .mobile-toggle {
        display: block;
    }

/* Responsive state (Wide Container): Swap visibility when wrapper hits 600px */
@container (min-width: 580px) {
    .category-toggle-wrapper .desktop-toggle {
        display: block;
    }

    .category-toggle-wrapper .mobile-toggle {
        display: none;
    }
}

.toggleContainer {
    border: solid 1px black;
    padding: 10px;
}

/* Animation rule: blinks every 0.5 seconds infinitely */
.beigeBackground {
    animation: beigeFlash 0.75s infinite;
    border: solid 1px red;
}

/* Define the flash effect */
@keyframes beigeFlash {
    0%, 100% {
        background-color: transparent;
    }

    50% {
        background-color: #f5f5dc; /* Beige */
    }
}
