body {
    font-family: 'Open Sans', sans-serif;
    font-size: 16px;
    line-height: 24px;
    margin: 0px auto;
    width: 1000px;
}
tbody {
    vertical-align: top;
}
#page {
    margin-bottom: 15px;
}
* {
    box-sizing: border-box;
}
/*--- Links ----------------------------------------------------------------------------------------- */

a { color:rgb(50, 70, 140); background:transparent; text-decoration:none; }
a:visited  { color:rgb(50, 70, 140); }
a:focus { text-decoration:underline; color:#000; background: #fff; outline: none }
a:hover,
a:active { color:rgb(50, 70, 140); text-decoration:underline; outline: 0 none; }
/* --- Ende Links -----*/
/*    some more definitions  */
p:first-child{
    margin-top: 0;
}
h1 a:focus, h2 a:focus, h3 a:focus,
h1 a:active, h2 a:active, h3 a:active,
h1 a:hover, h2 a:hover, h3 a:hover{
    text-decoration: none;
}
/*    ENDE  some more definitions  */
#title h1, #title h2{
    color: rgb(60, 90, 180);
    font-size: 2.1em;
    font-stretch: extra-expanded;
    font-weight: 500;
    letter-spacing: 3px;
    margin-bottom: 10px;
    text-transform: uppercase;
}
h3 {
    font-weight: 500;
}
#page-header .row:after {
    content: '';
    clear: both;
    display: table;
    height: 1px;
}
#page-header #title {
    float: left;
}
#page-header #logo {
    float: right;
    margin-top: 30px;
}
#logo  {
    width: 110px;
}
#logo img {
    width: 100%;
    height: 100%;
}
#page-header {
    position: relative;
}
.social-media {
    display: inline-block;
    float: right;
    position: relative;
    top: 0px;
    height: 30px;
}
.trigger {
    background-color: transparent;
    border-radius: 4px;
    cursor: pointer;
    display: block;
    height: 100px;
    position: absolute;
    top: 470px;
    left:  40px;
    width: 55px;
}
.trigger .line {
    background: #fff;
    display: block;
    height: 6px;
    margin-bottom: 8px;
    transform-origin: center;
    transition: 0.5s;
    width: 53px;
}
.trigger-without-header{
    position: static;
    height: 54px;
}
.trigger-without-header .line{
    background: #000;
}
.trigger .label {
    color: #fff;
    letter-spacing: 2px;
}
#page-header .main-menu{
    position: relative;
}
#page-header #menu{
    display: none;
    z-index: 100;
}
#page-header #menu.active {
    display: block;
    background-color: #EEEEEE;
    position: absolute;
    top: -20px;
    padding-right: 90px;
}
#menu ul {
    list-style-type: none;
    font-size: 19px;
    line-height: 28px;
}
#menu ul ul, #menu ul ul ul {
     display: none;
}
#menu ul ul.active, #menu ul ul ul.active {
    display: block;
}
#menu li .shortcut{
    color:rgb(50, 70, 140);
    background:transparent;
}
#menu .level-0 .level-1 .triangle{
    width: 0px;
    height: 0px;
    -webkit-transform:rotate(360deg);
    border-style: solid;
    border-width: 10px 7px 0 7px;
    border-color: rgb(50, 70, 140) transparent transparent transparent;
    display: inline-block;
    position: relative;
}
#menu .triangle:hover {
    color:rgb(50, 70, 140);
    text-decoration:underline;
    outline: 0 none;
}
h1, h2{
    color: rgb(100, 100, 100);
    font-family: "Open Sans";
    font-size: 24px;
    font-style: normal;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 28px;
    margin-bottom: 10px;
}
ol.breadcrumb {
    font-size: 12px;
    display: inline-block;
    list-style-type: none;
    margin-bottom: 0;
    margin-top: 0;
    /* padding-bottom: 5px; */
    padding-left: 0;
}
ol.breadcrumb li{
    display: inline-block;
}
.breadcrumb-line {
    border-top: 1px solid #000;
    /* margin-top:1px; */
    margin-bottom: 0;
    opacity: 0.5;
}
.breadcrumb-top{
    border-bottom: none;
    border-left: none;
    border-right: none;
    padding-bottom: 5px;
}
/*   Textpic  */
div.csc-textpic-intext-right .csc-textpic-imagewrap,
div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap,
.ce-intext.ce-right .ce-gallery{
    margin-left: 40px;
}
.frame-layout-1 {
    margin-top: 30px;
}
/*
.ce-gallery img {
    height: auto;
    width: 150px;
}
*/
/* Werbebanner */
.werbebanner {
    margin: 20px 0;
    border-top: 1px solid rgba(100, 100, 100, 0.5);
    padding-top: 0;
}
.werbebanner h3 {
    font-size: 15px;
    font-style: normal;
    font-weight: normal;
    color: rgb(50, 70, 140);
    margin: 1.5em 0 0.5em;
}
.werbebanner h2{
    color: rgb(50, 50, 50);
    font-family: "Open Sans";
    font-style: normal;
    font-size: 25px;
    font-weight: 500;
    letter-spacing: 1px;
    line-height: 2.2rem;
    margin: 0 0 20px 0;
}
.werbebanner .csc-textpic-imagerow{
    text-align: center;
}
.werbebanner .csc-textpic-imagerow .csc-textpic-imagecolumn{
    margin-right: 30px;
}
table, td, th {
    border-bottom: 1px solid rgba(176, 176, 176, 0.5);
}
/* Fancybox
.fancybox-slide--iframe .fancybox-content {
    width  : 800px;
    height : 1200px;
    max-width  : 100%;
    max-height : 100%;
    margin: 0;
}
*/

