@media all and (min-width: 2300px) and (max-width: 3000px) { /*  Desktops 2500 - 3000 */ 
  #header .header_image_container, #header .header_image_container img.big_topimg {
    height:auto;
    width: 100%;
    max-width: none;
  }

}

@media all and (min-width: 992px) and (max-width: 1800px) { /* Small Desktops */ 
  #top_img_text {
    padding-top: 70px;
  }
}

@media all and (min-width: 992px) and (max-width: 1500px) { /* Small Desktops */ 
  #top_img_text {
    padding-top: 50px;
  }
  h1, .topheadline h1 { 
    font-size: 64px;
  }
}

@media all and (min-width: 1200px) { /* Big Desktops */ 
  .pricebox_inner {
    height:469px;
  }
}

@media all and (min-width: 992px) and (max-width: 1200px) { /* Small Desktops */ 
  #top_img_text {
    padding-top:40px;
  }
  #header_image_container #top_img_text h2 {
    font-size: 48px;  
  }
  #top_img_text p {
    font-size: 28px;
  }
  .pricebox_inner {
    height:387px;
  }
}

@media all and (min-width: 992px) { /* Desktops */ 
  #header.header_stick {
    margin-top:34px;
  }
  .menuwrap {
    height:46px;
  }
  #mainnav .nav_content > ul > li, #mainnav .nav_content ul.FullTreeMenuLi {
    margin:0;
    padding:0;
  }
  #mainnav .nav_content > ul > li a {
    height:40px;
    line-height: 46px;
  }
  .mobile_bar {
    display: none;
  }
  .topbar {
    display:none;
  }
  .refsys_lejemaal_row .refsys_list {
    width: 100%;
    clear: both;
  }
  .refsys_lejemaal_row .refsys_list a:nth-child(3n+1) div {
    clear:both;
  } 
  .refsys_lejemaal_row .refsys_list_bot a:nth-child(3n+1) > div {
    clear: both;
  }
  .secondary.sec_lejemaal .container {
    padding: 0;
  }
}

@media all and (max-width: 991px) { /* Phones and tables */ 

  #top_img_text p {
    display: none;
  }
  #header_image_container #top_img_text{
    padding: 80px 20px 20px 20px;  
  }
  #header_image_container #top_img_text h2 {
    font-size: 28px;  
  }
  h1, .topheadline h1 { 
    font-size: 48px;
  }
  .footerlinks .footer_quick {
    margin:10px 0;
  }
  .topwhitebarwrap {
    background: transparent;
  }
  .omos_col {
    margin-bottom: 50px;
  }
  #top_img_text h2, #top_img_text h3 {
    font-size: 48px;
  } 
  .topwhitebarwrap .topslogan {
    display: none;
  }
  .topwhitebarwrap {
    position: absolute;
    top:0;
    right:50px;
    z-index: 99;
  }
  .topwhitebarwrap .container {
    padding-left: 0px; 
    width: 300px;
    background-color: transparent;
  }
  .menucontainer .toptel img {
    height: 26px;
    width: auto;
  }

  .mobile_bar {
    z-index: 9;
    position: relative;
  }
  .mobile_bar img {
    height:auto;
    width: 150px;
    padding: 15px 0;
  }
  .imagesbot h3 {
    margin: 15px 0;
  }
  #mainnav {
    display: none!important;
  }
  .footerlinks .footer_contact {
    margin-bottom:45px;
  }
  .topbluebox {
    margin-bottom: 15px;
  }
  .frontpage #content {
    margin-top: 0px;
  }
  #header img {
    height: 200px;
    max-width: none;
    width: auto;
  }
  .menucontainer .toptel {
    padding: 10px 20px 0 0;
  }
}

@media all and (max-width: 900px) { /* 900- */
  .frontpage #content {
    margin-top:30px ;
  }
}

@media all and (min-width: 768px) { /* Wider than phones */

  .logocontainer {
    padding-bottom: 10px;
  }
  #header .container {
    z-index: 2;
  }
  #header .header_image_container, #header .header_image_container img.big_topimg {
    height: auto;
    width: auto;
    max-width: none;
    overflow: hidden;
  }
  .building_detail_table .building_item {
    width: calc(50% - 5px);
    float:left;
  }
  .building_detail_table .building_item:nth-child(2n+1) {
    margin-right: 5px;
  }
  .building_detail_table .building_item:nth-child(2n+2) {
    margin-left: 5px;
  }
  .building_detail_table .building_item:nth-child(2n+1) {
    clear:both;
  }
  .building_detail_table .building_item:nth-child(4n+1), .building_detail_table .building_item:nth-child(4n+2) {
    background: #eee;
  }
  /*#refsys_imageswrap #refsys_images, #refsys_imageswrap #refsys_images div {
    width:200px!important;
    width:420px!important;
    width:720px!important;
    height:200px!important;
    height:263px!important;
    height:451px!important;
    overflow:hidden;
  }*/
  

}

