/* Custom Types - Century Gothic Family */

@font-face {
  font-family: CenturyRegular;
  src: url(/fonts/GOTHIC.TTF);
}

.fontr {
  font-family: CenturyRegular;
}

@font-face {
  font-family: CenturyBold;
  src: url(/fonts/GOTHICB.TTF);
}

.fontb {
  font-family: CenturyBold;
}

@font-face {
  font-family: CenturyItalic;
  src: url(/fonts/GOTHICI.TTF);
}

.fonti {
  font-family: CenturyItalic;
}

*,
*::before,
*::after {
  box-sizing: border-box;
  -moz-box-sizing: border-box;
}

::selection {
  color: gray;
  background: yellow;
}

/* Generales */

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  padding: 0;
  font-family: "Roboto", sans-serif;
  font-size: 1.2rem;
  color: black;
  overflow-x: hidden;
  min-height: 100vh;
  max-width: 1920px;
}

.full-height-grow {
  display: flex;
  flex-direction: column;
}

h1,
h2 {
  font-weight: 300;
}

h2 {
  font-size: 1.3em;
}

h3,
h4 {
  font-weight: 600;
}

h3 {
  font-size: 1.1em;
}

hr {
  border: 2px solid white;
}

#titulo-op {
  font-size: 2em;
  color: white;
}

#hrfooter {
  width: 75%;
  border: 1px solid white;
}

.contenedor-general {
  max-width: 1920px;
  margin: 0 auto;
}

/* Navbar */

.main-header {
  width: 100%;
  position: fixed;
  z-index: 100000;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 5rem;
  left: 2%;
  right: 2%;
  margin-left: -2vw;
  margin-right: -2vw;
  background: #F6E100;
  /*box-shadow: 0px 2px 19px -4px rgba(0, 0, 0, 0.1);*/
}

.logo-nav {
  display: flex;
  align-items: center;
  margin-left: 50px;
}

@media screen and (max-width: 666px) {
  .main-header {
    height: 4rem;
  }

  .logo-nav {
    margin-left: 20px;
  }

  .logo-nav img {
    height: 3rem;
    width: auto;
  }
}

.main-nav ul {
  display: flex;
  margin-right: 50px;
  padding: 0;
  list-style: none;
  align-items: center;
}

.main-nav a {
  color: #686868;
  text-decoration: none;
  text-transform: uppercase;
  font-size: .85em;
  padding: .6rem;
}

.main-nav a:hover {
  color: #000;
}

/* Animación hover NavBar*/

.main-nav a {
  display: inline-block;
  position: relative;
}

.main-nav a:after {
  background: none repeat scroll 0 0 transparent;
  bottom: 0;
  content: "";
  display: block;
  height: 2px;
  left: 50%;
  position: absolute;
  background: #000;
  transition: width 0.3s ease 0s, left 0.3s ease 0s;
  width: 0;
}

.main-nav a:hover:after {
  width: 70%;
  left: 15%;
}

@media screen and (max-width: 1227px) {
  .main-nav {
    display: none;
  }
}

.dropitem:hover ul,
.dropitem:focus ul {
  opacity: 1;
  visibility: visible;
}

.dropdown {
  background: #F6E100;
  display: flex;
  flex-direction: column;
  margin-left: -30px;
  opacity: 0;
  position: absolute;
  transition: opacity 250ms ease-in-out;
  visibility: hidden;
}

.dropdown>li {
  padding: 5px;
}

.dropdown2 {
  background: #F6E100;
  display: flex;
  flex-direction: column;
  margin-left: -20px;
  opacity: 0;
  position: absolute;
  transition: opacity 250ms ease-in-out;
  visibility: hidden;
}

.dropdown2>li {
  padding: 5px;
}

#dropdown-arrow {
  transform: translateY(-2px);
}

#toggle-content,
#toggle-contact,
#toggle-languages {
  display: none;
}

/* Menú hamburgesa*/

.sidenav {
  flex-direction: column;
  align-items: center;
  height: 100%;
  width: 0;
  position: fixed;
  z-index: 2000;
  top: 0;
  left: 0;
  background-color: #F6E100;
  overflow-x: hidden;
  overflow-y: hidden;
  padding-top: 60px;
  transition: 0.5s;
  font-size: 0.7em;
}

