ul.sub-menu > li > a {
	color: #000 !important;
}
ul.sub-menu > li.current_page_item  > a,
ul.sub-menu > li:hover  > a{
	color: #15a9d6 !important;
}

.show-tabs .magazine-archive .tabs {
	display: block !important;
}

/* popup */
#popmake-35973 .pum-close {
	border-radius: 0;
	right: 0;
	top: 0;
	color: #fff;
	background: #ff3a04;
	font-size: 30px;
}

/* From dev */
.single-advert .wpadverts-slides-with-thumbnail .wpadverts-slide-image {
	position: relative;
	height: 100%;
}
.single-advert .wpadverts-slides-with-thumbnail .wpadverts-slide-image img {
	height: 100%;
}
.single-advert .wpadverts-slides-with-thumbnail .wpadverts-slide-image:after {
	content:"";
	display: block;
	padding-top: 56.25%;
}

@media (min-width: 768px) {
	.single-advert .wpadverts-slides {
		width: 50%;
		float: left;
		padding-right: 25px;
		margin-top: 19px;
	}
	.single-advert .adverts-single-box {
		float: right;
		clear: right;
		width: 50%;
	}
	.single-advert .adverts-single-grid-details {
		float: right;
		width: 50%;
		margin-bottom: 2em;
	}
	.single-advert .adverts-content {
		clear: both;
	}
	.single-advert .adverts-single-author-name {
		font-size: 14px;
	}
}

/* remove icon from sidebar */
.adverts-widget-categories .adverts-widget-grid-link:before {
	display: none;
	content: "";
}

/* WPADVERTS - remove ad visibility days */
.adverts-listing-type-feature-duration {
	display: none;
}

.adverts-form  .pricing-info {
	text-align:center;
}

/* Update */
.adverts-field-header.adverts-field-name-_contact_information {
  margin-bottom: 0 !important;
}
.adverts-field-header.adverts-field-name-_contact_information .adverts-field-header {
    margin-bottom: 0 !important;
    border-bottom: 0 !important;
    padding-bottom: 0 !important;
}
.adverts-field-header.adverts-field-name-_contact_information + .adverts-field-header.adverts-field-name-_contact_description .adverts-field-header {
    margin-top: 0 !important;
    line-height: 1;
    padding-bottom: 10px;
}
.adverts-field-header.adverts-field-name-_contact_information .adverts-field-header-description {
		font-weight: normal;
    font-style: italic;
    display: block;
    border-bottom: 1px solid #e5e5e5;
    font-size: 14px;
    margin-bottom: 10px;
}

.no-left-padding {
	padding-left: 0 !important;
}

/* Hide bussines ads */
.wpadverts-widget-categories .adverts-grid > .adverts-grid-row:nth-child(5),
.wpadverts-widget-categories .adverts-grid > .adverts-grid-row:nth-child(6) {
	display: none !important;
}

/* page-adverts banner */
.page-adverts .fl-page-content:before,
.single-advert .fl-page-content:before,
.woocommerce-account .fl-page-content:before,
.tax-advert_category .fl-page-content:before {
		content: "";
	  background-image: url(/wp-content/themes/latitude38/images/classyart.jpg);
    background-repeat: repeat-x;
    background-position: left top;
    background-size: contain;
    position: relative;
    width: 100%;
    height: 107px;
		display: block;
}

/* Adverts */
.advert-item .advert-img {
	background-image: url(/wp-content/uploads/2020/06/placeholder-latitude.png);
	background-position: center center;
	background-size: 50%;
	background-repeat: no-repeat;
	background-color: #f1f1f1;
}
.adverts-single-author-avatar {
	display: none !important;
}
.adverts-form .adverts-field-name-_adverts_account {
	display: none !important;
}

p a:empty:before {
		content: "";
    width: 22px;
    height: 22px;
    display: inline-block;
    background: url(/wp-content/themes/latitude38/images/link.svg) center center no-repeat;
    background-size: contain;
    position: relative;
    top: 2px;
}
p a:empty:before:hover {
	opacity: 0.7;
}

.single-post .fl-post-meta {
    color: #000;
    font-size: 90%;
}

/* Show sidebar on mobile */
@media (max-width: 991px) {
	.fl-sidebar {
		display: block;
	}
	.fl-sidebar .widget_nav_menu,
	.fl-sidebar .wpadverts-widget-recent {
		display: none;
	}
	
	.page-template-tpl-classyads .container .row,
.page-adverts .fl-module-content .fl-rich-text,
.single-advert .container .row,
.tax-advert_category .fl-post-content {
	display: flex;
	flex-direction: column;
}

.page-template-tpl-classyads .container .row .fl-sidebar,
.page-adverts .fl-module-content .fl-rich-text .fl-sidebar,
.single-advert .container .row .fl-sidebar,
.tax-advert_category .fl-post-content .fl-sidebar {
	order: -1;
}
}

/* Hide */
.adverts-grid-row.adverts-row-name-custom_field_14,
.adverts-grid-row.adverts-row-name-custom_field_15 {
	display: none !important;
}

/* Manage */
.adverts-manage-actions-wrap .adverts-manage-action-more {
	display: none !important;
}
.adverts-manage-actions-wrap .adverts-manage-actions-more {
	display: inline-block !important;
	float: right;
	clear: none;
	margin: 5px 0 0 0;
}

/* update delete confirm */
.adverts-manage-delete-confirm .adverts-manage-action-delete-yes,
.adverts-manage-delete-confirm .adverts-manage-action-delete-no {
	color: #fff;
	border: 1px solid #018db9;
	border-radius: 2px;
	background: #018db9;
	padding: 0 4px;
	margin: 0 0px 0 4px;
}

