/* Polices */

@font-face {
    font-family: 'Dayrom';
    src: url('police/dayrom.eot');
    src: url('police/dayrom.eot?#iefix') format('embedded-opentype'),
         url('police/dayrom.woff2') format('woff2'),
         url('police/dayrom.woff') format('woff'),
         url('police/dayrom.ttf') format('truetype'),
         url('police/dayrom.svg#Dayrom') format('svg');
    font-weight: normal;
    font-style: normal;
}

/* Constantes */

@color: #A4A4A4;
ul {list-style: none;}
img {max-width: 100%;}
a {font-weight: bold;}
a:hover {text-decoration: none;transition: all .5s ease-in-out;}
h2 {margin-bottom: 50px;}

/* Style */

body {
	font-family: Dayrom, Tahoma, Verdana, Arial, Helvetica, sans-serif;
	background-image: url("../img/body.jpg");	
	background-size: cover;
	background-attachment: fixed;
	background-repeat: no-repeat;
	background-color: black;
    color: @color;
    font-size: 1.4rem;
}

.container {
    width: 61.51%;
    margin-top: 100px;
    text-align: center;
}

/* Header */

.navbar {
    border: none;
    border-bottom: 1px solid white; 
}

.container-ailes {
	width: 100%;
}

.container-nav {
    width: 80%;
    margin: 0 auto;
}

.navbar-default {
    background-image: none;
	background: linear-gradient(black, #1a2f59);
	color: white;	
    border-radius: 0px;
}

.navbar-default a {
    color: #BDBDBD !important;
}

.navbar-default a:hover {
    background: linear-gradient(#575757, white) !important;  
    color: #1a2f59 !important;    
}

.navbar-nav > li > a {
    text-shadow: none;
}

.dropdown-menu {
    background: linear-gradient(black, #1a2f59) !important;
}

.dropdown-menu a:hover {
    background-image: none !important;
    background: linear-gradient(#575757, white) !important;
    color: #1a2f59 !important;
}

.logo {	
	margin-top: -20px;
}

.fa-university {
    font-size: 20px;
}

/* Slideshow */

.owl-carousel {
    margin-bottom: 50px;
}

/* Slideshow effects */

.post {
    width: 100%;
    height: 100%;
    overflow: hidden;
    margin: 0 auto;
}

.post-content {
    position: relative;
    width: 100%; 
    height: 450px;  
    border-radius: 15px;
    border: solid 2.5px white;     
    margin-bottom: 10px;           
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
}

.post-content h2 {
    background: rgba(0,0,0,.5);
    margin-top: 0;
    padding: 10px;
    color: #fff;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.post-content1 {
    background-image: url("../img/fullimage1.jpg");
}

.post-content2 {
    background-image: url("../img/fullimage2.jpg");
}

.post-content3 {
    background-image: url("../img/fullimage3.jpg");
}

.post-overlay {
    background: rgba(0,0,0,.5);
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 30%;
    color: #fff;
    opacity: 0;
    transition: all .4s ease-in-out;
}

.post-title {
    position: absolute;
    width: 100%;
    text-align: center;    
    font-weight: bold;
    font-size: 25px;    
    font-family: Dayrom;
    opacity: 0;
}

.post:hover .post-overlay {
    opacity: 1;
}

.post:hover .post-title {
    bottom: 50%;
    opacity: 1;
}

.post:hover h2 {
    opacity: 1;
}

.post-title a {
    color: white;
}

/* Video */

.embed-responsive-home {
    margin-bottom: 20px;   
}

/* Autres rubriques */

.img-autres-rubriques {
    border-radius: 15px;
    border: solid 2.5px white;
    margin-bottom: 10px;
    margin-top: 10px;
}

.img-autres-rubriques:hover {
    border-color: #FFBF00;
    transition: all .5s ease-in-out;
}

/* Page Silmarillion */

.silmarillion-a {
    font-size: 16px;
}

.silmarillion-p {
    margin-top: 20px;
}

/* Page Chevaliers d'Or */

#owl-demo-gold .item {
    display: block;
    cursor: pointer;    
    padding: 30px 0px;
    margin: 5px;
    border-radius: 3px;
}

#owl-demo-gold .item:hover {
    background: rgba(211, 211, 211, 0.5);
}

#overlay {
    display : none; /* Par défaut, on cache l'overlay */
    position: absolute;
    top: 0; left: 0;
    width: 100%;
    height: 100%;    
    text-align: center; /* Pour centrer l'image que l'overlay contiendra */
    /* Ci-dessous, nous appliquons un background de couleur noire et d'opacité 0.6. Il s'agit d'une propriété CSS3. */
    background-color: rgba(0,0,0,0.6);
}

#overlay img {
    margin-top: 100px;   
}

/* Footer */

footer {
    margin-top: 50px;
    text-align: center;
}

footer a {
    display: inline-block;
    margin-bottom: 5px;
}

footer a .fa {
    font-size: 25px;
    color: @color;
}

footer a .fa-facebook {
    margin-right: 10px;
}

footer a .fa-facebook:hover {
    color: #43609C;
    transition: all .5s ease-in-out;
}

footer a .fa-twitter:hover {
    color: #1DA1F2;
    transition: all .5s ease-in-out;
}

/* */

@media screen and (max-width: 770px) {
  	.post-content {         
        height: 300px;          
}}

@media screen and (max-width: 670px) {
    .post-content {         
        height: 200px;          
}}

@media screen and (max-width: 570px) {
    .post-content {        
        height: 100px;          
}
    .post:hover .post-overlay {
        opacity: 0;
}
    .post:hover .post-title {
        opacity: 0;
}   
    .post:hover h2 {
        opacity: 0;
}}