* {box-sizing: border-box;}

body { 
  margin: 0;
  font-family: 'Oswald', Helvetica, sans-serif;
}
h1 {
  margin:.67em 0;
  font-size:2em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, .30);
  color: white;
  padding-left:50px;
}
h2 {
  margin:.67em 0;
  font-size: 1em;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, .30);
  color: white;
  text-align: center;
}
.normal h1{
  font-size: 55px;text-align:left;
}
.azul {
  font-size: 55px;color:rgb(31, 32, 221);
}
.gris {
  color:rgb(60, 60, 77);text-align: center;
}
.normal h2{
  font-size: 55px;text-align:center;
}
.centro {
  text-align: center;
}
p {
  font-family: 'Helvetica';
  text-align: left;
  margin:.67em 0;
  font-size: 20px;
  text-shadow: 2px 2px 6px rgba(0, 0, 0, .30);
  color: white;
  padding-left:50px;
}
button {
  font-family: 'Oswald';
  color: rgb(255, 255, 255);
  padding: 12px;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
  background-color: rgba(14, 66, 124, 1);
  border:none;display:inline-block;padding:8px 16px;vertical-align:middle;overflow:hidden;
}
.textoNegro p{
  color: black;
}
button:hover {
  background-color: rgb(31, 32, 221);
}
a {
  color: rgb(255, 255, 255);
  padding: 12px;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}
/*Carrusel
.carousel-item {
  width: 500px;
  height: 250px;


  }*/
.carousel-item img{
  object-fit: cover;
  object-position: center;
  height: 75vh;
  overflow: hidden;
  }

.carousel-item:before{
content: "";
background-image: linear-gradient(
  to bottom,
  transparent, rgba(0,0,0,0.5));
  display:block;
  position: absolute;
  top:0;
  width: 100vw;
  height: 100vh;
}
/*Navegación*/
.navbar {
  overflow: hidden;
  padding: 20px 10px; /* Large padding which will shrink on scroll (using JS) */
  position: fixed; /* Sticky/fixed navbar */
  width: 100%;
  top: 0; /* At the top */
  z-index: 99;
  font-family: 'Oswald', sans-serif;
    border-radius: 0px;
    border: 0;
    padding: 25px 0 25px;
    padding-left:50px;
    padding-right:50px;
    margin: 0px;
    background-color: transparent;
    background: -moz-linear-gradient(top, rgba(14, 66, 124, 1) 0%, rgba(193, 198, 214, 0.8) 50%, rgba(225, 227, 234, 0) 100%);
    /* FF3.6-15 */
    background: -webkit-linear-gradient(top, rgba(14, 66, 124, 1) 0%, rgba(193, 198, 214, 0.8) 50%, rgba(225, 227, 234, 0) 100%);
    /* Chrome10-25,Safari5.1-6 */
    background: linear-gradient(to bottom, rgba(14, 66, 124, 1) 0%, rgba(193, 198, 214, 0.8) 50%, rgba(225, 227, 234, 0) 100%);
    /* W3C, IE10+, FF16+, Chrome26+, Opera12+, Safari7+ */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#000000', endColorstr='#00000000', GradientType=0);
    /* IE6-9 */
}

/* Style the navbar links */
.navbar a {
  float: left;
  color: rgb(255, 255, 255);
  text-align: center;
  padding: 12px;
  text-decoration: none;
  font-size: 18px;
  line-height: 25px;
  border-radius: 4px;
}

/* Style the logo */
.navbar #logo {
  font-size: 35px;
  font-weight: bold;
  transition: 0.4s;
}

/* Links on mouse-over */
.navbar a.unactive:hover, .icon:hover {

  /*background-color: rgb(218, 49, 49);
  filter: invert(17%) sepia(54%) saturate(4143%) hue-rotate(348deg) brightness(99%) contrast(109%);*/
  filter: invert(78%) sepia(93%) saturate(5330%) hue-rotate(9deg) brightness(85%) contrast(88%);
}

/* Style the active/current link */
.navbar a.active {
  background-color: rgb(189, 17, 17);
  color: white;
}

