/** reset styles**/

html, body, div, h1, h2, h3 {
    margin: 0;
    padding: 0;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

a {
    text-decoration: none;
}

a:link {
    color: darkolivegreen;
}

/* unvisited link */
a:visited {
    color: darkolivegreen;
}

/* visited link */
a:hover {
    color: forestgreen;
    text-decoration: underline;
}

/* mouse over link */
a:active {
    color: forestgreen;
}

/* selected link */

body {
    background-color: #e9dbbc;
    font-family: 'Helvetica Neue', 'Helvetica', 'arial';
}

.drawingCursor,
.drawingCursor * {
    cursor: crosshair !important;
}

#map {
    height: 100vh; /* view-port height */
    width: 100%;
}

#map.fixed {
    height: 1200px;
    width: 1600px;
}

#status-bar {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 70px;
    height: 70px;
    text-align: center;
    line-height: 18px;
    background-color: #FFF;
    font-size: .8em;
    border-radius: 3px;
    margin: auto;
    padding: 5px;
    z-index:2000;
}

#warning-messages {
    position: fixed;
    right: 0;
    left: 0;
    bottom: 4px;
    width: 400px;
    height: 50px;
    text-align: center;
    color: red;
    line-height: 18px;
    background-color: #FFF;
    font-size: .9em;
    border-radius: 3px;
    margin: auto;
    padding: 5px;
    padding-top: 10px;
    z-index: 50;
}

#welcome-message {
    position: fixed;
    right: 0;
    left: 0;
    top: 0;
    bottom: 0;
    width: 300px;
    height: 280px;
    text-align: center;
    line-height: 18px;
    background-color: #FFF;
    font-size: 0.9em;
    border-radius: 3px;
    margin: auto;
    padding: 20px;
    padding-top: 30px;
    display: none;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.18);
}
#welcome-message div {
    margin-top:20px;
}
#welcome-message .close{
    position:absolute;
    top:0px;
    right:0px;
    width: 16px;
    height: 16px;
    font-size: 16px;
    color: silver;
    font-weight: bold;
    line-height: 0.3em;
    padding: 3px;
    border: 1px solid silver;
    border-radius: 4px;
    cursor: pointer;
    margin-top:2px;
    margin-right:2px;
}
#welcome-message .close:hover{
    color:#666;
    border: 1px solid #666;
}
#welcome-message .btnOk{
    display:inline;
    width:40px;
    height:24px;
    font-size: 16px;
    color: #777;
    font-weight: bold;
    padding: 3px 8px;
    border: 1px solid silver;
    border-radius: 4px;
    cursor: pointer;
}
#welcome-message .btnOk:hover{
    color:#666;
    border: 1px solid #666;
}
#acknowledgements-header {
    font-size: 1.1em;
}

#acknowledgements-close {
    position: absolute;
    right: 8px;
    font-weight: bold;
    line-height: 0.9em;
    padding: 3px;
    border: 1px solid silver;
    border-radius: 3px;
}

#acknowledgements-toggle {
    position: absolute;
    right: 90px;
    font-family: 'Courier New';
    font-weight: bold;
    color: black;
    font-size: 1.2em;
    padding: 4px;
    padding-top: 6px;
    padding-bottom: 2px;
    background: white;
    border-radius: 3px;
}
#drawMenu{
    width:240px;
}

#drawMenu label {
    display: block;
    font-weight: bold;
    color: #626262;
    padding: 4px;
    padding-top: 8px;
    padding-bottom: 12px;
}

.draw {
    color: black;
    padding: 10px;
    background: #eee;
    cursor: pointer;
    border-radius: 3px;
    border: 1px solid #eee;
}

.draw.hover {
    border: 1px solid forestgreen;
}

.draw span {
    padding-left: 4px;
    vertical-align: top;
    line-height: 1.6em;
}

