/*---MENU---*/
nav{
    background: rgb(40,40,40);
}
/*---CONTENT--*/
#titlePage{
    position: relative;
    width: 100%; height: 100%; min-height: 600px;
}
#titleContentContainer{
    position: absolute; top: calc(50% - 250px); left: 10%;
}
#titleContentPush{
    display: table-cell; vertical-align: middle;
    height: 500px;
}
#titlePage_back{
    z-index: -2;
    position: absolute;
    width: 100%; height: 100%;
    background: url(Resources/Images/Members/Formulaswede/headerBack.png) no-repeat center; background-size: cover;
}
#titlePAge_backCover{
    z-index: -1;
    position: absolute;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.5);
}

#titleHeader{
    box-sizing: border-box;
    height: 125px;
    padding: 20px 0px 20px 0px;
}
#titlePage_title{
    font-family: built titling; font-size: 90px; color: white; line-height: 85px;
}
#pos{
    float: left;
    margin-left: 0px;
    font-size: 50px; font-family: bebas; color: darkgray; font-weight: bold; text-shadow: 0px 0px 10px rgba(0,0,0,0.3); line-height: 85px;
}
#splitter{
    float: left;
    height: 100%; width: 1px;
    margin: 0px 15px 0px 15px;
    background: white;
}

#titlePage_description{
    width: 600px;
    color: white; font-family: gravity;
}
#titlePage_button{
    margin-top: 30px;
    background: rgba(230,230,230,0.3);
}
#titlePage_button span{
    color: white;
}

#titlePage_stats{
    position: absolute; right: 10%; top: calc(50% - 120px);
    width: 300px; height: 280px;
}
.titleStat{
    height: 50px;
    margin: 10px 0px 10px 0px; padding-right: 20px;
    border-right: 2px solid white;
    font-family: built titling; font-size: 26px; letter-spacing: 1px; color: white; text-align: right; line-height: 50px;
}
.hid{display: none;}

#gallery{
    display: table;
    width: 1400px; box-sizing: border-box;
    padding: 50px 20px 50px 20px; margin: auto;
}
#gallery img{
    width: calc(33% - 3px);
    margin: 0px 2px 0px 2px;
}
/*TITLE PAGE*/
@media screen and (max-width: 1000px){
    #titlePage{
        box-sizing: border-box; overflow: hidden;
        height: auto;
        padding-bottom: 150px;
    }
    #titleContentContainer{
        position: relative; top: 60px; left: 0px;
        width: 100%; height: auto;
    }
    #titleContentPush{
        height: auto;
    }
    #titleHeader{
        width: 100%; height: 165px;
        padding: 40px;
        background: rgb(20,20,20);
    }
    #titlePage_title{
        white-space: nowrap; text-overflow: ellipsis;
    }
    #titlePage_description{
        display: inline-block; box-sizing: border-box;
        width: 100%; max-width: 450px;
        padding: 40px;
        margin-top: 20px;
    }
    #titlePage_stats{
        display: inline-block;
        position: relative; top: auto; right: auto;
        width: 100%; height: auto;
        background: rgba(20,20,20,0.5);
    }
    .titleStat{
        float: left; box-sizing: border-box;
        width: 25%;
        padding-left: 20px;
        border-right: none; border-left: none;
        font-family: built titling light; letter-spacing: 2px; font-size: 20px; text-align: center;
    }
    #titlePage_stats div:nth-of-type(n + 2){
        border-left: 1px solid gray;
    }
    .button{
        
    }
    .vis{display: none !important;}
    .hid{display: block;}
}
@media screen and (max-width: 780px){
    
    #titlePage_stats div:nth-of-type(n + 2){
        border-left: none;
    }
    #titlePage_stats div:nth-of-type(2n + 2){
        border-left: 1px solid gray;
    }
    .titleStat{
        width: 50%;
    }
    #titlePage_title{
        font-size: 60px;
    }
    #pos{
        font-size: 28px;
    }
    #titleHeader{
        height: 125px;
        padding: 20px;
    }
}
@media screen and (max-height: 700px){
    #titlePage{
        overflow: hidden;
        height: auto;
        padding-bottom: 100px;
    }
}
@media screen and (max-width: 400px){
    .titleStat{
        /*border: none !important;*/
        height: 30px; line-height: 30px; font-size: 17px;
    }
    #titlePage_title{
        font-size: 40px;
    }
    #pos{
        font-size: 25px;
    }
    #titleHeader{
        height: 105px;
        padding: 20px;
    }
    #titlePage_title{
        line-height: 65px;
    }
    #pos{
        line-height: 65px;
    }
    #titlePage_description{
        padding: 20px 40px 20px 40px;
    }
}
@media screen and (max-width: 350px){
    .titleStat{
        width: 100%;
        border: none !important;
        height: 20px; line-height: 20px;
    }
    
}

/*GALLERY*/
@media screen and (max-width: 1405px){
    #gallery{
        width: 100%;
    }
    #gallery img{
        width: calc(33% - 4px) !important; 
    }
}
@media screen and (max-width: 900px){
    #gallery img{
        width: calc(50% - 6px) !important; 
    }
}
@media screen and (max-width: 720px){
    #gallery img{
        width: 100%!important;
        margin: 0px 0px 4px 0px;
    }
}






























