body,html{
    font-family: Verdana;
    background-color: rgb(244,244,244);
    padding:0px;
    margin:0px;
}
#main{
    width:100%;
    position:relative;
}
#content-div article{
    min-height:280px;
}
#main header .top{
    background-color:#DE2121;
    height:auto;
    color: white;
    text-align: right;
    font-size: 14px;
    font-family: 'PT sans';
    padding-top:7px;
    padding-bottom:7px;
}
#main header .top:after{
    content: '.';
    display:block;
    height:0px;
    visibility: hidden;
    overflow: hidden;
}

#main header .middle{
    height:150px;
}
#main .inner{
    width:900px;
    height:100%;
    position: relative;
    padding:0 25px;
    margin:0 auto;
}
#main header{
    background-color: #DE2121;
/*    background-image: url(../img/welle_neu.png); */
    background-position: right 33px;
    background-repeat: repeat-x;
    background-size: 900px;
}
#main header .logo{
    float:left;
}
#main header .noten
{
    margin-top:30px;
    float:right;
    padding-right:150px;
}
.logo img{
    height:150px
}
#main header .text{
    display: block;
    overflow: hidden;
    height:100%;

    text-align: left;
}
#main header .info_wrap{
    height:100%;
    color:white;
    padding:0 0 0 20px;
    position:absolute;
    left:50%;
    margin-left:-285px;
    text-align: left;
}
#main header .info_wrap:after{
    content: '';
    height:100%;
    display:inline-block;
    vertical-align:middle;
}
#main header .text .info{
    vertical-align: middle;
    display: inline-block;
    font-family:'PT sans', cursive;
    font-size:30px;
    text-shadow: black 0.1em 0.1em 0.2em
}
#main header .text .info span{
    font-size:45px;
}
#main header .bottom{
    height:83px;
    background-color: white;
    border-top:20px solid #de2121;
}

#main header .bottom nav{
    width:1100px;
    margin-top:0px;
}
#main header .bottom nav.navbar-responsive-top{
    display:none;
}
#main header .bottom nav.navbar-top ul{
    list-style-type: none;
    margin:0px;
    padding:0px;
}
#main header .bottom nav.navbar-top > ul > li{
    float:left;
    display:inline-block;
}
#main header .bottom nav.navbar-top > ul > li > a:before{
    pointer-events: none;
    position: absolute;
    z-index:2;
    content: '';
    border-style:solid;
    transition-duration:0.3s;
    transition-property:transform;
    left:calc(50% - 20px);
    top:0px;
    border-width:20px 20px 0px 20px;
}

#main header .bottom nav.navbar-top > ul > li:nth-child(1) > a:before
{
    border-color: #DE2121 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(1) > a{
    border-color: #DE2121;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(2) > a:before{
    border-color: #64A6BE transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(2) > a{
    border-color: #64A6BE;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(3) > a:before{
    border-color: #41D529 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(3) > a{
    border-color: #41D529;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(4) > a:before{
    border-color: #EBCC25 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(4) > a{
    border-color: #EBCC25;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(5) > a:before{
    border-color: #B3D211 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(5) > a{
    border-color: #B3D211;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(6) > a:before{
    border-color: #8c49ee transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(6) > a{
    border-color: #8c49ee;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(7) > a:before{
    border-color: #fc8a56 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(7) > a{
    border-color: #fc8a56;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(8) > a:before{
    border-color: #969696 transparent transparent transparent;
}
#main header .bottom nav.navbar-top > ul > li:nth-child(8) > a{
    border-color: #969696;
}









#main header .bottom nav > ul > li > ul {
    position: absolute;
    top:120%;
    left:0;
    z-index: 999;
    background: #fff;
    width: 300px;
    margin: 0;
    padding: 0;
    opacity: 0;
    visibility: hidden;
    box-shadow: 0 13px 42px 11px rgba(0,0,0,.05);
    border: 1px solid #EEE;
    border-bottom-left-radius: 5px;
    transition: all .5s ease;
}

