:root {
  --fs-logo: clamp(1.8rem, 3vw + .75rem, 3.5rem);
  --fs-xl: clamp(1.5rem, 3vw + 1rem, 2.5rem);
  --fs-700: 2.0rem;
  --fs-650: 1.75rem;
  --fs-600: 1.5rem;
  --fs-500: 1.25rem;
  --fs-400: 1rem;
  --fs-350: .8rem;  /*only used for footer text */
  --fs-300: 0.6rem;  
  --fs-TinyResponsive: clamp(.55rem, 1.25vw + .4rem, 1.75rem);
}


body {
    background-color: #f3f3f3;
    font-family: arial;
    height: 100%;
}

.ArticleBody {
  margin: 10px; /* Reset any margins */
  padding: 0; /* Also reset padding if needed */
}



.ArticleBody p:first-child {
  margin: 5% 0% 0% 0%;
}
.ArticleBody h1 {
    font-size: var(--fs-600);
    margin: 3% 0% 4% 0%;
    text-decoration: underline;
    font-family: 'Montserrat', sans-serif;
}
.ArticleBody h2 {
  font-size: var(--fs-500);
  margin: 0 0 2% 0;
}
.ArticleBody h2:nth-child(n+2) {
  margin: 40px 0% 2% 0%;     /* top was 5% 4/3/25 */
}
.ArticleBody p,
.HistoricalTableArticle p {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px; /*was 20px july 13 2021 */
  line-height: 1.9;
}

.HistoricalTableArticle h1 {
  margin: 10px;
}

.Title_text {
  /*position: relative;    wanna position this Text (caption, author, tags) at the bottom of the div.  But this breaks it.  Will spend more time when not in graaad school*/
  width: 100%;

}

.Title_text h1 {
  font-size: var(--fs-500);
  margin: 0 0 8% 0;
  font-family: 'Montserrat', sans-serif;
  }

.Title_text h2 { 
  font-size: 1.4vw;
  font-weight: normal;
  margin: 5% 0 1.5% 0;
  text-decoration: underline;
 }
.Title_text h5 {
    font-size: var(--fs-400);
    padding-top: 0px;
    padding-bottom: 0px;
    font-style: italic;
    font-weight: normal;
    margin: 3% 0 3% 0;}

.Title_text h6 {
    font-size: var(--fs-400);
    margin: 5% 0 5% 0;
}

.TableOfContentsList {
  font-size: var(--fs-400);
  margin: 1% 0 1% 0px;
  display: inline-block;
  padding: 0 0 0 5%;
}

.TableOfContentsList li:hover {
  background-color: rgb(255, 255, 255, .4);
  cursor: pointer;
}

@media (max-width: 600px) {
  .Title_text h5,
  .TableOfContentsList {
    font-size: var(--fs-350);
  }
  .Title_text h6 {
    font-size: var(--fs-300);
  }
}






.article-container {
    width: 100%;
}

.article-box {
    background: rgb(255, 255, 255, .3);
    width: 100%;
}

.article-box:hover {
    background-color: rgb(255, 255, 255, .7);
    cursor: pointer;
  }


.PseudoHoverNonLink {
  text-decoration: none;
}


.responsive_iframe_Top5HRbyFranchise {
  float: left; /* Float the div to the left */
  margin: 0 25px 15px 0; /* Add some spacing around the div */
  width: 100%; /* Default to 100% width */
  max-width: 602px; /* Ensure it doesn't exceed 602px */
  height: 402px; /* Set height to 402px */
  border: none; /* Optional: Removes the iframe border */
}

@media (max-width: 1030px) {
  /* Prevent text wrapping when the available space is too small */
  .responsive_iframe_Top5HRbyFranchise {
    float: none; /* Remove float */
    margin: 0 auto; /* Center the div */
    display: block; /* Ensure it behaves as a block element */
  }
}

.responsive-iframe_WSLineupHits {
  width: 100%;         /* Make the iframe take up 100% of the available width */
  max-width: 475px;    /* Limit the width to 475px */
  height: 600px;       /* Fixed height */
  border: none;        /* Removes the border */
  overflow: auto;      /* Ensures scrolling if content exceeds iframe dimensions */
}







* {
  box-sizing: border-box;
}

.wrapper {
  background-image: url(moon/EverythingComesInWaves.jpg);
  background-position: center center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  background-size: cover;
  max-width: 100%;
  margin: 0;
  font: Helvetica, arial, sans-serif;
  height: 100%;
  overflow: hidden;
}

.wrapper>* {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 5px;
  padding: 0px;
}

.oneSUB {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 12px;
  font-family: 'Playfair Display', serif;
  grid-area: one;
  word-wrap: break-word;
  padding-left: 0px;
  padding-top: 0px;
  height: 100%;
  margin: 0px;
  max-width: 100%;
}

.oneSUB_SublimeSeasons {
    /* background-color: rgba(255, 255, 255, .7); */
    background-image: url(pages/pics/backgrounds/ColorfulSlats.jpg);
    border-radius: 12px;
    font-family: 'Playfair Display', serif;
    grid-area: one;
    word-wrap: break-word;
    padding-left: 0px;
    padding-top: 0px;
    height: 100%;
    margin: 0px;
    max-width: 100%;
}





.about_writer_box {
  display: flex;
  align-items: center;
  border: 2px solid #e0e0e0;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.4);
  padding: 14px 10px;
  margin: 32px 0 32px 0;
  max-width: 550px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
}

.about_writer_img {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  object-fit: cover;
  margin-right: 18px;
  border: 2px solid #ccc;
}

.about_writer_text {
  flex: 1;
}

.about_writer_name {
  display: block;
  font-size: 1.2em;
  color: #fd7739;
  font-weight: bold;
  margin-bottom: 6px;
}

.about_writer_socials {
  margin-top: 10px;
}











.img_container_InArticle_DickAllenGlasses {
  flex-shrink: 0;
  float: right;
  clear: both;
  height: auto;
  margin: 1% 1% 1% 1%;
  width: 28%;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: cover;
  object-position: 50% 50%;}

.articles_mainIMG_InArticle_VariousImages {
  display: block;
  width: 100%;}
.img_container_InArticle_DickAllenGlasses p {
  position: relative;
  font-size: 10px;
  margin: 0;
  padding: 0px 5px 0 5px;
  background-color: rgba(255, 255, 255, 0.2);}
.img_container_InArticle_DickAllenGlasses a:hover {
  background-color: rgb(28, 224, 238);
  cursor: pointer;}

  #img_container_IndexMainImage {
    border-radius: 4px;
    flex-shrink: 0;
    float: right;
    clear: both;
    height: auto;
    margin: 7px 15px 5px 10px;
    width: 50%;
  

    max-height: 100%;
    max-width: 100%;
    display: block;
    border: black;
    object-fit: cover;
    object-position: 50% 50%;}
  
  .articles_mainIMG_InArticle_IndexMainImage {
    display: block;
    height: 100%;
    width: 100%;
  }

  #img_container_IndexMainImage p {
    position: relative;
    font-size: var(--fs-300);
    margin: 0;
    padding: 0px 5px 0 5px;
    background-color: rgba(255, 255, 255, 0.2);}
  #img_container_IndexMainImage a:hover {
    background-color: rgb(28, 224, 238);
    cursor: pointer;}

    /*Try for basic image (no citation etc.) 8/17/23 */

  .articles_mainIMG_InArticle_JustImage {
    display: block;
    height: 200px;
    width: 100%;}
  .img_container_InArticle_JustImage p {
    position: relative;
    font-size: 1.5vw;
    margin: 0;
    padding: 0px 5px 0 5px;
    background-color: rgba(255, 255, 255, 0.2);}
  .img_container_InArticle_JustImage a:hover {
    background-color: rgb(67, 238, 28);
    cursor: pointer;}

  .WriterBox {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap; /* Allows boxes to wrap to the next line if needed */
  }


  .poem {
  max-width: 680px;
  margin: 24px 0 48px 0; /* Top/bottom spacing, left aligned */
  padding: 18px 24px;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  font-family: 'Georgia', serif;
  font-size: 1.08em;
  line-height: 1.35;
  text-align: left;
}
.poem p {
  margin: 0 0 4px 0;
  text-align: center;
}


  
    .Citations p {
      font-size: 10px;
      line-height: 1.2;
    }


    .Citations h3 {
      margin-top: 30px;
    }


  #img_container_TeamsCatchersSince2002Chart {
    float: right;
    width: 60%;
  }

  @media (max-width:850px) {
    #img_container_TeamsCatchersSince2002Chart {
      width: 100%;
    }
  }

  #img_container_MediumTall {
    float: right;
    width: 37%;}



    #img_container_Left27 {
      float: left;
      width: 27%;}


    #img_container_InArticle_Left150px {
      float: left;
      margin: 0% 30px 20px 0px;
      width: 150px;
    }

#img_container_InArticle_Right380px {
  float: right;
  margin: 0px 30px 40px 30px;
  width: 380px;
}

/* ...existing .poem styles... */

@media (max-width: 820px) {
  #img_container_InArticle_Right380px {
    float: none;
    display: block;
    margin: 0 auto 20px auto;
    width: auto;         /* Don't force 100% width */
    max-width: 380px;    /* Keep image from getting too big */
  }
  .poem {
    max-width: 100%;
    margin: 12px 0;
    padding: 12px 8px;
    clear: both;         /* Ensure poem starts below the image */
  }
}






    #img_container_InArticle_Left35 {
      float: left;
      width: 38%;}

    #img_container_Right40 {
      float: right;
      width: 40%;
      min-width: 180px;  
    }

  #img_container_ShortRectangle {
    float: right;
    width: 60%; 
  }
        @media (max-width:820px) {
    #img_container_ShortRectangle {
      width: 95%;
    }
  }

    #img_container_Right35 {
      float: right;
      width: 35%;}

  
    #img_container_Right30 {
      float: right;
      width: 30%;}


    #img_container_Right25 {
      float: right;
      width: 25%;}

    #img_container_Left70 {
      float: left;
      width: 70%;
    }

    @media (max-width: 578px) {
      #img_container_Left70 {
        width: 100%;
      }
    }




        






        .img_container_MultipleImages {
          flex-shrink: 0;
          float: right;
          clear: both;
          height: auto;
          margin: 1% 1% 1% 1%;
          width: 30%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;}
        





        .WSLogoFromLeft {
          clear: right;
          float: right;
          margin: 1% 1% 1% 3%;
          width: 35%;
          height: auto;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: contain;
          object-position: 50% 0%;
        }
        
        /* Style the tab */
        .tab {
          margin: 3% 0 0 0;
          overflow: hidden;
          border: 1px solid #ccc;
          background-color: #f1f1f1;
        }
        
        /* Style the buttons inside the tab */
        .tab button {
          background-color: inherit;
          float: left;
          border: none;
          outline: none;
          cursor: pointer;
          padding: 14px 16px;
          transition: 0.3s;
          font-size: 17px;
        }
        
        /* Change background color of buttons on hover */
        .tab button:hover {
          background-color: #ddd;
        }
        
        /* Create an active/current tablink class */
        .tab button.active {
          background-color: #ccc;
        }
        
        /* Style the tab content */
        .tabcontent {
          border: 3px solid rgb(204, 204, 204);
          border-top: none;
          display: block;
          margin: 0 0 6% 0;
          overflow: auto;
          padding: 6px 12px;
        }
        .tabcontent h3 {
          font-size: 28px;
          margin: 3% 0 0 0;
        }
        
        .tabcontent h4 {
          font-size: 22px;
          font-weight: normal;
          margin: 2% 1% 1% 1%;
        }
        
        .tabcontent p {
          font-size: 16px;
        }
        
        .WSLineup {
          background-color: rgba(255,255,255, .3);
          border-radius: 3%;
          display: inline-block;
          font-size: var(--fs-400);
          margin: 0px;
          padding: 1% 2% 1% 4%;
        }

        .img_container_InArticle {
          flex-shrink: 0;
          clear: both;
          height: auto;
          margin: 1% 1% 1% 1%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;
        }


.SideBySideFlex {
    display: flex;
    gap: 2%;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap; /* allows stacking on small screens */
}

.SideBySidePictures {
    width: 48%;
    margin: 0 0 1em 0;
    float: none; /* override any float */
    box-sizing: border-box;
}

@media (max-width: 800px) {
    .SideBySidePictures {
        width: 100%;
    }
}


        #WSLineupHits {
          flex-shrink: 0;
          float: none;
          clear: both;
          height: auto;
          margin: 1% 0% 2% 2%;
          width: 75%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: contain;
          object-position: 50% 50%;}

        .iframe_withtextbox {
          width: 474px; /* Matches the iframe width */
          float: left;

          flex-shrink: 0;
          clear: both;
          height: auto;
          margin: 1% 20px 1% 1%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;
        }
        
        @media (max-width: 915px) {
            .iframe_withtextbox {
                margin: 1% auto; /* Centers the div and removes margin-right */
                float: none; /* Removes float to ensure it takes up the full width */
            }
        }
        

        .img_container_InArticle p,
        .img_container_MultipleImages p,
        .iframe_withtextbox p {   /*want to use this caption style for ALL pictures in Articles  4/4/2025 */
          position: relative;
          font-size: 10px;
          margin: 0;
          padding: 0px 5px 0 5px;
          background-color: rgba(255, 255, 255, 0.2);}



          .img_container_InArticle a:hover,
          .img_container_MultipleImages a:hover {    /* this is used over and over again.  It's the CLASS that all pics (div ids) have */
            background-color: rgb(28, 224, 238);
            cursor: pointer;}




        .ImageInContainer_InArticle {
          width: 100%;
        }




/*ARTICLETitlePic includes 2 "columns" --->Picture and Text.
    -The picture is all handled in img_container and articles_mainIMG   
    -The text is in img_container p and then sneaky in div class=text  *See below*

  ARTICLETitlePic
    .img_container
        img - (.img_container img)   -  display: block; and width: 100%;    makes the picture not too wide.

    .text
        ul - CategorizeTags
    */












.modal_trigger {
  cursor: pointer;
}



.ARTICLETitlePic {
    background-color: rgba(255, 255, 255, .0);
    box-sizing: border-box;
    display: flex;
    flex-shrink: 0;
    margin: 0 0 5px 0;
  }
  .ARTICLETitlePic img {
      padding: 0 5px 0 0;
      margin-bottom: 2%; }

  .ARTICLETitlePic h2 {
    font-size: var(--fs-500);
  }

        .img_container {
          flex-shrink: 0;
          float: left;
          margin: 0 2% 0px 0;
          width: 50%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;
        



        }

        .img_container img{
          width: 100%;
          display: block;
        }
        

.img_container p {
  position: relative;
  font-size: 10px;
  margin: 0;
  padding: 0px 5px 0 5px;
  background-color: rgba(255, 255, 255, 0.2);

  font-family: 'Work Sans', sans-serif;
  line-height: 1.9;
}


        .img_container a:hover {
          background-color: rgb(28, 224, 238);
          cursor: pointer;}




        .img_containerTALL {
          flex-shrink: 0;
          float: left;
          margin: 0 2% 0px 0;
          width: 30%;
          max-height: 100%;
          max-width: 100%;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;
        }
        .img_containerTALL img {
          width: 100%;
        }
        .img_containerTALL p {
          position: relative;
          font-size: 10px;
          margin: 0;
          padding: 0 5px 0 5px;
          background-color: rgba(255, 255, 255, 0.2);
          font-family: 'Work Sans', sans-serif;
          line-height: 1.9;
        }

        .img_containerTALL a:hover {
          background-color: rgb(28, 224, 238);
          cursor: pointer;
        }
        
        
        
        .img_containerLarge {
          float: left;
          margin: 0 2% 0 0;
          width: 100%;
          max-height: 100%;
          max-width: 100%;
          margin-bottom: 42px;
          display: block;
          border: black;
          object-fit: cover;
          object-position: 50% 50%;
        }
        .img_containerLarge p {
          position: relative;
          font-size: 10px;
          margin: 0;
          padding: 0 5px 0 5px;
          background-color: rgba(255, 255, 255, 0.2);
        }
        .img_containerLarge a:hover {
          background-color: rgb(28, 224, 238);
          cursor: pointer;
        }



/* #idAwardsPlayerTable, #StandingsTable, #BasicTable, #PitchingPlayerStatsTable, #HittingPlayerStatsTable, #idPlayerStatsTable all had overflow-x: scroll and i change it to overlow-x: auto */

#idAwardsPlayerTable {
  table-layout: fixed;
  background-color: #f8f9ee;
  border-collapse: collapse;
  margin: auto;
  text-align: center;
  overflow-x: auto;
  max-width: 95%;


  font-size: .785714286em;
  font-family: Verdana,sans-serif;
}

#idAwardsPlayerTable td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Adjust the alpha value for opacity */
  border-right: 1px solid rgba(0, 0, 0, 0.2); /* Adjust the alpha value for opacity */
  height: 22.5px;
  line-height: 8px;
  padding: 2px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  min-width: 35px;
  position: relative;      /* did mess around with position: static; but later found giant line breaking table */
  box-sizing: border-box;

  max-width: 150px; /* Add this to both th and td for max-width */
}





/*
#HitterPageDashboard, #PitcherPageDashboard {
  width: 100%; 
  max-width: 550px; 
  padding: 0 10px 0 10px;
  border: 3mm ridge rgba(211, 220, 50, .6);
}
#HitterPageDashboard h2 {
  font-size: 1.2em;
}
#HitterPageDashboard p, #PitcherPageDashboard p {
  font-size: 1em;
  text-align: center;
  white-space: nowrap; 
}


*/







#HitterPageDashboard_text, #PitcherPageDashboard_text {
  display: flex;
  flex-direction: column;
  border: 1px solid #ccc;
  padding: 10px;
  box-sizing: border-box;
  min-width: 340px;
  max-width: 400px; /* But limit the width to 900px max */
  padding: 0 4px 0 4px;
  border: 3mm ridge rgba(211, 220, 50, .6);
  display: flex;
  align-items: flex-start;  /* Align to the top while allowing growth */
  justify-content: space-between; /* Ensures two columns take equal space */
  width: 100%;
  min-height: fit-content; /* Expands based on content */
}
#HitterPageDashboard_text h2, #PitcherPageDashboard_text h2 {
  text-align: center;
  margin: 2% 0% 3% 0%;
  width: 100%;
  text-decoration: underline;
  font: 1.8em Proza;

}
.stats-awards-container {
  display: flex;
  width: 100%;
  height: 92px;
}
.stats-column {
  width: 50%;
  min-width: 140px;
  max-width: 220px;
  display: flex;
  flex-direction: column;
  /*background-color: blue; */
  min-height: fit-content; /* Ensures it grows to fit content */
  font-size: 0.9em; /* Smaller, scales with the parent's size */
  line-height: 1.6;
  padding: 0 0 0 8px;
}
.stats-row {
  display: flex;
  justify-content: space-between; /* Space out labels and stats */
  gap: 8px; /* Adds space between items */
}
.awards-column {
  display: flex;              /* Use flexbox for the container */
  justify-content: space-between; /* Space the two subcolumns evenly */
  width: 100%;                /* Ensure it spans the full width */
  gap: 5px;                  /* Add spacing between the two subcolumns */
  margin: 0 0 0 5%;
}

