/*
Theme Name: Adifier Child Theme
Author: SpoonThemes
Theme URI: http://demo.spoonthemes.net/themes/adifier/
Author URI: http://themeforest.net/user/spoonthemes
License: GPL 2.0
Template: adifier
License URI: license.txt
Description:  Adifier - Classified Ads WordPress Theme
Version: 1.0
Tags: four-columns
*/








body:not(.home) main {
	margin-top: 10px;
}

.page-template-page-f-php main {
	margin-top: 40px;
}
.af-item-wrap.single_af-item-wrap {
	display: flex;
	flex-wrap: wrap;
}
.af-item-wrap.single_af-item-wrap .advert-grid {
	width: calc(25% - 13.3333px);
	margin-right: 15px;
	margin-bottom: 20px;
}
.af-item-wrap.single_af-item-wrap .advert-grid:nth-child(4n) {
	margin-right: 0;
}
.single-advert main > .container, .category main > .container,
.single-post main > .container, .blog main > .container {
	background: #fff;
	padding-top: 20px;
}
.af-item-wrap.single_af-item-wrap .advert-grid .white-block-content {
	padding: 10px;
}
.af-item-wrap.single_af-item-wrap .advert-grid .adv-title a, .af-item-wrap.single_af-item-wrap .advert-grid .adv-title {
	font-size: 14px !important;
}
.row.single_advert_row:before, .row.single_advert_row:after,
.single_advert_container:before, .single_advert_container:after {
	display: none;
}
.single_advert_container {
	display: flex;
	flex-direction: column;
	position: static;
}

.col-sm-4.single_advert_sidebar_wrap {
	position: -webkit-sticky;
	position: -moz-sticky;
	position: -o-sticky;
	position: -ms-sticky;
	position: sticky;
	align-self: flex-start;
	top: 82px;
	z-index: 1;
	align-self: flex-start
}
.row.single_advert_row {
	display: flex;
	align-items: stretch;
	align-content: stretch;
}
.row.single_advert_row .col-sm-8, .row.single_advert_row .col-sm-4  {
	float: none;
	min-height: auto;
}
.verify_label {
	padding-left: 7px;
}
.verify_label img {
	display: block;
	width: 18px;
	height: 18px;
}
.white-block-content {
	position: relative;
}
.seller-name .online-status.flex-wrap {
	position: absolute;
	right: 20px;
	top: 15px;
}
.mb30 {
	margin-bottom: 30px !important;
}
main.single-advert-main, body main.author-visited {
	margin-top: 10px;
}
body.archive.author .page-title {
	padding-bottom: 12px !important;
}
span.show_location {
	display: flex;
	align-items: center;
	line-height: 1;
	font-size: 13px;
	cursor: pointer;
	width: 130px;
	margin-left: auto;
	color: #447bba;
	justify-content: flex-end;
}
.white-block-content.location_new_content {
	display: flex;
	align-items: center;
	position: relative;

}
.white-block.ad_info_short {
	margin-bottom: 0;
}
.location_new_title, .find_more_title {
	width: 205px;
	display: flex;
}
.location_short {
	width: calc(100% - 335px);
}
.location_new_content:after {
	content: "";
	position: absolute;
	bottom: 0px;
	left: 0px;
	right: 0px;
	height: 1px;
	background-color: rgb(245, 245, 245);
}
.show_location_hide, .active .show_location_show, .single-advert-tags.title_box a span {
	display: none;
}
.location-map_new {
	height: 0;
	overflow: hidden;
}
.active.location-map_new {
	height: 450px;
	overflow: visible;
}
.active .show_location_hide {
	display: block;
}
.location-map_new .location-map {
	height: 450px;
}
body .page-title {
	background: #f9f9f9;
}
body .page-title, body .page-title h1, body .page-title a, body .breadcrumbs {
	color: #374252;
	font-weight: 600;
}
.navigation li:hover > ul {
	display: block;
}
.white-block-content.find_more_content {
	display: flex;
	align-items: center;
	flex-wrap: wrap;
}
.white-block-content.find_more_content a {
	max-width: 225px;
	width: 100%;
	padding: 10px;
	text-align: left;
	display: flex;
	align-items: center;
	justify-content: center;
	flex-direction: column;
	margin: 0 10px 0 0;
}
.find_more_content_links {
	display: flex;
	align-items: center;
	width: 100%;
}
.single-advert-tags.title_box {
	display: flex;
}
.single-advert-tags.title_box {
	display: flex;
	margin-bottom: 30px;
	justify-content: space-between;
}
.single-advert-tags.title_box h1.h1-size,
.single-post h1.h1-size {
	font-size: 28px;
	margin: 0 !important;
	width: calc(100% - 27px);
	padding-right: 10px;
}
.single-advert-tags.title_box a i {
	font-size: 24px;
	margin-top: 5px;
}
.white-block.contact-scroll-details.gray_block {
	background: #f9f9f9;
}
.white-block.author-has-posts.gray_block {
	background: #fff;
}
.author-details_block {
	display: flex;
	justify-content: center;
}
.adifier_author_name_block {
	display: flex;
}


