/*
* Styles about competition users page
*/

#competition {
padding: 0.92em 0 5.2em 0;
}

h1 {
text-align: center;
font-weight: normal;
font-size: 1.52em;
line-height: 1.4em;
}

h1 span {
display: block;
font-size: 1rem;
margin-top: -0.32em;
text-transform: lowercase;
color: var(--attention-color);
}

h2 {
text-align: center;
font-weight: normal;
font-size: 1.32em;
line-height: 1.4em;
margin-top: -2.2em;
margin-bottom: 1.2em;
}

.balance-space {
margin-top: 2.6em;
}

.avatar-pic {
margin: 2.2em auto 5.2em auto;
text-align: center;
}

.balance-date {
margin-top: 1.4em;
text-align: center;
font-size: 0.92em;
}

@media screen and (max-width: 640px) {
.balance-date span {
display: block;
line-height: 1.5em;
}
}


.credit {
margin: 2.4em auto -1em auto;
width: 200px;
height: 100px;
}

.wcup {
width: 120px;
height: 100%;
float: left;
background-position: left;
background-repeat: no-repeat;
background-size: 100px 100px;
background-image: url("/svg/winner-cup.svg");
filter: var(--ranking-filter);
}

.wtxt {
width: 80px;
height: 100%;
float: right;
line-height: 100px;
text-align: center;
font-size: 1.2em;
font-weight: bold;
}

.wtxt div {
line-height: 1.52em;
}

.wtxt div:first-of-type {
margin-top: 1em;
}



table.credits {
width: 100%;
margin: 3.2em 0;
border-collapse: collapse;
}

table.credits th {
height: 3.2em;
line-height: 3.2em;
text-align: center;
font-weight: bold;
vertical-align: top;
background: var(--game-title-bg-color);
color: var(--game-title-color);
}

table.credits td {
line-height: 3.2em;
border-bottom: 1px solid var(--game-border-color);
}

table.credits td.date {
vertical-align: top;
}

table.credits td.ctype {
width: 52px;
white-space: nowrap;
text-align: center;
}

table.credits td.pos, table.credits td.crd {
width: 52px;
white-space: nowrap;
text-align: right;
padding-left: 0;
padding-right: 16px;
}

table.credits td.pos {
position: relative;
width: 40px;
padding-right: 12px;
}

table.credits td.pos .twcup {
position: absolute;
top: 0;
left: 0;
width: 100%;
height: 100%;
background-position: left;
background-repeat: no-repeat;
background-size: 1em 1em;
background-image: url("/svg/winner-cup.svg");
filter: var(--ranking-filter);
}


table.credits a {
text-decoration: none;
color: var(--link-color);
}

table.credits a:visited {
color: var(--link-color);
}

table.credits a:hover {
text-decoration: underline;
}





table.balance {
width: 100%;
max-width: 420px;
margin: 1em auto 6em auto;
border-collapse: collapse;
border-top: 1px solid var(--game-border-color);
}

table.balance td {
line-height: 1.92em;
border-bottom: 1px solid var(--game-border-color);
}

table.balance td.label {
padding-left: 0.52em;
vertical-align: top;
}

table.balance td.data {
width: 98px;
text-align: right;
padding-right: 0.52em;
}

@media screen and (max-width: 380px) {
table.balance td.data {
width: 92px;
}
}

@media screen and (max-width: 320px) {
table.balance td.data {
width: 88px;
}
}


.balance-positive {
color: var(--balance-positive-color);
font-weight: bold;
}

.balance-negative {
color: var(--balance-negative-color);
font-weight: bold;
}




.more-links {
margin-top: 4.2em;
text-align: center;
}

.more-link {
text-decoration: none;
color: var(--link-color);
}

.more-link:visited {
color: var(--link-color);
}

.more-link:hover {
text-decoration: underline;
}

.more-links .disabled-link {
color: var(--link-disabled-color);
}

.hidden-link {
display: none;
}



p.balance-info {
margin: 3.6em 0 3.2em 0;
padding: 0 0.6em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 0.8em;
color: var(--attention-color);
}




.dc {
position: relative;
max-width: 100%;
display: block;
}

.dce {
position: absolute;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
width: 100%;
top: 0;
left: 0;
}

.dce a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.dci {
position: absolute;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
width: 100%;
height: 2.8em;
top: 0;
left: 0;
z-index: 10;
}











.game {
display: block;
width: 100%;
position: relative;
line-height: 2.8em;
color: var(--main-color);
border-top: 1px solid var(--game-border-color);
border-bottom: 1px solid var(--game-border-color);
}

.combo {
border-top: unset;
}

.game .time {
display: block;
white-space: nowrap;
text-align: right;
position: absolute;
top: 0;
left: 6px;
width: 36px;
}

.game .date {
display: block;
white-space: nowrap;
text-align: left;
position: absolute;
top: 0;
left: 6px;
width: 132px;
}

.game .score {
display: block;
white-space: nowrap;
text-align: center;
font-weight: bold;
position: absolute;
top: 0;
left: 50%;
margin-left: -22px;
width: 44px;
}

.game .teams, .game .teamsd {
position: relative;
display: block;
margin-left: 96px;
margin-right: 194px;
height: 2.8em;
line-height: 2.8em;
}

.game .teamsd {
margin-left: 194px;
}

.game .home, .game .away {
display: block;
width: 50%;
}

.game .home {
float: left;
text-align: right;
}

.game .away {
float: right;
text-align: left;
}