.awards-subcolumn {
  display: flex;              /* Use flexbox for each subcolumn */
  flex-direction: column;     /* Stack items vertically */
  width: 49%;                 /* Each column takes up 48% of the width (for a 2-column layout) */
  gap: 5px;                  /* Add spacing between the award items within the column */
}

.award-item, .award-item_MVP, .award-item_SS, .award-item_GG, .award-item_ASROY,
.award-item_SS_metallic-button,
.award-item_GG_metallic-button,
.award-item_ASROY_metallic-button,
.award-item_MVP_metallic-button,
.award-item_CY_metallic-button,
.award-item_WS_metallic-button
 {
  min-width: 75px;
  padding: 2px;
  font-size: 14px;
  background-color: red;
  display: flex;
  align-items: center;       /* Center the text vertically */
  justify-content: center;   /* Center the text horizontally */
  border-radius: 3px;
  height: calc(33.33% - 5px);  /* Adjust height by subtracting margin from each item */

  /*metallic-buttom parts */
  color: black;
  font-size: 15px;
  font-weight: bold .4;
  border: none;
  outline: none;

  text-shadow: 1px 1px 2px rgba(255, 255, 255, 0.5);
  border-radius: 3px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  transition: all 0.2s ease-in-out;
}


.award-item_Title {
  display: flex;
  align-items: center; /* Vertically centers content */
  justify-content: center; /* Horizontally centers content */
  padding: 5px 10px; /* Keeps spacing inside */
  text-align: center;
  font-size: 20px;

  border-radius: 5px;
  color: black;
  width: fit-content; /* Shrinks to fit content */
  min-height: 80px; /* Ensures a minimum height but expands if needed */
  margin: 0 auto 1% auto; /* Centers the div horizontally */
  width: 100%;
}

.SeasonAwardsSummary li a {   /*styles the award gems (a links)*/
  color: black;
}

.award-item_Title h2 {
  margin: 0;
  font-weight: normal;
}

#award-item_SS_Title {
  max-width: 200px;
}

#award-item_SS_Title h2 {
  font-size: 1em;
}




.award-item_SS_metallic-button,
#award-item_SS_Title {
  background: linear-gradient(
    45deg,
    #bebebe 5%,
    #fff 10%,
    #ccc 30%,
    #ddd 50%,
    #ccc 70%,
    #fff 80%,
    #bebebe 95%
  );
}
.award-item_GG_metallic-button,
#award-item_GG_Title {
  background: linear-gradient(
    45deg,
    #ba9736 5%,
    #efca73 10%,
    #cfae53 70%,
    #ba9736 50%,
    #cfae53 70%,
    #efca73 80%,
    #ba9736 95%
  );
}
.award-item_ASROY_metallic-button,
#award-item_ASROY_Title {
  background: linear-gradient(
    45deg,
    #80ceff 5%,
    #8dc7ec 10%,
    #6ae9f7 70%,
    #184c78 50%,
    #6ae9f7 70%,
    #8dc7ec 80%,
    #80ceff 95%
  );
}
.award-item_MVP_metallic-button,
#award-item_MVP_Title {
  background: linear-gradient(
    45deg,
    #fe7d7d 5%,
    #ff4343 10%,
    #a880ff 70%,
    #a880ff 50%,
    #a880ff 70%,
    #ff4343 90%,
    #fe7d7d 95%
  );
}

.award-item_CY_metallic-button,
#award-item_CY_Title {
  background: linear-gradient(
    45deg,
    #5b5b5b 5%,
    #5b5b5b 10%,
    #80ffbb 70%,
    #80ffbb 50%,
    #80ffbb 70%,
    #76ad90 90%,
    #91b6a2 95%
  );
  color: rgb(0, 0, 0);
}

.award-item_WS_metallic-button {
  background: linear-gradient(
    45deg,
    #75fd89 5%,
    #75fd89 10%,
    #0ebc28 70%,
    #017212 50%,
    #0ebc28 70%,
    #75fd89 90%,
    #75fd89 95%
  );
}

.award-item_SS_metallic-button:hover,
.award-item_GG_metallic-button:hover,
.award-item_ASROY_metallic-button:hover,
.award-item_MVP_metallic-button:hover,
.award-item_WS_metallic-button:hover,
.award-item_CY_metallic-button:hover
 {
  transform: translateY(-2px);
}

#award-item_MVP_Title,
#award-item_CY_Title,
#award-item_ASROY_Title,
#award-item_GG_Title,
#award-item_SS_Title {
  min-width: 200px;
  width: 35%;
}





.AwardsTags {
  height: 100%;
}











/* Parent container that holds both the sections */
#StandingsPageTop {
  display: flex; /* Use flexbox to lay out children in a row */
  flex-wrap: wrap; /* Allow children to wrap onto new lines when necessary */
  gap: 1%; /* Space between the items */
  justify-content: flex-start; /* Align the items to the left */
  align-items: flex-start;
  margin: 1% 0% 1% 0%;
  width: 100%;
}
#StandingsPageDropdown,
#StandingsWSWinner {
  display: inline-block; /* Forces them to behave as inline-flex items */
  align-items: center; /* Ensures vertical alignment */
  white-space: nowrap; /* Prevents text wrapping */
  width: 100%;
}

/* Historic Summary - Left side */
#StandingsHistoricSummary {
  width: 100%; /* Let it take up 100% of the available width -- and was with max-width: 450px*/
  width: 410px; /* But limit the width to 450px max */
  margin: 1% 0% 0% 0;
  border: 3mm ridge rgba(211, 220, 50, .6);
  position: relative;  /* for weird underline on h2 */
}

@media (max-width: 440px) {
  #StandingsHistoricSummary {
    width: 100%; /* Forces it to take the entire row */
    max-width: 100%;
    margin: 0; /* Removes extra spacing */
  }
}

#StandingsHistoricSummary h2 {
  font-size: 1.8em;
  text-align: center;
  font-weight: normal;
  position: relative; /* Make sure h2 is positioned relatively to place the pseudo-element */
  margin: 0 0 4% 0; /* Optional: Adds space between the h2 and other elements */
}

#StandingsHistoricSummary p {
font-family: "Work Sans", sans-serif
}

#StandingsHistoricSummary h2::after {
  content: ''; /* Creates an empty pseudo-element */
  position: absolute;
  bottom: -8px; /* Adjusts the vertical position of the underline */
  left: 8%; /* Margin from the left side */
  width: 84%; /* Line width is 90% of the container */
  height: 2px; /* Thickness of the underline */
  background-color: gray; /* Color of the underline */
}



#StandingsHistoricSummary p {
  line-height: 1;
  font-size: 15px;
  margin: 8px;
}

.StandingsLeagueAveragesLabel {
  width: 130px;
  display: inline-block;
  white-space: nowrap;
}


/* Season Awards Summary - Right side */
.SeasonAwardsSummary {
  display: grid; /* Use grid for layout */
  grid-template-columns: repeat(auto-fit, 144px); /* Fixed 120px width for each column */
  gap: 8px; /* Fixed gap for both horizontal and vertical spacing */
  flex-grow: 1; /* Expands when needed */
  max-width: calc(100% - 430px); /* Stays next to #StandingsHistoricSummary */
  margin: 1% 0 1% 1%;
  padding: 0;
}

/* Each award item */
.SeasonAwardsSummary li {
  width: 144px; /* Ensure fixed width ---- was 120px x 45px ---- enlargened 4/24/25 */   
  height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 5px;
  margin: 0; /* Removes extra spacing */
  border-radius: 6px;
  list-style: none; /* Removes default list padding */
}


/* Media query for narrow screens */
@media (max-width: 800px) {  /* was 768px but when the li go BELOW #StandingsHistoricSummary, the aren't using the full width from the ~800px width that this happens until we went to 768px, so just "increase" to 800 px which is when the go below anyway */
  #StandingsPageTop {
    flex-direction: column;
    align-items: center;   /* maybe fix/remove for StandingsHistoricSummary */
  }

  .SeasonAwardsSummary {
    max-width: 100%;
    width: 100%; /* Forces it to take the entire row */
    justify-content: flex-start;
    row-gap: 8px;
  }

  .SeasonAwardsSummary li {
    flex: none; /* Remove flex growth/shrink behavior */
    max-width: none; /* Ensure no unwanted restrictions */
    min-width: 120px; /* Ensures each item has enough space to stay in place */
  }
}






/* Parent container for the list */
.LinksToHitterAndPitcherStats {
  display: flex; /* Use flexbox for layout */
  flex-wrap: wrap; /* Allow items to wrap onto new lines */
  gap: 8px; /* Add spacing between items */
  justify-content: space-between; /* Distribute items evenly */
  width: 100%;
  margin: 0 0; /* Add spacing around the container */
  padding: 0; /* Remove default padding */
  list-style: none; /* Remove default list styling */
}

/* Style for each <li> */
.LinksToHitterAndPitcherStats li {
  flex: 1 1 calc(50% - 8px); /* Take up 50% of the width minus the gap */
  box-sizing: border-box; /* Include padding and border in the width */
  height: 90px; /* Fixed height */
  display: flex; /* Center content */
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  text-align: center; /* Center text */
  padding: 5px; /* Add padding inside the box */
  margin: 0; /* Remove extra spacing */
  border-radius: 6px; /* Add rounded corners */
  list-style: none; /* Remove default list styling */
  background-color: rgba(255, 255, 255, 0.5); /* Optional: Add a background color */
}

/* Media query for smaller screens */
@media (max-width: 400px) {
  .LinksToHitterAndPitcherStats li {
    flex: 1 1 100%; /* Take up 100% of the width */
  }
}


#Standings_Dashboard_Banner_StatsLinks {
  display: flex; /* Use flexbox to align children side by side */
  justify-content: space-between; /* Space out the links */
  align-items: center; /* Vertically align the links */
  width: 100%; /* Match the width of the parent */
  max-width: 450px; /* Ensure it aligns with StandingsHistoricSummary */
  height: 30px; /* Fixed height */
  border-radius: 0 0 10px 10px; /* Rounded bottom corners */
  background: linear-gradient(
    45deg,
    rgba(226, 184, 66, 0.6) 5%,  /* Softer gold with 70% opacity */
    rgba(239, 202, 115, 0.6) 10%, /* Softer yellow-gold with 70% opacity */
    rgba(255, 223, 43, 0.5) 50%,  /* Bright gold with 50% opacity */
    rgba(255, 223, 43, 0.5) 70%,  /* Bright gold with 50% opacity */
    rgba(239, 202, 115, 0.6) 80%, /* Softer yellow-gold with 70% opacity */
    rgba(226, 184, 66, 0.6) 95%   /* Softer gold with 70% opacity */
);
  margin: 0 0 10px 0;
}

.banner_link_left,
.banner_link_right {
  flex: 1; /* Each link takes up 50% of the banner */
  text-align: center; /* Center the text inside each link */
  color: black; /* Link text color */
  text-decoration: none; /* Remove underline from links */
  font-weight: normal; /* Make the text bold */
  display: flex; /* Use flexbox for vertical alignment */
  align-items: center; /* Vertically align the text */
  justify-content: center; /* Horizontally center the text */
}

.banner_link_left {
  border-right: 1px solid rgba(0, 0, 0, 0.2); /* Add a divider between the two links */
}

.banner_link_left:hover,
.banner_link_right:hover {
  background-color: rgba(255, 255, 255, 0.2); /* Add a hover effect */
}





#StandingsContainer {
  display: flex;
  justify-content: space-between; /* Push AL left, NL right */
  gap: 10px; /* Adjust spacing between the two */
  width: 100%; /* Ensure it spans the full container width */
  padding: 0 10px;


}


#ALStandingsGroupings, #NLStandingsGroupings, #WS_Winner, #WS_Loser {
  display: flex;
  flex-direction: column;
  width: 49%; /* Adjust as needed */
  overflow-x: auto;
  overflow-y: auto;
  text-align: center; /* Ensure inline text elements are centered */
}

#ALStandingsGroupings, #NLStandingsGroupings {
  justify-content: center; /* Centers content vertically */
  align-items: center; /* Centers everything horizontally */
}

#ALStandingsGroupings table, 
#NLStandingsGroupings table,
#WS_Winner,
#WS_Loser {
  align-self: flex-start; /* Aligns the table to the left within the flex container */
  margin: 0 0 10px 0;
}






#ALStandingsGroupings h2,
#NLStandingsGroupings h2 {
  margin: 4% 0 2% 0;
  text-decoration: underline;
  font-size: var(--fs-400);
}

#ALStandingsGroupings p,
#NLStandingsGroupings p {
  font-size: 18px;
  line-height: 1.2; /* Avoids zero-height issues */
  margin-bottom: 2px;
}

#ALStandingsGroupings h2,
#NLStandingsGroupings h2,
#ALStandingsGroupings p,
#NLStandingsGroupings p {
  font-family: 'Work Sans', sans-serif;
  text-align: center;
  width: max-content; /* Makes the element only as wide as the text inside */
}


#WSWinnersGroupings, #PennantOnlyGroupings {
  display: flex;
  flex-wrap: wrap;
  flex-direction: column;
  justify-content: space-between;

  overflow-x: auto;  /* Enables horizontal scrolling */
  overflow-y: auto;
}


#filter_title_dropdown {
  margin: 0 0 50px 0;
}

#filter_title_dropdown p {
  margin: 0 0 5px 0;
}



#StandingsTable,
#BasicTable {
  width: max-content; /* Ensures the table doesn’t shrink */
  min-width: 100%; /* Prevents it from being too small */
  table-layout: fixed;
  background-color: #f8f9ee;
  border-collapse: collapse;
  text-align: center;
  overflow-x: auto;
  max-width: 100%;
  font-size: .68em;   /*was doing .785714286em -- idk if that's because BBref does etc */
  font-family: Verdana,sans-serif;

  
  float: none; /* Remove float since flexbox handles layout */
}
#StandingsTable th:nth-child(1),
#StandingsTable td:nth-child(1) {
  width: 135px;
} 

#WS_Winner th:nth-child(1),
#WS_Winner td:nth-child(1),
#WS_Loser th:nth-child(1),
#WS_Loser td:nth-child(1) {
  width: 40px;
}

.PlayerLink {
  text-decoration: none; /* Removes the underline */

  transition: background-color 0.3s ease; /* Smooth transition for background change */

  /* Dotted red underline */
  /*too much looks like "typo" ala Microsoft Word.  Probably just use base colors and the hover below
  text-decoration-line: underline; 
  text-decoration-thickness: 1px;
  text-decoration-style: dotted; 
  text-decoration-color: rgb(254, 100, 100); */
}

.PlayerLink:hover {
  background-color: rgb(85, 246, 227, .5); 
}

#FranchiseDashboard {

  display: inline-block; /* Shrinks to fit content */
  min-width: 30%; /* Ensures a minimum width */
  padding: 10px; /* Optional: Add padding for better spacing */
  text-align: center;
}


#FranchiseWSWins {
  margin: 0;
}

.franchise_selector {
  padding: 20px 0 10px 0;
}


.WorldSeriesWinnerGoldText {
  font-weight: bold;
  background: linear-gradient(90deg, #FFD700, #FFA500, #FF8C00); /* Gold to orange gradient */
  -webkit-background-clip: text; /* Clip the background to the text */
  -webkit-text-fill-color: transparent; /* Make the text itself transparent */
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5); /* Subtle shadow for readability */
}



#PitchingPlayerStatsTable, 
#HittingPlayerStatsTable {
  table-layout: fixed;
  background-color: #f8f9ee;
  border-collapse: collapse;
  margin: auto;
  text-align: center;
  overflow-x: auto;
  max-width: 100%;
  font-size: .68em;   /*was doing .785714286em -- idk if that's because BBref does etc */
  font-family: Verdana,sans-serif;}

#PitchingPlayerStatsTable td, 
#HittingPlayerStatsTable td,  /* important for table column width (don't have set larger than a class' preferred size --- was overruling) */
#StandingsTable td,
#BasicTable td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Adjust the alpha value for opacity */
  border-right: 1px solid rgba(0, 0, 0, 0.2); /* Adjust the alpha value for opacity */
  height: 24px;
  line-height: 8px;
  padding: 3px 2px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;

  position: relative;      /* did mess around with position: static; but later found giant line breaking table */
  box-sizing: border-box;
  }
#PitchingPlayerStatsTable th, 
#HittingPlayerStatsTable th,
#StandingsTable th,
#BasicTable th {
  border-bottom: 1px solid black;
  height: 28px;
  cursor: pointer;
  position: sticky;
  top: 0;
  transition: all .4s ease-in-out;   /* from goofy transition/psychadelic buttons (nav) */
  font-size: .85rem;
  padding: 3px 4px;
  font-weight: 300;
  color:black;
  background-size: 300% 100%;
  -o-transition: all .4s ease-in-out;       /* ? their value compared to :hover below*/
  -webkit-transition: all .4s ease-in-out;
  }



#PitchingPlayerStatsTable tr:hover td, 
#HittingPlayerStatsTable tr:hover td {
  background-color: white;
}
#PitchingPlayerStatsTable td, 
#HittingPlayerStatsTable td {
  transition: background-color 0.0s ease; /* Optional smooth transition */
}

  #PitchingPlayerStatsTable th {
    background-color: #629fdb;
  }
  #HittingPlayerStatsTable th {
    background-color: rgb(255, 255, 255);
  }
  #StandingsTable th {
    background-color: rgb(69, 224, 34);
  }

  #ALStandingsGroupings th {
    background:  rgb(14, 64, 130);
  }
  #NLStandingsGroupings th {
    background:  rgb(238, 10, 70);
  }


  #WS_Winner th {
    background-color: gold;
  }

  #WS_Loser th {
    background-color: silver;
  }

  .ToggleBetweenHittingAndPitching {
    display: inline-flex; /* instead of full-width flex */
    border-bottom: 2px solid #ccc;
    margin-bottom: 20px;
  }
  
  .ToggleLinkHittingOrPitchingStats {
    padding: 10px 20px;
    text-decoration: none;
    color: #333;
    background-color: #f0f0f0;
    border: 1px solid #ccc;
    border-bottom: none; /* makes tabs look connected to content */
    border-radius: 5px 5px 0 0;
    margin-right: 5px;
  }

  .ToggleLinkHittingOrPitchingStats:nth-child(2) {
    margin-right: 0; /* No margin on the last tab */
  } 
  
  .ToggleLinkHittingOrPitchingStats.active {
    background-color: white;
    font-weight: bold;
    border-color: #aaa #aaa white; /* avoid double bottom border */
    position: relative;
    top: 2px; /* raise slightly to show it's active */
    z-index: 1;
  }


  
/* was how we styled individual th ---- change to giving th a class/id to style (so # stats are always same size etc)

#PitchingPlayerStatsTable th:nth-child(2),
#HittingPlayerStatsTable th:nth-child(2) {
  width: 190px;
  min-width: 120px;
}

*/



.Table_Original_th {
  width: 191px;
  min-width: 120px;
}

.StandardizedStat {
  width: auto;            /* Allow the column to adjust based on content */
  min-width: 22px;        /* Ensure a minimum width */
  max-width: 49px;        /* Restrict the maximum width */
  white-space: nowrap;    /* Prevent text wrapping */
  overflow: hidden;       /* Hide overflow content */
  text-overflow: ellipsis; /* Show ellipsis (...) for truncated text */
  box-sizing: border-box; /* Include padding/borders in the width */
}

