/***General***/
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Hind', sans-serif;
  outline: none;
}

a[href^="tel"] {
  color: inherit;
  text-decoration: none;
}

h1 {
  margin: 0;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}

.dis-0-485,
.dis-0-error {
  display: none;
}

/****************************************************************************************
---------------------------------TOP AND NAVIGATION--------------------------------------
****************************************************************************************/
#top {
  width: 100%;
  height: 45px;
  background-color: #161515;
  box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.43);
  position: fixed;
  top: 0;
  z-index: 9999;
}

/*SVG of sidenav*/
.open-slide {
  float: left;
}
.pointer {
  cursor: pointer;
}
.open-slide svg {
  margin-top: 7px;
  margin-left: 6px;
}

/*Side navigation (the side menu that opens)*/
.sidenav {
  height: 100%;
  width: 0;
  max-width: 165px;
  position: fixed;
  z-index: 9999;
  top: 45px;
  left: 0;
  background-color: rgba(28, 28, 28, 0.97); /*#111*/;
  overflow-x: hidden;
  transition: 1s;
  padding-top: 20px;
}
.sidenav::-webkit-scrollbar { width: 0 !important; }
.sidenav { overflow: -moz-scrollbars-none; }
.sidenav { -ms-overflow-style: none; }

.sidenav a {
  padding: 12px 8px 23px 15px;
  text-transform: uppercase;
  text-decoration: none;
  font-size: 18px;
  color: #f1f1f1;
  display: block;
  transition: 0.3s;
}

.sidenav .closebtn {
  position: absolute;
  top: -10px;
  right: 0;
  font-size: 30px;
  padding-top: 10px;
}

/*Nav images and wrapper*/
.img-wrap {
  margin-top: 4.5px;
  margin-right: 5%;
  float: right;
  width: 152px;
}
.nav-logo {
  width: 52px;
  height: 32px;
  float: left;
}
.nav-logo2 {
  width: 90px;
  height: 20px;
  float: right;
  margin-top: 6px;
}

/****************************************************************************************
------------------------------------   COVER   -----------------------------------------
****************************************************************************************/
#cover {
  height: 350px;
  overflow: auto;
  margin-top: 45px;
  background-image: url('../img/backgrounds/home-background-X1.jpg');
  background-repeat: no-repeat;
  background-size: cover;
  background-position: center;
  text-align: center;
}

.cover-logo {
  width: 180px;
  height: 144px;
  margin-top: 90px;
}


/****************************************************************************************
------------------------------------   MAIN   -------------------------------------------
****************************************************************************************/
#main {
  background-color: #ffb300;
  height: 650px;
  color: #fff;
  text-align: center;
  overflow: hidden;
  position: relative;
  z-index: 1;
  box-shadow: 0 5px 6px 1px rgba(0, 0, 0, 0.43);
}

.main-header {
  text-transform: uppercase;
  font-size: 9px;
  max-width: 250px;
  margin: auto;
  margin-top: 17px;
}

.main-header::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 40%;
  padding-top: 6px;
  border-bottom: 2px solid #fff;
}

/******* ICONS AND CONTAINERS *******/
#main div [class^="icono"]{
  width: 35px;
  height: 35px;
}

#main h2 {
  font-size: 19px;
}

.calidad,
.experiencia,
.variedad {
  margin-top: 25px;
}

/****************************************************************************************
---------------------------------   MAIN CAROUSEL  -------------------------------------
****************************************************************************************/
.main-carousel {
  overflow-x: hidden;
}

.main-carousel__slide {
  width: 100%;
}

.main-carousel__img {
  width: 100%;
  height: auto;
  max-height: 170px;
  display: block;
}

/*DOTS*/
ul.slick-dots {
  background-color: transparent;
  position: absolute;
  bottom: 0;
}

#slick-slide-control00::before,
#slick-slide-control01::before,
#slick-slide-control02::before {
  font-size: 8px;
}

/****************************************************************************************
---------------------------------   NUESTROS SERVICIOS  --------------------------------
****************************************************************************************/
#nuestros-servicios {
  background-color: #fff;
  height: 50px;
  overflow: auto;
}

#nuestros-servicios h1 {
  text-align: center;
  font-size: 19px;
  margin: auto;
  text-transform: uppercase;
  max-width: 210px;
}

