.jsn-megamenu ul.menu-mainmenu li.megamenu {
    position: inherit;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid {
    width: 100%;
    padding: 15px;

}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul {
    position: relative;
    margin: 0;
    padding: 0;
    display: block;
    width: 100%;
    left: 0;
    opacity: 1;
    visibility: visible;
    border: none;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul .sub-menu {
    padding: 15px;
    border: 1px solid rgba(0,0,0,0.2);
}


.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul ul {
    position: absolute;
    left: 100%;
    display: none;
}

.jsn-direction-rtl .jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul ul {
    left: -100%;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li:hover > ul {
    display: block;
    z-index: 999;
    -webkit-box-shadow: 7px 7px 6px 0px rgba(50, 50, 50, 0.25);
    -moz-box-shadow:    7px 7px 6px 0px rgba(50, 50, 50, 0.25);
    box-shadow:         7px 7px 6px 0px rgba(50, 50, 50, 0.25);

}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li {
    display: block;
    width: 100%;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li a {
    border-left: none;
    border-right: none;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu .grid .module-title {
    padding: 0;
    text-transform: uppercase;
    font-size: 14px;
    margin: 20px 0 10px;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid .jsn-tpl-mm-item {
    padding-bottom: 15px;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid .jsn-tpl-mm-item:last-child {
    padding-bottom: 0;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu.jsn-submenu-flipback .grid .module-title {
    text-align: right;
}
body.jsn-direction-rtl .jsn-megamenu ul.menu-mainmenu li.megamenu.jsn-submenu-flipback .grid .module-title {
    text-align: left;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu.jsn-submenu-flipback .grid ul ul {
    border: 1px solid #ecf0f3;
    -webkit-box-shadow: -7px 7px 6px 0px rgba(50, 50, 50, 0.25) !important;
    -moz-box-shadow: -7px 7px 6px 0px rgba(50, 50, 50, 0.25) !important;
    box-shadow: -7px 7px 6px 0px rgba(50, 50, 50, 0.25) !important;
    left: auto !important;
}
body.jsn-direction-rtl .jsn-megamenu ul.menu-mainmenu li.megamenu.jsn-submenu-flipback .grid ul ul {
    right: auto !important;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu > ul {
    display: none;
}

.jsn-megamenu ul.menu-mainmenu li.megamenu:hover > ul{
    display: block;
    -webkit-box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.1);
    -moz-box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.1);
    box-shadow: 0px 0px 9px 0px rgba(50, 50, 50, 0.1);
}
div.jsn-megamenu ul.menu-mainmenu > li.megamenu > ul li {
    float: none;
}
#jsn-menu div.jsn-megamenu ul.menu-mainmenu > li.megamenu > ul li a span {
    font-size: 14px;
}

div.jsn-modulecontainer ul.menu-mainmenu li.megamenu ul li a {
    margin-left: 0;
    margin-right: 0;
    text-decoration: none;
}

.jsn-megamenu [class*=" fa-"] {
    float: left;
    padding: 3px 5px;
}


.jsn-tpl-bootstrap3 span.jsn-menutitle {
    font-size: 14px;
}

/* ============================== MISC ============================== */
/* =============== GENERAL ICON ASSIGNMENT =============== */

div.jsn-megamenu ul.menu-mainmenu.jsn-hasIcon > li > a {
    padding: 8px 15px 5px;
}
div.jsn-megamenu ul.menu-mainmenu.jsn-hasIcon > li > a > span{
    display: inline-block;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i {
    display: inline-block;
    width: 23px;
    height: 23px;
    background-image: url(../../images/icons/icons-uni.png);
    background-repeat: no-repeat;
    background-position: -100px -100px;
    float: left;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-article {
    background-position: 0 0;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-calendar {
    background-position: 0 -80px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-cart {
    background-position: 0 -425px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-comment {
    background-position: 0 -252px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-display {
    background-position: 0 -338px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-download {
    background-position: 0 -428px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-folder {
    background-position: 0 -512px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-help {
    background-position: 0 -605px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-home {
    background-position: 0 -690px;
}


.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-image {
    background-position: 0 -775px;
}


.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-info {
    background-position: 0 -862px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-mail {
    background-position: 0 -947px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-rss {
    background-position: 0 -1119px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-search {
    background-position: 0 -1204px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-selection{
    background-position: 0 -1292px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-settings {
    background-position: 0 -1377px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-star {
    background-position: 0 -1464px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-statistics{
    background-position: 0 -1549px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-ok {
    background-position: 0 -1604px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-cancel {
    background-position: 0 -1704px;
}

.jsn-tpl-megamenu.jsn-hasIcon > li > a > i.jsn-icon-user {
    background-position: 0 -1637px;
}
.jsn-hasMegamenu div.jsn-megamenu ul.menu-mainmenu.jsn-hasIcon > li > a {
    padding: 15px 25px;
}
div.jsn-modulecontainer ul.menu-mainmenu .jsn_tpl_mm_menu_element ul li a {
    padding: 6px 10px;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li.current > a,
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li:hover > a {
    background: transparent;
    text-shadow: 0 0 15px #fff;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li.active > a {
    font-weight: normal;
    text-shadow: none;
}
div.jsn-modulecontainer ul.menu-mainmenu ul, ul#jsn-sitetools-menu li ul, div.jsn-modulecontainer ul.menu-sidemenu li ul,
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li:hover > ul {
    box-shadow: none;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li:hover > ul {
    border: 1px solid rgba(0, 0, 0, 0.2);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.2) inset, 0 0 2px rgba(0, 0, 0, 0.2) inset;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li.parent > a {
    background: url(../../images/icons/icon-arrow-white.png) 96% center no-repeat;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu li a i {
    display: inline-block;
    float: left;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu li a span.jsn-menudescription {
    display: block;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu li a i.fa {
    color: #444;
    font-size: 16px;
    margin-right: 5px;
    line-height: 14px;
}
.jsn-hasMegamenu .jsn-modulecontainer {
    display: none;
}
.jsn-hasMegamenu .jsn-modulecontainer.jsn-megamenu, .jsn-hasMegamenu .jsn-modulecontainer.display-dropdown {
    display: block;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li.current > a,
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li > a,
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li:hover > a {
    box-shadow: none;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid .module-title {
    font-family: Oswald;
}
div.jsn-modulecontainer.jsn-megamenu ul.menu-mainmenu ul li.parent > a {
    background-image: url(../../images/icons/icon-arrow-black.png);
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li.jsn-menu-mobile-control {
    display: none;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid .module-title {
    background: #ddd none repeat scroll 0 0;
    font-size: 17px;
    margin: 8px 0 10px;
    padding: 11px 0 8px 14px;
    text-transform: uppercase;
}
.jsn-megamenu ul.menu-mainmenu li.megamenu .grid ul li:hover > ul {
    padding: 10px;
}