/****************************************************************************************************************
*
* PROJEKT: Service Website Online-Portal (responsiv)
*
* Autor: Maurice Streckenbach
*
* Firma: CS2000 GmbH
*
*****************************************************************************************************************
*
* Projektsprachen: PHP; HTML; CSS3; Javascript;
*
*****************************************************************************************************************/
* {
    margin: 0;
    padding: 0;
    font-family: sans-serif;
} 
img {
    max-width: 100%;
    max-height: 100%;
}
/* SUBMENU UND LINKS RICHTIG STELLEN*/

/*########## ANIMATION ##########*/
@keyframes einblenden {
    from { opacity:0; }
    to { opacity:1; }
}
@-moz-keyframes einblenden { /* Für Firefox */
    from { opacity:0; }
    to { opacity:1; }
}
@-webkit-keyframes einblenden { /* Für Safari und Chrome */
    from { opacity:0; }
    to { opacity:1; }
}
@-o-keyframes einblenden { /* Für Opera */
    from { opacity:0; }
    to { opacity:1; }
}

.anim {
    animation: einblenden 0.3s;
    -moz-animation: einblenden 0.3s; 
    -webkit-animation: einblenden 0.3s; 
    -o-animation: einblenden 0.3s;
}

/*############# MOBILE #############*/
.wrapper {
    width: 100%;
    background-color: rgb(255,255,255);
}
.wrapperwochenplan {
    width: 1420px;
    margin: 0 auto;
}
.wrapperwochenplan h2 {
    width: fit-content;
    margin: 0px auto;
    padding: 40px 10px 10px;
    font-size: 22px;
    color: rgb(76,76,76);
}
.wrapper h2 {
    width: fit-content;
    margin: 0px auto;
    padding: 40px 10px 10px;
    font-size: 22px;
    color: rgb(76,76,76);
}
.bold {
    font-weight: 600;
}
.buttons {
    display: flex;
    flex-direction: column;
    width: 220px;
    text-align: center;
}
.btn {
    margin: 2px;
    display: block;
    padding: 4px;
    width: 100%;
    font-size: 13px;
    background:rgba(227, 227, 227, 0.6);
    color: rgb(76, 76, 76);
    text-decoration: none;
    text-transform: uppercase;
}


/********* INDEX ********/
.sign-in {
    display: block;
    position: relative;
    padding: 7px;
    background-color: rgba(227, 227, 227, 0.6);
    text-align: center;
    width: 140px;
    margin: 7px 0px;

}
.sign-in a{
    text-decoration: none;
    color: rgb(76, 76, 76);
    font-size: 15px;
    line-height: 20px;
    text-transform: uppercase;
}
.box-box {
    position: relative;
    margin: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    height: 500px;
}
.box {
    width: 100%;
    position: relative;
    z-index: 10;
}
.but-left a, .but-right a {
    margin: 1px 0px;
    text-align: center;
    padding: 7px 0px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    display: block;
    background:rgba(227, 227, 227, 0.6);
    color: rgb(76, 76, 76);
    text-decoration: none;
    text-transform: uppercase;
}
.text_index {
    width: 100%;
}
.text_index p {
    padding: 7px 7px;
    font-size: 15px;
    line-height: 20px;
    box-sizing: border-box;
    background:rgba(227, 227, 227, 0.6);
    color: rgb(76, 76, 76);
}
.termin-btn a {
    margin: 1px 0px;
    text-align: center;
    font-size: 15px;
    padding: 9px 0;
    font-weight: bold;
    width: 100%;
    display: block;
    background:rgba(227, 227, 227, 0.6);
    color: rgb(76, 76, 76);
    text-decoration: none;
    text-transform: uppercase;
}
.box2 {
    width: 100%;
    position: relative;
    z-index: 10;
}
.text_index1 {
    width: 100%;
}
.text_index1 p {
    padding: 7px 7px;
    font-size: 15px;
    line-height: 20px;
    box-sizing: border-box;
    background:rgba(227, 227, 227, 0.8);
    color: rgb(76, 76, 76);
}
.box2 a {
    margin: 1px 0px;
    text-align: center;
    padding: 7px 0px;
    font-size: 15px;
    font-weight: bold;
    width: 100%;
    display: block;
    background:rgb(227, 227, 227, 0.8);
    color: rgb(76, 76, 76);
    text-decoration: none;
    text-transform: uppercase;
}