.HitterTables_POS_Column {
  width: 50px;            /* Fixed width for the column */
  min-width: 50px;        /* Ensure it does not shrink */
  max-width: 50px;        /* Ensure it does not expand */
  white-space: nowrap;    /* Prevent text wrapping */
  overflow: hidden;       /* Hide overflow content */
  text-overflow: ellipsis; /* Show ellipsis (...) for truncated text */
  box-sizing: border-box; /* Include padding/borders in the width */
}

.HitterTable_AVG_OBP_SLG_ERA_Column {
  width: 40px;
  min-width: 40px;
}

.HitterTable_DividingLine_AVG_OR_ERA_Column {
  border-left: 2px solid gray;
}
 

.PlayerPageAwardsColumn {
  min-width: 140px;
  max-width: 180px;
}

#PitchingPlayerStatsTable th:nth-child(21),
#PitchingPlayerStatsTable td:nth-child(21),
#PitchingPlayerStatsTable th:nth-child(22),
#PitchingPlayerStatsTable td:nth-child(22),
#PitchingPlayerStatsTable th:nth-child(23),
#PitchingPlayerStatsTable td:nth-child(23) {
  width: 50px;
}





#IndividualPlayerPitchingTotalsRow td:nth-child(21) {
  border-left: none;
}

#StandingsTable td:nth-child(6) {
  border-left: 2px solid gray;
  border-left-style: dashed;
}




#togglePitchersHitting {
  margin-top: 5px;
}

#IndividualPlayerHittingTotalsRow {
  font-weight: bold;
}

#TeamStatsHittingTotalRow,
#TeamStatsPitchingTotalRow,
#IndividualPlayerPitchingTotalsRow,
#IndividualPlayerHittingTotalsRow {
  border-top: 2px solid gray;
  height: 40px;
}

#TeamStatsHittingTotalRow td {
  font-weight: bold;
}
#TeamStatsHittingTotalRow td:nth-child(15),
#IndividualPlayerHittingTotalsRow td:nth-child(15) {
  border-left: 2px solid gray;
}
#TeamStatsHittingTotalRow td:nth-child(19),
#IndividualPlayerHittingTotalsRow td:nth-child(19) {
  border-left: none;
}

#TeamStatsPitchingTotalRow td {
  font-weight: bold;
}
#TeamStatsPitchingTotalRow td:nth-child(18) {
  border-left: 2px solid gray;
}


#DifferentHistoricalPages {
  display: flex;
  flex-wrap: wrap;
  gap: 20px; /* Adds space between the items */
  padding: 0;
  list-style: none; /* Removes default list styling */
  justify-content: center;
  
  margin: 0;
}


/* Shared class for the semi-transparent white filter */
.DifferentHistoricalPagesLI {
  background-color: rgba(255, 255, 255, 0.5); /* Semi-transparent white filter */
  background-size: cover; /* Ensure the background image covers the entire element */
  height: 200px;
  width: 200px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  border-radius: 5px;
  box-shadow: 2px 2px 5px rgba(0, 0, 0, 0.1);
  transition: transform 0.15s ease-out, box-shadow 0.2s ease-out; /* Removed 'background' */
  font-size: var(--fs-500);
  padding: 0;
  margin: 8px 0;
  overflow: hidden;
  position: relative;
  background-blend-mode: overlay; /* Blend the white filter with the image */
}

/* Hover effect for all li elements */
.DifferentHistoricalPagesLI:hover {
  transform: scale(1.07); /* Slightly larger on hover */
  box-shadow: 4px 4px 12px rgba(0, 0, 0, 0.25); /* Add a sharper shadow */
}





#DifferentHistoricalPages li a {
  display: block; /* Make the <a> tag behave like a block element */
  padding: 10px 15px; /* Add padding inside the link */
  text-decoration: none; /* Remove underline from the link */
  color: #333; /* Set text color */
}


@media (max-width: 540px) {
  #DifferentHistoricalPages li {
    height: 140px;
    width: 140px;
  }
}


#DifferentHistoricalPages li a {
  text-decoration: none; /* Removes the underline */
  color: inherit; /* Inherits the text color of the surrounding text */
  transition: background-color 0.3s ease; /* Smooth transition for background change */
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
}



/* Unique hover background images for each li */
#team_stats:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/Fields/TopViewField.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}
#yearly_standings:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/AL_East_2007_Standings.jpg'); /* Hover image */
  background-size: 250%; /* Zoom in by increasing the size beyond 100% */
  background-position: center top; /* Adjust the position to focus on the top-center of the image */
  }

#yearly_leaguestats:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/BookStacks.jpg'); /* Hover image */
  background-size: 250%; /* Zoom in by increasing the size beyond 100% */
  background-position: center top; /* Adjust the position to focus on the top-center of the image */
  }

#world_series:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/WorldSeriesHits/WSTrophy.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#HOF_List:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/SatchelPaigePlaque.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#hitting_awards:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/Fields/linneamallette.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}
#mvp_season:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/MVP.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#all_star_season:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/pileofcomputers.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#silver_slugger:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/SilverSlugger.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#gold_glove:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/GoldGlove.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#cy_young_finishers:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/PitchingMound.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}

#cy_young_season:hover {
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
    url('pages/pics/Cy_Young.jpg'); /* Hover image */
  background-size: cover;
  background-position: center;
}



#FranchiseSeasons:hover {
  background-image: 
  linear-gradient(rgba(255, 255, 255, 0.5), rgba(255, 255, 255, 0.5)), /* Semi-transparent white filter */
  url('pages/pics/Bleachers.jpg'); /* Hover image */
background-size: cover;
background-position: center;
}








/*
#MLBStats_TopRowFreezeDiv {
  width: calc(100vw 0 50px);
  height: calc(100vh - 50px);
  overflow: scroll;
  border: 1px solid white;
}
*/


/*.TableHeaderSortable {
  background-color: #54bab4;
  height: 40px;
  cursor: pointer;
}   same thing just moved to #idPlayerStatsTable th --- to hopefully get Freeze/sticky to work. */





/* 4/26/25 - Re-doing pagination with CHET ---- Please fix ASAP (re-apply these styles as these classes don't exist anymore) */
.pagination_sortablehitterstats,
.pagination_sortablepitcherstats {
  display: flex;
  flex-direction: column; /* Stack items vertically */
  align-items: center; /* Center items horizontally */
  margin: 20px 0;
}

.pagination_sortablehitterstats_links,
.pagination_sortablepitcherstats_links {
  display: flex;
  flex-direction: row; /* Arrange links in a row */
  gap: 20px; /* Add spacing between the links */
}

.pagination_sortablehitterstats a,
.pagination_sortablepitcherstats a {
  background-color: rgba(255, 255, 255, 0.8);
  width: 100px;
  display: inline-block;
  text-align: center;
  padding: 10px;
  text-decoration: none;
  color: black;
}

.pagination_sortablehitterstats_pagenumber,
.pagination_sortablepitcherstats_pagenumber {
  margin-top: 10px; /* Add spacing above the page number */
  font-size: 16px; /* Adjust font size */
  font-weight: bold; /* Make the text bold */
  color: black; /* Set text color */
}

/* 4/26/25 - Re-doing pagination with CHET ---- Please fix ASAP (re-apply these styles as these classes don't exist anymore) */



#idPlayerStatsTable {
  table-layout: fixed;
  background-color: #f8f9ee;
  border-collapse: collapse;
  margin: auto;
  text-align: center;
  overflow-x: auto;
  max-width: 95%;


  font-size: .785714286em;
  font-family: Verdana,sans-serif;
}

#idPlayerStatsTable td {
  border-bottom: 1px solid rgba(0, 0, 0, 0.1); /* Adjust the alpha value for opacity */
  border-right: 1px solid rgba(0, 0, 0, 0.2); /* Adjust the alpha value for opacity */
  height: 22.5px;
  line-height: 8px;
  padding: 2px 3px;
  text-align: center;
  white-space: nowrap;
  overflow: hidden;
  min-width: 35px;
  position: relative;      /* did mess around with position: static; but later found giant line breaking table */
  box-sizing: border-box;

  max-width: 150px; /* Add this to both th and td for max-width */
}

#idPlayerStatsTable th {
  border-bottom: 1px solid black;
  background-color: #54bab4;
  height: 25px;
  cursor: pointer;
  position: sticky;
  top: 0;
  transition: all .4s ease-in-out;   /* from goofy transition/psychadelic buttons (nav) */

  /* this is all stolen from psychadelic nav --- th:hover below too --- that's easier---condensed the class and this specific for this menu @ airport 6/26/23 :) */

  font-size: .95rem;
  font-weight: 300;
  color:black;
  background-size: 300% 100%;
  -o-transition: all .4s ease-in-out;       /* ? their value compared to :hover below*/
  -webkit-transition: all .4s ease-in-out;

  max-width: 150px; /* Add this to both th and td for max-width */
}

/* Styling for the total row */
.totalRow {
  background-color: #f0f0f0;  /* Light gray background */
  text-decoration: underline; /* Underline the text */
}





#idPlayerStatsTable th:hover {
  background-image: linear-gradient(to right, #eb3941, #e55ef1, #4ee1da, #65e237);
  background-position: 100% 0;    /* be cool to alternate the buttons' right-to-left.  Currently they're ALL right-to-left because of the 100% vs -100% for left-to-right*/
  -o-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  color: white;
}

#idPlayerStatsTable th::before {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;

  border-bottom: 1px solid;
}

#idPlayerStatsTable td::after {
  content: "";
  position: absolute;
  left: 0;
  bottom: -1px;
  width: 100%;
  height: 1px;
  border-bottom: 1px solid;
}

#idPlayerStatsTable th:nth-child(1),
#idPlayerStatsTable td:nth-child(1) {
  position: sticky;
  left: -10px;
  z-index: 2;
  border-bottom: 1px solid;
}

#idPlayerStatsTable th:nth-child(6),
#idPlayerStatsTable td:nth-child(6) {
  width: 100px;
}

#idPlayerStatsTable th:nth-child(2),
#idPlayerStatsTable td:nth-child(2) {
  position: sticky;
  left: 32px; /* modified */
  z-index: 2;
  width: 150px;
}

#idPlayerStatsTable td:nth-child(1),
#idPlayerStatsTable td:nth-child(2) {
  position: sticky;
  background-color: #f8f9ee;
  z-index: 2;
  border-bottom: 1px solid;
}

#idPlayerStatsTable td:nth-child(1):after,
#idPlayerStatsTable td:nth-child(2):after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  border-bottom: 1px solid rgba(0, 0, 0, 0.1)!important; /* Adjust the alpha value for opacity */
  border-right: 1px solid rgba(0, 0, 0, 0.2)!important; /* Adjust the alpha value for opacity */
}

#idPlayerStatsTable th:nth-child(1),
#idPlayerStatsTable td:nth-child(1),
#idPlayerStatsTable th:nth-child(2),
#idPlayerStatsTable td:nth-child(2) {
  border-bottom: 1px solid;
  z-index: 2;
}

.table-container {

  max-width: 100%;
  margin: 8px auto 1%;
  padding: 0 10px;

  width: 100%;
  overflow-x: auto; /* Enables horizontal scrolling */
  display: block; /* Ensures the container behaves as a block */
}

.table-container h3 {
  margin-top: 5px;
}

#MLBStatsContainer {
  overflow-x: auto;
}




.table-container p {
  margin: 20px;

  font-family: 'Work Sans', sans-serif;
  font-size: 18px; /*was 20px july 13 2021 */
  line-height: 1.9;
  }




#idPlayerStatsTable th:nth-child(1),
#idPlayerStatsTable th:nth-child(2),
#idPlayerStatsTable td:nth-child(1),
#idPlayerStatsTable td:nth-child(2) {
  border-bottom: 1px solid;
}


#idPlayerStatsTable tr {
  height: 5px;
}

.AwardColumn {
  width: 120px;
}


#PhotoGalleryTitle {
  font-family: 'Work Sans', sans-serif;
  font-size: 24px;
}

/* Style for the chart container */
.ChartContainer {
  display: flex; /* Use flexbox for side-by-side layout */
  align-items: flex-start; /* Align items to the top */
  gap: 20px; /* Add spacing between text and image */
  margin: 10px auto; /* Center the container */
  max-width: 1000px; /* Limit the overall width */
  flex-wrap: wrap; /* Allow wrapping on smaller screens */
}

/* Style for the chart stats (text and dropdown) */
#ChartStats {
  flex: 1; /* Allow the stats to take up remaining space */
  font-size: 16px; /* Adjust font size */
  color: #333; /* Neutral text color */
  display: flex;
  flex-direction: column; /* Stack h2 and form vertically */
  gap: 10px; /* Add spacing between h2 and form */
}

/* Style for the chart frame (image container) */
#ChartFrame {
  flex-shrink: 0; /* Prevent the container from shrinking */
  width: 60%; /* Default width for the image */
  max-width: 400px; /* Limit the maximum width */
  max-height: 270px; /* Set the height to match the image */
  overflow: hidden; /* Prevent content overflow */
  cursor: pointer; /* Change mouse icon to pointer on hover */
}

/* Style for the chart image */
.ChartImageContainer img {
  width: 100%; /* Make the image fit the container width */
  height: 100%; /* Make the image fill the container height */
  object-fit: cover; /* Ensure the image scales proportionally without distortion */
  border-radius: 5px; /* Optional: Add rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

/* Media query for smaller screens */
@media (max-width: 800px) {
  .ChartContainer {
    flex-direction: column; /* Stack the chart stats and image vertically */
    align-items: center; /* Center align the content */
  }

  #ChartFrame {
    width: 80%; /* Increase the width for smaller screens */
    max-width: 300px; /* Reduce the maximum width */
  }
}

@media (max-width: 500px) {
  #ChartFrame {
    width: 100%; /* Make the image take up the full width */
    max-width: none; /* Remove the maximum width */
  }
}

/* Style for the chart image */
.ChartImageContainer img {
  width: 100%; /* Make the image fit the container */
  height: auto; /* Maintain aspect ratio */
  border-radius: 5px; /* Optional: Add rounded corners */
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Optional: Add a subtle shadow */
}

#HOF_Player_Page_Section {
  margin: 20px;
}


/* Style the Hall of Fame section */
#HOF_Player_Page_Section h2 {
  margin: 20px 0 5px; /* Reduce top and bottom margins */
  font-size: 20px;    /* Adjust font size if needed */
  color: #333;        /* Optional: Change text color */
}

#HOF_Player_Page_Section p {
  margin: 2px 0;      /* Reduce spacing between player links */
  font-size: 18px;    /* Adjust font size for player names */
  line-height: 1.4;   /* Adjust line height for better readability */
}

#HOF_Player_Page_Section a {
  text-decoration: underline; /* Add underline to links */
  color: #333; /* Neutral dark gray base color */
  transition: color 0.2s ease, text-shadow 0.2s ease; /* Smooth transition for hover effects */
}

#HOF_Player_Page_Section a:hover {
  color: #d4af37; /* Gold color on hover */
  text-shadow: 0 0 2px #d4af37; /* Subtle glow effect */
}





#SublimeSeasonIcon:hover {
  border: 2px solid rgba(255, 255, 255, 0.5); /* Softer border */
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 0, 255, 0.4),  /* Neon Magenta */
      rgba(0, 255, 255, 0.4),  /* Neon Cyan */
      rgba(138, 43, 226, 0.4), /* Electric Purple */
      rgba(255, 69, 0, 0.4),   /* Neon Orange */
      rgba(0, 0, 255, 0.4)     /* Neon Blue */
  );
  background-size: 300% 300%; /* Enlarges the gradient for smoother animation */
  animation: cyberpunkLavaLamp 10s infinite ease-in-out; /* Infinite animation */
  border-radius: 8px;
  text-align: center;
}

#SublimeSeasonLink {
  border: 2px solid rgba(255, 255, 255, 0.5);
  padding: 2px;
  margin: 10px auto 25px auto;
  max-width: 565px;
  min-height: 80px;
  width: 88%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 0, 255, 0.4),
      rgba(0, 255, 255, 0.4),
      rgba(138, 43, 226, 0.4),
      rgba(255, 69, 0, 0.4),
      rgba(0, 0, 255, 0.4)
  );
  background-size: 300% 300%;
  animation: cyberpunkLavaLamp 10s infinite ease-in-out;
  border-radius: 8px;
  text-align: center;
  display: flex;
  align-items: center;      /* Vertically centers */
  justify-content: center;  /* Horizontally centers (optional) */
}

#SublimeSeasonLink p {
  font-family: Garamond, serif;
  font-size: var(--fs-400);
  line-height: 1.0;
  margin: 2px;
}

#SublimeSeasonLink a {
  text-decoration: none;
}







#idPlayerStatsTable tr:hover td {
   /* background: rgba(255, 255, 255, .5);   this make the one we're hovering on TOO transparent...idk why I put this in...*/
} 

/*
#idPlayerStatsTable tbody tr:nth-child(even) {   why aren't we getting alternating colors?!?!?? 
  background-color: blue;
}

#idPlayerStatsTable tr:nth-child(odd) {
  background-color: #ead5d1;
} */
 




/* #idPlayerStatsTable td:nth-child(-n + 4):hover {background-color: #d9c4bf ;}   how to get the hover highlight to go for WHOLE ROW like it did before first few columns were sticky/frozen like in Excel. */




.CenterThisStuff {
  margin-left: 50%;
  width: 100%;
}

.StatsSubmit {
  background-color: rgb(255, 255, 255, .5);
  background-image: url(pages/pics/Baseball.png);
  display: block;
  margin: auto;
  margin-top: 15px;
  height: 100%;
  max-width: 100%;
  font-size: var(--fs-500);
}




#frm_Database_Stats_Filter {
  /*background-color: rgb(255, 255, 255, .5); */
  float: left;
  padding: 0% 1% 2% 1%;
  width: 100%;
}

#frm_Database_Stats_Filter label { 
  white-space: nowrap; 
}

/*added float: left/right and width: 40/60% to make these two filter side-by-side....idk*/
#frm_Stats_Dropdowns {
  float: left;
  width: 35%;
  text-align: left;
}

#frm_Stats_Dropdowns label {
  display: inline-block;
  font-size: 1.2rem;
  margin: 2% 1% 2% 1%;
}

#frm_Stats_Checkbox {
  float: right;
  margin: .5% 0 .5% 0;
  width: 55%;
}


#frm_Stats_Checkbox label {
  background: rgb(80, 240, 226);
  display: inline-block;
  height: 100%;
  margin: .5% .5% .5% .5%;
  max-width: 100%;
}

#frm_Stats_Checkbox div {
  background-color: rgb(255, 255, 255, .2);
  border-radius: 12px;
  border-style:dashed;
  border-width: 1px;
}

#frm_Stats_Checkbox div div {
  background: none;
  border-style: none;
  margin: 0 2% 0 2%;
}


#btn_Stats_Submit {
  min-width: 140px;
  height: 40px;
}








.MLBStats_CheckboxButtonLeft {
  float: left;
  width: 50%;
  padding: 0px;
  height: 100%;
  margin: 0;
  font-size: 2vh;
  text-align: center;
}

.MLBStats_CheckboxButtonRight {
  float: right;
  width: 50%;
  padding: 0px;
  height: 100%;
  margin: 0;
  font-size: 2vh;
  text-align: center;
}









