@media only screen
  and (min-width : 1025px) {

  div.switchmenubutton {
    display:none;
  }

  div.leisteLeft {
    position:fixed;
    display:block;
    top:30px;
  }

  div.logo {
    display:none;
  }

  div.logooben {
    display:block;
    z-index: 2;
    top: 0px;
    position: fixed;
    width:100%;
    background: -webkit-linear-gradient(left, #cccccc , #ffffff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #cccccc, #ffffff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #cccccc, #ffffff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #cccccc, #edf2f6); /* Standard syntax */     
  }

  div.fenster {
    display:none;
  }

  div.bottom {
    position:fixed
    display:block;
  }

  div.liniegrau {
    display:block;
  }

  div.franzhosiner {
    text-align:center;
    opacity: 0.2;
    font-size: 200%;
    text-shadow: 2px 2px 2px rgba(0,0,0,0.3);
  }

  .slidetxt {
    text-align: center;
    font-weight: bold;
    font-size: 200%;
    color: white;
  }

  table.gallerytabletop {
    width:80%;
    border-spacing: 0 20px;
  }

  table.gallerytable {
    border-spacing: 0 20px;
  }

  td.gallerytd {
    border:1px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
    background-color: #dedede;
  }

  td.gallerytdlochstreifen {
  }

  img.gallerypic {
    width: -moz-calc(100%);
    width: -webkit-calc(100%);
    width: calc(100%);
  }

  #gallery{
    background-color:#FFFFFF;

  }
  
  #gallery_container {
    width:100%;
    position:relativ;
    margin:auto;
  } 

  div.contenttop {
    display:block;
    overflow-y:auto;
    overflow-x:hidden;
    top:0px;
    width:95%;
  }

  div.content {
    display:block;
    overflow-y:auto;
    overflow-x:hidden;
    left:201px;
    top:0px;
    height:90%;
    padding-top:30px;
    padding-left:231px;
  }

  div.contentbottom {
    position:fixed;
    display:block;
    overflow-y:auto;
    overflow-x:hidden;
    left:0px;
    top: -moz-calc(100% - 100px);
    top: -webkit-calc(100% - 100px);
    top: calc(100% - 45px);
    width: -moz-calc(100% - 201px);
    width: -webkit-calc(100% - 201px);
    width: calc(100% - 201px);
    height:90%;
    padding-top:30px;
    padding-left:231px;
    background-color:white;
  }

  div.leisteLeft {
    width:210px;
    height:100%; 
    top:30px;
  }

}

@media only screen
  and (max-width : 1024px) {

  div.switchmenubutton {
    display:inline-block;
    position: fixed;
    top: 30px;
    z-index: 2;
  }

  div.leisteLeft {
    display:none; 
  }

  div.logo {
    display:none;
  }

  div.logooben {
    display:block;
    z-index: 2;
    top: 0px;
    position: fixed;
    width:100%;
    background: -webkit-linear-gradient(left, #cccccc , #ffffff); /* For Safari 5.1 to 6.0 */
    background: -o-linear-gradient(right, #cccccc, #ffffff); /* For Opera 11.1 to 12.0 */
    background: -moz-linear-gradient(right, #cccccc, #ffffff); /* For Firefox 3.6 to 15 */
    background: linear-gradient(to right, #cccccc, #edf2f6); /* Standard syntax */
  }

  div.fenster {
    display:none;
  }

  div.bottom {
    display:none;
  }

  div.liniegrau {
    display:none;
  }

  div.contenttop {
    display:block;
    position:absolute;
    left:0px;
    width:100%;
    padding-left:10px;
  }

  div.content {
    display:block;
    position:absolute;
    left:0px;
    top:90px;
    width:90%;
    height:90%;
    padding-left:10px;
  }

  table.gallerytabletop {
    width:100%;
    border-spacing: 0 20px;
  }

  table.gallerytable {
    border-spacing: 0 20px;
  }

  td.gallerytd {
    border:1px solid black;
    padding-top: 5px;
    padding-bottom: 5px;
    padding-right: 5px;
    padding-left: 5px;
    background-color: #dedede;
  }

  td.gallerytdlochstreifen {
  }

  img.gallerypic {
    width: -moz-calc(100%);
    width: -webkit-calc(100%);
    width: calc(100%);
  }
}


div.menu {
}

div.submenu {
    display:          none;
    padding-top:      3px;
}

div.menubutton {
    font-family:      omnes-pro;
    width:            100%;
    height:           40px;
    //background-color: #C2E1FF;
    background-color: #eeeeee;
    color:            #000;
    font-size:        24px;
    text-align:       center;
    margin-top:       5px;
    border-top: 1px solid #000;
    border-bottom: 1px solid #000;
    opacity: 0.8;
}

div.menubutton:hover {
    background-color: #fff;
}

div.submenubutton {
    font-family:      omnes-pro;
    color:            #000;
    font-size:        16px;
    text-align:       left;
    margin-left:      20px;
}

div.menubutton a {
    display:block;
    height:100%;
}

div.submenubutton a:hover {
    text-decoration:  none;
    color: #666;
}

div.menubutton a:hover {
    text-decoration:  none;
}

div.submenubutton:hover {
    color: #FFF;
}


div.fenster {
    position:relative;
    left:30px;
    top:30px;
    background-color:#FFF;
    color:#FFFFFF;
    border-color:#000000;
    border-style:solid;
    border-width:1px;
    width:150px;
    height:105px;
    margin-bottom:25px;
    -webkit-box-shadow: inset 4px 4px 4px 0px rgba(51,51,51,0.5);
    -moz-box-shadow: inset 4px 4px 4px 0px rgba(51,51,51,0.5);
    box-shadow: inset 4px 4px 4px 0px rgba(51,51,51,0.5);
}

div.leisteLeft {
    width:210px;
    height:100%; 
    position:fixed;
    z-index:19;
    top:30px;
}

div.switchmenubutton {
    z-index:2;
    padding:6px;
}

div.switchmenubutton:hover {
    -webkit-filter: grayscale(100%);
    -moz-filter: grayscale(100%);
    filter: grayscale(100%);
}

i#menuicon {
   color:#000000;
}

div.bottom {
    position:fixed;
    bottom:12px;
    left:20px;
    text-color:#cccccc;
    z-index:19;
}

div.liniegrau {
    position:fixed;
    left:5px;
    right:0px;
    bottom:10px;
    height:2px;
    background:#cccccc;
    z-index:19;

}

a:link, a:visited {
    text-decoration:none;
    color:#0000FF;
}

.shadow {
    -webkit-box-shadow: 4px 0px 4px 0px rgba(51,51,51,0.75);
    -moz-box-shadow: 4px 0px 4px 0px rgba(51,51,51,0.75);
    box-shadow: 4px 0px 4px 0px rgba(51,51,51,0.75);
}

.blauweiss {
background: #fefefe; /* Old browsers */
background: #cccccc;
}
