/* Import the Avro font from Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Avro&display=swap');

body {
  font-family: 'arvo';
  background-color: #f5f5f5;
  color: #333;
  font-size: 15px;
}

.body-bold {
  font-family: 'arvo';
  color: #006ab6; /* PGA Tour blue */
  padding: 10;
  font-size: 15px;
}

.body-bold a {
  text-decoration: underline;
}

.table-container {
  max-width: 100vw;
  overflow-x: auto;
  display: block;
  border-radius: 8px;
}

.container {
  max-width: 100vw;
  overflow-x: auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

h1 {
  font-size: 18px;
  font-weight: 700;
  color: #006ab6; /* PGA Tour blue */
  text-align: center;
  width: 100%;
  line-height: 1.5;
}

h2 {
  font-size: 15px;
  font-weight: 600;
  color: #006ab6;
  text-align: center;
  width: 100%;
  line-height: 1.4;
}

h3 {
  font-size: 10px;
  font-weight: 500;
  color: #808080;
  text-align: center;
  width: 100%;
  line-height: 1.3;
}

table {
  font-family: 'carlito';
  font-size: 15px;
  display: table;
  border-collapse: collapse;
  overflow-x: auto; /* This will add a scrollbar if the content overflows */
  background-color: #ffffff;
  margin: 0 auto;
  max-width: 100%; /* This will limit the table width to the parent container's width */
  width: 100%; /* This will make the table fill the width of its parent element */
  justify-self: center;
  border: none;
  border-radius: 8px;
  color: #006ab6;
}

.season-leaderboard-table {
  font-size: 18px;
}

.season-leaderboard-table td {
  font-size: 30px;
  background-color: white !important;
  color: #222 !important; /* or your preferred text color */
}

td {
  padding: 0.2em;
  text-align: center;
  border: none;
}

th {
  background-color: #FFD700;
  color: white;
  border: none;
  white-space: nowrap;
  padding: 5px;
}

table tr:nth-child(odd) {
  background-color: #eeeeee;
  text-align: center;
}

table tr:nth-child(odd) th{
  background: #AEDFF7; 
  color: black;
  text-align: center;
  font-family: 'arvo';
}

a {
  color: #006ab6;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

.button, .dropdown {
  background-color: #006ab6;
  border: none;
  color: white;
  padding: 5px 32px;
  text-align: center;
  text-decoration: none;
  display: inline-block;
  font-size: 16px;
  margin: 0px 10px 0px;
  cursor: pointer;
  border-radius: 4px;
}

@media (max-width: 600px) {
  .button {
      padding: 5px 10px;
      font-size: 12px;
  }
}

.button:hover {
  background-color: #004f8c; /* Darker PGA Tour blue */
}

.dropdown {
  background-color: #006ab6; /* PGA Tour yellow */
  color: #fafdff;
  border-radius: 8px;
  border: 1px solid #dadce0;
  max-height: 200px; /* Adjust as needed */
  overflow-y: auto;
}

.dropdown-content {
  background-color: #f8f9fa;
  color: #3c4043;
  border-radius: 8px;
  padding: 12px 16px;
  border: 1px solid #dadce0;
}

.hamburger-menu {
  width: 30px;
  height: 20px;
  position: relative;
  cursor: pointer;
}

.hamburger-menu div {
  width: 100%;
  height: 4px;
  background-color: #006ab6;
  position: absolute;
  transition: all 0.3s ease;
}

.hamburger-menu div:nth-child(1) {
  top: 0;
}

.hamburger-menu div:nth-child(2) {
  top: 50%;
  transform: translateY(-50%);
}

.hamburger-menu div:nth-child(3) {
  bottom: 0;
}

.navigation-item {
  margin-left: 1em;
}

.navigation-menu {
  display: none;
  position: absolute;
  background-color: #ffffff;
  width: 300px;
  max-height: 400px; /* Adjust as needed */
  overflow-y: auto;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

.navigation-menu a {
  color: #006ab6;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
}

.navigation-menu a:hover {
  background-color: red;
  color: white;
}

footer {
  background-color: #006ab6;
  color: white;
  text-align: center;
  padding: 10px;
}

.alert {
  padding: 10px;
  margin-bottom: 5px;
  margin-left: 10%;
  margin-right: 10%;
  border: 1px solid transparent;
  border-radius: 10px;
  font-size: 15px;
  text-align: center;
}

.alert-error {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

.alert-success {
  color: #155724;
  background-color: #d4edda;
  border-color: #c3e6cb;
}

.tournament-header {
  font-family: 'Alfa Slab One', sans-serif;
  position: absolute;
  color: white;
  font-size: 3em; /* Increase the font size */
  text-align: right;
  right: 0;
  bottom: 0;
  font-weight: 500;
  padding-left: 30px;
  padding-right: 5px;
}

/* When the viewport is 600px or less, decrease the font size */
@media (max-width: 600px) {
  .tournament-header {
    font-size: 1.75em;
  }
}

.table-header {
  font-family: "arvo";
  color: white;
  background-color: #006ab6;
  font: 1em arvo;
  text-align: center;
  right: 0;
  font-weight: 600;
}

.login-form {
  width: 90%;
  max-width: 300px;
  margin: 0 auto;
  padding: 30px 0;
  font-size: 15px;
}

.login-form form {
  margin-bottom: 15px;
  background-color: #006BA6;
  box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.3);
  padding: 30px;
  border-radius: 15px;
}

.login-form h2 {
  margin: 0 0 15px;
  color: #006BA6; /* PGA Tour dark blue */
  font-family: "arvo";
  font-size: 20px;
  font-weight: 600;
}

.login-form .form-control {
  box-sizing: border-box;
  margin-bottom: 20px;
  padding: 15px;
  font-size: 18px;
  border-radius: 5px;
  border: 1px solid #ccc;
  color: white;
}

.login-form .btn {
  font-size: 18px;
  border-radius: 5px;
  border: none;
  color: #000000;
  background-color: #ff0000; /* PGA Tour dark blue */
  cursor: pointer;
}

.login-form .btn:hover {
  background-color: #004C70; /* Darker PGA Tour dark blue */
}

.login-form .checkbox {
  color: #006BA6; /* PGA Tour dark blue */
}

.login-form .link {
  color: #006BA6; /* PGA Tour dark blue */
}

.login-form .link:hover {
  color: #004C70; /* Darker PGA Tour dark blue */
}

.news-container {
  width: 100%
}

.news-list {
  list-style-type: none;
  padding: 0;
}

.news-list li {

  padding: 1em; /* Adjust this value to create space above the border */
}

.news-list li:nth-child(odd) {
  background-color: #f2f2f2;
  border-bottom: 1px solid #ccc;
}

.news-list li:nth-child(even) {
  border-bottom: 1px solid #ccc;
}

.news-list h2 {
  margin: 0;
}

.news-list h2 a {
  color: #130d66;
  text-decoration: none;
}

.news-list h2 a:hover {
  color: #ff0000;
}

.news-item {
  display: flex;
  align-items: start;
}

.news-item div:nth-child(2) {
  margin-left: 20px;
}

.thumbnail {
  width: 100px;  /* Adjust as needed */
  height: auto;
}

/* Style for the list items in their normal state */
#draftOrder li {
    margin: 5px 0;
    padding: 10px;
    border: 1px solid #ddd;
    background-color: #f9f9f9;
    cursor: move;  /* Change the cursor to indicate that the items are movable */
    font-family: 'Avro', sans-serif;  /* Use the Avro font */
    font-size: 16px;
    transition: background-color 0.3s ease;  /* Smooth transition for the background color */
}

/* Style for the list item that is currently being dragged */
#draftOrder li.ui-sortable-helper {
    border: 1px solid #999;
    background-color: #fff;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.1);
    transform: scale(1.05);  /* Slightly enlarge the dragged item */
    transition: transform 0.3s ease;  /* Smooth transition for the transform */
}

/* Style for the list item that the dragged item will be dropped onto */
#draftOrder li.ui-sortable-placeholder {
    border: 1px dashed #999;
    background-color: #eee;
    visibility: visible !important;  /* Make the placeholder visible */
    height: 0;  /* Initially set the height to 0 */
    transition: height 0.3s ease;  /* Smooth transition for the height */
}