/* Keep the live TYPO3 page on the same Montserrat family as the new header. */
@font-face {
  font-family: "Material Symbols Outlined";
  font-style: normal;
  font-weight: 100 700;
  font-display: block;
  src: url("/fileadmin/templates/fonts/material-symbols-outlined.woff2") format("woff2");
}

@font-face {
  font-family: "TennisnetMontserrat";
  font-style: normal;
  font-weight: 300;
  font-display: block;
  src: url("/fileadmin/templates/fonts/montserrat-v12-latin-300.woff2") format("woff2"),
       url("/fileadmin/templates/fonts/montserrat-v12-latin-300.woff") format("woff");
}

@font-face {
  font-family: "TennisnetMontserrat";
  font-style: normal;
  font-weight: 400;
  font-display: block;
  src: url("/fileadmin/templates/fonts/montserrat-v12-latin-regular.woff2") format("woff2"),
       url("/fileadmin/templates/fonts/montserrat-v12-latin-regular.woff") format("woff");
}

@font-face {
  font-family: "TennisnetMontserrat";
  font-style: normal;
  font-weight: 500;
  font-display: block;
  src: url("/fileadmin/templates/fonts/montserrat-v12-latin-500.woff2") format("woff2"),
       url("/fileadmin/templates/fonts/montserrat-v12-latin-500.woff") format("woff");
}

@font-face {
  font-family: "TennisnetMontserrat";
  font-style: normal;
  font-weight: 600;
  font-display: block;
  src: url("/fileadmin/templates/fonts/montserrat-v12-latin-500.woff2") format("woff2"),
       url("/fileadmin/templates/fonts/montserrat-v12-latin-500.woff") format("woff");
}

@font-face {
  font-family: "TennisnetMontserrat";
  font-style: normal;
  font-weight: 700;
  font-display: block;
  src: url("/fileadmin/templates/fonts/montserrat-v12-latin-700.woff2") format("woff2"),
       url("/fileadmin/templates/fonts/montserrat-v12-latin-700.woff") format("woff");
}

html,
body,
button,
input,
select,
textarea {
  font-family: "TennisnetMontserrat", "Montserrat", sans-serif;
}

header,
header *,
#newscenter,
#newscenter * {
  font-family: "TennisnetMontserrat", "Montserrat", sans-serif;
}

/* Runtime header overrides. The editable source is custom.scss. */
.site-header {
  position: relative;
  z-index: 100;
  padding: 0;
  background: #242424;
}

.site-header .container,
nav.main .container {
  width: 100%;
  max-width: 970px;
  margin: 0 auto;
  padding: 0 8px;
  box-sizing: border-box;
}

nav.main .container {
  padding-right: 0;
  padding-left: 0;
}

@media (min-width: 1721px) {
  .site-header .container,
  nav.main .container {
    max-width: 1240px;
  }
}

@media (min-width: 1390px) {
  .site-header .container,
  nav.main .container {
    margin-right: 0;
    margin-left: 160px;
  }
}

@media (min-width: 1231px) and (max-width: 1389px) {
  .site-header .container,
  nav.main .container {
    margin-right: auto;
    margin-left: 0;
  }
}

.theme-switch-wrap {
  background: radial-gradient(circle at 50% 0%, rgba(216, 201, 90, .1) 0%, transparent 52%), linear-gradient(#353535, #2c2c2c);
  border-bottom: 0;
}

.theme-switch {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  min-height: 28px;
}

.theme-link {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  height: 28px;
  padding: 4px 10px;
  color: #999;
  font-size: 9.5px;
  font-weight: 500;
  text-decoration: none;
  white-space: nowrap;
}

.theme-link.is-active {
  color: #d8c95a;
}

.theme-link:hover {
  color: #999;
  text-decoration: none !important;
}

.theme-link.is-active:hover {
  color: #d8c95a;
  text-decoration: none !important;
}

.theme-link.is-active {
  font-weight: 400 !important;
}

.theme-link.is-active > span:last-child {
  font-family: "Montserrat", sans-serif !important;
  font-weight: 400 !important;
}

.theme-symbol {
  font-family: "Material Symbols Outlined";
  width: 12px;
  height: 12px;
  font-size: 12px !important;
  line-height: 12px !important;
  font-feature-settings: "liga";
}

/* Render the drawer switch labels with the local icon font. */
.mobile-drawer-switch .material-symbols-outlined {
  display: inline-block;
  flex: 0 0 auto;
  font-family: 'Material Symbols Outlined';
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  font-feature-settings: 'liga';
}

.theme-link:nth-child(2) .theme-symbol,
.mobile-drawer-switch > span:nth-child(2) .material-symbols-outlined {
  display: inline-block;
  transform: rotate(30deg);
}

.theme-link.is-active::after {
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 0;
  border-bottom: 4px solid #d8c95a;
  border-right: 4px solid transparent;
  border-left: 4px solid transparent;
  content: "";
  transform: translateX(-50%);
}

.topbar {
  background: radial-gradient(circle at 0% 0%, rgba(255, 255, 255, .04) 0%, transparent 38%), linear-gradient(#262626, #1c1c1c);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

.topbar-inner {
  display: flex;
  align-items: center;
  min-height: 74px;
}

.site-header #logo.brand {
  display: block;
  width: auto;
  margin: 0;
  line-height: 0;
}

.site-header #logo.brand img {
  display: block;
  width: auto;
  height: 33px;
}

.topbar-inner #logo.brand {
  flex: 0 1 154px;
  min-width: 0;
  width: 154px;
}

