html{
    scroll-behavior: smooth;
    
}
body {
  background-color:white;
  margin:0em;
  padding:0em;
    overflow-x:hidden;
  color: #6a6a6a !important;
  text-rendering: optimizeLegibility;
}
::selection{background-color: #EA1515 !important; color: white;}
::-moz-selection{background-color: #EA1515 !important; color: white;}
::-webkit-selection{background-color: #EA1515 !important; color: white;}
:root{
  --blanco: #fff;
  --gris1:#b4b4b4;
}

/* ----------------------------------------------------
 -----------HEADER-------------
 ----------------------------------------------------*/
header{
  width:100%; 
  background-color:#EA1515; 
  min-height:50px; 
  max-height: 70px;
  line-height:50px;
  position: fixed;
  z-index:1000000000000;
}
.blanco{color: white;}


a{
  transition: all .25s ease-in-out;
}
a.navbar-brand{
    font-family: 'Lora', serif;
    font-weight: 700;
    font-size: 4rem;
    float: left;
    padding: 2.5rem 3rem;
    color: #fff;
}
a.navbar-brand:hover{
  color: #333;
}
a.slogan {
  font-family: 'Lora', serif;
  font-size: 6px;
}

/* ----------------------------------------------------
 -----------MENÚ NAV-------------
 ----------------------------------------------------*/
/*------- Dropdown Menu */

/*---- Nav container */

.nav-container{
  width: 50%;
  position: sticky;
  float: right;
  z-index:1000000000000000;
  margin-top: 0;
  min-height: 50px;
  padding-top: 13px;
}
/*------- nav container queries */
/*@media only screen and ( max-width: 1024px ) /* 640 *//*{
  .nav-container{
  width: 60%;
}
}
*/
/*------- /nav container queries */
#nav > a{
display: none;
font-family: "Lexend",Helvetica,Arial,sans-serif;
width: 100%; 
}
#nav li{
position: relative;
list-style-type: none;    
min-width: 98px;
font-family: "Lexend",Helvetica,Arial,sans-serif;     
}
li.item{
line-height: 22px;
margin-left: -20px;
}

 #nav li a{
  color: #fff;
  display: block;
  text-align: center;
  padding-left: 0;
  font-size: clamp(12px, -0.875em + 8.333333vw, 15px);
  font-family: "Lexend",Helvetica,Arial,sans-serif;
 }

 #nav ul li.item a:hover{
  text-decoration: none;
  color:#333;
 }
    /* first level */
 
    #nav > ul{
      height: 3.75em;        
    }

    #nav li a:hover{
      text-decoration: none;
      color: #333;
    }
    #nav > ul > li{
      width: 20%;
      height: 100%;
      float: left;
    }
 
    /* second level */
 
    #nav li ul {
      display: none;
      position: relative;        
      background-color: #D0021B;
      width: 200%;        
    }
    li.item a{
      display: block; 
      padding:10px 0 10px 20px; 
      border-bottom:#EA1515 1px solid; 
      text-align: left !important;
    }
    #nav li:hover ul{
      display: block;
      color: #EA1515;
        }

/*------- Dropdown menu queries */

@media only screen and ( max-width: 900px ) /* 640 */{
    .nav-container{
        margin-top: 0; width: 100%; position: absolute; top: 0; padding:0; z-index: 5;
    }
    #nav{
      position: relative;
      font-size: 20px;
      width: 90%;
      margin-top: 0;                  
      }

    a.navbar-brand{
      font-size: 3rem; position: absolute; z-index: 10; padding: 1.5rem;
    }
    #hidenav{
      background: url(../imagenes/hamburger-icon.png) no-repeat 90% center;
      color: transparent;
      margin-top: -40px;     
    }  
    #nav > a{
      color: transparent;
      float: right;
      width: 10%;
      background: url(../imagenes/hamburger-icon.png) no-repeat 90% center;
      z-index: 10000000000000000; 
      cursor: pointer;
      }    
    #nav:not( :target ) > a:first-of-type,
    #nav:target > a:last-of-type{
      display: block;
      }

  #nav .clearfix {
    width: 70%;
    margin:46px 0 0 96px;
  }
  #nav .clearfix a {
    background-color: #D0021B;
    display: block;

  }
 
    /* first level */
 
    #nav > ul{
      height: auto;
      display: none;
      position: absolute;
      left: 0;
      right: 0;
      }
        #nav:target > ul{
          display: block;
        }
        #nav > ul > li{
          width: 100%;
          float: none;
        }
 
    /* second level */
 
    #nav li ul{
      position: static;
      width: 150%;      
    }
    #nav li a:hover{
      color: #EA1515;      
    }
    li.item {
      font-size: 14px;      
    }
}
@media only screen
    and (min-device-width: 800px)
    and (max-device-width: 900px){
        #nav > a{
            width: 5%;
            margin-top: 0;
        }
        #nav .clearfix{
            width: 100%;
            margin: 100px 0 0 80px;
        }
        #nav > ul{
            overflow: hidden;
        }
}

