/*
* Styles included everywhere
*/

html, body {
margin: 0;
padding: 0;
font-family: sans-serif, -apple-system, "Roboto";
background: var(--main-bg-color);
color: var(--main-color);
height: 100%;
-moz-text-size-adjust: none;
-webkit-text-size-adjust: none;
-ms-text-size-adjust: none;
text-size-adjust: none;
}

html {
overflow-y: scroll;
}

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

* {
-webkit-tap-highlight-color: transparent;
}

img {
border-width: 0;
}

iframe {
border: 0;
overflow: hidden;
}


#main {
margin: 0 auto;
padding-top: 0.6em;
width: 100%;
max-width: 1200px;
flex: 1;
}





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

nav {
height: 2.8em;
background: var(--nav-bg-color);
}

nav a {
display: block;
margin: 0;
float: left;
height: 2.8em;
line-height: 2.8em;
padding: 0 1.24em;
color: var(--nav-link-color);
text-decoration: none;
}

nav a:hover {
background: var(--nav-bg-hover-color);
}

#nav-checkbox {
display: none;
}

.top-nav-open {
display: block;
width: 100%;
height: 100vh;
overflow-y: auto;
}

.top-nav-slide-close {
position: fixed;
top: 0;
left: 0;
width: 100%;
height: 0;
z-index: -1;
background: var(--nav-bg-color);
transition: height, 150ms ease-out;
}

.top-nav-slide-open {
height: 100vh;
}

#nav-label {
text-decoration: none;
color: var(--nav-link-color);
text-align: center;
width: 3.2em;
height: 3.2em;
line-height: 3.2em;
margin-right: 0.32em;
float: left;
display: none;
}

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

#burger {
display: inline-block;
position: relative;
width: 1.42em;
height: 1.2em;
vertical-align: middle;
}

.hamburger {
width: 100%;
height: 2px;
background: var(--nav-link-color);
display: block;
position: absolute;
top: 50%;
left: 50%;
margin-left: -50%;
margin-top: -2px;
}

.brg {
transition: transform 150ms;
}

.brg1cl {
transform: translate3d(0, -0.42em, 0);
}
.brg2cl {
transform: translate3d(0, 0, 0);
}
.brg3cl {
transform: translate3d(0, 0.42em, 0);
}

.brg1op {
transform: translate3d(0, 0, 0) rotate(45deg) scale(1.1, 1);
}
.brg2op {
transform: translate3d(0, 0, 0) scale(0.1, 1);
}
.brg3op {
transform: translate3d(0, 0, 0) rotate(-45deg) scale(1.1, 1);
}

#nav-title {
float: left;
display: none;
line-height: 3.2rem;
color: var(--nav-title-color);
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
width: calc(100% - 12em);
font-size: 1.12em;
text-align: left;
}

#nav-controls {
position: absolute;
top: 0;
right: 0;
}

#nav-controls a:hover {
background-color: var(--nav-filter-hover-color);
}

.nav-icons {
display: block;
margin: 0;
float: left;
width: 2.8em;
height: 2.8em;
background-position: center;
background-size: 2em 2em;
background-repeat: no-repeat;
filter: var(--nav-filter);
}

.unread-msg {
display: block;
width: 2.8em;
height: 2.8em;
background-position: left 6% bottom 6%;
background-size: 1.52em 1.52em;
background-repeat: no-repeat;
background-image: url("/svg/profile/important.svg");
filter: var(--profile-chat-indicator-filter);
}

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

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

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

#header-logo {
display: none;
}


@media screen and (max-width: 1024px) {
nav a {
padding-left: 0.92em;
padding-right: 0.92em;
}
}


@media screen and (max-width: 860px) {
nav a {
padding-left: 0.64em;
padding-right: 0.64em;
}
}


@media screen and (min-width: 864px) {
#header-logo {
display: block;
width: 100%;
height: 5em;
background: var(--header-color);
}
#header-logo img {
width: 24em;
margin-top: 0.52em;
margin-left: 0.72em;
}
#nav-controls {
top: 5em;
}
}



