/*
Theme Name: DiviByOaiNot
Description: Child theme for Divi. You can now safely customize it and not risk losing your customizations.
Author: Oaï Not
Author URI: https://oai-not.com
Template: Divi
Version: 1.0
*/


/**TMP***/

#toggles {
  display: block;
  border-bottom: 1px solid white;
  border-bottom-width: medium;
  padding-bottom: 20px !important;
  border-bottom-style: double;
}

/*[data-flag="new"] {
  display: block;
}
[data-flag="block"] {
  display: block;
}*/


#pdf_widget ul{
  padding: 0 0 23px 3em !important;
}

/*list des new sejour*/
ul#list_sejours_new{
 /* display: none;*/
}

ul#list_sejours_new li a{
  color: white !important;
}

@media (max-width: 980px){
	
    .et_header_style_centered #main-header {
            padding: 10px 0;
        }
        
        .et_header_style_centered #logo{
      max-height: 80px
        }
    }
    
    
    
    
    .et-pb-contact-message{
        color : #ffffff !important;
    }
    
    #et-top-navigation{
        display:none;
    }
    
    .nv-sidebar-right .entry-content{
        padding-left: 5px;
    }
    
    .nv-sidebar-right .row_pdf_widget{
        font-size : 14px;
    
    }
    
    .row_pdf_widget a:hover, .highlight {
        /*font-weight: 700 !important;*/
        /*color: #ffe445 !important;*//*JAUNE*/
        color: #168099 !important;
        transition: 0.4s !important;
        font-weight: bold;
    }
    
    @media (min-width: 980px){
        #pdf_widget {
    columns: 3;
      -webkit-columns: 3;
      -moz-columns: 3;
    }
    }
    
    
    .imapsCircle-group + .imapsLabel-group {
        pointer-events: all !important;
    }
    
    .imapsLabel-group, .imapsLabel {
        cursor: pointer !important;
    
    }
    
    .imapsCircle {
        cursor: auto;
    }
    
    @media (min-width: 782px){
    .wp-block-column:not(:first-child) {
        margin-left: 0 !important;
    }
    }
    
    /* marche po
    .liste-sejours {
       
      background-color: #e89c4f !important;
    }*/
    
    .row_pdf_widget {
    
        list-style-type:disc;	
        text-underline-position: under;
            margin-top: 0px !important;
        margin-bottom:10px;
        color : #ffffff !important;
        text-decoration : none;
            transition: 0.3s;
    }
    
    .row_pdf_widget a{
        text-decoration : none !important;
        color : #ffffff;
    }
    
    ._df_thumb{
        width:200px;
        height:285px;
    }
     

  a.sejour{
    display: inline-block;
    position: relative;
    vertical-align: middle;
  }


  /*TOGGLE ZONE*/
  /*pastille new*/

  #toggles{
    margin: 30px 0;
  }

  #toggles ul{
    display: inline-block;
    vertical-align: bottom;
  }

  #toggles .txt{
     display: inline-block;
     color: white;
     margin-right: 20px;
     font-weight: 700;
  }

  #toggles .txt-filtre{
    display: none;;
    color: white;
    margin-left: 20px;
  }

  .pastille-new-list{
    display: inline-block;    
    background: url("pastille-new.png") no-repeat;
    background-size: contain;
    width: 50px; /* Largeur de l'image */
    height: 15px;
    margin-left : 5px;
    vertical-align: middle;
  }  
  
  #pastille-new-intro{
    background: url("pastille-new.png") no-repeat;
    background-size: contain;
    display: none;
    width: 88px;
    height: 25px;
    margin-left: 20px;
    vertical-align: middle;
  }

  .pastille-n{
  
    background: url("pastille-n.png") no-repeat;
    background-size: contain;
    width: 20px; /* Largeur de l'image */
    height: 20px; /* Hauteur de l'image */
    margin-left : 10px;
    vertical-align: middle; 
    display: inline-block;

  }

.tg-list{
  display: inline-block;
}
/*end toggle zone*/


  /*a.New{
    color: #30b3cc !important;
  }*/


/*TOGGLE BUTTONS PAGES SEJOUR*/

#toggles ul,
#toggles li {
  list-style: none;
  margin: 0;
  padding: 0;
}

.tg-list {
  text-align: center;
  display: flex;
  align-items: center;
}

.tg-list-item {
  margin: 0 2em;
}


.tgl {
  display: none;
  
  /*add default box-sizing for this scope*/
  &,
  &:after,
  &:before,
  & *,
  & *:after,
  & *:before,
  & + .tgl-btn {
    box-sizing: border-box;
    &::selection {
      background: none;
    }
  }
  
  + .tgl-btn {
    outline: 0;
    display: block;
    width: 4em;
    height: 2em;
    position: relative;
    cursor: pointer;
    user-select: none;
    &:after,
    &:before {
      position: relative;
      display: block;
      content: "";
      width: 50%;
      height: 100%;
    }
    
    &:after {
      left: 0;
    }
    
    &:before {
      display: none;
    }
  }
  
  &:checked + .tgl-btn:after {
    left: 50%;
  }
}

/* themes*/


.tgl-flat {
  + .tgl-btn {
    padding: 2px;
    transition: all .2s ease;
    background: #fff;
    border: 4px solid #f2f2f2;
    border-radius: 2em;
    &:after {
      transition: all .2s ease;
      background: #f2f2f2;
      content: "";
      border-radius: 1em;
    }
  }
  
  &:checked + .tgl-btn {
    border: 4px solid #7FC6A6;
    &:after {
      left: 50%;
      background: #7FC6A6;
    }
  }
}


/**COULEUR 2025*/
.page #page-container .et_pb_section .et_pb_button_0,
.page #page-container .et_pb_section .et_pb_button_1
{
  background-color: #70c0e7 !important;

  /*desactiver back button and download button l etemps de la création des brochures*/
 /* display: none;*/
}

.et_pb_text_0.et_pb_text,
.page .et_pb_text_0.et_pb_text{
  color:  #70c0e7 !important;
}


  
.page .et_pb_section_2.et_pb_section {
  background-color: #70c0e7 !important;
}
.home .et_pb_section_2.et_pb_section
{
background-color: #70c0e763 !important;
}


/*Désactiver brchures nuériques 2024 en ettendant la créatin des 2025*/
/*.df-popup-thumb  {
filter: grayscale(100%) blur(2px) !important;
cursor: default;
pointer-events: none !important;
}*/

/*
.home .df-popup-thumb  {
  filter: grayscale(100%) blur(2px) !important;
  cursor: default;
  pointer-events: none !important;

}*/


/*désactivation temporaire car bug chrome STATUS_BREAKDOWN*/
#toggles{
  display: none;
}
