/*! HTML5 Boilerplate v4.3.0 | MIT License | http://h5bp.com/ */

/*
 * 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: #222;
}

html {
    font-family: 'Droid Sans', sans-serif;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight: h5bp.com/i
 * These selection rule sets 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, videos, audio and canvas and the bottom of
 * their containers: h5bp.com/i/440
 */

audio,
canvas,
img,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

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

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

textarea {
    resize: vertical;
}

/* ==========================================================================
   Lebowski Lebowksi Bug
   ========================================================================== */

body > input, body > input + div {
    display: none;
}

/* ==========================================================================
   Browse Happy prompt
   ========================================================================== */

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

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
   
.hinweis_25 {
    color: #830828;
    float: right;
    width: 50%;
    position: relative;
    font-size: 12px;
    font-weight: 700;    
    margin-top: -25px;  
 }

.hinweis_45 {
    color: #830828;
    float: right;
    width: 60%;
    position: relative;
    font-size: 12px;
    font-weight: 700;    
    margin-top: -36px;
 }


a {
    text-decoration: none;
    color: #000000;
    -webkit-transition  : all 400ms ease-out;
    -moz-transition     : all 400ms ease-out;
    -o-transition       : all 400ms ease-out;
    -ms-transition      : all 400ms ease-out;
    transition          : all 400ms ease-out;   
}

a:hover {
    
    color: #830828;
    -webkit-transition  : all 400ms ease-out;
    -moz-transition     : all 400ms ease-out;
    -o-transition       : all 400ms ease-out;
    -ms-transition      : all 400ms ease-out;
    transition          : all 400ms ease-out;   
}

.text-primary {
    color: #830828;
}

#header {
    position: relative;
    z-index: 10;
}

/*
#header a img {
    height: auto;
   
}*/

#logo img {
    /*max-width: 141px;*/
    width: 141px;
    max-width: none !important;
    box-sizing:border-box;
      -moz-box-sizing:border-box;
      -webkit-box-sizing:border-box; 

    /*min-height: 65.5px;*/
}

#empty {
    width: 141px !important;
}

#menu {
    display: none;
     float: right;
}

nav {
    text-transform: uppercase;
    font-size: 14px;
}

nav ul {
    list-style: none;
}

nav ul li {
    display: inline;

}


#kostueme { 
    cursor: pointer;
 }

 #kostueme:hover {
    color: #830828;
    -webkit-transition  : all 400ms ease-out;
    -moz-transition     : all 400ms ease-out;
    -o-transition       : all 400ms ease-out;
    -ms-transition      : all 400ms ease-out;
    transition          : all 400ms ease-out;   
 }

#bigmenu ul {
    padding: 3px 0 0 0;
}

#bigmenu ul li {
        padding: 0 10px;
        border-right: 2px solid black;
        position: relative;
}



/*nav ul li:after {
   
    content: '   |   ';
   
}*/

#bigmenu ul li.last {
    border-right: none;
}

#bigmenu ul li.first {
    padding-left: 4px !important;
}

#mobile_menu .bg_mobile_menu {
    width: 70px;
    background-image: url('../graphics/bg_mobilemenu.jpg');
    float: left;
    display: block;
    height: 100%;
    top: 0;
    left: 0;
    background-size: 100% auto;
    background-position: center top;
    position: fixed;
    margin-top: -2px;
    border-top: 2px solid white;
    z-index: 3;
}

#mobile_menu_ul {
       /*position: absolute;*/
       height: 90% !important;
       width: 100%;
       display: block;
       padding-bottom: 120px !important;
   }

#mobile_menu ul {
    padding: 0 !important;
    margin-top: -2px !important;
    z-index: 1;
    position: relative;
    height: 100%;
    overflow: auto;
    
}

#mobile_menu ul li {
    display: block !important;
    padding-left: 80px;
    padding-top: 15px;
    padding-bottom: 15px;
    border-top: 2px solid black;
}

#mobile_menu ul li:after {
   
    content: '' !important;
   
}

#mobile_menu ul li a {
    display: block;
}

nav #smallmenu {
    text-align: right;
    font-size: 12px;
}

#start {
    /*margin: 0 0 0 141px;*/
    max-width: 650px;
}

#start .bgsize {
    background-size: cover;
    z-index: 1;
    /* The url is relative to the document, not to the css file! */
    /* Prefer absolute urls to avoid confusion. */
    -ms-behavior: url(../backgroundsize.min.htc);
}

#contentwrapper {
    text-transform: none;
    line-height: 0.8em;
    margin-left: 10px;
    width: 14%;
}

#contentwrapper a {
    font-size: 0.6em;
}

