/* 
- Name: megamenu.js - style.css
- Version: 1.0
- Latest update: 29.01.2016.
- Author: Mario Loncarek
- Author web site: http://marioloncarek.com
*/



/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Screen style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

.mega-menu-container {
    position: relative;
}

.mega-menu-container .dropdown-mega-container {
    display: none;
    width: 796px;
    background: #fff;
    padding: 17px 23px;
    position: absolute;
    z-index: 99999;
    left: 0;
    margin: 0;
    box-sizing: border-box;
    overflow-y: auto;
}

.mega-menu-container .dropdown-mega-container .mega-menu-heading {
    margin-bottom: 13px;
    font-weight: 700;
    font-size: 14px;
}

.mega-menu-container .dropdown-mega-container .mega-menu-category {
    margin-bottom: 2em;
}

.mega-menu-container .dropdown-mega-container .mega-menu-category .mega-menu-item-heading {
    margin-bottom: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}


.dropdown-mega-container .mega-menu-category .mega-menu-item-heading b{
    font-size: 14px;
}

.dropdown-mega-container .mega-menu-category .mega-menu-item-heading a {
    color: var(--theme-color);
}

.dropdown-mega-container .mega-menu-category .mega-menu-item {
    padding-inline-start: 19px;
    margin-bottom: 10px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.dropdown-mega-container .mega-menu-category .mega-menu-item a {
    font-size: 13.5px;
    transition: all 0.3s;
}

.dropdown-mega-container .mega-menu-category .mega-menu-item a:hover {
    color: var(--theme-color);
}

.mega-menu-container .mega-menu-category .mega-menu-item-category-icon {
    color: red;
    width: 25px;
    height: 24px;
    filter: invert(13%) sepia(63%) saturate(3907%) hue-rotate(304deg) brightness(94%) contrast(149%);
}

.dropdown-mega-container .mega-menu-category ul {
    margin-bottom: 19px;
}

.dropdown-mega-container .mega-menu-category .mega-menu-category-link {
    font-size: 11px;
    color: var(--theme-color);
    font-weight: bold;
        white-space: nowrap;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}
.menu-mobile {
    display: none;
    padding: 20px;
}

.menu-mobile:after {
    content: "\f394";
    font-family: "Ionicons";
    font-size: 2.5rem;
    padding: 0;
    float: right;
    position: relative;
    top: 50%;
    -webkit-transform: translateY(-25%);
    -ms-transform: translateY(-25%);
    transform: translateY(-25%);
}

.menu-dropdown-icon:before {
    content: "\f489";
    font-family: "Ionicons";
    display: none;
    cursor: pointer;
    float: right;
    padding: 1.5em 2em;
    background: #fff;
    color: #333;
}

.mega-menu-container .dropdown-mega-container:before,
.mega-menu-container .dropdown-mega-container:after {
    content: "";
    display: table;
}

.mega-menu-container .dropdown-mega-container:after {
    clear: both;
}

.mega-menu-container .dropdown-mega-container:hover {
    display: block;
}

/* ––––––––––––––––––––––––––––––––––––––––––––––––––
Mobile style's
–––––––––––––––––––––––––––––––––––––––––––––––––– */

@media (max-width: 700px) {
    .mega-menu-container {
        margin-inline-start: 10px;
    }
    
    .mega-menu-container .dropdown-mega-container .mega-menu-heading {
        text-align: center;
    }

    .mega-menu-container .dropdown-mega-container {
        width: 100%;
    }

    .mega-menu-container .dropdown-mega-container {
        max-height: 100%;
        overflow-y: auto;
        min-width: 100%;
        text-align: start;
        padding-bottom: 90px;
    }

    .mega-menu-container .mega-menu-category {
        margin-bottom: 20px;
    }
} 

@media only screen and (max-width: 959px) {
    .menu-container {
        width: 100%;
    }
    .menu-mobile {
        display: block;
    }
    .menu-dropdown-icon:before {
        display: block;
    }
    .menu > ul {
        display: none;
    }
    .menu > ul > li {
        width: 100%;
        float: none;
        display: block;
    }
    .menu > ul > li a {
        padding: 1.5em;
        width: 100%;
        display: block;
    }
    .menu > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul.normal-sub {
        width: 100%;
    }
    .menu > ul > li > ul > li {
        float: none;
        width: 100%;
        margin-top: 20px;
    }
    .menu > ul > li > ul > li:first-child {
        margin: 0;
    }
    .menu > ul > li > ul > li > ul {
        position: relative;
    }
    .menu > ul > li > ul > li > ul > li {
        float: none;
    }
    .menu .show-on-mobile {
        display: block;
    }
}