/* -------------------------------------------------------------------------- */
/* -----------------------------General Styles------------------------------- */
/* -------------------------------------------------------------------------- */
html
{
    /*stupid ie scrollbars*/
    -ms-overflow-style: -ms-autohiding-scrollbar;
}

html, body, #map
{
    height: 100%;
    padding: 0;
    margin: 0;
    font-family: 'Roboto Condensed', sans-serif;
}

#mobile-indicator
{
    display: block;
}

.nodata
{
    font-size: 36px;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 768px)
{ 
    #mobile-indicator
    {
        display: none;
    }
}

/* -------------------------------------------------------------------------- */
/* ---------------------------------Navbar----------------------------------- */
/* -------------------------------------------------------------------------- */
.navbar
{
    /*width: 98%;*/
    /*left: 1%;*/
    /*top: 5px;*/
    width: 100%;
    left: 0px;
    top: 0px;
    background-color: rgba(228, 228, 228, 0.85);
    /*border-radius: 2px;*/
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 2px;
    box-shadow: 0 -1px 1px rgba(0,0,0,0.15), 0 2px 3px rgba(0,0,0,0.25);
    border-bottom-color: rgba(0, 0, 0, 0);
}

.navbar .container
{
    margin-left: 1%;
    margin-right: 1%;
    width: 98%;
}

.navbar-inverse .navbar-brand
{
    padding-top: 17px;
    font-size: 26px;
    color: #ad441d;
}

.navbar-inverse .navbar-brand:focus, .navbar-inverse .navbar-brand:hover
{
    color: #ad441d;
}

.navbar-brand.fleur
{
    padding-top: 8px;
    padding-bottom: 10px;
}

@media(max-width:767px)
{
    .navbar
    {
        width: 100%;
        left: 0px;
        top: 0px;
        border-top-right-radius: 0px;
        border-top-left-radius: 0px;
        border-bottom-right-radius: 2px;
        border-bottom-left-radius: 2px;
        box-shadow: 0 -1px 1px rgba(0,0,0,0.15), 0 2px 3px rgba(0,0,0,0.25);
    }

    .navbar-brand
    {
        padding-top: 15px;
        padding-bottom: 5px;
        padding-left: 0px;
    }
}

.navbar-header
{
    width: 100%;
    padding-left: 0px;
    padding-right: 0px;
}

.help
{
    height: 20px;
    width: 20px;
    vertical-align: middle;
    border: 0;
}

.navbar .input-group
{
    font-size: 0px;
}

.input-group input
{
    border-top-right-radius: 0px!important; 
    border-bottom-right-radius: 0px!important;
    border-top-left-radius: 2px!important;
    border-bottom-left-radius: 2px!important; 
}

.input-group .btn
{
    border-top-right-radius: 2px!important; 
    border-bottom-right-radius: 2px!important;
    border-top-left-radius: 0px!important;
    border-bottom-left-radius: 0px!important;
    border-left: 1px solid #aeaeae;
}

.navbar-form
{
    border-color: rgba(0, 0, 0, 0.0);
    border: 0px;
    margin-top: 10px;
    margin-bottom: 10px;
    /*width: 300px;*/
}

@media(max-width:767px)
{
    .navbar .container
    {
        padding-right: 0px;
        padding-left: 10px;
    }

    .navbar-form
    {
        width: 95%;
        margin-top: 0px;
        margin-bottom: 0px;
        margin-right: 3%;
        padding-right: 0px;
    }

    .navbar .container
    {
        padding-right: 0px;
        padding-left: 10px;
    }

    ul.nav.navbar-nav.pull-right
    {
        width: 90%;
        margin: 0px -15px;
    }

    .fleur
    {
        margin-left: 10px;
    }
}


/* -------------------------------------------------------------------------- */
/* ---------------------------------Search----------------------------------- */
/* -------------------------------------------------------------------------- */
#searchbox, .hint
{
    position: absolute;
    top: 0px;
    left: 0px;
    /*padding-right: 55px;*/
}

