.geodir_loc_clearfix:after {
  clear: both;
  content: " ";
  display: block;
  font-size: 0;
  height: 0;
  line-height: 0;
  visibility: hidden;
  width: 0;}

.geodir_loc_clearfix{ display:inline-block;}
 
html[xmlns] .geodir_loc_clearfix{ display:block;}



.managelocation_fields .inner_content_tab_main{
border:none;
background:none;
padding:0;
margin:0;
border-radius:none;
min-height:inherit;
overflow-x:inherit;
overflow-y:inherit;
overflow:hidden;
border-bottom-left-radius:0;
border-bottom-right-radius:0;
border-top-right-radius:0;
border-top-left-radius:0;

}


.button-primary{ font-weight:normal;}


#geodir_wrapper  .geodir_all_location h2{ padding-bottom:10px;}
.geodir_all_location h2{ 
margin-top:25px;
  padding:10px 0;
  font-size:20px;
  }
  
#geodir_wrapper .geodir_all_location h2 a{ text-decoration:underline;}
.geodir_all_location h3{ 
  padding:10px 0;
  font-size:16px;
  margin-bottom:5px;}
  
.geodir_region{ padding:10px 0;}
  
.geodir_all_location ul.geodir_cities{ margin-left:-3%;}
.geodir_all_location ul.geodir_cities li{ 
  display:inline-block;
  vertical-align:top;
  margin-left:3%; 
  width:29.3%; 
  line-height:20px; }
  
.geodir-content-right .geodir_all_location ul.geodir_cities li{ width:auto;}
  
.geodir_all_location ul.geodir_cities li a{ display:block; padding:10px 15px 10px 0px; border-bottom:1px #B7B7B7 dashed;}
.geodir_all_location ul.geodir_cities li a:hover{ background:url(../images/small-arrow.png) no-repeat right;}

	
.geodir_current_location{ margin-top:20px;}
.geodir_current_location a{ line-height:22px;}
.geodir_switcher{  
    background:#333333 url(../images/down-arrow.png) no-repeat center center;
    border-radius:3px;
    border-top: 1px solid #4B4B4B;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.6);
    display: inline-block;
    height: 24px;
    width: 24px; margin-left:7px;}


.geodir_locListing_main h2{ font-size:15px;}

.geodir-locListing_column{ 
  max-width:28%; 
  margin-left:3%; 
  padding-right:3%; 
  float:left;}
.geodir-locListing_column:first-child{
    margin-left:0px;
}
  
.geodir-locListing_column_last{ padding-right:0;}

.geodir_locListing_main input[type="text"]{ 
  -webkit-box-sizing: border-box;
  -moz-box-sizing: border-box;
  box-sizing: border-box;
  width:100%;
  float: none;
}
	
.geodir_locListing_main ul{ margin:0 0 15px 0;}

.geodir-locListing_column ul{ 
  border-right:1px #ccc solid; 
  padding-right:20px; 
  margin-right:-20px;}

.geodir-locListing_column_last ul{ 
  border:none; 
  padding-right:0; 
  margin-right:0;}

.geodir_locListing_main ul li{ 
  line-height:21px; 
  font-size:14px; 
  display:block; 
  border-bottom:1px #B7B7B7 dashed; 
  
  position:relative;}
  
.geodir_locListing_main ul li.geodir_active{ background:#eee;}

.geodir_locListing_main ul li a{ 
  display:block; 
  margin-right:15px;
  padding:7px 0px 7px 5px;}

.geodir_locListing_main ul li .geodir_loc_arrow{
  display:block;
  cursor:pointer;
  position:absolute; right:4px;
  top:13px;}
  
.geodir_locListing_main ul li .geodir_loc_arrow a{
  background:url(../images/small-arrow.png) no-repeat center center; 
  width:6px; 
  height:10px;
  margin-right:0;
  padding:0;}
  
.geodir_locListing_main ul li .geodir_loc_arrow a:hover, .geodir_locListing_main ul li.geodir_active .geodir_loc_arrow{ background:url(../images/small-arrow-h.png) no-repeat center center; }


.geodir_location_sugestion .geodir-chosen-container .chosen-results{max-height:120px;}


/* additional styles for location selector */
.geodir_shortcode_location_tab_container .geodir_location_tab_container {
    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
    border: medium none;
}

.geodir_shortcode_location_tab_container .geodir_location_tabs_head {
    margin: 0;
    padding: 0;
}

.geodir_shortcode_location_tab_container .geodir_location_tabs {
    width: 33%;
}

.geodir_shortcode_location_tab_container .geodir_location_tabs_head .geodir_location_tabs a {
    display: block;
    font-size: 12px;
    text-decoration: none;
    width: auto;
}

.geodir_shortcode_location_tab_container .geodir_location_sugestion .chosen-single {
    color: #444;
    font-size: 12px;
    padding: 0 0 0 8px;
    width: auto;
}

.geodir_shortcode_location_tab_container .geodir-chosen-container-single .chosen-single div b {
    margin-top: 0px;
}

/* alternative fix for chosen not supported on mobile device */
.gd-chosen-no-support .geodir_location_tab_container{max-width:300px}
.gd-chosen-no-support .geodir_location_tab_container dl.geodir_location_tabs_head{min-height:24px}
.gd-chosen-no-support .gd-no-chosen-seach{margin-top:3px;margin-bottom:3px;display:inline-block;width:93%}
.gd-chosen-no-support .geodir_location_sugestion select[name="gd_location"]{width:100%}
.gd-chosen-no-support select.geodir-loc-select-list{min-height:40px;height:auto;padding-left:0;padding-right:0}
.gd-chosen-no-support select.geodir-loc-select-list option{padding:4px 10px}

// devices under 480px
@media only screen and (max-width: 480px) {
  .geodir-locListing_column ul {
    padding-right: 0px;
    margin-right: 0px;
    overflow: hidden;
  }

}
#menu-item-gd-location-switcher .gd-has-neighbourhoods dl {
	width: 360px;
}
#menu-item-gd-location-switcher .gd-has-neighbourhoods dd[data-location="country"],
#menu-item-gd-location-switcher .gd-has-neighbourhoods dd[data-location="region"],
#menu-item-gd-location-switcher .gd-has-neighbourhoods dd[data-location="city"],
.geodir_shortcode_location_tab_container .gd-has-neighbourhoods dd[data-location="country"].geodir_location_tabs,
.geodir_shortcode_location_tab_container .gd-has-neighbourhoods dd[data-location="region"].geodir_location_tabs,
.geodir_shortcode_location_tab_container .gd-has-neighbourhoods dd[data-location="city"].geodir_location_tabs {
	width: 22%;
}
#menu-item-gd-location-switcher .gd-has-neighbourhoods dd[data-location="neighbourhood"],
#menu-item-gd-location-switcher .gd-has-neighbourhoods dd[data-location="neighbourhood"].geodir_location_tabs {
	width: 33%;
}
#menu-item-gd-location-switcher .gd-has-neighbourhoods .geodir_location_sugestion,
#menu-item-gd-location-switcher .gd-has-neighbourhoods .geodir_location_switcher_chosen {
	min-width: 200px;
	width: 100%;
}
.geodir-search .snear.near-neighbourhood,
.gd-small-neighbourhood {
	color: #FFF;
	background-color: #0A3;
}
.geodir_locListing_main ul li {
	margin-left: 0;
}
.geodir_locListing_main .geodir_loc_clearfix {
	width: 100%;
}
.gdlm-loclist-cols-4 .geodir-locListing_column {
	width: 22%;
	margin-left: 2%;
	padding-right: 2%;
}
.gdlm-loclist-cols-4 .geodir-locListing_column:first-child {
	margin-left: 0;
}
.gdlm-loclist-cols-4 .geodir-locListing_column_last {
	padding-right: 0;
}
.geodir-widget.geodir_popular_location .geodir-cat-list {
    position: relative;
    clear: both;
}
.gd-pagi-container {
    width: 100%;
    display: block;
    clear: both;
}
.geodir_popular_location .gd-pagination-details {
    display: block;
    clear: both
}
.geodir_popular_location .geodir-ajax-pagination {
    display: block;
    clear: both;
    border: none;
    padding: 10px 0;
}

