@import url('https://fonts.googleapis.com/css?family=Open+Sans:400,700');

* {
  box-sizing: border-box;
}

body {
  padding: 0;
  padding-top: var(--navbar-height);
  margin: 0;
  font-family: 'Open Sans', sans-serif;
}

main {
  /* Spacing now handled by container-fluid px-3 in each page */
}

form {
  display: inline;
}

.centered {
  text-align: center;
}

.line-item {
  font-size: 80%; 
  display: inline-block;
  width: 125px; /* adjust this value as needed */
  margin-bottom: 7px;
}


.warning {
    color: red;
    font-weight: bold;
    font-size: 75%; 
}


.main-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 3.5rem;
  background-color: #00695c;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  z-index: var(--z-fixed);
}

.main-header__nav {
  height: 100%;
  display: none;
  align-items: center;
}

.main-header__item-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-header__item {
  margin: 0 1rem;
  padding: 0;
}

.main-header__item a {
  text-decoration: none;
  color: white;
}

.main-header__item a:hover,
.main-header__item a:active,
.main-header__item a.active {
  color: #ffeb3b;
}

.mobile-nav {
  width: 30rem;
  height: 100vh;
  max-width: 90%;
  position: fixed;
  left: 0;
  top: 0;
  background: white;
  z-index: 10;
  padding: 2rem 1rem 1rem 2rem;
  transform: translateX(-100%);
  transition: transform 0.3s ease-out;
}

.mobile-nav.open {
  transform: translateX(0);
}

.mobile-nav__item-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  margin: 0;
  padding: 0;
}

.mobile-nav__item {
  margin: 1rem;
  padding: 0;
}

.mobile-nav__item a {
  text-decoration: none;
  color: black;
  font-size: 1.5rem;
  padding: 0.5rem 2rem;
}

.mobile-nav__item a:active,
.mobile-nav__item a:hover,
.mobile-nav__item a.active {
  background: #00695c;
  color: white;
  border-radius: 3px;
}

#side-menu-toggle {
  border: 1px solid white;
  font: inherit;
  padding: 0.5rem;
  display: block;
  background: transparent;
  color: white;
  cursor: pointer;
}

#side-menu-toggle:focus {
  outline: none;
}

#side-menu-toggle:active,
#side-menu-toggle:hover {
  color: #ffeb3b;
  border-color: #ffeb3b;
}

.backdrop {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100vh;
  background: rgba(0, 0, 0, 0.5);
  z-index: 5;
  display: none;
}

.grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
}

.card {
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.26);
}

.card__header,
.card__content {
  padding: 1rem;
}

.card__header h1,
.card__content h1,
.card__content h2,
.card__content p {
  margin: 0;
}

.card__image {
  width: 100%;
}

.card__image img {
  width: 100%;
}

.card__actions {
  padding: 1rem;
  text-align: center;
}

.card__actions button,
.card__actions a {
  margin: 0 0.25rem;
}

.btnx {
  display: inline-block;
  padding: 0.25rem 1rem;
  text-decoration: none;
  font: inherit;
  border: 1px solid #00695c;
  color: #00695c;
  background: white;
  border-radius: 3px;
  cursor: pointer;
}

.btnx:hover,
.btnx:active {
  background-color: #00695c;
  color: white;
}

@media (min-width: 768px) {
  .main-header__nav {
    display: flex;
  }

  #side-menu-toggle {
    display: none;
  }
}

/* Login Card Fixed Width - Prevents responsive width changes */
#login-card {
  width: 400px !important;
  min-width: 400px !important;
  max-width: 400px !important;
}

/* Login Card Container - Fixed width to match card */
.login-container {
  width: 400px !important;
  min-width: 400px !important;
  max-width: 400px !important;
  flex: none !important;
}

/* Signup Card Fixed Width - Prevents responsive width changes */
#signup-card {
  width: 500px !important;
  min-width: 500px !important;
  max-width: 500px !important;
}

/* Signup Card Container - Fixed width to match card */
.signup-container {
  width: 500px !important;
  min-width: 500px !important;
  max-width: 500px !important;
  flex: none !important;
}

