/*
SOMMAIRE
01 - Accueil
02 - actualités
03 - domaine
04 - contact
05 - mentions légales

responsive


*/



/* 01 - Accueil */



body.home #header,
body.home .headerPage-picture,
body.home .headerPage-picture::after{
  height: 90vh;
}
#videoPlay{
  height: 100%;
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  -o-object-fit: cover;
     object-fit: cover;
}
.residence-spare-time-text{
  z-index: 2;
}
.second-img, .third-img, .fourth-img{
  border: 4px solid var(--color00);
}
.bloc-introduction h2::after,
.actualities-title::after,
.residence-environmentally-friendly-text h2::after{
  content: '';
    display: block;
    width: 57px;
    height: 1px;
    background-color: var(--color03);
    margin: 0 auto;
    margin-top: 20px;
    margin-bottom: 20px;
}
.residence-environmentally-friendly-text h2::after{
  margin-left: 0;
  background-color: var(--color02);
}
.btn-video{
  width: -webkit-fit-content;
  width: -moz-fit-content;
  width: fit-content;
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}
.btn-video::before{
  content: '';
  background-image: url('../img/charte/sprite-deuxieme-adresse.svg');
	background-repeat: no-repeat;
	background-size: 400px auto;
  width: 40px;
	min-width: 40px;
	height: 40px;
	display: inline-block;
  background-position: -206px -195px;
  margin-right: 1rem;
}
.home .tease-domaines p.like-h4 a{
  color: var(--color04) !important;
}
.home .tease-domaines p.like-h4 a:hover{
  color: var(--color03) !important;
}
.newsletter-home form{
  background-color: #fff;
}
.newsletter-home form input.medium{
  background-color: var(--color05) !important;
}
.newsletter-home .gform_footer{
  padding-bottom: 0 !important;
  justify-content: center;
}
.newsletter-home .gform_wrapper .gfield_required{
  display: none;
}
/* 02 -  actualités */

.tease-post h3,
.tease-post h2{
  font-weight: 500;
    letter-spacing: 0.4px;
    font-size: 1.7rem;
    line-height: 23px;
}
.tease-post.tease-actuality h2{
  font-size: 2rem;
  color: var(--color01);
}
.tease-post .date{
  letter-spacing: 0.3px;
  font-size: 1.2rem;
}
.text-post-category {
  font-weight: 500;
}
.tease-actuality .thumbnail-post{
  margin-top: -100px;
}
.list-actualites .tease-post.mb-5.m-auto{
  margin-bottom: 3rem !important;
}

.single-post table td {
  border:1px solid #ccc!important;
  vertical-align: middle;
  padding:10px;
}
.single-post table tr:first-child {
  background: var(--color02);
  color: var(--color00);
}

/* 03- domaine */

.video-domaine{
  padding-bottom: 10rem;
}
.slider-page-domaine .item-inner{
  overflow: hidden;
}
.main-domaine-presentation .images{
  margin-top: -140px;
    margin-bottom: 300px;
}
.main-domaine-presentation .images .second-img{
    right: 0;
    top: 325px;
}
.main-domaine-presentation .images .third-img{
  left: 70px;
  top: 400px;
}
.main-domaine-localisation .like-h3{
  font-size: 1.5rem;
    letter-spacing: 1px;
}
.table-container.engagements .table-item:nth-child(even):not(:last-of-type),
.table-container.securite .table-item:nth-child(even):not(:last-of-type),
.table-container.engagements .table-item:nth-child(odd):not(:last-of-type),
.table-container.securite .table-item:nth-child(odd):not(:last-of-type){
  /* border-bottom: 1px solid #3168A0; */
  border-bottom: 1px solid #ccc;
}
.table-container.securite .table-item:nth-last-child(-n+2),
.table-container.engagements .table-item:nth-last-child(-n+2){
  border-bottom: none !important;
}

.table-container .table-item:nth-child(odd){
  /* border-right: 1px solid #3168A0; */
  border-right: 1px solid #ccc;
}
.domaine-resum-item .resum-hover{
  opacity: 0;
  -webkit-transition: opacity .3s;
  -o-transition: opacity .3s;
  transition: opacity .3s;
}
.domaine-resum-item:hover .resum-hover{
  opacity: 1;
}
.domaine-resum-item:hover > a > img{
  opacity: 0.5;
}
.concept-main .text{
  z-index: 2;
}
.main-domaine-engagements h2::after{
  content: '';
  display: block;
  width: 57px;
  height: 1px;
  background-color: var(--color02);
  margin-top: 20px;
  margin-bottom: 20px;
}
.table-item-img{
  min-width: 30px;
}

#zoom-img,
#zoom-img-map {
  background-position: center center;
  background-size: cover;
}

/* #zoom-img-map{
  height: 1000px;
} */

.single-domaines .bloc-carte-iframe iframe {
  width: 100%;
}

/* 04 - contact */

.gform_heading{
  display: none !important;
}

