div.richmarker.callout {
    /*height: 60px;*/
    /*width: 200px;*/
    float: left;
}
#map_area{
    display: none;
}
div.richmarker.callout {
    white-space: nowrap;
    background-color: #fff;
    background-image: -moz-linear-gradient(top, #fff, #fff);
    position: relative;
    color: #000;
    padding: 0px;
    border-radius: 3px;
    box-shadow: 0px 0px 20px #999;
    margin: 25px;
    border: 1px solid #888;
    min-width:200px;
    /*min-height: 50px;*/
    /*border: 1px solid #333;*/
    /*text-shadow: 0 0 1px #000;*/
    /*box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset;*/
}
.richmarker.callout::before {
    content: "";
    width: 0px;
    height: 0px;
    border: 0.8em solid transparent;
    position: absolute;
}
.richmarker.callout.top::before {
    left: 45%;
    bottom: -12%;
    border-top: 10px solid #fff;
    display: none;
}
.richmarker.callout.bottom::before {
    left: 45%;
    top: -20px;
    border-bottom: 10px solid #fff;
}
.richmarker.callout.left::before {
    right: -20px;
    top: 40%;
    border-left: 10px solid #fff;
}
.richmarker.callout.right::before {
    left: -20px;
    top: 40%;
    border-right: 10px solid #fff;
}
.richmarker.callout.top-left::before {
    left: 7px;
    bottom: -20px;
    border-top: 10px solid #fff;
}
.richmarker.callout.top-right::before {
    right: 7px;
    bottom: -20px;
    border-top: 10px solid #fff;
}
.richmarker.callout.top > table{
    width: 100%;
}
.richmarker.callout.top > table td{
    text-align: center;
    border: 1px solid #ddd;
    height: 50px;
    width: 50%;
    font-weight: bold;
}
.richmarker.callout.top > p {
    font-size: 14px;
    padding: 10px;
}

.richmarker.callout.top > table td span{
   color:#666;
   font-weight: normal;
}

.amenitylist {
    border: 1px solid #e4e4e4;
    max-height: 400px;
    position: absolute;
    top: 43px;
    width: 270px;
    margin-left: 5px;
    z-index: 1;
    overflow-x:hidden;
    overflow-y:auto;
    box-shadow: 0 1px 20px rgba(0, 0, 0, 0.3);  
}

.amenitylist > ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
}
.amenitylist li {
    border-top: 1px solid #e4e4e4;
    cursor: pointer;
    font-size: 14px;
    margin: 0 22px 0 10px;
    padding: 10px 9px;
    display: none;
}
.amenitylist li .NameValue,
.amenitylist li .poidrivetime {
    color: #333333;
    cursor: pointer;
    font-size: 14px;
    padding-left: 18px;
}
.localityFilterSearch {
    height: 60px;
    left: 0;
    position: absolute;
    top: 0;
    z-index: 2;
}
.localityFilterSearchBox {
    background: #fff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
    float: left;
    height: 40px;
    margin: 5px 0 0 5px;
    padding: 5px 6px 0 31px;
}
.localityFilterSearchBox a {
    background: #f5f5f5 none repeat scroll 0 0;
    border: 1px solid #d7d7d7;
    border-radius: 3px;
    color: #666;
    display: block;
    float: left;
    font-size: 13px;
    height: 28px;
    line-height: 24px;
    padding: 0 6px;
    text-align: center;
    text-decoration: none;
    margin-right: 5px;
}
.localityFilterSearchBox > select {
    background-image: url("/sites/all/themes/teptheme/assets/img/ui/select-dot.svg");
    background-position: right center;
    background-repeat: no-repeat;
    background-size: 2.1rem 2.1rem;
    border: 0 none;
    border-radius: 3px;
    box-shadow: 0 0 0 0.1rem rgba(0, 0, 0, 0.1), 0 0.2rem 0.3rem -0.1rem rgba(0, 0, 0, 0.1);
    height: 27px;
    padding-right: 2rem;
    color: #666;
    -webkit-appearance: none;
    -moz-appearance: none;
    -ms-appearance: none;
    appearance: none;
    float: left;
}
.localityFilterSearchBox > input {
    margin-left: 10px;
    margin-right: 5px;
    margin-top: 8px;
}
.localityFilterSearchBox > span {
    float: left;
    padding: 5px 10px 0 5px;
    font-weight: bold;
}
.localityFilterSearchBox a.activeFilter {
    background: #fff url("../micon/search-sprite.png") no-repeat scroll right -97px;
    border-color: #666;
}