#circleRadiusContainer {
    display: inline-block;
    padding-left: 4px;
    vertical-align: top;
    line-height: 1.6em;
    margin-top: -2px;
}

.drawMode {
    background: orange !important;
}

.drawStyle {
    background: #ccffcc !important;
    border: 1px solid forestgreen;
}
#draw-tutorial{
    min-height: 30px;
    padding: 10px;
    line-height: 1.3em;
}

#main{
    margin-top:-40px;
}
.gm-style-mtc{
    /* Google Maps Type Controls Position Fix */
    margin-bottom:24px;
}

/* TOP OF PAGE HEADER STYLES */
#topBar {
/*    position: fixed;
    top:0;
    left:0;*/
    position:relative;
    margin-left:auto;
    margin-right:auto;
    height: 40px;
    width: 960px;
    background-color: rgba(240, 240,240, 0.9);
    padding: 10px;
    padding-top:5px;
    -webkit-box-shadow: 0 7px 20px -3px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0 7px 20px -3px rgba(0, 0, 0, 0.55);
    box-shadow: 0 7px 20px -3px rgba(0, 0, 0, 0.55);
    z-index: 11;
}

#topBar .logo {
    float: left;
    height: 30px;
    margin-right: 12px;
}

#topBar h1 {
    font-size: 19px;
    margin-top:3px;
    font-weight: normal;
    color: #000;
    display: inline-block;
    float: left;
}
#topBar .searchBarContainer{
    width:155px;
    height:29px;
    border-radius: 3px;
    background-color: #ddd;
    float:right;
}
#topBar .searchBarContainer .searchButton{
    width:20px;
    height:22px;
    margin-top: 5px;
    margin-right: 2px;
    border-radius: 3px;
    background-color: #ddd;
    border:1px solid transparent;
    float:right;
}
    #topBar .searchBarContainer .searchButton img {
        width: 18px;
        height: 18px;
    }
#topBar .searchBarContainer .searchButton:hover{
    cursor:pointer;
    background-color:#ccc;
    border:1px solid orange;
}

 #searchBox{
     width:125px;
     height:24px;
}
#topBar .socialMediaContainer{
    width:60px;
    color:#666;
    float:right;
    font-size:0.8em;
    line-height:0.7em;
    margin-left:8px;
    background:#eee;
    border-radius:3px;
}
#topBar .socialMediaButton{
    width:28px;
    height:28px;
    display:inline-block;
    float:left;
    
    /*background-image: url('../images/icons/ico-share-sprite.svg');
    background-repeat: no-repeat;
*/
    -webkit-background-size: 28px;
    -moz-background-size: 28px;
    -ms-background-size: 28px;
    -o-background-size: 28px;
    background-size: 28px;
}
#topBar .socialMediaButton.twitter{ 
    background-image: url('../images/icons/twitter.svg');
    /*background-position: 0 -115px;*/
}

#topBar .socialMediaButton.facebook{
    background-image: url('../images/icons/facebook.svg');
    /*background-position:0 -76px;*/
}

#topBar .socialMediaButton.linkedin {
    background-position:0 -0px;
}

.socialMediaContainer a {
    color: #3d3d3d;
    text-decoration: none;
}

.socialMediaContainer a:hover {
    color: #1f89d6;
}

.adminLink{
    padding-left: 4px;
    font-size: 0.8em;
    line-height: 1.9em;
    position: fixed;
    top: 20px;
    left: 180px;
}

#rightPanel {
    display: none;
    width: 350px;
    height: 730px;
    background-color: #fff;
    color: #626262;
    position: absolute;
    top: 45px;
    right: 15px;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.18);
    z-index: 20;
}

#rightPanel .close {
    display: block;
    background-size: contain;
    width: 15px;
    height: 15px;
    background-image: url(../images/icon_x.png);
    cursor: pointer;
    position: absolute;
    right: 5px;
    top: 5px;
    opacity: .5;
}

#rightPanel .close:hover {
    opacity: 1;
}

