/*
    Theme Name: face-morbihan
    Description: theme pour site FACE Morbihan
    Version: 1.0
    Author: AB
    Tags: responsive
*/

:root{
    --primary: black;
    --secondary: white;
    --blue-logo: rgba(36,136,143,1);
    --blue-light: rgba(110, 190, 159, 1);
    --orange: rgba(243, 169, 53, 1);
    --gris-footer: rgba(54, 54, 54, 1);
    --gris-copyright: rgba(34, 34, 34, 1);
}
@font-face{
    font-family: Oswald;
        src: url(fonts/oswald-variablefont_wght-webfont.woff)format('woff');
        font-weight: normal;
        font-style: normal;
}
@font-face{
    font-family: Lato;
        src: url(fonts/lato-regular-webfont.woff)format('woff');
        font-weight: normal;
        font-style: normal;
}
*{
    margin: 0;
    padding: 0;
}
h1, h2, h3{
    font-family: 'Oswald';   
    color: var(--blue-logo);
    text-transform: uppercase;
    padding-bottom: 8px;
}
li{
    list-style-type: none;
}
a{
    text-decoration: none;
}

body{
    font-family: 'Lato', Arial, sans-serif;
    position: relative;    
    width: 100%;
}

/* ============================= HEADER ========================= */

header{
    position: fixed;
    width: 100%;
    display: flex;
    z-index: 1;
    background-color: var(--secondary);
    height: 15vh;
    max-height: 90px;
    /* border-bottom: rgba(54, 54, 54, 1) 1px solid; */
}
#logo-header{
    height: 15vh; 
    max-height: 90px;
    width: auto;
}

.custom-logo{
    height: 100%;
    width: auto;
}
#bloc-menu{   
    width: 84%;    
}
.menu{
    display: flex;
    justify-content: right;
    padding: 24px;    
}
.menu li{
    padding: 10px;
    font-family: 'Oswald';
    text-transform: uppercase;
    position: relative;
}
.menu li a{    
    color: var(--primary);
}
#menu-item-989 a{
    color: var(--blue-logo);
}
.sub-menu{
    display: none;
}
.menu li:hover .sub-menu{
    display: block;
    position:absolute;
    top: 30px;
    left: -16px;
    background-color: var(--blue-light);
    width: 200%;
    padding: 8px 0 8px 16px;
    margin-top: 8px;
}
.menu .sub-menu li a{
    color: var(--secondary);
}
.burger{
    display: none;
}
.bloc-img{    
    display: flex;
    width: 100%;
    height: 75vh;  
    position: relative;
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.7) 80%); */
    /* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.7) 80%), url(img/team-g8c58b4fdd_1280.jpg);
    background-size: cover;
    background-position: center center; */
}