#cookie_notification {
	display: none;
	position: fixed;
	bottom: 0;
	left: 0;
	width: 100%;
	padding: 25px;
	background-color: #374252;
	z-index: 999999;
}
#cookie_notification p{
  margin: 0;
  font-size: 15px;
  text-align: left;
  color: #fff;
}
.cookie_notification_block {
	display: flex;
	align-items: center;
	justify-content: space-between;
}
button.button.cookie_accept {
	color: #ffffff;
	border: 1px solid #ffffff;
	background: none;
	padding: 0;
	line-height: 40px;
	border-radius: 5px;
	display: block;
	width: 160px;
	box-shadow: none;
}
.page-template-page-tpl_full_width_no_push main {
	margin-top: 15px;
}
.cookie_notification_block a {
	text-decoration: underline;
	color: #fff;
}
.cookie_notification_block a:hover {
	text-decoration: none;
	color: #fff;
}
#cookie_notification .container {
	padding: 0;
}
.sidebar_single_advert .widget {
	padding: 0;
}
.single-advert-media.new_single-advert-media {
	margin-bottom: 0;
}
.single_advert_info_box .white-block-content {
	padding-left: 0;
	padding-right: 0;
}
.d_fl {
	display: flex;
	justify-content: space-between;
}
.single_advert_container .single-meta {
	padding-top: 0;
	margin-top: 0;
}
ul.single-advert-actions li {
	font-size: 12px;
	padding: 0 6px;
}
.author.author-relocates a.contact-seller {
	margin-top: 20px;
}
.single_advert-advert_tags {
	position: relative;
}
.white-block-content.ad_bottom_sidebar {
	padding: 0;
}
.white-block-content.ad_bottom_sidebar .widget {
	padding: 0;
	margin-bottom: 0;
}
.archive.author ul.author-details-list {
	margin-top: 20px;
}
.author-details_bio {
	margin-top: 20px;
}
.ad_bottom_content {
	padding-top: 40px;
}
.ad_bottom_content .white-block-content {
	padding-left: 0;
	padding-right: 0;
}
.white-block.find_more_block {
	margin-bottom: 0;
}
.share_advert_block .white-block-content.d_fl {
	padding-top: 0;
}
.af-item-wrap .advert-item {
	border: 1px solid #ebebeb;
	border-radius: 0 0 5px 5px;
}
.af-item-wrap .advert-item.advert-hightlight {
	border: 1px solid #ffecb8;
}
body .owl-carousel .owl-item .advert-media img, 
body .advert-grid img {
	border-radius: 3px 3px 0 0 ;
}
.single_adv_details {
	margin-top: 30px;
}
.single_adv_details .white-block {
	background: #f9f9f9;
	border-radius: 5px;
}
.single_adv_details ul.list-unstyled.cf-advert-list.list-inline {
	padding: 0 30px;
	margin-right: 0;
}
.single_adv_details .cf-advert-list li {
	padding: 0px;
	margin: 0px;
	margin-bottom: 10px;
	width: 100%;
	margin-right: 0;
	position: relative;
}
.single_adv_details .cf-advert-list li span {
	background: #f9f9f9;
	padding: 0;
	position: relative;
	z-index: 2;
}
.single_adv_details .cf-advert-list li span:first-child {
	padding-right: 20px;
}
.single_adv_details .cf-advert-list li span:last-child {
	padding-left: 20px;
	color: #000;
	margin-left: 0;
}
.single_adv_details .cf-advert-list li:before {
	content: "";
	width: 100%;
	position: absolute;
	bottom: 7px;
	height: 1px;
	z-index: 1;
	display: block;
	border-bottom: 2px dotted #ebebeb;
}
a.register-acc_link, a.login-acc_link {
	padding: 0px 15px;
	font-weight: 700;
	text-transform: uppercase;
	box-shadow: none;
	border: none;
	text-align: center;
	-webkit-transition: all 0.1s ease-in-out;
	-moz-transition: all 0.1s ease-in-out;
	-ms-transition: all 0.1s ease-in-out;
	-o-transition: all 0.1s ease-in-out;
	transition: all 0.1s ease-in-out;
	background: #65ce73;
	display: block;
	line-height: 50px;
	font-size: 14px;
	border-radius: 7px;
	color: #fff !important;
	margin-top: 9px;
}
a.register-acc_link:hover {
	background: #54af60;
}
a.login-acc_link {
	background: #447bba;
}
a.login-acc_link:hover {
	background: #1461ba;
}
ul.author-details-list.list-unstyled span.cf-label {
	opacity: 0.5;
}
ul.author-details-list.list-unstyled span.cf-label i {
	opacity: 1;
}
.sub_cats_links a {
	display: block;
	position: relative;
	text-transform: uppercase;
	font-weight: 600;
	margin: 0 20px 15px 0;
}
.sub_cats_links {
	display: flex;
	flex-wrap: wrap;
	margin-bottom: 15px;	
}
.sub_cats_links a:before,
.home_news_item_cats a:before {
	content: "";
	width: 100%;
	height: 2px;
	background: #666666;
	position: absolute;
	bottom: 0px;
	left: 0;
	display: block;
}
.sub_cats_links a:nth-child(1):before,
.home_news_item_cats a:nth-child(1):before {
	background: #097afc;
}
.sub_cats_links a:nth-child(2):before,
.home_news_item_cats a:nth-child(2):before {
	background: #54ba51;
}
.sub_cats_links a:nth-child(3):before,
.home_news_item_cats a:nth-child(3):before {
	background: #f3ea00;
}
.sub_cats_links a:nth-child(4):before,
.home_news_item_cats a:nth-child(4):before {
	background: #ed4fc0;
}
.sub_cats_links a:nth-child(5):before {
	background: #920988;
}
.archive_row article:hover {
	box-shadow: 0 0 10px 0px rgba(0, 0, 0, 0.12);
}
.archive_row article {
	display: flex;
	margin-bottom: 30px;
	border: 1px solid #ebebeb;
	border-radius: 5px;
}
.archive_row article a.article-media {
	display: flex;
	align-items: center;
	justify-content: center;
	height: 150px;
	overflow: hidden;
	width: 200px;
	border-radius: 5px 0 0 5px;
}
.archive_row article a.article-media img {
	display: block;
	height: 100%;
	width: 100%;
	object-fit: cover;
	border-radius: 0;
}
.archive_row article .white-block-content {
	width: calc(100% - 200px);
	padding: 15px 20px 0;
}
.archive_row .article-excerpt {
	font-size: 15px;
	margin-bottom: 15px;
	display: -webkit-box;
	-webkit-line-clamp: 2;
	-webkit-box-orient: vertical;
	overflow: hidden;
	margin-bottom: 16px;
}
.archive_row .article-excerpt p:last-child {
	margin-bottom: 0;
}
.arch_date {
	color: #aaa;
	font-size: 13px;
}
.single-post .page-title.quick-search {
	padding-bottom: 12px !important;
}
.single-post figure.wp-block-pullquote {
	padding: 0;
}
.single_post_content .white-block-content {
	padding: 20;
}
.home_news_block {
	margin-bottom: 50px;
}
h2.home_news_block_title {
	font-size: 19px;
	text-transform: uppercase;
	border-bottom: 1px solid #f1f1f1;
	padding-bottom: 13px;
	margin-bottom: 28px;
	position: relative;
}
h2.home_news_block_title:after {
	content: "";
	display: block;
	width: 210px;
	height: 1px;
	position: absolute;
	bottom: -1px;
	left: 0;
	background: #333;
}
.home_news_block_slider .owl-nav {
	position: absolute;
	top: -63px;
	right: 0;
	display: flex;
}
.home_news_block_slider .owl-nav.disabled {
	display: flex;
}
.home_news_block_slider .owl-nav button {
	width: 35px;
	height: 35px;
	display: block;
	border: 0px solid #aaa;
	outline: none;
	background: none;
	padding: 0 !important;
	display: flex;
	align-items: center;
	justify-content: center;
	position: relative;
	overflow: hidden;
}
.home_news_block_slider .owl-nav button span {
	font-size: 35px;
	color: #aaa;
	line-height: 1;
	position: absolute;
	top: -4px;
	left: 12px;
}
.home_news_item_img {
	position: relative;
	height: 180px;
	margin-bottom: 20px;
}
a.home_news_item_img_link {
	display: flex;
	align-items: center;
	justify-content: center;
	overflow: hidden;
	border-radius: 0;
	height: 180px;
}
a.home_news_item_img_link img {
	height: 100%;
	width: 100%;
	object-fit: cover;
	display: block;
	border-radius: 5px !important;
}
.home_news_item_cats {
	position: absolute;
	bottom: 10px;
	left: 10px;
	color: #fff;
	display: flex;
	flex-wrap: wrap;
}
.home_news_item_cats a {	
	display: block;
	position: relative;
	font-size: 12px;
	text-transform: uppercase;
	color: #fff;
	font-weight: 600;
	margin-right: 12px;
}
.home_news_item_img + a {
	font-size: 16px;
	font-weight: 700;
	color: #333333;
	display: inline-block;
	margin-bottom: 10px;
}
.single-post .white-block-title {
	padding: 20 30px;
}









