@import url('https://fonts.googleapis.com/css?family=Merriweather+Sans:300,400,700|Quattrocento+Sans:400,400i,500,700|Roboto+Condensed:400,400i,700|Roboto:300,400,500,700');

body {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-size: 16px;
  font-family: 'Quattrocento Sans' , sans-serif;
  width: 100%;
  height: 100%;
}

/*barra de navegacion*/

header {
  width: 100%;
  position: fixed;
  z-index: 1;
}

/* Navbar links */
nav a {
  margin: 0;
  padding: 3.5px 10px 0 10px;
  color: white;
  font-family: "Quattrocento Sans" , sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  text-decoration: none;
}

.btn-res-menu {
  display: none;
  position: fixed;
  font-size: 25px;
  top: 17px;
  left: 30px;
  color: #FF5419;
  cursor: pointer;
}
/* The sticky class is added to the navbar with JS when it reaches its scroll position */
.sticky {
  position: fixed;
  top: 0;
  width: 100%;
  background-color: white;
}

.sticky a, .sticky .dropbtn {
  color: #00458f !important;
}

.sticky .contenido a {
  color: #ffffff !important;
}

/* Add some top padding to the page content to prevent sudden quick movement (as the navigation bar gets a new position at the top of the page (position:fixed and top:0) */
.sticky + .content {
  padding-top: 60px;
}

nav {
  display: flex;
  justify-content: center;
  align-items: center;
  background: transparent;
  padding: 0.5rem 0;
}

.contenedornavbar {
  text-align: center;
}

.marca {
  height: 7rem;
  margin-top: 1rem;
}

.dropbtn {
  padding: 0 10px;
  border: none;
  background-color: inherit;
  color: white;
  font-family: "Quattrocento Sans" , sans-serif;
  font-weight: 700;
  font-size: 1.05rem;
  text-transform: uppercase;
  cursor: pointer;
}

nav a:hover {
  color: #1128A6;
}

.contenido {
  display: none;
  position: absolute;
  padding: 1rem;
  margin-left: 1rem;
  background: #00458f;
}


.contenido a {
  text-align: left !important;
  display: block;
  font-size: 1.05rem;
  font-family: "Quattrocento Sans" , sans-serif;
  font-weight: 300;
  text-transform: uppercase;
  color: white;
  float: none;
  padding: 10px 10px;
  text-decoration: none;
  border-bottom: 0.1rem solid rgb(255,255,255,0.3);
}

.contenido a:hover {
  background: rgb(255,255,255,0.1);
}

.desplegable:hover .contenido {
  display: block;
}

/*Slider de imagenes*/

.mySlider {
  display: none;
  overflow: hidden;
}

.contenedorslider {
  position: relative;
  max-width: 100%;
  margin: auto;
  background: #fff;
}

.imgslider {
  width: 100%;
  height: 800px;
}


.next, .prev {
  cursor: pointer;
  position: absolute;
  top: 40%;
  width: auto;
  margin-left: 2rem;
  padding: 1rem 2rem 1rem 1.7rem;
  color: white;
  font-weight: bold;
  font-size: 1.5em;
  border: 2px solid white;
  border-radius: 100%;
}

.next {
  right: 0;
  margin-right: 2rem;
  padding: 1rem 1.7rem 1rem 2rem;
  border-radius: 100%;
}

.next:hover, .prev:hover {
  border: 2px solid rgb(255,255,255,0);
  background-color: #FF5419;
}

.caption {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  text-align: center;
  flex-direction: column;
  background: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5));
  background-position: center top;
}

