

.pbar span, nav li.Header, nav li.Middle, nav li.Footer, #cssmenu>ul, input, submit, button {
    background: var(--menu-gradient); 
}

header {
    margin-left: auto;
    margin-right: auto;
    position: relative;
    min-width: 100%;
    width: 100%;
    height: 160px;
    background: var(--header-background);
    background-repeat: no-repeat;
    border-bottom: var(--content-border);
}

header #banner1 {
    background: var(--header-left-image-background);
    background-repeat: no-repeat;
    float: left;
    width: 995px;
    height: 160px;
    z-index: 1;
}

header #banner2 {
    background: var(--header-right-image-background);
    background-repeat: no-repeat;
    position: absolute;
    right: 0px;
    top: 0px;
    width: 155px;
    height: 328px;
    z-index: 1;
}

header img.center {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

div#container {
    position: relative;
    margin: 0 auto;
    width: 1150px;
    min-height: 100%;
    background: var(--content-background);
    border: var(--content-border);
    border-top: 0px;
    border-bottom: 0px;
}

header #trainer {
    position: absolute;
    left: 0px;
    background: var(--header-overlay-background);
    border-right: var(--content-border);
    border-bottom: var(--content-border);
    width: 310px;
    height: 120px;
    border-bottom-right-radius: 8px;
}

header #notifications-button {
    margin: 3px auto;
    width: 150px;
    padding: 1px;
    font-weight: bold;
}

header .notification-badge {
    position: absolute;
    top: 56px;
    right: 14px;
    padding: 4px 8px;
    border-radius: 100%;
    background: var(--header-notification-badge-background);
    box-shadow: 0 1px 2px rgba(0,0,0,.5), 0 1px 4px rgba(0,0,0,.4), 0 0 1px rgba(0,0,0,.7) inset, 0 10px 0px rgba(255,255,255,.11) inset; 
    font: bold 12px/16px "Helvetica Neue", sans-serif; 
    color: var(--header-notification-badge-color);
    text-shadow: 0 -1px 0 rgba(0,0,0,.6);
}

#party_display {
    position: relative;
}

header .header-party-box {
    position: absolute;
    margin-left: 320px;
    width: 295px;
    height: 110px;
    background: var(--header-overlay-background);
    border: var(--content-border);
    border-top: 0px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 5px;
}

.header-party-box > .header-main-pokemon {
    float: left;
    width: 100px;
    height: 100px;
    margin: 4px;
    background-color: var(--header-pokemon-background);
    border: 1px solid #000;
    border-radius: 6px;
}

.header-party-box > .header-party-pokemon div {
    padding-top: 9px;
    padding-bottom: 5px;
}

.header-party-box > .header-party-pokemon div img {
    margin-left: 5px;
    margin-right: 4px;
    width: 40px;
    height: 30px;
    padding: 3px;
    background-color: var(--header-pokemon-background);
    border: 1px solid #000;
    cursor: pointer;
    border-radius: 6px;
}

.header-party-box > .header-party-loaded {
    position: relative;
    margin-left: 130px;
    margin-top: 35px;
}

.header-notices {
    position: absolute;
    left: 0px;
    margin-left: 640px;
    background: var(--header-overlay-background);
    border: var(--content-border);
    border-top: 0;
    width: 170px;
    padding-top: 5px;
    padding-bottom: 5px;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
}

div#content_wrapper {
    width: 100%;
    min-width: 100%;
    min-height: 100%;
    display: table;
    z-index: 999;
    position: relative;
    padding-bottom: 45px;
}

div#content_inwrapper {
    display: table-row;
}

footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    border-top: var(--content-border);
    background: var(--menu-gradient); 
    font-size: 13px;
    height: 45px;
    z-index: 999;
}

footer #disclaimer {
    margin: 5px auto;
    width: 98%;
    text-align: center;
    z-index: 999;
}

nav {
    width: 198px;
    min-height: 100%;
    float: left;
    display: table-cell;
}

nav ul {
    list-style-type: none;
    width: 200px;
    margin: 2px;
    padding: 0px;
}

nav li.Header {
    position: relative;
    border: var(--content-border);
    border-bottom: 0px;
    border-top-left-radius: 6px;
    border-top-right-radius: 6px;
    width: 200px;
    height: 20px;
    font-size: 12px;
}

nav li.Middle {
    position: relative;
    border: var(--content-border);
    border-bottom: 0px;
    width: 200px;
    height: 20px;
    font-size: 12px;
}

nav li.Footer {
    border: var(--content-border);
    border-bottom-left-radius: 6px;
    border-bottom-right-radius: 6px;
    width: 200px;
    height: 20px;
    font-size: 12px;
    margin-bottom: 3px
}

nav li.Header span, nav li.Middle span {
    display: block;
    color: var(--menu-gradient-color);
    font-size: 15px;
    text-align: center;
    font-weight: bold;
}

nav span#SectionHeader .tabControl {
    position: absolute;
    top: 0px;
    right: 0px;
    margin-right: 5px;
}

nav li.Status {
    border: var(--content-border);
    border-bottom: 0px;
    background: var(--side-menu-background);
    width: 200px;
    text-align: center;
    margin: 0px;
}

