/* ------------ Général ------------ */
body { 
  font-family: Arial, Helvetica, sans-serif;
  font-size: 13px;
  margin: 0;
  letter-spacing: 0.5px;
}

h1, h2, h3, h3, h4 { font-weight: initial; }

li { list-style-type: square; }

span { font-weight:bold; }

.page-apropos h1, .page-cgv h1, .page-contact h1, .page-mg h1, .page-portfolio h1, .page-rgpd h1, .page-services h1 { 
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 25px 0;
  text-align: center;
}




/* ---------- Menu Header ---------- */
header { 
  text-align: center; 
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
  padding: 10px 0;
  z-index: 1;
  border-bottom: 1px solid;
}

header img { width: 300px; }

header nav ul { padding: initial; }

header nav a img, #menucontact img { display: none; }

#navigation li { 
  display: inline; 
  margin: 0 20px;
  text-transform: uppercase;
}

#navigation li a { 
  text-decoration: none; 
  color: black;
}

#navigation li a:hover { opacity: 0.4; }

/* Menu Header - version phone */
@media screen and (max-width: 768px) {
  header { padding: 0; }

  header img { width: 250px; }

  header nav ul {
    position: absolute;
    width: 100%;
    background-color: rgba(255, 255, 255, 0.8);
    font-weight: bold;
    border-bottom: 1px solid;
    margin: 15px 0;
  }

  header nav a img, #menucontact img { 
    width: 40px; 
    display: block;
    padding: 0 10px;
  }

  #navigation li {
    display: block;
    text-align: left;
    line-height: 50px;
  }

  #open { float: left; }

  #menucontact { float: right; }

  #open, #menucontact { margin: 15px auto; }

  .close { display: none; }

  #open:target .close { display: inline; }

  #open:target .open { display: none; }
}

/* ------------- Content ------------- */
#content { margin-top: 144px; }

/* Content - version phone */
@media screen and (max-width: 768px) {
  #content { margin-top: 70px; }
}


/* ---------- Slider - page accueil ---------- */
/* Content - slidershow */
.Slideshow { height: 800px; }

.Slideshow-Content {
  position: relative;
  height: 100%;
}

/* Images - slidershow */
.imgslider1, .imgslider2, .imgslider3, .imgslider4 {
  background-repeat: no-repeat;
  background-size: cover; 
  background-position: center;
}

.imgslider1 { background-image: url(../img/séjour_IMG_7870.webp); }

.imgslider2 { background-image: url(../img/séjour_IMG_3812.webp); }

.imgslider3, .imgslider4 { background-image: url(../img/HS-TIMB.webp); }

.Slideshow-Content #sliderfixe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    animation-name: fadeInOut;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-duration: 15s;
    animation-direction: alternate;
}

.Slideshow-Content #sliderfixe:nth-of-type(1) { animation-delay: 5s; }

.Slideshow-Content #sliderfixe:nth-of-type(2) { animation-delay: 10s; }

.Slideshow-Content #sliderfixe:nth-of-type(3) { animation-delay: 0s; }

@keyframes fadeInOut {
  0% { opacity:0; }
  30% { opacity:0;}
  35% { opacity:1; }
  65% { opacity:1; }
  70% { opacity:0; }
  100% { opacity:0; }
}

/* Textes - slidershow */
#Slidertext {
  height: 800px;
  background-color: rgba(54, 44, 44, 0.5);
  text-align: center;
  position: relative;
  top: -800px;
}

#Slidertext p { 
  margin: auto;
  font-size: large;
  width: 700px;
  text-shadow: rgba(54, 44, 44) 2px 0 5px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

#Slidertext p strong, #Slidertext p span, #Slidertext p a {
  color: white;
  display: inline-block;
}

#Slidertext p strong { 
  text-transform: uppercase; 
  font-size: 40px;
  letter-spacing: 2px;
}

#Slidertext p span { 
  margin: 10px 0 25px; 
  font-weight: initial;
}

#Slidertext p a {
  border: 0.5px solid;
  text-decoration: none;
  padding: 10px 50px;
  box-shadow: rgba(54, 44, 44) 2px 0 5px;
}

#Slidertext p a:hover { background-color: rgba(54, 44, 44, 0.5); }

/* Slider accueil - version phone */
@media screen and (max-width: 768px) {
  /* Images - slidershow */
  .Slideshow { height: 700px; }

  /* Textes - slidershow */
  #Slidertext {
    height: 700px;
    top: -700px;
  }

  #Slidertext p { 
    width: 390px; 
    font-size: 16px;
  }

  #Slidertext p strong { font-size: 25px; }
}

