/*
    SCN Property Navigator stylesheet
    Author     : Aleksandar
*/

body, html {
  padding: 0;
  margin: 0;
  /* overflow: auto; */
  background-color: #383d42;
  height: 100vh;
}

body::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
body {
  -ms-overflow-style: none;
}

* {
  font-family: Optima-Regular;
}

*:focus {
  outline: 0;
}

.login .container,
.reset .container {
  height: 100vh;
  display: flex;
  align-items: center;
  justify-items: center;
}

sup {
  line-height: 1;
}

.app_wrapper {
  position: relative;
  /* overflow: auto; */
  height: 100vh;
  /* width: 100vw; */
  width: 100%;
}

.app_wrapper:after{
  position: fixed;
  height: 50px;
  width: 50px;
  /* content: ""; */
  border-radius: 50%;
  border: 1px solid red;
  display: block;
  top: 50%;
  left: 50%;
  transform: translate(-50%,-50%);
  z-index: 10000;
}

.clearing:after {
  display: block;
  content: '';
  clear: both;
}


.views_panner{
  position: relative;
  /* overflow: auto; */
  height: 100vh;
  /* width: 100vw; */
  width: 100vw;
  overflow: scroll;
}


.views_panner::-webkit-scrollbar {
  display: none;
}

/* Hide scrollbar for IE and Edge */
.views_panner {
  -ms-overflow-style: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(359deg);
  }
}

@keyframes rotateplane {
  0% {
    transform: perspective(120px) translateZ(30px) rotateX(0deg) rotateY(0deg);
  }

  50% {
    transform: perspective(120px) translateZ(30px) rotateX(-180.1deg) rotateY(0deg);
  }

  100% {
    transform: perspective(120px) translateZ(30px) rotateX(-180deg) rotateY(-179.9deg);
  }
}

.animate-spin {
  animation: spin 2s infinite linear;
  display: inline-block;
}

.loader {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 0;
  background-color: rgba(0, 0, 0, 0.7);
  opacity: 0;
  z-index: -1;
  transition: all 0.4s ease 0s;
}

.loader:after {
  content: "";
  position: absolute;
  left: calc(50% - 30px);
  top: calc(50% - 30px);
  width: 60px;
  height: 60px;
  background-color: #f90;
  margin: 0 auto;
  animation: rotateplane 1.2s infinite ease-in-out;
  transform-style: flat;
  display: none;
}

.app_wrapper.loading .loader {
  display: block;
  opacity: 1;
  z-index: 60;
  height: 100%;
}

.initial_screen {
  text-align: center;
  color: #eee;
  display: flex;
  justify-content: center;
  font-size: 8vw;
  padding: 45vh 0 0;
}

.action-wrap {
  text-align: center;
}

button, a.button {
  color: #fff;
  font-family: 'Graphik-Regular', sans-serif;
  background-color: #232438;
  border: 0 solid #999;
  padding: 8px 13px 8px 13px;
  font-size: 18px;
  cursor: pointer;
  transition: all 0.4s ease 0s;
  margin: 0 0 4px;
  display: block;
  text-decoration: none;
  text-align: center;
}

button > i, a.button > i {
  margin-right: 1px;
  display: none;
}

button:hover, a.button:hover {
  background-color: #4c50a9;
}

.badge {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 56px;
  height: 56px;
  cursor: pointer;
  background-color: rgba(32, 33, 54, 0.9);
  border-radius: 50%;
  transition: all 0.4s ease 0s;
  overflow: hidden;
  text-align: center;
  outline: none;
  -webkit-touch-callout: none; /* iOS Safari */
  -webkit-user-select: none; /* Safari */
  -khtml-user-select: none; /* Konqueror HTML */
  -moz-user-select: none; /* Old versions of Firefox */
  -ms-user-select: none; /* Internet Explorer/Edge */
  user-select: none;
}

.field_wrapper-outer {
  padding-top: 15px;
  text-align: left;
}

.field_wrapper {
  position: relative;
  padding-bottom: 30px;
}

.field_wrapper.terms_field_wrapper{
  display: flex;
  align-items: center;
}

.field_wrapper label{
  color: rgba(32, 33, 54, 1);
  font-family: Graphik-Regular;
  font-size: 12px;
  margin: 0 0 10px;
  display: block;
}

.field_wrapper .error-msg {
  color: #c96262;
  font-family: Graphik-Regular;
  font-size: 12px;
  display: none;
  position: absolute;
  bottom: 10px;
  left: 0;
  width: 100%;
  text-align: left;
}

.field_wrapper.error .error-msg {
  display: block;
}

input.popup_input,
textarea.popup_input,
select.popup_input {
  font-size: 20px;
  padding: 15px;
  border: 0 none;
  border-bottom: 1px solid #aaa;
  width: 100%;
  max-width: calc(100% - 30px);
  text-align: left;
  background-color: #14171c22;
  font-family: Graphik-Regular;
  font-size: 16px;
  color: rgb(32, 33, 54);
}

h3.best_time {
  margin: 0 0 20px;
  font-size: 14px;
  color: #6a6b70;
}

input.popup_input.invalid{
  border-color: #c96262;
}

.invalid + .error-msg{
  display: block;
}

input.popup_input:valid{
  border-color: #179e61;
}

.popup_checkbox {
  /*
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  */
  height: 24px;
  width: 24px;
  border-radius: 4px;
  border: 1px solid #fff;
  background-color: transparent;
  margin: 0;
}

input.popup_checkbox:checked {
  border: 1px solid red;
  content: '\2713';
}

.input.popup_checkbox + span {
  content: '\2713';
  display: block;
  text-align: center;
  color: #fff;
  position: absolute;
  left: 0.7rem;
  top: 0.2rem;
}

input.popup_checkbox:active {
  border: 2px solid #34495E;
}

.field_wrapper label.terms_label {
  display: flex;
  align-items: center;
  margin: 0;
  font-family: Graphik-Regular;
  font-size: 12px;
  cursor: pointer;
}

.field_wrapper label.terms_label > input{
  height: 24px;
  width: 24px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -o-appearance: none;
  appearance: none;
  border: 1px solid #aaa;
  border-radius: 4px;
  outline: none;
  transition-duration: 0.3s;
  background-color: transparent;
  cursor: pointer;
  margin-right: 17px;
  cursor: pointer;
}

.field_wrapper label.terms_label > input:checked {
  border: 1px solid #41B883;
}

.field_wrapper label.terms_label > input.invalid {
  border: 1px solid #c96262;
}

.field_wrapper label.terms_label > input:checked + span::before {
  font-family: "fontello";
  content: '\e82b';
  display: block;
  text-align: center;
  color: #41B883;
  position: absolute;
  left: 6px;
  top: 4px;
  font-size: 14px;
  cursor: pointer;
}

.popup_link:visited,
.popup_link {
  color: inherit;
  transition: all 0.4s ease 0s;
}

.popup_link:hover {
  opacity: 0.75;
}

select.popup_input {
  width: 324px;
}

select.popup_input .plc-holder {
  color: #7b7e86;
}

select.popup_input option {
  color: black;
  text-transform: none;
}

::-webkit-input-placeholder { /* Chrome/Opera/Safari */
  color: #7b7e86;
}

::-moz-placeholder { /* Firefox 19+ */
  color: #7b7e86;
}

:-ms-input-placeholder { /* IE 10+ */
  color: #7b7e86;
}

:-moz-placeholder { /* Firefox 18- */
  color: #7b7e86;
}


.header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  height: 70px;
  text-align: center;
  border-bottom: 1px solid rgba(216, 216, 216, 0.3);
}

.navigator_title {
  color: #fff;
  text-align: center;
  margin: 23px 0 17px;
  display: none;
  font-size: 24px;
  font-weight: 400;
}

.complex_active .navigator_title{
  display: block;
  text-shadow: #00000077 0px 2px 3px;
}

.home_badge {
  display: flex;
  position: fixed;
  top: 74px;
  left: 10px;
  z-index: 25;
  -webkit-touch-callout: none;
  align-items: center;
  display: none;
}

.home_badge > i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  flex: 0 0 45px;
}

.loading .home_badge {
  display: none;
}

.home_badge:hover > i {
  color: rgba(255, 255, 255, 0.975);
}

.complex_active .home_badge {
  height: 0;
  overflow: hidden;
}

/**** MENU BADGE ****/
.sidebar_badge {
  display: none;
  position: fixed;
  top: 10px;
  left: 22px;
  z-index: 50;
  -webkit-touch-callout: none;
  align-items: center;
  background-color: transparent;
  width: auto;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border-radius: 0;
}

.complex_active .sidebar_badge {
  display: flex;
}

.complex_active .sidebar_badge span {
  overflow: hidden;
  display: block;
  background-color: transparent;
  background: url(../img/menu.svg) no-repeat center transparent;
  height: 24px;
  width: 24px;
  background-size: cover;
  transition: all 0.4s ease 0s;
}

