body {
  overflow-x: hidden;
}

*,
*:after,
*:before {
  padding: 0;
  margin: 0;
  box-sizing: inherit;
}

.clearfix {
  clear: both;
  float: none;
}

.navbar-default {
  background-color: transparent;
  border-color: transparent;
}

@media (min-width: 768px) {

  .navbar>.container .navbar-brand,
  .navbar>.container-fluid .navbar-brand {
    margin-left: -15px;
    margin-top: -20px;
  }
}

p {
  line-height: 30px;
}

.navbar-default .navbar-nav>.active>a,
.navbar-default .navbar-nav>.active>a:focus,
.navbar-default .navbar-nav>.active>a:hover {
  color: #1288e6;
  background-color: transparent;
  font-weight: bold;
  border-bottom: 3px solid #1288e6;
  padding-bottom: 0px;
  padding-left: 6px;
  padding-right: 5px;
  margin: 0px;
}

.carousel-inner>.item>img,
.carousel-inner>.item>a>img {
  display: block;
  min-width: 100%;
  width: 100%;
  max-width: 100%;
  line-height: 1;
}

.about-section {
  text-align: center;
  background: #fff;
  margin-bottom: 120px;
}

#descripcion {
  background-color: rgb(203, 204, 206);
}
#descripcion .des_texto{
  margin-top: 20px;
}

#descripcion .borde_azul {
  margin-bottom: 150px;
}

.services-section {
  text-align: center;
  background: rgb(203, 204, 206);
  padding-bottom: 4%;
}

.portafolio-section {
  text-align: center;

  background: #fff;
}

/* .portafolio .optica-image {
 
} */

.clientes-section {
  display: block;
  padding-bottom: 80px;
  text-align: center;
  background: #fff;
}

.contact-section {
  background-color: #1f1f1f;
  height: auto;
  background-position: center;
  background-size: cover;
  padding-top: 40px;
  text-align: center;
}

#descripcion {
  padding: 200px 0px;
}

.des_texto {
  text-align: center;
  width: 50%;
  margin: 0 auto;
  font-size: 1.3em;
  font-family: 'Poppins', sans-serif;
  color: #00384f;
}

.parallax-window {
  background: rgba(0,0,0,0.3);
  text-align: center;
  padding: 150px 0px;
}

.parallax-window h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #fff;
}

.borde_azul {
  border-bottom: 4px solid #1288e6;
  width: 10%;
  margin: 0 auto;
  padding: 10px 0px;
}

.borde_azul_somos {
  border-bottom: 4px solid #1288e6;
  width: 10%;
  margin: 0 auto;
  padding: 10px 0px;
}

.image_con {
  position: relative;
}

.image_con1 {
  position: relative;
}

.caption-bottom-left {
  position: absolute;
  bottom: 8px;
  left: 51px;
  color: #fff;
  font-size: 18px;
}

.caption_img {
  width: 90%;
  margin: 0 auto;
}

.caption_img div span {
  line-height: 92px;
}

.somos_text {
  padding: 80px 10px;
  color: #00384f;
}

.somos_text p {
  font-size: 1.2em;
  font-family: 'Poppins', sans-serif;
  color: #00384f;
  width: 75%;
  margin: 0 auto;  
  margin-top: 25px;
}

.somos_text h1 {
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  font-size: 2em;
  color: #00384f;
}

.txt_caption {
  padding: 34px 4px 0px 0px;
  font-family: 'Poppins', sans-serif;
  color: #ffffff;
}

.item_servicio {
  position: relative;
}

.caption-center {
  position: absolute;
  bottom: 40%;
  right: 23%;
  color: #fff;
  font-size: 1em;
  background-color: #1288e6;
  padding: 10px;
  width: 55%;
}

.servicios_des {
  padding: 130px 0px 50px;
  text-align: center;
  font-family: 'Poppins', sans-serif;
  color: #00384f;
}

.servicios_des p {
  width: 90%;
  margin: 0 auto;
  padding-bottom: 20px;
  font-size: 1.2em;
  font-family: 'Poppins', sans-serif;
  color: #00384f;
}

.servicios_des h1 {
  font-size: 2em;
  font-family: 'Arial';
  font-weight: bold;
  color: #00384f;
}

.titulo_proyectos {
  padding: 80px 0px;
  color: #00384f;
}

.titulo_proyectos h1 {
  font-size: 2em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
  color: #00384f;
}

.caption-bottom-center {
  position: absolute;
  /* top: 140px; */
  left: 186px;
  bottom: 20px;
  color: #fff;
  font-size: 18px;
  font-family: 'Poppins', sans-serif;
}

