.text-green {
  color: #5CBA33;
}

.btn.btn-danger {
  background-color: #EA4906;
}

.btn.btn-danger:hover,
.btn.btn-danger:active {
  background-color: #CB4406;
}

.build-info-tabs .aparts-tabs > li > a{
  width: 300px;
}

/* маленький слайдер */
.slider-small .image-slider {
  margin-bottom: 0;
}

.slider-small .lSAction > a {
  width: 25px;
  height: 25px;
  background-color: transparent;
  background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAEQAAABlCAMAAADDPbUTAAABS2lUWHRYTUw6Y29tLmFkb2JlLnhtcAAAAAAAPD94cGFja2V0IGJlZ2luPSLvu78iIGlkPSJXNU0wTXBDZWhpSHpyZVN6TlRjemtjOWQiPz4KPHg6eG1wbWV0YSB4bWxuczp4PSJhZG9iZTpuczptZXRhLyIgeDp4bXB0az0iQWRvYmUgWE1QIENvcmUgNS42LWMxMzggNzkuMTU5ODI0LCAyMDE2LzA5LzE0LTAxOjA5OjAxICAgICAgICAiPgogPHJkZjpSREYgeG1sbnM6cmRmPSJodHRwOi8vd3d3LnczLm9yZy8xOTk5LzAyLzIyLXJkZi1zeW50YXgtbnMjIj4KICA8cmRmOkRlc2NyaXB0aW9uIHJkZjphYm91dD0iIi8+CiA8L3JkZjpSREY+CjwveDp4bXBtZXRhPgo8P3hwYWNrZXQgZW5kPSJyIj8+IEmuOgAAAARnQU1BAACxjwv8YQUAAAABc1JHQgCuzhzpAAAAQlBMVEUAAAD///////////////////////////////////////////////////////////////////////////////////8IX9KGAAAAFXRSTlMApyDfPQPz4iJ/qIaH4IUCEtS5E29KpxltAAAAyElEQVRYw+3ZyQ7CMAwE0BCWlrVs/v9fRaiquiRNbQ8HEDNHH955NA7BnGcMcPayjrghsPI2UKU1MKUzEKU3/MrQ8Cpjw6dMDY+SGnYlZ1iVvCFyjrhhUeYNvVIytErZELk1uLHb0KBBgwYNGjRofJ9xrRaQ+1bRpuol5UCFyo8qKypUqFCh8r9K8wHlpFq3yorOKCtao6TojXnlaFpB84rNyCtWI6fYjVTxGFPFZ4wVrzFU/EavIEanYEarXOBPU13hRgiP5PICwXrbwkwZP0YAAAAASUVORK5CYII=');
  background-position: center;
  background-repeat: no-repeat;
  background-size: 50%;
  opacity: 1;
}

.slider-small .lSSlideWrapper {
  position: relative;
}

.slider-small .lSSlideWrapper::after {
  content: ' ';
  position: absolute;
  display: block;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  background-image: -webkit-gradient(linear, right top, left top, from(rgba(0, 0, 0, 0.5)), color-stop(15%, transparent), color-stop(85%, transparent), to(rgba(0, 0, 0, 0.5)));
  background-image: linear-gradient(-90deg, rgba(0, 0, 0, 0.5), transparent 15%, transparent 85%, rgba(0, 0, 0, 0.5));
  pointer-events: none;
}

.slider-small .lSPager.lSpg {
  position: absolute;
  bottom: 12px;
  width: 100%;
  margin: 0;
}

.slider-small .lSPager.lSpg > li a {
  border: solid 1.25px #FFFFFF;
  border-radius: 50%;
  background-color: transparent;
}

.slider-small .lSPager.lSpg > li.active a {
  background-color: #FFFFFF;
}

/* маленький слайдер */

.building-card {
  margin-bottom: 30px;
  background: #F8F8F8;
}

.building-card .agents-block,
.building-card #block-views-agent-block {
  margin-bottom: 0;
}

.building-card-data {
  padding: 20px;
  background: #FFFFFF;
}

.building-card-data .build-subtitle {
  margin-top: 0;
}

.building-card-data .building-card-slider {
  width: 350px;
  height: auto;
  margin-right: 30px;
  margin-bottom: 20px;
}

.building-card-data .building-card-info {
  width: 350px;
}

.building-card-info__row {
  width: 100%;
  margin-bottom: 5px;
  color: #707070;
  font-size: 14px;
}

