:root {
  --lightest-color: #2ef5de;
  --neutral-color: #0b6c81;
  --darkest-color: #0d3d46;
  /* --img-bg-color: #b2b0b1; */
  --img-bg-color: #fff;
  --White: #ffffff;
  --Linen: #efeee4;
  /* --Cloud: #CECCC4; */
  --Cloud: #1e3a5d;
  --AntiqueBrass: #fff;
  --Yellow: #EFD050;
  /* --BlackPearl: #05061C; */
  --BlackPearl: #fff;
  --Primary: #ECDCBA;
  --Secondary: #FF7F26;
  --Disabled: #2C394B;
  --Link: #3B539B;
}

@font-face {
  font-family: BillCorporate;
  src: url("../OGJ_roman.otf") format("opentype");
}

@font-face {
  font-family: BillCorporate;
  font-weight: bold;
  src: url("../OGJ_bold.otf") format("opentype");
}

@font-face {
  font-family: BillCorporate;
  font-weight: light;
  src: url("../OGJ_light.otf") format("opentype");
}

body {
  font-family: BillCorporate, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  font-weight: normal;
  line-height: 1.5;
  color: #212529;
}

.apt-spinner {
  width: 90px;
  margin: 0 auto;
}

.bounce-top {
  -moz-animation: bounce-top 2s infinite;
  -webkit-animation: bounce-top 2s infinite;
  animation: bounce-top 2s infinite;
  /* max-width: 38px!important;
    min-width: 16px!important; */
  width: 0px!important;
  overflow: hidden;
  height: 0px!important;
  position: absolute;
  z-index: 1000;
  top: 5rem;
  left: 18rem;
  margin-top: -2.5%;
  visibility: hidden!important;
  margin-left: -2.5%;
}

.bounce-top img {
  /* max-width: 38px!important;
    min-width: 16px!important; */
  width: 0px!important;
  height: 0px!important;
  visibility: hidden!important;
}

#dimension .language-link {
  text-align: center;
}

a.language-link-item {
  font-size: 0.8rem;
  color: var(--Secondary);
}

a.language-link-item:hover {
  color: var(--Cloud);
}

@keyframes bounce-top {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translate(0px, 0px);
  }
  40% {
    transform: translate(12px, 12px);
  }
  60% {
    transform: translate(5px, 5px);
  }
}

* {
  margin: 0px;
  padding: 0px;
}

a.nav-link {
  cursor: pointer;
}

#pannel_controls {
  height: 40px;
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translate(-50%, 0);
  z-index: 999;
  user-select: none;
  display: flex;
  flex-direction: row;
}

.pannel_panoBtn {
  float: left;
  overflow: visible;
  opacity: 1;
  cursor: pointer;
  pointer-events: auto;
  background-image: url(https://bucketeer-f90eb429-f622-41a4-bd6d-5e38eaf0335e.s3.amazonaws.com/public/asuntohakemisto/asuntohakemisto_pub/uploads/ui/buttons.svg);
  width: 40px;
  height: 40px;
  margin-right: 5px;
}

.pannel_panoBtn:hover {
  background-position-y: -40px !important;
}


/* modal style */


/* #fPlanModal {
    padding: 0 16px !important;
} */

a[data-action] {
  position: absolute;
  z-index: 1100;
  top: 50%;
  width: 1.5rem;
  height: 1.5rem;
  margin-top: -0.75rem;
  text-indent: -9999px;
  overflow: hidden;
  background-repeat: no-repeat;
  background-position: 0% 50%;
  background-size: 3rem 1.5rem;
  cursor: pointer;
}

a[data-action="next"]:hover {
  background-position: 80% 50%;
}

a[data-action="prev"]:hover {
  background-position: 120% 50%;
}

a[data-action="next"] {
  right: 0px;
  margin-right: 0.5rem;
  background-image: url(https://bucketeer-f90eb429-f622-41a4-bd6d-5e38eaf0335e.s3.amazonaws.com/public/asuntohakemisto/asuntohakemisto_pub/uploads/ui/next.svg);
}

a[data-action="prev"] {
  left: 0px;
  margin-left: 0.5rem;
  background-image: url(https://bucketeer-f90eb429-f622-41a4-bd6d-5e38eaf0335e.s3.amazonaws.com/public/asuntohakemisto/asuntohakemisto_pub/uploads/ui/prev.svg);
}

.notification {
  text-align: center;
  height: 80px;
  width: 100%;
  position: absolute;
  bottom: 0px;
  left: 0px;
  z-index: 9999;
  background: #fff;
  padding: 1.5rem;
  border-top: solid 1px #ccc;
  border-bottom: solid 1px #ccc;
}

.btn-primary {
  background-color: var(--Primary);
  color: var(--Secondary);
}

.btn-primary:hover,
.btn-primary:focus {
  background-color: var(--Secondary);
  color: var(--Primary);
}

.btn-plain {
  background-color: none!important;
}

.btn-plain:hover,
.btn-plain:focus {
  color: var(--Secondary);
}

.modal-body {
  padding: 0px;
  background: var(--neutral-color-bg);
  ;
}

.modal-fullscreen {
  padding: 0 !important;
}

.modal-fullscreen .modal-dialog {
  width: 100%;
  max-width: none !important;
  height: 100%;
  margin: 0;
}

.modal-fullscreen .modal-content {
  height: 100%;
  border: 0;
  border-radius: 0;
}

.modal-fullscreen .modal-body {
  overflow-y: auto;
}

#galleryTab .swiper-slide {
  background: #fff;
}

.thumbsWrap {
  display: flex;
  justify-content: space-evenly;
  align-items: center;
  width: 100%;
  height: 100%;
  flex-wrap: wrap;
}

.thumbsWrap a.gThumb {
  display: block;
  width: 30%;
  padding: 0.5rem;
  height: auto;
}

.thumbsWrap img {
  width: 100%;
  height: auto;
}

#searchClose {
  text-align: center;
}

#searchClose a {
  font-size: 0.75rem;
  font-variant: small-caps;
  line-height: 1.5rem;
  background: center no-repeat;
}