#nuestros-servicios h1::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 50%;
  padding-top: 5px;
  border-bottom: 2px solid #ffb300;
}

/****************************************************************************************
---------------------------------   MAIN CAROUSEL 2 -------------------------------------
****************************************************************************************/
.main-carousel-2 {
  overflow-x: hidden;
}

.main-carousel-2::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 55%;
  padding-top: 30px;
  border-bottom: 1px solid lightgrey;
}

.main-carousel-2 button.slick-prev.slick-arrow {
  position: absolute;
  left: 0;
  top: 22%;
  z-index: 1;
}

.main-carousel-2 button.slick-next.slick-arrow {
  position: absolute;
  right: 0;
  top: 22%;
}

.main-carousel-2__slide {
  width: 100%;
}

.main-carousel-2__img {
  width: 100%;
  height: auto;
  max-height: 185px;
  display: block;
}

.main-carousel-2__wrap {
  width: 94%;
  margin: auto;
}

.main-carousel-2__title {
  margin-top: 10px;
  font-size: 18px;
}

.main-carousel-2__text {
  font-size: 15.5px;
  margin-top: 8px;
}

.main-carousel-2__link {
  margin-top: 14px;
  display: block;
  text-align: right;
  text-decoration: none;
  font-weight: bold;
  color: #ffb300;
}


/****************************************************************************************
-------------------------------------   EQUIPOS -----------------------------------------
****************************************************************************************/
#equipos {
  width: 100%;
}

#equipos h1 {
  text-align: center;
  font-size: 19px;
  text-transform: uppercase;
  margin: auto;
  margin-top: 28px;
  max-width: 200px;
}
#equipos h1::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 50%;
  padding-top: 2px;
  border-bottom: 2px solid #ffb300;
}

#equipos p {
  width: 96%;
  padding-top: 15px;
  margin: auto;
  text-align: center;
}


/*Flex container*/
.equipos-flex {
  width: 96%;
  margin: auto;
  text-align: center;
}
.equipo-logo {
  width: 205px;
}


/****************************************************************************************
-------------------------------------   CONTACTO ----------------------------------------
****************************************************************************************/
#contacto {
  background-color: #ffb300;
  width: 100%;
  height: 340px;
  overflow: hidden;
  color: #fff;
}

#contacto h1 {
  text-align: center;
  font-size: 19px;
  text-transform: uppercase;
  margin: auto;
  margin-top: 20px;
  max-width: 220px;
}
#contacto h1::after {
  content: "";
  display: block;
  margin: 0 auto;
  width: 50%;
  padding-top: 2px;
  border-bottom: 2px solid #fff;
}

/*Contacto containers*/
.contacto-container {
  width: 90%;
  margin: auto;
  margin-top: 25px;
}

.contacto-container h2 {
  font-size: 17px;
}
.contacto-container p {
  font-size: 15px;
}


/****************************************************************************************
-------------------------------------   FOOTER ------------------------------------------
****************************************************************************************/
footer {
  background-color: #000;
  color: #fff;
  font-size: 12px;
  text-align: center;
  padding-top: 5px;
}

.footer-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 97%;
  margin: auto;
}

.logo-jg {
  width: 20px;
  height: 20px;
}


















/***************************************************************************************************
-------------------------------------   MEDIA QUERIES ----------------------------------------------
****************************************************************************************************/

@media all and (min-width: 292px) {
  /***MAIN***/
  .main-header {
    max-width: 260px;
  }

  .main-carousel-2 button.slick-prev.slick-arrow,
  .main-carousel-2 button.slick-next.slick-arrow {
    top: 25%;
  }

}





