/*
* Main css included everywhere
*/

html, body {
margin: 0;
padding: 0;
background: #0b58a1;
font-family: sans-serif, -apple-system, "Roboto";
font-size: 16px;
-webkit-text-size-adjust: none;
}

html {
overflow-y: scroll;
}





/*
* Main content section and common styles
*/
div#main {
clear: both;
max-width: 980px;
margin: 0 auto;
background-color: #ffffff;
border-radius: 2px 2px 0 0;
color: #34495e;
}

h1 {
margin: 0.8em 0 1.2em 0;
text-align: center;
font-size: 1.4em;
font-weight: normal;
}

h1 span {
white-space: nowrap;
}

.wide-content, .text-content, .game-content {
padding-top: 1em;
padding-bottom: 3em;
}

.wide-content, .text-content {
margin-left: 15px;
margin-right: 15px;
}

.game-content {
margin-left: 10px;
margin-right: 10px;
}

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

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

.missing-tournament {
width: 16px;
height: 16px;
}

.no-data, .no-data-big {
font-size: 1.4em;
text-align: center;
color: #c0392b;
}

.no-data {
margin: 1em 0 4em 0;
}

.no-data-big {
margin: 3em 0 6em 0;
}

.bold {
font-weight: bold;
}

.center {
text-align: center;
}

.small-caps {
text-transform: lowercase;
}

span.form-win {
background-color: #27ae60;
}

span.form-draw {
background-color: #f39c12;
}

span.form-loss {
background-color: #e74c3c;
}

span.empty {
background-color: #dcdcdc;
}

.clear {
clear: both;
}

.bookie {
width: 82px;
height: 24px;
}

.bookie-button {
margin: 1.52em auto 0.52em auto;
width: 192px;
height: 51px;
border-radius: 5px;
}


/*
* Header and top navigation
*/
header {
clear: both;
}

#header-logo {
max-width: 980px;
margin: 0 auto;
}

nav {
max-width: 980px;
margin: 0 auto;
height: 2.8em;
background: #0c59a3;
border-radius: 2px;
}

nav a {
display: block;
float: left;
height: 2.8em;
line-height: 2.8em;
padding: 0 20px;
color: #ffffff;
text-decoration: none;
text-transform: uppercase;
border-right: 1px solid #1666b3;
border-left: 1px solid #013a70;
margin: 0;
}

nav a:first-of-type {
border-left: 0 none #013a70;
}

nav a:last-of-type {
border-right: 0 none #1666b3;
}

nav a:hover {
background: #07457f;
}

#nav-label {
text-decoration: none;
color: #ffffff;
text-align: left;
padding: 10px 10px;
margin-right: 10px;
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;
}

#nav-icon-open {
margin: 0;
padding: 0;
display: inline-block;
width: 22px;
height: 22px;
background-image: url("/svg/menu.svg");
}

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

.hamburger {
width: 26px;
height: 3px;
background: white;
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;
height: 40px;
line-height: 48px;
font-weight: bold;
font-size: 1.2em;
color: #d0e3f5;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: 82vw;
position: relative;
left: 50%;
right: 50%;
margin-left: -50vw;
margin-right: -42vw;
}

#nav-icon-home {
float: right;
display: none;
width: 24px;
height: 24px;
margin: 10px 12px 0 0;
background-image: url("/svg/home.svg");
}

#nav-close {
display: block;
width: 100%;
background: #0c59a3;
}

#nav-close:hover {
cursor: pointer;
background: #07457f;
}

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

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

.hamburger1 {
width: 26px;
height: 3px;
background: white;
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);
}


/*
* Footer
*/
footer {
clear: both;
max-width: 980px;
margin: 0 auto;
font-size: 0.88em;
margin-bottom: 0.6rem;
}

#copyright {
margin: 0;
padding-top: 0.8em;
text-align: center;
color: #bdc3c7;
line-height: 1.8em;
}

#footer-nav {
margin-top: 1.96em;
text-align: center;
}

#footer-nav a {
display: inline-block;
margin: 0 1em;
color: #dadfe1;
text-decoration: none;
}

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

#footer-nav a:visited {
color: #dadfe1;
}





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

#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: #dadfe1;
border: 6px solid #ecf0f1;
}

#date-nav-title {
margin: 0;
padding: 0;
margin-right: 292px;
line-height: 48px;
text-align: center;
}

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

#dn-left, #dn-right {
display: block;
width: 36px;
height: 36px;
line-height: 36px;
background: #2455c3;
}
#dn-left {
float: left;
border-right: 2px solid #ecf0f1;
}
#dn-right {
float: right;
border-left: 2px solid #ecf0f1;
}

