/*overrides****/

/* Platform-specific branding */
#resourceLegendWrapper .legendButton,
#indicatorLegendWrapper .legendButton,
#topBar .selectionContent h2 {
    color: #1462AA;
}

/*Not tested on multiple platforms */
#mainNav{
    /*max-width : 1200px;*/
}
#logo_1, #logo_2, #logo_ {
    width: 100%;
    margin : 0 auto;
}
#logo_ a {
    display : block;
    float : left;
    max-width : 800px;
}
#topNav{
    /*max-width : 1200px;*/
}



/*main page css */
#pageBody{
    width : 100%;
    min-height : 800px;
    margin : 0;
}

#bodyWrapper{
    width : 100%;
    min-height : 700px;
    position: relative;
    line-height: normal;
}

#map{
    width : 100%;
    height : 750px;
    z-index: 1000;
    position: absolute;
}

#topBar{
    width: 74%;
    margin: 0 13%;
    z-index : 1001;
    position: absolute;
    /*
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 3px 20px -5px #000;
    -moz-box-shadow: 0px 3px 20px -5px #000;
    -webkit-box-shadow: 0px 3px 20px -5px #000;
    -o-box-shadow: 0px 3px 20px -5px #000;
    */
}

#bodyWrapper .tall{
    height : 300px; /*350px;*/
}

#bodyWrapper .short{
    height : 55px;
}

#topBar #selectionBox{
    width : 100%;
    /*max-width : 1200px;*/
    min-height: 300px;
    margin : 0 auto;
    float: left;
    background: #FFF;
    background: rgba(255, 255, 255, 0.9);
    padding-bottom: 15px;
    box-shadow: 0px 3px 20px -5px #000;
    -moz-box-shadow: 0px 3px 20px -5px #000;
    -webkit-box-shadow: 0px 3px 20px -5px #000;
    -o-box-shadow: 0px 3px 20px -5px #000;
}

#topBar .selectionContent{
    width : 28%;
    max-width : 400px;
    float : left;
    /*padding: 0 1%;*/
}
div.selectionContentButton {
    float: left;
    width: 15%;
}
#topBar #selectionBox .selectionContent{
    width : 33.3%; /*31%;*/
}

#topBar .selectionContent h2{
    width: 88%;
    margin: 15px 6% 6px;
    font-size: 16px;
}
#topBar.short .selectionContent h2 {
    font-size: 11px;
    margin-top: 12px;
    margin-bottom: 7px;
}
#topBar .selectionContent .selectMainBody{
    width : 88%;
    padding : 0 6%;
    min-height: 240px;
    border-right: 2px dotted #E7E6E6;
    position: relative;
}

#topBar #currentSelectionBox .selectionContent .selectMainBody{
    min-height : 20px;
}

#topBar .selectionContent .selectMainBody p{
    width : 100%;
    float : left;
    font-size: 11px;
    margin: 0 0 12px 0;
}
#topBar .selectionContent .selectMainBody .advise{
    float : right;
    font-size : 10px;
    margin : 0 10px 0 0 ;
}
#topBar .selectionContent .selectMainBody .label{
    width : 100%;
    font-size : 12px;
    clear : both;
    margin :11px 0 2px 1px;
}
#topBar .selectionContent .selectMainBody .tall{
    height : 31px;
    padding-top : 5px;
}
#topBar .selectionContent .selectMainBody select{
    width : 250px;
}
#topBar .selectionContent .selectMainBody input[type="text"]{
    width: 92%;
    font-size: 12px;
}
#topBar .toggleLink{
    clear : both;
    float : left;
    width : 100%;
    text-align: right;
    text-decoration: underline;
    font-size : 10px;
    cursor: pointer;
}
.buttonRow {
    margin: 0;
    position: absolute;
    bottom: -10px;
    width: 90%;
    text-align: right;
}
div.buttonRow input {
    margin: 4px 2px;
}
#topBar #collapseSelectContent,
#topBar #resetMap{
    float : right;
    text-decoration: underline;
    font-size : 11px;
    cursor: pointer;
    margin : 0 0 0 8px;
}
#topBar #resetMap{
    clear : both;
}
#topBar .required{
    color : #ff0000;
}
#topBar .optional{
    color : #006400;
}

