html,
body {
  margin: 0;
  padding: 0;
}

#image-map {
  width: 100%;
  height: calc(100vh - 134px);
  /*position: absolute !important;
  right: 0;
  top: 0;*/
}
@supports (height: 100svh) {
  #image-map {
    height: calc(100svh - 134px);
  }
}

.leaflet-map-pane svg,
.leaflet-map-pane svg path {
  pointer-events: all !important;
}

.leaflet-map-pane svg path.house-item {
  opacity: 0;
}

@media (hover: hover) {
  .leaflet-map-pane svg path.house-item:hover {
    opacity: 0.6;
    cursor: pointer;
  }
}

.leaflet-map-pane svg path.house-item.active {
  opacity: 1;
}

.leaflet-marker-icon,
.leaflet-marker-shadow {
  display: none !important;
}

.mf-map {
  display: flex;
}

.mf-bar .uk-slideshow {
  height: 100%;
}

.mf-bar .uk-slideshow .uk-slideshow-items {
  height: 100%;
}

.mf-bar .uk-slideshow .uk-slideshow-items li {
  height: 100%;
}

.mf-bar-left {
  width: 25%;
  min-width: 380px;
  /* max-width: 580px; */
  z-index: 999;
  position: relative;
  transition: all 1s ease-in-out;
  height: calc(100vh - 134px);
}

@supports (height: 100svh) {
  .mf-bar-left {
    height: calc(100svh - 134px);
  }
}

.mf-bar-right {
  width: 75%;
  transition: all 1s ease-in-out;
  position: absolute;
  right: 0;
  top: 0;
}

.mf-map.full .mf-bar-left {
  transform: translateX(-100%);
}

.mf-map.full .mf-bar-right {
  width: 100%;
}

.leaflet-bottom.leaflet-right {
  display: none;
}

.mf-top-image {
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
  width: 100%;
  height: 42%;
}

.mf-bottom-content {
  height: 58%;
  padding-top: 6vh;
  position: relative;
  border-right: 1px solid;
  padding-left: 2vw;
  padding-right: 2vw;
  overflow: auto;
}

.mf-bottom-content::-webkit-scrollbar {
    display: none !important;
}

.mf-bottom-content.default {
  text-align: center;
  padding-bottom: 6vh;
  display: flex;
  justify-content: center;
  align-items: center;
  height: 100%;
}

.mf-bottom-content h2 {
  color: black;
  font-size: 48px;
  font-size: clamp(30px, 9vw, 48px);
  padding: 0 15px;
  text-align: center;
  line-height: 134%;
  hyphens: auto;
}

.mf-bottom-actions .uk-button {
  font-size: clamp(16px, 4vw, 20px);
  padding: 6px 18px;
  margin-bottom: 12px;
}

.mf-bottom-actions .uk-button:first-child {
  margin-right: 14px;
}

.mf-bottom-address {
  color: black;
  text-align: center;
  padding: 5vh 0;
}

.mf-bottom-actions {
  text-align: center;
}

.main-mf-slider {
  background: #f2f2f2;
}

.mf-bar-left-toggler {
  width: 31px;
  background: #f2f2f2;
  height: 140px;
  display: flex;
  justify-content: center;
  align-items: center;
  border-right: 1px solid black;
  position: absolute;
  right: -30px;
  top: calc(42% - 1px);
  cursor: pointer;
  border-top: 1px solid black;
  border-bottom: 1px solid black;
  border-top-right-radius: 40px;
  border-bottom-right-radius: 40px;
  background-image: url(/images/osttiroler-manufakturen/icons/chev-left.svg);
  background-repeat: no-repeat;
  background-position: 8px center;
  z-index: 1;
}

.mf-bar-left-toggler::before {
  content: "";
  position: absolute;
  width: 10px;
  height: calc(100% - 2px);
  background: #f2f2f2;
  left: -4px;
  top: 1px;
}

.mf-map.full .mf-bar-left-toggler {
  background-image: url(/images/osttiroler-manufakturen/icons/chev-right.svg);
}

.mf-map-toggler span {
  margin-left: 32px;
}