#searchbox
{
    background-color: transparent;
    z-index: 22;
    width: 230px;
}

.hint
{
    color: #aaaaaa;
    z-index: 21;
}

#hintbox
{
    width: 230px;
}

#searchbtn
{
    z-index: 23;
}

.form-control:focus
{
    border-color: #ad441d;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,68,29,.6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgba(173,68,29,.6);
}

@media(max-width:767px)
{
    #searchbox, #hintbox
    {
        width: 100%;
    }
}


/* -------------------------------------------------------------------------- */
/* ------------------------------Map Legend---------------------------------- */
/* -------------------------------------------------------------------------- */
#mapcontrols
{
    z-index: 35;
    position: absolute;
    top: 65px;
    left: 0px;
    height: 80%;
    max-height: 650px;
    width: 400px;
    padding-right: 40px;
    padding-bottom: 0px;
    overflow-y: auto;
    background-color: rgba(228, 228, 228, 0.0);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 2px;
    -webkit-transition: left .30s linear; /* Safari */
    transition: left .30s linear;
    overflow-x: hidden;
    border-color: rgba(221, 221, 221, 0.0);
}

#mapcontrols .panel-body
{
    background-color: rgba(228, 228, 228, 0.8);
    border: solid 1px;
    border-left-width: 0px;
    border-color: rgba(221, 221, 221, 1.0);

}

#mapcontrols.slide-hide
{
    left: -360px;
}

@media (max-width: 768px)
{
    #mapcontrols
    {
        width: 320px;
    }

    #mapcontrols.slide-hide
    {
        left: -280px;
    }
}

#mapctrl-toggle 
{
    position: absolute;
    top: 65px;
    right: 0px;
    z-index: 45;
    height: 160px;
    width: 40px;
    cursor: pointer;
    border-top-right-radius: 2px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 0px;
    background-color: rgba(228, 228, 228, 0.80);
    border: solid 1px;
    border-left-width: 0px;
    border-color: rgba(221, 221, 221, 1.0);
}

#mapctrl-close 
{
    font-size: 30px;
    margin-left: 5px;
    -webkit-transition: all 0.3s ease 0s; /* Safari */
    transition: all 0.3s ease 0s;
}

#mapctrl-text 
{
    position: absolute;
    top: 100px;
    right: -46px;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    font-size: 20px;
    display: block;
    width: 130px;
    -webkit-transition: all 0.2s ease 0s; /* Safari */
    transition: all 0.2s ease 0s;
}

#mapctrl-toggle:hover #mapctrl-close,
#mapctrl-toggle:hover #mapctrl-text 
{
    color: #ad441d;
}

#mapcontrols h4, #mapcontrols .h4
{
    font-size: 22px;
}

#mobilecontrols ul
{
    list-style: none;
    padding-left: 0px;
}

#mobilecontrols hr
{
    border-top: 1px solid #333333;
}

#socrata-toc ul, #ckan-toc ul, #esri-toc ul, #service-toc ul
{
    font-size: 18px;
    padding-left: 20px;
    list-style: none;
}

#service-toc ul
{
    padding-left: 40px;
}

.svclabel
{
    font-size: 18px;
    font-weight: normal;
    padding-left: 20px;
}

.dldlink
{
    font-size: 14px;
}

/*
@media(max-width:767px)
{
    .dldlink
    {
        display: none;
    }
}
*/


/* -------------------------------------------------------------------------- */
/* -------------------------------Info Display------------------------------- */
/* -------------------------------------------------------------------------- */
#infocontrols
{
    z-index: 35;
    position: absolute;
    top: 65px;
    right: 0px;
    height: 80%;
    max-height: 650px;
    width: 400px;
    padding-left: 40px;
    padding-bottom: 0px;
    overflow-y: auto;
    background-color: rgba(228, 228, 228, 0.0);
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 2px;
    -webkit-transition: width .30s linear; /* Safari */
    transition: width .30s linear;
    overflow-x: hidden;
    border-color: rgba(221, 221, 221, 0.0);
}

