﻿@charset "UTF-8";

body {
    margin: 0px;
    padding: 0px;
}

/*******************************************/
/* Search Palette - Desktop  */
/*******************************************/

#search-palette-container {
    width: 299px;
    min-height: 150px;
    background-color: #3A1392;
    padding-top: 15px;
    border-right: 4px solid #FEFEFE;
    border-top: 4px solid #FEFEFE;
    border-bottom: 1px solid #FEFEFE;
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFFFFF;
    position: absolute;
    border-radius: 4px;
    -webkit-box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    z-index: 15;
    margin-top: 20px;
}

#search-palette-container-tab {
    width: 30px;
    height: 50px;
    background-color: #3A1392;
    background-image: url("/_res/img/tab-rectangle-left.png");
    border-right: 4px solid #FEFEFE;
    border-top: 4px solid #FEFEFE;
    border-bottom: 4px solid #FEFEFE;
    border-radius: 4px;
    position: absolute;
    top: 12px;
    right: -30px;
    -webkit-box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    background-repeat: no-repeat;
    background-position: center center;
}

#search-palette-container-tab-close {
    width: 30px;
    height: 50px;
    background-color: #3A1392;
    background-image: url("/_res/img/tab-rectangle-right.png");
    border-right: 4px solid #FEFEFE;
    border-top: 4px solid #FEFEFE;
    border-bottom: 4px solid #FEFEFE;
    border-radius: 4px;
    position: absolute;
    top: 60px;
    -webkit-box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    box-shadow: 3px 4px 5px rgba(0,0,0,0.26);
    background-repeat: no-repeat;
    background-position: center center;
    z-index: 10;
}

.search-palette-title {
    padding-left: 20px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
}

.search-palette-input {
    margin-top: 10px;
    margin-left: 20px;
    padding: 7px;
    width: 220px;
    font-size: .9em;
    /*background-image: url("/_res/img/icon-magnifying-glass.png");*/
    background-repeat: no-repeat;
    background-position: right center;
    background-origin: content-box;
    clear: left;
    border-radius: 3px;
    padding-right: 22px !important;
}

.search-palette-input-search {
}

#search-palette-auto-locate {
    margin-top: -10px;
    margin-bottom: 10px;
    font-size: .9em;
    font-weight: 500;
}

    #search-palette-auto-locate img {
        padding-left: 20px;
        padding-right: 5px;
        vertical-align: middle;
    }

a:link.search-palette-auto-locate, a:visited.search-palette-auto-locate {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover.search-palette-auto-locate {
    color: #C9CED0;
}

a:link.search-palette-link, a:visited.search-palette-link {
    padding-left: 20px;
    font-size: .7em;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    background-color: #70264E;
}

a:hover.search-palette-link {
    color: #b5b1ac;
}


/*******************************************/
/* Search Palette - Mobile  */
/*******************************************/


#search-palette-container-mobile {
    width: 375px;
    min-height: 120px;
    background-color: #70264E;
    padding-top: 15px;
    border-top: 4px solid #FEFEFE;
    font-family: 'Roboto Condensed', sans-serif;
    color: #FFFFFF;
    position: relative;
}

#search-palette-container-tab-mobile {
    width: 60px;
    height: 30px;
    background-color: #70264E;
    background-image: url("/_res/img/tab-rectangle-down.png");
    border-left: 4px solid #FEFEFE;
    border-top: 4px solid #FEFEFE;
    border-top-right-radius: 4px;
    border-top-left-radius: 4px;
    position: absolute;
    top: -34px;
    right: 0px;
    background-repeat: no-repeat;
    background-position: center center;
}

.search-palette-title-mobile {
    padding-left: 20px;
    font-size: 1.1em;
    font-weight: 700;
    text-transform: uppercase;
}

.search-palette-input-mobile {
    margin-top: 10px;
    margin-left: 20px;
    padding: 7px;
    min-width: 200px;
    font-size: .9em;
    background-image: url("/_res/img/icon-magnifying-glass.png");
    background-repeat: no-repeat;
    background-position: right center;
    background-origin: content-box;
    clear: left;
    border-radius: 3px;
    float: left;
}

#search-palette-auto-locate-mobile {
    margin-top: 10px;
    margin-bottom: 10px;
    width: 100px;
    font-size: .9em;
    font-weight: 500;
    text-align: center;
    position: absolute;
    right: 10px;
    top: 10px;
}

    #search-palette-auto-locate-mobile img {
        display: block;
        margin-left: auto;
        margin-right: auto;
    }

