/* NAV FIXES */
ul.level1.mega-sub-menu li.mega.has-child > .child-content{
    display:block;
    position:relative;
    top: 10px;
    border:0px;
    box-shadow: none;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    -o-box-shadow: none;
    width:100% !important; /*override bug in phtml mega menu, admin settings width not applied!!!*/
}
ul.level1.mega-sub-menu li.mega.has-child:hover > .child-content {
    display: block;
    right: 0px;
    top: 10px;
}
.child-content{
    left:0px;
}
ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item {
    float: left;
    margin: 0 !important;
    width: 19.3332% !important;
}

.child-content ul.level1.mega-sub-menu .block.widget .products-grid li.product-item {
    float: left;
    margin: 0 !important;
    width: 19.3332% !important;
}

.ub-mega-menu ul.level0 > li.mega{
    position: static;
}

@media only screen and (min-width: 767px) {
    ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item:nth-child(5n+1){
        clear:left;
    }
}

@media only screen and (max-width: 1200px) {
    .ub-mega-menu ul.level0 > li.mega.has-child .child-content .child-content-inner-wrap .child-content-inner{
        padding: 0;
        width: 100% !important;
    }
    .ub-mega-menu ul.level0 > li.mega.has-child .child-content .child-content-inner-wrap .child-content-inner .mega-col{
        width:100% !important;
    }
}

/* only screen and (max-width: 767px) */
@media only screen and (max-width: 767px) {
    .ub-mega-menu-wrapper .ub-mega-menu ul.level0 > li.mega.has-child .child-content.active {
        display: block;
    }
    .ub-mega-menu-wrapper ul.level1.mega-sub-menu li.mega.has-child > .child-content{
        display: block;
    }

    ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item,
    .ub-mega-menu-wrapper .ub-mega-menu ul.level0 > li.mega .child-content .block.widget .products-grid li.product-item,
    ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item .product-item-info{
        float: left;
        margin: 0 !important;
        width: 24.33% !important;
    }
}

@media only screen and (max-width: 560px) {
    ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item,
    .ub-mega-menu-wrapper .ub-mega-menu ul.level0 > li.mega .child-content .block.widget .products-grid li.product-item,
    ul.level1.mega-sub-menu .child-content .block.widget .products-grid li.product-item .product-item-info{
        float: left;
        margin: 0 !important;
        width: 44.33% !important;
    }
}

/* MAGEPLAZA SOCIALLOGIN */

.social-login .fieldset > .field, 
.social-login .fieldset > .fields > .field{
    margin: 2px;
}