.sidebar_badge > div {
  white-space: nowrap;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  margin-left: 16px;
}

/*
.sidebar_badge:before,
.sidebar_badge:after,
.sidebar_badge span {
  display: block;
  content: "";
  width: 24px;
  height: 9px;
  margin: 6px auto 5px;
  position: relative;
  top: 14px;
  z-index: 1;
  transform-origin: center center;
  transition: all .5s ease 0s;
  border-bottom: 1px solid #fff;
  border-top: 1px solid #fff;
}

.sidebar_badge span {
  display: none;
}

.sidebar_badge:after {
  position: absolute;
  width: 20px;
  right: 16px;
  top: 19px;
}
*/

.sidebar_badge.active span {
  background: url(../img/menu_close.svg) no-repeat center transparent;
}

/*
.sidebar_badge.active:before {
  height: 1px;
  top: 9px;
  width: 20px;
  transform: rotate(405deg) translate3d(7px, 7px, 0);
  border-bottom-color: transparent; 
}

.sidebar_badge.active:after {
  height: 1px;
  top: 29px;
  transform: rotate(-405deg) translate3d(7px, -7px, 0);
  border-bottom-color: transparent;
}

.sidebar_badge.active span {
  opacity: 0;
  -webkit-transform: rotate(0deg) scale(0.2, 0.2);
  transform: rotate(0deg) scale(0.2, 0.2);
}
*/

/**** SIDEBAR ****/

