*,
*::before,
*::after {
  box-sizing: border-box;
}

html, body {
  width: 100%;
  max-width: 100%;
  min-height: 100%;
  overflow-x: hidden;
}

header,
footer,
main {
  display: block !important;
}

img, video, canvas, iframe, table {
  max-width: 100%;
}

header,
footer,
main,
nav,
section,
.slider-wrapper,
.swiper,
.swiper-container,
.main-slider {
  max-width: 100%;
}

header .navigation {
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}

.swiper,
.swiper-container,
.slider-wrapper,
.main-slider {
  overflow: hidden !important;
}

.swiper-wrapper:not(.local-ready),
.slider:not(.local-ready) {
  transform: none !important;
  transition: none !important;
  left: 0 !important;
  margin-left: 0 !important;
}

.swiper-container-fade:not(.local-ready) .swiper-slide,
.main-slider:not(.local-ready) .swiper-slide {
  width: 100% !important;
  left: 0 !important;
  max-width: 100%;
  transform: none !important;
  opacity: 0 !important;
}

.swiper-container-fade:not(.local-ready) .swiper-slide:first-child,
.main-slider:not(.local-ready) .swiper-slide:first-child {
  opacity: 1 !important;
}

.swiper-container-fade .swiper-slide,
.main-slider .swiper-slide {
  width: 100% !important;
  left: 0 !important;
  max-width: 100%;
}

.slider-wrapper .slider {
  position: relative;
  width: 100%;
  height: 100%;
}

.slider-wrapper:not(.local-ready) .slider {
  transform: none !important;
}

.slider-wrapper .g-slide {
  background-size: cover;
  background-position: center;
}

.slider-wrapper:not(.local-ready) .g-slide {
  transform: none !important;
}

.slider-wrapper .g-slide[cloned="true"] {
  display: none !important;
}

#sport_iframe {
  display: block;
  width: 100%;
  min-height: calc(100vh - 140px);
  height: calc(100dvh - 28vw);
  border: 0;
  background: #0b1220;
}

body.sport-page footer .middle,
body.sport-page footer .img-wrapper {
  overflow: hidden;
}

.local-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
}

.local-modal[hidden] {
  display: none !important;
}

.local-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(8, 14, 28, 0.72);
}

.local-modal__box {
  position: relative;
  z-index: 1;
  width: min(86vw, 420px);
  margin: 28vh auto 0;
  background: #121a29;
  color: #fff;
  border-radius: 12px;
  padding: 22px 20px 20px;
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35);
}

.local-modal__box h3 {
  margin: 0 0 10px;
  font-size: 18px;
}

.local-modal__box p {
  margin: 0;
  line-height: 1.5;
  font-size: 14px;
  color: #d7deea;
}

.local-modal__close {
  position: absolute;
  top: 8px;
  right: 10px;
  border: 0;
  background: transparent;
  color: #fff;
  font-size: 26px;
  line-height: 1;
  cursor: pointer;
}

main.login-page {
  display: block !important;
  padding: 20px 16px 40px;
  min-height: 62vh;
  background: #fff;
}

main.login-page form.custom-placeholder {
  max-width: 420px;
  margin: 0 auto;
  color: #121a29;
}

main.login-page .page-title {
  text-align: center;
  font-size: 22px;
  font-weight: 700;
  color: #121a29;
  margin: 8px 0 18px;
}

main.login-page .field-item {
  position: relative;
  height: 48px;
  margin-top: 14px;
}

main.login-page .field-item input {
  width: 100%;
  height: 100%;
  border: 1px solid #d5dbe6;
  border-radius: 8px;
  padding: 0 14px;
  background: #fff;
  color: #121a29;
  font-size: 15px;
}

main.login-page .field-item p {
  position: absolute;
  top: 50%;
  left: 14px;
  margin: 0;
  transform: translateY(-50%);
  font-size: 13px;
  color: #6b7388;
  pointer-events: none;
}

