html,
body,
#theMapDiv,
#viewDiv {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
}

#theMapDiv {
    overflow: hidden;
}
/* 
.containerDiv {
    height: auto;
    width: 200px;
}

.esri-slider {
    width: 200px !important;
} */

/* ---- change esri layerlist icons from the "eye" to the checkbox ---- */
.esri-icon-non-visible::before {
    content: "\e610";
}

.esri-icon-visible::before {
    content: "\e611";
}

/* ---- change calcite text color to black ---- */
calcite-list, calcite-button {
    --calcite-color-text-1: #000000;
    --calcite-color-text-2: #000000;
    --calcite-color-text-3: #000000;
  }


/* --- ESRI-VIEW RESPONSIVENESS --------- */
.esri-view-width-less-than-small .esri-zoom .esri-widget--button,
.esri-view-height-less-than-small .esri-zoom .esri-widget--button {
    display: none;
}

.esri-view-width-less-than-small .esri-scale-bar,
.esri-view-height-less-than-small .esri-scale-bar {
    display: none;
}

/* ------- Classes for buttons inserted into LayerList ---------- */
.aButtonClass {
    font-size: 0.98em;
    margin: 2px 0px;
    width: 150px;
    height: 21px;
}

.aButtonClass2 {
    font-size: 0.83em;
    margin: 2px 0px;
    width: 150px;
    height: 21px;
}

.transparencyClass {
    display: flex;
    flex-direction: column;
    align-items: center;

}

.sliderClass {
    height: 40px;
    width: 100%;
    background-color: transparent;
}

/* ------------- Measure Buttons and Bar ----------- */
#measBar {
    background: #fff;
    padding: 5px;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
}

.action-buttonMsr {
    font-size: 16px;
    background-color: transparent;
    border: 1px solid #d3d3d3;
    color: #6e6e6e;
    height: 32px;
    width: 32px;
    text-align: center;
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.3);
}

.action-buttonMsr:hover,
.action-buttonMsr:focus {
    background: #3366cc;
    color: #e4e4e4;
}

.active {
    background: #3366cc;
    color: #e4e4e4;
}

/* ---- Hide Advanced Options Print Widget Button ---- */
.esri-print__advanced-options-section {
    display: none;
}

/* ------------- Moveable Panels ----------- */

.closeB {
    cursor: pointer;
    float: right;
    background-color: transparent;
    /*    color: rgba(255, 255, 255, 0.901961);*/
    border: none;
    margin-top: 2px;
    margin-right: 5px;
}

.closeB:hover {
    color: #000000;
}

.panelTitle {
    position: absolute;
    left: 10px;
    top: 5px;
    width: auto;
    color: #000000;
    overflow: hidden;
    font-weight: bold;
}

.imdraggable {
    touch-action: none;
    user-select: none;
    -webkit-transform: translate(0px, 0px);
    transform: translate(0px, 0px);
}

.hdrPanelC-DH {
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    height: 26px;
    text-shadow: none;
    color: black;
    background-color: #fece00;
    font-family: Verdana;
    font-size: 10pt;
    overflow: auto;
    cursor: move;
}

.bodyPanelC {
    padding: 0px;
    overflow: auto;
    /*    max-height: 200px;*/
    max-height: 80%;
    font-size: 9pt;
}

/* ------- ICONS--------------- */
.esri-icon-close-circled {
    cursor: pointer;
    background-color: transparent;
    color: #000;
    font-size: 20px;
    font-weight: bold;
}

.esri-icon-close-circled:hover {
    color: #3366cc;
}


/* ------- Layer Info PANEL--------------- */

#layerInfoPanel {
    position: absolute;
    top: 60px;
    right: 5%;
    width: 275px;
    border: 4px solid #00467F;
    background-color: white;
    padding: 0px;
    display: none;
    border-radius: 10px;
    z-index: 1100;
}

#lyrInfoBody {
    padding: 5px 20px;
    max-height: 320px;
    overflow: auto;
}

/* ------ SLR TIME SLIDER ---------------- */

#slrTimeSliderDiv {
    position: absolute;
    left: 0px;
    right: 0px;
    /*    width: 100%;*/
    bottom: 18px;
    background-color: rgba(51, 102, 204, 1);
    display: none;
}

#slrDiv {
    position: absolute;
    left: 5px;
    bottom: 99px;
    text-align: center;
    /*    width: 73px;*/
    /*    height: 78px;*/
    border: 0px solid black;
    font-size: 12px;
    font-weight: bold;
    background-color: rgba(51, 102, 204, 1);
    color: #fff;
    /*display: flex;*/
    display: none;
    justify-content: center;
    align-items: center;
}

#slrP {
    margin-block-start: 0.1em;
    margin-block-end: 0.1em;
}

.esri-time-slider {
    min-width: 310px;
}

.esri-time-slider__time-extent-date {
    color: #fff;
}