.game .home span, .game .away span {
display: block;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.game .home span {
margin-right: 26px;
}

.game .away span {
margin-left: 26px;
}

.game .bet {
display: block;
width: 192px;
text-align: right;
position: absolute;
top: 0;
right: 6px;
height: 2.8em;
line-height: 2.8em;
font-weight: bold;
}

.game .betd {
right: 3em;
}

.game .bet-bookie {
display: block;
width: 192px;
text-align: right;
position: absolute;
bottom: 0;
right: 0;
font-weight: normal;
font-size: 0.78em;
height: 1em;
line-height: 1em;
color: var(--tertiary-color);
}

.game .bet-date {
display: block;
text-align: right;
position: absolute;
top: -0.48em;
right: 0;
font-weight: normal;
font-size: 0.78em;
height: 1em;
line-height: 1em;
color: var(--quaternary-color);
z-index: 1;
padding-left: 0.52em;
background: var(--main-bg-color);
}

.game .del {
position: absolute;
bottom: 0;
right: 0;
display: block;
width: 2.8em;
height: 2.8em;
background-position: center;
background-size: 2em 2em;
background-repeat: no-repeat;
background-image: url("/svg/profile/delete.svg");
filter: var(--profile-nav-filter);
}

.game .status {
display: block;
white-space: nowrap;
text-align: center;
position: absolute;
top: 0;
left: 132px;
width: 48px;
padding: 0 6px;
}

.country-flag {
width: 24px;
height: 18px;
background: var(--image-bg-color);
}

.international-flag {
width: 24px;
height: 18px;
background: var(--image-bg-color);
}

.missing-tournament {
width: 24px;
height: 18px;
background: var(--image-bg-color);
}


@media screen and (max-width: 768px) {
.game .time {
left: 4px;
}
.game .date {
left: 4px;
}
.game .teams {
margin-left: 92px;
margin-right: 190px;
}
.game .teamsd {
margin-left: 182px;
margin-right: 182px;
}
.game .status {
left: 124px;
}
}


@media screen and (max-width: 720px) {
.game .time {
left: 2px;
}
.game .date {
left: 2px;
}
.game .teams {
margin-left: 80px;
margin-right: 180px;
}
.game .teamsd {
margin-left: 172px;
margin-right: 172px;
}
.game .status {
left: 118px;
}
}


@media screen and (max-width: 640px) {
.game {
height: 5em;
}
.game .time {
text-align: center;
font-weight: normal;
top: 0;
left: 50%;
margin-left: -22px;
width: 44px;
font-size: 0.82em;
line-height: 2.8rem;
color: var(--game-secondary-color);
}
.game .date {
left: 6px;
top: 2.98rem;
height: 1rem;
line-height: 1rem;
text-align: left;
padding: 0;
font-size: 0.9em;
color: var(--game-secondary-color);
}
.game .teams, .game .teamsd {
margin-left: 0;
margin-right: 0;
}
.game .bet {
right: 6px;
top: 2.9rem;
height: 1rem;
line-height: 1rem;
text-align: right;
width: 100%;
}
.game .betd {
right: 3em;
}
.game .bet-bookie {
bottom: -1.12em;
}
.game .bet-date {
top: -1.22em;
z-index: unset;
padding-left: unset;
background: unset;
}
.game .del {
width: 2.8em;
height: 2.8em;
}
.game .notime {
display: none;
}
.game .status {
left: 6px;
text-align: left;
top: 2.9rem;
line-height: 1em;
padding: 0;
font-size: 0.9em;
}
.game .ended {
display: none;
}
}


@media screen and (max-width: 380px) {
.game .status {
left: 2px;
}
.balance-frame {
min-width: 300px;
max-width: 320px;
padding-left: 0;
padding-right: 0;
}
.profit-frame {
min-width: 290px;
max-width: 310px;
}
}



.play {
color: var(--game-live-color);
}

.event {
background: var(--game-event-color);
}

.goal {
color: var(--game-live-color);
}

.game .started {
color: var(--game-secondary-color);
}

.game .ended {
color: var(--game-secondary-color);
}

.game .end {
color: var(--game-secondary-color);
}

.bl {
animation: blink 1.2s step-end infinite;
}

@keyframes blink {
50% { opacity: 0; }
}



.tip-top {
display: block;
line-height: 1.4em;
margin-top: 1.8em;
padding-bottom: 0.42em;
text-align: center;
white-space: nowrap;
border-bottom: 1px solid var(--game-border-color);
}

.tip-bet {
font-weight: bold;
}

.tip-bookie {
display: inline-block;
font-weight: normal;
font-size: 0.78em;
vertical-align: 0.08em;
color: var(--tertiary-color);
}

.tip-date {
font-weight: normal;
font-size: 0.78em;
margin-bottom: 0.12em;
color: var(--quaternary-color);
}

.calc {
text-align: center;
line-height: 1.8em;
margin-bottom: 3.8em;
white-space: nowrap;
font-weight: bold;
font-size: 0.92em;
color: var(--main-color);
}

.tip-bottom {
height: 3.2em;
white-space: nowrap;
color: var(--main-color);
}

.tip-space {
height: 1.8em;
}

.tip-bottom:last-of-type {
border-bottom: none;
}

.game .win {
color: var(--tip-win-color);
}
.game .loss {
color: var(--tip-loss-color);
}
.game .nobet {
color: var(--tip-nobet-color);
}
.game .psp {
color: var(--tip-psp-color);
}

.win {
color: var(--tip-win-color);
}
.loss {
color: var(--tip-loss-color);
}
.nobet {
color: var(--tip-nobet-color);
}
.psp {
color: var(--tip-psp-color);
}


@media screen and (max-width: 640px) {
.tip-top {
margin-top: 2em;
}
.calc {
margin-top: 0.32em;
margin-bottom: 4.8em;
}
.balance-date span {
display: block;
line-height: 1.5em;
}
}




