.popup_loading { font-size:2em; }
.flexBox {
    display: box;
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    box-orient: vertical;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
}
.inlineFlexBox {
    display: inline-box;
    display: inline-flex;
    display: -webkit-inline-box;
    display: -moz-inline-box;
    box-orient: vertical;
    flex-direction: column;
    -webkit-box-orient: vertical;
    -moz-box-orient: vertical;
}
.flexBoxH {
    display: box;
    display: flex;
    display: -webkit-box;
    display: -moz-box;
    box-orient: horizontal;
    flex-direction: row;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
}
.inlineFlexBoxH {
    display: inline-box;
    display: inline-flex;
    display: -webkit-inline-box;
    display: -moz-inline-box;
    box-orient: horizontal;
    flex-direction: row;
    -webkit-box-orient: horizontal;
    -moz-box-orient: horizontal;
}
.flex1 {
    flex-grow: 1;
    box-flex: 1;
    -webkit-box-flex: 1;
    -moz-box-flex: 1;
}
.flexCenter {
    align-items: center;
    box-align: center;
    -webkit-box-align: center;
    -moz-box-align: center;
}

.centerAlert {
    display: flex;
    flex-direction: horizontal;
    justify-content: center;
    align-items: center;
    
    display: box;
    box-orient: horizontal;
    box-align: center;
    box-pack: center;
        
    display: -webkit-box;
    -webkit-box-orient: horizontal;
    -webkit-box-align: center;
    -webkit-box-pack: center;
    
    display: -moz-flexbox;
    -moz-flex-direction: horizontal;
    -moz-justify-content: center;
    -moz-align-items: center;

    display: -ms-flexbox;
    -ms-flex-direction: row;
    -ms-flex-align: center;
    -ms-flex-pack: center;
}

.gc_flexBoxH { white-space: nowrap; letter-spacing: -0.25em; }
.gc_flexBoxH > * { display: inline-block; white-space: normal; letter-spacing: normal; vertical-align: top; }

