/* ==========================================================================
   Author's custom styles
   ========================================================================== */
html,
body {
  height: 100%;
}

/* BARRA NAVEGACIÓN */
.barra-navegacion {
  background-color: rgba(40, 38, 88, 1);
  position: fixed;
  width: 100%;
  height: 64px;
  z-index: 9999;
  top: 0;
}

.dropdown.open .dropdown-toggle {
  background-color: rgba(40, 38, 88, 1) !important;
  background-image: none !important;
  box-shadow: none !important;
}

.dropdown-menu {
  background-color: rgba(40, 38, 88, 0.75);
  margin-top: 10px !important;
  border-radius: 0px;
  border: none;
}

.dropdown-item,
.dropdown-item:hover {
  color: #fff;
  width: 100%;
  display: block;
  padding: 0.25rem 1.5rem;
  text-decoration: none;
  white-space: nowrap;
  font-size: 17px;
  font-weight: 200;
}

@media (max-width: 768px) {
  .dropdown.open {
    margin-bottom: 70px;
  }

  .dropdown-menu {
    background-color: rgba(40, 38, 88, 0.5) !important;
    margin-top: -5px !important;
    padding-left: 10px;
  }

  .dropdown-item {
    padding-bottom: 10px;
  }
}

.affix.barra-navegacion {
  background-color: rgba(40, 38, 88, 0.75);
  transition: all 0.3s ease 0s;
}

.affix.barra-navegacion .dropdown.open .dropdown-toggle {
  background-color: transparent !important;
}

.nav {
  padding: 10px;
  list-style: none;
}

.navbar-nav > li,
.navbar-nav > li > a {
  height: 44px;
  line-height: 24px;
}

.navbar-inverse .navbar-nav > li > a {
  font-size: 17px;
  font-weight: 400;
  padding-top: 10px;
  padding-bottom: 10px;
  color: #fff;
}

.navbar-inverse .navbar-nav > .active > a {
  background: none;
  box-shadow: none;
}

.navbar-inverse .navbar-nav > li.active > a,
.navbar-inverse .navbar-nav > li.active > a:hover,
.navbar-inverse .navbar-nav > li.active > a:focus {
  color: #ddd;
  background-color: transparent;
  border-radius: 0px;
}

.navbar-inverse .navbar-navli > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #ddd;
  background-color: transparent;
  border-radius: 0px;
}

.navbar {
  position: fixed;
  width: 100%;
  height: 64px;
  margin: 0px;
  border: none;
  border-radius: 0px;
}

.navbar-nav {
  margin: 0px;
}

.navbar-collapse.collapse,
.navbar-collapse {
  padding: 0px;
}

.navbar-inverse {
  background: none !important;
}

.navbar-inverse .navbar-collapse {
  border: none;
}

.navbar-collapse.collapse.in {
  background-color: rgba(40, 38, 88, 1);
}

.affix .navbar-collapse.collapse.in {
  background-color: rgba(40, 38, 88, 0.75);
  transition: all 0.3s ease 0s;
}

.no-transition {
  -webkit-transition: height 0.01s;
  -moz-transition: height 0.01s;
  -ms-transition: height 0.01s;
  -o-transition: height 0.01s;
  transition: height 0.01s;
}

/* Botón navbar collapse */
.navbar-inverse .navbar-toggle:hover {
  background-color: transparent;
}

.navbar-inverse .navbar-toggle {
  border-color: transparent;
  height: 64px;
  margin: 0px;
  border: 0px;
  float: left;
  padding-left: 25px;
}

/* CONTENIDO PRINCIPAL */
h1 {
  font-weight: 300;
  color: #282658;
}

h2 {
  color: #8e1876;
  font-weight: 200;
  font-size: 28px;
}

h4 {
  color: #999;
  font-weight: 200;
  font-size: 24px;
}

p,
li {
  font-size: 16px;
  font-weight: 300;
}

.contenido-principal {
  text-align: center;
  margin-top: 110px;
}

.contenido-principal .align-left {
  text-align: left;
}

