/*
Theme Name: Fifav
Author: La petite boite
Version: 1.0
*/

/* FONTS */

@import url('//fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700&display=swap');

@font-face {
    font-family: 'caviar_dreamsregular';
    src: url('assets/fonts/caviardreams-webfont.woff') format('woff2'),
        url('assets/fonts/caviardreams-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

@font-face {
    font-family: 'caviar_dreamsbold';
    src: url('assets/fonts/caviardreams_bold-webfont.woff') format('woff2'),
        url('assets/fonts/caviardreams_bold-webfont.woff') format('woff');
    font-weight: normal;
    font-style: normal;

}

/* COLORS */

/**
* Doré : #d0943e
* Bleu : #51758d
* Noir : #1e1e1e
* Gris : #707070
*/

*,
html,
body {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    font-family: 'Poppins', sans-serif;
    font-size: 16px;
    line-height: 28px;
    color: #313131;
}

img {
    max-width: 100%;
    height: auto;
}

h1 {
    font-size: 2.4rem;
}

h2 {
    font-size: 2rem;
}

h3 {
    font-size: 22px;
}

h4 {
    font-size: 20px;
}

h5 {
    font-size: 18px;
}

h6 {
    font-size: 14px;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-bottom: 1em;
    line-height: normal;
}


p {
    margin-bottom: 1.5em;
}

em {
    font-style: italic;
    color: inherit;
}

a,
a:hover,
a:active,
a:visited {
    color: #1e1e1e;
    text-decoration: none;
}

a.btn.blue {
    padding: 10px 15px;
    background-color: var(--color-btn-actu);
    color: #fff;
    text-transform: uppercase;
    font-weight: 500;
    border-radius: 0;

    transition: .3s;
}

a.btn.blue:hover {
    color: var(--color-btn-actu);
    background-color: transparent;
    border: 1px solid var(--color-btn-actu);
}

a.mail {
    display: inline-block;
    padding: 0px 15px;
    border: 2px solid var(--main-color);
    border-radius: 20px;

    transition: .3s;
}

a.mail:hover {
    background-color: var(--main-color);
    color: #fff;
}

ul {
    list-style: none;
}

.container-fluid {
    width: 90%;
}

strong {
    font-weight: 600;
    color: inherit;
}

.bg_black {
    background-color: #1e1e1e;
}

.bg_custom_color {
    background-color: var(--main-color);
}

.custom_color {
    color: var(--main-color);
}

.white {
    color: #fff;
}

/* Editeur */

.wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
    padding: 2em 4em;
}

/* Separator */

.wp-block-separator {
    position: relative;
    margin: 4em auto;
    border-width: 1px;
    border-color: #1d2327;
}

.wp-block-separator::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 180px;
    height: 55px;
    background-color: #fff;
    background-image: url(assets/img/montagne-logo-fifav.png);
    background-repeat: no-repeat;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

/* Bouton */

.wp-block-button:not(.is-style-outline) {
    background-color: var(--main-color);
}

#site_wrapper .wp-block-button__link {
    color: #fff;
    text-decoration: none;
}

/* Images */

.wp-block-embed figcaption,
.wp-block-image figcaption {
    margin-top: 0;
    font-size: 12px;
    text-align: left;
    color: #808080;
}

.wp-block-embed.aligncenter figcaption,
.wp-block-image.aligncenter figcaption {
    text-align: center;
}

.wp-block-image.video a {
    display: inline-block;
    width: 100%;
    position: relative;
}

.wp-block-image.video a img {
    display: block;
}

.wp-block-image.video a::before {
    content: '';
    position: absolute;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(https://www.festival-film-aventure.com/wp-content/themes/fifav/assets/img/play-button-white.svg);
    background-position: center;
    background-size: 50px;
    background-repeat: no-repeat;
    background-color: rgba(0, 0, 0, 0.3);

    transition: background-color 0.2s ease;
}

.wp-block-image.video a:hover::before {
    background-color: rgba(0, 0, 0, 0);
}

.img_ligne img {
    max-width: 100px;
    margin-right: 1em;
    vertical-align: middle;
}

.fancybox-button svg path {
    fill: #fff;
}

/* Gallery */

.blocks-gallery-item {
    opacity: 0.8;
    transition: .3s;
}

.blocks-gallery-item:hover {
    opacity: 1;
}

/* Youtube layout */

.sby_layout_grid {
    max-width: 100% !important;
}

.sby_btn_text {
    color: #fff;
}

/* Accordion */

.c-accordion__title {
    padding: 1em;
    background-color: #1e1e1e;
    color: #fff;
}

.c-accordion__title * {
    color: #fff;
}

.c-accordion__title:after {
    right: 20px;
    color: #fff;
}

/* Couleurs blocks */

.has-doree-background-color {
    background-color: #d0943e;
}

.has-bleu-background-color {
    background-color: #51758D;
}

.has-gris-background-color {
    background-color: #EEEEEE;
}

.has-noir-background-color {
    background-color: #1D2327;
}

.has-blanc-color {
    color: #fff !important;
}

.has-noir-color {
    color: #1D2327 !important;
}

.has-bleu-color {
    color: #51758D !important;
}

.has-doree-color {
    color: #d0943e !important;
}

/****************************************************/
/******** HEADER
/****************************************************/

#site_wrapper {
    overflow: hidden;
}

#header_wrapper {
    position: relative;
}

/* Topbar */

#topbar {
    overflow: hidden;
    background-color: #1e1e1e;
}

#topbar_menu a {
    display: inline-block;
    padding: 10px 15px;
    font-size: 12px;
    color: #fff;
}

#topbar_menu li:hover:not(.btn_billetterie):not(.helloasso) a {
    text-decoration: underline;
}

.btn_billetterie a,
.btn_billetterie span {
    font-size: 16px !important;
    font-weight: 600;
    background-color: var(--color-btn-billetterie);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.helloasso {
    background-color: #000;
}

.helloasso a {
    font-size: 16px !important;
    letter-spacing: 1px;
    font-weight: 600;
    color: #fff;
}

/* Menu */

#toggle_nav_mobile,
#wrapper_mobile_menu {
    display: none;
}

body.home #header_site {
    padding: 2.5em 15px;
}

body.page #header_site,
body.single #header_site,
body.blog #header_site,
body.error404 #header_site {
    padding: 2.5em 15px 0;
}

#main_menu > li {
    position: relative;
    float: left;
    margin: 0 10px;
    padding: 1em 0;
}