@media all and (min-width: 321px) {
  /***TOP AND NAVIGATION***/
  .open-slide svg {
    margin-left: 12px;
  }

  /***MAIN***/

  /***ICONS AND CONTAINERS***/
  #main div [class^="icono"]{
    width: 36px;
    height: 36px;
  }

  .calidad,
  .experiencia,
  .variedad {
    margin: auto;
    margin-top: 26px;
    max-width: 285px;
  }

  .calidad p,
  .experiencia p,
  .variedad p {
    margin-top: 10px;
  }

  /***EQUIPOS***/
  #equipos p {
    width: 94%;
    padding-top: 30px;
  }

  /*Flex container*/
  .equipos-flex {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
  }

  .equipo-logo {
    width: 140px;
    margin-top: 10px;
  }


  /***CONTACTO***/
  #contacto {
    height: 375px;
    margin-top: 50px;
  }

  /*Contacto containers*/
  .contacto-container {
    max-width: 250px;
  }

  .contacto-container p {
    margin-top: 6px;
  }


  /***FOOTER***/

  footer {
    height: 70px;
    text-align: left;
    padding-left: 9px;
    padding-top: 12px;
  }

  .footer-logo {
    justify-content: flex-start;
    width: 100%;
    margin-top: 8px;
  }

  .logo-jg {
    margin-left: 5px;
  }
}

@media all and (min-width: 322px) {
  /*TOP*/
  .img-wrap {
    margin-right: 6%;
  }
  /*COVER LOGO*/
  .cover-logo {
    width: 220px;
    height: 176px;
  }
  /*Nuestros servicios*/
  .main-carousel-2__wrap {
    width: 90%;
  }
  .main-carousel-2 button.slick-prev.slick-arrow,
  .main-carousel-2 button.slick-next.slick-arrow {
    top: 28%;
  }
  /*Contacto*/
  .pad-fix {
    padding-left: 40px;
  }
}

@media all and (min-width: 356px) {
  /*TOP*/
  .img-wrap {
    margin-right: 7%;
    width: 164px;
  }
  /*Equipos*/
  .equipo-logo {
    width: 160px;
  }
}

@media all and (min-width: 383px) {
  /*TOP*/
  #top {
    height: 47px;
  }
  .open-slide svg {
    margin-top: 8px;
    margin-left: 15px;
  }
  .sidenav {
    top: 47px;
    max-width: 170px;
    padding-top: 22px;
  }
  .img-wrap {
    margin-top: 6.5px;
    margin-right: 7%;
    width: 48%;
  }
  /*COVER*/
  #cover {
    margin-top: 47px;
  }
  /*Main carousel*/
  .main-carousel__img {
    max-height: 200px;
  }
  /*Main carousel-2*/
  .main-carousel-2__img {
    max-height: 205px;
  }
  /*Equipos*/
  #equipos p {
    text-align: left;
  }
}

@media all and (min-width: 486px) {
  /*MAIN*/
  .main-header {
    margin-top: 40px;/*17px*/
    max-width: 380px;
  }
  .main-header::after {
    padding-top: 11px;
    border-bottom: 3px solid #fff;
  }

  /*Main carousel*/
  .main-carousel__img {
    max-height: 220px;
  }

  /*NUESTROS SERVICIOS*/
  #nuestros-servicios {
    height: 60px;
  }
  #nuestros-servicios h1 {
    font-size: 20px;
  }
  #nuestros-servicios h1::after {
    border-bottom: 3px solid #ffb300;
  }

  /*Main carousel 2*/
  .main-carousel-2__img {
    max-height: 230px;
  }
  .main-carousel-2__wrap {
    max-width: 400px;
    margin-top: 20px;
  }
  .main-carousel-2::after {
    padding-top: 25px;
    border-bottom: 2px solid lightgrey;
  }

  /*Equipos*/
  #equipos h1 {
    font-size: 20px;
    margin-top: 32px;
  }
  #equipos h1::after {
    border-bottom: 3px solid #ffb300;
  }
  #equipos p {
    width: 80%;
  }
  .equipos-flex {
    width: 90%;
    margin-top: 10px;
    max-width: 450px;
  }
  .equipo-logo {
    width: 205px;
  }

  /*Contacto*/
  #contacto h1 {
    font-size: 20px;
    margin-top: 40px;
    max-width: 230px;
  }
  #contacto h1::after {
    width: 52%;
    border-bottom: 3px solid #fff;
  }

  .contacto-container {
    max-width: 380px;
  }
  .dis-486 {
    display: none;
  }
  .dis-0-485,
  .dis-0-error {
    display: inline;
  }

  .contact-fix1 {
    display: inline-block;
  }
  .pad-fix {
    padding-left: 0;
  }

  /*FOOTER*/
  footer {
    height: 67px;
    padding-left: 15px;
    padding-top: 15px;
  }

}