.inline { display:inline-block; }
.absolute {position: absolute;}
.relative {position: relative;}
.center {text-align: center;}
.middle > * {vertical-align: middle;}
.hidden {visibility: hidden;}
.dotdotdot {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

div.gc_popup {
    background-color: white;
    color: black;
}

div.gc_popup .title {
    position: relative;
    font-weight: bold;
    font-size: 1.2em;
    padding: 0.25em;
    background-color:rgba(0, 0, 0, 0.75);
    color: white;
}

div.gc_popup .body {
    text-align: center;
}

div.gc_popup .exit {
    background-size: 100%;
    width: 1.5em;
    height: 1.5em;
    position: absolute;
    right: 0.5em;
    top: 0.25em;
}

div.gc_popup .body {
    position: relative;
    padding: 0.5em;
}

div.gc_popup a {
    color: white;
}

div.gc_popup .gc_button {
    margin: 0.25em;
    margin-bottom: 0.5em;
}

/* wait */
div.gc_wait {
    text-align: center;
}
div.gc_wait .body {
    background-color:rgba(0, 0, 0, 0.75);
    display: inline-block;
    padding: 1em 2em;
    color: white;
    margin: 0 2em;
    border-radius: 1em;
}
div.gc_wait .body img {
    margin: 0.5em;
}

div.gc_alert.gc_popup .body {
    padding: 1em;
    font-weight: bold;
}

div.gc_alert.gc_popup .body img.gc_alert {
    width: 1.5em;
    height: 1.5em;
    vertical-align: middle;
    margin-right: 1em;
}

div.gc_focus, span.gc_focus {
    outline: none;
}

.pulldown {
    height: 2em;
    position: absolute;
    left: 0; right: 0; top: 0;
    -webkit-transition: opacity 0.5s;
    transition: opacity 0.5s;
}
.pulldown img {
    height: 1.5em;
}

.invisible {
    visibility: hidden;
}

.gc_button {
    cursor: pointer;
    border-radius: 0.5em;
    border-top: 0.125em solid #ff8f2e;
    border-left: 0.125em solid #bb6921;
    border-right: 0.125em solid #bb6921;
    border-bottom: 0.125em solid #bb6921;
    text-align: center;
    padding: 0.5em 1em;
    margin-bottom: 0.25em;
    font-weight: bold;
    background-color: #eb842a;
    color: white;
}
.gc_button > img {
    height: 1.5em;
    width: auto;
}
.gc_button > * {
    vertical-align: middle;
    margin: 0 0.5em 0 0;
}

.gc_text {
    border-radius: 0.5em;
    height: 2.5em;
    border: 1px solid black;
    background-color: white;
}
.gc_text > div {
    height: 100%;
    margin: 0 0.125em;
}
.gc_text > img {
    vertical-align: middle;
    margin: 0 0.25em;
}
.gc_text input {
    border: 0;
    height: 100%;
    width: 100%;
    font-size: 0.9em;
    font-family: sans-serif;
    background: url(../images/transparent.png);
}
.gc_text input:focus {
    outline: none;
    -webkit-tap-highlight-color: rgba(0,0,0,0);
    -webkit-focus-ring-color: rgba(0,0,0,0);
    -webkit-user-modify: read-write-plaintext-only;
}

.padding1 {
    padding: 1em;
}    

.padding2 {
    padding: 2em;
}

.center {
    text-align: center;
}

body {
    font-family: arial;
    margin: 0;
}

.iebox, .iebox div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

.contentbox, div.contentbox {
    -webkit-box-sizing: content-box;
    -moz-box-sizing: content-box;
    box-sizing: content-box;
}
.sm {
    overflow: hidden;
}

.sm div {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}

span.emote {
    display: inline-block;
    background: url(../images/emot2.png) no-repeat;
    width: 1.5em;
    height: 1.5em;
    background-size: 500% auto;
    vertical-align: middle;
}

.dbf {
    -webkit-backface-visibility:"";
    -webkit-perspective:1000;
}

.sm_container {
    position: relative;
    width: 100%;
    height: 100%;
}

.toast {
    position: absolute;
    top: -2em;
    left: 1em; right: 1em;
    background-color: rgba(0,0,0,0.5);
    color: white;
    font-size: 0.8em;
    padding: 0.25em;
    border-bottom-left-radius: 0.5em;
    border-bottom-right-radius: 0.5em;
    z-index: 20000;
    overflow: hidden;
}

.toast span:first-child {
    font-weight: bold;
    margin-right: 0.25em;
}

.toast span:last-child {
    color: #cccccc;
}

img {
    border: 0;
}

img.sm_countdown {
    width: 50%;
    height: auto;
    position: relative;
    top: 40%;
    z-index: 10000;
}

pre {
    margin: 0;
}

div.rc {
    position: absolute;
    width: 2px;
    height: 2px;
    z-index: 1000;
}

div.rc.rc1 {
    background-position: left top;
    left: 0;
    top: 0;
}

div.rc.rc2 {
    background-position: right top;
    right: 0;
    top: 0;
}

div.rc.rc3 {
    background-position: right bottom;
    right: 0;
    bottom: 0;
}
    
div.rc.rc4 {
    background-position: left bottom;
    left: 0;
    bottom: 0;
}
    
/* dialog */
.dialog {
    position: absolute;
    font-family: sans-serif;
    background-color: #5f466f;
    border-radius: 0.3em;
}

.dialog > .title {
    height: 1.5em;
    padding-top: 0.25em;
    text-align: center;
    border-top-left-radius: 0.3em;
    border-top-right-radius: 0.3em;
}

.gc_popup .exit {
    background:url(../images/x.png) no-repeat;
    background-size: 100% 100%;
}

.dialog .exit, .gc_popup.dialog .exit {
    position: absolute;
    width: 2em;
    height: 2em;
    top: 1.75em;
    right: -1em;
    background:url(../images/Xbutton.png) no-repeat;
    background-size: 100% 100%;
}

.more > * {
    vertical-align: middle;
    text-align: center;
}
.more img {
    width: 1em;
    height: 1em;
    margin: 0.25em;
}

/**************************************************************************************
    PROFILE
**************************************************************************************/
div.profile {
    margin: 0;
    display: inline-block;
    text-align: center;
    background-color: transparent;
}

div.profile .body {
    width: 14.5em;
    height: 6em;
    background-color: rgba(0, 0, 0, 0.5);
    text-align: left;
}

div.profile canvas {
    width: 6em;
    height: 6em;
    float: left;
}

div.profile div.stat {
    display: inline-block;
    width: 8em;
    height: 6em;
    padding: 2em 1.5em 1em 0.5em;
    clear: left;
}

div.profile div.number {
    display: inline-block;
    width: 2em;
}

div.profile #wins .label {
    color: #fcc83c;
}
div.profile #ties .label {
    color: #ef5b30;
}
div.profile .footer {
    padding: 0.5em;
}
div.profile .gc_ibutton {
    margin: 0.25em;
}
div.profile .gc_ibutton .text {
    width: 10em;
}

    
/* Ranks */
#leaders {
    position: absolute;
    left: 1.5em;
    top: 2em;
    right: 1.5em;
    bottom: 2em;
}

#leaders .tabs {
    margin-top: 0.5em;
    height: 2em;
    padding: 0 2em 0 0.5em;
}

#leaders .tabs > div {
    font-size: 0.8em;
    padding: 0.75em 0.5em;
    display: inline-block;
    border: 2px solid #392744;
    border-bottom: 0;
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    color: #4c435c;
    background-color: white;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#f8e372),color-stop(0.01,#f5d31a),color-stop(1,#fbe635)); 
    background: -moz-linear-gradient(top,#f8e372 0%,#f5d31a 1%,#fbe635 100%); 
}
#leaders .tabs > div.selected {
    background: white;
}