a:link.search-palette-auto-locate-mobile, a:visited.search-palette-auto-locate-mobile {
    color: #FFFFFF;
    text-decoration: none;
}

a:hover.search-palette-auto-locate-mobile {
    color: #b5b1ac;
}

a:link.search-palette-link-mobile, a:visited.search-palette-link-mobile {
    padding-top: 10px;
    padding-left: 20px;
    font-size: .7em;
    font-weight: 500;
    color: #FFFFFF;
    text-decoration: none;
    clear: left;
    float: left;
}

a:hover.search-palette-link-mobile {
    color: #b5b1ac;
}




/*******************************************/
/* Search Hazards palette  */
/*******************************************/


#search-hazards-title {
    margin-top: 12px;
    padding-top: 12px;
    padding-bottom: 12px;
    padding-left: 20px;
    padding-right: 20px;
    background-color: #541437;
    font-size: 1em;
    font-weight: 700;
    text-transform: uppercase;
}

.hazard-limitation {
    font-size: .9em;
    font-weight: 500;
}

#search-hazards-container {
    padding-top: 15px;
    padding-bottom: 15px;
    padding-left: 20px;
    background-color: #FFFFFF;
    color: #333333;
}



/*******************************************/
/* Customized Radio Buttons */
/*******************************************/


/* Customize the label (the container) */
.searchcontainer {
    font-size: 1.1em;
    font-weight: 700;
    display: block;
    position: relative;
    padding-left: 30px;
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: solid 1px #E4E4E4;
    cursor: pointer;
}

    /* Hide the browser's default radio button */
    .searchcontainer input {
        position: absolute;
        opacity: 0;
        cursor: pointer;
        height: 0;
        width: 0;
    }

/* Create a custom radio button */
.selected-hazard {
    position: absolute;
    top: 0;
    left: 0;
    height: 19px;
    width: 19px;
    border-radius: 50%;
    border: 1px solid #C4C4C4;
}

/* On mouse-over, add a grey background color */
.searchcontainer:hover input ~ .checkmark {
    background-color: #CCCCCC;
}

/* When the radio button is checked, add a blue background */
.searchcontainer input:checked ~ .selected-hazard {
    background-color: #3A1392;
}

/* Create the indicator (the dot/circle - hidden when not checked) */
.selected-hazard:after {
    content: "";
    position: absolute;
    display: none;
}

/* Show the indicator (dot/circle) when checked */
.searchcontainer input:checked ~ .selected-hazard:after {
    display: block;
}

/* Style the indicator (dot/circle) */
.searchcontainer .selected-hazard:after {
    top: 5px;
    left: 5px;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #FFFFFF;
}

/*makes columns for freeze key*/
.column {
    float: left;
    width: 45%;
    padding-bottom: 3px;
    border-bottom: solid 1px #E4E4E4;
}

/*******************************************/
/* Hazard Key Blocks */
/*******************************************/

.hazards-key {
    font-size: .9em;
    font-weight: 300;
    display: inline;
    clear: both;
    width: 100%;
    margin-top: 5px;
    position:relative;  
}

.hazards-key-freeze {
    font-size: .85em;
    font-weight: 300;
    display: inline-block;
    clear: both;
    width: 100%;
    margin-top: 5px;
    position: relative;
}

    .hazards-key a:link, .hazards-key a:visited {
        color: #333333;
        text-decoration: none;
        padding-right: 10px;
        white-space: nowrap;   
    }

    .hazards-key a:hover {
        color: #b5b1ac;
        text-decoration: none;        
    }


.hazard-key-block {
    margin-right: 5px;
    height: 12px;
    width: 12px;
    display: inline-block;
    border: 1px solid #979797;
}

.block-flood-high {
    background-color: #DD30F8;
}

.block-flood-moderate {
    background-color: #F2F085;
}

.block-earthquake-50 {
    background-color: #13007F;
}

.block-earthquake-100 {
    background-color: #CF0D00;
}

.block-earthquake-250 {
    background-color: #FFAE32;
}

.block-earthquake-500 {
    background-color: #72FF79;
}

.block-earthquake-over500 {
    background-color: #FFFFFF;
}