/* Cookie Hint */
/* Cookie notice main container */
.cookie-notice-container {
    background-color: #111;
    bottom: 0;
    color: #AAA;
    left: 50%;
    margin:0 auto;
    margin-left: -50vw;
    margin-right: -50vw;
    padding: 20px;
    position: relative;
    right: 50%;
    text-align:center;
    width: 100vw;
    z-index: 999;
}
/* Headline */
.cookie-notice-container .cookie-notice-headline{
    color: #fff;
    text-align:center;
    font-size: 1rem;
    font-weight: bold;
    padding: 7px;
    margin-bottom:15px;
}
/* Text */
.cookie-notice-container p{
    color: #000;
    font-size: 12px;
    text-align:center;
    margin:5px;
}
/* Privacy-Link */
.cookie-notice-container  .cookie-notice-privacy-link-wrapper {
    padding-left: 10px;
}
.cookie-notice-container .cookie-notice-privacy-link {
    color: #B9B9B9;
    text-decoration:underline;
    font-weight:bold;
}
.cookie-notice-privacy-link:hover {
    color: #999;
    text-decoration:underline;
}
/* Button Container */
.cookie-notice-container .cookie-notice-buttons {
    text-align:center;
    margin-top:20px;
    margin-bottom:20px;
}
/* Accept-Button */
.cookie-notice-container .cookie-notice-buttons .cookie-notice-button-accept{
    background: #4e5d6c;
    color: #EEE;
    margin: 10px;
    padding:10px;
    padding-left:20px;
    padding-right:20px;
    font-size: 16px;
    font-weight: bold;
    white-space:nowrap;
    text-decoration:none;
}
/* Accept-Butoon hover */
.cookie-notice-container .cookie-notice-buttons .cookie-notice-button-accept:hover,
.cookie-notice-container .cookie-notice-buttons .cookie-notice-button-accept:focus {
    background: #4e5d6c;
}
/* Calendar */
/* Liste */
.tx-cal-controller dt.vevent{
    padding-bottom: 20px;
}
.tx-cal-controller .vevent abbr{
    border: none;
    color: #003399;
    font-variant: normal;
}
/* Ereignis */
.tx-cal-controller #calendar-event h1,
.tx-cal-controller #calendar-event h2{
    text-align: left;
}
.tx-cal-controller #calendar-event-backlink{
    padding-top: 20px;
}