#frm_Stats_Checkbox details > summary {
  border-radius: 0px;
  color: black;
  display: block;
  font-size: 20px;
  margin: 0 0 0% 0%;
  padding: 1%;
  cursor: pointer;
  list-style: none;
  text-align: center;
}
#frm_Stats_Checkbox details > summary::-webkit-details-marker{
  display: none;
}


















#Lineup_TheGame_Div {
  height: 100%;
  position: relative;
  width: 100%;
  max-width: 1200px;
}

#Lineup_TheGame_Background {
  border-radius: 12px;
  height: 100%;
  position: relative;
  width: 100%;
}

#Lineup_TheGame_CornerInfield {
  background: none;
  display: block;
  height: 14%;
  position: absolute;
  bottom: 24%;
  width: 100%;
}
#Lineup_TheGame_MiddleInfield {
  background: none;
  display: block;
  height: 14%;
  position: absolute;
  bottom: 43%;
  width: 100%;
  z-index: 200;
}
#Lineup_TheGame_CornerOutfield {
  background: none;
  display: block;
  height: 14%;
  position: absolute;
  bottom: 63%;
  width: 100%;
  z-index: 100;
}
#Lineup_TheGame_CatcherCF {
  background: none;
  display: block;
  height: 100%;           /* Full height of the container */
  position: absolute;
  bottom: 0%;
  left: 0;
  right: 0;
  margin: 0 auto;
  width: 20%;             /* Same width as other positions */
  z-index: 100;
  white-space: nowrap;    /* Prevent text wrapping inside the container */
  overflow: visible;      /* Allow overflow of text, break out of container */
}

#Lineup_TheGame_DH {
  background: none;
  display: block;
  height: 20%;  /* Keeps the height same as the other positions */
  left: 72%;
  right: 0;
  margin: 0 auto;
  overflow: visible;  /* Allow text to break out of the container */
  position: absolute;
  bottom: 7%;
  width: 20%;  /* Keeps the width consistent with other positions */
  z-index: 100;
  margin-top: auto;
  
  white-space: nowrap;  /* Prevent text from wrapping */
}




/*#Lineup_TheGame_DH {
  background: none;
  display: block;
  height: 12%;
  position: absolute;
  bottom: 9%;
  width: 100%;
  z-index: 100;
}*/









#Lineup_TheGame_Positions div button {
  background: none;
  border: none;
  border-radius: 8px;
  padding: 0px;
}

#btnFirstBase,
#btnThirdBase,
#btnSecondBase,
#btnShortstop,
#btnLeftfield,
#btnRightfield,
#btnCatcher,
#btnCenterfield,
#btnDH {
  width: 20%;
}

#btnFirstBase {
  float: right;
  margin: 0 20% 0 0;
  height: 100%;
}

#btnThirdBase {
  float: left;
  margin: 0 0 0 20%;
  height: 100%;
}

#btnSecondBase {
  float: right;
  margin: 0 25% 0 0;
  height: 100%;
}
#ThirdBase_Lineup_TheGame_Button {
  float: left;
  margin: 0 0 0 20%;
  height: 100%;
}
#btnShortstop {
  float: left;
  height: 100%;
  margin: 0 0 0 25%;
}
#btnLeftfield {
  float: left;
  height: 100%;
  margin: 0 0 0 17%;
}
#btnRightfield {
  float: right;
  height: 100%;
  margin: 0 17% 0 0;
}
#btnCatcher {
  bottom: 7%;
  height: 14%;
  position: absolute;
  width: 100%;
}
#btnCenterfield {
  bottom: 70%;
  height: 14%;
  position: absolute;
  width: 100%;
}

#btnDH {
  bottom: 9%;
  height: 70%;
  position: absolute;
  width: 100%;
}

/*#DH_Lineup_TheGame_Button {
  float: right;
  height: 100%;
  margin: 0 10% 0 0;
  width: 18%;
}*/



.LineupTheGamePosition {
  background: rgba(255, 255, 255, .5);
  width: 100%;
  max-width: 100%;
  max-height: 100%;
  height: 100%;
  border-radius: 8px;
  display: block;
  text-align: center;
  line-height: 12px;
  padding: 0;
  overflow: auto;
  cursor: pointer;
  
  }

  .LineupTheGamePosition button {
    background-color: red;
    height: 100%;
    width: 100%;
    z-index: 1000;
  }


  .LineupTheGamePosition-text {
    display: flex;
    flex-direction: column; /* Stack text vertically */
    justify-content: center; /* Center text vertically */
    align-items: center;     /* Center text horizontally */
    text-align: center;
    height: 100%;            /* Ensure it fills the container */
    margin: 0;
  }
  
  .LineupTheGamePosition-text h1,
  .LineupTheGamePosition-text p {
    white-space: nowrap;     /* Prevent wrapping of individual lines */
    font-size: .5rem;}
  .LineupTheGamePosition-text h1 {
    margin: 0;
    text-decoration: underline;
    position: absolute;
    top: 0px;
    padding: 5px 0 0 0;}
  .LineupTheGamePosition-text p {
    margin: .5vh 0 0 0;
    position: absolute;
    bottom: 5%;}


.MegaButton_BlackHole h1 {
  margin: 0 0 0 0;
  padding: 0% 0 2% 0;
  text-decoration: underline;
  font-size: var(--fs-300);
}


.MegaButton_BlackHole p {
  margin: 0 0 0 0;
  padding: 1% 0 1% 0;
}


@media (min-width: 350px) {
  .LineupTheGamePosition-text h1,
  .LineupTheGamePosition-text p {
    font-size: var(--fs-300);
  }

  .MegaButton_BlackHole h1,
  .MegaButton_BlackHole p {
    font-size: var(--fs-400);
  }
}
@media (min-width: 650px) {
  .LineupTheGamePosition-text h1,
  .LineupTheGamePosition-text p {
    font-size: var(--fs-400);
  }

  .MegaButton_BlackHole h1,
  .MegaButton_BlackHole p {
    font-size: var(--fs-500);
  }

}

@media (min-width: 800px) {
  .LineupTheGamePosition-text h1,
  .LineupTheGamePosition-text p {
    font-size: var(--fs-500);
  }

  .MegaButton_BlackHole h1,
  .MegaButton_BlackHole p {
    font-size: var(--fs-650);
  }

  .MegaButton_BlackHole p {
    margin: 0 0 0 0;
    padding: 6% 0 4% 0;
  }

  .LineupTheGamePosition-text p {
    bottom: 30%;
  }
}

@media (min-width: 1030px) {
  .LineupTheGamePosition-text h1,
  .LineupTheGamePosition-text p {
    font-size: var(--fs-600);
  }
}






.highscoreTeamDropdown {
  background: rgba(255, 255, 255, 0.5);
  border-radius: 2%;
  display: none;
  margin: 5px 0 15px 0;
  width: 70%;
}

.Team9Positions {
  display: block;
  padding: 0 0 0 5%;
}

.Team9Positions:first-child {
  padding-top: 5px;
}


#StartLineupTheGame {
  background: none;

  display: block;
  height: 15%;
  position: absolute;
  top: 1%;
  width: 100%;
  z-index: 50;
}

#StartLineupTheGame span {
  text-align: center;
}

#StartLineupTheGame-ButtonBox {
  align-items: center;
  display: flex;

  justify-content: center;
  align-items: center;


  background: rgba(255, 255, 255, .5);
  float: left;
  height: 100%;
  margin: 0 0 0 3%;
  width: calc(26% + (36 - 26) * (100vw - 768px) / (480 - 768)); /* Dynamic width */
  border-radius: 8px;
  text-align: center;
  line-height: 12px;
  padding: 0;
  overflow: auto;
}



#LineupTheGameWARTotal {
  align-items: center;
  background: linear-gradient(to right, rgba(214, 212, 65, 1), rgba(64, 248, 239, 1));
  /*background: rgba(255, 255, 255, .5);
  box-shadow:
    inset 60px 0 120px #f0f,
    inset -60px 0 120px #0ff; */
  float: right;
  height: 100%;
  line-height: 1.6vh;
  margin: 0 3% 0 0;
  width: 32%;
  border-radius: 8px;
  display: block;
  text-align: center;
  padding: 0;
  overflow: auto;
  font-family: 'Work Sans', sans-serif;
  overflow: hidden;
  justify-content: center;
}

#LineupTheGameWARTotal h1 {
  font-size: 1.4vw;
  margin: 0 0 0 0;
  padding: 3% 0 3% 0;
  text-decoration: underline;
}

#LineupTheGameWARTotal p {
  font-size: 2vw;
  margin: 0 0 0 0;
  padding: 1% 0 1% 0;
}

#LineupTheGameWARTotal button {
  display: block;
  float: right;
  bottom: 50%;
}


#LineupTheGameSaveYourScore {
  background: red;

  align-items: center;
  background: rgba(255, 255, 255, .5);
  float: right;
  font-size: 2vw;
  min-height: 60%;
  max-height: 100%;
  margin: 0 5% 0 0;
  min-width: 10%;
  border-radius: 8px;

  text-align: center;
  line-height: 25px;
  padding: 0;
  overflow: auto;
  z-index: 100;
}

#SaveScoreSoloLane {
  background: none;
  display: block;
  height: 10%;
  position: absolute;
  top: 17%;
  width: 100%;
  z-index: 2;
}
















#HighScoreID {
  background: linear-gradient(0deg, rgba(251,223,63,1) 0%, rgba(70,251,252,1) 100%);
  display: none;
  position: fixed;  /*was absolute -- I moved it into a "tube" though where 90% height is really tiny---wanted bigger */
  top: 50%;  /*kinda weird why 20% is at top...*/
  left: 50%;
  transform: translate(-50%, -50%);
  border: 5px solid #fff;
  border-radius: 5px;
  height: 78%;
  max-width: 90%;
  object-fit: cover;
  overflow: scroll;
  overflow-y: scroll;
  padding: 0 0 0 9%;
  text-align: left;
  width: 86%;
  z-index: 1000;
}

#HighScoreID h1 {
  margin: 2% 0% 2% 0%;
  font-size: var(--fs-400);
}
#HighScoreID p {
  font-size: var(--fs-400);
  margin: 1% 0% 20px 0%;
}


#HighScoreID li {
  list-style-type: decimal;
  display: list-item;
  font-size: var(--fs-400);
}

#Lineup_TheGame_Div p:first-child {    /* All ps in LineuptheGame are inheriting a weird indent for first item----try and avoid/simplify */
  margin: 0% 0% 0% 0%;
  padding: 0% 10% 0% 10%;
}
.LineupTheGameHighScores_ClickableScores {
  margin-bottom: 5px;
  display: inline-block;
}
.LineupTheGameHighScores_ClickableScores:hover {
  color: rgb(217, 0, 255);
  font-weight: bold;
  cursor: pointer;
}

#HighScoreIDbackground {
  background-color: rgba(0, 0, 0, 0.80);
  display: none;
  position: fixed;
  height: 100%;
  width: 100%;
  top: 0;
  left: 0;
  z-index: 999;
}

#count {
  font-size: 1.8vw;
}








#showHighScores {
  background: rgba(255, 255, 255, .5);
  border-radius: 8px;
  display: inline-flex; /* Use inline-flex to keep the div narrow and responsive */
  align-items: center; /* Vertically center content */
  justify-content: center; /* Horizontally center content */
  font-size: var(--fs-300);
  height: 15px; /* Keep the same height */
  margin: 0 0 0 3%; /* Keep the margin as before */
  text-align: center;
  padding: 0; /* Keep the padding as before */
  z-index: 10000;
  transition: .25s ease-out;
}

#showHighScores:hover {
  transform: scale(1.1);
  background: linear-gradient(0deg, rgba(251,223,63,1) 0%, rgba(70,251,252,1) 100%);
}

@media(min-width: 740px) {
  #btnStartLineupTheGameTimer {
    font-size: 1rem;
  }
  #showHighScores {
    height: 30px;
  }
  #LineupTheGameSaveYourScore {
    font-size: 1.4vw;
  }
  #HighScoreID {
    width: 50%;
  }
  #LineupTheGameWARTotal p {
    font-size: 2.3vw;
    margin: 0 0 0 0;
    padding: 6% 0 4% 0;
  }
}



#btnStartLineupTheGameTimer {
  display: inline-block;
  bottom: 1%;
  position: absolute;
  padding: 0;
}

#btnStartLineupTheGameTimer,
#showHighScores {
  font-size: .5rem;
}
#TimerSeconds {
  line-height: 15px;
  margin: 1% 0 1% 0;
  position: absolute;
  top: 0;
  z-index: 99;
}

#TimerSeconds span {
  font-size: var(--fs-400);
}

@media (min-width: 370px) {
  #TimerSeconds span {
    font-size: var(--fs-500);
  }
  #TimerSeconds {
    margin: 2% 0 2% 0;
  }
  #btnStartLineupTheGameTimer {
    font-size: var(--fs-300);
  }
  #showHighScores {
    font-size: var(--fs-300);
  }
}

@media (min-width: 662px) {
  #TimerSeconds span {
    font-size: var(--fs-logo);
  }

  #btnStartLineupTheGameTimer {
    font-size: 1rem;
  }


  #TimerSeconds {
    margin: 3% 0 3% 0;
  }

  #showHighScores {
    font-size: var(--fs-400);
  }
}






.ContainerForRandom {
  border: 3px solid #ddd;
  width: 40%;
}




.ZoomImageContainer {
  display: inline-block;
  text-align: center;
  width: 60%;
}

figure {
  overflow: hidden;
  margin: 0 10px;
}
.ZoomImageContainer img {
  cursor: pointer;
  display: block;
  height: auto;
  transform: scale(1);
  transition: 0.3s ease-in-out;
  width: 100%;
}

.ZoomImageContainer #Zoom-In img {
  transform: scale(1);
  transition: 0.3s ease-in-out;

}
.ZoomImageContainer #Zoom-In:hover img {
  transform: scale(1.2);
}

.Captions_Tags_inArticleTitleText {
  /*bottom: 0px;*/
  padding: 0 0 15% 0;
  /*position: absolute;*/
}




.buttonsSpecial {
  margin: 10%;
  text-align: center;}


.btn-TagshoverSpecial {
  display: inline-block;
  margin: 1% 0% 1% 0%;
  padding: 4px;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  margin: 1px;
  font-size: 1.375rem;
  text-align:center;
  border: none;
  background-size: 300% 100%;
  border-radius: 5px;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;}


.btn-TagshoverSpecial:hover {
  background-position: 100% 0;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;}
.btn-TagshoverSpecial:focus {
  outline: none;}


.btn-TagshoverSpecial.Hitting {
  background-image: linear-gradient(to right, rgba(160, 160, 160), rgba(160,160,160), #dd3030, #b62b2b);
  box-shadow: 0 4px 15px 0 rgba(234, 131, 131, 0.75);

  /*font-size: 1rem;*/
  color: rgb(214, 212, 212);
}
.btn-TagshoverSpecial.History {
  background-image: linear-gradient(to right, rgb(160, 160, 160), rgb(160, 160, 160), #ddd230, #c0d72e);
  box-shadow: 0 4px 15px 0 rgba(176, 196, 49, 0.75);
}
.btn-TagshoverSpecial.Pitching {
  background-image: linear-gradient(to right, rgb(160, 160, 160), rgb(160, 160, 160), #309bdd, #2abbbe);
  box-shadow: 0 4px 15px 0 rgba(49, 157, 196, 0.75);
}

  
#LinksCategorizeTags {
  padding: 2% 1% 0% 1%;
  margin: 0px;}
#LinksCategorizeTags a {
  color: white;}
#LinksCategorizeTags li {
  border-radius: 5px;
  font-size: 1rem;
  display: inline-block;
  margin: 1% 0% 1% 0%;
  border: none}



  

/*
.CategorizeTags li:hover {
    background-color: rgba(100, 100, 100, 0.4);
    cursor: pointer;}
 ul .CategorizeTags li.HittingCategorizeTags:hover {
  background-color: rgb(230, 81, 81);
  cursor: pointer;
 }
 ul .CategorizeTags li.HistoryCategorizeTags:hover {
  background-color: rgb(226, 204, 75);
  cursor: pointer;
 }
 ul .CategorizeTags li.PitchingCategorizeTags:hover {
  background-color: rgb(77, 150, 233);
  cursor: pointer;
 }
*/


#TeamPagePitchingHeader {
  margin: 30px 0 0 0;
}





/* Style for the dropdown */
.DropDownforNav {
position: relative;
}

/* Style for the dropdown content */
.DropDownforNav-content {
display: none;
position: absolute;
background-color: #f9f9f9;
box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
z-index: 500;
width: auto;
top: 100%;
}

/* Show the dropdown content when hovering over the dropdown button or content */
.DropDownforNav:hover .DropDownforNav-content,
.DropDownforNav-content:hover {
display: block;
}

/* Keep the Articles button in hover state when hovering over dropdown content */
.DropDownforNav:hover button {
background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);
}

/* Style for the dropdown links */
.DropDownforNav-content a {
color: black;
padding: 8px 16px;
text-decoration: none;
display: block;
border-bottom: 1px solid #ddd;
}

/* Change color of dropdown links on hover */
.DropDownforNav-content a:hover {
background-color: #f1f1f1;
}

/* Style for the sub-menu links */
.DropDownforNav-content .SubNav a {
padding: 8px 16px;
border: none;
}

/* Keep the sub-menu links in hover state when hovering over dropdown content */
.DropDownforNav-content .SubNav a:hover {
background-color: #f1f1f1;
}









.main-nav ul li button {
  position: relative;
  top: 0;
  margin: 0;
  padding: 0;
}


#SiteNavigation a:link
{
    color:#3ce1d9;
}
#SiteNavigation a:visited
{
    color:#3ce1d9;
}
/*start of crazy buttons*/

.buttonsNav {
  margin: 10%;
  text-align: center;
}

.btn-hoverNav {
  background: none;
  width: 100%;
  font-size: var(--fs-TinyResponsive);  /* was 2.3vw 3/20/25 */
  line-height: 1.2;
  vertical-align: middle;
  font-weight: 300;
  color:black;
  cursor: cell;
  height: 30px;
  margin: 0;
  text-align: center;
  border: none;
  background-size: 300% 100%;
  -o-transition: all .4s ease-in-out;       /* ? their value compared to :hover below*/
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
  border-radius: 5px;

}

.btn-hoverNav:hover {
  background-position: 100% 0;    /* be cool to alternate the buttons' right-to-left.  Currently they're ALL right-to-left because of the 100% vs -100% for left-to-right*/
  -o-transition: all .5s ease-in-out;
  -webkit-transition: all .5s ease-in-out;
  transition: all .5s ease-in-out;
  color: white;
  border-radius: 5px;
}

.btn-hoverNav.color-92:hover {
  background-image: linear-gradient(to right, #6eede9, #ecdd69, #f7186a , #FBB03B);

}

.btn-hoverNav.color-93:hover {
  background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);
}

.btn-hoverNav.color-94:hover {
  background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed);
}

.btn-hoverNav.color-95:hover {
  background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673);
}

.btn-hoverNav.color-96:hover {
  background-image: linear-gradient(to right, #f5ce62, #e43603, #fa7199, #e85a19);
}

.btn-hoverNav.color-97:hover {
  background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021);
}