/* Display some links to the right */
.navbar-right {
  float: right;
}
.navbar .icon {
  display: none;
}
.img-logo{
  width: 250px;
  height: auto;
}
.img-wa{
  width: 20px;
  height: auto;
}
.principal{
  background-image: url("img/crib-portada.jpg");

  /* Full height */
  width: 100%; 
  padding:10px 10px ;font-size:30px;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.empresa{
  background-image: url("img/proyectosO.webp");

  /* Full height */
  width: 100%; 
  padding:10px 10px ;font-size:30px;
  /* Center and scale the image nicely */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}
.fondo{
  background-color: rgb(31, 32, 221);
}
.fondo p{
  text-align: center;
}
.fondo2{
  background-color: rgb(255, 255, 255);
  padding-top: 50px;
  padding-bottom: 50px;;
}
.enCRIB{
  width:750px;
  /* Full height 
  width: 100%; */
  padding:10px 10px ;font-size:30px;

}
.bottom-left h1{
  color: white;
}

table {

  border-collapse: collapse;
  margin: 0;
  padding: 0;
  width: 100%;
  table-layout: fixed;
}
 
table caption {
  font-size:2em;
  margin: .5em 0t .75em;
}

table tr {
  padding: .35em;
}

table th,
table td {
  padding: .625em;
  text-align: center;
}

table th {
  font-size: .85em;
  letter-spacing: .1em;
  text-transform: uppercase;
}

@media screen and (max-width: 1000px) {
  table {
    border: 0;
  }

  table caption {
    font-size: 1.3em;
  }
  
  table thead {
    border: none;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
  }
  
  table tr {

    display: block;
    margin-bottom: .625em;
  }
  
  table td {
    margin:auto;
    display: block;
    font-size: .8em;
    text-align: left;
  }
  table td::before {
    /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */

    float: left;
    font-weight: bold;
    text-transform: uppercase;
  }
  
  table td:last-child {
    border-bottom: 0;
  }

}
/* Add responsiveness - on screens less than 580px wide, display the navbar vertically instead of horizontally */

@media screen and (max-width: 800px) {
  .navbar {
    padding: 20px 10px !important;
  }
  .navbar-right {
    float: none;
  }
  h1 {
  font-size: 35px;
  text-align: center;
  padding-left:0px;
  }
  p {
    font-size: 20px;
    padding-left:0px;
}
}
@media screen and (max-width: 800px) {
  .navbar-right a {display: none;}
  .navbar a.icon {
    float: right;
    display: block;
  }
  .img-logo{
    width: 125px;
    height: auto;
  }
}

@media screen and (max-width: 800px) {
  .navbar-right.responsive {position: relative;}
  .navbar-right.responsive .icon {
    position: absolute;
    right: 0;
    top: 0;
  }
  .navbar-right.responsive a {
    float: none;
    display: block;
    text-align: left;
  }
  .img-logo.responsive{
    display: none;
  }
}
/* Galería */
.container.gallery-container {
  background-color: #fff;
  color: #35373a;
  min-height: 100vh;
  border-radius: 20px;
  box-shadow: 0 8px 15px rgba(0, 0, 0, 0.06);
}

.gallery-container h1 {
  text-align: center;
  margin-top: 70px;
  font-family: 'Droid Sans', sans-serif;
  font-weight: bold;
}

.gallery-container p.page-description {
  text-align: center;
  max-width: 800px;
  margin: 25px auto;
  color: #888;
  font-size: 18px;
}

.tz-gallery {
  padding: 40px;
}

.tz-gallery .lightbox img {
  width: 100%;
  margin-bottom: 30px;
  transition: 0.2s ease-in-out;
  box-shadow: 0 2px 3px rgba(0,0,0,0.2);
}


.tz-gallery .lightbox img:hover {
  transform: scale(1.05);
  box-shadow: 0 8px 15px rgba(0,0,0,0.3);
}

.tz-gallery img {
  border-radius: 4px;
}

.baguetteBox-button {
  background-color: transparent !important;
}


@media(max-width: 768px) {
  body {
      padding: 0;
  }

  .container.gallery-container {
      border-radius: 0;
  }
}

/* Mapa */
#map {
  height: 400px;
  /* The height is 400 pixels */
  width: 100%;
  /* The width is the width of the web page */
}