/********* SPORTANLAGEN ********/
.filter {
    width: 300px;
    padding: 30px;
    background: #ffffff;
    margin: auto;
    margin-top: 50px;
    box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22);
    -moz-box-shadow: 0px 0px 15px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow:  0px 0px 15px rgba(0, 0, 0, 0.22);
}
.h2 {
    text-align: left;
    background: rgb(227, 227, 227);
    text-transform: uppercase;
    color: rgb(76, 76, 76);
    font-size: 18px;
    font-weight: 100;
    padding: 20px;
    margin: -30px -30px 30px -30px;
}
.input {
    text-align: center;
    box-sizing: border-box;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    cursor: pointer;
    outline: none;
    display: block;
    width: 100%;
    padding: 7px;
    border: none;
    border-bottom: 1px solid #ddd;
    background: transparent;
    margin-bottom: 10px;
    font-size: 16px;
    height: 45px;
}
.butx {
    padding: 20px 0px 0px;
    display: flex;
    flex-direction: row;
    justify-content: center;
}
input[type="submit"], input[type="reset"]{
    background-color:  rgba(227, 227, 227, 0.6);
    border: none;
    display: block;
    color: rgb(76, 76, 76);
    font-size: 17px;
    padding: 4px 9px;
    margin: 4px 7px;
    font-weight: 600;
    cursor: pointer;
}
input[type="button"] {
    background-color:  rgb(227, 227, 227);
    border: none;
    color: rgb(76, 76, 76);
    font-size: 14px;
    padding: 4px 6px;
    margin: 5px 7px 23px;
    font-weight: 600;
    cursor: pointer;
}
.strich {
    background-color: rgb(211, 211, 211);
    width: 100%;
    left: 0%;
    height: 2px;
}
.odd {
    padding: 7px 0px;
    width: 100%;
    font-size: 16px;
    color: rgb(76,76,76);
    background-color: rgb(228,228,228);
}
.even {
    padding: 7px 0px;
    width: 100%;
    font-size: 16px;
    color: rgb(76,76,76);
}
.posout {
    margin-left: 10px;
}
.posout a{
    text-decoration:none;
    color: rgb(41,151,255);
}
.posout a:hover {
    color: rgb(151, 205, 255);
}
/********* SPORTINFO ********/
.info-box {
    display: grid;
    gap: 2px;
    width: fit-content;
    margin: 20px auto;
    grid-template-columns: repeat(4, 1fr 1fr 1fr 20px);
    grid-template-rows: repeat(23, 33px);
}
.lu {
    color: rgb(76,76,76);
    font-size: 16px;
    font-weight: 600;
}
.dark {
    background-color: rgb(227,227,227);
    color: rgb(76, 76, 76);
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 12px;
    padding: 0 5px;
}
.bright {
    background-color: rgba(227,227,227, 0.6);
    color: rgb(76, 76, 76);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    font-size: 13px;
}
/********* WOCHENPLAN ********/
.date {
    display: block;
    width: fit-content;
    margin: 15px auto 5px;
    color: rgb(76,76,76);
}

.grid-box {
    display: block;
    width: 100%;  /* Muss geändert werden für maximale Größenänderung */
    margin: 10px auto;
    background-color: rgba(227,227,227,0.2);
}
.estate {
    text-align: center;
}
.kw-switch {
    text-align: center;
}
.kw-next-prev {
    background-color: rgba(227,227,227, 0.6);
    padding: 5px;
    margin: 15px 0;
    text-decoration: none;
    color: rgb(46, 46, 46);
}
.kw-current {
    background-color: rgba(227, 227, 227, 0.9);
    color: rgb(46, 46, 46);
    padding: 5px;
}
.kw-reset {
    padding: 5px;
    color: rgb(76,76,76);
}
.legende-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
}
.legende-box {
    display: flex;
    flex-direction: column;
}
.legende {
    background-color: rgba(227,227,227, 0.6);
    display: flex;
    flex-direction: row;
    justify-content: start;
    width: 145px;
    margin: 2px 2px;
    text-align: center;
    color: rgb(76,76,76);
}
.once {
    display: block;
    height: 20px;
    width: 20px;
    background-color: rgb(1, 127, 1);
    margin: 0 10px 0 0;
}
.repeat {
    display: block;
    height: 20px;
    width: 20px;
    background-color: rgb(1, 102, 151);
    margin: 0 10px 0 0;
}
.blocked {
    display: block;
    height: 20px;
    width: 20px;
    background-color: rgb(191, 1, 1);
    margin: 0 10px 0 0;
}
/********* MAP ********/
.map-box {
    position: relative;
    display: block;
    width: 80%;
    height: 300px;
    margin: 0px auto;
    padding: 0px;
}
.map {
    z-index: 5;
    height: 100%;
    width: 100%;
   
}


