  /*
* ===================================================================================== very small =====================================================================================
*/
@media screen {
  
.thumbnailgallery {
    margin-bottom:40px;
    width:100%;
    overflow:hidden;
}

.showrooms {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    margin-top: 10vh;
}

.showrooms a.logo {
    display: inline-block;
    float: left;
    flex: 2;
}

.showrooms img {
    border-radius: 15px;
    width: 100%;
    height: 100%;
}

.element {
    display: flex;
    flex-direction: column-reverse;
    justify-content: space-between;
    background-color: white;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 15px;
    margin: 5vh;
    width: 85vw; /*65vw*/
    max-width: 1140px;
    overflow: hidden;
}

a.element {
    text-decoration: none;
    color: black !important;
}

a.element:hover {
    text-decoration: none;
    color: black;
}

.element:hover {
    background-color: lightgray;
    color: black;
}


.element-header {
    text-align: left;
    margin: 1vh 1vw 1vh 1vw;
    font-size: 2rem;
}

.element-content {
    width: 100%;
    display: flex;
    flex-direction: column;
    padding-left: 5px;
    padding-top: 5px;
    padding-right: 5px;
    /*flex: 1;*/
}

.beschreibung {
    text-align: left;
    margin: 1vh 1vw 1vh 1vw;
    font-size: 1.4rem;
}

.element-footer {
    margin: auto auto 5% 5%;
    justify-self: flex-start;
}

.running-button {
    font-size: 1.3rem;
    font-weight: bold !important;
}




/* Sponsoren - Allgemein */

.li-sponsor > a > img{
   width: auto;
   height: 75px;
   margin: 0 1%;
}

.list-sponsor {
    display: flex;
    justify-content: space-evenly;
    margin-bottom: 1%;
}


#sponsors {
    position: absolute;
    justify-self: center;
    align-self: flex-end;
    margin-left: -3vw;
    
    font-size: 1rem;
}



}
  /*
* ===================================================================================== small phone =====================================================================================
*/
@media screen and (min-width: 375px){
    .element {
        width: 85vw;
        max-height: 15%;
        flex-direction: column-reverse;
    }

    .element > img {
        height: 100%;
        width: 100%;
    }


    @media screen and (orientation: landscape) {
        .element {
            flex-direction: row;
        }
        
        .element > img {
            height: 50%;
            width: 50%;
        }

    }
}

  /*
* ===================================================================================== phone =====================================================================================
*/
@media screen and (min-width: 481px) {

    @media screen and (orientation: landscape) {
    }
}

  /*
* ===================================================================================== tablet =====================================================================================
*/
@media screen and (min-width: 768px){
    .element {
        display: flex;
        flex-direction: column-reverse;
        justify-content: space-between;
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 15px;
        margin: 5vh;
        width: 85vw;
    }

    .element-header {
        font-size: 4.5rem;
    }

    .beschreibung {
        font-size: 3rem;
    }


    @media screen and (orientation: landscape) {
        .element {
            flex-direction: row;
        }

        .showrooms img {
            width: 50%;
            height: 50%;
        }

        .element-content {
            padding-left: 10px;
            padding-top: 10px;
        }

        .element-content > p {
            font-size: 2rem;
        }

        .element-content > p.element-header {
            font-size: 3rem;
        }

    }
}

  /*
* ===================================================================================== laptop =====================================================================================
*/
@media screen and (min-width: 1024px){
  
    .showrooms img {
        max-height: 450px;
    }

    a.element {
        max-height: 450px;
    }

    /*IPad Pro*/
    @media screen and (orientation: portrait) {

        .element img {
            max-height: 600px;
        }

        .element-header {
            font-size: 6rem;
        }

        .beschreibung {
            font-size: 4rem;
        }

    }


    /*IPad*/
    @media screen and (orientation: landscape) {
        .element {
            flex-direction: row;
        }

        .showrooms img {
            width: 50%;
            height: 50%;
        }

        .element-content {
            padding-left: 10px;
            padding-top: 10px;
        }

        .element-content > p {
            font-size: 2.4rem;
        }

        .element-content > p.element-header {
            font-size: 4.5rem;
        }

    }
}

/*
* ===================================================================================== desktop =====================================================================================
*/
@media screen and (min-width: 1201px) and (max-width: 1799px) {
    .thumbnailgallery {
        margin-bottom:40px;
        width:100%;
        overflow:hidden;
    }
    
    .showrooms {
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        margin-top: 10vh;
    }
    
    .showrooms a.logo {
        display: inline-block;
        float: left;
        flex: 2;
    }
    
    .showrooms img {
        border-radius: 15px;
        /*min-height: 450px;*/
    }
    
    .element {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        background-color: white;
        border: 1px solid rgba(0, 0, 0, 0.05);
        border-radius: 15px;
        margin: 5vh;
        width: 65vw;
        max-width: 1140px;
        overflow: hidden;
    }
    
    a.element {
        text-decoration: none;
        color: black !important;
    }
    
    a.element:hover {
        text-decoration: none;
        color: black;
    }
    
    .element:hover {
        background-color: lightgray;
        color: black;
    }
    
    
    .element-header {
        text-align: left;
        margin: 1vh 1vw 1vh 1vw;
        font-size: 4rem;
    }
    
    .element-content {
        width: 100%;
        display: flex;
        flex-direction: column;
        /*flex: 1;*/
    }
    
    .beschreibung {
        text-align: left;
        margin: 1vh 1vw 1vh 1vw;
        font-size: 2.5rem;
    }
    
    .element-footer {
        margin: auto auto 5% 5%;
        justify-self: flex-start;
    }
    
    .running-button {
        font-size: 1.3rem;
        font-weight: bold !important;
    }
    
    
    
    
    /* Sponsoren - Allgemein */
    
    .li-sponsor > a > img{
       width: auto;
       height: 75px;
       margin: 0 1%;
    }
    
    .list-sponsor {
        display: flex;
        justify-content: space-evenly;
        margin-bottom: 1%;
    }
    
    
    #sponsors {
        position: absolute;
        justify-self: center;
        align-self: flex-end;
        margin-left: -3vw;
        
        font-size: 1rem;
    }


   /*IPad Pro*/
    @media screen and (orientation: landscape) {
        .element {
            flex-direction: row;
            width: 80vw;
        }

        .showrooms img {
            width: 50%;
            height: 50%;
        }

        .element-content {
            padding-left: 10px;
            padding-top: 10px;
        }

        .element-content > p {
            font-size: 2.6rem;
        }

        .element-content > p.element-header {
            font-size: 4rem;
        }

    }
}


@media screen and (min-width: 1800px) {
    .element-header {
        font-size: 4rem;
    }

    .beschreibung {
        font-size: 2.5rem;
    }

    }