/*** custom filter ***/
.box-parametrs-h3,
.box-parametrs,
.box-search,
.box-fbb_links > div,
.box-fbb_links_services,
.box-links,
.box-fbb_custom-h3,
.box-fbb_links_custom > div,
.cf_boxContent {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 10px;
    /*overflow: hidden;*/
}
.box-search h3,
.box-search div.h3,
.box-parametrs h3,
.box-parametrs div.h3,
.box-links h3,
.box-links div.h3,
.box-fbb_links_services h3,
.box-fbb_links_services div.h3,
.box-fbb_links_custom div:not(.box-fbb_custom-h3) > h3,
.box-fbb_links_custom div:not(.box-fbb_custom-h3) > div.h3,
.box-fbb_links div.h3,
.box-fbb_links h3 {
    padding-left: 5px;
    padding-bottom: 14px;
    margin-bottom: 14px;
    border-bottom: 1px solid #E7E7EE;
}

section.side_block.customFilter .cf-header {
    background: #fff;
    border-radius: 5px;
    padding: 10px 20px;
    display: none;
}
section.side_block.customFilter .cf-header div.h3,
section.side_block.customFilter .cf-header h3 {
    font-weight: bold;
    font-size: 13px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #000;
}
section.side_block.customFilter .cf-header .custom_expander {
    display: none;
}

.boxOptionActions {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.boxOption {
    width: 100%;
    max-width: 500px;
    height: 500px;
    overflow: hidden;
    overflow-y: auto;
}
.side_block.customFilter > div.h3,
.side_block.customFilter > h3 {
    display: none;
}


#currency_selector > span.default {
    display: flex;
    align-items: center;
    height: 35px;
    border: 1px solid #D3D3DC;
    box-sizing: border-box;
    box-shadow: 0px 4px 5px rgb(10 13 40 / 4%);
    border-radius: 3px;
    padding: 5px 15px 5px 5px;
    cursor: pointer;
    line-height: initial;

}
#currency_selector  span.price_currency {
    font-family: 'Montserrat';
    font-weight: 600;
    margin-right: 15px;
    margin-left: 5px;
    color: #FF3F40;
}
#currency_selector  span.price_title {
    margin-right: 5px;
    color: #58585C;
}

#currency_selector.circle.selector > span.default:after {
    top: 14px;
    right: 12px;
}
#currency_selector.circle > span.content{
    top: 30px;
    left: 0px;
    right: auto;
}
#currency_selector.circle  span.content {
    padding: 8px 14px 8px 28px;
}
#currency_selector.circle.selector ul > li > a {
    font-family: 'MuseoSans';
    text-decoration: none;
    cursor: pointer;
    color: #000;
    transition: opacity 0.25s ease-out;
}

.cf-mItems {
    padding-left: 5px;
}
.cf-mItems:not(:last-child) {
    margin-bottom: 12px;
}
.cf-mItems .accordionFbb {
    transition: all .3s ease;
}

.box-fbb_links_services .field_bound_box.cf-mItems:not(:last-child) {
    border-bottom: 1px solid #E7E7EE;
    padding-bottom: 10px;
}

.cf-sItems {
    font-weight: 300;
    font-size: 13px;
    color: #58585C;
    padding: 2px 0px;
}
.hideFBB {
    margin-bottom: 10px;
}
.cf-sItems a {
    color: #1C1C27;
    line-height: 17px;
    margin-left: 18px;
}

.customItems,
.accordionBox .accordionFbb > div {
    color: #58585C;
    font-size: 15px;
    /*border-bottom: 1px solid #EBEBF2;*/
}
.customItems {
    transition: opacity 0.25s ease-out;
}
.customItems > a {
    transition: opacity 0.25s ease-out;
}
.customItems > a:hover,
.customItems:hover {
    text-decoration: none;
    opacity: 0.7;
}
.fbb_links_hide-action {
    margin-top: 12px;
    cursor: pointer;
    background: #F4F5F5;
    border-radius: 5px;
    padding: 0 0 3px;
    border: none;
}
.field_bound_box.active .fbb_links_hide-action {
    padding: 0;
}
.fbb_links_hide-action > div {
  border: solid #58585C;
  border-width: 0 1px 1px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
    transition: all .3s ease;
}
.field_bound_box.active .fbb_links_hide-action > div {
  transform: rotate(-135deg);
  -webkit-transform: rotate(-135deg);
}
.fbb_links-action img {
    width: 20px;
    background-size: contain;
    transition: all .3s ease;
}
.active .fbb_links-action img {
    transform: rotate(180deg);
}