#rightPanel .section {
    /**
border-bottom: 1px dashed #ccc;
padding-bottom:10px;
**/
    /** border: 1px solid #F0F0F0; **/
    /***
background-image: -webkit-gradient( linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F0F0F0) );
background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
***/
}

#rightPanel .topSection {
    padding-top: 10px;
    border-bottom: 1px dotted #e7e7e7;
}

#rightPanel h2 {
    font-size: 20px;
    line-height: 35px;
    text-align: center;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#rightPanel h3 {
    font-size: 14px;
    margin-bottom: 8px;
    text-align: center;
    text-overflow: ellipsis;
}

#rightPanel .CAGR {
    border: 1px solid #ddd;
    margin: 10px;
    background-color: #f4f4f4;
    /***
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F0F0F0));
background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
***/
}

#rightPanel .metrics {
    padding: 10px;
    height: 65px;
    margin-bottom: 10px;
    /** evenly distributes div.metric horizontally**/
    text-align: justify;
    -ms-text-justify: distribute-all-lines;
    text-justify: distribute-all-lines;
}

#rightPanel .metric {
    width: 70px;
    vertical-align: top;
    display: inline-block;
    *display: inline;
    padding: 4px;
    zoom: 1;
    border: 1px solid #ddd;
    background-color: #fff;
    border-radius: 4px;
    text-align: center;
    font-size: 12px;
}

#rightPanel .metric.maize.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #ffdd66;
    box-shadow: inset 0 5px 10px -5px #ffdd66;
}

#rightPanel .metric.soy.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #99ff99;
    box-shadow: inset 0 5px 10px -5px #99ff99;
}

#rightPanel .metric.rice.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #44ddff;
    box-shadow: inset 0 5px 10px -5px #44ddff;
}

#rightPanel .metric .label {
    display: block;
}

#rightPanel .tab.maize.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #ffdd66;
    box-shadow: inset 0 5px 10px -5px #ffdd66;
}

#rightPanel .tab.rice.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #44ddff;
    box-shadow: inset 0 5px 10px -5px #44ddff;
}

#rightPanel .tab.soy.active {
    -webkit-box-shadow: inset 0 5px 10px -5px #99ff99;
    box-shadow: inset 0 5px 10px -5px #99ff99;
}

.export {
    position: absolute;
    top: 235px;
    left: 310px;
    font-size: 0.8em;
    opacity: 0.4;
}

.export.hover {
    opacity: 0.7;
    cursor: pointer;
}

.screenshot {
    position: absolute;
    top: 235px;
    left: 280px;
    font-size: 0.8em;
    opacity: 0.4;
}

.screenshot.hover {
    opacity: 0.7;
    cursor: pointer;
}

.stretch {
    width: 100%;
    display: inline-block;
    font-size: 0;
    line-height: 0;
}

/*******/

#rightPanel .timeline {
    height: 40px;
    margin-left: 10px;
    margin-right: 10px;
    margin-bottom: 20px;
}

#rightPanel .timeline .year {
    text-align: center;
    margin-bottom: 10px;
}

#toggleAdvancedTools {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: white;
    bottom: 165px;
    right: 10px;
    text-align: center;
    cursor: pointer;
    opacity: 0.4;
}

#toggleAdvancedTools:hover {
    opacity: 0.8;
}

#advancedTools {
    display: none; /* only show when right panel is visible */
    width: 200px;
    height: 150px;
    background-color: #fff;
    color: #626262;
    position: absolute;
    top: 590px;
    right: 150px; /* fully hidden - to make fully visible, slide to 360px */
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.18);
    z-index: 9;
    font: normal 11px "Helvetica Neue", Sans-Serif;
    padding: 10px;
}

#advancedTools h3 {
    margin-top: -2px;
    padding-bottom: 6px;
}