.topbar-inner #logo.brand img {
  max-width: 100%;
  height: auto;
}

@media (min-width: 1231px) and (max-width: 1389px) {
  .site-header #logo.brand {
    margin-left: 30px;
  }
}

.topbar-tools {
  display: flex;
  align-items: center;
  gap: 0;
  margin-left: auto;
}

.topbar-search,
.topbar-login {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  text-decoration: none;
  border-left: 0 !important;
}

.topbar-search:hover,
.topbar-login:hover {
  color: #fff;
}

.header-symbol {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: "Material Symbols Outlined";
  width: 20px;
  height: 20px;
  font-size: 20px;
  font-weight: 400;
  font-style: normal;
  line-height: 1;
  letter-spacing: normal;
  text-transform: none;
  white-space: nowrap;
  direction: ltr;
  font-feature-settings: "liga";
  -webkit-font-smoothing: antialiased;
}

.topbar-tools .topbar-search .header-symbol,
.topbar-tools #premiumStatus .topbar-login .header-symbol {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 15px;
}

.topbar-login .header-symbol {
  font-size: 20px;
}

.topbar-tools #premiumStatus {
  display: inline-flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  min-width: 56px;
  min-height: 28px;
  margin-left: 0;
}

.topbar-tools #premiumStatus [hidden] {
  display: none !important;
}

.topbar-tools #premiumStatus a {
  display: inline-flex;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  gap: 4px;
  width: 56px;
  min-width: 56px;
  padding: 0;
  height: 42px;
  min-height: 42px;
  color: #fff;
  font-size: 11px;
  font-weight: 500;
  line-height: 1.1;
  text-decoration: none;
  white-space: nowrap;
}

.topbar-tools #premiumStatus a:hover {
  color: #fff;
  text-decoration: none;
}

.topbar-tools #premiumStatus .topbar-login {
  padding: 0;
  margin: 0 0 0 9px;
}

.topbar-tools #premiumStatus .premium-status-balls {
  position: relative;
  gap: 2px;
  margin-right: 0;
  border-right: 0;
  color: #d8c95a;
}

.topbar-tools #premiumStatus .premium-status-balls::after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1px;
  height: 32px;
  background: rgba(255, 255, 255, .14);
  content: '';
  transform: translateY(-50%);
}

.topbar-tools #premiumStatus .premium-status-balls .premium-status-bonus-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 15px;
  font-weight: 300;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 20;
  transform: rotate(45deg);
}

.topbar-tools #premiumStatus .premium-status-count {
  min-width: 1ch;
}

.topbar-tools #premiumStatus .premium-status-account {
  gap: 4px;
}

@media (min-width: 900px) {
  .topbar-tools .topbar-search {
    box-sizing: border-box;
    width: 56px;
    height: 42px;
    padding: 0;
  }

  .topbar-tools #premiumStatus .premium-status-balls {
    gap: 4px;
  }

  .topbar-tools #premiumStatus .premium-status-account {
    margin-left: 0;
  }
}

.topbar-tools #premiumStatus .premium-status-account .header-symbol {
  flex-basis: 15px;
  width: 15px;
  height: 15px;
  font-size: 15px;
  line-height: 15px;
  font-weight: 300;
  font-variation-settings: 'FILL' 0, 'wght' 300, 'GRAD' -25, 'opsz' 20;
}

.topbar-tools #premiumStatus .premium-status-count,
.topbar-tools #premiumStatus .premium-status-name {
  display: block;
  line-height: 1;
  text-align: center;
}

.topbar-tools #premiumStatus .premium-status-account .header-symbol {
  font-size: 15px;
}

