/*
**
*/

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-touch-callout: none !important;
    text-rendering: optimizeLegibility;
    outline: 0;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/*
img {
    image-rendering: optimizeSpeed;
    image-rendering: -moz-crisp-edges;
    image-rendering: -o-crisp-edges;
    image-rendering: -webkit-optimize-contrast;
    image-rendering: optimize-contrast;
    -ms-interpolation-mode: nearest-neighbor;
}
*/

html, body, #wrapper {
    width: 1920px;
    height: 1080px;
    padding: 0;
    margin: 0;
    overflow: hidden;
    background: #c3c3c3;
    font: normal 0.95em/1.2em Arial, Helvetica, sans-serif;
}

.debug {
    border: 1px #000 dashed;
}

img[src=""] {
    content: url(../images/space.gif);
}

#wrapper {
    position: relative;
    background: #fff;
}

ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

a[data-href] {
    cursor: pointer;
}

.middlewrapper {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.middle {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.toplevel {
    display: none;
    position: fixed;
    left: 0;
    top: 0;
    width: 1920px;
    height: 1080px;
    overflow: hidden;
    background-color: #fff;
}

a.btn.close {
    position: absolute;
    right: 40px;
    bottom: 50px;
    height: 60px;
    width: 60px;
    display: block;
    /*text-indent: -9999px;*/
    background: url(../images/close.png) no-repeat;

    /*background: red;*/
}

a.btn.close:active {
    background-position: 0 -60px;
}

.fullsize {
    width: 100%;
    height: 100%;
}

.viewer .container {
    position: relative;
}

/*
** Pfeile
*/
.viewer img.arrow {
    position: absolute;
    top: 0;
}

.viewer img.arrow:active {
}

.viewer img.arrow.left {
    left: 36px;
    top: calc(50% - 35px);
}

.viewer img.arrow.right {
    right: 36px;
    top: calc(50% - 35px);
}

/*
** Content
*/
#content {
    width: 1920px;
    min-height: 100%;
}

/*
** Menu
*/
#menus {
    position: absolute;
    width: 840px;
    height: 140px;
    bottom: 0;
    left: calc(50% - 420px);
    background: rgba(255, 255, 255, 0.9);
    z-index: 100;
    border: 1px solid #000;
    border-bottom: none;
    -webkit-border-top-left-radius: 15px;
    -webkit-border-top-right-radius: 15px;
    -moz-border-radius-topleft: 15px;
    -moz-border-radius-topright: 15px;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

#menus .logo {
    position: absolute;
    width: 240px;
    right: 30px;
    top: 31px;
}

/*
** Menubuttons
*/
#menus .menu > ul > li {
    float: left;
    width: 92px;
    text-align: center;
    text-transform: uppercase;
    margin: 30px 10px 0 10px;
}

#menus .menu > ul > li > a {
    display: block;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

#menus .menu ul li a span {
    height: 60px;
    width: 60px;
    display: block;
    text-indent: -9999px;
    margin: auto;
    margin-bottom: 5px;
}

#menus .menu ul li.active a {
    /* color: #ce0a17; */
    color: #b80442;
}

#menus .menu ul li a:active span {
    background-position: 0 -60px;
}

#menus .menu ul li.bilder span {
    background: url(../images/icons/navicon_bilder.svg);
    background-size: cover;
}

#menus .menu ul li.neuheiten span {
    background: url(../images/icons/navicon_neuheiten.svg);
    background-size: cover;
}

#menus .menu ul li.webseiten span {
    background: url(../images/icons/navicon_webseiten.svg);
    background-size: cover;
}

#menus .menu ul li.dokumente span {
    background: url(../images/icons/navicon_dokumente.svg);
    background-size: cover;
}

#menus .menu ul li.sprachede span {
    background: url(../images/icons/navicon_sprache_de.svg);
    background-size: cover;
}

#menus .menu ul li.sprachefr span {
    background: url(../images/icons/navicon_sprache_fr.svg);
    background-size: cover;
}

#menus .menu > ul > li > a:active {
    color: #ce0a17;
}

#menus .menu {
    display: none;
    width: 100%;
    height: 100%;
}

#menus .menu.active {
    display: block;
}

/*
** Sprachauswahl
*/
#menus a.language {
}

#menus .menu.active[data-lang="de"] a.language {
    background-position: left top;
}

#menus .menu.active[data-lang="fr"] a.language {
    background-position: left bottom;
}

/*
** Screensaver
*/
#screensaver {
    display: none;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

#screensaver ul {
    margin: 0;
}

#screensaver ul li {
    float: left;
    margin: 0;
    width: 320px;
    height: 180px;
}

#screensaver ul li img {
    width: 100%;
    height: 100%;
}

/*
** Page Kategorien
*/
#bilderordner_wrapper {
    width: 1408px;
    padding-top: 140px;
    margin: auto;
    overflow: hidden;
    padding-bottom: 200px;
}