#advancedTools .resetButton {
    display: inline-block;
    background-image: url('../images/icons/replay_inactive.png');
    background-repeat: no-repeat;
    width: 18px;
    height: 18px;
    opacity: 0.6;
    margin-left: 4px;
    vertical-align: middle;
    cursor: pointer;
}

#advancedTools .resetButton.active {
    background-image: url('../images/icons/replay_active.png');
}

#advancedTools .spinnerContainer {
    clear: both;
}

#advancedTools .spinner {
    height: 20px;
    width: 100px;
}

#advancedTools .spinnerLabel {
    width: 20px;
    display: block;
    float: left;
    line-height: 28px;
}

#advancedTools .icon i {
    height: 15px;
    width: 35px;
    margin-right: 10px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/*******/

/**** Graph Section ****/

#rightPanel .graphs {
    margin-left: 10px;
    margin-right: 10px;
    background-color: #f4f4f4;
    border: 1px solid #ddd;
    border-top: none;
    padding-top: 10px;
}

.graphTabs {
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 20px;
}

.graphTabs .tab {
    width: 82px;
    padding-top: 5px;
    padding-bottom: 5px;
    display: inline-block;
    background-color: #fff;
    font-size: 13px;
    line-height: 18px;
    text-align: center;
    cursor: pointer;
    float: left;
    border: 1px solid #fff;
    border-bottom: 1px solid #ddd;
}

.graphTabs .tab.all {
    width: 84px;
    float: right;
}

.graphTabs .tab.active, .graphTabs .tab:hover {
    background-color: #f4f4f4;
    border-color: #ddd;
    border-bottom-color: #f4f4f4;
    /***
background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #F0F0F0));
background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #F0F0F0 100%);
background-image: linear-gradient(to bottom, #FFFFFF 0%, #F0F0F0 100%);
****/
}

.graphTabs .tab .number {
    font-size: 11px;
    width: 10px;
    border: 1px solid #ddd;
    background-color: #fff;
    padding-left: 3px;
    padding-right: 3px;
    padding-top: 2px;
    border-radius: 4px;
}

.graphs .slider {
    margin: 0 10px 10px;
    width: 220px;
    float: left;
    margin-left: 10px;
}

.sliderMinValue {
    width: 35px;
    float: left;
    height: 12px;
    font-size: 0.7em;
    margin-top: -2px;
    text-align: center;
    margin-right: 5px;
}

.sliderMaxValue {
    width: 35px;
    float: right;
    height: 12px;
    font-size: 0.7em;
    margin-top: -2px;
    margin-left: 5px;
    text-align: center;
}

.timeline .slider {
    width: 240px;
    float: left;
    margin-left: 10px;
}

.timeline #timelineSliderMinValue {
    width: 40px;
    float: left;
    height: 12px;
    font-size: 0.7em;
    margin-top: -2px;
    text-align: center;
    margin-right: 5px;
}

.timeline #timelineSliderMaxValue {
    width: 40px;
    float: right;
    height: 12px;
    font-size: 0.7em;
    margin-top: -2px;
    margin-left: 5px;
    text-align: center;
}

.slider.ui-slider.ui-slider-horizontal {
    height: 12px;
}

.ui-slider-handle.ui-state-default {
    height: 14px;
    margin-top: 2px;
    cursor: pointer;
}

/*******/

.tickers .label {
    float: left;
    font-size: 10px;
    margin-right: 36px;
    display: none;
}

/******/

/*** Graph Containers **/
.graph1, .graph2, .graph3 {
    border: 1px solid #ccc;
    background-color: #fff;
}

.graph1 {
    height: 104px;
    width: 308px;
    margin: 10px;
}

.graph2 {
    height: 112px;
    width: 148px;
    margin-left: 10px;
    margin-right: 5px;
    margin-bottom: 10px;
    float: left;
}

.graph3 {
    height: 112px;
    width: 148px;
    margin-left: 5px;
    margin-right: 10px;
    margin-bottom: 10px;
    float: right;
}