.sidebar  {
  position: fixed;
  left: -400px;
  top: 0;
  height: 100%;
  z-index: 45;
  overflow: hidden;
  background-color: rgba(0, 0, 0, 0.75);
  transition: all 0.4s ease 0s;
  width: 370px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.sidebar_active .sidebar,
.sidebar.active {
  left: 0;
}

.sidebar .buildings {
  padding: 10px 5px;
  margin: 50px 0 0;
  overflow-y: auto;
  height: calc(100% - 75px);
}

.sidebar .buildings .building_item {
  border: solid 1px #fff;
  font-size: 18px;
  text-align: center;
  margin: 16px 24px;
  color: #fff;
  opacity: 0.8;
}

.sidebar .buildings .building_item:hover {
  opacity: 1;
}

.sidebar .buildings .building_item.active {
  opacity: 1;
}

.sidebar .buildings .building_item .building_label{
  text-align: center;
  cursor: pointer;
  display: block;
  padding: 13px 20px;
  cursor: pointer;
}

.sidebar .buildings .building_item .desc_wrapper{
  max-height: 0;
  transition: all 0.6s ease 0s;
  /* transition: all 0.5s cubic-bezier(0.25, 0.8, 0.5, 1) 0s; */
  overflow: hidden;
}

.sidebar .buildings .building_item .desc_wrapper .desc{
  padding: 0px 20px;
}

.sidebar .buildings .building_item.active .desc_wrapper{
  max-height: 3260px;
}

.sidebar .buildings .building_item .building_link{
  margin: 10px 15px;
  text-decoration: none;
  display: block;
  padding: 7px;
}

.sidebar .buildings .building_item .building_link:hover{
  background-color: rgba(255,255,255,0.2);
}


/**** MENU ****/

.filter_wrapper {
  position: fixed;
  left: -300px;
  top: 0;
  z-index: 45;
  overflow: hidden;
  transition: all 0.4s ease 0s;
  width: 290px;
  height: 100%;
  background-color: rgba(32, 33, 54, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.filter_wrapper.active {
  left: 0;
}

.filter_badge {
  display: block;
  position: fixed;
  top: 6px;
  left: 10px;
  z-index: 50;
  -webkit-touch-callout: none;
  background-color: rgba(32, 33, 54, 0.9);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.complex_active .menu_badge,
.complex_active .filter_badge {
  height: 0;
  overflow: hidden;
}

.filter_badge:before,
.filter_badge:after,
.filter_badge span {
  display: block;
  content: "";
  width: 20px;
  height: 2px;
  margin: 6px auto 5px;
  position: relative;
  background-color: #eee;
  border-radius: 3px;
  z-index: 1;
  transform-origin: center center;
  transition: all 0.75s ease 0s;
  top: 13px;
  left: 0;
}

.filter_badge:hover:before,
.filter_badge:hover:after,
.filter_badge:hover span {
  background-color: #fff;
}

.filter_badge.active {
  /* background-color: transparent; */
  border-radius: 0;
  left: 290px;
  width: 30px;
  top: 0;
  height: 70px;
}

.filter_badge.active:before {
  transform: rotate(405deg) translate3d(7px, 7px, 0);
  top: 19px;
  left: -3px;
  width: 12px;
  height: 3px;
  border-radius: 0 3px 3px 0;
}

.filter_badge.active:after {
  transform: rotate(-405deg) translate3d(7px, -7px, 0);
  top: 14.5px;
  left: -3px;
  width: 12px;
  height: 3px;
  border-radius: 0 3px 3px 0;
}

.filter_badge.active span {
  /* opacity: 0; */
  -webkit-transform: rotate(0deg) scale(0, 1);
  transform: rotate(0deg) scale(0, 1);
  left: -7px;
}

.complex_active .filter_wrapper {
  display: none;
}

.menu {
  transition: all 0.4s ease 0s;
  padding: 20px 8px;
  margin: 1px 0 0;
  overflow-y: auto;
  height: calc(100% - 75px);
}

.menu .menu_group {
  margin: 0 0 35px;
}

.menu .menu_group.filter_price {
  display: none;
}

.menu .menu_group.links,
.menu .menu_group.filter_status {
}

.menu .menu_section {
  max-height: 0;
  overflow: hidden;
  transition: all 0.4s ease;
  margin: 10px;
}

.menu .menu_section.active {
  max-height: 16000px;
  transition: all 0.4s ease 0.4s;
}

.menu .menu_section.ms_apts.active {
  margin-bottom: 35px;
}

.menu h3 {
  margin: 0 14px 10px;
  color: #eee;
  text-transform: uppercase;
}

.menu_items {
  display: block;
}

.menu_items.boxes {
  display: flex;
  flex-wrap: wrap;
  margin: 0 9px;
}

.menu_items .menu_item {
  /*  flex: 1; */
}

.menu_item a {
  color: #fff;
  display: flex;
  padding: 2px 14px;
  min-width: 150px;
  text-decoration: none;
  transition: all .4s ease 0s;
  font-size: 20px;
}

/** VACANT **/
.menu_item a.status_1 i {
  background-color: #07894559;
}

/** LEASED **/
.menu_item a.status_2 i {
  background-color: #9d2fdd59;
}

/** RESERVED **/
.menu_item a.status_3 i {
  background-color: #0a6b8359;
}

/** SOLD **/
.menu_item a.status_4 i {
  background-color: #ffffff59;
}

/** BLOCKED **/
.menu_item a.status_5 i {
  background-color: #ce892959;
}

/** TERMINATED **/
.menu_item a.status_6 i {
  background-color: #101a6059;
}

.menu_item a.back_to_cplx {
  text-transform: uppercase;
  padding: 22px 14px;
}

.boxes .menu_item a {
  text-decoration: none;
  padding: 0;
  font-size: 16px;
  border: 1px solid #fff;
  height: 40px;
  width: 40px;
  min-width: 0;
  overflow: hidden;
  margin: 0 2px 5px;
  justify-content: center;
  align-items: center;
}

.menu_item.show-hide a .show_filters {
  display: none;
}

.menu_item.show-hide a.expanded .browse_all {
  display: none;
}

.menu_item.show-hide a.expanded .show_filters {
  display: inline;
}

.menu_item.show-hide a i:before {
  transition: all .3s ease;
}

.menu_item.show-hide a.expanded i:before {
  transform: rotate(180deg);
}

.menu_item a:hover {
  color: #fff;
  background-color: rgba(16, 55, 102, 0.98);
}

.menu_item a.selected {
  color: #fff;
  background-color: rgba(16, 55, 102, 0.98);
}

.boxes .menu_item a.selected {
  color: #fff;
  height: 34px;
  width: 34px;
  border: solid 4px #3358ad;
  background-color: #7698ea;
}

.menu_item a.ap_type_1.selected {
}

.menu_item a.ap_type_2.selected {
}

.menu_item a.ap_type_3.selected {
}

.menu_item a.ap_type_4.selected {
}

.menu_item a.ap_type_5.selected {
}

.menu_item a.ap_type_6.selected {
  border: solid 4px #3358ad;
  background-color: #7698ea;
}

.menu_item a i {
  border: 1px solid #aaa;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
}

/*
.filter_status .menu_item a i {
  border: 1px solid #aaa;
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  border-radius: 50%;
  margin-right: 10px;
}
*/

.menu_item a span {
  display: inline-block;
}

.menu_item a.selected i {
  border: 1px solid #fff;
}

.links .menu_item a.clear_filters i {
  width: 20px;
  height: 20px;
  display: inline-block;
  position: relative;
  margin-right: 10px;
  left: 0px;
}

.menu_item .clear_filters i:before,
.menu_item .clear_filters i:after {
  display: block;
  content: "";
  width: 100%;
  height: 3px;
  position: absolute;
  background-color: #cdcdcd;
  border-radius: 3px;
  z-index: 1;
  transform-origin: center center;
  top: calc(50% - 1.5px);
  left: 0;
  opacity: .7;
}

.menu_item .clear_filters i:before {
  transform: rotate(45deg);
}

.menu_item .clear_filters i:after {
  transform: rotate(-45deg);
}

.menu_item a.selected i:after {
  border: 2px solid #fff;
  border-color: transparent #fff #fff transparent;
  width: 5px;
  height: 10px;
  margin: 0 6px;
  display: block;
  content: "";
  transform: rotate(45deg);
}

/*
.filter_status .menu_item a.selected i:after {
  border: 0 none;
  background-color: #fff;
  width: 10px;
  height: 10px;
  margin: 5px;
  display: block;
  content: "";
  border-radius: 50%;
  transform: none;
}
*/

.links .menu_item a i {
  border: 0 none;
  left: -5px;
}

.slide-container {
  padding: 0 20px 0 14px;
}

.slide-container .demo{
  text-align: center;
  color: #fff;
  font-size: 12px;
  margin: 12px 0 0;
}

.slide-container .demo sup{
  font-size: 8px;
}

.ui-slider-horizontal .ui-slider-handle {
  border: 1px solid #d3b298;
  background: #d3b298;
  font-weight: normal;
  color: #d3b298;
  border-radius: 50%;
  width: 22px;
  height: 22px;
  top: -11px;
  user-select: none;
  outline: none;
}

.ui-slider-horizontal {
  height: 1px;
  background: rgba(216, 216, 216, 0.3);
  border: 0 none;
}

.ui-widget.ui-widget-content{
  border: 0 none;
  margin: 23px 8px 0;
}

.ui-slider-horizontal .ui-slider-range {
  height: 2px;
  background: #d3b298;
}

.demo-wrap {
  color: #fff;
  font-size: 20px;
  margin-bottom: 10px;
  text-transform: uppercase;
  position: relative;
}

.demo-wrap .area_unit{
  position: absolute;
  right: 0;
  top: 0;
  text-transform: lowercase;
  display: flex;
}

.demo-wrap .area_unit > div{
  cursor: pointer;
  flex: 0 0 16px;
  border: 1px solid #aaaaaa66;
  align-content: center;
  color: #ffffff70;
  font-size: 13px;
  padding: 3px;
  text-align: center;
  transition: all 0.4s ease 0s;
}

.demo-wrap .area_unit sup{
  font-size: 8px;
}

.demo-wrap .area_unit > div:hover,
.demo-wrap .area_unit > div.active{
  color: #fff;
  border-color: #d3b298;
  background-color: #d3b298;
}

.building_caption {
  z-index: 25;
  color: #fff;
  padding: 20px 0;
  margin: 0;
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  width: 100%;
  text-align: center;
  border-bottom: 1px solid rgba(216, 216, 216, 0.3);
  font-size: 24px;
  font-weight: 400;
  text-shadow: #00000077 0px 2px 3px;
}

.complex_active .navigator_title:before,
.building_caption:before {
  position: absolute;
  content: "";
  display: block;
  background: linear-gradient(180deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0) 99%);
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  z-index: -1;
}

.complex_active .navigator_title:after,
.building_caption:after {
  background: url(../img/rakp_logo.svg) center / contain no-repeat transparent;
  content: "";
  display: block;
  height: 100%;
  width: 80px;
  position: absolute;
  top: 0;
  right: 30px;
}

.im_interested {
  z-index: 25;
  color: #fff;
  padding: 29px 30px 20px 0;
  margin: 0;
  position: fixed;
  z-index: 20;
  top: 0;
  right: 10px;
  width: 145px;
  text-align: right;
  font-size: 16px;
  font-weight: 400;
  text-decoration: none;
  background: url(../img/like.svg) no-repeat right 22px transparent;
}

.complex_active .building_caption {
  display: none;
}

.complex_active .im_interested {
  display: none;
}


/**** NAVIGATION ****/

.nav {
  position: fixed;
  top: calc(50vh - 22px);
  z-index: 25;
  -webkit-touch-callout: none;
  color: rgba(255,255,255,0.8);
  font-size: 22px;
  background: url('') no-repeat center / 25px rgba(32, 33, 54, 0.9);
}

.single_view .nav {
  display: none;
}

.nav i {
  display: none;
}

.nav.hidden {
  display: none;
}

.nav:hover {
  background-color: rgba(42, 50, 103, 0.9);
  color: rgba(255,255,255,1);
}

.nav.nav_left {
  left: 10px;
  background-image: url(../img/rotate-angle-left.svg);
}

.filter_active .nav.nav_left,
.sidebar_active .nav.nav_left {
  left: 300px;
}

.nav.nav_right {
  right: 10px;
  background-image: url(../img/rotate-angle-right.svg);
}

/**** ZOOM CONTROLS ****/

.zoom_controls {
  position: fixed;
  left: 50vw;
  bottom: 0;
  z-index: 25;
  display: flex;
  transform: translateX(-50%);
  width: 442px;
  height: 43px;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  background-color: rgba(32, 33, 54, 0.6);
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease 0s;
}

.building_active .zoom_controls {
}

.building_active.filter_active .zoom_controls {
}

.zoom_controls.hidden {
  display: none;
}

.zoom_controls .zoom_slider {
  width: 70%;
}

.zoom_controls .zoom_slider.ui-widget.ui-widget-content {
  border: 0 none;
  margin: 0 12px 0;
}

.zoom_controls .zoom_in,
.zoom_controls .zoom_out {
  -webkit-touch-callout: none;
  text-align: center;
  font-size: 22px;
  color: #eee;
  margin: 0;
  height: 100%;
  width: 50px;
  background-color: transparent;
  user-select: none;
}

.zoom_controls .zoom_in{
  background: url("../img/zoom-in.svg") no-repeat center / 24px transparent;
}

.zoom_controls .zoom_out {
  background: url("../img/zoom-out.svg") no-repeat center / 24px transparent;
}

.zoom_controls > div:hover {
  opacity: 0.7;
}

.zoom_controls > .badge > span{
  display: none;
}

/**** LANGUAGE SELECTOR ****/

.lang_selector {
  display: flex;
  width: 45px;
  height: 45px;
  position: fixed;
  bottom: 10px;
  right: 10px;
  cursor: pointer;
  z-index: 25;
  -webkit-touch-callout: none;
  flex-flow: column-reverse;
  border-radius: 9px;
  background-color: rgba(151, 151, 151, 0.7);
  overflow: hidden;
  transition: all 0.4s ease 0s;
}

.loading .lang_selector {
  display: none;
}

.lang_selector > div {
  flex: 0;
  width: 45px;
  height: 0;
  cursor: pointer;
  -webkit-touch-callout: none;
  opacity: 0;
  color: #fff;
  font-size: 18px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.4s ease 0s;
}

.lang_selector.active {
  height: auto;
}

.lang_selector.active > div {
  opacity: 1;
  height: 45px;
  flex: 1 0 45px;
}

.lang_selector.active > div:hover {
  background-color: rgba(58, 118, 208, 0.88);
}

.lang_selector.active > div.selected,
.lang_selector > div.selected {
  flex: 1 0 45px;
  opacity: 1;
  height: 45px;
  background-color: rgba(16, 55, 102, 0.8);
}

/**** User section ****/

.user_section {
  position: fixed;
  top: 10px;
  right: 10px;
  align-items: center;
  z-index: 50;
  display: flex;
  justify-content: flex-end;
}

.user_section > .logged_user {
  font-size: 16px;
  color: #fff;
  margin: 0 10px;
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.7);
}

.user_section > .user_links {
  display: flex;
  background-color: rgba(16, 55, 102, 0.8);
  border-radius: 9px 0 0 9px;
  transition: all 0.4s ease 0s;
  text-align: center;
  align-self: stretch;
  align-items: center;
  width: 0;
  opacity: 0;
  overflow: hidden;
}

.user_section.active > .user_links {
  width: 153px;
  opacity: 1;
}

.user_section > .user_links a {
  font-size: 15px;
  color: #f1f1f1;
  padding: 0 10px;
  white-space: nowrap;
}

.user_section > .user_links a:hover {
  color: #fff;
}

.user_badge {
  display: flex;
  align-items: center;
  z-index: 25;
}

.user_badge > i {
  color: rgba(255, 255, 255, 0.8);
  font-size: 30px;
  transition: all 0.4s ease 0s;
  flex: 0 0 45px;
}

.user_section.active .user_badge {
  border-radius: 0 9px 9px 0;
}

.user_badge:hover > i {
  color: rgba(255, 255, 255, 1);
}

/**** Favorites ****/

.fav_book_wrapper {
  position: fixed;
  bottom: 10px;
  left: 10px;
  z-index: 25;
}

.favorites_badge {
  display: flex;
  -webkit-touch-callout: none;
  align-items: center;
}

.favorites_badge > i {
  color: #fff;
  font-size: 30px;
  transition: all 0.4s ease 0s;
  flex: 0 0 45px;
}

.favorites_badge.has_favorites > i.empty {
  display: none;
}

.favorites_badge.has_favorites > i.full {
  display: block;
  color: #ff6;
}

.favorites_badge > i:hover {
  transform: scale(1.1);
}

.favorites_badge.empty > i {
  color: #fff;
}

.popup_wrapper {
  position: fixed;
  width: 100%;
  height: 0;
  bottom: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
  transition: all 0.4s ease 0s;
  overflow: hidden;
  z-index: 80;
}

.popup_wrapper .popup_close {
  width: 56px;
  height: 56px;
  position: fixed;
  display: none;
  right: 24px;
  top: 24px;
  background: url(../img/close-large.svg) no-repeat 0 0 / contain transparent;
  cursor: pointer;
  opacity: 1;
  transition: all 0.5s ease 0s;
  z-index: 55;
}

.popup_wrapper.active .popup_close {
  display: block;
}

.popup_wrapper .popup_close:hover {
  opacity: 0.7;
}

.popup_wrapper.active {
  height: 100%;
}

.popup_wrapper .index_popup {
  margin: 0;
  background-color: rgba(255, 255, 255, 0.78);
  min-height: 100%;
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  height: 100%;
  overflow-y: auto;
  margin: 56px 20% 0;
}

.popup_wrapper .index_popup .index_popup_content {
  display: flex;
  height: 100%;
  align-content: flex-start;
}

.popup_wrapper .index_popup .index_popup_content h2 {
  padding: 0;
  font-size: 36px;
  font-weight: normal;
  margin: 30px 0 0;
  text-align: left;
  color: rgba(32, 33, 54, 1);
}

.popup_wrapper .index_popup .index_popup_content h2.left_label {
  color: #fff;
  align-self: center;
  padding: 0 50px;
  z-index: 10;
}

.popup_wrapper .index_popup .index_popup_content .popup_back {
  position: absolute;
  z-index: 0;
  height: 100%;
  width: 100%;
  left: 0;
  opacity: 0.34;
  background: none no-repeat center/cover transparent;
}

.popup_wrapper .index_popup .index_popup_content .popup_subtitle {
  font-size: 14px;
  font-weight: normal;
  text-align: left;
  color: #7b7e86;
  margin: 10px 0 35px;
}

.index_popup_content .popup-form {
  flex: 2;
  display: flex;
  background-color: #fff;
  flex-flow: column;
  padding: 4% 8%;
  overflow-y: auto;
  position: relative;
  z-index: 10;
  background: rgba(255, 255, 255, 1);
}

.index_popup_content .index_content_table {
  margin: 0 -5px;
  display: flex;
  flex-wrap: wrap;
  flex: 0;
  justify-content: center;
}

.index_popup_content .action-wrap {
  flex-wrap: wrap;
  margin: 10px 0 60px;
}

.index_popup_content .action-wrap button{
  display: inline-block;
}

.index_popup_content #inquiry-submit {
  width: 100%;
  font-size: 18px;
  padding: 20px 0;
}

.popup-form #inquiry-submit i{
  display: none;
}

