:root {
  --main-color: #f07d5a;
  --white-color: #f8f8f8;
  --text-color: #3b4559;
  --blue-color: #3b4559;
}

* { box-sizing: border-box;}
html, body {
  padding:0;
  margin:0;
}

body {
    font-family: 'Roboto', sans-serif;
    font-weight:300;
    font-size: 16px;
    color: var(--text-color);
}

.wrapper {
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width:768px) {
  .wrapper {
      width: 850px;
  }
}
@media (min-width:992px) {
  .wrapper {
      width: 970px;
  }
}
@media (min-width:1200px) {
  .wrapper {
      width: 1170px;
  }
}

a {
  color: var(--main-color);
  text-decoration:none;
}
a:hover {text-decoration: underline;}
ul {
   margin: 0;
   display: block;
   text-align: center;
   padding: 0;
   list-style:none;
}
ul li {
   display: inline-block;
   margin: 0 10px;
}
ul li a {
   color: var(--main-color);
}

h3 { font-size:30px;}
.btn-book {
    background: var(--main-color);
    padding: 10px 20px;
    max-width: 100%;
    color: #fff;
    font-size: 20px;
    font-weight: normal;
    margin: 30px 0 0 0;
    border: 1px solid var(--main-color);
    transition:all 0.3s linear;
    display:inline-block;
}

small {
  display:block;
  margin-top:5px;
}

.btn-book:hover {
    background: transparent;
    color: var(--main-color);
    text-decoration:none;
}

header {
    background: #FFF;
    position: relative;
    padding: 20px 40px 20px;
    border-bottom: 10px solid var(--main-color);
    position:fixed;
    width:100%;
    z-index:50;
}
header .wrapper {
    display:flex;
    justify-content:space-between;
    align-items:center;
}
header #logo img {
    display: block;
    max-width: 100%;
    margin: 0 auto;
    width:150px;
    margin-right:50px;
}
header .btn-book {
  margin-top:0;
}
nav ul li a { color: var(--text-color);}
nav ul li a:hover { color: var(--main-color);}


header #links {
  position:fixed;
  right:0;
}
header .mail, header .phone, header .social {
    position: absolute;
    z-index: 1000;
    top: 0px;
    right: 0;
    margin-right: -175px;
}

header .mail {
    margin-right: -324px;
}

header .phone {top: 60px;}

header .social { top: 120px;}

@media (min-width:992px) {
  header .phone:hover, header .mail:hover, header .social:hover {
      margin-right: 0;
  }
}

@media (min-width:992px) {
  header .phone:hover, header .mail:hover, header .social:hover {
      margin-right: 0;
  }
}

header .phone, header .mail, header .social {
    transition:all linear 0.3s;
}

header .mail span, header .phone span, header .social span {
    color: var(--text-color);
    text-decoration: none;
    background: var(--white-color);
    display: block;
    height: 56px;
    padding: 0 11px 0 68px;
    position: relative;
    font-size: 16px;
    width: 230px;
    line-height: 56px;
    word-break: break-all;
}
header .mail span {
    width: 380px;
}

header .phone span > span, header .mail span > span, header .social span > span {
    background: var(--blue-color);
    color: #FFF;
    display: block;
    width: 56px;
    height: 56px;
    text-align: center;
    padding-top: 10px;
    position: absolute;
    left: 0;
    top: 0;
    padding: 11px 0px 0 56px;
}

header .phone span > span img, header .mail span > span img, header .social span > span img {
   width: 30px;
   height: 30px;
   position: absolute;
   top: 12px;
   right: 24%;
}
header .phone a, header .social span, header .mail a {
    color:var(--text-color);
}
header .mail a { font-size: 14px;}
header .phone a:hover, header .social span, header .mail a:hover {
    color:var(--main-color);
}

.social a img {
  height: 45px;
  padding-top: 12px;
}

#banner {
  background:url("../images/residence_saintmalo.jpg") no-repeat;
  background-size:cover;
  width:100%;
  height:450px;
  background-position: 0 9%;
  position:relative;
  display: flex;
  align-items: center;
  justify-content: start;
}
#presentation { padding:3rem 15px;}
.pictures {
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap
}

.pictures img {
  width:100%;
}
@media (min-width:700px) {
  .pictures img {
    width:calc(100% / 3);
  }
}

.title {
    background: var(--main-color);
    color: #FFF;
    padding: 60px 0;
}

