/*
 Theme Name:   Com et Net Child
 Description:  Com et Net Child Theme
 Author:       com-et-net.com
 Author URI:   https://com-et-net.com/
 Template:     com-et-net
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Text Domain:  com-et-net
*/


:root {
  --color-title: #ffffff;
  --color-01: #B65A6A;
  --color-02: #0392AC;
  --color-03: #7E8F3A;
  --text-color: #000000;
  --bg-block-color: #DBDBDB;
  --font-family-base: "Lato", sans-serif;
  --font-family-title: "Belleza", serif;
  --text-shadow: 1px 2px 4px rgba(0, 0, 0, 0.75);
  --box-shadow: 2px 4px 5px rgba(0, 0, 0, 0.75);
}


body {
  font-family: var(--font-family-base)!important;
  font-weight: 400;
  font-style: normal;
  font-size:20px;
  color: var(--text-color);
  /*background-color:#f6f6f6;*/
}
main#primary{
  background: url(img/bg-sapins-neige.jpg) bottom right no-repeat;
}
main#primary > article > .entry-content {
  margin-top:0;
}
h1 {
  color: var(--color-title);
  font-weight: 600;
  line-height: 120%;
  text-transform: uppercase;
  margin-top: -240px;
  text-align: center;
  padding-left: 10%;
  padding-right: 10%;
  text-shadow: var(--text-shadow);
}
h2, h3 {
  line-height: 120%;
  color: var(--color-01);
  font-weight: 600;
  text-transform: initial;
  margin-bottom:10px;
}
.error-404 .page-header{
  text-align: center;
}
ul, ol {
  padding:0;
  margin-left:30px;
}
#breadcrumbWrap ol {
  margin-left:0;
  margin-bottom:0;
}
td,
th {
  border-width: 1px;
  padding: 5px;
}
.wpcf7 .label-contact {
  display: inline-block;
  width: 150px;
  font-weight: bold;
}
.astered {
  color: red;
}

.btn-cta button,
.btn-cta a {
  background-image:none!important;
  background-color: var(--color-01) !important;
  color: #fff !important;
  text-align: center !important;
  font-size:18px!important;
  border-radius: 5px !important;
  font-family: var(--font-family-base) !important;
  font-weight: bold!important;
  text-transform: uppercase;
  transition: box-shadow 0.3s; /* effet lisse */
  box-shadow: 0 2px 8px rgba(0,0,0,0.10);
  border: none;
  cursor: pointer;
}
.btn-cta button:hover,
.btn-cta button:focus,
.btn-cta a:hover,
.btn-cta a:focus {
  box-shadow: 0 4px 16px rgba(0,0,0,0.20);
  transform: translateY(-2px) scale(1.01);
  outline: none;
}

