span.filter-option-remove {
    position: absolute;
    background: white;
    border-radius: 100%;
    top: 3px;
    right: 3px;
    width: 20px;
    font-size: 1.2em;
    height: 20px;
    line-height: 21px;
    text-align: center;
}

.filterresults-item__title a {
    color: #fff;
    /*white-space: nowrap;*/
    display: inline-block;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 300;
    font-size: 20px;
    padding: 2px 10px;
    margin: 0px 0px 10px 0px;
    line-height: 24px;
    border-radius: 3px;
    background-color: #0174FF;
    -webkit-transition: all 0.3s ease 0s;
    -moz-transition: all 0.3s ease 0s;
    -ms-transition: all 0.3s ease 0s;
    -o-transition: all 0.3s ease 0s;
    transition: all 0.3s ease 0s;
}
.filterresults-item__title a:hover {
    background: -webkit-linear-gradient(338.85deg, #0174FF 10.15%, #3205F3 119.02%), #0174FF;
    background: -o-linear-gradient(338.85deg, #0174FF 10.15%, #3205F3 119.02%), #0174FF;
    background: linear-gradient(111.15deg, #0174FF 10.15%, #3205F3 119.02%), #0174FF;
}

.filterresults-item-slider {margin:48px auto}
.filterresults-item-slide__image img {height:240px;width:360px;object-fit: cover}

.header-contacts div{
    display: inline-block;
}

.btn.filterresults-offer__pencil{
    /*margin-left: 5px;*/
}

.filterresults-offer__pencil span{
    background: url(/local/templates/rentavik/css/../img/icons/pencil--black.png) center no-repeat;
    background-size: contain;
    display: inline-block;
    width: 16px;
    height: 17px;
}

.btn.filterresults-offer__pencil span{
    background: url(/local/templates/rentavik/css/../img/icons/pencil.png) center no-repeat;
    background-size: contain;
    display: block;
    width: 16px;
    height: 45px;
}

.filterresults-item__title .btn.filterresults-offer__pencil{
    padding: 0 8px;
    height: 28px;
    /*margin-bottom: -6px;*/
}
.filterresults-item__title .btn.filterresults-offer__pencil span{
    height: 28px;
}

.office_info__contacts{
    position: relative;
}

.filterresults-offer-info__contacts+.contactBox{
    display: none;
    position: absolute;
    top: 16px;
    z-index: 10;
    left: 0;
    background: white;
    border-radius: 10px;
    padding: 10px;
    border: 1px solid lightgrey;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    white-space: nowrap;

}
.filterresults-offer-info__contacts.showContacts+.contactBox{
    display: block;
}

.check.active.disable:before{
    background: lightgrey!important;
}
.check.active.disable:after{
    content: none;
}

.advertisingRefer{
    margin-top: 20px;
}

.filterBlock_Simvol.dsim{
    margin: 10px 5px 10px;
}
.filterBlock_Simvol.wsim{
    margin: 0 5px 20px;
}
.filter_button{
    color: grey;
    padding: 6px 5px 4px;
    line-height: 1.5rem;
}
.filter_button.active{
    color: white;
    padding: 6px 9px 4px;
    background: #0174FF;
    border-radius: 5px;
}
.catalog-bc{
    margin-top: 25px;
}
.catalog-bc .address a{
    color: #5f5f5f;
}

.catalog-bc .page-table .trow:first-child > .cell{
    border-bottom: 1px solid #0174FF;

}
.catalog-bc .page-table .trow:first-child > .cell .page-table__label{
    color: #000000;
}

.catalog-bc .address a:hover{
    color: grey;
}
.catalog-bc .cell:last-child{
    text-align: center;
}
@media (max-width: 500px) {
    .page-table .trow > .cell:first-child {
        width: auto;
    }
    .catalog-bc .cell:last-child{
        text-align: left;
    }
}
.page-body.popup{
    max-width: 900px;
}
.mapContainer{
    height: auto;
    -webkit-transition: all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition:         all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    padding-bottom: 0;
    overflow: hidden;
}
#mapObjects{
    height: auto;
}
.mapContainer.active{
    height: 530px;
    -webkit-transition: all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);
    transition:         all 600ms cubic-bezier(0.55, 0.055, 0.675, 0.19);

}
a.link{
    color: #0174FF;
    border-bottom: 1px dashed;
}
#popupMap{
    height: 500px;
    max-height: 100%;
    width: 900px;
    max-width: 100%;
}