/* .popup-close {
    position: absolute;
    top: 0;
    right: 0;
}

.popup-close a {
    text-decoration: none;
    color: white;
    outline: none !important;
}

.popup-close img {
    padding-left: 2rem;
} */

.modal-fullscreen .popup-close {
  position: absolute;
  top: 1rem;
  right: 1rem;
}

.pnlm-about-msg {
  display: none !important;
}

.popup-content {
  position: absolute;
  height: 100%;
  align-self: stretch;
  display: flex;
  justify-content: flex-start;
  flex-direction: row-reverse;
  align-items: center;
  min-height: 100%;
}

.popup-content .space_title_container {
  color: #000;
  font-size: 3rem;
  padding: 2rem 3rem;
  text-align: left;
}

.popup-content .img-responsive {
  /* height: 100%;
    width: auto; */
  max-width: 100%;
  max-height: 100%;
}

.popup-content .txt-info {
  position: absolute;
  z-index: 100;
  top: auto;
  bottom: 0;
  background: none;
  color: #000;
  left: 0;
  right: 0;
  padding: 2rem 2rem 5rem;
}

.popup-content .txt-info .title.space-title {
  display: none;
}

.popup-content .txt-info .description.space-description {
  text-align: center;
  font-size: 1.5rem;
}

.popup-content .txt-info h1,
.popup-content .txt-info h2,
.popup-content .txt-info h3,
.popup-content .txt-info h4 {
  margin-top: 0;
  color: #fff;
}

.modal-dialog {
  margin: 1rem auto;
}

.btn-open-modal {
  margin-bottom: 0.5em;
}


/* loading css */

#loaderWrapper {
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
  background: #fff;
  position: absolute;
  top: 0px;
  left: 0px;
  z-index: 999999;
  text-align: center;
}

.loader-preloader {
  display: inline-block;
  /* width: 200px; */
  height: auto;
  text-align: center;
}

.loader-preloader div {
  margin-top: -50px;
}

.loader-preloader h1 {
  font-weight: bold;
}

.fade-out {
  opacity: 0;
  animation-name: fadeInOpacity;
  animation-iteration-count: 1;
  animation-timing-function: ease-out;
  animation-duration: 0.8s;
}

@keyframes fadeInOpacity {
  0% {
    opacity: 1;
  }
  100% {
    opacity: 0;
  }
}

.apt-tag-container {
  display: flex;
  justify-content: space-around;
  justify-items: center;
}

.btn-tag {
  padding: 0px 0.5rem;
  margin-bottom: 0.5rem;
  border: solid 1px var(--BlackPearl);
  color: var(--BlackPearl);
}


/* /loading css */

#dimension {
  max-width: 70%;
  margin: 0 auto;
  margin-top: 1rem;
  padding: 0 1rem;
  padding-bottom: 1rem;
}

.ratioContainer {
  width: 100%;
  /* padding-top: 56.25%; */
  padding-top: 66.67%;
  /* 66.67%;  16:9 Aspect Ratio */
  position: relative;
  /* If you want text inside of it */
}

.ratio {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
}

.swiper-container {
  /* position: absolute; */
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  cursor: n-resize;
}