.btn-hoverNav.color-98:hover {
  background-image: linear-gradient(to right, #eb3941, #e55ef1, #4ee1da, #65e237);
}

.btn-hoverNav:focus {
  outline: none;
}
/* background-image: moded to btn-hoverNav: hover (all).  That way it can start as TRANSPARENT and hover to neon colors.
.btn-hoverNav.color-92 {
}*/

.DropDownforNav-content {
  font-size: var(--fs-400);
}

@media (min-width: 740px) {
  .DropDownforNav-content {
    font-size: var(--fs-600);

  }
}





.buttonsSpecial {
  margin: 10%;
  text-align: center;
}

.btn-hoverSpecial {
  min-width: 55px;  /* Smallest size */
  max-width: 125px; /* Largest size */
  width: 100%;      /* Allows it to stretch when space is available */



  font-size: 1.3rem;
  font-weight: 300;
  color: #fff;
  cursor: pointer;
  margin: 5px;
  height: 50px;
  text-align:center;
  border: none;
  background-size: 300% 100%;

  border-radius: 20px;
  -o-transition: all .4s ease-in-out;
  -webkit-transition: all .4s ease-in-out;
  transition: all .4s ease-in-out;
}

.btn-hoverSpecial:hover {
  background-position: 100% 0;
  -o-transition: all .3s ease-in-out;
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

.btn-hoverSpecial:focus {
  outline: none;
}

.btn-hoverSpecial.color-1 {
  background-image: linear-gradient(to right, #25aae1, #40e495, #30dd8a, #2bb673);
  box-shadow: 0 4px 15px 0 rgba(49, 196, 190, 0.75);
}
.btn-hoverSpecial.color-2 {
  background-image: linear-gradient(to right, #f5ce62, #e43603, #fa7199, #e85a19);
  box-shadow: 0 4px 15px 0 rgba(229, 66, 10, 0.75);
}
.btn-hoverSpecial.color-3 {
  background-image: linear-gradient(to right, #667eea, #764ba2, #6B8DD6, #8E37D7);
  box-shadow: 0 4px 15px 0 rgba(116, 79, 168, 0.75);
}
.btn-hoverSpecial.color-4 {
  background-image: linear-gradient(to right, #fc6076, #ff9a44, #ef9d43, #e75516);
  box-shadow: 0 4px 15px 0 rgba(252, 104, 110, 0.75);
}
.btn-hoverSpecial.color-5 {
  background-image: linear-gradient(to right, #0ba360, #3cba92, #30dd8a, #2bb673);
  box-shadow: 0 4px 15px 0 rgba(23, 168, 108, 0.75);
}
.btn-hoverSpecial.color-6 {
  background-image: linear-gradient(to right, #009245, #FCEE21, #00A8C5, #D9E021);
  box-shadow: 0 4px 15px 0 rgba(83, 176, 57, 0.75);
}
.btn-hoverSpecial.color-7 {
  background-image: linear-gradient(to right, #6253e1, #852D91, #A3A1FF, #F24645);
  box-shadow: 0 4px 15px 0 rgba(126, 52, 161, 0.75);
}
.btn-hoverSpecial.color-8 {
  background-image: linear-gradient(to right, #29323c, #485563, #2b5876, #4e4376);
  box-shadow: 0 4px 15px 0 rgba(45, 54, 65, 0.75);
}
.btn-hoverSpecial.color-9 {
  background-image: linear-gradient(to right, #25aae1, #4481eb, #04befe, #3f86ed);
  box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
}
.btn-hoverSpecial.color-91 {
  background-image: linear-gradient(to right, #25aae1, #4481eb, #fe048e, #ed873f);
  box-shadow: 0 4px 15px 0 rgba(65, 132, 234, 0.75);
}
.btn-hoverSpecial.color-10 {
  background-image: linear-gradient(to right, #ed6ea0, #ec8c69, #f7186a , #FBB03B);
  box-shadow: 0 4px 15px 0 rgba(236, 116, 149, 0.75);
}
.btn-hoverSpecial.color-11 {
  background-image: linear-gradient(to right, #eb3941, #f15e64, #e14e53, #e2373f);  box-shadow: 0 5px 15px rgba(242, 97, 103, .4);
}
.btn-hoverSpecial.color-12 {
  background-image: linear-gradient(to right, #eb3941, #e55ef1, #4ee1da, #65e237);  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}




.MegaButton_BlackHole button {
  display: block;
  float: right;
  bottom: 50%;
}

.MegaButton_BlackHole {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background-color: red;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;

  align-items: center;
  background: linear-gradient(to right, rgba(214, 212, 65, 1), rgba(64, 248, 239, 1));
  /*background: rgba(255, 255, 255, .5);
  box-shadow:
    inset 60px 0 120px #f0f,
    inset -60px 0 120px #0ff; */
  float: right;
  height: 100%;
  line-height: 1.6vh;
  margin: 0 3% 0 0;
  width: 32%;
  border-radius: 8px;
  display: block;
  text-align: center;
  padding: 0;
  overflow: hidden;  /*auto but "allows" scrolling which is unnecessary/ugly */
  font-family: 'Work Sans', sans-serif;
  justify-content: center;
}
.MegaButton_BlackHole:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-MegaButton_BlackHole 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-MegaButton_BlackHole {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.MegaButton_BlackHole:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: rgba(60, 255, 96, 0.8);
  left: 0;
  top: 0;
  border-radius: 10px;
}



/* LavaLamp Background Button */
.button-85 {
  padding: 0.6em 2em;
  border: none;
  outline: none;
  color: rgb(255, 255, 255);
  background-color: red;
  cursor: pointer;
  position: relative;
  z-index: 0;
  border-radius: 10px;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}



.button-85:before {
  content: "";
  background: linear-gradient(
    45deg,
    #ff0000,
    #ff7300,
    #fffb00,
    #48ff00,
    #00ffd5,
    #002bff,
    #7a00ff,
    #ff00c8,
    #ff0000
  );
  position: absolute;
  top: -2px;
  left: -2px;
  background-size: 400%;
  z-index: -1;
  filter: blur(5px);
  -webkit-filter: blur(5px);
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  animation: glowing-button-85 20s linear infinite;
  transition: opacity 0.3s ease-in-out;
  border-radius: 10px;
}

@keyframes glowing-button-85 {
  0% {
    background-position: 0 0;
  }
  50% {
    background-position: 400% 0;
  }
  100% {
    background-position: 0 0;
  }
}

.button-85:after {
  z-index: -1;
  content: "";
  position: absolute;
  width: 100%;
  height: 100%;
  background: #222;
  left: 0;
  top: 0;
  border-radius: 10px;
}







/* Glitch Button*/
.button-49,
.button-49:after {
  width: 150px;
  height: 76px;
  line-height: 78px;
  font-size: 20px;
  font-family: 'Bebas Neue', sans-serif;
  background: linear-gradient(45deg, transparent 5%, #FF013C 5%);
  border: 0;
  color: #fff;
  letter-spacing: 3px;
  box-shadow: 6px 0px 0px #00E6F6;
  outline: transparent;
  position: relative;
  user-select: none;
  -webkit-user-select: none;
  touch-action: manipulation;
}

.button-49:after {
  --slice-0: inset(50% 50% 50% 50%);
  --slice-1: inset(80% -6px 0 0);
  --slice-2: inset(50% -6px 30% 0);
  --slice-3: inset(10% -6px 85% 0);
  --slice-4: inset(40% -6px 43% 0);
  --slice-5: inset(80% -6px 5% 0);
  
  content: 'ALTERNATE TEXT';
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(45deg, transparent 3%, #00E6F6 3%, #00E6F6 5%, #FF013C 5%);
  text-shadow: -3px -3px 0px #F8F005, 3px 3px 0px #00E6F6;
  clip-path: var(--slice-0);
}

.button-49:hover:after {
  animation: 1s glitch;
  animation-timing-function: steps(2, end);
}

@keyframes glitch {
  0% {
    clip-path: var(--slice-1);
    transform: translate(-20px, -10px);
  }
  10% {
    clip-path: var(--slice-3);
    transform: translate(10px, 10px);
  }
  20% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 10px);
  }
  30% {
    clip-path: var(--slice-3);
    transform: translate(0px, 5px);
  }
  40% {
    clip-path: var(--slice-2);
    transform: translate(-5px, 0px);
  }
  50% {
    clip-path: var(--slice-3);
    transform: translate(5px, 0px);
  }
  60% {
    clip-path: var(--slice-4);
    transform: translate(5px, 10px);
  }
  70% {
    clip-path: var(--slice-2);
    transform: translate(-10px, 10px);
  }
  80% {
    clip-path: var(--slice-5);
    transform: translate(20px, -10px);
  }
  90% {
    clip-path: var(--slice-1);
    transform: translate(-10px, 0px);
  }
  100% {
    clip-path: var(--slice-1);
    transform: translate(0);
  }
}

@media (min-width: 768px) {
  .button-49,
  .button-49:after {
    width: 200px;
    height: 86px;
    line-height: 88px;
  }
}

/* end of crazy buttons */


.IndexMain {
  margin: 25px 10px 10px 10px;
}

.IndexMain h2 {
  font-family: Garamond, serif;
  font-size: var(--fs-xl);
  margin: 0 0 0 1%;
}
/*maybe too broad?  I only made this for the h5 for the index/welcome page....*/
.IndexMain h5 {
  font-size: var(--fs-400);
  font-weight: normal;
  font-style: italic;
  margin: 4% 0% 3% 0%;
}

.IndexMain p {
  font-family: 'Work Sans', sans-serif;
  font-size: 18px;
  line-height: 1.8;
}



    
.IndexFeaturesList {
  background-color: rgb(255, 255, 255, .2);
  border: .1rem solid;
  border-radius: 10px;
  box-shadow: rgb(156, 96, 148) 5px 5px 20px;
  display: inline-block;
  float: left;
  margin: 2% 4% 5% 0%;
  padding: 10px;
  width: 50%;
}

.IndexFeaturesList ul {
  font-size: var(--fs-400);
  list-style: circle;
  margin: 2% 0 3% 0;
  padding: 0 0 0 8%;
}

.IndexFeaturesList ul li {
  margin-bottom: .5rem; /* Adds spacing between list items */
  line-height: 1.2; /* Controls spacing within a single list item */
}

.IndexFeaturesList p {
  margin: 1% 0% 1% 0%;
  text-indent: 5%;
  text-decoration: underline;
}





.ArticlesNav {
  background-color: none;
  margin: 5px 0 0 0;

  display: flex; 
  justify-content: space-between; 
  align-items: center;
}

.ArticlesNav p {
  flex: 1; /* Ensures equal spacing */
  text-align: center;
}


.ArticlesNav_Back {
  float: left;
  width: 20%;
  padding: 0px;
  height: 100%;
  font-size: 2vh;
  text-align: center;
}

.ArticlesNav_Forward {

  width: 20%;
  padding: 0px;
  height: 100%;
  font-size: 2vh;
  text-align: center;
}

.ArticlesNavButton {
  border: 2px solid rgb(0, 0, 0);
  border-style: groove;
  width: 80px;
  transition-duration: 0.8s;
}

.ArticlesNavButton:hover {
  /*background: linear-gradient(to right, rgba(214, 212, 65, 1), rgba(64, 248, 239, 1));*/
  background: linear-gradient(to right, rgb(214, 65, 197), rgba(64, 248, 239, 1));
  color: white;
}

.PageNumbersContainer { 
  display: flex;              /* Make it a flex container */
  justify-content: center;    /* Center the numbers horizontally */
  align-items: center;        /* Align numbers vertically */
  gap: 5px;                  /* Space between numbers */
  padding: 10px 0;            /* Vertical spacing around the numbers */
  min-width: 35%;                 /* Adjust container width // changed to max-width on 3/1/25 */
  max-width: 45%;
  margin: 0px 1%;
}

.PageNumbersContainer a,
.PageNumbersContainer .CurrentPage {
  font-size: 1.5rem;            /* Increase text size */
  line-height: 2;               /* Make the text taller */
  text-decoration: none;        /* Remove underlines */
  margin: 2%;                   /* Reset any extra margin */
  color: #000000;               /* Default color for links */
}

.PageNumbersContainer a:visited {
  color: #000000;               /* Ensure visited links stay the same color */
  text-decoration: none;        /* Prevent underline on visited links */
}

.PageNumbersContainer .CurrentPage {
  font-weight: bold;            /* Highlight the current page */
  color: #000000;               /* Use a specific color */
}

.PageLink,
.CurrentPage {
  font-family: 'Montserrat', sans-serif;
}






.videoofweek {
  width: 100%;
  padding: 0px 10px 0px 10px;
  border: 0px solid red;
}

.oneVID h2 {
  font-family: 'Roboto Mono', monospace;
  margin: 1% 1% 1% 1%;
  padding: 0px 0px 0px 0px;
  text-decoration: underline;
}



/*.oneSUB ul {
  text-align: center;
  background: white;
  margin: 0px 38% 0px 38%;
  padding: 0px 0px 0px 0px;
  border: 2px solid green;
}

.oneSUB li {
  padding-bottom: 15px;
  display: flex;
  text-align: center;
  justify-content: space-between;
  flex-direction: column;
}           This was floating in the article content 
            (oneSUB) was doing NOTHING, now problems for lists/profile */

.blab {
  margin: 20px;   /* was 20px -- experimenting with on 1/19/25 for getting more table width on the page */
}

.blabTables {
  margin: 0 5px;
}
.TwoSearchContainer {
  display: flex;
  flex-direction: column;      /* Stack elements vertically */
  align-items: flex-end;       /* Align the forms to the right */
  width: 100%;
  height: 100%;
}


.TwoSearchContainer input {
  font-size: 18px;
  height: 27px;
  padding: 0px 10px;           /* Tight padding for input */
  width: 100%;                  /* Let it grow to fill available space */
  min-width: 145px;             /* Minimum width when the container shrinks */
  max-width: calc(100% - 65px); /* Allow the input to shrink until there's 65px left in the container */
  margin-right: 0px;            /* No margin on the right */
}

.PlayerTableTop button,
.SearchSiteButton button {
  cursor: pointer;
  font-size: 14px;
  margin-top: 0px; /* Remove space between button and input */
  margin-right: 0px; /* Ensure button is tight to the right */
  width: 60px; /* Fixed width */
  font-family: Arial, sans-serif; /* Ensure consistent font rendering */
  background-color: #f0f0f0; /* Default light gray background color */
  color: black; /* Set text color */
  border: 1px solid gray; /* Add a subtle border for consistency */
  border-radius: 5px; /* Optional: Add rounded corners */
  padding: 5px; /* Add padding for consistent spacing */
  white-space: nowrap; /* Prevent text wrapping */
  text-align: center; /* Center-align text */
  line-height: normal; /* Reset line-height */
  -webkit-appearance: none; /* Remove Apple's default button styling */
  appearance: none; /* Normalize appearance across browsers */
}

.PlayerTableTop button:focus,
.SearchSiteButton button:focus {
  outline: none; /* Remove focus outline */
  box-shadow: none; /* Remove focus shadow */
}

.PlayerTableTop button:hover,
.SearchSiteButton button:hover {
  background-color: #e0e0e0; /* Slightly darker gray on hover */
  color: black; /* Keep text color consistent */
}

.SearchSiteButton,
.PlayerTableTop {
  display: flex;
  flex-direction: column;      /* Stack input and button vertically */
  align-items: flex-end;       /* Align them to the right */

  padding-bottom: 0px;         /* Remove unnecessary padding */
  position: relative;          /* This will be the reference for positioning the suggestionsBox */
}

.SearchSiteButton,
.SearchSiteButton button {
  margin-bottom: 2px;
}

#suggestionsBox {
  border: 1px solid #ccc;
  max-height: 200px;
  overflow-y: auto;
  position: absolute;
  top: 100%;                   /* Position just below the input field */
  right: 0;                      /* Align to the left of the input */
  background-color: rgb(82, 241, 241);
  box-shadow: 0 0 5px rgba(0, 0, 0, 0.2);
  z-index: 56;  /* to get over LineupTheGame Black Hole (score) */
  display: none;  /* Initially hidden */

  width: 100%;                  /* Let it grow to fill available space */
  min-width: 145px;             /* Minimum width when the container shrinks */
  max-width: calc(100% - 0px); /* Allow the input to shrink until there's 65px left in the container */
}

.suggestion-item {
  padding: 8px;
  cursor: pointer;
}

.suggestion-item:hover {
  background-color: #f0f0f0;
}








.HOF_PlayerSignifier {

  color: black;
  width: 100%;  /* Ensures the section matches the width of the parent */
  height: 25px; /* Fixed height -- was 21px */
  display: flex;
  align-items: center;
  justify-content: center; /* Centers the text */
  
  max-width: 400px;
  min-width: 300px;

  border-radius: 0 0 10px 10px;
  


  background: linear-gradient(
    45deg,
    #e2b842 5%,
    #efca73 10%,
    #ffdf2b 70%,
    #ffdf2b 50%,
    #ffdf2b 70%,
    #efca73 80%,
    #e2b842 95%
  );
}



.PlayerPageDashboard {
  margin: 10px 0 10px 0;
  padding: 0 0 10px 0;
}


.WorldSeriesTeamsSideBySideTrophy {
  height: 200px;
}





.SelectorAndText_RandomBackground  {
  display: flex; /* Arrange items side by side */
  align-items: top; /* Vertically align the items */
  justify-content: flex-start; /* Align items to the left */
  padding: 10px; /* Add some padding around the container */
  border-radius: 8px; /* Rounded corners */
  background-size: cover;
  background-position: center;
  margin: 0 0 10px 0;
  height: 160px;
}

.SelectorAndText_Only {
  display: flex;
  flex-wrap: wrap; /* Allows items to wrap to a new row */
  align-items: flex-start; /* Aligns items to the top */
  justify-content: flex-start; /* Aligns items to the left */
  padding: 5px 0 5px 0;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  margin: 0 0 10px 0;
  height: auto; /* Allow height to adjust when wrapping */
  gap: 5px; /* Adds spacing between items */
}



#sublime-season {
  border: 2px solid rgba(255, 255, 255, 0.5); /* Softer border */
  padding: 10px;
  margin: 20px auto;
  max-width: 565px;
  width: 100%;
  background: radial-gradient(
      circle at 20% 30%,
      rgba(255, 0, 255, 0.4),  /* Neon Magenta */
      rgba(0, 255, 255, 0.4),  /* Neon Cyan */
      rgba(138, 43, 226, 0.4), /* Electric Purple */
      rgba(255, 69, 0, 0.4),   /* Neon Orange */
      rgba(0, 0, 255, 0.4)     /* Neon Blue */
  );
  background-size: 300% 300%; /* Enlarges the gradient for smoother animation */
  animation: cyberpunkLavaLamp 10s infinite ease-in-out; /* Infinite animation */
  border-radius: 8px;
  text-align: center;
}

@keyframes cyberpunkLavaLamp {
  0% {
    background-position: 0% 0%;
  }
  25% {
    background-position: 50% 25%;
  }
  50% {
    background-position: 100% 50%;
  }
  75% {
    background-position: 50% 75%;
  }
  100% {
    background-position: 0% 0%; /* Returns to the starting position */
  }
}

#sublime-season h2 {
  font-size: var(--fs-600);
  margin: 0px 0 10px 0;
  font-family: 'Montserrat', sans-serif;
}

#sublime-season ul {
  list-style: none;
  padding: 0;
}

#sublime-season ul li {
  margin: 5px 0;
  font-size: 1.1em;
}

#sublime-season p {
  line-height: 1.7;
  text-align: left;
  margin: 0;
}


.divider-line {
  height: 5px;
  width: 90%; /* Line spans 90% of the div */
  margin: 0 auto; /* Centers the line horizontally */
  border: none; /* Removes the default border */
  background: rgba(75, 75, 75, 0.1);

}



#sublime-season #SublimeSeason_anecdote_text {
  line-height: 1.2; /* Override the general line-height for this specific paragraph */
}





.TeamSelectorBlock {
  padding: 5px;
  border-radius: 10px;
  height: 165px;
  max-width: 190px;
  flex-grow: 1; /* Allows it to shrink and expand within the flex container */
  min-width: 93px;
  line-height: 1.0;
  background-color: rgba(255, 255, 255, 0.6);
}

#TeamDashboard {
  font-size: 1.2em;
  color: black;
  line-height: 2;
  background: rgba(255, 255, 255, 0.6);
  display: inline-block; /* Shrinks to content width */
  margin: 0;
  padding: 5px;
  margin: 0 5px 0 5px; /* Optional: Space between the two items */
  border-radius: 10px;
  height: 165px;
  min-width: 190px;
}

.TeamSelectorBlock form {
  display: flex;
  flex-direction: column;  /* Stack form elements vertically */
  gap: 10px;               /* Space between the form elements */
}

.TeamSelectorBlock label {
  font-size: 14px;         /* Larger font for labels */
  color: black;            /* White color for labels */
}

.TeamSelectorBlock select {
  padding: 8px;           /* Add padding inside the dropdown */
  font-size: 15px;         /* Make the font larger for readability */
  border-radius: 5px;      /* Rounded corners for the dropdowns */
  border: 2px solid #fff;  /* White border for the dropdowns */
  background-color: #fff;  /* White background for dropdowns */
}

#WorldSeries2DivsIn1 {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 145px; /* Match other divs */
  padding: 10px; /* Ensures consistent spacing */
  position: relative;
}

#WorldSeriesWinnerDiv {
  
  max-height: 130px;
  background: linear-gradient(
    45deg,
    #bebebe 5%,
    #fff 10%,
    #ccc 30%,
    #ddd 50%,
    #ccc 70%,
    #fff 80%,
    #bebebe 95%
  );
  margin: 0 auto;
  padding: 0px;
  width: 135px;
  min-width: 130px;
  text-align: center;
  border-radius: 10px;
  position: relative;
  z-index: 1; /* Ensures the div is in front of the ::after pseudo-element */
  transform-style: preserve-3d;
}

#WorldSeriesWinnerDiv::after{
  content: '';
  position: absolute;
  height: 100%;
  width: 130px;
  background-image: conic-gradient(#ff4545, #00ff99, #006aff, #ff0095, #ff4545);
  top: 50%;
  left: 50%;
  translate: -50% -50%;
  padding: 10px;
  border-radius: 10px;
  transform: translateZ(-1px);
}

#WorldSeriesWinnerDiv p {
  font-size: .9em;
  margin: 0;
}

.WSTrophyImage {
  height: 103px;
}


.InArticleList {
  margin: 40px 0 40px 0;
}


.InArticleList li {
  font-size: var(--fs-500);
  margin-bottom: 15px;
}








/*.oneSUB h2 {
  font-family: 'Work Sans', sans-serif;
}*/

.oneSUB h4 {
  padding: 0px 0px 0px 0px;
}

.TitleCard {

  margin: 20px 0 30px 0;
  height: 100%;
  overflow: hidden;
  
}

.TitleCard h2 {
  margin: 20px 0 30px 0;
  padding-bottom: 0px;
  font-size: 27px;
  
}

.TitleCard h5 {
  font-style: italic;
  font-weight: normal;
  margin: 0px 0 0px 0;
}



.TitleCard h6 {
  font-size: 14px;
  font-weight: normal;
  margin: 30px 0 20px 0px;
}

.TitleCard p {
  margin: 0px;
}


.center {
  position: absolute;
  top: 50%;
  left: 50%;
  text-align: center;
  transform: translate(-50%, -30%);
  z-index: 9;
}
.text label{
  font-size: var(--fs-logo);
  font-weight: 500;
  text-transform: uppercase;
  cursor: cell;
}
label span{
  font-family: 'Montserrat', sans-serif;
  position: relative;
  color: black;
  z-index: 2;
}
label span:hover{
  filter: blur(1px);
}
.text label::before,
.text label::after{
  font-family: 'Montserrat', sans-serif;
  position: absolute;
  content: attr(data-content);
  top: 0;
  left: 0;
  visibility: hidden;
}
.text:hover label::before,
.text:hover label::after{
  visibility: visible;
}
.text:hover label::before{
  color: rgba(255,0,188,.8);
  animation: glitch .3s cubic-bezier(.25,.46,.45,.94) both infinite;
}
.text:hover label::after{
  color: rgba(0,255,255,.8);
  animation: glitch .3s cubic-bezier(.25,.46,.45,.94) reverse both infinite;
}
@keyframes glitch {
  0%{
    transform: translate(0);
  }
  20%{
    transform: translate(-3px, 3px);
  }
  40%{
    transform: translate(-3px, -3px);
  }
  60%{
    transform: translate(3px, 3px);
  }
  80%{
    transform: translate(3px, -3px);
  }
  100%{
    transform: translate(0);
  }
}


.main-nav {
  border-radius: 5px;
  grid-area: nav;
  font-family: 'Work Sans', sans-serif;
  position: relative;
}
.main-nav ul {
  font-size: 4vw;
  list-style-type: none;
  margin: 0;
  padding: 0;
  align-items: center;
}

nav ul {
  display: flex;
  justify-content: space-between;
}



.LineupTheGameContainer {
  display: block;
}
.LineupTheGameContainer h1 {
  display: block;
  font-size: 45px;
  padding: 1rem 0;
  width: 50%;
  text-align: center;
  border: none;
  margin-top: 15px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: uppercase;
  color: #6c56eb;
}



/*Buttons for Lineup Game? */
.btnLineupGame {
  display: block;
  font-size: 20px;
  padding: 1rem 0;
  width: 20rem;
  text-align: center;
  border: 0.1rem solid #56a5eb;
  margin-top: 15px;
  margin-bottom: 0px;
  margin-left: auto;
  margin-right: auto;
  text-decoration: uppercase;
  color: #56a5eb;
  background-color: white;
}
.btnLineupGame:hover {
  cursor: pointer;
  box-shadow: 0 0.4rem 1.4rem 0 rgba(86,185, 235, .5);
  transform: translateY(-.1rem);
  transition: transform 150ms;
}
.btn[disabled]:hover {
  cursor: not-allowed;
  box-shadow: none;
  transform: none;
}





/* Crazy Slideshow 633-737 

.slider{
  border-radius: 10px;
  height: 500px;
  overflow: hidden;
  position: relative;
  width: 70%;
}

.slides{
  width: 500%;
  height: 500px;
  display: flex;
}

.slides input{
  display: none;
}

.slide{
  width: 20%;
  transition: 2s;
}

.slide img{
  width: 100%;
  height: 500px;
}

/*css for manual slide navigation

.navigation-manual{
  position: absolute;
  width: 100%;
  margin-top: -40px;
  display: flex;
  justify-content: center;

  left: 50%;
  -ms-transform: translate(-50%);
  transform: translate(-50%);
}

.manual-btn{
  border: 2px solid #40D3DC;
  padding: 5px;
  border-radius: 10px;
  cursor: pointer;
  transition: 1s;
}

.manual-btn:not(:last-child){
  margin-right: 40px;
}

.manual-btn:hover{
  background: #40D3DC;
}

#radio1:checked ~ .first{
  margin-left: 0;
}

#radio2:checked ~ .first{
  margin-left: -20%;
}

#radio3:checked ~ .first{
  margin-left: -40%;
}

#radio4:checked ~ .first{
  margin-left: -60%;
}

/*css for automatic navigation

.navigation-auto{
  position: absolute;
  display: flex;
  width: 100%;
  justify-content: center;
  margin-top: 460px;

  left: 50%;
  -ms-transform: translate(-50%);
  transform: translate(-50%);
}

.navigation-auto div{
  border: 2px solid #40D3DC;
  padding: 5px;
  border-radius: 10px;
  transition: 1s;
}

.navigation-auto div:not(:last-child){
  margin-right: 40px;
}

#radio1:checked ~ .navigation-auto .auto-btn1{
  background: #40D3DC;
}

#radio2:checked ~ .navigation-auto .auto-btn2{
  background: #40D3DC;
}

#radio3:checked ~ .navigation-auto .auto-btn3{
  background: #40D3DC;
}

#radio4:checked ~ .navigation-auto .auto-btn4{
  background: #40D3DC;
}

.slider p {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

*/
                           


/* Try again with Slideshow - 3/6/22 

.Slider_Great {

  overflow: hidden;
  position: relative;
  width: 60%;
}

.Slider_Great_Images {
  display: flex;
  width: 500%
}

.Slider_Great_Images img {
  height: 400px;
  width: 20%;
  transition: all 0.15s ease;
}

.Slider_Great_Images input {
  display: none;
}

.dots {
  display: flex;
  justify-content: center;
  margin: 5px;
}

.dots label {
  height: 20px;
  width: 20px;
  border-radius: 50%;
  border: solid #fff 3px;
  cursor: pointer;
  transition: all 0.15s ease;
  margin: 5px;
}

.dots label:hover {background: #fff;}
#img1:checked ~ .m1 {
    margin-left: 0;
}

#img2:checked ~ .m2 {
  margin-left: -100%;
}

#img3:checked ~ .m3 {
  margin-left: -200%;
}

#img4:checked ~ .m4 {
  margin-left: -300%;
}
  */




  



.oneGAME {
  background-color: rgba(255, 255, 255, .7);
  font-family: 'Playfair Display', serif;
  grid-area: one;
  word-wrap: break-word;
  padding-left: 0px;
  padding-top: 0px;
  height: 100%;
  margin: 0px;
  max-width: 100%;
}


.oneGAME h1 {
  font-family:'Gabriola', serif;
  text-align: center;
}
.oneGAME ul {
  list-style: none;
}
.oneGAME li {
  font-family:'Cambria', serif;
  font-size: 1.5em;
}
input[type=radio] {
  border: 0px;
  width: 20px;
  height: 2em;
}
.oneGAME p {
  font-family:'Gabriola', serif;
}



/* Quiz Classes */
.quizContainer {
  background-color: white;
  border-radius: 6px;
  width: 75%;
  margin: auto;
  padding-top: 5px;
  /*-moz-box-shadow: 10px 10px 5px #888;
  -webkit-box-shadow: 10px 10px 5px #888;
  box-shadow: 10px 10px 5px #888;*/
  position: relative;
}
.quizcontainer #quiz1
{
text-shadow:1px 1px 2px orange;
font-family:"Georgia", Arial, sans-serif;
}
.nextButton {
  box-shadow: 3px 3px 5px #888;
  border-radius: 6px;
 /* width: 150px;*/
  height: 40px;
  text-align: center;
  background-color: lightgrey;
  /*clear: both;*/
  color: red;
  font-family:'Gabriola', serif;
  position: relative;
  margin: auto;
font-size:25px;
font-weight:bold;
  padding-top: 5px;
float:right;
right:30%;
}

.preButton {
  box-shadow: 3px 3px 5px #888;
  border-radius: 6px;
  /*width: 150px;*/
  height: 40px;
  text-align: center;
  background-color: lightgrey;
  /*clear: both;*/
  color: red;
  font-family:'Gabriola', serif;
  position: relative;
  margin: auto;
font-size:25px;
font-weight:bold;
  padding-top: 5px;
float:left;
left:30%;
}

.question {
  font-family:'Century', serif;
  font-size: 1.5em;
font-weight:bold;
  width: 100%;
  height: auto;
  margin: auto;
  border-radius: 6px;
  background-color: #f3dc45;
  text-align: center;
}
.quizMessage {
  background-color: peachpuff;
  border-radius: 6px;
  width: 20%;
  margin: auto;
  text-align: center;
  padding: 5px;
  font-size:20px;
  font-weight:bold;
  font-family:'Gabriola', serif;
  color: red;
  position:absolute;
  top:80%;
  left:40%;
}
.choiceList {
  font-family: 'Arial', serif;
  color: #ed12cd;
  font-size:15px;
  font-weight:bold;
}
.result {
  width: 40%;
  height: auto;
  border-radius: 6px;
  background-color: linen;
  margin: auto;
  color:green;
  text-align: center;
  font-size:25px;
  font-family:'Verdana', serif;
  font-weight:bold;
  position:absolute;
  top:80%;
  left:30%;
}
/* End of Quiz Classes */


.main-nav ul li {
  padding-bottom: 0vh;
  width: 100%;
}
.main-nav ul::after {
  display: block;
  content: attr(title);
  font-weight: normal;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}
nav ul {
  margin: 0;
  padding: 0;
}

.side {
  grid-area: sidebar;
  
}
.side p {
  padding: 0 0 0 3%;
  font-size: 14px;
  margin: 1vh 0 1vh 0; 
}

.side h2 {
  margin: 20px 0 0 0;
  text-align: center;
}

.ad {
  grid-area: ad;
  padding: 0px;

}

.main-footer {
  grid-area: footer;
  padding: 0;
  width: 100%;
  overflow: hidden; /* Ensure no horizontal scrolling */
}

.main-footer ul {
  display: inline-block;
  font-size: 1.1vw;
  list-style-type: none;
  margin: 0;
  padding: 0;
  text-align: center;
  align-items: center;
}

.DonutBaseballBox {
  display: flex;
  justify-content: center; /* Horizontal alignment (if needed) */
  align-items: center;
  font-family: 'Roboto Mono', monospace;
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  flex-wrap: nowrap; /* Keep everything in a single row */
  overflow: hidden; /* Hide anything that doesn't fit */
  box-sizing: border-box;
}

.DonutIcon, .BaseballIcon {
  transition: transform 0.9s ease-in-out;
  margin: 0 0.3%;
  width: 10%;  /* Start bigger with 8% width */
  flex: 0 1 auto; /* Don't grow, but allow shrinking */
  min-width: 40px;  /* Minimum size */
  max-width: 60px;  /* Maximum size */
}

.DonutIcon:hover {
  transform: rotate(-360deg);
}

.BaseballIcon:hover {
  transform: rotate(360deg);
}

.SocialMediaIcons {
   display: flex; 
   justify-content: center; 
   gap: 25px; 
   list-style: none;
}

.FooterBox {
  background-color: rgba(218, 23, 23, 0.1);
  border: solid;
  border-color: rgb(0, 0, 0);
  border-width: 2px;
  display: flex;
  justify-content: center;
  padding: 5px 1%;
  min-width: 195px;
  max-width: 250px;
  flex: 0 0 auto; /* Don't grow or shrink */
  text-align: center;
  z-index: 1;
  margin: 0;

  transition:  transform 0.9s ease-in-out;
  flex: 0 1 auto; /* Don't grow, but allow shrinking */
  width: 20%;
 /* height: 80px; */

  align-items: center; /* Vertical alignment */


}

.FooterBox ul {
  font-size: var(--fs-350);
  width: 100%;
}

/* Foul poles - positioned at the edges */
.FoulPoleLF, .FoulPoleRF {
  margin: 0;
  max-width: 30px;
  min-width: 25px;
  flex: 0 0 auto;
}

/* Modified to spread items more evenly */
.left-side, .right-side {
  display: flex;
  flex: 1;
  justify-content: space-evenly; /* Distribute items evenly */
  align-items: center;
  padding: 0 1%;
}

/* Improved progressive hiding of icons at different breakpoints */
@media (max-width: 900px) {
  /* First breakpoint - hide outermost pair */
  .left-side > .BaseballIcon:first-of-type,
  .left-side > .DonutIcon:first-of-type,
  .right-side > .DonutIcon:first-of-type,
  .right-side > .BaseballIcon:first-of-type {
    display: none;
  }
}

@media (max-width: 700px) {
  /* Second breakpoint - hide second pair */
  .left-side > .BaseballIcon:nth-of-type(2),
  .left-side > .DonutIcon:nth-of-type(2),
  .right-side > .DonutIcon:nth-of-type(2),
  .right-side > .BaseballIcon:nth-of-type(2) {
    display: none;
  }
}

@media (max-width: 610px) {
  /* Third breakpoint - hide third pair */
  .left-side > .BaseballIcon:nth-of-type(3),
  .left-side > .DonutIcon:nth-of-type(3),
  .right-side > .DonutIcon:nth-of-type(3),
  .right-side > .BaseballIcon:nth-of-type(3) {
    display: none;
  }
}

@media (max-width: 525px) {
  /* Fourth breakpoint - hide all remaining icons except one pair */
  .left-side > .BaseballIcon:nth-of-type(4),
  .left-side > .DonutIcon:nth-of-type(4),
  .right-side > .DonutIcon:nth-of-type(4),
  .right-side > .BaseballIcon:nth-of-type(4) {
    display: none;
  }
}

@media (max-width: 440px) {
  /* Fifth breakpoint - hide last pair and foul poles */
  .left-side > .BaseballIcon:nth-of-type(5),
  .left-side > .DonutIcon:nth-of-type(5),
  .right-side > .DonutIcon:nth-of-type(5),
  .right-side > .BaseballIcon:nth-of-type(5),
  .FoulPoleLF, 
  .FoulPoleRF {
    display: none;
  }
}

@media (max-width: 289px) {
  /* At very small sizes, hide all icons if needed */
  .left-side,
  .right-side {
    display: none;
  }
}












  .SUBSCRIBEFooterBox {
    background-color: rgba(20, 148, 199, 0.1);
    border: solid;
    border-color: rgb(0, 0, 0);
    border-width: 2px;
    display: inline-block;
    margin: 0% 1.5% -4% 1.5%;
    padding: .3% .3% .3% .3%;
    width: 17%;}

    .SUBSCRIBEFooterBox ul {
      font-size: 1vw;
    }

.SUBSCRIBEFooterBox li {
  min-width: 80%;
  max-width: 100%;
  width: 100%;
}

















h2 {
  word-wrap: normal;
}

.hoverA {
  transition: background-color .2s ease;
}

.hoverA:hover {
  /*font-weight: bold;   Troublesome.  Too big- Inline elements shifting when made bold on hover - https://stackoverflow.com/questions/556153/inline-elements-shifting-when-made-bold-on-hover - https://css-tricks.com/bold-on-hover-without-the-layout-shift/*/
  background-color: rgb(28, 224, 238);
}

.BaseballIconInText {
  float: right;
  height: 100%;
  top: 50%;
  margin: 1% .8% 1% .8%;
  transition: transform .9s ease-in-out;
  width: 25%;}

  .BaseballIconInText:hover {
    transform: rotate(360deg);
  }

  .BaseballIconSearch {
    float: right;
    height: 20%;
    top: 0%;
    margin: 1% .8% 1% .8%;
    transition: transform .9s ease-in-out;
    width: 25%;
  }

  .Top5PurpleNeon {
    height: 100%;
    width: 30%;
    margin: auto;
    display: block;
  }


.main-head {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 12px;
  grid-area: header;
  gap: 0px;
  padding: 0px;
  word-wrap: break-word;
  height: 150px;  /*was 150px*/
  max-height: 100%;
  position: relative;
}

.main-head h1 { 
  font-size: 5vw; 
  font-family: 'Merriweather', serif;
  font-weight: normal;
  color: rgb(29, 165, 165);
  text-align: center;
  align-items: center;
  margin: 0px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  max-width: 100%;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 99999999;
}

#LarryDobyHeaderLEFT {
  float: left;
  clear: left;
  margin: 0px 0% 0px 0%;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 40%;
  position: absolute;
  bottom: 0px;
  left: 0%;
  height: 60%;
}

@media (min-width: 400px) {
  #LarryDobyHeaderLEFT {
    height: 100%
  }
}

#PitchingMachineHeaderRIGHT {
  border-radius: 4px;
  float: right;
  clear: right;
  margin: 0px 1% 0px 0%;

  height: 60%;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: cover;
  object-position: 50% 50%;
  position: absolute;
  bottom: 0px;
  right: 5%;
  transform: translateX(50%);
}

/*currently nothing---instead kinda copied image format from body...header been tough.*/
.AnecdoteBaseballLogo {
  background-image: url(morsesexy.png);
  background-repeat: no-repeat;
  border-radius: 4px;
  float: right;
  clear: right;
  margin: 7px 15px 5px 10px;
  width: 20%;
  height: 150px;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: cover;
  object-position: 50% 50%;
  text-indent: -99999999px;
}


.content {
  grid-area: content;
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-template-rows: minmax(1fr, auto);
  gap: 10px;
  height: 1fr, 1fr;
  padding: 0px;
  grid-template-areas:
    "one one"
    "three three"
    "four four";
  padding-bottom: 0px;
  background-color: rgba(255, 255, 255, 0);
}

@media (min-width: 500px) {
  .content {
    grid-template-areas:
      "one one"
      "three four"
  }
}

/* This is waaaaay to broad.  How to get all main bubbles (site build/grid) to have border-radius without Everything within the...site having that. */
.wrapper article div {
  /*border-radius: 12px;*/
}

.one {
  grid-area: one;
  word-wrap: break-word;
  height: 100%;
  padding-left: 8px;
  padding-top: 8px;
  padding-bottom: 8px;
}

.onelineup {
  grid-area: one;
  word-wrap: break-word;
  padding-left: 8px;
  padding-top: 8px;
  height: 100%;
}

.oneGALLERYlineup {
  background-color: rgba(255, 255, 255, .7);
  grid-area: one;
  word-wrap: break-word;
  height: 100%;
}

.oneGALLERYlineup p {
  line-height: 1.6;
  margin: 0 20px 10px 0;
}

.oneGALLERYlineup p:first-of-type {
  margin-top: 5%;
}

.embed-container { 
  position: relative; 
  padding-bottom: 56.25%; 
  height: 0; 
  overflow: cover; 
  max-width: 100%; 
} 
.embed-container iframe, .embed-container object, .embed-container embed { 
  position: absolute; 
  top: 0; 
  left: 0; 
  height: 437px;
  max-width: 100%; 
  min-width: 649px;
  max-height: 100%;
 }

.onelineup img {
  border-radius: 0px;
  float: left;
  clear: left;
  margin: 7px 15px 5px 7px;

  height: auto;
}



.ad img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
}

/* Create two equal columns that floats next to each other */
.column {
  float: left;
  width: 50%;
  padding: 5px 5px 5px 10px;
  height: 100%;
  font-size: 2vh;
}

/* Clear floats after the columns */
.row:after {
  content: "";
  display: table;
  clear: both;
}

.column p {
  display: block;
}

figure {
  margin: 0;
}


#TheLineupGallery {
  display: grid;
  grid-area: one;
  grid-template-columns: 1fr 1fr 1fr;
  grid-auto-rows: minmax(100px, auto);
  gap: 0px;
  border: 0px solid black;
  margin: 0 20px 25px 0;
  max-height: 100%;
  max-width: 50%;
  padding: 0% 0% 0% 0%;
  float: left;
}


