html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Lato', sans-serif;
}

.navbar-toggle .icon-bar {
  background: #200808;
}

/*
font-family: 'Lora', serif;
*/
header {
  font-family: 'Lora', serif;
  font-weight: 700;
  position: fixed;
  top: 0;
  width: 100%;
  padding: 5px 0;
  font-size: 22px;
  background: #fff;
  z-index: 100;
}

header .logo {
  position: absolute;
  left: 50%;
  transform: translateX(-50%);
  max-width: 180px;
  padding: 10px;
  background: #fff;
  border-radius: 0 0 100% 100%;
  top: 0;
  transition: .6s ease;
}

header.affix .logo {
  max-width: 110px;
}

header .logo a img {
  width: 100%;
}

header nav {
  text-align: center;
}

header nav a {
  width: 200px;
  display: inline-block;
  line-height: 90px;
  color: #200808;
  text-decoration: none;
  transition: .6s ease;
}

header.affix nav a {
  line-height: 60px;
}

header nav a:hover {
  text-decoration: none;
  background: #f1f1f1;
  color: #200808;
}

header nav a:first-child {
  margin-right: -6px;
}

header nav a:last-child {
  margin-left: -6px;
}

header nav a:nth-child(2), header nav a:first-child {
  border-left: solid 1px #dddddd
}

header nav a:nth-child(3), header nav a:last-child {
  border-right: solid 1px #dddddd
}

header nav a:nth-child(2) {
  margin-right: 7%;
  border-right: solid 1px #ddd;
}

header nav a:nth-child(3) {
  margin-left: 7%;
  border-left: solid 1px #ddd;
}

#principal {
  height: 100vh;
  padding: 15px;
}

#principal .carrusel, #principal .carrusel .item {
  height: 100%;
  width: 100%;
  overflow: hidden;
  position: relative;
}

#principal .carrusel .item .owl-item, .no-js .owl-carousel, .owl-carousel.owl-loaded, .owl-carousel .owl-stage-outer, .owl-carousel .owl-stage, #principal>div>div>div.owl-stage-outer>div>div {
  height: 100% !important;
}

#principal .carrusel .item .titulos {
  height: 100vh;
  width: 100%;
  background: rgba(1, 1, 1, 0.3);
  position: absolute;
}

#BodaS {
  background: url('../img/bodas.jpg') center no-repeat;
  background-size: cover;
}

#EmpresaS {
  background: url('../img/empresas.jpg') center no-repeat;
  background-size: cover;
}

#GraduacioneS {
  background: url('../img/graduaciones.jpg') center no-repeat;
  background-size: cover;
}

#SocialeS {
  background: url('../img/quince.jpg') center no-repeat;
  background-size: cover;
}

#principal .carrusel .item h3 {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  text-align: center;
  font-size: 70px;
  color: #fff;
  font-family: 'Lora', serif;
  font-weight: 700;
  margin: 0;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, .5);
  border: solid 3px #fff;
  padding: 30px 100px;
}

#principal .carrusel .owl-nav {
  position: absolute;
  right: 0;
  bottom: 0;
}

#principal .carrusel .owl-nav .owl-prev, #principal .carrusel .owl-nav .owl-next {
  width: 70px;
  line-height: 70px;
  font-size: 40px;
  text-align: center;
  background: #fff;
  transition: .6s ease;
  display: inline-block;
  outline: none;
}

#principal .carrusel .owl-nav .owl-prev:hover, #principal .carrusel .owl-nav .owl-next:hover {
  background: #ddd;
}

#salones .sin-padding {
  padding: 0;
}

#salones .contenedor .textos h2 {
  font-size: 45px;
  font-family: 'Lora', serif;
  color: #200808;
  margin: 0;
}

#salones .contenedor .textos h4 {
  font-size: 22px;
  font-weight: 300;
  color: #200808;
}

#salones .contenedor figure figcaption.mini-txt .info {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 90%;
}

#salones .contenedor figure figcaption.mini-txt::after {
  width: 100%;
  height: 100%;
  opacity: 1;
}

#salones .contenedor .textos figcaption:hover {
  background: transparent;
}

#salones .contenedor figure {
  position: relative;
  border: solid 15px #fff;
}

#salones .contenedor figure img {
  width: 100%;
  object-fit: cover;
}

#salones .contenedor figure figcaption {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  color: #fff;
  width: 100%;
  height: 100%;
  transition: .8s ease-in-out;
}

#salones .contenedor figure figcaption::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateY(-50%) translateX(-50%);
  width: 95%;
  height: 95%;
  border: double 6px #e7b10e;
  opacity: 0;
  transition: .8s ease-in-out;
}

#salones .contenedor figure figcaption:hover::after {
  opacity: 1;
}

#salones .contenedor figure figcaption h3 {
  font-family: 'Lora', serif;
  font-size: 35px;
  margin: 0;
  font-weight: 700;
  background: rgba(23, 8, 5, 0.7);
  padding: 20px 40px;
  top: 50%;
  left: 50%;
  position: absolute;
  transform: translateY(-50%) translateX(-50%);
}