/* INICIO */
.inicio .imagenes-intro {
  padding-top: 20px;
  padding-bottom: 20px;
}

@media (max-width: 500px) {
  .inicio .logo img {
    height: 120px;
  }
}

@media (min-width: 500px) and (max-width: 768px) {
  .inicio .logo img {
    height: 170px;
  }
}

@media (min-width: 768px) {
  .inicio .logo img {
    height: 250px;
  }
}

.inicio .imagenes-intro img {
  width: 100%;
  max-height: 230px;
  object-fit: cover;
}

/* Cuando la pantalla es pequeña se ven mal */
@media (max-width: 1200px) {
  .inicio .imagenes-intro img {
    width: 100%;
    max-height: 175px;
  }
}

@media (max-width: 992px) {
  .inicio .imagenes-intro img {
    max-width: 330px;
  }
}

/* SERVICIOS */
.servicios .service-image img {
  max-height: 150px;
}

@media (min-width: 1200px) {
  .servicios .service-description {
    padding-top: 20px;
  }
}

/* Como llegar */
.mapa-localizacion {
  width: 100%;
  height: 320px;
}

/* VELATORIOS */
.cabecera {
  height: 100%;
}

.cabecera-background {
  height: 100%;
  opacity: 0.65;

  background-attachment: fixed;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.cabecera-background.herrera {
  background-image: url(../img/herrera/fachada.jpg);
}

.cabecera-background.alar {
  background-image: url(../img/alar/fachada.jpg);
}

.cabecera .content {
  left: 0;
  top: 20%;
  width: 100%;
  position: absolute;
  text-align: center;
}

.cabecera .title {
  font-size: 65px;
  color: #fff;
}

.cabecera .description {
  font-size: 25px;
  font-weight: 200;
  color: #f5f5f5;
}

.cabecera .buttons {
  margin-top: 70px;
}

@media (max-width: 768px) {
  .cabecera .title {
    font-size: 50px;
  }

  .cabecera .description {
    font-size: 20px;
  }
}

.cabecera .btn {
  border-radius: 0;
  width: 150px;
  text-align: center;
  margin: 0px 10px;
  box-shadow: 3px 3px 10px #272727;
  transition: all 0.1s ease-in-out;
  background-color: #282658;
}

.cabecera .btn:hover {
  transform: scale(1.05);
}

.cabecera .btn:focus {
  outline: none;
}

.cabecera .btn a {
  text-decoration: none;
  font-weight: 300;
  font-size: 18px;
  color: #fff;
}

/* IMAGENES */
.imagenes .carousel {
  z-index: 0;
}

.imagenes h4 {
  color: #fff;
  font-size: 20px;
}

.imagenes .carousel-inner .item {
  max-height: 610px;
}

.velatorio .contenido-principal {
  margin-top: 0px;
}

/* FOOTER */
.footer {
  padding: 30px;
  background-color: #230050;
  color: #fff;
}

.footer .botom-footer {
  width: 100%;
}

.footer .botom-footer p {
  display: inline-block;
}

.footer .aviso-legal {
  right: 30px;
  position: absolute;
  font-size: 16px;
  font-weight: 300;
  color: #fff;
}

.footer .aviso-legal:hover {
  text-decoration: underline;
}

.contacto {
  text-align: center;
}

/* Esquelas */
.esquelas-container {
  flex-direction: column;
  display: flex;
  height: 100%;
}

.esquelas-container .row {
  flex-grow: 1;
  margin: 0px;
}

/* Cookies Message */
.cookiesmessage {
  box-shadow: 0px 0px 2px 2px #000;
  background-color: #000;
  padding: 10px 20px;
  position: fixed;
  opacity: 0.75;
  display: none;
  color: #fff;
  bottom: 0;
  width: 100%;
}

.cookiesmessage button {
  background-color: #fff;
  color: #000;
}

.cookiesmessage p {
  margin: 0px;
}

/* Politica */
.politica p {
  text-align: justify;
}

/* Inaguracion */
.modal .modal-content {
  margin-top: 80px;
}

.modal img {
  width: 100%;
}

.modal .modal-header {
  border: none;
}