@media (min-width: 576px){
  #cookie_notification.show{
    display: flex;
  }
  .cookie_accept{
    margin: 0 0 0 25px;
  }
}

@media (max-width: 1025px) {

	span.location_new_short {
    width: 50%;
	}
	#cookie_notification {
    padding: 15px;
	}
	.cookie_notification_block {
    flex-direction: column;
	}
	#cookie_notification p {
    font-size: 14px;
    text-align: center;
    line-height: 1.45;
	}
	.find_more_content_links {
		justify-content: center;
		width: 100%;
	}
	.white-block-content.find_more_content a {
		margin: 0 5px;
	}
	span.find_more_title {
		display: none;
	}
}

@media (max-width: 770px) {	
	.single-post .widget .white-block-title,
	.category .widget .white-block-title {
    margin: -30px 0 30px 0;
    padding-left: 0;
}
.category .widget .white-block-title {
	margin-top: 0;
}
	h2.home_news_block_title {
    font-size: 17px;
	}
	.single_adv_details ul.list-unstyled.cf-advert-list.list-inline {
		padding: 0 15px;
	}
	.single_adv_details .white-block-title {
    padding: 0 0 0 15px;
	}
	.single-advert .find_more_content_links {
		align-items: flex-start;
	}
	.single-advert .share_advert_block {
		margin-top: -15px;
	}
	.single-advert .share_advert_block .d_fl {
    align-items: flex-start;
	}
	.home .adverts-list.clearfix.adverts-slider.owl-carousel {
    display: block;
    width: 100%;
    margin: 0 !important;
	}

	.af-item-wrap .advert-item.advert-grid {
		display: flex;
		align-items: center;
	}
	.af-item-wrap .advert-item.advert-grid .advert-media {
		width: 100px;
		flex-shrink: 0;
		aspect-ratio: 0.89;
		max-height: 230px;
		height: 100%;
	}
	.af-item-wrap .advert-item.advert-grid .white-block-content {
		width: calc(100% - 100px);
		display: flex;
		flex-direction: column;
		height: 100%;
		padding: 5px 20px !important;
	}
	.af-item-wrap .advert-item {
		border-radius: 5px !important;
		overflow: hidden;
	}
	.af-item-wrap .advert-item .advert-cat.text-overflow {
		display: none;
	}
	.af-item-wrap .advert-item h5 {
    font-size: 16px;
    margin: 10px 0px;
	}
	.af-item-wrap .white-block.advert-item {
    margin-bottom: 15px;
	}

	.af-item-wrap .white-block.advert-item .ribbon {
    font-size: 8px;
    padding: 3px 0px 3px 8px;
	}
	.af-item-wrap  .advert-tags {
		top: 5px;
	}
	.af-item-wrap  .ribbon:before {
    border-top-width: 8px;
    border-bottom-width: 8px;
    border-left-width: 8px;
	}

	div[class*="af-items-"] {
    margin-right: 0;
	}
	div[class*="af-items-"] .af-item-wrap {
    margin-right: 0;
		width: 100%;
}
	.hide-price-big .price {
    padding-left: 15px;
}
	.row.single_advert_row {
    flex-wrap: wrap;
	}
	.row.single_advert_row .col-sm-8 {
		width: 100%;
	}
	.row.single_advert_row .col-sm-4 {
		width: 100%;
	}
	.af-item-wrap.single_af-item-wrap .advert-grid {
		width: calc(50% - 7.5px);
		margin-right: 15px;
		margin-bottom: 15px;
	}
	.af-item-wrap.single_af-item-wrap .advert-grid:nth-child(2n) {
		margin-right: 0;
	}
	.page-template-page-f-php main {
    margin-top: 20px;
	}
	.af-item-wrap.single_af-item-wrap .advert-grid .white-block-content {
    padding: 10px 15px;
	}

	.white-block-content.forum_content {
			padding: 0;
	}

	#wpforo #wpforo-wrap {
		padding-top: 0 !important;
	}
	header.head_ad_submit + .flex-wrap {
    background: #374252;
	}
	.home .element-categories-table > a {
		width: 50%;
	}
	.home .element-categories-table {
		flex-wrap: wrap;
		justify-content: center;
	}
	.white-block-content.location_new_content {
		padding: 0 0 20px;
	}
	span.show_location {
    width: 100%;
    margin-top: 2px;
	}
	.active.location-map_new, .location-map_new .location-map {
		height: 300px;
	}
	.find_more_content_links {
    flex-direction: column;
	}
	.white-block-content.find_more_content a {
    margin: 5px 0;
	}
	.single-advert-tags.title_box a i {
		font-size: 20px;
		margin-top: 7px;
	}
	.single-advert-tags.title_box h1.h1-size {
		font-size: 22px;
		margin: 0 !important;
		width: calc(100% - 22px);
	}
	.page-title .breadcrumbs {
    margin-bottom: 0 !important;
	}
	.white-block-content.d_fl {
    flex-direction: column;
    justify-content: center;
    align-items: center;
	}
	.single_advert_row ul.single-advert-actions {
		margin-top: 20px;
	}
	a.logo {
    max-width: 130px;
	}
	.page-title .flex-left {
    width: 100% !important;
	}
	.af-listing-list:not(.af-items-1) .af-item-wrap, .col-sm-9 .af-items-3 .af-item-wrap, .col-sm-9 .af-items-4 .af-item-wrap, .col-sm-9 .af-items-5 .af-item-wrap, .col-sm-9 .af-items-6 .af-item-wrap {
    width: 100%;
	}
	.home_adv_block .advert-media:before {
		background: transparent;
	}
	.home_adv_block .adv-bottom-card h5 a {
		color: #333333;
	}
	.home_adv_block .bottom-advert-meta .price {
		color: #d54b4f;
	}
	.home_adv_block .top-advert-meta a,
	.home_adv_block .top-advert-meta {
		color: #aaa;
	}
	.home_adv_block .adv-bottom-card,
	.home_adv_block .top-advert-meta.flex-wrap {
		padding-left: 120px;
	}
	.home_adv_block.advert-carde .top-advert-meta {
		opacity: 1;
	}
	.sub_cats_links a {
    margin: 0 10px 5px 0;
    font-size: 11px;
	}
	.archive_row article a.article-media {
		height: 110px;
		width: 100px;
	}
	.archive_row article .white-block-content {
		width: calc(100% - 100px);
		padding: 7px 10px 0 15px;
	}
	.archive_row .article-excerpt {
		font-size: 13px;
		margin-bottom: 10px;
		margin-top: 0;
		line-height: 1.35;
	}
	archive_row article {
		margin-bottom: 20px;
	}
	.archive_row article .white-block-content h5 a {
		font-size: 15px;
	}
	.single-advert ul.single-meta.top-advert-meta {
    display: flex;
		flex-wrap: wrap;
		justify-content: space-between;
	}
	ul.single-meta li.aged_meta, ul.single-meta li.views_meta {
		width: 50%;
	} 
	ul.single-meta li.views_meta {
		text-align: right;
	}


}

@media (max-width: 575px) {
  #cookie_notification.show{
    display: block;
    text-align: left;
  }
  .cookie_accept{
    margin: 10px 0 0 0;
  }
}

@media (max-width: 480px) {
	.af-item-wrap.single_af-item-wrap .advert-grid {
		width: 100%;
		margin-right: 0;
		margin-bottom: 15px;
	}
	.af-item-wrap.single_af-item-wrap .advert-grid:nth-child(2n) {
		margin-right: 0;
	}
	.location_new_title {
    width: 150px;
	}
	header a.logo {
    max-width: 100px;
	}
	.modal-content {
    width: 300px;
	}
	.modal-content .or-divider {
    margin: 0;
	}

}