/* Hide renew */
.path-my-account .woocommerce-MyAccount-content .subscription_details .subscription_renewal_early {
	display: none !important;
}

/* Sidebar mobile */
input#show_sidebar {
	display: none;
}
label.show-cat-sidebar {
	order: -1;
	display: flex;
	border: 1px solid #f1f1f1;
	padding: 10px;
	justify-content: flex-end;
	align-items: center;
	cursor: pointer;
}
label.show-cat-sidebar > span {
	display: block;
	width: 20px;
	height: 3px;
	background: #000;
	margin-left: 15px;
}
label.show-cat-sidebar > span:before,
label.show-cat-sidebar > span:after {
	content: "";
	display: block;
	width: 20px;
	height: 3px;
	background: #000;
}
label.show-cat-sidebar > span:before {
	margin-top: -8px;
}
label.show-cat-sidebar > span:after {
	margin-top: 13px;
}
@media (min-width: 992px) {
	label.show-cat-sidebar {
		display: none;
	}
}
@media (max-width: 991px) {
	.single-advert .fl-sidebar,
	.page-template-tpl-classyads .fl-sidebar,
	.tax-advert_category .fl-sidebar {
		display: none;
	}
	.single-advert input#show_sidebar:checked + label,
	.page-template-tpl-classyads input#show_sidebar:checked + label,
	.tax-advert_category input#show_sidebar:checked + label {
		background-color: #f1f1f1;
	}
	.single-advert input#show_sidebar:checked + label + .fl-sidebar,
	.page-template-tpl-classyads input#show_sidebar:checked + label + .fl-sidebar,
	.tax-advert_category input#show_sidebar:checked + label + .fl-sidebar {
		display: block;
	}
}

/* Uloaded photo */
#adverts-plupload-upload-ui-gallery .adverts-gallery-uploads .adverts-gallery-upload-item:first-child {
	border: 2px solid #018db9;
}

/* Archive style */
.fl-col-content .widget.lectronic_archive {
	float: none;
	margin: 0;
	margin-bottom: 110px;
	border-bottom: 1px solid #ccc;
	position: relative;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu {
	position: static !important;
	display: inline-flex !important;
	flex-wrap: wrap;
	clear: both;
	background: none;
	border: none;
	box-shadow: none;
	margin: 0;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu > li:not([class]),
.fl-col-content .widget.lectronic_archive .dropdown-toggle {
	display: none;
}
.fl-col-content .widget.lectronic_archive li {
	list-style-type: none;
	display: inline-block;
	position: static !important;
}
.fl-col-content .widget.lectronic_archive li:marker {
	display: none !important;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu > li > a,
.fl-col-content .widget.lectronic_archive > li > a {
	background-color: #f6f6f6;
	top: 1px;
	position: relative;
	display: inline-block;
	list-style-type: none;
	border-radius: 3px;
	padding: 3px 10px 3px;
	border: 1px solid #ccc;
	margin-right: 5px;
	color: #018db9;
	font-size: 18px;
	min-height: 30px;
	line-height: 30px;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu > li > a:focus, .fl-col-content .widget.lectronic_archive > li > a:focus {
	background-color: #fff;
    box-shadow: 0 -4px 8px rgb(0 0 0 / 10%);
    font-weight: bold;
	text-decoration: underline;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu > li > a:hover, .fl-col-content .widget.lectronic_archive > li > a:hover {
	text-decoration: underline;
}
.fl-col-content .widget.lectronic_archive .dropdown-submenu .dropdown-menu {
    top: calc(100% + 20px);
    left: 0;
    margin-top: 0;
		width: 100%;
}
.fl-col-content .widget.lectronic_archive:before {
	content:"Explore the ‘Lectronic Latitude Archives";
	display: block;
	font-weight: bold;
}
.fl-col-content .widget.lectronic_archive > .dropdown-menu:before {
	content:"You can view all ‘Lectronic Latitude stories from April 2000 to the present from the tabs below.";
	display: block;
	margin-bottom: 20px;
	flex: 1 100%;
} 

@media (max-width: 600px) {
	.fl-col-content .widget.lectronic_archive {
		margin-bottom: 165px;
	}
}

.fl-page-nav-search .widget.lectronic_archive > li.dropdown-submenu {
	display: none;
}

/* advertisers_index */
#advertisers_index {
	border-top: 2px solid #75bdd5;
	clear: both;
	padding: 0 15px;
}
#advertisers_index h2 {
	color: #1793c6;
	text-transform: uppercase;
	margin-bottom: 30px;
}
#advertisers_index ul {
	padding: 0;
	margin: 0 0 30px;
}
#advertisers_index ul li {
	overflow: hidden;
	position: relative;
	margin: 0 0 15px;
	border-bottom: 1px dotted #000;
	font-size: 17px;
  line-height: 1;
	padding-bottom: 5px;
}
#advertisers_index ul li::marker {
	display: none;
}
#advertisers_index ul li a {
	display: inline-block;
	background: #fff;
	padding-right: 10px;
	position: relative;
	z-index: 1;
}
@media (min-width: 568px) {
	#advertisers_index ul {
		display: flex;
		flex-wrap: wrap;
		margin: 0 -15px 30px;
	}
	#advertisers_index ul li {
		width: calc(50% - 30px);
		margin: 0 15px 15px;
	}
}
@media (min-width: 768px) {
	#advertisers_index {
		padding: 0;
	}
	#advertisers_index ul li {
			width: calc(33.3333333% - 30px);
	}
}
@media (min-width: 1200px) {
	#advertisers_index ul li {
			width: calc(25% - 30px);
	}
}