/* Desktop */
/* Mobil */
@media (min-width: 891px) {
  .hidden-sm {
      display: inline-block;
  }
  .visible-sm {
      display:none;
  }
  #nav-close,
  #overlay {
      display: none;
  }
}

@media (max-width: 890px) {
  body {
      background-image: none;
      background-color: #fff;
      margin: 0px;
  }
  #header {
        height: auto;
        color: #674A25;
        background-image: url(/assets/img/header_bg_md.png);
        background-repeat: repeat-x;
        background-position: left top;
        background-color: #ffffff;
        padding-top: 95px;
  }

  /* Navigation */
  #overlay[data-toggle="open"] {
    display: block;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.5);
    z-index: 999;
  }
  #header #toggle {
        display: block;
        position: absolute;
        z-index: 12;
        top: 15px;
        right: 20px;
        padding: 0;
        margin: 0;
        box-sizing: border-box;
  }
  #header #toggle a svg rect {
        fill: #5E4322;
  }
  #header #toggle a:hover svg rect,
  #header #toggle a.active svg rect {
        fill: #E8502E;
  }
  #header #titel {
        width: 70%;
        max-width: 100%;
        height: auto;
        margin-top: 15px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        padding: 0 0 0 20px;
        box-sizing: border-box;
        background-size: auto 100%;
  }
  #header #cover img {
        position: relative;
        z-index: 10;
        float: left;
        width: auto;
        height: auto; 
        margin: 0 0 0 26px;
        padding: 0;
  }
  #header #subtitle {
        display: inline-block;
        position: relative;
        padding: 0;
        margin-left: 27px;
        box-sizing: border-box;
  }
  #main {
       padding-top: 35px;
  }
  #nav-close {
      position: absolute;
      top: 0;
      right: 5px;
      display: block;
      margin-top: -20px;
  }
  #nav-close:hover {
      background-color: transparent;
  }
  .submenu-service {
     display: block;
     margin-top: 35px;
  }
  #col2[data-toggle="open"] {
    position: fixed;
    top: 4px;
    right: 0;
    width: 250px;
    height: 100vh;
    background: #E8502E;
    overflow-y: auto;
    z-index: 1000;
    opacity: 1;
    box-shadow: -2px 0 5px rgba(0,0,0,0.3);
  }
  #col2 {
    position: relative;
    z-index: 4;
    width: 0;
    box-sizing: border-box;
    height: auto;
    overflow: hidden;
    opacity: 0;
    transition: opacity ease-in .35s,  opacity ease-out .25s;
  }
  #col3 {
      width: 90%;
      margin-right: auto;
      margin-left: auto;
      border-right: 0;
      background-image: none;
      box-sizing: border-box;
  }
  #col3_content {
      width: 100%;
      margin-right: 0;
      margin-left: 0;
      border-right: 0;
      padding-top: 0;
      box-sizing: border-box;
  }
  .subcolumns {
      padding: 0;
      margin: 0;
  }
  .c50l, .c50r {
      width: 50%;
  }
  .c50l, .c25l, .c33l, .c38l, .c66l, .c75l, .c62l {
      float: left;
      overflow: hidden;
  }
  .c50l .subcl {
      padding: 0 0 0 0;
  }
  #col3 .subcolumns div:first-of-type .subcl {
      padding: 0 20px 0 0;
  }
  #page {
      width: 100%;
      margin-top: 0;
      margin-bottom: 0;
      margin-right: 0;
      margin-left: 0;
      background-color: #F8F5F3;
      border: 0;
      box-sizing: border-box;
  }
  #page_margins {
      min-width: 100%;
      max-width: 100%;
      background-image: none;
      box-sizing: border-box;
  }
  #footer {
      width: 100%;
      box-sizing: border-box;
  }
  .hidden-sm {
      display: inline-block;
  }
  .visible-sm {
      display: none;
  }
}
@media (max-width: 620px) {

  #header {
        height: auto;
        color: #674A25;
        background-image: none;
        background-color: #ffffff;
        padding-top: 23px;
  }
  #header #topnav {
        display: none;
  }
  #header #titel {
        width: 100%;
        max-width: 100%;
        height: auto;
        margin-top: 20px;
        margin-right: 0;
        margin-bottom: 0;
        margin-left: 0;
        padding: 0 20px;
        box-sizing: border-box;
        background-size: auto 100%;
  }
  #header #titel img {
        max-width: 100%;
  }
  #header #cover img {
        position: relative;
        z-index: 10;
        float: none;
        width: 80px;
        height: auto; 
        margin: 0 0 0 26px;
        padding: 0;
  }
  #header #subtitle {
        display: inline-block;
        position: relative;
        padding: 0;
        margin-left: 15px;
        box-sizing: border-box;
  }
  #main {
       padding-top: 10px;
  }
  .c50l, .c50r {
      width: 100%;
      float: none;
  }
  #col3 .subcolumns div:first-of-type .subcl {
      padding: 0 0 0 0;
  }
  #footer {
      width: 100%;
      box-sizing: border-box;
  }
  #footer .footerlinks {
      display: inline;
      line-height: 1em;
      margin-top: 15px;
  }
  #footer .footerlinks a {
      display: inline-block;
      margin-top: 6px;
  }
  .hidden-sm {
      display: none;
  }
  .visible-sm {
      display: inline-block;
  }
}

