/* network bar */
div#network-container {
    position: fixed;
    height: 31px;
    z-index: 51;
    width: 100%;
    background-color: #0c0c0c;
    border-bottom: 1px solid #464646;
    background: linear-gradient(left top, #000000, #0c0c0c);
    background: -webkit-gradient(linear, left top, left bottom, from(#000000), to(#0c0c0c));
    background: -moz-linear-gradient(top, #000000, #0c0c0c);
}

div#network-spacer {
    height: 32px;
}

div#network-contents {
    position: relative;
    width: 1045px;
    margin: 0 auto;
    text-align: left;
}

#network-contents div.left,
#network-contents a,
#network-contents .highlight,
#user-badge > * {
    font: normal 10px tahoma;
    color: #ebebeb;
}

#network-contents div.left {
    position: absolute;
    padding: 6px 0 0 0;
}

#network-contents div.left img {
    vertical-align: -5px;
    margin: 0 6px 0 6px;
}

#network-contents a {
    text-decoration: none;
}

#network-contents .highlight {
    color: #96ff96;
    font-weight: bold;
}

#network-contents a:hover {
    text-decoration: underline;
}

#network-contents .site-alerts {
    white-space: nowrap;
}

#network-contents .site-alerts a {
    color: #96ffac;
}

#network-contents .site-alerts span {
    display: inline-block;
    width: 12px;
    text-align: center;
    color: #e6e6e6;
}

#network-contents .site-alerts:hover span {
    font-size: 7px;
    color: #96ffac;
    cursor: pointer;
    line-height: 6px;
    vertical-align: -2px;
}

#user-badge {
    position: absolute;
    right: 0;
    padding: 8px 6px 0 6px;
    background: transparent;
    text-align: right;
}

#user-badge div {
    display: none;
    line-height: 1.4em;
    padding: 1px 0 8px 0;
}

#user-badge:hover {
    padding-right: 6px;
    background: linear-gradient(left top, #2e2e2e, #0f0f10);
    background: -webkit-gradient(linear, left top, left bottom, from(#2e2e2e), to(#0f0f10));
    background: -moz-linear-gradient(top, #2e2e2e, #0f0f10);
    filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#2e2e2e', endColorstr='#0f0f10');
    background-color: #0f0f10;
    border: 1px solid #464646;
    border-top: 0;
}

#user-badge:hover div {
    display: block;
}

#user-badge img.icon {
    margin: 0 5px 4px 0;
    vertical-align: middle;
}

#user-badge .button {
    margin: 0 0 4px 0;
    vertical-align: middle;
}

#user-badge img.separator {
    margin: 0 8px 4px 8px;
    vertical-align: middle;
}

/* account tiers */
.account-black {
    color: #000000;
    font-weight: bold;
    text-decoration: none;
    padding-left: 4px;
}

.account-black:hover {
    color: #000000;
    text-decoration: underline;
}

.account-insider {
    color: #207ec2;
    font-weight: bold;
    text-decoration: none;
    padding-left: 4px;
}

.account-insider:hover {
    color: #207ec2;
    text-decoration: underline;
}

.account-premium {
    color: #517099;
    font-weight: normal;
    text-decoration: underline;
    padding-left: 4px;
}

.account-premium:hover {
    color: #517099;
    text-decoration: none;
}

.account-standard {
    padding-left: 4px;
}

/* upanel */
#upanel-register a img {
    margin-right: 10px;
}

#body-upanel-status label,
#body-upanel-profile label {
    width: 160px;
}

#body-upanel-status div.data,
#body-upanel-profile div.data {
    margin-left: 160px;
}

#body-upanel-status .note2,
#body-upanel-statistics .note2 {
    float: right;
    width: 250px;
    text-align: left;
}

#body-upanel-status h1 {
    font: bold 16px 'arial';
}

#body-upanel-profile .sub-header {
    padding-left: 18px;
    background-image: url('/global/images/icon_show.png');
    background-repeat: no-repeat;
    background-position: 4px 5px;
}