.mf-mobile-map-close {
	display: none;
	position: absolute;
	right: 12px;
	top: 12px;
	z-index: 10;
	background: var(--main-bg);
}

.mf-mobile-map-close > svg {
	width: 16px;
}

.image-map-actions {
  position: absolute;
  bottom: 100px;
  z-index: 999;
  width: 100%;
}

.image-map-actions .map-actions-left,
.image-map-actions .map-actions-right {
  /* width: 100%; */
  position: absolute;
}

.image-map-actions .map-actions-right {
  display: flex;
  justify-content: flex-end;
  padding-right: 3%;
  right: 0;
  /*width: calc(50% - 250px);*/
  width: 100%;
}

.image-map-actions .map-actions-left {
  display: flex;
  justify-content: flex-end;
  z-index: 1;
  width: calc(50% + 250px);
}

.image-map-actions .map-actions-left .full-height-slider-nav-container.image-map {
  max-width: 500px;
}



.map-loading-outer {
	position: absolute;
	width: 100%;
	height: 100%;
	display: flex;
	justify-content: center;
	align-items: center;
	transition: 0.4s;
}

.map-loading-inner {
    width: 100%;
    height: 100%;
    background: white;
    z-index: 401;
    display: flex;
    justify-content: center;
    align-items: center;
	flex-direction: column;
    transition: 0.4s;
}

.mf-map::after {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: #00000087;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 1s ease-in-out;
}

.mf-map.show-mobile::after {
  opacity: 1;
}

.map-loading-outer.hide-loading {
	pointer-events: none !important;
}

.map-loading-outer.hide-loading > .map-loading-inner {
	opacity: 0 !important;
	pointer-events: none !important;
}

.map-loading-inner > img {
    z-index: 401;
    width: 50px;
	padding-bottom: 10px;
}

.image-map-actions .full-height-slider-nav-container {
  margin-top: 0 !important;
}

.image-map-actions .map-actions-right > .uk-button {
	z-index: 1;
}


.main-menu-btn,
.mobile-search-btn {
  background: var(--main-bg);
}

.main-menu-btn.menu-btn-open,
.mobile-search-btn.menu-btn-open {
  background: var(--accent-bg);
}

@media only screen and (max-height: 999px) {
  body {
    .mf-bottom-content {
      zoom: 0.9;
      border-right: 1.6px solid;
    }

    .mf-bottom-content .mf-bottom-actions a.uk-button {
      border: 1.5px solid #000000;
    }
  }
}

@media only screen and (max-width: 1799px) {
  body {
    .mf-bar-left {
      width: 40%;
    }

    .mf-bar-right {
      width: 60%;
    }

    .image-map-actions .map-actions-left {
      justify-content: flex-start;
      margin-left: 4%;
      width: 254px;
    }
  }
}

@media only screen and (max-width: 1299px) {
  .image-map-actions .map-actions-left {
    justify-content: center;
  }
}

@media only screen and (min-width: 1100px) {
	.mf-bottom-content {
		position: initial;
		padding-bottom: 25px;
	}

	.mf-bottom-content:after {
		content: "";
		position: absolute;
		bottom: 0;
		left: 0;
		width: calc(100% - 2px);
		height: 44px;
		z-index: 1;
		background: linear-gradient(0deg, rgba(242,242,242,1) 0%, rgb(242 242 242 / 88%) 56%, rgba(242,242,242,0) 100%);
		pointer-events: none;
	}
}

@media only screen and (max-width: 1099px) {
  .image-map-actions .map-actions-left .full-height-slider-nav-container.image-map {
    max-width: 400px;
  }

  .mf-mobile-map-close {
	display: block;
  }
}

@media only screen and (max-width: 999px) {
  .image-map-actions .map-actions-left {
    justify-content: start;
    margin-left: 20px;
  }
  .image-map-actions .map-actions-right {
    padding-right: 0;
    margin-right: 20px;
  }
	.image-map-actions .map-actions-right .map-zoom-out {
		margin-right: 15px;
		margin-left: 0;
	}
	.image-map-actions .map-actions-right .map-zoom-in {
		margin-right: 0;
		margin-left: 0;
	}
}