/*------------------- for mobile */

@media only screen and ( max-width: 480px ) /* 640 */{

 #nav .clearfix {
    width: 200%;
    margin:46px 0 0 -190px;
  }
 #nav li a{
  text-align: center;
  padding: 0;
 }  
 li.item a {      
      width: 60%;   
    }
 li.item{
  font-size: 18px;
  padding:20px;
  line-height: 20px;
 }

}

/*------- Breadcrumb */
.home-breadcrumb{
  display: block; padding-top: 7em; position: relative;
  max-height: 200px; 
}
.breadcrumb {
  margin-left: 90px;
  background-color: transparent;
}
.breadcrumb a{
  color: #EA1515; padding: 0 5px; 
}

.breadcrumb a:hover{
  color: #888;
}
.nolink{
  padding: 0 5px;
}


/*------- Home & breadcrumb queries */

@media (max-width: 450px){
  .home-breadcrumb{
    margin-left: -64px;
  }
}
/*-------------------------------*/

/*-------------------------------
------- ÁREA DE CONTENIDO 
-------------------------------*/ 
section{
  font-family: 'Lexend', sans-serif; line-height: 3rem;
}
 section h4{
   line-height: 3rem; font-size: 1.8rem;
 }
p{
  font-family: 'Lexend', sans-serif;
  font-size: 1.7rem;
  line-height: 2.7rem;
  letter-spacing: 0.5px;
  font-weight: 200;
  color: #333;
}
/*----------Paragraphs & links----------*/
/*Replacement for Mulli: Afacad - Lexend*/
p a{ color: #6a6a6a; font-weight: 300;}
p a:hover{ color: #EA1515; text-decoration: none;}
#hero-home{
  max-height: 920px !important;
}
.hero {
  background-size: cover;
  height: 100%; 
  position: relative;
  overflow: hidden;
  min-height: 550px;
  max-height: 550px;
  background-color: #eeeeee;
} 
/*.mko-slide:before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: linear-gradient(to top, #333, transparent);
    opacity: .9;
    z-index: 1;
}*/
.hero .container-fluid{
    width: 100%;
    height: 100%;
    padding: 0;
}

  .hero .intro {
    position: relative;
    top: 70%;
    transform: translateY(-50%); 
  }

  .hero h1 {
    font-family: 'Lora', serif;
    color: white;
    font-size: 3.5rem;
    line-height: 1.5em;
    letter-spacing: -0.025em;
    font-weight: 400;
    text-align: center; 
    margin: 20px 60px;
  }

.btn-mko-on-white{
    border:1px solid #ea1515;
    background-color:#ea1515;
    color:white;
    font-family: 'Lexend', sans-serif;
    padding: 10px; 
    text-transform: uppercase; 
    display: block;
    max-width: 200px;
    text-align: center;
    margin: 30px auto;
    font-weight: 300;
}

.btn-mko-on-white:hover{
    color: #ea1515;
    background-color: white;
    text-decoration: none;
}

#mko-carouselInterval{
    overflow: hidden;
    max-height: 1300px !important;
    min-height: 600px;
    position: relative;
}
#mko-carouselInterval .mko-slide{
    height: 100vh;
    background-repeat: no-repeat; 
    background-size: contain;
    max-height: 900px;
    background-color:#080a0b;
}
#mko-carouselInterval .mko-slide_bg-gradient{
    display: block;
    width: 100%;
    height: 100vh;
    background: linear-gradient(to bottom, #525252, #ea151500, #ea151500, #000000);
    margin-top: -280px;
}
#mko-carouselInterval .mko-ttl-box{
    display: block;
    position: absolute;
    background-color: #ea1515e0 !important;
    max-width: 100%;
    width: 100%;
    bottom: 0;
    -webkit-bottom: 21rem;
    padding: 3rem;
    z-index: 4;
    min-height: 300px;
    max-height: 460px;
    overflow: hidden;
    margin: auto;
}
#mko-carouselInterval .home-slide-ttl{
    font-family: 'Lora', serif;
    margin: 20px auto;
    color: white; padding: 0;
    font-weight: 600;
    letter-spacing: 1px;
}
#mko-carouselInterval .mko-ttl-box h4{
    color: white;
    font-family: 'Lexend', sans-serif;
    font-size: 18px;
    margin-bottom: 20px;
}
#mko-carouselInterval .mko-ttl-box a{
    text-align: center;
    border: 1px solid white;
    color: white;
    text-transform: uppercase;
    padding: 10px; margin: auto;
    display: block;
    max-width: 200px
}
#mko-carouselInterval .mko-ttl-box a:hover{
    background-color: white;
    color: #ea1515;
    border: 1px solid white;
    text-decoration: none;
}