#main_menu > li svg {
    content: '';
    position: absolute;
    top: 0px;
    left: 50%;
    transform: translate(-50%, -50%);
    visibility: hidden;
    stroke-dashoffset: 142.20152282714844px;
    stroke-dasharray: 142.20152282714844px;
    transition: .5s;
}

#main_menu > li svg path {
    stroke: #000;
}

#main_menu > li.current-menu-ancestor svg,
#main_menu > li.current-menu-item svg,
#main_menu > li:hover svg {
    stroke-dashoffset: 284.4030456542969px;
    stroke-dasharray: 142.20152282714844px;
    visibility: visible;
}

#main_menu li.current-menu-item span,
#main_menu li.current-menu-item > a {
    color: var(--main-color);
}

#main_menu > li > a,
#main_menu > li > span {
    display: block;
    margin-right: 5px;
    font-size: 14px;
}

#main_menu > li:last-of-type > a,
#main_menu > li:last-of-type > span {
    margin-right: 0;
}

#main_menu li.menu-item-has-children i {
    float: right;
    margin-left: 5px;
}

/* SUBMENU */

.sub-menu {
    position: absolute;
    left: 50%;
    transform: translate(-50%, 50px);
    width: 250px;
    top: 100%;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    background-color: #1d2327;
    transition-timing-function: ease-in-out;
    transition-property: visibility, opacity;

}

#main_menu > li > .sub-menu::before,
#main_menu > li > .sub-menu::after {
    content: "";
    position: absolute;
    right: auto;
    bottom: auto;
    z-index: 2;
}

#main_menu > li > .sub-menu::before {
    top: -10px;
    left: 50%;
    transform: translateX(-100%);
    border: 5px solid transparent;
    border-bottom-color: #1d2327
}

#main_menu > li > .sub-menu::after {
    top: -19px;
    left: 50%;
    transform: translateX(-30%);
    border: 10px solid transparent;
    border-bottom-color: #1d2327;
}

#main_menu > li.menu-item-has-children > .sub-menu {
    transition: all .5s;
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 50px);
}

#main_menu > li.menu-item-has-children:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.sub-menu li {
    position: relative;
    line-height: 20px;
    transition: all 0.2s ease;
}

#main_menu > li > .sub-menu > li:hover {
    background-color: #0b0d0e;
}

.sub-menu li a,
.sub-menu li span {
    display: block;
    padding: 10px 10px 10px;
    font-size: 14px;
    cursor: pointer;
    color: #fff;
}

.sub-menu li.menu-item-has-children i {
    color: #fff;
}

/* SUB SUB MENU */

.sub-menu li .sub-menu {
    position: relative;
    left: auto;
    width: 100%;
    max-height: 0;
    overflow: hidden;
    opacity: 1;
    visibility: visible;
    transform: none;
    background-color: #fff;

    -webkit-transition: max-height 0.6s ease 0s;
    -moz-transition: max-height 0.6s ease 0s;
    transition: max-height 0.6s ease 0s;
}

.sub-menu li .sub-menu a,
.sub-menu li .sub-menu span {
    cursor: pointer;
    color: #0b0d0e;
}

.sub-menu li .sub-menu a:hover,
.sub-menu li .sub-menu span:hover {
    color: var(--main-color);
}

.sub-menu li .sub-menu.is_open {
    max-height: 25em;
}

/* Caroussel */

#bloc_logo {
    position: absolute;
    top: 0;
    left: 0;
    background-color: #fff;
    z-index: 9;
}

#site_logo {
    /* width: 75%; */
    padding: 1em;
}

#dates {
    /* width: 25%; */
    padding: 1em;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    -webkit-flex-direction: column;
    -moz-flex-direction: column;
    -ms-flex-direction: column;
    -o-flex-direction: column;
    flex-direction: column;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    background-color: var(--main-color);
}

#dates li {
    text-transform: uppercase;
    margin-bottom: 10px;
    color: #fff;
}

#dates li:first-of-type {
    font-size: 1.8rem;
    font-weight: 700;
}

#dates li:nth-of-type(2) {
    font-weight: 300;
}

#dates li:not(:first-of-type) {
    font-size: 2.2rem;
    letter-spacing: 3px;
}

.arrow {
    vertical-align: bottom;
    font-size: 14px;
    color: #fff;
}

.wrapper_home_caroussel {
    width: 100%;
    position: relative;
}

.margin_bottom {
    margin-bottom: 100px;
}

#home_caroussel {
    position: relative;
    width: 100%;
    height: 60vh;
    /*    background-image: url(assets/img/bandeau-fifav-2021.jpg);*/
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#home_caroussel .legend {
    position: absolute;
    bottom: 2em;
    left: 2em;
    color: #fff;
    font-size: 1.5rem;
    font-weight: 500;
}

#socials_menu {
    position: absolute;
    width: 85px;
    top: 50%;
    transform: translate(-100%, -50%);
    text-align: center;
}

#socials_menu i {
    width: 30px;
    height: 30px;
    margin-bottom: 5px;
    border-radius: 50%;
    line-height: 30px;
    font-size: 16px;
    color: #fff;
    background-color: var(--main-color);

    transition: .3s;
}

#socials_menu li:hover i {
    background-color: #eee;
    color: var(--main-color);
}

#socials_menu .logo-unpercent {
    margin-top: 5px;
}

#wrapper_teaser {
    max-width: 400px;
    position: relative;
    position: absolute;
    padding: 2em 2em 2em 3em;
    background-color: #1e1e1e;
    transform: translateY(-70%);
    overflow: hidden;
    top: 100%;
    right: 0;
    z-index: 3;
}

#wrapper_teaser::before {
    content: url(assets/img/bobine.png);
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
}

#wrapper_teaser img {
    display: block;
    margin-bottom: 1em;
}

#wrapper_teaser h3 {
    position: relative;
    color: var(--main-color);
    line-height: 15px;
}

#wrapper_teaser h3::after {
    content: '';
    position: absolute;
    top: 50%;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    right: 0;
    width: 60px;
    height: 60px;
    background-image: url(assets/img/play.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
}

/****************************************************/
/******** HOME
/****************************************************/

.section_padding {
    padding: 3em 0;
}

.home_title {
    line-height: 45px;
    font-family: 'caviar_dreamsregular', sans-serif;
    font-weight: 100;
    text-transform: uppercase;
}

.custom_title {
    font-family: 'caviar_dreamsregular', sans-serif;
}