.gallery__img {
  display: block;
  height: 100%;
  width: 100%;

  object-fit: cover;
  object-position: center center;
  opacity: 1;
  padding: 0px;
  max-width: 100%;
  max-width: 100%;
  transition: all 0.2s ease-out;
}

.gallery__img:hover {
  transform: scale(1.05);
  filter: opacity(80%);
}


.gallery__item--1 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 1;
  grid-row-end: 2;
}

.gallery__item--2 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 1;
  grid-row-end: 2;
}

.gallery__item--3 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 1;
  grid-row-end: 2;
}

.gallery__item--4 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 2;
  grid-row-end: 3;
}

.gallery__item--5 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 2;
  grid-row-end: 3;
}

.gallery__item--6 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 2;
  grid-row-end: 3;
}

.gallery__item--7 {
  grid-column-start: 1;
  grid-column-end: 2;
  grid-row-start: 3;
  grid-row-end: 4;
}

.gallery__item--8 {
  grid-column-start: 2;
  grid-column-end: 3;
  grid-row-start: 3;
  grid-row-end: 4;
}

.gallery__item--9 {
  grid-column-start: 3;
  grid-column-end: 4;
  grid-row-start: 3;
  grid-row-end: 4;
}





#onearticles {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 12px;
  grid-area: one;
  word-wrap: break-word;
}

