/*
* Styles included everywhere
*/
html, body {
margin: 0;
padding: 0;
height: 100%;
font-family: sans-serif, -apple-system, "Roboto";
font-size: 16px;
background: #ffffff;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
}

html {
overflow-y: scroll;
}

body {
display: flex;
flex-direction: column;
}

div#main, div#mainb {
margin: 0 auto;
width: 100%;
max-width: 990px;
background: #ffffff;
flex: 1;
}

html.bck, body.bck, div#mainb {
background: #f8f8f8;
}


/*
* Header and top navigation
*/
header {
margin: 0 auto;
width: 100%;
max-width: 990px;
clear: both;
position: relative;
}

nav.top-nav {
height: 2.8em;
background: #218c74;
font-size: 1.1em;
}

nav.top-nav a {
display: block;
margin: 0;
float: left;
height: 2.8em;
line-height: 2.8em;
padding: 0 1em;
color: #ffffff;
text-decoration: none;
border-right: 1px solid #1f7f69;
border-left: 1px solid #23997d;
}

nav.top-nav a:first-of-type {
border-left: unset;
}

nav.top-nav a:last-of-type {
border-right: unset;
}

nav.top-nav a:hover {
background: #16a085;
}

#nav-label {
text-decoration: none;
color: #ffffff;
text-align: left;
padding: 10px 10px;
margin-right: 6px;
float: left;
display: none;
transform: translate3d(0, 0, 0);
transition: transform ease-out 200ms;
}

#nav-label:hover {
cursor: pointer;
}

#nav-checkbox {
display: none;
}

#nav-checkbox:checked ~ #top-nav {
display: block;
}

#burger {
margin-top: 5px;
display: inline-block;
position: relative;
width: 26px;
height: 22px;
}

.hamburger {
width: 26px;
height: 3px;
background: #ffffff;
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-left: -12px;
margin-top: -3px;
transition: transform 200ms;
}

#brg1 {
transform: translate3d(0, -8px, 0);
}
#brg2 {
transform: translate3d(0, 0, 0);
}
#brg3 {
transform: translate3d(0, 8px, 0);
}

#nav-checkbox:checked ~ #nav-label #brg1 {
transform: translate3d(0, 0, 0) rotate(45deg) scale(1.2, 1);
}
#nav-checkbox:checked ~ #nav-label #brg2 {
transform: translate3d(0, 0, 0) scale(0.1, 1);
}
#nav-checkbox:checked ~ #nav-label #brg3 {
transform: translate3d(0, 0, 0) rotate(-45deg) scale(1.2, 1);
}

#nav-title {
float: left;
display: none;
line-height: 2.6em;
font-size: 1.2em;
color: #ecf0f1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: calc(100% - 104px);
}

#nav-controls {
position: absolute;
top: 6px;
right: 8px;
height: 32px;
}

#nav-controls a:hover {
background-color: #16a085;
}

.nav-icons {
display: inline-block;
width: 32px;
height: 32px;
margin-left: 10px;
background-size: contain;
}

#nav-icon-login {
background-image: url("/svg/login.svg");
}

#nav-close {
display: block;
width: 100%;
background: #16a085;
}

#nav-close:hover {
cursor: pointer;
background: #16a085;
}

#burger-close {
display: none;
padding: 0.6em 0;
}

#burgerc {
display: inline-block;
position: relative;
}

.hamburger1 {
width: 26px;
height: 3px;
background: #ffffff;
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-left: -13px;
margin-top: -6px;
}

#brgc1 {
transform: rotate(45deg) scale(1.2, 1);
}
#brgc2 {
transform: rotate(-45deg) scale(1.2, 1);
}

#header-logo {
display: none;
}






/*
* Footer and bottom navigation
*/
nav.bottom-nav {
margin: 0 auto;
width: 100%;
max-width: 990px;
text-align: center;
height: 2.2em;
background: #218c74;
}

nav.bottom-nav a {
display: inline-block;
height: 2.2em;
line-height: 2.2em;
padding: 0 1em;
color: #ffffff;
text-decoration: none;
border-right: 1px solid #1f7f69;
border-left: 1px solid #23997d;
}



nav.bottom-nav a:first-of-type {
border-left: unset;
}

nav.bottom-nav a:last-of-type {
border-right: unset;
}

nav.bottom-nav a:hover {
background: #16a085;
}

footer {
width: 100%;
max-width: 990px;
clear: both;
margin: 1.52em auto 2.4em auto;
text-align: center;
line-height: 1.6em;
}

#footer-nav {
margin-bottom: 1.52em;
}

#footer-nav a {
color: #0057a0;
text-decoration: none;
margin: 0 0.92em;
padding: 0.32em 0.16em;
}

#footer-nav a:hover {
text-decoration: underline;
}

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

