html,
body {
    padding: 0;
    margin: 0;
    height: 100%;
    width: 100%;
    overflow: hidden;
}

/*
     change esri layerlist icons from the "eye" to the checkbox 
---------------------------------  */
.esri-icon-non-visible::before {
    content: "\e610";
}

.esri-icon-visible::before {
    content: "\e611";
}


#applicationDiv {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

#viewDiv {
    width: 100%;
    height: 100%;
    flex: 1 1 auto;
    order: 1;
}

/*#titleDiv {
    font-weight: 400;
    font-style: normal;
    font-size: 1.2rem;
    padding: 10px;
}*/



.esri-view-height-less-than-small .esri-zoom .esri-widget--button,
.esri-view-width-less-than-small .esri-zoom .esri-widget--button {
    display: none;
}



/* ---- Layer Information Panel ---- */

.closeB {
    cursor: pointer;
    float: right;
    background-color: transparent;
    border: none;
    margin-top: 3px;
    margin-right: 5px;
}

.closeB:hover {
    color: #000000;
}

.hdrPanel {
    border-radius: 10px 10px 0px 0px;
    width: 100%;
    height: 26px;
    text-shadow: none;
    color: black;
    background-color: #fece00;
    font-family: Verdana;
    /*font-size: 11pt;*/
    overflow: auto;
    cursor: move;
}

.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);
}

.bodyPanel {
    padding: 0px;
    overflow: auto;
    max-height: 80%;
}

#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;
}

/* ---- Font Awesome Icons ---- */
.fa-times-circle {
    background-color: transparent;
    color: rgba(255, 255, 255, 0.901961);
    font-size: 20px;
}

.fa-times-circle:hover {
    color: #44657a; /*#00a4f6;*/
}


/* --- Time Slider Styling ---- */
#sliderContainer {
    flex: 0 0 80px;
    order: 2;

    display: none;
    /*display: flex;*/
    flex-flow: row;

    padding: 0 12px;
}

#sliderValue {
    flex: 0 0 100px;
    order: 1;

    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
}

#sliderValue1 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;
    font-weight: bold;
}

#sliderValue2 {
    display: flex;
    justify-content: center;
    flex-direction: column;
    text-align: center;

    font-size: 190%;
    font-weight: bold;
}

#sliderInnerContainer {
    flex: 1 1 auto;
    order: 2;

    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 20px;
}

#slider {
    width: 100%;
}

/*
     Play/Stop toggle button
---------------------------------  */

#playButton {
    flex: 0 0 100px;
    order: 3;

    margin: 20px 0;
}

.toggle-button {
    display: flex;
}

.toggle-button.toggled .toggle-button-icon {
    color: #CC1B1B;
}

.toggle-button .toggle-button-icon {
    color: #1BCC1B;
}

.toggle-button > :nth-child(2) {
    display: none;
}

.toggle-button.toggled > :nth-child(1) {
    display: none;
}

.toggle-button.toggled > :nth-child(2) {
    display: block;
}

/*
     Time slider toggle button
---------------------------------  */

.tdButton {
    /*    margin: 1px;*/
    padding: 3px;
    border: none;
    width: 32px;
    height: 32px;
    background-color: #fff;
    color: #6e6e6e;
    /*    background-color: #a3cdf5;*/
    /*    border-radius: 5px;*/
}

.tdButton:hover {
    background-color: #f3f3f3;
    color: #2e2e2e;
}

/*
    Hover tooltip
---------------------------------  */

.tooltip {
    position: absolute;
    pointer-events: none;
    transition: opacity 200ms;
}

.tooltip > div {
    margin: 0 auto;
    padding: 12px;
    border-radius: 4px;
    box-shadow: 0px 0px 4px rgba(255, 255, 255, 0.75);
    transform: translate3d(-50%, -125%, 0);
}

/*
    testing messages
---------------------------------  */
#outputMessages {
    position: absolute;
    z-index: 70;
    top: 220px;
    left: 0;
    bottom: 0;
    box-sizing: border-box;
    padding: 20px;
    height: 100%;
    width: 350px;
    background: rgba(0, 0, 0, 0.7);
    color: white;
    font-size: 14px;
    line-height: 30px;
    overflow: auto
}

#outputMessages span {
    color: #F7BE81;
    font-weight: bold;
}

/*
    formating for private lease table in popup
---------------------------------  */
table.plTable,
th.plTable,
td.plTable {
    border: 1px solid black;
    border-collapse: collapse;
}

th.plTable,
td.plTable {
    padding-left: 4px;
    padding-right: 4px;
    text-align: center;
}

/* ===================================================================== *
        MEDIA QUERRIES                                                
* ===================================================================== */

/* FOR SCREEN SIZES GREATER THAN 768px - medium and larger  */

@media only screen and (max-width: 400px) {
    #sliderInnerContainer {
        flex: 1 1 auto;
        order: 2;

        display: flex;
        flex-direction: column;
        justify-content: center;
        padding: 0 10px;
    }
}

/* 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;
    }
}

/* FOR SCREEN SIZES GREATER THAN 768px - medium and larger  */

@media only screen and (min-width: 768px) {
    #layerInfoPanel {
        right: 30%;
        width: 390px;
    }
}
