* {
    margin: 0;
    padding: 0;
}
body {
    background-color: white;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    font-size: 12px;
}
:root{
    --maxwidth: 992px;
    --blue: #1f9cd8;
    --yellow: #f9b816;
}
.hidden{
    display: none;
}
a,
a:visited,
a:focus,
a:active{
    text-decoration: none;
    cursor: pointer;
    transition: all ease-out 0.15s;
}

img{
    max-width: 100%;
    max-height: 100%;
}
hr{
    height: 0;
    border-style: solid;
    border-color: #000000;
    border-width: thin 0 0 0;
    margin: 0 auto;
    max-width: 250px;
}
header{}
ul, ol{
    margin: 0;
    padding: 0;
    list-style-type: none;
}
.row{
    position: relative;
    
}
.content{
    max-width: var(--maxwidth);
    margin: 0 auto;
}

.toprow{
    background-color: #0e0f0f;
    color: #ffffff;
    height: 5rem;
}
.top-flags{
    flex-grow: 1;
    text-align: left;
    padding: 0 2em;
}
.flag-icon{
    display: inline-block;
}
.flag-icon img{
    max-height: 2em;
}
nav{
    display: flex;
    justify-content: flex-end;
    position: relative;
    height: 100%;
    align-items: center;
}
nav a,
nav a:visited,
nav a:focus,
nav a:active{
    display: inline-block;
    padding: 0 3em;
    line-height: 5rem;
    height: 5rem;
    text-transform: uppercase;
    font-size: 0.9em;
    color: #ffffff;
}
nav a:hover{
    color: black;
    background-color: var(--yellow);
}
h1{
    text-align: center;
    text-transform: uppercase;
    font-weight: normal;
    padding: 0;
    margin: 1em 0;
    font-size: 2em;
}
.textblock{
    text-align: left;
    font-size: 1em;
    margin: 1em auto 2em;
    padding: 0 3em;
    max-width: 640px;
}
.center, .textblock.center{
    text-align: center;
}
.right{
    text-align: right;
}
.imageblock{    
    text-align: center;
    font-size: 1em;
    margin: 2em auto 3em;
    padding: 0 3em;
    max-width: 640px;
}
.imageblock img{
    max-width: 100%;
}
/*    SLIDER: */
 
.slidercontent{
    display: block;
    widht: 100%;
    height: 900px;
    position: relative;
}

.sliderbox{
    position: absolute;
    top: 0;
    left: 314;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 100;
}
.slider .logo{
    bottom: 0;
    right: 0;
    z-index: 200;
    width: 17%;
    height: 100%;

}
.slider .logo:after{
    content: "";
    position: absolute;
    top: 0;
    right: -240px;
    display: block;
    height: 0;
    width: 0;
    background-color: transparent;
}
.slider .logo img{
    max-height: 100%;
    width: 10%;
    object-position: center;
    object-fit: contain;
    position: absolute;
    top: 80%;
    right: calc(-3% + 8px);
    transform: translate(-50%, -50%);
    z-index: 500;
}
.slide{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: none;
}
.slide img{
    width: 100%;
}
.ecommerce{
    text-align: center;
    margin: 2em auto;
}

.logolist{
    overflow: hidden;
    max-width: 992px;
    display: flex;
    margin: 3em auto;
    justify-content: center;
}
.logolist li{
    display: inline-block;
    max-height: 120px;
}

.logolist li img{
    object-fit: contain;
}
form{
    
    text-align: left;
    font-size: 1em;
    margin: 1em auto 2em;
    max-width: 640px;
    background-color: var(--blue);
    padding: 2em;
    color: #ffffff;
}
.formrow{
    display: flex;
    align-items: center;
    margin: 1em auto;
}
.formrow.top{
    display: flex;
    align-items: flex-start;
}
.formrow label{
    flex-grow: 1;
    flex-basis: 30%;
    text-align: right;
    padding: 0 1em;
    line-height: 2em;
}
.formrow input,
.formrow textarea,
form button{
    flex-grow: 0;
    flex-basis: 70%;
    height: 2em;
    border: none;
    border-radius: 0;
    color: #000000;
    padding: 0 1em;
    font-size: 1em;
    font-family: Verdana, Arial, Helvetica, sans-serif;
    box-sizing: border-box;
}
.formrow textarea{
    padding-top: 0.5em;
    padding-bottom: 0.5em;
}
form button,
form button:focus,
form button:active{
    background-color: #ffffff;
    height: 2em;
    padding: 0 2em;
    color: #000000;
    transition: all ease-out 0.15s;
    cursor: pointer;
}
form button:hover{
    background-color: var(--yellow);
}
.formrow textarea{
    height: 6em;
    resize: vertical;
}



