﻿
.info h4 {
    margin: 0 0 5px;
    color: #777;
}

.legend {
    line-height: 18px;
    color: #555;
}

    .legend i {
        width: 18px;
        height: 18px;
        float: left;
        margin-right: 8px;
        opacity: 0.7;
    }



.heyo:hover, .heyo:active {
    -moz-transition: 0.3s;
    -o-transition: 0.3s;
    -webkit-transition: 0.3s;
    transition: 0.3s;
}



.popup-funding-text {
    color: #323a45;
    font-family: "Merriweather", serif;
    font-size: 20px;
    line-height: 100%;
    text-align: center;
}

.popup-content {
    color: #323a45;
    font-family: "Merriweather", serif;
    font-size: 15px;
    line-height: 100%;
    text-align: center;
    padding-top: 12px;
    padding-bottom: 8px;
}

.popup-funding-text:after {
    display: block;
    clear: both;
    content: "";
    position: relative;
    left: 0;
    bottom: 0;
    max-width: 250px;
    height: 1px;
    width: 80%; /* or 100px */
    border-bottom: 2px solid #cecfdb;
    margin: 0 auto;
    padding: 4px 0px;
}

.enabled {
    cursor: pointer;
}

.L_enabled {
    cursor: pointer;
}

.description {
    pointer-events: none;
    position: absolute;
    font-size: 12px;
    text-align: center;
    background: white;
    padding: 8px 8px;
    z-index: 5;
    height: auto;
    width: auto;
    line-height: 15px;
    margin: 0 auto;
    color: black;
    border-radius: 5px;
    box-shadow: 0 0 0 1px #eee;
    -moz-transform: translateX(-50%);
    -ms-transform: translateX(-50%);
    -webkit-transform: translateX(-50%);
    transform: translateX(-50%);
    display: none;
    
}

    .description.active {
        display: block;
    }

    .description:after {
        content: "";
        position: absolute;
        left: 50%;
        top: 100%;
        width: 0;
        height: 0;
        margin-left: -10px;
        border-left: 10px solid transparent;
        border-right: 10px solid transparent;
        border-top: 10px solid white;
    }

 /* Ahrf - Map container & Grid*/
.esriMapContainer {
    margin-right: auto;
    margin-left: auto;
    width: 100%;
    height: 1050px;
    min-height: 240px;
    padding-bottom:20px;
}

#viewDiv, #mapContainerAhrfDiversity {
    padding: 0;
    margin: 0;
    height: 72%;
    width: 100%;
    overflow: hidden;
}

.gridDisplay {
    position: absolute;
    background-color: white;
    border-color: grey;
    font-size: 14px;
    z-index: 80;
    width: 100%;
    height: 12%;
}
.dgrid {
    height: 100% !important;
}
@media (min-width: 768px) {
    .gridDisplay {
        width: 750px;
        padding-right: 15px;
    }

    .dgrid {
        height: 100% !important;
    }
    #viewDiv, #mapContainerAhrfDiversity {
        height: 63%;
    }
    .esriMapContainer{
        height:600px;
    }
}

@media (min-width: 1024px) {
    .gridDisplay {
        width: 970px;
        padding-right: 30px;
    }
}

@media (min-width: 1280px) {
    .gridDisplay {
        width: 1170px;
        padding-right: 30px;
       
    }

    #viewDiv, #mapContainerAhrfDiversity {
        height: 72%;
    }

    .dgrid {
        height: 100% !important;
    }

    .esriMapContainer {
        height:940px;
    }
}

@media (max-width:480px) {
    .dgrid {
        height: 100% !important;
    }

    #viewDiv, #mapContainerAhrfDiversity {
        height: 49%;
    }

    .esriMapContainer {
        height: 600px;
    }

    .esri-view-width-xsmall .esri-expand--auto .esri-expand__mask--expanded {
        position: absolute !important;
    }

    .esri-view-width-xsmall .esri-expand--auto .esri-expand__container--expanded {
        top: -180px !important;
        height: 240px !important;
        position: absolute !important;
    }

    .esri-view-width-xsmall .esri-expand--auto .esri-expand__container--expanded .esri-expand__panel {
        position: absolute !important;
        height: 100% !important;
    }
}
@media(max-width:768px){
    .center {
        top: 50% !important;
    }
}
/*end*/

/**Ahrf - grid*/
.dgrid-header{
    background-color: #eee;
    color: #57585A;
}
.dgrid-header-row {
    background-color: #12274a !important;
    color: antiquewhite;
}

.dgrid-row-even {
    background-color: #F7F8F8;
}

.dgrid-row-odd {
    background-color: #EFEFEF;
}

.dgrid-selected {
    background: #B4DAF5;
}

.dgrid-row {
    border: none
}
/*end*/

/**Ahrf - loading symbol*/
#loader {
    border: 12px solid #f3f3f3;
    border-radius: 50%;
    border-top: 12px solid #12274a;
    width: 70px;
    height: 70px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    100% {
        transform: rotate(360deg);
    }
}

.center {
    position: absolute;
    top:35%;
    left:50%;
    margin: auto;
} 
/**end*/

/*Ahrf - Disable main div*/
.disableDiv{
    pointer-events:none;
    opacity:0.4;
}
/**end*/
.esri-legend {
    width: 170px !important;
}
/*Disable zoom button in popup template*/
.esri-popup__footer{
    display:none !important;
}

.templateDataSelection {
    font-size: 12px !important;
    font-weight: 400 !important; 
    font-family: 'Avenir Next','Helvetica Neue',Helvetica,Arial,sans-serif;
}
.esri-feature__content-element {
    padding: 0 7px 2px !important;
}