
 /*Global Fonts*/ 


/* FONT: INTER */
@font-face {
    font-family: "Inter";
    src: url("https://wmfiles.worldmasters.at/_fonts/Inter/Inter-VariableFont_slnt,wght.ttf") format("truetype");
}
 /*Global CSS*/ 

/* FONT: BUBBLE GUM, QUICKSAND */
/*@import url('https://fonts.googleapis.com/css2?family=Bubblegum+Sans&family=Cinzel+Decorative:wght@400;700;900&family=Coming+Soon&family=Dosis:wght@200;300;400;500;600;700;800&family=Indie+Flower&family=Quicksand:wght@300;400;500;600;700&family=Slabo+27px&family=Zilla+Slab:ital,wght@0,300;0,400;0,500;0,600;0,700;1,300;1,400;1,500;1,600;1,700&display=swap');
/* FONT: MONTSERRAT */
/*@import url('https://fonts.googleapis.com/css2?family=Montserrat:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');
/* FONT: NEWSREADER */
/*@import url('https://fonts.googleapis.com/css2?family=Newsreader:ital,wght@0,200;0,300;0,400;0,500;0,600;0,700;0,800;1,200;1,300;1,400;1,500;1,600;1,700;1,800&display=swap');
/* FONT: SOURCE SANS PRO */
/*@import url('https://fonts.googleapis.com/css2?family=Source+Sans+Pro:ital,wght@0,200;0,300;0,400;0,600;0,700;0,900;1,200;1,300;1,400;1,600;1,700;1,900&display=swap');

/* FONT: POPPINS */
/*@import url('https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap');

/* FONT: LATO */
/*@import url('https://fonts.googleapis.com/css2?family=Lato:ital,wght@0,100;0,300;0,400;0,700;0,900;1,100;1,300;1,400;1,700;1,900&display=swap');

/* FONT: MUKTA */
/*@import url('https://fonts.googleapis.com/css2?family=Mukta:wght@200;300;400;500;600;700;800&display=swap');

/* FONT: INTER */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap');


@import url('https://fonts.googleapis.com/css2?family=Roboto+Slab:wght@100;200;300;400;500;600;700;800;900&family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');

/* GLOBAL / BODY */

html {
    width: 100%;
    scroll-behavior: smooth !important;
}

body {
    background-color: #fff;
    /*background-image: url('https://devfiles.netgrid.at/system/background.png');*/
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
    color: #000;
    width: 100%;
    height: auto;
    min-height: calc(100vh - 111px);
    font-family: "Inter", sans-serif;
    font-size: 18px;
    scroll-behavior: smooth;
}


button {
    font-family: 'Inter', sans-serif;
    font-weight: bold;
}

.appcontent {
    margin-top: 0px;
    width: 100% !important;
    padding-top: 0px;
    min-height: calc(100vh - 66px);
}

.first-top-space {
    margin-top: 40px;
}


a {
    color: #CCC;
    transition: 0.5s;
  }
  
  a:hover, a:active, a:focus {
    color: #FFF;
    outline: none;
    text-decoration: none;
  }
  
  p {
    padding: 0;
    margin: 0 0 30px 0;
  }
  
  h1, h2, h3, h4, h5, h6 {
    font-family: "Inter", sans-serif;
    font-weight: 400;
    margin: 0 0 20px 0;
    padding: 0;
  }
  
  .display-3 {
      font-family: "Inter", sans-serif !important;
      font-size: 3.9rem;
      font-weight: normal !important;
  }
  
  @media screen and (max-width: 1279px) {
      .display-3 {
          font-size: 2.2rem;    
      }
  }
  
  
  
  /* Back to top button */
  .back-to-top {
    position: fixed;
    display: none;
    background: #FF0000;
    color: #fff;
    width: 44px;
    height: 44px;
    text-align: center;
    line-height: 1;
    font-size: 16px;
    border-radius: 50%;
    right: 20px;
    bottom: 20px;
    transition: background 0.5s;
    z-index: 11;
  }
  
  .back-to-top i {
    padding-top: 12px;
    color: #fff;
  }
  
  @media (max-width: 768px) {
    .back-to-top {
      bottom: 15px;
    }
  }
  
  /* Shadows */
  .shadow-rtm {
      box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 3px 16px 0 rgba(0, 0, 0, 0.15)
  }
  
  .shadow-rmt:hover {
      box-shadow: 0 4px 8px 0 rgba(7, 48, 63, 0.3), 0 3px 16px 0 rgba(7, 48, 63, 0.25)
  }
  
  
  .shadow-rtm-strong {
      box-shadow: 0 8px 12px 0 rgba(0, 0, 0, 0.5), 0 6px 20px 0 rgba(0, 0, 0, 0.15)
  }
  
  .shadow-rmt-strong:hover {
      box-shadow: 0 8px 12px 0 rgba(7, 48, 63, 0.6), 0 6px 20px 0 rgba(7, 48, 63, 0.25)
  }
  
  /* Prelaoder */
  #preloader {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 9999;
    overflow: hidden;
    background: #fff;
  }
  
  #preloader:before {
    content: "";
    position: fixed;
    top: calc(50% - 30px);
    left: calc(50% - 30px);
    border: 6px solid #f2f2f2;
    border-top: 6px solid #33B5E5;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    -webkit-animation: animate-preloader 1s linear infinite;
    animation: animate-preloader 1s linear infinite;
  }
  
  @-webkit-keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  @keyframes animate-preloader {
    0% {
      transform: rotate(0deg);
    }
    100% {
      transform: rotate(360deg);
    }
  }
  
  
  /* FULLSCREEN MODAL */
  .modal-full {
      min-width: 100%;
      margin: 20px auto 0 auto !important;
      min-height: calc(100vh - 20px);
  }
  
  .modal-full .modal-content {
      min-height: 100vh;
  }
  
  
  /*MOBILE NAV ADJUSTMENT */
  @media screen and (max-width: 1279px) {
      .header-scrolled {
          min-height: 80px;
      }
  }
  
  
  /* CMS STYLES */
  .cms-container {
      width: 100%;
      position: relative;
  }

  .cms-container-border {
    border: 1px dashed #444 !important;
  }

  .cms-edit {
    cursor: text;
  }

  /* NETGRID IMPRINT */
  .netgrid-imprint-container {
      width: 320px;
      height: 120px;
  }
  .netgrid-imprint {
      border: 0px solid transparent;
      transition: 0.5s;
  }

  .netgrid-imprint:hover {
      border: 4px solid #fff;
      transition: 0.2s;
      transform: scale(1.05);
  }






  




  
  /*--------------------------------------------------------------
  # Header
  --------------------------------------------------------------*/
  #header {
      width: 100%;
      max-width: 100% !important;
      transition: all 0.5s;
      z-index: 997;
      padding: 26px 0;
      padding: 18px 0;
      background: black;
      position: fixed;
    }
    
    #header .container-fluid {
        margin: 10px 0 !important;
    }
    
    #header .logo {
      font-size: 16px;
      margin: 0;
      padding: 0;
      line-height: 1;
      font-family: "Inter", sans-serif;
      font-weight: 700;
      letter-spacing: 3px;
      padding-left: 10px;
    }
    
    #header .logo a {
      color: #fff;
    }
    
    #header .logo img {
      max-height: 250px;
    }

    #header .nav-link {
        margin-left: 24px;
    }
    
    @media (max-width: 992px) {
      #header .logo {
        font-size: 20px;
      }
    }
    
