/* Style allege commun a tout le site. Charge apres les feuilles du theme.
   L'image du bandeau reste definie dans chaque page (bloc main_image). */

/* Bandeau du haut */
#subheader {
  position: relative;
  padding: 170px 0 80px;
  background-color: #222;
  background-position: center;
  background-size: cover;
  background-attachment: fixed;
}
#subheader:before {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  background: rgba(0, 0, 0, .45);
}
#subheader .container {
  position: relative;
}
#subheader h1 {
  margin-top: 0;
  font-size: 30px;
  font-weight: 300;
  letter-spacing: 4px;
}
#subheader .devider-page {
  width: 48px;
  margin: 18px auto 14px;
  border-top: 1px solid rgba(255, 255, 255, .7);
}
#subheader .devider-img-right {
  display: none;
}
#subheader .subdetail {
  font-size: 10px;
  font-weight: 300;
}
#subheader .subdetail li a {
  color: #fff;
}
#subheader .subdetail li.sep {
  margin: 0 8px;
}

/* Titres et textes */
.whitepage h2,
.room-detail h2 {
  font-size: 22px;
  font-weight: 300;
  letter-spacing: .5px;
}
.whitepage .text-center h3 {
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: #888;
}
.devider-center,
.devider-projects {
  width: 32px;
  margin: 14px auto;
  border-top-width: 1px;
}
.devider-recent {
  width: 40px;
  border-top-width: 1px;
}
.recent-post .hovereffect:hover .devider-recent {
  width: 64px;
}
.whitepage p {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.9;
  color: #444;
}

/* Blocs de presentation */
.room-detail {
  padding: 70px 0 40px;
}
.room-detail h2 {
  margin-bottom: 14px;
}
.room-detail h3 {
  margin-bottom: 14px;
  font-size: 17px;
  font-weight: 300;
  letter-spacing: .3px;
}
.room-detail .detaillist {
  padding: 0 10px 0 0;
  border: 0;
}
.room-detail .devider-rooms-detail {
  width: 32px;
  margin-bottom: 20px;
  border-top-color: green;
}
.room-detail .detaillist span {
  display: flex;
  padding: 7px 0;
  font-size: 13px;
  font-weight: 300;
  line-height: 1.5;
  color: #444;
  border-bottom: 1px solid #f0f0f0;
}
.room-detail .detaillist span:last-of-type {
  border-bottom: 0;
}
.room-detail .detaillist i {
  flex: none;
  margin: 3px 12px 0 0;
  font-size: 11px;
  color: green;
}

/* Galeries */
.room-detail #roomsBig img {
  display: block;
  width: 100%;
}
.room-detail #roomsSmall {
  margin-top: 8px;
}
.room-detail #roomsSmall .item {
  margin: 0 8px 22px 0;
  opacity: .6;
  transition: opacity .3s ease;
}
.room-detail #roomsSmall .item:hover,
.room-detail #roomsSmall .synced .item {
  opacity: 1;
}
.room-detail #roomsSmall .item img {
  width: 100%;
  height: 84px;
  margin: 0;
  object-fit: cover;
}

/* Boutons */
.room-detail a.btn-book-2,
.btn-contact,
.room-detail .btn-success {
  height: 42px;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  line-height: 40px;
  color: green;
  background: transparent;
  border: 1px solid green;
  border-radius: 0;
}
.room-detail a.btn-book-2 {
  width: 200px;
  margin-left: auto;
}
.btn-contact {
  width: 200px;
  margin: 24px 0;
  padding: 0;
}
.room-detail .btn-success {
  margin-top: 14px;
  padding: 0 18px;
  text-transform: uppercase;
}
.room-detail a.btn-book-2:hover,
.btn-contact:hover,
.room-detail .btn-success:hover,
.room-detail .btn-success:focus {
  color: #fff;
  background: green;
  border-color: green;
}

/* Chambres et suites */
.rooms-section {
  padding: 40px 0 70px;
}
.rooms-title {
  margin-bottom: 44px;
}
.rooms-list {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}
.rooms-list:before,
.rooms-list:after {
  display: none;
}
.rooms-section .room {
  height: auto;
  margin-bottom: 44px;
  padding: 0;
  border: 0;
}
.rooms-section .room img {
  aspect-ratio: 4 / 5;
  height: auto;
  margin-bottom: 18px;
  object-fit: cover;
}
.rooms-section .room .heading {
  padding: 0 0 4px;
  font-size: 16px;
  font-weight: 400;
  letter-spacing: .3px;
}
.rooms-section .room .price {
  font-size: 14px;
  font-weight: 400;
  line-height: 1.6;
  color: green;
}
.rooms-section .room .content {
  margin: 8px 0 0;
  padding-top: 8px;
  font-size: 12.5px;
  line-height: 1.7;
  color: #555;
  border-top: 1px solid #f0f0f0;
}

/* Cartes photo (accueil, piscine) */
.recent-post .overlay .content .heading,
.projects-home .overlay .content .heading {
  font-size: 18px;
  font-weight: 400;
  letter-spacing: .5px;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}
.recent-post .overlay .content .subheading,
.projects-home .overlay .content .subheading {
  font-size: 12.5px;
  font-weight: 400;
  line-height: 1.6;
  color: #fff;
  text-shadow: 0 1px 6px rgba(0, 0, 0, .8);
}

/* Restaurant */
.col-content h3 {
  margin-bottom: 14px;
  font-size: 20px;
  font-weight: 300;
  letter-spacing: .5px;
}
.col-content p,
.col-content li {
  font-size: 13.5px;
  font-weight: 300;
  line-height: 1.9;
  letter-spacing: 0;
  color: #444;
}
.col-content ul {
  overflow: hidden; /* la liste reste a cote de l'image, sans passer dessous */
}
.col-content li {
  padding: 5px 0;
  border-bottom: 1px solid #f0f0f0;
}
.col-content li:last-child {
  border-bottom: 0;
}

/* Filtre de la galerie */
#filter-porto li.filt-projects,
#filter-porto li.filt-projects:hover {
  padding: 4px 2px;
  margin: 10px 12px 10px 0;
  font-size: 11px;
  font-weight: 400;
  letter-spacing: 3px;
  color: #666;
  background: transparent;
  border-bottom: 1px solid transparent;
}
#filter-porto li.filt-projects:hover,
#filter-porto li.selected {
  color: green;
  background: transparent;
  border-bottom-color: green;
}

/* Formulaire de contact */
#contact input[type="text"],
#contact textarea {
  padding-left: 0;
  font-weight: 300;
  background: transparent;
  border: 0;
  border-bottom: 1px solid #ddd;
  border-radius: 0;
  box-shadow: none;
}
#contact input[type="text"]:focus,
#contact textarea:focus {
  border-bottom-color: green;
}
.wrapaddres address span {
  font-weight: 300;
}
.wrapaddres address strong {
  font-weight: 400;
}

/* Telephone et tablette */
@media (max-width: 991px) {
  #subheader {
    background-attachment: scroll;
  }
  #subheader h1 {
    font-size: 22px;
    letter-spacing: 2px;
  }
  .room-detail {
    padding: 40px 0 20px;
  }
  .room-detail .detaillist {
    margin: 0 0 30px;
    padding: 0;
  }
  .room-detail a.btn-book-2 {
    width: 100%;
  }
  .rooms-section {
    padding: 20px 0 40px;
  }
  .rooms-list > div {
    width: 100%;
  }
  .col-content img {
    margin-bottom: 14px;
  }
}
