#totomaps_quicksearch_container {
    margin: 10px 0;
    line-height: 1.5;
}

.totomaps-left {
    float: left;
    padding-bottom:10px;
    height: 35px;
}

.totomaps-right {
    float: right;
    width: 85%; 
    height: 35px;
    position: relative; 
    padding-bottom:10px;
}

.totomaps-button {
    margin: 2px;
}

.totomaps-header-image {
    width: 24px;
    margin-right: .2em;
}

.totomaps-padding-container {
    padding: 5px;
}

#totomaps_country_dropdown {
    padding:5px;
    margin-right:5px;
}
#totomaps_queryinput {
    margin-top:10px;
}
#totomaps_queryinput select {
    line-height:45px!important;
    padding: 6px 10px;
    margin-right:5px;   
}

a:hover {
    cursor: pointer;
}

@media all and (orientation : portrait) /*(-webkit-min-device-pixel-ratio : 1.5), only screen and (min-device-pixel-ratio : 1.5) */
{
    .totomaps-left, .totomaps-right {
        float: none !important;
        display: block !important;
        width: 100% !important;
    }

    .totomaps-text-align-heading {
        text-align: left;
        position: relative; 
        top: auto; 
        transform: none;
    }
}



div.totomap {
    position:relative;
    min-height: 460px;
    height: 92%;
    width: 100%;
}

div.totomap-container {
    position: static;
    min-height:500px;
    height: 95%;
    width: 100%;
}

/*Map Container*/
#totomaps_mapcontainer {
    display:none;
}
#totomaps_mapcontainer_div {
    width: 100%;
}

/*Charts Container*/
#totomaps_chartscontainer {
    display:none;
}
#totomaps_charts {
    width: 100%;
}
.totomaps_mapchart {
    width: 50%;
    margin-top:2px;
    margin-bottom:2px;
}
.clear {
    clear: both;
    line-height: 0;
}
@media screen and (max-width: 1250px) {
    .totomaps_mapchart {
        width: 100%;
        float: none;
    }
    #totomaps_charts {
        height: 800px!important;
    }
}

#totomaps_statscontainer {
    display: none;
}

#totomaps_regionstatscontainer {
    display: none;
}


/*TOC*/
div.totomaps_tocRow{
    font-size: 12px;
    line-height: 1;
    width: 87% !important;
    overflow:auto !important;
    float:left;
}

td.totomaps_tocbutton {
    color: black;
    font-size:14px;
    width: 89px;
    height: 24px;
    text-align: center;
    vertical-align: middle !important;
    border-right-color: white;
    border-right-width: 1px;
    border-right-style: solid;
    background-color: rgb(255, 255, 255);
    cursor: pointer;
    box-shadow: 5px 5px 5px #777777;
    padding: 7px;
}

/*Results format - based on [ALI]'s template*/
#totomaps_resultscontainer {
    display:none;
}
#totomaps_resultstable {
    border: 1px solid black;  
    table-layout: fixed;
    display:block;
    width:100%;
}
#totomaps_results tr:nth-child(even) {background: #CCC}
#totomaps_results tr:nth-child(odd) {background: #FFF}
#totomaps_results #totomaps_resultstable_thumbnail {
    width: 20%;
}
#totomaps_results table td {padding:8px !important;}
#totomaps_results table img {
    width: 100%;
}
@media only screen and (max-width: 530px) {
	#totomaps_resultstable_source, .totomaps_results_record td:nth-child(3){display:none; visibility:hidden;}

 }
#totomaps_resultstable_source {
    width: 33%;
}
iframe.totomap_climateTracking {
    /*height: 3000px!important;*/
    border: none;
}
iframe.totomap_fewsnet {
    border: none;
    /*height: 6000px!important;*/
}

@media print {
    .choro_map {
        background-color: #2e9afe !important;
        -webkit-print-color-adjust:exact;
    }

    .jvectormap-container {
        background-color: #2e9afe !important;
        -webkit-print-color-adjust:exact;
    }
    .d3obj {
    -webkit-print-color-adjust:exact;
    }
}


/*for stats tables*/
.flip-scroll table{ border: 1px solid black;
                    width:100%;
}
.flip-scroll th {border: 1px solid transparent;
                     background:#FFF;
}
.flip-scroll tr:nth-child(odd) {background: #CCC}
.flip-scroll tr:nth-child(even) {background: #FFF}
.flip-scroll thead, tbody, tr {
    width: 100%;
}
.flip-scroll table td {
    padding:3px !important;

}
.flip-scroll {
    width: 100%;
    max-height: 500px;
    overflow-x: scroll;
    overflow-y: scroll;
}

#totomaps_stats .flip-scroll tr td:first-child {
   width:20%!important;
}
#totomaps_stats .flip-scroll tr td{
    width:10%!important;
}

#totomaps_regionstats .flip-scroll tr td:first-child {
    width: 28%!important;
}
#totomaps_regionstats .flip-scroll tr td{
    width: 18%;
}

.totomaps-table-loader {
    position: relative;
	left: 0px;
	top: 0px;
	width: 25%;
	height: 25%;
	z-index: 9999;
	background: url('../img/ajax-loader.gif') 50% 50% no-repeat rgb(249,249,249);
}
/* highlight results */
.ui-autocomplete span.hl_results {
    background-color: #ffff66;
}
 
/* loading - the AJAX indicator */
.ui-autocomplete-loading {
    background: white url('../img/ui-anim_basic_16x16.gif') right center no-repeat;
}
 
/* scroll results */
.ui-autocomplete {
    max-height: 250px;
    overflow-y: auto;
    /* prevent horizontal scrollbar */
    overflow-x: hidden;
    /* add padding for vertical scrollbar */
    padding-right: 5px;
}
 
.ui-autocomplete li {
    font-size: 16px;
}
 
/* IE 6 doesn't support max-height
* we use height instead, but this forces the menu to always be this tall
*/
* html .ui-autocomplete {
    height: 250px;
}