#contentwrapper h5 {
    font-weight: bold;
    color: white;
    display: block;
    background-color: #bd0000;
    padding: 6px;
    margin: 0;
    margin-bottom: 8px;
    
}

.wrapper_column {
    padding-left: 5px;
}

#contentwrapper ul {
    margin: 0;
}

#contentwrapper ul li {
    list-style: none;
    margin-left: -10px;
}


#mobile_menu {
    z-index: 2;
    height: 100%;
    width: 100%;
    display: block;
    position: fixed;
    left: 0;
    top: 64px;
    background: #FFFFFF;
}

 #start img {
    float: left;
    margin-right: 2px;
    margin-bottom: 2px;
    display: inline-block;
}


 #start a {

    font-weight: normal;
    height: 100%;
    width: 100%;

    }

 #start a {
    color: rgba(255,255,255,0.7);
    font-size: 37px;
    display: block;
    text-align: left;
}

 #start a:hover {
    background-color: rgba(255,255,255,0.3);
    color: rgba(255,255,255,1);
}

.only_mobile {
    display: none;
    /*visibility: hidden;*/
}

.lineheightbig {
    line-height: 1052px;
}

.lineheightmiddle {
    line-height: 408px;
}

.lineheightsmall {
    line-height: 292px;
}

.sub_menu {
    position: absolute;
    top: 7px;
    left: 0;
    line-height: 25px;
}

#bigmenu .sub_menu li, #smallmenu .sub_menu li {
    display: block;
    border: none;
}

#mobile_menu ul li #mobile_submenu {
    margin: 0 !important;
    position: relative;
    margin: 15px 0 0 -60px !important
    
}

#mobile_menu ul li #mobile_submenu li {
    border-top: none !important;
}

#wrapper_column_first {
    height: 0px;
    width: 100%;
    float: left;   
}

#content_page {
    max-width: 650px;
}

#content_page ul.textlist {
    font-size: 12px;
    list-style: none;
    margin-left: 0;
    padding-left: 1.1em;
    text-indent: -1.5em;
}

#content_page ul.textlist li {
    list-style-image: url('../graphics/lidot.png') !important;
    list-style-position: inside;
    padding: 0 0 0 5px !important;
}

#start {
    /*margin: 0 0 0 141px;*/
    max-width: 650px;
}

.margin-bottom {
    margin-bottom: 30px;
}

.margin-top {
    margin-top: 30px;
}

h2 {
    font-size: 0.8em;
    font-weight: bold;
    padding-bottom: 20px;
    margin: 0 0 0 0;
}

h3 {
    font-size: 0.7em;
    font-weight: bold;
    padding: 0 0 0 0;
    margin: 0;
}

h3.sommerpause {
    font-size: 0.9em;
}

p {
    font-size: 12px;
    /*padding: 0 20px 0 20px;*/
    /*text-align: justify;*/
}

.column *{ padding: 0 20px 0 0; }

.portrait {
    width: 90%;
    margin: 0 auto;
}

#content_page a {
    font-weight: normal;
    color: #830828;
    /*line-height: 2.4em;*/
}

#content_page a:hover {
    text-decoration: underline;
    color: #e30613;
}

ul.impressionen {
 list-style: none;
 width: 100%;
 margin: 0;
 padding: 0;
} 

ul.impressionen li {
    margin: 1px;
    /*display: inline;*/
    float: left;
    display: inline-block;
    padding: 0;
    width: 24.3%;
}

ul.impressionen li a{
    /*color: transparent;*/
    line-height: normal;
    opacity: 1;
    filter: alpha(opacity=100);
}

ul.impressionen li a:hover {
        opacity: 0.6;
    filter: alpha (opacity=60);
    -webkit-transition  : all 400ms ease-out;
    -moz-transition     : all 400ms ease-out;
    -o-transition       : all 400ms ease-out;
    -ms-transition      : all 400ms ease-out;
    transition          : all 400ms ease-out; 
    
    /*text-decoration: none !important;*/
    /*color: transparent;    */
}

ul.impressionen li a img {
    width: 100% !important;
    height: auto;
    

    
}


.events_referenzen p {
    margin: 0 !important;
    padding: 0 !important;
}

.events_referenzen img {
    width: 95%;
}

#ms_factsheet {
    font-size: 12px;
    border-spacing: 0 10px;
    border-collapse: separate;
    max-width: 100%;
}

#ms_factsheet th {
    padding: 0 10px 0 0;  
    text-align: right;  
}

#ms_factsheet td {
    padding: 0 10px 0 10px;
}


/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */


@media only screen and (min-width: 769px) {
    #mobile_menu {
        display: none;
    }    
}

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

.hinweis_25, .hinweis_45 {
    float: none;
    width: 100%;
    position: relative;
    display: block;
    margin-top: 10px;   
    margin-left: 6px; 
   }