.title h2 span {
    display: inline-block;
    background: var(--main-color);
    padding: 0 10px;
    position: relative;
    z-index: 2;
}
.title h2 {
    font-size: 50px;
    color: #F9F9F9;
    text-align: center;
    position: relative;
    font-weight: 300;
    margin: 0;
}
.title h2::before {
    content: '';
    position: absolute;
    border-top: 1px solid #FFF;
    top: 50%;
    left: 50%;
    width: 70%;
    margin-left: -35%;
    margin-top: -1px;
    z-index: 1;
}
.title h2 small {
    font-size: 24px;
    color: #F9F9F9;
    display: block;
}
@media (min-width:768px) {
  .title h2 {
      font-size: 80px;
  }
  .title h2 span {
      padding: 0 10px;
  }
}




.mansory {
  display:flex;
  justify-content:flex-start;
  align-items:center;
  flex-wrap:wrap;
  height:auto;
}

.mansory section { width:100%; height:100%;}
.mansory section:nth-child(2), .mansory section:last-child { width:50%; height:100%;}
.mansory section:nth-child(2) div:last-child { width:100%; background:url("../images/cuisine.jpg") no-repeat center; height:250px;background-size: cover;}
.mansory section:last-child div:first-child { width:100%; background:url("../images/salle-de-bain.webp") no-repeat center; height:250px;background-size: cover;}

.mansory section:first-child { width:100%;
  background: url(../images/salon-studio.webp) no-repeat center;
  height: 250px;
  background-size: cover;
}
.twice section:first-child {
  background: url(../images/studio.jpg) no-repeat center;
  background-size: cover;
}
.twice section:nth-child(2) div:last-child { background:url("../images/studio2.jpg") no-repeat center;}
.twice section:last-child div:first-child {background:url("../images/studio3.jpg") no-repeat center;}

.mansory .bloc_orange {
  height:251px;
  width:100%;
  background:var(--blue-color);
  display: flex;
  align-items: center;
  justify-content: center;
}

.mansory .bloc_orange h2 {
  margin:0;
  color:white;
  font-size:20px;
}
@media (min-width:700px) {

  .mansory {
    display:flex;
    justify-content:flex-start;
    align-items:center;
    max-height:600px;
    height:600px;
    overflow:hidden;
  }

  .mansory section:nth-child(2), .mansory section:last-child { width:25%; height:100%;}

  .mansory section:nth-child(2) div:last-child { width:100%; height:50%;background-size: cover;}
  .mansory section:last-child div:first-child { width:100%;  height:50%;background-size: cover;}

  .mansory section:first-child { width:50%;
    height: 100%;
  }

  /*.twice section:nth-child(2) div:last-child { background:url("../images/cuisine.jpg") no-repeat center;}
  .twice section:last-child div:first-child {background:url("../images/chambre.jpg") no-repeat bottom center;}*/

  .mansory .bloc_orange {
    height:300px;

  }

  .mansory .bloc_orange h2 {
    margin:0;
    color:white;
    font-size:40px;
  }
}
#coordonnees, #info, #loisirs {
  display:flex;
  justify-content:space-between;
  align-items:center;
  flex-wrap:wrap;
  padding:5rem 15px 1rem;
}

#info, #loisirs {
  padding:0 15px 5rem;

}
#coordonnees section, #info > *, #loisirs > * {
   width:100%;
}

#loisirs img, #info img {width:100%;}
@media (min-width:700px){
  #coordonnees section, #info > *, #loisirs > *, #loisirs img, #info img {
     width:50%;
  }
  #coordonnees {
    padding:2rem 15px 1rem;
  }
}

/*************** FORM ****************/
#contact_form_zone {
  background:var(--white-color);;
  color:var(--text-color);
  padding:2rem;
}

#contact form { margin:30px 0;}
.col2 {
  display:flex;
  justify-content:space-between;
  align-items:center;
}

.col2 input{
  width:49%;
}
#contact form input {
  border:0;
  line-height: 50px;
  display: block;
  width: 100%;
  padding: 6px 12px;
  font-size: 14px;
  color: #555;
  margin-bottom:10px;
  border-bottom:2px solid var(--main-color);
}
#contact form input:focus, #contact form input:focus-visible, #contact form textarea:focus-visible {
    border-bottom: 2px solid var(--blue-color);
}
textarea {width:100%; border:0; border-bottom:2px solid var(--main-color);}

