/*.
        Autor:    OH
        Erstellt: 03.12.2009
                Geändert: KS 01/2012
*/

*
{
    font-family:Verdana,arial;
    font-size: 14px;
    margin: 0;
    padding: 0;
}


html
{
    min-height:100%;
    width: 100%;
    background-color:#ffffff;
    background-color: #cbcfd5;
    /*      background-image: url(../files/images/layout/abakus-schule-bg-schultisch-plain.jpg);
        background-repeat: no-repeat;
    */
    background-image: url(../files/images/layout/background_auge.svg);
    background-repeat: no-repeat;
    background-position:  center bottom;
    background-size: contain;
    background-attachment:fixed;
}


img {
    border:0;
}
html.pageStyle2 {
    background-image: url(../files/images/layout/background_ohr.svg);
}

html.pageStyle3 {
    background-image: url(../files/images/layout/background_hand.svg);
}

html.pageStyle4 {
    background-image: url(../files/images/layout/background_mund.svg);
}



html body
{
    font-size: 1.052631579%; /*(10px)*/




}


/* Default Grün */
#page
{
    max-width: 950px;
    width: 90%;

    background-color:rgb(255,255,255);
    background-color:rgba(255,255,255,0.8);
    margin: 0 auto;
    margin-top:25px;
    text-align: left;
    border-left: 1px solid #8cc63e;
    border-top: 1px solid #8cc63e;
    box-shadow: 4px 4px 4px #8cc63e;


}

/* Rot */
.pageStyle2 #page{
    border-left: 1px solid #ea1d24;
    border-top: 1px solid #ea1d24;
    box-shadow: 4px 4px 4px #ea1d24;
}
/* GELB */
.pageStyle3 #page{
    border-left: 1px solid #fdc50c;
    border-top: 1px solid #fdc50c;
    box-shadow: 4px 4px 4px #fdc50c;
}

/* Blau */
.pageStyle4 #page{
    border-left: 1px solid #00adef;
    border-top: 1px solid #00adef;
    box-shadow: 4px 4px 4px #00adef;
}



#headArea {
    width:100%;
    height: auto;


}

#footerArea p {
        margin-bottom: 0px;
}

#footerArea {
    width:100%;
    text-align: center;
    margin-bottom: 25px;
    padding-bottom: 5px;
    padding-top: 5px;
    background-image: linear-gradient(rgba(140,198,62,0.3) 0%, #ffffff 80%);
}

.pageStyle2 #footerArea{
    background-image: linear-gradient(rgba(234,29,36,0.3) 0%, #ffffff 80%);
}
/* GELB */
.pageStyle3 #footerArea{
    background-image: linear-gradient(rgba(253,197,12,0.3) 0%, #ffffff 80%);
}

/* Blau */
.pageStyle4 #footerArea{
    background-image: linear-gradient(rgba(0,173,239,0.3) 0%, #ffffff 80%);
}



.sidebar {
    width: 25.57894737%;

    margin:2.631578947%;
    float: left;
}

#bild_effekte
{
    border-radius: 0 10px 0 0;
    margin: 2.631578947%;
    width: 66.52631579%;
    height: inherit;
    opacity: 0.8;
    overflow:hidden;
}
#bild_effekte div  {
    width:inherit;
    height:inherit;
    overflow: hidden;
}
#bild_effekte img  {
    width:inherit;

}



#logo
{
    width:25.57894737%;

    height:auto;
    float:left;
    margin: 2.631578947% 2.631578947%;

}

#logo img {

    width: 100%;
}


#logo + #bild_effekte {
    height:250px;
}

#kontaktdaten
{
    margin-top: 2.631578947%;
    color:#1a171b;

    line-height:130%;
    font-size:1.2em;
    background-color: rgb(192,192,192);
    background-color: rgba(140,198,62,0.3);
    padding: 2.631578947%;
border-radius: 10px 10px 0 0;

}

.pageStyle2 #kontaktdaten {
    background-color: rgba(234,29,36,0.3);

}

.pageStyle3 #kontaktdaten {
    background-color: rgba(253,197,12,0.3);

}

.pageStyle4 #kontaktdaten {
    background-color: rgba(0,173,239,0.3);

}


#oeffnungszeiten
{

    color:#1a171b;
    letter-spacing:1px;
    line-height:18px;
    font-size:1.2em;
    width: 100%;
    /*    height:20px;*/

}


#kontaktdaten strong, #oeffnungszeiten strong
{

    font-weight:bold;

}

.adminButton {
    position: absolute;
    z-index:200;
    top:0;
    right: 0;
}


#menuButton {
    background-color: rgba(140,198,62,0.8);
    width: 24px;
    border-radius:50%;
    height:24px;
    padding:10px;
    float:right;
    margin:25px;
    display: none;

}

#menuButton img {
    width: 100%;
    height: auto;
    border: 0;
}
.pageStyle2 #menuButton {
    background-color: rgba(234,29,36,0.8);
}

.pageStyle3 #menuButton {
    background-color: rgba(253,197,12,0.8);
}

.pageStyle4 #menuButton {
    background-color: rgba(0,173,239,0.8);
}

#news {
    /*    width:94.73684211%;
         margin:2.631578947%;*/
    width:100%;
}

/* Layout für eine eventuell vorhandene Sprachumschaltung */
/*
#sprachumschaltung
{

    margin-top:10px;
    margin-left:10px;
    width: 100px;
    height: 30px;
    border:1pt solid red;
}
#sprachumschaltung img
{
    border:0pt;
}
*/
/* ------------------------------------------------------*/



/* Style für die Facebook Sidebar */

/*
#facebook_sidebar
{
    position: fixed;
    z-index: 100;
    top: 0;
}
#facebook_sidebar .logo
{
    position: absolute;

}
#facebook_sidebar iframe
{
    background-color: #ffffff;
    border: 5px solid #3a5896;
}
*/

/* ------------------------------------------------------*/




/* Style für die Galerie */
#galerie
{
    width:100%;
}
#galerieVertical
{
    /*    height:600px;
        padding:10px;
        padding-bottom:0px;
        width: 110px;
        overflow: auto;*/




}

#galerieVertical img
{
    /*    width:90px;
        border:1px solid #b1111d;
        margin-bottom:10px;*/
}




#galerieHorizontal
{
    /*    height:110px;
        padding:10px;
        padding-bottom:0px;
        width: 690px;
        overflow: auto;*/


}


#galerieHorizontal img
{
    /*    height:80px;
        border:1px solid #b1111d;
        margin-right:10px;*/
}


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

.cf:after {
    clear: both;
}

/**
 * For IE 6/7 only
 * Include this rule to trigger hasLayout and contain floats.
 */
.cf {
    *zoom: 1;
}

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

    html {
          background-position:  center center;
    background-size:contain;
    }

    #logo {
        /*float: none;*/
    }
    .sidebar{
        float: none;
        width:94.73684211%;
    }
    #bild_effekte {
        display: none;
    }
    #menuButton {
        display: block;
    }

}