/*
 * Theme Name: Le Studio
 * Description: 
 * Author: Le Studio
 * Version: 0.0.1
 * Tags: 
 */

@font-face {
    font-family: 'tuffy';
    src: url('/fonts/tuffy.otf') format('opentype'),
    url('/fonts/tuffy.woff') format('woff'),
    url('/fonts/tuffy.svg#abcd') format('svg'),
    url('/fonts/tuffy.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

body {
	line-height: 1;
	-webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
	font-size: 1em;
    font-family: 'Raleway', sans-serif;
	color: black;
	position: relative;
	overflow-x: hidden !important;
    margin: 0;
}

h1 { 
    text-transform: uppercase;
    font-weight: 300;
    font-size: 2em; 
    text-align: center;
    margin: 0;
    color: #5CB1B5;
}

h2 { 
    font-size: 1.4em; 
    margin: 0;
    text-transform: uppercase;
    padding-bottom: 10px;
    line-height: 1.1em;
}

h3 { 
    font-size: 1.17em; 
    margin: 0;
    text-transform: uppercase;
    padding-bottom: 10px;
}

h4 { 
    font-size: 1.12em; 
    margin: 0;
}

h5 { 
    font-size: .83em; 
    margin: 0;
}

h6 { 
    font-size: .75em; 
    margin: 0;
}

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

body, section, article, div, ul, li, p, img, textarea, input {
    box-sizing: border-box;
}

ul {
    padding: 0;
    margin: 0;
}

li {
    list-style-position: outside;
    margin-left: 13px;
}

p {
    margin: 0;
    padding-bottom: 15px;
    line-height: 1.6em;
}

a {
    color: #5CB1B5;
}

code {
    white-space: initial;
    font-family: 'Raleway', sans-serif;
}



/***** DIAPORAMA *****/

.diaporama{
/*display: flex;
    align-items: center;
    justify-content: space-around;
    display: -ms-flexbox;
    -ms-flex-pack: justify;
    -ms-flex-align: center;*/
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
}
.diapositives{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: #444;
}
.diapo{
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    -webkit-transition: all 0.2s ease-in;
    -moz-transition: all 0.2s ease-in;
    -o-transition: all 0.2s ease-in;
    transition: all 0.2s ease-in;
    opacity: 0;
    z-index: -1;
}
.diapo.active{ opacity: 1;    z-index: 1;}

.next-slide, .prev-slide{
    cursor: pointer;
    width: 50px;
    height: 50px;
    background: red;
    position: absolute;
    z-index: 9;
    top: 50%;
    transform: translateY(-50%);
}
.next-slide{
    right: 0;
}
.prev-slide{
    left: 0;
}


/* *** PHOTOS BACKGROUND *** */

[background-photo] {
  position: absolute;
  z-index: -1;
  background-size: cover;
  background-position: center center;
  background-repeat: no-repeat;
  display: inline-block;
  width: 100%;
  height: 100%;
}
[background-photo] img {
  display: none;
}


/* *** COULEURS *** */

/*
noir : #000000;
blanc : #ffffff;
vert : #5CB1B5;
*/




/* ************************ GLOBALE ************************ */

#main {
    background-color: white;
}

.contenu {
    max-width: 1024px;
}

.triangle {
    position: absolute;
    top: 0;
    left: 99.8%;
    z-index: 1;
    height: 100%;
    filter: drop-shadow(16px 7px 8px rgba(0,0,0,0.2));
}

.bouton {
    display: inline-block;
    padding: 10px 15px;
    background-color: #5CB1B5;
    color: white;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
    text-align: center;
    margin: 5px auto;
    min-width: 210px;
}

.bouton_gris {
    background-color: #4E4D4D;
}

.titre_page {
    text-align: center;
    padding: 25px;
}

.titre_page span {
    font-weight: 200;
    text-transform: normal;
}

.page_simple {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 25px;
}

.wp-block-code {
    padding: 0;
    margin: 0;
}

.error404 .page {
    text-align: center;
    padding: 150px 25px;
}


/* ************************ PAGES DETAILS ************************ */

.page h1 {
    padding: 45px 0;
    font-weight: 900;
}

.page_detail_simple .page-content {
    padding: 0 25px;
    max-width: 1180px;
    margin: 0 auto;
}

.wp-block-image {
    margin: 0;
}

.wp-block-image img {
    width: 100%;
}

.wp-block-image figcaption {
    font-style: italic;
    color: #5CB1B5;
}

.a_telecharger a {
    position: relative;
    padding-left: 25px;
}

.a_telecharger a::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    transform: translate(0, -50%);
    width: 15px;
    height: 15px;
    background-image: url(/wp-content/uploads/2019/12/telechargement_01.svg);
    background-size: contain;
    background-repeat: no-repeat;
}

