/*Boligvelger*/

body, a, li, ul, p, h1, h2, h3, h4, span, button, field p, p.statuser.fa {
  font-family: 'PT Sans', sans-serif;
  /* font-family: 'Forum', cursive; */
}
/*Topp*/
.top-nav{
  background: #ecf0ed;
  height: 2rem;
  padding: 0px 15px;
}

.nav-list{
  padding: .25rem 1rem;
  margin:0;
  list-style-type: none;
}

.nav-list li:first-child {
  margin-right: 2rem;
}

.nav-list li{
  display: inline;
  margin: 0 .5rem;
  font-weight: 300;
  text-transform: capitalize;
}

.nav-list li a {
  color: #010101;
}

.nav-list li a:hover {
  text-decoration: none;
  color: #010101;
}

.nav-list .fa-angle-right {
  /*color: #FFF;*/
}

/*Hoved*/
.bv-container {
  padding: 0;

}

.bv-container img{
  width: 100%;
  max-width: 100%;
}
.bv-container svg{
  position: absolute;
  left: 0;
  top: 0;
  width: 100%;
  max-width: 100%;
}
.popup-container{
  position: absolute;
  /*height: 100vh;*/
  width: 100vw;
  left: 0;
  top: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: all .15s ease-in-out;
  z-index: 10;
}
.popup-container.aktiv{
  opacity: 1;
  pointer-events: auto;
}
.popup {
  background: white;
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  padding-bottom: 1rem;
  -webkit-box-shadow: 0 10px 14px -6px #000;
  -moz-box-shadow: 0 10px 14px -6px #000;
  box-shadow: 0 10px 14px -6px #000;
  max-width: 80%;
}

.content-container{
  overflow-y: auto;
  max-height: calc(90vh - 4rem);
  margin-top: 2.5rem;
}

.inner-content{
  padding: 1rem;
}

.inner-content p{
  text-align: right;
  margin: 0;
  padding: .75rem 0;
  color: #333;
  border-bottom: 1px solid #e7ecf1;
}

.inner-content span{
  float: left;
  font-weight: 600;
  color: #333;
}

up {
  position: relative;
  font-size: 75%;
  line-height: 0;
  vertical-align: baseline;
  top: -0.5em;
}

.boenhet{
  fill: #FFF;
  cursor: pointer;
  transition: ease-in-out .15s;
}

.boenhet:hover {
  fill: #fff !important;
  fill-opacity: .3 !important;
  transition: ease-in-out .15s;
}

.no-touch{
  pointer-events: none;
}

.content-container::-webkit-scrollbar {
  width: 5px;
}

.content-container::-webkit-scrollbar-thumb {
  border-radius: .5rem;
  background: #c2c9d2;
}

.header-row{
  background: #d1dbdc;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: space-between;
  width: 100%;
  top: 0;
  left: 0;
  border-radius: 1rem 1rem 0 0;
  font-weight: 600;
}
.header-row > * {
  padding: .3rem 1rem;
  padding-top: .6rem;
}

.content{
  display: none;
  opacity: 1;
  width: 100%;
  margin: 0;
  background: #ffffff;
  border-radius: 2px;
}

.content-backdrop{
  position: fixed;
  top: 0;
  left: 0;
  opacity: 0;
  background-color: #000;
  pointer-events: none;
  transition: all .3s ease;
  height: 100%;
  z-index: 5;
}

.backdrop-in{
  opacity: .5;
}

.aktiv{
  display: inline-flex;
}

.lukk-knapp{
  cursor: pointer;
  border-radius: 0 1rem 0 0;
  border-left: 1px solid transparent;
}

.lukk-knapp:hover{
  background: #e7ecf1;
  border-color: #c0ccce;
}

.lukk-knapp span{
  font-weight: 900;
  color: #333;
}

.content-header {
  text-transform: capitalize;
  padding: 1rem 0;
  text-align: center;
  font-size: 1.2rem;
  border-bottom: 1px solid #e7ecf1;
  color: #333;
  font-weight: 600;
}

.valg1, .valg2 {
  fill-opacity: 0;
  stroke-opacity: .7;
  transition: all .3s ease;
  cursor: pointer;
}

.valg1:hover, .valg2:hover {
  fill-opacity: .65;
  stroke-opacity: 1;
}

[class^="bolig-A"], [class^="bolig-B"], [id^="rh"] {
  fill-opacity: 0;
  transition: all .3s ease;
  cursor: pointer;
}

[class^="bolig-A"]:hover, [class^="bolig-B"]:hover, [id^="rh"]:hover {
  fill-opacity: .65;
}

.element-item p,.element-item div {
  pointer-events:none;
}

a.vinkel {
    position: absolute;
    top: 22px;
    right: 22px;
    background-color: #f0ad4e;
    color: #333;
    font-weight: 600;
    padding: 0.5rem 1rem;
		transition: ease-in-out .5s;
		z-index: 999;
		text-decoration: none;
}

a.vinkel:hover {
    transition: ease-in-out .5s;
    background-color: #e7ecf1;
}

/*Detaljliste*/

.filter-knapp {
  padding: 0 1px;
}