#main header .bottom nav > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transition: .5s;
    top: 100%;
}
#main header .bottom nav > ul > li:hover > ul {
    opacity: 1;
    visibility: visible;
    transition: .5s;
    top: 100%;
}
#main header .bottom nav > ul > li > ul > li > a {
    display: block;
    font-size: 18px;
    text-transform: capitalize;
    color: #232323;
    padding: 10px 19px;
    transition: all .3s ease;
    text-align: left;
}

#main header .bottom nav > ul > li a:hover:before,
#main header .bottom nav > ul > li a:active:before,
#main header .bottom nav > ul > li a:focus:before{
    -webkit-transform: translateY(8px);
    transform:translateY(5px);
}

#main header .bottom nav > ul >li > a{
    color:black;
    display:inline-block;
    font-family: 'PT-sans',sans-serif;
    font-size:18px;
    vertical-align: middle;
    padding:32px 20px 7px;
    /* border-top:3px solid red; */
    margin-top:-3px;
}
#main header .bottom nav > ul > li li a{
    display:block;
    position: relative;
}

#main .page-title-wrapper {
    padding: 30px;
    padding-bottom: 280px;
    -webkit-transition: height 0.3s;
    -moz-transition: height 0.3s;
    -ms-transition: height 0.3s;
    -o-transition: height 0.3s;
    transition: all 0.3s;
}

#main .page-title.smaller .page-title-wrapper{
    padding-bottom:30px;

}
#main .page-title h1{
    color:white;
    text-shadow: black 0.1em 0.1em 0.2em
}

#main .page-breadcrumbs{
    border-bottom:1px solid #EEEEEE;
    background-color:white;
    padding:15px;
    font-size:14px;
}
#main article{
    background-color: white;

}
#main article .inner{
    padding-top:40px;
    padding-bottom:40px;
}
#main article > div > h1{
    margin:0px;
}

ul.category-list{
    list-style: none;
    margin:0px;
    padding:0px;
}
ul.category-list li{
    padding:5px 0px;
}
ul.category-list a{
    font-size:17px;
    font-family: "PT sans";
    text-decoration: none;
    color:black;
    margin-bottom:10px;
}
ul.category-list a:hover{
    color:red;
}

div.box{
    background-color:white;
    padding:10px;
    margin-bottom:10px;
}
div.box h3{
    margin:0px;
    padding:0px;
    border-bottom:1px solid silver;
    font-size:16px;
    text-overflow: ellipsis;
    height:20px;
    width:auto;
    overflow:hidden;
    space: nowrap;
    padding-bottom:5px;
}

div.box.gallery .image-wrapper{
    max-height:150px;
    padding-top:10px;
    padding-bottom:5px;
    overflow: hidden;
}
div.box.gallery .image-wrapper img{
    width:100%;
}
div.box.gallery .image-description{
    height:47px;
    overflow: hidden;
    text-align: justify;
    padding-top:5px;
    padding-bottom:5px;
}

.breadcrumbs>li+li:before {
    padding: 0 5px;
    color: #ccc;
    content: "/\00a0"
}
.breadcrumbs{
    list-style-type: none;
    margin:0px;
    padding:0px;
}
.breadcrumbs a,
.breadcrumbs li{
    display:inline-block;
}
footer{
    margin-top:40px;
    background-color: white;
}
footer {
    padding:20px 0px;
}

@media(min-width:1200px){
    #main .inner{
        width:80%;
    }
}


@media(max-width:1300px){
    #main header .bottom nav.navbar-top > ul > li > a{
        font-size:16px
    }
    #main header .bottom nav.navbar-top > ul > li > a:before{
        border-width: 15px 15px 0px 15px;
        left: calc(50% - 15px);
    }
    #main header .bottom nav > ul >li > a{
        padding: 22px 10px 7px;
    }
    #main header .bottom nav > ul > li > ul > li > a,.dropdown-menu>li>a{
        font-size:14px;
    }
}

@media(min-width:1999px){
    #main .inner{
        /*width:900px;*/
    }
}

#main .content-text h1{
    margin-bottom:10px;
}
#main .content-text{
    font-size:16px;
    padding-bottom:30px;
}