/************************************************************* HEADER*/
#masthead {
  position:absolute;
  top:20px; left:0;
  width:100%;
  z-index:3;
  margin:0;
}
#masthead.fixed {
  z-index:3;
}
#masthead.fixed #containerLogo {
  position:fixed;
  /*top:0;*/
  top:5px;
  z-index:4;
}
#masthead.fixed #containerLogo img {
  /*width:55px;*/
  width:20px;
}
#masthead.fixed #site-navigation {
  position: fixed;
  top: 0;
  background-color: var(--color-01);
}
#masthead.fixed nav#site-navigation ul,
#masthead.fixed #header-menu-01 ul {
  margin-top:0;
  margin-bottom:0;
  text-shadow:none;
}
#header-menu-01 {
  margin-bottom:15px;
}
#header-menu-01 ul {
  margin-right:20px!important;
}
#containerLogo {
  position:absolute;
  /*top:-30px;*/
  top:0;
  left:20px;
}
#containerLogo img {
  /*width:130px;*/
  width:80px;
}
nav#site-navigation {
  background-color:transparent;
  text-transform: uppercase;
  font-size: 1em;
  font-weight:700;
}
nav#site-navigation ul,
#header-menu-01 ul {
  display: flex;
  justify-content: end;
  align-items: center;
  list-style: none;
  margin: 5px 20px;
  padding: 0;
  text-shadow: var(--text-shadow);
}
/*nav#site-navigation ul {
  font-size: 0.80em;
}*/
#header-menu-01 ul {
  font-size: 0.70em;
}
nav#site-navigation li a {
  padding-left:13px;
  padding-right:13px;
}
nav#site-navigation li a:hover,
nav#site-navigation li a:focus {
  color: var(--color-01);
  text-shadow:none;
}
.lien-menu-offrir-sejour a {
  background-color:var(--color-02);
  text-shadow:none;
  border-radius:3px;
}
nav#site-navigation ul ul,
#header-menu-01 ul ul {
  flex-direction: column;
  margin:0;
  background-color:#fff;
}
nav#site-navigation ul ul a,
#header-menu-01 ul ul a {
  color:#000;
  text-shadow: none;
}
.menu-mobile a {
  display:none;
}
#masthead.fixed nav#site-navigation ul ul,
#masthead.fixed #header-menu-01 ul ul {
  flex-direction: column;
  margin:0;
  background-color:var(--color-01);
}
#masthead.fixed nav#site-navigation ul ul a,
#masthead.fixed #header-menu-01 ul ul a {
  color:#fff;
}
#masthead.fixed nav#site-navigation ul ul a:hover,
#masthead.fixed nav#site-navigation ul ul a:focus,
#masthead.fixed #header-menu-01 ul ul a:hover,
#masthead.fixed #header-menu-01 ul ul a:focus {
  color:var(--color-01);
}
#masthead.fixed .lien-menu-offrir-sejour a {
  border-radius:0;
}
#header-menu-01 li {
  margin:0 5px;
}
#header-menu-01 li a {
  color:#fff;
  text-decoration: none;
  transition:all 0.35s ease-in;
}
#header-menu-01 li a::before {
  content: "|";
  margin-right:10px; 
}
#header-menu-01 li:first-of-type a::before {
  content: "";
  margin-right:0;
}
.post-thumbnail {
  max-height: 600px;
  margin-bottom:10px;
  overflow-y: hidden;

  -webkit-mask: url(img/masque-header-02.png) no-repeat top / 100% 100%,;
  mask: url(img/masque-header-02.png) no-repeat center / 100% 100%;
}
.post-thumbnail::after {
  height: 100%;
  background: linear-gradient(180deg, rgb(0, 0, 0, 0.5) 0%, rgba(0,0,0,0.15) 100%);
}

/************************************************************* FOOTER*/

footer#colophon {
  padding-top:0;
  -webkit-mask: url(img/masque-footer.png) no-repeat top / 100% 100%,;
  mask: url(img/masque-footer.png) no-repeat center / 100% 100%;
}
#footer-l1 {
  position:relative;
  display: flex;
  padding:250px 50px 30px;
  color:#fff; 
  min-height:750px;
}
#footer-l1::before {
  content: '';
  position: absolute;
  inset: 0;
  background:
    linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.65)), /* ton voile sombre */
    url(/wp-content/uploads/112_1237-scaled-1-scaled.jpg) center/cover no-repeat; /* ton image */
  filter: grayscale(1);
  z-index: -1;
  background-attachment: fixed;
}
#footer-l1 a {
  color:#fff;
  text-decoration:none;
}
#footer-l1 > div {
  width:50%;
  position: relative;
  z-index:2;
  filter: grayscale(0);
}

#footer-l1C1 {
  gap:15px;
  display: flex;
  align-items: end;
}
#footer-l1C1 .custom-logo-link img {
  width:225px;
  display:block;
}

