/*
* Styles for facts pages
*/

#facts-wrapper {
padding: 1.32em 0 5.2em 0;
}

.gma {
display: block;
width: 100%;
line-height: 2.8em;
color: var(--main-color);
clear: both;
text-decoration: none;
background: var(--facts-bg-color);
}

.gma:hover {
background: var(--facts-hover-color);
}

.gma span {
display: inline-block;
vertical-align: top;
}

.hour {
width: 40px;
padding: 0 0 0 4px;
white-space: nowrap;
}

.flag {
width: 24px;
margin: 0 8px;
text-align: center;
}

.flag img {
margin: 0;
padding: 0;
width: 24px;
height: 18px;
vertical-align: -3px;
background: var(--image-bg-color);
}

.code {
width: 52px;
white-space: nowrap;
overflow: hidden;
}

.res {
width: 64px;
text-align: center;
font-weight: bold;
}

.od {
width: 196px;
color: var(--game-odds-color);
}

.ho1, .do, .ao1 {
width: 64px;
text-align: right;
}

.ht1, .at1 {
width: calc(50% - 226px);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.ht1 {
text-align: right;
}

.at1 {
text-align: left;
}


.win {
font-weight: bold;
}

.lv {
color: var(--game-live-color);
}

.status {
width: 52px;
text-align: right;
color: var(--game-live-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.fact {
margin: 0.92em 0 4.2em 0;
}

.fact p {
padding: 0 0.6em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 0.8em;
}

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


@media screen and (max-width: 768px) {
.hour {
width: 42px;
padding-left: 2px;
}
.flag {
margin-left: 6px;
margin-right: 6px;
}
.code {
width: 42px;
}
.res {
width: 56px;
}
.od {
width: 152px;
}
.ho1, .do, .ao1 {
width: 48px;
}
.ht1, .at1 {
width: calc(50% - 192px);
}
}

@media screen and (max-width: 640px) {
.head {
position: relative;
}
.hour {
font-size: 0.86em;
line-height: 1.8em;
}
.code {
position: absolute;
line-height: 1.32em;
top: 1.72em;
left: 2px;
font-size: 0.86em;
}
.flag {
margin-left: 4px;
margin-right: 4px;
}
.status {
width: 50px;
}
.ht1, .at1 {
width: calc(50% - 168px);
}
}


@media screen and (max-width: 568px) {
.head {
width: 36px;
padding-right: 10px;
line-height: 0;
}
.hour {
display: block;
width: 100%;
padding-top: 3px;
line-height: 1.38em;
font-size: 0.68em;
}
.code {
top: 3.92em;
font-size: 0.68em;
}
.flag {
position: absolute;
display: block;
margin-left: 2px;
text-align: left;
}
.flag img {
margin-top: 3px;
}
.ht1, .at1 {
width: calc(50% - 54px);
}
.gma {
line-height: 1.8em;
padding-top: 0.4em;
padding-bottom: 0.4em;
position: relative;
}
.od {
display: block;
width: 100%;
color: var(--game-odds-secondary-color);
}
.do {
width: 56px;
text-align: center;
}
.ho1 {
width: calc(50% - 28px);
text-align: right;
padding-right: 20px;
}
.ao1 {
width: calc(50% - 74px);
text-align: left;
padding-left: 20px;
}
.status {
position: absolute;
width: 64px;
bottom: 0.42rem;
right: 8px;
font-size: 0.9em;
}
}







/*
* Date navigation
*/
#date-nav-wrapper {
margin: 0 0 2.8em 0;
height: 3em;
}

#date-nav-title {
width: calc(100% - 492px);
float: left;
margin: 0;
padding: 0;
text-align: center;
line-height: 3rem;
font-size: 1.32em;
font-weight: normal;
}

#date-nav-title span {
white-space: unset;
display: inline-block;
vertical-align: bottom;
}

#date-nav {
float: right;
width: 100%;
max-width: 432px;
height: 2.2rem;
text-align: center;
background: var(--date-nav-bg-color);
border: 0.4rem solid var(--date-nav-border-color);
}

#dn-title {
margin: 0;
padding: 0;
display: inline-block;
line-height: 2.2rem;
font-size: 1.12em;
font-weight: normal;
color: var(--main-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: calc(100% - 4.8rem);
}

#dn-left, #dn-right {
display: block;
width: 2.2rem;
height: 2.2rem;
line-height: 2.2rem;
background: var(--date-nav-btn-color);
}
#dn-left {
float: left;
}
#dn-right {
float: right;
}

.dn-left-arrow, .dn-right-arrow {
display: block;
width: 100%;
height: 100%;
background-position: center center;
background-repeat: no-repeat;
background-size: contain;
filter: var(--date-nav-filter);
}
.dn-left-arrow {
background-image: url("/svg/nav-left-arrow.svg");
}
.dn-right-arrow {
background-image: url("/svg/nav-right-arrow.svg");
}
a.dn-left-arrow:hover, a.dn-right-arrow:hover {
background-color: var(--date-nav-btn-hover-color);
}

.dn-disabled {
filter: var(--date-nav-disabled-filter);
}


@media screen and (max-width: 720px) {
#date-nav-title {
float: none;
width: inherit;
}
#date-nav-wrapper {
margin-top: -1.2em;
margin-bottom: 4.8em;
}
}


@media screen and (max-width: 500px) {
#date-nav {
margin-left: auto;
margin-right: auto;
float: none;
width: inherit;
}
}



.event {
background: var(--game-event-color);
}

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

@keyframes blink {
50% { opacity: 0; }
}


.facts-info {
margin: 1.6em 0 3.2em 0;
padding: 0 0.6em;
font-size: 0.92em;
line-height: 1.6em;
text-indent: 0.8em;
color: var(--attention-color);
}
