/*
 * HTML5 Boilerplate
 *
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html,
button,
input,
select,
textarea {
    color: #fff;
}

body {
    font-size: 12px;
    text-align: center;
    background: #525252;
    min-width: 1280px;
    color: #ffffff;
    font-family: 'Arial', sans-serif;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection declarations have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between images and the bottom of their containers: h5bp.com/i/440
 */

img {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Chrome Frame prompt
   ========================================================================== */

.chromeframe {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */

















/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Image replacement
 */

.ir {
    background-color: transparent;
    border: 0;
    overflow: hidden;
    /* IE 6/7 fallback */
    *text-indent: -9999px;
}

.ir:before {
    content: "";
    display: block;
    width: 0;
    height: 100%;
}

/*
 * Hide from both screenreaders and browsers: h5bp.com/u
 */

.hidden {
    display: none !important;
    visibility: hidden;
}

/*
 * Hide only visually, but have it available for screenreaders: h5bp.com/v
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element to be focusable
 * when navigated to via the keyboard: h5bp.com/p
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screenreaders, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/*
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */

.no-margin-top{
    margin-top: 0;
}
.no-margin-bottom{
    margin-bottom: 0;
}

.clearfix {
    *zoom: 1;
}

.color-grey, .color-grey a{
    color: #8c8c8c;
}

.h3{
    font-size: 120%;
}

a{
    text-decoration: none;
    color: #fff;
}
a.underline-link{
    text-decoration: underline;
}
a.underline-link:hover, a.underline-link:active{
    text-decoration: none;
}

html, body, page-body{
    min-height: 100%;
    font-size: 13px;
}

.page-body{
    width: 1140px;
    padding: 0 70px;
    margin: 0 auto;
    text-align: left;
}

.content-block{
    margin-left: 125px;
}

#header{
    position: relative;
    width: 100%;
    margin-top: 20px;
}

.page-welcome-index #logo{
    margin-left: 43px;
    width: 264px;
    height: 66px;
}

#header .text{
    position: absolute;
    right: 0;
    bottom: 9px;
    text-align: right;
}

.page-content{
    min-height: 1000px;
    padding-bottom: 40px;
    position: relative;
}

.page-wrapper{
    min-height: 100%;
    margin-bottom: -20px;
}

#footer{
    text-align: center;
    line-height: 150%;
}

#top{
    margin-top: 40px;
    position: relative;
    width: 100%;
}
#top .menu{
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100px;
}

#menu-en, #menu-en-sub, #footer-en {
    display: none;
}

#switch-english,
#switch-english-mobile,
#switch-german,
#switch-german-mobile {
    cursor: pointer;
    display: block;
    margin-top: 330px;
    width: 16px;
    height: 11px;
    float: left;
    position: absolute;
    z-index: 1000;
    border: 1px solid #525252;
    padding: 1px;
}

#switch-english-mobile,
#switch-german-mobile {
    margin-top: -15px;
    right: 120px;
}

#switch-english-mobile,
#switch-german-mobile{
    padding: 0 !important;
}

.language-mobile-wrapper {
    color: #fff;
    font-size: 110%;
    display: block;
    padding: 10px 0;
}

#mobile-menu-en {
    display: none;
}

#switch-german.active-lang,
#switch-german-mobile.active-lang,
#switch-english.active-lang,
#switch-english-mobile.active-lang {
    border: 1px solid white;
    padding: 1px;
}

#switch-english,
#switch-english-mobile {
    left: 25px;
    background: url('../img/gb.png') no-repeat center center;
}
#switch-english-mobile {
    left: auto !important;
    right: 90px !important;
}
#switch-german,
#switch-german-mobile {
    margin-right: 5px;
    background: url('../img/at.png') no-repeat center center;
}

#bottom{
    margin-top: 50px;
    width: 100%;
    position: relative;
}
#bottom .menu{
    position: absolute;
    top: 0;
    left: 0;
    width: 100px;
}

.info{
    width: 200px;
    padding-right: 15px;
    float: left;
}

.right-page-content{
    width: 790px;
    float: right;
}

.thumbs .thumb-con{
    background: #696969;
    width: 150px;
    height: 150px;
    line-height: 150px;
    vertical-align: middle;
    display: block;
    float: left;
    margin-left: 5px;
    margin-bottom: 5px;
    text-align: center;
    cursor: pointer;
    position: relative;
}