.geodir-widget .gd-ajax-wgt-loading {
    left: 49%;
    margin: 0;
    padding: 0;
    position: absolute;
    top: 49%;
}
.geodir-widget .gd-pagination-details-before {
    margin-top: 12px;
}
.geodir-widget .gd-pagination-details-after {
    margin-bottom: 12px;
}
.geodir_locListing_main .gd-loc-loadmore {
    text-align: center !important;
    border: none !important;
}
.gdlm-no-results {
    border: none !important;
    padding: 7px 0px 7px 5px !important;
}
.geodir_locListing_main .gd-loc-loadmore button {
    margin: 12px 15px 0 0 !important;
    float: none !important;
}
.gd-new-loc-div input[type="button"] {
    float: left;
    vertical-align: middle;
    margin-left: 5px;
}
.geodir-category-list-in.geodir-location-desc {
    /* white-space: pre-wrap; */
}

.geodir-search .snear.near-country, .gd-small-country{
  color:#FFF;
  background-color:#6F6;
}
.geodir-search .snear.near-region, .gd-small-region{
  color:#FFF;
  background-color:#FC3;
}
.geodir-search .snear.near-city, .gd-small-city{
  color:#FFF;
  background-color:#0CF;
}
.geodir-search .snear.near-neighbourhood, .gd-small-neighbourhood{
  color:#FFF;
  background-color: #ff7fc8;
}


@media only screen and (max-width: 480px) {
    .geodir_form_row > .geodir_location_add_listing_country_chosen_div,
    .geodir_form_row > .geodir_location_add_listing_region_chosen_div,
    .geodir_form_row > .geodir_location_add_listing_city_chosen_div,
    .geodir_form_row > .geodir_location_add_listing_neighbourhood_chosen_div {
        float: none !important;
        width: auto !important;
        display: block !important;
    }
}
@media only screen and (max-width: 540px) {
	.gdlm-loclist-cols-4 .geodir-locListing_column,
	.gdlm-loclist-cols-4 .geodir-locListing_column:first-child,
	.gdlm-loclist-cols-4 .geodir-locListing_column_last {
		width: 98%;
		margin-left: 1%;
		padding-right: 1%;
		max-width: inherit;
	}
}