#body-upanel-profile .sub-header.clicked {
    background-image: url('/global/images/icon_hide.png');
}

#body-upanel-settings label,
#body-upanel-mobile label,
#body-upanel-privacy label {
    width: 285px;
}

#body-upanel-settings div.data,
#body-upanel-mobile div.data,
#body-upanel-privacy div.data {
    margin-left: 285px;
}

.message-unread td,
.message-unread a {
    font-weight: bold;
}

#message-header {
    background-color: #FAFAFA;
    border: 1px solid #F0F1F3;
    border-width: 0 0 1px 0;
}

#upanel-profile div.clip-preview {
    margin: 0 0 5px;
    border-bottom: 1px solid #F0F1F3;
    float: none;

}

#upanel-profile div.clip-preview a {
    display: block;
}

#upanel-profile div.clip-preview img {
    width: 180px;
    display: block;
    margin: 0 auto;
    border: none;
    box-shadow: 2px 2px 2px rgba(0, 0, 0, 0.4);
}

#upanel-profile div.clip-preview div {
    width: 172px;
    margin-bottom: -8px;
}

#upanel-profile #profile-column-left label,
#teams-profile #profile-column-left label {
    width: 125px;
}

#upanel-profile #profile-column-left div.data,
#teams-profile #profile-column-left div.data {
    margin-left: 125px;
}

#upanel-profile .top-items {
    width: 49%;
    text-align: left;
}

#upanel-profile .top-items .stat {
    font-family: arial;
    font-size: 10px;
    white-space: nowrap;
    text-align: right;
    padding-right: 2px;
}

#upanel-profile .top-items .rank,
#upanel-profile .top-items .rank * {
    font: normal 10px 'arial';
    color: #000000;
    text-decoration: none;
    white-space: nowrap;
    text-align: left;
    padding-left: 2px;
}

#upanel-profile table.history {
    margin-bottom: 5px;
}

#upanel-profile table.box {
    width: 100%;
}

.user-payments-table thead tr:first-child th {
    background-color: transparent;
    border-bottom: none;
}

#rankGraph {
    float: left;
    width: 74px;
    height: 70px;
    padding: 3px 0 0 0;
    border: 1px solid #B8B8B8;
    border-width: 1px 0 1px 1px;
    text-align: center;
    line-height: 1.5em;
    font-size: 9px;
}

#rankGraph > progress {
    width: 70px;
}

#rankGraph > small {
    font-size: 10px;
}

#rankGraph h1 {
    margin: 4px 0 4px 0;
    font-size: 16px;
}

#rankGraph h1 small {
    font-size: 10px;
    vertical-align: 3px;
}

#rankGraph h2 {
    margin: 3px 0 3px 0;
    font-weight: normal;
    line-height: 1.1em;
}

div.layout-stats #displayGraph {
    margin-top: -1px;
}

#editGraph {
    display: none;
    position: absolute;
    text-align: center;
    background-color: #ffffff;
    border: 1px solid #B8B8B8;
    padding: 8px 0 8px 0;
}

#upanel-register label {
    width: 180px;
}

#upanel-register label.tos,
#upanel-profile-form-agreements label.tos {
    width: auto;
    display: inline-block;
    font-weight: 400;
    float: none;
}

#upanel-register div.data {
    margin-left: 180px;
}

#upanel-lostpass label,
#upanel-recover label {
    width: 180px;
}

#upanel-lostpass div.data,
#upanel-recover div.data {
    margin-left: 180px;
}

#upanel-profile #buddy-list table {
    border-spacing: 0;
    width: 100%;
}

#upanel-profile #buddy-list table:nth-of-type(2) {
    margin: 3px 0 0 0;
}

#upanel-profile #buddy-list td {
    padding: 0;
    white-space: nowrap;
    text-overflow: ellipsis;
}

#upanel-profile #buddy-list {
    clear: both;
}

#upanel-profile #buddy-list .online-stream {
    width: 16px;
    padding-top: 1px;
}