nav li.M1, li.M1d {
    border: var(--content-border);
    border-bottom: 0px;
    background: var(--side-menu-link-a-background);
    width: 175px;
    font-size: 12px;
    text-align: left;
    padding-left: 25px;
    margin: 0px;
}

nav li.M2, li.M2d {
    border: 2px solid #000;
    border-bottom: 0px;
    background: var(--side-menu-link-b-background);
    width: 175px;
    font-size: 12px;
    text-align: left;
    padding-left: 25px;
    margin: 0px;
}

nav li.M1d, li.M2d {
    display: none;
}

nav li.M1 a, li.M2 a {
    background: var(--side-menu-background);
    display: block;
    border-left: var(--content-border);
    height: 100%;
    margin: 0px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 3px;
}

nav li.M1 a:hover, li.M2 a:hover {
    display: block;
    border-left: var(--content-border);
    height: 100%;
    margin: 0px;
    padding-left: 5px;
    padding-top: 2px;
    padding-bottom: 3px;
}

nav li.M1 a:hover {
    background: var(--side-menu-link-a-background);
}

nav li.M2 a:hover {
    background: var(--side-menu-link-b-background);
}

main div#content_holder {
    text-align: center;
    width: 948px;
    min-height: 100%;
    float: left;
    display: table-cell;
    padding-left: 2px;
}

main div#content_inner {
    margin: 0 auto;
    width: 940px;
    min-height: 100%;
    padding-top: 5px;
    padding-bottom: 5px;
}

#cssmenu, #cssmenu ul, #cssmenu li, #cssmenu a {
    margin: 0;
    padding: 0;
    border: 0;
    list-style: none;
    font-weight: normal;
    text-decoration: none;
    line-height: 1;
    font-family: 'Open Sans', sans-serif;
    position: relative;
}

#cssmenu a {
    line-height: 1.5;
}

#cssmenu {
    position: absolute;
    bottom: 0;
    margin-left: 5px;
    z-index: 1000000;
}

#cssmenu>ul {
    background: var(--menu-gradient);
    border: var(--content-border);
    box-shadow: inset 1px 1px 0 rgba(255, 255, 255, 0.2);
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    border-bottom: 0px;
}

#cssmenu>ul:after {
    clear: both;
    content: '';
    display: table;
}

#cssmenu>ul>li {
    border-right: 1px solid #000000;
    float: left;
}

#cssmenu>ul>li.mobile {
    display: none;
}

#cssmenu>ul>li.active {
    background: var(--menu-active-gradient);
}

#cssmenu>ul>li:last-child {
    box-shadow: 0 0 0 transparent;
    border-right: 0px;
}

#cssmenu>ul>li:last-child ul {
    left: auto;
    right: 0;
}

#cssmenu>ul>li.mobile {
    border-right: 0 none;
    box-shadow: 0 0 0 transparent;
}

#cssmenu>ul>li>a {
    margin: 0 0 0px 0;
    font-size: 13px;
    display: block;
    color: var(--menu-gradient-color);
}

#cssmenu>ul>li>a>span {
    display: block;
    padding: 6px 10px;
    font-weight: bold;
}

#cssmenu>ul>li>a:hover {
    text-decoration: none;
}

#cssmenu>ul>li.active {
    border-bottom: none;
}

#cssmenu>ul>li.active>a {
    color: var(--menu-active-gradient-color);
    text-shadow: 0 1px 1px #000;
}

/* Sub menu */

#cssmenu ul ul {
    background: var(--navigation-dropdown-background);
    border: 1px solid #000;
    border-top: 0px;
    border-bottom-left-radius: 4px;
    border-bottom-right-radius: 4px;
    box-shadow: 1px 1px 3px rgba(0, 0, 0, 0.25);
    padding: 5px 12px 7px 12px;
    display: none;
    position: absolute;
    top: 33px;
    left: -1px;
    width: 210px;
    z-index: 1;
}

#cssmenu ul ul li {
    margin: 2px 0;
}

#cssmenu ul ul a {
    color: var(--font-color);
    display: block;
    font-size: 12px;
    font-weight: bold;
}

#cssmenu ul ul a:hover {
    box-shadow: 1px 1px 3px rgba(0, 0, 15);
}

#wrapper {
    position: relative;
    z-index: 10;
    top: 0;
    left: 0;
    transition: all 0.3s;
}

.mask {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1500000000;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
}

div.menu {
    position: fixed;
    z-index: 2000000000;
    background-color: var(--content-background);
    overflow: hidden;
    transition: all 0.3s;
    border-right: var(--content-border);
}

div.closeMenu {
    margin-bottom: 8px;
    border-bottom: var(--content-border);
    width: 100%;
    background: var(--header-background);
}

div.slide-menu-left {
    top: 0;
    width: 298px;
    height: 100%;
}

div.slide-menu-left button.close-menu {
    margin: 5px 0;
    padding: 5px 15px;
}

div.slide-menu-left {
    left: -300px
}

body.sml-open div.slide-menu-left {
    left: 0
}

div .notification-box {
    width: 300px;
    padding: 1px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-top: var(--content-border);
    border-bottom: var(--content-border);
    background: var(--announcements-background);
}