.custom_title::before {
    content: '';
    display: block;
    width: 150px;
    height: 50px;
    margin: 0 auto 10px;
    background-image: url(assets/img/trait-montagne.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

.home_title strong {
    display: inline-block;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid;
    font-weight: 600;
    color: inherit;
}

/* News */

#wrapper_news {
    background-image: url(assets/img/logo-fond.gif);
    background-repeat: no-repeat;
    background-position: -5% calc(99% - 3em);
    background-size: 25%;
}

#wrapper_news .btn.blue::before {
    content: '';
    display: inline-block;
    width: 15px;
    height: 15px;
    margin-right: 10px;
    background-image: url(assets/img/icon_actus.svg);
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    vertical-align: middle;
}

/*
#wrapper_news #list_news li .news_thumbnail {
    height: 180px;
}
*/

#list_news li {
    width: 400px;
    position: relative;
    margin: 10px 1em;
    border: 1px solid #a9a9a9;
}

#list_news.blog li {
    margin: 1em;
}

#list_news li:hover h3,
#list_news li:focus h3 {
    color: var(--main-color);
}

#list_news:not(.blog) li:last-of-type {
    margin-right: 0;
}

#list_news li article {
    margin: 1.8em;
    font-size: 14px;
    line-height: 24px;
    color: #707070;

    -webkit-transition: .3s;
    transition: .3s;
}

#list_news li .news_thumbnail {
    overflow: hidden;
}

#list_news li .news_thumbnail img {
    display: block;
    -webkit-transition: .8s;
    transition: .8s;
}

#list_news li:hover .news_thumbnail img {
    transform: scale(1.2);
}

#list_news li article h3 {
    font-weight: 700;
    -webkit-transition: .3s;
    transition: .3s;
}

#list_news li .date {
    font-weight: 500;
    text-transform: uppercase;
    color: #707070;
}

#list_news a {
    text-decoration: none;
    font-weight: 400;
}

#list_news a.link {
    display: block;
    margin-top: 2em;
    font-size: 16px;
}

#load_more {
    position: relative;
    display: block;
    margin: 0 auto;
    padding: 1em 1.5em 1em;
    background: #1e1e1e;
    color: #fff;
    border: none;
    cursor: pointer;

    transition: .3s;
}

#load_more::before {
    content: url(assets/img/loader.svg);
    width: 50px;
    position: absolute;
    left: 12px;
    top: 50%;
    transform: translateY(-48%);
    opacity: 0;
    visibility: hidden;

    transition: .3s;
}

#load_more.loading {
    padding: 1em 1.5em 1em 3em;
}

#load_more.loading::before {
    opacity: 1;
    visibility: visible;
}

.navigation_posts {
    overflow: hidden;
    margin: 2em 0 0;
}

.navigation_posts i {
    font-size: 35px;
    vertical-align: middle;

    transition: .3s;
}

.post_link a {
    text-transform: uppercase;
    font-size: 14px;
    text-decoration: none !important;

    transition: .3s;
}

.post_link a:hover,
.post_link a:hover i {
    color: var(--main-color);
}

#next a:hover i {
    margin-left: -3px;
}

#prev a:hover i {
    margin-right: -3px;
}

#prev a::after {
    content: 'Actualité précédente';
    margin-left: 10px;
}

#next a::before {
    content: 'Actualité suivante';
    margin-right: 10px;
}

/* About */

#wrapper_about {
    background-color: var(--main-color);
}

.content_about {
    max-width: 85%;
    padding: 7em 15px;
    overflow: hidden;
    margin: 0 auto;
}

.content_about *,
.content_about a {
    color: #fff;
}

#about_thumbnail {
    background-repeat: no-repeat;
    background-position: top;
    background-size: cover;
}

/* Partners */

#partnersSlider {
    position: relative;
    margin: 6em 0;
}

#partnersSlider .item {
    display: inline-block;
    position: relative;
    vertical-align: middle;
    overflow: hidden;
    height: 100%;
    white-space: normal;
    padding: 0 10px;
}

#partnersSlider .owl-nav button {
    position: absolute;
    border: none;
    background: transparent;
    outline: 0;
    top: 40%;
    cursor: pointer;
}

#partnersSlider .owl-nav button.owl-prev {
    left: -10px;
}

#partnersSlider .owl-nav button.owl-next {
    right: -10px;
}

#partnersSlider .owl-nav button {
    display: inline-block;
    width: 4em;
    height: 4em;
    border-top: 1px solid var(--main-color);
    transition: border-color 0.2s ease;
}

#partnersSlider .owl-nav button.owl-prev {
    border-left: 1px solid var(--main-color);
    transform: rotate(-54deg) skew(-20deg) translateY(-50%);
}

#partnersSlider .owl-nav button.owl-next {
    border-right: 1px solid var(--main-color);
    transform: rotate(54deg) skew(20deg) translateY(-50%);
}

#partnersSlider .owl-nav button span {
    display: none;
}

#partnersSlider a,
.list_partners a {
    position: relative;
    display: block;
    height: 150px;
    width: 150px;
}

#partnersSlider a img,
.list_partners a img {
    padding: 2px;
    border: 0 !important;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    position: absolute;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

/* Footer */

#wrapper_footer {
    padding-bottom: 0;
    background-color: #1e1e1e;
}

#wrapper_footer * {
    color: #fff;
}

#wrapper_footer h4 {
    text-transform: uppercase;
    font-family: 'caviar_dreamsregular', sans-serif;
}

.wrapper_widget {
    padding: 2em 1.5em;
}

/* Bloc contact */

#wrapper_contact ul li {
    font-family: 'caviar_dreamsregular', sans-serif;
    margin-bottom: 5px;
}

#wrapper_contact ul li a {
    font-size: 14px;
    font-family: 'Poppins', sans-serif;
}

/* Bloc newsletter */

#wrapper_newsletter {
    padding-bottom: 0;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--main-color);

    background-position: -250px 0;
    background-repeat: no-repeat;
    background-size: cover;
}

#wrapper_newsletter::after {
    content: '';
    position: absolute;
    right: -35%;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: #1e1e1e;
    transform: skew(-25deg, 0deg);
}

#wrapper_newsletter h4,
#wrapper_newsletter form {
    position: relative;
    z-index: 1;
}

#wrapper_newsletter h4 {
    text-align: center;
}

#wrapper_newsletter form {
    max-width: 80%;
    margin-left: auto;
}

#wrapper_newsletter form p {
    margin-bottom: 0;
}

