/*********************************************************************************************************************************************************************************************************************************************************************************************************************************** style.css *********************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


/*************************************************************************************************** Réglages généraux ****************************************************************************************************/
@font-face { /* Définition d'une nouvelle police nommée Master of Break */
    font-family: 'Master of Break';
    src: url("bootstrap/fonts/master_of_break.ttf");
}

body {
    overflow-x: hidden;
    font-family: 'Roboto Slab', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Définition des polices pour le site */
    margin-top: 53px;
}

p {
    line-height: 1.75; /* Réglage de la hauteur de ligne */
}

a {
    color: #fed136; /* Les liens seront de couleur jaune */
}

a:hover {
    color: #fec503; /* Les liens change de jaune au survol */
}

.text-primary {
    color: #fed136 !important;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    font-weight: 700;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Définition des polices pour les titres */
}

section {
    padding: 100px 0; /* Ajout d'un espacement */
}

section h2.section-heading { /* Réglages des titres de sections */
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

section h3.section-subheading { /* Réglage des sous-titres */
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

@media (min-width: 768px) {
    section {
        padding: 150px 0;
    }
}

.btn { /* Réglages pour les boutons */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Définition des polices pour les boutons */
    font-weight: 700;
}

.btn-xl { /* Réglages pour les boutons larges */
    font-size: 18px;
    padding: 20px 40px;
}

.btn-primary { /* Changement de couleur pour les boutons "primary" */
    background-color: #fed136;
    border-color: #fed136;
}

.btn-primary:active, .btn-primary:focus, .btn-primary:hover { /* Les boutons change de jaune au survol et au clic */
    background-color: #fec810 !important;
    border-color: #fec810 !important;
    color: white;
}

.btn-primary:active, .btn-primary:focus {
    box-shadow: 0 0 0 0.2rem rgba(254, 209, 55, 0.5) !important;
}

::-moz-selection {
    background: #fed136;
    text-shadow: none;
}

::selection {
    background: #fed136;
    text-shadow: none;
}

img::selection {
    background: transparent;
}

img::-moz-selection {
    background: transparent;
}



/******************************************************************************************************************************************************************************************************************************************************************************************************************************* MENU DE NAVIGATION ****************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


/* Barre de navigation */
#mainNav {
    background-color: #212529; /* Le fond de la barre de navigation sera gris foncé */
    padding-top: 5px;
    padding-bottom: 5px;
    border: none;
}

#mainNav .navbar-toggler { /* Réglages du menu de navigation */
    font-size: 12px;
    right: 0;
    padding: 13px;
    text-transform: uppercase;
    color: white;
    border: 0;
    background-color: #fed136;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

/* Logo */
#mainNav .logo-festival {
    max-height: 50px; /* Réglage de la hauteur max du logo */
}

#mainNav .mapolice1 {
    font-family: 'Montserrat'; /* Définition de la police 1 pour le logo-nom */
    font-weight: 700; /* Mise en gras de la police */
}

#mainNav .mapolice2 {
    font-family: 'Master of Break'; /* Définition de la police 2 pour le logo-nom */
}

#mainNav .navbar-brand {
    color: #fed136; /* Le texte du titre sera jaune */
    font-size: 1.5em;
}

#mainNav .navbar-brand.active, #mainNav .navbar-brand:active, #mainNav .navbar-brand:focus, #mainNav .navbar-brand:hover {
    color: #fec503; /* Le texte du titre change de jaune au survol et au clic */
}

/* Liens menu */
#mainNav .navbar-nav .nav-item .nav-link { /* Réglages du menu de navigation */
    font-size: 70%;
    font-weight: 400;
    padding: 0.75em 0;
    letter-spacing: 1px;
    color: white;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 1.1em 1em !important;
}

#mainNav .navbar-nav .nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:hover {
    color: #fed136; /* Le texte des sections passe au jaune au survol */
}

.nav-item .nav-link.active, #mainNav .navbar-nav .nav-item .nav-link:active {
    color: #fed136; /* Le texte des sections passe au jaune au survol */
}

#mainNav.navbar-shrink {
    padding-top: 0;
    padding-bottom: 0;
    background-color: #212529;
}
#mainNav.navbar-shrink .navbar-brand {
    font-size: 1.25em;
    padding: 12px 0;
}