.sending #inquiry-submit i{
  display: inline-block;
}

.phone_innerfield_wrapper {
  display: flex;
  width: 100%;
}

.phone_innerfield_wrapper #calling_code {
  flex: 0 0 40px;
  margin-right: 5px;
}

.popup_wrapper #favorites-send_mail,
.popup_wrapper #reservations-send_mail {
  color: #888;
  cursor: default;
  background-color: rgba(55, 55, 55, 0.9);
  opacity: 0.5;
}

.popup_wrapper.has_favorites #favorites-send_mail,
.popup_wrapper.has_reservations #reservations-send_mail {
  color: #fff;
  cursor: pointer;
  background-color: rgba(16, 55, 102, 0.9);
  opacity: 1;
}

.popup_wrapper #favorites-send_mail i.icon-spin4,
.popup_wrapper.sending #favorites-send_mail i.icon-mail-alt,
.popup_wrapper #reservations-send_mail i.icon-spin4,
.popup_wrapper.sending #reservations-send_mail i.icon-mail-alt,
.popup_wrapper #forgot-pwd-send_mail i.icon-spin4,
.popup_wrapper.sending #forgot-pwd-send_mail i.icon-mail-alt,
.popup_wrapper #save-profile i.icon-spin4,
.popup_wrapper.sending #save-profile i.icon-floppy{
  display: none;
}

.popup_wrapper #favorites-send_mail i.icon-mail-alt,
.popup_wrapper.sending #favorites-send_mail i.icon-spin4,
.popup_wrapper #reservations-send_mail i.icon-mail-alt,
.popup_wrapper.sending #reservations-send_mail i.icon-spin4,
.popup_wrapper.sending #forgot-pwd-send_mail i.icon-spin4,
.popup_wrapper.sending #save-profile i.icon-spin4 {
  display: inline-block;
}

.index_popup_content .index_content_table .favorite_reservation_entry {
  display: flex;
  justify-content: space-between;
  position: relative;
  border: 1px solid rgba(32, 33, 54, 1);;
  margin: 0 5px 10px;
  width: 285px;
  max-width: 100%;
  flex-flow: column-reverse;
  background-color: #fafafc;
  /* box-shadow: 3px 3px 5px -2px rgba(0, 0, 0, 0.15); */
  font-size: 14px;
  background-color: rgba(32, 33, 54, 1);
  color: #fff;
}

.index_popup_content .index_content_table .favorite_reservation_entry .details {
  flex: 2 0;
  line-height: 1.5;
  padding: 15px;
}

.index_popup_content .index_content_table .details .building-name {
  margin-top: 0;
  font-size: 20px;
}

.index_popup_content .index_content_table .favorite_reservation_entry .details div {
  display: flex;
}

.index_popup_content .index_content_table .favorite_reservation_entry .details div label {
  flex: 0 0 120px;
  position: relative;
}

.index_popup_content .index_content_table .favorite_reservation_entry .details div label:after {
  content: " : ";
  right: 5px;
  position: absolute;
}

.index_popup_content .index_content_table .favorite_reservation_entry .details div span {
  flex: 1 1 auto;
  text-align: left;
}

.index_popup_content .index_content_table .favorite_reservation_entry .thumb {
  flex: 3 0 auto;
  height: 190px;
  background-color: #fff;
  background-position: center;
  background-size: contain;
  background-repeat: no-repeat;
  box-shadow: inset 0px 0px 2px rgba(16, 55, 102, 0.3);
}

.index_popup_content .index_content_table .favorite_reservation_entry .remove_link {
  position: absolute;
  right: 0;
  top: 0;
  cursor: pointer;
  color: #333;
  font-size: 35px;
  transition: all 0.4s ease 0s;
  text-shadow: 0px 0px 5px rgba(255, 255, 255, 0.8);
}

.index_popup_content .index_content_table .favorite_reservation_entry .remove_link i:before {
  z-index: 2;
  position: relative;
}

.index_popup_content .index_content_table .favorite_reservation_entry .remove_link:hover {
  color: #f00;
}

.index_popup_content .index_content_table .favorite_reservation_entry .remove_link i:after {
  content: '\e80d';
  position: absolute;
  right: 0;
  top: 0;
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  speak: none;
  display: inline-block;
  text-decoration: inherit;
  width: 1.3em;
  margin-right: 0;
  text-align: center;
  opacity: .8;
  font-variant: normal;
  text-transform: none;
  line-height: 1.1em;
  margin-left: 0;
  font-size: 110%;
  -webkit-font-smoothing: antialiased;
  color: #fff;
  z-index: 0;
}

.index_popup_content .index_content_table .favorite_reservation_entry .remove_from_favs:hover {
  color: #f00;
}

/*** File upload ***/
.file-upload-wrap {
  border-radius: 5px;
  background-color: #f8f9fb;
  border: dashed 1px #0a62ba;
  height: 0;
  padding-top: 150px;
  position: relative;
  width: 100%;
  max-width: 324px;
  margin: 0px auto;
}

.file-upload-wrap.error {
  border-color: #e54c00;
}

.file-upload-wrap.error .ready {
  display: none;
}

