@import url('https://fonts.googleapis.com/css2?family=Overpass:wght@200;400;600;800&family=Roboto:wght@400;700;900&display=swap');

.select {
	/* Растягиваем блок на 100% родительского блока, для правильного размещения кастомной стрелочки */
	width: 100%;

	/* Убираем браузерную стрелку */
	-moz-appearance: none;
	-webkit-appearance: none;
	appearance: none;

	/* Задаем свой фон и рамку */
	border: 1px solid #E8EEED;
	background-color: #fff;

	/* Отступы от рамки к тексту */
	padding: 10px 35px 10px 15px;

	/* Убираем баузерную обводку*/
	outline: none;

	cursor: pointer;
}

/* Убираем стрелочку в IE 10 и 11 */
.select::-ms-expand {
	display: none;
}

/* По клику - убираем обводку и добавляем свою*/
.select:focus {
	outline: none;
	box-shadow: 0px 0px 0px 1px #38577a, 0px 0px 10px #7e9bbd;
}

/* Делаем .select-wrapper родительским элементом для позиционирования "стрелочки" */
.select-wrapper {
	position: relative;
}

/* Рисуем стрелочку */
.select-wrapper::before {
	content: "";

	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);

	display: block;

	/* Рисуем треугольник */
	width: 0;
	height: 0;
	border-style: solid;
	border-width: 10.4px 6px 0 6px;
	border-color: #7e9bbd transparent transparent transparent;

	/* Снимаем клик с треугольника */
	pointer-events: none;
}

/* *******************
Select c dropdown на JS
******************* */

.dropdownbgr {
	position: relative;
	width: 100%;
}

.dropdownbgr__button {
	position: relative;
	display: block;
	width: 100%;
	text-align: left;

	background: #FFFFFF;
	border: 1px solid #7E9BBD;
	border-radius: 6px;
	height: 46px;

	padding-top: 13px;
	padding-bottom: 13px;
	padding-left: 20px;
	padding-right: 35px;

	font-weight: 500;
	font-size: 12px;
	line-height: 20px;

	cursor: pointer;
}

.dropdownbgr__button:focus, .dropdown__button--active {
	outline: none;
	box-shadow: 0px 0px 0px 4px rgba(176, 198, 225, 0.6);
}

.dropdownbgr__button::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 15px;
	transform: translateY(-50%);

	/* Рисуем треугольник */
    width: 0;
    height: 0;
    border-width: 10.4px 6px 0 6px;
    border-color: #79849B transparent transparent transparent;
	border-style: solid;

	/* Снимаем клик с треугольника */
	pointer-events: none;
}


.dropdownbgr__list {
	display: none;

	position: absolute;
	left: 0;
	top: 52px;

	margin: 0;
	padding: 0;
	list-style-type: none;

	background: #FFFFFF;
	box-shadow: 0px 4px 8px rgba(176, 198, 225, 0.6);
	overflow: hidden;

	border-radius: 6px;
	width: 100%;

	z-index: 1;
	max-height: 200px;
    overflow: overlay;
	max-width: 100%;
    min-width: 200px;
}

.dropdownbgr__list--visible {
	display: block;
}

.dropdownbgr__list-item {
	margin: 0;
	padding: 0;
	border: 1px solid #7E9BBD;
	border-bottom: 0px;
	padding: 13px 20px;
	cursor: pointer;
}

.dropdownbgr__list-item:first-child {
	border-radius: 6px 6px 0 0;
}

.dropdownbgr__list-item:last-child {
	border-radius: 0 0 6px 6px;
	border-bottom: 1px solid #7E9BBD;
}

.dropdownbgr__list-item:hover {
	background: rgba(176, 198, 225, 0.26);
}

.innumb{
	position: relative!important;
    display: block!important;
    width: 100%!important;
    text-align: left!important;
    background: #FFFFFF!important;
    border: 1px solid #7E9BBD!important;
    border-radius: 6px!important;
    height: 46px!important;
    padding: 13px!important;
    
    font-weight: 500!important;
    font-size: 12px!important;
    line-height: 20px!important;
    cursor: pointer!important;
}