.page-content ul {
    padding-bottom: 25px;
}

.page-content ul li {
    padding-bottom: 5px;
    line-height: 1em !important;
}

.contener_infos_compl {
    max-width: 500px;
    margin: 0 auto;
}

.page_detail_simple {
    display: flex;
    justify-content: center;
}

.wp-block-file > a {
    display: inline-block;
    padding-bottom: 5px;
}

.tadv-background-color {
    display: inline-block;
    padding: 5px;
}


/* ************************ PAGES SPECIFIQUES ************************ */

.page_detail_specifique {
    display: flex;
}

.page_detail_specifique .partie_gauche {
    width: 60%;
    background-color: #eeeeee;
}

.page_detail_specifique .partie_droite {
    width: 40%;
    max-width: 400px;
    margin: 0 auto;
    background-color: white;
    padding: 25px 85px 25px 25px;
}






/* ************************ PAGE BULLETINS ************************ */

#le-journal-bro-lokireg ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#le-journal-bro-lokireg ul li {
    list-style: none;
    margin: 15px;
}

#le-journal-bro-lokireg ul li img {
    width: 150px;
    cursor: poointer;
    transition: all 0.3s ease;
}

#le-journal-bro-lokireg ul li:hover img {
    box-shadow: 5px 5px 5px rgba(0,0,0,0.3);
}




/* ************************ PAGE DELIBERATIONS ************************ */

#deliberations-des-conseils-municipaux ul {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

#deliberations-des-conseils-municipaux ul li {
    list-style: none;
    margin: 15px;
    max-width: 280px;
}

#deliberations-des-conseils-municipaux h2 {
    font-weight: 100;
    text-align: center;
}

#deliberations-des-conseils-municipaux a {
    color: black;
}

#deliberations-des-conseils-municipaux strong {
    font-weight: 900;
    color: #5CB1B5;
}






/* ************************ PAGE EQUIPE MUNICIPALE ************************ */

ul.liste_equipe_municipale {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
}

ul.liste_equipe_municipale li {
    position: relative;
    list-style: none;
    width: 25%;
    height: 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-left: 0 !important;
}

ul.liste_equipe_municipale h2 {
    font-weight: bolder;
}

ul.liste_equipe_municipale li img {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 0;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: grayscale(1);
}

.contenu_equipe_municipale {
    position: relative;
    z-index: 9;
    background-color: #E2CC13;
    width: 100%;
    height: 100%;
    padding: 25px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    opacity: 0;
    transition: all 0.3s ease;
}

ul.liste_equipe_municipale li:hover .contenu_equipe_municipale {
    opacity: 1;
}

.fonction {
    font-style: italic;
}






/* ************************ PAGE PARTENAIRES ************************ */

#partenaires ul {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

#partenaires ul li {
    list-style: none;
}

#partenaires ul li img {
    width: 200px;
    padding: 25px;
}

#partenaires #morlaix-communaute img {
    width: 140px;
}



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