.bloc-img img{
    width: 100%;
    height: auto;
    object-fit: cover;
    object-position: center 35%;
    /* filter: grayscale(50%); */
   
    /* opacity: 0,5; */
}
/* .postid-979 #bloc-img{
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 29.17%, rgba(0, 0, 0, 0.7) 80%), url(http://localhost/wp-face/wp-content/uploads/2022/06/woman-g360969817_1920.jpg);
    background-size: cover;
    background-position: center center;
} */
.bg{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 75vh;
    /* background: linear-gradient(180deg, rgba(82, 139, 135, 0) 10%, rgba(82, 139, 135, 0.2) 30%); */
}
.main-title{
    width: 80%;
position: absolute;
top: 40vh;
left: 10vw;

/* background: linear-gradient(180deg, rgba(0, 0, 0, 0) 20%, rgba(0, 0, 0, 0.7) 80%); */
    /* margin: 300px auto;     */
}
h1{    
    font-weight: 400;
    font-size: 48px;    
    text-transform: uppercase;
    color: var(--secondary);
    margin-bottom: 48px;
}
#btn-title{
    font-family: 'Oswald';
    padding: 12px 16px;
    background-color: var(--secondary);
    color: var(--blue-logo);
    border-radius: 25px;
    width: 280px;
    height: 29px;
    font-weight: 400;
    font-size: 24px;
}
#btn-title:hover{
    background-color: var(--blue-logo);
    color: var(--secondary);
    border: solid 1px var(--secondary);
}
.main-container{
    width: 80%;
    margin: auto;    
}
.art-une{
    display: flex;
    justify-content: space-between;
    padding-top: 32px;
}
.text-une{
    width: 45%;
}
.title-blue{
    color: var(--blue-logo);
    font-weight: 400;
    font-size: 2.5rem;
    /* padding-top: 48px; */
}
.first-title{
    padding-top: 48px;
}
.text-une h3{
    color: var(--blue-light);
    padding: 56px 0 24px;
    font-weight: 400;
    font-size: 1.75rem;
}
.text-une h2{
    margin-bottom: 36px;
}
.text-une p{
    margin-bottom: 24px;
}
.text-une p:last-of-type{
    margin-bottom: 48px;
}
.btn-cta, form .btn-cta, .btn-cta-art{
    padding: 12px 16px;
   
    /* background: var(--orange); */
    border-radius: 25px;
    /* color: var(--secondary); */
    font-family: 'Oswald';
    font-weight: 600;
    font-size: 20px;
}
.btn-cta, form .btn-cta{
    /* padding: 12px 16px; */
    background: var(--orange);
    /* border-radius: 25px; */
    color: var(--secondary);
    /* font-family: 'Oswald';
    font-weight: 600;
    font-size: 20px; */
}
.btn-cta:hover, .has-spinner:hover{
    background-color: var(--secondary);
    color: var(--orange);
    border: solid 1px var(--orange);    
}
.btn-cta-art:hover{
    box-shadow: 10px 10px 10px grey;
}
.img-une{
    width: 45%;   
}
.img-une img{
    width: 100%;
    height: auto;    
    max-height: 450px;
    object-fit: cover;
}
#bloc-args{
    display: flex;
    justify-content: space-between;
    margin: 48px auto;
}
#bloc-args-left{
    width: 35%;
    padding: 24px 0;
    background-color: var(--secondary);
}
#bloc-args-right{
    width: 60%;
    background-color: var(--blue-logo);
    padding-left: 56px;    
}
#bloc-args-right h2{
    padding: 24px 0;
}
#bloc-args-right .arg-link{
    color: var(--secondary);
}
.art-arg{
    padding: 32px 0;
}
.art-arg p{
    padding: 8px 0 32px;
}
.title-white{
    color: var(--secondary);
}
#bloc-args-right ul{
    margin-bottom: 28px;
}
#bloc-args-right li{
    display: flex;
flex-direction: row;
align-items: flex-start;
padding: 7px 0;
gap: 5px;

font-size: 22px;
line-height: 36px;
color: var(--secondary);

}
#bloc-args-right span{
    display: block;
    text-align: center;
  
font-family: 'Oswald';

font-weight: 700;
font-size: 24px;
line-height: 38px;
width: 34px;
height: 34px;
border-radius: 50%;
background-color: var(--orange);
color: var(--primary);
}
.infoplus{
    display: flex;
    margin: 32px 0;
}
.infoplus p{
    padding: 16px 16px 0 0;
}
.infoplus .btn-cta{
    background-color: var(--blue-light);
}
.infoplus .btn-cta:hover{
    background-color: var(--secondary);
    color: var(--blue-light);
    border: solid 1px var(--blue-light);
}

/* ========================== PAGE ADHERENTS ======================= */

#logos-adherents{
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
    margin: 32px 0;
}
.bloc-logo-adh{
    width: 10%;    
}
.bloc-logo-adh img{
    width: 100%; 
    height: auto;   
}
.popup-adh img{
    width: auto;
    height: 100px;
}
.popup-adh h2{
    padding-top: 30px;
}

/* ============================== FOOTER =========================== */