.dropdownbgr__input-hidden {
	display: none!important;
}
	.dropdownbgr__list .selected{
		background: rgba(176, 198, 225, 0.26);
	}
	.dropdownbgr__button[disabled]{
		opacity: 0.3;
	}
 .loading {
    padding-left:20px;
    background: url(https://javascript.ru/ajax/ui/blue-loading.gif) left no-repeat;
}

 .form_filter_bgr_select{
  width: 100%;
}

.form_filter_bgr_group{
  display: flex;  
}

.form_filter_bgr_block{
     width: 25%;
    padding: 25px 10px;
    display: flex;
    flex-direction: column;
    align-content: space-between;
    flex-wrap: wrap;
}
	
	.form_filter_bgr_number{
		max-width: 100%!important;
    width: 50%!important;
	}	
.form_filter_bgr_too_block{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: space-around;
}
.products-info-price {
	color: red;
	font-size: 24px;
	font-weight: 600;
}

.products-info-name{
	color: white;
	font-size: 24px;
	font-weight: 600;
}
.product2div{
	border-radius: 10px;
    background: #f3f3f3;
    margin: 0px 10px;
	color: black;
}
	
#viewmap{
	color: #222;
    background: white;
}

	.load{
	animation: barberpole 1s linear infinite;
	background-size: 30px 30px;
	background-color: #167be5;
	background-image: linear-gradient( 135deg, rgba(255,255,255, 0.1) 25%, transparent 25%, transparent 50%, rgba(255,255,255, 0.1) 50%, rgba(255,255,255, 0.1) 75%, transparent 75%, transparent);
}

@keyframes barberpole {
	from {
		background-position: 0 0;
	}
	to {
		background-position: 60px 30px;
	}
}
.rez{
	margin-bottom: 60px;
}
.products-block {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;	
	margin-bottom: 10px;
}
.namespan{
	display: block;
	font-size: 18px;
	font-weight: 500;
	line-height: 25px;
	color:#222222;
}
.stancspan-icon{
	background: url(/wp-content/plugins/filter-by-bgr-tm/public/img/stanc.svg);
	width: 15px;
	height: 15px;
	background-position: center;
	background-repeat: no-repeat;
	background-size: contain;
	margin-right: 10px;
    display: inline-block;
    margin-bottom: -2px;
}
.stancspan{
	display:block;
	font-size: 12px;
	font-weight: 400;
	line-height: 28px;
	color:#787878;
}

.ploshspan{	
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color: white;
    background: #25A331;
    padding: 5px;
}
.pflex{
	    display: flex;
    justify-content: space-between;
}
.pricespan{	
	font-family: "Sansation", Sans-serif;
	font-size: 18px;
	font-weight: 600;
	line-height: 28px;
	color:#222222;
}
.products-div a{
	    text-decoration: none!important;
}
	.products-div {
        width: 30%;
    margin: 19px;
	height:380px;
	box-shadow: 1px 1px 20px 0px rgba(157, 157, 157, 0.15);
}
.products-div img{
    height: 256px!important;
    object-fit: cover;
    width: 100%;
}
	.products-body{
		height: 114px;
		background: #fff;		
		color: #787878;
		border-bottom-left-radius: 15px;
		border-bottom-right-radius: 15px;
	}
	.products-info{
		display: flex;
    flex-wrap: wrap;
		justify-content: space-around;
		
	}

.products-info-body {
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    margin: 0px 10px;
    padding: 20px 15px;       
}
.products-info-body > div{
	margin: 5px;
}
#bgr_filter_v1, #bgr_filter_v2{
	position: relative;
}
.preloader {
  position: absolute;
    left: 0;
    top: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    background: #e0e0e08a;
    z-index: 1001;
    border-radius: 15px;
}

.preloader__image {
  position: relative;
  top: 50%;
  left: 50%;
  width: 70px;
  height: 70px;
  margin-top: -35px;
  margin-left: -35px;
  text-align: center;
  animation: preloader-rotate 2s infinite linear;
}

