a[rel=gallery]:not[target]>img{display:inline-block; padding: 5px; height: 150px;}
	body{position: relative;font-family: 'Open Sans', Helvetica, Arial, sans-serif; font-size: 16px}
    h1,h2,h3,h4{ font-weight:600; text-align: center; margin-bottom: 1em;}
    h2{text-transform: uppercase; letter-spacing: 1px; }
    img{max-width: 100%;}
    footer{padding:100px 0 0; clear: both;}
        footer a{color:#fff}
          footer a:hover{color:#D1B483}
      footer .img{height: 80px; width: 100%; }
    .align_left{float: left; margin: 0 2em 2em 0}
    .align_right{float: right; margin: 0 0 2em 2em}
    [class*=block-grid-]{margin:1em 0; text-align: left; padding:0;}
    .block-grid-item > div{width: 100%}
    [class*=block-grid-] a[rel="gallery"] > img{padding:0; height: auto; width: 100%}
    .btn-default{background-color: transparent; border-color: #fff; color: #fff;}
      section .lead, section h2{text-align: center;}
      section.primary a{color:#fff}
    .block + .block{margin-top:4rem;}
    .dark{background: #594c45; color:#fff;}
    .fancybox-nav {width: 60px;}
    .gold{background: #D1B483; color:#fff;}
    .jumbotron, .sectionimage{margin: 0;background-size:cover; background-attachment:fixed; background-position: center top}
    .lead{margin-bottom:1em}
    .loader {z-index:1032;border: 3px solid #999;border-top: 3px solid #fff;border-radius: 50%;width: 60px;height: 60px;animation: spin 2s linear infinite;}
    nav.navbar-fixed-top{transition: all 1s ease-in }
    nav.navbar-fixed-top .navbar-brand{width:300px}
    nav.navbar-fixed-top .navbar-brand img{transition: all .5s ease-in }
    nav.navbar-fixed-top .navbar-brand:active, nav.navbar-fixed-top .navbar-brand:focus{outline:none}
    nav.navbar-fixed-top.scrolled{background-color: rgba(255,255,255,.9); border-bottom:1px solid rgba(0,0,0,.3)}
    nav.navbar-fixed-top.scrolled .navbar-brand{padding: 5px}
    nav.navbar-fixed-top.scrolled .navbar-brand img{height: 40px;}
    nav.navbar-static-bottom{margin:100px 0 0}
    nav a{color:#594c45}
      nav a:hover{color:#000}
    .navbar-toggle .icon-bar {background-color:rgba(0,0,0,.5);}
    
    section{padding:100px 0; clear: both;}
    .sectionimage{width:100%; height:100vh;}
    section:not(#wohnungen) > .container:not(.wide){width: clamp(320px, 90%, 789px)};
    
    table.table tr:hover{cursor: pointer;}
    table.table th{text-align: center;}
    .table-fixed thead {
      width: 97%;
    }
    .table-fixed tbody {
      max-height: 400px;
      overflow-y: auto;
      width: 100%;
    }
    /*.table-fixed thead, .table-fixed tbody, .table-fixed tr, .table-fixed td, .table-fixed th {
      display: block;
    }*/

    .table-fixed tbody td, .table-fixed thead > tr> th {
      /*float: left;*/
      border-bottom-width: 0;
    }
    .table td h4{margin:2em auto 1em;}
    .table tr[data-block="1"] td h4{margin-top:0;}
    .table tr.block td, .table>tbody>tr>th{border-top:0;}
    
    #cover{position:fixed; top:0; left:0; background:#594c45; z-index:1031; width:100%; height:100%;  display: flex;align-items: center;justify-content: center }
    #map-canvas{height: 50vw; }

    @keyframes spin {0% { transform: rotate(0deg); }100% { transform: rotate(360deg); }}
    
    /*@media (min-width: 1200px) {
      section:not(#wohnungen) > .container:not(.wide){width:792px;}
    }
    @media (max-width: 1199px) {
      section:not(#wohnungen) > .container:not(.wide){width:66%;}
    }
    */
    @media (max-width: 1024px) {
     	.fancybox-nav span {visibility: visible;opacity: 0.5;}
      nav.navbar-fixed-top .navbar-brand{width:200px ;}
      .jumbotron, .sectionimage{background-attachment:scroll;}
    }
    @media (min-width: 768px) {
        .table-responsive {
              max-height: 50vh;
    }
    @media (max-width: 767px) {
      a[rel=gallery]>img{width: 100%; height: auto; padding:5px 0;}
      [class*="block-grid-"]{padding:0;}
        [class*="block-grid-"] > *{padding-left:0; padding-bottom:0;}
      section{padding:50px 0;}
      /*section:not(#wohnungen) > .container:not(.wide){width:90%!important; text-align: left;}*/
      h1,h2,h3,h4{text-align: left}
      footer *{text-align: left; padding: 50px 0 0;}
      nav.navbar-fixed-top.open{background-color: rgba(255,255,255,.9); border-bottom:1px solid rgba(0,0,0,.3)}
      nav.navbar-fixed-top.open  .navbar-brand{width: 100px}
          #map-canvas{height: 120vw; }
          .table-responsive{font-size:.8em}
      .text-center{text-align: left}    
    }     
    /* iPad Pro specific styles */
    @media (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1024px) and (max-width: 1024px){
      .jumbotron, .sectionimage{background-attachment: scroll}
    }
    @media (min-device-width : 1024px) and (max-device-width : 1024px) and (min-device-height : 1366px) and (max-device-height : 1366px) and (min-width: 1366px) and (max-width: 1366px){
      .jumbotron, .sectionimage{background-attachment: scroll}
    }