#pied-page{    
    background-color: var(--gris-footer);
    padding: 24px 0;
    color: var(--secondary);
    width: 100%;
    margin: auto;
    display: flex;
    justify-content: space-between;
    padding: 32px 16px;
}
#pied-page h2{
    font-weight: 100;
    margin-bottom: 16px;
}
/* #logos, #bloc-trouver, #bloc-suivre-mentions{
    width:30%;
} */
#logos, #bloc-suivre-mentions{
    width:25%;
}
#bloc-trouver{
    width:40%;
}
#bloc-suivre-mentions{
    width:30%;
}
#logos #logo-face{
    width: 50%;
}
#logos #logo-face img{
    width: 100%;
}
#bloc-trouver i{
    padding-right: 10px;
}
#bloc-trouver p, #bloc-suivre p{
    padding-bottom: 16px;
}
#bloc-trouver #antenne{
    padding-left: 21px;    
}
#bloc-suivre-mentions #bloc-suivre{
    width: 100%;
}
#bloc-suivre-mentions #bloc-suivre ul{
    display:flex;   
}
#bloc-suivre-mentions #bloc-suivre ul li{
    padding: 0 10px 0 0;
}
/* #bloc-suivre-mentions #bloc-suivre ul .is-style-logos-only{
    color:red;
} */
/* #bloc-suivre i{
    font-size: 2rem;
    margin-right: 16px;
    color: var(--secondary);
} */
#bloc-suivre a, #bloc-mentions a{
    color: var(--secondary);
}
#bloc-mentions #menu-mentions-legales{
    display: flex;
    flex-direction: column;
    padding-left: 0;
}
#bloc-mentions li{
    padding: 10px 0 0 0;
}
#bloc-mentions a{
    font-family: 'Lato';
    text-transform: none;
}
#copyright{
    width: 100%;
    background-color: var(--gris-copyright);
    color: var(--secondary);
    font-weight: 100;
    padding: 16px;
}
/* ================================ CARD ========================= */

.main-container{
    width: 80%;
    margin: auto;
    padding: 32px 0;
}
.intro-cards{
    font-size: 1.3rem;
    font-family: 'Oswald';
    font-weight: 100 ;
    /* font-style: italic; */
}
#cards{
    /* width: 80%;
    margin: auto; */
    display: flex;
    flex-wrap: wrap;
    padding: 16px 0 48px;
    justify-content: space-around;
    
}
.card{
    width: 30%;
}
.card h2{
    color: var(--blue-logo);
    padding: 48px 0 24px;
}
.bloc-img-card{
    display: flex;
    width: 90%;
    height: 50vh;
    margin: 0 0 32px;
    position: relative;
}
.card img{
    width: 100%;
    height: auto;
    /* max-height: 200px; */
    object-fit: cover;
    object-position: center;
}
.card p{
    padding: 8px 0;
}

.card p:nth-child(4){
    margin-bottom: 24px;
    color: var(--blue-light);
}
/* #cards .card .btn-cta{
   display: block;
   margin-top: 60px;
} */

/* ======================= POPUP ====================*/

.overlay{    
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1;
}
.overlay:target{
    visibility: visible;
    opacity: 1; 
}
.popup, .popupIndex {
    margin: 25vh auto;
    padding: 24px;
    background: #fff;
    border-radius: 5px;
    width: 30%;
    position: relative;
    transition: all 5s ease-in-out;    
  }
  .popupIndex{
    margin-top: 15vh;
    width: 50vw;
    height: 60vh;
    display: flex;
    padding: 0 24px 0 0;
}
  .popup-img{
      width: 70%;
      margin-right: 24px;
      /* background-image: url('img/20211021_183858.jpg');
      background-size: cover;
      background-position: -80px; */
  }
  .popup-img img{
    height: 100%;
    width: 100%;
    object-fit: cover;
    /* object-position: center bottom; */
  }
  .popup-text{
      width: 50%;
      padding-top: 16px;
  }
  .popup-title{
      margin: 16px 0 0;
  }
  .popupIndex h3 {
    margin: 24px 0 8px;
    color: var(--blue-logo);
    /* font-family: Tahoma, Arial, sans-serif; */
  }
  .popup .close, .popup-text a.close{
    position: absolute;
    top: 20px;
    right: 30px;
    transition: all 200ms;
    font-size: 30px;
    font-weight: bold;
    text-decoration: none;
    color: var(--primary);
  }
  .popup .close:hover, .popup-text a:hover {
    color: var(--blue-logo);
  }
  /* .popup .content, .popupIndex .content {

      /* padding-top: 24px; */
    /* max-height: 50%;
    overflow: auto; */
  /* } */
  
  @media screen and (max-width: 700px){
    .box{
      width: 70%;
    }
    .popup{
      width: 70%;
    }
  }