#salones .contenedor figure figcaption h3 small {
  color: #e7b10e;
  text-transform: uppercase;
  font-size: 20px;
}

#contacto .container-fluid {
  padding: 0;
}

#contacto .eq {
  display: flex;
  justify-content: center;
  align-items: center;
  height: 650px;
}

#contacto h2 {
  font-family: 'Lora', serif;
  font-size: 50px;
  margin: 0;
  margin-bottom: 30px;
  color: #200808;
}

#contacto .info article {
  border-left: double 6px #e7b10e;
  padding-left: 30px;
  padding-top: 10px;
  padding-bottom: 10px;
  margin-bottom: 30px;
}

#contacto h4 {
  font-weight: 700;
  font-family: 'Lora', serif;
  font-size: 24px;
}

#contacto input, #contacto textarea {
  width: 100%;
  border: none;
  border-bottom: solid 2px #e7b10e;
  margin-bottom: 30px;
  padding: 12px;
  font-size: 16px;
  box-shadow: 0 0 10px 2px rgba(0, 0, 0, .15);
  resize: none;
  outline: none;
}

#contacto textarea {
  height: 100px;
}

#contacto button {
  background: #200808;
  color: #fff;
  font-size: 16px;
  text-transform: uppercase;
  border: none;
  padding: 10px 60px;
  transition: .5s ease-in-out;
}

#contacto button:hover {
  box-shadow: 0 5px 10px 2px rgba(42, 30, 26, 0.35);
  background: #2f1717;
}

#contacto .decoracion {
  border: solid 15px #fff;
  background: url('../img/contacto.jpg') center no-repeat;
  background-size: cover;
}

#mapa{
    padding: 0 15px;
}

footer {
  padding: 30px 0;
  background: #2f1717;
  text-align: center;
  color: #fff;
  font-size: 18px;
  font-weight: 300;
}

footer img {
  height: 35px;
}


/*-----  Páginas   -----*/

.titulo{
    height: 45vh;
    margin-top: 95px;
    position: relative;
    margin-bottom: 30px;
}
.titulo h2{
    font-family: 'Lora', serif;
    font-size: 70px;
    color: #fff;
    position: absolute;
    text-align: center;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
    font-weight: 900;
    text-shadow: 4px 4px 6px rgba(0,0,0,1);
    margin-top: 0;
}

.titulo#bodas{
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url('../boda/img/bodas-19.jpg') 0 79% no-repeat;
    background-size: cover;
}

.titulo#ecuestres{
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url('../img/ecuestre-5.jpeg') 0 8% no-repeat;
    background-size: cover;
}

.titulo#empresas{
    background: linear-gradient(rgba(0,0,0,.5), rgba(0,0,0,.5)), url('../img/empresa-23.jpg') 0 60% no-repeat;
    background-size: cover;
}

.galeria img{
    width: 100%;
}

.galeria figure{
    height: 200px;
    overflow: hidden;
    background: #fff;
    margin-bottom: 30px;
}

/*-----  Páginas   -----*/

@media (min-width: 992px) and (max-width: 1200px) {
  #salones .contenedor .textos h2 {
    font-size: 38px;
  }

  #salones .contenedor .textos h4 {
    font-size: 20px;
  }
}

@media (max-width: 991px) {
  header {
    font-size: 16px;
  }

  header nav a {
    width: 130px;
  }

  header nav a:nth-child(2) {
    margin-right: 12%;
    border-right: solid 1px #ddd;
  }

  header nav a:nth-child(3) {
    margin-left: 12%;
    border-left: solid 1px #ddd;
  }

  #salones .contenedor figure figcaption h3 {
    width: 80%;
  }

  #salones .contenedor figure figcaption p {
    font-size: 18px;
  }
}

@media (max-width: 767px) {
  header {
    height: 60px;
    font-size: 22px;
  }

  header .logo {
    max-width: 110px;
  }

  header.affix .logo {
    max-width: 100px;
  }

  header nav {
    text-align: center;
    background: #fff;
    height: 100vh;
    position: relative;
  }

  header nav a {
    display: block;
    width: 100%;
    text-align: center;
    border: none !important;
  }

  header nav a:nth-child(2) {
    margin-right: 0;
  }

  header nav a:nth-child(3) {
    margin-left: 0;
  }

  header nav a:first-child {
    margin-right: 0;
  }

  header nav a:last-child {
    margin-left: -6px;
  }

  header.affix nav a {
    line-height: auto;
  }

  .resposive-m {
    position: absolute;
    top: 50%;
    width: 100%;
    transform: translateY(-50%);
  }

  .navbar-toggle {
    position: absolute;
    left: 30px;
    top: 5px;
  }

  #principal .carrusel .item h3 {
    font-size: 40px;
    padding: 30px;
  }

  #contacto .eq {
    display: flow-root;
    height: auto;
  }

  #contacto .decoracion {
    height: 450px;
  }

  #salones .contenedor .textos h2 {
    font-size: 40px;
  }

  #salones .contenedor .textos h4 {
    font-size: 20px;
  }
}