.dn-left-arrow, .dn-right-arrow {
display: block;
width: 100%;
height: 100%;
background-position: center center;
background-repeat: no-repeat
}
.dn-left-arrow {
background-image: url("/svg/left-arrow.svg");
}
.dn-right-arrow {
background-image: url("/svg/right-arrow.svg");
}
.dn-disabled {
background-color: #bdc3c7;
}



/*
* Static content
*/
.static p {
line-height: 1.6em;
text-indent: 2em;
}

.static h2 {
font-size: 17px;
margin-top: 1.8em;
line-height: 1.6em;
text-indent: 2em;
}

.static ul {
list-style: inside;
line-height: 1.6em;
margin-left: 2em;
padding: 0;
}

.static pre {
white-space: pre-wrap;
}

.static .img-float {
float: left;
margin-right: 1.4em;
}

.client-logos img {
margin: 6px;
padding: 2px;
border: 1px solid #bdc3c7;
}

.static p.center {
text-indent: 0;
text-align: center;
}




/*
* Styles about error and info messages
*/
.info-message, .error-message {
width: 75%;
margin: 20px auto 10px auto;
padding: 25px;
text-align: left;
font-weight: bold;
border-width: 2px;
border-style: solid;
border-color: #bdc3c7;
background: #ecf0f1;
}

DIV.info-message {
color: #27ae60;
}

DIV.error-message {
color: #e74c3c;
}







@media screen and (max-width: 980px) {
div#main, nav {
border-radius: 0;
}
}



@media screen and (min-width: 768px) {
body {
background-image: url("/images/page-background.png");
background-repeat: repeat-x;
}
header {
height: 176px;
background: url("/images/prosoccer-background.png") no-repeat center center;
}
#header-logo {
height: 132px;
background: url("/images/prosoccer-logo.png") no-repeat 0 center;
}
div#main {
margin-top: 12px;
}
footer {
height: 230px;
background: url("/images/footer-background.png") no-repeat center top;
background-size: contain;
}
}



@media screen and (max-width: 768px) {
.wide-content, .text-content {
margin-left: 10px;
margin-right: 10px;
}
.game-content {
margin-left: 5px;
margin-right: 5px;
}
#copyright {
padding-top: 1.2em;
}
#footer-nav {
margin-top: 1.6em;
}
}



@media screen and (max-width: 767px) {
h1 {
margin: 0.4em 0 0.8em 0;
}
footer {
padding-top: 0.8em;
margin-bottom: 2rem;
}
#copyright {
padding-top: 1em;
}
#footer-nav {
margin: 1em 0;
}
}



@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;
line-height: 1.2em;
margin-bottom: 0.48em;
}
footer {
margin-bottom: 4.2rem;
}
#footer-nav span {
display: block;
}
#footer-nav a {
margin: 0.6em 0;
}
}



@media screen and (max-width: 480px) {
header {
background: #0b58a1;
z-index: 1000;
position: fixed;
width: 100%;
top: 0;
}
div#main {
margin-top: 2.2em;
padding-top: 0.6em;
}
nav {
display: none;
margin-left: 0;
}
nav a {
width: 100%;
text-align: center;
font-weight: bold;
padding: 0;
height: 3.2em;
line-height: 3.2em;
border-right: 0 none #1666b3;
border-left: 0 none #013a70;
border-top: 1px solid #1666b3;
border-bottom: 1px solid #013a70;
}
#nav-label {
display: inline-block;
}
#nav-title {
display: inline-block;
}
#nav-icon-home {
display: inline-block;
}
#burger-close {
display: inline-block;
}
.client-logos {
text-align: center;
}
}



@media screen and (max-width: 420px) {
#copyright {
line-height: 1.32em;
}
#copyright span {
display: block;
margin: 0.12em 0;
}
.info-message, .error-message {
width: inherit;
}
.wide-content, .game-content {
margin-left: 0;
margin-right: 0;
}
#date-nav {
max-width: 420px;
}
}



#footer-ad {
margin: 0.5em auto 3.2em auto;
text-align: center;
}


iframe {
border: 0;
overflow: hidden;
}




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

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

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


.tipsomatic-ad {
margin: -20px auto 30px auto;
width: 100%;
max-width: 720px;
text-align: center;
}

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

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

.tipsomatic-ad a:visited {
color: #f1592a;
}


.front-bottom-tip-ad {
margin: 3.4em auto 10px auto;
text-align: center;
}


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

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

.adsTxt2 {
text-align: center;
margin: 10px auto 0 auto;
color: #bdc3c7;
}

.adsTxt3 {
text-align: center;
margin: 5px auto 0 auto;
color: #34495e;
}

.adsTxt4 {
text-align: center;
margin: 5px auto 0 auto;
color: #bdc3c7;
}

.warning {
text-align: center;
font-size: 1.32em;
font-weight: bold;
color: gold;
margin: 2em auto 2em auto;
}