@media screen and (max-width: 840px) {
header {
background: var(--nav-bg-color);
z-index: 1000;
position: fixed;
width: 100%;
top: 0;
}
#main {
margin-top: 3.2em;
}
nav {
display: none;
height: 3.2em;
border-bottom: 1px solid var(--nav-border-color);
}
nav a {
width: calc(100% - 4.4em);
margin: 0 1.8em;
padding: 0 0.4em;
height: 3.2em;
line-height: 3.2em;
border-bottom: 1px solid var(--nav-border-color);
}
nav a:hover {
background: none;
color: var(--nav-hover-color);
text-decoration: underline;
}
#nav-label {
display: inline-block;
}
#nav-title {
display: inline-block;
}
#nav-title img.nav-title-full-logo {
width: 7.52em;
vertical-align: middle;
}
#nav-title img.nav-title-only-logo {
width: 1.88em;
vertical-align: middle;
margin-right: 0.52em;
}
.nav-icons {
width: 3.2em;
height: 3.2em;
}
#nav-icon-settings {
margin-right: -0.32em;
}
}




/*
* Footer
*/
footer {
margin: 0 auto;
width: 100%;
clear: both;
margin: 2em auto 0 auto;
padding: 2em 0 2.4em 0;
text-align: center;
font-size: 0.92em;
line-height: 1.8em;
background: var(--footer-color);
}

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

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


#notice {
color: var(--footer-notice-color);
}

#notice a, #notice a:hover, #notice a:visited {
color: var(--footer-notice-link-color);
}

#footer-nav {
margin: 2.2em 0 1.8em 0;
}

#footer-nav a, #footer-nav a:hover, #footer-nav a:visited {
color: var(--footer-link-color);
}

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

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


#copyright {
color: var(--footer-cp-color);
font-size: 0.92em;
line-height: 1.6em;
}



@media screen and (max-width: 640px) {
footer span {
display: block;
}
footer a {
display: block;
width: max-content;
white-space: nowrap;
margin: 0.36em auto;
}
}




/*
* Styles about error and info messages
*/
.system-message-wrapper {
max-width: 640px;
margin: 1.72em auto;
padding-left: 0.8em;
padding-right: 0.8em;
}

.system-message {
padding: 1em;
text-align: left;
line-height: 1.6em;
background: var(--quaternary-bg-color);
border-left: 8px solid var(--quaternary-bg-color);
}

.info-message {
color: var(--info-color);
border-color: var(--info-color);
}

.error-message {
color: var(--error-color);
border-color: var(--error-color);
}

.warning-message {
color: var(--warning-color);
border-color: var(--warning-color);
}



/*
* Some common styles
*/
.missing-object {
max-width: 640px;
text-align: center;
color: var(--attention-color);
font-weight: bold;
margin: 2em auto 5em auto;
}

.missing-object p {
margin: 1.6em 0 3.2em 0;
padding: 0 0.6em;
line-height: 1.6em;
}

.action-successful {
max-width: 640px;
margin: 2em auto 5em auto;
color: var(--info-color);
}

.action-successful h1 {
text-align: center;
font-size: 1.32em;
line-height: 1.6em;
font-weight: normal;
padding: 0 0.6em;
}

.action-successful p {
margin: 1.6em 0 3.2em 0;
padding: 0 0.6em;
line-height: 1.6em;
text-indent: 0.8em;
}

.action-successful a {
color: var(--link-color);
text-decoration: none;
}

.action-successful a:hover {
text-decoration: underline;
}

.action-successful a:visited {
color: var(--link-color);
}

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

.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: var(--attention-color);
}

.center {
text-align: center;
}

.clear {
clear: both;
}

.bold {
font-weight: bold;
}

.important {
color: var(--error-color);
font-weight: bold;
}




/*
* Styles about settings
*/
.modal-hidden {
display: none;
}

.modal-overlay {
position: fixed;
top: 0;
right: 0;
bottom: 0;
left: 0;
z-index: 10000;
background: var(--settings-screen-disabled-color);
overflow: hidden;
}

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

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

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

.settings-header {
position: relative;
line-height: 2.6em;
height: 2.6em;
padding-left: 1.6em;
background: var(--settings-bg-header-color);
color: var(--settings-header-color);
}

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

.settings-title {
margin: 1.6em 2em 0.16em 1.6em;
color: var(--settings-label-color);
max-width: 260px;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
}

.settings-close-button {
display: block;
position: absolute;
top: 0;
right: 0;
cursor: pointer;
width: 2.6em;
height: 2.6em;
background-position: center;
background-repeat: no-repeat;
background-size: auto;
background-image: url("/svg/close.svg");
filter: var(--settings-bg-header-filter);
}

.settings-close-button:hover {
background-color: var(--settings-bg-header-hover-color);
}

.settings-option {
margin: 0 1.6em;
}

.settings-option a {
color: var(--settings-link-color);
text-decoration: none;
line-height: 2em;
padding: 0.5em 0.5em 0.72em 0.64em;
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: var(--settings-link-color);
}

@media (hover: hover) {
.settings-option a:hover {
background-color: var(--settings-hover-color);
}
}

