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

html {
overflow-y: scroll;
}

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

img {
border-width: 0;
}

iframe {
border: 0;
overflow: hidden;
}

.center {
text-align: center;
}

#main {
margin: 0 auto;
width: 100%;
max-width: 980px;
background: #ffffff;
flex: 1;
}






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

nav {
height: 2.8em;
background: #165d7b;
}

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

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

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

nav a:hover {
background: #367691;
}

#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-weight: bold;
font-size: 1.2em;
color: #ecf0f1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: calc(100% - 192px);
}

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

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

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

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

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

#nav-close {
display: block;
width: 100%;
background: #165d7b;
}

#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: #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
*/
footer {
width: 100%;
max-width: 980px;
clear: both;
margin: 0 auto 1.6em auto;
padding-top: 2em;
text-align: center;
font-size: 0.92em;
line-height: 1.8em;
}

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

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


#notice {
color: #ffd32a;
}

#notice a {
color: #ffd32a;
}

#notice a:hover {
color: #ffdd59;
}

#notice a:visited {
color: #ffd32a;
}

#footer-gambleaware {
margin-top: 1.8em;
}

#footer-gambleaware img {
width: 260px;
}


#footer-nav {
margin: 2.00em 0 1.6em 0;
}

#footer-nav a {
color: #ecf0f1;
}

#footer-nav a:hover {
color: #ffffff;
}

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


#copyright {
color: #d2d7d3;
font-size: 0.90em;
line-height: 1.6em;
}


#footer-ad {
margin: 6px auto 40px auto;
text-align: center;
}

#footer-ad-txt {
color: #d2d7d3;
margin-bottom: 5px;
text-align: center;
}


#mobile {
margin: 2px auto 30px auto;
text-align: center;
}



/*
* Styles about error and info messages
*/
#system-message {
position: relative;
max-width: 626px;
margin: 20px auto 20px auto;
padding: 25px;
text-align: left;
font-weight: bold;
line-height: 1.6em;
border: 3px solid #a4b0be;
background: #dfe6e9;
}

.info-message {
color: #008010;
}

.error-message {
color: #d64541;
}

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

.missing-object {
text-align: center;
color: #d64541;
font-weight: bold;
margin-bottom: 80px;
}

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

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

.clear {
clear: both;
}




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

.settings-window {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 11000;
background: #ecf0f1;
max-height: calc(100% - 20px);
display: flex;
flex-direction: column;
min-width: 340px;
}

.settings-wrapper {
flex-grow: 1;
overflow: auto;
}

.settings-header {
position: relative;
padding: 12px 62px 12px 32px;
white-space: nowrap;
font-size: 18px;
font-weight: bold;
background: #367691;
color: #ffffff;
}

.settings-header span {
display: inline-block;
vertical-align: middle;
max-width: 200px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.settings-title {
margin: 38px 32px 8px 32px;
color: #34495e;
font-size: 18px;
max-width: 260px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.settings-option {
margin: 0 32px;
}

.settings-option a {
color: #0c59a3;
text-decoration: none;
line-height: 32px;
padding: 8px 8px 8px 12px;
font-size: 18px;
white-space: nowrap;
}

.settings-option a span {
display: inline-block;
vertical-align: middle;
max-width: 220px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.settings-option a:visited {
color: #0c59a3;
}

.settings-option a:hover {
background: #dfe6e9;
}

.settings-language-flag {
width: 32px;
margin-left: -4px;
margin-right: 8px;
vertical-align: -6px;
}

.settings-edit-button {
width: 28px;
margin-left: 20px;
vertical-align: -6px;
}

.settings-space {
height: 42px;
}

.settings-close-button {
position: absolute;
top: 50%;
transform: translateY(-50%);
right: 8px;
cursor: pointer;
width: 24px;
height: 24px;
}

.settings-close-button2 {
position: absolute;
top: 0;
right: 0;
cursor: pointer;
width: 38px;
height: 38px;
background-position: center;
background-repeat: no-repeat;
background-size: 24px 24px;
background-image: url("/images/svg/close2.svg");
}

.settings-select {
position: fixed;
top: 50%;
left: 50%;
transform: translate(-50%, -50%);
z-index: 12000;
background: #ecf0f1;
max-height: 50%;
display: flex;
flex-direction: column;
}

.settings-select-arrow {
position: relative;
display: block;
width: 100%;
height: 38px;
flex: none;
cursor: pointer;
background-color: #808e9b;
background-position: center;
background-repeat: no-repeat;
background-size: 38px 38px;
}

.settings-select-arrow-up {
background-image: url("/images/svg/move-up2.svg");
}

.settings-select-arrow-down {
background-image: url("/images/svg/move-down2.svg");
}

.settings-select-items {
min-height: 0;
flex-grow: 1;
overflow-y: scroll;
-webkit-overflow-scrolling: touch;
height: 100%;
}

.settings-select-item {
display: block;
color: #0c59a3;
text-decoration: none;
line-height: 32px;
padding: 4px 16px 4px 16px;
font-size: 18px;
white-space: nowrap;
}

.settings-select-item:visited {
color: #0c59a3;
}

.settings-select-item:hover {
background: #dfe6e9;
}


.settings-select-item span {
display: inline-block;
vertical-align: middle;
max-width: 220px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.settings-select-item-image {
width: 32px;
height: 24px;
margin-left: -4px;
margin-right: 8px;
vertical-align: -6px;
}

.settings-select-space {
display: block;
height: 12px;
padding: 4px 16px 4px 16px;
}





@media screen and (min-width: 768px) {
body {
background-image: linear-gradient(to bottom, #165d7b 0%, #196788 100%);
}
#header-logo {
display: block;
width: 100%;
height: 136px;
background: url("/images/sportalic_logo.png") no-repeat 10px center, url("/images/sportalic_header.png") no-repeat center;
background-size: 112px 112px, 100% 100%;
}
#nav-controls {
top: 142px;
}
}



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



@media screen and (max-width: 640px) {

header {
background: #165d7b;
z-index: 1000;
position: fixed;
width: 100%;
top: 0;
}
#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 #196788;
border-left: 0 none #10445a;
border-top: 1px solid #196788;
border-bottom: 1px solid #10445a;
}
#nav-label {
display: inline-block;
}
#nav-title {
display: inline-block;
}
#burger-close {
display: inline-block;
}
#nav-controls {
top: 8px;
}

footer span {
display: block;
}
footer a {
display: block;
width: max-content;		
margin: 0.36em auto;
padding: 0.04em 0.28em;
}

}




@media screen and (max-width: 480px) {
.settings-title, .settings-option {
margin-left: 24px;
margin-right: 24px;
}
.settings-window {
min-width: 320px;
}
}



@media screen and (max-width: 360px) {
.settings-title, .settings-option {
margin-left: 12px;
margin-right: 12px;
}
.settings-option a span {
max-width: 180px;
}
.settings-window {
min-width: 300px;
}
}



@media screen and (max-height: 768px) {
.settings-select {
max-height: 60%;
}
}


@media screen and (max-height: 640px) {
.settings-select {
max-height: 70%;
}
}


@media screen and (max-height: 480px) {
.settings-select {
max-height: calc(100% - 20px);
}
}



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