#header {
    display: flex;
    justify-content: center;
    flex-direction: column;
    align-items: center;
}

.header_pages .logo {
    padding: 25px 25vw;
    box-sizing: content-box !important;
}

.header_accueil .logo {
    padding: 25px;
}

.logo {
    width: 280px;
    padding: 25px;
    display: block;
}

.contener_logo {
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: center;
}

.wrapper_slider,
.wrapper_photo,
.wrapper_video {
    position: relative;
    width: 100%;
    min-height: 600px; 
    display: flex;
    align-items: center;
    overflow: visible;
}

.home .wrapper_slider,
.home .wrapper_photo,
.home .wrapper_video {
    justify-content: center;
}

.wrapper_slider {
    display: none;
}

.photo_accueil {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}


/* *** VIDEO *** */


#video_header {
    position: absolute;
    z-index: -1;
    top: 50%;
    left: 50%;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    transform: translateX(-50%) translateY(-50%);
}


/* *** FLASH INFO *** */

.flash_info {
    background-color: #c9c2a4;
    width: 100%;
    padding: 10px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.3);
    position: relative;
    top: 0;
    left: 0;
    z-index: 99;
    display: flex;
    justify-content: center;
    align-items: center;
}

.flash_info p {
    padding: 0;
}

.flash_info strong {
    text-transform: uppercase;
    padding: 0 5px;
    color: black;
}



/***** BACKGROUND SLIDER *****/

#background-slider, .background-slider{
    position: absolute;
    top: 0;
    bottom: 0%;
    left: 0;
    right: 0;
    z-index: -11;

}
.slide{
    opacity: 0;
    position: absolute;
    top: 0;
    bottom: 0;
    left:0;
    right: 0;
    -webkit-transition: opacity 400ms ease-in;
    -moz-transition: opacity 400ms ease-in;
    transition: opacity 400ms ease-in;
}
.slide.active{
    opacity: 1 !important;
}









/* *** METEO *** */

#information-climatique {
    width: 150px;
    position: absolute;
    top: 0px;
    right: 0;
    z-index: 99999999999999999999999;
    transition: all 0.3s ease;
}

#information-climatique.active {
    right: 0;
}

.wcp-openweather-content-tbl tr,
.wcp-openweather-default-shortcode .wcp-openweather-content .wcp-openweather-now-details {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.wcp-openweather-now-details-row {
    width: 100% !important;
}

.wcp-openweather-default-shortcode .wcp-openweather-content .wcp-openweather-now-details .wcp-openweather-now-details-row .wcp-openweather-now-details-row-content {
    padding: 5px !important;
    margin: 5px !important;
}

.wcp-openweather-options-wrapper {
    display: none;
}

.wcp-openweather-container {
    padding: 0 !important;
    text-align: center;
    display: inline-block !important;
    width: 100%;
}

.wcp-openweather-day-wrapper {
    padding: 5px !important;
    display: inline-block;
    width: 100%;
    text-align: center !important;
}

.wcp-openweather-day {
    text-align: center !important;
}

.wcp-openweather-content {
    padding-top: 10px !important;
}

#information-climatique a {
    display: flex;
    justify-content: center;
    background-color: #5CB1B5;
    color: white;
    font-weight: bolder;
    text-decoration: none;
    padding: 15px;
}

#information-climatique a p {
    padding: 0;
}

#information-climatique::before {
    display: none;
    position: absolute;
    top: 0;
    right: 100%;
    z-index: 11;
    width: 50px;
    height: 50px;
    content: "";
    background-image: url(/wp-content/uploads/2019/09/picto_temps_01.svg);
    padding: 5px;
    background-repeat: no-repeat;
    background-position: center;
    background-color: #c9c2a4;
    cursor: pointer;
}







/* ************************ NAVIGATION ************************ */

nav {
    width: 100%;
    position: relative;
    z-index: 99;
}