@keyframes preloader-rotate {
  100% {
    transform: rotate(360deg);
  }
}

.loaded_hiding .preloader {
  transition: 0.3s opacity;
  opacity: 0;
}

.loaded .preloader {
  display: none;
}

#loadmore{
	margin: 20px auto;
    width: 240px;
    display: block;
    background: #FFDD2D;
    color: #222222;
    border: none;
    border-radius: 30px;
    font-weight: 600;
    font-size: 15px;
	height: 60px;
}
@media(max-width: 768px){
	.filter_body2{
		flex-direction: column!important;
		flex-wrap: wrap!important;		
	}
	.group_filter{
		margin: 10px 0px!important;
	}
}
@media(max-width: 600px){
		.form_filter_bgr_block{
  width: 100%;
  padding: 25px;
}
		.form_filter_bgr_group{
			flex-direction: column;
    flex-wrap: nowrap;
		}
		
		.products-block{
			flex-wrap: nowrap;
    flex-direction: column;
    align-items: center;
		}
		
		.products-div{
			width: 94%;
		}
	}


#filter_by_bgrtm_v1, #filter_by_bgrtm{
		font-family: "Sansation", Sans-serif!important;	
	}
    .group_filter{
        
        margin: 4px;
    }
    .group_filter label{
		display: block;
font-weight:400;
font-size:14px;
color:#3E3E3E;
margin-bottom: 4px;
    }
    #slider-range{
    width: 300px;
	line-height: 24px;
    padding: 10px 10px;
    border: 1px solid #E8EEED;
    height: 48px; 
	background: #F9F9F9;
    }
    .fpls{
        border-left: 2px solid #E8EEED;
    padding: 0px 10px;
    }
    #slider-range input{
        border:none;
        height: 25px; 
        margin: 0px 5px;
		padding: 2px;
		color: #787878;
		background: none;
    }
    #slider, #slider2{margin: -2px 0px;}
    #slider-range span{
    font-weight: 400;
    font-size: 13px;
    color: #282828;
    }
    .ui-slider-handle{
        width: 16px!important;
    height: 16px!important;
        top: -6px!important;
    margin-left: -6px!important;
    }
    .ui-widget{
        font-size: 6px!important;
    }
.ui-slider-horizontal{
	height: 4px!important;
    
}
    .ui-state-default{
    background: #25A331!important;
    border-radius: 50px!important;
    }
    .ui-slider-range{
       background: #25A331!important; 
    }
    
    .filter_body1{
        height: 78px;
        width: 100%;
        padding: 12px 24px;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        background: #F9F9F9;
        border: 1px solid #E8EEED;
        display: flex;
        align-items: flex-start;
    
    flex-direction: row;
    flex-wrap: wrap;
    }
    .filter_body2{
        display: flex;
        /*height: 122px;*/
        width: 100%;
        background: white;
        padding: 10px 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;        
        flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    justify-content: space-between;
    }
.fselect:focus, .fselect:focus-visible{
	border: 1px solid #E8EEED!important;
	outline: none;
}
    .fselect{
    width: 200px;
    border: 1px solid #E8EEED;
    height: 48px;
	font-weight: 400; 
		
display: block; 

box-sizing: border-box; 
margin: 0; 

 -moz-appearance: none;
 -webkit-appearance: none;
 appearance: none;
 background-color: #F9F9F9; 
padding-right: 30px;

background-image: url(/wp-content/plugins/filter-by-bgr-tm/public/img/sel.svg); 
background-repeat: no-repeat, repeat;
background-position: right .7em top 50%, 0 0;
background-size: .65em auto, 100%; 
    }
    .fche{
       font-size: 14px;
    font-weight: 600;
    border: solid 1px #a3a1a1;
    border-radius: 30px;  
    }
    .fbtn{
        width:170px;
        height:48px;
    font-size: 14px;
    font-weight: 600;    
    }