/******************************************************************************************************************************************************************************************************************************************************************************************************************************* EN-TETE : CARROUSEL ***************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


header.masthead {
    text-align: center; /* Texte centré */
    color: white; /* Le texte sera de couleur blanche */
}

header.masthead .intro-text { /* Ajout d'un espacement */
    padding-top: 150px;
    padding-bottom: 100px;
}

header.masthead .intro-text .intro-lead-in { /* Réglages des titres */
    font-size: 22px;
    font-style: italic;
    line-height: 22px;
    margin-bottom: 25px;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

header.masthead .intro-text .intro-heading { /* Réglages des sous-titres */
    font-size: 50px;
    font-weight: 700;
    line-height: 50px;
    margin-bottom: 25px;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}



/************************************************************************************************************************************************************************************************************************************************************************************************************************************ ACTUALITES *******************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


.timeline {
    position: relative;
    padding: 0;
    list-style: none;
}

.timeline:before {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 40px;
    width: 2px;
    margin-left: -1.5px;
    content: '';
    background-color: #e9ecef;
}

.timeline > li {
    position: relative;
    min-height: 50px;
    margin-bottom: 50px;
}

.timeline > li:after, .timeline > li:before {
    display: table;
    content: ' ';
}

.timeline > li:after {
    clear: both;
}

.timeline > li .timeline-panel {
    position: relative;
    float: right;
    width: 100%;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline > li .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline > li .timeline-image {
    position: absolute;
    z-index: 100;
    left: 0;
    width: 80px;
    height: 80px;
    margin-left: 0;
    text-align: center;
    color: white;
    border: 7px solid #e9ecef;
    border-radius: 100%;
    background-color: #fed136;
}

.timeline > li .timeline-image h4 {
    font-size: 10px;
    line-height: 14px;
    margin-top: 12px;
}

.timeline > li.timeline-inverted > .timeline-panel {
    float: right;
    padding: 0 20px 0 100px;
    text-align: left;
}

.timeline > li.timeline-inverted > .timeline-panel:before {
    right: auto;
    left: -15px;
    border-right-width: 15px;
    border-left-width: 0;
}

.timeline > li.timeline-inverted > .timeline-panel:after {
    right: auto;
    left: -14px;
    border-right-width: 14px;
    border-left-width: 0;
}

.timeline > li:last-child {
    margin-bottom: 0;
}

.timeline .timeline-heading h4 {
    margin-top: 0;
    color: inherit;
}

.timeline .timeline-heading h4.subheading {
    text-transform: none;
}

.timeline .timeline-body > ul,
.timeline .timeline-body > p {
    margin-bottom: 0;
}

@media (min-width: 768px) {
    .timeline:before {
        left: 50%;
    }
    .timeline > li {
        min-height: 100px;
        margin-bottom: 100px;
    }
    .timeline > li .timeline-panel {
        float: left;
        width: 41%;
        padding: 0 20px 20px 30px;
        text-align: right;
    }
    .timeline > li .timeline-image {
        left: 50%;
        width: 100px;
        height: 100px;
        margin-left: -50px;
    }
    .timeline > li .timeline-image h4 {
        font-size: 13px;
        line-height: 18px;
        margin-top: 16px;
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        float: right;
        padding: 0 30px 20px 20px;
        text-align: left;
    }
}

@media (min-width: 992px) {
    .timeline > li {
        min-height: 150px;
    }
    .timeline > li .timeline-panel {
        padding: 0 20px 20px;
    }
    .timeline > li .timeline-image {
        width: 150px;
        height: 150px;
        margin-left: -75px;
    }
    .timeline > li .timeline-image h4 {
        font-size: 18px;
        line-height: 26px;
        margin-top: 30px;
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 20px 20px;
    }
}

@media (min-width: 1200px) {
    .timeline > li {
        min-height: 170px;
    }
    .timeline > li .timeline-panel {
        padding: 0 20px 20px 100px;
    }
    .timeline > li .timeline-image {
        width: 170px;
        height: 170px;
        margin-left: -85px;
    }
    .timeline > li .timeline-image h4 {
        margin-top: 40px;
    }
    .timeline > li.timeline-inverted > .timeline-panel {
        padding: 0 100px 20px 20px;
    }
}



/*********************************************************************************************************************************************************************************************************************************************************************************************************************************** LES FILMS *********************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


/* Présentation des films */
#films .films-item { /* Ajout d'une marge */
    right: 0;
    margin: 0 0 15px;
}