@media all and (min-width: 768px) and (max-width: 991px) { /* Tablets */ 
  .top_negative {
    top: -125px;
  }
  #header .logocontainer {
    height:0;
  }
  .refsys_lejemaal_row .refsys_list_bot a:nth-child(2n+1) > div {
    clear: both;
  }
}

@media all and (max-width: 767px) { /* Phones */
  .footer_socials {
    margin-bottom: 30px;
  }
  #header .header_image_container, #header .header_image_container img.big_topimg {
    height: 400px;
    height: auto;
    width: auto;
    max-width: none;
  }
  #header_image_container #top_img_text {
    width: 100%;
    padding: 40px 20px 20px 20px;
    margin-left: 0px;
  } 
  .kontaktpers_wrap tr, td {
    width: 100%;
    float:left;
  }
  .kontaktpers_wrap tr {
    margin-bottom: 15px;
  }
  .kontaktpers_wrap .kontaktpers_tablewrap table tr:first-of-type {
    display: none;
  }
  .kontaktpers_wrap .kontaktpers_tablewrap table tr:nth-child(2) {
    display: none;
  }
  .contactwrap form tr td.col1, .contactwrap form tr td.col2, .contactwrap form tr td, .contactwrap form tr td:first-of-type, .contactwrap form tr td:last-of-type {
    width: 100%;
  }
  #content {
    margin-top: 30px;
  }
  .logovisning img {
    width:auto;
    height:auto;
    max-height:100%;
    padding:15px;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    vertical-align:top;
  }
  .logovisning_img {
    width:50%;
    float:left;
    padding:10px;
    text-align:center;
    height:100%;
  }
  .logovisninginner {
    height:100%;
    width:100%;
    height:150px;
    box-shadow: 3px 3px 15px rgba(0,0,0,0.1);
    outline: none;
    overflow:hidden;
  }
  .logovisninginner:hover {
    box-shadow: 3px 3px 15px rgba(0,0,0,0.2);
  }
  .menucontainer .toptel img {
    display: none;
  }
  .mobile_bar img {
    height: auto;
    width: 150px;
  }
  #content div.frontpage-txt {
    text-align: left;
  }
  #content div.frontpage-txt p {
    margin: 0;
  }
  #content div.frontpage-txt h2 {
  }
  .building_detail_table .building_item {
    width: 100%;
    float:left;
  }
  .building_detail_table .building_item:nth-child(2n+1) {
    background: #eee;
  }

}

@media all and (max-width: 580px) { /* 580- */ 

  h1, #content h1 {
    font-size: 48px;
    padding-top: 20px;
    margin-bottom: 30px;
  }
  #top_img_text {
    display: none; 
  }

  .footer-logos {
    text-align: left;
  }
  .footer-logos ul li img {
    margin: 10px;
    opacity: 1;
  }

  #mainnav a img {
    width: 105px;
  }
  .input_50s .input-effect {
    width: 100%;
  }

}



@media all and (max-width: 480px) { /* 480- */
  .menucontainer .toptel {
    display: none;
  }
  .call-us-mobile {
    display: block;
    text-align: center;
    margin-bottom: 30px;  
  }
  .call-us-mobile p, .call-us-mobile p a {
    font-size: 24px;
    font-family: 'Oswald', Helvetics, Arial, sans-serif; 
    line-height: 1;
    margin: 0!important;
    text-decoration: none;

  }
  .call-us-mobile p img {
    width: 28px;
    height: auto;
    margin-bottom: 12px;
    margin-right: 10px;
  }
  .frontpage-icons h3 {
    font-size: 18px;
  }
  .frontpage-icons p a img {
    width: 70%;
  }
  .footer-logos {
    text-align: left;
  }
  .footer-logos ul li img {
    width: auto;
    height: 30px;
    margin: 15px 20px 15px 0;
  }
  form.contact, form.contact span, form.contact div, form.contact label, form.contact * {
    font-size: 14px;
  }
  form.contact label {
    padding-right: 20px;
  }
  form.contact .input-beliggende label {
    top: 0;
  }
  form.contact .input-beliggende .testeffect:focus ~ label, form.contact .input-beliggende .has-content.testeffect ~ label {
    top: -17px;
  }

}



@media all and (max-width: 360px) { /* 360- */

  .mobile_bar img { 
    padding: 15px 15px 15px 10px;
  }
}