#notice {
color: #b33939;
margin-bottom: 1.52em;
}

#copyright {
color: #218c74;
font-size: 0.9em;
}





/*
* Date navigation
*/
#date-nav-wrapper {
position: relative;
margin-bottom: 1.2em;
min-height: 48px;
}

#date-nav {
position: absolute;
top: 0;
right: 0;
margin-right: 0;
margin-left: auto;
width: 280px;
max-width: 280px;
height: 36px;
text-align: center;
background: #dfe4ea;
border: 6px solid #f1f2f6;
}

#date-nav-title {
margin: 0;
padding: 0.52em 0 0 0;
margin-right: 292px;
text-align: center;
line-height: 1.2em;
font-size: 1.3em;
font-weight: normal;
color: #30336b;
}

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

#dn-title {
display: inline-block;
line-height: 36px;
font-size: 1.1em;
text-transform: lowercase;
color: #30336b;
}

#dn-left, #dn-right {
display: block;
width: 36px;
height: 36px;
line-height: 36px;
background: #218c74;
}
#dn-left:hover, #dn-right:hover {
background: #16a085;
}
#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;
}
.dn-left-arrow {
background-image: url("/svg/arrow-left.svg");
}
.dn-right-arrow {
background-image: url("/svg/arrow-right.svg");
}
.dn-disabled {
background-color: #ced6e0;
}


.sort-by-hour {
margin-top: 2.2em;
font-size: 1.2em;
text-align: center;
}

.sort-by-hour a {
text-decoration: none;
color: #0057a0;
}

.sort-by-hour a:hover {
text-decoration: underline;
}

.sort-by-hour a:visited {
color: #0057a0;
}

@media screen and (max-width: 360px) {
.sort-by-hour {
font-size: 1em;
font-weight: bold;
}
}

.sort-by-hour-top {
margin-top: 0.52em;
margin-bottom: 0.52em;
text-align: right;
}

@media screen and (max-width: 932px) {
.sort-by-hour-top {
margin-right: 1em;
}
}

@media screen and (max-width: 660px) {
.sort-by-hour-top {
margin-top: 0.92em;
}
}

@media screen and (max-width: 580px) {
.sort-by-hour-top {
margin-top: 1.12em;
margin-bottom: 0.92em;
text-align: center;
margin-right: 0;
margin-left: 0;
}
}


/*
* Styles about error and info messages
*/
#system-message {
position: relative;
max-width: 640px;
margin: 1.2em auto 1.2em auto;
padding: 1.6em;
text-align: left;
font-size: 1.1em;
line-height: 1.6em;
border: 3px solid #d1d8e0;
background: #f1f2f6;
}

.info-message {
color: #218c74;
}

.error-message {
color: #b33939;
}

#system-message-close-button {
position: absolute;
top: 3px;
right: 3px;
}

.missing-object {
margin-top: 10vh;
margin-bottom: 15vh;
padding: 0 0.6em;
text-align: center;
font-size: 1.3em;
line-height: 1.6em;
color: #b33939;
}

.no-data {
margin-top: 10vh;
margin-bottom: 15vh;
padding: 0 0.6em;
text-align: center;
font-size: 1.3em;
line-height: 1.6em;
color: #b33939;
}

.no-data-msg {
margin-top: 1.2em;
margin-bottom: 1.2em;
padding: 0 0.6em;
text-align: center;
font-size: 1.3em;
line-height: 1.6em;
color: #b33939;
}

#switch {
margin: 2.2em auto 1em auto;
text-align: center;
}

#switch a {
color: #ffffff;
text-decoration: none;
border-radius: 5px 5px;
padding: 0.6em 1.2em;
background: #218c74;
}

#switch a:visited {
color: #ffffff;
}

#switch a:hover {
color: #ffffff;
background: #16a085;
}

.clear {
clear: both;
}

iframe {
border: 0;
overflow: hidden;
}

img {
border-width: 0;
}

.center {
text-align: center;
}

.right {
text-align: right;
}

.left {
text-align: left;
}

.bold {
font-weight: bold;
}

.red {
color: #b33939;
}

.green {
color: #218c74;
}

.country-flag {
width: 24px;
height: 18px;
background: #ffffff;
}

.international-flag {
width: 24px;
height: 18px;
background: #ffffff;
}

.missing-tournament {
width: 24px;
height: 18px;
background: #ffffff;
}

.action-successful {
clear: both;
font-weight: bold;
font-size: 1.25em;
line-height: 1.6em;
text-indent: 1.6em;
color: #b33939;
}

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

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

.dc {
position: relative;
max-width: 100%;
display: block;
}

.dce {
position: absolute;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
max-width: 100%;
width: 100%;
top: 0;
left: 0;
}

.dce a {
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.modal-hidden {
display: none;
}

.modal-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10000;
background: rgba(0, 0, 0, 0.8);
overflow: hidden;
}