.thumbs .thumb-con .title{
    position: absolute;
    top: 0;
    left: 0;
    width: 150px;
    font-weight: bold;
    text-align: center;
    color: #fff;
    line-height: 12px;
    padding-top: 5px;
}

.dotted-border{
    padding-bottom: 5px !important;
    background: transparent url('../img/dots.png') repeat-x 0 100%;
}

.sub-menu li, .menu li{
    padding-top: 10px;
}
.menu .top-space{
    padding-top: 50px;
}
.sub-menu a, .menu a{
    letter-spacing: 3px;
    display: block;
    line-height: 17px;
}
.sub-menu a.bold,.menu a.bold{
    font-weight: bold;
    font-size: 1.05em;
    letter-spacing: 2px;
}
.sub-menu a:hover, .sub-menu a.highlight, .menu a:hover, .menu a.highlight{
    color: #fff;
}
.hover-extend:hover, .hover-extend.extended{
    width: 125px;
}
.hover-extend:hover .sub-menu, .hover-extend.extended .sub-menu{
    display: block;
}
.hover-extend.extended .sub-menu{
    z-index: 5;
}
.sub-menu{
    display: none;
    position: absolute;
    left: 124px;
    top: 0;
    z-index: 10;
    background: #525252;
    width: 201px;
    min-height: 500px;
}

.book {
    position: relative;
}
.book  .book-separator{
    background: url('../img/shadows-top-layer.png') repeat-y 50% 0 transparent;
    z-index: 999998;
    position: absolute;
}

.book section {
    display: block;
    position: absolute;
    overflow: hidden;
}

.book canvas {
    position: absolute;
    z-index: 999999;
}

#image-gallery{
    position: relative;
    width: 950px;
    height: 475px;
    vertical-align: middle;
}

#gallery-control-panel{
    position: absolute;
    width: 80px;
    height: 32px;
    bottom: 0;
    right: 0;
    z-index: 9999999;
}

#gallery-control-panel .nav-button{
    width: 19px;
    height: 32px;
    background-position: 50% 50%;
    background-repeat: no-repeat;
    cursor: pointer;
    float: left;
}
#gallery-control-panel .prev{
    background-image: url('../img/gallery-nav-l.png');
    margin-right: 10px;
}
#gallery-control-panel .prev.narrow{
    margin-right: 0px;
}
#gallery-control-panel .next{
    background-image: url('../img/gallery-nav-r.png');
    margin-left: 10px;
}
#gallery-control-panel .next.narrow{
    margin-left: 5px;
}
#gallery-control-panel .pause{
    background-image: url('../img/gallery-nav-pause.png');
}
#gallery-control-panel .play{
    background-image: url('../img/gallery-nav-play.png');
}

.pagination{
    margin-top: 10px;
    text-align: right;
    vertical-align: middle;
}
.pagination span{
    font-size: 120%;
    line-height: 120%;
    font-weight: bold;
    display: inline-block;
    padding: 6px 10px;
    margin: 0 5px;
    border: 1px solid #fff;
    vertical-align: middle;
}
.pagination a{
    display: inline-block;
    padding: 6px 10px;
    margin: 0 5px;
    border: 1px solid #8c8c8c;
    vertical-align: middle;
}
.pagination a:hover{
    color: #fff;
    border: 1px solid #fff;
}


#page-kontakt .form-row,
#page-contact .form-row {
    padding: 10px 0;
    width: 100%;
    position: relative;
}
#page-kontakt label,
#page-contact label{
    width:   130px;
    display: inline-block;
}
#page-kontakt .form-row .error-text,
#page-contact .form-row .error-text {
    color: #ff0000;
    position: absolute;
    top: -20px;
    left: 135px;
    display: none;
}
#page-kontakt input, #page-kontakt textarea,
#page-contact input, #page-contact textarea {
    width:  475px;
    border: none;
    background: #adadad;
    color: #000;
    height: 30px;
    font-size:16px;
    font-family: 'Arial', sans-serif;
}
#page-kontakt input.error,
#page-contact input.error {
    border: 1px solid #ff0000;
}
#page-kontakt textarea,
#page-contact textarea {
    height: 80px;
}