.menu-resp-abajo {
  margin-left: 2em;
}

.logo-menu-resp {
  margin-top: -4rem;
  padding: 0 0 3rem 0;
  text-align: center;
}

.sidemenu {
  list-style: none;
}

.sidenav a {
  padding: 8px 8px 8px 32px;
  text-decoration: none;
  color: #686868;
  display: block;
  text-transform: uppercase;
  transition: 0.3s;
}

.sidenav a:hover {
  color: black;
}

.sidenav .closebtn {
  position: absolute;
  top: 0;
  right: 10px;
  font-size: 36px;
}

/* Barras hamburger */

.hamburger-icon {
  position: relative;
  cursor: pointer;

}

.bar1,
.bar2,
.bar3 {
  width: 30px;
  height: 3px;
  background-color: black;
  margin: 4px 20px;
  transition: 0.4s;
  border-radius: 5rem;
}

@media screen and (min-width: 1227px) {
  .menu-responsive {
    display: none;
  }
}

/*Seccion 1 Banner */

.seccion-1-h {
  margin-top: 78px;
  width: 100vw;
}

.banner1-h {
  display: flex;
  flex-direction: row;
}

.img-banner-h img {
  max-width: 100vw;
}

@media screen and (max-width:1227px) {
  .banner1-h {
    display: flex;
    flex-direction: column;
    justify-content: center;
    margin-top: -15px;
  }

}

/* Seccion Bullets*/

.contenido-banner-h {
  text-align: center;
}

.check {
  display: flex;
  margin: 25px 0 40px 0;
  justify-content: center;
}

.point-a {
  display: flex;
  align-items: center;
  padding: 15px 0;
}

.point-a img {
  padding-right: 12px;
}

.points-b {
  margin-left: 50px;
}


@media screen and (max-width:1227px){
  .contenido-banner-h {
    align-items: center;
    text-align: center;
    justify-content: center;
    transform: translate(0);
    margin: 0 auto;
    padding: 8px;
  }

  .check {
    margin-left: 0;
  }
}

.btn-acerca {
  color: black;
  background-color: #F6E100;
  padding: .6em .6em;
  border: none;
  text-decoration: none;
  font-size: 1.2em;
  font-weight: 600;
  cursor: pointer;
  transition: .4s;
}

.btn-acerca:hover {
  background: #d3c207;
}

/* Seccion 2 Productos */

.seccion-2 {
  height: 100%;
  width: auto;
  max-width: 1240px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: stretch;
}

.titulo-s2 {
  padding: 3rem 0 3rem 0;
  text-align: center;
}

.subtitulo-s2 {
  padding: 0 10px;
  font-weight: 600;
  font-size: 30px;
}

.bg-s2 {
  width: 100%;
  z-index: 10;
  margin-top: 15px;
  background-color: white;
}

/* Grid S2*/

.grid-secc-2 {
  transform: translateY(-80px);
  padding: 8rem 7rem 10rem 7rem;
  align-items: center;
  justify-content: center;
  display: grid;
  grid-template-columns: 1fr 1fr;
  column-gap: 3rem;
  row-gap: 4rem;
  background-color: transparent;
}

.box-s2 {
  padding: 55px 20px;
  min-width: 20em;
  max-height: 28em;
  background-color: #ebebeb;
  text-align: center;
  border: 2px solid gray;
  border-radius: 1.5rem;
  /* box-shadow: 6px 6px 20px rgba(0, 0, 0, 0.1),
    -6px -6px 20px #fff; */
  transition: .4s;
  margin-top: 70px;
}

.box-s2:hover {
  padding: 55px 20px;
  background-color: #cccccc;
  text-align: center;
  border-radius: 1.5rem;
  /* box-shadow: 18px 18px 25px rgba(0, 0, 0, 0.1),
    -18px -18px 25px #fff; */
}

.inner-grid-s2 {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  grid-template-rows: 1fr 1fr;
}

.icon {
  max-height: 150px;
  transform: translateY(-130px);
}

.inner-grid-s2 h3 {
  transform: translateY(-130px);
}

