body {
  font-family: Arial, sans-serif;
  margin: 0px 50px 50px 50px;
  padding: 0;
}

a.record-caveat {
  text-decoration: none;
}


@media only screen and (max-width: 600px) {

  body {
    margin: 0px 15px 15px 15px;
  }

  .form-row {
    flex-wrap: wrap;
    margin-bottom: 15px;
  }

  .form-row label {
    flex-basis: 100%;
    margin-bottom: 5px;
  }

  .form-row input,
  .form-row textarea {
    width: 100%;
    font-size: 16px;
    padding: 8px;
  }

  .form-row select {
    width: 100%;
    font-size: 12px;
    padding: 8px;
  }


  .form-row button {
    width: 40%;
    margin: auto;
    padding: 8px 16px;
    font-size: 14px;
  }

  #week_label {
    font-size: 14px !important;
  }

  .column {
    flex: 0 0 46.5% !important;
    padding: 5px !important;
  }

  .empty {
    height: 50px !important;
    pointer-events: none;
  }

}


.note-section {
  background-color: #f5f5f5;
  padding: 10px;
  border-radius: 5px;
  margin-bottom: 20px;
}

.note-section h2 {
  font-size: 16px;
  margin-bottom: 5px;
  margin-left: 10px;
}

.note-section p {
  margin: 0;
  margin-bottom: 5px;
/*  text-indent: 15px;*/
  margin-left: 10px;
}

.note-section p::before {
  content: "\2022";
  margin-right: 5px;
}

.container {
  display: flex;
  justify-content: space-between;
  margin-top: 30px;
}
.column {
  flex: 0 0 48%;
  background-color: #f2f2f2;
  border-radius: 4px;
  padding: 10px;
}
.column-header {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  margin-top: -5px;
  padding: 10px 0;
  text-align: center;
  color: #5A5A5A;
}
ul {
  list-style-type: none;
  padding: 0;
  margin: 0;
}
li {
  background-color: #ffffff;
  padding: 10px;
  margin-bottom: 5px;
  cursor: move;
  position: relative;
  border-radius: 4px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#sortable-left li {
	margin-left: 40px;
}

.ui-droppable-hover {
  border: 2px dashed darkgray;
  border-radius: 4px;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.empty {
	background: #f2f2f2;
	height: 20px;
	box-shadow: none;
}

.form-row {
  flex: 1;
  display: flex;
  align-items: center;
  margin-bottom: 10px;
}

.form-label {
  flex: 0 0 120px;
  font-weight: bold;
  color: #444444;
}
.form-input {
  flex: 1;
  margin-left: 10px;
  padding: 8px;
  border: 1px solid #cccccc;
  border-radius: 4px;
}
.form-input[readonly] {
  background-color: #f2f2f2;
  pointer-events:none;
}
.form-input:focus {
  outline: none;
  border-color: #3469e8;
}
.submit-btn {
  padding: 10px 16px;
  border: none;
  background-color: #3469e8;
  color: #ffffff;
  font-size: 16px;
  font-weight: bold;
  border-radius: 4px;
  cursor: pointer;
}
.submit-btn:hover {
  background-color: #1e4db3;
}
.form-checkbox {
	display: block;
	align-items: center;
	margin-top: 20px;
	margin-bottom: 20px;
	font-style: italic;
	
}
.form-checkbox-label,input[type="checkbox"] {
	cursor: pointer !important;
}

#sortable-left .ranking {
  position: absolute;
  top: 50%;
  left: -40px;
  width: 30px;
  text-align: center;
  font-weight: bold;
  transform: translateY(-50%);
}

#sortable-right .ranking {
  display: none;
}


.team-record {
  font-size: 14px;
  color: #777;
  display: inline-block;
  margin-left: 0px;
}

@media (max-width: 768px) {
  .team-record {
    font-size: 12px;
    display: block;
    margin-top: 5px;
  }
}


.modal {
  display: none;
  position: fixed;
  z-index: 1;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  overflow: auto;
  background-color: rgba(0, 0, 0, 0.4);
}

.modal-content {
  background-color: #fefefe;
  margin: 15% auto;
  padding: 20px;
  border: 1px solid #888;
  width: 500px;
  border-radius: 5px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
  text-align: center;
}

