/* Generel */

.boligoversigt_container {
    position: relative;
}

.boligoversigt_container > img.image-for-show {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    height: auto;
}

.boligoversigt_container > img.image-for-size {
    opacity: 0;
}

/* Popup */

.boligoversigt_popup {
    position: absolute;
    top: -50px;
    /*left: 0;*/
    right: 0;
    bottom: 0;
    width: 100%;
    min-width: 350px;
    background: #ffffff;
}

.boligoversigt_popup_container {
    background: #F4F4F4;
}

.boligoversigt_popup .boligoversigt_popup_container > img {
    margin: 0 auto;
    float: none;
    max-width: calc(100% + 100px);
    max-height: 180px;
    display: block;
}

.boligoversigt_popup .bolig_close {
    text-align: right;
}

.boligoversigt_popup .bolig_close img {
    width: 100px;
    padding: 30px 30px 10px;
    cursor: pointer;
}

.boligoversigt_popup table, .boligoversigt_popup table tr, .boligoversigt_popup table tr td {
    border: none;   
}

.boligoversigt_popup .bolig_table {
    padding: 20px 50px 50px;
}

.boligoversigt_popup table tr {
    height: 45px;
}

.boligoversigt_popup table tr img {
    width: 18px;
}

.boligoversigt_popup table tr td:first-child {
    border-right: 1px solid #D4D4D4;
    width: 20%;
}

.boligoversigt_popup table tr td:last-child {
    padding-left: 30px;
}

#bolig_image {
    max-height: 200px;
    margin: 0 auto;
    display: block;
    float: none;
}

/* Houses */
.boligoversigt_container .hus {
    position: absolute;
    top: 0;
    left: 0;
    cursor: pointer;
}

.boligoversigt_container .hus .number {
    background: #41AD49;
    border: 1px solid #ffffff;
    text-align: center;
    float: left;
    cursor: pointer;
    color: #ffffff;
}

/*
.boligoversigt_container .hus .number.reserved { 
    background: #FCD31D;
}*/

.boligoversigt_container .hus .number.sold,
.boligoversigt_container .hus .number.reserved { 
    background: #D2242A;
  	cursor: default;
}

.hus span {
    display: block;
}


/* ---------------------------------- Sønæs ---------------------------------- */


.sonas .boligoversigt_container > img {
    width: 750px;
    min-width: 750px;
    max-width: 750px;
    height: 603px;
    min-height: 603px;
    max-height: 603px;
}

.sonas .hus.type_1 {
    top: 527px;
    left: 251px;
    width: 400px;
}

.sonas .hus .design-1 {
    width: 46px;
    height: 47px;
    line-height: 47px;
}

.sonas .hus.type_2 {
    top: 527px;
    left: 661px;
    width: 100px;
}

.sonas .hus.type_3 {
    top: 507px;
    left: 210px;
    width: 40px;
}

.sonas .hus .design-3 {
    width: 37px;
    height: 51px;
    line-height: 47px;
    transform: rotate(22.5deg);
}

.sonas .hus .design-3:after {
    content: '';
    position: absolute;
    top: 0px;
    left: 33px;
    width: 100px;
    height: 50px;
    width: 0;
    height: 0;
    border-bottom: 47px solid #41AD49;
    border-right: 17px solid transparent;
}

.sonas .hus.type_4 {
    top: 244px;
    left: 65px;
    width: 400px;
    transform: rotate(-51deg);
}

.sonas .hus.type_5 {
    top: 57px;
    left: 366px;
    width: 100px;
    transform: rotate(-51deg);
}


/* Dalhave */
.dalhave .hus.type_1 {
    top: 472px;
    left: 251px;
    width: 600px;
    
    -ms-transform: rotate(-15deg);
    -webkit-transform: rotate(-15deg);
    transform: rotate(-15deg);
}

.dalhave .hus.type_1 span {
    -ms-transform: rotate(15deg);
    -webkit-transform: rotate(15deg);
    transform: rotate(15deg);

}

.dalhave .hus .design-1 {
    width: 45.5px;
    height: 55px;
    line-height: 55px;
}

.dalhave .hus.type_2 {
        top: 63px;
    left: -61px;
    width: 600px;
    -ms-transform: rotate(-79deg);
    -webkit-transform: rotate(-79deg);
    transform: rotate(-79deg);
}

.dalhave .hus.type_2 span {
    -ms-transform: rotate(79deg);
    -webkit-transform: rotate(79deg);
    transform: rotate(79deg);
}

.dalhave .hus .design-2 {
    width: 31px;
    height: 44px;
    line-height: 44px;
}


/* ---------------------------------- Agerlandsvej ---------------------------------- */

.agerlandsvej .boligoversigt_container > img {
    width: 750px;
    min-width: 750px;
    max-width: 750px;
    height: 523px;
    min-height: 523px;
    max-height: 523px;
}


.agerlandsvej .hus.type_1 {
    top: 244px;
    left: 319px;
    width: 300px;
    -ms-transform: rotate(-159deg);
    -webkit-transform: rotate(-159deg);
    transform: rotate(-159deg);
}

.agerlandsvej .hus.type_1 span {
    -ms-transform: rotate(159deg);
    -webkit-transform: rotate(159deg);
    transform: rotate(159deg);
}

.agerlandsvej .hus.type_2 {
    top: 354px;
    left: 308px;
    width: 300px;
    -ms-transform: rotate(21deg);
    -webkit-transform: rotate(21deg);
    transform: rotate(21deg);
}

.agerlandsvej .hus.type_2 span {
    -ms-transform: rotate(-21deg);
    -webkit-transform: rotate(-21deg);
    transform: rotate(-21deg);
}

.agerlandsvej .hus.type_3 {
    top: 373px;
    left: 219px;
    width: 112px;
    -ms-transform: rotate(-58deg);
    -webkit-transform: rotate(-58deg);
    transform: rotate(-58deg);
}

.agerlandsvej .hus.type_3 span {
    -ms-transform: rotate(58deg);
    -webkit-transform: rotate(58deg);
    transform: rotate(58deg);
}

.agerlandsvej .hus .design-1 {
    width: 26px;
    height: 39px;
    line-height: 38px;
}

.agerlandsvej .hus .design-1:nth-child(even) {
    margin-right: 15.5px;
}

.agerlandsvej .hus.type_3 .design-1:nth-child(even) {
    margin-right: 0;
}

.agerlandsvej .hus.type_3 .design-1:nth-child(odd) {
    margin-right: 15.5px;
}


/*******************************************************************************
    ! MEDIA MAX 960
*******************************************************************************/

@media only screen and (max-width: 960px) {
    
    .boligoversigt_container {
        overflow: scroll;
    }
   
    .boligoversigt_popup {
        top: 65px;
    }
}

/*******************************************************************************
    ! MEDIA MAX 480
*******************************************************************************/

@media only screen and (max-width: 480px) {
    
    .boligoversigt_popup {
        min-width: 0%;
    }

  
}