.swiper-slide {
  text-align: center;
  font-size: 18px;
  background: #b3b3b3;
  /* Center slide text vertically */
  display: -webkit-box;
  display: -ms-flexbox;
  display: -webkit-flex;
  display: flex;
  -webkit-box-pack: center;
  -ms-flex-pack: center;
  -webkit-justify-content: center;
  justify-content: center;
  -webkit-box-align: center;
  -ms-flex-align: center;
  -webkit-align-items: center;
  align-items: center;
}


/* ////////////////////////////// */


/* custom bullets style */

#floorSwiper .swiper-pagination-bullet {
  width: 40px;
  height: 40px;
  border-radius: 20px;
  text-align: center;
  line-height: 40px;
  font-size: 1.2rem;
  color: var(--BlackPearl);
  opacity: 1;
  background: var(--Cloud);
  /* border-radius: 0%; */
  margin: 3px 0 !important;
}

.swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
  /* top: 50%;
    transform: translateY(-50%); */
  width: 40px;
  /* background: #00427d; */
}

.swiper-pagination-bullet-active {
  color: #fff;
  background: rgba(0, 0, 0, 0.68);
}

.swiper-container-vertical>.swiper-pagination-bullets {
  right: 0px;
}

.floorCanvas {
  width: 100%;
  /* height: 100%; */
}

.apt-hotspot {
  display: block;
  border-radius: 50%;
  padding: 4px;
  background: #fff;
  position: absolute;
  z-index: 1030;
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.6);
  cursor: pointer;
}

.apt-hotspot span {
  display: block;
  background: rgba(255, 255, 255, 0.8) none repeat scroll 0 0;
  border-radius: 50%;
  /* padding: 10px; */
}

.apt-hotspot img {
  width: 30px;
}

.apt-hotspot:hover {
  /* padding: 4px; */
  box-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
  margin: -1px 0 0 -1px;
  /* border: 2px solid rgba(255, 255, 255, 0.9); */
}

.apt-hotspot:hover span {
  /* padding: 11px; */
  background: rgba(255, 255, 255, 0.9) none repeat scroll 0 0;
}

.apt-hotspot-container {
  position: absolute;
  top: 0px;
  right: 0px;
  bottom: 0px;
  left: 0px;
  /* width:100%; */
  /* height: 100%; */
}

.hotspot_inner_container {
  position: relative;
  width: 100%;
  height: 100%;
}

.minorStretch {
  align-self: stretch;
  display: flex;
  justify-content: space-around;
  width: 30%;
  align-items: center;
  justify-items: center;
  background-color: #b3b3b3;
}

.aptInfoContainer {
  width: 80%;
  display: flex;
  flex-direction: column;
  /* background: #d5d3d0; */
}

.aptInfoContainer ul {
  list-style-type: none;
  display: flex;
  flex-direction: column;
}

.aptInfoContainer .table th {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  padding-left: 0px!important;
}

.aptInfoContainer .table th svg {
  height: 2rem;
  width: 2rem;
}

.aptInfoContainer .table td {
  padding-top: 0px!important;
  padding-bottom: 0px!important;
  padding-left: 0px!important;
  text-align: center!important;
}

a[data-toggle="modal"] {
  cursor: pointer;
}


/* nananana */

#map {
  height: 100%;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}

#accordion {
  position: relative;
}

#searchUnit .card-body {
  padding-top: 5px;
  padding-bottom: 5px;
}

#searchUnit,
#unitList,
#floorPlans,
#galleryTab,
#locationTab,
#filmTab {
  position: absolute;
  /* height: 200px; */
  width: 100%;
  z-index: 9;
  background: #fff;
}

#searchUnit {
  position: static;
}

#unitList {
  min-height: 90vh;
}

#apartmentTypeNum a:hover,
#apartmentTypeNum a.activated {
  border: solid 1px var(--BlackPearl);
  border-radius: .5rem;
}

#apartmentTypeNum a span {
  pointer-events: none;
}

#sizeRange,
#priceRange {
  width: 100%;
}


/* form tooltips */

#unitFilter .bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.bs-tooltip-bottom .arrow::before {
  border-bottom-color: black !important;
}

#unitFilter .bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
  border-top-color: black !important;
}

#unitFilter .bs-tooltip-auto[x-placement^=left] .arrow::before,
.bs-tooltip-left .arrow::before {
  border-left-color: black !important;
}

#unitFilter .bs-tooltip-auto[x-placement^=right] .arrow::before,
.bs-tooltip-right .arrow::before {
  border-right-color: black !important;
}


/*  */

.tooltip-inner {
  background-color: #fff;
  text-align: left;
  padding: 15px;
  color: #111;
}

.tooltip.show {
  opacity: 1;
}