#categories li {
    float: left;
    margin: 0 100px 80px 100px;
    text-align: center;
}

#categories li.first {
    clear: both;
}

#categories a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.6em;
    text-transform: uppercase;
}

#categories img {
    width: 100%;
    height: 100%;
}

#categories.bilderordner li {
    background: url(../images/back_bilderordner.png) no-repeat;
    width: 268px;
    line-height: 1.6em;
}

#categories.bilderordner li a div.maske {
    margin: 17px 0 15px 18px;
    height: 249px;
    width: 249px;
    display: block;
}

#neuheiten_wrapper {
    width: 1408px;
    padding-top: 140px;
    margin: auto;
    padding-bottom: 200px;
}

#neuheiten_wrapper:after {
    display: table;
    clear: both;
    content: " ";
}

#categories li a div.maske {
    margin: 0;
    border: 1px solid #ccc;
    margin-bottom: 15px;
    height: 250px;
    width: 250px;
    display: block;
}

#dokumentordner_wrapper {
    width: 1408px;
    padding-top: 140px;
    margin: auto;
}

#categories.dokumentordner li {
    background: url(../images/back_bilderordner.png) no-repeat;
    width: 268px;
    height: 300px;
    line-height: 1.6em;
}

#categories.dokumentordner li a div.maske {
    margin: 17px 0 15px 18px;
    height: 250px;
    width: 250px;
    margin-bottom: 15px;
    display: block;
}

/*
** Page Pictures
*/

div.pictures_wrapper {
    margin-top: 140px;
    padding-bottom: 300px;
}

div.pictures {
    margin: 0;
    padding: 0;
    width: 1264px;
    overflow: hidden;
    margin: auto;
}

div.pictures a {
    margin: 0;
    padding: 0;
}

div.pictures a.small {
    display: block;
    width: 300px;
    /*height: 169px;*/
    float: left;
    margin: 0 8px 8px 8px;
    padding: 0;
}

div.pictures img.big {
    width: 616px;
    height: auto;
    margin: 0;
    padding: 0;
}

div.pictures img.big.left {
    float: left;
    margin: 0 8px;
}

div.pictures img.big.right {
    float: right;
    margin: 0 8px;
}

div.pictures img.small {
    width: 300px;
    height: auto;
}

#pictureviewer .container {
    width: 300%;
    height: 100%;
    margin-left: -1920px;
}

#pictureviewer .container > img {
    display: inline;
    width: 1920px;
    height: 1080px;
    float: left;
}

/*
** Documents
*/
#dokumente_wrapper {
    width: 1200px;
    margin: auto;
    margin-top: 140px;
    overflow: hidden;
    padding-bottom: 300px;
}

#documents li {
    float: left;
    width: 200px;
    height: 280px;
    margin: 0 20px;
    text-align: center;
}

#documents li a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#documents li div.maske {
    height: 200px;
    width: 200px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin-bottom: 10px;
}

#documents li img {
    width: 100%;
    height: auto;
}

#documentembed {
    height: 100%;
}

/*
** Videos
*/
#videos_wrapper {
    width: 1200px;
    margin: auto;
    margin-top: 140px;
    overflow: hidden;
    padding-bottom: 300px;
}

#videos li {
    float: left;
    width: 200px;
    height: 280px;
    margin: 0 20px;
    text-align: center;
}

#videos li a {
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

#videos li div.maske {
    height: 200px;
    width: 200px;
    border: 1px solid #ccc;
    overflow: hidden;
    margin-bottom: 10px;
}

#videos li img {
    height: 100%;
    width: auto;
}

/*
** Websites
*/
#links_wrapper {
    width: 1350px;
    margin: auto;
    margin-top: 140px;
}

#links li {
    width: 250px;
    float: left;
    margin: 9px 109px 89px 109px;
    text-align: center;
}

#links li img {
    width: 250px;
    height: 250px;
    border: 1px solid #ccc;
    margin-bottom: 15px;
}

#links li a {
    display: block;
    width: 100%;
    height: 100%;
    font-size: 1.6em;
}

#links li img {
    width: 100%;
    height: 100%;
}

/*
** Objects
*/
#objviewer .layer {
    position: absolute;
    top: 0;
    right: 0;
    width: 960px;
    height: 100%;
    background: #fff;
}

#objviewer .container {
    width: 300%;
    height: 100%;
    margin-left: -1920px;
}

#objviewer .container > div {
    position: relative;
    display: inline;
    float: left;
    width: 1920px;
    height: 1080px;
}

#objviewer .container > div > div {
    position: absolute;
    right: 0;
    top: 0;
    width: 1440px;
    height: 1080px;
    background-color: #fff;
}

#documentlayer {
    position: absolute;
    right: 0;
    top: -50px;
    height: 100px;
    width: 220px;

    background: transparent url(../images/space.gif);
}