/* Media queries */
/* For all mobile Devices */
@media (max-width: 1024px) {
    body{
        width: 100%;
    }
    #page{
        padding: 0 20px;
    }
    img {
        width: 100%;
        height: auto;
    }
    .ce-uploads img {
        width: auto;
    }
    .social-media img {
        width: auto;
    }
    /* Schulchronik Overlay */
    #page130 img,
    #page192 img,
    table img{
       width: auto;
    }
    #page130 #page-header,
    #page67 #page-header,
    #page130 .breadcrumb,
    #page67 .breadcrumb,
    #page130 .breadcrumb-line,
    #page67 .breadcrumb-line {
        display: none;
    }
    /* Downloads */
    #page105 .csc-uploads img {
        width: auto;
    }
    #page-header .header-image{
        width: 100%;
        height: auto;
    }
    #page-header #logo{
        margin-top: 10px;
    }
    #title h1, #title h2{
        font-size: 1.6em;
    }
    .trigger{
        top: 340px;
        left: 20px;
    }
    #menu ul ul.active, #menu ul ul ul.active {
        display: block;
        padding-left: 20px;
    }
}
/*
  ##Device = Tablets, Ipads (portrait)
  ##Screen = B/w 768px to 1024px
*/

@media (min-width: 768px) and (max-width: 1024px) {
    .ce-column {
        margin-bottom: 10px;
    }
}
@media (min-width: 481px) and (max-width: 767px) {
    .trigger{
        top: 315px;
        left: 10px;
    }
    .trigger .label{
        display: none;
    }
    #logo{
        display: none;
    }
    .ce-column {
        margin-bottom: 10px;
    }
}
/*
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/

@media (min-width: 320px) and (max-width: 480px) {
    /* sprechstunden Lehrer */
    #page7 .ce-textpic {
        overflow: auto;
    }
    #logo{
        display: none;
    }
    .trigger{
        top: 240px;
        left: 10px;
    }
    .trigger .label{
        display: none;
    }
    .trigger .line {
        height: 3px;
        margin-bottom: 5px;
        width: 33px;
    }
    .trigger-without-header{
        height: 22px;
    }
    ol.breadcrumb{
        font-size: 12px;
    }
    .sf-filecollection-gallery-image-container img{
        
    }
    .tx-sf-filecollection-gallery-image-container img{
        text-align: center;
    }
    div.csc-textpic-intext-right .csc-textpic-imagewrap,
    div.csc-textpic-intext-right-nowrap .csc-textpic-imagewrap,
    div.csc-textpic-intext-left .csc-textpic-imagewrap,
    .ce-intext.ce-left .ce-gallery,
    .ce-intext.ce-right .ce-gallery{
        float: none;
        margin-left: 0;
    }
    div.csc-textpic .csc-textpic-imagewrap .csc-textpic-imagerow-last .csc-textpic-image {
        margin-bottom: 10px;
    }
    .werbebanner{
        margin: 0;
    }
    .werbebanner h2 {
        font-size: 16px;
        line-height: 16px;
    }
    .werbebanner .csc-textpic-imagerow .csc-textpic-imagecolumn{
        float: none;
        margin-top: 10px;
    }
    .ce-column {
        /* float: none; */
        margin-bottom: 10px;
    }
    .ce-column:after{
        content: '';
        visibility: hidden;
        height: 0;
        display: block;
        clear: both;
    }
}
@media (min-width: 400px) and (max-width: 440px) {
    .trigger{
        top: 235px;
    }
}
@media (min-width: 380px) and (max-width: 399px) {
    #title h1{
        font-size: 1.5em;
    }
    .trigger{
        top: 213px;
    }
}
@media (min-width: 360px) and (max-width: 379px) {
    #title h1, #title h2{
        font-size: 1.3em;
    }
    .trigger{
        top: 195px;
    }
}
@media (min-width: 320px) and (max-width: 359px) {
    #title h1, #title h2{
        font-size: 1.2em;
    }
    .trigger{
        top: 185px;
    }

}