#wrapper_newsletter form input:not(.wpcf7-submit):not(input[type="checkbox"]) {
    width: 100%;
    margin-bottom: 1em;
    padding: 10px 15px;
    border: 0;
    color: #000;
}

#wrapper_newsletter form .policy {
    margin-bottom: 10px;
    font-size: 12px;
}

#wrapper_newsletter form .policy a {
    text-decoration: underline;
}

#wrapper_newsletter form input.wpcf7-submit {
    margin-left: 0;
    margin-right: auto;
}

form.post-password-form input[type="submit"],
#wrapper_newsletter form input.wpcf7-submit,
.wpcf7-submit {
    padding: 10px 20px;
    background-color: var(--color-btn-form);
    text-transform: uppercase;
    font-family: 'caviar_dreamsregular', sans-serif;
    border: 0;
    color: #fff;
    font-weight: 600;
    letter-spacing: 2px;
    cursor: pointer;
}

form.post-password-form input[type="submit"] {
    display: block;
    margin: 2em auto 0;
}

/* Bloc socials medias */

#socials_menu.menu_footer {
    position: relative;
    width: 100%;
    transform: none;
    top: 0;
    right: 0;
}

#socials_menu.menu_footer li {
    margin-right: 5px;
}

#socials_menu.menu_footer li:last-child {
    display: none;
}

#socials_menu.menu_footer li i {
    color: var(--main-color);
    background-color: #fff;
}

#socials_menu.menu_footer li:hover i {
    color: #fff;
    background-color: var(--main-color);
}

#subfooter {
    position: relative;
    width: 100%;
    margin-top: 5em;
    padding: 1.5em 15px;
}

#subfooter::before {
    content: url(assets/img/montagne-logo-fifav.png);
    position: absolute;
    bottom: 0;
    left: 0;
}

#subfooter p {
    margin: 0;
    font-size: 12px;
}

#subfooter a {
    text-decoration: underline;
}

#subfooter * {
    color: var(--main-color);
}



/****************************************************/
/******** PAGE
/****************************************************/


/* Header */

#home_caroussel.header_page {
    height: 40vh;
}

.title_page {
    margin: 0;
    transform: translateY(-50%)
}

.title_page span {
    display: inline-block;
    padding: 20px 25px;
    background-color: var(--bgcolor-title-page);
    font-family: 'caviar_dreamsregular';
    color: #fff;
}


/* Content */

body.home .content_page {
    padding: 2em 0 4em;
}

.content_page {
    padding: 2em 1em 4em;
}

.content_page p,
.content_page li {
    color: #616161;
}

.content_page h2:not(.custom_title) {
    text-transform: uppercase;
    font-family: 'caviar_dreamsregular';
    font-weight: 600;
}

.content_page h2:not(.home_title):not(.custom_title)::after {
    content: '';
    display: block;
    margin-top: 25px;
    width: 150px;
    height: 2px;
    background-color: #1D2327;
}

.content_page .has-background h2::after {
    background-color: #fff !important;
}

.content_page a {
    font-weight: 600;
    text-decoration: underline;
}


.content_page ul:not(.blocks-gallery-grid):not(.custom_list) {
    padding-left: 25px;
}

.content_page ul:not(.blocks-gallery-grid):not(.custom_list) li {
    position: relative;
    margin-bottom: 5px;
    padding-left: 20px;
}

.content_page ul:not(.blocks-gallery-grid):not(.custom_list) li::before {
    content: '';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    width: 3px;
    height: 3px;
    border-radius: 50%;
    background-color: #707070;
}


/****************************************************/
/******** PROGRAMMATION
/****************************************************/

#wrapper_filters_days {
    display: none;
}

body.page-template-template-programmation .content_page {
    padding-top: 0;
    padding-left: 0;
    padding-right: 0;
}

@-moz-keyframes loader {
    0% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }

    33% {
        -moz-transform: translateY(15px);
        transform: translateY(15px);
    }

    100% {
        -moz-transform: translateY(0);
        transform: translateY(0);
    }
}

@-webkit-keyframes loader {
    0% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    33% {
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
    }

    100% {
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}

@keyframes loader {
    0% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }

    33% {
        -moz-transform: translateY(15px);
        -ms-transform: translateY(15px);
        -webkit-transform: translateY(15px);
        transform: translateY(15px);
    }

    100% {
        -moz-transform: translateY(0);
        -ms-transform: translateY(0);
        -webkit-transform: translateY(0);
        transform: translateY(0);
    }
}


.seances .loader {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background-color: #1e1e1e;
    width: 100%;
    height: 100%;
    top: 0;
    z-index: 2;
}

.seances .loader div {
    width: 15px;
    height: 15px;
    margin: 1em 2px;
    display: inline-block;
    background-color: #ffffff;
    -webkit-border-radius: 100%;
    border-radius: 100%;
    background-clip: padding-box;
    -moz-animation: loader 0.6s 70ms infinite ease;
    -webkit-animation: loader 0.6s 70ms infinite ease;
    animation: loader 0.6s 70ms infinite ease;
}

.seances .loader div:nth-of-type(2) {
    -moz-animation: loader 0.6s 0.14s infinite ease;
    -webkit-animation: loader 0.6s 0.14s infinite ease;
    animation: loader 0.6s 0.14s infinite ease;
}

.seances .loader div:nth-of-type(3) {
    -moz-animation: loader 0.6s 0.21s infinite ease;
    -webkit-animation: loader 0.6s 0.21s infinite ease;
    animation: loader 0.6s 0.21s infinite ease;
}

#no_results {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    background: rgb(30, 30, 30);
    width: 100%;
    height: 100%;
    z-index: 1;
}

#no_results p {
    font-family: 'caviar_dreamsregular';
    font-size: 22px;
    color: #fff;
}


/* Filters */

#filters_days_wrapper {
    display: none;
}

.filters-wrapper {
    margin-bottom: 2em;
}

#list_filters li a {
    display: inline-block;
    margin: 5px;
    padding: 5px 15px;
    text-decoration: none;
    text-transform: uppercase;
    font-size: 14px;
    border: 1px solid var(--bgcolor-filters);
    color: var(--bgcolor-filters);

    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

#list_filters li a.active,
#list_filters li a:hover,
#list_filters li a:focus {
    background-color: var(--bgcolor-filters);
    color: #fff;
}

#filters_days_wrapper button.filter.active {
    background-color: #fff;
    color: var(--bgcolor-filters);
}


#filters_days_wrapper li {
    display: inline-block;
    padding: 5px 10px;
}