/*    ABOUT: */
.aboutblock{
    margin: 3em 0;
}
.aboutbox{
    max-width: 998px;
    margin: 0 auto;
    font-size: 0;
    display: flex;
    align-items: center;
}
.aboutimg,
.abouttext{
    display: inline-block;
    width: 50%;
    box-sizing: border-box;
    flex-basis: 50%;
}
.aboutimg img{
    object-fit: cover;
    object-position: center;
}
.abouttext{
    font-size: 0.9rem;
    padding: 0 3em;
}
.abouttext h1{
    margin: 0;
    padding: 0;
    font-size: 1.4em;
    text-align: inherit;
}
.abouttext p{
    margin-top: 0.5em;
}
.rightflow{
    direction: rtl;
}
.rightflow .abouttext{    
    direction: ltr;
    text-align: right;
}
/*    FOOTER*/

footer{
    background-color: #343434;
    color: #ffffff;
}
footer .footercontent{
    display: flex;
    padding: 3em;
}
footer .footercontent .footerlogo{
    flex-grow: 1;
    text-align: center;
}
footer .footercontent .footernav{
    flex-grow: 1;
    text-align: left;
}
footer .footercontent .footersocial{
    flex-grow: 1;
    text-align: left;
}
footer .footercontent .footerlogo img{
    width: 80px;
}

footer h4{
    font-weight: bold;
    font-size: 1em;
    color: var(--yellow);
    text-transform: uppercase;
    margin-bottom: 1em;
}
footer a{
    color: white;
}
footer a:hover{
    color: var(--yellow);
}
footer .socialicon:hover img{
    filter: hue-rotate(210deg);
}
.bottomrow{
    background-color: black;
    line-height: 5em;
    font-size: 0.8em;
    text-transform: uppercase;
    padding: 0 3em;
}

/*    PRODUCTOS: */


.products-list ul, .products-list ol{
    list-style-type: disc;
}

.products-list > li{
    padding: 5em 0;
}
.products-list > li:nth-child(even){
    background-color: #e0e0e0;
}
.products-list > li:nth-child(odd){
    background-color: #f0f0f0;
}
.products-list > li div.productbox{
    display: flex;
    max-width: 768px;
    margin: 0 auto;
    align-content: center;
    align-items: center;
}
.products-list > li div h1{
    flex-basis: 33%;
    flex-grow: 0;
    flex-shrink: 0;
    font-size: 1.4em;
}
.products-list > li div h1 img{
    max-height: 120px;
    display: block;
    margin: 0 auto;
}
.products-list > li div .servicetext{
    flex-grow: 1;
}
/*.product-section{
    padding: 2em 0;
    background-color: #eeeeee;
    
}
.productslist{
    max-width: 1200px;
    margin: 2em auto;
    display: grid;
    grid-template-columns: repeat(auto-fill, 24%); 
    justify-content: space-between;
    
  column-gap: 1em;
  row-gap: 1em;
}
.productslist li{
    display: inline-block;
    background-color: #ffffff;
    box-sizing: border-box;
    padding: 1em;
}
.productslist li .product-image{
    text-align: center;
    height: 280px;
}
.productslist li .product-image img{
    object-fit: contain;
    object-position: center center;
}
.productslist li .product-title{
    text-align: center;
    height: 3em;
    font-weight:  bold;
    font-size: 1.2em;
    overflow: hidden;
}
.productslist li .product-price{    
    text-align: center;
    height: 2em;
    font-weight: bold;
    line-height: 2em;
}
*/


/*    SERVICIOS: ;*/



