/*
Theme Name: marcmonnet
Author: I2N
Description: Thème personalisé créé pour Marc Monnet
Version: 0.0.1
Tags: marcmonnet
*/

@font-face {
    font-family: 'Montserrat';
    src: url('fonts/Montserrat-ExtraLight.ttf') format('truetype');
}

@font-face {
    font-family: 'Montserrat-SemiBold';
    src: url('fonts/Montserrat-SemiBold.ttf') format('truetype');
}

/* Styles globaux */
body {
    font-family: Montserrat !important;
    background-color: #FFF !important;
}

h1 {
    color: #00bda4 !important;
    font-size: 4em !important;
    margin-bottom: 0 !important;
}

h2 {
    color: #00bda4 !important;
    font-size: 5em !important;
    text-align: center;
    text-transform: uppercase;
    margin: 40px 0 50px 0;
}

h3 {
    margin-top: 0;
    color: #00bda4 !important;
    font-size: 3em !important;
    text-align: center;
    text-transform: uppercase;
}

h4 {
    text-align: center;
    text-transform: uppercase;
}

h5 {
    color: #00bda4 !important;
    font-weight: bold;
}

a {
    color: #00bda4 !important;
    outline: 0 !important;
}

/* img fixes for bootstrap */
.container img,
#header-home img {
    display: block;
    width: 100%;
}

.btn, input, textarea {
    border-radius: 0 !important;
}

.full-width-bg {
    background-color: #f7f7f7;
    padding-bottom: 65px;
}

.same-height-col {
    display: flex;
    flex-wrap: wrap;
}
.same-height-col > [class*='col-'] {
    display: flex;
    flex-direction: column;
}

/* Entetes */
.navbar {
    margin-bottom: 0;
    text-align: center;
}

.navbar-nav {
    float: none !important;
    border-bottom: 1px solid #b5b5b5 !important;
    display: inline-block;
}

/** Menu normal */
@media (min-width: 768px) {
    .navbar-nav  > li {
        float: none !important;
        display: inline-block !important;
        text-transform: uppercase;

    }
    .navbar-nav .dropdown-menu li {
        text-align: left !important;
        padding: 0 15px !important;
    }
}

.navbar-nav li {
    text-align: center !important;
    text-transform: uppercase;
}
.navbar-nav li:not(.active) a {
    color: #000000 !important;
    background: none !important;
}

.navbar .navbar-nav a:hover {
    background: none !important;
    color: #00bda4 !important;
}

.dropdown-menu li:not(:first-child) a{
    border-top: solid 2px #f7f7f7;
}
.dropdown-menu li a {
    padding: 5px 0px !important;
}

.dropdown-menu {
    border-radius: 0px !important;
    border: none !important;
    box-shadow: none;
}


/** Accueil */

#header-home {
    position: relative;
}

#header-home h1 {
    margin: 0;
}

#header-home a {
    position: absolute;
    display: block;
    font-weight: bold;
    color: #FFF !important;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
}

#header-home a:hover {
    text-decoration: none;
}

#header-home a span {
    color: #00bda4;
}

/** Global */
header {
    text-align: center;
}

header a > p {
    font-size: 2em;
    text-transform: uppercase;
    margin: 0 !important;
    letter-spacing: 3px;
}

nav {
    background: #FFF;
    margin-bottom: 30px !important;
}

@media (min-width: 768px) and (max-width: 840px){
    .nav>li>a {
        padding: 9px!important;
    }
}

/* Affichage mobile */
@media (max-width: 768px) {
    nav.affix {
        position: static;
        z-index: 1;
    }
}

/* Affichage mobile quand menu en haut */
@media (min-width: 768px) {
    nav.affix {
        top: 0;
        width: 100%;
        z-index: 1;
    }

    nav.affix ul {
        border-bottom: 0 !important;
    }

    .affix + .full-width-bg,
    .affix + .container {
        padding-top: 50px;
    }
}

/* Boutons */

.button {
    font-family: Montserrat-SemiBold !important;
    padding: 17px 0 !important;
    color: #00bda4 !important;
    width: 90%;
}
.button:hover {
    background: #00bda4;
    color: #FFF !important;
}

/* Pied de page */
footer {
    text-align: center;
    background: #FFF;
    margin: 50px 0;
}
footer > .row:nth-child(1) img {
    margin: 15px 30px;
    width: auto;
    display: inline;
}

footer > .row:nth-child(2) img {
    width: auto;
    display: inline;
    margin: 15px 0;
}

footer ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

footer p {
    margin: 0;
}

footer li {
    display: inline-block;
    padding: 0 10px;
}

footer li a {
    color: #000 !important;
}

footer li a:hover {
    color: #00bda4 !important;
    text-decoration: none;
}

/* CATEGORY */
#legend {
    max-width: 585px;
    margin: 0 auto;
}

.media-list {
    max-width: 570px;
    margin: 0 auto;
    margin-bottom: 10px;
}

.media-list--news {
    max-width: 780px;
}

/* PAGES */
.about-banner img {
    width: 100%!important;
    height: auto!important;
}

/* VIDEOS */
.yrc-item-title {
    font-weight: bold;
}

.yrc-video-date {
    color: #000;
    font-weight: normal;
}

.yrc-shell-cover.yrc-desktop {
    margin-top: 40px;
}

.imaginarium-block {
    position: relative;
    width: 200px;
    height: 150px;
    overflow: hidden;
    margin-top: 10px;
    margin-left: auto;
    margin-right: auto;
}

.imaginarium-block .imaginarium-block-background {
    background: rgba(0,0,0,0.2);
    transition: 0.5s ease;
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 200px;
    height: 150px;
}

.imaginarium-block .imaginarium-block-background span {
    position: absolute;
    left: 0;
    bottom: 0;
    text-align: center;
    width: 100%;
    background: rgba(0,0,0,0.5);
    color: #ffffffbd;
    height: 0;
    font-size: 12px;
    transition: 0.5s ease;
}

.imaginarium-block .imaginarium-block-background:hover span {
    height: auto;
    padding: 6px 0;
}

.imaginarium-block .imaginarium-block-background:hover {
    background: none;
}