/*
* Games, scores and fixtures
*/

.league-header {
margin-top: 3.2em;
height: 2.2em;
line-height: 2.2em;
color: #ffffff;
background: #2980b9;
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: #34495e;
border-bottom: 1px solid #ecf0f1;
}

a.game:visited {
color: #34495e;
}

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 .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: 154px;
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;
}

.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 .status {
display: block;
white-space: nowrap;
text-align: center;
position: absolute;
top: 0;
left: 48px;
width: 48px;
padding: 0 6px;
}


@media screen and (max-width: 480px) {
.game {
height: 4.4em;
}
.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: #577593;
}
.game .teams {
margin-left: 0;
margin-right: 0;
}
.game .odds {
display: block;
position: relative;
right: 0;
height: 1.6em;
line-height: 1em;
width: 100%;
}
.game .odds .o1, .game .odds .o2 {
width: 50%;
}
.game .odds .o1 {
float: left;
text-align: right;
}
.game .odds .o2 {
float: right;
text-align: left;
}
.game .odds .o1 span {
margin-right: 38px;
}
.game .odds .o2 span {
margin-left: 38px;
}
.game .noodds .o1, .game .noodds .o2 {
width: 50%;
padding-right: 0;
}
.game .noodds .o1 {
float: left;
text-align: right;
}
.game .noodds .o2 {
float: right;
text-align: left;
}
.game .noodds .o1 span {
margin-right: 46px;
}
.game .noodds .o2 span {
margin-left: 46px;
}
.game .odds .oX {
text-align: center;
position: absolute;
top: 0;
left: 50%;
margin-left: -22px;
width: 44px;
float: none;
}
.game .odds .o1, .game .odds .oX, .game .odds .o2 {
color: #577593;
font-weight: 300;
}
.game .noscore {
display: none;
}
.game .notime {
display: none;
}
.game .noodds {
/* display: none; */
}
.game .scsm {
line-height: 1.92em;
}
.game .status {
text-align: center;
font-weight: normal;
top: 1.62rem;
left: 50%;
margin-left: -22px;
width: 44px;
padding: 0;
font-size: 0.76em;
line-height: 1em;
background-color: white;
z-index: 100;
}
.game .ended {
display: none;
}
}


@media screen and (max-width: 420px) {
.league-header {
border-radius: 0;
}
}



.play {
color: #e74c3c;
}

.event {
background: #c5eff7;
}

.goal {
color: #d91e18;
}

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

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

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

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

@keyframes blink {
60% { opacity: 0 }
}


.games-top {
margin: 32px auto 18px auto;
text-align: center;
}

.games-inside {
margin: 52px auto -8px auto;
text-align: center;
}

.bookie-games {
margin: 2.32em auto -1.32em auto;
width: 192px;
height: 51px;
border-radius: 5px;
}
