@import "var";
/****************************
        Navigations
*****************************/

.mw-ui-navigation {
    position: relative;
}

.mw-ui-box.mw-ui-navigation {
    background-color: @buttonColor;
}

.mw-ui-navigation:hover {
    z-index: 9;
}

.mw-ui-navigation li {
    list-style: none;
    position: relative;
}

.mw-ui-navigation > li {
    margin-bottom: 10px;
}

.mw-ui-navigation > li:last-child {
    margin-bottom: 0;
}

.mw-ui-navigation [class*='mw-icon-'] {
    font-size: 21px;
    opacity: 0.777;
}

.mw-ui-navigation a,  .mw-ui-navigation-item{
    display: block;
    position: relative;
    padding: 9px 12px;
    height: 36px;
    border: 1px solid transparent;
    border-radius: @radius;
    white-space: nowrap;
}

.mw-ui-navigation a > [class*='mw-icon-'] {
    margin: -5px 8px 0 0;
}

.mw-ui-navigation a > .mw-icon-dropdown:last-child {
    margin: -5px -4px 0 7px;
}

.mw-ui-navigation .mw-icon-dropdown {
    font-size: 12px;
    line-height: 12px;
}

.mw-ui-navigation a:hover,
.mw-ui-navigation a:focus,
.mw-ui-navigation li:hover > a {
    border-color: @borderColor;
    background-color: @boxbg;
}

.mw-ui-navigation a:active,
.mw-ui-navigation a.active,
.mw-ui-navigation li.active > a {
    box-shadow: inset 0 0 5px -2px rgba(0, 0, 0, 0.2);
    border-color: @borderColor;
    background-color: @boxbg;
}

.mw-ui-navigation a:hover > [class*='mw-icon-'],
.mw-ui-navigation a:focus > [class*='mw-icon-'],
.mw-ui-navigation li:hover > a > [class*='mw-icon-'] {
    opacity: 1;
}

.mw-ui-navigation-horizontal > li,
.mw-ui-navigation-horizontal > ul > li {
    float: left;
    margin-right: 12px;
    margin-bottom: 0;
}

.mw-ui-navigation-horizontal > li:last-child {
    margin-right: 0;
}

.mw-ui-navigation-horizontal > li > ul ul,
.mw-ui-navigation li ul {
    position: absolute;
    display: none;
    top: 0;
    left: 100%;
    min-width: 100%;
    border-radius: @radius;
    border: 1px;
    background: white;
    border: 1px solid @borderColor;
}

.mw-ui-navigation-horizontal > li > ul {
    position: absolute;
    display: none;
    top: 100%;
    left: 0;
    min-width: 100%;
    border-radius: 0 0 @radius @radius;
    border: 1px;
    background: white;
    border: 1px solid @borderColor;
}

.mw-ui-navigation-horizontal > li:first-child > ul {
    left: -1px;
}

.mw-ui-box.mw-ui-navigation a,
.mw-ui-navigation li ul a {
    border-width: 0;
    border-radius: 0;
}

.mw-ui-box.mw-ui-navigation > li:first-child > a {
    border-top-width: 0;
}

.mw-ui-navigation li:hover > ul {
    display: block;
}

.mw-paging {
    position: relative;
    overflow: hidden;
    text-align: center;
    font-size: 0;
    list-style: none;
}


.mw-paging > *{
    border-radius: 0;
}

.mw-paging > *:first-child {
    border-radius: @radius 0 0 @radius;
}

.mw-paging > *:last-child {
    border-radius: 0 @radius @radius 0;
}