.product {
  transform: translateY(-130px);
  max-width: 85%;
}

.btn-s2 {
  cursor: pointer;
  color: black;
  background-color: #F6E100;
  padding: 0.8em .63em;
  border: none;
  text-decoration: none;
  font-size: .7em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: center;
  width: 50%;
  transition: .4s;
  transform: translateY(-130px);
}

.btn-s2:hover {
  background: #d3c207;
}

@media screen and (max-width: 1227px) {
  .grid-secc-2 {
    display: flex;
    flex-flow: column;
  }

  .bg-s2 {
    margin-left: -65px;
  }

  .box-s2 {
    max-height: 21em;
    margin-top: 50px;
  }
}

/* Seccion 3 Slider logos */

.logos-clientes {
  z-index: 300;
}

.slider-logos {
  transform: translateY(-250px);
}

.titulo-s4 {
  padding: 3em 0;
  text-align: center;
  font-size: 30px;
}

.slick-slide {
  margin: 0px 20px;
}

.slick-slide img {
  width: 100%;
}

.slick-slider {
  position: relative;
  display: block;
  box-sizing: border-box;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  -webkit-touch-callout: none;
  -khtml-user-select: none;
  -ms-touch-action: pan-y;
  touch-action: pan-y;
  -webkit-tap-highlight-color: transparent;
}

.slick-list {
  position: relative;
  display: block;
  overflow: hidden;
  margin: 0;
  padding: 0;
}

.slick-list:focus {
  outline: none;
}

.slick-list.dragging {
  cursor: pointer;
  cursor: hand;
}

.slick-slider .slick-track,
.slick-slider .slick-list {
  -webkit-transform: translate3d(0, 0, 0);
  -moz-transform: translate3d(0, 0, 0);
  -ms-transform: translate3d(0, 0, 0);
  -o-transform: translate3d(0, 0, 0);
  transform: translate3d(0, 0, 0);
}

.slick-track {
  position: relative;
  top: 0;
  left: 0;
  display: block;
}

.slick-track:before,
.slick-track:after {
  display: table;
  content: '';
}

.slick-track:after {
  clear: both;
}

.slick-loading .slick-track {
  visibility: hidden;
}

.slick-slide {
  display: none;
  float: left;
  height: 100%;
  min-height: 1px;
}

[dir='rtl'] .slick-slide {
  float: right;
}

.slick-slide img {
  display: block;
}

.slick-slide.slick-loading img {
  display: none;
}

.slick-slide.dragging img {
  pointer-events: none;
}

.slick-initialized .slick-slide {
  display: block;
}

.slick-loading .slick-slide {
  visibility: hidden;
}

.slick-vertical .slick-slide {
  display: block;
  height: auto;
  border: 1px solid transparent;
}

.slick-arrow.slick-hidden {
  display: none;
}

/* Seccion 4 Soluciones*/

.cont-soluciones {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: -50px;
  color: black;
  font-size: 28px;
  text-align: center;
  background: #c4c4c4;
  padding: 30px 0;
}

@media screen and (max-width:1227px) {
  .cont-soluciones {
    margin-top: -80px;
    padding: 25px;
  }
}

/* Seccion 5 Rombo*/

.rombo {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  color: black;
  text-align: center;
  background: white;
}

.cont-rombo {
  margin-top: 60px;
  max-width: 100vw;
}

.cont-rombo img {
  max-width: 100%;
}

/* Seccion Mapa */

.aprodisa, .giia, .imeisa, .sabc, .tritec, .ramsa{
    font-size: 40px;
    font-weight: 600;
}

.aprodisa {
    color: #0a58c9;
}

.giia {
    color: #359e20;
}

.sabc {
    color: #f257ce;
}

.imeisa {
    color: #f2a814;
}

.ramsa {
    color: #ef1640;
}

.tritec{
    color: #f9db46;
}

.contenedor-mapa {
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  text-align: center;
}

.distribuidores {
  display: flex;
  width: 90%;
  margin: 0 auto;
}

.distribuidor{
  padding: 0 70px;
}

.size-s{
  font-size: 14px;
}

.titulo-s5 {
  text-align: center;
  font-size: 30px;
}