/******/

#rightPanel .infrastructure {
    margin-top: 10px;
    margin-left: 10px;
    margin-right: 10px;
    font-size: 12px;
}

#rightPanel .infrastructure table {
    border-collapse: collapse;
    margin-top: 5px;
}

#rightPanel .infrastructure table .titles {
    font-weight: bold;
}

#rightPanel .infrastructure table td {
    line-height: 22px;
    text-align: center;
}

#rightPanel .infrastructure table .icon {
    width: 35px;
}

#rightPanel .infrastructure table .inventory-current {
    width: 85px;
    line-height: 1.2em;
}

#rightPanel .infrastructure table .percent-change {
    width: 50px;
    line-height: 1.2em;
}
#rightPanel .infrastructure table .num-change {
    width: 50px;
    line-height: 1.2em;
}

#rightPanel .infrastructure table .inventory-projected {
    width: 90px;
    line-height: 1.2em;
}

#rightPanel .infrastructure .rows {
    height: 120px;
    overflow-y: scroll;
}

#rightPanel .infrastructure .icon i {
    height: 22px;
    width: 22px;
    margin-right: 10px;
    display: inline-block;
    background-size: contain;
    background-repeat: no-repeat;
}

/*
#rightPanel .infrastructure .advance_tractors-row .icon i {
background-image: url('../images/icons/tractor/tractor_icon.svg');
}

#rightPanel .infrastructure .processors-row .icon i {
background-image: url('../images/icons/processors/processors_icon.svg');
}

#rightPanel .infrastructure .warehouses-row .icon i {
background-image: url('../images/icons/warehouse/warehouse_icon.svg');
}

#rightPanel .infrastructure .financial_institutions-row .icon i {
background-image: url('../images/icons/financial-institution/financial-institution_icon.svg');
}
*/
#rightPanel .infrastructure .row .label {
    display: inline-block;
    margin-right: 10px;
}

#rightPanel .infrastructure .row .number {
    display: inline-block;
}

#rightPanel .infrastructure td .arrow-up {
    background-size: contain;
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url('../images/icons/green_up_arrow.svg');
}

#rightPanel .infrastructure td .arrow-down {
    background-size: contain;
    width: 10px;
    height: 10px;
    display: inline-block;
    background-image: url('../images/icons/red_down_arrow.svg');
}

#rightPanel .source {
    text-align: left;
    font-size: 10px;
    color: #696969;
    position: absolute;
    bottom: 5px;
    left: 3px;
    display: block;
}

#rightPanel .source a {
    color: #696969;
}

/*** Share stuff ***/

#topBar .buttons {
    display: inline-block;
    float: right;
}

.btn {
    border-radius: 5px;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-size: 12px;
    font-weight: 700;
    line-height: normal;
    margin-left: 10px;
    display: inline-block;
    background-color: #f4f4f4;
    border: 1px solid #c2c2c2;
    color: #8d8d8d;
    height: auto;
    width: auto;
    padding: 7px 15px;
}

.btn:hover {
    background-color: #fff;
    color: #8d8d8d;
    text-shadow: none;
    cursor: pointer;
}

.btn-icon {
    background-image: url('../images/icons/ico-share-sprite.svg');
    background-repeat: no-repeat;
    background-position: 5px -157px;
    padding-left: 25px;
    padding-right: 10px;
    -webkit-background-size: 20px;
    -moz-background-size: 20px;
    -ms-background-size: 20px;
    -o-background-size: 20px;
    background-size: 20px;
}

/****/

.share-list {
    /*display: none;*/
    list-style: none;
    background-color: #fff;
    /*border-radius: 5px;
    box-shadow: 0 2px 2px rgba(0, 0, 0, 0.1);
    margin: 0;
    padding: 0;
    right: 10px;
    position: absolute;
    z-index: 999;
    top: 55px;*/
}

ul.share-list {
    padding: 4px;
    margin: 4px;
}