@media only screen and (min-width: 960px) and (max-width: 999px) {
  .image-map-actions .map-actions-left {
    margin-left: 65px;
  }
}

@media only screen and (max-width: 1099px) {
	#image-map {
		height: 100vh;
	}
  @supports (height: 100svh) {
    #image-map {
      height: 100svh;
    }
  }

  .mf-bottom-content {
    zoom: 1 !important;
    border-right: 0 !important;
  }

  .mf-bottom-content .mf-bottom-actions a.uk-button {
    border: 1px solid #000000 !important;
  }

  .mf-bar-left {
    width: 50% !important;
    left: 25%;*/
    border-left: 1px solid;
    border-right: 1px solid;
  }

  /* .mf-bar-left .main-mf-slider,
  .mf-bar-left .main-mf-slider ul {
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
  } */

	footer {
		position: fixed;
		bottom: 0;
		bottom: -400px;
		width: 100%;
		z-index: 1001;
		transition: 0.4s;
	}


	.mf-map {
		flex-wrap: wrap;
		flex-direction: column-reverse;
	}

	.mf-bar-right {
		width: 100% !important;
		position: relative;
	} 
	
	.mf-bar-left {
		width: 100%;
    position: fixed;
    height: calc(100vh - 220px);
    bottom: calc(-100vh + 220px);
    z-index: 1000;
    border-top: 1px solid;
	}
  @supports (height: 100svh) {
    .mf-bar-left {
      height: calc(100svh - 220px);
      bottom: calc(-100svh + 220px);
    }
  }

  .mf-map.show-mobile .mf-bar-left {
    bottom: 0;
  }

  .mf-bar .uk-slideshow .uk-slideshow-items li {
    overflow: auto;
  }

  .mf-bottom-content {
    padding-bottom: 24px;
    height: auto;
    overflow: auto;
    padding-top: 24px;
    padding-left: 7px;
    padding-right: 7px;
    border-right: unset;
  }

  .mf-bottom-content h2 {
    padding: 0 15px;
    margin-bottom: 0;
  }

  .mf-bottom-address {
    padding: 25px 0;
}

  .mf-bar-left-toggler {
    left: 0;
    right: 0;
    top: -86px;
    margin-left: auto;
    margin-right: auto;
    transform: rotate(270deg);
  }

  .mf-bar-left-toggler {
    background-image: url(/images/osttiroler-manufakturen/icons/chev-right.svg);
  }

  .mf-map.show-mobile .mf-bar-left-toggler {
    background-image: url(/images/osttiroler-manufakturen/icons/chev-left.svg);
  }

  .main-mf-slider {
    z-index: 1;
  }
}

@media only screen and (max-width: 899px) {
  body {
    .mf-bar-left {
      width: 75% !important;
      left: 12.5%;
    }
  }
}

@media only screen and (max-width: 676px) {
  body {
    .image-map-actions .map-actions-left {
      width: auto;
    }
  
    .image-map-actions .map-actions-left .full-height-slider-nav-container.image-map {
      max-width: initial;
      width: auto;
    }
  
    .image-map-actions .map-pan-left {
      margin-right: 30px !important;
    }
  
    .mf-bar-left {
      width: 100% !important;
      left: 0;
      border-left: none;
      border-right: none;
      min-width: 300px;
    }
  }

  .mf-bar-left {
    width: 100% !important;
    left: unset;
    border-left: 1px solid;
    border-right: 1px solid;
  }
}

@media only screen and (max-width: 599px) {
	.map-actions-right > .uk-button {
		display: flex !important;
		justify-content: center;
		align-items: center;
		height: 40px;
		width: 50px;
		padding: 0 !important;
	}

  .main-menu-container .uk-width-1-1 {
    padding: 0px!important;
  }

	.map-actions-right > .uk-button:hover {
		display: flex !important;		
	}

	.map-actions-right > .uk-button > span > svg {
		width: 25px;
	}
}

@media only screen and (max-width: 420px) {
	.image-map-actions .map-pan-left {
		margin-right: 15px !important;
	}
}