.esri-time-slider__layout--wide .esri-time-slider__row {
    height: 74px;
    /*    height: 78px;*/
}


/* adjust these styles */
.esri-time-slider__layout--compact .esri-time-slider__row:nth-child(1),
.esri-time-slider__layout--compact .esri-time-slider__row:nth-child(3) {
    padding-bottom: 3px;
    padding-top: 3px;
}

.esri-time-slider__layout--compact .esri-time-slider__row:nth-child(2) {
    height: 50px;
    overflow: hidden;
}

.esri-time-slider__slider .esri-slider__ticks {
    margin: 6px 0 0 0;
}

.esri-time-slider__slider .esri-slider__tick.minorTick {
    display: none;
}

.esri-time-slider__slider .esri-slider__tick-label {
    font-size: 11px;
    margin-top: 15px;
}

.esri-time-slider__slider .esri-slider__tick.majorTick {
    height: 6px;
}

.esri-time-slider__slider .esri-slider {
    margin-top: -10px;
}

.esri-time-slider__slider {
    padding: 0 20px 0 20px;
}


/*.esri-time-slider__layout--wide .esri-time-slider__time-extent,
.esri-time-slider__layout--compact .esri-time-slider__time-extent,*/
.esri-time-slider__layout--wide .esri-time-slider__min,
.esri-time-slider__layout--wide .esri-time-slider__max,
.esri-time-slider__layout--compact .esri-time-slider__min-date,
.esri-time-slider__layout--compact .esri-time-slider__max-date {
    display: none;
}



/* ---------- TABLE SETTINGS FOR SLR DEPTH & ENVIRONMENTAL INDICATORS ----------------- */

table.dT1,
table.dT2 {
    width: 100%;
    padding-top: 5px;
}

table.dT2 {
    border: 1px solid black;
    border-collapse: collapse;
}

th.dT1 {
    background-color: #85a3e0;
}

th.dT1,
td.dT1 {
    padding-left: 5px;
    padding-right: 5px;
    text-align: center;
}

th.dT2,
td.dT2 {
    padding-left: 5px;
    padding-right: 5px;
    border: 1px solid black;
    border-collapse: collapse;
    /* text-align: center; */
}

td.dT3 {
    /* padding-left: 5px;
    padding-right: 5px; */
    border: 1px solid black;
    border-collapse: collapse;
    text-align: center; 
}

tr.dT2 {
    background-color: #e6e6e6;
}

/* ===================================================================== *
        MEDIA QUERRIES                                                
* ===================================================================== */

@media only screen and (min-width: 376px) {}

@media only screen and (min-width: 545px) {
    .bodyPanelC {
        font-size: 11pt;
    }
}


/* SCREEN SIZE = SMALL (544 - 768)   */

@media only screen and (min-width: 545px) and (max-width: 768px) {}


/* FOR small devices in landscape mode */

@media only screen and (max-height: 545px) and (max-width: 768px) and (orientation: landscape) {
    #layerInfoPanel {
        top: 25px;
        right: 5%;
        width: 350px;
    }

    .bodyPanelC {
        max-height: 80%;
    }
}


/* FOR SCREEN SIZES GREATER THAN 768px - medium and larger  */

@media only screen and (min-width: 768px) {
    #layerInfoPanel {
        right: 30%;
        width: 390px;
    }

    .bodyPanelC {
        max-height: 95%;
    }
}

/* FOR SCREEN SIZES GREATER THAN 858px   */

@media only screen and (min-width: 858px) {
    #slrDiv {
        left: 70px;
        bottom: 75px;
    }

}


/* FOR SCREEN SIZES GREATER THAN 858px (ie not "compact" used by timeslider widget)  */

@media only screen and (min-width: 933px) {
    #slrTimeSliderDiv {
        left: 75px;
        right: 0px;
    }

    #slrDiv {
        left: 0px;
        bottom: 17px;
        text-align: center;
        width: 73px;
        height: 73px;
        border: 1px solid black;
        font-size: 14px;
    }

    #slrP {
        margin-block-start: 1em;
        margin-block-end: 1em;
    }

    /* for time slider layout-wide */
    .esri-time-slider__slider .esri-slider__ticks {
        margin: 12px 0 0 0;
    }

    .esri-time-slider__slider .esri-slider__tick.minorTick {
        display: block;
    }

    .esri-time-slider__slider .esri-slider__tick-label {
        font-size: 12px;
        margin-top: 23px;
    }

    .esri-time-slider__slider .esri-slider__tick.majorTick {
        height: 8px;
    }

    .esri-time-slider__slider {
        padding: 0 40px 0 40px;
    }

    .esri-time-slider__slider .esri-slider {
        margin-top: -15px;
    }
}

/* FOR SCREEN SIZES GREATER THAN 993px (large)  */

@media only screen and (min-width: 993px) {}


/* FOR SCREEN SIZES GREATER THAN 1200px (xlarge)  */

@media only screen and (min-width: 1200px) {}