@media all and (max-width: 991px) { /* Phones and tables */ 
  .imagesbot h3 {
    margin: 15px 0;
  }
  #logo {
    position: relative;
  }
  #logo img {
    width: 300px;
    height: auto;
    bottom: auto;
    top:-70px;
  }
  #mainnav {
    display: none!important;
  }
  .footerlinks .footer_contact {
    margin-bottom:45px;
  }
  #header_image_container, #header_image_container *, #header_image_container #plugin_1 * {
    height:250px;
    width: auto;
    max-width: none;
    position: relative;
    min-width: 100%;
  }
  #header_image_container img, #header_image_container #plugin_1 img {
    position:absolute;
    left: -9999px;
    right: -9999px;
    margin: 0 auto;
  }
  .topbar {
    min-height: 70px;
  }
}


@media all and (min-width: 768px) { /* Wider than phones */
  #logo, #logo * {
    height:90px;
  }
  .logocontainer {
    padding-bottom: 10px;
  }
  #logo img {
    max-height: 400px;
    height: auto;
    width: 220px;
    float: left;
    position: absolute;
    top:70px;
    padding: 0;
    bottom: -20px;
  }
  #header .container {
    z-index: 2;
  }
}


@media all and (min-width: 992px) { /* Desktops */ 
  .topbar {
    display:none;
  }
  #logo img {
    bottom:40px;
  }
}


@media all and (min-width: 992px) and (max-width: 1200px) { /* Small Desktops */ 
  #logo img {
    width: 220px;
    top:30px;
  }
}


@media all and (max-width: 767px) { /* Phones */
  .frontbox {
    margin-bottom: 50px;
  }
  .frontbox:last-child {
    margin-bottom: 2px;
  }

  #header_image_container, #header_image_container *, #header_image_container #plugin_1 * {
    height:160px;
  }
  .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%;
  }

  .facebookfloat {
    right: 10px;
  }
  .linkedinfloat {
    right: 60px;
  }
  #content {
    margin-top: 10px;
  }
  .imagesbotrow .col-md-3  {
    margin-bottom:35px;
  }
  .telefonfloat {
    right: 10px;
    position: absolute;
    top: 60px;
  }
  .score table td.rotate {
    text-align: left !important;
    vertical-align: top;
    height: 80px;
  }
  .score table td.rotate h4 {
    width: 60px;
    transform: rotate(90deg);
    -ms-transform: rotate(90deg); /* IE 9 */
    -webkit-transform: rotate(90deg); /* Chrome, Safari, Opera */
  }
}


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

  h1, #content h1 {
    font-size: 72px;
    padding-top: 20px;
  }

  h2, #content h2 {
    font-size: 28px;
  }

  .frontcenter h2 {
    text-align: left;
}
}


@media all and (max-width: 767px) { /* 560- */
  #logo img {
    padding: 30px 0 0 0;
  }
}


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

}


@media all and (max-width: 400px) { /* 400- */
  #logo img {
    width:100%;
  }
  .facebookfloat, .linkedinfloat {
    display:none;
  }

}


@media all and (min-width: 768px) and (max-width: 991px) { /* Tablets */ 
  #header .logocontainer {
    height:0;
  }

  #header_image_container {
    padding-top: 60px;
  }
  #logo img {
    max-height: 200px;
    height: 60px;
    width: auto;
    float: left;
    position: relative;
    padding: 15px 0 0 0;
    bottom: auto;
    top: 0;

  }
}

