/*
* Styles for facts pages
*/

#facts {
margin: 0.6em auto 5.2em auto;
color: #30336b;
display: flex;
}

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

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


@media screen and (max-width: 1024px) {
.game-space {
padding-left: 0.6em;
padding-right: 0.6em;
}
}

@media screen and (max-width: 420px) {
.game-space {
padding-left: 0.42em;
padding-right: 0.42em;
}
}

@media screen and (max-width: 360px) {
.game-space {
padding-left: 0.22em;
padding-right: 0.22em;
}
}


h1.fact-title {
text-align: center;
font-weight: normal;
font-size: 1.32em;
line-height: 1.4em;
}

h1.fact-title span {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
display: inline-block;
max-width: 100%;
vertical-align: bottom;
}

h2 {
margin: 1.72em 0 1em 0;
font-size: 1.32em;
font-weight: normal;
text-align: center;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}


@media screen and (max-width: 360px) {
h1.fact-title {
font-size: 1.12em;
}
}



.facts-link {
margin: 2.2em auto 1.72em auto;
text-align: right;
}

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

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

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


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



.game {
display: block;
width: 100%;
position: relative;
line-height: 2.6em;
color: #30336b;
border-top: 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 .flag {
display: block;
white-space: nowrap;
text-align: center;
position: absolute;
top: 0;
left: 6px;
width: 30px;
}

.game .flag img {
vertical-align: -3px;
}

.game .time {
display: block;
white-space: nowrap;
text-align: right;
position: absolute;
top: 0;
left: 42px;
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: 92px;
margin-right: 72px;
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 .status {
display: block;
white-space: nowrap;
text-align: right;
position: absolute;
top: 0;
right: 6px;
width: 64px;
}


@media screen and (max-width: 640px) {
.game .flag {
width: 24px;
}
.game .time {
text-align: center;
font-weight: normal;
top: 0;
left: 50%;
margin-left: -22px;
width: 44px;
font-size: 0.82em;
color: #7f8fa6;
}
.game .teams {
margin-left: 36px;
margin-right: 36px;
}
.game .noscore {
display: none;
}
.game .notime {
display: none;
}
.game .status {
font-size: 0.82em;
}
.game .ended {
display: none;
}
}


@media screen and (max-width: 360px) {
.game .flag {
left: 2px;
}
.game .status {
right: 2px;
}
}



.play {
color: #d63031;
}

.event {
background: #dfe4ea;
}

.goal {
color: #b33939;
}

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

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

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


.fact {
margin-bottom: 3.6em;
}

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

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





.facts-div {
margin: -0.72em auto 1.52em auto;
text-align: center;
}

.facts-div a {
color: #0057a0;
text-decoration: none;
}

.facts-div a:hover {
text-decoration: underline;
}

.facts-div a:visited {
color: #0057a0;
}

.facts-div span {
white-space: nowrap;
padding: 0 0.32em;
}

.facts-div-home {
padding: 0.52em 0;
border-bottom: 1px solid #f1f2f6;
width: max-content;
margin: 0 auto;
}

.facts-div-away {
padding: 0.52em 0;
border-top: 1px solid #f1f2f6;
width: max-content;
margin: 0 auto;
}


@media screen and (max-width: 760px) {
.facts-div {
margin: -0.72em auto 1.52em auto;
text-align: unset;
width: max-content;
}
.facts-div span {
padding: 0;
margin: 0.32em 0.72em;
display: block;
width: max-content;
}
.facts-div-home {
display: inline-block;
border-bottom: unset;
border-right: 1px solid #f1f2f6;
width: max-content;
}
.facts-div-away {
display: inline-block;
border-top: unset;
border-left: 1px solid #f1f2f6;
width: max-content;
}
}

@media screen and (max-width: 460px) {
.facts-div-home {
display: block;
border-bottom: 1px solid #f1f2f6;
border-right: unset;
}
.facts-div-away {
display: block;
border-top: 1px solid #f1f2f6;
border-left: unset;
}
}




.facts-nav {
margin: 1.52em auto;
text-align: center;
}

.facts-nav a {
color: #0057a0;
text-decoration: none;
white-space: nowrap;
padding: 0 0.32em;
}

.facts-nav a:hover {
text-decoration: underline;
}

.facts-nav a:visited {
color: #0057a0;
}

.facts-nav-title {
padding: 0 0.52em 0 0.32em;
font-weight: bold;
}

.facts-nav-more {
padding: 0.52em 0;
border-bottom: 1px solid #f1f2f6;
width: max-content;
margin: 0 auto;
}

.facts-nav-less {
padding: 0.52em 0;
border-top: 1px solid #f1f2f6;
width: max-content;
margin: 0 auto;
}


@media screen and (max-width: 760px) {
.facts-nav {
text-align: unset;
width: max-content;
}
.facts-nav a {
padding: 0;
margin: 0.32em 0.72em;
display: block;
width: max-content;
}
.facts-nav-title {
padding: 0;
margin: 0.32em 0.72em 0.72em 0.72em;
display: block;
width: max-content;
}
.facts-nav-more {
display: inline-block;
border-bottom: unset;
border-right: 1px solid #f1f2f6;
}
.facts-nav-less {
display: inline-block;
border-top: unset;
border-left: 1px solid #f1f2f6;
}
}

@media screen and (max-width: 460px) {
.facts-nav-more {
display: block;
border-bottom: 1px solid #f1f2f6;
border-right: unset;
}
.facts-nav-less {
display: block;
border-top: 1px solid #f1f2f6;
border-left: unset;
}
}



table.facts {
width: 100%;
margin: 0;
border-collapse: collapse;
}

table.facts th {
vertical-align: top;
line-height: 2.2em;
text-align: center;
font-weight: bold;
background: #218c74;
color: #ffffff;
}

table.facts th:first-of-type {
border-radius: 2px 0 0 0;
}

table.facts th:last-of-type {
border-radius: 0 2px 0 0;
}

table.facts td {
line-height: 2.2em;
border-bottom: 1px solid #f1f2f6;
}

table.facts td.tm {
vertical-align: top;
padding-left: 10px;
}

table.facts td.ps {
width: 24px;
white-space: nowrap;
text-align: right;
padding-right: 12px;
}

table.facts td.sc, table.facts td.gm {
width: 52px;
white-space: nowrap;
text-align: right;
padding-right: 32px;
}

table.facts td.pr {
width: 72px;
white-space: nowrap;
text-align: right;
padding-right: 24px;
}

table.facts a {
text-decoration: none;
color: #0057a0;
}

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

table.facts a:visited {
color: #0057a0;
}

table.facts .st {
display: none;
}

.fgl {
display: inline-block;
margin: 0 0 0 0.52em;
width: 2.2em;
height: 2.2em;
line-height: 2.2em;
vertical-align: top;
text-align: center;
}

.fgl img {
width: 24px;
vertical-align: middle;
}

.fgl:hover {
background-color: #ecf0f1;
}


@media screen and (max-width: 768px) {
table.facts a.tl {
display: inline-block;
width: calc(100% - 2.92em);
}
}


@media screen and (max-width: 640px) {
table.facts th:first-of-type, table.facts th:last-of-type {
border-radius: 0;
}
}


@media screen and (max-width: 480px) {
table.facts .lt {
display: none;
}
table.facts .st {
display: unset;
}
table.facts td.ps {
width: 24px;
padding-right: 6px;
}
table.facts td.tm {
padding-left: 8px;
}
table.facts td.sc, table.facts td.gm {
width: 28px;
padding-right: 12px;
}
table.facts td.pr {
width: 52px;
padding-right: 12px;
}
}


@media screen and (max-width: 360px) {
table.facts td.ps {
width: 22px;
padding-right: 4px;
}
table.facts td.tm {
padding-left: 6px;
}
table.facts td.sc, table.facts td.gm {
width: 26px;
padding-right: 10px;
}
table.facts td.pr {
width: 48px;
padding-right: 8px;
}
}




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

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



@media screen and (max-width: 932px) {
#facts {
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-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;
}
}