button.filter-head {
  background: #d1dbdc;
  width: 100%;
  border: none;
  cursor: pointer;
  font-weight: 600;
}

button.filter-head:hover, button.filter-head:focus {
  background: #e7ecf1;
  outline: 0;
}

.element-item {
  border-bottom: 1px solid rgba(51, 51, 51, 0.24);
  cursor: pointer;
}

.element-item:hover {
  background-color: #ececec;
}

.field {
  text-align: center;
  padding: .5rem 0;
  border-left: 1px solid #ffffff;
  border-right: 1px solid #ffffff;
}

.field p, .content-header p {
  margin:0;
}

.statuser{
  text-transform: capitalize;
}

p.mark-res{
  text-transform: uppercase;
  color: #bd8f18;
  font-weight: 600;
  border: 2px solid;
  border-radius: 2px;
  padding: .1rem .2rem;
}
p.mark-ledig{
  text-transform: uppercase;
  color: #333;
  padding: .1rem .2rem;
}
p.mark-solgt{
  text-transform: uppercase;
  color: red;
  font-weight: 600;
  border: 2px solid;
  border-radius: 2px;
  padding: .1rem .2rem;
}
/*
.element-item:hover p.mark-res, .element-item:hover p.mark-ledig, .element-item:hover p.mark-solgt {
color: #333;
}

.marked{
  background-color: #35baf2;
  color: #FFF !important;
  border-bottom: 1px solid #34aee2;
}

.marked p.mark-res, .marked p.mark-ledig, .marked p.mark-solgt{
  color: #FFF;
}
*/
/*Detaljvindu*/
.detail-container img, .detail-container svg{
  max-width: 100%;
}


/*LOADER*/
.loader {
  position: fixed;
  left: 0px;
  top: 0px;
  width: 100%;
  height: 100%;
  z-index: 9999;
  background: url('https://www.downgraf.com/wp-content/uploads/2014/09/01-progress.gif?e44397') 50% 25% no-repeat rgb(255,255,255);
  background-size: 30%;
}
/* ------- */

/* TOOLTIP */
.boenhettooltip {
  display: none;
  background: #FFF;
  position: absolute;
  z-index: 1100;
  border: 4px solid #FFF;
}

.bt-top, .bt-bot{
  padding: .5rem 1rem;
}

.bt-top span{
  font-weight: 600;
}

.bt-top span, .bt-bot span{
  text-transform: capitalize;
}

.bt-bot span{
  color: #FFF;
}

.tooltip-visible {
  display: block;
}

/* ------- */



/* Design spesifikt - Design 1 */
button.filter-head {
  background: #d1dbdc;
  width: 100%;
  border: none;
  cursor: pointer;
  font-size: 1.2rem;
  margin: 0;
  padding: 1rem 0rem 1rem 0rem;
  border-right: 2px solid #fff;
  border-left: 0;
  color: #333;
}



.row > * div:last-child button {
  border-right: 0;
}

.filter-knapp {
  padding: 0;
}

.field {
  border: 0;
}

.element-item {
  border-bottom: 0;
  cursor: pointer;
  color: #333;
}

.element-item:hover {
  background-color: #e7ecf1;
  color: #333;
  border-bottom: 1px solid #e7ecf1;
}

button.filter-head:hover, button.filter-head:focus {
  background: #e7ecf1;
  outline: 0;
}

.top-nav {
  background: #ffffff;
  height: auto;
  display: none;
}

.nav-list {
  padding: 1rem 0rem;
  margin: 0;
  list-style-type: none;
  text-align: center;
  font-size: 1.2rem;
}

.nav-list li a {
  color: #333;
}

.fa-angle-right:before {
  color: #333;
}

button.filter-head i {
  color: #333;
}

button.filter-head:hover i, button.filter-head:focus i {
  color: #333;
}

.snudd:before {
  content: "\f106"!important;
}


@media only screen and (max-width : 1400px) {
  button.filter-head {
    font-size: 1rem;
  }
}


  @media only screen and (max-width : 1000px) {

    .content-container{
      margin-top: 0;
    }
    .inner-content {
      padding: 1rem;
      padding-top: 3rem;
    }
    .popup {
      max-width: 100%;
    }
    .detail-container img, .detail-container svg {
      max-height: 100%;
    }
  }


  @media only screen and (max-width : 767px) {
    button.filter-head {
      padding: .5rem 0rem .5rem 0rem;
    }

    .tooltip-visible {
      display: none !important;
    }

    a.vinkel {
  		padding: 0.2rem .5rem;
      bottom: 5px;
      font-size: .9rem;
  		top: unset;
  		right: 5px;
  	}

    .mobile-ledig {
      height: .7rem;
      width: .7rem;
      background: green;
      border-radius: 50%;
      align-self: center;
    }
    .mobile-solgt {
      height: .7rem;
      width: .7rem;
      background: #f60c03;
      border-radius: 50%;
      align-self: center;
    }
    .mobile-res {
      height: .7rem;
      width: .7rem;
      background: #bd8f17;
      border-radius: 50%;
      align-self: center;
    }
    .detail-container img, .detail-container svg {
      max-height: 450px;
    }
    .inner-content p {
      padding: .3rem 0;
    }

  }