.share-list h4 {
    font-weight: bold;
    color: #626262;
    padding-top: 4px;
    padding-bottom: 4px;
}

.share-list a {
    color: #3d3d3d;
    text-decoration: none;
    font-weight: bold;
    font-size: 13px;
    display: block;
    background-image: url('../images/icons/ico-share-sprite.svg');
    background-repeat: no-repeat;
    background-position: 15px -160px;
    padding-left: 22px;
    padding-right: 4px;
    line-height: 30px;
    -webkit-background-size: 20px;
    -moz-background-size: 20px;
    -ms-background-size: 20px;
    -o-background-size: 20px;
    background-size: 20px;
}

.share-list a:hover {
    color: #1f89d6;
}

.share-item.twitter {
    background-position:0 -115px;
}

.share-item.facebook {
    background-position:0 -76px;
}

.share-item.linkedin {
    background-position:0 -0px;
}

/*** Default styles ***/
.ui-state-default, .ui-widget-content .ui-state-default, .ui-widget-header .ui-state-default {
    background: none;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #FFFFFF), color-stop(1, #A6A6A6));
    background-image: -o-linear-gradient(bottom, #FFFFFF 0%, #A6A6A6 100%);
    background-image: -moz-linear-gradient(bottom, #FFFFFF 0%, #A6A6A6 100%);
    background-image: -webkit-linear-gradient(bottom, #FFFFFF 0%, #A6A6A6 100%);
    background-image: -ms-linear-gradient(bottom, #FFFFFF 0%, #A6A6A6 100%);
    background-image: linear-gradient(to bottom, #FFFFFF 0%, #A6A6A6 100%);
}

/*** Line chart styles ***/
.chart {
    font-size: 8px;
    font-family: sans-serif;
}

.line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
}

.trend-line {
    fill: none;
    stroke: steelblue;
    stroke-width: 1.5px;
    stroke-dasharray: 5, 5;
}

.percent-production-line {
    fill: none;
    stroke: red;
    stroke-width: 1.5px;
    stroke-dasharray: 5, 5;
}

.chart title {
    text-anchor: middle;
}

.axis path,
.axis line {
    fill: none;
    stroke: #000;
    shape-rendering: crispEdges;
}

#deletePoly {
    margin-top: 5px;
    color: navy;
}

#deselectPoly {
    margin-top: 5px;
    color: navy;
}

#errorMsg {
    margin-top: 5px;
    font-size: 0.9em;
    color: red;
}

.Cluster {
    opacity: 1.0;
}

.fadeCluster {
    opacity: 0.3;
}

.clusterMarkerText {
    background-color: navy;
    width: 28px;
    height: 20px;
    padding: 2px;
    margin-top: -4px;
    margin-left: 16px;
    line-height: 14px;
    border-radius: 9px;
    border: 1px solid white;
    font-weight: bold;
    font-size: 1em;
    color: white;
}

.fadeClusterMarkerText {
    background-color: navy;
    width: 28px;
    height: 20px;
    padding: 2px;
    margin-top: -4px;
    margin-left: 16px;
    line-height: 14px;
    border-radius: 9px;
    border: 1px solid white;
    font-weight: bold;
    font-size: 1em;
    color: white;
    opacity: 0.3;
}

/*****/

.ui-tooltip {
    padding: 8px 8px;
    border-radius: 4px;
    font: bold 11px "Helvetica Neue", Sans-Serif;
    background-color: white;
    opacity: 0.95;
    border: 1px solid silver;
    box-shadow: 0 1px 1px 1px rgba(0, 0, 0, 0.18);
}

#marker-tooltip {
    position: absolute;
    display: none;
}

#marker-tooltip div {
    float: left;
}

#marker-tooltip .smallicon {
    width: 20px;
    height: 20px;
}

#tutorial-tooltip {
    position: absolute;
    display: none;
}