#footer-l1C1 #infosContact li {
  list-style-type: none;
  line-height: 110%;
  font-size:0.9em;
}
#footer-l1C1 #infosContact p {
  margin-bottom:0;
  line-height: 130%;
}
#footer-l1C2 {
  display:flex;
  flex-direction: column;
  justify-content: end;
}
#container-menus-footer {
  display: flex;
  flex-direction: row;
  gap:40px;
  font-size: 0.85em;
  color:#fff;
  margin-bottom:100px;
}
#container-menus-footer ul {
  list-style-type: none;
  margin-left:0;
  position:relative;
  margin-bottom:0;
}
#container-menus-footer ul:before {
  content:'';
  display:block;
  width:50px; height:3px;
  background-color:#fff;
  position:absolute;
  top:-15px; left:0;
}

#container-menus-footer a {
  transition: all 0.3s ease-in;
}
#container-menus-footer a:hover,
#container-menus-footer a:focus {
  color:var(--color-01);
}


footer#colophon .site-info {
  /*text-align:center;
  background-color:#000;*/
  padding:0 65px 0 0;
  font-size:0.9em;
}
#footer-partenaires-area {
  display: flex;
  justify-content: end;
  margin-bottom:5px;
  flex-wrap: wrap;
}
#footer-partenaires-area li {
  list-style-type: none;
  margin-bottom:0;
}
#footer-partenaires-area img {
  max-height: 50px;
  margin: 5px 5px 0;
  width: auto;
  padding:5px;
  background-color:#fff;
}

#containerMentionHRFooter {
  display:flex;
  flex-direction: row-reverse;
  align-items: center;
  font-weight: 900;
  gap:10px;
}
#containerMentionHRFooter:hover {
  text-decoration:underline;
}
#containerMentionHRFooter img {
  height:30px;
}

#containerSyncnote {
  text-align: right;
  padding-right: 45px;
}
#syncnoteAverageRatingHotelier #moyenneGlobale {
  color:#fff!important;
}

/************************************************************ CONTENT */




.rangee-brush-gris {
  --brush-height: 107px; /* hauteur de l'image définissant les brush */

  margin-top:25px;
  margin-bottom:25px;

  /* espace “contenu” + réserve pour les brush */
  padding-top: calc(20px + var(--brush-height));
  padding-bottom: calc(20px + var(--brush-height));

  /* 3 couches : top, bottom, fond gris uniquement au milieu */
  background-image:
    url("img/brush-top.png"),
    url("img/brush-bottom.png"),
    linear-gradient(
      to bottom,
      transparent 0,
      transparent var(--brush-height),
      #DBDBDB var(--brush-height),
      #DBDBDB calc(100% - var(--brush-height)),
      transparent calc(100% - var(--brush-height)),
      transparent 100%
    );

  background-repeat:
    repeat-x,
    repeat-x,
    no-repeat;

  background-position:
    top center,
    bottom center,
    top left;

  background-size:
    auto var(--brush-height),
    auto var(--brush-height),
    100% 100%;
}



.img-ronde-ombre img {
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  box-shadow: var(--box-shadow);
  transition:all 0.35s ease-in;
}
.img-ronde-ombre:hover img,
.img-ronde-ombre:focus img {
  transform: scale(1.025);
  box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
}



/************************************************************ HOME */

.home #containerLogo img {
  display:none;
}
.home main#primary{
  background-image: none;
}
.home .metaslider,
.home #container-video-home {
  -webkit-mask: url(img/masque-header-02.png) no-repeat top / 100% 100%,;
  mask: url(img/masque-header-02.png) no-repeat center / 100% 100%;
}
.home #container-video-home {
  object-fit: cover;
  z-index: 1;
  -webkit-mask: url(img/masque-header-02.png) no-repeat top / 100% 100%,;
  mask: url(img/masque-header-02.png) no-repeat center / 100% 100%;
}
.home #container-video-home video {
  width: 100vw;
  height: 90vh;
  object-fit: cover;
  z-index: 1;
}
.home .wpb_single_image {
  margin-bottom:0;
}
.home .container-title-logo-video-home img {
  width:150px;
}
.home .titreEnvie {
  font-size:60px;
  padding:30px;
}
.home .titreEnvie::after {
  width: 50px;
  height: 3px;
  bottom: 20px;
  left: 30px;
}
.home #col2Envie > div > div div {
  height: 500px;
}
.home #carousel {
  max-width : 1325px;
}
.home #titre-bagnols-home {
  font-size:100px;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
}
.home .container-title-logo-video-home {
  position:absolute;
  bottom:20%;
  left:0;
  width:100%;
  text-align:center;
}
.home .container-title-logo-video-home #title-video-home {
  color:#fff;
  text-transform:uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 100px;
  line-height: 110%;
  padding-left:25px;
  padding-right:25px;
  margin-bottom:0;
}
.home .container-title-logo-video-home #subtitle-video-home {
  color:#fff;
  font-size:35px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  line-height: 110%;
  padding-left:25px;
  padding-right:25px;
}