.caption h1 {
  font-weight: normal;
  font-size: 2.7em;
  width: 85%;
  color: white;
  border-radius: 1.5rem;
  
  text-transform: uppercase;
  padding: 50px 20px;
  -webkit-animation-name: texto-in;
  -webkit-animation-duration: 1s;
  animation-name: texto-in;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

.otrocolorcaption {
  font-weight: bold;
  color: #FF5419;
}

.btnmas {
  background-color: #FF5419;
  color: white;
  border-radius:3px;
  text-decoration:none;
  padding:10px 12px;

  animation-name: texto-in;
  animation-duration: 0.5s;
  animation-timing-function: ease;
}

.btnmas:hover {
  background-color: #FF5426;
}

@keyframes texto-in {
  0% {opacity: 0; top: -200px;}
  50% {opacity: 0.1; top: -70px;}
  75% {opacity: 0.15;}
  100% {opacity: 0.8; top: 0px;}
}
/* informacion en cuerpo */

/* Servicios */

.servicios {

  background: #012f61;
  border: 1px solid #012f61;
  text-align: center;
  color: white;
}

.servicios h1 {
  display: none;
  color: white;
  font-size: 3em;
  text-transform: uppercase;
  margin-top: 0;
  padding-top: 40px;
}

.servicios p {
  font-size: 1.1em;
  font-weight: normal;
  margin-top: 2.5rem;
  text-transform: uppercase;
}

.servicios .galleryicons {
  width: 60%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px auto;
}

.contactenos {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  margin: 30px auto;
}

.contactenos .contact-item-icon {
    width: 50%;
}

.servicios .galleryicons h2 {
  font-weight: normal;
  font-size: 1em;
}

.servicios .gallery-item-icon {
  display: none;
  padding: 5px;
}

.servicios .gallery-item-icon:hover h2{
  color: #FF5426;
}

.servicios .gallery-item-icon .iconserv {
  width: 9rem;
  filter: invert(100%);
}

.linea {
  width: 150px;
  margin: 3rem auto 0 auto;
  border-bottom: 1px solid #FF5419;
}

.otrocolor {
  color: #FF5426;
}

.detalle {
  display: none;
  background-color: ghostwhite;
  text-align: center;
  border: 1px solid ghostwhite;
}

#idservicio h2 {
  padding-top: 10px;
}

#idservicio h1 {
  color: #00458f;
  font-size: 1.5em;
  text-transform: uppercase;
  padding-top: 40px;
}

.detalle #txtdetalle {
  text-align: center;
  font-size: 1.2em;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
}

.detalle p {
  text-align: justify;
  font-size: 1.1em;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  padding-top: 10px;
  color: rgb(0,0,0, 0.8);
}
.detalle ul {
  text-align: justify;
  font-size: 1em;
  margin-left: auto;
  margin-right: auto;
  width: 80%;
  padding-top: 10px;
  color: rgb(0,0,0, 0.9);
}

.detalle .gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
}

.detalle .gallery-item {
  margin: 1.3rem 2.6rem;
}

.detalle .gallery-item .serimg {
  width: 15rem;
  border-radius: 100%;
}

/* parallax quienes somos */

