body {
    margin: 0;
    padding: 0;
    font-family: 'Open Sans', sans-serif;
    background-color: #223445;
}

h1, h2, h3, h4 {
    margin: 0;
    padding: 0;
    font-weight: normal;
    color: #184b77;
}

h1 {
    font-size: 26px;
    margin-bottom: 16px;
}

h2 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

p {
    font-weight: 400;
    font-size: 15px;
    color: #383838;
    line-height: 24px;
    margin: 0;
    padding: 0.5em 0px 0.5em 0px;
}

ul {
    margin: 0;
    padding: 0;
}

header {
    min-height: 115px;
    background: #223445;
    background: -moz-linear-gradient(top, #223445 0%, #223445 50%, #152738 100%);
    background: -webkit-linear-gradient(top, #223445 0%,#223445 50%,#152738 100%);
    background: linear-gradient(to bottom, #223445 0%,#223445 50%,#152738 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#223445', endColorstr='#152738',GradientType=0 );
}

#header_inner {
    width: 980px;
    min-height: 115px;
    margin: auto;
    background-image: url('/images/logo.png');
    background-repeat: no-repeat;
    background-position: 30px 35px;
}

#header_bg_left {
    background-image: url('/images/header_bg_left.png');
    background-repeat: no-repeat;
    background-position: left top;
    height: 115px;
}

#header_bg_right {
    background-image: url('/images/header_bg_right.png');
    background-repeat: no-repeat;
    background-position: right top;
    height: 115px;
}

#headerLoginBox {
    width: 320px;
    float: right;
    background: rgba(255, 255, 255, 0.07);
    border-radius: 7px;    
    overflow: hidden;
}

#headerLoginBox.loggedOut {
    height: 74px;
    margin-top: 22px;
}

#headerLoginBox.loggedIn {
    height: 89px;
    margin-top: 12px;
}


#headerLoginBox p {
    font-size: 14px;
    font-weight: 300;
    padding: 7px 19px;
    color: #D1D1D1;
    -moz-user-select: none;
}

#headerLoginBox p a {
    font-size: 14px;
    text-decoration: none;
    color: #5A8D01;
    font-weight: bold;
}





#loggedOutMenu {
    list-style: none;
    width: 320px;
}
#loggedOutMenu li {
    float: left;
    width: 50%;
}
#loggedOutMenu li a {
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    background: #273848;
    height: 38px;
    display: block;
    line-height: 35px;
    text-align: center;
}
#loggedOutMenu li:last-child a{
    background: #6a922d;
}

#loggedOutMenu li:last-child a:hover{
    background: linear-gradient(#90b332, #669621);
}

#loggedOutMenu li a:hover {
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    background: #32506c;
    height: 38px;
    display: block;
    line-height: 35px;
    text-align: center;
}










#header_loggedin {
    
}

#loggedInMenu {
    clear: both;
    list-style: none;
    width: 320px;
}
#loggedInMenu li {
    float: left;
    width: 50%;
}
#loggedInMenu li a {
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    background: #273848;
    height: 38px;
    display: block;
    line-height: 35px;
    text-align: center;
    box-shadow: inset 1px 0px 1px #324252;
}

#loggedInMenu li:first-child a {
    box-shadow: none;
}

#loggedInMenu li a:hover {
    color: #FFF;
    text-decoration: none;
    font-size: 14px;
    font-weight: 400;
    background: #32506c;
    height: 38px;
    display: block;
    line-height: 35px;
    text-align: center;
}










.topAvatar {
    width: 40px;
    height: 40px;
    float: left;
    border-radius: 7px;
    background-size: cover;
    margin: 7px;
}



nav {
    padding: 0;
    margin: 0;
    background-color: #FFF;
    min-height: 40px;
}

nav ul {
    width: 980px;
    margin: auto;
    padding: 0;
    list-style: none;
    height: 40px;
    overflow: hidden;
}

nav ul li {
    float: left;
    line-height: 39px;
    font-weight: 600;
    font-size: 14px;
    color: #1c1c1c;
}

nav ul li a {
    text-decoration: none;
    color: #1c1c1c;
    height: 40px;
    line-height: 40px;
    padding: 0px 22px 0px 22px;
    display: inline-block;
}

nav ul li a.selected {
    color: #4b691d;
    border-bottom: 6px solid #6a922d;
    height: 34px;
}

nav ul li a:hover {
    color: #4b691d;
}

#contentWrapper {
    background: #f6f6f6;
    box-shadow: inset 0 3px 12px -7px rgba(29, 24, 22, 0.31);
    border-bottom: 1px solid #152738;
}

#contentInner {
    padding-top: 24px;
    width: 980px;
    margin: auto;
    min-height: 600px;
}

.content {
    width: 940px;
    border-radius: 7px;
    background-color: #FFF;
    padding: 24px 20px;
    margin-bottom: 20px;
}

footer {
    background-color: #223445;
    background: -moz-linear-gradient(top, #152738 0%, #223445 50%, #223445 100%);
    background: -webkit-linear-gradient(top, #152738 0%,#223445 50%,#223445 100%);
    background: linear-gradient(to bottom, #152738 0%,#223445 50%,#223445 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#152738', endColorstr='#223445',GradientType=0 );
    min-height: 100px;
    padding-bottom: 30px;
    border-top: 1px solid #223445;
}

#footer_content {
    width: 980px;
    margin: 20px auto 30px auto;
    color: #FFF;
}

#footer_content p {
    color: #c5d0da;
    font-size: 13px;
    float: left;
    display: block;
    margin-right: 10%;
    width: 25%;
}

#footer_content p:last-of-type {
    margin-right: 0;
}