#page-kontakt .send-row,
#page-contact .send-row {
    width: 610px;
}

#page-kontakt .send,
#page-contact .send {
    display: block;
    float: right;
    background: url('../img/dots.png') left bottom repeat-x, url('../img/dots.png') left top repeat-x;
    font-weight: 700;
    font-size: 120%;
    padding: 5px 2px;

}

#page-seminare .section,
#page-seminars .section {
    padding-bottom: 20px;
}

#page-seminare .section img,
#page-seminars .section img {
    float: left;
    padding-right: 10px;
}
#page-seminare .section h3,
#page-seminars .section h3{
    margin: 0;
}

#page-seminare .section li,
#page-seminars .section li {
    padding: 2px 0;
}
#page-seminare .section li:before,
#page-seminars .section li:before {
    content: "- ";
}

#page-seminare .more-info,
#page-seminars .more-info {
    color: #fff;
    height: 42px;
    line-height: 42px;
    display: inline-block;
    padding-left: 40px;
    background: url('../img/pdf-icon.png') left top no-repeat;
}


#page-vortrage .more-info{
    text-decoration: underline;
}

#page-links p{
    margin-bottom: 20px;
}
#page-links p span{
    display: block;
    white-space: nowrap;
    margin-bottom: 5px
}

.edgeLoad-EDGE-47111181 { visibility:hidden; }

.show-on-mobile{
    display: none;
}