@media all and (min-width: 597px) {

  /*TOP AND NAVIGATION*/
  #top {
    height: 50px;
  }
  .open-slide svg {
    margin-top: 10px;
    margin-left: 20px;
  }
  .sidenav {
    top: 50px;
    max-width: 180px;
  }
  .sidenav .closebtn {
    padding-top: 15px;
  }

  .img-wrap {
    margin-right: 5%;
  }

  .nav-logo {
    width: 57px;
    height: 35px;
  }

  .nav-logo2 {
    width: 100px;
    height: 23px;
  }

  /*COVER*/
  #cover {
    height: 400px;
  }
  .cover-logo {
    margin-top: 110px;
  }

  /*MAIN*/
  #main {
    height: 420px;
  }
  .main-flex {
    display: flex;
    flex-direction: row;
    margin-top: 20px;
  }

  #main div [class^="icono"]{
    width: 40px;
    height: 40px;
  }
  .calidad,
  .experiencia,
  .variedad {
    margin-top: 36px;
    margin-left: 5px;
    margin-right: 5px;
  }

  /*Main carousel*/
  .main-carousel__img {
    max-height: 260px;
  }

  /*Main carousel 2*/
  .main-carousel-2__img {
    max-height: 260px;
  }
  .main-carousel-2__title {
    font-size: 19px;
  }
  .main-carousel-2__text {
    font-size: 16px;
  }

  .main-carousel-2 button.slick-prev.slick-arrow,
  .main-carousel-2 button.slick-next.slick-arrow {
    top: 32%;
  }
  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 10px;
  }
  .main-carousel-2 button.slick-next.slick-arrow {
    right: 10px;
  }

  .slick-prev:before,
  .slick-next:before
  {
      font-size: 25px;
  }

}

@media all and (min-width: 697px) {

  /*MAIN*/
  .main-header {
    max-width: 600px;
    font-size: 11px;
  }
  .main-flex {
    justify-content: space-around;
  }

  /*main carousel*/
  .main-carousel__img {
    max-height: 300px;
  }

  /*main carousel-2*/

  .main-carousel-2__img {
    max-height: 280px;
    width: 90%;
    margin: auto;
  }
  .main-carousel-2__link {
    font-size: 18px;
  }
  .slick-prev:before,
  .slick-next:before
  {
      font-size: 28px;
      color: black;
  }
  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 1px;
  }

  /*Equipos*/
  .equipos-flex {
    max-width: none;
    justify-content: center;
  }

  .equipo-logo {
    width: 190px;
    margin-left: 5px;
    margin-right: 5px;
  }

  /*CONTACTO*/
  .contacto-container {
    max-width: 480px;
  }
  .contacto-container h2 {
    font-size: 19px;
  }
  .contacto-container p {
    font-size: 17px;
  }
  /*footer*/
  footer {
    font-size: 12.5px;
  }
}

@media all and (min-width: 822px) {

  /*TOP*/
  #top {
    height: 55px;
  }
  .open-slide svg {
    margin-top: 12px;
  }
  .sidenav {
    top: 55px;
    max-width: 220px;
  }
  .sidenav a {
    padding-top: 15px;
    padding-right: 9px;
    padding-left: 25px;
    font-size: 21px;
  }
  .img-wrap {
    margin-top: 9px;
  }
  .nav-logo {
    width: 61.8px;
    height: 38px;
  }
  .nav-logo2 {
    width: 102px;
    height: 23.4px;
  }

  /*COVER*/
  #cover {
    height: 440px;
    background-image: url('../img/backgrounds/home-background-X2.jpg');
  }
  .cover-logo {
    margin-top: 135px;
  }


  /*MAIN CAROUSEL*/
  .main-carousel__img {
    max-height: 360px;
  }

  .slick-dots li {
      width: 40px;
  }

  /*MAIN CAROUSEL-2*/
  .main-carousel-2__img {
    max-height: 300px;
    max-width: 700px;
  }
  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 1.5%;
  }
  .main-carousel-2 button.slick-next.slick-arrow {
    right: 1.5%;
  }
  .main-carousel-2__wrap {
    max-width: 600px;
    margin-top: 30px;
  }
  .main-carousel-2__wrap h3 {
    font-size: 23px;
  }
  .main-carousel-2__wrap p,
  .main-carousel-2__wrap a {
    font-size: 17px;
  }

  /*CONTACTO*/
  #contacto {
    height: 280px;
  }

  .contacto-flex {
    display: flex;
    margin: auto;
    margin-top: 50px;
    max-width: 1000px;
  }
  .contacto-container {
    max-width: 245px;
    height: 100px;
    margin-top: 0;
  }
  .dis-0-485 {
    display: none;
  }
  .dis-486 {
    display: block;
  }

}