.bs-tooltip-auto[x-placement^=bottom] .arrow::before,
.bs-tooltip-bottom .arrow::before {
  border-bottom-color: white !important;
}

.bs-tooltip-auto[x-placement^=top] .arrow::before,
.bs-tooltip-top .arrow::before {
  border-top-color: white !important;
}

.bs-tooltip-auto[x-placement^=left] .arrow::before,
.bs-tooltip-left .arrow::before {
  border-left-color: white !important;
}

.bs-tooltip-auto[x-placement^=right] .arrow::before,
.bs-tooltip-right .arrow::before {
  border-right-color: white !important;
}

.foundSpaceName {
  font-weight: 700;
}

#unitFilter label {
  font-variant: small-caps;
  font-weight: 500;
  color: var(--Cloud);
}


/* #unitFilter .form-row .row{
    margin-left: 0px!important;
    margin-right:0px!important;
  } */

#unitFilter .form-group {
  padding: 0 1rem;
}


/* #priceRange .slider-track-high, #priceRange .slider-track-low {
    background: white;
  } */

.slider.slider-horizontal {
  width: auto !important;
  min-width: 100%;
}

.slider.slider-horizontal .slider-handle {
  width: 10px;
  height: 10px;
  background: var(--Cloud);
  margin-left: -5px;
  margin-top: 5px;
}

.slider-handle.round {
  border-radius: 10px;
}

.slider.slider-horizontal .slider-track {
  height: 3px;
  margin-top: -1.5px;
}

.slider.slider-horizontal .slider-tick,
.slider-tick.in-selection {
  width: 10px;
  height: 10px;
  background: var(--Cloud);
  border-radius: 5px;
  /* top:0px; */
  margin-left: -5px;
  margin-top: 5px;
}

.slider-selection.tick-slider-selection,
.slider-selection {
  background-color: var(--AntiqueBrass);
  background-image: none;
  /* background-image: -moz-linear-gradient(top, #52c5ff, #3abcfd);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#52c5ff), to(#3abcfd));
    background-image: -webkit-linear-gradient(top, #52c5ff, #3abcfd);
    background-image: -o-linear-gradient(top, #52c5ff, #3abcfd);
    background-image: linear-gradient(to bottom, #52c5ff, #3abcfd);
    background-repeat: repeat-x;
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#52c5ff', endColorstr='#3abcfd',GradientType=0); */
}

.slider .tooltip.bs-tooltip-bottom {
  top: 5px!important;
}

.slider .tooltip.bs-tooltip-top {
  bottom: 6px!important;
}


/* label[for="priceRange"], label[for="sizeRange"]{
    margin-left: -5px;
} */

.slider .tooltip.bs-tooltip-top .arrow,
.slider .tooltip.bs-tooltip-bottom .arrow {
  display: none;
}

.slider .tooltip.bs-tooltip-bottom .tooltip-inner,
.slider .tooltip.bs-tooltip-top .tooltip-inner {
  background: none!important;
  padding: 5px;
  font-size: 0.75rem;
}

#unitFilter .custom-checkbox {
  padding-top: 0px;
}

#unitFilter .custom-checkbox label {
  font-weight: normal;
  font-size: 0.85rem;
}


/* 
https://stackoverflow.com/questions/48373119/change-bootstrap-4-checkbox-background-color
*/

.custom-control-label:before {
  background-color: var(--neutral-color);
  border: none;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::before {
  background-color: #306090;
  border: none;
}

.custom-checkbox .custom-control-input:checked~.custom-control-label::after {
  background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='white' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
  border: none;
}

.custom-control-input:active~.custom-control-label::before {
  background-color: orange;
  border: none;
}

.modal {
  z-index: 1100;
}


/** focus shadow pinkish **/

.custom-checkbox .custom-control-input:focus~.custom-control-label::before {
  box-shadow: 0 0 0 1px #fff, 0 0 0 0.2rem rgba(146, 146, 146, 0.25);
  border: none;
}

a.floor_shape {
  /* visibility: visible!important; */
  overflow: hidden;
  text-indent: -9999px;
}

a.floor_shape polygon:hover {
  opacity: 0.2!important;
}


/* endnanananana */


/* RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
    RESPONSIVE BREAKER (mobile first) style
*/

.display-5 {
  font-size: 1.5rem;
  font-weight: 300;
}

#unitFilter .form-group {
  /* min-width: 200px; */
  /* padding-bottom: 1rem; */
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
}

#unitFilter .floorGroup {
  margin-right: 0!important
}

#unitFilter .floorGroup {
  width: 8rem;
}

#unitFilter .bedRoomGroup {
  width: 14rem;
}

.rangeSliderContainer {
  width: 100%;
  margin-top: -5px;
  padding-left: 5px;
}