#topBar #currentSelectionBox{
    width : 100%;
    max-width : 1200px;
    height : 55px; /*65px;*/
    margin : 0 auto;
    background: #FFF;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0px 3px 20px -5px #000;
    -moz-box-shadow: 0px 3px 20px -5px #000;
    -webkit-box-shadow: 0px 3px 20px -5px #000;
    -o-box-shadow: 0px 3px 20px -5px #000;
}

#topBar #currentSelectionBox .selectionContent .selectMainBody{
    width : 88%;
    padding : 0 6%;
    height : 24px;
    border-right : none;
    font-size: 13px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}
#topBar .selectionContent .last{
    border-right : none;
}
#topBar #currentSelectionBox .selectionContent .last{
    border-right : none;
    padding : 0 0 0 6%;
    float : left;
    width : 78%;
}
#topBar #collapseCurrentSelectionBox{
    float : right;
    cursor: pointer;
    background-image: url('../../../images/community/common/btngraph_editLg.png');
    font-size: 11px;
    width: 80px;
    background-repeat: no-repeat;
    background-position: 6px center;
    margin: 9px 0 0 0;
    padding-left: 38px;
    background-color: #E3E3E3;
    padding: 6px 5px 4px 43px;
    border-radius: 5px;
    box-shadow: 1px 1px 3px -1px #000;
    -moz-box-shadow: 1px 1px 3px -1px #000;
    -webkit-box-shadow: 1px 1px 3px -1px #000;
    -o-box-shadow: 1px 1px 3px -1px #000;
}

#viewAdditional{
    cursor : pointer;
    font-size : 11px;
    margin : 10px 0 0 0;
    color : #0000ff;
    text-decoration: underline;
    float: right;
}

.infoWindow {
    font-size: 10pt;
    width: 330px;
    min-height: 50px;
    max-height : 200px;
    padding: 10px;
    line-height: 1.4em;
    float: left;
}
.infoWindow .count{
    text-align : center;
    font-size : 11pt;
    padding : 5px 0 15px 0;
}
.infoBox{
    max-height : 500px;
    overflow-y: auto;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    width: 370px;
    border : 1px solid #CCCCCC;
}

.infoWindow .link {
    color: blue;
    text-decoration: underline;
    cursor: pointer;
    font-weight: bold;
    display: block;
}

#legendRow{
    width: 550px;
    z-index : 1001;
    position: absolute;
    top: 1148px;
    right: 20px;
}

#resourceLegendWrapper{
    z-index: 1001;
    position: absolute;
    top: 1148px;
    right: -10px;
    width: 250px;
    height: 500px;
}

#indicatorLegendWrapper{
    z-index: 1001;
    position: absolute;
    top: 1148px;
    right: 235px;
    width: 250px;
    height: 500px;
}

#resourceLegendWrapper .legendButton,
#indicatorLegendWrapper .legendButton{
    width : 215px;
    height : 22px;
    padding:8px 0;
    background: rgb(255, 255, 255);
    background: rgba(255,255,255,.9);
    box-shadow: 0px -3px 10px -5px #000;
    -moz-box-shadow: 0px -3px 10px -5px #000;
    -webkit-box-shadow: 0px -3px 10px -5px #000;
    -o-box-shadow: 0px -3px 10px -5px #000;
    cursor: pointer;
    position: fixed;
    bottom: 60px;
    line-height: 24px;
}

/*
#resourceLegendWrapper .closed span.icon,
#indicatorLegendWrapper .closed span.icon{
    background-image: url('../../../images/community/common/btngraph_addLg.png');
    background-repeat: no-repeat;
    padding-left: 46px;
    background-position: 7px 8px;
}

#resourceLegendWrapper .open span.icon,
#indicatorLegendWrapper .open span.icon{
    background-image: url('../../../images/community/common/btngraph_deleteLg.png');
    background-repeat: no-repeat;
    padding-left: 46px;
    background-position: 7px 8px;
}
*/

