@font-face {
    font-family: forceLogo;
    src: url(../ressourses/Fonts/Comaro-Normal_0.ttf);
}
*{
    margin: 0;
    padding: 0;
    font-family: "Times New Roman", serif;
}

body {
    font-family: "Times New Roman", serif;
    word-spacing: 1px;
}
#wrapper{
    background: #5c5e5a; /* Old browsers */
    background: -moz-linear-gradient(top, #5c5e5a 0%, #5c5e5a 22%, #9ca3a0 22%, #9ca3a0 27%, #ffffff 27%, #ffffff 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#5c5e5a), color-stop(22%,#5c5e5a), color-stop(22%,#9ca3a0), color-stop(27%,#9ca3a0), color-stop(27%,#ffffff), color-stop(100%,#ffffff)); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, #5c5e5a 0%,#5c5e5a 22%,#9ca3a0 22%,#9ca3a0 27%,#ffffff 27%,#ffffff 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #5c5e5a 0%,#5c5e5a 22%,#9ca3a0 22%,#9ca3a0 27%,#ffffff 27%,#ffffff 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #5c5e5a 0%,#5c5e5a 22%,#9ca3a0 22%,#9ca3a0 27%,#ffffff 27%,#ffffff 100%); /* IE10+ */
    background: linear-gradient(to bottom, #5c5e5a 0%,#5c5e5a 22%,#9ca3a0 22%,#9ca3a0 27%,#ffffff 27%,#ffffff 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#5c5e5a', endColorstr='#ffffff',GradientType=0 ); /* IE6-9 */
}

#main-content>header{
    text-align: center;
    height: 285px;
    padding: 2% 7% 10% 7%;
    box-shadow:5px 5px 20px 5px black;
}
#container{
    text-align: center;
}
time{
    color: #9ca3a0;
    font-style: italic;
}
#container>a>img{
    width: 50px;
    height: 20px;
    float:right;
}
#main-content>header>a{
    text-decoration:none;
}
#main-content>header>a>h1{
    margin-top: 2%;
    font-size: 75px;
    color: #5C5E5A;
    font-family: forceLogo;
    text-shadow: 0px 5px 10px;
}
#main-content{
    margin-left: 20%;
    margin-right: 20%;
    padding: 10px 5px;

}

#main-content #mai-header{
    margin-top: 0%;
    -webkit-margin-before: 90px;
}
#main-content nav>ul{
    text-align: center;
}
#main-content nav>ul li{
    border: 3px solid  #9ca3a0;
    display: inline-block;
    margin-right: 20px;
    border: transparent 3px solid;

}
#main-content nav>ul li:hover{
    border-bottom: 3px solid #ff3f38;
    cursor: pointer;

}
#main-content nav>ul li:hover a {
    color: #0b2438;

}
#main-content nav>ul li a{
    color: darkslategrey;
    text-decoration: none;
    padding: 17px 10px 17px 10px;
    display: inline-block;
}
#main-content>header>img{
    visibility: hidden;
    height: 0px;
}
video{
    width: 300px;
    height: 200px;
    vertical-align: top;
}
#firstVideo{
    margin-right: 50px;
}
#main-content>header #loren-name{
    float: right;
    margin: 0px -120px 0px 0px;
}
#main-content>header #loren-name:after {
    content:'';
    display:block;
    clear: both;
}
#main-content>main{
    margin-top: 20px;
    width: 60%;
    display: inline-block;
}
#main-content>main>article{
    text-align: justify;
}
#main-content>main>article>hgroup>h1{
    margin-bottom: 10px;
    color:  #ff3f38;
}
#main-content>main>article>hgroup>h3{
    margin-bottom: 10px;
    color: #9ca3a0;
}

