/* ============================================
   ADP TotalSource Skin - Menu Styles
   DNN 10.3.2 Compatible
   ============================================ */

/* Main Menu */
.mainMenu {
    font-family: Arial, Helvetica, sans-serif;
    width: 100%;
    letter-spacing: 0.05em;
    font-size: 11px;
    line-height: 0;
    cursor: pointer;
    text-transform: uppercase;
    color: white;
    text-align: center;
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: flex-start;
    align-items: stretch;
}

.mainMenu > li {
    flex: 0 0 auto;
    text-align: center;
}

.mainMenu .menu-item {
    position: relative;
    list-style: none;
}

.mainMenu .sub-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    list-style: none;
    margin: 0;
    padding: 0;
    min-width: 215px;
    z-index: 5000;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.95);
    border: solid 1px #dedede;
    border-top: none;
}

.mainMenu .menu-item:hover > .sub-menu {
    display: block;
}

.mainMenu .sub-menu .menu-item a {
    display: block;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: bold;
    text-transform: capitalize;
    color: #383838;
    letter-spacing: 0;
    line-height: 20px;
    text-decoration: none;
    white-space: nowrap;
}

.mainMenu .sub-menu .menu-item a:hover {
    background: #f1f1e5;
    text-decoration: underline;
}

/* Main Menu Root Items */
.mainMenu span.root,
.mainMenu a.root,
.mainMenu span.root:active,
.mainMenu a.root:active {
    white-space: nowrap;
    padding: 10px 24px;
    display: block;
    position: relative;
    top: 0;
    text-align: center;
    letter-spacing: 0;
    line-height: 20px;
    color: #fff;
    text-decoration: none;
}

.mainMenu span.root sup {
    font-size: 90% !important;
}

/* Main Menu Hover */
.mainMenu span.root:hover,
.mainMenu a.root:hover {
    color: #383838;
    background: linear-gradient(to bottom, #dfdfdf 0%, #f6f6f6 100%);
}

.mainMenu a.root:hover,
.mainMenu span.root a span:hover,
.mainMenu .hov {
    color: #fff;
    background: #d0271d;
    text-decoration: none;
}

/* Main Menu Selected/Breadcrumb */
.mainMenu .sel,
.mainMenu .bc {
    color: #fff;
    background: #d0271d;
    text-decoration: none;
}

/* Sub Menu Table */
.mainMenu table {
    display: table;
    clip: auto !important;
    z-index: 5000;
    min-width: 215px !important;
    box-shadow: 0 5px 15px 0 rgba(0, 0, 0, 0.2);
    background: none;
    padding: 0;
    border: solid 1px #dedede;
    border-top: none;
}

/* Sub Menu Items */
.mainMenu tr.mi {
    background: rgba(255, 255, 255, 0.95);
    z-index: 1000;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
    color: #444;
    line-height: 2em;
    text-transform: none;
}

.mainMenu tr.mi td {
    padding: 12px 0;
    text-transform: none;
}

.mainMenu tr.mi td span {
    font-size: 13px;
    padding-left: 15px;
    font-weight: bold;
    text-transform: capitalize !important;
    color: #383838;
    letter-spacing: 0;
    background-image: url('images/arrow.png');
    background-repeat: no-repeat;
    background-position: 0 100%;
    line-height: 20px;
    margin-right: 20px;
}

.mainMenu tr.mi td span:hover {
    text-decoration: underline;
}

.mainMenu tr.mi td.icn {
    width: 11px;
}

.mainMenu tr.mi td.icn span {
    display: none;
}

/* Sub Menu Hover/Selected */
.mainMenu tr.hov {
    background: #f1f1e5;
}

.mainMenu tr.hov td {
    color: #da2d06;
}

.mainMenu tr.sel,
.mainMenu tr.bc {
    background: #ffffff;
}

.mainMenu tr.sel td,
.mainMenu tr.bc td {
    color: #fff;
}

/* Menu Break */
.main_dnnmenu_break {
    height: 2px;
    background-color: #d5e0ff;
}

/* Module Action Menus */
.ModuleTitle_SubMenu {
    border: 1px solid #c0d6e5;
}

.ModuleTitle_SubMenu td {
    background-color: #f8faff;
    white-space: nowrap;
}

.ModuleTitle_MenuIcon {
    background-color: #f8faff;
    border: none;
    padding: 0 2px;
}

.ModuleTitle_MenuItemSel td,
.ModuleTitle_MenuItemSel .ModuleTitle_MenuIcon {
    background: #ce0d0d url('images/submenu_hover.png') repeat-x top left;
    color: #fff;
}

.ModuleTitle_MenuBreak td,
.ModuleTitle_MenuBreak .ModuleTitle_MenuIcon {
    height: 2px;
    background-color: #d5e0ff;
}

/* Left Navigation Menu */
.leftInnerNavPane {
    width: 200px;
}

.leftInnerNavPane #menu1 a {
    border-bottom: 1px solid #dedcdc;
    color: #2c2c2c !important;
    display: block;
    font-size: 12px;
    font-weight: bold;
    min-height: 40px;
    padding: 0.8em 0 0.8em 5%;
    text-decoration: none;
    text-transform: uppercase;
    width: 200px;
}

.leftInnerNavPane #menu1 a:link,
.leftInnerNavPane #menu1 a:visited,
.leftInnerNavPane #menu1 a:active {
    color: #2c2c2c !important;
    text-decoration: none;
}

.leftInnerNavPane #menu1 li a#current,
.leftInnerNavPane #menu1 li a:hover {
    background-color: #C60C30;
    color: #fff !important;
}