/* #popup{
    display: block;
    background-color: bisque;
    opacity: 0.8;
    position: absolute;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vw;
    z-index: 1;
    
} */


/* .bloc-logo-adh img:hover .popup{
    display: block;
}
     */

/* ========================= PAGE CONTACT ======================= */

#contact-bloc{
    display: flex;
    margin-top: 32px;
}
#contact-text{
    padding-right: 56px;
    padding-top: 56px;
}
.wpcf7{
    width: 100%;
    background-color: var(--blue-logo);
    padding: 48px;
}
.wpcf7 p{
    padding-bottom: 32px;
    color: var(--secondary);
}
.wpcf7 label{
    display: block;
}
.wpcf7 input, .wpcf7 textarea, .wpcf7 select{
    display: block;
    padding: 8px;
    font-size: 1rem;
    width: 400px;
    color: var(--primary);
    font-family: 'Lato';
    background-color: var(--secondary);
    border: none;    
}
.wpcf7 select{
    width: 200px;
}
input[type=checkbox]{
    width: 20px;
    height: 20px;
    margin-left: 0;
}
.wpcf7-list-item{
    margin-left: 0;
}
.wpcf7-list-item label{
    display: flex;
    margin-top: 32px;
}
.wpcf7-list-item-label{
    display: block;
    width: 400px;
    padding-left: 8px;
}
input[type=submit]{
    padding: 12px 16px;
    background: var(--orange);
    border-radius: 25px;
    color: var(--secondary);
    font-family: 'Oswald';
    font-weight: 600;
    font-size: 20px;
    width: 200px;
}
#bloc-single{
max-width: 100vw;
    max-height : 10vh;
    background-color: aqua;
}
#bloc-single img{
    width: 100%;
    height: auto;
}
#imgenavant{
    width: 100%;
    height: 100%;
}
#imgenavant img{
    width: 100%;
}
.cat-title, .cat-desc{
    color: var(--secondary);
}

/* ======================= MENUS CATEGORIES ET ACTUALITES ================== */

#menu-categories-actions, #menu-categories-actualites{
    display: flex;
    flex-direction: row;
    justify-content: left;
}
#menu-categories-actions li, #menu-categories-actualites li{
    padding: 16px;
    border: 1px solid var(--blue-logo);
    border-radius: 25px;
    margin: 8px;
}
#menu-categories-actions li a, #menu-categories-actualites li a{
    color: var(--blue-logo);
    font-size: 1.2rem;
}
#menu-categories-actions li:hover, #menu-categories-actualites li:hover{
    background-color: var(--blue-logo);    
}
#menu-categories-actions li:target, #menu-categories-actualites li a:target{
    background-color: aqua;
}
#menu-categories-actions li a:hover, #menu-categories-actualites li a:hover{
    color: var(--secondary);
}

/* ===================================== SINGLE ==================================== */

.bloc-1{
    margin-bottom: 32px;
}
.interets{
    display: flex;
    justify-content: space-between;   
}
.art-deux{
    margin: 80px 0 64px;
    width: 45%;
}
.art-deux h2{
    color: var(--primary);
    padding-bottom: 32px;
}
.art-deux p{
    padding-bottom: 16px;
}
.bloc-5{
    margin-top: 32px;
}
.bloc-couleur{
    padding: 32px;
    color: var(--secondary);
}
.bloc-video{
    width: 200px;
    height: 150px;
}
.bloc-video video{
    width: 100%;
    height: auto;
}
.intro-video{
    margin: 56px 0 24px;
}
.video-responsive { 
    overflow:hidden; 
    padding-bottom:30%; 
    position:relative; 
    height:0;
}
.video-responsive p {
left:0; 
top:0; 
height:100%;
width:100%;
position:absolute;
}
.illustration{
    text-align: center;
}
.illustration{
    width: 100%;
    /* margin-top: -24px; */
    margin-bottom: 56px;
}
.illustration img{
    width: 100%;
}
label{display: none;}
input{display: none;}

