/* Move down content because we have a fixed navbar that is 50px tall */
/*
 * Header
 */

.fjalla-font {
  font-family: 'Fjalla One', sans-serif;
}

.tajawal-font {
  font-family: 'Tajawal', sans-serif;
}

.navbar-inverse .navbar-nav > .active > a,
.navbar-inverse .navbar-nav > .active > a:hover,
.navbar-inverse .navbar-nav > .active > a:focus {
  color: #212b6a;
  background-color: rgba(0,0,0,0);
}

.navbar-inverse .navbar-nav > li > a:hover,
.navbar-inverse .navbar-nav > li > a:focus {
  color: #212b6a;
  background-color: transparent;
}

.navbar-inverse {
	background-color: #fff;
	border-color: #fff;
  border-bottom-color: #212b6a;
  border-bottom-width: 2px;
  letter-spacing: 1px;
} 

.navbar-brand img {
  height: 65px;
}


.bfh-flag-US,
.bfh-flag-MX,{
  width: 16px;
  height: 14px;
  background: url(../img/bootstrap-formhelpers-countries.flags.png) no-repeat;
}

.flag-icon-background {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
}
.flag-icon {
  background-size: contain;
  background-position: 50%;
  background-repeat: no-repeat;
  position: relative;
  display: inline-block;
  width: 1.33333333em;
  line-height: 1em;
}
.flag-icon:before {
  content: "\00a0";
}
.flag-icon.flag-icon-squared {
  width: 1em;
}

.flag-icon-us {
  background-image: url(../flags/4x3/us.svg);
}
.flag-icon-us.flag-icon-squared {
  background-image: url(../flags/1x1/us.svg);
}

.flag-icon-mx {
  background-image: url(../flags/4x3/mx.svg);
}
.flag-icon-mx.flag-icon-squared {
  background-image: url(../flags/1x1/mx.svg);
}

body {
  padding-top: 70px;
  padding-bottom: 0px;
}

section {
    padding-top:0px;
    padding-bottom:50px;
    overflow:auto;
}

p {
  font-family: 'Open Sans', sans-serif;
  color: #999;
  line-height: 2;
  font-size: 15px;
}

h1, h2, h3, h4, h5, h6 {
  letter-spacing: 2px;
}

h1 {
  font-size: 50px;
}

h2 {
  font-size: 45px;
}

h3 {
  font-size: 40px;
}

h4 {
  font-size: 25px;
}

h5 {
  font-size: 20px;
}

h6 {
  font-size: 17px;
}

.section-padding{
  margin-top: 35px;
}

.no-padding-bottom {
  padding-bottom: 0px;
}

.btn-blanco {
  color: #fff;
  border-radius: 0px;
  border: 2px solid #fff;
  background-color: transparent;
  margin: 5px 5px 0px;
  line-height: 0;

}

.btn-blanco:active,
.btn-blanco:hover,
.btn-blanco:focus {
  background-color: #fff;
  color: #000;
}

.btn-azul {
  color: #fff;
  border-radius: 0px;
  border: 2px solid #212b6a;
  background-color: #212b6a;
  margin: 5px 5px 20px;

}

.btn-azul:active,
.btn-azul:hover,
.btn-azul:focus {
  border: 2px solid #0e153f;
  background-color: #0e153f;
  color: #fff;
}

.bg-orange {
  background-color: #ff6600;
  color: #fff;
}

.padding {
  padding-top: 50px;
}
/* ---- INDEX ---- */
.banner-principal {
  position: relative;
  height: 500px;
  background: url('../img/banner_principal.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.overlay-banner {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%,-50%);
  -moz-transform: translate(-50%,-50%);
  -ms-transform: translate(-50%,-50%);
  -o-transform: translate(-50%,-50%);
  transform: translate(-50%, -50%);
}

.overlay-banner h1 {
  text-shadow: 2px 2px 10px #000;
}
/* ---- /INDEX ---- */
.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: pointer;
  margin-bottom: 15px;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(255, 102, 0, 0.5);
}

.hovereffect img {
  display: block;
  position: relative;
}

.info-wrap a {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  -webkit-transform: translate(-50%, -50%);
  -moz-transform: translate(-50%, -50%);
  -o-transform: translate(-50%, -50%);
  text-align: center;
  padding-left: 5px;
  padding-right: 5px;
  color: #fff;
  font-size: 18px;
  font-family: 'Tajawal', sans-serif;
}