#filters_days_wrapper button {
    margin-bottom: 5px;
    padding: 10px 15px;
    text-transform: uppercase;
    background-color: transparent;
    border: 1px solid #696969;
    color: #fff;
}

#filters_days_wrapper button span {
    display: block;
    font-size: 2rem;
}

/* Fiche séance */

#seances .day {
    display: inline-block;
    -webkit-flex: 1;
    -moz-flex: 1;
    -ms-flex: 1;
    -o-flex: 1;
    flex: 1;
    padding: 2em 15px;
    vertical-align: top;

    transition-property: all;
    transition-duration: 0.4s;
    transition-timing-function: ease;
}

#seances .day:not(:last-child) {
    border-right: 1px solid #383838;
}

#seances .day.visible {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.title_day {
    text-transform: capitalize;
    color: #fff;
}

.title_day span {
    color: var(--color-days-prog);
}

.count_seance {
    display: block;
    color: #696969;
    font-size: 14px;
}

.seances {
    position: relative;
    min-height: 900px;
    margin: 0 auto;
    padding: 2em;
    text-align: center;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.seances .seance {
    display: block;
    display: none;
    width: 100%;
    margin-bottom: 2em;

    vertical-align: top;
    text-align: left;
    color: #fff;
}

/*
.seances .seance:not(:last-child)::after {
    content: '';
    display: block;
    width: 50px;
    height: 1px;
    margin: 2em auto;
    background-color: var(--color-days-prog);
}
*/

.seances .seance .content_seance {
    padding: 0 15px 40px;
}

.seances .seance .content_seance * {
    color: #fff;
}

.seances .seance a {
    position: relative;
    display: block;
}


.seances .seance > a::before {
    content: '';
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    position: absolute;
    background-color: var(--bgcolor-filters);
    opacity: 0;
    visibility: hidden;
    z-index: 5;
    border-radius: 5px;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
}

.seances .seance > a:hover::before,
.seances .seance > a:focus::before {
    opacity: 0.5;
    visibility: visible;
}

.seances .seance a::after {
    content: "";
    background: url(https://www.festival-film-aventure.com/wp-content/themes/fifav/assets/img/play-button-white.svg) no-repeat center center;
    opacity: 0;
    background-size: contain;
    width: 70px;
    height: 70px;
    z-index: 6;
    -webkit-transition: all 0.4s ease 0s;
    -moz-transition: all 0.4s ease 0s;
    transition: all 0.4s ease 0s;
    top: 50%;
    right: auto;
    bottom: auto;
    left: 50%;
    position: absolute;
    -moz-transform: translate(-50%, -50%);
    -ms-transform: translate(-50%, -50%);
    -webkit-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.seances .seance a:hover::after,
.seances .seance a:focus::after {
    opacity: 1;
}

.seances .seance h3 {
    font-family: 'caviar_dreamsregular';
}

.seances .seance .heure {
    margin-right: 5px;
    color: var(--color-days-prog);
}

.seances .seance .duree,
.seances .seance .type {
    display: inline-block;
    line-height: 20px;
    font-weight: 200;
    font-size: 14px;
    color: #696969;
}

.seances .seance .type {
    display: inline-block;
    line-height: 18px;
    text-transform: uppercase;
    font-weight: 600;
}

.seances .seance img {
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

/****************************************************/
/******** SINGLE SEANCE
/****************************************************/

body.single-seance .header_page {
    padding-top: 2em;
    padding-bottom: 1em;
}

body.single-seance h1 {
    font-family: 'caviar_dreamsregular', sans-serif;
}

.content_seance {
    padding: 4em 0;
}

/* Header seance */

.back_to_prog {
    display: inline-block;
    position: relative;
}

.back_to_prog::before {
    content: '';
    position: absolute;
    width: 25px;
    height: 15px;
    left: 0;
    top: 50%;
    transform: translate(-160%, -87%);
    background-image: url(assets/img/left-arrow.svg);
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
}

#header_seance {
    margin-bottom: 5em;
}

#header_seance .meta_seance ul li {
    margin: 0 10px;
    color: #fff;
}

#header_seance .meta_seance .item_partner {
    position: relative;
    -ms-align-self: stretch;
    align-self: stretch;
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    -ms-align-items: center;
    align-items: center;
    border-radius: 3px;
    background-color: #fff;
}

#header_seance .meta_seance .item_partner img {
    padding: 5px;
}

#header_seance .horaires,
#header_seance .type {
    border-bottom: 1px solid #808080;
}

#header_seance .horaires {
    padding: 10px 0;
    border-top: 1px solid #808080;
}

#header_seance .type > ul > li:last-child {
    -webkit-flex: 2;
    -moz-flex: 2;
    -ms-flex: 2;
    -o-flex: 2;
    flex: 2;
}

#header_seance .picto_type {
    vertical-align: top;
}


#header_seance .duree::before,
#header_seance .lieu::before {
    content: '';
    display: inline-block;
    width: 20px;
    margin-right: 10px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;

}

#header_seance .duree::before {
    height: 20px;
    background-image: url(assets/img/clock.svg);
    vertical-align: text-top;
}

#header_seance .lieu::before {
    height: 25px;
    background-image: url(assets/img/placeholder.svg);
    vertical-align: top;
}

#header_seance .partners {
    padding: 10px 0;
}

/*
#header_seance .partners li:not(:first-child) {
    background-color: #fff;
}
*/

#header_seance .partners img {
    max-width: 100px;
    display: block;
}

#header_seance .thumbnail_nav {
    width: 70px;
    height: 40px;
    background-repeat: no-repeat;
    background-size: cover;
    background-position: center;
}

#list_nav li.prev a::before,
#list_nav li.next a::after {
    content: '';
    display: inline-block;
    width: 25px;
    height: 15px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: cover;
    vertical-align: text-top;
}

#list_nav li {
    margin: 0 2px;
}

#list_nav li.prev a::before {
    margin-right: 10px;
    background-image: url(assets/img/left-arrow.svg);
}

#list_nav li.next a::after {
    margin-left: 10px;
    background-image: url(assets/img/right-arrow.svg);
}

#content_seance p {
    color: #fff;
}

#header_seance h2,
#content_seance h2,
#content_seance h3,
#content_seance h4,
#content_seance h5,
#content_seance h6 {
    font-family: 'caviar_dreamsregular';
    color: #fff;
}

#wrapper_bloc_infos {
    position: relative;
    background: linear-gradient(180deg, #1e1e1e 50%, #ffffff 50%);
    margin-bottom: 4em;
}