.box-links .customItems {
    border: none;
}
.accordionBox {
    cursor: pointer;
}
.accordionBox .accordionFbb {
    display: block;
    position: relative;
}
.accordionBox .accordionFbb > div:after {
    content: "";
    position: absolute;
    right: 3px;
    top: 3px;
    border: solid #58585C;
    border-width: 0 1px 1px 0;
    display: inline-block;
    padding: 3px;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
}
.accordionBox.active .accordionFbb > div:after {
    top: 6px;
    transform: rotate(-135deg);
    -webkit-transform: rotate(-135deg);
}

.box-search .side_block_search .search-item > .field{
    font-family: "MuseoSans",Arial,sans-serif;
    font-weight: 600;
    font-size: 12px;
    color: #000;
    margin-bottom: 4px;
}

section.side_block.customFilter div div.h3:not(.cf-header-h3),
section.side_block.customFilter div h3:not(.cf-header-h3) {
    font-weight: bold;
    font-size: 14px;
    letter-spacing: 0.01em;
    text-transform: uppercase;
    color: #333337;
    font-family: "MuseoSansBold", 'Trebuchet MS',sans-serif;
}
.ccs-search_on_map,
.ccs-rayon,
.ccs-metro {
    position: relative;
}
.ccs-search_on_map .customItems,
.ccs-rayon .customItems,
.ccs-metro .customItems {
    padding-left: 30px;
}
.ccs-search_on_map .customItems:after,
.ccs-rayon .customItems:after,
.ccs-metro .customItems:after {
    display: none;
}
.ccs-search_on_map .customItems:before,
.ccs-rayon .customItems:before,
.ccs-metro .customItems:before {
    content: '';
    position: absolute;
    width: 16px;
    height: 12px;
    top: 2px;
    left: 4px;
    background: url(../../../templates/escort_flatty/img/svg/metro.svg) 0 0 no-repeat;
    background-size: 100%;
}
.ccs-rayon .customItems:before{
    top: 1px;
    width: 13px;
    height: 15px;
    background: url(../../../templates/escort_flatty/img/svg/rayon.svg) 0 0 no-repeat;
}
.ccs-search_on_map .customItems:before{
    top: 2px;
    width: 14px;
    height: 14px;
    background: url(../../../templates/escort_flatty/img/svg/search_on_map.svg) 0 0 no-repeat;
}

.search-row__inputs,
.search-row__box {
    width: 100%;
    display: flex;
     align-items: center; 
    position: relative;
}
.search-row__box:last-child {
    margin-left: 10px;
}
.search-row__box > input {
    width: 100%;
    padding-right: 30px;
}
.search-row__ico_grey,
.search-row__ico {
    position: absolute;
    right: 12px;
    font-weight: 600;
    font-size: 12px;
    line-height: 40px;
    color: #FF3F40;
    font-family: 'Museo Sans';
    font-style: normal;
    font-weight: normal;
}
.search-row__ico_grey {
    font-weight: 600;
    font-size: 11px;
    color: #9D9DA9;
}
.field_bound_box .hideFBB {
    overflow: hidden;
    max-height: 25px;
    transition: max-height 0.25s ease-out;
}
.field_bound_box.active .hideFBB {
    max-height: 700px;
    transition: max-height 0.25s ease-in;
}
.accordion-FBB {
    margin-top: 5px;
}
.accordionBox .hideFBB {
    display: none;
}
.customFilter a.button {
    display: inline-block;
    height: 42px;
    line-height: 42px;
}
.customFilter .price.search-item.three-field > input {
    width: 42%;
    margin-right: 2%;
}
/*** MOBILE VIEW ***/
@media screen and (max-width: 767px) {
    section.side_block.customFilter > div {
        background: #fff;
        border-radius: 5px;
    }
    section.side_block.customFilter .cf-content {
        display: none;
    }
    section.side_block.customFilter .cf-header,
    section.side_block.customFilter .cf-header .custom_expander {
        display: block;
    }
    .box-parametrs-h3, 
    .box-parametrs, 
    .box-search, 
    .box-fbb_links > div, 
    .box-fbb_links_services, 
    .box-currency, 
    .box-links, 
    .cf_boxContent {
        margin: 0;
        border-radius: 0;
    }
    .box-parametrs-h3  {
        padding-top: 10px;
        padding-bottom: 0;
    }
    section.side_block.customFilter div.box-parametrs-h3 div.h3,
    section.side_block.customFilter div.box-parametrs-h3 h3
    {
        padding-left: 5px;
        padding-bottom: 14px;
        border-bottom: 1px solid #E7E7EE;
    }
    .side_block.customFilter  .cf-header {
        display: block;
    }
    .side_block.customFilter > div.h3,
    .side_block.customFilter > h3 {
        display: block;
    }
    section.side_block div.cf_boxContent {
        margin-top: -10px;
    }
    .side_block.customFilter > div.h3,
    .side_block.customFilter > h3 {
        display: block;
    }
}
/*** custom filter end ***/