.building-card-info__row .building-card-info__label {
  display: inline-block;
  vertical-align: top;
  width: 145px;
  margin-right: 15px;
  font-weight: bold;
  overflow: hidden;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}

.building-card-info__row .building-card-info__value {
  display: inline-block;
  vertical-align: top;
  width: 185px;
  overflow: hidden;
  text-overflow: ellipsis;
  -ms-text-overflow: ellipsis;
}

.building-card-info__row .btn.btn-danger {
  font-size: 16px;
}

/* сетка с квартирами */
.building-card-flats {
  display: inline-block;
  width: auto;
}

.building-card-flats-grid {
  padding: 0 10px;
}

.building-card-flats-grid-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-wrap: nowrap;
  flex-wrap: nowrap;
  margin-right: -5px;
}

.building-card-flats-grid-row__label {
  -webkit-box-flex: 0;
  -ms-flex: 0 0 75px;
  flex: 0 0 65px;
  display: inline-block;
  width: 75px;
  font-size: 14px;
  line-height: 1;
  color: #969696;
}

.building-card-flats-grid-row__item {
  display: inline-block;
  width: 20px;
  height: 20px;
  margin-right: 10px;
  margin-bottom: 10px;
  font-size: 14px;
  line-height: 21px;
  color: #FFFFFF;
  text-align: center;
  background: #ffffff;
  cursor: pointer;
}
.d-inline-flex .flat-color__booked {
  color: #cccccc !important;
  border: 1px solid #ccc;
}
.d-inline-flex .flat-color__booked i {
  padding-top: 2px;
}
.flats-grid-border-wrapper .building-card-flats-grid-row__item {
  margin-right: 6px;
}

.building-card-flats-info {
  padding-top: 25px;
}

.building-card-flats-info span {
  display: inline-block;
  vertical-align: top;
  margin-right: 10px;
  margin-bottom: 15px;
  color: #969696;
  line-height: 30px;
  background: none;
  background-color: transparent;
}
.building-card-flats-info span.flat-color__out-of-stock {
  border: none;
}
.building-card-flats-info span::before {
  content: ' ';
  display: inline-block;
  vertical-align: middle;
  width: 20px;
  height: 20px;
  margin-right: 5px;
}

.block-section .flat-color__action
{
  color: #606060;
  border: 1px solid #ca2c9f;
  background-color: #fff;
}
.block-section .flat-color__action:hover
{
  color:  #ca2c9f;
}

.block-section .flat-color__free
{
  color: #606060;
  border: 1px solid #ade7ff ;
  background-color: #ade7ff ;
}

.block-section .flat-color__free:hover{
  color: #14b9ff;
  border: 1px solid #14b9ff;
}

.block-section .flat-color__sold
{
  color: rgba(0, 109, 255, 0);
  border: 1px solid #CCCCCC;
  cursor: default;
}
.block-section .flat-color__lock{
  padding-top: 3px;
  color:  #CCCCCC;
  border: 1px solid #CCCCCC;
  cursor: default;
 height: 18px;
}

.block-section .flat-color__empty{
  border: 1px solid #CCCCCC;
  padding-top: 3px;
  color: #FFF;
  height: 17px;
  cursor: default;
}
.building-card-legend {
  margin-top: 50px;
}
.building-card-legend .flat-color__free span,
.building-card-legend .flat-color__sold span,
.building-card-legend .flat-color__out-of-stock span,
.building-card-legend .flat-color__action span,
.building-card-legend .flat-color__booked span{
  display: inline-block;
  border: 1px solid silver;
  text-align: center;
  line-height: 20px;
  margin-right: 5px;
  margin-left: 5px;
  font-size: 14px;
  width: 20px;
  height: 20px;
}
.building-card-legend .flat-color__free span {
  color: #606060;
  border: 1px solid #ade7ff ;
  background-color: #ade7ff ;
}

.building-card-legend .flat-color__out-of-stock span {
  color: #fff;
}
.building-card-legend .flat-color__sold span {
  color: #b7b7b7;
}
.building-card-legend .flat-color__booked span .fa-lock {
  color: #cccccc;
  padding-top: 2px;
}
.building-card-legend .flat-color__action span {
  color: #585858;
  border: 1px solid  #ca2c9f
}
.building-card-flats-info-soldout {
  padding: 10px;
  font-weight: 500;
  text-align: center;
  color: #FF1A1A;
  background-color: #F8F8F8;
}