#wrapper_bloc_infos::before {
    content: url(assets/img/montagne-logo-fifav.png);
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
}

#content_bloc_infos {
    padding: 4em 15px 3em;
    background-color: #eee;
}

#list_buttons {
    display: -webkit-flex;
    display: -moz-flex;
    display: -ms-flex;
    display: -o-flex;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#list_buttons li {
    padding: 10px;
}

#content_seance .wp-block-columns {
    position: relative;
}

#wrapper_tampons {
    position: absolute;
    right: 0;
    transform: translateY(-50%) rotate(10deg);
    z-index: 2;
}

#wrapper_tampons img {
    margin-right: 10px;
}

#content_seance.complet > .col-12 > .wp-block-columns:first-of-type > .wp-block-column:first-of-type::before {
    content: 'Séance complète';
    display: inline-block;
    margin-bottom: 1em;
    padding: 8px 10px;
    text-transform: uppercase;
    font-size: 26px;
    font-family: 'caviar_dreamsregular', sans-serif;
    font-weight: bolder;
    letter-spacing: 1px;
    line-height: normal;
    background-color: #fff;
    color: #000;
}


/****************************************************/
/******** PARTENAIRES
/****************************************************/

.list_partners li {
    margin: 10px 20px;
}


/****************************************************/
/******** FORM
/****************************************************/

form.post-password-form,
.wpcf7:not(#wpcf7-f4945-o1):not(#wpcf7-f4945-o2) form {
    max-width: 610px !important;
    margin: 0 auto;
    position: relative;
    padding: 3em;
    border: 1px solid var(--main-color);
    background-image: url(assets/img/logo-fond.gif);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-size: 250px;
}

form.post-password-form::before,
.wpcf7:not(#wpcf7-f4945-o1):not(#wpcf7-f4945-o2) form::before {
    content: '';
    position: absolute;
    width: 80px;
    height: 44px;
    left: 50%;
    top: 0;
    transform: translate(-50%, -50%);
    background-image: url(assets/img/montagne-logo-fifav.png);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
}

.header_form {
    margin-bottom: 2em;
    font-family: 'caviar_dreamsregular';
    text-transform: uppercase;
    font-weight: 600;
}

.header_form h2::after {
    content: none;
}

.cartouche_form {
    margin-bottom: 2em;
    padding: 1em;
    background-color: var(--main-color);
}

.cartouche_form *,
.cartouche_form p {
    color: #fff;
}

.traduction {
    font-weight: 400;
    font-size: 14px;
}

.important {
    padding: 1em;
    background: rgba(107, 107, 107, 0.25);
}

form.wpcf7-form .wpcf7-radio .wpcf7-list-item-label {
    margin-bottom: 1em;
}

form.wpcf7-form .wpcf7-checkbox {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-align: start;
    -ms-flex-align: start;
    align-items: flex-start;
}

form.post-password-form input[type="password"],
form.wpcf7-form input[type="text"],
form.wpcf7-form input[type="email"],
form.wpcf7-form input[type="tel"],
form.wpcf7-form input[type="url"],
form.wpcf7-form textarea {
    width: 100%;
    padding: 15px 10px;
    font-size: 14px;
    border-radius: 0;
    box-shadow: none;
    border: 1px solid #cecece;
}

.wpcf7-acceptance .wpcf7-list-item {
    margin-left: 0;
}

.wpcf7-acceptance input,
.wpcf7-acceptance .wpcf7-list-item-label {
    display: inline-block;
}

.wpcf7-acceptance input {
    width: 10%;
}

.wpcf7-acceptance .wpcf7-list-item-label {
    width: 90%;
    vertical-align: text-top;
}

.wpcf7-submit {
    display: block;
    margin: 0 auto;
}

.wpcf7-not-valid-tip {
    font-size: 14px;
}

form.post-password-form {
    text-align: center;
}

/****************************************************/
/******** EQUIPE
/****************************************************/

ul.lequipe-permanente {
    max-width: 80%;
    margin: 0 auto;
    padding: 4em 0 2em;
    background-color: #efefef;
    background-image: url(assets/img/logo-trace-blanc.png);
    background-repeat: no-repeat;
    background-position: 112% 102%;
    background-size: 30%;
}

ul.lequipe-permanente li {
    width: 200px;
    margin: 10px 35px;
    vertical-align: top;
    font-size: 14px;
}

ul.lequipe-permanente li h4,
ul.les-membres-actifs-du-festival li h6 {
    color: var(--main-color);
}

ul.les-membres-actifs-du-festival {
    flex-wrap: wrap;
}

ul.les-membres-actifs-du-festival li {
    width: 170px;
    margin: 10px 10px;
    vertical-align: top;
    font-size: 12px;
    text-align: center;
}


/* ENCART */

#encart {
    padding: 1.5em 0;
    background-color: #eaeaea;
    font-family: 'caviar_dreamsregular', sans-serif;
    font-size: 22px;
    color: #1e1e1e;
}

#encart a {
    display: block;
    margin: 10px 0 0;
    vertical-align: middle;
}

/* BACK TO TOP */

#back-to-top {
    position: fixed;
    padding: 5px 5px 5px 10px;
    bottom: 80px;
    right: -20px;
    transform: rotate(-90deg);
    text-transform: uppercase;
    font-size: 14px;
    background-color: rgb(30, 30, 30);
    z-index: 9;
}

#back-to-top span,
#back-to-top i {
    color: #fff;
}

#back-to-top i {
    font-size: 24px;
    vertical-align: top;
}

/****************************************************/
/******** RGPD
/****************************************************/

body:not(.page-id-3) #tarteaucitronAlertSmall {
    display: none !important;
}

#tarteaucitronAlertBig #tarteaucitronPersonalize,
#tarteaucitronPercentage,
#tarteaucitronAlertSmall #tarteaucitronManager #tarteaucitronDot #tarteaucitronDotGreen {
    background-color: var(--main-color) !important;
}


.grecaptcha-badge {
    visibility: hidden;
}

/****************************************************/
/******** MEDIA QUERIES
/****************************************************/


@media screen and (max-width:1750px) {

    /* HEADER */

    #bloc_logo {
        max-width: 550px;
    }

    #site_logo {
        width: 70%;
    }

    #dates {
        width: 30%;
    }

    .btn_live {
        width: 280px;
    }
}

