/* Main CSS SVBS Webseite - by m@raxus.ch */

/* Struktur

    1. Allgemein
    2. Header
    3. Maincontent
    4. Footer

    Farbcodes:
    SVBS-blue: #154896 / rgb(21, 72, 150)
    SVBS-green: #1FA43A / rgb(31, 164, 58)
    SVBS-grey: #333 / rgb(51, 51, 51)
    SVBS-Link: #ea3a60 / rgb(234, 58, 96)

    Fonts:
    font-family: Verdana


*/

/* 1. Allgemein */

* {
    margin-bottom: 10px;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Verdana, Geneva, Tahoma, sans-serif;
    font-size: 13px;
    line-height: 1.6;
    color: #333    
}

h1 {
    color: #154896;
    font-size: 4vw;
    font-weight: bolder;
    line-height: 1.5;
}

h2 {
    color: #154896;
    font-size: 3vw;
    font-weight: bold;
}

h3 {
    color: #154896;
    font-size: 2vw;
    font-weight: normal;
}

h4 {
    color: #154896;
    font-size: 1.75vw;
    font-weight: normal;
}

h5 {
    color: #154896;
    font-size: 1.5vw;
    font-weight: normal;
}

h6 {
    color: #154896;
    font-size: 1.2vw;
    font-weight: normal;
}


a {
    color: #154896;
    text-decoration: none;
    font-weight: bold;
}

blockquote {
        border-left: solid 0.5em #e0e0e0;
        font-style: italic;
        padding: 1em 0 1em 2em;
}

#schule img {    
    border-radius: 50%;
}


/* 2. Header  */

.header {
    background-color: #333;
    color: #fff;
    background-image: url(../images/headerimg.png);
    background-attachment: scroll;
    background-position-x: center;
    background-position-y: center;
    background-repeat: no-repeat;
    background-size: cover;
    padding-top: 0px;
    padding-right: 0px;
    padding-bottom: 175px;
    padding-left: 0px;
    margin-bottom: 5px;
}

#main-nav {
    background-color: #333;
    position: relative;
    top: 190px;
}

nav {
    background-color: #333;
}

nav ul {
    list-style: none;
}

.menu>li {
    display: inline-block;
    position: relative;
}

.menu a {
    display: block;
    padding: 5px;
    margin-top: 5px;
    text-decoration: none;
    color: #fff;
}

.menu li:hover>.submenu {
    display: block;
}

/* Submenu Styles */
.submenu {
    display: none;
    position: absolute;
    background-color: #444;
    min-width: 150px;
    z-index: 1;
}

.submenu li {
    display: block;
}

.submenu a {
    padding: 10px;
}

/* Responsive Styles */
@media screen and (max-width: 1095px) {
    .menu>li {
        display: block;
        width: 100%;
    }

    .submenu {
        position: static;
        background-color: #333;
    }

    .submenu li {
        display: block;
        border-bottom: 1px solid #555;
    }

    .submenu a {
        padding: 15px;
    }

    .menu li:hover>.submenu {
        display: none;
    }
}



/* 3. Maincontent  */

.main {
    padding-top: 25px;
    color: #333;
    height: auto;
    margin-top: 15px;
}

.col-sidebar {    
    border: 1px solid #154896;
    border-radius: 16px;
    padding-top: 5px;
    padding-left: 5px;
    padding-right: 5px;
    background-color: #f1f1f1;
    word-wrap: break-word;
    margin-top: 15px;
}

@media (max-width: 767px) {
    .col-sidebar { 
    border-radius: 0px;
    padding-top: 0px;
    }
}

/* 4. Footer */

footer {
    background-color: #f1f1f1;
    margin-top: 5px;
    padding-top: 10px;
    padding-left: 15px;
    text-align: center;
}