.parallaxsomos {
  background-image: url("../src/img/rh_silueta_edificio40x100.jpg");
  padding: 1rem 5rem 5rem 5rem;
  background-attachment: fixed;
  position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.parallaxsomos h1 {
  color: #012f61;
  font-size: 3em;
  text-align: center;
  text-transform: uppercase;
}

.somos-contenedor {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.carta-contenedor {
  position: relative;
  width: 80%;
  margin: 10px;
  background-color: white;
  border-radius: 1rem;
  overflow: hidden;
}

.texto-carta {
  font-size: 1.4rem;
  text-align: justify;
  padding: 3rem;
  margin: 0;
  color: rgb(0,0,0, 0.8);
}

.cubre-carta {
  position: absolute;
  bottom: 0px;
  left: 0;
  right: 0;
  background-color: #012f61;
  overflow: hidden;
  width: 100%;
  height: 100%;
  transition: width 1.2s ease;
  border-radius: 1rem;
  font-size: 9rem;
  text-transform: uppercase;
  font-weight: bold;
}

.carta-contenedor:hover .cubre-carta {
  width: 0%;
}

.texto-cubierta {
  color: white;
  font-size: 20px;
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  transform: translate(-50%, -50%);
  white-space: nowrap;
}

/*Contacto*/

.contacto {
  padding: 1rem 3rem;
}

.contacto h1 {
  font-size: 3em;
  text-transform: uppercase;
  color: #012f61;
  text-align: center;
}

.mapa-content {
  padding: 5px 0 30px 0;
}

.content-contacto {
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
}

.contact-item {
  width: 50%;
}

.form-content {
  width: 70%;
  margin: 0 auto;
  font-size: 12px;
  opacity: 0.8;
}

input[type=text], input[type=email], input[type=tel], textarea {
  font-size: 16px;
  width: 100%;
  padding: 5px;
  border: 1px solid #ccc;
  border-radius: 4px;
  margin: 5px auto;
  resize: vertical;
}

input[type=submit] {
  font-size: 13px;
  background-color: #0026F3;
  color: white;
  padding: 12px 30px;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  margin-top: 5px;
}

input[type=submit]:hover {
  background-color: #031877;
}

.obligatorio {
  color: red;
}

.figure-data {
  width: 60%;
  display: flex;
  flex-direction: column;
  flex-wrap: wrap;
  justify-content: flex-start;
  align-items: flex-start;
  align-content: center;
  font-size: 1.5rem;
  margin: 0 auto;
  text-align: center;
}

.figure-data a {
  text-decoration: none;
  color: black;
  cursor: pointer;
}

.imgicon {
  vertical-align: middle;
  margin-right: 0.5rem;
  width: 2rem;
}

/*Top Btn*/

.to-top {
  background: url('../src/img/icons/top3.png') no-repeat center;
  position: fixed;
  width: 60px;
  height: 60px;
  bottom: 40px;
  right: 50px;
}

/*Footer*/

footer {
  background: rgb(40, 40, 41);
  border: 1px solid rgb(40, 40, 41);
  text-align: center;
}

footer span {
  color: white;
  font-size: 1.2rem;
}

footer a {
  text-decoration: none;
  color: white;
}

footer img {
  padding: 0 0 0 1rem;;
}

#info-pie-pag {
  width: 70%;
  display: flex;
  flex-direction: row;
  justify-content: space-around;
  flex-wrap: wrap;
  align-items: center;
  align-content: center;
  padding: 1.2rem 0 0 0;;
  max-width: 980px;
  text-align: center;
  margin: 0 auto 10px auto;
}

#logo-pie {
  width: 11rem;
  margin-top:10px; 
}

#dev-caption {
  color: #FF5426;
}

/* Media Queris*/

 @media only screen and (max-width: 1200px) {

  header {
  width: 100%;
  height: 12.5rem;
}

  nav {
    padding: 0.5rem 0 0.5rem 0;
    flex-direction: column;
}

.dropbtn {
  padding: 4px 300px;
  display: block;
}

.sticky a:not(.a-marca):hover, .sticky .dropbtn:hover {
  background: #00458f !important;
  color: #ffffff !important;
}

.desplegable:hover .contenido {
  display: inline-block;
}

.desplegable {
  display: block;
}

nav a {
  padding: 5px 40%;
}

.marca {
  height: 3rem;
}

.next, .prev {
  display: none;
}

.contact-item {
  width: 100%;
}

.content-contacto {
  flex-direction: column;
}

}

@media only screen and (max-width: 900px) {

  .nav-con {
    display: none;
  }

  .btn-res-menu {
    display: initial;
  }

  .marca {
    height: 2rem;
  }

  #logo-pie {
    display: none;
  }

  #info-pie-pag {
    flex-direction: column;
  }
  .contacto h1 {
    font-size: 2em;
  }
  .parallaxsomos h1 {
    font-size: 2em;
  }

  .servicios h1 {
    font-size: 2em;
  }

  .caption h1 {
    font-size: 1.5em;
  }

  .detalle .gallery-item .serimg {
    width: 10rem;
  }

  .figure-data {
    display: none;
  }

  .contact-item h1 {
    display: none;
  }

} 