.heatMapColorPalet {
    background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
    border-radius: 3px;
    bottom: 35px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    color: #666;
    font-size: 13px;
    height: 30px;
    margin: 0;
    overflow: hidden;
    padding: 0 14px;
    position: absolute;
    right: 50px;
}
.heatMapColorPalet .valueLowerRange {
    float: left;
    margin-right: 12px;
    margin-top: 5px;
}
.heatMapColorPalet .color_1 {
    background: #ffff6b none repeat scroll 0 0;
    float: left;
    height: 14px;
    margin-top: 8px;
    width: 40px;
}

.heatMapColorPalet .color_2 {
    background: #fac04b none repeat scroll 0 0;
    float: left;
    height: 14px;
    margin-top: 8px;
    width: 40px;
}

.heatMapColorPalet .color_3 {
    background: #fa974b none repeat scroll 0 0;
    float: left;
    height: 14px;
    margin-top: 8px;
    width: 40px;
}

.heatMapColorPalet .color_4 {
    background: #fa5a4b none repeat scroll 0 0;
    float: left;
    height: 14px;
    margin-top: 8px;
    width: 40px;
}

.heatMapColorPalet .valueUpperRange {
    float: left;
    margin-left: 12px;
    margin-top: 5px;
}


.map-wrapper{
    position: relative;
}
.caricon{
    background-image: url("../micon/timecaricon.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    display: inline-block;
    height: 16px;
    margin: 5px 6px 0 5px;
    padding: 0;
    vertical-align: middle;
    width: 35px;
}

.smallIcon{
    background-image: url("../micon/mapPoiTabIcon3.png");
    background-position: 0 0;
    background-repeat: no-repeat;
    display: inline-block;
    height: 16px;
    margin: 0 6px 0 -18px;
    padding: 0;
    vertical-align: middle;
    width: 12px;
}
.smallIcon.Bus_Terminals{
    background-position: 0 0;
}
.NameSec.Bus_Terminals:hover{
    background-color: rgba(252, 179, 0, 0.1);
}
.smallIcon.Train_Stations{
    background-position: 0 -218px;
}
.NameSec.Train_Stations:hover{
    background-color: rgba(130, 156, 221, 0.1);
}
.smallIcon.Bank_Branches{
    background-position: 0 -174px;
}
.NameSec.Bank_Branches:hover{
    background-color: rgba(251, 140, 32, 0.1);
}
.smallIcon.Clinics{
    background-position: 0 -349px;
}
.NameSec.Clinics:hover{
    background-color: rgba(247, 91, 75, 0.1);
}
.smallIcon.Eateries{
    background-position: 0 -392px;
}
.NameSec.Eateries:hover{
    background-color: rgba(68, 108, 179, 0.1);
}
.smallIcon.Petrol_Stations{
    background-position: 0 -566px;
}
.NameSec.Petrol_Stations:hover{
    background-color: rgba(224, 50, 134, 0.1);
}
.smallIcon.International_Schools,
.smallIcon.Preschools,
.smallIcon.Schools,
.smallIcon.Private_School,
.smallIcon.Higher_Education{
    background-position: 0 -44px;
}
.NameSec.International_Schools:hover,
.NameSec.Preschools:hover,
.NameSec.Schools:hover,
.NameSec.Private_School:hover,
.NameSec.Higher_Education:hover{
    background-color: rgba(76, 175, 206, 0.1);
}
.smallIcon.Shopping_Malls{
    background-position: 0 -87px;
}
.NameSec.Shopping_Malls:hover{
    background-color: rgba(246, 36, 89, 0.1);
}
.smallIcon.Hospitals{
    background-position: 0 -131px;
}
.NameSec.Hospitals:hover{
    background-color: rgba(38, 194, 129, 0.1);
}
.smallIcon.Police_Station{
    background-position: 0 -392px;
}
.NameSec.Police_Station:hover{
    background-color: rgba(142, 68, 173, 0.1);
}
.smallIcon.Convenience_Stores{
    background-position: 0 -305px;
}
.NameSec.Convenience_Stores:hover{
    background-color: rgba(126, 211, 0, 0.1);
}

.btnSlideLeft {
    background: #fff url("../micon/arrow-left.png") no-repeat scroll center center;
    border-radius: 5px 0 0 5px;
    border-right: 1px solid #dfdfde;
    cursor: pointer;
    height: 40px;
    left: 5px;
    position: absolute;
    top: 5px;
    width: 30px;
    z-index: 1;
}

.btnSlideLeftClosed {
    background: #fff url("../micon/arrow-right.png") no-repeat scroll center center;
}
.map_progress{
    background-color: rgba(0, 0, 0, 0.7);
    background-image: url("../micon/ajax-loader.gif");
    background-position: center center;
    background-repeat: no-repeat;
    height: 100%;
    position: absolute;
    width: 100%;
    z-index: 100;
    display: none;
}
.gicon{
    background: rgba(0, 0, 0, 0) url("../micon/search-sprite.png") no-repeat scroll left -194px;
    display: inline-block;
    height: 15px;
    margin-left: 3px;
    position: relative;
    vertical-align: middle;
    width: 15px;
}

.gicon.trendsUp{
    background-position: -22px -194px;
}
.textBlack{
    margin-left: 2px;
    font-weight: bold;
}
.popnote{
    color:#666;
    font-size: 11px;
}
.mapSecCont {
    padding: 0px;
    margin: 0px;
    position: relative;
}
.nearestPoiCont {
    padding: 0px 6px 10px 0px;
    margin: 0px;
    position: absolute;
    left: 10px;
    top: 10px;
    z-index: 2;
    width: 304px;
    max-height: 470px;
    background: url(../micon/tranContBg.png);
    border: 1px solid #e4e4e4;
}
.nearestPoiCont .nearestHeading {
    padding: 16px 0px 15px 19px;
    margin: 0px;
}

.nearestPoiCont .within {
    float: left;
    color: #333333;
    font-size: 14px;
    padding: 5px 0px 0px 0px;
}
.nearestPoiCont .nearestDistance {
    padding: 0px;
    margin: 0px 9px 10px 0px;
    float: left;
    height: 28px;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
    display: none;
}
.nearestHeading .poisearchbox #poisearch{
    width: 254px;
    border-radius: 5px;
    padding-left: 5px;
}
.areaMapWrapper{
    overflow: hidden;
    width: 100%;
    height:100%;
}
.mapTabSec{
    background: #fafafa;
    height: 47px;
    box-shadow: 0px 2px 4px rgba(0,0,0,.3);
    position: relative;
    z-index: 2;
}
.mapTabSec ul {
    padding: 0px;
    margin: 0px;
    list-style-type: none;
    float: left;
}
.mapTabSec ul.heaton{
    max-width: 50%;
}
.mapTabSec ul li {
    padding: 15px 12px 13px;
    margin: 0px;
    border-bottom: 2px solid transparent;
    float: left;
    font-size: 14px;
    color: #666666;
    cursor: pointer;
}
.mapTabSec ul li.active {
    border-bottom-color: #c0392b;
    color: #2a2a2a;
}
.mapTabSec ul li:hover {
    border-bottom-color: #c0392b;
    color: #333333;
}
.mapSecCont {
    padding: 0px;
    margin: 0px;
    position: relative;
}
.nearestPoiCont .amenitylist {
    border: none;
    max-height: 360px;
    position: relative;
    top: 0;
    width: 100%;
    margin-left: 0px;
    z-index: 1;
    overflow-x:hidden;
    overflow-y:auto;
    box-shadow: none;  
}
#mapTabMainNav #more > ul {
    background: #fafafa none repeat scroll 0 0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    display: none;
    list-style: outside none none;
    margin-left: -18px;
    margin-top: 15px;
    position: absolute;
    padding-left: 5px;
    padding-right: 5px;
    width: 164px;
}
#mapTabMainNav #more > ul li{
    width: 100%;
}
.mapTabSec #more ul li:hover{
    background:#f6f6f6;
    border-bottom-color: none;
}
#mapTabMainNav #more:hover > ul{
    display: block;
} 
.heatfilter {
    float: right;
    height: 100%;
    width: 425px;
    background-color: grey;
    border-radius: 4px;
    padding-top: 15px;
    display: none;
}
.hidepoi{
    background-image: url("../micon/simple_cross.png");
    background-position: center center;
    background-repeat: no-repeat;
    padding: 15px;
    position: absolute;
    right: 30px;
}
#heattoggle{
    color: #666666;
    margin-top: 10px;
    padding: 5px 10px 13px 10px;
    position: absolute;
    right: 3px;
    cursor: pointer;
}
#heattoggle:hover{
    border-bottom: 2px solid #c0392b;
}
.heatfilter .filterbar{
    float: left;
    color: #fafafa;
    font-size: 14px;
    margin-left: 20px;
    width: 385px;
}
.go-right {
    float: right;
    font-size: 1.5rem;
    padding: 1px;
    cursor: pointer;
}
.go-right:hover {
    color:#ffff6b;
}

