.clearer {
  clear: both;
}
.web_width {
  width: 90%;
  margin: 0 auto;
}
section .title_st {
  text-align: center;
  font-family: 'NewYork';
  font-size: 35px;
  color: #003057;
  padding-bottom: 30px;
}
section .title_st.left {
  text-align: left;
}
section .title_st.white {
  color: white;
}
section .iconos {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}
section .iconos .item {
  text-align: center;
  width: 33.33%;
  padding: 2vw 3vw;
  transition: .4s;
  opacity: 1;
  transition-delay: .4s;
}
#section1 .iconos .item{
  width: calc(100% / 4);
}
section .iconos .item.scroll-effect {
  opacity: 0;
  transform: translateY(40px);
}
section .iconos .item img {
  width: 60px;
  padding-bottom: 15px;
  display: block;
  margin: 0 auto;
}
footer,
section {
  padding: 60px 0;
}
footer p,
section p {
  font-family: 'SofiaPro-UltraLight';
  font-size: 18px;
  text-align: center;
  line-height: 1.6;
  color: #4c4c4c;
  padding-bottom: 20px;
}
footer p a,
section p a {
  color: inherit;
}
footer p a:hover,
section p a:hover {
  color: #003057;
}
footer p:last-child,
section p:last-child {
  padding: 0;
}
footer p.left,
section p.left {
  text-align: left;
}
footer p.white,
section p.white {
  color: white;
}
header {
  position: absolute;
  top: 0;
  z-index: 5;
  left: 0;
  width: 100%;
  padding: 3vw 0;
}
header .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
  align-items: center;
}
header .content .logo img {
  height: 100px;
}
header .content a {
  position: fixed;
    top: 2vw;
    right: 2vw;
  display: block;
  padding: 5px 40px;
  padding-top: 7px;
  font-size: 18px;
  font-family: 'SofiaPro-Regular';
  background: white;
  color: #003057;
  box-shadow: 1px 1px 3px rgba(0, 0, 0, .4);
  transition: .3s;
  z-index: 5;
}
header .content a:hover {
  background: #003057;
  color: white;
  text-decoration: none;
}
#cabecera .botonMenu {
  background-color: #003057;
  color: white;
  padding: 10px 30px;
  font-size: 16px;
  border: none;
  font-family: 'SofiaPro-Bold';
  cursor: pointer;
  border-bottom-left-radius: 10px;
  border-bottom-right-radius: 10px;
  outline: none;
  min-width: 90px;
}
#cabecera .contenedor {
  display: inline-block;
  position: absolute;
  left: 5%;
  top: 0;
  z-index: 6;
  box-shadow: inset 0px 0px 0px 0px rgba(0, 0, 0, 0.2);
}
#cabecera .desplegable {
  display: none;
  position: absolute;
  background-color: #003057;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
}
#cabecera .desplegable a {
  color: white;
  padding: 5px 30px;
  text-decoration: none;
  display: block;
  font-family: 'SofiaPro-Regular';
  min-width: 90px;
  text-align: center;
}
#cabecera .desplegable a.selected {
  display: none;
}
#cabecera .desplegable a:hover {
  background-color: #005984;
}
#cabecera .contenedor:hover .desplegable {
  display: block;
}
#cabecera .contenedor:hover .botonMenu {
  border-radius: 0;
}
#cabecera {
  height: 100vh;
  position: relative;
}
#cabecera .imagen {
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  z-index: -1;
  overflow: hidden;
}
#cabecera .imagen:after {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  content: "";
  background: rgb(255,255,255);
  background: linear-gradient(160deg, rgba(255,255,255,0) 33%, rgba(0,0,0,0.8) 97%);
  opacity: .8;
}
#cabecera .imagen img {
  object-fit: cover;
  width: 100%;
  height: 100%;
  transition: transform 1.5s;
}
#cabecera:hover .imagen img{
  transform: scale(1.1);
}
#cabecera .box {
  position: absolute;
  bottom: 0;
  right: 0;
  font-size: 30px;
  text-shadow: 0px 0px 5px rgba(0, 0, 0, 0.5);
  color: white;
  width: 950px;
  max-width: 100%;
  z-index: 2;
  text-align: right;
  padding: 3vw 5vw;
  font-family: 'NewYork';
}
#cabecera .box .title {
  font-size: 140%;
  padding-bottom: 20px;
}
#cabecera .box .subtitle {
  font-size: 90%;
  padding-bottom: 20px;
}
#cabecera .box a {
  color: inherit;
  font-family: 'SofiaPro-Regular';
  font-size: 70%;
  padding-right: 25px;
  position: relative;
}
#cabecera .box a:after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  top: 0;
  right: 0;
  background: url(http://fornellsbay.com/images/iconos/down.svg) no-repeat 50% 50%;
  background-size: contain;
  transition-delay: 1s;
  animation-name: parpadeo;
  animation-duration: 2s;
  animation-timing-function: cubic-bezier(0.4, 0, 0, 1);
  animation-iteration-count: infinite;
}
#section2 {
  background: rgba(0, 48, 87, 0.04);
}
#section2 iframe {
  height: 30vw;
  width: 100%;
  min-height: 300px;
}
#section2 iframe:after{
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;
  content: "";
  background: red;
  pointer-events: none;
}
#section3 {
  height: 40vw;
  min-height: 300px;
  background: linear-gradient(rgba(0, 0, 0, 0.45), rgba(0, 0, 0, 0.45)), url(http://fornellsbay.com/images/vista.jpg) no-repeat 50% 50% / cover;
}
#section3 .content {
  width: 100%;
  height: 100%;
  padding: 0 4vw;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-family: 'NewYork';
  font-size: 4vw;
  flex-direction: column;
  opacity: 1;
  transition-delay: 1s;
  transition: .4s;
}
#section3 .content.scroll-effect {
  opacity: 0;
  transform: translateY(80px);
}
#section4 {
  background: linear-gradient(rgba(255, 255, 255, 0.7), rgba(255, 255, 255, 0.7)), url(http://fornellsbay.com/images/mar.jpg) no-repeat 50% 50% / cover;
  position: relative;
}