#contact form input[type="submit"] {
  line-height: 12px;
  color: #ffffff;
  font-size: 20px;
  width:auto;
  height:auto;
  padding:15px 20px;
  border:2px solid var(--main-color);
  background:var(--main-color);
  margin-top: 14px;
}
#contact form input[type="submit"]:hover {
  color: var(--main-color);
  background:transparent;
}
#contact form input[type="submit"].disabled {
  opacity:0.5;
  cursor:none;
}
#reservation {
  background:var(--blue-color);
  width:380px;
  position:absolute;
  left:5%;
  padding:15px;
  box-shadow: 0 0 5px rgba(0,0,0,.5);
}
#reservation table {width:100%;}
#reservation form {
  padding-left: 10px;
}
#reservation tr td {
  padding:5px 0;
  line-height:50px;
  font-size:13px;
}

#reservation span {
  margin-right:30px;
  color:var(--white-color);
}
#reservation tr:first-child span {
  margin-right:35px;
}
#reservation tr:nth-child(3) span {
  margin-right:10px;
}

#reservation select {
  border: 1px solid white;
  background: transparent;
  font-size: 14px;
  padding:8px 0px;
  color:var(--white-color);
}
#reservation select option {
background:var(--blue-color);
}
#reservation input {
  padding: 8px 5px;
  color:var(--white-color);
  border:0;
  width: 127px;
  border: 1px solid white;
  background: transparent;
}

#reservation input[type="button"]{
  width: 100%;
  padding: 12px 0;
  font-size: 16px;
}

#reservation input[type="button"]:hover {
  background:var(--white-color);
  color:var(--blue-color);
}

@media (max-width:420px) {
  #banner {margin-bottom:2rem; }
  #reservation {
    left:5%;
    top:1rem;
    width:80%;
  }
  #reservation tr span {
    display:block;
    line-height: 15px;
  }
  #reservation tr:nth-child(3) span {
    display:inline-block;
  }
}
/*********************** FOOTER ****************************/
footer {
  padding:15px;
  font-size:14px;
  border-top: 1px solid #e5e5e5;
}
footer ul li a {color:var(--text-color);}
#mentions_legals {
    border: 0;
    background: transparent;
    color: var(--text-color);
}
#mentions_legals:hover {
  text-decoration: underline;
}

/* The Modal (background) */
.modal {
  display: none; /* Hidden by default */
  position: fixed; /* Stay in place */
  z-index: 100; /* Sit on top */
  padding-top: 100px; /* Location of the box */
  left: 0;
  top: 0;
  width: 100%; /* Full width */
  height: 100%; /* Full height */
  overflow: auto; /* Enable scroll if needed */
  background-color: rgb(0,0,0); /* Fallback color */
  background-color: rgba(0,0,0,0.4); /* Black w/ opacity */
}

/* Modal Content */
.modal-content {
  background-color: #fefefe;
  margin: auto;
  padding: 20px;
  border: 1px solid #888;
  width: 80%;
  position:relative;
}

/* The Close Button */
.close {
  color: #aaaaaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  background:var(--white-color);
  border:0;
}

#promo .close {
  position:absolute;
  top:0;
  right:0;
}

.close:hover,
.close:focus {
  color: #000;
  text-decoration: none;
  cursor: pointer;
}


/****** dropdown ******/
.dropbtn {
  /* padding: 16px; */
  border: none;
  cursor: pointer;
  background: transparent;
  color:var(--text-color);
}

.dropdown {
  position: relative;
  display: inline-block;
}

.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f9f9f9;
  min-width: 60px;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
  left:-14px;
  border-top: 2px solid var(--main-color);
}