.settings-language-flag {
width: 2em;
margin-right: 0.52em;
vertical-align: -0.42em;
}

.settings-edit-button {
height: 2em;
width: 2em;
margin-left: 1.2em;
background-position: center;
background-repeat: no-repeat;
background-size: 1.5em 1.5em;
background-image: url("/svg/edit.svg");
filter: var(--settings-link-filter);
}

.settings-space {
height: 2.6em;
}

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

.settings-select-arrow {
position: relative;
display: block;
text-align: center;
width: 100%;
height: 2.4em;
line-height: 2.4em;
flex: none;
cursor: pointer;
background-color: var(--settings-bg-header-color);
}

.settings-select-button {
display: inline-block;
height: 2.4em;
width: 2.4em;
background-position: center;
background-repeat: no-repeat;
background-size: 2.4em 2.4em;
filter: var(--settings-bg-header-filter);

}

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

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

.settings-close-button2 {
display: block;
position: absolute;
top: 0;
right: 0;
cursor: pointer;
width: 2.4em;
height: 2.4em;
background-position: center;
background-repeat: no-repeat;
background-size: auto;
background-image: url("/svg/close.svg");
filter: var(--settings-bg-header-filter);
}

.settings-close-button2:hover {
background-color: var(--settings-bg-header-hover-color);
}

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

.settings-select-items-short {
min-height: 0;
flex-grow: 1;
overflow-y: hidden;
height: 100%;
}

.settings-select-item {
display: block;
color: var(--settings-link-color);
text-decoration: none;
line-height: 2.4em;
padding: 0 1em;
white-space: nowrap;
}

.settings-select-items-short .settings-select-item {
padding-right: 2.4em;
min-width: 9em;
}

.settings-select-item:visited {
color: var(--settings-link-color);
}

.settings-select-item:hover {
background-color: var(--settings-hover-color);
}

.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: 2em;
margin-right: 0.52em;
vertical-align: -0.42em;
}

.settings-selected-space {
padding: 0;
margin-left: 0.52em;
width: 2.4em;
height: 2.4em;
background-position: 0 center;
background-repeat: no-repeat;
background-size: 1.2em 1.2em;
background-image: url("/svg/circle.svg");
filter: var(--settings-link-filter);
}

.settings-selected-item {
background-image: url("/svg/circle.svg"), url("/svg/dot.svg");
}

.settings-select-space {
display: block;
height: 0.64em;
padding: 0.2em 1em;
}





@media screen and (max-width: 480px) {
.settings-header {
padding-left: 1.2em;
}
.settings-title, .settings-option {
margin-left: 1.2em;
margin-right: 1.2em;
}
.settings-window {
min-width: 300px;
}
}


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



@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% - 1.2em);
}
}

.avatar-wrapper {
padding: 0;
margin: 0;
width: max-content;
position: relative;
}

div.avatar {
width: 100px;
height: 100px;
}

div.avatar-big {
width: 160px;
height: 160px;
}

div.avatar-small {
width: 80px;
height: 80px;
}

div.avatar, div.avatar-big, div.avatar-small, div.no-avatar {
border-radius: 50%;
background: var(--image-bg-color);
box-shadow: var(--game-box-shadow);
}

div.avatar img, div.avatar-big img, div.avatar-small img, div.no-avatar img {
display: block;
float: left;
width: 100%;
height: 100%;
border-radius: 50%;
background: var(--image-bg-color);
}

div.no-avatar img {
background: var(--avatar-bg-color);
filter: var(--avatar-filter);
}

.avatar-link {
display: block;
padding: 0;
margin: 0;
width: 100%;
height: 100%;
border-radius: 50%;
white-space: nowrap;
}

.avatar-admin-big, .avatar-system-big, .avatar-admin, .avatar-system, .avatar-admin-small, .avatar-system-small {
position: absolute;
background-position: 0 center;
background-repeat: no-repeat;
filter: var(--avatar-admsys-filter);
}



.avatar-admin-big, .avatar-system-big {
width: 24px;
height: 24px;
bottom: 0;
right: 0;
}

.avatar-admin-big {
background-size: 22px 22px;
background-image: url("/svg/admin.svg");
}

.avatar-system-big {
background-size: 24px 24px;
background-image: url("/svg/system.svg");
}

.avatar-country-big {
position: absolute;
width: 24px;
height: 18px;
bottom: 0;
right: 0;
}

.avatar-country-big img {
width: 24px;
height: 18px;
background: var(--image-bg-color);
}