.banner-te-interesa {
  position: relative;
  height: 300px;
  background: url('../img/te_interesa.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
}

/* ---- BANNER SECCIONES ---- */
.alineacion-texto {
  text-align: left;
}

@media screen (max-width: 768px;) {
  .alineacion-texto {
    text-align: center;
  }
}

.banner-sol-testing {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_testing.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-procesos {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_procesos.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-ausencia {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_ausencia.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-evaluacion {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_evaluacion.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-validacion {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_validacion.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-inspeccion {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_inspeccion.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-cortinas {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_cortinas.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-guardas {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_guardas.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-sol-plc {
  position: relative;
  height: 200px;
  background: url('../img/soluciones_plc.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}


.banner-electronico {
  position: relative;
  height: 200px;
  background: url('../img/industria_electronico.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-electrico {
  position: relative;
  height: 200px;
  background: url('../img/industria_electrico.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-electrodomesticas {
  position: relative;
  height: 200px;
  background: url('../img/industria_electrodomesticas.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-automotriz {
  position: relative;
  height: 200px;
  background: url('../img/industria_automotriz.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

.banner-oil {
  position: relative;
  height: 200px;
  background: url('../img/industria_oil&gas.jpg') no-repeat center;
  background-size: cover;
  background-color: #fff;
  color: #fff;
  margin-bottom: 50px;
}

/* ---- /BANNER SECCIONES ---- */


/* ---- CONTACTO ---- */
.contacto {
  padding-top: 20px;
}

.contact-order {
  text-align: left;
}
/* ---- /CONTACTO ---- */

/* ---- FOOTER ---- */
footer {
    color: #999;
}

footer a {
    color: #999;
}

footer h5 {
    color: #fff;
}

p.leading {
  margin-top: 10px;
  font-size: 12px;
}

.footer-above img {
  height: 60px;
}

footer .footer-above {
    padding-top: 50px;
    background-color: #eee;
    border-top-color: #e3e3e3;
    border-top-width: 2px;
}

footer .footer-col {
    margin-bottom: 50px;
}

footer .footer-below {
    color: #fff;
    padding: 20px 0;
    background-color: #212b6a;
}

.footer-below a {
  text-decoration: underline;
  color: #fff;
}
/* ---- /FOOTER ---- */

/* -- GOOGLE -- */
#google-container {
  position: relative;
  width: 100%;
  height: 200px;
  background-color: #e7eaf0;
}

@media only screen and (min-width: 768px) {
  #google-container {
    height: 300px;
  }
}
@media only screen and (min-width: 1170px) {
  #google-container {
    height: 600px;
  }
}

#cd-google-map {
  position: relative;
}
#cd-google-map address {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  padding: 1em 1em;
  background-color: rgba(15, 33, 71, 0.9);
  color: white;
  font-size: 13px;
  font-size: 0.8125rem;
}
@media only screen and (min-width: 768px) {
  #cd-google-map address {
    font-size: 15px;
    font-size: 0.9375rem;
    text-align: center;
  }
}

#cd-zoom-in, #cd-zoom-out {
  height: 32px;
  width: 32px;
  cursor: pointer;
  margin-left: 10px;
  background-color: rgba(255, 102, 0, 0.9);
  background-repeat: no-repeat;
  background-size: 32px 64px;
  background-image: url("../img/google-maps/cd-icon-controller.svg");
}
.no-touch #cd-zoom-in:hover, .no-touch #cd-zoom-out:hover {
  background-color: #ff6600;
}
@media only screen and (min-width: 768px) {
  #cd-zoom-in, #cd-zoom-out {
    margin-left: 50px;
  }
}

#cd-zoom-in {
  background-position: 50% 0;
  margin-top: 10px;
  margin-bottom: 1px;
}
@media only screen and (min-width: 768px) {
  #cd-zoom-in {
    margin-top: 50px;
  }
}

#cd-zoom-out {
  background-position: 50% -32px;
}
/* -- /GOOGLE -- */

/* -- STICKY CONTACT -- */

.nb-form {
    position: fixed;
    z-index: 9999;
    width: 300px;
    background: #FFF;
    right: 20px;
    bottom: -450px;
    transition: all .8s cubic-bezier(.22, .67, .43, 1.22) .2s;
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 2px 0 rgba(0,0,0,0.14),0 1px 5px 0 rgba(0,0,0,0.12),0 3px 1px -2px rgba(0,0,0,0.2);
}
.nb-form:hover {
    bottom: 0px;
}

/*-- Title --*/

.nb-form .title {
    background: #ff6600;
    font-size: 14px !important;
    padding: 10px 18px !important;
    text-align: center;
    color: #fff !important;
    border-radius: 10px 10px 0 0;
}

/*-- Text --*/

.nb-form p {
    font-size: 12px;
    margin: 0;
    padding: 10px;
    color: #666;
}

.nb-form p.message {
    margin-left: 7px;
}

/*-- Form Elements --*/

.nb-form form {
    padding: 0 15px 15px 15px;
}

@media screen and (max-width: 676px) {
    .nb-form:hover .user-icon {
        display: none;
    }

    .nb-form .message {
        display: none;
    }

    .nb-form form {
        padding-top: 15px;
    }
    .nb-form{
        right: 50%;
        bottom: -320px;
        left: 50%;
        transform: translateX(-50%);
    }
}


.hovereffect {
  width: 100%;
  height: 100%;
  float: left;
  overflow: hidden;
  position: relative;
  text-align: center;
  cursor: default;
  margin-bottom: 15px;
}

.hovereffect .overlay {
  width: 100%;
  height: 100%;
  position: absolute;
  overflow: hidden;
  top: 0;
  left: 0;
  -webkit-transition: all 0.4s ease-in-out;
  transition: all 0.4s ease-in-out;
}

.hovereffect:hover .overlay {
  background-color: rgba(33, 43, 106, 0.8);
}

.hovereffect img {
  display: block;
  position: relative;
}

.info-wrap {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 100%;
  transform: translate(-50%, -50%);
  -ms-transform: translate(-50%, -50%);
  text-align: center;
  opacity: 0;
  color: #fff;
}

.hovereffect:hover .info-wrap {
  opacity: 1;
}