/* ====================== MEDIAQUERIES ================== */

@media (max-width: 748px){
    
body{
    max-width: 748px;
    width: 100%;
}
header{
    max-height: 60px;
}
#logo-header{
    max-height: 60px;
}
/* .custom-logo{
    width: 30vw;
} */
.menu{
   display: none;
}
.burger{
    display: block;
    width: 65vw;
    padding: 8px 32px 8px 0;
    text-align: right;
    font-size: 2rem;
    color: var(--blue-logo);
}
.test{
    display: none;
}
label{display: block;}
#wrap:checked+.menu{
    display: block;
    position:absolute;
    /* z-index: 10; */
    top: 60px;
    left: 0;
    background-color: var(--blue-light);
    width: 100%;
    padding: 8px 0 8px 16px;
    /* margin-top: 8px; */
}
#menu-item-989 a{
    color: var(--secondary);
}
#menu-item-1021 .sub-menu, #menu-item-959 .sub-menu, #menu-item-985 .sub-menu{
    display: none;
}
.burger i{
    font-size: 2rem;
    color: var(--blue-logo);
    position: relative;
}
.burger i:hover{
    color: red;
}

/* .menu{
    display: block;
    position:absolute;
    /* z-index: 10; */
    /* top: 100px;
    left: 100px;
    background-color: var(--blue-light);
    width: 200%;
    padding: 8px 0 8px 16px;
    margin-top: 8px;
} */
.bloc-img, .bg{
    max-height: 50vh;
}
.main-title{
    top: 20vh;
}
.main-container{
    width: 90%;
}
.art-une{
    padding-top: 8px;
    flex-direction: column-reverse;
}
.text-une, .img-une{
    width: 100%;
}
.title-blue{
    padding: 0;
    font-size: 2rem;
}
.text-une h3{
    font-size: 1.5rem;
}
.img-une{
    margin-bottom: 8px;
}
#bloc-args{    
    flex-direction: column;
    margin-top: 24px;
}
#bloc-args-left{
    width: 100%;
}
#bloc-args-right{
    width: 95%;
    padding: 16px 0 48px 16px;
}
#bloc-args-right li{
    font-size: 1.1rem;
}
#pied-page{
    flex-direction: column;
}
#logos, #bloc-trouver, #bloc-suivre{
    width: 100%;
    margin-bottom: 40px;
}
#logos #logo-face{
    width: 30%;
}
#logos #logo-face img{
    width: 100%;
}
#cards{
    flex-direction: column;
    padding-top: 0;
 
}
.card{
    width: 100%;
    margin-top: 16px;
    padding-bottom: 48px;
}
.card h2{
    padding-top: 0;
}
.bloc-img-card{
    height: 20vh;
}
iframe{
    width: 100%;
    height: 100%;
}
#contact-bloc{
    flex-direction: column;
    margin-top: 0;
}
#contact-text, #contact-form{
    width: 87%;
    padding-top: 16px;
}
#contact-text{
    margin-bottom: 56px;
}
#contact-form{
    padding-right: 0;
    padding-top: 48px;
    padding-bottom: 16px;
}
#contact-form input, #contact-form p{
    width: 80%;
}
.popupIndex{
    margin-top: 10vh;
    width: 80%;
    height:auto;
    flex-direction: column;
    padding: 24px;
}
.popup-text, .popup-img{
    width: 80%;
}
.popup-text a{
    display: block;
}
.popup-text{
    /* flex-direction: column; */
}
.bloc-logo-adh{
    width: 20%;    
}
.interets{
    flex-direction: column;
}
.interets article{
    width: 100%;
}

}