#unitFilter .form-group select {
  width: 5rem;
}

#unitFilter label {
  /* margin-bottom: 0px; */
  font-size: .85rem;
  margin-bottom: 1.2rem;
}

#unitFilter .custom-select-sm {
  height: calc(1.5em + .1rem + 2px);
  padding-top: .25rem;
  padding-bottom: .25rem;
  padding-left: .5rem;
  font-size: .75rem;
  line-height: 0.75rem;
}

#unitFilter {
  display: flex;
  justify-content: flex-start;
  flex-wrap: wrap;
}

.unitPos {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.unitPos div {
  width: 10rem;
  margin-right: -.75rem;
}


/* favoriteUnits */

#floorPlans {
  height: 500px;
}

#galleryTab .card-body,
#floorPlans .card-body {
  height: 100%;
}

#favoriteUnits {
  width: 100%;
  height: 100%;
  /* background-color: #D5D3D0; */
}

@media (max-height: 520px) {
  #favoriteUnits {
    height: auto;
  }
}

.favSlide {
  /* width:30%; */
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}

.favSlide .extra_info,
.aptInfoContainer {
  text-align: left;
}

.favSlide .area li {
  justify-content: flex-start;
}

.favSlide .area li span {
  padding-left: .5rem;
}

.favSlide .aptInfoContainer {
  width: 100%;
  padding: 1rem;
  background: #d5d3d0;
}


/*.favSlide .core_info {
   flex-direction: column; 
}*/

.sPlan {
  width: 100%;
  height: auto;
}

#floorNav {
  position: absolute;
  z-index: 18;
  top: 1rem;
}


/* favoriteUnits */

#mainNav .navbar-dark,
#mainNav .navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link:hover,
#mainNav .navbar-brand,
#mainNav .navbar-dark a {
  color: var(--BlackPearl);
}

#mainNav .navbar-dark .navbar-nav .nav-link:focus,
.navbar-dark .navbar-nav .nav-link {
  color: var(--AntiqueBrass)!important;
}

.bg-382E {
  background-color: var(--Cloud);
}

.popUpControls {
  position: absolute;
  top: 1rem;
  left: 1rem;
  list-style: none;
  display: flex;
  flex-direction: row;
  flex-wrap: nowrap;
  justify-content: flex-end;
  height: 1.5rem;
}

.popUpControls li {
  display: block;
  height: 1.5rem;
  padding-right: 0.75rem;
}

button.like_btn,
button.like_btn:focus {
  outline: 0;
  border: 0px!important;
}

.favSlide button.like_btn {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
}

.notification button.like_btn {
  overflow: hidden;
  width: 1.5rem;
  height: 1.5rem;
  text-indent: -9999px;
  background-repeat: no-repeat!important;
  background-position: 99% 0%!important;
  background-size: 3rem 1.5rem!important;
  border: 0px;
  outline: 0;
}

#setting .modal-body {
  text-align: center;
}

.favSlide button.like_btn,
#units_body button.like_btn,
.popUpControls li button,
.popUpControls li a,
.popup-close {
  overflow: hidden;
  display: block;
  width: 1.5rem;
  height: 1.5rem;
  text-indent: -9999px;
  background-repeat: no-repeat!important;
  background-position: 0% 0%!important;
  opacity: 0.5;
  background-size: 3rem 1.5rem!important;
  cursor: pointer;
  border: 0px;
  outline: 0;
}

.favSlide button.like_btn:hover,
.favSlide button.liked,
#units_body button.like_btn:hover,
#units_body button.liked,
.popUpControls li button:hover,
.popUpControls li button.liked,
.popup-close:hover {
  opacity: 1;
  background-position: 99% 0%!important;
}

.popup-content {
  flex-direction: column;
}

.the_apartment {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  background: --neutral-color-bg;
}

.stretch {
  width: 100%;
  display: flex;
  align-self: stretch;
  background-color: var(--img-bg-color);
  align-items: center;
}

.minorStretch {
  width: 100%;
}

.aptInfoContainer {
  color: var(--BlackPearl);
  position: static;
  padding: 1rem 2rem;
  width: 100%;
  flex-direction: column;
  flex-wrap: wrap;
  /* background-color: #fff; */
  /* background: #d5d3d0; */
}

.aptInfoContainer h3 {
  font-size: 1.5rem;
}

.aptInfoContainer .badge {
  display: block;
  width: 4rem;
  font-size: .75rem;
  line-height: .75rem;
}

.core_info {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  /* margin-bottom: 1rem; */
  justify-content: space-between;
  width: 100%;
  font-size: 0.75rem;
}

.core_info dl {
  width: 50%;
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  justify-content: space-between;
  margin-bottom: 0px;
}