#filter_kvart{ margin-bottom: 20px;}
	#filter_kvart input:focus, #filter_kvart button:focus{
		outline: none;
	}
	
    #slider-range{
        display: flex;
    }
    #fsear{
        width: 170px;
		text-transform: uppercase;
        background: #25A331;
        color: #fff;
        font-size: 14px;
    	font-weight: 400;
        margin-top: 14px;
		border: none!important;
    }
    .ftb{
        background: #FFFFFF;
        color: #222;
    }
    .ftbact{
        background: #FFDD2D;
        color: #222;
    }
    
  .form_radio_group {
	display: inline-block;
	overflow: hidden;
}
.form_radio_group-item {
	display: inline-block;
}
.form_radio_group input[type=radio] {
	display: none;
}
.form_radio_group label {
    width: 170px;
    text-align: center;
	display: inline-block;
	cursor: pointer;
	margin-right: 10px;
	padding: 0px 15px;
	line-height: 48px;
	border: solid 1px #a3a1a1;
    border-radius: 50px;
    color: #222;
	user-select: none;
	background: white;
	font-weight: 600;
}
 

/* Checked */
.form_radio_group input[type=radio]:checked + label {
	background: #FFDD2D;
}
 
/* Hover */
.form_radio_group label:hover {
	color: #222;
}
 
/* Disabled */
.form_radio_group input[type=radio]:disabled + label {
	background: #efefef;
	color: #222;
}  
    
    
    
    
    
.checkbox-btn-group {
	display: inline-block;
}
.checkbox-btn-group:after { 
  content: ""; 
  clear: both; 
  display: block;
}
.checkbox-btn-group label {
	display: inline-block;
	margin: 0;
	user-select: none;
	position: relative;
}
.checkbox-btn-group input[type=checkbox] {
	z-index: -1;
	opacity: 0;
	display: block;
	width: 0;
	height: 0;
}
.checkbox-btn-group span {
	display: block;
    margin: 2px;
    color: #222222;
    font-size: 13px;
    background: #F9F9F9;
    min-height: 48px;
    min-width: 48px!important;
    width: auto;
    text-align: center;
    /* vertical-align: middle; */
    line-height: 48px!important;
    cursor: pointer;
    padding: 0px 16px;
    line-height: 30px;
    border: solid 1px #a3a1a1;
    border-radius: 50px;
    min-width: 30px;
    font-weight: 600;
    transition: background 0.2s ease;
}


 
/* Checked */
.checkbox-btn-group input[type=checkbox]:checked + span {
	background: #FEC006;
}
 
/* Focus */
.checkbox-btn-group .focused span {
	box-shadow: 0 0 0 0.2rem rgba(0,123,255,.25);
}
 
/* Hover */
.checkbox-btn-group label:hover {
	color: #666;
}
 
/* Active */
.checkbox-btn-group input[type=checkbox]:active:not(:disabled) + span {
	background: #FEC006;
	color: #000;
}
 
/* Disabled */
.checkbox-btn-group input[type=checkbox]:disabled + span {
	background: #efefef;
	color: #666;
	cursor: default;
}
.checkbox-btn-group input[type=checkbox]:checked:disabled + span {
	background: #f7efdc;
}
#fmap_bgr{
	margin-bottom: 70px;
}	
#fmap_bgr [class*="ymaps-2"][class*="-ground-pane"] {
   filter: grayscale(1);
	-ms-filter: grayscale(1);
	-webkit-filter: grayscale(1);
	-moz-filter: grayscale(1);
	-o-filter: grayscale(1);
}

#fmap_bgr > ymaps {
border-radius: 10px;
overflow: hidden;
}	
	
	@media(max-width: 500px){
		.filter_body2{
		flex-direction: column;	
		}
		.form_radio_group label{
			width:120px;
		}
		.group_filter{
			margin:10px 0px;
		}
		#slider-range{
			width: 100%;
		}
		#slider-range input{
			margin: 0px 2px;
		}
		.filter_body1{
			height: auto;
		}
		.shomap{
			margin: 0!important;
    		margin-top: 10px!important;
		}
		.group_filter {
   			 width: 100%;
		}
		.fselect{
			width: 100%;
		}
	}