.building-card-flats-info-sold-soon {
  padding: 10px;
  font-weight: 500;
  text-align: center;
  color: #313131;
  background-color: #F8F8F8;
}

/* Сетка внутри карточки корпуса вариант 1*/
.building-card.layout-1 .building-card-info {
  float: left;
    padding-bottom: 10px;
}

/* Сетка внутри карточки корпуса вариант 2*/
.building-card.layout-2 .building-card-data {
  min-height: 550px; /* зависит от минимальной высоты слайдера и блока с информацией */
    padding-bottom: 20px;
}

.building-card.layout-2 .building-card-slider {
  float: left;
}

.building-card.layout-2 .building-card-info {
  display: inline-block;
  position: absolute;
  left: 0;
  top: 275px; /* top зависит от высоты слайдера */
}

.building-card.layout-2 .building-card-flats {
  float: left;
  width: 450px;
  min-height: 500px;
}

.building-card.layout-2 .building-card-flats-grid-row__label {
  height: 30px;
  line-height: 21px;
  font-size: 14px;
  width: auto;
  text-align: right;
  margin-right: 20px;
  -ms-flex: 0 0 40px;
  flex: 0 0 30px;

}

.building-card.layout-2 .building-card-flats-info span::before {
  width: 20px;
  height: 20px;
}

/* Сетка внутри карточки корпуса вариант 3*/
.building-card.layout-3 .building-card-slider {
  float: right;
}

.building-card.layout-3 .building-card-info {
  float: left;
}

.building-card.layout-3 .building-card-flats {
  float: none;
  width: 100%;
}

.building-card.layout-3 .building-card-info__row .btn {
  display: none;
}

/* Поповер */
.popover.flat-popover {
  min-width: 400px;
  width: auto;
  border-radius: 0;
}

.popover.flat-popover.non-residental {
  min-width: auto;
}

.popover.flat-popover .popover-content {
  padding: 20px;
}

.popover.flat-popover img {
  display: inline-block;
  vertical-align: top;
  height: auto;
  border: solid 1px #E2E2E2;
}

.popover.flat-popover .flat-popover__txt {
  display: inline-block;
  padding-top: 15px;
  padding-left: 15px;

}

.popover.flat-popover p {
  margin-top: 0;
  margin-bottom: 5px;
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  color: #707070;
  text-align: left !important;
}

.popover.flat-popover .flat-popover__title {
  font-size: 18px;
  color: #313131;
}


.popover.flat-popover .flat-popover__price {
  font-weight: bold;
  color: #02344A;
}


.popover.flat-popover .flat-popover__price.status_2 {
    color:#FFC000;
}

.popover.flat-popover .flat-popover__price.status_3 {
    color:#FF1A1A;
}

.popover.flat-popover .flat-popover__price.status_4 {
  color:#ca2c9f;
}
.popover.flat-popover .flat-popover__price.status_5 {
  color:#cccccc;
}


#tab1 .building-card.layout-2 .building-card-info {
  top: 250px;
}

#imageGallery>.lslide>img{
  margin: 0;
}

.lSPager.lSGallery{
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}
.lSPager.lSGallery>li{
  margin:0;
}

.flex {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
}

.slider-center{
  height: 100%;
  justify-content: center;
  align-items: center;
}
td .double-level {
  height: 55px;
  line-height: 55px;
}

td .flat-color__booked {
  color: #ccc;
  border: 1px solid #ccc;
}
td .flat-color__booked .fa{
  line-height: inherit;
}

.smk-alert-content {
  position: fixed;
  z-index: 2060;
  max-width: 100%;
  width: 360px;
}

.smk-alert-content-top-right {
  top: 20px;
  right: 20px;
}

.smk-alert-content-top-center {
  top: 20px;
  left: 50%;
  margin: 0 0 0 -180px;
}

.smk-alert-content-top-left {
  top: 20px;
  left: 20px;
}

.smk-alert-content-bottom-right {
  right: 20px;
  bottom: 0;
}

.smk-alert-content-bottom-center {
  bottom: 0;
  left: 50%;
  margin: 0 0 0 -180px;
}

.smk-alert-content-bottom-left {
  bottom: 0;
  left: 20px;
}

.smk-alert {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  opacity: 0;
  filter: alpha(opacity=0);
  -webkit-box-align: center;
  -ms-flex-align: center;
  align-items: center;
  -webkit-box-pack: justify;
  -ms-flex-pack: justify;
  justify-content: space-between;
}