#leaders .ranks {
    position: relative;
    margin-bottom: 0.5em;
    left: 0;
    right: 0;
    overflow: hidden;
    background-color: white;
}

#leaders .scroller {
    position: relative;
    width: 100%;
}
#leaders .scroller > div {
    display: none;
    position: relative;
    width: 100%;
    top: 0;
}
#leaders .scroller > div.selected {
    display: block;
}
#leaders canvas {
    width: 2.5em;
    height: 2.5em;
}
#leaders .row {
    position: relative;
    height: 2.5em;
}
#leaders .nscore {
    overflow: hidden;
    padding: 0.25em;
}
#leaders .nscore span {
    display: block;
    overflow: hidden;
    white-space: nowrap;
    padding-left: 0.25em;
}
#leaders .date {
    position: absolute;
    right: 0.25em;
    bottom: 0.25em;
    font-size: 0.7em;
    font-weight: normal;
    color: rgba(0,0,0,0.5);
    padding-right: 0.5em;
}

/* Popup */
div.gc_popup .title {
    font-style: italic;
    font-size: 1.2em;
    height: 2em;
    padding: 0.25em 0.5em;
    margin: 0;
}

div.gc_popup .title span {
    text-shadow: #348809 0 -1px 2px;
}

div.gc_popup .title img.gc_close {
    top: 0.25em;
    right: 0.25em;
    width: 1.5em;
    height: 1.5em;
}

div.gc_popup .footer a {
    color: white;
    text-decoration: underline;
}

/* Image Alert */
div.gc_popup.gc_alert {
    margin: 0 2em;
}

div.gc_popup.gc_alert.image {
    background-color: transparent;
    border: 0;
}
div.gc_popup.gc_alert.image .title {
    display: none;
}

/* Invite 
    TITLE: 2em;
    <gap>: 0.25em;
    TAB: 2.5em;
    SEARCH: 2.5em;
    <gap>: 0.25em;
*/
#invite {
    position: absolute;
    z-index: 1000;
    left: 1.5em;
    right: 1.5em;
    top: 1.5em;
    bottom: 1.5em;
    margin: 0;
}

#invite .body {
    position: relative;
    width: 100%;
    background-color: white;
}

#invite .filter {
    position: relative;
    margin: 0.25em 0.25em;
    height: 2em;
}

#inviteList {
    position: relative;
    width: 100%;
}

#inviteList > div {
    width: 100%;
}

#inviteList > div > div.offline {
    color: rgba(0, 0, 0, 0.5);
}

#inviteList > div > div.unknown {
    color: rgba(255, 0, 0, 0.5);
}

#inviteList > div > div {
    height: 2em;
    padding-right: 2em;
    width: 100%;
}

#inviteList > div > div.invited {
    background:url(../images/check.png) no-repeat;
    background-position: right center;
    background-size: 1.5em 1.5em;
    background-color: #91889b;
    color: white;
}

#inviteList > div > div.invited:nth-child(2n) {
    background-color: #91889b;
}

#inviteList > div > div:nth-child(2n) {
    background-color: #e7e3ea;
}
#inviteList > div > div:active {
    background-color: rgba(0, 0, 0, 0.05);
    border-radius: 0.25em;
}

#inviteList canvas, #inviteList img {
    width: 2em;
    height: 2em;
}

#inviteList .name {
    padding: 0.5em 0 0 0.5em;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#invite .footer {
    position: relative;
    overflow: hidden;
    bottom: 0em;
    text-align: center;
    padding: 0.25em;
}

#invite .footer > div {
    margin: 0;
}

#invite .footer > div:first-child {
    margin-bottom: 0.25em;
}



/* Lounge */
.sm_post {
    clear: both;
    margin-bottom: 0.1em;
    overflow: hidden;
}

.sm_post.me {
    color: #66A;
}

.sm_post.system {
    font-style: italic;
}

.sm_post > img {
    margin-right: 0.25em;
    width: 2em;
    height: 2em;
    float: left;
}

.sm_post > div > img {
    width: 1.2em;
    height: 1.2em;
    vertical-align: middle;
}

#sm_lounge {
    position: absolute;
    border-radius: 0.5em;
}

#sm_chatScroll {
    position: absolute;
    overflow: hidden;
    top: 0.5em;
    bottom: 2.5em;
    left: 0.5em;
    right: 0.5em;
}

#sm_chatMsgs {
    position: relative;
    width: 100%;
    font-size: 0.8em;
}

#sm_chatMsgs span.poster {
    display: none;
}

#sm_chatMsgs img {
    border-radius: 0.3em;
}