.styled-select {
   background: url(../micon/arrow.png) no-repeat 96% 0;
   height: 25px;
   overflow: hidden;
   width: 133px;
   float: left;
   margin-left:10px;  
}
.styled-select select {
   background: transparent;
   border: none;
   font-size: 14px;
   height: 25px;
   padding: 5px; /* If you add too much padding here, the options won't show in IE */
   width: 150px;
   max-width: none;
   padding-top: 0px;
}
.semi-square {
   -webkit-border-radius: 5px;
   -moz-border-radius: 5px;
   border-radius: 5px;
}
.grey    { background-color: #fafafa; background-position: 94% center;}
.grey select    { color: grey; }
.grey select option{background-color: #fafafa;color: grey;}
.heatlabel{ float: left;padding-left: 5px;}
.filterbar input{
    margin-left: 10px;
    margin-right:5px;  
}
.nearestDistance ul{
    list-style:none;
    position:relative;
    float:left;
    margin:0;
    padding:0
}
.nearestDistance ul li{
 margin: 0 9px 0 12px;
 position: relative;
 float: left;
 cursor: pointer;
 color: #666666;
 font-size: 14px;
 height: 28px;
 padding: 5px;
 padding-left: 20px;
 width: 102px;
}
.nearestDistance > ul > li
{
    background: #f8f8f8 none repeat scroll 0 0;
    border: 1px solid #cccccc;
    border-radius: 4px;
}

.nearestDistance ul li:hover
{
    background:#f6f6f6
}

.nearestDistance ul ul
{
    display:none;
    position:absolute;
    top:100%;
    left:0;
    background:#fff;
    box-shadow: 0 0 2px rgba(0, 0, 0, 0.4);
    padding:0;
    width: 102px;
    z-index: 15;
}

.nearestDistance ul ul li
{
    float:none;
    width:100%;
    margin:0;
}
.nearestDistance ul li:hover > ul
{
    display:block
}

.nearestPoiCont .nearestDistance .mapMoreArrow {
    position: absolute;
    right: 25px;
    top: 12px;
    width: 0px;
    height: 0px;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 4px solid #666666;
    vertical-align: middle;
}
.amenitylist::-webkit-scrollbar-track {
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,0.3);
    border-radius: 10px;
    background-color: #F5F5F5;
}

.amenitylist::-webkit-scrollbar {
    width: 12px;
    background-color: #F5F5F5;
}

.amenitylist::-webkit-scrollbar-thumb {
    border-radius: 10px;
    -webkit-box-shadow: inset 0 0 6px rgba(0,0,0,.3);
    background-color: rgba(0,0,0,.15);
}
.infotip{
    width:200px;
    color:#333333;
}
.infotip .title{
    font-weight: bold;
}
.showpoi {
    background-color: #fafafa;
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    color: grey;
    left: 10px;
    padding: 5px 15px;
    position: absolute;
    top: 10px;
    z-index: 1;
	display:none;
	cursor:pointer;
}
div.richmarker.callout{
	position:absolute;
	left:10px;
}
.mobile-poi{
    display: none;
}
.mobile-poi ul{
    width: 100%;
    margin: 0;
    padding: 0;
    list-style: none;
}
.mobile-poi ul li{
    width: 20%;
    padding: 10px;
    font-size: 1.8rem;
    float: left;
    text-align: center;
    margin-top: 5px;
    margin-bottom: 10px;
}
@media screen and (max-width: 767px){
    .mapTabSec,.hidepoi{
        display: none;
    }
    .mobile-poi{
        display: block;
    }
    .nearestPoiCont{
        position: initial;
        width: 100%;
        display: block;
    }

}