#onearticles h3 {
  font: bold Helvetica, Verdana, sans-serif;
  margin: 0;
  font-size: var(--fs-400);    /* 3.21.25 style stuff */
}

@media (min-width: 500px) {
  #onearticles h3 {
    font-size: var(--fs-600);
  }
}



#onearticles li p {
  font: 200 12px/1.5 Georgia, Times New Roman, serif;
  margin: 20px 0 10px 0;  
  overflow: hidden;
}




#ArticlesList {
  list-style-type: none;
  width: 100%;
  padding: 0px 0% 0px 1%;
  margin-bottom: 10px;
}
#ArticlesList li {
  overflow: auto;
  padding: 0% 1% 0% 0%;
  margin: 0px;
  font-size: .9em;
  display: flex;
}
#ArticlesList li:hover {
  box-shadow: 5px 10px 22px 15px rgb(156, 96, 148, .15);
  background-color: rgba(255, 255, 255, 0.4); 
  cursor: pointer;
}

#CategorizeTags {                           /* way easy if switch CategorizeTags to an id.....*/
  padding: 2% 1% 0% 0%;
  margin: 0px;}
#CategorizeTags a {
  color: black;}


#CategorizeTags li {
  border-radius: 5px;
  font-size: 1.1rem;
  color: rgb(214, 212, 212);
  display: inline-block;
  margin: 0% 6px 5px 0%;
  height: 30px;
  padding: 4px;

  background-color: rgba(255, 255, 255, 0.5);
  min-width: 92px;
  width: auto;
  text-align: center;
  overflow: auto;
}

/* Media query for smaller screens */
@media (max-width: 868px) {
  #CategorizeTags li {
    font-size: 0.9rem; /* Reduce font size */
    height: 28px; /* Reduce height */
    padding: 3px; /* Adjust padding */
    min-width: 85px; /* Reduce minimum width */
    margin: 0% 4px 3px 0%; /* Adjust spacing */
  }
}

/* Media query for very small screens (e.g., smartphones) */
@media (max-width: 600px) {  /*was 480px*/
  #CategorizeTags li {
    font-size: 0.8rem; /* Further reduce font size */
    height: 24px; /* Further reduce height */
    padding: 2px; /* Adjust padding */
    min-width: 70px; /* Further reduce minimum width */
    margin: 0% 2px 2px 0%; /* Adjust spacing */
  }
}







#CategorizeTags li:hover {
  box-shadow: 5px 10px 22px 15px rgb(156, 96, 148, .15);
  background-color: rgba(163, 163, 163, 0.3);   /* was 0.4*/
  cursor: pointer;
}






.slides .slide {
  display: none; /* Hide all slides by default */
}

.slides .slide:first-child {
  display: block; /* Show only the first slide initially */
}


#article_gallery {
  border: 3px solid #ccc;
  width: 600px; /* Set a fixed width for the gallery */
  float: right;
  background: linear-gradient(
      45deg,
      rgba(128, 206, 255, 0.35) 5%,  /* Light blue with 20% opacity */
      rgba(141, 199, 236, 0.35) 10%, /* Slightly darker blue with 20% opacity */
      rgba(106, 233, 247, 0.35) 70%, /* Aqua with 20% opacity */
      rgba(24, 76, 120, 0.35) 50%,  /* Deep blue with 20% opacity */
      rgba(106, 233, 247, 0.35) 70%, /* Aqua with 20% opacity */
      rgba(141, 199, 236, 0.35) 80%, /* Slightly darker blue with 20% opacity */
      rgba(128, 206, 255, 0.35) 95%  /* Light blue with 20% opacity */
  );
  margin: 0 0px 20px 30px;
  padding: 10px;
  border-radius: 8px; /* Optional: Add rounded corners */
  overflow: hidden; /* Prevent content from overflowing */
}

.article_gallery_threediv {
  width: 100%; /* Set a fixed width for the gallery */
  min-height: 250px;
  height: 100%;


}














#article_gallery h6,
.article_gallery_threediv h6 {
  margin: 15px 0 15px 0;
  font-weight: normal;
}

/* Default height for slides */
.slide {
  height: 230px;
}

/* Override height for slides in the smaller slideshow */
.small-slideshow .slide {
  height: 100%;
}




.dots {
  text-align: center;
  margin-top: 0px;
}

.dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  margin: 0 5px;
  background-color: #ebebeb;
  border-radius: 50%;
  cursor: pointer;
}

.dot.active {
  background-color: #e16c6c;
}



.ArticleGallery_Pic {
  width: 100%; /* Ensure the image container spans the full width of the gallery */
  height: auto; /* Allow the height to adjust dynamically */
  display: flex; /* Use flexbox to align the image */
  justify-content: center; /* Center the image horizontally */
  align-items: center; /* Center the image vertically */
}

.ArticleGallery_Pic img {
  display: block;
  width: 250px; /* Set the image width to 200px */
  height: 200px; /* Set the image height to 160px */
  object-fit: cover; /* Ensure the image fills the dimensions without distortion */
  object-position: center; /* Center the image within the container */
  margin: 0 10px 0 0;
}


.ArticleGallery_Pic_threediv img {
  display: block;
  width: 210px; /* Set the image width to 200px */
  height: 168px; /* Set the image height to 160px */
  object-fit: cover; /* Ensure the image fills the dimensions without distortion */
  object-position: center; /* Center the image within the container */
  margin: 0 10px 0 0;
}

@media (max-width: 1050px) {
  .ArticleGallery_Pic_threediv img {
    width: 160px; /* Set the image width to 200px */
    height: 128px; /* Set the image height to 160px */
  }
}

@media (max-width: 800px) {
  .ArticleGallery_Pic_threediv img {
    width: 120px; /* Set the image width to 200px */
    height: 96px; /* Set the image height to 160px */
  }
}





@media (max-width: 768px) {
  #article_gallery {
      width: 370px; /* Make the gallery take up the full width of the screen */
      max-width: 450px; /* Prevent it from exceeding 450px */
  }
  .ArticleGallery_Pic img {
    width: 150px;
    height: 120px;
  }
}

@media (max-width: 699px) { 
  #article_gallery, 
  .article_gallery_threediv {
    margin: 5px auto 10px auto; /* Center the gallery and add spacing */
    float: none; /* Remove float */
  }
}

@media (max-width: 420px) {
  #article_gallery {
    width: 320px; /* Adjust the width for smaller screens */

    display: block; /* Ensure it behaves as a block element */
  }
  .ArticleGallery_Pic img {
    width: 115px;
    height: 92px;
  }
}






.ArticleResult_Pic {
  flex-shrink: 0;
  margin: 0 20px 0px 0;
  
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: cover;
  object-position: 50% 50%;
}


.ArticleResult_Pic img {
  display: block;
  height: 105px;
  width: 140px;

  object-fit: cover;
  object-position: center center;
  padding: 0px;
  max-width: 100%;
}



.ArticleResult_Text {
  flex: 1;
  margin: 0% 0 0 1%;
  width: 99%;
}

#article_gallery h3,
.ArticleResult_Text h3,
.article_gallery_threediv h3 {
  font-family: 'Montserrat', sans-serif;
}



#article_gallery h3 {
  font-size: var(--fs-500);
}
#article_gallery h5 {
  font-size: var(--fs-400);
}

@media (max-width: 800px) {
  #article_gallery h3 {
    font-size: var(--fs-400);
  }

  #article_gallery h5 {
    font-size: var(--fs-350);
  }
}



.article_gallery_threediv h3 {
  font-size: var(--fs-400);
  margin-top: 5px;
}
/*rotating article gallery little text (author/date)*/
.article_gallery_threediv h5 {  
  margin: 20px 0 15px 0;
  font-size: var(--fs-350);
  font-weight: normal;
  text-decoration: none;
}

.article_gallery_threediv a h5 {
  text-decoration: none;
}


/* Hide h5 and h6 in article_gallery_threediv for small screens */
@media (max-width: 610px) {
  .article_gallery_threediv h5,
  .article_gallery_threediv h6 {
      display: none; /* Hide the elements */
  }
}














.ArticleResult_Text a,
#article_gallery a,
.article_gallery_threediv a {
  color: black;
}




.ArticleResult_Text .CategorizeTags {
  margin: 0;
}



@media (min-width: 600px) {
  .ArticleResult_Pic img {
    width: 280px;
    height: 210px;
  }
}






#onearticles h2 {
  font-family: Garamond, serif;    /* was:  font-family: 'Roboto Mono', monospace;  --- i hate font css stuff */
  font-size: var(--fs-700);
  margin: 2% 0 2% 1%;
  text-decoration: underline;
}



.bottom_articles {
  width: 100%;
  background-color: rgba(255, 255, 255, 0.2);
  height: 105px;
  display: flex;
  justify-content: space-between;
  word-wrap: break-word;
}


.bottom_articles ul {
  list-style-type: none;
  margin: 0 auto;
  width: 100%;
}

.bottom_articles li {
  display: inline-block;
  color: white;
  font-size: 1.5vw;
  text-align: center;
  margin: 0 0 0 0;
  overflow: hidden;
  display: grid;
  justify-content: center;
}

.bottom_articles li:hover {
  box-shadow: rgb(156, 96, 148) 5px 5px 20px;
  background-color: none;
  cursor: pointer;
}



.bottom_articles a {
  align-items: center;
  background-color: rgba(177, 177, 177, .6);
  border-radius: 50%;
  color: rgb(69, 186, 224);
  display: inline-block;
  justify-content: center;
  line-height: 105px;
  margin: 0 auto;
  min-width: 105px;
  overflow: hidden;
  text-align: center;
}

.bottom_articles a:hover {
  background-color: rgb(233, 66, 66, .8);
  box-shadow: rgb(104, 156, 96) 5px 5px 20px;
  cursor: pointer;
  font-weight: none;
  overflow: hidden;
}


.my-button:hover  {
  background-color: rgb(233, 66, 66, .8);
}

.my-button {
  align-items: center;
  background-color: rgba(177, 177, 177, 0.6);
  border: none;
  border-radius: 50%;
  color: rgb(69, 186, 224);
  display: inline-block;
  justify-content: center;
  line-height: 105px;
  margin: 0 auto;
  min-width: 105px;
  overflow: none;
  text-align: center;
}



#Lineup_Title {
  font-size: var(--fs-650);
  margin: 4% 0 2% 0;
}



.profile {
  grid-area: one;
  word-wrap: break-word;
}

.Profile13Header {
  background: rgb(71, 71, 160);
  display: inline-block;
  margin-top: 0;
  margin-bottom: 2vh;
  width: 100%;
}

.profile h3 {
  font: bold 25px/1.5 Helvetica, Verdana, sans-serif;
  margin-top: 0px;
  margin-bottom: 0px;
}

.profile li img {
  float: left;
  margin: 0 15px 0px 0;
  width: 27%;
  height: 200px;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 50%;
}

.profile li p {
  font: 14px Helvetica, arial, sans-serif;
  margin-top: 5px;
  overflow: hidden;
}

.profile li p:last-child {
  margin-bottom: 30px;
}

.profile li {
  padding: 0px;
  overflow: auto;
  width: 100%;
}

.profile li:hover {
  background-color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
}

/*This is where the article content (img/thumbnail, h3, p) is moved */
.profile ul {
  background-color: rgba(255, 255, 255, .0);
  list-style-type: none;
  width: 100%;
  padding-left: 0px;
  padding-right: 0px;
  margin-bottom: 10px;
  margin-top: 0px;
}

.profile h2 {
  margin: 2% 0 30px 10px;
  text-decoration: underline;
}

.profile h6 {
  font: 16px/1.5 Helvetica, Verdana, sans-serif;
  margin: 1.5vh;
  font-weight: normal;
  font-style: italic;
}

.PROFILES {
  padding: 0 0 30px 0;
}

.PROFILEarticle__img {
  display: block;
  height: 200px;
  width: 200px;
  object-fit: cover;
  object-position: center center;
  padding: 0px;
  max-width: 100%;
  max-width: 100%;
  float: 0 0 150px;
}

.PROFILES li:hover {
  background-color: rgba(255, 255, 255, .4);
  cursor: pointer;
}

.PROFILES ul {
  list-style-type: none;
  padding: 0;
}

.ProfileBOX {
  padding: 20px 5px 20px 10px;
  box-sizing: border-box;
  background-color: rgba(255, 255, 255, .0);
  display: flex;}
.ProfileBOX img {
  padding: 0 30px 0 0;
  width: 20vw;}

@media (max-width: 500px) {
  .ProfileBOX img {
    width: 30vw;
    height: auto;
  }
}

.Profiletext h3 {
  font-size: 33px;
}
.Profiletext h2 { 
  font-size: 2.5vw;
  margin: 0 0 6% 0;  }
.Profiletext h5 {
  font-size: 1.5vw;
  padding-top: 0px;
  padding-bottom: 0px;
  font-style: italic;
  font-weight: normal;
  margin: 1% 0 1% 0;}
.Profiletext h1 {
  font-size: 1.4vw;
  font-weight: normal;
  margin: 5% 0 1.5% 0;
  text-decoration: underline; }
.Profiletext h6 {
  font: 14px Helvetica, arial, sans-serif;
  font-style: italic;
  font-weight: normal;
  margin: 5vh 0 5vh 0;}
.Profiletext p {
  font: 16px Helvetica, arial, sans-serif;
  line-height: 1.5;
  margin-bottom: 2%;
  }


.pale84main__img{
  width: 100%;
  height: auto;
  max-height: 400px;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  margin: 0 0 5px 0;
  object-position: center;
}


.pale84EvansMurray__img {
  height: 225px;
  width: auto;
  float: center;
  margin-bottom: 2vh;
  margin-left: 0px;

  position: relative;
  display: block;

}

.teamRPG_CHART {
  width: 65%;
}

.Nineteen_TeamsRPG_Chart {
  width: 50%;
}

