/*
Theme Name: TownHub Child
Theme URI: https://townhub.cththemes.com
Author: CTHthemes
Author URI: http://themeforest.net/user/cththemes/
Description: TownHub – Directory & Listing WordPress Theme is perfect if you like a clean and modern design. This theme will help you create, manage and monetize a local or global directory site.
Version: 1.0.0
Tags: custom-background, custom-menu, editor-style, featured-images, post-formats, sticky-post, theme-options, translation-ready
Template: townhub
Text Domain: townhub-child
License: GNU General Public License version 3.0
License URI: http://www.gnu.org/licenses/gpl-3.0.html
*/
/* =Theme customization starts here
------------------------------------------------------- */

body, html{
	overflow-x:hidden;
}
label.connect {
    margin-top: 20px;
}
.show-lang i.fal.fa-globe-europe {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 10px;
    cursor:pointer;
}
.main-header:before {
    content: "";
    position: absolute;
    right: 0;
    width: 600px;
}


.header-search_btn span {
    position: relative;
    font-size: 14px;
}
.header-search_btn {
    float: left;
    margin-left: 0px;
    width: auto;
    padding: 14px 33px;
    border-radius: 30px;
    position: relative;
    color: #fff;
    font-weight: 500;
    font-size: 1em;
    background: black !important;
    cursor: pointer;
    line-height: 1.1;
}
.show-lang select.gt_selector.notranslate {
    background-color: transparent;
    color: #fff;
    border: 0px;
    padding: 0px;
    cursor:pointer;
}
.geodir_status_date.lstatus-opening a {
    color: #fff !important;
    font-size:14px;
}
.geodir_status_date.lstatus-opening:hover a {
    color:#ed1d24 !important;
}
.geodir_status_date.lstatus-opening{
    font-size:0px;
}
.geodir-category-text {
    display: inline-table;
}
.show-lang option {
    color: #000;
}
.listings-grid-wrap.one-cols .listing-item {
        width: 33%;
    }

/* Default: Set .listing-item-loop to 100% */
body #wrapper .listings-grid-wrap #main-sec .container .row .col-md-12 .full-map-filter-inner .listings-full-map #lisconfw #listing-items .listing-item-loop .fl-wrap .preview_listing {
    width: 100% !important;
}

/* For .list-layout: Set to 24% */
body #wrapper .listings-grid-wrap #main-sec .container .row .col-md-12 .full-map-filter-inner .listings-full-map #lisconfw #listing-items .listing-item-loop.list-layout .fl-wrap .preview_listing {
    width: 24% !important;
}
.listing-item.listing-item-loop .azp_element.azp_row_section.azp_row_section-default.azp_row_section-10-gap {
    width: 100% !important;
}
.listing-item.listing-item-loop.list-layout .azp_element.azp_row_section.azp_row_section-default.azp_row_section-10-gap {
    width: 11% !important;
}
#listing-items .fl-wrap .azp_row_section-10-gap {
        width: 100%;
}

#listing-items .geodir-category-listing:after{
        display:none;
}

#listing-items .azp_element.azp_row_section.azp_row_section-default.azp_row_section-10-gap {
    margin: 0px;
}

#listing-items .azp_element.azp_row_section.azp_row_section-default.azp_row_section-1-gap {
    padding: 10px;
}
.show-lang {
    padding: 0px !important;
	width: 135px;
}
.lang-wrap {
    margin-right: 40px !important;!I;!;
}
@media screen and (max-width:1024px){
.show-lang {
    width: 135px;
    margin-left: 20px;
}
	article.geodir-category-listing.fl-wrap {
    display: block !important;
}
select.gt_selector.notranslate {
    font-size: 16px;
}

.azp_element.preview_listing_content.azp-element-azp-ummm3moftws.geodir-category-content {
    width: 100%;
}

.azp_element.azp_col.azp-col-50 {
    padding: 0px !important;
}

article.geodir-category-listing.fl-wrap {
    padding: 0px !important;
}

.listing-item.listing-item-loop.list-layout .azp_element.azp_row_section.azp_row_section-default.azp_row_section-10-gap{
    width:100% !Important;
}

.azp_element.azp_col.azp-col-100 {
    padding: 0px !important;
}
body #wrapper .listings-grid-wrap #main-sec .container .row .col-md-12 .full-map-filter-inner .listings-full-map #lisconfw #listing-items .listing-item-loop.list-layout .fl-wrap .preview_listing {
    width: 100% !important;
    padding: 5%;
}
	    .listing-item .fl-wrap .lstatus-opening {
        top: 36px !important;
    }
	.list-layout img.respimg.lazy.loaded {
    height: 250px;
    object-fit: contain;
    padding: 0px !important;
}
}
@media screen and (max-width:767px){
	article.geodir-category-listing.fl-wrap {
    display: flex !important;
    flex-direction: column !important;
}
body #wrapper .content .listings-grid-wrap #main-sec .container .row .col-md-12 .full-map-filter-inner .listings-full-map #lisconfw #listing-items .listing-item .fl-wrap > .azp_element {
    width: 100% !important;
	padding:0px !important;
}
#listing-items .fl-wrap .azp_col {
          display: flex;
          text-align: center;
          flex-direction: column;
}
article.geodir-category-listing.fl-wrap {
    padding: 10px !important;
}
}

/* Added for the header  */
@media (max-width: 1500px) {
    .main-header:before {
        width: 37vw;
    }
}
@media (max-width: 1360px) {
    .main-header:before {
        width: 41vw;
    }
}
@media (max-width: 1023px) {
    .main-header:before {
        width: 62vw !important;
    }
}
@media (max-width: 820px) {
    .main-header:before {
        width: 71vw !important;
    }
}
@media (max-width: 767px) {
    .main-header:before {
        width: 54vw !important;
    }
}