#infocontrols .panel-body
{
    background-color: rgba(228, 228, 228, 0.8);
    border: solid 1px;
    border-left-width: 0px;
    border-color: rgba(221, 221, 221, 1.0);
    right: 0px;
}

#infocontrols.slide-hide
{
    width: 40px;
}

@media (max-width: 768px)
{
    #infocontrols
    {
        width: 320px;
    }

    #infocontrols.slide-hide
    {
        width: 40px;
    }
}

#infoctrl-toggle 
{
    position: absolute;
    top: 65px;
    left: 0px;
    z-index: 45;
    height: 160px;
    width: 40px;
    cursor: pointer;
    border-top-right-radius: 2px;
    border-top-left-radius: 0px;
    border-bottom-right-radius: 2px;
    border-bottom-left-radius: 0px;
    background-color: rgba(228, 228, 228, 0.80);
    border: solid 1px;
    border-left-width: 0px;
    border-color: rgba(221, 221, 221, 1.0);
}

#infoctrl-close 
{
    font-size: 30px;
    margin-left: 5px;
    -webkit-transition: all 0.3s ease 0s; /* Safari */
    transition: all 0.3s ease 0s;
}

#infoctrl-text 
{
    position: absolute;
    top: 100px;
    right: -46px;
    -ms-transform: rotate(90deg);
    -webkit-transform: rotate(90deg);
    transform: rotate(90deg);
    font-size: 20px;
    display: block;
    width: 130px;
    -webkit-transition: all 0.2s ease 0s; /* Safari */
    transition: all 0.2s ease 0s;
}

#infoctrl-toggle:hover #infoctrl-close,
#infoctrl-toggle:hover #infoctrl-text 
{
    color: #ad441d;
}

#infocontrols h4, #infocontrols .h4
{
    font-size: 22px;
}

.infocontent
{
    margin-bottom: 0px;
}

.infocontent .infoheader
{
    border-radius: 2px;
    background-color: #666666;
    color: #e4e4e4;
}

.cardbox
{
    border-radius: 2px;
    background-color: #666666; /*rgba(228, 228, 228, 0.0);*/
    /*border: none;*/
}

.well.card
{
    border-radius: 2px;
    background-color: rgba(228, 228, 228, 0.80);
    position: relative;
}

.well.card .zoom
{
    position: absolute;
    top: 2px;
    right: 3px;
    font-size: 18px;
    visibility: hidden;
}

.well.card:hover .zoom
{
    visibility: visible;
}

.infotable 
{
    width: 100%;
}

.infotable td
{
    padding-bottom: 5px;
}

.infoname 
{
    font-style: italic;
    width: 100px;
}


/* -------------------------------------------------------------------------- */
/* ---------------------------------Modals----------------------------------- */
/* -------------------------------------------------------------------------- */
.modal-content
{
    border-radius: 2px;
}

.modal .btn
{
    border-radius: 2px;
}

.sources
{
    list-style: none;
}


/* -------------------------------------------------------------------------- */
/* -----------------------------ESRI Overrides------------------------------- */
/* -------------------------------------------------------------------------- */
/* Probably shouldn't do this */
.esriAttribution
{
    display: none;
}

/* Taken from https://github.com/Esri/dojo-theme-flat */
.esriSimpleSlider
{
    position: absolute;
    text-align: center;
    border: 0 none;
    background: #f5f5f5;
    cursor: pointer;
    user-select: none;
    border-radius: 2px;
    box-shadow: 0 -1px 1px rgba(0,0,0,0.15), 0 2px 3px rgba(0,0,0,0.25);
}