/*#############################################

############## TABLET [>=550px] #############*/
@media only screen and (min-width:550px){
    .wrapper {
        width: 550px;
        margin: 0 auto;
    }
    .wrapper h2{
        position: relative;
        font-size: 24px;
    }
    .buttons {
        position: relative;
        left: 0px;
    }
    .btn {
        font-size: 15px;
        padding: 5px;
    }

    /********* CONTENT ********/
    .sign-in {
        top: 30px;
        left: 15px;
    }
    .box-box {
        top: 30px;
        width: 520px;
        margin: 0 auto;
    }
    .but-left {
        width: 259px;
        float: left;
    }
    .but-right {
        width: 259px;
        float: right;
    }
    /********* SPORTANLAGEN ********/
    .filter {
        width: 450px;
    }
    input[type="button"] {
        font-size: 14px;
        padding: 5px 7px;
        margin: 9px 7px 33px;
    }
    .posout {
        margin-left: 50px;
    }
    .odd {
        padding: 14px 0px;
        font-size: 16px;
    }
    .even {
        padding: 14px 0px;
        font-size: 16px;
    }
    /********* MAP ********/
    .map-box {
        margin: 100px auto 20px;
        width: 520px;
        height: 400px;
    }
}


/*############# DESKTOP [>=750px] #############*/
@media only screen and (min-width:750px){
    .wrapper {
        width: 750px;
    }
    .buttons {
        left: 0px;
    }
    .btn {
        padding: 7px;
    }

    /********* CONTENT ********/
    .sign-in {
        left: 75px;
    }
    .box-box {
        width: 600px;
    }
    .but-left {
        width: 299px;
    }
    .but-right {
        width: 299px;
    }
    /********* SPORTANLAGEN ********/
    .posout {
        margin-left: 90px;
    }
    /********* SPORTINFO ********/
    .info-box{
        margin: 50px auto 0;
        width: 700px;
    }
    /********* MAP ********/
    .map-box {
        width: 600px;
        height: 400px;
    }
}



/*############# DESKTOP [>=1000px] #############*/
@media only screen and (min-width:1200px){
    .wrapper {
        width: 1200px;
        margin: 0 auto;
        background-color: rgba(227, 227, 227, 0.3);
    }
    .btn {
        padding: 7px;
    }
    .buttons {
        left: 0px;
    }
    /********* CONTENT ********/
    .sign-in {
        top: 30px;
        left: 97px;
    }
    .box-box {
        top: 30px;
        width: 700px;
    }
    .but-left {
        width: 349px;
    }
    .but-right {
        width: 349px;
    }
    /********* SPORTANLAGEN ********/
    input[type="button"] {
        font-size: 15px;
        padding: 5px 7px;
        margin: 9px 7px 33px;
    }
    .posout {
        margin-left: 155px;
    }
    .odd {
        padding: 14px 0px;
        font-size: 18px;
    }
    .even {
        padding: 14px 0px;
        font-size: 18px;
    }
    /********* SPORTINFO ********/
    .info-box{
        margin: 90px auto 0;
        width: 1200px;
    }
    /********* MAP ********/
    .map-box {
        width: 700px;
        height: 500px;
    }
}





.kw-switch a:hover, .but-left a:hover, .but-right a:hover, .termin-btn a:hover, .box2 a:hover, .sign-in:hover, .buttons a:hover {
    cursor: pointer;
    background: rgb(227, 227, 227);
}