/*
* Games, scores and fixtures
*/

#games {
margin: 0.6em auto 5.2em auto;
}

.league-header {
margin-top: 3.2em;
height: 2.2em;
line-height: 2.2em;
color: #ffffff;
background: #27ae60;
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;
text-overflow: ellipsis;
}

.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 #f1f2f6;
}

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: 194px;
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 .info {
display: block;
width: 72px;
position: absolute;
top: 0;
right: 162px;
height: 2.6em;
line-height: 2.6em;
text-align: right;
}

.game .info .tv {
display: inline-block;
height: 2.6em;
width: 20px;
background-image: url("/svg/tv.svg");	
background-position: center 52%;
background-repeat: no-repeat;
background-size: contain;
}

.game .info .pr {
display: inline-block;
height: 2.6em;
line-height: 2.6em;
width: 52px;
}

.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: 768px) {
.game .time {
left: 4px;
}
.game .teams {
margin-left: 92px;
margin-right: 190px;
}
.game .odds {
width: 156px;
}
.game .odds .o1, .game .odds .oX, .game .odds .o2  {
width: 52px;
}
.game .noodds .o1, .game .noodds .oX, .game .noodds .o2 {
padding-right: 12px;
width: 40px;
}
.game .info {
width: 70px;
right: 152px;
}
.game .info .pr {
width: 48px;
}
.game .status {
left: 42px;
}
}


@media screen and (max-width: 720px) {
.game .time {
left: 2px;
}
.game .teams {
margin-left: 80px;
margin-right: 180px;
}
.game .odds {
width: 132px;
}
.game .odds .o1, .game .odds .oX, .game .odds .o2  {
width: 44px;
}
.game .noodds .o1, .game .noodds .oX, .game .noodds .o2 {
padding-right: 10px;
width: 34px;
}
.game .info {
width: 70px;
right: 132px;
}
.game .info .pr {
width: 46px;
}
.game .status {
left: 40px;
}
}


@media screen and (max-width: 640px) {
.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: #7f8fa6;
}
.game .teams {
margin-left: 0;
margin-right: 0;
}
.game .info {
right: 6px;
top: 2.42rem;
height: 1.46em;
line-height: 1.46em;
padding: 0;
font-size: 0.9em;
color: #7f8fa6;
}
.game .info .tv {
font-size: 1rem;
height: 1em;
line-height: 1em;
vertical-align: -0.1em;
}
.game .info .pr {
height: 1.4em;
line-height: 1.4em;
width: 42px;
}
.game .odds {
position: relative;
right: 0;
height: 1.6em;
line-height: 1em;
width: 100%;
text-align: center;
}
.game .odds .o1, .game .odds .o2, .game .odds .oX {
display: inline-block;
float: none;
width: 44px;
color: #7f8fa6;
}
.game .odds .o1 {
text-align: right;
margin-right: 38px;
}
.game .odds .o2 {
text-align: left;
margin-left: 38px;
}
.game .odds .oX {
text-align: center;
}
.game .noodds .o1, .game .noodds .oX, .game .noodds .o2 {
padding: 0;
}
.game .noodds .o1 {
margin-right: 48px;
}
.game .noodds .o2 {
margin-left: 48px;
}
.game .noscore {
display: none;
}
.game .notime {
display: none;
}
.game .noodds {
/* display: none; */
}
.game .status {
left: 6px;
text-align: left;
top: 2.6rem;
line-height: 1em;
padding: 0;
font-size: 0.9em;
}
.game .ended {
display: none;
}
}


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

@media screen and (max-width: 380px) {
.game .info {
right: 2px;
}
.game .odds .o1 {
margin-right: 32px;
}
.game .odds .o2 {
margin-left: 32px;
}
.game .noodds .o1 {
margin-right: 42px;
}
.game .noodds .o2 {
margin-left: 42px;
}
.game .status {
left: 2px;
}
}

@media screen and (max-width: 320px) {
.game .odds .o1 {
margin-right: 24px;
}
.game .odds .o2 {
margin-left: 24px;
}
.game .noodds .o1 {
margin-right: 34px;
}
.game .noodds .o2 {
margin-left: 34px;
}
}



.play {
color: #d63031;
}

.event {
background: #dfe4ea;
}

.goal {
color: #b33939;
}

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

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

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

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