#upanel-profile #buddy-list .online-game {
    width: 21px;
    text-align: right;
}

#upanel-lostpass-verify label {
    width: 140px;
}

#upanel-lostpass-verify div.data {
    margin-left: 140px;
}

#upanel-recover-account-verify label {
    width: 140px;
}

#upanel-recover-account-verify div.data {
    margin-left: 140px;
}

/* profile pages (user, team) */
#profile-content label {
    width: 150px;
}

#profile-column-right label {
    width: 60px;
}

#profile-column-right div.data {
    margin-left: 60px;
}

#profile-column-right li {
    list-style-position: inside;
}

#profile-column-right .footer {
    padding: 3px 0 4px 0;
    text-align: right;
    border: 0;
}

#profile-image {
    position: absolute;
    z-index: 0;
    margin: -15px 12px 0 0;
    width: 130px;
    height: 170px;
}

#profile-header {
    width: 100%;
    float: right;
    height: 30px;
    text-align: left;
}

#profile-header h1 {
    font: bold 18px 'tahoma';
    margin: 0 0 0 143px;
}

#profile-header h1 img {
    margin: 0 5px 2px 0;
}

#profile-header h1 span {
    font: normal 10px 'verdana';
    vertical-align: text-bottom;
    line-height: 21px;
}

#profile-header h1 span i {
    color: #c8c8c8;
    font-style: normal;
}

#profile-info {
    width: 65%;
    float: left;
    margin: 0 0 18px 0;
    min-height: 160px;
}

#profile-info div.content {
    margin-left: 143px;
}

#profile-info div.sub-header {
    padding-left: 0;
}

#profile-info section {
    margin-bottom: 16px;
    line-height: 18px;
    padding: 0;
}

#profile-info label {
    width: 73px;
}

#profile-info div.data {
    margin-left: 73px;
}

#profile-column-left {
    float: left;
    width: 65%;
    padding: 0 0 10px 0;
    overflow: hidden;
}

#profile-column-left .sub-header img {
    vertical-align: text-bottom;
}

#profile-column-right {
    width: 32%;
    float: right;
    padding: 0 0 10px 0;
}

#profile-content {
    float: left;
    width: 100%;
    padding: 0 0 10px 0;
}

#profile-footer {
    float: left;
    width: 100%;
    text-align: center;
}

/* form errors */
div.content-status ul {
    margin-left: 65px;
    padding: 0;
}

iframe#form_target {
    width: 0;
    height: 0;
    border: 0;
}

/* search */
#search-default label {
    display: none;
    width: auto;
    margin: 0 0 0 2px;
    float: none;
    clear: none;
    font-weight: normal;
    cursor: text;
    position: absolute;
    pointer-events: none;
}

#search-default input.text {
    width: 491px;
    height: 24px;
    padding: 2px 0 2px 0;
    font: 18px 'tahoma';
}

#search-default input.submit {
    float: right;
    width: 64px;
    padding: 3px 0 3px 0;
    margin: 0;
    font: 18px 'tahoma';
}

#search-default .tab {
    padding: 3px 4px 0 4px;
    margin: 0 5px 0 0;
}

#search-default .source-container {
    margin: 10px 0 0 0;
    line-height: 2.5em;
}

#search-default .source-container small {
    display: block;
    float: left;
    margin: -9px 32px 0 53px;
}

#search-default .result-container {
    margin: 0 0 24px 0;
    padding: 0 5px 0 0;
}

#search-default .result-container a {
    font: small 'arial';
}

#search-default a.result {
    font: bold medium 'arial';
    color: #0d4895;
}

.dark #search-default a.result {
    color: #619DFF;
}

#search-default h2 {
    margin: 1px 0 1px 0;
    font: small 'arial';
}

#search-default a.more {
    color: #ff5736;
    font: 11px 'arial';
}

/* generic form input */
label {
    width: 80px;
    font-weight: bold;
    float: left;
    clear: left;
    text-align: left;
    margin-bottom: 2px;
}

