.megamenu {
    position: relative;
    padding: 0;
}

.megamenu-list {
    width: 100%;
    padding: 0;
    position: relative;
    z-index: 9;
}

.megamenu-products-column {
    min-height: 500px;
}

.megamenu-products-entry {
    padding: 4px 8px;
}

.megamenu-products-main-categories {
    border-right: 2px solid #2222;
}

.megamenu-products-main-category {
    font-size: 1.2rem;
    font-weight: bold;
    padding: 10px 6px;
    margin-right: -2px;
}

.megamenu-products-main-category.active {
    border-right: 2px solid;
    border-color: black;
}

.megamenu-list .dropdown-menu a {
    padding: 12px 6px;
    display: inline-block;
    font-weight: bold;
}

.megamenu-products-sub-categories {
    display: flex;
}

.megamenu-products-sub-category-children {
    padding-left: 15px;
    display: flex;
    flex-direction: column;
    flex-wrap: wrap;
    height: 100%;
}

.megamenu-products-sub-category {
    font-weight: normal;
    font-size: 0.8rem;
}

.megamenu-products-sub-category-level-2 {
    font-weight: bold;
    font-size: 1rem;
}

.megamenu-products-product-highlights-title {
    padding-bottom: 15px;
    margin: 0;
}

.megamenu-children {
    display: none;
    position: absolute;
    top: 100%;
    padding: 0;
    margin: 0;
    text-transform: none;
}

.megamenu-drop-to-right {
    top: 0;
    left: 100%;
}

.megamenu-mobile-entry-toggle {
    margin-left: 15px;
}

.megamenu-products-container {
    position: absolute;
    background: white;
    box-shadow: 0px 3px 30px #00000033;
    top: 100%;
    padding: 45px 30px;
}

.hasChildren > a::after {
    content: '\f107';
    font-family: FontAwesome;
    font-weight: normal;
    font-style: normal;
    padding: 0px 0px 0px 8px;
}

.megamenu-products-container-inner.container {
    height: 100%;
}

.megamenu-products-container-columns-container {
    height: 100%;
}

.megamenu-products-main-categories {
    padding: 0;
}

.megamenu-top-level {
    width: 100%;
    margin: 0;
    height: 60px;
}

.megamenu-list-element {
    list-style: none;
    position: relative;

}

.megamenu-mobilemenu {
    padding: 20px;
    border-top: 2px solid white;
    background: #ececec;
    text-align: left;
}

.megamenu-mobile-list-element {
    width: 100%;
    display: inline-block;
    font-size: 1rem;
    padding: 4px;
}

.megamenu-mobile-level-1 > a {
    padding-bottom: 15px;
    font-weight: bold;
}

.megamenu-mobile-children {
    padding: 0;
    padding-left: 8px;
}

.megamenu-navbar {
    height: 60px;
}

.megamenu-navbar-wrapper {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    margin: 0;
    padding: 0;
}

.megamenu-level-1 {
    height: 100%;
    font-size: 1.2rem;
    font-weight: 600;
    text-transform: uppercase;
    display: flex;
    padding: 10px 15px;
}

.megamenu-level-1 > a {
    display: flex;
    align-self: center;
    justify-content: center;
    color: #ffffff;
}

.megamenu-level-2 {
    font-family: inherit;
}

.megamenu-list-mobile-buttons {
    padding: 20px;
    background: #ececec;
    text-align: center;
}

.megamenu-list-element:hover > .megamenu-children {
    display: block;
}

.megamenu-list-mobile {
    display: none;
}

/* TUOTENOSTO */

.megamenu .product-list-item-column {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
}

.megamenu .product-list-item .product-list-item-image{
    height: 150px;
}

.megamenu .product-list-item .product-list-item-body,
.megamenu .product-list-item .product-list-item-footer {
    padding-top: 0px;
    padding-bottom: 6px;
}

.megamenu .product-list-item .product-list-item-price-wrapper,
.megamenu .product-list-item .product-list-item-additional-wrapper {
    display: none;
}

.megamenu .product-list-item-title {
    font-size: 1rem;
    margin: 0;
}

.megamenu .product-list-item-manufacturer {
    font-size: 0.8rem;
    margin: 0;
}

@media (max-width: 991px){

    .megamenu-list {
        display: none;
    }

    .megamenu-list-mobile {
        display: block;
    }

    .megamenu-products-sub-categories {
        display:none;
    }
}