footer nav ul{
    list-style-type: none;
    margin:0px;
    padding:0px;
}
footer nav ul li,
footer nav ul li a{
    display:inline-block;
    font-size:14px;
}
footer nav ul li a:after{
    content: " / ";
    padding-left:5px;
    padding-right:5px;
}

footer nav ul li:last-child a:after{
    content:'';
    padding:0px;
}

.search-form .form-group {
    float: right !important;
    transition: all 0.35s, border-radius 0s;
    width: 25px;
    height: 25px;
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.075) inset;
    border-radius: 25px;
    border: 1px solid #ccc;
}
.search-form .form-group input.form-control {
    padding-right: 20px;
    border: 0 none;
    margin-top:-3px;
    background: transparent;
    box-shadow: none;
    display:block;
}
.search-form .form-group input.form-control::-webkit-input-placeholder {
    display: none;
}
.search-form .form-group input.form-control:-moz-placeholder {
    /* Firefox 18- */
    display: none;
}
.search-form .form-group input.form-control::-moz-placeholder {
    /* Firefox 19+ */
    display: none;
}
.search-form .form-group input.form-control:-ms-input-placeholder {
    display: none;
}
.search-form .form-group:hover,
.search-form .form-group.hover {
    width: 100%;
    border-radius: 4px 35px 35px 4px;
}
.search{
    padding-top:0px;
    margin-top:-3px;
}
.search-form .form-group span.form-control-feedback {
    position: absolute;
    top: -1px;
    right: -2px;
    z-index: 2;
    display: block;
    width: 25px;
    height: 25px;
    line-height: 25px;
    text-align: center;
    color: #3596e0;
    left: initial;
    font-size: 15px;
}

.content-text h1,.content-text h2,.content-text h3,.content-text h4,.content-text h5{
    color:rgb(220,50,47);
}


.dropdown-submenu {
    position: relative;
}

.dropdown-submenu>.dropdown-menu {
    top: 0;
    left: 100%;
    margin-top: -6px;
    margin-left: -1px;
    border:0px;
    font-size:16px;
}

.dropdown-submenu:hover>.dropdown-menu {
    display: block;
}

.dropdown-submenu>a:after {
    display: block;
    content: " ";
    float: right;
    width: 0;
    height: 0;
    margin-top: 5px;
    margin-right: -10px;
}

.dropdown-submenu:hover>a:after {
    border-left-color: #fff;
}

.dropdown-submenu.pull-left {
    float: none;
}

.dropdown-submenu.pull-left>.dropdown-menu {
    left: -100%;
    margin-left: 10px;
    -webkit-border-radius: 6px 0 6px 6px;
    -moz-border-radius: 6px 0 6px 6px;
    border-radius: 6px 0 6px 6px;
}

.navbar-responsive-top{
    background-color:#DE2121;
    color:white;
    padding:5px;
    display:hidden;
    padding-bottom:10px;
}
.navbar-responsive-top .menu{
    margin-top:10px;
}
.navbar-responsive-top a.toggle{
    font-size:20px;
    display:inline-block;
    color:white;
    height:20px;
}
.navbar-responsive-top ul{
    list-style-type: none;
    margin:0px;
    padding:0px;
}
.navbar-responsive-top ul ul{
    display:none;
}

.navbar-responsive-top ul a{
    color:white;
    display:block;
    width:100%;
    padding:5px;
}
.navbar-responsive-top ul li.has-children:before{
    content: '\f0da';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    padding-right:10px;
    text-decoration:none;
    float:right;
}

.navbar-responsive-top ul ul{
    padding-left:10px;
}
@media all and (max-width: 1354px) {
    #main header .text .info{
        font-size:20px;
    }
    #main header .text .info span{
        font-size:25px;
    }
    #main .page-title-wrapper{
        padding-bottom:200px;
    }
    .logo img{
        height:100px;
    }
    #main header .middle{
        height:100px;
    }
    #main header .noten{
        height:70px;
        padding-right:60px;
    }
}