#mko-carouselInterval .carousel-control:hover{
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  box-shadow: none;
}
#mko-carouselInterval .carousel-control{
  top: 67%; width:50px; height: 50px; border-radius: 50%;
  -webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
  -moz-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
  box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
}
#mko-carouselInterval .carousel-control .icon-prev, #mko-carouselInterval .carousel-control .icon-next{
margin-top: -35px;
}
#mko-carouselInterval .carousel-control .icon-prev, 
#mko-carouselInterval .carousel-control .icon-next{
  font-size: 6rem;
}
.carousel-inner{
    min-height: 550px;
}
.mko-slide-prev:hover{
    /*background-color: #b03838;*/
    background-image: linear-gradient(to left, transparent, #7b1111) !important;
}
.mko-slide-next:hover{
    /*background-color: #b03838;*/
    background-image: linear-gradient(to right, transparent, #7b1111) !important;
}

#mko-carouselInterval .carousel-indicators{
    display: block; left: 0;right: 0; margin: auto;
}
.mko-slide-prev, .mko-slide-next{
    width: 75px;
}
.mko-slide-prev{
    left: 0;
}
.mko-slide-next{
    right: 0;
}



/*Slider viejo*/
img {max-width:100%;}

  .hero p {
    color: #fff;
    line-height: 1.75em;
    font-weight: 200;
    font-size: 18px;
    text-align: center;
    margin:200px auto;
    float: bottom-left;
    margin: 10px 60px;
  }


  section.border button {
  color: #fff;
  padding: 10px 10px 10px 10px;
  background: rgba(0,0,0,0);
  border: solid 2px #fff;
  font-size: 20px;
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 70px;
  float: none !important;
}
section.border button:hover,
section.border button.hover {
  border-color: #EA1515;
  color: #EA1515;
}
section.border button:active,
section.border button.active {
  border-color: #27496d;
  color: #27496d;
}
.scrolldown-icon img {
    margin-bottom: 60px;
  }
.scrolldown-icon img:hover{
  opacity: .7;
  -webkit-transition:all 0.4s linear;
  -webkit-transform: rotate(360deg);
  -moz-transition:all 0.4s linear;
  -moz-transform: rotate(360deg);
  -ms-transition:all 0.4s linear;
  -ms-transform: rotate(360deg);
  transition:all 0.4s linear;
  transform: rotate(360deg);
  cursor: pointer;
}  

/* ----------------------------------------------------
 -----------CLASES GENÉRICAS-------------
 ----------------------------------------------------*/
/*------- Text */
h1, h2{font-family: 'Lora', serif !important;}
h3{
  font-family: 'Lexend', sans-serif !important;
  font-weight: 600;
}
b, strong{
  font-weight: 500 !important;
  letter-spacing: 0;
}

ul, ol{
  font-size: 1.73rem; letter-spacing: 0.3px;
}
.rojomko{color: #ea1515 !important;}
.mko-red-text{
  color: #ea1515 !important;
}
.makro-office{font-family: 'Lora', serif !important; font-weight: 600;}
.main-text h2{
  color: #EA1515;
  font-family: 'Lora', serif;
  font-size: 50px;
  line-height: 1.5em;
  text-align: center;
  padding:20px;
  margin: 50px auto;
}
.main-text h3 {
  font-weight: 400;
  font-size: 20px;
  line-height: .8em;
  text-align: center;
}
/*h1{
 color: #EA1515;
 font-family: 'Lexend', sans-serif;
 font-weight: 400;
 text-align: center;
 margin-top: 40px;
 padding-top: 40px; 
}*/
.main-text{
  width: 75%;
  margin: 40px auto;
}
.bienvenido{
  text-decoration: none;
    font-family: 'Lora', serif !important;
}
.desde-1995 {
  width: 100%;
  padding: 0;
  overflow: hidden;
}
.desde-1995 a{
    color: #ea1515;
}
.main-text p {
  font-size: 20px;
  color: #888;
  line-height: 1.5em;
  font-weight: 300;
  text-align: center; 
  margin: 50px 120px;
  border-bottom: 1px solid #fff;
  }

  .scrolldown-icon {
    cursor: pointer;
    z-index: 999;
  }




@media only screen and (max-width: 550px){
  .main-text {
  width: 100%;
  margin-top: 20px;
  }
  .main-text h2{
  color: #EA1515;
  font-family: 'Lexend', sans-serif;
  font-weight: 400;
  font-size: 25px;
  line-height: 1.5em;
  text-align: center;
  padding:10px;
  margin: 0 auto;
  }
  article {
  font-size: 15px;
  width: 100;
  margin: 30px auto;
  }
  .desde-1995{
      width: 100%;
      margin: 0;
    }
}

@media only screen and (min-width: 600px){
  .main-text h2{
  color: #EA1515;
  font-family: 'Droid Sans', sans-serif;
  font-weight: 400;
  font-size: 40px;
  line-height: 1.5em;
  text-align: center;
  padding:10px;
  margin: 0 auto;
  max-width: 100%;
  }

}

@media (min-width:768px) and (max-width: 1023px){
  #mko-carouselInterval .mko-slide
  {
    max-height: 700px;
  }
  .mko-slide.first{
    background-image: url('../imagenes/Banner-home-mko_Apple_tablet.jpg') !important;  background-position-y: 50px !important;
  }

}

@media screen and (max-width: 1024px){
  .desde-1995{
    width: 100%;
  }

}
@media screen and (min-width: 1280px){
  .hero{
    height: 120vh;  
  }
}

/*------- Módulos */

#main {
  width: 100%;    
  margin: auto;
  position: relative;
  background-color: #f4f4f4;
}

.grid-wrapper{
  max-width:800px;
  margin: 60px auto;
  position: relative;
}

#da-thumbs {
  list-style: none;
  width: 100%;
  min-height: 250px;
  position: relative;
  margin: auto;
    background-color: transparent;
    display: block;
    overflow: hidden;
    /* vertical-align: middle; */
}