/* Réglages du lien (au survol) */
#films .films-item .films-link { /* Définition du lien vers les fiches de films */
    position: relative;
    display: block;
    max-width: 400px;
    margin: 0 auto;
    cursor: pointer;
}

#films .films-item .films-link .films-hover { /* Définition du lien vers les fiches de films au survol */
    position: absolute;
    width: 100%;
    height: 100%;
    -webkit-transition: all ease 0.5s;
    -moz-transition: all ease 0.5s;
    transition: all ease 0.5s;
    opacity: 0;
    background: rgba(254, 209, 54, 0.9);
}

#films .films-item .films-link .films-hover:hover { /* Définition du lien vers les fiches de films au survol */
    opacity: 1;
}

#films .films-item .films-link .films-hover .films-hover-content { /* Définition du lien vers les fiches de films au survol */
    font-size: 20px;
    position: absolute;
    top: 50%;
    width: 100%;
    height: 20px;
    margin-top: -12px;
    text-align: center;
    color: white;
}

#films .films-item .films-link .films-hover .films-hover-content i {
    margin-top: -12px;
}

#films .films-item .films-link .films-hover .films-hover-content h3,
#films .films-item .films-link .films-hover .films-hover-content h4 {
    margin: 0;
}

/* Cartes films */
#films .films-item .films-caption {
    max-width: 400px;
    margin: 0 auto;
    padding: 25px;
    text-align: center;
    background-color: #fff;
}

#films .films-item .films-caption h4 {
    margin: 0;
    text-transform: none;
}

#films .films-item .films-caption p {
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

#films * {
    z-index: 2;
}

@media (min-width: 767px) {
    #films .films-item {
        margin: 0 0 30px;
    }
}

/* "Boutons" dates */
#films .nav-pills a {
    text-align: center;
    margin-left: 20px;
} 

#films .nav-pills{
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 18px;
    color: #fed136;
    margin: 20px 0px 20px 0px;
}

#films .center-pills {
    display: flex;
    justify-content: center;
}

#films .nav-pills>a:hover {
	background-color: #fec810;
    color: white;
}
#films .nav-pills>a:active {
	background-color: #fed136;
    color: white;
}

/* Etiquettes genres */
#films .badge-pill {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fed136;
    border-color: #fed136;
}

/* Horaire des séances */
#films .badge-seance {
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    font-weight: 700;
    font-size: 16px;
    padding: 10px 10px;
    background-color: #ffffff;
    border-color: #fed136;
    color: #fed136;
}

/* Réglages fiches films (fenetre) */
.films-modal {
    padding-right: 0px !important;
}

.films-modal .modal-dialog {
    margin: 2rem;
    max-width: 100vw;
}

.films-modal .modal-content {
    padding: 100px 0;
    text-align: center;
}

.films-modal .modal-content h2 {
    font-size: 2.5em;
    margin-bottom: 15px;
}

.films-modal .modal-content p {
    margin-bottom: 30px;
}

