/*!
Theme Name: Bootstrap 4
Theme URI: http://underscores.me/
Author: Pico e'Gallo
Author URI: http://www.picoegallo.com
Description: Description
Version: 1.0.0
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: bootstrap-4
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

/*********************************************************/
/********************* FIX NO BORRAR *********************/
/*********************************************************/
/* Esto es un copy paste de los estilos de .dropdown-item
/* el menu nuevo de BS4 tiene las sublitsas en un div
/* pero el walker de WP solo anida ul, asi que meto esta 
/* clase a mano porque el CSS de BS4 no agarra estos items
/*********************************************************/

.dropdown-menu a {
  display:block !important;
  width:100% !important;
  padding:.25rem 1.5rem !important;
  clear:both !important;
  font-weight:400 !important;
  color:#212529 !important;
  text-align:inherit !important;
  white-space:nowrap !important;
  background:0 0 !important;
  border:0 !important
}

.dropdown-menu a:focus, .dropdown-menu a:hover {
  color:#16181b !important;
  text-decoration:none !important;
  background-color:#f8f9fa !important
}

.dropdown-menu a.active, .dropdown-menu a:active {
  color:#fff !important;
  text-decoration:none !important;
  background-color:#007bff !important
}

.dropdown-menu a.disabled, .dropdown-menu a:disabled {
  color:#868e96 !important;
  background-color:transparent !important
}

/**************************************/
/************** CUSTOM ****************/
/**************************************/
h1 {
  font-size: 4vw;
  color: #216093;
  font-weight: 400;
  line-height: 55px;
}
.font-weight-bold {
  font-weight: 700 !important;
}
.sombra-blanca {
  text-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
}

.bg-azul-1 {
  background-color: #3a73a2;
}

.bg-azul-2 {
  background-color: #2d6694;
}

.bg-azul-3 {
  background-color: #215885;
}

.bg-azul-4 {
  background-color: #0f3d62;
}

.bg-naranja {
  background-color: #f5800e;
}

.text-naranja {
  color: #f5800e;
}
.text-white {
  color: #ffffff;
}
.text-azul {
  color: #216093;
}

.text-gris {
  color: #696968;
}

.navbar {
  font-size: 16px;
	font-weight: 400;
	background-color: #ffffff
}

.navbar .active a, .navbar a:hover {
  color: #216093 !important;
}

.navbar-brand img {
  width: 180px;
}

.navbar p {
  margin-bottom: 0px;
  line-height: 15px;
}

.navbar .social {
  width: 30px;
}

.home main {
  padding-left: 0px !important;
  padding-right: 0px !important;
}

main {
  background-image: url(img/fondo2.png);
  background-position: bottom;
  background-size: cover;
}

.carousel img, .mapa img {
  width: 100%;
}

.carousel-caption {
  /* text-shadow: 0px 0px 15px #000000; */
  bottom: 30%;
}

.carousel-indicators li {
    width: 20px;
    height: 20px;
    border-radius: 10px;
    box-shadow: 0px 0px 15px black;
}

.carousel-caption h1 {
  font-size: 5vw;
  color: #216093;
  font-weight: 700;
  margin: 0;
  text-shadow: 0px 0px 20px rgba(255, 255, 255, 1);
}

.carousel-caption .btn {
  border-radius: 50px;
  background-color: #216093;
  border: 0px solid #ffffff;
  padding: 10px;
}

.testimonios {
  background-image: url(img/fondo1.png);
  background-position: right;
  background-size: cover;
}

.comilla {
  font-size: 8vw;
  line-height: 0px;
}

.pie-izq img {
  width: 180px;
}

.btn-mas {
  border-radius: 50px;
}

.img-banner-news {
  height: 100%;
  object-fit: cover;
}

.servicios div:hover {
  background-color: #f5800e;
  color: #0f3d62 !important;
}
.servicios a {
  color: #ffffff;
}
#googleMap {
  height: 400px;
}

.post-thumbnail img {
  margin-left: -15px;
  width: 100%;
  height: auto;
  margin-bottom: 15px;
}

.entry-title a {
  color: #696968 !important;
  font-weight: bold;
}
#imageContainer {
    background-color: #fff;
    overflow: hidden;
}  
#imageContainer img {
  animation: kenburns 40s infinite;
}
.lista-servicios .wpcf7-list-item {
  margin-left: 0px;
  display: block;
}

@media(min-width: 768px) {
  @keyframes kenburns {
      0% {
        opacity: 0;
      }
      5% {
        opacity: 1;
      }
      95% {
          transform: scale3d(1.5, 1.5, 1.5) translate3d(120px, 120px, 0px);
          animation-timing-function: ease-in;
          opacity: 1;
      }
      100% {
          transform: scale3d(2, 2, 2) translate3d(-170px, -100px, 0px);
          opacity: 0;
      }
  }
  .borde-derecha {
    border-right: 1px solid rgba(0,0,0,.1);
  }
  
  .torcida {
    margin-left: -48px;
  }
  
  .carousel-news {
    margin-left: -3rem;
    margin-right: -3rem;
  }
}

@media(max-width: 767px) {
  .carousel-caption {
    bottom: 0%;
  }
  
  .comilla {
    font-size: 20vw;
  }
  
  .carousel-caption .btn {
    font-size: 3vw;
  }
  
  .carousel-news {
    margin-left: -1rem;
    margin-right: -1rem;
  }
}