.header_pages nav {
    margin-bottom: -60px;
}

#mega-menu-wrap-Top {
    width: 100%;
}

#mega-menu-wrap-Top #mega-menu-Top {
    padding: 10px !important;
}

#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-item {
    border-left: solid 1px white !important;
}

#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-item:first-child {
    border-left: solid 0px white !important;
}

#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-item > a {
    text-transform: uppercase !important;
}

li.mega-menu-row > ul.mega-sub-menu {
    display: flex !important;
    justify-content: space-between;
    max-width: 1200px;
    margin: 0 auto !important;
}

#mega-menu-wrap-Top #mega-menu-Top li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-row > ul.mega-sub-menu > li.mega-menu-columns-3-of-12 {
    max-width: 400px;
}

#mega-menu-item-50 > .mega-sub-menu {
    background-color: #5CB1B5 !important;
}

#mega-menu-item-49 > .mega-sub-menu {
    background-color: #E2CC13 !important;
}

#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link, 
#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item > a.mega-menu-link {
    color: black !important;
    padding-bottom: 10px;
}

#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-megamenu > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link, 
#mega-menu-wrap-Top #mega-menu-Top > li.mega-menu-megamenu > ul.mega-sub-menu li.mega-menu-column > ul.mega-sub-menu > li.mega-menu-item li.mega-menu-item > a.mega-menu-link {
    color: white !important;
    font-weight: 600 !important;
    line-height: 1.1em !important;
    padding-bottom: 10px !important;
}

#mega-menu-Top > li > ul.mega-sub-menu {
    box-shadow: 5px 5px 25px rgba(0,0,0,0.5) !important;
}


ul#menu_annexe_smartphone li a {
    display: flex;
    align-items: center;
}


/* *** OUTIL DE RECHERCHE *** */

.searchandfilter {
    position: absolute;
    top: 50%;
    right: 0;
    transform: translate(0, -50%);
}

.searchandfilter input[type="text"] {
    background: transparent;
    border: none;
    color: white;
    padding: 3px 5px;
    border-bottom: solid 2px white;
    font-size: 0.8em;
    font-style: italic;
    font-weight: 600;
}

.searchandfilter input[type="submit"] {
    color: #5CB1B5;
    background-color: white;
    border: none;
    text-transform: uppercase;
    font-size: 0.8em;
    font-weight: 500;
    padding: 7px;
    border-radius: 60px;
    cursor: pointer;
}

.searchandfilter li {
    margin-left: 0 !important;
}



.page-recherche {
    max-width: 900px;
    margin: 25px auto;
}

ul.resultats-recherche {
    list-style: none;
}

ul.resultats-recherche li {
    padding-bottom: 25px;
}

.page_suivante {
    text-align: center;
}


.fb_header {
    position: absolute;
    top: 50%;
    right: 235px;
    transform: translate(0, -50%);    
}


/* ************************ MENU ANNEXE ************************ */

#menu_annexe {
    position: absolute;
    top: 460px;
    right: 0;
    z-index: 99;
    overflow: hidden;
}

.header_pages #menu_annexe {
    top: 115px;
}

#menu_annexe li {
    position: relative;
    right: -178px;
    list-style: none;
    background-color: #5CB1B5;
    margin-bottom: 5px;
    box-shadow: 2px 2px 5px rgba(0,0,0,0.5);
    transition: all 0.3s ease;
}

#menu_annexe li:hover {
    right: 0;
}

#menu_annexe.scrolled {
    position: fixed;
    top: 140px;
}

#menu_annexe.scrolled {
    position: fixed;
    top: 10px;
}

#menu_annexe li a {
    display: flex;
    align-items: center;
    color: white;
    text-decoration: none;

}

#menu_annexe li p {
    padding-left: 8px;
    padding-right: 5px;
    padding-bottom: 0;
}


/* *** MENU RESPONSIVE *** */