main.login-page .err-text {
  color: #c0392b;
  min-height: 18px;
  font-size: 13px;
  margin: 8px 0;
}

main.login-page .forgot-password,
main.login-page .no-account a {
  color: #0c53a2;
  font-weight: 600;
}

main.login-page .forgot-password {
  display: inline-block;
  margin: 6px 0 12px;
  font-size: 13px;
}

main.login-page .no-account {
  margin-bottom: 16px;
  font-size: 13px;
  color: #121a29;
}

main.login-page button.btn {
  display: block;
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 8px;
  background: #0c53a2;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
}

main.login-page .loader-wrapper {
  display: none;
}

main.registration-page {
  display: block !important;
  overflow: visible !important;
  min-height: 62vh;
  visibility: visible !important;
  opacity: 1 !important;
  background: #fff;
  color: #121a29;
}

main.registration-page form.content,
main.login-page form.custom-placeholder {
  display: block !important;
  visibility: visible !important;
  opacity: 1 !important;
}

main.registration-page .sec-title,
main.registration-page label,
main.registration-page span,
main.registration-page p,
main.registration-page li {
  color: inherit;
}

main.registration-page input,
main.registration-page select {
  color: #121a29;
  background: #fff;
}

/* Game guard modal */
#game_guard_modal {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 2147483700;
  background: rgba(12, 18, 32, 0.78);
  align-items: center;
  justify-content: center;
  padding: 20px;
  box-sizing: border-box;
}
#game_guard_modal.ow-open {
  display: flex !important;
}
#game_guard_modal .ow-gg-box {
  position: relative;
  background: #fff;
  border-radius: 18px;
  max-width: 340px;
  width: 100%;
  padding: 36px 22px 22px;
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
  color: #121a29;
}
#game_guard_modal .ow-gg-close {
  position: absolute;
  top: 10px;
  right: 12px;
  border: 0;
  background: #eef2f7;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  font-size: 22px;
  line-height: 28px;
  color: #5f6368;
  cursor: pointer;
  padding: 0;
}
#game_guard_modal .ow-gg-icon {
  width: 68px;
  height: 68px;
  margin: 0 auto 14px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 160, 227, 0.14);
  color: #00a0e3;
  font-size: 28px;
  font-weight: 800;
}
#game_guard_modal .ow-gg-title {
  margin: 0 0 8px;
  font-size: 20px;
  font-weight: 800;
  color: #121a29;
}
#game_guard_modal .ow-gg-text,
#game_guard_modal #game_guard_msg {
  margin: 0 0 20px;
  font-size: 15px;
  line-height: 1.5;
  color: #5f6368;
  font-weight: 500;
}
#game_guard_modal .ow-gg-ok,
#game_guard_modal button.ow-gg-ok {
  width: 100%;
  height: 48px;
  border: 0;
  border-radius: 24px;
  background: #00a0e3;
  color: #fff;
  font-weight: 700;
  font-size: 16px;
  cursor: pointer;
}

header .check-auth .user-info.visible {
  display: flex !important;
}
header .check-auth .auth:not(.visible) {
  display: none !important;
}

body.is-logged-in .auth-wrapper.middle,
body.is-logged-in #sidebar .btns-wrapper {
  display: none !important;
}

body.is-logged-in #sidebar .nav-list li:has(> a[text_key="MENU__LOG_IN"]),
body.is-logged-in #sidebar .nav-list li:has(> a[text_key="MENU__SIGN_UP"]),
body.is-logged-in #sidebar .nav-list li:has(> a[text_key="MENU__CREATE_ACCOUNT"]),
body.is-logged-in #sidebar .nav-list li:has(> a[text_key="MAIN_PAGE__LOG_IN"]),
body.is-logged-in #sidebar .nav-list li:has(> a[text_key="MAIN_PAGE__SIGN_UP"]) {
  display: none !important;
}

