/*
 * Custom code goes here.
 * A template should always ship with an empty custom.css
 */
div#category-description p {
    text-align: justify;
}
.product-cover img {
    border: 1px solid #e4e4e4;
}
div#category-description-full {
    display: inline-block;
    max-height: 4.7em;
    overflow-y: hidden;
}
div#category-description-full p {
    line-height: 1.3em;
}

.showalldesc {
	max-height: 5000px !important;
}
#js-product-list .product_list > div.row {
	display: flex;
  	flex-wrap: wrap;
}
nav.pagination ul > li {
	margin-right: 5px;
}

/* // Tuan fix */
.layout-left-column.page-manufacturer .product_list.grid .ajax_block_product.first-in-line {
    clear: both;
}

#_desktop_cart .header{
    position: relative;
}

.header .shopping-cart::before{
    content: '';
}

.header .shopping-cart{
    background-image: url('/../../../../fabio_custom/icon/icon-cart-white.svg');
    width: 25px;
    height: 25px;
}

#_desktop_cart .header .cart-products-count{
    position: absolute;
    top: -10px;
    color: #fff;
}
#leo_block_top .icon-account::before{
    content: '';
}

#leo_block_top .icon-account{
    background-image: url('/../../../../fabio_custom/icon/icon-user-white.svg');
    width: 25px;
    height: 25px;
}
.header-nav a {
    text-transform: uppercase;
}

.header-top .inner .row.box-dptop{
    flex-wrap: wrap;
}

.row.box-dptop .ApColumn{
    border: none !important;
}

.row.box-dptop .ApColumn .ApMegamenu{
    width: 100%;
}

.navbar-nav.megamenu{
    display: flex;
    flex-wrap: wrap;
}

.navbar-nav.megamenu .nav-item{
    width: calc(100%/6);
    text-align: center;
}

.leo-megamenu .navbar-nav > li > a{
    color: #093a62;
    font-weight: 400;
}

.hasicon.menu-icon-class{
    display: inline-block;
}

.hasicon.menu-icon-class .menu-title{
    display: block;
    margin-top: 15px;
}
.ud-nav-icon{
    display: inline-block;
    width: 50px;
    height: 50px;
    background-repeat: no-repeat;
}
#icon_beleza_salute{
    background-image: url('/../../../../fabio_custom/icon/icon-bellezza-salute-black.svg');
}

#icon_informatica{
    background-image: url('/../../../../fabio_custom/icon/icon-informatica-black.svg');
}

#icon_electronica{
    background-image: url('/../../../../fabio_custom/icon/icon-elettronica-black.svg');
}
#icon_eletromedestici{
    background-image: url('/../../../../fabio_custom/icon/icon-elettrodomestici-black.svg');
    
}
#icon_fai_date{
    background-image: url('/../../../../fabio_custom/icon/icon-bricolage-fai-da-te-black.svg');
}
#icon_cyber_monday{
    background-image: url('/../../../../fabio_custom/icon/icon-offerte-speciali-black.svg');
}

.logo {
    max-height: 80px !important;
}
#search_widget{
    width: 100%;
    z-index: 1;
}
#click_show_search{
    display: none !important;
}
.over-layer.active {
    visibility: hidden;
    opacity: 0;
}

#header #search_widget{
    z-index: 1;
    margin: 5px 0;
}
#header .block-form{
    z-index: 1;
    position: relative;
    height: auto;
    opacity: 1;
    visibility: visible;
    display: block;
    margin-bottom: 20px;
}
#header .block-form form{
    width: 100%;
}
#header #search_widget .form-search .search_query{
    border: none;
    background: #eaf1f7;
    color: rgba(7, 57, 97,0.9);
    padding: 16px 30px;
    font-size: 18px;
}
#header #search_widget .form-search .search_query::placeholder{
    color: rgba(7, 57, 97,0.9);
}
#header #search_widget .form-search .search-button{
    bottom: 0px;
    right: 0px;
    padding: 27px;
    background-color: #073961;
}
.block-form .search-button .icon-search::before{
    content: '' !important;
}
.block-form .search-button .icon-search{
    background-image: url('/../../../../fabio_custom/icon/icon-search-bar-black.svg');
    width: 25px;
    height: 25px;
    margin-top: -13px;
    margin-left: -13px;
    background-repeat: no-repeat;
}


#leo_block_top .user-info li{
    display: block !important;
}
#leo_block_top .user-info li:after{
    content: none !important;
}

.leo-megamenu.navbar .navbar-toggler{
    border-color: #073961;
    color: #073961;
}

body#cms #content li {
  	color: #000000;
}

.thumbnail-container .product-price-and-shipping {
	float:none;
}



@media (min-width: 992px){
    .navbar-toggleable-md {
        display: block;
    }
}

@media (max-width: 992px){
    .navbar-nav.megamenu{
        display: block;
    }
    .navbar-nav.megamenu .nav-item{
        text-align: left;
        width: 100%;
    }
    .ud-nav-icon{
        display: inline-block;
        width: 20px;
        height: 20px;
    }

    .hasicon.menu-icon-class .menu-title {
        display: inline-block;
        color: #073961;
    }
    

    .ud-top-header{
        width: 100%;
    }
    #header .header-nav{
        position: absolute;
        width: 130px;
        z-index: 1000;
        right: 40px;
        padding: 0;
        top: 40px;
        background: transparent;
    }

    .header .shopping-cart {
        background-image: url(/../../../../fabio_custom/icon/icon-cart-black.svg);
    }
    #leo_block_top .icon-account{
        background-image: url('/../../../../fabio_custom/icon/icon-user-black.svg');
    }
    #_desktop_cart .header .cart-products-count{
        color: #000;
    }

    .inner > .row.box-dptop{
        padding-top: 15px;
        padding-bottom: 0px;
    }
    #header .block-form{
        margin: 0px;
    }
    #search_widget{
        padding: 10px 0;
    }
}
@media (max-width: 990px){
    #header .header-nav {
        display: block;
    }
    .leo-megamenu.disable-canvas .navbar-nav .nav-item .caret:before{
        color: #073961 !important;
    }
}
@media (max-width: 767px){

}
@media (max-width: 575px){
    #header .header-nav{
        right: 20px;
    }
    #header #search_widget .form-search .search_query{
        padding: 10px 30px;
    }
    #header #search_widget .form-search .search-button{
        padding: 21px;
    }
}
@media (max-width: 480px){
    #header .header-nav{
        top: 30px;
    }
}
@media (max-width: 360px){
    #header .header-nav{
        top: 25px;
    }

}

.leo-megamenu .dropdown-menu .ele-col-2 ul li a {
    color: #d02d2e;
}