@media all and (max-width: 868px) {
    #main .inner{
        width:600px;
    }
    .navbar-responsive-top{
        display:block;
    }
    div.search{
        display:none;
    }
    #main header .bottom{
        border-top:0px;
        background-color:#DE2121;
        height:auto;
    }
    #main header .bottom nav{
        width:550px;
    }
    #main .page-title-wrapper{
        padding-bottom:150px;
    }
    #main header .noten{
        padding-right:0px;
    }
    #main header .text .info{
        padding-left:180px;
    }

    #main header .bottom nav.navbar-top{
        display:none;
    }
    #main header .bottom nav.navbar-responsive-top{
        display:block;
    }

}

@media all and (max-width: 600px) {
    #main .inner{
        width:100%;
    }
    #main header .bottom nav {
        width:100%;
    }
    #main header .text .info{
        font-size:15px;
    }
    #main header .text .info span{
        font-size:20px;
    }
    #main .page-title-wrapper{
        padding-bottom:200px;
    }
    .logo img{
        height:60px;
    }
    #main header .middle{
        height:60px;
    }
    #main header .noten{
        height:40px;
    }
}
@media all and (max-width: 400px) {
    #main header .text .info{
        font-size:11px;
        margin-left:50px;
    }
    #main header .text .info span{
        font-size:15px;
    }

    #main .page-title-wrapper{
        padding-bottom:120px;
    }
    #main header .noten{
        padding-right:0px;
    }
    #main .top .inner{
        font-size:10px;
        text-align: center;
    }
}

.highlight{
    background-color:yellow;
    font-weight:bolder;
}

.koop{
    margin-bottom:15px;
}
.koop ul{
    list-style-type:none;
    margin:0px;
    padding:0px;
}
.koop ul li{
    display:inline;
    padding:10px;
}
.koop ul li img{
    height:60px;
}

.info-message{
    position: absolute;
    bottom: 25px;
    height:65px;
    padding:10px 0px;
    background-color: rgba(220,50,47,0.7);
    text-align: center;
    display: table;
    color: white;
    font-size:17px;
}
.info-message.white{
    background-color: rgba(255,255,255,0.7);
    color:black;
}
.info-message.large{
    font-size:25px;
}
.info-message span{
    display: table-cell;
    vertical-align: middle;
}