#resourceLegendWrapper span.toggleIcon,
#indicatorLegendWrapper span.toggleIcon {
    background: none;
    font-weight: bold;
    font-size: 30px;
    margin: -1px 9px 0 11px;
    float: left;
    padding-top: 0px;
}
#resourceLegendWrapper span.icon {
    background-image: url('../../../images/community/common/icon_point.png');
    background-repeat: no-repeat;
    background-position: center center;
}
#indicatorLegendWrapper span.icon {
    background-image: url('../../../images/community/common/icon_indicator.png');
    background-repeat: no-repeat;
    background-position: center center;
}
#resourceLegendWrapper span.icon,
#indicatorLegendWrapper span.icon {
    width: 26px;
    height: 30px;
    float: right;
    margin: -3px 11px 0 0;
}

#resourceLegendWrapper #resourceLegend,
#indicatorLegendWrapper #indicatorLegend{
    width : 215px;
    height : 300px;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    position: fixed;
    bottom: 60px;
    font-size: 13px;
}


#indicatorLegendWrapper #indicatorLegend .indicatorLegendRow{
    width: 90%;
    /*height: 45px;*/
    padding: 12px 5%;
    font-size: 18px;
    text-align: center;
}
#indicatorLegendWrapper #indicatorLegend .indicatorLegendRow#indicatorLegendName {
    font-size: 13px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    height: 10px;
    cursor: pointer;
}
#indicatorLegendWrapper #indicatorLegend .indicatorLegendRow#indicatorLegendSource {
    font-size: 11px;
}
#resourceLegendWrapper .resourceLegendRow {
    margin-left: 2%;
    width: 98%;
    /*height: 40px;*/
}

#resourceLegendWrapper .resourceLegendRow img {
    float: left;
    clear: both;
    width: 24px;
    height: 28px;
    margin: 2px 5px;
}

.resourceLegendRow .groupName{
    float: left;
    margin: 8px 0 0 0;
    width: 170px;
    height: 20px;
}

#indicatorLegendWrapper #indicatorLegend #indicatorLegendRow1 {
    background-color: #FBEBF3; /*f4e6ff*/
}

#indicatorLegendWrapper #indicatorLegend #indicatorLegendRow2 {
    background-color: #ECDCE7; /*e0cce6*/
}

#indicatorLegendWrapper #indicatorLegend #indicatorLegendRow3 {
    background-color: #DAC3D8; /*c7a4c7*/
}

#indicatorLegendWrapper #indicatorLegend #indicatorLegendRow4 {
    background-color: #998BA3; /*70475d*/
    color: #FFFFFF;
}

#dataTableWrapper, #resourceListWrapper, #chartWrapper{
    width : 90%;
    min-height : 300px;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    z-index : 10002;
    position: absolute;
    top: 150px;
    left : 5%;
    box-shadow: 0px 3px 20px -5px #000;
    -moz-box-shadow: 0px 3px 20px -5px #000;
    -webkit-box-shadow: 0px 3px 20px -5px #000;
    -o-box-shadow: 0px 3px 20px -5px #000;
}
div#downloadButtonRow {
    padding: 10px;
    text-align: right;
}
div#dataTable_wrapper {
    padding: 10px 15px;
}
#dataTable tr td {
    padding: 1px 9px;
}

#pageButtons {
    width: 88%;
    height: 40px;
    padding: 10px 1%;
    position: fixed;
    bottom: 0;
    background: rgb(255, 255, 255);
    background: rgba(255, 255, 255, 0.9);
    z-index: 1001;
    min-width: 960px;
}

#pageButtons .left{
    float : left;
}

#pageButtons .right {
    float : right;
}

#dataTable, #resourceList{
    /*
    width : 90%;
    padding : 25px 5%;
    background-color: #FFFFFF;
    opacity: .95;
    */

    width:100%;
    margin: 0 0 15px;
}
#dataTable thead, #resourceList thead {
    cursor: pointer;
}
#chart, #closeChart{
    margin : 25px 25px 15px;
}
#resourceList td{
    padding: 0 5px 0 9px;
    font-size: 13px;
}