.HOVERcenter {
  display: grid;
  position: relative;
  justify-content: center;
} 
.HOVERleft {
  display: grid;
  position: relative;
  justify-content: left;
} 

.tooltipleft {
  background-color: rgba(218, 7, 7, 0.5);
  color: rgb(20, 57, 63);
  text-decoration:underline;
  display: grid;
  filter: drop-shadow(16px 16px 20px red) invert(75%);
  font-size: 24px;
  margin: 0, auto;
  text-align: center;
  justify-content: center;
  width: 100%;
  object-fit: cover;
  padding: 10px;
}
.tooltipleft span {
  display:none;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  color:black;
  background:white;  
}
.tooltipleft span img {
  float:left;
  margin:0;
  position: relative; 
}
.tooltipleft:hover span {
  display:block;
  position: absolute;
  z-index:1000;
  height: 1;
  width: auto;
  object-fit: contain;
  border:1px solid black;
  margin-top:0px;
  margin-left:0px;
  padding:8px;
  top:-.25rem;
  left: 20%;
  transform: translateX(-50%) translateY(-77%) scale(.55);
}

.FirstPitchguesstimate {
  border-radius: 4px;
  float: right;
  padding:10px;
  height: 150px;

}

.HOVERcenter ul {
  margin: 0 auto;
  width: 100%;
}


/*this is kinda the hover buttons (margin-right is space between) float L, etc is how we FINALLY centered */
.HOVERcenter li {
  color: white;
  display: inline-block;
  float: left;
  text-align: center;
  margin-right: 3vw;
  overflow: hidden;
  display: grid;
  justify-content: center;
}

.tooltip84 {
  background-color: rgba(0, 0, 0, 0.5);
  color: rgb(41, 158, 179);
  text-decoration:underline;
  display: grid;
  margin: 0, auto;
  text-align: center;
  justify-content: center;
  width: 100%;
  object-fit: cover;

  
  padding: 10px;
}
 
.tooltip84 span {
  display:none;
  -moz-border-radius:6px;
  -webkit-border-radius:6px;
  border-radius:6px;
  color:black;
  background:white; 
  
}
 
.tooltip84 span img {
  float:left;
  margin:0;
  position: relative;
  
}
 
.tooltip84:hover span {
  display:block;
  position: absolute;
  z-index:1000;
  height: 1;
  width: auto;
  object-fit: contain;
  border:1px solid black;
  margin-top:0px;
  margin-left:0px;
  padding:8px;
  top:-.25rem;
  left: 50%;
  transform: translateX(-50%) translateY(-77%) scale(.55);
  
}


.PNGPlayersArt {
  background-color: red;
  border: 3px solid rgb(204, 204, 204);
  margin: 100px;
  
}

.Shapeshifter {
  width: 100px;
  height: 100px;
  margin: 100px auto;
  background-color: red;
  transition: all .8s linear;
}

.Shapeshifter:hover {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  background-color: limegreen;
  transform: rotate(360deg);
}

.TCG_Picture_ProfileBox {
  border: 2px solid black;  /* Add solid black border */
  padding: 5px;             /* Add padding to separate content from the border */
  overflow: hidden;         /* Prevent content from overflowing if floating is used */
  width:  520px;
}



.MLBShowdown_img_container img:hover {
  transform: scale(1.05);
}

.MLBShowdown_img_container {
  width: 250px;
  height: 350px;
  border: 3px solid #ccc;
  border-radius: 10px;
  overflow: hidden;
  margin-top: 20px;
  margin-right: 0px; /* Add space to the right of the image */
  float: left; /* Float the image container to the left */
}

.MLBShowdown_img_container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease-out;
}

#MLBShowdown_stats {
  margin-top: 10px;
  line-height: 1.2; /* Adjust line height to reduce spacing between lines */
  float: left; /* Float stats to the left of the image */
  width: 250px; /* Set the width of the stats container */
}

#MLBShowdown_stats p {
  line-height: 1;
}

.clearfix::after {
  content: "";
  clear: both;
  display: table;
}


.Gallery3 {
  display: flex;
  flex-wrap: wrap;
  gap: 25px;
  justify-content: center;
  padding: 20px 1px 1px 1px;
}

.img_container3 {
  border-radius: 0px;
  height: 250px;
  width: 350px;
  overflow: hidden;
  /* box-sizing: border-box;  Ensure padding/borders don't affect dimensions */
}

.img_container3 img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: all 0.2s ease-out;
  cursor: pointer;
}

.img_container3 img:hover {
  transform: scale(1.05);
}
.Modal3 {
  background: rgba(0, 0, 0, .9);
  position: fixed;
  top: 0;
  left: 0;
  height: 100%;
  width: 100%;
  opacity: 0;
  pointer-events: none;
  transition: .25s ease-out;
  z-index: 9999;
}

.Modal3.open {
  opacity: 1;
  pointer-events: all;
}

.Modal3 p {
  color: white;
  font-size: 1rem;
  position: absolute; 
  bottom: 3%;
  left: 50%;
  margin: 0;
  transform: translate(-50%, -5%);
}

.full-img3 {
  position: absolute;
  max-height: 80%;      /* Allow the image to take up to 90% of the screen height */
  max-width: 90%;       /* Allow the image to take up to 90% of the screen width */
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%); /* Center the image */
  transition: all 0.25s ease-out;
  object-fit: contain; /* Ensure image doesn't stretch */
  min-width: 40%;    /* Minimum width */
  min-height: 100px;   /* Minimum height */
}

.full-img3.open {
  transform: translate(-50%, -50%); /* Maintain position after transition */
}






hr {
  margin: 15px 2px 15px 2px;
  height: 10px;
  background-color: rgba(255, 255, 255, .7);
}

.oneVID {
  background-color: rgba(255, 255, 255, .7);
  grid-area: one;
  word-wrap: break-word;
  padding-left: 0px;
  padding-top: 0px;
  height: 100%;
}

.container-QUOTE {
  background-color: blue, .9;
  width: 180vw;
  max-width: 100%;
  max-height: 100%;
  min-height: 10vh;
  padding: 5% 5% 2% 5%;
  height: 100%;
  border-left: 3px solid #f15025;}
.quote-text {
  min-height: 15vh;}
.container-QUOTE h1 {
  font-size: 1.4em;
  text-align: left;
  margin: 0px;}
.container-QUOTE p {
  text-transform: capitalize;
  color: #7facad;
  text-align: right;
  font-style: italic;
  font-size: 1.2em;}
#btnQUOTE {
  margin-top: 10px;
  margin-bottom: 0px;
  font-size: 25px;
  padding: 10px 20px;
  background-color: #b82d23;
  color: #17e6db;
  text-transform: uppercase;
  display: block;
  margin-left: auto;
  margin-right: auto;}
#btnQUOTE:hover {
  color: #191716;
  background-color: #17e6db;
  color:  #b82d23;}



.three {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 5px;
  grid-area: three;
  padding-left: 0px;
  padding-top: 0px;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
 /* was overflow: hidden; */
  word-wrap: break-word;
}
.threelineup {
  background-color: rgba(255,255,255, .7);
  border-radius: 5px;
}

.threelineup h2 {
  margin: 3px;
}

.three h2 {
  font-size: var(--fs-500);
  margin: 10px;
}
.three h4 {
  margin: 2vh 1vh 5vh 2vh;
}
.three ul {
  padding: 0 0 0 10%;
  list-style-type: circle;
  font-size: .5; 
}
.three_ul li {
  margin: 10px;
}


.four {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 5px;
  grid-area: four;
  padding-left: 0px;
  padding-top: 0px;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  overflow: hidden;
  word-wrap: break-word;
}



/* uhhhh, something weird/old for iframe in lineup's section 4 (bottom R) --- back to normal four */
.fourIFR {
  background-color: rgba(255, 255, 255, .7);
  border-radius: 5px;
  overflow: hidden;
  padding-top: 61.67872568688917%;
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
}

.fourIFR-iframe {
  border: 0;
  height: 100%;
  left: 0;
  position: absolute;
  top: 0;
  width: 100%;
}

.LineupTheGameThree {
  font-size: var(--fs-400);
  margin: 10px;
}

.StatsAttributionThree p {
  font-size: var(--fs-350);
}

@media (max-width: 820px) {
  .LineupTheGameThree {
    font-size: var(--fs-300);
  }
}



.FirstHalf4040Article {
  word-wrap: overflow;
  height: 100%;
  max-height: 100%;
  margin: 0px;
  display: block;

}

.AaronHRpergameSetup {
  width: 70%;
  min-width: 290px;
}

.AaronHRpergameAnswer {
  width: 50%;
  min-width: 250px;
}


.HRperGameBOX {
  background-color: blue;
  margin: 50px 0 0 0;
  width: 100%;
}


.HRperGame {
  flex-shrink: 0;
  float: left;
  clear: both;
  height: auto;
  margin: 1% 1% 1% 1%;
  width: 100%;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: cover;
  object-position: 50% 50%;
}

.TreeRings500Spectrum {
  display: block;
  float: right;
  object-fit: contain;
  width: 38%;
  min-width: 150px;
}

.Arod96example {
  display: block;
  float: right;
  object-fit: contain;
  width: 30%;
  min-width: 150px;
}

/* IMAGES main__img and everything else.  Each page has unique setting for main__img.  Maybe standardize */

.almost4040main__img {
  float: left;
  margin: 0 15px 15px 0;
  width: 46%;
  height: auto;
  max-height: 100%;
  max-width: 100%;

  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.almost4040__3939393img {
  clear: right;
  float: right;
  margin: 0px 15px 15px 15px;
  width: 42%;
  height: auto;
  margin-bottom: 0px;
  max-height: 100%;
  max-width: 100%;

  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.almost4040thelist__img {
  float: right;
  margin: 0px 0px 15px 0px;
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.almost4040theliststats__img {
  float: right;
  margin: 0px 0px 15px 0px;
  width: 100%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}



.HouseInIceberg {
  clear: right;
  float: right;
  margin: 0px 15px 15px 15px;
  width: 37%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}



.howmanybattershit__HR {
  margin: 0px 0px 15px 0px;
  width: 95%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  margin-left: auto;
  margin-right: auto;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.GavvyCravathPhilliesSwing {
  clear: right;
  float: right;
  margin: 0px 15px 15px 15px;
  width: 32%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.KirchnerCafe28 {
  clear: right;
  float: left;
  margin: 0px 15px 15px 15px;
  width: 33%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.RuthMonument {
  clear: right;
  float: left;
  margin: 0px 15px 15px 15px;
  width: 27%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}




.treerings500main__img{
  float: left;
  margin: 0 15px 15px 0;
  width: 42%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.firstpitchmain__img{
  float: left;
  margin: 0 15px 15px 0;
  width: 42%;
  height: auto;
  max-height: 100%;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  object-position: 50% 0%;
}

.FranchiseTop5main__img{
  
 
  width: 100%;
  height: auto;
  max-height: 400px;
  max-width: 100%;
  display: block;
  border: black;
  object-fit: contain;
  margin: 0 0 5px 0;
}


h3 {
  margin: 0px;
}


#FourtyFourtyProfiles {
  font-family: 'Work Sans', sans-serif;
  font-size: 40px;
  padding-top: 30px;
}



.TRchart {
  width: 100%;
  height: 700px;
}

.top5chart {
  width: 100%;
  max-width: 665px;
  height: 550px;
  float: left;
  margin: 0 20px 0 0;
  overflow: hidden;
}

.top5chart_update {
  width: 100%;
  max-width: 665px;
  height: 550px;
  float: left;
  margin: 0 20px 0 0;
  overflow: hidden;
}


/* END OF IMAGES AND GOOGFY FONT END OF IMAGES AND GOOFY FONT END OF IMAGES AND GOOFY FONT END OF IMAGES AND GOOFY FONT*/





/*I think this "form" is the javascript buttons (articles page) */
.form {
  background-color: rgba(177, 177, 177, 0.4);
  margin: 0 auto;
  padding: 0;
  height: 100px;
  max-height: 100px;
  min-width: 100px;
  align-items: center;
  overflow: hidden;
  overflow-wrap: hidden;
  text-align: center;
  border-radius: 50%;
  color: rgb(122, 200, 226);
  
  display: inline-block;
  justify-content: center;
  align-items: center;
  line-height: 100px;
}





/* Start of Responsive @media----phones 1 column display, tablets 2 column, computers 3 column.  min-width <500, 500, 740 */
  .wrapper {
    display: grid;
    gap: 10px;
    grid-template-areas:
      "header"
      "nav"
      "content"
      "sidebar"
      "ad"
      "footer";
  }

  





  .blab {
    margin: 1%;
  }

  



  @media (min-width: 500px) {
    .wrapper {
      gap: 8px;
      grid-template-columns: 1fr 6fr;
      grid-template-areas:
        "header  header"
        "nav     nav"
        "sidebar content"
        "ad      content"
        "footer  footer";
    }








  

    nav ul {
      display: flex;
      justify-content: space-between;
    }
    
    #LarryDobyHeaderLEFT {
      height: 100%;
      top: 0%;
    }
    


    

    .side p {
      padding-left: 5%;
      font-size: 2vw;
      margin: 3vh 0 3vh 0; 
    }


    .onelineup img {
      border-radius: 0px;
      float: left;
      clear: left;
      margin: 7px 15px 5px 7px;

      height: auto;

    }

    .videoofweek {
      width: 100%;
      height: auto;
      min-height: 300px;
      display: block;
      object-fit: contain;
      margin: 0px 0px 0px 0px;
    }
   
    .almost4040main__img {
      float: left;
      margin: 0 15px 15px 0;
      width: 40%;
      height: auto;
      max-height: 100%;
      max-width: 100%;

      display: block;
      border: black;
      object-fit: contain;
      object-position: 50% 0%;
    }
  }

  .HRdemomain__img {
    float: left;
    margin: 0 15px 15px 0;
    width: auto;
    height: auto;
    max-height: 200px;
    max-width: 114px;
  }




  @media (min-width: 800px) {   /*was 740px -- change 4/15/25 */
    .wrapper {
      grid-template-columns: 1fr 10fr 1fr;  /*the was 1fr 8fr 1fr */
      grid-template-areas:
        "header header  header"
        "nav    content sidebar"
        "nav    content ad"
        "footer footer  footer"
    }



    .DropDownforNav-content {
      left: 100%; /* Position it to the right */
      top: 0;
      }

    nav ul {
      flex-direction: column;
    }
    .main-nav {
      grid-area: nav;
      font-family: 'Work Sans', sans-serif;
      position: relative;
    }
    .main-nav ul {
      border-radius: 5px;
      font-size: 1vw;     /* terribly buggy ?  When goes to 4vw it creates a ghost space above the list.... beware */
      list-style-type: none;
      margin: 0;
      padding: 0% 0% 0% 0%;
    }
    .main-nav ul li {
      padding-bottom: 0;

    }
    .btn-hoverNav {
      font-size: var(--fs-400);  /* was 2.2 vw  testing narrower for grid size */
      height: 70px;      /* height of Nav items IMPORTANT */
      padding: 0;
    }

   




    .Title_text h1 {
      font-size: var(--fs-700)
      }

    
    .quote-text {
      min-height: 25vh;}
  



    

    #img_container_IndexMainImage {
      border-radius: 4px;
      flex-shrink: 0;
      float: right;
      clear: both;
      height: auto;
      margin: 1% 1% 1% 4%;
      width: 40%;
      max-height: 100%;
      max-width: 100%;
      display: block;
      border: black;
      object-fit: cover;
      object-position: 50% 50%;}
    
    .articles_mainIMG_InArticle_IndexMainImage {
      height: 100%;}

    #img_container_IndexMainImage p {
      position: relative;
      font-size: 10px;
      margin: 0;
      padding: 0px 5px 0 5px;
      background-color: rgba(255, 255, 255, 0.2);}
    #img_container_IndexMainImage a:hover {
      background-color: rgb(28, 224, 238);
      cursor: pointer;}

      /* */
      .img_container_InArticle_JustImage {
        border-radius: 4px;
        flex-shrink: 0;
        float: left;
        clear: both;
        height: auto;
        margin: 1% 1% 1% 4%;
        width: 20%;
        max-height: 100%;
        max-width: 100%;
        display: block;
        border: black;
        object-fit: cover;
        object-position: 50% 50%;}
      
      .articles_mainIMG_InArticle_JustImage {
        height: 100%;}
  
      .img_container_InArticle_JustImage p {
        position: relative;
        font-size: 10px;
        margin: 0;
        padding: 0px 5px 0 5px;
        background-color: rgba(255, 255, 255, 0.2);}
      .img_container_InArticle_JustImage a:hover {
        background-color: rgb(28, 224, 238);
        cursor: pointer;}
        /* */


    .IndexMain h5 {
      font-size: var(--fs-500);
    }
    
    .side p {
      font-size: .9vw;
      line-height: 2vh;
      margin: 2.5vh 0 2.5vh 0;
    }


    .side {
      grid-area: sidebar;
      font-size: 1.25vw;
    }



    .text label {
      font-size: var(--fs-logo);
    }

    .HRperGame {
      width: 60%;
    }



    .IndexFeaturesList {
      background-color: rgb(255, 255, 255, .2);
      border: .1rem solid;
      box-shadow: rgb(212, 172, 212) 5px 5px 40px 2px;
      display: inline-block;
      float: left;
      margin: 2% 3% 3% 0%;
      padding: 1%;
      width: 40%;
    }
    
    .IndexFeaturesList ul {
      font-size: var(--fs-500);
      line-height: 1.9vw;
      list-style: circle;
      margin: 2% 0 3% 0;
      padding: 0 0 0 30px;
    }
    
    .IndexFeaturesList p {
      margin: 1% 0% 1% 0%;
    }

    .WSLineup {
      font-size: 18px;
      width: 40%;
    }

    #WSLineupHits {
      float: right;
      margin: 2% 2% 2% 2%;
      width: 48%;
    }

    #img_container_TeamsRPG_Distribution {
      float: right;
      margin: 2% 2% 2% 2%;
      width: 55%;
    }

    .WorldSeriesHitsTrophy {
      clear: right;
      float: right;
      margin: 0px 15px 15px 15px;
      width: 25%;
      height: auto;
      max-height: 100%;
      max-width: 100%;
      display: block;
      border: black;
      object-fit: contain;
      object-position: 50% 0%;
    }

    .videoofweek {
      width: 100%;
      height: auto;
      min-height: 510px;
      display: block;
      object-fit: contain;
      margin: 0px 0px 0px 0px;
      border: 0px solid red;
      padding: 0px 30px 0px 30px;

    }

    #CategorizeTags li {
      font-size: 1.1em;
    }

    .almost4040main__img {
      float: left;
      margin: 0 30px 15px 0;
      width: 33%;
      height: auto;
      max-height: 100%;
      max-width: 100%;
      display: block;
      border: black;
      object-fit: contain;
      object-position: 50% 0%;
    }

    .almost4040__3939393img {
      float: right;
      clear: right;
      position: relative;
      height: 100%;
      max-height: 100%;
      width: 20%;
    }

    .almost4040thelist__img {
      clear: right;
      float: left;
      margin: 0px 15px 15px 15px;
      width: 28%;
      height: auto;
      max-height: 100%;
      max-width: 100%;
      display: block;
      border: black;
      object-fit: contain;
      object-position: 50% 0%;
    }
  }