h2 {
    font-size: 1.6em;
    margin-left: 5px !important;
    padding: 0;   
}

h3 {
    font-size: 0.9em;
    margin-left: 5px !important;
    padding: 0;
}

p {
    padding: 5px;
}

.portrait {
    width: 100%;
}


#content_page ul.textlist {
    font-size: 12px;
    list-style: none;
    margin-left: 20px;
    padding-left: 1.7em;
    text-indent: -1.5em;
}

.portrait_container {
    /*text-align: center;*/
}

.column  {
    width: 100% !important;
}

.column * {
    padding: 5px;   
}

.column h3, .column a {
    padding: 0;
}

#content_page .col_4, #content_page .col_4c {
    width: 50% !important;
}

/*#content_page img.illu {
    width: 70% !important;
    
}*/

#bodywrap {
    width: 100% !important;
}

#content_page {
    /*margin: 0 0 0 141px;*/
    margin-top: 70px;
    max-width: 1280px;    
}

#wrapper_column_first {
    height: 0;
    width: 33.3333333%;
    float: left;   
}



    #start .wide_in_mobile {
        width: 100% !important;
        background-image: url('../graphics/start_karten_mobil_neu.jpg') !important;
        background-position: center;
    }

    #start .hidden_in_mobile {
        display: none !important;
    }

    #start .only_mobile {
        display: block;
        /*visibility: visible;*/
    }

    .lineheightbig {
        line-height: 1064px;
    }

    .lineheightmiddle {
        line-height: 420px;
    }

    .lineheightsmall {
        line-height: 304px;
    }

    .wrapper_column {
        width: 33.33333333333333%;
        float: left;    
    }



    #empty {
        display: none;    
    }    
    


    #contentwrapper {
        width: 100%;
        margin-left: 0 !important;
        position: relative;
        bottom: -3px;   
        z-index: 1;
        margin-bottom: 50px;
    }

    #contentwrapper h5 {
        margin-top: -1px;
    }

    #contentwrapper {
        line-height: 1.4em;
    }

    #header {
        max-width: 1024px;
        height: 65px;
        position: fixed;
        background: #FFFFFF;
        border-bottom: 2px solid white;
    }

   
   #mobile_menu {
       top: 67px;
   }



   #menu  {
        display: block;
        float: right;
        margin: 20px;
        position: fixed;
        right: 0;
        /*height: 65.5px;*/
    }   
    
    #menu img {
        width: 35px;
        height: auto;
    }
     
    
    #nav {
        display: none;
    }

    #logo {

    }
    
    #logo img{
        width: 70px !important;
        border-bottom: 2px solid white;
        position: fixed;
        left: 0;
    }


 #start a {
        font-size: 20px;
    }

#start {
    /*margin: 0 0 0 0;*/
    max-width: 1280px;
}



}



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

    #highlights_teaser_span {
    top: 0 !important;
}


#wrapper_column_first {
    height: 0;
    width: 33.3333333%;
    float: left;   
}

.wrapper_column {
    width: 50%;
}

.margin-bottom {
    margin-bottom: 10px;
}

.column  {
    width: 100% !important;
}

#content_page .col_4, #content_page .col_4c, #content_page .col_3, #content_page .col_3c, #content_page .col_2 {
    width: 100% !important;
}

.col_1, .col_2, .col_3, .col_3c, .col_4, .col_4c, .col_5, .col_5c, .col_6, .col_6c {
    padding-left: 0px;
    padding-right: 0px;
}

#start .col_2 {
    width: 50%;
}

.portrait {
    margin-bottom: 10px;
}

.textlist {
    padding: 0 !important;
}

#ms_factsheet {
    font-size: 12px;
    margin-left: 0;
    border-spacing: 0;
    border-collapse: initial;
    max-width: 100%;
}


.play {
    position: absolute !important;
    top: 6px;
    left: 32%;
    height: 100px !important;
    width: 100px !important;
    
}

#content_page img#everything {
    max-width: none !important;
    width: 100% !important;
    
}

#content_page img.illu {
    max-width: 100%;
    width: 100% !important;
    margin: 0 auto !important;
    float: none !important;
    position: relative;
    display: block;
}

}



/* ==========================================================================
   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: 150%;
}

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

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

.visible {
    display: block !important;
    visibility: visible;
}

/*
 * 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.
 */

.clearfix {
    *zoom: 1;
}



@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-o-min-device-pixel-ratio: 5/4),
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 120dpi) {
    /* 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;
    }
}

@media only screen and (width: 1024px){
    #header .col_6 {
        width: 16.6666666%;
    }
    #header .col_6c {
        width: 83.33333333%;
    }
} 

section {
    margin-bottom: 40px;
}