.core_info dl dt {
  /* text-align:center; */
  width: 25%;
  /* height: 2rem; */
  display: block;
}

.core_info dl dt img.svg {
  width: 1.5rem;
  height: 1.5rem;
}

.core_info dl dd {
  /* text-align:center; */
  width: 25%;
  display: block;
  padding-left: 0.5rem;
}

.aptInfoContainer .badge-382E {
  /* background-color: var(--Secondary); */
  /* muted green */
  /* color: #fff; */
  font-size: 0.75rem;
  font-variant: small-caps;
}

.core_info .display-4 {
  text-align: right;
  font-size: 1.5rem;
  flex-grow: 1;
}

.area {
  font-size: 0.75rem;
}

#broker {
  font-size: 0.75rem;
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

#broker h5 {
  font-size: 1rem;
}

.broker_avatar {
  width: 4rem;
  height: 4rem;
  border-radius: 2rem;
  background-color: #fff;
  opacity: 0.5;
}

.broker_avatar:hover {
  opacity: 1;
}

#apartmentTypeNum {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  padding: 0rem 2rem 1.5rem 2rem;
  text-align: center;
}

#apartmentTypeNum,
#apartmentTypeNum .btn {
  /* width: 25%; */
  font-variant: small-caps;
  font-weight: 500;
  font-size: .75rem;
}

#allNum a span {
  color: #999;
}

#availableNum a span {
  color: rgb(86, 193, 86);
}

#reservedNum a span {
  color: rgb(229, 172, 0);
}

#soldNum a span {
  color: rgb(255, 78, 78);
}

#likedNum a span {
  color: #FF6961;
}

#apartmentTypeNum,
#units_table {
  max-width: 1200px;
  margin: 0 auto;
}

#units_table tr {
  border-left-style: solid;
  border-left-width: 5px;
  font-size: 0.75rem;
}

#units_table tr td {
  padding: 0.5rem;
}

#units_table thead {
  background: #e9ecef;
  border-bottom: solid 1px #dee2e6;
}

#units_table thead th {
  border: none!important;
  vertical-align: top;
}

#units_table td {
  border-top: none!important;
}

#units_table thead tr {
  border-left-color: #e9ecef;
}

.apt_available {
  border-left-color: var(--Secondary);
}

tr.apt_available:hover {
  background-color: var(--Secondary);
}

.apt_reserved {
  border-left-color: rgb(229, 172, 0);
}

tr.apt_reserved:hover {
  background-color: rgb(229, 172, 0);
}

.apt_sold {
  border-left-color: rgb(255, 78, 78);
  opacity: 0.3;
}

tr.apt_sold:hover {
  background-color: rgb(255, 78, 78);
  opacity: 1;
}

#units_table a {
  cursor: pointer;
}

#units_table a:hover {
  font-weight: bold;
}

.hideOnMobile {
  display: none;
}

button[data-order="asc"] {
  background: url(https://bucketeer-f90eb429-f622-41a4-bd6d-5e38eaf0335e.s3.amazonaws.com/public/asuntohakemisto/asuntohakemisto_pub/uploads/ui/down-arrow.svg) 50% 50% no-repeat!important;
}

button[data-order="dsc"] {
  background: url(https://bucketeer-f90eb429-f622-41a4-bd6d-5e38eaf0335e.s3.amazonaws.com/public/asuntohakemisto/asuntohakemisto_pub/uploads/ui/up-arrow.svg) 50% 50% no-repeat!important;
}

button.sortBtn {
  display: inline-block;
  width: 1rem;
  height: 1rem;
  line-height: 1rem;
  overflow: hidden;
  text-indent: -999px;
  /* margin-left: 0.5rem; */
  border-radius: 1rem;
  border: solid 1px #666;
  background-size: 0.5rem 0.5rem!important;
}

button.sortBtn:hover {
  background-color: var(--Secondary)!important;
}


/* END UNIT TABLE */


/* // Extra small devices (portrait phones, less than 576px) */

@media (max-width: 575.98px) {
  /* .swiper-container-vertical>.swiper-pagination-bullets.swiper-pagination-bullets-dynamic {
        width: 30px;
    } */
  /* #unitFilter{
        flex-direction: column;
    }
    #unitFilter .bedRoomGroup, #unitFilter .floorGroup{
        width: 100px;
    } */
  /*  #unitFilter .form-group {
    width: 100%; */
  /* padding-bottom: 1rem; 
  }*/
  #unitFilter .rangeSldGroup {
    width: 16rem;
  }
  /*.apt-hotspot {
     padding: 2px; */
  /* border-width: 1px; 
  }*/
  /* .swiper-pagination-bullet {
        height: 30px;
    } */
  .apt-hotspot {
    width: 21px;
    height: 21px;
    padding: 2px;
    text-align: center;
    padding: 0px;
    line-height: 16px;
  }
  .apt-hotspot img {
    width: 18px;
    height: 18px;
  }
  /*.popup-content {
     background: #d5d3d0; 
  }*/
  /* .swiper-pagination-bullet img {
        width: 10px;
    } */
  /* hide floor plan desktop version */
  /* #floors_plan {
        visibility: hidden;
        opacity: 0;
        height: 0px;
        padding-top: 0px;
        transition: visibility 0s, opacity 1s ease-out;
        overflow: hidden;
        display: none;
    } */
  /* show mobile version */
  /* #all_apartments {
        display: block;
        visibility: visible;
        opacity: 1;
        height: auto;
    } */
  .space_basic_info_container h4 {
    margin-right: 5px;
    margin-left: 5px;
  }
  .space_basic_info_container h4 span {
    margin-bottom: 5px;
  }
  #pannel_controls {
    bottom: 10px !important;
  }
  .unitStatusGroup,
  .floorGroup,
  .bedRoomGroup {
    margin-bottom: 0px;
  }
  .bounce-top {
    top: 2rem;
    left: 100%;
    margin-left: -2.5rem;
  }
}