#responsive-menu-container #responsive-menu-title {
    display: flex;
    justify-content: center;
}

#responsive-menu-container #responsive-menu-title #responsive-menu-title-image {
    background-color: white;
    border-radius: 780px;
    width: 200px;
    height: 200px;
    display: flex !important;
    justify-content: center;
    align-items: center;
}

#responsive-menu-container #responsive-menu-title #responsive-menu-title-image img {
    padding: 30px;
}





/* ************************ PAGE ACCUEIL ************************ */

.mea_accueil {
    display: flex;
}

.mea_accueil img {
    width: 60%;
    height: 580px;
    object-fit: cover;
}

.mea_accueil .contenu_mea_accueil {
    width: 40%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 25px;
    max-width: 500px;
    margin: 0 auto;
}

#mea_decouverte_patrimoine .contenu_mea_accueil,
#mea_camping_municipal .contenu_mea_accueil {
    padding: 25px 80px 25px 25px;
}

.intro_page {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 25px;
}

#intro_accueil {
    background-color: #eeeeee;
    padding: 45px 0;
}

/* *** MEA ACTU ACCUEIL *** */

.actu_smartphone {
    display: none;
}

#wrapper_actu_accueil {
    display: flex;
}

#wrapper_actu_accueil > div {
    width: 50%;
}

#wrapper_actu_accueil img {
    object-fit: cover;
    width: 50%;
}

.actu_accueil_texte {
    padding: 25px;
}

.actu_accueil_texte .liste-articles {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    height: 100%;
}

.liste-articles .article {
    padding-bottom: 25px;
    margin-bottom: 25px;
    border-bottom: solid 1px grey;
}

.date-article {
    font-style: italic;
    color: #5CB1B5;
    padding: 5px 0;
}

.bouton_actu_accueil {
    display: flex;
    justify-content: center;
    max-width: 450px;
}

#wrapper_actu_accueil #liste-articles-accueil{
    height: 350px;
    overflow-y: scroll;
    padding-right: 25px;
}

#wrapper_actu_accueil #liste-articles-accueil a{
    color: black;
    text-decoration: none;
}
.images-actus{
    opacity: 0;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 50%;
    transition: all 0.3s ease;
}
.article-accueil{
    position: relative;
}

.wrapper_bouton_mea_actu {
    padding: 50px 0 50px 0;
    box-shadow: 0 20px 20px rgba(0,0,0,0.07);
}

/* *** MEA PICTOS ACCUEIL *** */

#wrapper_mea_bienvenue {
    display: flex;
    justify-content: center;
    max-width: 1600px;
    margin: 50px auto 0 auto;
}

#wrapper_actu_accueil {
    width: 70%;
    max-height: 400px;
    background-color: #EAEAEA;
    position: relative;
}

#mea_picto_accueil {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 30%;
}

#mea_picto_accueil li {
    margin: 5px;
    background-color: #5CB1B5;
    list-style: none;
    width: 120px;
    height: 120px;
    transition: all 0.3s ease;
}

#mea_picto_accueil li:hover {
    box-shadow: 4px 4px 8px rgba(0,0,0,0.3);
}

#mea_picto_accueil li a {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    height: 100%;
}




/* ************************ PAGES COMMERCES + ASSOCIATIONS ************************ */

ul.wrapper_commerces {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

ul.wrapper_commerces li {
    list-style: none;
    width: 340px;
    padding: 25px !important;
    margin: 15px !important;
    position: relative;
    border: solid 1px #f2f2f2;
}

ul.wrapper_commerces li > img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    box-shadow: 0 0 5px rgba(0,0,0,0.2);
}

ul.wrapper_commerces li > img.logo_defaut {
    object-fit: contain;
    padding: 25px;
}

#vie-associative ul.wrapper_commerces li > img,
#nos-artisans ul.wrapper_commerces li > img {
    object-fit: contain;
    box-shadow: inherit;
}