label aside {
    padding: 3px 10px 0 0;
    font-weight: normal;
    color: #606060;
}
.dark label aside {
    color: #cccdcc;
}

.data {
    text-align: left;
    margin-left: 80px;
    display: block;
    margin-bottom: 2px;
}

input.checkbox,
input.radio {
    vertical-align: middle;
    margin: 0 0 3px 0;
}

/* comments */
.comment-quote {
    border: 1px dashed #808080;
    margin: 5px 5px 5px 0;
    padding: 5px;
    color: #606060;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 8;
    -webkit-box-orient: vertical;
}

.comment-quote:hover {
    display: block;
}

.comment-quote span {
    color: #606060;
}

.comment-quote-header {
    margin-bottom: 5px;
}

.comment-quote-footer {
    display: block;
    margin-top: 5px;
}

/* payment methods */
.payment-method {
    display: flex;
    align-items: center;
    height: 125px;
}

.payment-method div {
    min-width: 160px;
    text-align: center;
    margin-right: 20px;
}

.payment-method span {
    font: 12px 'arial';
}

/* context menus */
div.context-menu {
    display: none;
    position: fixed;
    width: 160px;
    background-color: #efefef;
    border: 1px solid #e0e0e0;
    text-align: left;
    z-index: 15;
    font-weight: normal;
}

div.context-menu a {
    display: block;
    margin: 0 0 0 0;
    padding: 4px 3px 3px 3px;
    text-decoration: none;
    color: #000000;
    border-bottom: 1px solid #cecece;
}

div.context-menu a:hover {
    background-color: #dddddd;
}

/* ajax status box */
div#ajax-status {
    position: fixed;
    bottom: 0;
    left: 0;
    background-color: #FFFFE1;
    color: #000000;
    font-weight: normal;
    font-size: 11px;
    font-family: 'tahoma';
    padding: 4px;
    width: 100%;
    border-top: 1px solid #000000;
    text-align: left;
    z-index: 4;
}

* html div#ajax-status {
    position: absolute;
}

/* page fade box */
div#fade {
    position: fixed;
    left: 0;
    top: 0;
    z-index: 200;
    width: 100%;
    height: 100%;
    background-color: #000000;
    opacity: .70;
}

/* lists */
.recent-items {
    padding: 0;
    margin: 0;
}

.recent-items li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    list-style-type: none;
}

.recent-items li img.game-icon {
    width: 16px;
    height: 13px;
    margin: 0 3px 2px 0;
    vertical-align: middle;
}

.recent-items li img.tier-icon {
    width: 15px;
    height: 12px;
    float: left;
    margin: 0 4px 3px 0;
    vertical-align: middle;
}

/* jquery ui modifiers */
.ui-resizable {
    position: relative;
}

.ui-resizable-handle {
    position: absolute;
    font-size: 0.1px;
    z-index: 99999;
    display: block;
}

.ui-resizable-disabled .ui-resizable-handle, .ui-resizable-autohide .ui-resizable-handle {
    display: none;
}

.ui-resizable-n {
    cursor: n-resize;
    height: 7px;
    width: 100%;
    top: -5px;
    left: 0px;
}

.ui-resizable-s {
    cursor: s-resize;
    height: 7px;
    width: 100%;
    bottom: -5px;
    left: 0px;
}

.ui-resizable-e {
    cursor: e-resize;
    width: 7px;
    right: -5px;
    top: 0px;
    height: 100%;
}

.ui-resizable-w {
    cursor: w-resize;
    width: 7px;
    left: -5px;
    top: 0px;
    height: 100%;
}

.ui-resizable-se {
    cursor: se-resize;
    width: 12px;
    height: 12px;
    right: 1px;
    bottom: 1px;
}

.ui-resizable-sw {
    cursor: sw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    bottom: -5px;
}

.ui-resizable-nw {
    cursor: nw-resize;
    width: 9px;
    height: 9px;
    left: -5px;
    top: -5px;
}

.ui-resizable-ne {
    cursor: ne-resize;
    width: 9px;
    height: 9px;
    right: -5px;
    top: -5px;
}