.mobileMenu {
  display: none;
}

nav.main.mega-subbar {
  position: relative;
  z-index: 99;
  min-height: 56px;
  padding: 0;
  background: linear-gradient(#161616, #101010);
  border-bottom: 1px solid rgba(255, 255, 255, .1);
}

nav.main.mega-subbar .container,
nav.main ul.mega-nav {
  min-height: 56px;
}

nav.main ul.mega-nav {
  display: flex;
  align-items: stretch;
  margin: 0;
  padding: 0;
  list-style: none;
}

nav.main ul.mega-nav > li.mega-nav-item {
  position: relative;
  display: flex;
  align-items: center;
  margin: 0;
  padding: 0;
}

nav.main ul.mega-nav a.mega-nav-link {
  display: flex;
  align-items: center;
  min-height: 56px;
  padding: 0 17px;
  color: #f1f1f1;
  font-family: Montserrat, sans-serif;
  font-size: 14px;
  font-weight: 500;
  line-height: 21px;
  text-decoration: none;
  white-space: nowrap;
}

@media (min-width: 900px) {
  nav.main ul.mega-nav > li:first-child > a.mega-nav-link {
    margin-left: 10px;
    padding-left: 0;
  }
}

nav.main ul.mega-nav > li:focus-within > a.mega-nav-link,
nav.main ul.mega-nav > li.active > a.mega-nav-link {
  color: #f1f1f1;
  background: transparent;
}

nav.main ul.mega-nav > li.mega-nav-item + li.mega-nav-item::before {
  position: absolute;
  top: 50%;
  height: 24px;
  left: 0;
  width: 1px;
  background: rgba(255, 255, 255, .12);
  content: '';
  transform: translateY(-50%);
}

nav.main ul.mega-nav > li.mega-nav-item.has-children + li.mega-nav-item::before {
  left: 0;
}

nav.main ul.mega-nav > li.has-children > .menu-chevron {
  display: none;
}

nav.main ul.mega-nav > li.has-children > a.mega-nav-link {
  padding-right: 17px;
}

nav.main ul.mega-nav ul.mega-subnav {
  position: absolute;
  top: 100%;
  left: 0;
  display: none;
  min-width: 210px;
  margin: 0;
  padding: 8px 0;
  background: #222;
  box-shadow: 0 12px 22px rgba(0, 0, 0, .25);
  list-style: none;
}

nav.main ul.mega-nav > li:hover > ul.mega-subnav,
nav.main ul.mega-nav > li:focus-within > ul.mega-subnav,
nav.main ul.mega-nav > li.show-dropdown > ul.mega-subnav {
  display: block;
}

nav.main ul.mega-nav ul.mega-subnav li {
  margin: 0;
  padding: 0;
}

nav.main ul.mega-nav ul.mega-subnav a {
  display: block;
  padding: 9px 16px;
  color: #eee;
  font-size: 12px;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

nav.main ul.mega-nav ul.mega-subnav li:last-child a {
  border-bottom: 0;
}

nav.main ul.mega-nav ul.mega-subnav a:hover {
  color: #eee;
  background: #222;
}

@media (max-width: 899px) {
  .theme-switch {
    justify-content: flex-start;
    overflow-x: auto;
    min-height: 28px;
  }

  .topbar-inner {
    min-height: 64px;
  }

  .topbar-login span {
    display: none;
  }

  .topbar-login .header-symbol,
  .topbar-tools #premiumStatus .topbar-login .header-symbol {
    display: inline-flex;
    align-items: center;
    justify-content: center;
  }

  .topbar-tools #premiumStatus .topbar-login > span:not(.header-symbol) {
    display: block;
  }

  .topbar-tools #premiumStatus {
    flex-direction: row;
    align-items: center;
    min-width: 56px;
  }

  .topbar-tools #premiumStatus a {
    flex-direction: column;
    height: 32px;
    min-height: 32px;
  }

  .topbar-tools #premiumStatus .premium-status-balls .premium-status-count {
    transform: translateY(1px);
  }

  .topbar-tools #premiumStatus .premium-status-account .header-symbol {
    transform: translateY(1px);
  }

  .mobileMenu {
    display: block;
  }

  .mobileMenu button {
    display: block;
    padding: 5px;
    color: #fff;
    background: transparent;
    border: 0;
  }

  .mobile-primary-nav .mobileMenu button:hover,
  .mobile-primary-nav .mobileMenu button:focus,
  .mobile-primary-nav .mobileMenu button:focus-visible,
  .mobile-primary-nav .mobileMenu button:active {
    color: #fff;
    background: transparent;
    border: 0;
    outline: 0;
    box-shadow: none;
  }

  nav.main.mega-subbar {
    position: fixed;
    top: 98px;
    right: 0;
    bottom: 0;
    left: 0;
    display: none;
    overflow-y: auto;
  }

  body.showMenu nav.main.mega-subbar {
    display: block;
  }

  nav.main ul.mega-nav {
    display: block;
    padding: 10px 0 24px;
  }

  body.showMenu nav.main ul.mega-nav {
    padding-top: 10px;
  }

  nav.main ul.mega-nav > li.mega-nav-item,
  nav.main ul.mega-nav > li.mega-nav-item:first-child {
    display: block;
    border: 0;
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  nav.main ul.mega-nav > li.mega-nav-item + li.mega-nav-item::before {
    display: none;
  }

  nav.main ul.mega-nav a.mega-nav-link {
    min-height: 0;
    padding: 14px 0;
    font-size: 14px;
    line-height: normal;
  }

  nav.main ul.mega-nav > li.has-children > .menu-chevron {
    top: 16px;
    right: 16px;
    bottom: auto;
  }

  body.showMenu nav.main ul.mega-nav ul.mega-subnav {
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

}

@media (min-width: 900px) {
  .site-header {
    display: contents;
  }

  .topbar {
    position: sticky;
    top: 0;
    z-index: 110;
  }

  nav.main.mega-subbar {
    position: sticky;
    top: 74px;
    z-index: 109;
  }
}

/* Keep the runtime header correction safe-area aware as well. This file is
   loaded after the compiled stylesheet and therefore needs the final values. */
:root {
  --tn-safe-area-top: env(safe-area-inset-top, 0px);
  --tn-safe-area-bottom: env(safe-area-inset-bottom, 0px);
  --tn-header-flow-height: calc(158px + var(--tn-safe-area-top));
}

html {
  background: #f6f6f6;
}

body {
  background-color: #f6f6f6;
}

body#p1267 {
  background-image: none;
  background-repeat: no-repeat;
  background-size: auto;
}

