/* geodir v1 legacy */
.legacy_pop_post_cat{
    background: #F3f3f3;
    border: 1px #e6e6e6 solid;
	padding:10px;
}
.legacy_pop_post_cat .geodir-cat-list-tax{
	width:unset;
	margin-left: 10px;
}
.legacy_pop_post_cat .card,.legacy_pop_post_cat .card-body,.legacy_cpt_categories .card-body,.legacy_cpt_listings .card-body{
	border: unset!important;
	display:unset;
	padding: unset!important;
}
.legacy_pop_post_cat .row, .legacy_cpt_categories .row{
	margin:unset;
	flex-wrap: unset;
	margin: unset;
    display: flex;
    flex-wrap: wrap;
}
.legacy_pop_post_cat .text-uppercase, .legacy_cpt_listings .text-uppercase {
	text-transform: none!important;
}
.legacy_pop_post_cat .font-weight-bold{
	font-weight: unset!important;
}
.legacy_pop_post_cat .shadow-sm, .legacy_cpt_categories .shadow-sm,.legacy_cpt_listings .shadow-sm{
	box-shadow: unset!important;
}
.legacy_pop_post_cat .row-cols-md-1>* ,.legacy_cpt_categories .row-cols-md-1>*{
	flex: unset!important;
	max-width: unset!important;
	width:auto;
	
}
.legacy_pop_post_cat .iconbox.iconsmall{
	background: unset!important;
}
.legacy_pop_post_cat .mb-4{
	margin-bottom: unset!important;
}
/* *set max icon height */
.legacy_pop_post_cat .mh-100 {
	max-height:20px !important;
}
.legacy_pop_post_cat .gd-cptcat-count{
	margin-left:unset!important;
}
.legacy_pop_post_cat a:hover,.legacy_cpt_categories a:hover{
	color:#000!important;
	text-shadow: none;
	text-decoration: none;
}
/* Fix sidebar pop cat geodir */
.legacy_pop_post_cat h2{
	font-size:1.2em;
}
#geodir-sidebar .oht_universal_category_list-wrapper .ltr li {
	width: unset;
}
#geodir-sidebar .oht_universal_category_list li a{
	min-width:100%;
}

.legacy_cpt_listings .card,.legacy_pop_post_cat .card-body,.legacy_cpt_categories .card-body{
	display:unset;
	padding: unset!important;
}
.legacy_cpt_listings .text-white{
	background-color: #6e6d6d;
    width: 100%;
}
.legacy_cpt_listings .align-items-center{
	align-items: end!important;
}
.legacy_cpt_listings .m-4{
	margin:unset!important;
}

.legacy_cpt_categories .card{
	border: unset!important;
}

.legacy_cpt_categories .text-uppercase {
	text-transform: none!important;
	text-align: left;
}
.legacy_cpt_categories .card-body{
	background: none!important;
}
.legacy_cpt_categories h4{
	background-position: right bottom 3px;
    background-repeat: no-repeat;
    background-size: auto 85%;
    border-bottom: 1px solid #393939;
    padding-bottom: 5px;
    text-align: left;
	font-size: 1.5em;
}

.gd-read-more{
	background: unset!important;
	display:contents;
	color:#1e73be;
}
.legacy_advanced_search{
	padding: 10px 0 10px 0;
	border-top: 1px #e1e1e1 solid;
	border-bottom: 1px #e1e1e1 solid;
	margin: 20px 0;
}
.legacy_advanced_search .geodir-search {
    background: #f3f3f3;
    border: 1px #e6e6e6 solid;
    padding-top: 12px;
}
.legacy_advanced_search .geodir-search input {
	background: #fff!important;
}
.legacy_gd_map{
	margin-top:10px;
	margin-bottom:20px;
}
#gd_home_legacy h3{
	font-size: 1.17em;
	line-height:unset;
}

.legacy_pop_post_view h3{
	font-size: 1.17em;
}
.legacy_pop_post_view .geodir-category-list-view  {
    padding: 10px 0 10px 0;
    margin: 0px;
}
.pending-message{
	color:#1e73be!important;
}