#section4 .destac {
  background-color: #003057;
  color: white;
  font-family: 'NewYork';
    font-size: 24px;
    width: fit-content;
    padding: 10px 28px;
    margin-bottom: 30px;
}
#section4 .imagen{
  width: 100%;
  height: 40vw;
  min-height: 300px;
}
#section4 .imagen img{
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: bottom;
}
.box_buttons {
  position: relative;
  display: block;
  margin: 0 auto;
  padding: 20px 0;
  text-align: center;
  transition: .3s;
  opacity: 1;
  transition-delay: .3s;
}
.box_buttons .box_button {
  position: relative;
  display: inline-block;
  margin: 0 auto;
  text-align: center;
  font-family: 'NewYork';
  font-size: 24px;
  color: #ffffff;
  line-height: 1.5;
  padding: 10px 28px;
  background: #003057;
  transition: .4s;
  opacity: 1;
  transition-delay: .4s;
}
.box_buttons .box_button.scroll-effect {
  opacity: 0;
  transform: translateY(40px);
}
#galeria {
  padding: 0;
  padding-bottom: 25px;
}
#galeria .owl-carousel .owl-item.active .item {
  opacity: 1;
}
#galeria .owl-carousel .item {
  opacity: .4;
  transition: .5s;
  height: 40vw;
  min-height: 300px;
}
#galeria .owl-carousel .item img {
  object-fit: cover;
  width: 100%;
  height: 100%;
}

.galeria1{
  padding-bottom: 0px !important;
}
#galeria .owl-carousel .owl-nav {
  width: calc(100% - 500px);
  margin: 20PX auto;
  pointer-events: none;
  display: flex;
  justify-content: space-between;
}
#galeria .owl-carousel .owl-nav div {
  outline: none;
  pointer-events: all;
  width: 40px;
}
#galeria .owl-carousel .owl-nav div img {
  width: 100%;
}
#galeria .owl-carousel .owl-nav div:nth-child(2) {
  transform: rotate(180deg);
}
#section5 {
  background: linear-gradient(rgba(255, 255, 255, 0.9), rgba(255, 255, 255, 0.9)), url(../images/cabecera.jpg) no-repeat 50% 50% / cover;
  margin-top: -30px;
}
#section5 .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 100px 0;
}
#section5 .content .text {
  width: 60%;
  opacity: 1;
  transition-delay: 3.5s;
  transition: 1.5s;
}
#section5 .content .text.scroll-effect {
  opacity: 0;
  transform: translateX(-100%);
}
#section5 .content .title_st {
  max-width: 40%;
  opacity: 1;
  transition-delay: .5s;
  transition: 1.5s;
}
#section5 .content .title_st.scroll-effect {
  opacity: 0;
  transform: translateX(-100%);
}
#section6 {
  padding: 0;
  position: relative;
  margin-top: 20px;
}
#section6:after{
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  left: 0;
  top: 0;

  background: rgba(0, 48, 87, .4) ;
  pointer-events: none;
}
#section6 iframe {
  width: 100%;
  height: 40vw;
  min-height: 300px;
}