/*.home .metaslider .caption {
  font-family: var(--font-family-base);
  font-size:55px;
  line-height: 120%;
  text-transform:uppercase;
  font-weight:700;
  width:70%!important;
  left:15%;
}
.home .metaslider .caption a {
  font-size:25px!important;
  background-color:rgba(255, 255, 255, 0.4)!important;
  padding:15px 50px!important;
  color:#fff!important;
  text-decoration:none!important;
  line-height: 100%;
  margin-top:10px;
  transition:all 0.3s ease-in;
}
.home .metaslider .caption a:hover,
.home .metaslider .caption a:focus {
  opacity:1;
  background-color:rgba(255, 255, 255, 0.7)!important;
}
.home .metaslider .flexslider .flex-direction-nav li a {
  box-shadow: none!important;
}*/
.blocEnvie {
  margin-bottom:10px!important;
}
.blocEnvie > div,
.blocEnvie a {
  height:100%;
  width: 100%;
}
.blocEnvie a {
  display:block;
  position:relative;
  text-decoration:none;
}
.colEnvie  > div {
  padding:5px!important;
}
.titreEnvie {
  margin-bottom: 0;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: end;
  padding: 15px;
  color:#fff;
  text-transform:uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight:bold;
  transition: all .4s ease-in !important;
  font-size:30px;
  line-height: 110%;
}
.titreEnvie::after {
  content: " ";
  width: 30px;
  height: 2px;
  display: block;
  background-color: #fff;
  position: absolute;
  bottom: 10px;
  left: 17px;
}
.textEnvie{
  color: #fff;
  font-size: 18px;
  margin-bottom: 0;
  opacity: 0;
  transition: all .4s ease-in !important;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: end;
  padding: 20px;
  background-color: rgba(0,0,0,0.7);
}
#col2Envie > div > div {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
#col1Envie .blocEnvie,
#col3Envie .blocEnvie {
  /*height: 610px;*/
  height: 300px;
}
#col2Envie > div > div div {
  height: 300px;
}
#col2Envie > div > div > div:nth-child(1),
#col2Envie > div > div > div:nth-child(4)  {
  width: calc(40% - 5px);
}
#col2Envie > div > div > div:nth-child(2),
#col2Envie > div > div > div:nth-child(3) {
  width: calc(60% - 5px);
}
.blocEnvie a:hover .titreEnvie,
.blocEnvie a:focus .titreEnvie {
  opacity:0;
}
.blocEnvie a:hover .textEnvie,
.blocEnvie a:focus .textEnvie {
  opacity:1;
}


.home #rangee-home-blocs-liens-infos-supp::before {
  content:' ';
  width:100%;
  height:100%;
  background-color:rgba(3, 146, 172, 0.75);
  display: block;
  position: absolute;
  top: 0;
  left: 0;
}



/*.home #rangee-home-hebergements {
  color:#fff;
  padding-top:30px;
  padding-bottom:30px;
  background-attachment: fixed;
}
.home #rangee-home-hebergements h2 {
  color:#fff;
}
.home #rangee-home-hebergements img.vc_single_image-img  {
  border:5px solid #fff;
  border-radius:10px;
}
.home #rangee-home-hebergements .btn-cta button,
.home #rangee-home-hebergements .btn-cta a {
  background-color: #fff !important;
  color: var(--color-02) !important;
  text-transform: initial!important;
  padding-left:50px!important;
  padding-right:50px!important;
}*/