/* // Small devices (landscape phones, 576px and up) */

@media (min-width: 576px) and (max-width: 991.98px) {
  #unitFilter .rangeSldGroup {
    width: 16rem;
  }
  .minorStretch {
    width: 100%;
  }
  .aptInfoContainer {
    padding-left: 4rem;
    padding-right: 4rem;
  }
  /*  .popup-content {
    background: #d5d3d0; 
  }*/
  .broker_avatar {
    width: 6rem;
    height: 6rem;
    border-radius: 3rem;
  }
  .popUpControls {
    left: 1rem;
  }
  /* .modal-fullscreen .popup-close {
        right: 4rem;
    } */
  .apt-hotspot span {
    padding: 2px;
  }
}

@media (min-width: 576.98px) {
  .hideOnMobile {
    display: block!important;
  }
  #units_table tr {
    font-size: 1rem;
  }
  #units_table tr td {
    padding: 0.75rem;
  }
  #apartmentTypeNum,
  #apartmentTypeNum .btn {
    font-size: 1rem;
  }
}


/* // Medium devices (tablets, 768px and up) */


/* @media (min-width: 768px) and (max-width: 991.98px) { */

@media (min-width: 768px) and (max-width: 1024.98px) {
  .bounce-top {
    top: 3rem;
  }
}

@media (min-width: 992px) and (max-width: 1024.98px) {
  #unitFilter {
    display: flex;
    /* justify-content: space-evenly; */
    flex-wrap: wrap;
  }
  #unitFilter .rangeSldGroup {
    width: 14rem;
  }
  .apt-hotspot span {
    padding: 2px;
  }
  .popup-content {
    align-items: center;
    flex-direction: row;
  }
  .stretch {
    width: 70%;
  }
  .minorStretch {
    width: 30%;
  }
  .the_apartment {
    position: relative;
    height: auto;
    width: 100%;
  }
  .popUpControls {
    position: absolute;
    top: 1.5rem;
    right: 4.75rem;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    height: 1.5rem;
  }
  .modal-fullscreen .popup-close {
    top: 1.5rem;
    right: 1.5rem;
  }
  .aptInfoContainer {
    /* position: absolute; */
    width: 80%;
    flex-direction: column;
    flex-wrap: wrap;
    height: auto;
    background: none!important;
  }
  .aptInfoContainer h3 {
    font-size: 1.5rem;
  }
  .core_info {
    display: flex;
    align-items: flex-start;
    flex-wrap: wrap;
    justify-content: flex-start;
    width: 100%;
    font-size: 0.75rem;
  }
  .aptInfoContainer .badge {
    display: block;
    width: 4rem;
    /* font-size: 0.6rem!important;
        line-height: 0.6rem!important; */
  }
  .core_info .display-4 {
    text-align: right;
    font-size: 1.5rem;
    flex-grow: 1;
  }
  /* .extra_info {
        width:200px;    
    } */
  .core_info dl {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .core_info dl dt {
    /* text-align:center; */
    width: 25%;
    height: 1rem;
    display: block;
  }
  .core_info dl dt img.svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .core_info dl dd {
    /* text-align:center; */
    width: 25%;
    display: block;
    padding-left: 0.5rem;
  }
  .area li {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  #broker {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  .broker_avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
  }
}


/* // Large devices (desktops, 992px and up) */

