/* vim: set ts=2 sw=2 sts=2 et: */

/**
 * Default styles
 *
 * Copyright (c) 2011-present Qualiteam software Ltd. All rights reserved.
 * See https://www.x-cart.com/license-agreement.html for license details.
 */

.top-main-menu {
    padding: 0;
    margin-top: 0;
    margin-bottom: 0;
    position: relative;
}

.top-main-menu li ul {
    background: #fff;
    box-shadow: 0 1px 8px 1px rgba(0,0,0,0.05);
    position: absolute;
    top: 100px;
    width: auto;
    left: -999em;
    visibility: hidden;
    opacity: 0.01;
    -o-transition: visibility .15s, opacity .15s;
    -ms-transition: visibility .15s, opacity .15s;
    -moz-transition: visibility .15s, opacity .15s;
    -webkit-transition: visibility .15s, opacity .15s;
    transition: visibility .15s, opacity .15s;
    z-index: 1000;
}

.top-main-menu > li.leaf > ul {
    border-top-right-radius: 0px;
    border-top-left-radius: 0px;
}

.top-main-menu li:hover > ul {
    left: auto;
    visibility: visible;
    opacity: 0.99;
    -o-transition: visibility .3s, opacity .3s;
    -ms-transition: visibility .3s, opacity .3s;
    -moz-transition: visibility .3s, opacity .3s;
    -webkit-transition: visibility .3s, opacity .3s;
    transition: visibility .3s, opacity .3s;
    z-index: 10000;
}
.top-main-menu li ul.tap {
	left: auto;
	visibility: visible;
	opacity: 0.99;
}
.top-main-menu li ul.tap ul,
.top-main-menu li ul ul {
    top: 0;
    left: 99%;
}
.top-main-menu li li {
    background: transparent none;
    position: relative;
    display: block;
    margin: 0;
    padding: 0;
}
.top-main-menu li li span.primary-title {
    font-weight: bold;
}
.top-main-menu li li span.primary-title,
.top-main-menu li li a:active, .top-main-menu li li a:link, .top-main-menu li li a:visited, .top-main-menu li li a:hover {
    display: flex;
    justify-content: space-between;
    overflow: hidden;
    text-decoration: none;
    white-space: nowrap;
    -o-transition: color .15s;
    -ms-transition: color .15s;
    -moz-transition: color .15s;
    -webkit-transition: color .15s;
    transition: color .15s;
    line-height: 20px;
    color: #999;
    font-size: 14px;
    padding: 8px 0;
}

@media(min-width: 992px) {
    .top-main-menu > li.has-sub > a > span:after,
    .top-main-menu > li.has-sub > span:after{
        /* use !important to prevent issues with browser extensions that change fonts */
        font-family: 'xcartskin' !important;
        speak: none;
        font-style: normal;
        font-weight: normal;
        font-variant: normal;
        text-transform: none;
        line-height: 2em;

        /* Better Font Rendering =========== */
        -webkit-font-smoothing: antialiased;
        -moz-osx-font-smoothing: grayscale;

        content: '\e90f';
        font-size: 7px;
        display: inline-block;
        vertical-align: middle;
        margin-left: 5px;
    }
}

.top-main-menu li li:hover > a, .top-main-menu li li a:hover {
    -o-transition: color .3s;
    -ms-transition: color .3s;
    -moz-transition: color .3s;
    -webkit-transition: color .3s;
    transition: color .3s;
    border-radius: 2px;
    border: 0px solid transparent;
    color: #000;
}

.top-main-menu li ul li{
    margin:0;
    height: auto;
    width: auto;

}

.top-main-menu li:hover ul li ul{
    position: absolute;
    top: 0;
    left: 100%;
}

.scrollable {
    overflow-y: scroll;
}