/* ---------- Avantages - page accueil ---------- */
/* Content - Avantages */
#avantages { 
  text-align: center; 
  margin: 30px auto;
}

#avantages h1 { 
  font-size: large; 
  margin: 0 25px;
}

#avantages nav ul {
  padding: 0;
  display: inline-block;
  width: 350px;
  vertical-align: top;
  margin: 30px;
  border: 0.5px solid;
}

/* Images - Avantages */
#avantages ul #image { 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 250px;
}

#avantages-choix #image { background-image: url("../img/portrait_IMG_1098.webp"); }
#avantages-chiffres #image { background-image: url("../img/chiffres.webp"); }
#avantages-gagner #image { background-image: url("../img/gagner.webp"); }


/* Textes - Avantages */
#avantages ul #texte { 
  padding: 10px;
  height: 250px;
}

#avantages ul #texte h2 { 
  text-transform:uppercase; 
  font-size: 20px;
  font-weight: bold;
}

#avantages ul #texte li { 
  text-align: initial;
  margin: 10px 19px 10px 30px;
  letter-spacing: normal;
  padding: 0 5px;
}

/* ----------- Page à propos ---------- */
#apropos { text-align: center; }

#apropos h1 { margin-top: 0; }

.page-apropos #image { background-image: url("../img/portrait_IMG_1142.webp"); }

.page-apropos #image { 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 450px;
  width: 350px;
  border: 0.5px solid;
}

.page-apropos #image, .page-apropos article { 
  display: inline-block;
  vertical-align: top;
  margin-top: 40px;
}

.page-apropos article { width: 500px; }

.page-apropos article { 
  margin: 40px; 
  text-align: left;
}

.page-apropos h1, .page-apropos h2 { text-align: left; }

.page-apropos h1 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
}

.page-apropos article p { text-align: justify; }

.page-apropos article a {
  border: 0.5px solid;
  text-decoration: none;
  padding: 10px 50px;
  text-transform: uppercase;
  color: black;
  display: inline-block;
  margin-top: 10px;
}

.page-apropos article a:hover {
  background-color: rgba(54, 44, 44, 0.5);
}

/* Page à propos - version phone */
@media screen and (max-width: 935px) {

  .page-apropos article { 
    width: auto;
    text-align: center; 
  }

}


/* ----------- Page Portfolio ---------- */
#portfolio { 
  display: inline-block;
  vertical-align: top;
  margin: 40px;
}

#portfolio .navigation-galerie {
  border-bottom: 1px solid black;
  margin-bottom: 20px;
  width: 70%;
  display: inline-block;
}

#portfolio .navigation-galerie li {
  margin: 15px 20px;
  border: none;
}

#portfolio nav li { 
  display: inline-block;
  border: 1px solid black;
}

#portfolio nav li a {
  color: black;
  text-transform: uppercase;
  text-decoration: none;
  display: grid;
}

#portfolio nav li a:hover { opacity: 0.4; }

#galerie { column-count: 3; }
#galerie #bloc-galerie nav li {
  list-style: none;
  margin-bottom: 10px;
}

#galerie #bloc-galerie nav li a img { width: 100%; }

/* Page Portfolio - version phone */
@media screen and (max-width: 935px) {
  #portfolio .navigation-galerie { width: 100%; }
}

@media screen and (max-width: 768px) {
  #galerie { column-count: 2; }
}

@media screen and (max-width: 535px) {
  #portfolio .navigation-galerie li { margin: 15px 6px; }

  #portfolio .navigation-galerie li:first-child { margin-left: 0; }

  #portfolio .navigation-galerie li:last-child { margin-right: 0; }
}


/* ----------- Page Services ---------- */
#services { 
  margin: 40px;
  padding-top: 40px;
}

/* Menu - Services */
#menu-services { 
  text-align: center; 
  border-bottom: 1px solid;
  width: 971px;
  margin: auto;
}

#menu-services ul { padding: initial; }

#menu-services ul li {
  display: inline;
  margin: 0 20px;
  text-transform: uppercase;
}

#menu-services ul li a {
  text-decoration: none;
  color: black;
}

#menu-services ul li a:hover { opacity: 0.4; }

/* Présentation - Services */
#prestation-services div { margin: auto 30px; }