.file-upload-wrap input[type="file"] {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 2;
  opacity: 0;
  width: 100%;
  height: 100%;
}

.file-upload-wrap .file-upload-state {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  width: 100%;
  height: 100%;
}

.file-upload-wrap.multiple-file-upload-wrap input[type="file"] {
  z-index: 1;
}

.file-upload-wrap.multiple-file-upload-wrap .file-upload-state {
  z-index: 2;
}

.file-upload-wrap.multiple-file-upload-wrap a {
  font-weight: 600;
  font-size: 16px;
  color: #0a62ba;
  text-decoration: none;
  font-size: 16px;
  display: block;
  position: absolute;
  top: 10px;
  left: calc(50% - 36px);
}

.file-upload-wrap .file-upload-state .table-wrap {
  width: 100%;
  height: 100%;
  display: table;
  vertical-align: middle;
}

.file-upload-wrap .file-upload-state .cell-wrap {
  padding: 0 2%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.file-upload-wrap .file-upload-state .cell-wrap .files-wrap {
  display: flex;
  align-items: flex-start;
  justify-content: center;
}

.file-upload-wrap .file-upload-state .cell-wrap .icon {
  border-radius: 50%;
  width: 75px;
  height: 75px;
  margin: 0 auto 11px;
  display: flex;
  align-items: center;
  justify-content: center;
  background-size: cover;
}

.file-upload-wrap.ready .file-upload-state .cell-wrap .single-file-wrap {
  width: 174px;
}

.file-upload-wrap .file-upload-state .cell-wrap .remove-wrap {
  text-align: center;
  position: relative;
  z-index: 3;
}

.file-upload-wrap .file-upload-state .cell-wrap .remove-file {
  color: #e54c00;
  font-weight: 600;
}

.file-upload-wrap .file-upload-state .cell-wrap ._template .remove-wrap {
  display: none;
}

.file-upload-wrap.ready .file-upload-state .cell-wrap .icon {
  border: 1px solid #0a62ba;
}

.file-upload-wrap:not(.ready) .file-upload-state .cell-wrap .icon {
  background: url(../img/upload.svg) no-repeat center / 100% auto;
}

.file-upload-wrap.ready .file-upload-state .cell-wrap .icon span {
  font-size: 16px;
  color: #0a62ba;
  text-transform: uppercase;
}

.file-upload-wrap .file-upload-state .cell-wrap .desc {
  position: relative;
}

.file-upload-wrap:not(.error):not(.ready) .file-upload-state .cell-wrap .desc > div.empty,
.file-upload-wrap.error .file-upload-state .cell-wrap .desc > div.error,
.file-upload-wrap.ready:not(.upload) .file-upload-state .cell-wrap .desc > div.ready {
  opacity: 1;
  z-index: 2;
  position: relative;
}

.file-upload-wrap .file-upload-state .cell-wrap .desc > div {
  opacity: 0;
  transition: all 0.3s ease;
  font-size: 16px;
  line-height: 150%;
  text-align: center;
  font-weight: bold;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1;
  word-break: break-all;
}

.file-upload-wrap.error .file-upload-state .cell-wrap .icon {
  background: url(../img/orange-close.svg) no-repeat top 24px center / 40% auto;
  border: 1px solid #e54c00;
}

.file-upload-wrap .error {
  color: #e54c00;
  font-weight: 600;
}

.file-upload-wrap .error.bottom-error {
  position: absolute;
  text-align: center;
  bottom: 45px;
  left: calc(50% - 120px);
  display: none;
}

.file-upload-wrap.error .error.bottom-error {
  display: block;
}

/**** Reservations ****/

.reserve_badge {
  display: flex;
  z-index: 25;
  -webkit-touch-callout: none;
  align-items: center;
  margin-top: 5px;
}

.reserve_badge > i {
  color: #fff;
  font-size: 30px;
  transition: all 0.4s ease 0s;
  flex: 0 0 45px;
}

.reserve_badge.has_reservations i {
  color: #ff6;
}

/**** UNIT DETAILS ****/

.unit_details_wrapper {
  position: fixed;
  width: 100%;
  height: 0;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.75);
  transition: all 0.4s ease 0s;
  overflow: hidden;
  z-index: 80;
  -webkit-backdrop-filter: blur(4px);
  backdrop-filter: blur(4px);
}

.unit_details_wrapper.active {
  height: 100%;
}

.unit_details_wrapper .unit_details_close {
  width: 56px;
  height: 56px;
  position: fixed;
  right: 24px;
  top: 24px;
  background: url("../img/close-large2.svg") no-repeat 0 0 / contain transparent;
  cursor: pointer;
  opacity: 1;
  display: none;
  z-index: 80;
  transition: all 0.5s ease 0s;
}

.unit_details_wrapper.active .unit_details_close {
  display: block;
}

.unit_details_wrapper.active .unit_details_close:hover {
  opacity: 0.7;
}

.unit_details_wrapper .unit_details {
  margin: 0;
  background-color: #fff;
  box-shadow: 3px 3px 3px 3px rgba(0, 0, 0, 0.4);
  position: relative;
  color: rgba(32, 33, 54, 1);
  min-height: 100%;
  display: flex;
}

.unit_details_wrapper .unit_details:after {
  /*
  background-image: url(../img/logo.png);
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center bottom;
  position: absolute;
  bottom: 15px;
  left: 15px;
  width: calc(19vw - 30px);
  height: 17vh;
  content: "";
  */
}

.sidebar_active .unit_details_wrapper .unit_details {
  margin-left: 290px;
}

.unit_details_wrapper .unit_details .content-wrap {
  padding: 28px 48px 30px 48px;
  display: flex;
  flex-wrap: wrap;
  overflow-y: auto;
  align-items: stretch;
  flex: 1;
}