/* Ensure horizontal scroll on very narrow screens */
@media (max-width: 450px) {
  body {
    min-width: 400px !important;
    overflow-x: auto !important;
  }
  
  .container {
    min-width: 400px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}

/* For very narrow screens with signup form */
@media (max-width: 550px) {
  body {
    min-width: 500px !important;
    overflow-x: auto !important;
  }
  
  .container {
    min-width: 500px !important;
    padding-left: 15px !important;
    padding-right: 15px !important;
  }
}


.main-header.auo {
  background-color: #1c91d0;
}

.main-header.fro {
  background-color: #d45122;
}

.main-header.wim {
  background-color: #296c3c;
}

.main-header.uso {
  background-color: #00288b;
}

.main-header.none {
  background-color: #4d4f54;
}



.bkgnd{
  background-color: rgb(0,112,60);
  
  /*
  background-color: rgb(197,86,27); French Open
  background-color: rgb(0,112,60); Wimbledon
  */
}

.txtcol{
  color: rgb(0, 0, 0);

  /*
  color: rgb(5,72,47); French Open
  color: rgb(78,38,131); Wimbledon

  */
}

.txtbody{
  color:rgb(0, 0, 0);
}

.titlelg{
  line-height: 0.75em; 
  font-size: 48px; 
  font-family: 'Rubik Glitch', cursive;
}

.titlemd{
  line-height: 0.75em; 
  font-size: 36px; 
  font-family: 'Rubik Glitch', cursive;
}

.subtitlemd{
  line-height: 0.75em; 
  font-size: 36px; 
  font-weight: 900; 
  font-family: 'Lato', sans-serif;
}

.subtitlesm{
  line-height: 0.75em; 
  font-size: 18px; 
  font-weight: 700; 
  font-family: 'Lato', sans-serif;
}

.form-select {
    background-color: #e1d045; 
    color: black;
}

.qffont {
  font-size: 12px;
}

.modal-content {
    background: #FFFFFF;
}

.modal-body {
    background: #FFFFFF;
}

.modal-header {
    background: #FFFFFF;
}

.wrap{
  background-color:white;   
} 

.rowHD{
  width: 50px;
}
.modal-backdrop {
   background-color: grey;
}

ul.sectionHd li:nth-child(17n-16){
    font-weight:bold;
}

ul.fsectionHd li:nth-child(17n-16){
    font-weight:bold;
}

.modal-btn-green {
    background-color: #28a745;  /* Bootstrap green */
    border-color: #28a745;      /* Bootstrap green */
}

.modal-btn-green:hover,
.modal-btn-green:focus,
.modal-btn-green:active {
    background-color: #218838;  /* Darken color on hover/focus/active */
    border-color: #1e7e34;      /* Darken color on hover/focus/active */
}

.modal-btn-red {
    background-color: #dc3545;  /* Bootstrap red */
    border-color: #dc3545;      /* Bootstrap red */
    color: white;
}

.modal-btn-red:hover,
.modal-btn-red:focus,
.modal-btn-red:active {
    background-color: #c82333;  /* Darken color on hover/focus/active */
    border-color: #bd2130;      /* Darken color on hover/focus/active */
}

.notification-hidden {
  display: none;
  font-size: 0.9em;
  color: orange; /* or any color that signifies a gentle alert */
  margin-top: 10px;
}

#qfNotification {
  max-width: 80%; /* or whatever width you feel appropriate */
  overflow: auto; /* in case the message becomes too long */
  /* other styles as previously defined */
}

.table-sm {
  line-height: 1em; 
  font-size: 12px; 
}

.qf-warning-text {
  color: red;
  font-style: italic;
}

.input-group-spacing {
  margin-top: 0.5rem;
  margin-bottom: 0.5rem;
}

.inputfooter {
  font-size: 8pt;  /* 6 point font size */
  margin-top: 0; /* Reduce or remove the top margin */
}

/* Tables css */
.round-column {
  max-width: 15px; /* Adjust the max-width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.name-column {
  max-width: 70px; /* Adjust the max-width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.other-column {
  max-width: 25px; /* Adjust the max-width as needed */
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.centred {
  text-align: center;
}

.table-responsive-mp {
  max-width: 800px; /* Adjust as needed */
  margin-left: auto;
  margin-right: auto;
}

.table-mp .th {
  font-size: 8px; /* Adjust the font size as needed */
}

.my-custom-width .table {
  max-width: 25%;
}




.custom-dropdown-height {
  height: calc(1.3rem + 10px); /* Adjust this value as needed */
  padding: .25rem .3rem; /* Adjust top and bottom padding as needed */
  
}

.small-radio .form-check-input { /* for radio buttons on playerperf */
  transform: scale(0.8);
}

.small-radio .form-check-label {
  font-size: 0.8rem;
}

/* Main CSS file */
.nav-link {
  color: white; /* Set link text color to white */
  text-decoration: none;
  padding: 0.5rem 1rem; /* Adjust padding to align vertically */
  display: inline-block; /* Ensure it displays inline */
}

.nav-link:hover,
.nav-link:focus {
  color: #ffeb3b; /* Light yellow color for hover/focus */
}

.nav-link-active {
  color: #ffeb3b; /* Yellow color for the active link */
  pointer-events: none; /* Optional: disable pointer events if you don't want the link to be clickable again */
}

.invisible-button {
  background-color: transparent; /* Make background transparent */
  border: none; /* Remove border */
  color: white; /* Inherit text color */
  cursor: pointer; /* Change cursor to pointer on hover */
  font: inherit; /* Inherit font settings */

  display: inline; /* Ensure it displays inline */
}

.invisible-button:hover,
.invisible-button:focus {
  color: #ffeb3b; /* Light yellow color for hover/focus */
}

.nav-link-form {
  display: inline; /* Ensure form displays inline */
}

.nav-item {
  display: inline-block; /* Ensure list items display inline */
}

.form-text {
  font-size: 0.57em; /* Adjust this value to make the text smaller */
  color: #828282;  /* This keeps the muted color */
  line-height: 1.2; /* Optional: Adjust line height for better readability */
}