/* COOKIES OPTIONS */
.cookiesoption {
    z-index: 9999999999;
    position: fixed;
    bottom: 15px;
    left: 15px;
    width: 44px;
    height: 44px;
    border: 1px solid #888;
    border-radius: 50%;
    background-color: #fff;
    color: #000;
    font-size: 30px;
    text-align: center;
    margin: auto auto;
    opacity: 0.5;
    transition: 0.7s;
    cursor: pointer;
}
.cookiesoption:hover {
    transition: 0.7s;
    opacity: 1;
}


.cookiesoptionmenu {
    z-index: 9999999999999;
    position: fixed;
    display: none;
    bottom: 14px;
    left: 14px;
    width: 500px;
    height: 200px;
    background-color: #fff;
    border: 1px solid #888;
    border-radius: 4px;
    transition: 0.7s;
    font-size: 18px;
    padding: 10px 20px;
}


/* TOOLTIP */

.tooltip {
    z-index: 1000000000000000000 !important;
}

.tooltip > .tooltip-inner {
    background-color: #2b2d31;       /* Slightly lighter grey for contrast */
    font-family: 'Inter', sans-serif;
    font-size: 14px; 
    color: #fff; 
    border: 1px solid #555;          /* More subtle border */
    border-radius: 4px;              /* Softer radius */
    padding: 8px 12px;
}

/* LOGO */
.navbar-brand img {
    width: 160px !important;
    max-height: 100px !important;
    transition: 0.5s;
}

.navbar-brand img:hover {
    transform: scale(1.15);
    transition: 0.5s;
}


/* NAV */

.navbar {
    max-width: 100% !important;
}

/*.nav-link {
    margin-left: 46px;
}

.navbar-dark .navbar-nav .nav-link {
    font-size: 20px;
    color: #DDD;
    border-bottom: 4px solid transparent;
    transition: 0.4s;
}

.navbar-dark .navbar-nav .nav-link:hover {
    font-size: 20px;
    color: #FFF;
    border-bottom: 4px solid #fff;
    transition: 0.4s;
}


/* NAV SUBMENU */
/*.dropdown-menu {
    background-color: rgba(34, 34, 34, .98) !important;
    border-radius: 4px;
    border: 4px solid #fff;
}

.dropdown-item {
    color: #fff;
}

/* APP FORM */
.appform {
    width: 100%;
    margin: 0 0 20px 0;
}

.appformheader {
    width: 100%;
    background-color: rgba(52, 58, 64, .3);
}

.appformsubmit {
    width: 100%;
    background-color: rgba(52, 58, 64, .3);
    text-align: center;
    padding: 10px 20px;
}

.appformtitle {
    color: #fff;
    font-size: 3rem;
    margin: 20px 20px 6px 20px;
}

.appformentryname {
    color: #fff;
    font-size: 1.6rem;
    text-transform: capitalize;
    margin-left: 0 !important;
}

.appformsubtitle {
    color: #fff;
    font-size: 2rem;
    margin: 20px 20px 6px 20px;
}

.appform-element {
    display: table;
    margin: 20px 0;
    width: 100%;
    padding: 0 20px;
}

.appform-inputtitle {
    display: table-cell;
    vertical-align: top;
    width: 30%;
    min-width: 300px;
}

.appform-inputdesc {
    display: table-row;
    width: 100%;
    color: #ccc;
    font-size: 0.8rem;
    padding: 4px 0 0 20px;
}

.appform-inputdesc span {
    max-width: 30%;
    padding-right: 20px;
}

.appform-input {
    display: table-cell;
    vertical-align: top;
    width: 70%;
}

.appform-input input {
    width: 100%;
    margin: 0 0 0 auto;
}

#actionform {
    display: inline;
}

.actionbutton {
    margin-left: 40px;
    margin-bottom: 8px
}

/*.bootstrap-select {
    width: 100% !important;
}*/

.appform-actions {
    white-space: nowrap; 
    width: 100%; 
    text-align: right;
}


.appform-options {
    display: block;
    text-align: left;
    margin: 0 1%;
}

.appform-option {
    display: inline-block;
    width: auto;
    max-width: 19%;
    border: 3px solid rgba(52, 58, 64, .3);
    border-radius: 8px;
    text-align: center;
    margin: 20px 8px;
    padding: 2px 14px;
}

.appform-option:hover {
    background: rgba(52, 58, 64, .3);
    transition: 0.6s;
}

.appform-icon {
    display: inline-block;
    vertical-align: middle;
    font-size: 2rem;
}

.appform-title {
    display: inline-block;
    vertical-align: middle;
    font-size: 1.2rem;
    color: #ccc;
    margin: 0 0 2px 8px;
}




/* TABLES */

.table-responsive {
    max-width: calc(100% - 1px);
}

.table > tbody > tr > td {
    vertical-align: middle;
}

.tr-button {
    cursor: pointer !important;
}

table.dataTable tbody tr {
    background-color: transparent;
}


.firstcellpadding {
    padding-left: 20px !important;
}

.dataTables_wrapper {
    margin-top: 20px;
}

.custom-select {
    color: #000 !important;
}

.dataTables_filter .form-control {
    color: #FFF !important;
}
.dataTables_filter .form-control::placeholder, .dataTables_filter .form-control::placeholder:active {
    color: #AAA !important;
}


.table-dark td, .table-dark th, .table-dark thead th {
    border-color: rgba(255,255,255, 0.3) !important;
}

.table.dataTable thead th, table.dataTable thead td {
    border-color: rgba(255,255,255, 0.3) !important;
}

.table.dataTable.no-footer {
    border-color: rgba(255,255,255, 0.3) !important;
}


/* TABLES PAGINATION */
.pagination {
    background-color: rgba(52, 58, 64, .3);
}

.pagination > li > a
{
    background-color: #333;
    color: #FFF;
}

.pagination > li > a:focus,
.pagination > li > a:hover,
.pagination > li > span:focus,
.pagination > li > span:hover
{
    color: #5a5a5a;
    background-color: #333;
    border-color: #ddd;
}

.pagination > .active > a
{
    color: white;
    background-color: rgba(34,34,34, 0.8) !important;
    border: solid 1px rgba(34,34,34, 0.8) !important;
}

.pagination > .active > a:hover
{
    background-color: #333 !important;
    border: solid 1px #333;
}

.dataTables_wrapper .dataTables_length, .dataTables_wrapper .dataTables_filter, .dataTables_wrapper .dataTables_info, .dataTables_wrapper .dataTables_processing, .dataTables_wrapper .dataTables_paginate {
    color: #fff;
    padding-left: 20px;
}

.dt-buttons {
    margin-bottom: 8px;
}

.dt-search {
    display: inline-block;
    position: absolute; 
    right: 20px;
    margin-top: 0;
    min-width: 300px;
    text-align: right; 
}

.dt-length {
    margin: 8px 0;
}

/* Fix T-Head Background Color for fixedHeader */
thead {
    background: #292c30;
}