.da-thumbs li {
  float: left;
  margin: 20px;
  padding: 3px 3px 3px 3px;
  position: relative;
  box-shadow: 0 rgba(0,0,0,0.1);
    width: auto;
    text-align: center;
    max-width: 200px;
    font-family: 'Lexend', sans-serif;
}
.da-thumbs li a,
.da-thumbs li a img {
  display: block;
  position: relative;
}
.da-thumbs li a {
  overflow: hidden;
}
.da-thumbs li a div {
  position: absolute;
  background: rgba(234,21,21,0.7);
  width: 100%;
  height: 100%;
}
.da-thumbs li a div span {
  display: block;
  padding: 10px 0;
  margin: 20px 20px 20px 20px;
  text-transform: uppercase;
  text-align: center;
    font-family: 'Lexend' sans-serif;
  font-weight: bold;
    font-weight: 400;
    font-size: 17px;    
  color: rgba(255,255,255,0.9);
  text-shadow: 1px 1px 1px rgba(0,0,0,0.2);
  border-bottom: 1px solid rgba(255,255,255,0.5);
  box-shadow: 0 1px 0 rgba(0,0,0,0.1), 0 -10px 0 rgba(255,255,255,0.3);
}


@media(max-width: 480px){

    .grid-wrapper{
    width:65%;
    margin: 60px;
    position: relative;
    float: center;   
    }

    #main {  
    width:100%;
    margin: auto;
    position: relative;
    
    }
    .da-thumbs {
    list-style: none;
    width: 140%;
    height: 65%;
    position: relative;
    margin: 0;
    padding: 3px;
    float: center;
    }
    .da-thumbs li {
    float: left;
    margin: 5px;
    background: #f6f6f6;
    padding: 3px 3px 3px 3px;
    position: relative;
    box-shadow: 2px 2px 2px 2px rgba(0,0,0,0.1);
  }
    .da-thumbs li a div {
    position: absolute;
    background: #EA1515;
    background: rgba(234,21,21,0.7);
    width: 1  00%;
    height: 100%;
    }
   
}

