/*!
Theme Name: m-ers
Theme URI: http://m-mebel.ru/
Author: Furkat Vokhidov
Author URI: http://169.design/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: m-ers
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready

This theme, like WordPress, is licensed under the GPL.
Use it to make something cool, have fun, and share what you've learned.

m-ers is based on Underscores https://underscores.me/, (C) 2012-2020 Automattic, Inc.
Underscores is distributed under the terms of the GNU GPL v2 or later.

Normalizing styles have been helped along thanks to the fine work of
Nicolas Gallagher and Jonathan Neal https://necolas.github.io/normalize.css/
*/
.header-menu img{
	max-height: 50px;
}
.header .favorites-container {
	display: none !important;
}
.wishcount{
	position: relative;
}
.wishcount span{
	position: absolute;
    top: 0px;
    right: -11px;
    width: 15px;
    height: 15px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
}
.header-menu .current-menu-item {
	position: relative;
}
.header-menu .current-menu-item:before{
	content: "";
	width: 100%;
	height: 4px;
	background-color: #BEB391;
	position: absolute;
	left: 0;
	top: 0;
}
.header-menu .current-menu-item .sub-menu .current-menu-item:before,
.header-menu .sub-menu li:before{
	display: none !important;
}
.header-menu .current-menu-item > a{
	color: #beb391;
}
i.fal{
	font-style: normal !important;
}
.banner{
	width: 100%;
	height: auto;
	background-color: #c4c4c4;
	padding: 90px 15px 30px;
	text-align: center;
	border-radius: 20px;
	min-height: 500px;
}
.cfilter-icons__big ul{
	padding: 0;
	margin: 0;
	list-style-type: none;
	display: flex;
	flex-wrap: wrap;
}
.cfilter-icons__big ul li{
	width: 19%;
	padding: 0 5px;
}
.cfilter-icons__big ul li.current-menu-item{
	width: 24%;
}
.cfilter-icons__big ul li a{
	display: block;
	background-repeat: no-repeat;
	background-position: center;
	background-size: cover;
	border-radius: 9px;
	padding: 15px 20px 15px;
	color: #fff;
	font-weight: 600;
	text-transform: uppercase;
	text-align: right;
	text-decoration: none !important;
	min-height: 135px;
	max-height: 135px;
	font-size: 17px;
	font-family: 'Montserrat', sans-serif;
	position: relative;
	overflow: hidden;
	line-height: 120%;
}
.cfilter-icons__big ul li a::after{
	content: "";
	position: absolute;
	left: 0;
	top: 0;
	width: 100%;
	height: 100%;
	background-color: rgba(0,0,0,0.5);
}
.cfilter-icons__big ul li a img{
	display: none;
}
.cfilter-icons__big ul li a span{
	color: #fff;
	display: inline-block !important;
	position: relative;
	z-index: 2;
	text-align: right !important;
}
.banner a{
	color: #000;
	text-transform: uppercase;
	font-size: 16px;
	font-weight: bold;
}
.c7form{
	max-width: 450px;
	margin-left: auto;
	margin-right: auto;
}
.c7form-title{
	text-align: center;
	margin-bottom: 25px;
}
.c7form .wpcf7-not-valid-tip{
	font-size: 12px;
}
.c7form-title *{
	font-family: Montserrat;
	font-weight: bold;
	text-transform: uppercase;
	font-size: 28px;
}
.c7form-row{
	margin-bottom: 15px;
}
.c7form-row label{
	display: flex;
}
.c7form-label{
	width: 30%;
	text-align: right;
	padding-right: 15px;
	font-family: Montserrat;
	font-size: 11px;
	font-weight: bold;
	text-transform: uppercase;
	color: #000;
	padding-top: 5px;
}
.c7form-value{
	width: 70%;
}
.c7form-value input{
	display: block;
	width: 100%;
	border: none;
	border-radius: 20px;
	background-color: #e5e1d3;
	padding: 0 20px;
	height: 25px;
}
.c7form-textarea{
	padding-top: 30px;
}
.c7form-value textarea{
	display: block;
	width: 100%;
	border: none;
	border-radius: 20px;
	background-color: #e5e1d3;
	padding: 5px 20px;
	height: 55px;
	resize: none;
}
.c7form-privat {
	width: 100%;
	max-width: 300px;
	margin-left: auto;
	margin-right: auto;
}
.c7form-privat span{
	font-family: Montserrat;
	font-style: normal;
	font-weight: normal;
	font-size: 10px;
	line-height: 100%;
	padding-left: 7px;
	vertical-align: 3px;
}
.c7form-btn{
	text-align: center;
	padding-bottom: 15px;
}
.c7form-btn .wpcf7-submit:disabled,
.c7form-btn .wpcf7-submit[disabled]{
	background-color: #e5e1d3;
}
.c7form-btn .wpcf7-submit{
	background-color: #beb391;
	border-radius: 20px;
	color: #fff;
	border: none;
	padding: 7px 20px;
	font-size: 13px;
	font-weight: 500;
	text-transform: uppercase;
}
/*.wpfp-link .fa-heart{
	color: #BF140F !important;
}*/
.wpcf7 form .wpcf7-response-output{
	font-size: 14px;
}
.bdt-modal-dialog{
	border: 15px solid #beb391;
    -webkit-border-radius: 20px !important;
    border-radius: 20px !important;
    overflow: hidden;
}
/*.h_cat a::before {
	-webkit-border-radius: 20px !important;
    border-radius: 20px !important;
}*/
.facetwp-counter{
	display: none !important;
}
.cfilter-icons__small .facetwp-facet{
	display: flex;
	justify-content: center;
}
.cfilter-icons__small .facetwp-radio{
	background-image: none;
	width: auto;
	padding: 0;
	margin: 0 30px;
	text-align: center;
}
.cfilter-icons__small .facetwp-radio.checked{
	background-image: none;
}
.cfilter-icons__small-icon{
	padding: 15px 12px;
	border-radius: 50%;
	background-color: #e5e5e5;
	text-align: center;
	width: 100%;
	width: 65px;
	height: 65px;
	margin-left: auto;
	margin-right: auto;
}
.cfilter-icons__small .facetwp-radio.checked .cfilter-icons__small-icon{
	background-color: #beb391;
}
.cfilter-icons__small-icon img{
	max-width: 100%;
	max-height: 40px;
}
.cfilter-icons__small-text{
	color: #beb391;
	font-weight: bold;
	font-size: 15px;
}
.h_cat a{
	overflow: hidden;
	-webkit-border-radius: 5px;    
	border-radius: 5px !important; 
	-moz-border-radius: 5px !important;
	-khtml-border-radius: 5px !important;
}
.bfilter-country .facetwp-radio,
.bfilter-brands .facetwp-radio,
.bfilter-mechanism .facetwp-radio{
	background-position: right center;
	padding-left: 0;
	background-size: 17px 17px;
	margin-bottom: 12px;
	text-align: right;
	padding-right: 40px;
}
.bfilter-brands .bfilter-brands__logo img{
	width: auto;
	max-height: 25px;
	max-width: 130px;
}
.facetwp-pager{
	padding-top: 15px;
}
.facetwp-pager .facetwp-page{
	font-size: 16px;
	background-color: #fff;
    color: #000;
    height: 30px;
    line-height: 30px;
    width: 30px;
    border-radius: 50%;
    display: block;
    display: inline-block;
    text-align: center;
}
.facetwp-pager .facetwp-page.active{
	background-color: #beb391;
}
.bfilter-sidebar__title{
	display: none;
}
.menu-image-title-before.menu-image-not-hovered img, .menu-image-hovered.menu-image-title-before .menu-image-hover-wrapper, .menu-image-title-after.menu-image-title{
	padding-left: 0;
}