#directions {
    position: fixed;
    right: 0;
    left: 0;
    top: 85px;
    width: 120px;
    height: 30px;
    text-align: center;
    line-height: 18px;
    background-color: #FFF;
    font-size: .9em;
    border-radius: 3px;
    margin: auto;
    padding: 5px;
    padding-top: 10px;
    cursor: pointer;
}

#directionsMatrix {
    position: fixed;
    right:0;
    left: 0;
    top: 55px;
    width: 120px;
    height: 30px;
    text-align: center;
    line-height: 18px;
    background-color: #FFF;
    font-size: .9em;
    border-radius: 3px;
    margin: auto;
    padding: 5px;
    padding-top: 10px;
    cursor: pointer;
}

#location {
    position: fixed;
    bottom: 0;
    right: 0;
    left: 0;
    margin: auto;
    width: 320px;
    height: 60px;
    text-align: center;
    color: black;
    font-size: 0.8em;
    font-weight: normal;
    z-index: 1;
    letter-spacing:0.5px;
}
#location div{
    font-weight:bold;
    text-shadow: -1px -1px 1px  #fff,
    1px -1px 1px  #fff,
    -1px 1px 1px  #fff,
    1px 1px 1px  #fff;
}
#district-tooltip {
    font-size: 1.3em;
    display: inline-block;
    margin-bottom: 5px;
}

#coords {
    font-size:0.9em;
    bottom: 0;
    margin-top: auto;
    margin-left: auto;
    margin-right: auto;
    color:black;
}

#coords.outsideGhana{
    color:#444;
    text-shadow:none;
}

.clear {
    clear: both;
}
/*
#userFeedback{
    height:40px;
    width:240px;
    margin-bottom:8px;
}*/

.qtip-content label{
    height:20px;
}

.spacer{
    clear:both;
    height:16px;
}


/* FEEDBACK SURVEY FORM */

.contactLinkButton{
    width:200px;
    height: 30px;
    border-radius: 3px;
    border: 1px solid #ddd;
    background: #eee;
    font-size: 1.1em;
    line-height: 1em;
    text-align: center;
    padding: 4px;
    color: #333333;
    cursor: pointer;
    margin-left:56px;
}
.contactLinkButton:hover{
    color: #000000;
    background:#ccc;
    border: 1px solid green;
}
.contactLinkButton img{
    width: 24px;
    float: left;
    margin-top: -4px;
}

#surveyForm .contactLinkButton{
    border: 1px solid #bcd;
    background:#efefef;
    margin-left:0px;
    margin-right:20px;
}
#surveyForm .contactLinkButton:hover{
    color: #000000;
    background:#fff;
    border: 1px solid green;
}

.contact-item-image{
    float: left;
    margin-left: 10px;
    margin-right: 10px;
    margin-top: 2px;
    width: 28px;
}
.contact-item-text{
    padding-top: 2px;
}

#surveyFormContainer{
/*    position:fixed;
    left: 0;
    top: 0;
    width: 100%;
    height: 100vh;
    text-align: center;
    padding-top: 100px;
    z-index: 20;
    background-color: rgba(0,0,0,0.5);*/
}

#surveyForm{
    width: 100%;
    padding: 20px 0px 20px 10px;
    text-align:left;

/*    margin: auto;
    
    background: white;
    border-radius: 6px;
    

    -webkit-box-shadow: 0 0 20px -3px rgba(0, 0, 0, 0.55);
    -moz-box-shadow: 0 0 20px -3px rgba(0, 0, 0, 0.55);
    box-shadow: 0 0 20px -3px rgba(0, 0, 0, 0.55);*/

}

#surveyForm table{
    border-radius: 8px;
    border: 3px solid#bcd;
    background-color: #f0f9ff;
    padding: 10px;
    margin-top: 10px;
    width:100%;
    font-size:1.2em;
}

