/*Grunddesign*/

#container-team2 {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: -webkit-flex;
    display: flex;
    z-index: 5;
}

#container-team1 {
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: -webkit-flex;
    display: flex;
    padding-top: 110px;
    z-index: 5;
}

#container-students {
    width: 100%;
    height: 120%;
    background: #ffffff;
    display: flex;
    z-index: 5;
    padding: 2%;
}

.column-left {
    width: 20%;
    margin-left: 0;
}

.column-mid {
    width: 60%;
}

.column-right {
    width: 20%;
}

/*Anordnung Mitarbeiter*/

/*Festangestellte*/

#container-team1 h1 {
    margin-bottom: 3%;
}

#container-team1 p {
    margin-bottom: 3%;
}

.team-picture-left {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: right;
}

.team-picture-left img {
    width: 50%;
    height: auto;
    flex-direction: column;
    display: block;
    margin-right: 15%;
    box-shadow: 0px 0px 10px #aaa;
}

.fblogo {
    display: inline-block;
    margin-left: auto;
    margin-right: auto;
}

.team-text-right {
    width: 50%;
    display: flex;
    align-items: center;
    justify-content: left
}

.team-text-right ul {
    text-align: left;
    list-style:none;
    margin-left: 15%;
    padding: 0px;
}

/*Studenten*/
.row-students {
    width: 33%;
    display: flex;
    align-items: center;
    justify-content: center;
}


.column-students {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 400px;
    /*margin-bottom: 20%;*/
}

.container_students {
    display: inline-block;
    position: relative;
    width: 33%;
    float: left;
    padding: 5px;
    align-content: center;
    text-align: center;
    margin-bottom: 3%;
}

.container_students h3{
    margin-top: 130%;
}

.image {
    float: left;
    display: block;
    width: 100%;
    height: auto;
    padding: 5px;
    border: solid 1px #ffffff;
    box-shadow: 0px 0px 5px #aaa;
    border-radius: 0 2px 2px 0;
    transition: 0.6s ease;
}

.column-students img {
    width: auto ;
    height: auto;
    display: flex;
    flex-direction: row;
    margin: 10px;
    border-radius: 0 3px 3px 0;
    box-shadow: 0px 0px 10px #aaa;
}

.column-students ul {
    text-align: center;
    margin-right: 20%;
}

.team {
    padding-right: 15px;
    padding-left: 15px;
    margin-right: auto;
    margin-left: auto;
    display: block;
}

.team img {
    width: 800px;
    height: 2000px;
    margin-left: 25%;
}


/*Team Text SlideDown */
#panel1 {
    box-shadow:
            inset 0px 8px 10px -10px #aaa,
            inset 0px -8px 10px -10px #aaa;
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 2%;
}

#panel2 {
    box-shadow:
            inset 0px 8px 10px -10px #aaa,
            inset 0px -8px 10px -10px #aaa;
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 2%;
}

#panel3 {
    box-shadow:
            inset 0px 8px 10px -10px #aaa,
            inset 0px -8px 10px -10px #aaa;
    background-color: rgb(255, 255, 255);
    width: 100%;
    padding: 2%;
}


#panel1 {
    display: none;
}

#panel2 {
    display: none;
}

#panel3 {
    display: none;
}


/*Bildanordnung Mitarbeiter*/

.column-left {
    width: 20%;
}

.column-mid {
    width: 60%;
}

.column-right {
    width: 20%;
}

.container-mid {
    width: 100%;
    height: 340px;
    background: #ffffff;
    display: -webkit-flex;
    display: flex;
}

.container-mid2 {
    width: 100%;
    /*min-height: 300px;*/
    background: #ffffff;
    display: -webkit-flex;
    display: flex;
    margin-top: 2%;
    margin-bottom: 5%;
}

.container-mid-bottom {
    width: 100%;
    height: 100px;
    background: #ffffff;
    display: -webkit-flex;
    display: flex;
    align-items: center;
    justify-content: center;
}




@media only screen and (min-width: 1800px) {
    .team-picture-left img {
        width: 60%;
        height: auto;
    }

    .container-mid {
        min-height: 500px;
    }
}

@media only screen and (max-width: 1400px) {
    .team-picture-left img {
        width: 65%;
        height: auto;
    }
}

@media only screen and (max-width: 1200px) {
    .team-picture-left img {
        width: 70%;
        height: auto;
    }
}

@media only screen and (max-width: 900px) {

    #container-team1 {
        padding-top: 70px;
    }

    #container-team1 h1{
        font-size: 24px;
    }

    .column-left {
        width: 2%;
    }

    .column-right {
        width: 2%;
    }

    .column-mid {
        width: 96%;
    }

    .container-mid {
        min-height: 500px;
    }

    .team-picture-left img {
        width: 100%;
    }

    .team-text-right ul h3 {
        font-size: 16px;
    }

    #container-students {
        padding: 0;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    .container_students h3 {
        font-size: 16px;
        margin-top: 132%;
        margin-bottom: 5px;
    }

    .container_students li {
        margin-bottom: 4%;
    }
}

@media only screen and (max-width: 800px) {
    .container-mid {
        min-height: 450px;
    }
}

/*!* On smaller screens, decrease text size *!*/
@media only screen and (max-width: 700px) {
    .container-mid {
        min-height: 400px;
    }
}

@media only screen and (max-width: 600px) {
    .container-mid {
        min-height: 350px;
    }
}

@media only screen and (max-width: 500px) {
    .container-mid {
        min-height: 300px;
    }

    #container-students {
        padding: 0;
        padding-top: 2%;
        padding-bottom: 2%;
    }

    .column-mid {
        display: table;
        position: relative;
        width: 96%;
        float: inherit;
        align-content: center;
    }

    .container_students {
        width: 100%;
        padding: 0;
    }

    .container_students h3 {
        font-size: 16px;
        margin-top: 132%;
        margin-bottom: 5px;
    }

    .container_students li {
        margin-bottom: 4%;
    }
}

@media only screen and (max-width: 400px) {
    .container-mid {
        min-height: 200px;
        max-height: 275px;
    }
}

@media only screen and (max-width: 300px) {

}