/* generic modifiers */
.flip-v {
    -moz-transform: scaleY(-1);
    -webkit-transform: scaleY(-1);
    transform: scaleY(-1);
    filter: FlipV;
    -ms-filter: 'FlipV';
}

.inline {
    display: inline;
}

.left {
    float: left;
    text-align: left;
}

.center {
    text-align: center;
}

.right {
    float: right;
    text-align: right;
}

.hidden {
    display: none;
}

.middle {
    vertical-align: middle;
}

.spacer {
    clear: both;
    font-size: 0;
}

.margin {
    margin: 10px;
}

.no-margin {
    margin: 0;
}

.margin-top {
    margin-top: 10px;
}

.margin-right {
    margin-right: 10px;
}

.margin-bottom {
    margin-bottom: 10px;
}

.margin-left {
    margin-left: 10px;
}

.padding {
    padding: 10px;
}

.padding-top {
    padding-top: 10px;
}

.padding-bottom {
    padding-bottom: 10px;
}

.no-padding {
    padding: 0;
}

.bold {
    font-weight: bold;
}

.gray {
    color: #666666;
}

.white {
    color: #ffffff;
}

.red {
    color: #ff0000;
}

.blue {
    color: #0000ff;
}

.black {
    color: #000000;
}

.clickable {
    cursor: pointer;
}

.capitalize {
    text-transform: capitalize;
}

.no-underline {
    text-decoration: none;
}

.nowrap {
    white-space: nowrap;
}

.vertical-align {
    display: flex;
    justify-content: center; /* align horizontal */
    align-items: center; /* align vertical */
}

.blank-q {
    margin: 0;
    padding: 0;
    background-color: #fff;
    width: 100%;
    height: 100%;
    border: 1px solid #ccc;
    -webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
    -moz-box-sizing: border-box;    /* Firefox, other Gecko */
    box-sizing: border-box;         /* Opera/IE 8+ */
}

.blank-q-text {
    text-align: center;
    color: #ccc;
    font-family: Arial !important;
}

.site-page-team-blank {
    width: 65px;
    height: 85px;
    margin: 0 auto;
    padding-bottom: 7px;
}

.blank-small {
    font-size: 2.25em;
}

.blank-medium {
    font-size: 3.5em;
}

.blank-large {
    font-size: 7em;
}

.blank-prediction-logo {
    font-size: 3.5em;
    margin-bottom: 0;
}

#cookie-policy td {
    padding: 5px;
    text-align: left;
}

#cookie-policy th.storage-length {
    width: 75px;
}

input[type="button"].link, input[type="button"].link:focus, input[type="button"].link:active,
button.link, button.link:focus, button.link:active {
    /* Remove all decorations to look like normal text */
    background: none;
    border: none;
    display: inline;
    font: inherit;
    margin: 0;
    padding: 0;
    outline: none;
    outline-offset: 0;
    /* Additional styles to look like a link */
    color: #517099;
    cursor: pointer;
    text-decoration: underline;
}

/* Remove extra space inside buttons in Firefox */
input[type="button"].link::-moz-focus-inner,
button.link::-moz-focus-inner {
    border: none;
    padding: 0;
}

.clearfix:before,
.clearfix:after {
    content: " ";
    display: table;
}

.clearfix:after {
    clear: both;
}

/* For IE 6/7 only Include this rule to trigger hasLayout and contain floats. */
.clearfix {
    *zoom: 1;
}

/* mobile tweaks */
@media only screen and (max-device-width: 720px) {
    div#network-container {
        position: absolute;
    }
}


.tippy-tooltip .tippy-content {
    color: white;
}

.tippy-tooltip .tippy-content a {
    color: white;
}

/* - font transformations */
.capitalize {
    text-transform: capitalize;
}

.uppercase {
    text-transform: uppercase;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -khtml-user-select: none; /* Konqueror HTML */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently supported by Chrome, Edge, Opera and Firefox */
}