#prestation-services div h2, #prestation-services div h3 { 
  text-align: center; 
  margin: 0;
}

#prestation-services div h2 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
  margin: 0 0 5px;
}

#prestation-services div h3 {
  font-style: italic;
  margin-bottom: 25px;
}

#prestation-services div p { text-align: justify; }

/* Blocs - Services */
#prestation-services, #services .bloc-services {
  width: 971px;
  margin: 35px auto;
}

#services .bloc-services ul { 
  padding: 0; 
  border: 1px solid;
}

#services .bloc-services ul #texte, #services .bloc-services ul #image{
  width: 440px;
  padding: 16px;
  display: inline-block;
  vertical-align: middle;
}

#servicesph, #serviceshs, #servicesgr { height: 332px; }

#servicesph article li, #serviceshs article li, #servicesgr article li, #prestation-services ul li { margin: 5px 0; }

/* Images - Services */
#services ul #image { 
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  height: 300px;
}

#servicesph #image { background-image: url("../img/séjour_IMG_2313.webp"); }
#serviceshs #image { background-image: url("../img/séjour-LesSables-HS.webp"); }
#servicesgr #image { background-image: url("../img/cartevisite-horizonimmo-TIMB.webp"); }

/* Textes - Services */
#services ul #texte {
  vertical-align: center;
  margin-left: 20px;
}

#services ul #texte li p br, #services ul #texte li p #dernier { display: none; }

#services ul #texte h2 {
  text-transform: uppercase;
  font-size: 20px;
  font-weight: bold;
}

#services article a:hover {
  background-color: rgba(54, 44, 44, 0.5);
}

#services article a {
  border: 0.5px solid;
  text-decoration: none;
  padding: 10px 50px;
  text-transform: uppercase;
  color: black;
  display: inline-block;
  margin-top: 15px;
}

/* Tarifs - Services */
#services .bloc-services #servicestarifs #texte {
  width: auto;
  display: block;
}

#services .bloc-services #servicestarifs #texte h2 { text-align: center; }

#services .bloc-services #servicestarifs #texte h3 {
  text-transform: uppercase;
  font-weight: bold;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  margin-top: 35px;
}

#servicestarifs #texte h3 span {
  font-size: 10px;
  vertical-align: top;
  margin-left: 2px;
}

#servicestarifs #texte li { margin: 10px; }

#servicestarifs #texte li .prix { float: right; }

#servicestarifs #texte li .m2 {
  font-size: 10px;
  vertical-align: top;
  font-weight: initial;
  margin-left: 1px;
}

#servicestarifs #legende {
  margin-top: 30px;
  font-size: smaller;
}

#servicestarifs #legende span { 
  font-weight: normal;
  font-size: 10px;
  vertical-align: center;
  margin-right: 2px;
}

#servicestarifs #legende br { margin: 5px; }

@media screen and (max-width: 1050px) {
  /* Menu - Services */
  #menu-services {  width: 100%; }

  /* Blocs - Services */
  #services .bloc-services ul #texte, #services .bloc-services ul #image { width: 45%; }

  /* Textes - Services */
  #prestation-services, #services .bloc-services { width: 100%; }
}

@media screen and (max-width: 964px) { 
  /* Blocs - Services */
  #services .bloc-services ul #texte, #services .bloc-services ul #image { width: 43%; }
}

@media screen and (max-width: 834px) {
  /* Menu - Services */
  #menu-services ul li {
    display: block;
    text-align: initial;
    margin: 5px 20px;
  }

  /* Blocs - Services */
  #services .bloc-services ul #texte, #services .bloc-services ul #image {
    width: auto;
    display: block;
    text-align: center;
  }

  #servicesph, #serviceshs, #servicesgr { height: auto; }

  #services .bloc-services ul #texte li, #services .bloc-services ul #texte p, #servicestarifs #texte h3, #servicestarifs #legende { text-align: left; }

  #servicesph article, #serviceshs article, #servicesgr article, #servicestarifs article { margin: auto 20px 20px; }

  #servicestarifs #legende { margin-bottom: 0px; }
}

@media screen and (max-width: 600px) {
  /* Blocs - Services */
  #services ul #texte li p br { display: block; }
}

@media screen and (max-width: 500px) {
  /* Blocs - Services */
  #services ul #texte li p #dernier { display: block; }
}


/* ----------- Page Contact ---------- */
#contact { 
  display: inline-block;
  margin: 40px auto;
  width: 100%;
}

