/*
* Styles for livescores
*/

#lives {
margin: 0.6em auto 5.2em auto;
color: #30336b;
}

#lives h1 {
margin: 0.6em 0 1.32em 0;
text-align: center;
font-weight: normal;
font-size: 1.5em;
line-height: 1.4em;
}

.not-supported {
line-height: 1.6em;
text-indent: 1.6em;
background: #f1f2f6;
color: #b33939;
padding: 0.32em 0.52em;
display: none;
}

.league-header {
margin-top: 3.2em;
height: 2.2em;
line-height: 2.2em;
color: #ffffff;
background: #218c74;
border-radius: 2px 2px 0 0;
white-space: nowrap;
position: relative;
}

.league-header:first-of-type {
margin-top: 0.8em;
}

.league-date {
margin-left: 12px;
}

.league-name {
display: block;
margin-left: 46px;
}

.league-name span {
display: block;
white-space: nowrap;
overflow: hidden;
}

.league-flag {
display: block;
position: absolute;
left: 10px;
}

.league-flag img {
vertical-align: -4px;
}

.game {
display: block;
width: 100%;
position: relative;
line-height: 2.6em;
color: #30336b;
border-bottom: 1px solid #f1f2f6;
}

a.game:visited {
color: #30336b;
}

a.game:hover {
background: #ecf0f1;
}

a.game:hover .home, a.game:hover .away {
text-decoration: underline;
}


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

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

.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 {
position: relative;
display: block;
margin-left: 96px;
margin-right: 252px;
height: 2.6em;
line-height: 2.6em;
}

.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 .odds {
display: block;
width: 168px;
position: absolute;
top: 0;
right: 6px;
height: 2.6em;
line-height: 2.6em;
}

.game .odds .o1, .game .odds .oX, .game .odds .o2  {
display: block;
white-space: nowrap;
text-align: right;
float: left;
width: 56px;
}

.game .noodds .o1, .game .noodds .oX, .game .noodds .o2 {
padding-right: 12px;
width: 44px;
}

.game .prev {
display: block;
width: 52px;
white-space: nowrap;
text-align: center;
position: absolute;
top: 0;
right: 228px;
}

.game .half {
display: block;
width: 52px;
white-space: nowrap;
text-align: center;
position: absolute;
top: 0;
right: 168px;
}

.play {
color: #d63031;
}

.event {
background: #dfe4ea;
}

.goal {
color: #b33939;
}

.game, .game span {
transition: background-color 1s linear;
}

.game .started {
color: #95a5a6;
}

.game .ended {
color: #95a5a6;
}

.game .end {
color: #95a5a6;
}

h2 {
margin-top: 3.2em;
margin-bottom: -0.8em;
text-align: center;
font-size: 1.32em;
font-weight: normal;
}

h2:first-of-type {
margin-top: 0.8em;
margin-bottom: 1.6em;
}

h2.finished {
margin-top: 3.2em;
}

@media screen and (max-width: 768px) {
.game .time {
left: 4px;
}
.game .odds {
width: 150px;
}
.game .odds .o1, .game .odds .oX, .game .odds .o2  {
width: 50px;
}
.game .noodds .o1, .game .noodds .oX, .game .noodds .o2 {
padding-right: 12px;
width: 38px;
}
.game .prev {
width: 48px;
right: 198px;
}
.game .half {
width: 48px;
right: 146px;
}
.game .status {
left: 42px;
}
}


@media screen and (max-width: 767px) {
.game .odds {
display: none;
}
.game .prev {
right: 60px;
}
.game .half {
right: 0;
}
.game .teams {
margin-left: 96px;
margin-right: 96px;
}
}


@media screen and (max-width: 568px) {
.game .prev {
display: none;
}
.game .teams {
margin-left: 96px;
margin-right: 52px;
}
}


@media screen and (max-width: 480px) {
.game .status {
left: 0;
}
.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: #7f8fa6;
}
.game .teams {
margin-left: 0;
margin-right: 0;
}
.game .noscore {
display: none;
}
.game .notime {
display: none;
}
}


@media screen and (max-width: 420px) {
.league-header {
border-radius: 0;
}
.game .half {
right: 4px;
text-align: right;
width: 44px;
}
.game .status {
left: 4px;
text-align: left;
width: 24px;
padding: 0 0;
}
}


@media screen and (max-width: 400px) {
.game .half {
display: none;
}
.game .status {
text-align: center;
font-weight: normal;
top: 2.2rem;
left: 50%;
margin-left: -22px;
width: 44px;
font-size: 0.82em;
line-height: 1em;
background-color: white;
z-index: 100;
}
.game .ended {
display: none;
}
}


.odds-info {
margin: 2.2em 0 0 0;
padding: 0 0.42em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 1.6em;
color: #b33939;
}

.live-info {
margin: 0.52em 0 3.2em 0;
padding: 0 0.42em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 1.6em;
color: #b33939;
}




.prev-day-link {
font-size: 1.2rem;
text-align: right;
float: right;
margin-right: 0.52rem;
}

.prev-day-link a {
text-decoration: none;
color: #0057a0;
}

.prev-day-link a:hover {
text-decoration: underline;
}

.prev-day-link a:visited {
color: #0057a0;
}

@media screen and (max-width: 360px) {
.prev-day-link {
font-size: 1rem;
font-weight: bold;
}
}
