/* Media query all
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media all {

  body {
    font-family: "Roboto", Arial, sans-serif;
    background-color: #FFFFFF;
    font-weight: 300;
    font-size: 1.6em;
  }

  /*-----Überschriften-----*/
  h1 {
    font-weight: 500;
    font-size: 1.7em;
    margin-bottom: 1.5em;
    letter-spacing: 0.02em;
  }
  h2 {
    font-weight: 300;
    font-size: 1.3em;
    letter-spacing: 0.02em;
  }
  h3 {
    font-weight: 400;
    font-size: 1.1em;
    letter-spacing: 0.02em;
  }

  /*-----Allgemeine Formatierungen-----*/
  .block_top {
    display: block;
    background: #333333;
    line-height: 48px;
  }
  .border_top {
    border-top: 1px solid #E1E1E1;
  }
  .border_bottom {
    border-bottom: 1px solid #E1E1E1;
  }
  a {
    color: #333333;
    text-decoration: underline;
  }
  a:hover {
    color: #D25817;
    text-decoration: none;
  }
  .home-galerie {
    line-height: 3em;
  }
  .home-galerie img {
    width: 100%;
    height: auto;
  }
  .media_left {
    text-align: left;
  }
  .media_center {
    text-align: center;
  }
  .media_right {
    text-align: right;
  }
  #open-mailchimp-popup {
    cursor: pointer;
  }

  /*-----Top-Smooth-Scroll-----*/
  /*-----http://www.webdesign-klamonfra.de/codeschnipsel/smoothscroll-zum-seitenanfang.php#seite-----*/
  #gotop,
  #gotop a {
      position: fixed;
      float: right;
  }
  #gotop a {
      display: block;
      color: #333333;
      background-color: #fff;
      margin: 0 auto;
      text-decoration: none;
      border: 1px solid #333333;
      padding: 5px 18px;
      padding-left: 40px;
      border-radius: 10px;
      width: 50px;
      right: -1em;
      bottom: 40px;
      transition: all .5s
  }
  #gotop a:hover,
  #gotop a:focus {
      color: #D25817;
      font-weight: 600;
      text-decoration: none;
  }
  #gotop span {
      height: 0;
      width: 0;
      top: -4000em;
      overflow: hidden;
      position: fixed;
  }
  #gotop {
      opacity: 0;
      transition: 1s;
  }

  /*-----figure und figcaption-----*/
  figure,
  figcaption {
    margin: 0;
    padding: 0;
  }
  figure {
    overflow: hidden;
    position: relative;
    display: inline-block;
  }
  figure img {
    width: 100%;
    display: block;
    margin-top: 1em;
  }
  figure img.signature {
    width: 55%;
    margin-left: auto;
    margin-right: auto;
  }
  figcaption {
    position: absolute;
    bottom: -2em;
    font-size: 0.8em;
    text-align: left;
    line-height: 2em;
    width: 96%;
    padding-left: 2%;
    padding-right: 2%;
    white-space: nowrap;
    color: white;
    background: rgba(0, 0, 0, 0);
    transition: all 0.3s ease;
  }
  figure:hover a {
     color: white;
  }
  figcaption a:hover {
    color: #D25817;
  }
  figure:hover figcaption,
  figure.hover_effects figcaption {
    display: block;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.5);
  }
  figure img.active         { display:none;}
  figure img.inactive       { display:block;}

  figure:hover img.active   { display:block;}
  figure:hover img.inactive { display:none;}
/*
  .hover {
    -webkit-user-select: none;
    -webkit-touch-callout: none;
  }
  */

  /*-----Tabelle Projekte-----*/
  table.projekt_table {
    height: 100%;
    width: 100%;
  }
  td.year {
    width: 12%;
    vertical-align: top;
  }
  td.descr {
    width: 78%;
    vertical-align: top;
  }

  /*-----Galerie Fancybox-----*/
  ul#galerie,
  ul#galerien           { padding:0; list-style: none; margin:0;}
  figure                { margin:0 0 12px; }
  #galerie li           { float:left; padding:0 2px 2px; }
  .fancybox-inner {
    -webkit-overflow-scrolling: touch !important;
    overflow: scroll !important;
  }
  #links {
    position: fixed;
    bottom: 10px;
    width: 100%;
    padding-top: 10px;
    list-style: none;
    text-align: center;
    z-index: 99999;
  }
  #links li {
      display: inline;
      padding: 0 5px;
  }
  #links li label {
      width: 12px;
      height: 12px;
      border-radius: 100%;
      display: inline-block;
      background-color: rgba(0, 0, 0, 0.6);
      cursor: pointer;
  }
  #links li.active label {
      background-color: white;
  }

  /*----slider bxslider----*/
  .bx-wrapper .bx-pager.bx-default-pager a.active {
    background: #D25817;
  }
  #slider img {
    width: 100%;
    height: auto;
  }
  #slider li {
    margin-left: 0em;
    margin-right: 0.1em;
  }
  ul#slider {
    margin-left: 0;
  }
  .row .bx-wrapper .bx-viewport {
    left: 0;
  }
/*  .row .bx-wrapper {
    margin: 6px auto 30px;
  }*/
/*  .my-iframe {
    display: block;
  }*/

  /*-----font awesome styles-----*/
  .fa-fw {
    padding-right: 0.5em;
  }
  /*-----Skeleton-----*/
  .container {
    width: 87.1%;
    padding: 0;
  }
  .one-third.column.home-galerie {
    width: 32%;
    margin-left: 2%;
  }
  .one-third.column.home-galerie:first-child {
    margin-left: 0;
  }
  th,
  td {
    border-bottom: none;
    padding: 0 0 0.5em 0; }
}

/* Media query max 549px
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media all and (max-width: 549px) {
  body {
    font-weight: 300;
    line-height: 1.7em;
    font-size: 1.6em;
  }
  .media_left {
    text-align: center;
  }
  .media_center {
    text-align: center;
  }
  .media_right {
    text-align: center;
  }

  figure img.signature {
    width: 80%;
  }

  #gotop a {
    padding-left: 20px;
    width: 30px;
  }

  #slides {
    border: solid 0px black;
    box-sizing: border-box;
    width: 99%;
  }
  .my-iframe {
    display: none;
  }
  .bx-wrapper .bx-pager,
  .bx-wrapper .bx-controls-auto {
    position: absolute;
    bottom: -35px;
    width: 100%;
  }
  /*-----Skeleton Init-----*/
  .one-third.column.home-galerie,
  .one-third.column {
    width: 100%;
    margin-left: 0%;
    float: left;
    box-sizing: border-box;
  }
  .container {
    width: 93%;
    padding: 0;
  }
}

/* Media query print
–––––––––––––––––––––––––––––––––––––––––––––––––– */
@media print {
  #menu,
  .fa {
    display: none;
  }
}