#bloc-contact {
  width: 625px;
  border: 1px solid;
  margin: auto;
}

#bloc-contact #image {
  background-position: initial;
  background-repeat: no-repeat;
  background-size: cover;
  height: 400px;
}

#bloc-contact #image { background-image: url("../img/img-contact.webp"); }

#bloc-contact nav { margin: 30px 40px; }

#bloc-contact nav p { 
  text-align: center; 
  font-style: italic;
  font-size: 15px;
}

#bloc-contact nav h3 {
  text-transform: uppercase;
  font-size: 15px;
  font-weight: bold;
  border-bottom: 1px solid;
  padding-bottom: 5px;
  margin-top: 35px;
}

#bloc-contact nav ul { padding: 0 0 0 12px; }

#bloc-contact nav ul li { margin: 5px 0; }

#bloc-contact nav ul li a:hover {
  opacity: 0.4;
}
#bloc-contact nav ul li a {
  text-decoration: none;
  color: black;
}

@media screen and (max-width: 767px) {
  #bloc-contact {
    width: auto;
    margin: auto 40px;
  }
}





/* ---------- Footer ---------- */
/* Content - Footer */
footer {
  background-color: rgba(54, 44, 44, 0.7);
  padding: 15px 50px;
  color: white;
}

footer a {
  text-decoration: none;
  color: white;
}

footer a:hover { color: rgba(54, 44, 44, 1); }

#presentationfooter , #menufooter  { display: inline-block; }

/* Presentation - Footer */
#presentationfooter { 
  text-align: center; 
  height: 150px;
}

#presentationfooter img { width: 120px; }

#presentationfooter p {
  text-align: justify;
  width: 252px;
  margin: 20px;
}

@media screen and (min-width: 1190px){
  #presentationfooter img, #presentationfooter p {
    display: inline-block;
    vertical-align: middle;
  }
}

/* Menu - Footer */
#menufooter {
  text-align: center;
  margin-bottom: 13px;
  float: right;
}

#menufooter nav ul { 
  padding: 0;
  display: inline-block;
  width: 210px;
  vertical-align: top;
  margin: 10px 11px;
  text-align: left;
}

#menufooter nav ul:first-child { width: 160px; }

#menufooter nav ul:last-child { margin-right: 0; }

#menufooter nav ul h1 {
  text-transform: uppercase;
  font-size: 18px;
  font-weight: bold;
  margin: 5px 0;
  margin-left: -12px;
}

#menufooter nav ul li { list-style: square; }


/* Copyright - Footer */
#copyright {
  border-top: 0.5px solid;
  border-color: rgba(54, 44, 44, 1);
  color: rgba(54, 44, 44, 1);
  text-align: center;
}

#copyright p { 
  font-size: 11px;
  margin: 15px; 
}

#copyright a { color: rgba(54, 44, 44, 1); }

#copyright a:hover { color: white; }

/* Footer - version phone */
@media screen and (max-width: 854px) {
  #menufooter nav ul { display: block; }
}

@media screen and (max-width: 1190px) {
  /* Content - Footer */
  #presentationfooter, #menufooter { display: block; }

  /* Presentation - Footer */
  #presentationfooter { height: auto; }

  #presentationfooter p {
    margin: 10px auto;
  }
  
  /* Menu - Footer */
  #menufooter { float: none; }

  #menufooter nav ul, #menufooter nav ul:first-child { width: 230px; }

  #menufooter nav ul, #menufooter nav ul:last-child { margin: 25px auto; }
}

/* ---------- pages rgpd / cgv / mtnlg ---------- */
.page-rgpd, .page-cgv, .page-mg { 
  display: block;
  padding: 40px 0;
}

#rgpd, #cgv, #mg { margin: auto 40px; }

.page-rgpd article , .page-cgv article , .page-mg article { 
  margin-bottom: 30px; 
  text-align: justify;
}

.page-rgpd article:last-child , .page-cgv article:last-child , .page-mg article:last-child { margin-bottom: 0; }

.page-rgpd h1, .page-cgv h1, .page-mg h1, .page-rgpd h2, .page-cgv h2, .page-mg h2 {
  text-transform: uppercase;
  font-weight: bold;
}

.page-rgpd h2, .page-cgv h2, .page-mg h2 { font-size: 15px; }

.page-rgpd nav ul li, .page-cgv nav ul li, .page-mg nav ul li { list-style: square; }

.page-rgpd p , .page-cgv p , .page-mg p { margin-left: 25px; }