/* Match old style columns */
.col-1, .col-2, .col-3, .col-4, .col-5, .col-6, .col-7, .col-8, .col-9, .col-10, .col-11, .col-12, .col, .col-auto, .col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12, .col-sm, .col-sm-auto, .col-md-1, .col-md-2, .col-md-3, .col-md-4, .col-md-5, .col-md-6, .col-md-7, .col-md-8, .col-md-9, .col-md-10, .col-md-11, .col-md-12, .col-md, .col-md-auto, .col-lg-1, .col-lg-2, .col-lg-3, .col-lg-4, .col-lg-5, .col-lg-6, .col-lg-7, .col-lg-8, .col-lg-9, .col-lg-10, .col-lg-11, .col-lg-12, .col-lg, .col-lg-auto, .col-xl-1, .col-xl-2, .col-xl-3, .col-xl-4, .col-xl-5, .col-xl-6, .col-xl-7, .col-xl-8, .col-xl-9, .col-xl-10, .col-xl-11, .col-xl-12, .col-xl, .col-xl-auto{
    padding-left:3px;
    padding-right:3px;
}
.legacy_gd_listings .row{
    margin-right: -3px;
    margin-left: -3px;
}
/* default use to be to hide the post-content
 */
.legacy_gd_listings .row-cols-md-4 .geodir-post-content-container,.legacy_gd_listings .row-cols-md-3 .geodir-post-content-container,.legacy_gd_listings .row-cols-md-5 .geodir-post-content-container{
	display: none;
}
/* hide rating */
.legacy_gd_listings .wp-block-geodirectory-geodir-widget-post-rating,.legacy_event_listing .wp-block-geodirectory-geodir-widget-post-rating{
	display:none;
}

.legacy_gd_listings .geodir-field-event_dates{
	font-size: 12px !important;
}
.legacy_gd_listings .geodir_post_meta {
	font-size: 13px;

}
.legacy_gd_listings .geodir_list_heading .geodir-all-link {
	/* color:white; */
	border:unset;
	display: inline-block;
    width: 50%;
    text-align: right;
    vertical-align: baseline;
}
.legacy_gd_listings .widget-title{
	
    width: -webkit-calc(50% - 5px);
    width: -moz-calc(50% - 5px);
    width: calc(50% - 5px);
    display: inline-block;
    vertical-align: baseline;
}

.legacy_gd_listings .geodir-entry-title{
	font-size:14px;
	font-weight: bold;
}
.legacy_gd_listings .geodir_list_heading {
    text-align: justify;
}
/* remove all the inner borders from the listing widget cols */
.legacy_gd_listings .list-group-item{
	border:none;
}
/* Set a default color for the background */
.geodir_event_cal_widget table.gd_cal_nav {
    background: #7d7d7e;
}
/* This probably wont work in all situations but adding it here for now */
.geodir_event_cal_widget #cal_title, .geodir_event_cal_widget i{
	color:white;
}

/* Change search buttons to black so the match universally */
.legacy_advanced_search .btn-primary{
	background-color: rgb(51, 51, 51);
	border-color: #000;
}
/* Legacy archive add sidebar */
#geodir-sidebar-right,#geodir-sidebar{ 
    width: 100%;
   
}
/* gd_single_legacy */
#sidebar_wrapper{
	float: right;
    width: 30%;
    margin-left: 3%;
}
#geodir-wrapper-content {
	float: left;
    width: 67%;
}
/* media less than 601px */
@media (max-width: 600px) {
	#geodir-sidebar-right,#geodir-sidebar{ 
		width:100%;
	}
}
h2 {
    font-size: 1.5em;
    font-weight: bold;
}
h3 {
    display: block;
    font-size: 1.17em;
    margin-block-start: 1em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    font-weight: bold;
}

.oht_universal_cpt .post-type-title{
	background-position: right bottom 3px;
    background-repeat: no-repeat;
    background-size: auto 85%;
    border-bottom: 1px solid #f01d4f;
    padding-bottom: 5px;
    text-align: left;
}
#geodir-main-content{
	/* width:100%; */
}

.gd-cptcat-row {
    min-width: 240px;
    margin-right: 1.5em;
    display: inline-table;
}
.clear{
	clear:both;
}

@media only screen and (max-width: 660px){
    #geodir-wrapper-content{
        width:100%!important;
		padding:10px;
    }
	#sidebar_wrapper{
		width: 100%!important;
	}
}


.geodir-images .embed-item-cover-xy{
	object-fit: contain;
}
/* archive images */
.geodir-image-container   img{
	object-fit:contain!important;
}

/* Hide bad widgets that keep popping up */
#content_top_single .legacy_gd_map, #content_top_single .legacy_gd_listings,#header-ads-left .legacy_gd_map, #header-ads-left .legacy_gd_listings{
	display:none;
}

#content_top_single .legacy_pop_post_cat,#content_top_single .legacy_advanced_search, #header-ads-left .legacy_pop_post_cat,#header-ads-left .legacy_advanced_search{
	display:none;
}