@media screen and (max-width:1440px) {

    /* HEADER */

    #dates li:first-of-type {
        font-size: 1.4rem;
        font-weight: 700;
    }

    #dates li:not(:first-of-type) {
        font-size: 1.8rem;
    }

    #home_caroussel .legend {
        font-size: 18px;
    }

    /*  MENU  */

    #main_menu > li {
        margin: 0 5px;
    }

    /*  HOME  */

    #list_news li {
        margin: 10px 5px;
    }
}


@media screen and (max-width: 1440px) {

    #main_menu > li > a,
    #main_menu > li > span {
        font-size: 12px;
    }
}

@media screen and (max-width: 1360px) {

    .container-fluid {
        width: 100%;
    }

    #overlay {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        width: 100%;
        height: 100%;
        background-color: #000;
        z-index: 20;
        opacity: 0;
        visibility: hidden;
        transition: .3s;
    }

    #overlay.visible {
        visibility: visible;
        opacity: 0.5;
    }

    body.page #header_site,
    body.single #header_site,
    body.blog #header_site {
        padding: 15px 15px 0;
    }

    #toggle_nav_mobile {
        display: block;
        margin-bottom: 15px;
        padding: 1em;
        background-color: #000;
        text-transform: uppercase;
        font-weight: 600;
        cursor: pointer;
    }

    #toggle_nav_mobile * {
        color: #fff;
    }

    #toggle_nav_mobile i {
        font-size: 2rem;
        vertical-align: bottom;
    }

    #main_menu,
    #topbar {
        display: none;
    }

    #wrapper_mobile_menu {
        display: block;
    }

    #wrapper_mobile_menu {
        position: fixed;
        z-index: 999;
        width: 300px;
        top: 0;
        bottom: 0;
        right: 0;
        opacity: 0;
        transform: translateX(300px);
        background-color: #fff;

        transition: .3s;
    }

    #wrapper_mobile_menu button.close {
        position: absolute;
        top: 10px;
        left: -10px;
        transform: translateX(-100%);
    }

    #wrapper_mobile_menu button.close i {
        color: #fff;
    }

    #wrapper_mobile_menu.open {
        opacity: 1;
        transform: translateX(0);
    }

    #mobile_menu > li {
        display: block;
        float: none;
        margin: 0;
        padding: 0;
    }

    #mobile_menu > li > a,
    #mobile_menu > li > span {
        font-size: 14px;
    }

    #mobile_menu > li svg,
    #mobile_menu > li > .sub-menu::before,
    #mobile_menu > li > .sub-menu::after {
        display: none;
    }

    #mobile_menu > li.menu-item-has-children:hover > .sub-menu {
        transform: none;
    }

    #mobile_menu > li.menu-item-has-children > .sub-menu {
        position: relative;
        left: auto;
        width: 100%;
        max-height: 0;
        overflow: hidden;
        opacity: 1;
        visibility: visible;
        transform: none;
        background-color: #000;
        transform: none;
        -webkit-transition: max-height 0.6s ease 0s;
        -moz-transition: max-height 0.6s ease 0s;
        transition: max-height 0.6s ease 0s;
    }

    #mobile_menu > li > .sub-menu.is_open {
        max-height: 50em;
    }

    #mobile_menu li a,
    #mobile_menu li span,
    #mobile_menu li.menu-item-has-children span,
    #mobile_menu li.menu-item-has-children a {
        position: relative;
        display: block;
        padding: 1em 15px;
        cursor: pointer;
    }

    #mobile_menu li.current-menu-parent > span,
    #mobile_menu li.current-menu-parent > a,
    #mobile_menu li.current-menu-parent > span i,
    #mobile_menu li.current-menu-parent > a i,
    #mobile_menu li.current-menu-item > span,
    #mobile_menu li.current-menu-item > a,
    #mobile_menu li.current-menu-item > span i,
    #mobile_menu li.current-menu-item > a i {
        color: var(--main-color);
    }

    #mobile_menu li.menu-item-has-children i {
        float: right;
    }

    #mobile_menu .btn_billetterie span,
    #mobile_menu .btn_billetterie a {
        display: block;
        color: #fff;
    }

    #socials_menu {
        top: auto;
        bottom: 0;
        left: 0;
        transform: translateY(0);
    }

    /* SEANCE */

    body.single-seance .header_page {
        padding-top: 6em;
    }

}

@media screen and (max-width: 1200px) {

    /*  MENU  */

    /*  HOME  */
    #wrapper_teaser {
        max-width: 300px;
    }

    #wrapper_teaser h3 {
        font-size: 16px;
    }

    #wrapper_news .home_title {
        float: left;
    }

    #wrapper_news .btn.blue {
        float: right;
    }

    /* Equipe  */

    ul.lequipe-permanente {
        max-width: 100%;
    }

    ul.lequipe-permanente li {
        margin: 10px 10px;
    }

    /*  PROG  */

    .back_to_prog {
        float: left;
        margin-left: 2.5em;
    }

    /*  FOOTER  */
    #wrapper_footer {
        text-align: center;
    }

    #socials_menu.menu_footer {
        width: 100%;
        justify-content: center;
    }

    #wrapper_newsletter {
        max-width: 500px;
        margin: 0 auto;
        text-align: left;
    }

    /* Seance  */

    .content_seance {
        padding: 2em 0;
    }

    #header_seance > div:nth-child(2) {
        -webkit-box-ordinal-group: 3;
        -ms-flex-order: 2;
        order: 2;
    }

    #header_seance > div:last-child {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 1;
        order: 1;
    }

    #list_nav {
        -webkit-box-pack: end !important;
        -ms-flex-pack: end !important;
        justify-content: flex-end !important;
    }
}

@media screen and (max-width: 1024px) {
    .wp-block-media-text.is-stacked-on-mobile .wp-block-media-text__content {
        padding: 3em 1em;
    }

    .wp-block-gallery .blocks-gallery-image figcaption,
    .wp-block-gallery .blocks-gallery-item figcaption {
        padding: 3em 0em 0em;
        font-size: 12px;
    }

    /*  PROG  */

    #seances .seances {
        padding: 1em 0;
    }

    .seances .seance {
        margin-bottom: 0;
    }

    #seances .day {
        padding: 2em 5px;
    }

    #seances h3 {
        font-size: 16px;
    }

    .seances .seance .type {
        font-size: 10px;
        line-height: 12px;
    }

    .meta_seance {
        line-height: 15px;
    }

    .seances .seance .duree,
    .seances .seance .type {
        font-size: 12px;
    }
}