/* tamaño carrussel */
.slide_clientes{
  width: 75%;
  margin: 0 auto;
}

.slide_clientes div img {
  text-align: right;
  width: 75%;
  padding-left: 5%;
}

@media (min-width: 375px) and (max-width: 500px) {
  .slide_clientes {
    padding-left: 2%;
  }
}

.titulo_clientes {
  padding: 80px 0px;
  color: #00384f;
}

.titulo_clientes h1 {
  font-size: 2em;
  font-family: 'Poppins', sans-serif;
  font-weight: bold;
}

.form-group .control-label {
  color: #dad8d8;
}

.form-control {
  background-color: transparent;
  height: 20px;
  width: 90%;
  color: #f2f2f2;
}

.titulo_contacto {
  padding: 40px 0px;
}

.titulo_contacto h1 {
  position: inherit;
  font-size: 2em;
  font-family: 'Poppins', sans-serif;
  font-weight: 200;
  color: #9f9f9f;
  letter-spacing: .5rem;
  margin-left: 1rem;
  margin-top: 10rem;
}
.titulo_contacto p {
  color: #9f9f9f;
  margin-left: 1rem;

}

.info_footer {
  text-align: left;
  color: #9f9f9f;
  margin-top: -6rem;
}

.top-nav-collapse {
  background-color: #BCBEC1;
  box-shadow: 6px 6px 45px -15px rgba(102,102,102,1);
}

.top-nav-collapse .navbar-header .navbar-brand  {
  padding-top: 25px;
}
.top-nav-collapse .navbar-header .navbar-brand img {
  width: 50%;
}

.carousel-caption h3 {
  font-family: 'Poppins', sans-serif;
  font-weight: 600;
}

.carousel-caption p {
  font-family: 'Poppins', sans-serif;
  line-height: 25px;
  font-weight: 100;
}


@media screen and (min-width: 768px) {
  .carousel-caption {
    text-align: left;
    right: 20%;
    left: 11%;
    padding-bottom: 350px;
    width: 32%;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
  }

  .carousel-caption h3 {
    font-family: 'Poppins', sans-serif;
    font-size: 3em;
  }

  .carousel-caption p {
    font-family: 'Poppins', sans-serif;
    font-size: 1.3em;
  }
}

.borde_azul_home {
  border-bottom: 5px solid #1288e6;
  width: 15%;
  padding: 0px 0px;
  text-align: left;
}


.btn-enviar {
  color: #ffffff;
  font-weight: 100;
  border-radius: 0px!important;
  background-color: #1288e6;
  border: none!important;
  width: 9rem;
  font-size: 1.2rem;
  height: 2.5rem;
  margin-right: 5rem;
}

.footer {
  padding-top: 50px;
}

#myBtnGoTop {
  display: none;
  position: fixed;
  bottom: 20px;
  font-size: 19px;
  right: 30px;
  z-index: 99;
  border: none;
  outline: none;
  background-color: #a9a8a8;
  color: #484646;
  cursor: pointer;
  padding: 7px 12px;
  border-radius: 10px;
}

#myBtnGoTop:hover {
  color: #000;
}

@media (min-width: 820px) {
  .grid_somos {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    grid-template-rows: 85%;
    grid-gap: 27px;
    margin: 0px auto;
    width: 100%;
  }
}

@media (max-width: 820px) {
  .grid_somos {
    display: grid;
    justify-content: space-around;
    grid-gap: 27px;
    margin: 0px auto;
    width: 100%;
  }
}

.grid_somos>*,
.grid_servicios>* {
  text-align: center;
}

.grid_caption {
  display: grid;
  grid-template-columns: 50% 50%;
  grid-gap: 10px;
}

.grid_servicios {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 10px;
  margin: 0px auto;
  width: 100%;
}

.grid_proyectos {
  display: grid;
  grid-template-columns: repeat(2, minmax(250px, 1fr));
  grid-gap: 10px;
  margin: 0px auto;
  width: 100%;
}

.grid_proyectos .portafolio .image_con {
  background-color: aqua;
  grid-area: image_con;
  justify-self: stretch;
}

.grid_contacto {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  grid-gap: 52px;
  margin: 0px auto;
  width: 96%;
}

.form-horizontal .control-label {
  padding-top: 7px;
  margin-bottom: 0;
  text-align: left;
}

/* Menú*/

.navbar-default .navbar-toggle:focus,
.navbar-default .navbar-toggle:hover {
  background-color: #818181 !important;
}

.navbar-default .navbar-toggle {
  border-color: #151414 !important;
}