.home #rangee-home-blocs-liens-infos-supp .wpb_text_column {
  border: 5px solid #fff;
  border-radius: 10px;
  transform: translateY(0);
  will-change: transform;
  transition: all 0.3s ease-in;
}

.home #rangee-home-blocs-liens-infos-supp .wpb_text_column:hover,
.home #rangee-home-blocs-liens-infos-supp .wpb_text_column:focus,
.home #rangee-home-blocs-liens-infos-supp .wpb_text_column:focus-within {
  transform: translateY(-10px);
}

.home #rangee-home-blocs-liens-infos-supp a {
  height: 520px;
  text-decoration: none;
  color: #fff;
  width: 100%;
  display: flex;
  align-items: end;
  padding: 20px 20px;
  text-transform: uppercase;
  font-family: 'Oswald', sans-serif;
  font-weight: bold;
  font-size: 1.25em;
  transition: all 0.3s ease-in;
  line-height: 120%;
  text-align: center;
  z-index:1;
  position:relative;
}


.home #rangee-home-blocs-liens-infos-supp p::after {
  content:" ";
  width: 100%;
  height: 100%;
  display: block;
  position:absolute;
  z-index:0;
  top:0; left:0;
  background: linear-gradient(180deg, rgb(0, 0, 0, 0.5) 0%, rgba(0,0,0,0.15) 100%);
}

.home #rangee-home-blocs-liens-infos-supp a:hover,
.home #rangee-home-blocs-liens-infos-supp a:focus {
  padding-bottom:30px;
}





.home #rangee-infos-region-acces {
  padding-top:100px;
  padding-bottom:100px;
}
.home #rangee-infos-region-acces .vc_single_image-img {
  border-radius: 50%;
  object-fit: cover;
  overflow: hidden;
  box-shadow: var(--box-shadow);
}



/* === Responsive === */
/*@media (min-width: 1200px) { body { background-color:pink!important; } } .col-lg-
@media (max-width: 1199px) { body { background-color:green!important; } } .col-md-
@media (max-width: 991px) { body { background-color:blue!important; } } .col-sm-
@media (max-width: 767px) { body { background-color:red!important; } } .col-xs-
@media (max-width: 575px) { body { background-color:grey!important; } } */



@media (max-width: 1199px) { 
  nav#site-navigation ul {
    font-size: 0.75em;
  }
  #footer-l1C1 .custom-logo-link img {
    width: 125px;
  }
  #footer-l1C1 #infosContact li {
    margin-bottom:0;
  }

  /* Menu apparaisssant sur la droite de l'écran */
  nav#site-navigation {
    right:0;
    top:0;
  }
  .bar-menu-toggle {
    width: 25px;
    height: 3px;
    background-color: var(--color-01);
    margin: 5px 0;
    display: block;
    border-radius: 5px;
  }
  #titreButtonMenu {
    position: absolute;
    top: 8px;
    left: -4px;
    right:inherit;
    color:var(--color-01);
    font-weight:600;
  }
  #site-navigation .navbar-toggler {
    display:block!important;
    position:absolute;
    /*top:40px;*/
    right:20px;
    background-color:#fff;
    transition:all 0.3s ease-in;
    padding-left:75px;
    z-index:5;
    box-shadow: 0px 4px 8px rgba(0,0,0,0.15);
  }
  #masthead.fixed #containerLogo,
  #masthead.fixed #site-navigation .navbar-toggler {
    top: 20px;
  }

  #site-navigation.toggled .navbar-toggler {
      z-index: 2;
      position: fixed;
      /*transform: translate(25px, -15px);*/
  }
  #site-navigation .menu-menu-1-container {
    position: fixed;
    right: 0;
    transform: translateX(125%);   /* complètement en dehors de l'écran */
    width: 30%;
    min-width:300px;
    height: 100vh;
    top: 0;
    background-color: var(--color-01);
    transition: all 0.5s ease-in-out;
    box-shadow: 0px 4px 8px rgba(0, 0, 0, 0.5);
    padding-top: 60px;

    flex-direction: column;
    justify-content: start;
  }
  #site-navigation.toggled .menu-menu-1-container {
    transform: translateX(0);
  }
  #site-navigation ul#primary-menu {
    background-color:transparent;
    overflow-y: auto;
    display: initial;
  }
  #site-navigation.toggled ul#primary-menu>li {
    padding: 0;
  }
  nav#site-navigation li a,
  #site-navigation ul ul {
    background-color: transparent;
  }
  nav#site-navigation .sub-menu {
    transform: unset;
    margin-bottom:0;
    box-shadow: none;
    float: none;
    position: relative;
    top: inherit;
    left: inherit;
    padding:0;
    font-size: inherit;
  }
  .main-navigation .sub-menu li {
    font-size:0.8em;
    text-align:right;
    padding-top:0!important;
    padding-bottom:0!important;
    padding-left:0!important;
    padding-right:0!important;
  }
  nav#site-navigation .sub-menu li a {
    color:#fff;
  }
  nav#site-navigation .sub-menu li a:hover,
  nav#site-navigation .sub-menu li a:focus {
    color: var(--color-01);
  }
  nav#site-navigation li a {
    padding: 10px;
    font-size: 1.3em !important;
    color:#fff;
    text-align:right;
  }
  .main-navigation ul ul a {
    width:100%;
  }
}