#section7 .content {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  padding: 50px 0;
}
#section7 .content .text {
  width: 45%;
}
form {
  font-family: 'SofiaPro-UltraLight';
}
form .inputs .input-style {
  width: 100%;
  padding: 10px 0;
}
form .inputs .input-style input,
form .inputs .input-style select {
  width: 100%;
  background: none;
  outline: none;
  border: none;
  background: rgba(0, 48, 87, 0.04);
  font-size: 16px;
  padding: 10px 20px;
}
form .submits {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
}
form .submits .checkbox a {
  color: inherit;
}
form .submits .checkbox span {
  padding-left: 20px;
}
form .submits .checkbox input {
  margin: 0;
}
form .submits .submit input {
  background: none;
  outline: none;
  border: none;
  padding: 10px 30px;
  font-family: 'SofiaPro-SemiBold';
  color: white;
  background: #003057;
  font-size: 18px;
  border: bottom 1px solid #003057;
  transition: .4s;
  text-transform: uppercase;
}
form .submits .submit input:hover {
  background: white;
  color: #003057;
}
#section8 {
  background: rgba(0, 48, 87, 0.04);
}
#section8 .content{
  /* display: flex;
  flex-wrap: wrap;
  justify-content: center; */
  display: grid;
  grid-template-columns: repeat(4,1fr);
}
#section8 .content .item{
  padding: 2vw;
}
#section8 .content .item strong{
  font-family: 'SofiaPro-SemiBold';
  font-size: 120%;
  color: #003057;
}
footer {
  background: #003057;
}
footer .logos {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  padding-bottom: 20px;
}
footer .logos img {
  padding: 0 20px;
  height: 70px;
}
footer p {
  color: white;
  font-size: 12px;
}
footer p a:hover {
  color: inherit;
}
@keyframes parpadeo {
  0% {
    transform: translateY(0px);
  }
  10% {
    transform: translateY(5px);
  }
  20% {
    transform: translateY(0px);
  }
  100% {
    transform: translateY(0px);
  }
}
@media only screen and (max-width: 992px) {
  #cabecera .box {
    font-size: 25px;
  }
}
@media only screen and (max-width: 768px) {
  

  #section4 .destac{
    font-size: 21px;
  }
  header .content .logo img {
    height: 70px;
  }
  header .content a {
    padding: 4px 20px;
    padding-top: 6px;
  }
  section .title_st {
    padding-bottom: 20px;
    font-size: 30px;
  }
  section p {
    font-size: 16px;
  }
  footer p {
    font-size: 10px;
  }
  section .iconos .item img {
    width: 50px;
  }
  header .content {
    justify-content: space-between;
  }
  header .logo {
    max-width: 50%;
    min-width: 34%;
    text-align: center;
    padding-bottom: 20px;
  }
  header .content a,header .content .none {
    display: none;
  }
  #cabecera .contenedor{
    left: inherit;
    right: 5%;
  }
  #galeria .owl-carousel .owl-nav {
    width: calc(100% - 100px);
  }
  #cabecera .box {
    font-size: 23px;
    max-width: 100%;
  }
  #section3 .content {
    font-size: 6vw;
    text-align: center;
  }
  #section5 .content {
    padding: 20px 0;
  }
  #section5 .content .title_st {
    width: 100%;
    max-width: 100%;
    text-align: center;
  }
  #section5 .content .text {
    width: 100%;
  }
  #section7 .content .text {
    width: 100%;
  }
  section .iconos .item,
    #section1 .iconos .item {
    width: 50%;
  }
#section8 .content {
  grid-template-columns: 1fr 1fr;
}
}
@media only screen and (max-width: 480px) {
  #section4 .destac{
    margin-top: -30px;
  }
  section,
  footer {
    padding: 30px 0;
  }
  section .title_st {
    font-size: 25px;
  }
  #section7 .content {
    padding: 20px 0;
  }
    #section8 .content {
      display: flex;
      flex-wrap: wrap;
      justify-content: center;
    }
}
@font-face {
  font-family: 'NewYork';
  src: url("../fonts/NewYork.otf") format("opentype");
}
@font-face {
  font-family: 'SofiaPro-Light';
  src: url("../fonts/SofiaPro-Light.otf") format("opentype");
}
@font-face {
  font-family: 'SofiaPro-Regular';
  src: url("../fonts/SofiaPro-Regular.otf") format("opentype");
}
@font-face {
  font-family: 'SofiaPro-SemiBold';
  src: url("../fonts/SofiaPro-SemiBold.otf") format("opentype");
}
@font-face {
  font-family: 'SofiaPro-UltraLight';
  src: url("../fonts/SofiaPro-UltraLight.otf") format("opentype");
}