.dropdown-content a {
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.dropdown-content a:hover {background-color: #f1f1f1}

.dropdown:hover .dropdown-content {
  display: block;
}

/** ********/

.menu_mobile input
{
  display: none;
}
@media only screen and (max-width: 1180px) {
    .menu_mobile
    {
      display: block;
      position: relative;
    }
    .menu_mobile input
    {
      display: block;
      width: 40px;
      height: 32px;
      position: absolute;
      top: -7px;
      left: -5px;
      cursor: pointer;
      opacity: 0; /* hide this */
      z-index: 2; /* and place it over the hamburger */
      -webkit-touch-callout: none;
    }

    /*
     * Just a quick hamburger
     */
    .menu_mobile span
    {
      display: block;
      width: 33px;
      height: 4px;
      margin-bottom: 5px;
      position: relative;
      background: var(--text-color);
      border-radius: 3px;
      z-index: 1;
      transform-origin: 4px 0px;
      transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
                  opacity 0.55s ease;
    }

    .menu_mobile span:first-child  {transform-origin: 0% 0%;}
    .menu_mobile span:nth-last-child(2) { transform-origin: 0% 100%; }

    .menu_mobile input:checked ~ span
    {
      opacity: 1;
      transform: rotate(45deg) translate(0px, -1px);

    }
    .menu_mobile input:checked ~ span:nth-last-child(2)
    {
      opacity:0;
      transform: rotate(0deg) scale(0.2, 0.2);
    }
    .menu_mobile input:checked ~ span:nth-last-child(1)
    {
      transform: rotate(-45deg) translate(0, -1px);
    }


.menu {
  position: absolute;
  right: 0;
  top: 100%;
  bottom: 0;
  display:none;
  width: 100%;
  height:100%;
  /* transform: translateX(450px); */
}
.menu ul {
  background-color: var(--white-color);
  padding:10px 0;
}
.menu li {
  display: block;
}
/* Un lien par ligne */
.menu ul li a {
  display: block;
  height: 40px;
  text-align: center;
  line-height: 40px;
  border-bottom: 1px solid #777;
}

.menu ul li:last-child a {
  display: block;
  text-align: center;
  height:auto;
}

}
    @media (min-width:992px) {
      .header__icon {display:none;}
    }

#alert_message.success {
  padding: 15px;
  border: 1px solid green;
  color:green;
}

.sejour {
  display:flex;
  justify-content: center;
  flex-wrap:wrap;
  margin: 1rem 0 3rem;
  line-height: 25px;
}

.sejour section {
  width: 100%;
  padding:0 1rem;
}

.sejour section:nth-child(2) {
  border:0;
}
.sejour section:nth-child(2) li {
  display:block;
}
@media (max-width:500px) {
  .sejour {
    margin: 1rem 0rem;
  }
}
@media (min-width:768px) {
  .sejour section {
    width: calc(100% /2);
  }
}
@media (min-width:992px) {
  .sejour section {
    width: calc(100% /3);
    padding:0 2rem;
  }
  .sejour section:nth-child(2) {
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
  }
}

.horaires h4 {margin-bottom:7px; font-size:15px}
#info ul li  {
  display:block;
}

#verte {
  margin-bottom:2rem;
  text-align: center;
}
#verte h3 {
  font-size: 20px;
  margin-bottom: 0;
}

.servicesinclus, .servicescarte, .servicescarte2 {
  display:flex;
  justify-content:space-between;
  align-items:stretch;
  flex-wrap:wrap;
  margin-bottom:2rem;
  font-size:14px;
}

.servicesinclus h4, .servicescarte h4, .servicescarte2 h4 {margin-bottom:0;}
.servicesinclus > section, .servicescarte > section, .servicescarte2 > section {
  width:100%;
  margin-bottom:1rem;
}

.servicescarte2 section {
  display:flex;
  justify-content:flex-start;
  flex-wrap:wrap;
  margin-bottom:2rem;
}
.servicescarte2 section div {
    width: 75%;
    padding: 0 15px;
    text-align:left;
}
@media (max-width:420px) {
  .servicescarte2 section div {
      width: 100%;
      text-align:center;
  }
}
@media (min-width:768px) {
  .servicesinclu section, .servicescarte section {
    width: calc(100% /2);
  }

}
@media (min-width:992px) {
  .servicesinclus section, .servicescarte section {
    width: calc(100% /3);
    padding:0 2rem;
  }
  .servicescarte > section {
    margin-bottom:3rem;
  }
  .servicesinclus section:nth-child(2), .servicescarte section:nth-child(3n+2) {
    border-left: 1px solid #e5e5e5;
    border-right: 1px solid #e5e5e5;
  }
}



#promo {z-index:50}
.modal-body {text-align:center;}
.modal-dialog { margin:0 auto; width:96%;}
#promo .modal-content { margin:15px; width:94%;}
#promo img { width:100%}
@media (min-width: 768px) {
.modal-dialog {
    max-width: 700px !important;
}
#promo .modal-content { margin:auto;}
}

.error-message-mail, .error-message-tel {
  text-align: left;
  color: red;
  font-size: 13px;
  width: 100%;
  display: block;
  margin-bottom: 5px;
  font-weight: 500;
}