.dataTables_wrapper .dataTables_paginate .paginate_button:hover {
    background: linear-gradient(to bottom, rgba(52, 58, 64, .3) 0%, rgba(52, 58, 64, .3) 100%)
}


/* CONFIRMATION */
.popover-header {
    color: #000;
}

/* BREADCRUMBS */
.breadcrumb {
    margin-bottom: 0;
    background-color: rgba(52, 58, 64, .3);
    border-radius: 0;
}

.breadcrumb-item.active {
    color: #fff;
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ddd;
}

/* BOOTSTRAP LINKED BUTTON FIX */
span a:hover {
    text-decoration: none !important;
    border: none;
  }



/* BOOTSTRAP COLOR CHANGES */
.btn-secondary {
    background-color: rgba(52, 58, 64, .3);
    border-color: rgba(255,255,255, .3);
}

/* Dunkles Design für alle Formulareingaben */
.form-control,
.form-control:focus,
.form-control:hover {
  background-color: #232323 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 0.25rem !important;
  box-shadow: none !important;
  transition: background 0.2s, border 0.2s;
}
.form-control:focus,
.form-control:hover {
  background-color: #333 !important;
  color: #fff !important;
  border: 1px solid #888 !important;
  outline: none !important;
  box-shadow: none !important;
}
.form-control::placeholder {
  color: #bbb !important;
  opacity: 1;
}

.table-dark {
    background-color: rgba(52, 58, 64, .3);
}

.table-dark.table-hover tbody tr:hover {
    background-color: rgba(80,80,80, .2);
}

.table-striped tbody tr:nth-of-type(2n+1){
    background-color: rgba(100,100,100, 0.2) !important;
}

.table-dark.table-striped tbody tr:nth-of-type(2n+1) {
    background-color: rgba(60, 66, 72, .3) !important;
}

.table-dark.table-striped tbody tr:nth-of-type(2n+1):hover {
    background-color: rgba(52, 58, 64, .3) !important;
}



/* CLOSE ICON BOOTSTRAP */
.close {
    color: #fff;
}

.close:hover {
    color: #ccc;
}


/* SUMMERNOTE CHANGES */
/*.note-airframe {
    border: 1px dashed #444 !important;
}*/

/* SUMMERNOTE DISABLE UPLOAD */
.note-group-select-from-files {
    display: none;
  }


/* HEADER SCROLLED */
.navbar.fixed-top {
    transition: background-color 0.3s ease-out;
    background: #202124;
}

.navbar.fixed-top.scrolled {
    /*background-color: rgba(34, 34, 34, .98) !important;*/
    transition: background-color 0.3s ease-out;
}


/* NAV CHANGES */
.nav-item-spacer {
    margin: auto 8px;
}





/* BOOTSTRAP MODAL */
.modal-content {
    background: rgba(52, 58, 64, .95);
    color: #fff;
}


/* FULLSCREEN MODAL */
.modal-full {
    min-width: 80%;
    margin: inherit auto;
}

.modal-full .modal-content {
    min-height: 100vh;
}

.modal-header .close {
    color: #fff;
}

.modal-header .close:hover {
    color: #ccc;
}



/* UPLOAD MANAGER */
.modalgallery {
    width: 100%;
    margin: 20px 0;
}

.filegallery {
    width: 100%;
}

.filegallery_content {
    display: inline-block;
    vertical-align: top;
    margin: 6px 8px;
    border-radius: 2px;
    border: 4px solid #666;
    height: 160px;
    width: 160px;
    transition: 0.6s;
    font-size: 100px;
    text-align: center;
}

.filegallery_content:hover {
    border-color: #bbb;
    transition: 0.6s;
}

.content_active {
    border-color: #d9534f !important;
    transition: 0.6s;
}

.filegallery_content img {
    width: 150px;
    margin: auto 0;
    vertical-align: middle;
}

.upload-preview {
    border: 3px dashed #555;
    border-radius: 3px;
    max-width: 240px;
    transition: 0.8s;
}

.upload-preview:hover {
    border: 3px dashed #bbb;
    transition: 0.8s;
}



/* BOOTSTRAP CARDS */
.card {
    border: 1px solid rgba(255,255,255,.35);
}


.card-dark {
    background: rgba(52, 58, 64, .4) !important;
}

.card-purple {
    background: rgba(100, 6, 151, .4) !important;
}

.card-orange {
    background: rgba(217, 143, 17, .4) !important;
}

.card-footer{
    position:absolute;
    bottom:0;
    width:100%;
}


/* DATEPICKER */

.bootstrap-datetimepicker-widget {
    background-color: #fff !important;
    color: rgba(52, 58, 64, 1) !important;
}
/*
.bootstrap-datetimepicker-widget table {
    color: rgba(52, 58, 64, .7) !important;
  }

.bootstrap-datetimepicker-widget table th.picker-switch{
    color:#FFF !important;
}

.bootstrap-datetimepicker-widget table th{
  color:#FFF !important;
}

.bootstrap-datetimepicker-widget table td{
  color:#000 !important;
}*/





/* COMMENTS */

.comments-precontrol {
    background-color: #f7d05b4f !important
}


/* BOOTSTRAP TOASTS */

.toast {
    max-width: 400px !important;
}

.toast-header {
    color: #fff;
}

.toast-body {
    color: #000;
}

.toast-body h5 {
    font-size: 20px !important;
}


/* FLIP ELEMENTS CURSOR*/
.front {
    cursor: grab;
}

.back {
    cursor: grab;
}



/* FORM - UPLOADER*/
.upload-prev-pdf {
    font-size: 60px;
    margin: 0 30px;
}





/* Fix: Filter-Dropdowns in einer Zeile, nicht 100% breit */
.filter-dropdown-row .bootstrap-select {
    width: auto !important;
    min-width: 180px;
    max-width: 220px;
}





/* --- Bootstrap-select: Dunkles Dropdown-Design global --- */
.bootstrap-select .dropdown-menu {
  background-color: #232323;
  color: #fff;
  border: 1px solid #444;
}

.bootstrap-select .dropdown-menu .dropdown-item {
  background-color: transparent;
  color: #fff;
}

.bootstrap-select .dropdown-menu .dropdown-item.active,
.bootstrap-select .dropdown-menu .dropdown-item:active,
.bootstrap-select .dropdown-menu .dropdown-item:hover {
  background-color: #444;
  color: #fff;
}

/* Bootstrap-select: Suchfeld im Dropdown dunkler und mit Fokus-Style */
.bootstrap-select .bs-searchbox input {
  background-color: #232323;
  color: #fff;
  border: 1px solid #444;
  box-shadow: none;
}
.bootstrap-select .bs-searchbox input:focus {
  background-color: #333;
  color: #fff;
  border: 1px solid #888;
  outline: none;
  box-shadow: none;
}

.bootstrap-select .dropdown-menu {
  scrollbar-color: #444 #232323;
  scrollbar-width: thin;
}

/* --- Bootstrap-select: Button im dunklen Design --- */
.bootstrap-select > .btn {
  background-color: #232323;
  color: #fff;
  border: 1px solid #444;
  box-shadow: none;
}