@media (max-width: 768px) {
  .modal-content {
    width: 75%;
  }
}



.hide-cursor-input {
  caret-color: transparent;
}

#success-modal-text {
	text-align: left;
}

#choose-password-modal-link {
  margin-bottom: 20px;
}

.modal-close, .choose-password-modal-close {
  color: #aaa;
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}

.modal-close:hover,
.modal-close:focus,
.choose-password-modal-close:hover,
.choose-password-modal-close:focus {
  color: black;
  text-decoration: none;
  cursor: pointer;
}


/* Error message style */
.error-message {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ffcccc;
  color: #cc0000;
  border: 1px solid #cc0000;
  border-radius: 5px;
  display: flex;
  justify-content: flex-end;
}

/* Success message style */
.success-message {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ccffcc;
  color: #006600;
  border: 1px solid #006600;
  border-radius: 5px;
  display: flex;
  justify-content: flex-end;
}


/* Warning message style */
.warning-message {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ffffcc;
  color: #666600;
  border: 1px solid #666600;
  border-radius: 5px;
  display: flex;
  justify-content: flex-end;
}

/* Notification message style */
.notification-message {
  padding: 10px;
  margin-bottom: 10px;
  background-color: #ccffff;
  color: #000066;
  border: 1px solid #000066;
  border-radius: 5px;
  display: flex;
  justify-content: flex-end;
}


#success-message-submit, #error-message-submit {
  margin-top: 10px;
  margin-bottom: 200px;
}


.close-message-btn {
  margin-left: auto;
  color: inherit;
/*  font-size: 25px;*/
  font-weight: bold;
  background-color: transparent;
  border: none;
  cursor: pointer;
}

/* LOGO & HEADER */

header {
  position: fixed;
  top: 0;
  right: 0;
  width: 100%;
  background-color: #f0f0f0;
  padding: 10px;
  z-index: 999;
}

.logo {
  float: right;
}

.logo img {
  height: 40px;
  width: auto;
  margin-top: -6px;
}


/* SUMMARY TABLE */

/* Table styles */
.table-container {
  background-color: #f9f9f9;
  border: 1px solid #ddd;
  border-radius: 5px;
  padding: 10px;
  margin-bottom: 20px;
}

.inner-table-container {
  overflow-x: auto;
  padding-bottom: 10px;
}

table {
  width: 100%;
  border-collapse: collapse;
}

th,
td {
  padding: 10px;
  text-align: center;
  border: 1px solid #ddd;
}

th {
  background-color: #f5f5f5;
  font-weight: bold;
}

.positive {
  color: green;
}

.negative {
  color: red;
}

#user-table_filter {
  margin: 10px;
}

#user-table_filter input {
  border: 1px solid #cccccc;
  border-radius: 4px;
  flex: 1;
  margin-left: 10px;
  padding: 8px;
}

.export-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #3e76fe;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

/* LOGIN */

#password {
  min-width: 100px;
}

.password {
  min-width: 100px;
}

.password-toggle {
  padding: 10px;
  height: 25px;
  width: 25px;
  cursor: pointer;
}

