
#kalwrapper{
    position: relative;
    width: 90%;
    margin: 0 auto;
    padding-top: 25px;
}

#kalwrapper h1{
    display: block;
    width: 160px;
    text-align: center;
    font-size: 1.7rem;
    color: #17457F;
}

#kalwrapper a{
    text-decoration: none;
    color: black;
}

.monatsbox{
    height: 250px;
    width: 23%;
    float: left;
    display: block;
    margin: 10px 1%;
}

.monatsbox h1{
    color: #17457F;
    margin: 0 auto;
    padding-bottom: 10px;
}

.monatsbox table{
    margin: 0 auto;
    
    text-align: center;
}

.monatsbox td {
    width: 10%;
    font-size: 11pt;
}

.monatsbox tr {
    line-height: 1.9;
}

.belegt{
    background-color: burlywood;
}



.belegtl{
    background-image: url(../bilder/inc/end_termin.png);
    background-size: cover;
}

.belegts{
    background-image: url(../bilder/inc/start_termin.png);
    background-size: cover;
}

.belegtl.belegts{
    background-color: burlywood;
}

.marker{
    background-color: red;
}

#jahrUeb{
    text-align: center;
    display: block;
    margin: 0 auto;
    font-size: 2.5rem;
}

#jahrUebBox{
    margin-bottom: 15px;
}

#jahrUebBox a{
    width: 20px;
    height: 20px;
    display: block;
    position: absolute;
    top: 10px;
    cursor: pointer;
}

#nextJahr{
    right: 1%;
    margin-top : 28px;
    background-image: url(../bilder/inc/control.png);
}

#lastJahr{
    left: 1%;
    margin-top : 28px;
    background-image: url(../bilder/inc/control-180.png);
}

#infoBox{
    position: fixed;    
    margin: 0 auto;
    background-color: white;
    border: 1px solid lightgrey;
    border-radius: 25px;
    z-index: 90;
    -webkit-box-shadow: #000 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
}

#BeleInfoBox{
    position: fixed;    
    top: 5%;
    left: 10%;
    width: 80%;
    height: 90%;
    margin: 0 auto;
    background-color: white;
    border: 1px solid lightgrey;
    z-index: 70;
    -webkit-box-shadow: #000 0px 0px 10px;
    -moz-box-shadow: #666 0px 0px 10px;
    box-shadow: #666 0px 0px 10px;
}
 
#boxwrapper{
    position: relative;
    height: 100%;
    overflow: auto;
}

 ::-webkit-scrollbar {
    width: 5px;
}
 ::-webkit-scrollbar-track {
    background-color: #eaeaea;
    border-left: 1px solid #ccc;
}
 ::-webkit-scrollbar-thumb {
    background-color: #ccc;
}
 ::-webkit-scrollbar-thumb:hover {
	background-color: #aaa;
}


#infoBox button{
    display: inline-block;
    border: none;
    width: 150px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    background-color: #17457F;
    border-radius: 0.5em;
    color: white;
    text-align: center;
    cursor: pointer;
    margin-left: 20px;
}

#infoBox button.zwei:first-of-type{
    margin-left: 40px;
}

#infoBox button.drei{
    display: inline-block;
    border: none;
    width: 110px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    background-color: #17457F;
    border-radius: 0.5em;
    color: white;
    text-align: center;
    cursor: pointer;
    margin-left: 10px;
}

#infoBox button.drei:first-of-type{
    margin-left: 25px;
}

#infoBox button:hover{
    background-color: #0B3468;
}

#infoBox h1{
    padding: 0.5em 0 0.7em 0;
    text-align: center;
}

#infoBox p{
    padding: 5px 0 5px 45px;
}

#infoBox p:last-of-type{
    margin-bottom: 25px;
}

#infoBox p:last-of-type input{
    margin-left: 20px;
}


#infoBox h2{
    margin: 25px auto;
    text-align: center;
    font-size: 1.6rem;
}

#infoBox input{
    
    width: 200px;
    margin: 0 8px;
}


#schleier{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../bilder/inc/schleier.png);
    background-repeat: repeat;
    z-index: 60;
} 

#infoschleier{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(../bilder/inc/schleier.png);
    background-repeat: repeat;
    z-index: 80;
} 

#schleier .closer{
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

#infoschleier .infocloser{
    display: block;
    cursor: pointer;
    width: 100%;
    height: 100%;
}

#kalwrapper td a{
    cursor: pointer;
    display: block;
    width: 100%;
    height: 100%;
}

.kursiv{
    font-style: italic;
    color: lightslategrey;
    cursor: default;
}

/* ---------------------------------------------------------------------------------
           deaktiviern
   ----------------------------------------------------------------------------------*/

#deakti{
    clear: both;
    display: block;
    width: 200px;
    height: 40px;
    line-height: 40px;
    padding: 0;
    margin: 10px auto 25px auto;
    background-color: #17457F;
    border-radius: 0.5em;
    color: white;
    text-align: center;
    cursor: pointer;
}

#deakti:hover{
    color: white !Important;
    background-color: #0B3468;
}


/* ------------------------------------------------------------------------
                  größer 768px && kleiner 1024px                                       
   ------------------------------------------------------------------------*/
@media only screen  and (min-width : 681px) and (max-width: 950px) {
    
   .monatsbox{
    width: 31.3%;
}
        
} /* Ende media */

/* ------------------------------------------------------------------------
                  größer 768px && kleiner 1024px                                       
   ------------------------------------------------------------------------*/
@media only screen  and (max-width: 680px) {
    
   .monatsbox{
       width: 48%;
       margin: 10px 1%;
   }
    
    #BeleInfoBox{
        left: 2%;
        width: 96%;
    }
        
} /* Ende media */

/* ------------------------------------------------------------------------
                  kleiner 420px                                       
   ------------------------------------------------------------------------*/
@media only screen  and (max-width: 680px) {
    
    #infoBox button{
        display: block;
        margin: 0px auto 10px auto!Important;
    }
    
    #infoBox h2{
        margin-bottom: 0px; 
        margin-top: 10px; 
    }

    #infoBox{
        width: 96%!Important;
        left: 2%!Important;
    }
    
    #infoBox p{
        padding: 5px 10px!Important;
    }
    
    
    #infoBox input{
        width: 150px!Important;
    }
        
} /* Ende media */




