html,body {
  text-size-adjust: none;
  -webkit-text-size-adjust: none;
  -moz-text-size-adjust: none;
  -ms-text-size-adjust: none;
}

.mainImgPhone{
  display: none;
}

h1 {
  font-size: 3em;
  font-family: "Playfair Display", serif;
  color: #fff;
  margin: 0;
  padding: 0;
}

h2 {
  font-size: 1.8em;
  font-family: "Playfair Display", serif;
  color: #fff;
  margin: 0;
  padding: 0;
}

a {
  color: white;
}

a:hover {
  color: #cb5c5c;
}

body {
  font-family: "Questrial", sans-serif;
  color: #aaa9a9;
  letter-spacing: 0.2px;
  font-size: 1em;
}

#fp-nav ul li a span,
.fp-slidesNav ul li a span {
  background: #ac162c;
}

li,
.rojo {
  color: #cb5c5c;
}

.section {
  background-size: cover;
  background-color: #242424;
  text-align: center;
}

.slide {
  background-size: cover;
  background-color: #423b39;
}

#contentText {
  margin: 2%;
  width: 45%;
  text-align: left;
  float: left;
  padding: 2%;
  background-color: #242424;
  border: 5px solid #403f3f;
  font-size: 0.96em;
}

#contentText h1 {
  text-align: center;
}

#firstSlideImage {
  width: 50%;
  height: 100%;
  float: right;
}

.contentParis {
  background-color: #242424;
  padding: 2%;
  margin: 5%;
  overflow: hidden;
  width: 33%;
  float: right;
  border: 5px solid #403f3f;
}

.contentParis p {
  text-align: left;
}

#contentGirona {
  background-color: #242424;
  padding: 2%;
  margin: 5%;
  overflow: hidden;
  width: 33%;
  float: right;
  border: 5px solid #403f3f;
}

#contentGirona p {
  text-align: left;
}

hr {
  color: #cb5c5c;
  width: 50%;
}

.contactInfo {
  font-size: 1.5em;
}

.contactInfo a{
  color: #aaa9a9;
  text-decoration: none;
}

.pageNav a {
  margin: 0 5% 0 5%;
  background-color: #cb5c5c;
  color: white;
  font-weight: 600;
  font-size: 1em;
  padding: 3%;
  width: 35%;
  border: 0;
  text-decoration: none;
}

.pageNav {
  margin-top: 10%;
}

.scrollimg {
  position: absolute;
  bottom: 0px;
  left: 50%;
  margin-left: -40px;
}

.tripadvisor {
  width: 2.5%;
  position: absolute;
  right: 8%;
  /* top: 3%; */
  top: 1%;
  -webkit-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
}

#section0 .mainImg {
  left: 50%;
  margin-left: -434px;
  position: absolute;
  top: 10%;
}

#section0 {
  background-image: url(../imgs/fons_cap.jpg);
}

#slide0 {
  background-image: url(../imgs/notrephilo_bg.jpg);
  background-position: center;
}

#slide1 {
  background-image: url(../imgs/paris_bg.jpg);
  background-position: center;
}

#slide2 {
  background-image: url(../imgs/nousCherchons_bg.jpg);
  background-position: center;
}

#slide3 {
  background-image: url(../imgs/girona2_bg.jpg);
  background-position: top;
}

#section2 {
  padding-top: 5%;
  background-image: url(../imgs/contact_bg3.jpg);
}

#contactBox {
  width: 75%;
  margin: auto;
  text-align: left;
  margin-top: 2%;
}

#infoBox {
  width: 50%;
  background-color: #403f3f;
  height: 500px;
  padding: 4%;
  float: left;
}

#formBox {
  height: 500px;
  padding: 5%;
  width: 50%;
  float: right;
  /* background-color: #2d2d2d; */
  background-image: url('../imgs/map.png');
  background-size: cover;
  background-position: center;
}


#formBox:hover{ cursor: pointer; }

form {
  /*margin-top: 50px; */
  font-family: "Questrial", sans-serif;
}

form input {
  background-color: #403f3f;
  border: 0;
  padding: 5px;
  width: 65%;
  color: white;
}

form button {
  background-color: #cb5c5c;
  color: white;
  font-weight: 600;
  font-size: 1em;
  padding: 3%;
  width: 35%;
  border: 0;
}

#slide2 img {
  width: 90%;
}

/* .socialTop {
  overflow: hidden;
  display: flex;
  justify-content: space-between;
  align-items: end;
  width: 75%;
} */

.socialTop {
  display: flex; 
  z-index: 50; 
  position: absolute; 
  top: 20px; 
  left: 20px;
  background: rgba(0, 0, 0, 0.6);

}

.socialTop a {
  text-decoration: none;
}

.social {
  width: 50px;
  height: 50px;
  display: flex;

}

/* #facebook {
  background-color: #3b5998;
}

#instagram {
  background-color: #e1306c;
}

#booking {
  background-color: #003580;
} */

#booking img {
  height: 21px;
  width: auto;
  margin: auto;
}

/* #tripadvisor {
  background-color: #00af87;
} */

.socialIcon {
  color: white;
  font-size: 20px;
  margin: auto;
}

* {
  box-sizing: border-box;
}

/* Slideshow container */
.slideshow-container {
  max-width: 12%;
  position: absolute;
  top: 0;
  margin: 1.2%;
  border: 5px solid #403f3f;
  background-color: #242424;

  -webkit-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
  -moz-box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
  box-shadow: 0px 0px 19px 0px rgba(0, 0, 0, 0.35);
}