#sm_chatMenu {
    position: absolute;
    bottom: 0;
    height: 2.5em;
    padding: 0.25em;
    width: 100%;
    overflow:hidden;
}

#sm_chatText {
    height: 2em;
    margin-right: 0.125em;
}

#sm_chatPost {
    border-radius: 0.5em;
}

#forums div {
    word-wrap: break-word;
}
#forums .count {
    text-align: right;
    font-size: 0.8em;
}
#forums .group {
    border-radius: 0.5em;
    background-color: #609bff;
    margin-bottom: 0.5em;
}
#forums .group:last-child {
    margin-bottom: 0;
}
#forums .group > .title {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    padding: 0.5em;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#60beff),color-stop(1,#609bff)); 
    background: -moz-linear-gradient(top,#60beff 0%,#609bff 100%); 
    color: white;
    font-size: 0.8em;
    text-align: left;
    height: auto;
}
#forums .title img {
    vertical-align: middle;
    width: 2em;
    height: 2em;
}
#forums .group > .title .name .bold {
    font-weight: bold;
}
#forums .group > .title .name .desc {
    font-size: 0.8em;
}
#forums .list {
    padding: 0.5em;
}
#forums .row {
    padding: 0.5em;
    background-color: #d4e1ec;
    border-top: 1px solid white;
    border-bottom: 1px solid #037dba;
}
#forums .thread {
    padding: 0.25em 0;
}
#forums .row:nth-child(2n) {
    background-color: #dfecf8;
}
#forums .row.blue, #forums .row:nth-child(2n).blue, #forums .thread.blue, #forums .thread:nth-child(2n).blue {
    background-color: #dbf88b;
}
#forums .row .name {
    color: #4c5289;
    font-weight: bold;
}
#forums .row .count {
    font-size: 0.7em;
    color: gray;
    padding: 0 0.25em;
}
#forums .row .text {
    font-size: 0.8em;
}
#forums .row .time {
    font-size: 0.7em;
}
#forums .row canvas {
    width: 2.5em;
    height: 2.5em;
    margin: 0 0.5em 0.5em 0;
}
#forums .thread {
    padding: 0.25em;
}
#forums .poster {
    font-size: 0.8em;
    color: gray;
}
#forums .subject {
    font-size: 0.8em;
}
#forums .paging {
    margin: 0.5em;
    color: white;
    position: relative;
}
#forums .page {
    color: white;
    border-radius: 0.5em;
}
#forums .mod {
    text-align: right;
    font-size: 0.8em;
}
#forums .mod div {
    display: inline-block;
    cursor: pointer;
    color: #12a2ea;
    margin: 0.5em;
    text-decoration: underline;
}
#forums .page.selected {
    background-color: #12a2ea;
    border: 1px solid #037dba;
    font-weight: bold;
}


.post.gc_popup .title {
    border-top-left-radius: 0.5em;
    border-top-right-radius: 0.5em;
    background: -webkit-gradient(linear,left top,left bottom,color-stop(0,#12a2ea),color-stop(1,#027cb9)); 
    background: -moz-linear-gradient(top,#12a2ea 0%,#027cb9 100%); 
    color: white;
}
.post.gc_popup .title .text {
    font-size: 0.8em;
}
.post.gc_popup .quote {
    font-size: 0.9em;
    font-style:italic;
    text-align: left;
    padding: 0.5em;
    word-wrap: break-word;
    border-radius: 0.5em;
    color: #eb842a;
}
.post.gc_popup .confirm {
    margin: 1em;
    font-size: 0.8em;
    color: indianred;
}
.post.gc_popup .ban {
    border-radius: 0.5em;
    border: 1px dotted indianred;
    text-align: left;
    padding: 0.5em;
}
.post.gc_popup .ban p {
    font-size: 0.8em;
    margin: 0.5em;
}
.post.gc_popup .ban input {
    width: 3em;
}
.post.gc_popup .footnote {
    font-size: 0.6em;
}
.post.gc_popup #subject {
    margin-bottom: 0.5em;
}
.post.gc_popup .textarea {
    position: relative;
    height: 7em;
}
.post.gc_popup textarea {
    position: absolute;
    left: 0; right: 0;
    top: 0; bottom: 0;
}
.post.gc_popup .footer {
    padding: 0;
}
.post.gc_popup .length {
    text-align: right;
    font-size: 0.6em;
    margin: 0.5em;
}
.post.gc_popup .exit {
    background: url(../images/x-blue.png) no-repeat;
    background-size: 100% 100%;
}

.paging .page {
    display: inline-block;
    width: 1.5em;
    height: 1.5em;
    overflow: hidden;
    text-align: center;
    margin: 0.25em;
    padding-top: 0.15em;
}
.paging .page span {
    font-size: 0.7em;
}