.chzn-container {
    width: 98% !important;
}
.chzn-container-multi {
    border: 1px solid #AAA;
}
.chzn-container-multi .chzn-choices {
    border: none;
    max-height: 93px;
    overflow: auto;
}
#mapLoading{
    width : 100px;
    height : 100px;
    position: absolute;
    top : 400px;
    z-index: 1005;
    background-image: url('../../../images/community/common/ajax-loader.gif');
}
.dataTables_info {
    padding: 0px 0 11px 15px;
    font-size: 11px;
}
.dataTables_paginate {
    margin: -6px 15px 10px;
}
.chzn-container-single .chzn-drop,
.chzn-container .chzn-drop {
    width: 99% !important;
}
.chzn-container-single .chzn-search input {
    width: 94% !important;
    padding: 0px;
}
.chzn-container .chzn-results li {
    float: left;
    clear:both;
    padding: 5px 2%;
    width: 96%;
}
input#shareFacebook, input#shareTwitter {
    border: none;
    background-color: rgba(0, 0, 0, 0);
    padding: 0;
    width: 31px;
    height: 32px;
    background-position: center;
    background-size: 100%;
    margin: 3px 4px 0;
}
/* Fixing a strange bug in Chrome, causing the right border to disappear intermittently. If this causes other issues, it can be removed - it fixes a low priority bug. */
.chzn-container-multi .chzn-choices {
    position: inherit;
}

#printOnly {
    display:none;
}

#resourceHelp{
    /*float : right;
    background-image: url('../../../images/community/common/btngraph_helpMd.png');
    background-repeat: no-repeat;
    background-position: right;
    margin-right : 10px;
    width : 20px;
    height : 20px;*/
    cursor : pointer;
    text-decoration: underline;
    color: blue;
}

#resourceHelpDialog{
    z-index : 1010;
}

#resourceHelpDialog p, #resourceHelpDialog #resourceSearchKeyword{
    float : left;
}

#resourceHelpDialog p{
    margin : 0 10px 10px 0;
}

#resourceHelpDialog #resourceSearchResults{
    clear : both;
    float : left;
    width: 92%;
    margin: 6px 0 0 0%;
    max-height: 330px;
    overflow-y: auto;
}

#resourceHelpDialog #resourceSearchResults .level1 {
    border-top: 1px dotted #333;
    border-bottom: 1px dotted #333;
    cursor: pointer;
    padding: 5px 6px 5px 9px;
}
#resourceHelpDialog #resourceSearchResults .level1:hover,
#resourceHelpDialog #resourceSearchResults .level2:hover {
    background-color: #EEDEC1;
}

#resourceHelpDialog #resourceSearchResults .level2{
    margin : 0 0 0 25px;
    cursor : pointer;
    padding: 5px 6px;
}

input#resourceSearchKeyword {
    padding: 4px 6px;
    margin: -6px 0 0;
    width: 367px;
}

/*  */

div.joyride-modal-bg {
    display: none !important;
}
div#tourBtn {
    float: left;
    padding: 25px;
    background: rgba(255, 255, 255, 0.8);
    margin: 30px 33%;
    box-shadow: 0 0 20px -3px #000;
}
div#tourBtn div.close {
    float: right;
    margin: -21px -21px 0 0;
    font-weight: bold;
    font-size: 15px;
    font-family: Arial;
    border: 1px solid #858282;
    padding: 0px 4px;
    border-radius: 9px;
    color: #858282;
}
div#tourBtn div.close:hover {
    border: 1px solid #333;
    color: #333;
    cursor: pointer;
}

.shortTitle {
    display: none;
}
@media (max-width : 1230px) {
    .shortTitle {
        display: block;
    }
    .longTitle {
        display: none;
    }
    #topBar .selectionContent .selectMainBody .advise {
        margin-top: -31px;
    }
}
@media (min-width : 1230px) {
    #mainNav div.navItem {
        display: inline-block;
        float: none;
        padding-right: 30px;
        padding-left: 30px;
        margin-right: -3px;
        margin-left: -2px;
    }
}

.formatMoney{
    text-align: right;
}
