a { text-decoration: none; color: #4a4a4a;}
a:hover { text-decoration: none; color: #4a4a4a;}

#h1 {
    box-shadow: rgb(0 0 0 / 10%) 0px 10px 24px;
    background: #fff;
}
.iconsMovile {
    display: none;
}

/* header top */
#h1 .top {
    background: rgb(0,24,72);
    padding: 5px 0px;
}
#h1 .top a:not(.btn-catalog) {
    color: #fff;
    text-decoration: none;
    padding-right: 20px;
    font-size: 14px;
}
#h1 .icons {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

/* header middle */
#h1 .middle .col-md-12 {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px;
}
#h1 .middle {
    padding: 15px 0px;
    background: rgb(255,255,255);
}
#h1 .middle .form {
    width: 600px;
}
#h1 .middle a {
    color: #fff;
}
#h1 .middle .input-group {
    position: relative;
    padding: 0px;
    border: 1px solid rgb(0, 48, 121);
    background-color: rgb(255, 255, 255);
    border-radius: 4px;
    width: 100%;
    overflow: hidden;
    height: 43px;
    box-shadow: 0 2px 4px 0 rgba(0,0,0,0.2);
}
#h1 .middle input {
    height: 100%;
    background-repeat: no-repeat;
    background-position: 12px center;
    font-family: "Work Sans", sans-serif;
    font-size: 16px;
    border: none;
    line-height: 2;
    letter-spacing: -0.5px;
    text-align: left;
    color: rgb(74, 74, 74);
    padding: .7rem 1rem .8rem 1rem;
}
#h1 .middle button {
    width: 45px;
    -webkit-box-pack: center;
    justify-content: center;
    -webkit-box-align: center;
    align-items: center;
    background: rgb(250, 250, 250);
    cursor: pointer;
    border-top: none;
    border-right: none;
    border-bottom: none;
    border-image: initial;
    border-left: 1px solid rgba(0, 0, 0, 0.16);
}
#h1 .middle .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}
#h1 .middle .logo img {
    width: 200px;
    padding: 5px 0px;
}
#h1 .middle .logo a:last-of-type {
    font-size: 13px;
}

/*megamenu*/
#mainMenu {
    border-radius: 5px;
    border-top-left-radius: 0px;
    background: #F6F6F6;
    max-height: 269px;
    min-width: 240px;
    overflow: hidden;
    overflow-y: scroll;
}
.navbar-nav .has-megasubmenu:hover .dropdown-menu {
    border: 3px solid white;
    transform: translateX(-5px);
    top: 0px;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    border-bottom-left-radius: 0px;
}
#categoriaB {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    margin: 0;
    padding: 0;    
}
#lWr {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    margin: 0;
    padding: 0;    
}
#lWr li,
#categoriaB li {
    list-style: none;
    line-height: 30px;
    display: inline-block;
    margin-left: 20px;
}
#lWr li:first-of-type,
#categoriaB li:first-of-type {
    margin-left:0px;
}
#lWr li:first-of-type {position: relative;}
#lWr a,
#categoriaB span,
#categoriaB a {
    text-decoration: none;
    color: #fff;
    font-size: 15px;
}
#lWr img {
    transform: translateY(-1px);
    width: 25px;
}
#categoriaB .btnCat {
    font-weight: bold;
   position: relative;
}
#categoriaB .btnCat::after {
    content: "";
    border-top: 5px solid #fff;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    bottom: 100%;
    top: 50%;
    transform-origin: 50% 50%;
    transform: translateY(-50%) rotate(0deg);
    transition: all .2s ease-in-out;
    color: #fff;
    position: absolute;
    font-size: 9px;
    right: -10px;        
}
#categoriaB .btnCat:hover {
    cursor: pointer;
}
#categoriaB .btnCat:hover::after {
    transform: translateY(-50%) rotate(180deg);
    transition: all .2s ease-in-out;
    cursor: pointer;
}


#main_nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
#main_nav .titleCat {
    border-bottom: 1px dotted #ccc;
    display: flex;
    justify-content: flex-start;
    align-items: center;
    padding-bottom: .5rem;
    margin-bottom: 1rem;
}
#main_nav .titleCat h2 {
    margin: 0px 10px 0px 0px;
    display: flex;
    align-items: center;
    font-weight: lighter;
    font-family: "Roboto";
    font-size: 1.5em;
}
#main_nav .titleCat h2::after {
    content: '|';
    margin-left: 10px;
    font-size: .8em;
    font-weight: 100;
    line-height: 1;
    color: #ccc;
}
#main_nav .titleCat a { font-size: 1rem; color:#4a4a4a;}
.megasubmenu .row {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    grid-gap: .5rem;
}
.megasubmenu .row .col {
    font-size: 14px;
    line-height: 24px;
    padding: 0 20px 10px 15px;
}
.megasubmenu .featuredcat .cat {
    border: 1px solid #ccc;
    padding: .5rem;
    width: 200px;
    height:200px;
    display: flex;
    flex-direction:column;
    align-items: center;
    justify-content: center;
    border-radius: 5px;
    color:#4a4a4a;
}
.megasubmenu .featuredcat .cat:hover {
    color: rgb(0, 48, 121);
}
.megasubmenu .featuredcat .cat:first-of-type {
    margin-bottom: .5rem
}
.megasubmenu .featuredcat img {
    width: 150px;
    height: 150px;
    object-fit: contain;
}
.megasubmenu .featuredcat h4 {
    font-size: .9rem;
    text-align: center;
    font-family: "Roboto";
    font-weight: 400;
}
.megasubmenu{
    padding: .5rem 1rem;
}
.megasubmenu .content {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
}
.navbar-expand-lg .navbar-nav .nav-link:first-of-type { padding-left: 0px;}
.navbar {background: rgb(0,48,120); z-index: 15; position: relative;}
.navbar-nav .nav-link { 
    color: #fff!important;
}
#mainMenu .dropdown-item {
    font-weight: 400;
    line-height: 40px;
    padding: 0 15px 0 20px;
}
.navbar .dropdown-menu {
    border: 0px;
    border-radius: 0px;
    transform: translateY(6px);
    position: relative;
}
.navbar .caret::after {
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 0px 10px 10px 10px;
    border-color: transparent transparent #F6F6F6 transparent;
    position: absolute;
    top: -10px;
    left: 0px;
    
}
.navbar .has-megasubmenu .dropdown-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.screen-darken{
    content: ''; 
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-color: rgba(0,0,0,.5);
    pointer-events: none;
    z-index:10;
    opacity:1; 
    visibility:visible;
    position: fixed;
    transition: .3s;
  }