.wrapper_commerces li h2 {
    padding-top: 10px;
}

.lien_site_web {
    display: inline-block;
    color: #5CB1B5;
    font-weight: 900;
    padding-top: 15px;
}

.contenu_commerce p {
    text-align: justify;
}

.adherent_commerce {
    font-style: italic;
    color: white;
    background-color: #5CB1B5;
    padding: 5px;
    font-size: 0.9em;
    margin-bottom: 16px;
    display: inline-block;
    transform: rotate(-14deg);
    position: absolute;
    top: 20px;
    left: 10px;
    box-shadow: 4px 4px 0px rgba(0,0,0,0.2);
}

.horaires_commerce {
    background-color: #f4f4f4;
    padding: 15px;
    margin: 25px 0;
    text-align: center;
}

.adresse_commerce,
.lien_site_web {
    margin-bottom: 15px;
}

.horaires_commerce strong,
.adresse_commerce strong {
    padding-bottom: 10px;
    display: block;
    text-align: center;
}

.horaires_commerce p,
.adresse_commerce p {
    line-height: 1em !important;
}

.tel_commerce a {
    text-decoration: none;
    color: black;
}

.tel_commerce,
.adresse_commerce,
.lien_site_web {
    text-align: center;
    display: block;
}

.reseaux_commerce {
    text-align: center;
}

.reseaux_commerce img {
    width: 25px !important;
    height: 25px !important;
    margin: 4px;
}

.yrm-content p {
    color: black !important;
}


/* ************************ PAGE ACTU RUBRIQUE ************************ */

.blog h1 {
    padding: 45px 0;
    font-weight: 900;
}

.blog .liste-articles .article_detail h3 {
    padding-top: 10px;
}

article.blog {
    max-width: 1500px;
    margin: 0 auto;
    padding-bottom: 60px;
}

.blog .liste-articles {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.blog .liste-articles .article_detail {
    width: 400px;
    margin: 25px;
    padding: 25px;
    background-color: #EAEAEA;
}

.blog .liste-articles .article_detail img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}




/* ************************ PAGE ACTU DETAIL ************************ */

.wrapper_header_article {
    min-height: 0;
    height: auto;
    overflow: initial;
}

.wrapper_header_article nav {
    position: relative;
}

.post {
    max-width: 1023px;
    margin: 0 auto;
    padding: 25px;
}

.post h1 {
    padding: 25px 0;
}

.post .date_article {
    text-align: center;
}

.photo_article {
    padding: 25px 0;
    width: 100%;
}


/* ************************ PAGE GALERIE ************************ */

/* *** PHOTOS *** */

.wrapper_galerie ul li {
    list-style: none;
}

.wrapper_galerie {
    min-height: 100vh;
}

#waterfall { 
    margin: 10px; 
}

#waterfall li {
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(100px);
}

#waterfall li.show {
    opacity: 1;
    transform: translateY(0);
    transition: all 0.3s, top 1s;
}

#waterfall li > div {
    margin: 0.4vw;
    transition: all 0.5s;
}

#waterfall li > div:hover {
    transform: translateY(-10px);
    transition: all 0.3s;
}





/* *** VIDEOS *** */

ul#liste_videos {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

ul#liste_videos li {
    list-style: none;
    margin: 25px;
}










/* ************************ PAGE CONTACT ************************ */

.wpcf7-form-control-wrap input,
.wpcf7-form-control-wrap textarea  {
    width: 100%;
    margin-bottom: 10px;
    font-family: 'Raleway', sans-serif !important;
    font-size: 0.9em !important;
    border: none !important;
    padding: 10px;
}

#contact .partie_principal {
    max-width: 600px;
    margin: 0 auto;
}

.formulaire_a_savoir,
.politique_de_confidentialite {
    font-size: 0.9em;
    color: grey;
    text-align: center !important;
    margin: 0 auto;
    display: block;
}