.unit_details .disclaimer {
  font-family: Graphik-Regular;
  font-size: 12px;
  padding: 0 0 20px;
  line-height: 1.2;
  letter-spacing: normal;
  color: #7b7e86;
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap {
  flex: 1;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_title {
  margin: 0 0 40px;
  color: #14171c;
  font-size: 24px;
  text-transform: uppercase;
  margin: 0 0 20px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_title label{
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_title label:after{
  display: inline;
  content: ":";
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .building_desc {
  color: #9f8b5a;
  font-size: 1.3em;
  text-transform: uppercase;
  font-weight: 100;
  line-height: 1.2;
  margin: 0 0 20px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_subtitle {
  color: #7b7e86;
  font-size: 16px;
  font-family: Graphik-Regular;
  line-height: 1.2;
  margin: 0 0 20px;
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .ap_details_title {
  font-size: 16px;
  font-weight: normal;
  font-stretch: normal;
  font-style: normal;
  line-height: normal;
  letter-spacing: normal;
  color: #777;
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .orientation_badge {
  display: none;
  width: 150px;
  height: 150px;
  background-size: contain;
  background-repeat: no-repeat;
  background-image: url("../img/kompas.svg");
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap {
  flex: 5;
  min-height: 42%;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap,
.unit_details_wrapper .unit_details .content-wrap .gallery-wrap {
  text-align: left;
  min-width: 290px;
  line-height: 1.5;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap {
  padding: 0 15px 0 0;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details {
  margin: 0;
  line-height: 2;
  /* border-bottom: 1px solid #dfdfdf; */
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div {
  display: flex;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div.apartment_details_bedrooms {
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div > span{
  text-align: right;
  flex: 1;
  white-space: nowrap;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div > span:before{
  /*content: "-";
  margin: 0 3px 0 0;*/
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .info_wrap {
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_buttons {
  margin-top: 30px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_buttons button{
  font-size: 18px;
  padding: 12px;
  width: 100%;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .details_buttons button i{
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div label {
  flex: 0 0 90px;
  position: relative;
  font-weight: bold;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details > div label:after {
  content: "";
  right: 5px;
  position: absolute;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content {
  max-height: 0;
  overflow: hidden;
  transition: all .3s ease;
  text-align: left;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content > div {
  display: flex;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content > div > label {
  flex: 0 0 120px;
  position: relative;
  font-weight: bold;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content > div  > span {
  text-align: right;
  flex: 1;
  white-space: nowrap;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content p {
  margin: 0 0 10px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content.visible {
  max-height: 2000px;
  transition: all .3s ease;
  margin-bottom: 10px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap {
  display: block;
  text-align: right;
  line-height: 2;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap table {
  max-width: 400px;
  font-size: 12px;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap a {
  text-decoration: none;
  border: 0 solid #999;
  padding: 8px 20px 8px 20px;
  color: #fff;
  font-family: 'Graphik-Regular', sans-serif;
  font-size: 14px;
  text-transform: uppercase;
  text-align: center;
  transition: all 0.4s ease 0s;
  margin: 0 0 4px;
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap a:hover {
}

.unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .apt_hide_more_info {
  display: none;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap {
  position: relative;
  text-align: center;
  overflow: hidden;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .change {
  position: absolute;
  top: calc(50% - 33.5px);
  display: block;
  width: 67px;
  height: 67px;
  cursor: pointer;
  z-index: 25;
  -webkit-touch-callout: none;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .change i {
  transition: all .3s ease 0s;
  font-size: 48px;
  color: #232438;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .change i:hover {
  color: #fff;
  text-shadow: 2px 2px 4px rgba(0,0,0,0.5);
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .change.prev {
  left: 0px;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .change.next {
  right: 0px;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .gallery-images .image {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  background-repeat: no-repeat;
  background-size: contain;
  background-position: center;
  transition: left .3s ease;
  background-color: #fff;
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .gallery-images .image:nth-child(n+2) {
  left: -100%;
  /* background-size: cover; */
}

.unit_details_wrapper .unit_details .content-wrap .gallery-wrap .gallery-images .image.active {
  left: 0;
  z-index: 1;
}

.unit_details_wrapper .unit_details .action-wrap {
  text-align: right;
  z-index: 10;
  /* display: none; */
  flex: 0;
}

.unit_details_wrapper .unit_details .action-wrap .button {
}

.unit_details_wrapper .unit_details .action-wrap button#favorite:not(.favorited) .remove {
  display: none;
}

.unit_details_wrapper .unit_details .action-wrap button#favorite.favorited .add {
  display: none;
}

.unit_details_wrapper .unit_details .action-wrap button#favorite.favorited .remove {
  display: inline;
}

.unit_details_wrapper .unit_details .action-wrap button#reserve:not(.reserved) .remove {
  display: none;
}

.unit_details_wrapper .unit_details .action-wrap button#reserve.reserved .add {
  display: none;
}

.unit_details_wrapper .unit_details .action-wrap button#reserve.reserved .remove {
  display: inline;
}

/* ***** polygon info hover **** */

.hover_popup {
  position: absolute;
  z-index: 20;
  max-height: 0;
  width: 192px;
  opacity: 0;
  transform: translate(-50%, -100%);
  margin-left: -2px;
  margin-top: -25px;
  transition: opacity 0.5s ease 0.3s;
  background-color: rgba(255, 255, 255, 1);
  /* border-radius: 5px; */
  overflow: hidden;
}

.building_active .hover_popup{
  width: 315px;
}

.hover_popup.bottom{
  transform: translate(-50%, 0);
  margin-top: 25px;
}

.hover_popup:after {
  display: block;
  content: "";
  height: 17px;
  width: 17px;
  transform: rotate(45deg) translate(-50%, 0);
  background-color: rgba(255, 255, 255, 1);
  position: absolute;
  bottom: -14px;
  left: 50%;
  z-index: 5;
}

.hover_popup.bottom:after {
  top: 0;
  bottom: auto;
  margin-top: -2px;
}

.hover_popup.active {
  opacity: 1;
  max-height: 400px;
  overflow: visible;
  box-shadow: 2px 2px 2px 2px rgba(0, 0, 0, 0.4);
}

.complex_active .hover_popup {
  cursor: pointer;
}

.complex_active .hover_popup.is_poi {
  cursor: auto;
}

.hover_popup .hover_popup_content {
  color: #59595b;
  overflow: hidden;
  z-index: 10;
  position: relative;
}

.hover_popup .data-wrap {
  margin: 15px 0 0;
  display: none;
  padding: 0 15px;
  border-bottom: 1px solid rgba(41, 41, 41, 0.18);
}

.hover_popup .data-wrap > div {
  display: flex;
  justify-content: space-between;
  margin-bottom: 10px;
}

.hover_popup .data-wrap div > label{
  font-weight: 900;
}

.hover_popup .data-wrap div > span{
}

.building_active .hover_popup .data-wrap {
  display: flex;
  flex-direction: column;
}

.building_active .hover_popup .data-wrap .apartment_details_unit_type {
  order: 1;
}

.building_active .hover_popup .data-wrap .apartment_details_floor {
  order: 2;
}

.building_active .hover_popup .data-wrap .apartment_details_bedrooms {
  order: 4;
}

.building_active .hover_popup .data-wrap .label_view {
  order: 5;
}

.building_active .hover_popup .data-wrap .apartment_details_total_area {
  order: 3;
}

.hover_popup .button-wrap {
  padding: 0 5px;
  margin-bottom: 0px;
  z-index: 10;
}

.hover_popup .button-wrap .enter {
  display: block;
  width: 100%;
  background-color: transparent;
  padding: 15px 11px;
  margin: 0;
  cursor: pointer;
  background: url(../img/chevron-right.svg) no-repeat center right transparent;
  background-size: 24px;
}

.hover_popup .button-wrap .enter label{
  display: flex;
  font-family: Optima-Regular;
  color: #14171c;
  align-items: center;
  justify-content: space-between;
  cursor: pointer;
}

.complex_active .hover_popup.is_poi .button-wrap .enter,
.complex_active .hover_popup.is_poi .button-wrap .enter label {
  cursor: default;
}

.hover_popup .button-wrap .enter label.building_title{
  font-size: 16px;
}

.hover_popup .button-wrap .enter[disabled] {
  background: none no-repeat center right transparent;
}

.hover_popup .button-wrap .enter[disabled] label.building_title {
  text-align: center;
  display: inline-block;
}

.hover_popup .button-wrap .enter label.enter_label{
  display: none;
}

.building_active .hover_popup .button-wrap .enter label.enter_label{
  display: flex;
  font-size: 18px;
  justify-content: center;
}

.building_active .hover_popup .button-wrap .enter label.building_title{
  display: none;
}

.hover_popup .button-wrap .close {
  background: url(../img/menu_close_dark.svg) no-repeat 0 0 / contain transparent;
  display: block;
  height: 16px;
  width: 16px;
  padding: 0;
  margin: 0;
  overflow: hidden;
  position: absolute;
  top: 16px;
  right: 10px;
  font-size: 0;
  z-index: 20;
  color: transparent;
  opacity: 0.5;
  transition: all 0.2s ease 0s;
}

.complex_active .hover_popup .button-wrap .close {
  display: none;
}

.hover_popup .button-wrap .close:hover {
  opacity: 1;
}

.hover_popup .hover_apt_name {
  color: #000;
  font-size: 16px;
  margin: 15px 10px;
  text-align: center;
}

.complex_active .hover_popup .hover_apt_name {
  display: none;
}

.hover_popup .hover_popup_img {
  margin: 0px;
}

.building_active .hover_popup .hover_popup_img {
  display: none;
}

.hover_popup .hover_popup_img img{
  width: 100%;
  vertical-align: middle;
}

/* **** redefines **** */

.complex_wrapper .units_polygon_map .unit.status_1 {
  fill: #73242470;
  stroke-width: 2;
  opacity: 0;
}

/** VACANT **/
.units_polygon_map .unit.status_1 {
  fill: #07894559;
  stroke-width: 0.5;
}

.building_active .units_polygon_map .unit.status_1:hover {
  fill: #078945a6;
  stroke-width: 0.5;
}

/** LEASED **/
.units_polygon_map .unit.status_2 {
  fill: #9d2fdd59;
  stroke-width: 0.5;
}

.units_polygon_map .unit.status_2:hover{
  fill: #9d2fdda6;
  stroke: #fff;
}

/** RESERVED **/
.units_polygon_map .unit.status_3 {
  fill: #0a6b8359;
  stroke-width: 0.5;
}

.units_polygon_map .unit.status_3:hover{
  fill: #0a6b83a6;
  stroke: #fff;
}

/** SOLD **/
.units_polygon_map .unit.status_4 {
  fill: #ffffff59;
  stroke-width: 0.5;
}

.units_polygon_map .unit.status_4:hover {
  fill: #ffffffa6;
  stroke: #fff;
}

/** BLOCKED **/
.units_polygon_map .unit.status_5 {
  fill: #ce892959;
  stroke-width: 0.5;
}

.units_polygon_map .unit.status_5:hover {
  fill: #ce8929a6;
  stroke: #fff;
}

/** TERMINATED **/
.units_polygon_map .unit.status_6 {
  fill: #101a6059;
  stroke-width: 0.5;
}

.units_polygon_map .unit.status_6:hover {
  fill: #101a60a6;
  stroke: #fff;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper {
  position: relative;
}

@keyframes colorPulse {
  0% {
    r: 14px;
    stroke-width: 0px;
    stroke: #fff;
    fill: #fff;
  }

  50% {
    stroke-width: 90px;
    r:1;
    stroke: #a00;
    opacity: 0.01;
  }

  100% {
    r: 14px;
    stroke-width: 0px;
    stroke: #fff;
    fill: #fff;
  }
}

.complex_wrapper .units_polygon_map .unit_link_wrapper circle {
  r: 14px;
  stroke-width: 0px;
  vector-effect: non-scaling-stroke;
  stroke: #fff;
  fill: #fff;
  opacity: 1;
  filter: url(#f4);
  transition: all .5s ease 0s;
  /*
  animation-duration: 2s;
  animation-name: colorPulse;
  animation-iteration-count: 1;
  */
}

/*
.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(1) circle {
  animation-delay: 0.5s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(2) circle {
  animation-delay: 0.7s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(3) circle {
  animation-delay: 0.9s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(4) circle {
  animation-delay: 1.1s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(5) circle {
  animation-delay: 1.3s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(6) circle {
  animation-delay: 1.5s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:nth-child(7) circle {
  animation-delay: 1.7s;
}
*/

.units_polygon_map .unit_link_wrapper .unit_label {
}

.complex_wrapper .units_polygon_map .unit_link_wrapper * {
  cursor: pointer;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper .unit_label {
  stroke-width: .2px;
  stroke: #900;
  fill: #900;
  opacity: 0;
  font-size: 80px;
  dominant-baseline: middle;
  text-anchor: middle;
  transition: all 0.3s ease 0s;
  filter: url(#f4);
}

.complex_wrapper .units_polygon_map .unit_link_wrapper .unit_html_label {
  overflow: visible;
  opacity: 0;
  transition: all 0.3s ease 0s;
}

.buildings_wrapper .units_polygon_map .unit_link_wrapper .unit_html_label {
  display: none;
  width: 0;
  height: 0;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper .unit_html_label .unit_html_wrapper {
  color: #fff;
  font-size: 93px;
  line-height: 1;
  text-align: center;
  height: 100%;
  text-shadow: 1px -1px 4px #000000d0;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease 0s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:hover .unit_label,
.complex_wrapper .units_polygon_map .unit_link_wrapper.active .unit_label { 
  opacity: 1;
  fill: #fff;
  stroke: #fff;
  font-size: 33px;
  transition: all 0.3s ease .2s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:hover .unit_html_label,
.complex_wrapper .units_polygon_map .unit_link_wrapper.active .unit_html_label { 
  opacity: 1;
  transition: all 0.3s ease .2s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper:hover .unit_html_label .unit_html_wrapper,
.complex_wrapper .units_polygon_map .unit_link_wrapper.active .unit_html_label .unit_html_wrapper { 
  font-size: 33px;
  transition: all 0.3s ease .2s;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.poi:hover .unit_label,
.complex_wrapper .units_polygon_map .unit_link_wrapper.poi.active .unit_label { 
  fill: #ff8;
  stroke: #ff8;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.poi:hover .unit_html_label .unit_html_wrapper,
.complex_wrapper .units_polygon_map .unit_link_wrapper.poi.active .unit_html_label .unit_html_wrapper { 
  color: #ff8;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.poi.active .unit_html_label .unit_html_wrapper { 
  /* transform: translateY(-50%); */
}

.buildings_wrapper .units_polygon_map .unit_link_wrapper .unit_label {
  opacity: 0;
  fill: transparent;
  font-size: 0;
}

.buildings_wrapper .units_polygon_map .unit_link_wrapper .unit_html_wrapper {
  opacity: 0;
  display: none;
  font-size: 0;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper circle.center{
  display: none;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.active circle,
.complex_wrapper .units_polygon_map .unit_link_wrapper:hover circle {
  stroke-width: 90px;
  r:1;
  stroke: #a00;
  opacity: 0.01;
}

.building_active .units_polygon_map .unit_link_wrapper circle {
  r: 1;
  stroke-width: 0;
  fill: transparent;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.active polygon,
.complex_wrapper .units_polygon_map .unit_link_wrapper:hover polygon{
  opacity: 1;
}

.complex_wrapper .units_polygon_map .unit.status_1:hover {
  stroke: #eee;
  /* fill: rgba(255, 255, 255, 0.2); */
}

/* *** poi *** */
.complex_wrapper .units_polygon_map .unit_link_wrapper.poi {

}

.complex_wrapper .units_polygon_map .unit_link_wrapper.poi circle {
  fill: #ff8;
}

.complex_wrapper .units_polygon_map .unit_link_wrapper.poi polygon {
  fill: transparent;
  stroke: transparent;
  stroke-width: 0.1px;
}

.complex_img {
  opacity: 0;
  height: 0;
  width: 0;
}

.complex_img.show {
  opacity: 1;
  height: 100%;
  width: auto;
}

/*** Login and Reset Password ***/
.site-login,
.site-reset-pwd {
  flex: 1;
}

.login_button[disabled="disabled"] {
  background-color: rgba(55, 55, 55, 0.9);
  opacity: 0.6;
}

.login_button[disabled="disabled"]:before {
  display: inline-block;
  content: '\e834';
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  animation: spin 2s infinite linear;
  margin-right: 10px;
}

#logoutLink.disabled:before {
  display: inline-block;
  content: '\e834';
  font-family: "fontello";
  font-style: normal;
  font-weight: normal;
  animation: spin 2s infinite linear;
  margin: 0 0 0 17px;
  font-size: 15px;
}

#logoutLink.disabled {
  opacity: 0.8;
  font-size: 0;
}

.front-form {
  background-color: #ffffff;
  width: 400px;
  margin: 0 auto;
  text-align: center;
  padding: 25px;
}

.front-form img {
  margin-bottom: 20px;
}

.front-form input {
  font-size: 20px;
  padding: 10px;
  border: 2px solid #aaa;
  text-align: center;
}

.front-form img,
.front-form input:not([type="checkbox"]) {
  width: calc(100% - 24px);
  max-width: 300px;
}

.front-form button,
.front-form a.button {
  padding: 8px 15px;
  min-width: 250px;
}

.front-form .has-error .help-block {
  color: #a94442;
}

.checkbox {
  text-align: left;
  padding-left: 35px;
}

/*** Flash Messages  ***/
.alert {
  width: 80%;
  max-width: 400px;
  opacity: .5;
  margin: 50px auto 0 auto;
  padding: 15px;
  font-size: 18px;
  color: white;
  border-radius: 5px;
  position: relative;
}

.alert.alert-danger {
  background-color: #a94442;
}

.alert.alert-success {
  background-color: #66c65e;
}

.alert .alert-message {
  max-width: calc(100% - 30px);
}

.alert .close {
  display: block;
  position: absolute;
  right: 10px;
  top: 15px;
  width: 20px;
  height: 20px;
}

.alert .close .close-inner {
  width: 100%;
  height: 100%;
  position: relative;
}

.alert .close .close-inner:before,
.alert .close .close-inner:after {
  display: block;
  content: '';
  position: absolute;
  width: 100%;
  height: 1px;
  background-color: white;
  left: 0;
  top: calc(50% - 0.5px);
}

.alert .close .close-inner:before {
  transform: rotate(45deg);
}

.alert .close .close-inner:after {
  transform: rotate(-45deg);
}

.ss-scroll{
  right: -270px !important;
  border-radius: 0;
  width: 6px;
  background-color: #ffffffe0;
  margin-top: -20px;
}

.ss-content {

}

@media only screen and (max-width: 800px) {
  button, a.button {
    font-size: 18px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .building_desc {
    margin: 0 100px 15px 0;
    font-size: 1.2em;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .details_title {
    font-size: 1.45em;
    margin: 0 0 15px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .details_subtitle {
    font-size: 1.1em;
    margin: 0 0 15px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details {
    margin: 0 0 15px;
    font-size: 0.9em;
  }

  .unit_details_wrapper .unit_details .content-wrap {
    padding: 25px 15px 30px 15px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap a {
    padding: 8px 13px 8px 13px;
    font-size: 11px;
  }

  .login .container, .login, .reset, .reset .container{
    background-color: #ffffff;
  }

  .site-login, .site-reset-pwd {
    padding-top: 0;
    background-color: #ffffff;
  }

  .front-form {
    width: 100%;
    padding: 15px 0;
  }

  .front-form .form-group {
    padding: 0 10px;
  }

  .checkbox {
    text-align: left;
    padding-left: 0px;
    margin: 0 auto;
    width: 332px;
  }

}

@media only screen and (max-width: 600px) {
  button, a.button {
    padding: 8px 12px 8px 8px;
    font-size: 12px;
  }

  .popup_wrapper {
    z-index: 60;
  }

  .popup_wrapper .index_popup {
    margin: 0;
  }

  .index_popup_content .index_content_table .favorite_reservation_entry {
    margin: 0 auto 15px;
    border: 1px solid #eee;
  }

  input.popup_input, textarea.popup_input {
    width: calc(100% - 24px);
    max-width: 300px;
  }

  select.popup_input {
    max-width: 324px;
    width: 100%;
  }

  .file-upload-wrap {
  }

  .index_popup_content .index_content_table .favorite_reservation_entry .details div label {
    flex: 0 0 115px;
  }

  .unit_details_wrapper .unit_details .content-wrap {
    padding-right: 25px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap {
    padding-right: 0;
    margin-bottom: 0;
  }

  .unit_details_wrapper .unit_details .action-wrap {
    padding-top: 30px;
    position: fixed;
    bottom: 0;
    width: calc(100vw - 32px);
    margin: 0;
    background: linear-gradient(transparent 0%, rgba(255,255,255,1) 35%);
    z-index: 80;
    display: flex;
    flex-direction: column;
    align-items: stretch;
    margin: 0;
  }

  .unit_details_wrapper .unit_details .action-wrap button,
  .unit_details_wrapper .unit_details .action-wrap a.button {
    font-size: 18px;
    flex: 1 0 100%;
  }

  .unit_details_wrapper .unit_details .content-wrap .gallery-wrap {
    flex: 1 1 100%;
  }

  .unit_details_wrapper .unit_details .content-wrap .gallery-wrap .gallery-images {
    padding-top: 50%;
  }

  .unit_details_wrapper {
    z-index: 60;
  }

  .unit_details_wrapper .unit_details {
    margin: 0;
    display: flex;
    flex-direction: column;
    min-height: 100%;
  }

  /*
  .hover_popup .hover_popup_content {
    margin: 12px;
  }

  .hover_apt_name {
    font-size: 15px;
    margin: 0 0 8px;
  }

  .hover_popup .data-wrap {
    margin-bottom: 8px;
    font-size: 14px;
  }

  .hover_popup .button-wrap {
    padding: 0 10px;
    margin-bottom: 7px;
  }
  */

  .unit_details_wrapper .unit_details .content-wrap {
    padding: 15px 15px;
    position: relative;
    display: block;
    height: calc(100vh - 160px);
    overflow-y: auto;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .orientation_badge {
    margin: 15px auto 0;
    width: 90px;
    height: 90px;
    position: absolute;
    top: 0px;
    right: 12px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .building_desc {
    margin: 0 100px 15px 0;
    font-size: 1.1em;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .details_title {
    font-size: 1.40em;
    margin: 0 0 15px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .details_subtitle {
    font-size: 1em;
    margin: 0 0 15px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .apt_details {
    margin: 50px 0 0;
    font-size: 0.9em;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap a {
    padding: 8px 0px 8px 0px;
    font-size: 10px;
    width: 130px;
  }

  .unit_details_wrapper.active .unit_details_close {
    top: 10px;
    right: 10px;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .desc_wrap .desc_content.visible {
    font-size: 0.9em;
  }

  .unit_details_wrapper .unit_details:after {
    width: calc(24vw - 30px);
  }

  .user_section {
    flex-direction: column-reverse;
    align-items: flex-end;
  }

  .user_section > .logged_user {
    position: absolute;
    right: 53px;
    top: 12px;
    margin: 0;
  }

  .user_section > .user_links {
    height: 0;
    width: 115px;
    flex-direction: column;
    justify-content: center;
    border-radius: 9px 0 9px 9px;
  }

  .user_section.active > .user_links {
    height: 100px;
    background-color: rgba(16, 55, 102, 1);
  }

  .user_section > .user_links a {
    padding: 7px 10px;
    text-align: right;
    align-self: stretch;
  }

  .user_section.active + .zoom_controls {
    transition: all 0.4s ease 0s;
  }

  .user_section.active .user_badge {
    border-radius: 9px 9px 0 0;
    color: #fff;
    background-color: rgba(16, 55, 102, 1);
  }

  .user_section.active .user_badge i {
    color: #fff;
  }

  .front-form img, .front-form input {
    width: calc(100vw - 44px);
  }

}

@media only screen and (max-width: 450px) {
  body {
    overflow: auto;
  }

  .app_wrapper{
    width: 100vw;
  }

  .sidebar {
    width: 100vw;
    left: -101%;
  }

  .header {
    width: 100vw;
  }

  .home_badge > div {
    display: none;
  }

  .zoom_controls {
    width: 100.5vw;
    bottom: 0vh;
  }

  .building_active .zoom_controls {
    display: none;
  }

  .complex_wrapper, .buildings_wrapper {
    overflow: scroll;
  }

  .filter_wrapper .filter_badge {
    width: 100vw;
    height: 50px;
    border-radius: 0;
  }

  .filter_wrapper.active {
    display: flex;
    flex-direction: column;
  }

  .filter_wrapper.active {
    height: 100vh;
    bottom: 0;
    width: 100vw;
  }

  .filter_badge.active:after {
    top: 17px;
    width: 20px;
    height: 2px;
    border-radius: 3px;
  }

  .filter_badge.active:before {
    top: 13px;
    width: 20px;
    height: 2px;
    border-radius: 3px;
  }

  .filter_badge.active {
    background-color: transparent;
    left: 90%;
  }

  .filter_wrapper.active .menu.filters {
    flex: 1;
    flex-direction: column;
    display: flex;
    padding: 0px 15px 20px 11px;
  }

  .ss-content {
    width: auto;
  }

  .filter_wrapper.active .menu.filters > * {
  }

  .filter_wrapper.active .menu.filters .ss-scroll{
    display: none;
  }

  .filter_wrapper.active .menu.filters > .ms_filters {
    flex: 1;
    flex-direction: column;
    justify-content: space-around;
    align-items: stretch;
    display: flex;
    height: auto;
    width: 100%;
  }

  .filter_wrapper.active .filter_badge {
    flex: 0 0 50px;
  }

  .menu .menu_group {
    margin: 0 0 20px;
  }

  .menu .menu_group.filter_ap_type .menu_items{
    margin: 0 ;
    flex-direction: column;
  }

  .menu .menu_group.filter_ap_type .menu_items .menu_item {
    margin: 10px 0;
  }

  .menu .menu_group.filter_ap_type .menu_items .menu_item a{
    width: auto;
  }

  .popup_wrapper .popup_close {
    width: 56px;
    height: 56px;
    right: 10px;
    top: 10px;
    z-index: 80;
  }

  .unit_details_wrapper {
    background-color: #fff;
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .orientation_badge {
    top: 100px;
  }

  .unit_details_wrapper .unit_details_close {
    right: 10px;
    top: 10px;
    background: url(../img/close-large2.svg) no-repeat 0 0 / contain transparent;
    z-index: 66;
  }

  .unit_details_wrapper .unit_details {
    overflow: scroll;
    height: 100vh;
    min-height: 0;
    background-color: #fff;
    box-shadow: none;
    display: block;
    z-index: 60;
  }

  .unit_details .disclaimer {
    line-height: 1.2;
    margin: 15px 0;
  }

  .unit_details_wrapper .unit_details .content-wrap {
    padding: 42px 42px 10px;
    overflow-y: auto;
    height: calc(100vh - 226px);
  }

  .unit_details_wrapper .unit_details .content-wrap .details-wrap .details_buttons {
    padding-top: 30px;
    position: fixed;
    bottom: 0;
    width: calc(100vw - 84px);
    margin: 0;
    background: linear-gradient(transparent 0%, rgba(255,255,255,1) 35%);
    z-index: 80;
  }

  .unit_details_wrapper .unit_details .action-wrap {
    padding: 10px 42px 25px;
    margin-left: 0;
    position: relative;
    flex: 0;
    display: flex;
    flex-wrap: wrap;
    right: 0;
    justify-content: flex-start;
  }

  .unit_details_wrapper .unit_details .action-wrap button, .unit_details_wrapper .unit_details .action-wrap a.button {
    max-width: none;
    text-align: center;
    font-size: 18px;
  }

  .popup_wrapper .index_popup .index_popup_content {
    flex-direction: column;
  }

  .popup_wrapper .index_popup .index_popup_content h2.left_label {
    align-self: stretch;
    padding: 0 76px;
    margin: 26px 0;
    width: auto;
    text-align: center;
  }

  .popup_wrapper .index_popup .index_popup_content h2 {
    margin: 10px 0 0;
  }

  .popup_wrapper .index_popup .index_popup_content .popup_subtitle {
    margin: 10px 0 12px;
  }

  .field_wrapper {
    padding-bottom: 25px;
  }

  input.popup_input, textarea.popup_input {
    padding: 10px;
    max-width: none;
    width: calc(100% - 20px);
  }

  .sidebar_badge > div {
    display: none;
  }

  .im_interested > span {
    display: none;
  }
  
  .unit_details_wrapper.active .unit_details_close {
    top: 17px;
    right: 25px;
  }
}

#debug {
  position: fixed;
  top: 0;
  left: 70px;
  right: 70px;
  font-size: 11px;
  color: #000;
  background-color: rgba(255, 111, 111, 0.8);
  max-height: 150px;
  overflow: auto;
  z-index: 1000;
  /* width: 100%; */
  height: 0;
  display: none;
}