/*#surveyForm button{
    padding: 10px 30px 10px 30px;
    border-radius: 4px;
    background-color: #eee;
    margin: 5px;
    font-size: 1.1em;
    cursor:pointer;
}
#surveyForm button:hover{
    background-color:#eeffee;
}
*/
#surveyForm table th span.small{
    font-size:0.7em;
}

#surveyForm table td{
    max-width: 300px;
    height:40px;
    font-size: 0.8em;
}
#surveyForm table td.error{
    height:30px;
    color:red;
    font-style:italic;
}
#surveyForm table td input{
    width:20px;
}

#surveyForm .col{
    text-align: center;
    display:inline-block;
    width:30px;
    float:left;
}

.commentsArea{
    width:500px;
    height:100px;
    font-size:1em;
}
.surveyFormDialog{
    min-width: 500px !important;
}
#surveyForm table td input#userSurveyEmail{
    margin-left: 10px;
}
.commentsField{
    width: 250px !important;
    height: 20px;
    font-size:1em;
}
.contactFormRow{
    padding:10px;
}
.contactFormRow label{
    display:block;
}

#contactUsForm .contactLinkButton{
    margin-left:10px;
    margin-right:10px;
}

/* MapLibre HTML marker labels — .polygon-label and .point-label apply the text styles */
.maplibre-map-label {
    pointer-events: none;
    white-space: nowrap;
    color: #333;
}

.polygon-label{
    text-align:center;
/*    background-color:rgba(255,255,255,0.6);
    border-radius: 4px;*/
    font-size:1.1em;
    
    text-shadow: -1px -1px 1px  #fff,
    1px -1px 1px  #fff,
    -1px 1px 1px  #fff,
    1px 1px 1px  #fff;
    z-index:1;
}
.point-label{
    text-align:center;
    font-size:1.5em;
    font-weight:bold;
    text-shadow: -1px -1px 1px  #fff,
    1px -1px 1px  #fff,
    -1px 1px 1px  #fff,
    1px 1px 1px  #fff;
    white-space: nowrap;
    z-index:2;
/*    background-color:rgba(255,255,255,0.6);
    border-radius: 4px;*/
}
.distance-label{
    text-align:center;
    background-color:rgba(255,255,255,0.9);
    font-size:1.4em;
    padding:4px;
    border-radius: 4px;
    border:1px solid silver;
}
#toggleLabels{
    /*position: absolute;*/
    /*top: 5px;*/
    /*right: 100px;*/
    /*width: 165px;*/
    /*height: 20px;*/
    /*font-size: 0.7em;*/
    color: #666;
    margin-bottom:10px;
}
#toggleLabels div{
    /*float:left;*/
    padding:2px 4px;

    cursor:pointer;
    background-position-x: 174px;
    background-position-y: 3px;
    background-repeat: no-repeat;
    background-size:15px;
    background-image: url('../images/icons/eye_close.png');
}
#toggleLabels div:hover{
    background-color:#eee;
    color:#000;
}
#toggleLabels div.active{
    color:#000;
    background-image: url('../images/icons/eye_open.png');
}

/* FAQs */
.faqs{
    min-width:400px !important;
    min-height:200px;
}
.faqRow{
padding:10px;
}
.faqQuestion{
    font-weight:bold;
    font-style:italic;
}
.faqResponse{
    padding-left:20px;

}

#sms-instructions{
    color:#333;
    width:180px;
    margin:10px;
    border-top:1px solid silver;
    padding-top:10px;
}
#sms-number{
    clear:both;
    padding-top:10px;
    font-weight:bold;
}

/* ============================================================
   Popup z-index overrides
   MapLibre popups render inside #map at a low stacking level;
   Magnific Popup defaults (1042-1043) are below z-index:2000 elements.
   Raise both above all page chrome.
   ============================================================ */
.maplibregl-popup {
    z-index: 10000 !important;
}
.mfp-bg,
.mfp-wrap {
    z-index: 10001 !important;
}