.modal-over {
z-index: 11500;
}





@media screen and (min-width: 768px) {
#header-logo {
display: block;
width: 100%;
height: 120px;
background: url("/images/tipster-football.png") no-repeat 0 center, url("/images/header-new.jpg") no-repeat center;
background-size: 320px 120px, 100% 100%;
}
#nav-controls {
top: 128px;
}
}



@media screen and (max-width: 720px) {
#system-message {
max-width: 720px;
margin-left: 1em;
margin-right: 1em;
}
}



@media screen and (max-width: 640px) {
header {
background: #218c74;
z-index: 1000;
position: fixed;
width: 100%;
top: 0;
}
div#main, div#mainb {
margin-top: 3.2em;
}
nav.top-nav {
display: none;
margin-left: 0;
}
nav.top-nav a {
width: 100%;
text-align: center;
padding: 0;
height: 3.2em;
line-height: 3.2em;
border-right: unset;
border-left: unset;
border-top: 1px solid #23997d;
border-bottom: 1px solid #1f7f69;
}
#nav-label {
display: inline-block;
}
#nav-title {
display: inline-block;
}
#burger-close {
display: inline-block;
}
#nav-controls {
top: 8px;
}
nav.bottom-nav {
height: unset;
padding-top: 0.8em;
padding-bottom: 0.8em;
}
nav.bottom-nav a {
height: unset;
line-height: unset;
border-right: unset;
border-left: unset;
}
nav.bottom-nav a {
display: block;
width: max-content;		
margin: 0.08em auto;
padding: 0.48em 0.52em;
}
footer span {
display: block;
}
#footer-nav a {
display: block;
width: max-content;		
margin: 0.08em auto;
padding: 0.24em 0.52em;
}
}


@media screen and (max-width: 580px) {
#date-nav-wrapper {
margin-bottom: 0.6em;
}
#date-nav {
position: relative;
width: inherit;
}
#date-nav-title {
margin-right: 0;
padding-top: 0;
font-size: 1.16em;
line-height: 1.32em;
margin-bottom: 0.48em;
}
}

@media screen and (max-width: 420px) {
#date-nav {
max-width: 420px;
}
}



.top-ad, .top-ad-2, .top-ad-3 {
margin: 0 auto 0 auto;
width: 272px;
height: 62px;
}

.top-ad-2 {
margin-bottom: -1.8em;
}

.top-ad-3 {
margin-bottom: 1.8em;
}

.top-ad img, .top-ad-2 img, .top-ad-3 img {
width: 272px;
height: 62px;
border-radius: 5px;
background: #027b5b;
}

.inner-ad, .inner-ad-2 {
margin: 0 auto 0 auto;
width: 320px;
height: 100px;
}

.inner-ad-2 {
margin-top: 2.4em;
}

.module-ad-wrapper {
margin: 0 auto 0 auto;
width: 250px;
background: #f8f8ff;
}

.module-ad {
margin: 0 auto 0 auto;
width: 234px;
height: 60px;
}

.module-ad-big {
margin: 0 auto 0 auto;
width: 250px;
height: 250px;
}

@media screen and (max-width: 932px) {
.module-ad-wrapper {
background: unset;
}
.module-ad {
margin-top: 3.2em;
margin-bottom: 1.8em;
}
.module-ad-big {
margin-top: 3.2em;
}
}

.footer-ad {
margin: 0.52em auto 3.2em auto;
width: 300px;
height: 300px;
padding-bottom: 150px;
text-align: center;
}


.top-ad-m {
margin: 0 auto 0 auto;
width: 300px;
height: 250px;
}

.top-ad-i {
margin-top: 3.2em;
}



.module-cc-ad:not(:empty) {
margin: 0 auto;
width: 100%;
max-width: 990px;
text-align: center;
}

.clever-core-ads:not(:empty) {
margin-top: 30px;
margin-bottom: 30px;
height: 250px;
}

@media screen and (max-width: 640px) {
.clever-core-ads:not(:empty) {
margin-top: 50px;
margin-bottom: 50px;
}
}

.adscb {
margin-top: 3.2em;
height: 250px;
}


.tipsomatic {
margin: 40px auto 30px auto;
width: 100%;
max-width: 990px;
text-align: center;
}

.tipsomatic a {
font-size: 1.32em;
color: #b33939;
text-decoration: none;
}

.tipsomatic a:hover {
text-decoration: underline;
}

.tipsomatic a:visited {
color: #b33939;
}



.inside-ad {
margin: 42px auto -8px auto;
text-align: center;
}

.inside-ad-wrapper {
margin-bottom: 60px;
}


.adsTxt {
text-align: center;
margin: 0 auto 10px auto; 
}

.adsTxt1 {
text-align: center;
margin: 15px auto -10px auto; 
}