.bootstrap-select > .btn:focus,
.bootstrap-select > .btn:active,
.bootstrap-select > .btn:hover {
  background-color: #333;
  color: #fff;
  border: 1px solid #666;
  outline: none;
  box-shadow: none;
}

/* Caret (Pfeil) auch weiß */
.bootstrap-select > .btn .caret,
.bootstrap-select > .btn::after {
  border-top-color: #fff !important;
}

/* Bootstrap-select: Button aktiv (Dropdown offen) */
.bootstrap-select.show > .btn {
  background-color: #444;
  color: #fff;
  border: 1px solid #888;
  outline: none;
  box-shadow: none;
}

/* Kalender-Suchfeld im dunklen Design (überschreibt .form-control) */
#calendar-search.form-control {
  background-color: #232323 !important;
  color: #fff !important;
  border: 1px solid #444 !important;
  border-radius: 0.25rem !important;
  box-shadow: none !important;
  transition: background 0.2s, border 0.2s;
}
#calendar-search.form-control:focus,
#calendar-search.form-control:hover {
  background-color: #333 !important;
  color: #fff !important;
  border: 1px solid #888 !important;
  outline: none !important;
  box-shadow: none !important;
}
#calendar-search.form-control::placeholder {
  color: #bbb !important;
  opacity: 1;
}





 /*Page CSS*/ 


/* appsystem */

.dash-head {
    text-align: center;
    color: #fff;
    font-size: 3rem;
}


    
    #loginform .container- {
    height: 100%;
    align-content: center;
    }
    
    #loginform .card{
        height: 370px;
        margin-top: auto;
        margin-bottom: auto;
        width: 400px;
        background-color: rgba(0,0,0,0.5) !important;
        padding-bottom: 20px;
        border-radius: .5rem;
    }
    
    #loginform .social_icon span{
        font-size: 60px;
        margin-left: 10px;
        color: rgba(52, 58, 64, 1);
    }
    
    #loginform .social_icon span:hover{
    color: white;
    cursor: pointer;
    }

    #loginform .fa-circle {
        color: #fff;
    }
    
    #loginform .card-header h3{
    color: white;
    }
    
    #loginform .social_icon{
    position: absolute;
    right: 20px;
    top: -45px;
    }
    
    #loginform .input-group-prepend span{
    width: 50px;
    background-color: rgba(255, 255, 255, 0.8);
    color: black;
    border:0 !important;
    }
    
    input:focus{
    outline: 0 0 0 0  !important;
    box-shadow: 0 0 0 0 !important;
    
    }
    
    #loginform .remember{
    color: white;
    }
    
    #loginform .remember input
    {
    width: 20px;
    height: 20px;
    margin-left: 15px;
    margin-right: 5px;
    }
    
    #loginform .login_btn{
    color: #000;
    background-color: rgba(255, 255, 255, 0.8);
    width: 100%;
    margin: 8px 0;
    }
    
    #loginform .login_btn:hover{
    color: black;
    background-color: white;
    }
    
    #loginform .links{
    color: white;
    }
    
    #loginform .links a{
    margin-left: 4px;
    }

/* --- Dark Theme for Log Reader --- */
.log-reader-dark-theme .card {
    background-color: #212529;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.log-reader-dark-theme .card-header {
    background-color: #343a40;
    border-bottom: 1px solid #495057;
}

.log-reader-dark-theme .form-control,
.log-reader-dark-theme .form-select {
    background-color: #343a40;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.log-reader-dark-theme .form-control:focus,
.log-reader-dark-theme .form-select:focus {
    background-color: #495057;
    color: #f8f9fa;
    border-color: #80bdff;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}

.log-reader-dark-theme .form-control::placeholder {
    color: #adb5bd;
}

.log-reader-dark-theme label {
    color: #ced4da;
}

.log-reader-dark-theme .table {
    color: #dee2e6;
}

.log-reader-dark-theme .table-striped > tbody > tr:nth-of-type(odd) > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.05);
    color: #dee2e6;
}

.log-reader-dark-theme .table-hover > tbody > tr:hover > * {
    --bs-table-accent-bg: rgba(255, 255, 255, 0.1);
    color: #f8f9fa;
}

.log-reader-dark-theme .table thead th {
    border-bottom: 2px solid #495057;
}

.log-reader-dark-theme .table td,
.log-reader-dark-theme .table th {
    border-top: 1px solid #343a40;
}

.log-reader-dark-theme .modal-content {
    background-color: #212529;
    color: #f8f9fa;
    border: 1px solid #495057;
}

.log-reader-dark-theme .modal-header {
    border-bottom: 1px solid #495057;
}

.log-reader-dark-theme .modal-header .close {
    color: #f8f9fa;
    text-shadow: none;
    opacity: 0.7;
}

.log-reader-dark-theme .modal-header .close:hover {
    opacity: 1;
}

.log-reader-dark-theme .btn-close {
    filter: invert(1) grayscale(100%) brightness(200%);
}

.log-reader-dark-theme pre code {
    color: #f8f9fa;
}

/* NG-LOGIN STYLES */
.ng-login-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: calc(100vh - 40px);
    padding: 20px;
    font-family: 'Inter', sans-serif;
    background-color: #1a1a1a; /* Match error pages */
}
.ng-login-logo img {
    max-height: 36px; /* Increased from 220px */
    height: auto;
    margin-bottom: 1.5rem;
}
.ng-login-slogan {
    font-size: 1.1rem;
    color: #aaa;
    margin-bottom: 2.5rem;
    font-weight: 300;
}
.ng-login-container {
    width: 100%;
    max-width: 420px;
    background-color: #1a1a1a;
    padding: 2.5rem;
    border-radius: 8px;
    border: 1px solid #444;
}
.ng-login-header h3 {
    font-size: 1.7rem;
    font-weight: 600;
    margin-bottom: 2rem;
    color: #fff;
    text-align: center;
}
.ng-input-group {
    position: relative;
    margin-bottom: 1.5rem;
}
.ng-input-group .ng-input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #888;
    font-size: 1.1rem;
}
.ng-input {
    width: 100%;
    padding: 13px 15px 13px 50px;
    background-color: #1e1f22;
    border: 1px solid #555;
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.ng-input::placeholder {
    color: #888;
}
.ng-input:focus {
    outline: none;
    border-color: #ccc; /* White/Gray focus */
    box-shadow: 0 0 0 1px #ccc; /* White/Gray focus */
}
.ng-login-btn {
    width: 100%;
    padding: 14px;
    background-color: #333; /* Dark Gray */
    border: none;
    border-radius: 5px;
    color: #fff; /* White Text */
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.3s;
}
.ng-login-btn:hover {
    background-color: #444; /* Lighter Gray on hover */
}
.ng-login-footer {
    margin-top: 1.5rem;
}
.ng-login-footer a {
    color: #ccc; /* White/Gray link */
    text-decoration: none;
    font-weight: 500;
}
.ng-login-footer a:hover {
    text-decoration: underline;
    color: #fff;
}
.ng-login-footer .ng-links-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
}
.ng-login-footer .ng-register-link {
     color: #aaa;
}
.ng-login-footer .ng-register-link a {
    margin-left: 5px;
}