@media (max-width: 991px) {
  #header-menu-01 {
    display:none;
  }
  .menu-mobile a {
    display:block;
  }
  .container {
    max-width: none;
    padding-left:35px;
    padding-right:35px;
  }
  #footer-l1{
    flex-direction:column-reverse;
    min-height: 0;
    padding: 160px 50px 10px;
  }
  #footer-l1 > div {
    width:100%;
    align-items: start;
    margin-top:25px;
    margin-bottom:25px;
  }
  #footer-l1C1 .custom-logo-link img {
    width:135px;
  }
  #footer-l1C1 #infosContact li.widget,
  #footer-l1C1 #infosContact li.widget p {
    margin-bottom:0;
  }
  #footer-l1C2 {
    flex-direction:column-reverse;
  }
  #container-menus-footer {
    margin-top:25px;
    justify-content: end;
  }
  nav#site-navigation ul,
  #header-menu-01 ul {
    text-shadow: none;
  }
  h1 {
    text-shadow: none;
    color: var(--text-color);
    margin-top: 0;
    padding-left:0;
    padding-right:0;
  }
  nav#site-navigation ul ul {
    display:block;
  }
  nav#site-navigation ul ul,
  #header-menu-01 ul ul {
    background-color:transparent;
  }

  footer#colophon,
  .rangee-brush-gris {
    mask-size: auto 100%;
    -webkit-mask-size: auto 100%;
  }
}

@media (max-width: 767px) {
  /*#containerH1EntryTitle {
    color: #000;
  }
  #conteneurTitle h1 {
    color: #000;
    margin-top:auto;
  }*/
  .container {
    padding-left:20px;
    padding-right:20px;
  }
  .vc_row-o-equal-height > .vc_col-has-fill {
	  min-height:400px;
  }
  #col2Envie > div > div > div:nth-child(1),
  #col2Envie > div > div > div:nth-child(2),
  #col2Envie > div > div > div:nth-child(3),
  #col2Envie > div > div > div:nth-child(4) {
    width:100%;
  }
  #col1Envie .blocEnvie,
  #col3Envie .blocEnvie,
  #col2Envie > div > div div {
    height:275px;
  }
  .home .container-title-logo-video-home #title-video-home {
    font-size: 60px;
  }
}


@media (max-width: 575px) {
  h1 {
    font-size:1.5em;
  }
  #container-menus-footer {
    flex-direction:column;
  }
  #footer-l1C1 {
    align-items:end!important;
  }
  #site-navigation .menu-menu-1-container {
    width:80%;
  }
}