.esriSimpleSlider div
{
    background: #f5f5f5;
    width: 30px;
    height: 30px;
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    font-size: 14px;
    text-decoration: inherit;
    vertical-align: bottom;
    font-size: 0;
    line-height: 30px;
    border: 0 none;
    padding: 0;
    user-select: none;
}

.esriSimpleSlider div:hover
{
    background: #e9e9e9;
}

.esriSimpleSlider div:active
{
    background: #ddd;
}

.esriSimpleSlider div.disabled,
.esriSimpleSlider div.disabled:hover,
.esriSimpleSlider div.disabled:active
{
    opacity: 0.65;
}

.esriSimpleSlider .esriSimpleSliderIncrementButton:before
{
    content: "\f067";
    font-size: 14px;
}

.esriSimpleSlider .esriSimpleSliderDecrementButton:before
{
    content: "\f068";
    font-size: 14px;
}

.esriSimpleSliderTR
{
    right: 40px;
    top: 65px;
}

.esriSimpleSliderTL
{
    left: 40px;
    top: 65px;
}

.esriSimpleSliderBR
{
    right: 40px;
    bottom: 15px;
}

.esriSimpleSliderBL
{
    left: 40px;
    bottom: 15px;
}

/* -------------------------------------------------------------------------- */
/* --------------------------ESRI Popup Override----------------------------- */
/* -------------------------------------------------------------------------- */
.esriPopup 
{
    border-radius: 2px;
}

.esriPopup hr
{
    border: none;
    border-bottom: 1px solid #111111;
    margin-top: 6px;
    margin-bottom: 6px;
}

.esriPopup tr
{
    border-bottom: #e0e0e0 1px solid;
}

.esriPopup td
{
    padding-bottom: 2px;
    padding-top: 2px;
}

.esriPopup .header
{
    font-weight: bold;
    color: #000000;
}

.esriPopup .titleButton.prev
{
    right: 48px;
}

.esriPopup .titleButton.next
{
    right: 28px;
}

.esriPopup .titleButton.maximize
{
    display: none;
}

.esriPopup .titleButton.close
{
    right: 7px;
}

.esriPopup .attrname
{
    color: #000000;
    padding-right: 8px;
}

.esriPopup .attrvalue
{
    color: #555555;
}

.esriPopup .pointer.top, .esriPopup .pointer.topRight, .esriPopup .pointer.topLeft 
{
    background-color: #b95f3e; /*This is #ad441d at 0.85 opacity overlaid on white.*/
    background: #b95f3e;
    /*z-index: -1;*/
}

.esriPopup .outerPointer.left
{
    clip-path: polygon(0 0, 0% 110%, 110% 110%);
    -webkit-clip-path: polygon(0 0, 0% 110%, 110% 110%);
}

.esriPopup .outerPointer.right
{
    clip-path: polygon(0 0, 110% 110%, 110% 0);
    -webkit-clip-path: polygon(0 0, 110% 110%, 110% 0);
}

.esriPopup .titlePane
{
    border-top-left-radius: 2px;
    border-top-right-radius: 2px;
    background-color: #b95f3e; /*This is #ad441d at 0.85 opacity overlaid on white.*/
    height: 34px;
    padding: 7px 0px 0px 7px;
    /*opacity: 0.85;*/ /* Instead of using the standard color and laying over white with an opacity, I'm just using the compositied color. */
}

.esriPopup .titleButton
{
    margin: 7px 0px 0px 7px;
}

.esriPopup .esriPopupWrapper
{
    border-radius: 2px;
    font-size: 14px;
    font-weight: normal;
    line-height: 18px;
    background-color: #f7f7f7;
    font-family: 'Roboto Condensed', sans-serif;
    color: #333333;
    /*opacity: 0.85;*/
}

.esriPopup .titlePane .spinner
{
    background: url("../images/ajax-loader_orange.gif") no-repeat;
    background-position-x: 0%;
    background-position-y: 0%;
}