/* NG-DASHBOARD STYLES */
.ng-dash-wrapper {
    padding: 40px;
    font-family: 'Inter', sans-serif;
}

.ng-dash-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #fff;
    text-align: center;
    margin-bottom: 40px;
}

.ng-dash-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    max-width: 1600px;
    margin: 0 auto;
}

.ng-dash-card {
    background-color: #2b2d31;
    border: 1px solid #444;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.ng-dash-card:hover {
    transform: translateY(-5px);
    border-color: #666;
}

.ng-dash-card.welcome {
    grid-column: 1 / -1; /* Make welcome card full width */
    text-align: left;
}

.ng-dash-contact-card {
    grid-column: 1 / 2; /* Occupy 50% of the grid width */
}

.ng-dash-card-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #aaa;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.ng-dash-card-content {
    font-size: 1rem;
    color: #ccc;
    line-height: 1.6;
}

.ng-dash-card-content a {
    color: #eee;
    text-decoration: none;
    font-weight: 500;
}
.ng-dash-card-content a:hover {
    text-decoration: underline;
    color: #fff;
}

.ng-dash-version-info {
    font-size: 1.8rem;
    font-weight: 700;
    color: #fff;
    margin-top: 5px;
}

.ng-dash-version-watermark {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 0.9rem;
    color: #555;
    font-weight: 300;
    z-index: 999;
}

.ng-dash-contact-card .contact-entry {
    text-align: left;
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #444;
}

.ng-dash-contact-card .contact-entry:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.ng-dash-contact-card .contact-header {
    font-size: 1.1rem;
    font-weight: 600;
    color: #fff;
    margin-bottom: 5px;
}
.ng-dash-contact-card .contact-header small {
    font-size: 0.8rem;
    color: #888;
    font-weight: 400;
}
.ng-dash-contact-card .contact-subject {
    font-weight: 600;
    color: #bbb;
    margin-bottom: 10px;
}

.ng-dash-contact-card .contact-message {
    font-style: italic;
    color: #999;
}


/* content_worldmasters */

/* Font Definitions */
@font-face {
    font-family: 'ITC Avant Garde Gothic';
    src: url('https://dev.worldmasters.at/fonts/ITCAvantGardeStdBk.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}

@font-face {
    font-family: 'ITC Avant Garde Gothic';
    src: url('https://dev.worldmasters.at/fonts/ITCAvantGardeStdBold.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}

body {
    font-family: sans-serif;
    margin: 0;
    background-color: #fff; /* White background for the page */
}

#hero-section {
    position: relative;
    padding-bottom: 280px; /* Space for navigation and slider overlap */
}

#subpage-hero-section {
    position: relative;
    padding-bottom: 220px; /* Match the height of the home page hero section */
    margin-bottom: 60px;
}

#wm-header-container {
    position: relative; /* Changed from auto */
    z-index: 20; /* Ensure header content is on top */
    color: white;
    padding-bottom: 40px; /* Space between nav and slider */
}

.wm-header-bg {
    background-image: url('https://wmfiles.worldmasters.at/users/ca240454-655f-11f0-8a6a-bc2411da8f18.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-attachment: fixed; /* Ensures the background is fixed relative to the viewport */
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1; /* Behind everything in the hero section */
}

.wm-header-logo {
    text-align: center;
    padding-top: 80px; /* Increased top padding to 80px */
    padding-bottom: 20px; /* Increased space for the line */
    border-bottom: 1px solid rgba(255, 255, 255, 0.5); /* Added horizontal line */
    width: 60%;
    margin: 0 auto 10px auto; /* Centering the container for the line */
}

.wm-header-logo img {
    width: 100%; /* Make image responsive */
    max-width: 450px; /* Increase size on desktop, but cap it */
}

.wm-header-top-nav {
    position: fixed; /* Stick to the top */
    top: 15px;
    right: 15px;
    z-index: 1001; /* Ensure it's above other content */
    display: flex;
    align-items: center;
}

.wm-lang-switcher a, .wm-social-icons a {
    color: white;
    text-decoration: none;
    margin-left: 15px;
    font-size: 14px;
    text-shadow: 0 1px 3px rgba(0,0,0,0.5); /* Add shadow for readability */
}

.wm-lang-switcher a.active {
    font-weight: bold;
}


.wm-main-nav {
    position: relative; /* Changed from absolute */
    width: 100%;
    display: flex;
    justify-content: center;
    transition: all 0.3s ease; /* Smooth transition for position change */
}

.wm-main-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.wm-main-nav ul li a {
    color: white;
    text-decoration: none;
    padding: 15px 20px;
    display: block;
    text-transform: uppercase;
    position: relative; /* Needed for pseudo-element positioning */
    font-size: 0.9em; /* Smaller font size for nav items */
}

.wm-main-nav ul li a:hover {
    color: #f0f0f0; /* Slightly lighten the text on hover */
}

/* Remove the old background-color based effect */
.wm-main-nav ul li a.active {
    color: #f0f0f0; /* Match hover color */
}

/* Add the new underline effect */
.wm-main-nav ul li a::after {
    content: '';
    position: absolute;
    height: 2px;
    background: white;
    bottom: 10px; /* Position the line below the text */
    left: 20px;  /* Match horizontal padding */
    right: 20px; /* Match horizontal padding */
    transform: scaleX(0);
    transform-origin: center;
    transition: transform 0.4s ease-out;
}

.wm-main-nav ul li a:hover::after,
.wm-main-nav ul li a.active::after {
    transform: scaleX(1); /* Animate to full width of the text */
}

/* Dropdown Menu */
.wm-main-nav .has-dropdown {
    position: relative;
}

.wm-main-nav .dropdown-arrow {
    display: inline-block;
    width: 0;
    height: 0;
    margin-left: 8px;
    vertical-align: middle;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 5px solid white;
    transition: transform 0.3s ease;
}

.wm-main-nav .has-dropdown:hover .dropdown-arrow {
    transform: rotate(180deg);
}

.wm-main-nav .dropdown-menu {
    /* Positioning */
    position: absolute;
    top: 100%;
    left: 50%;
    z-index: 1000;
    
    /* Appearance */
    width: max-content; /* Adjust width automatically to content */
    background-color: rgba(30, 30, 30, 0.95); /* Dark, semi-transparent box */
    border-radius: 0; /* Removed rounded corners */
    box-shadow: 0 8px 15px rgba(0,0,0,0.3);
    padding: 10px 0;
    margin-top: 0; /* Removed margin that created a gap on hover */
    
    /* Layout */
    list-style: none;
    display: flex;
    flex-direction: column;

    /* Animation */
    opacity: 0;
    visibility: hidden;
    transform: translate(-50%, 10px);
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.wm-main-nav .has-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translate(-50%, 0);
}

.wm-main-nav .dropdown-menu li a {
    display: block;
    padding: 12px 20px;
    color: #f0f0f0;
    text-decoration: none;
    white-space: nowrap;
    background-color: transparent;
    transition: background-color 0.2s ease;
}

.wm-main-nav .dropdown-menu li a:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.wm-main-nav .dropdown-menu li a::after {
    display: none !important; /* Ensure no underline effect */
}

.wm-main-nav.sticky {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
}

.wm-main-nav.sticky::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('https://wmfiles.worldmasters.at/users/ca240454-655f-11f0-8a6a-bc2411da8f18.jpg');
    background-size: 100% 100%;
    background-position: center;
    background-attachment: fixed; /* Aligns this background with the main one */
    z-index: -1;
}

/* Page Header Image */
.page-header-image-container {
    width: 90%;
    margin: -220px auto 0 auto; /* Match the overlap of the home page slider */
    position: relative;
    z-index: 10; /* Ensure image is above the background strip */
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.page-header-image-container img {
    width: 100%;
    display: block;
}

/* Mobile Navigation Toggle */
.mobile-nav-toggle {
    display: none; /* Hidden on desktop */
    position: absolute;
    top: 20px;
    right: 15px;
    z-index: 1001; /* Above header content */
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.mobile-nav-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 5px 0;
    transition: all 0.3s ease;
}

/* Tournament Detail Page */
.tournament-detail-page .container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
}

.tournament-detail-header {
    padding: 60px 0 40px 0; /* More padding top */
    background-color: #fff; /* White background */
    text-align: center;
    border-bottom: 1px solid #dee2e6;
}

.tournament-detail-header h1 {
    font-size: 3em;
    margin-bottom: 10px;
    font-weight: bold;
}

.tournament-date {
    font-size: 1.1em;
    color: #6c757d;
    margin-bottom: 10px;
}

.tournament-motto {
    font-size: 1.2em;
    font-weight: bold;
    color: #495057;
    text-transform: uppercase;
}

.tournament-detail-content {
    padding: 50px 0;
}

.notice-box {
    background-color: #e9ecef;
    border: 1px solid #ced4da;
    padding: 20px;
    margin-bottom: 40px;
    text-align: center;
    font-size: 1.3em;
    font-weight: bold;
    color: #495057;
}

.content-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
}