body#p1267::before {
  position: fixed;
  z-index: 1000;
  top: 0;
  right: 0;
  left: 0;
  height: var(--tn-safe-area-top);
  background: #242424;
  content: '';
  pointer-events: none;
}

.theme-switch-wrap {
  padding-top: var(--tn-safe-area-top);
}

@media (max-width: 899px) {
  :root {
    --tn-header-flow-height: calc(142px + var(--tn-safe-area-top));
  }

  body#p1267 {
    background-image: linear-gradient(#242424, #242424);
    background-size: 100% var(--tn-header-flow-height);
  }

  .theme-switch-wrap {
    background: radial-gradient(circle at 50% 0%, rgba(216, 201, 90, .04) 0%, transparent 52%), linear-gradient(#303030, #292929);
  }

  .topbar {
    top: var(--tn-safe-area-top);
  }

  body:not(.showMenu) nav.main.mega-subbar {
    top: calc(64px + var(--tn-safe-area-top));
  }

  .mobile-primary-nav-wrap {
    top: calc(64px + var(--tn-safe-area-top));
  }

  body.showMenu nav.main.mega-subbar .container {
    padding-top: var(--tn-safe-area-top);
    padding-bottom: calc(32px + var(--tn-safe-area-bottom));
  }
}

@media (min-width: 900px) {
  .topbar {
    top: var(--tn-safe-area-top);
  }

  nav.main.mega-subbar {
    top: calc(74px + var(--tn-safe-area-top));
  }
}

/* The drawer is a full-screen overlay on small screens. Keep it completely
   out of the hit-testing and paint tree after the closing animation so no
   dark strip can remain at the right edge of the page. */
@media (max-width: 899px) {
  body:not(.showMenu) nav.main.mega-subbar.mobile-drawer-panel {
    visibility: hidden !important;
    pointer-events: none !important;
    opacity: 0 !important;
  }

  body.showMenu nav.main.mega-subbar.mobile-drawer-panel {
    visibility: visible !important;
    pointer-events: auto !important;
    opacity: 1 !important;
  }
}

/* Keep the primary navigation in sync with the livescore mobile breakpoint. */
@media (min-width: 769px) and (max-width: 899px) {
  :root {
    --tn-header-flow-height: calc(142px + var(--tn-safe-area-top));
  }

  .site-header {
    display: contents;
  }

  .mobile-primary-nav-wrap {
    position: sticky;
    top: calc(64px + var(--tn-safe-area-top));
    z-index: 109;
    display: block;
    min-height: 50px;
    background: linear-gradient(#161616, #101010);
  }

  .mobile-primary-nav-wrap .container {
    width: 100%;
    max-width: none;
    min-height: 50px;
    margin: 0;
    padding: 0;
  }

  .mobile-primary-nav {
    display: flex;
    align-items: stretch;
    min-height: 50px;
    background: linear-gradient(#161616, #101010);
    border-bottom: 1px solid rgba(255, 255, 255, .1);
  }

  .mobile-primary-link {
    position: relative;
    display: inline-flex;
    flex: 1 1 0;
    align-items: center;
    justify-content: center;
    min-width: 0;
    padding: 0 8px;
    color: #f1f1f1;
    font-size: 13px;
    font-weight: 500;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
  }

  .mobile-primary-link::after {
    position: absolute;
    top: 13px;
    right: 0;
    bottom: 13px;
    width: 1px;
    background: rgba(255, 255, 255, .14);
    content: '';
  }

  .mobile-primary-link:nth-of-type(3)::after,
  .mobile-primary-link:nth-of-type(n + 4) {
    display: none;
  }

  .mobile-primary-link.active .mobile-primary-link-label {
    position: relative;
  }

  .mobile-primary-link.active .mobile-primary-link-label::after {
    position: absolute;
    right: 0;
    bottom: -6px;
    left: 0;
    height: 2px;
    background: #d8c95a;
    content: '';
  }

  .mobile-primary-link:hover,
  .mobile-primary-link:focus,
  .mobile-primary-link:active {
    color: #f1f1f1;
    background: transparent;
    text-decoration: none;
  }

  .mobile-primary-nav .mobileMenu {
    display: flex;
    flex: 0 0 50px;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    box-sizing: border-box;
    border-left: 1px solid rgba(255, 255, 255, .14);
  }

  .mobile-primary-nav .mobileMenu button {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    margin: 0;
    padding: 0 15px;
    box-sizing: border-box;
    color: #fff;
    background: transparent;
    border: 0;
    cursor: pointer;
  }

  .mobile-primary-nav .mobileMenu button .header-symbol {
    width: 20px;
    margin: 0;
    transform: translateX(-2px);
    text-align: center;
  }

  nav.main.mega-subbar.mobile-drawer-panel {
    position: fixed;
    z-index: 2147483647;
    inset: 0;
    display: block;
    height: auto;
    min-height: 0;
    overflow: hidden;
    background: rgba(0, 0, 0, 0);
    visibility: hidden;
    pointer-events: none;
    opacity: 0;
  }

  body.showMenu nav.main.mega-subbar.mobile-drawer-panel {
    visibility: visible;
    pointer-events: auto;
    opacity: 1;
  }

  nav.main.mega-subbar.mobile-drawer-panel .container {
    position: relative;
    z-index: 1;
    width: 75.5vw;
    max-width: 320px;
    height: 100%;
    min-height: 0;
    margin: 0;
    padding: 0 0 32px;
    overflow-y: auto;
    background: linear-gradient(180deg, #282828 0%, #17181b 48%, #0f1012 100%);
    box-shadow: 12px 0 28px rgba(0, 0, 0, .4);
    transform: translateX(-102%);
    transition: transform 420ms ease;
  }

  body.showMenu nav.main.mega-subbar.mobile-drawer-panel.is-open .container {
    transform: translateX(0);
  }

  body.showMenu nav.main.mega-subbar.mobile-drawer-panel .mobile-menu-backdrop {
    position: absolute;
    z-index: 0;
    inset: 0;
    display: block;
    width: 100%;
    padding: 0;
    background: rgba(0, 0, 0, .34);
    border: 0;
  }

  body.showMenu nav.main ul.mega-nav {
    display: block;
    min-height: 0;
    margin: 0 18px;
    padding: 10px 0 24px;
  }

  body.showMenu nav.main ul.mega-nav > li.mega-nav-item,
  body.showMenu nav.main ul.mega-nav > li.mega-nav-item:first-child {
    display: block;
    border: 0;
  }

  body.showMenu nav.main ul.mega-nav a.mega-nav-link {
    min-height: 0;
    padding: 14px 0;
    font-size: 14px;
    line-height: normal;
    border-bottom: 1px solid rgba(255, 255, 255, .08);
  }

  body.showMenu nav.main ul.mega-nav > li.has-children > .menu-chevron {
    display: none;
  }

  body.showMenu nav.main ul.mega-nav ul.mega-subnav {
    position: static;
    display: block !important;
    min-width: 0;
    padding: 0 0 8px 16px;
    background: transparent;
    box-shadow: none;
  }
}