.navbar .has-megasubmenu .dropdown-item::after {
    content: '\f105';
    font-size: 1rem;
    font-family: "Font Awesome 5 Free";
    font-weight: 800;
}

/* ============ desktop view ============ */
@media all and (min-width: 992px) {
	.megasubmenu{ 
		left:100%;
        top:-6px;
        min-height: 100%;
        min-width:960px;
	}
	
	.dropdown-menu > li:hover .megasubmenu{
		display: block;
	}
}	
/* ============ desktop view .end// ============ */

#closeForm {display: none;}
@media (max-width: 992px) {
    .iconsMovile {
        display: block;
        width: auto;
        text-align: right;
        margin-left: 15px;
        margin-right: 1rem;
    }
    .iconsMovile img {
        width: 30px;
        
    }
    #openSearch img {
        width: 23px;
        filter: invert(1);
    }
    #h1 .top, #h1 .iconsMiddle, #h1 .bottom {
        display: none;
    }
    
    #h1 .middle .logo img {
        /* width: 258px; */
        width: 180px;
        padding: .2rem 1rem;
    }
    .navbar { display: none;}
    header .icons {
        display: flex;
        align-items: center;
        justify-content: flex-end;
    }
}
.hiddenForm {
    visibility: visible;
    opacity: 1;
    transition: all ease 250ms;
}
@media (max-width: 1024px) {    
    #h1 .middle .form {
        width: 100%;
        position: absolute;
        top: 0px;
        left: 0px;
        height: auto;
        padding: 1rem;
        z-index: 2;
        background: rgb(0,48,120);
        transition: all ease 250ms;
    }
    #closeForm {
        display: flex;
        color: #fff;
        background: #f03232;
        align-items: center;
        justify-content: center;
        outline: none;
        border: none;
    } 
    .hiddenForm {
        visibility: hidden;
        opacity: 0;
        transition: all ease 250ms;
    }
    #h1 .middle button, #h1 input {border:none;} 
    #h1 .middle .input-group { border: none; background: none;}  
}
.iconsMiddle a {
    margin-left: .5em;
}
.iconsMiddle img {
    width: 28px;
}
.dropFav {
    position: absolute;
    background: #fff;
    box-shadow: 0px 0px 8px rgba(0, 0, 0, 0.16);
    width: 350px;
    right: -15px;
    top: 35px;
    opacity: 0;
    visibility: hidden;
    transition: ease all 200ms;
}

#lWr li:first-of-type:hover .dropFav {
    opacity: 1;
    visibility: visible;
    transition: ease all 200ms;
}
.dropFav::before {
    content: '';
    width: 10px;
    height: 10px;
    position: absolute;
    right: 22px;
    background: white;
    top: -5px;
    transform: rotate(45deg);
}
.dropFav .dropTitle {
    font-size: 14px;
    color: #000;
    text-align: left;
    padding: .5rem;
    border-bottom: 1px solid rgba(0,0,0,.2);
}
.dropFav .btnAllFav {
    font-size: 14px;
    text-align: center;
    padding: .5rem;
    box-shadow: 0px -5px 8px rgba(0,0,0,.2);
    color: rgb(0,48,120);
    cursor: pointer;
}
.dropFav .btnAllFav a {
    color: rgb(0,48,120) !important;
}
.dropFav .titleFav {
    color: #000;
    font-size: 14px;
    line-height: 1;
}
.dropFav .price {
    color: #000;
    font-size: 18px;
    margin-top: .5rem;
}
.dropFav ul {
    padding: .5rem;

}
.dropFav li {
    border-bottom: 1px solid rgba(0,0,0,.3);
    margin-left: 0px !important;
    width: 100%;
    padding-top: .5rem;
}
.dropFav ul li a:first-of-type {
    display: grid;
    grid-template-columns: 80px 1fr;
    gap: .5rem;
    align-items: flex-start;
    line-height: 1;
    position: relative;
}
.dropFav img {
    width: 100%!important;
    padding-top: .5rem;
}
.dropFav .btnDelete {
    color: rgb(0,48,120)!important;
    font-size: 13px!important;
    margin-left: 80px;
    padding-left: .5rem;
    line-height: 1;
}