@media (min-width: 933px) {
  /*TOP*/
  .open-slide {
    display: none;
  }
  .sidenav {
    max-width: none;
    width: 70%;
    position: static;
    display: flex;
    margin-right: 30px;
    padding: 0;
    background: none;
    float: right;
  }
  .sidenav a {
    font-size: 17px;
    padding: 0;
    padding-top: 19px;
    padding-right: 23px;
  }
  .sidenav .closebtn {
    display: none;
  }
  .img-wrap {
    margin-left: 2%;
    width: 180px;
    float: left;
  }

  /*Main carousel*/
  .main-carousel__img {
    max-height: 380px;
  }

  /*Main carousel-2*/
  .main-carousel-2__img {
    max-height: 320px;
  }

  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 4%;
  }
  .main-carousel-2 button.slick-next.slick-arrow {
    right: 5%;
  }
  .slick-prev:before,
  .slick-next:before
  {
      font-size: 40px;
  }

  /*EQUIPOS*/
  #equipos p {
    max-width: 670px;
  }

  /*footer*/
  footer {
    display: flex;
    font-size: 14px;
    height: 50px;
  }
  .copy-right {
    width: 359px;
    padding-top: 3px;
  }
  .footer-logo {
    width: 258px;
    margin-left: 20px;
    margin-top: 1px;
  }

}

@media (min-width: 1052px) {
  /*Main-carousel*/
  .main-carousel {
    background-color: rgba(211,211,211,0.82);
    box-shadow: 0 10px 30px 5px lightgrey;
  }
  .main-carousel__img {
    max-width: 1200px;
    max-height: 500px;
    margin: auto;
  }

  /*ONLY SLICK BUTTONS*/
  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 8%;
  }
  .main-carousel-2 button.slick-next.slick-arrow {
    right: 10%;
  }
  .slick-prev:before,
  .slick-next:before
  {
      font-size: 50px;
  }
}

@media (min-width: 1095px) {
  /*TOP*/
  .sidenav a {
    font-size: 19.5px;
    padding-top: 16px;
    padding-right: 30px;
  }
  .img-wrap {
    margin-left: 3%;
  }

  /*MAIN*/
  #main {
    height: 380px;
  }

  .main-header {
    max-width: 930px;
    font-size: 11px;
  }
  .main-header::after {
    padding-top: 20px;
  }

  .calidad,
  .experiencia,
  .variedad {
    max-width: 350px;
  }
  #main div [class^="icono"]{
    width: 50px;
    height: 50px;
  }

  #main h2 {
    font-size: 22px;
    margin-top: 7px;
  }
  .calidad p,
  .experiencia p,
  .variedad p {
    font-size: 18px;
  }
  /*carousel arrows*/
  .main-carousel-2 button.slick-prev.slick-arrow {
    left: 12%;
  }
  .main-carousel-2 button.slick-next.slick-arrow {
    right: 15%;
  }

  /*nuestros-servicios*/
  #nuestros-servicios {
    height: 70px;
  }
  #nuestros-servicios h1 {
    max-width: 220px;
  }
  /*h1 sizes*/
  #equipos h1,
  #contacto h1,
  #nuestros-servicios h1 {
    font-size: 22px;
  }

  /*equipos*/
  #equipos p {
    font-size: 18px;
    max-width: 750px;
  }
  .equipo-logo {
    margin-left: 7px;
    margin-right: 7px;
  }
}

@media (min-width: 1153px) {

  /*COVER*/
  .cover-logo {
    margin-top: 100px;
    width: 300px;
    height: 240px;
  }

  /*Main carousel 2*/
  .main-carousel-2__img {
    max-height: 350px;
  }

  /*equipos*/
  .equipos-flex {
    max-width: 1200px;
  }
  .equipo-logo {
    margin-left: 10px;
    margin-right: 10px;
  }

}