.politique_de_confidentialite input {
    width: inherit !important;
}

.bouton_envoyer {
    text-align: center;
    margin: 25px 0;
    cursor: pointer;
}

.bouton_envoyer .wpcf7-submit {
    border: none !important;
    background-color: #5CB1B5;
    color: white !important;
    font-size: 1.2em;
    padding: 5px 15px;
    text-transform: uppercase;
}

.span.wpcf7-list-item {
    margin: 0 !important;
}

.wpcf7-form p {
    padding-bottom: 0 !important;
}

div.wpcf7 input[type="file"] {
    border: none !important;
    padding-left: 0 !important;
    margin-bottom: 0 !important;
}

.fichier_joint {
    background-color: white;
    padding: 15px;
    font-style: italic;
    border: none;
}

.fichier_joint span {
    padding-bottom: 5px;
    display: block;
}

div.wpcf7-mail-sent-ok {
    border: 2px solid #5CB1B5;
}





/* ************************ PAGES RUBRIQUES ************************ */

.liste-sous-pages {
    display: flex;
    justify-content: flex-start;
    flex-wrap: wrap;
}

.element_sous_page {
    margin: 15px;
    max-width: 250px;
    width: 100%;
}

.element_sous_page img {
    width: 100%;
    height: 250px;
    object-fit: cover;
}

.element_sous_page a {
    text-decoration: none;
    text-align: center;
}






/* ************************ FOOTER ************************ */

#footer article {
    display: flex;
    justify-content: center;
    color: white;
}

#footer article section {
    position: relative;
}

#footer article section.footer_bloc_logos {
    width: 25%;
}

#footer article section.footer_bloc_contact {
    width: 50%;
}

#footer article section.footer_bloc_map {
    width: 25%;
}

#map > iframe {
    min-height: 300px;
}

#footer h2,
#footer h3 {
    text-align: center;
}

#footer article.footer_contenu a {
    color: white;
    text-decoration: none;
    display: block;
    padding: 0 5px 0 5px;
}

.footer_bloc_contact {
    background-color: #5CB1B5;
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    padding: 25px 25px 25px 65px;
}

.footer_bloc_logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
}

.footer_bloc_logos a img {
    width: 100%;
    margin: 25px;
    max-width: 110px;
}

#logo_morlaix_communaute {
    width: 77px;
}

.wrapper_coordonnees_footer {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
}

.wrapper_coordonnees_footer > div {
    width: 33%;
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-width: 150px;
}

.wrapper_coordonnees_footer > div img {
    margin-bottom: 10px;
}

.horaires_footer p {
    line-height: 1.2em !important;
}


/* *** INFOS PRATIQUES *** */

.infos_pratiques {
    background-color: #C9C2A4;
    display: flex;
    justify-content: center;
    box-shadow: 5px 5px 22px rgba(0,0,0,0.4) inset;
}

.infos_pratiques a {
    color: white;
    padding: 25px 5vw;
    text-align: center;
    text-transform: uppercase;
    font-weight: 700;
    text-decoration: none;
}

.infos_pratiques a img {
    display: block;
    margin: 0 auto;
    padding-bottom: 15px;
}



/* *** COPYRIGHT *** */

#copyright {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    padding: 10px;
}


/* *** LE STUDIO *** */

.lestudio {
    background-color: black;
}

.lestudio a {
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-family: "Tuffy";
    text-decoration: none;
    font-size: 0.9em;
}

.lestudio p {
    line-height: initial;
    margin-bottom: 0 !important;
}

.lestudio img {
    margin: 5px;
}

.lestudio span {
    font-size: 0.8em;
    font-weight: lighter;
}


/* *** TARTE AU CITRON *** */

#tarteaucitronAlertBig #tarteaucitronPersonalize {
    background-color: green !important;
}

#tarteaucitronAlertBig #tarteaucitronCloseAlert {
    background-color: white !important;
}



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