/* Hide the images by default */
.mySlides {
  display: none;
}

/* Next & previous buttons */
.prev,
.next {
  cursor: pointer;
  position: absolute;
  top: 50%;
  width: auto;
  margin-top: -22px;
  padding: 16px;
  color: white;
  font-weight: bold;
  font-size: 18px;
  transition: 0.6s ease;
  border-radius: 0 3px 3px 0;
  user-select: none;
}

/* Position the "next button" to the right */
.next {
  right: 0;
  border-radius: 3px 0 0 3px;
}

.prev {
  left: 0;
}

/* On hover, add a black background color with a little bit see-through */
.prev:hover,
.next:hover {
  background-color: rgba(0, 0, 0, 0.8);
}

/* Number text (1/3 etc) */
.numbertext {
  color: #f2f2f2;
  font-size: 12px;
  padding: 8px 12px;
  position: absolute;
  top: 0;
}

/* Fading animation */
.fade {
  -webkit-animation-name: fade;
  -webkit-animation-duration: 1.5s;
  animation-name: fade;
  animation-duration: 1.5s;
}

/* Languages menu */
.custom-select { 
  display: flex; 
  z-index: 50; 
  position: absolute; 
  top: 20px; 
  right: 20px;
  background: rgba(0, 0, 0, 0.6);
  padding: 10px;
}

a.link_lang:link, a.link_lang:visited, a.link_lang:hover, a.link_lang:active { 
  text-decoration:none; 
}

.selected{ 
  padding-bottom: 3px; 
  border-bottom: 1px solid white; 
}

.lang{ 
  margin:5px 10px; 
}

/* ------------ */

@-webkit-keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@keyframes fade {
  from {
    opacity: 0.4;
  }
  to {
    opacity: 1;
  }
}

@media screen and (max-width: 1400px) and (orientation: landscape){
  p {
    font-size: 12px !important;
  }

  h1 {
    font-size: 25px !important;
  }

  h2 {
    font-size: 16px !important;
  }

  ul {
    font-size: 12px !important;
  }

  #formBox, #infoBox {
    height: 400px !important;
  }

  /* .social {
    width: 70px;
    height: 70px;
  } */


  /* .socialTop {
    width: 100%;
} */




  .pageNav a {
    font-size: 0.7em;
  }

  .contacterBtn {
    margin-left: -15px !important;
  }

  .contacterBtn img {
    height: 30px !important;
    width: 30px !important;
  }
}

@media screen and (max-width: 720px) and (orientation: portrait) {
  p, ul, a {
    font-size: 0.7em !important;
    line-height: 1em;
  }
  h2 {
    font-size: 2em !important;
  }
  h1 {
    font-size: 3em !important;
  }

  #contactBox p {
    font-size: 1.5em !important;
  }

  .social {
    width: 125px !important;
    height: 125px !important;
  }

}

@media screen and (orientation: portrait) {

  h1 {
    line-height: 1em;
  }

  /* lang menu */
  .custom-select{ font-size: 2em; }

  .socialTop{ font-size: 2em; }

  #fp-nav {
    display: none;
  }

  /*MAIN SLIDE*/
  .mainImg {
    /*margin-left: -730px !important;
    width: 130% !important;
    margin-top: 200px;*/
    display: none;
  }

  .mainImgPhone {
    display: initial;
    width: 100%;
    margin-top: 25%;
  }

  #contentText {
    width: auto;
    font-size: 2em;
    padding-top: 50px;
    padding-bottom: 50px;
    line-height: 1.2em;
    background-color: #242424cc;
  }

  hr {
    display: none;
  }

  .pageNav {
    margin-top: 5% !important;
  }

  /*FIRST SLIDE*/
  #firstSlideImage {
    display: none !important;
  }

  .scrollimg {
    /*display: none !important;*/
    width: 200px !important;
    margin-left: -100px;
    bottom: 5%;
  }

  .contacterBtn {
    display: none !important;
  }

  /*GIRONA*/
  #contentGirona {
    width: auto !important;
    font-size: 2em;
    line-height: 1.2em;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  .slideshow-container {
    display: none;
  }

  hr {
    margin-top: 25px;
  }

  .tripadvisor {
    width: 400px !important;
    right: 12.5% !important;
    margin-right: -200px !important;
    top: 74% !important;
  }

  /*PARIS*/
  .contentParis {
    width: auto;
    font-size: 2em;
    line-height: 1.2em;
    padding-top: 50px;
    padding-bottom: 50px;
  }

  /*PHILOSOPHIE*/

  #contactBox {
    width: auto;
    margin: 5%;
  }

  .contentParis {
    width: auto !important;
    font-size: 2em !important;
    line-height: 1.2em !important;
  }

  /*CONTACT SLIDE*/
  #section2 h2 {
    font-size: 2.9em;
  }

  #section2 h1 {
    font-size: 4.7em;
  }

  #section2 p {
    font-size: 2.2em;
  }

  #formBox input {
    height: 50px;
  }

  #infoBox {
    width: auto;
    float: unset;
    height: auto;
    padding: 5%;
  }

  #formBox {
    width: auto;
    float: unset;
    height: auto;
    padding: 50px;
    padding-bottom: 150px;
    height: 725px;
  }

  /* .socialTop {
    overflow: unset;
    margin-top: 100px;
    width: 100%;
    margin-bottom: 50px;
  } */

  .social {
    width: 95px;
    height: 75px;
    display: flex;
  }

  .socialIcon {
    font-size: 45px;
  }

  #booking img {
    height: 48px;
  }

}