.fcard__wish .jsLikeAction{
    color: #beb391;
    font-size: 25px;
    text-decoration: none;
    cursor: pointer;
}
.single-wish .jsLikeAction{
    font-size: 30px;
    color: #beb391;
    cursor: pointer;
}
.favorite_idscount{
	position: relative;
}
.favorite_idscount span {
    position: absolute;
    top: 0px;
    right: -11px;
    width: 15px;
    height: 15px;
    background-color: #000;
    border-radius: 50%;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 7px;
}

.pagehead{
	background-position: center 40%;
}
.germany-logo{
	display: flex;
	flex-wrap: wrap;
    gap: 16px;
}

.germany-logo img {
  flex: 1 1 calc(50% - 16px); 
  max-height: 60px;           
  object-fit: contain;        
  display: block;
}

@media (max-width: 991.98px){
	.bfilter-country .facetwp-radio, .bfilter-brands .facetwp-radio, .bfilter-mechanism .facetwp-radio{
		padding-right: 30px;
		font-size: 15px;
	}
}
@media (max-width: 767.98px) {
	.banner{
		min-height: 100%;
		height: auto;
		padding: 30px 15px;
	}
	.c7form-title *{
		font-size: 22px;
	}
	.c7form-value{
		width: 65%;
	}
	.c7form-label{
		width: 35%;
	}
	.facetwp-pager{
		text-align: center;
	}
	.cfilter-icons__small{
		padding: 20px 0 10px;
	}
	.bfilter-sidebar__title{
		display: block;
		cursor: pointer;
		display: flex;
		justify-content: space-between;
	}
	.bfilter-sidebar__title span{
		font-weight: 600;
		font-size: 14px;
		display: block;
		display: inline-block;
	}
	.bfilter-sidebar__title i{
		display: block;
		display: inline-block;
		margin-top: 5px;
	}
	.bfilter-sidebar__menu{
		padding-top: 20px;
		display: none;
	}
	.bfilter-sidebar__block{
		background-color: #e5e1d3;
		padding: 15px;
		border-radius: 10px;
		margin-bottom: 30px;
	}
	.cfilter .facetwp-facet{
		margin-bottom: 20px;
	}
	.bfilter-country .facetwp-radio, 
	.bfilter-brands .facetwp-radio, 
	.bfilter-mechanism .facetwp-radio {
		text-align: left;
	}

	.cfilter-icons__big ul li{
		width: 50%;
		padding: 0 5px;
		margin-bottom: 10px;
	}
	.cfilter-icons__big ul li.current-menu-item{
		width: 50%;
	}
	.tel-desktop{
		display: none;
	}

	.cfilter-icons__big ul li:last-child{
		width: 100% !important;
	}
	.click-me{
		bottom: 90px;
	}
}
@media (max-width: 580px) {
	.cfilter-icons__big ul li a{
		font-size: 15px;
		min-height: 115px;
		padding: 15px;
	}
	.cfilter-icons__small .facetwp-facet{
		flex-wrap: wrap;
	}
	.cfilter-icons__small .facetwp-radio{
		margin: 0 0 15px;
		width: 50%;
	}
	.cfilter-icons__small-icon{
		width: 50px;
		height: 50px;
	}
	.cfilter-icons__small-icon img{
		max-height: 25px;
	}
	.cfilter-icons__small-text{
		padding-top: 10px;
		font-size: 14px;
		line-height: 120%;
	}
	.favorites{
		padding-top: 30px;
		padding-bottom: 30px;
	}
	.favorites-title h1{
		font-size: 25px;
	}
	.no-favorites p{
		font-size: 15px;
	}
}