.avatar-admin, .avatar-system {
width: 18px;
height: 18px;
bottom: -6px;
right: -6px;
}

.avatar-admin {
background-size: 18px 18px;
background-image: url("/svg/admin.svg");
}

.avatar-system {
background-size: 20px 20px;
background-image: url("/svg/system.svg");
}

.avatar-country {
position: absolute;
width: 20px;
height: 15px;
bottom: -6px;
right: -6px;
}

.avatar-country img {
width: 20px;
height: 15px;
background: var(--image-bg-color);
}



.avatar-admin-small, .avatar-system-small {
width: 16px;
height: 16px;
bottom: -4px;
right: -4px;
}

.avatar-admin-small {
background-size: 14px 14px;
background-image: url("/svg/admin.svg");
}

.avatar-system-small {
background-size: 16px 16px;
background-image: url("/svg/system.svg");
}

.avatar-country-small {
position: absolute;
width: 16px;
height: 12px;
bottom: -4px;
right: -4px;
}

.avatar-country-small img {
width: 16px;
height: 12px;
background: var(--image-bg-color);
}


.avatar-name {
position: absolute;
font-weight: bold;
font-size: 1rem;
top: -1.52rem;
left: 0;
right: 0;
text-align: center;
white-space: nowrap;
}

.avatar-name-big {
font-size: 1.2rem;
bottom: -1.72rem;
}

.avatar-name-small {
font-size: 0.92rem;
bottom: -1.32rem;
}

@media screen and (max-width: 768px) {
.avatar-name {
left: -3em;
right: -3em;
}
}

.avatar-balance {
position: absolute;
font-weight: bold;
left: 0;
right: 0;
text-align: center;
font-size: 0.92rem;
bottom: -1.52rem;
}

.avatar-balance-big {
position: absolute;
font-weight: bold;
left: 0;
right: 0;
text-align: center;
font-size: 1rem;
bottom: -1.72rem;
}

.avatar-balance-small {
position: absolute;
font-weight: bold;
left: 0;
right: 0;
text-align: center;
font-size: 0.78rem;
bottom: -1.32rem;
}

.avatar-balance-positive {
color: var(--balance-positive-color);
}

.avatar-balance-negative {
color: var(--balance-negative-color);
}



/*
* Custom style for checkbox
*/
input.customcb {
position: absolute;
opacity: 0;
}
input.customcb + label {
display: block;
position: relative;
cursor: pointer;
padding: 0;
}
input.customcb + label:before {
content: "";
margin-right: 0.6em;
display: inline-block;
vertical-align: -0.36em;
line-height: 1.12em;
width: 1.12em;
height: 1.12em;
border-radius: 3px;
border: 2px solid var(--form-checkbox-border-color);
background: var(--form-checkbox-bg-color);
}
input.customcb:checked + label:before {
background: var(--form-button-bg-color);
border-color: var(--form-button-bg-color);
}
input.customcb:checked:hover + label:before {
background: var(--form-button-hover-color);
}
input.customcb:not(:checked):hover + label:before {
border-color: var(--form-checkbox-border-hover-color);
}
input.customcb:checked + label:after {
content: "";
position: absolute;
left: 2px;
top: 2px;
width: 1.12em;
height: 1.12em;
background-position: center;
background-repeat: no-repeat;
background-size: 1em 1em;
background-image: url(data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMjQiIGhlaWdodD0iMjQiIHZpZXdCb3g9IjAgMCAyNCAyNCIgeG1sbnM9Imh0dHA6Ly93d3cudzMub3JnLzIwMDAvc3ZnIj4KPHBhdGggZmlsbD0iI2ZmZmZmZiIgZD0iTTIwLjI4NSAybC0xMS4yODUgMTEuNTY3LTUuMjg2LTUuMDExLTMuNzE0IDMuNzE2IDkgOC43MjggMTUtMTUuMjg1eiIvPgo8L3N2Zz4K);
}
@-moz-document url-prefix() {
input.customcb + label:before {
vertical-align: -0.32em;
}
}
input.customcb + label {
cursor: pointer;
}
input.customcb:disabled + label:before {
border: 2px solid var(--form-checkbox-border-disabled-color);
background: var(--form-checkbox-bg-disabled-color);
}
input.customcb:disabled:hover + label:before {
border-color: var(--form-checkbox-border-disabled-color);
background: var(--form-checkbox-bg-disabled-color);
}
input.customcb:disabled + label:after {
filter: var(--form-checkbox-disabled-filter);
}
input.customcb:disabled + label {
cursor: default;
color: var(--form-checkbox-disabled-color);
}






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

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

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

