/*
* Games, scores and fixtures
*/

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

#data-col {
flex-grow: 1;
max-width: 720px;
}

#widgets {
flex: 0 0 250px;
margin-left: 20px;
}


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












.module {
padding: 2.2em 0 1.8em 0;
background: #f8f8ff;
color: #30336b;
}

.module-title {
text-align: center;
color: #218c74;
font-size: 1.2em;
line-height: 1.32em;
margin-bottom: 0.92em;
}

.module-title span {
white-space: nowrap;
}

.module-links {
margin-left: 1.32em;
line-height: 1.82em;
}

.module-links a {
display: block;
text-decoration: none;
color: #0057a0;
max-width: 212px;
width: max-content;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.module-links a:hover {
text-decoration: underline;
}

.module-links a:visited {
color: #0057a0;
}

.module-empty {
height: 7.2em;
}

.module-no-data {
margin: 3.2em 0.32em;
text-align: center;
font-size: 1.12em;
line-height: 1.6em;
color: #b33939;
}

.module-all {
margin-top: 1.32em;
text-align: center;
font-size: 1.2em;
line-height: 1.32em;
}

.module-all a {
text-decoration: none;
color: #0057a0;
}

.module-all a:hover {
text-decoration: underline;
}

.module-all a:visited {
color: #0057a0;
}

.module-data {
margin: 0 1em;
}

.top-fact {
margin: 0.64em 0 0.64em 1.32em;
line-height: 1.32em;
text-indent: -1.32em;
}

.top-fact span {
vertical-align: 1px;
}

.top-fact a {
text-decoration: none;
color: #0057a0;
}

.top-fact a:hover {
text-decoration: underline;
}

.top-fact a:visited {
color: #0057a0;
}



.module-border {
border-top: 1px solid #d1d8e0;
}

.tv-program {
margin: 1em auto 1em auto;
text-align: center;
max-width: 240px;
padding: 0.92em 0;
border-bottom: 1px solid #dfe4ea;
}

.tv-img {
display: block;
}

.tv-img img {
width: 120px;
height: 48px;
padding: 0.3em;
border: 1px solid #d1d8e0;
}

.tv-game {
display: block;
line-height: 1.48em;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
margin: 0.6em auto 0 auto;
}

.tv-live {
font-size: 0.88em;
}

.tv-program a {
color: #0057a0;
text-decoration: none;
}

.tv-program a:hover {
text-decoration: underline;
}

.tv-program a:visited {
color: #0057a0;
}


@media screen and (max-width: 932px) {
#games {
display: unset;
}
#data-col {
flex-grow: unset;
max-width: unset;
margin-top: 0.6em;
}
#widgets {
flex: unset;
margin-left: unset;
}
.module {
background: unset;
border-top: unset;
margin-top: 3.8em;
margin-bottom: 3.2em;
padding: 0 0.52em;
}
.module-border {
border-top: unset;
}
.module-links {
margin-left: auto;
margin-right: auto;
width: max-content;
max-width: 100%;
line-height: 1.42em;
}
.module-links a {
width: max-content;
max-width: 100%;
padding: 0.24em 0;
}
.module-data {
margin-left: auto;
margin-right: auto;
}
.top-fact {
margin: 0.64em 0;
text-indent: 1.32em;
}
}


@media screen and (max-width: 932px) {
.tv-list {
margin-bottom: 7.2em;
}
.tv-program {
padding: 0.92em 0.6em;
border-bottom: 1px solid #f1f2f6;
max-width: 520px;
}
.tv-img img {
border-color: #f1f2f6;
}
.tv-game {
max-width: 360px;
}
.module-border {
padding: unset;
}
}


@media screen and (max-width: 932px) and (min-width: 580px) {
.tv-program {
text-align: left;
}
.tv-img {
display: inline-block;
}
.tv-game {
display: inline-block;
vertical-align: 0.2em;
margin: 0 0 0 20px;
}
.tv-live {
padding-left: 1.2em;
}
}


@media screen and (max-width: 580px) {
.tv-program {
text-align: center;
}
.tv-img {
display: block;
}
.tv-game {
display: block;
vertical-align: unset;
margin: 0.6em auto 0 auto;
}
.tv-live {
padding: 0;
}
}