@media (min-width: 1025px) and (max-width: 1336px) {
  .bounce-top {
    top: 3rem;
  }
  #unitFilter .rangeSldGroup {
    width: 14rem;
  }
  .bedRoomGroup {
    margin-right: 1rem;
  }
  #unitFilter .form-group {
    margin-bottom: 5px;
  }
  .apt-hotspot span {
    padding: 2px;
  }
  .popup-content {
    align-items: center;
    flex-direction: row;
  }
  .stretch {
    width: 70%;
  }
  .minorStretch {
    width: 30%;
  }
  .the_apartment {
    position: relative;
    height: auto;
    width: 100%;
  }
  .popUpControls {
    position: absolute;
    top: 1.5rem;
    right: 4.75rem;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    height: 1.5rem;
  }
  .modal-fullscreen .popup-close {
    top: 1.5rem;
    right: 1.5rem;
  }
  .aptInfoContainer {
    /* position: absolute; */
    width: 80%;
    flex-direction: column;
    flex-wrap: wrap;
    height: auto;
    background: none!important;
  }
  .aptInfoContainer h3 {
    font-size: 1.5rem;
  }
  .core_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    /* margin-bottom: 1rem; */
    font-size: 0.75rem;
  }
  .aptInfoContainer .badge {
    display: block;
    width: 4rem;
    /* font-size: 0.6rem!important;
        line-height: 0.6rem!important; */
  }
  .core_info .display-4 {
    text-align: right;
    font-size: 1.5rem;
    flex-grow: 1;
  }
  /* .extra_info {
        width:200px;    
    } */
  .core_info dl {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .core_info dl dt {
    /* text-align:center; */
    width: 25%;
    /* height: 2rem; */
    display: block;
  }
  .core_info dl dt img.svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .core_info dl dd {
    /* text-align:center; */
    width: 25%;
    display: block;
    padding-left: 0.5rem;
  }
  .area li {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  #broker {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  .broker_avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
  }
}


/* // Extra large devices (large desktops, 1200px and up) */

@media (min-width: 1336.01px) {
  #unitFilter .rangeSldGroup {
    width: 16rem;
  }
  #unitFilter .form-group {
    margin-bottom: 5px;
    margin-right: 4rem;
  }
  .apt-hotspot span {
    padding: 2px;
  }
  .popup-content {
    align-items: center;
    flex-direction: row;
    height: 100%;
    overflow: hidden;
  }
  .stretch {
    width: 70%;
  }
  .minorStretch {
    width: 30%;
  }
  .the_apartment {
    position: relative;
    height: auto;
    width: 100%;
  }
  .popUpControls {
    position: absolute;
    top: 1.5rem;
    right: 3.75rem;
    list-style: none;
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    justify-content: flex-end;
    height: 1.5rem;
  }
  .modal-fullscreen .popup-close {
    top: 1.5rem;
    right: 1.5rem;
  }
  .aptInfoContainer {
    /* position: absolute; */
    width: 80%;
    flex-direction: column;
    flex-wrap: wrap;
    height: auto;
    background: none!important;
  }
  .aptInfoContainer h3 {
    font-size: 1.5rem;
  }
  .core_info {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    justify-content: space-between;
    width: 100%;
    font-size: 0.75rem;
  }
  .aptInfoContainer .badge {
    display: block;
    width: 4rem;
    /* font-size: 0.6rem!important;
        line-height: 0.6rem!important; */
  }
  .core_info .display-4 {
    text-align: right;
    font-size: 1.5rem;
    flex-grow: 1;
  }
  /* .extra_info {
        width:200px;    
    } */
  .core_info dl {
    width: 50%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: space-between;
  }
  .core_info dl dt {
    /* text-align:center; */
    width: 25%;
    height: 1rem;
    display: block;
  }
  .core_info dl dt img.svg {
    width: 1.5rem;
    height: 1.5rem;
  }
  .core_info dl dd {
    /* text-align:center; */
    width: 25%;
    display: block;
    padding-left: 0.5rem;
  }
  .area li {
    display: flex;
    width: 100%;
    justify-content: space-between;
  }
  #broker {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    width: 100%;
    align-items: center;
  }
  .broker_avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 2rem;
  }
}

@media (max-width: 767px) {
  .bounce-top {
    top: 2.5rem;
    left: 100%;
    margin-left: -2.5rem;
  }
}


/* MASONRY GAL */

.grid {
  background: #fff;
}


/* clear fix */

.grid:after {
  content: '';
  display: block;
  clear: both;
}


/* ---- .grid-item ---- */

.grid-sizer,
.grid-item {
  width: 33.333%!important;
}

.grid-item {
  float: left;
  padding: 0.5rem;
}

.grid-item img {
  display: block;
  max-width: 100%;
}