#footer_content a {
    color: #c5d0da;
    text-decoration: underline;
}

#footer_content a:hover {
    color: #FFF;
    text-decoration: none;
}


.stronger {
    font-weight: 600;
}




.gBtn {
    vertical-align: bottom;
    margin: 0;
    padding: 0;
    height: 32px;
    line-height: 32px;
    display: inline-block;
    padding: 0px 16px;
    font-family: Roboto;
    font-size: 15px;
    background: linear-gradient(#90b332, #669621);
    border: none;
    color: #FFF;
    cursor: pointer;
    border-radius: 3px;
    box-shadow: inset #72834d99 1px -1px 5px;
    text-shadow: #3e5c19cc 0px 0px 3px;
    border: 1px solid #669621b3;
    margin-left: 8px;
    text-decoration: none;
    margin-top: -10px;
}

.gBtn:not(a) {
    line-height: 0px;
    height: 36px;
}

.gBtn:hover {
    box-shadow: inset #72834d -1px 1px 5px;
    border: 1px solid #537d17;
    text-shadow: #1f2d0bcc 0px -1px 1px;
}

.gBtn:active {
    box-shadow: none;
}

.gBtnLeftJoin {
    margin-left: 0px;
    border-radius: 0px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-left: none;
}

.gBtnLeftJoin:hover {
    margin-left: 0px;
    border-radius: 0px;
    border-top-right-radius: 7px;
    border-bottom-right-radius: 7px;
    border-left: none;
}



.gBtnRed {
    background: linear-gradient(#F24949, #B92D2D);
    box-shadow: inset #b90f0f99 1px -1px 5px;
    text-shadow: #3e1313cc 0px 0px 3px;
    border: 1px solid #991919b3;
}

.gBtnRed:hover {
    box-shadow: inset #b70909 -1px 1px 5px;
    border: 1px solid #6a1f1f;
    text-shadow: #530c0ccc 0px -1px 1px;
}

.gBtnGrey {
    background: linear-gradient(#CACACA, #8A8A8A);
    box-shadow: inset #84848499 1px -1px 5px;
    text-shadow: #000c 0px 0px 3px;
    border: 1px solid #8a8a8ab3;
}

.gBtnGrey:hover {
    box-shadow: inset #868686 -1px 1px 5px;
    border: 1px solid #777;
    text-shadow: #00000094 0px -1px 1px;
}

.gBtnGreyNew {
    background: linear-gradient(#DBDBDB, #CCC);
    box-shadow: inset #b3b3b363 1px -1px 5px;
    text-shadow: #ffffff70 0px 0px 3px;
    border: 1px solid #8a8a8ab3;
    color: #2b2b2b;
}

.gBtnGreyNew:hover {
    box-shadow: inset #86868673 -1px 1px 5px;
    border: 1px solid #777;
    text-shadow: none;
}




.gInText {
    padding: 0;
    display: inline-block;
    font-size: 15px;
    height: 32px;
    line-height: 4px;
    padding: 1px 12px;
    margin: 0;
    margin-top: 5px;
    border: 1px solid #888;
    border-radius: 3px;
}

.gInText:focus {
    border: 1px solid #b4b1b1;
    box-shadow: #79c20099 0px 0px 5px;
}

.gInText::placeholder {
    color: #003003;
}

.gInText:focus::placeholder {
    color: #7f8c70;
}

.gInTextLeftJoin {
    border: 1px solid #6b8e32;
    border-right: none;
    border-top-right-radius: 0px;
    border-bottom-right-radius: 0px;
    
}

.gInTextLeftJoin:focus {
    border: 1px solid #6b8e32;
    border-right: none;
    box-shadow: inset #79c20044 0px 0px 5px;
}






#topTribes {
    margin-top: 20px;
}

#topTribes h1 { font-size: 16px; }

#topTribes ul {
    list-style: none;
}

#topTribes ul li {
    float: left;
	margin: 0px 10px 24px 0px;
}

#topTribes ul li a {
    text-decoration: none;
    color: #000;
    padding: 5px 8px;
    border: 1px solid;
    border-color: #CCC;
    border-radius: 3px;
    background-color: #F5F5F5;
    font-family: roboto;
    font-size: 14px;
    transition: border-color .5s;
}

#topTribes ul li a:hover {
    background-color: #87AF25;
    color: #FFF;
    text-shadow: 0px 0px 3px #1f4809b3
}

#topTribes ul li:last-child a {
    font-weight: bold;
    color: #555;
}

#topTribes ul li:last-child a:hover {
    background-color: #87AF25;
    color: #FFF;
    text-shadow: 0px 0px 3px #1f4809b3
}



.noticeBox {
    margin: 10px 0px; 
    border: 1px solid #eadfb580;
    padding: 10px; 
    background: #fff9e0;
    border-radius: 3px;
}

.help {
    background-image: url('/images/ui/icons/icon_help.png');
    background-repeat: no-repeat;
    background-position: center left;
    line-height: 20px;
    padding-left: 27px;
}

.error {
    color: #A10B0B;
    background-image: url('/images/ui/icons/error.png');
    background-repeat: no-repeat;
    background-position: center left;
    line-height: 20px;
    padding: 0;
    padding-left: 27px;
}

.ok {
    color: #000;
    background-image: url('/images/ui/icons/ok.png');
    background-repeat: no-repeat;
    background-position: center left;
    line-height: 20px;
    padding-left: 27px;
}

.greenLink {
    color: #669721;
    font-weight: bold;
    text-decoration: none;
}

.greenLink:hover {
    text-decoration: underline;
}