@media (min-width: 992px) {
    .content-grid {
        grid-template-columns: 1fr 1fr;
    }
}

.info-block {
    margin-bottom: 30px;
}

.info-block h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid #333; /* Default border color */
}

.sub-heading {
    font-size: 1.2em;
    font-weight: bold;
    margin-top: 40px; /* Adjusted as per request */
    margin-bottom: 40px; /* Adjusted as per request */
}

/* Define accent color variables */
.accent-wm { --accent-color: #800080; }
.accent-al { --accent-color: #05adbc; }
.accent-proam { --accent-color: #f18400; }
.accent-tsm { --accent-color: #682687; }
.accent-walzer { --accent-color: #77b229; }
.accent-dcamp { --accent-color: #800080; }


/* Apply accent colors to elements */
.accent-wm h3, .accent-wm .tournament-detail-header h1 { border-bottom-color: var(--accent-color); color: var(--accent-color); }
.accent-al h3, .accent-al .tournament-detail-header h1 { border-bottom-color: var(--accent-color); color: var(--accent-color); }
.accent-proam h3, .accent-proam .tournament-detail-header h1 { border-bottom-color: var(--accent-color); color: var(--accent-color); }
.accent-tsm h3, .accent-tsm .tournament-detail-header h1 { border-bottom-color: var(--accent-color); color: var(--accent-color); }
.accent-walzer h3, .accent-walzer .tournament-detail-header h1 { border-bottom-color: var(--accent-color); color: var(--accent-color); }
.accent-dcamp h3, .accent-dcamp .tournament-detail-header h1, .accent-dcamp p strong { border-bottom-color: var(--accent-color); color: var(--accent-color); }


.info-block p,
.info-block ul li {
    line-height: 1.7;
    color: #495057;
}

.nested-list {
    list-style: circle;
    padding-left: 40px;
    margin-top: 10px;
}

.text-small {
    font-size: 0.9em;
    color: #6c757d;
}

.prize-money-list {
    list-style: none;
    padding: 0;
}

.prize-money-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid #eee;
}

/* Fee Table */
.fee-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px 0;
}

.fee-table th, .fee-table td {
    border: 1px solid #dee2e6;
    padding: 8px 12px; /* Reduced vertical padding */
    text-align: left;
    vertical-align: middle;
}

.fee-table thead {
    background-color: #f8f9fa;
    text-align: center;
}

.fee-table th {
    font-size: 1.1em;
}

.fee-table .fee-date {
    font-size: 0.8em;
    font-weight: normal;
    margin-top: 5px;
}

/* Schedule Table */
.schedule-table {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0 30px 0;
}

.schedule-table th, .schedule-table td {
    border: 1px solid #dee2e6;
    padding: 12px;
    text-align: left;
}

.schedule-table thead {
    background-color: #f8f9fa;
}

.schedule-table thead th {
    font-size: 1.1em;
    text-align: center;
}

.notice-box.entry-form-notice {
    background-color: #800080;
    color: white;
    font-weight: bold;
    border-color: #6a006a;
}

/* Accordion */
.tournament-detail-page .accordion .accordion-item {
    border-bottom: 1px solid #dee2e6;
}

.tournament-detail-page .accordion .accordion-header {
    width: 100%;
    background-color: transparent;
    border: none;
    text-align: left;
    font-size: 1.2em;
    padding: 15px 0;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.tournament-detail-page .accordion .accordion-header::after {
    content: '+';
    font-size: 1.4em;
    color: var(--accent-color, #800080);
}
.accent-al .accordion .accordion-header::after {
    color: #05adbc;
}

.tournament-detail-page .accordion .accordion-item.active .accordion-header::after {
    content: '−';
}

.tournament-detail-page .accordion .accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
}

.tournament-detail-page .accordion .accordion-content p, .tournament-detail-page .accordion .accordion-content ul {
    padding: 0 15px 15px 15px;
    margin: 0;
}
.tournament-detail-page .accordion .accordion-content p:first-child {
    padding-top: 15px;
}

.dance-list-container {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    margin-top: 20px;
    margin-bottom: 20px;
    padding-left: 15px;
    padding-right: 15px;
}

.dance-style {
    flex: 1;
}

.dance-style ul {
    list-style: disc; /* Use normal bullet points */
    padding-left: 20px;
}

.dance-style ul li {
    padding-left: 0; /* Remove custom padding */
    position: relative;
    margin-bottom: 5px;
}

.dance-style ul li::before {
    display: none; /* Remove dancer emoji */
}

.list-item-details {
    font-size: 0.9em;
    color: #6c757d;
    padding-left: 10px;
    margin-top: 5px;
}

.list-item-details .detail-line-dances {
    padding-top: 2px; /* A little space between the lines */
}

.list-item-details .detail-line-note {
    font-size: 0.9em;
    color: #777;
    font-style: italic;
    margin-top: 4px;
}

/* --- Promo Sections --- */
.promo-container {
    width: 90%;
    margin: 0 auto;
    max-width: 1200px;
    padding-top: 40px;
    padding-bottom: 40px;
}

.promo-block {
    display: flex;
    gap: 40px;
    align-items: flex-start; /* Align items to the top */
    background-color: #f9f9f9;
    padding: 30px;
    border-radius: 0; /* Removed rounded corners */
    margin-bottom: 30px;
}

.promo-block.mirrored {
    flex-direction: row-reverse;
}

.promo-image {
    flex: 1 1 40%; /* Flex-grow, flex-shrink, flex-basis */
    max-width: 40%;
}

.promo-image img {
    width: 100%;
    height: auto;
    border-radius: 0; /* Removed rounded corners */
    box-shadow: none; /* Removed shadow effect */
}

.promo-text {
    flex: 1 1 60%;
}

.promo-text h3 {
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid; /* The color will be inherited */
    margin-top: 0;
    color: var(--accent-color, #333); /* Inherit the accent color with fallback */
}

.tournament-detail-page a {
    color: #0056b3; /* Strong, readable blue for all content links */
    text-decoration: underline;
}

.tournament-detail-page a:hover {
    color: #003d80; /* Darker blue on hover */
}

.tournament-detail-page .promo-text a:not(.btn-worldmasters) {
    color: var(--accent-color, #800080);
    text-decoration: none;
    font-weight: bold;
}

.tournament-detail-page .promo-text a:not(.btn-worldmasters):hover {
    color: var(--accent-color, #800080);
    text-decoration: underline;
}

.promo-text .innsbruck-logo {
    max-width: 200px;
    margin-top: 15px;
    border-radius: 4px;
    box-shadow: none;
}

/* Responsive adjustments */
@media (max-width: 992px) {
    .wm-header-logo {
        padding-top: 100px; /* Increased padding to move logo down further */
        width: 80%; /* Allow logo to be a bit wider */
    }

    .wm-header-top-nav {
        /* On mobile, center the top nav at the very top */
        right: auto; /* Override desktop style */
        left: 50%;
        transform: translateX(-50%);
        width: auto; /* Let it size to its content */
    }

    .wm-main-nav {
        display: none; /* Hide nav on mobile by default */
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100vh;
        background-color: rgba(30, 30, 30, 0.98); /* Dark background */
        padding-top: 80px;
    }

    .wm-main-nav.is-active {
        display: flex; /* Show nav when active */
    }

    .wm-main-nav ul {
        flex-direction: column;
        width: 100%;
        align-items: center;
    }

    .wm-main-nav ul li a {
        padding: 20px;
        font-size: 1.1em; /* Slightly smaller for mobile */
    }
    
    .wm-main-nav .dropdown-menu {
        position: static; /* Unset absolute positioning */
        background: transparent;
        box-shadow: none;
        padding-left: 20px;
        display: none; /* Hidden by default */
        opacity: 1;
        visibility: visible;
        transform: none;
    }

    .wm-main-nav .has-dropdown:hover .dropdown-menu {
        display: none; /* Prevent hover from opening */
    }
    
    .wm-main-nav .has-dropdown.is-open .dropdown-menu {
        display: block; /* Show on click */
    }

    .mobile-nav-toggle {
        display: block; /* Show on mobile */
    }

    /* Animate hamburger to 'X' */
    .mobile-nav-toggle.is-active span:nth-child(1) {
        transform: translateY(8px) rotate(45deg);
    }
    .mobile-nav-toggle.is-active span:nth-child(2) {
        opacity: 0;
    }
    .mobile-nav-toggle.is-active span:nth-child(3) {
        transform: translateY(-8px) rotate(-45deg);
    }
}

@media (max-width: 768px) {
    .promo-block, .promo-block.mirrored {
        flex-direction: column;
    }
    .promo-image {
        max-width: 100%;
    }
}

.info-footer {
    border-top: none; /* Removed horizontal line */
    padding-top: 0;
    margin-top: 0;
    /* Add a line at the bottom and padding to create space */
    border-bottom: 1px solid #ddd;
    padding-bottom: 30px;
}

.info-footer .text-small {
    margin-bottom: 20px; /* Space above the line */
}

/* This is the specific rule that needs the top padding */
.tournament-detail-page .accordion .accordion-content .info-footer .class-abbreviations {
    border-top: 1px solid #ddd; /* The line */
    padding-top: 30px; /* Generous space below the line */
    margin-top: 20px; /* Space above the line */
}

.class-abbreviations {
    list-style: none;
    padding-left: 0;
    margin: 0;
    /* Resetting the values here as they are now handled by the more specific rule above */
    border-top: none;
    padding-top: 0;
}

.class-abbreviations li {
    padding-left: 15px;
    position: relative;
    margin-bottom: 12px; /* A bit more space */
    padding-top: 8px;
    padding-bottom: 8px;
    transition: background-color 0.2s ease-in-out;
}

.class-abbreviations li:hover {
    background-color: rgba(var(--accent-color-rgb, 51, 51, 51), 0.08);
}

.class-abbreviations li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0; /* Align to the top */
    width: 3px;
    height: 100%; /* Cover the full height of the list item */
    background-color: #333; /* Fallback color */
}

/* Apply accent colors to the list marker */
.accent-al .class-abbreviations li::before { background-color: var(--accent-color); }
.accent-wm .class-abbreviations li::before { background-color: var(--accent-color); }
.accent-proam .class-abbreviations li::before { background-color: var(--accent-color); }
.accent-tsm .class-abbreviations li::before { background-color: var(--accent-color); }
.accent-walzer .class-abbreviations li::before { background-color: var(--accent-color); }
.accent-dcamp .class-abbreviations li::before { background-color: var(--accent-color); }


/* Intro Video Section */
#wm-intro-video {
    padding: 60px 0;
    background-color: #fff;
}

.video-container {
    width: 90%;
    margin: 0 auto;
}

.video-container video {
    width: 100%;
    height: auto;
    display: block;
}

/* Info Widgets Section */
#wm-info-widgets {
    padding: 60px 0;
    background-color: #fff;
}

.widget-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
    width: 90%; /* Match slideshow width */
    margin: 0 auto; /* Center the container */
}

.widget {
    padding: 40px;
    text-align: center;
    color: white;
    flex: 1; /* Distribute space equally */
    min-width: 280px; /* Prevent widgets from becoming too narrow */
}

#widget-turniere { background-color: #5a2d45; }
#widget-tickets { background-color: #f7b71d; }
#widget-kontakt { background-color: #a9a9a9; }

.widget-title-container {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
}

.widget-title {
    margin: 0 15px;
    font-size: 1.2em;
    text-transform: uppercase;
    font-weight: bold;
    color: white;
}

.widget-title-container .line {
    flex-grow: 1;
    height: 1px;
    background-color: rgba(255, 255, 255, 0.7);
}

.widget-description {
    font-size: 0.9em;
    color: rgba(255, 255, 255, 0.9);
}

/* Presenter Footer Section */
#wm-presenter-footer {
    padding: 0 0;
}

.presenter-container {
    width: 90%;
    margin: 0 auto;
}

.presenter-container img {
    width: 100%;
    display: block;
}

/* Footer */
#wm-footer {
    background-color: #f8f8f8;
    padding: 20px 0;
    margin-top: 20px;
    border-top: 1px solid #ddd;
}

.footer-content {
    width: 90%;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 30px;
}

#wm-footer a {
    color: #555;
    text-decoration: none;
}

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


/* Tournaments Page */
.tournaments-page-container {
    width: 90%;
    margin: 40px auto;
}

.tournaments-header {
    text-align: center;
    margin-bottom: 50px;
}

.tournaments-header h1 {
    font-size: 2.5em;
    margin-bottom: 20px;
}

.tournaments-header p {
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

.tournament-intro-text {
    text-align: center;
    margin-bottom: 50px;
    font-size: 1.1em;
    color: #666;
    line-height: 1.6;
}

.tournament-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.info-divider {
    border-top: 1px solid #dee2e6;
    margin: 60px 0;
}

/* Tickets Page Specifics */
.ticket-provider-section {
    align-items: flex-start; /* Align to top */
    gap: 30px;
}
.ticket-provider-logo {
    flex-basis: 250px;
    flex-shrink: 0;
}
.ticket-provider-logo img {
    width: 100%;
    padding: 15px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
}
.ticket-provider-text p {
    margin: 0;
    line-height: 1.7;
}

.ticket-availability-notice {
    margin-top: 25px; /* Reduced top margin */
    margin-bottom: 0; /* Removed bottom margin */
    font-size: 1.2em; /* Reduced font size */
    background-color: transparent;
    border: 2px dashed var(--accent-color, #800080);
    color: var(--accent-color, #800080);
}

.ticket-category {
    margin-bottom: 30px;
}
.ticket-category-title {
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
    color: var(--accent-color, #800080);
}
.ticket-subtitle {
    margin-top: -10px;
    margin-bottom: 5px; /* Reduced bottom margin */
    font-size: 1.1em;
    font-weight: bold;
    color: #495057;
}
.ticket-info {
    margin-top: 0; /* Removed top margin */
    font-size: 1.1em;
    color: #6c757d;
    margin-bottom: 25px;
}
.ticket-category p {
    color: #495057; /* Set default paragraph color */
}
.ticket-category p strong {
    color: #343a40; /* Make bold text darker for contrast */
}
.ticket-category p + .class-abbreviations {
    margin-top: -15px;
}
.ticket-category ul:not(.class-abbreviations) {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}
.ticket-category ul.class-abbreviations {
    margin-top: 25px;
}
.ticket-category ul li {
    margin-bottom: 8px;
    line-height: 1.6;
}
.ticket-prices {
    margin-top: 35px;
}
.ticket-prices p {
    line-height: 1.8;
}

.tt-club-section {
    align-items: center;
}
.tt-club-logo {
    text-align: right;
}
.tt-club-logo img {
    max-width: 250px;
    width: 100%;
    padding: 10px;
}

.info-subtitle {
    font-weight: bold;
    color: #495057;
    margin-top: -5px;
    margin-bottom: 20px;
}

/* Button Styling */
a.btn-worldmasters {
    display: inline-block;
    padding: 12px 25px;
    background-color: var(--accent-color, #800080); /* Use accent color with fallback */
    color: #fff;
    text-decoration: none;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    border-radius: 0;
    margin-top: 20px;
    transition: filter 0.3s ease, transform 0.3s ease;
}

a.btn-worldmasters:hover {
    filter: brightness(90%); /* Darken the accent color */
    transform: translateY(-2px);
    color: #fff;
    text-decoration: none;
}

.tournament-card {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-decoration: none;
    color: #333; /* Set a default text color */
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.tournament-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.card-image-container img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.card-content {
    padding: 20px;
}

.category-tag {
    display: inline-block;
    padding: 5px 10px;
    background-color: #5a2d45;
    color: white;
    border-radius: 5px;
    font-size: 0.8em;
    font-weight: bold;
    margin-bottom: 0; /* Remove margin as title is gone */
    text-transform: uppercase;
}

#wm-slider-container {
    width: 90%;
    margin: -220px auto 0 auto; /* Align with subpage header images for consistency */
    position: relative;
    z-index: 10;
    overflow: hidden; /* This will hide the other slides */
}

#wm-slider-container .wm-slider {
    display: flex;
    height: 100%;
    width: 100%; /* Will be multiplied by number of slides in JS */
    transition: transform 0.5s ease-in-out;
}

#wm-slider-container .wm-slide {
    flex-shrink: 0;
    width: 100%;
    height: 100%;
    display: flex; /* Center the image */
    align-items: center; /* Center the image */
    justify-content: center; /* Center the image */
}

#wm-slider-container .wm-slide img {
    width: 100%;
    height: auto;
    object-fit: cover;
}

/* Partners Page */
.partner-section h2,
.contact-section h2 {
    text-align: left;
    font-size: 1.5em;
    margin-bottom: 15px;
    padding-bottom: 5px;
    border-bottom: 2px solid;
    color: var(--accent-color, #800080);
}

.partner-grid-presenter {
    display: grid;
    grid-template-columns: 1fr;
    gap: 30px;
}
@media (min-width: 768px) {
    .partner-grid-presenter {
        grid-template-columns: 1fr 1fr;
    }
}

.partner-grid-standard {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.partner-logo-card {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    border: 1px solid #eee;
    box-shadow: 0 4px 15px rgba(0,0,0,0.05);
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}
.partner-logo-card:hover {
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
    transform: translateY(-5px);
}
.partner-logo-card img {
    max-width: 100%;
    height: auto;
}

/* Contact Page Specifics */
.contact-page p {
    line-height: 1.7;
}
.contact-page a {
    color: var(--accent-color, #800080);
    text-decoration: none;
    font-weight: bold;
}
.contact-page a:hover {
    color: var(--accent-color, #800080);
    text-decoration: underline;
}
.contact-person {
    margin-bottom: 25px;
}
.contact-person:last-child {
    margin-bottom: 0;
}
.contact-person p {
    margin: 0;
}

/* Gallery Page Slideshow */
.gallery-page .slideshow-container {
    position: relative;
    margin: auto;
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.gallery-page .slideshow-main .slide {
    display: none;
}

.gallery-page .slideshow-main .slide.active {
    display: block;
    animation: fade 0.5s ease-in-out;
}

@keyframes fade {
    from { opacity: .4 }
    to { opacity: 1 }
}

.gallery-page .slideshow-main img {
    width: 100%;
    vertical-align: middle;
}

.gallery-page .prev, .gallery-page .next {
    cursor: pointer;
    position: absolute;
    top: 50%;
    width: auto;
    padding: 16px;
    margin-top: -22px;
    color: white;
    font-weight: bold;
    font-size: 20px;
    transition: 0.6s ease;
    border-radius: 0 3px 3px 0;
    user-select: none;
    background-color: rgba(0,0,0,0.5);
}

.gallery-page .next {
    right: 0;
    border-radius: 3px 0 0 3px;
}

.gallery-page .prev:hover, .gallery-page .next:hover {
    background-color: rgba(0,0,0,0.8);
}

.gallery-page .slideshow-thumbnails {
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding: 20px 0;
    flex-wrap: wrap;
}

.gallery-page .thumbnail {
    cursor: pointer;
    opacity: 0.6;
    transition: opacity 0.3s ease;
    position: relative;
    width: 150px;
    height: 100px;
    overflow: hidden;
}

.gallery-page .thumbnail.active,
.gallery-page .thumbnail:hover {
    opacity: 1;
}

.gallery-page .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.gallery-page .thumbnail-year {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    text-align: center;
    padding: 5px 0;
    font-weight: bold;
}

.gallery-page .thumbnail-spacer {
    width: 150px;
}