.page-template-page-contact  .like-h2{font-weight: bold;}
.page-template-page-contact #header{
  height: auto !important;
}
.headerPage-picture.contact{
  height: 100%;
}
.headerPage-picture.contact::after{
  height: 100%;
}
.page-template-page-contact section#contents{
  padding: 0;
}
.container-contact{
  margin-top: -190px;
  padding-top: 250px;
}
.gform_wrapper .top_label input.medium, .gform_wrapper .top_label select.medium{
  width: 100%;
}
.gform_wrapper ul.gform_fields li.gfield{
  display: inline-block;
}
.gform_wrapper ul.gform_fields li.gfield::before{
  display: none !important;
}
#field_1_4{width: 100%;}
.gform_wrapper .gform_footer{
  margin: 0;
  padding: 0 15px;
}
body:not(.page-id-320) .gform_legacy_markup_wrapper{

  background-color: var(--color05);
}
body.page-id-1827 .gform_legacy_markup_wrapper{
background-color: transparent;
}
.gform_legacy_markup_wrapper{
    padding: 15px;
}
.page-template-page-contact footer#footer{
  padding: 0;
}
.container-contact .phone::after,
.container-contact .adresse::after{
  content: '';
  background-image: url(../img/charte/sprite-deuxieme-adresse.svg);
  background-repeat: no-repeat;
  background-size: 400px auto;
  width: 30px;
  min-width: 30px;
  height: 30px;
  background-position: -115px -55px;
  display: inline-block;
  margin-left: 5px;
}
.container-contact .adresse::after{
  background-position: -115px -140px;
}
.container-contact .adresse p{
  display: inline-block;
}
.page-template-page-contact form{
  background-color: transparent;
}
form{
  background-color: var(--color05);
  padding: 10px;
}

/*  05 - mentions légales */

.page-id-8 .templatePageTextBloc,
.page-id-87 .templatePageTextBloc,
.page-id-1868 .templatePageTextBloc{
 margin-top: 0;
}
.page-id-87 .bloc-texte-inte,
.page-id-1868 .bloc-texte-inte{
  text-align: left !important;
}

/* RESPONSIVE */
@media screen and (min-width: 980px){
  .residence-spare-time-images .first-img{
    margin-top: -100px;
  }
}
@media screen and (min-width: 980px){
  .residence-spare-time-images .first-img{
    margin-left: -200px;
    margin-top: -150px;
  }
  .residence-spare-time-images .third-img{
    margin-top: -100px;
    margin-left: -100px;
  }
  .residence-spare-time-images .fourth-img{
    margin-left: -100px;
  }
  .residence-spare-time,
  .residence-environmentally-friendly {
    margin-top: 5rem;
    margin-bottom: 5rem;
  }
  .residence-environmentally-friendly-images img{
    max-width: -webkit-fit-content;
    max-width: -moz-fit-content;
    max-width: fit-content;

  }
  .residence-environmentally-friendly-images .second-img{
    left: -5%;
  }
  .residence-environmentally-friendly-images .third-img{
    bottom: -40px;
    left: 490px;
  }
  .residence-environmentally-friendly-text .fourth-img{
    /* margin-left: -20%; */
    margin-left: 20%;
    bottom: 0;
  }
  .concept-main .images .first-img{
    margin-top: -50px;
      margin-left: -100px;
  }
  .concept-main .images .second-img{
      bottom: 100px;
      left: 30%;
  }
  .concept-main .images .third-img{
    margin-left: -400px;
    margin-bottom: -150px;
  }
}

.residence-spare-time-text img{
  top: -137px;
  right: -20px;
  border: 4px solid var(--color00);
}
@media screen and (max-width: 1590px), (max-device-width: 1590px){
  .residence-spare-time .second-img{
    margin-left: -200px;
  }


}

.easyzoom {
  float: left;
}
.easyzoom img {
  display: block;
}

@media screen and (max-width: 980px), (max-device-width: 980px){
  .residence-spare-time-images .third-img{
    position: relative !important;
  }
  .residence-spare-time-text img{
    top: -30px;
  }
  .main-domaine-presentation .images .second-img, 
  .main-domaine-presentation .images .third-img{
    left: initial;
    border: none;
    top: 0;
  }
  .main-domaine-presentation .images{
    margin-bottom: 20px;
    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: center;
        -ms-flex-align: center;
            align-items: center;
  }
  .main-domaine-presentation .images img{margin-bottom: 20px;}
  #menu-menu-du-haut{
    margin: 0;
  }
  .residence-spare-time .second-img {
    margin-left: 0;
  }
}
@media screen and (max-width: 680px), (max-device-width: 680px){
  body.home #header, body.home .headerPage-picture, body.home .headerPage-picture::after{
    min-height: 500px;
    height: auto;
  }
  .images-galerie, .images-galerie img{
    padding: 0 !important;
    display: block !important;
  }


  .second-img, .third-img, .fourth-img{
    position:  relative !important;
  }

}

.gform_confirmation_wrapper {
  background-color: #fff;
  padding: 15px;
}

.page-template-page-contact .gform_confirmation_wrapper{
  background-color: transparent !important;
}