/* MARGINS & PADDINGS */
.p-xxs {
    padding: 5px;
}
.p-xs {
    padding: 10px;
}
.p-sm {
    padding: 15px;
}
.p-m {
    padding: 20px;
}
.p-md {
    padding: 25px;
}
.p-lg {
    padding: 30px;
}
.p-xl {
    padding: 40px;
}
.p-w-xs {
    padding: 0 10px;
}
.p-w-sm {
    padding: 0 15px;
}
.p-w-m {
    padding: 0 20px;
}
.p-w-md {
    padding: 0 25px;
}
.p-w-lg {
    padding: 0 30px;
}
.p-w-xl {
    padding: 0 40px;
}
.p-h-xs {
    padding: 10px 0;
}
.p-h-sm {
    padding: 15px 0;
}
.p-h-m {
    padding: 20px 0;
}
.p-h-md {
    padding: 25px 0;
}
.p-h-lg {
    padding: 30px 0;
}
.p-h-xl {
    padding: 40px 0;
}
.m-xxs {
    margin: 2px 4px;
}
.m-xs {
    margin: 5px;
}
.m-sm {
    margin: 10px;
}
.m-md {
    margin: 20px;
}
.m-lg {
    margin: 30px;
}
.m-xl {
    margin: 50px;
}
.m-n {
    margin: 0 !important;
}
.m-l-none {
    margin-left: 0;
}
.m-l-xs {
    margin-left: 5px;
}
.m-l-sm {
    margin-left: 10px;
}
.m-l {
    margin-left: 15px;
}
.m-l-md {
    margin-left: 20px;
}
.m-l-lg {
    margin-left: 30px;
}
.m-l-xl {
    margin-left: 40px;
}
.m-l-n-xxs {
    margin-left: -1px;
}
.m-l-n-xs {
    margin-left: -5px;
}
.m-l-n-sm {
    margin-left: -10px;
}
.m-l-n {
    margin-left: -15px;
}
.m-l-n-md {
    margin-left: -20px;
}
.m-l-n-lg {
    margin-left: -30px;
}
.m-l-n-xl {
    margin-left: -40px;
}
.m-t-none {
    margin-top: 0;
}
.m-t-xxs {
    margin-top: 1px;
}
.m-t-xs {
    margin-top: 5px;
}
.m-t-sm {
    margin-top: 10px;
}
.m-t {
    margin-top: 15px;
}
.m-t-md {
    margin-top: 20px;
}
.m-t-lg {
    margin-top: 30px;
}
.m-t-xl {
    margin-top: 40px;
}
.m-t-n-xxs {
    margin-top: -1px;
}
.m-t-n-xs {
    margin-top: -5px;
}
.m-t-n-sm {
    margin-top: -10px;
}
.m-t-n {
    margin-top: -15px;
}
.m-t-n-md {
    margin-top: -20px;
}
.m-t-n-lg {
    margin-top: -30px;
}
.m-t-n-xl {
    margin-top: -40px;
}
.m-r-none {
    margin-right: 0;
}
.m-r-xxs {
    margin-right: 1px;
}
.m-r-xs {
    margin-right: 5px;
}
.m-r-sm {
    margin-right: 10px;
}
.m-r {
    margin-right: 15px;
}
.m-r-md {
    margin-right: 20px;
}
.m-r-lg {
    margin-right: 30px;
}
.m-r-xl {
    margin-right: 40px;
}
.m-r-n-xxs {
    margin-right: -1px;
}
.m-r-n-xs {
    margin-right: -5px;
}
.m-r-n-sm {
    margin-right: -10px;
}
.m-r-n {
    margin-right: -15px;
}
.m-r-n-md {
    margin-right: -20px;
}
.m-r-n-lg {
    margin-right: -30px;
}
.m-r-n-xl {
    margin-right: -40px;
}
.m-b-none {
    margin-bottom: 0;
}
.m-b-xxs {
    margin-bottom: 1px;
}
.m-b-xs {
    margin-bottom: 5px;
}
.m-b-sm {
    margin-bottom: 10px;
}
.m-b {
    margin-bottom: 15px;
}
.m-b-md {
    margin-bottom: 20px;
}
.m-b-lg {
    margin-bottom: 30px;
}
.m-b-xl {
    margin-bottom: 40px;
}
.m-b-n-xxs {
    margin-bottom: -1px;
}
.m-b-n-xs {
    margin-bottom: -5px;
}
.m-b-n-sm {
    margin-bottom: -10px;
}
.m-b-n {
    margin-bottom: -15px;
}
.m-b-n-md {
    margin-bottom: -20px;
}
.m-b-n-lg {
    margin-bottom: -30px;
}
.m-b-n-xl {
    margin-bottom: -40px;
}
.space-15 {
    margin: 15px 0;
}
.space-20 {
    margin: 20px 0;
}
.space-25 {
    margin: 25px 0;
}
.space-30 {
    margin: 30px 0;
}
.img-sm {
    width: 32px;
    height: 32px;
}
.img-md {
    width: 64px;
    height: 64px;
}
.img-lg {
    width: 96px;
    height: 96px;
}
.b-r-xs {
    -webkit-border-radius: 1px;
    -moz-border-radius: 1px;
    border-radius: 1px;
}
.b-r-sm {
    -webkit-border-radius: 3px;
    -moz-border-radius: 3px;
    border-radius: 3px;
}
.b-r-md {
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.b-r-lg {
    -webkit-border-radius: 12px;
    -moz-border-radius: 12px;
    border-radius: 12px;
}
.b-r-xl {
    -webkit-border-radius: 24px;
    -moz-border-radius: 24px;
    border-radius: 24px;
}
.no-margins {
    margin: 0 !important;
}

.event_teacher_selector{
    border:1px solid silver;
    border-radius: 8px;
}