#hexGrid {
  display: flex;
  flex-wrap: wrap;
  width: 80%;
  margin: 2% auto;
  overflow: hidden;
  font-size: 15px;
  list-style-type: none;
}
.hex {
  position: relative;
  visibility:hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hex::after{
  content:'';
  display:block;
  padding-bottom: 86.602%;  /* =  100 / tan(60) * 1.5 */
}
.hexIn{
  position: absolute;
  width:96%;
  padding-bottom: 110.851%; /* =  width / sin(60) */
  margin:0 2%;
  overflow: hidden;
  visibility: hidden;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
  -webkit-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
      -ms-transform: rotate3d(0,0,1,-60deg) skewY(30deg);
          transform: rotate3d(0,0,1,-60deg) skewY(30deg);
}
.hexIn * {
  position: absolute;
  visibility: visible;
  outline:1px solid transparent; /* fix for jagged edges in FF on hover transition */
}
.hexLink {
    display:block;
    width: 100%;
    height: 100%;
    text-align: center;
    color: #fff;
    overflow: hidden;
    -webkit-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
        -ms-transform: skewY(-30deg) rotate3d(0,0,1,60deg);
            transform: skewY(-30deg) rotate3d(0,0,1,60deg);
}
.hex:nth-child(odd) .hexLink{
    background-color: var(--blue);
}
.hex:nth-child(even) .hexLink{
    background-color: var(--yellow);
}

/*** HEX CONTENT **********************************************************************/
/*
.hex h1, .hex p {
  width: 100%;
  padding: 5%;
  box-sizing:border-box;
  background-color: rgba(0, 128, 128, 0.8);
  font-weight: 300;
  -webkit-transition:  -webkit-transform .2s ease-out, opacity .3s ease-out;
          transition:          transform .2s ease-out, opacity .3s ease-out;
}
*/
.hex h1 {
  padding:0;
  font-size: 1.2em;
  width: 100%;
  box-sizing:border-box;
  z-index: 1;
  font-weight: 300;
    text-align: center;
    color: #000000;
    margin: 0 auto;
    top: 50%;
  transform: translateY(-50%);
/*  -webkit-transform:translate3d(0,-100%,0);
      -ms-transform:translate3d(0,-100%,0);
          transform:translate3d(0,-100%,0);
    */
}
.hex img {
    display: block;
    height: 3em;
  margin: 0 auto;
    position: relative;
  /*height: 100%;
  -webkit-transform: rotate3d(0,0,0,0deg);
      -ms-transform: rotate3d(0,0,0,0deg);
          transform: rotate3d(0,0,0,0deg);
    
    */
    
    
    
}
/*
.hex h1::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 45%;
  width: 10%;
  text-align: center;
  border-bottom: 1px solid #fff;
}
.hex p {
  top: 50%;
  padding-bottom:50%;
  -webkit-transform:translate3d(0,100%,0);
      -ms-transform:translate3d(0,100%,0);
          transform:translate3d(0,100%,0);
}
*/




body.noscroll{
    overflow: hidden;
}

.modal{
    position: absolute;
    background-color: lightcoral;
    top: 50%;
    left: 0;
    width: 0%;
    z-index: 500;
    overflow: hidden;
}

.modalcontent{
    display: flex;
    align-items: center;
    width: 100vw;
}
.modalcontent h1{
    flex-grow: 0;
    padding: 1em 1em 1em 3em;
    text-align: center;
}
.modalcontent h1{
}
.modalcontent h1 img{
    height: 5em;
    display: block;
    margin: 0 auto;
}
.modalcontent .servicetext{
    flex-grow: 1;
    padding: 3em 5em;
}
.closeservicebtn{
    position: absolute;
    top: 1em;
    right: 1em;
    color: #ffffff;
    border: solid 2px #ffffff;
    border-radius: 2em;
    height: 2em;
    width: 2em;
    line-height: 2em;
    text-align: center;
    font-weight: bold;
}
.serviceback{
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #ffffff99;
    z-index: 499;
    display: none;
}
.videobox{
    text-align: center;
    margin: 3em auto;
}
.videobox iframe{
    width: 100%;
    height: auto;
    max-width: 768px; 
    aspect-ratio: 16 / 9;
}
@media (max-width: 992px) {
    .productslist{
        max-width: 768px;
        grid-template-columns: repeat(auto-fill, 32%)
    }
    
    .slidercontent{
        height: 400px;
    }
    .slider .logo::after {
        border-width: 200px 80px;
        right: -160px;
    }
}
@media (max-width: 768px) {
    .slidercontent{
        height: 260px;
    }
    .slider .logo{
        bottom: 0;
        right: 0;
        z-index: 200;
        width: 17%;
        height: 100%;
    
    }
    .slider .logo::after {
        border-width: 130px 60px;
        right: -120px;
    }
    .productslist{
        max-width: 768px;
        grid-template-columns: repeat(auto-fill, 48%)
    }
    .top-flags{
        position: absolute;
        top: 0;
        left: 0;
        padding: 0.5em;
    }
    .aboutbox{
        align-items: flex-start;
        margin-bottom: 2rem;
    }
    .aboutimg{
        width: 30%;
        flex-basis: 30%;
    }
    .abouttext{
        width: 70%;
        flex-basis: 70%;
    }
    .rightflow{
    direction: ltr;
}
    .rightflow .abouttext{    
        direction: ltr;
        text-align: left;
    }
    .modalcontent{
        display: block;
    }
    .modalcontent h1{
        margin: 0;
        padding: 1em 3rem;
        text-transform: none;
        text-align: left;
    }
    .modalcontent h1 br{
        display: none;
    }
    .modalcontent h1 img{
        display: inline-block;
        height: 2em;
        vertical-align: middle;
        margin-right: 1em;
    }
    .modalcontent .servicetext{
        padding: 1em 3rem 2em;
    }
}

@media (max-width: 640px) {
    nav a{
        text-transform: none;
    }
    footer .footercontent{
        flex-wrap: wrap;
    }
    .footerlogo{
        width: 100%;
        flex-basis: 100%;
        margin-bottom: 2em;
    }
}

@media (max-width: 520px) {
    nav{
        justify-content: center;
    }
    nav a{
        line-height: normal;
        height: auto;
        text-align: center;
        padding: 0.5em;
    }
    .productslist{
        display: block;
    }
    .productslist li{
        display: block;
    }
    .hex h1{
        font-size: 1em;
    }
    #hexmodal{
        position: fixed;
        top: 0 !important;
        left: 0;
        height: 100%;
        min-height: 100%;
        width: 1005;
    }
    .modalcontent h1{
        text-align: center;
        font-size: 2em;
    }
    .modalcontent h1 img{
        display: block;
        margin: 0 auto;
    }
}
@media (max-width: 460px) {
    .slidercontent{
        height: 200px;
    }
    .slider .logo{
          bottom: 0;
          right: 0;
          z-index: 200;
          width: 17%;
          height: 100%;
    }
    .slider .logo::after {
        border-width: 100px 50px;
        right: -100px;
    }
    .slide img{
        min-height: 100%;
        object-fit: cover;
    }
    footer .footercontent{
        display: block;
    }
    .footersocial{
        margin-top: 2em;
    }
    .bottomrow{
        line-height: normal;
        padding: 2em;
        text-transform: none;
    }
    .formrow,
    .formrow.top{
        display: block;
    }
    .formrow label{
        display: block;
        text-align: left;
    }
    .formrow input,
    .formrow textarea{
        display: block;
        width: 100%;
    }
    .aboutimg{
        display: none;
    }
    .abouttext{
        width: 100%;
        flex-basis: 100%;
    }
}