.navbar-toggle {
  margin-right: 24px;
}

.overlay {
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 999;
  left: 0;
  top: 0;
  background-color: rgba(0, 0, 0, 0.85);
  overflow-x: hidden;
  transition: 0.5s;
}

.overlay-content {
  position: relative;
  top: 25%;
  width: 100%;
  text-align: center;
  margin-top: 30px;
}

.overlay a {
  padding: 8px;
  text-decoration: none;
  font-size: 2em;
  color: #e0dddd !important;
  display: block;
  transition: 0.3s;
}

.overlay a:hover,
.overlay a:focus {
  color: #fff;
}

.overlay .closebtn {
  position: absolute;
  top: 75px;
  right: 45px;
  font-size: 60px;
}

@media screen and (max-height: 450px) {
  .overlay a {
    font-size: 20px;
  }

  .overlay .closebtn {
    font-size: 40px;
    top: 15px;
    right: 35px;
  }
}

/* PANTALLAS GRANDES*/

@media (min-width: 1550px) and (max-width: 1680px) {

  .grid_somos,
  .grid_proyectos {
    width: 75%;
    grid-gap: 5px;
  }

  .grid_servicios {
    width: 82%;
    grid-gap: 5px;
  }

  .carousel-caption {
    top: 43%;
  }
}

@media (min-width: 1681px) and (max-width: 1920px) {

  .grid_somos,
  .grid_proyectos {
    width: 64%;
    grid-gap: 5px;
  }

  .grid_servicios {
    width: 71%;
    grid-gap: 5px;
  }

  .carousel-caption {
    top: 43%;
  }
}

@media (min-width: 1921px) and (max-width: 2560px) {

  .grid_somos,
  .grid_servicios,
  .grid_proyectos {
    width: 48%;
    grid-gap: 5px;
  }

  .grid_servicios {
    width: 54%;
    grid-gap: 5px;
  }

  .carousel-caption {
    top: 43%;
  }
}

@media (min-width: 2560px) {

  .grid_somos,
  .grid_servicios,
  .grid_proyectos {
    width: 40%;
    grid-gap: 27px;
  }

  .grid_servicios {
    width: 40%;
    grid-gap: 27px;
  }

  .carousel-caption {
    top: 43%;
  }
}

/* MOBILES */

@media (min-width: 481px) and (max-width: 767px) {
  .logo {
    display: none;
  }

}

@media (min-width: 320px) and (max-width: 480px) {
  .carousel-indicators li {
    display: none !important;
  }

  .borde_azul_home {
    display: none;
  }

  .logo {
    width: 40%;
  }

  .carousel-caption h3 {
    font-size: 1.4em;
  }

  .carousel-caption p {
    font-size: 0.9em;
    line-height: 14px;
  }
}




.icon-social a img {
  max-width: 10%;
  padding-left: 3rem;
  padding-bottom: 3rem;
}

@media (min-width: 320px) and (max-width: 890px) {
  .icon-social a img {
    max-width: 20%;
    padding-left: 1rem;
    padding-bottom: 3rem;
  }

}

.icon-social a img {
  opacity: 1;
  filter: alpha(opacity=20);
  -ms-transition: all 0.5s ease-in;
  -moz-transition: all 0.5s ease-in;
  -o-transition: al 0.5s ease-in;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.icon-social a img:hover {
  opacity: 0.7;
  filter: alpha(opacity=10);
  -ms-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: al 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.telefono a img {
  opacity: 1;
  filter: alpha(opacity=20);
  -ms-transition: all 0.5s ease-in;
  -moz-transition: all 0.5s ease-in;
  -o-transition: al 0.5s ease-in;
  -webkit-transition: all 0.5s ease-in;
  transition: all 0.5s ease-in;
}

.telefono a img:hover {
  opacity: 0.7;
  filter: alpha(opacity=10);
  -ms-transition: all 0.5s ease-out;
  -moz-transition: all 0.5s ease-out;
  -o-transition: al 0.5s ease-out;
  -webkit-transition: all 0.5s ease-out;
  transition: all 0.5s ease-out;
}

.dir-pagina {
  padding: 0 0 5% 0;
}

.page-scroll {
  color: #00384f !important;
}

.logo-footer {
  width: 34rem;
  max-width: 203%;
  float: inherit;
}
.footer {
  padding-top: 70px;
  margin-top: 2rem;
}


a.image_con:hover {
  color: #00384f !important;
}

a.image_con:focus {
  color: #00384f !important;
}

#msg_error {
  color: #f88;
}
#msg_success {
  color: #ccc;
}