.btn-mapa{
  text-decoration: none;
  color: black;
  background: #F6E100;
  border-radius: 4px;
  padding: 5px 8px;
  transition: .3s;
}

.btn-mapa:hover{
  background: #d3c207;
}

.telefono{
  text-decoration: none;
}

@media screen and (max-width:1227px){
  .contenedor-mapa{
    width: 100%;    
    text-align: center;
  }

  .contenedor-mapa img{
    max-width: 90%;
    margin: 0 auto;
  }

  .distribuidores{
    display: flex;
    flex-direction: column;
  }

  .distribuidor{
    padding: 0 15px;
    text-align: center;
  }
}

/* Seccion 6 Contadores animados */

.underlined-t {
  text-decoration: underline;
  font-size: 35px;
}

.contadores_principal {
  display: flex;
  flex-direction: column;
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-top: 30px;
  background: #F6E100;
  padding: 90px 0;
  opacity: 0;
}

/* Animar */

.contadores_principal.show {
  animation: aparecer 1.5s;
  opacity: 1;
}

@keyframes aparecer {
  0% {
    opacity: 0;
    transform: translateY(200px);
  }

  100% {
    opacity: 1;
    transform: translateY(0);
  }
}

.contadores {
  display: flex;
  align-items: baseline;
  justify-content: space-evenly;
}

.numeros {
  display: flex;
  flex-direction: column;
  justify-content: space-evenly;
  align-items: center;
  text-align: center;
}

.contador {
  display: flex;
  text-align: center;
}

.bigger {
  font-size: 50px;
}

.big {
  font-size: 30px;
}

.medium{
  font-size: 18px;
}

@media screen and (max-width:1227px) {
  .contadores {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .numeros {
    padding: 50px
  }
}

/* Seccion 6 Mapa */

.locaciones {
  text-align: center;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  margin-left: -50vw;
  margin-right: -50vw;
  margin-bottom: -550px;
}

/* Animar Pin */

@keyframes animar {
  0% {
    transform: scale(0.75);
  }

  50% {
    transform: scale(1);
  }

  100% {
    transform: scale(0.75);
  }
}

.pin1 img,
.pin2 img {
  animation: animar 1.5s infinite;
  width: 20px;
}

.pin1 {
  cursor: pointer;
  position: relative;
  transform: translate(-78px, -405px);
}

.pin2 {
  cursor: pointer;
  position: relative;
  transform: translate(-68px, -403px);
}

/* Tooltips Direcciones*/

.modalUSA {
  background: rgba(0, 0, 0, 0.3);
  width: 320px;
  padding: 30px;
  border: solid 1px black;
  border-radius: 10px;
  position: relative;
  opacity: 0;
  transform: translate(190px, -700px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}

.modalUSA.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY();
}

#titulo-tooltip {
  background: #3d3d3d;
  color: white;
}

.modalMX {
  background: rgba(0, 0, 0, 0.3);
  width: 320px;
  padding: 30px;
  border: solid 1px black;
  border-radius: 10px;
  position: relative;
  opacity: 0;
  transform: translate(700px, -700px);
  transition: opacity 0.5s, transform 0.5s;
  pointer-events: none;
}

.modalMX.open {
  opacity: 1;
  pointer-events: all;
  transform: translateY();
}

#titulo-tooltip {
  background: #3d3d3d;
  color: white;
}


@media screen and (max-width:1227px) {
  .mapa {
    transform: translateX(-40px);
  }

  .pin1 {
    transform: translate(-85px, -405px);
  }

  .pin2 {
    transform: translate(-77px, -391px);
  }

  .modalUSA,
  .modalMX {
    visibility: hidden;
  }
}

/* Seccion Call to Action Contacto*/

.call-contacto {
  background: white;
  margin: 30px 0;
  z-index: 2500;
}

.title-call{
  background: #F6E100;
  color: white;
  padding: 10px 0;
  text-align: center;
}

.box-container {
  border: 1px solid #F6E100;
  border-radius: 10px;
  margin: 0 auto;
  width: 80%;
}

.info-call-contacto{
  display: flex;
  color: #3d3d3d;
}

.img-chat{
  padding: 60px
}