.gallery-images-table .trow {display:block;}
.gallery-images__item {display:inline;height:150px;width:100%;}
.gallery-images__item img {height:150px;width:auto;max-width:unset}


.filter-bottomline-table.filter-bottomline-table--check .cell.cell--check{
    padding: 17px 20px 0px 0px;
    width: auto;
}
.filter-bottomline-table.filter-bottomline-table--check .cell.cell--check:last-child{
    padding: 17px 20px 0px 0px;
    width: auto;
}
.filter-bottomline-table.filter-bottomline-table--check .cell .check{
    margin: 4px 0;
}

.radio label{
    margin-left: 10px;
}

.input.disabled{
    border: 1px solid #f9f2f2;
}

.btn.btn-red{
    background-color: #c30b0b;
}
.btn.btn-red:hover{
    background: -webkit-linear-gradient(338.85deg, #e70b0b 10.15%, #6b0707 119.02%), #9e0b0b;
    background: -o-linear-gradient(338.85deg, #e70b0b 10.15%, #6b0707 119.02%), #9e0b0b;
    background: linear-gradient(111.15deg, #c30b0b 10.15%, #6b0707 119.02%), #9e0b0b;
}

.filterresults-offer__favorite.btn.on{
    background-color: #90ee90;
}
.filterresults-offer__favorite.btn.on:hover{
    background: -webkit-linear-gradient(338.85deg, #9cfa9c 10.15%, #468546 119.02%), #90ee90;
    background: -o-linear-gradient(338.85deg, #9cfa9c 10.15%, #468546 119.02%), #90ee90;
    background: linear-gradient(111.15deg, #9cfa9c 10.15%, #468546 119.02%), #90ee90;
}

.select-options input.searchField{
    height: 40px;
    border: 1px solid rgba(22, 22, 22, 0.2);
    padding-left: 14px;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    margin: 0 auto;
    display: block;
}


/* lio */
.fancy-popup {height: auto; min-width: 0;}
.btn.filterresults-offer__call {
  padding: 0 8px;
  height: 28px;
}
.btn.filterresults-offer__call span{
  background: url(/local/templates/rentavik/css/../img/icons/phone.svg) center no-repeat;
  background-size: contain;
  display: block;
  width: 16px;
  height: 27px;
}
.btn.filterresults-offer__eye span{
  background: url(/local/templates/rentavik/css/../img/icons/eye.svg) center no-repeat;
  background-size: contain;
  display: block;
  width: 20px;
  height: 28px;
}
.form-ajax_post {position: relative; display: block; z-index: 100;}
.form-ajax_post.preload_form::before {
  content: '';
  position: absolute; top: 0; left: 0;
  width: 100%; height: 100%;
  background-color: rgba(225, 225, 225, 0.8);
  z-index: 110;
}

.form-ajax_post .btn-submit_post {position: relative; z-index: 120;}
.form-ajax_post .btn-submit_post:hover {color: #fff;}
.form-ajax_post .btn-submit_post[disabled] {background: #5f5f5f; cursor: default;}
.form-ajax_post .btn-submit_post[disabled]:hover {color: #fff; background: #5f5f5f; cursor: default;}
.form-ajax_post #msg-sccss {display:inline-block; margin-left: 20px; position: relative; color: green; z-index:122;}
.form-ajax_post #msg-err {display:inline-block; margin-left: 20px; position: relative; color: red; z-index:122;}
.form-ajax_post .wrong {border-color: red}



.filter-table #filterMetro + div.select div.select-title
 {
  max-width: 296px;
 }


.page-table__value
 {
  word-break: break-word;
 }


.header-table.table
 {
  margin-top: 50px;
 }

.mainblock-body.w780
 {
  margin-top: 50px;
 }

a[href="/favorites/"] + div
 {
  margin-top: 10px;
 }

 header.header--fixed
  {
   top: 0px;
   margin-top: 0px;
  }

 .wrapper
  {
   position: relative;
  }

 .head_text
  {
   display: none;

   margin-top: 16px;

   text-align: center;

   font-size: 20px;

   color: #ffffff!important;
  }

 .head_text_2
  {
   margin-top: 20px;

   text-align: center;
   text-shadow: 0px 0px 20px black;

   font-size: 24px;
   color: #ffffff;
  }

 header.header--fixed .head_text
  {
   display: block;
  }

 header.header--fixed .header-table.table
  {
   margin-top: 10px;
  }

 @media screen and (max-width: 992px)
  {
   .redirect.w780
    {
     top: 40px;
    }

   .header-table.table
    {
     margin-top: 80px;
    }

   .mainblock-body.w780
    {
     margin-top: 150px;
    }
  }

 @media screen and (max-width: 767px)
  {
   .mainblock-body.w780
    {
     margin-top: 30px;
    }

    .catalog-bc .address a,
    .catalog-bc .page-table__label a {
      white-space: normal;
    }
  }

 @media screen and (max-width: 650px)
  {
   .filter-bottomline.active
    {
     max-height: unset;
    }

   .filter-column
    {
     padding: 0px;
    }

   .filter-column:first-child
    {
     padding-right: 10px;
    }

   .filter-column:last-child
    {
     padding-left: 10px;
    }
  }

 @media screen and (max-width: 550px)
  {
   header
    {
     margin-top: 15px;
    }
  }

 @media screen and (max-width: 544px)
  {
   .header-table.table
    {
     margin-top: 56px;
    }

   .m .header-table.table
    {
     margin-top: 0px;

     background-color: #ffffff;
    }

   .m .header-logo
    {
     display: block;

     margin-top: 7px;

     width: 200px;
     height: 40px;

     background-image: url(/local/templates/rentavik/img/logo_b.png);
     background-size: contain;
     background-repeat: no-repeat;
    }

   .m .header-logo img
    {
     display: none;
    }

   body.lock
    {
     position: fixed;

     height: 100%;
    }
  }

@media screen and (max-width: 400px)
 {
  header
   {
    margin-top: 30px;
   }
 }

.mainblock-form__btn.btn
 {
  position: relative;
  left: 2px;

  margin-bottom: 0px;
 }


/* Переключатель сайта.
*/
 .switcher_wrap
  {
   width: 100%;
   padding-top: 10px;

   font-size: 0px;
  }

 .site_switcher
  {
   display: inline-block;
  }

 .site_switcher .switcher
  {
   display: inline-block;

   position: relative;
   margin-left: 10px;
   margin-right: 10px;
   vertical-align: middle;

   width: 34px;
   height: 18px;
   border: solid 2px #ffffff;

   border-radius: 20px;

   background-color: #0174ff;

   cursor: pointer;
  }

 .site_switcher .switcher .button
  {
   margin-top: 2px;
   margin-left: 2px;

   width: 10px;
   height: 10px;

   border-radius: 50%;

   background-color: #ffffff;
  }

 .site_switcher .city
  {
   display: inline-block;

   vertical-align: middle;

   font-size: 13px;

   line-height: 18px;

   color: #ffffff;
  }

/* Стили для переделанной вёрстки шапки на главной.
*/
 .mainblock
  {
   padding-bottom: 20px;
  }

 .redirect.w780
  {
   position: static;

   max-width: 430px;

   -webkit-transform: unset;
  }

 .header-table.table
  {
   margin-top: 0px;
  }

 .mainblock-body.w780
  {
   margin-top: 20px;
  }

 .br_990
  {
   display: none;
  }

 @media screen and (max-width: 990px)
  {
   .br_990
    {
     display: block;
    }

   .whatsapp,
   .telegram
    {
     margin-right: 0px;
     margin-bottom: 5px;
    }

   .header__btn.btn.w
    {
     width: 178px;
    }
  }

 @media screen and (max-width: 760px)
  {
   .mainblock
    {
     padding-top: 0px;
    }
  }

 @media screen and (max-width: 550px)
  {
   header
    {
     margin-top: 0px;
    }
  }

.w900
 {
  margin: auto;

  max-width: 900px;
  padding: 0px 10px;
 }
 
.input_text {
	display: none;
}