@media only screen and (max-width : 1300px) {
    #mea_picto_accueil li {
        width: 100px;
        height: 100px;
    }

    ul.liste_equipe_municipale li {
        width: 33.33333%;
    }

}

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

    .triangle {
        display: none;
    }

    .footer_bloc_contact {
        padding: 25px;
    }

    .searchandfilter {
        position: initial;
        transform: none;
        width: 100%;
        text-align: center;
        background-color: rgba(0,0,0,0.2);
        padding: 25px;
    }

    .header_pages #menu_annexe {
        top: 145px;
    }

    .wrapper_slider, 
    .wrapper_photo, 
    .wrapper_video {
        min-height: 380px;
    }

}

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

    .footer_bloc_contact {
        padding: 25px;
    }

    #wrapper_mea_bienvenue,
    #wrapper_actu_accueil {
        flex-direction: column;
    }

    #wrapper_actu_accueil,
    #mea_picto_accueil,
    #wrapper_actu_accueil > div {
        width: 100%;
    }

    #wrapper_actu_accueil img {
        width: 100%;
        height: 450px;
    }

    #mea_picto_accueil {
        margin-top: 25px;
    }

    #wrapper_actu_accueil {
        max-height: inherit;
    }

    nav {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .fb_header {
        right: 25px;
        top: 33%;
    }

    #information-climatique {
        right: -150px;
        top: 0;
    }

    #information-climatique::before {
        display: block;
    }

    .wrapper_commerces li,
    .contener_association {
        width: 50%;
    }

    .actu_smartphone {
        display: block !important;
    }

    .actu_descktop {
        display: none !important;
    }

    #menu_annexe {
        top: 170px;
    }

    #footer article {
        flex-direction: column;
    }

    #footer article section {
        width: 100% !important;
    }

    .page_detail_specifique {
        flex-direction: column;
    }

    .page_detail_specifique > section {
        width: 100% !important;
    }

    .partie_droite {
        order: 1;
    }

    .partie_gauche {
        order: 2;
    }

    .liste-sous-pages {
        justify-content: center;
    }

    ul.wrapper_commerces {
        justify-content: center;
    }
}

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

    .mea_accueil {
        flex-direction: column;
    }

    .mea_accueil img {
        order: 1;
        width: 100%;
    }

    .mea_accueil .contenu_mea_accueil {
        order: 2;
        width: 100%;
    }

    nav {
        display: none;
    }

    ul.liste_equipe_municipale li {
        width: 50%;
    }

    #mea_decouverte_patrimoine .contenu_mea_accueil, 
    #mea_camping_municipal .contenu_mea_accueil {
        padding: 25px;
    }

    .page_detail_specifique .partie_droite {
        padding: 25px;
    }

    .mea_accueil img {
        height: inherit;
        object-fit: contain;
    }

    .wrapper_photo {
        min-height: inherit;
    }

    .header_pages .photo_accueil {
        object-fit: contain;
        position: inherit;
    }

    #header {
        overflow: hidden;
    }

}

@media only screen and (max-width: 480px) {
    .wrapper_coordonnees_footer > div {
        width: 100%;
    }

    ul.liste_equipe_municipale li {
        width: 100%;
    }

    .wrapper_commerces li,
    .contener_association {
        width: 100%;
    }

    #header .wrapper_video a.contener_logo,
    #header .wrapper_slider a.contener_logo {
        width: 250px;
        height: 250px;
    }

    #menu_annexe {
        display: none;
    }

    .flash_info {
        padding-left: 85px;
    }

    .flash_info strong {
        display: none;
    }

    ul#liste_videos li iframe {
        width: 100%;
        height: auto;
    }

    .wrapper_video {
        display: none;
    }

    .wrapper_slider {
        display: block;
    }

    .page_detail_simple .partie_infos_complementaires {
        padding: 25px !important;
    }

}