#panorama-iframe {
        width: 92%;
        margin-left: 11px;
       
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   Theses examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */
@media only screen and (max-width: 18em) {
    .page-welcome-index #logo{
        max-height: 40px !important;
    }
}
@media only screen and (max-width: 48em) {

    body{
        min-width: 250px;
    }

    .show-on-mobile{
        display: block;
    }

    .hide-on-mobile{
        display: none;
    }

    .see-more{
        height: 42px;
        line-height: 42px;
        background: transparent url("../img/responsive_gallery-button.png") no-repeat 0 0;
        background-clip:content-box;
        -webkit-background-clip:content-box;
        padding-right: 10px;
        text-align: center;
        cursor: pointer;
    }

    .see-more .inner{
        display: block;
        height: 100%;
        margin-right: -10px;
        padding-left: 10px;
        background: transparent url("../img/responsive_gallery-button.png") no-repeat 100% 0;
        background-clip:content-box;
        -webkit-background-clip:content-box;
    }

    .see-more .text{
        font-size: 16px;
        text-transform: uppercase;
        font-weight: bold;
        display: block;
        padding-right: 10px;
        height: 100%;
        overflow: hidden;
        white-space: nowrap;
        color: #c2c2c2;
        text-shadow: 1px 1px rgba(0, 0, 0, 0.4);
    }

    .page-body{
        padding: 0 10px;
        width: 100%;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        overflow: hidden;
    }

    #header{
        margin-top: 10px;
        white-space: nowrap;
        vertical-align: middle;
        min-height: 50px;
    }

    .page-welcome-index #logo{
        float: left;
        margin-left: 0;
        max-height: 50px;
        height: auto !important;
        width: auto !important;
    }

    #mobile-menu-button{
        cursor: pointer;
        display: inline-block !important;
        width: 57px;
        height: 50px;
        vertical-align: middle;
        position: absolute;
        right: 0;
        top: 0;
    }

    #mobile-menu{
        position: absolute;
        left: 0;
        top: 70px;
        width: 100%;
        z-index: 99999998;
        background: #6d6d6d;
        text-align: left;
        display: none;
    }
    #mobile-menu-top{
        height: 71px;
        width: 77px;
        position: absolute;
        background: #6d6d6d;
        top: -0px;
        right: 0;
        box-shadow: -7px 0px 4px -3px #4e4e4e;
        box-sizing: border-box;
        -moz-box-sizing: border-box;
        -webkit-box-sizing: border-box;
        padding: 10px 10px 0 0;
        display: none;
        z-index: 99999999;
    }
    #mobile-menu-button-hover{
        cursor: pointer;
        float: right;
    }
    #mobile-menu > ul{
        box-shadow: 0px -7px 4px -3px #4e4e4e, 7px 0px 4px -3px #4e4e4e;
    }
    #mobile-menu li{
        padding: 0 10px;
        border-top: 1px solid #7d7d7d;
        border-bottom: 1px solid #b6b6b6;
    }
    #mobile-menu li.first{
        box-shadow: -2px 0 2px -1px rgba(0,0,0, 0.1);
    }
    #mobile-menu li.last{
        border-bottom: 0;
        box-shadow: 2px 0 2px -1px rgba(0,0,0, 0.1);

    }
    #mobile-menu a{
        color: #fff;
        font-size: 110%;
        display: block;
        padding: 10px 0;
    }
    #mobile-menu a.bold{
        font-weight: bold;
    }

    #mobile-menu .has-sub-menu{
        background: transparent url('../img/responsive_menu-arrow.png') no-repeat 100% 50%;
        background-origin:content-box;
    }
    #mobile-menu .has-sub-menu.active{
        background-image: none;
        background: #878787;
        border-top: 1px solid #b6b6b6;
        border-bottom: none;
        box-shadow: 0 3px 3px 0 #4e4e4e, 0 -3px 3px 0 #4e4e4e;
    }
    #mobile-menu .has-sub-menu.active > a{
        border-bottom: 1px solid #b7b7b7;
        margin: 0 -10px;
        padding: 10px;
    }
    #mobile-menu .mobile-sub-menu{
        display: none;
    }
    #mobile-menu .mobile-sub-menu li{
        border-top: 1px solid #7a7a7a;
        border-bottom: 1px solid #b7b7b7;
        margin: 0 -10px;
        padding: 0 20px;
    }

    #top{
        margin-top: 10px;
    }

    .page-content{
        min-height: 500px;
        margin-bottom: 20px;
    }

    .content-block{
        margin-left: 0;
    }

    #bottom{
        margin-top: 10px;
    }

    #bottom .info{
        width: auto;
        float: none;
        margin-right: 0;
    }

    #bottom .right-page-content{
        width: auto;
        float: none;
    }

    #page-kontakt input, #page-kontakt textarea, 
    #page-contact input, #page-contact textarea {
        width: 100%;
        display: block;
        margin-top: 5px;
    }

    #page-kontakt .send-row,
    #page-contact .send-row{
        width: 100%;
    }

    #page-seminare .section img{
        float: none;
        padding: 10px;
    }
}
@media (max-width: 48em) and (orientation: landscape) {
    #panorama-iframe.small {
        width: 96%;
        margin-left: 17px;
    }
}
@media only screen and (-webkit-min-device-pixel-ratio: 1.5),
       only screen and (min-resolution: 144dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid required HTTP connection: h5bp.com/r
   ========================================================================== */

@media print {
    * {
        background: transparent !important;
        color: #000 !important; /* Black prints faster: h5bp.com/s */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links for images, or javascript/internal links
     */

    .ir a:after,
    a[href^="javascript:"]:after,
    a[href^="#"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    thead {
        display: table-header-group; /* h5bp.com/t */
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: 0.5cm;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}

#page-produkt .right-page-content .desc {
    margin-top: -88px;
    height: 20px;
}

#cookie-popup {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: black;
    color: white;
    opacity: 0.8;
    z-index: 9999;
}
#cookie-popup .inner {
    text-align: left;
    margin: 0 auto 10px auto;
    padding: 10px 10px 20px 10px;
    width: 90%;
}
#cookie-popup p {
    margin: 0;
    float: left;

}
#cookie-popup a {
    text-decoration: underline;
    float: right;
    font-weight: bold;
    padding: 0 0 10px 0;
}
/*
#cookie-popup button {
    font-weight: bold;
    display: block;
    background-color: white;
    color: black;
    font-size: 18px;
    padding: 6px 30px;
    border-radius: 1px;
    text-align: center;
    text-transform: uppercase;
    margin: 10px auto 0 auto;
}
*/
#cookie-popup button {
    float: right;
    background-color: transparent;
    background: url('../img/close-icon.png') no-repeat;
    background-size: contain;
    width: 14px;
    height: 14px;
    margin-left: 10px;
}
@media (max-width: 600px) {
    #cookie-popup a {
        float: left;
    }
    #cookie-popup p {
        width: 70%;
    }
}
