/*==================================================
=            Bootstrap 3 Media Queries             =
==================================================*/

/*==========  Non-Mobile First Method  ==========*/

@media only screen and (min-width : 1280px) {
  .container {
    width: calc(100% - 2em);
  }
  /* Content: Inhaltsboxen mit Schatten */
  .main-content section .div-boxshadow .row {
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
  }
  .main-content section .div-boxshadow .row > div {
    padding: 1em 1.9em;
    box-shadow: 0 0 36px -20px rgba(75, 75, 59, .45);
    margin: 35px 6px;
    border-radius: 2px;
  }
}
@media only screen and (min-width : 1400px) {
  .container {
    width: calc(100% - 2em);
    max-width: 1400px;
  }
}

/* Large Devices, Wide Screens */
@media only screen and (max-width : 1199px) {
  .menuzord-brand img {
    max-height: 60px;
  }
}


/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
  a.smm-btn {
    height: 40px;
    width: 40px;
    margin-top: 5px;    
    text-align: center;
  }
  a.smm-btn i {
    padding: 10px 10px 10px 10px;
    font-size: 1.6em;
    color: #777;
  }
  .menuzord-menu {
    margin-top:0;
  }
  .menuzord-menu .dropdown a {
    color: #333!important;
    font-weight: 400!important;
  }
  .menuzord-menu .dropdown  a:hover,
  .menuzord-menu .dropdown a.active {
    color: #fff!important;
  }
  .menuzord-menu > li > .megamenu {
    background: #fff;
    border-top: 0!important;
    padding: 0;
    margin: 1px 0 0 0;
    overflow: hidden;
    -webkit-border-radius: 0;
    -moz-border-radius: 0;
    border-radius: 0;
  }
  .menuzord-menu > li > .megamenu li {
    padding: 0!important;
    margin: 0!important;
  }
  .menuzord-menu > li > .megamenu a {
    color: #333!important;
    font-weight: 400!important;
    padding-left: 30px!important;
  }
  .menuzord-menu > li > .megamenu a:hover,
  .menuzord-menu > li > .megamenu a.active {
    color: #fff!important;
  }
  
  #short-mobile {
    position: absolute;
    top: 84px;
    background: #fff;
    z-index:200;
    float: none;
    width: 100%!important;
    padding: 0;
  }
  .scroll-to-fixed-fixed #short-mobile {
    top: 62px;
  }
  #short-mobile li a {
    display: block;
    padding: 0.8em 1em;
    border-bottom: 1px solid #f2f2f2;
    font-size: 0.85em;
    font-weight: 400;
    color: #555;
    text-transform: uppercase;
  }
  #short-mobile li a:hover {
    color: #fff;
    background: #77B828;
  }
}

/* Medium Devices, Desktops */
@media only screen and (max-width : 991px) {
  .footer-box-wrapper div {
    min-height: 13.5em!important;
  }
}

/* Small Devices, Tablets */
@media only screen and (max-width : 767px) {
  .footer-box-wrapper div {
    min-height: 3em!important;
  }
  span.abs-lnk-fake {
    right: 0;
    top: auto;
    bottom: 0;
    margin-bottom: -0.43em;
  }  
  /* Head Slider */
  .ot-slide strong {
    font-size: 16px!important;
    bottom: 5px!important;
  }
  
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 639px) {
  
    /* Head Slider */
  section#home {
    max-height: 490px!important;
  }
  .ot-slide .first {
    width: 66.45%!important;
    margin-bottom: 5px;
  }
  .ot-slide .second {
    width: 31.85%!important;
    margin-bottom: 5px;
  }
  .ot-slide .third {
    width: 49.1%!important;
    margin-right: 1%;
  }
  .ot-slide .fourth {
    width: 49%!important;
  }
  
  .ctpl .col-lg-4 .page-box,
  .ctpl .col-lg-4 .page-box-2 {
      height: auto;
  }
  h1, .h1, .htag1 {
    font-size: 25px;
  }
  h2, .h2, .htag2 {
    font-size: 23px;
  }
  h3, .h3, .htag3 {
    font-size: 22px;
  }
  h4, .h4, .htag4 {
    font-size: 20px;
  }
  h5, .h5, .htag5, h6, .h6, .htag6 {
    font-size: 18px;
  }

}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 479px) {
}

/* Extra Small Devices, Phones */
@media only screen and (max-width : 360px) {
      /* Head Slider */
  section#home {
    max-height: 530px!important;
  }
  .ot-slide .first {
    width: 66.45%!important;
    margin-bottom: 3px;
  }
  .ot-slide .second {
    width: 31.80%!important;
    margin-bottom: 3px;
  }
  .ot-slide .third {
    width: 99%!important;
    margin-bottom: 3px!important;
  }
  .ot-slide .fourth {
    width: 99%!important;
  }
}

/* Custom, iPhone Retina */
@media only screen and (max-width : 319px) {
}