.block-earthquake-noData {
    background: linear-gradient(45deg, #a5a5a5 10%, #ffffff 10%, #ffffff 50%, #a5a5a5 50%, #a5a5a5 60%, #ffffff 60%, #ffffff 100%);
    background-size: 4px 4px;
}

.block-hail-moderate {
    background-color: #99EE8A;
}

.block-hail-severe {
    background-color: #FF8080;
}

.block-hail-verysevere {
    background-color: #C10061;
}

.block-freeze-greater20 {
    background-color: #FFFFFF;
}
.block-freeze-20 {
    background-color: #15334A;
}
.block-freeze-15 {
    background-color: #2A658F;
}
.block-freeze-10 {
    background-color: #5093B3;
}
.block-freeze-5 {
    background-color: #9FB9D2;
}
.block-freeze-0 {
    background-color: #C9DBE8;
}
.block-freeze-neg5 {
    background-color: #E2F2FB;
}
.block-freeze-neg10 {
    background-color: #430767;
}
.block-freeze-neg15 {
    background-color: #634289;
}
.block-freeze-neg20 {
    background-color: #8684B1;
}
.block-freeze-neg25 {
    background-color: #B7A9D1;
}
.block-freeze-neg30 {
    background-color: #CAC1E4;
}
.block-freeze-neg35 {
    background-color: #EBDFF8;
}
.block-freeze-neg40 {
    background-color: #6A115C;
}
.block-freeze-neg45 {
    background-color: #831964;
}
.block-freeze-neg50 {
    background-color: #C92E7B;
}
.block-freeze-neg55 {
    background-color: #EB5997;
}
.block-freeze-neg60 {
    background-color: #EF8EAC;
}
.block-freeze-neg65 {
    background-color: #F4BCC6;
}
.block-freeze-neg70 {
    background-color: #F5C3D9;
}
.block-freeze-neg75 {
    background-color: #F9DBE8;
}
.block-freeze-neg80 {
    background-color: #FCECEE;
}


/*******************************************/
/* Bottom "About Global NatHaz Map" link  */
/*******************************************/


a:link.search-result-link, a:visited.search-result-link {
    padding-left: 20px;
    font-size: .7em;
    font-weight: 700;
    color: #7B2B63;
    text-decoration: none;
}

a:hover.search-result-link {
    color: #b5b1ac;
}


.hazard-tool-tip {
    padding: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: .8em;
    width: 180px;
    font-color: #333333;
    background-color: #f1f4f5;
    border: 2px solid #707070;
    border-radius: 5px;
    position: absolute;    
    left:-2000px;
    z-index:15;
    line-height:normal;
}

a:hover +div.hazard-tool-tip {
    left:-25px;
    top:20px;
}

.hazard-tool-tip-arrow {
    background-color: #f1f4f5;
    border-top: 2px solid #707070;
    border-right: 2px solid #707070;
    width: 15px;
    height: 15px;
    transform: rotate(-45deg);
    position: absolute;
    top: -10px;
    left: 20px;
}

#hazard-tool-tip-mobile {
    padding: 10px;
    font-family: 'Roboto Condensed', sans-serif;
    font-weight: 500;
    font-size: .8em;
    width: 100px;
    font-color: #333333;
    background-color: #f1f4f5;
    border: 2px solid #707070;
    border-radius: 5px;
    position: relative;
}

#hazard-tool-tip-arrow-mobile {
    background-color: #f1f4f5;
    border-top: 2px solid #707070;
    border-right: 2px solid #707070;
    width: 15px;
    height: 15px;
    transform: rotate(135deg);
    position: absolute;
    bottom: -10px;
    left: 20px;
}

#hazard-tool-tip-mobile img {
    margin-top: 10px;
    margin-bottom: 5px;
    display: block;
}

.hazard-tool-tip-title {
    padding-bottom: 5px;
    font-weight: 700;
    display: block;
}



#zoomOut, #zoomIn {
    text-align: center;
    font-size: 25px;
    margin-top: -145px;
    position: absolute;
    right: 150px;
    font-weight: bold;
    /*width: 30px;
    height: 30px;
    border-radius: 16px;*/
    -moz-user-select: -moz-none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    z-index: 1;
}

#zoomOut {
    line-height: 24px;
    top: 220px;
}

#zoomIn {
    top: 220px;
    line-height: 30px;
    margin-right: 40px;
}

.darkZoom {
    background-color: #333333;
    border: 1px solid #fff;
    color: white;
}

    .darkZoom:hover {
        background-color: #808080;
    }

.lightZoom {
    background-color: white;
    border: 1px solid #000;
    color: black;
}

    .lightZoom:hover {
        background-color: #CCCCCC;
    }