@media screen and (max-width: 990px) {
    .margin_bottom {
        margin-bottom: 0;
    }

    #wrapper_teaser {
        position: relative;
        transform: none;
        top: auto;
        max-width: 80%;
        margin: 3em auto 2em auto;
    }

    #wrapper_teaser img {
        display: none;
    }

    #wrapper_teaser h3 {
        font-size: 22px;
        line-height: 32px;
        padding-right: 15px;
    }

    #home_caroussel .legend {
        width: 90%;
        left: 50%;
        transform: translateX(-50%);
        text-align: center;
    }

    /*  News  */
    #wrapper_news {
        background-position: -50% calc(99% - 3em);
        background-size: 50%;
    }

    #wrapper_news #list_news {
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        -webkit-box-pack: center;
        -ms-flex-pack: center;
        justify-content: center !important;
    }

    /* Footer */
    #subfooter::before {
        display: none;
    }
}

@media screen and (max-width: 768px) {

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.8rem;
    }

    /* PROG */

    .filters-wrapper,
    .title_day,
    .count_seance:not(.mobile) {
        display: none;
    }

    #filters_days_wrapper {
        display: block;
        padding: 2em 15px;
        text-align: center;
    }

    #seances {
        min-height: 450vh;
        flex-wrap: wrap;
    }

    #seances .day {
        position: absolute;
        top: 0;
        left: 0;
        padding-top: 0;
        border-right: 0;
        width: 100%;
    }

    .seances .seance {
        width: 50%;
        padding: 1em;
    }

    #header_seance .meta_seance ul li {
        margin: 10px 10px;
        font-size: 12px;   
    }

    /* Partenaires */

    #partnersSlider .owl-nav button.owl-prev {
        left: 5px;
    }

    #partnersSlider .owl-nav button.owl-next {
        right: 5px;
    }
}

@media screen and (max-width: 600px) {

    body {
        font-size: 14px;
    }

    h1 {
        font-size: 28px;
    }

    h2 {
        font-size: 24px;
    }

    /* Header */

    #home_caroussel {
        height: 40vh;
        margin-bottom: 100px;
    }

    #wrapper_teaser h3::after {
        width: 40px;
        height: 40px;
    }

    #bloc_logo,
    #toggle_nav_mobile {
        height: 150px;
        margin-bottom: 1em;
    }

    #bloc_logo {
        position: relative;
        width: 70%;
    }

    #site_logo {
        width: 50%;
        padding: 5px;
        background-image: url(assets/img/montagne-logo-fifav.png);
        background-repeat: no-repeat;
        background-position: center;
        background-size: 90px;
    }

    #site_logo img {
        display: none;
    }

    #dates {
        width: 50%;
    }

    #toggle_nav_mobile {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
        -ms-align-items: center;
        align-items: center;
        justify-content: center;
        width: 30%;
        margin-bottom: 0;
    }

    .btn_live {
        display: none !important;
    }

    .btn_live.mobile {
        display: block !important;
        width: 100%;
        margin-bottom: 1em;
    }

    .btn_live.mobile a {
        padding: 25px 2em;
    }

    .btn_live.mobile h2 br {
        content: '';
    }

    .btn_live.mobile h2 br:after {
        content: ' ';
    }

    /* Socials menu */

    #header_site #socials_menu {
        width: 90%;
        height: 50px;
        left: 50%;
        transform: translateX(-50%);
        bottom: -70px;
    }

    #header_site #socials_menu li {
        display: inline-block;
        margin: 0 5px;
        vertical-align: middle;
    }

    /* Pages */

    .title_page {
        margin: 0.64em 0;
        transform: none;
    }

    /*  News  */

    #wrapper_news {
        background-image: none;
        text-align: center;
    }

    #wrapper_news .home_title,
    #wrapper_news .btn.blue {
        float: none;
    }

    #wrapper_news .btn.blue {
        margin-bottom: 2em;
    }

    #wrapper_news #list_news li {
        margin-left: 0;
        margin-right: 0;
        text-align: left;
    }

    /* Equipe */

    ul.lequipe-permanente {
        flex-direction: column;
        align-items: center;
        background-position: 103% 102%;
        background-size: 60%;
    }

    /* Partenaires */

    #partnersSlider .owl-nav button.owl-prev {
        left: 30px;
    }

    #partnersSlider .owl-nav button.owl-next {
        right: 30px;
    }

    /*  PROG */

    #seances {
        min-height: 900vh;
        flex-wrap: wrap;
    }

    .seances .seance img {
        max-width: 200px;
    }

    .seances .seance {
        width: 100%;
        text-align: center;
    }

    .horaires > ul,
    .type > ul {
        padding: 20px 0;
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .type > ul > li:first-child {
        -ms-align-self: center !important;
        align-self: center !important;
    }

    #header_seance > div:nth-child(1),
    #header_seance > div:last-child {
        -webkit-flex: 100%;
        -moz-flex: 100%;
        -ms-flex: 100%;
        -o-flex: 100%;
        flex: 100%;
        max-width: 100%;
    }

    #header_seance > div:nth-child(2) {
        -webkit-box-ordinal-group: 1;
        -ms-flex-order: 1;
        order: 1;
    }

    #header_seance > div:last-child {
        -webkit-box-ordinal-group: 2;
        -ms-flex-order: 2;
        order: 2;
    }

    #header_seance .meta_seance ul li {
        margin-bottom: 10px
    }

    .back_to_prog {
        float: none;
        margin-left: 0;
    }

    #list_nav {
        -webkit-box-pack: center !important;
        -ms-flex-pack: center !important;
        justify-content: center !important;
    }

    #encart {
        font-size: 16px;
    }

    #back-to-top {
        display: none !important;
    }
}


@media screen and (max-width: 400px) {

    /* Menu */
    #wrapper_mobile_menu {
        width: 250px;
    }

    #wrapper_teaser {
        margin-top: 1em;
        max-width: 100%;
    }

    /* Seance */

    #header_seance .partners {
        -webkit-flex-direction: column;
        -moz-flex-direction: column;
        -ms-flex-direction: column;
        -o-flex-direction: column;
        flex-direction: column;
    }

    .seances .seance {
        margin-bottom: 0;
    }

    .seances .seance .content_seance {
        padding-bottom: 20px;
    }

    #filters_days_wrapper li {
        padding: 5px;
    }

    #filters_days_wrapper button {
        padding: 10px;
    }

    #filters_days_wrapper button span {
        font-size: 18px;
    }

    .count_seance {
        font-size: 12px;
    }

    #header_seance .meta_seance .item_partner {
        margin-bottom: 1em;
    }
}