.films-modal .modal-content p.item-intro {
    font-size: 16px;
    font-style: italic;
    margin: 20px 0 30px;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.films-modal .modal-content ul.list-inline {
    margin-top: 0;
    margin-bottom: 30px;
    font-size: 16px;
    font-style: italic;
    margin: 0;
    font-family: 'Droid Serif', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

.films-modal .modal-content .badge-pill {
    margin-bottom: 14px;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    background-color: #fed136;
    border-color: #fed136;
}

.films-modal .modal-content img {
    margin-bottom: 30px;
}

.films-modal .modal-content button {
    cursor: pointer;
}

.films-modal .close-modal {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 75px;
    height: 75px;
    cursor: pointer;
    background-color: transparent;
}

.films-modal .close-modal:hover {
    opacity: 0.3;
}

.films-modal .close-modal .lr {
    /* Safari and Chrome */
    z-index: 1051;
    width: 1px;
    height: 75px;
    margin-left: 35px;
    /* IE 9 */
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
    background-color: #212529;
}

.films-modal .close-modal .lr .rl {
    /* Safari and Chrome */
    z-index: 1052;
    width: 1px;
    height: 75px;
    /* IE 9 */
    -webkit-transform: rotate(90deg);
    -ms-transform: rotate(90deg);
    transform: rotate(90deg);
    background-color: #212529;
}



/****************************************************************************************************************************************************************************************************************************************************************************************************************************** RESERVEZ-VOS PLACES ! **************************************************************************************************
***************************************************************************************************************************************************************************************************************************/

section#resa { /*  Le fond de cette section sera gris foncé */
    background-color: #212529;
}

section#resa .section-heading { /* Changement de la couleur de police */
    color: #fff;
}

section#resa .form-group { /* Ajout d'une marge */
    margin-bottom: 25px;
}

section#resa .form-group input,
section#resa .form-group textarea { /* Ajout d'un espacement */
    padding: 20px;
}

section#resa .form-group input.form-control { /* Réglage de la hauteur des champs du formulaire */
    height: auto;
}

section#resa .form-group label { /* Mise en forme du texte */
    font-weight: 700;
    color: #fff;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
    padding: 20px;
}

section#resa .form-control:focus { /* Le contour des champs du formulaire devient jaune lorsqu'ils sont utilisés */
    border-color: #fed136;
    box-shadow: none;
}

section#resa ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#resa :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 18- */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#resa ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 19+ */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#resa :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}



/******************************************************************************************************************************************************************************************************************************************************************************************************************************* CONTACTEZ-NOUS ***************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


section#contact { /* Ajout d'une image de fond */
    background-color: #212529;
    background-image: url("images/background_contact.jpg");
    background-repeat: no-repeat;
    background-position: center;
}

section#contact .section-heading { /* Changement de la couleur de police */
    color: #fff;
}

section#contact .form-group { /* Ajout d'une marge */
    margin-bottom: 25px;
}

section#contact .form-group input,
section#contact .form-group textarea { /* Ajout d'un espacement */
    padding: 20px;
}

section#contact .form-group input.form-control { /* Réglage de la hauteur des champs du formulaire */
    height: auto;
}

section#contact .form-group textarea.form-control { /* Réglage de la hauteur de la zone de texte du formulaire */
    height: 248px;
}

section#contact .form-control:focus { /* Le contour des champs du formulaire devient jaune lorsqu'ils sont utilisés */
    border-color: #fed136;
    box-shadow: none;
}

section#contact ::-webkit-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact :-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 18- */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact ::-moz-placeholder {
    font-weight: 700;
    color: #ced4da;
    /* Firefox 19+ */
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

section#contact :-ms-input-placeholder {
    font-weight: 700;
    color: #ced4da;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif;
}



/********************************************************************************************************************************************************************************************************************************************************************************************************************************** PIED DE PAGE *******************************************************************************************************
***************************************************************************************************************************************************************************************************************************/


footer {
    padding: 25px 0;
    text-align: center;
}

footer p {
    background-color: #fed136;
    padding: 20px;
    display:inline-block;
    line-height:1.3em;
    vertical-align:middle;
}

footer span.copyright {
    font-size: 90%;
    line-height: 40px;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Définition des polices */
}

footer ul.quicklinks {
    font-size: 90%;
    line-height: 40px;
    margin-bottom: 0;
    text-transform: none;
    font-family: 'Montserrat', 'Helvetica Neue', Helvetica, Arial, sans-serif; /* Définition des polices */
}

ul.social-buttons {
    margin-bottom: 0;
}

ul.social-buttons li a {
    font-size: 20px;
    line-height: 40px;
    display: block;
    width: 40px;
    height: 40px;
    -webkit-transition: all 0.3s;
    -moz-transition: all 0.3s;
    transition: all 0.3s;
    color: white;
    border-radius: 100%;
    outline: none;
    background-color: #212529;
}

ul.social-buttons li a:active, ul.social-buttons li a:focus, ul.social-buttons li a:hover {
    background-color: #fed136;
}