/*** HOVER EFFECT  **********************************************************************/
/*
.hexLink:hover h1, .hexLink:focus h1,
.hexLink:hover p, .hexLink:focus p{
  -webkit-transform:translate3d(0,0,0);
      -ms-transform:translate3d(0,0,0);
          transform:translate3d(0,0,0);
}
*/
/*** HEXAGON SIZING AND EVEN ROW INDENTATION *****************************************************************/
@media (min-width:1201px) { /* <- 5-4  hexagons per row */
  #hexGrid{
    padding-bottom: 4.4%
  }
  .hex {
    width: 20%; /* = 100 / 5 */
  }
  .hex:nth-child(9n+6){ /* first hexagon of even rows */
    margin-left:10%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 1200px) and (min-width:901px) { /* <- 4-3  hexagons per row */
  #hexGrid{
    padding-bottom: 5.5%
  }
  .hex {
    width: 25%; /* = 100 / 4 */
  }
  .hex:nth-child(7n+5){ /* first hexagon of even rows */
    margin-left:12.5%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 900px) and (min-width:601px) { /* <- 3-2  hexagons per row */
  #hexGrid{
    padding-bottom: 7.4%
  }
  .hex {
    width: 33.333%; /* = 100 / 3 */
  }
  .hex:nth-child(5n+4){ /* first hexagon of even rows */
    margin-left:16.666%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 600px) { /* <- 2-1  hexagons per row */
  #hexGrid{
    padding-bottom: 11.2%
  }
  .hex {
    width: 50%; /* = 100 / 3 */
  }
  .hex:nth-child(3n+3){ /* first hexagon of even rows */
    margin-left:25%;  /* = width of .hex / 2  to indent even rows */
  }
}

@media (max-width: 400px) {
    #hexGrid {
        font-size: 13px;
    }
}