/*------- Footer */

.footer {
  width: 100%;
  margin: auto;
  text-align: left;
  padding: 7%;
  background: #333;
  bottom: 0; 
  overflow: hidden;
}
.container-fluid{
  border: none;
  height: 10%;
  width: 100%;
  bottom: 0;
  margin: 20px auto;
  overflow: hidden;
  
}
.footer .row{
  max-width: 1450px;
  margin: auto;
}
.footer h4 {
  font-size: 13px;
  color: #fff;
  margin: 20px 0 5px 0;
  padding: 0px;
}
.footer h4 a{
  font-size: 13px;
  color: #fff;
  margin: 0 0 5px 0;
  padding: 0px;
}
.footer p {
  font-size: 13px;
  color: var(--gris1);
  line-height: 2.6rem;
  margin-bottom: 0;
}
.footer p.copyright{
  color: var(--gris1);
}
.footer a {
  color: #a5a5a5;
  font-size: 12px;
  letter-spacing: 0.5px;
}
.footer a:hover{
  color: #EA1515;
  text-decoration: none;
}
.col-md-4 h4:hover{
  color: #EA1515;
  text-decoration: none;
}

.col-md-4.productos{
/* width: 22%; */
float: left;
}

.col-md-2.servicios{
  /* width: 120px; */
  float: left;
}
.col-md-2.nuestra-empresa{
  /* width: 180px; */
  float: left;
}
.col-md-2 {
  float: left;
}

 .row-habeas-data{
  border-top: 1px solid;
  margin-top: 3rem;
 }



@media (max-width: 767px){
  .mko-slide.first{
      background-image: url('../imagenes/Banner-home-mko_Apple_mobile2.jpg') !important; background-size: cover !important; background-position: center center !important;
    }
    .mko-slide.last{
      background-size: cover !important;
    }
    .hero{
        height: 100%; max-height: 500px !important;
    }
    .hero .container-fluid
    {
      max-height: 600px; margin: 0;
    }
    .carousel-inner{
      max-height: 500px;
    }
    #mko-carouselInterval{
        overflow: hidden; max-height: 500px !important;
    }
    #mko-carouselInterval .mko-slide{
        max-height: 550px; 
    }
    #mko-carouselInterval .mko-ttl-box{
        min-height: 100px; max-height: 180px;
        bottom:0;
        padding: 0 !important;
        background-color: #c30e0e !important;
    }
    #mko-carouselInterval .mko-ttl-box h4
    {
      font-size: 16px; padding: 0 2rem;
    }
    #mko-carouselInterval .mko-ttl-box a
    {
      height: 4rem; font-size: 1.7rem; margin-bottom: 20px; padding:5px 0; max-width: 160px;
    }
    hgroup .home-slide-ttl{
        font-size: 2.4rem; line-height: 2rem; padding: 0 3rem;
    }
    #mko-carouselInterval .carousel-control{
        top: 55%; height: 50px; border-radius: 50%;
        -webkit-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
        -moz-box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
        box-shadow: 0px 0px 15px 0px rgba(50, 50, 50, 0.55);
    }
    #mko-carouselInterval .carousel-control .icon-prev, #mko-carouselInterval .carousel-control .icon-next{
      margin-top: -35px;
    }
    .carousel-indicators{
        display: none !important;
    }
    .main-text p{
        margin: 30px auto;
    }
    .footer .footer-col {
      margin-bottom: 50px;
      bottom: 0;
    }
    .col-md-4.productos{
  width: 100%;
  float: left;
}
}


@media(max-width: 320px){
.footer .footer-col {
  margin-bottom: 50px;
  bottom: 0;
}

}


@media (min-width: 768px){
    #nav{
        margin-top: 0;
    }
}