.contacto-da{
  display: flex;
}

.da-izq, .da-der{
  display: flex;
  align-items: center;
}

.da-ico, .da-info{
  padding: 10px;
}

.da-info > a{
  color: #F6E100;
  text-decoration: none;
}

@media screen and (max-width:1227px){
  .info-call-contacto{
    display: flex;
    flex-direction: column;
    text-align: center;
  }

  .img-chat{
    padding: 20px
  }

  .info-chat-contacto{
    padding: 0 15px;
  }

  .contacto-da{
    display: flex;
    flex-direction: column;
    align-items: center;
  }
}


/* Footer */

.underlined-f {
  text-decoration: underline;
}

.iso9000{
  color:white;
  font-weight: 600;
}

.bg-footer {
  padding-top: 3rem;
  width: 100vw;
  position: relative;
  left: 50%;
  right: 50%;
  z-index: 10;
  margin-left: -50vw;
  margin-right: -50vw;
  background-color: #686868;
}

.info-links {
  display: flex;
  justify-content: space-evenly;
  line-height: 1.7em;
}

.bg-footer a,
ul,
li {
  font-size: 14px;
  font-weight: 200;
}

.info-footer1 {
  padding: 3rem 3rem;
}

.info-footer1 h3 {
  color: white;
}

.info-footer1 a {
  color: white;
  text-decoration: none;
}

.info-footer1 a:hover {
  color: #d4d3d3;
}

.info-footer1 ul {
  list-style: none;
}

.domicilio {
  margin: 2rem 2rem;
  color: white;
  text-align: center;
  font-size: .8em;
  line-height: 2.1em;
}

.domicilio a {
  color: white;
  text-decoration: none;
}

.domicilio a:hover {
  color: #a0c6ef;
}

.logo-footer {
  text-align: center;
}

.logo-footer img {
  transform: translateY(47px);
  width: 8em;
}

.filter {
  transition: .4s;
}

.filter:hover {
  filter: brightness(97%) contrast(119%);
}

.copyright {
  background: #3d3d3d;
  transform: translate(-30px, 35px);
  width: 100vw;
}

@media screen and (max-width: 900px) {
  .info-links {
    display: flex;
    flex-flow: column;
    align-items: center;
  }

  .info-footer1 {
    padding: 0;
    margin: 0;
  }

  .logo-footer img {
    width: 7rem;
  }
}

/* To top button */

#back-to-top-btn {
  display: none;
  position: fixed;
  bottom: 1.2em;
  left: .5em;
  font-size: 30px;
  width: 55px;
  height: 55px;
  background-color: rgba(246, 225, 0, 0.4);
  color: rgba(255, 255, 255, 0.7);
  cursor: pointer;
  outline: none;
  border: none;
  border-radius: 50%;
  transition-duration: 0.3s;
  transition-timing-function: ease-in-out;
  transition-property: background-color, color;
  z-index: 3000;
}

#back-to-top-btn:hover,
#back-to-top-btn:focus {
  background-color: #F6E100;
  color: #fff
}

@media screen and (max-width: 992px) {
  .container {
    padding: 20px 100px;
  }

  #back-to-top-btn {
    font-size: 40px;
    width: 50px;
    height: 50px;
    bottom: .9em;
    left: .2em;
  }
}

/* Animations */
.btnEntrance {
  animation-duration: 0.5s;
  animation-fill-mode: both;
  animation-name: btnEntrance;
}

/* zoomIn */
/* @keyframes btnEntrance { 
  from {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
  to {
    opacity: 1;
  }    
} */

/* fadeInUp */
@keyframes btnEntrance {
  from {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }

  to {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }
}

.btnExit {
  animation-duration: 0.25s;
  animation-fill-mode: both;
  animation-name: btnExit;
}

/* zoomOut */
/* @keyframes btnExit {
  from {
    opacity: 1;
  }
  to {
    opacity: 0;
    transform: scale3d(0.3, 0.3, 0.3);
  }
} */

/* fadeOutDown */
@keyframes btnExit {
  from {
    opacity: 1;
  }

  to {
    opacity: 0;
    transform: translate3d(0, 100%, 0);
  }
}