.reset-password-button {
/*  display: inline-block;*/
  padding: 10px 20px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-button {
  display: inline-block;
  padding: 10px 20px;
  background-color: #4CAF50;
  color: #fff;
  border: none;
  border-radius: 5px;
  cursor: pointer;
}

.login-emoji {
  height: 100%;
  vertical-align: middle;
  width: 25px;
  padding-left: 10px;
  padding-right: 10px;
}

.login-status {
  font-style: italic;
  padding-left: 10px;
  padding-right: 10px;
  margin: auto;
}

.reset-password {
  font-style: italic;
  padding-left: 10px;
  padding-right: 10px;
  margin: auto;
}

.bullet {
  margin: auto;
}

.mobile-login-status {
  padding-bottom: 20px;
}

.desktop-login-status {
  display: none;
}

@media screen and (min-width: 780px)  {
    .mobile-login-status { display: none; }
    .desktop-login-status { display: flex; }
}


/**
 * 
 * Navigation modal
 * 
*/


.scroll-buttons {
  position: fixed;
  bottom: 40px;
  right: 20px;
  display: flex;
  flex-direction: column;
  align-items: center; /* Align buttons to the right */
}

.scroll-button {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 60px;
  height: 60px;
  background-color: #ffffff;
  border: none;
  border-radius: 10%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  font-size: 24px;
  color: #333;
  outline: none;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

.scroll-button:not(:last-child) {
  margin-bottom: 15px;
}

.scroll-button:hover {
  background-color: #d1f4ff;
}

.scroll-button i {
/*  display: block;*/
  margin: auto;
}

.unselectable {
  -webkit-touch-callout: none;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  touch-action: manipulation;
}

/* Media query for mobile devices */
@media (min-width: 600px) {
  .scroll-button {
    display: none; /* Hide the modal on larger screens */
  }

  .footer-nfhca-short {
    display: none !important;
  }


}

@media (max-width: 600px) {
  /* make the teams not highlightable when long holding */
  .connected-sortable li {
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
  }

  .footer-nfhca-long {
    display: none !important;
  }

}

/* select */

select {
  padding: 10px;
  padding-right: 30px;

  -moz-appearance: none;
  -webkit-appearance: none;
  appearance: none;
  background-image: url('../img/down-caret.svg');
  background-repeat: no-repeat, repeat;
  background-position: right .7em top 50%, 0 0;
  background-size: 1.5em auto, 100%;
}

/* For IE */
select::-ms-expand {
  display: none;
}



/* coming soon banner */


.coming-soon-banner {
  position: relative;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-left: -50px;
  margin-right: -50px;
}

.background-image {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  opacity: 0.6;

  filter: brightness(100%);
  background: url("../img/fieldhockey.jpeg") center/cover;
  background-size: cover;
}

.background-image-2 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  opacity: 0.4;
  filter: brightness(100%);
/*  margin-top: -250px;*/
  background: url("../img/ncaatrophy.avif") bottom/cover;
  z-index: -9999;
}

.banner-content {
  text-align: center;
  color: #ffffff;
  z-index: 1; /* Ensure text appears above the background image */
  margin: 10%;
}

.banner-content h1 {
  font-size: 48px;
  margin-bottom: 20px;
  font-weight: bold;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.banner-content p {
  font-size: 24px;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}



/* footer */

.site-footer {
  background-color: black;
  padding: 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 14px;
  margin-top: 250px;
  margin-bottom: -50px;
  margin-left: -50px;
  margin-right: -50px;
/*  padding-top: 50px;*/
}

.footer-left {
  flex: 1;
  color: white;
/*  margin-left: 10%;*/
}

.footer-right {
  text-align: right;
/*  margin-right: 10%;*/
}

.footer-right a {
  color: white;
  text-decoration: none;
}

@media (max-width: 600px) {

  .site-footer {
    height: 100px;
    margin-right: -15px;
  }

  .banner-content {
    padding-left: 35px;
  }

  .banner-content h1 {
    font-size: 40px;
  }


  .footer-left {
      margin-left: 50px;
      padding-right: 10%;
  }

  .footer-right {
      margin-right: 15px;
  }

  .coming-soon-banner {
    margin-right: -15px;
  }



}


/* Style for the table of contents container */
.toc {
    background-color: #f5f5f5;
    border: 1px solid #ddd;
    padding: 10px;
    margin-bottom: 20px;
    text-align: center;
    border-radius: 5px; /* Rounded edges */
}

/* Style for the TOC buttons container */
.toc-list {
    display: flex;
    justify-content: space-between;
}

/* Style for the TOC button */
.toc-link {
    flex: 1;
    padding: 10px;
    background-color: #007bff;
    color: #fff;
    text-decoration: none;
    text-align: center;
    cursor: pointer;
    transition: background-color 0.3s;
    border-radius: 5px; /* Rounded edges */
    margin: 0 5px; /* Spacing between buttons */
}

@media (max-width: 600px) {

  .toc-list {
    flex-direction: column;
  }

  .toc-link {
      margin: 5px 0;
  }
}

/* Style for hover effect on TOC buttons */
.toc-link:hover {
    background-color: #0056b3;
}