#main-content>main>article p{
    margin-top: 40px;
    font-size: 20px;
    text-align: justify;
}
#main-content > main > article > section> iframe{
    width: 100%;
}
#main-content > main > article > section> img{
    width: 100%;
}
#main-content aside{
    margin-top: 30px;
    margin-left: 5%;
    width: 30%;
    text-align: justify;
    vertical-align: top;
    padding: 25px 10px 5px;
    overflow: hidden;
}
#main-content aside>.section-one{
    padding: 10px;
    box-shadow:5px 5px 20px 5px black;
}
#main-content,aside,header,h2{
    display: inline-block;
    color: darkslategrey;
    margin-bottom: 10px;
}
.pics-container{
    display: flex;
    justify-content: space-between;
}
.news-pics{
    width: 300px;
    height: 300px;
    display: inline-block;
}

.news-pics-normal{
    width: 30em;
    height: 10em;
    display: inline-block;
}
aside{
    height: 473px;
}
aside a{
    width: 80px;
    margin-top: 10px;
    margin-left: 50%;
    background-color: #9ca3a0;
    border: 2px solid#9ca3a0;
    padding: 7px;
    display: inline-block;
    text-decoration: none;
    color: darkslategrey;
}
aside a:hover{
    border: 2px solid #ff3f38;
    color: #0b2438;
}
aside>section>img{
    margin-top: 50px;
    width: 100%;
}

#main-content>footer {
    padding: 20px;
    background-color: #5c5e5a ;
    margin-top: 20px;
    display: flex;
    justify-content: space-between;
    color: #9ca3a0;
}
#main-content>footer>p{
    display: inline-block;
}
#buttons{
    text-align: center !important;
}
main>article>section>p>button{
    width: 50px;
    height: 50px;
    cursor: pointer;
}
main>article>section>img{
    width: 500px;
    height: 550px;
    margin-top: 30px;
}
@media screen
and (max-width: 1296px){

    #firstVideo{
        margin-right: 0px;
    }
    #main-content>header{
        padding: 2% 0% 10% 0%;
    }
}
@media screen
and (max-width: 1200px) {
    #div-container>#main-content>header{
        height: 320px;
    }
    #main-content nav {
        margin-top: 0px;
    }
    aside a{
        margin-left: 40%;
    }
}
@media screen
and (max-width: 1040px) {
    #main-content>header{
        height: 350px;
    }
    #main-content>header>video{
        visibility: hidden;
        height: 0px;
        width: 0px;
    }
    #main-content>header img{
        width: 99%;
        height: 200px;
        visibility: visible;
    }
    #main-content>header>a>h1{
        margin-top: 8%;
    }
    #main-content>header>nav{
        margin-top: 0%;
    }
    ul{
        display: flex;
        justify-content: space-around;
    }
    #main-content>header>nav>ul>li{
        margin-right: 0px;
    }
    #main-content>header>nav>ul>li>a{
        font-size: 19px;
        color: black;
    }
    #main-content aside{
        display: block;
        width: 100%;
        margin-left: 0px;
        height: 200px;
    }
    #main-content > main{
        width: 100%;
    }
    #main-content > main iframe{
        width: 100%;
    }
    main>article>section>img{
        width: 100%;
    }
}
@media screen
and (max-width: 905px) {
    #main-content>header>a>h1{
        margin-top: -5%;
    }
}
@media screen
and (max-width: 800px){
    #main-content>header{
        height: 335px;
    }
    #main-content>header>a>h1{
        margin-top: 15%;
    }
    #main-content > header p{
        visibility: collapse;
        margin: 0px;
        height: 0px;
    }
    #main-content > header nav{
        margin-top: 7%;
    }
    #main-content > header > nav > ul{
        display: block;
    }
    #main-content > header > nav > ul > li {
        display: block;
        margin-bottom: 15px;
    }
    #main-content > header > nav > ul > li:hover{
        background-color: red;
    }
    #main-content > header > nav > ul > li:hover a{
        color:white;
    }
    #main-content > header > nav > ul > li > a{
        font-size: 20px;
        padding: 0px;
        color:black;
    }
}