a {
    text-decoration: none !important;
}

/* Fonts */

@font-face {
    font-family: "Fabriga";
    src: url("../font/Fabriga-Regular.woff");
}

@font-face {
    font-family: "FabrigaBlack";
    src: url("../font/Fabriga-Black.woff");
}

@font-face {
    font-family: "FabrigaMedium";
    src: url("../font/Fabriga-Medium.woff");
}

@font-face {
    font-family: 'Questa Sans';
    font-style: normal;
    font-weight: normal;
    src: local('Questa Sans'), url('../font/2-Questa_Sans_Regular.woff') format('woff');
}

/* Header section */

#logo {
    width: 160px;
    margin-right: 10px;
}

#logo-text {
    font-size: 0.7rem;
}

#language-selector {
    margin-right: 10px;
}

#search-bar {
    /* display: inline-block; */
    display: none;
    width: 200px;
    margin-left: 5px;
}

#search-button {
    /* display: inline-block; */
    display: none;
    padding: 6px 12px;
    margin-left: 4px;
}

.goog-te-gadget .goog-te-combo {
    margin: 20px 0 0 0 !important;
    padding: 10px;
}

/* Navbar Section */

#mynav {
    padding: 0;
    margin: 0;
    --bs-gutter-x: 0;
    background-color: #1db7f0;
}

.navbar-nav a:hover {
    color: #145a74 !important;
}

/* Utility Classes */

.my-container {
    padding: 10px 20px;
}

/* bootstrap override */

.container-fluid {
    --bs-gutter-x: 0;
}

/* Custom button styling */
.btn-primary {
    background-color: #096bb0;
    /* Dark blue */
    border: none;
    /* Remove border */
    border-radius: 0;
    font-weight: bold;
    text-transform: uppercase;
    /* Make text uppercase */
    padding: 0;
}

.btn-primary:hover {
    background-color: #003f73;
    /* Slightly darker blue on hover */
}

/* image slider */
.carousel-item img {
    height: 500px;
    /* Adjust height as needed */
    object-fit: cover;
    /* Ensures images fit nicely */
}

.carousel-caption {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.carousel-caption h1 {
    font-size: 5rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    /* Adds shadow for readability */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    width: 14rem;
    /* Increase the width of the arrow */
    height: 8rem;
    /* Increase the height of the arrow */
    background-size: 100%;
    /* Ensure the icon fills the container */
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: white;
    /* Makes the arrows white */
    opacity: 0.8;
    /* Slight transparency */
}

.carousel-control-prev-icon:hover,
.carousel-control-next-icon:hover {
    opacity: 1;
    /* Remove transparency on hover */
}

/* Find your pool  */

#plist {
    background: url("../img/navy.png") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
    color: #ffffff;
}

.section-header h3 {
    font-family: "FabrigaBlack";
    font-size: 56px;
    letter-spacing: -2px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
    margin: 0;
}

/* Section background styling */

/* Section header styling */
.section-header {
    text-align: center;
}

/* Input styling */
#plist-formfilter .form-group label {
    font-family: "FabrigaBlack", sans-serif;
    font-size: 24px;
    font-weight: normal;
    color: #006eb7;
}

.form-group {
    margin-bottom: 15px;
}

#plist-formfilter input.form-control,
#plist-formfilter select.form-control {
    padding: 10px 14px;
    border-radius: 8px;
    font-size: 18px;
    /* color: #006eb7;
    border: 2px solid #006eb7; */
}

#plist-formfilter input.form-control::placeholder {
    color: #a7a7a7;
}

/* Button styling */
/* #plist-formfilter .btn {
  text-align: center;
  border-radius: 8px;
  background-color: #006eb7;
  border: solid 3px #ffffff;
  font-family: "FabrigaBlack", sans-serif;
  font-size: 24px;
  padding: 7px 30px 9px 30px;
  color: #fff;
} */

#plist-formfilter .btn {
    text-align: left;
    border-radius: 8px;
    background-color: #006eb7;
    border: solid 3px #ffffff;
    font-family: "FabrigaBlack", sans-serif;
    font-size: 24px;
    font-weight: normal;
    font-style: normal;
    font-stretch: normal;
    line-height: normal;
    letter-spacing: normal;
    padding: 7px 30px 9px 30px;
    white-space: normal;
}

.label {
    display: inline;
    padding: .2em .6em .3em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: .25em;
}

.btn .label {
    position: relative;
    top: -1px;
}

.label-success {
    background-color: #5cb85c;
}

.label-danger {
    background-color: #d9534f;
}

.btn-block {
    display: block;
    width: 100%;
}

#plist-formfilter .btn:hover {
    background-color: #00b9f2;
    border: solid 3px #ffffff;
}

/* Panel styling */
.panel {
    margin-bottom: 20px;
    background-color: #fff;
    border: 1px solid transparent;
    border-radius: 4px;
    -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
}

.panel-default {
    border-color: transparent;
}

.input-lg {
    height: 46px;
    padding: 10px 16px;
    font-size: 18px;
    line-height: 1.3333333;
    border-radius: 6px;
}

.panel-body {
    font-size: 18px;
}

.panel-body {
    padding: 15px;
}

.panel-footer {
    text-align: right;
    background: transparent;
    border: none;
}

.panel-footer {
    padding: 10px 15px;
    background-color: #f5f5f5;
    border-top: 1px solid #ddd;
    border-bottom-right-radius: 3px;
    border-bottom-left-radius: 3px;
}

/* Tabs (hidden in this case) */
.nav-tabs {
    display: none;
}

/* Nearby pools section */
#plist-location h3 {
    color: #fff;
    font-size: 28px;
}

#plist-location {
    margin: 20px 0;
}

/* General styling for tiles */
/* External Styles */

/* Large Instagram Tile */
.tile-large-instagram {
    background-image: url("../img/home-icons-bgs/insta-diving-bg.png");
    /* background: rgba(0, 0, 0, .20) url("/img/swim.webp"); 
  background-blend-mode: darken; */
    background-size: cover;
    background-position: center;
    height: 858px;
}

.tile-large-instagram span {
    text-decoration: none;
}

/* Smaller Tiles */
.tile-lifeguard {
    background-image: url("../img/home-icons-bgs/become-lifeguard-bg.png");
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-rec-swim {
    background-image: url("../img/home-icons-bgs/rec-and-lap-swim-bg.png");
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-calendar {
    background-image: url('../img/home-icons-bgs/calendar-bg.png');
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-facility-rental {
    background-image: url('../img/home-icons-bgs/facility-rental-bg.png');
    background-size: cover;
    background-position: center;
    height: 417px;
}

/* Second set of tiles */
.tile-large-youth-programs {
    background-image: url("../img/youth-programs-info.png");
    background-size: cover;
    background-position: center;
    height: 858px;
}

/* Smaller Tiles */
.tile-junior-lifeguard {
    background-image: url("../img/home-icons-bgs/junior-lifeguard-bg.png");
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-youth-surfing {
    background-image: url("../img/home-icons-bgs/youth-surfing-bg.png");
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-youth-kayaking {
    background-image: url('../img/home-icons-bgs/youth-kayaking-bg.png');
    background-size: cover;
    background-position: center;
    height: 417px;
}

.tile-camp-splash {
    background-image: url('../img/home-icons-bgs/camp-splash-bg.png');
    background-size: cover;
    background-position: center;
    height: 417px;
}

/* General Tile Styling */
.tile {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: transform 0.3s ease;
    border-radius: 36px;
}

.tile:hover {
    transform: scale(1.05);
}

.tile-content {
    color: white;
    font-family: Arial, sans-serif;
    font-weight: bold;
    /* text-transform: uppercase; */
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
    z-index: 2;
}

.tile-text {
    font-size: 3rem;
    margin-bottom: 10px;
    line-height: 1.4;
}

.tile-arrow {
    position: absolute;

    bottom: 20px;
    right: 10px;
    width: 50px;
}

/* Instagram Handle */
.instagram-handle {
    /* font-size: 1.8rem; */
    text-align: center;
    font-weight: normal;
    font-family: 'Questa Sans';
    letter-spacing: 1px;
}

.instagram-handle i {
    margin-right: 8px;
}

.tile-large-instagram .instagram-handle {
    /* position: absolute; */
    /* bottom: 20px; */
    font-size: 1.6rem;
    padding-top: 700px;
    font-family: 'Questa Sans';
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.tile-large-youth-programs .instagram-handle {
    /* position: absolute; */
    /* bottom: 20px; */
    font-size: 1.6rem;
    padding-top: 700px;
    font-family: 'Questa Sans';
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

.insta-dive-video:hover {
    background-image: url("../img/WebsiteReelVideo.webp");
    margin: 0;

}

.tile-overlay-text {
    color: white !important;
    font-size: 2.5rem;
    text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
}

/* Description Section
--------------------------------*/
#description,
#plist {
    background: url("../img/navy.png") center top no-repeat fixed;
    background-size: cover;
    padding: 60px 0 40px 0;
    position: relative;
    color: #ffffff;
}

#description::before {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    z-index: 9;
}

#description .container {
    position: relative;
    z-index: 10;
}

#description p {
    margin: auto;
    font-size: 24px;
    line-height: 1.5;
    width: 65%;
    margin-bottom: 40px;
}

#description h2 {
    text-align: center;
    font-family: "FabrigaBlack";
    font-size: 56px;
    letter-spacing: -2px;
    margin-top: 40px;
}

@media (max-width: 996px) {
    #description p {
        font-size: 18px;
        width: 75%;
    }

    #description h2 {
        font-size: 36px;
    }
}

@media (max-width: 600px) {
    #description p {
        text-align: center;
    }
}


/* Responsiveness */
@media (max-width: 768px) {

    .tile-large-instagram,
    .tile-large-youth-programs {
        height: 417px;
        /* Same height as the smaller tiles */
    }

    .tile-large-instagram .instagram-handle {
        font-size: 2rem;
        text-align: center;
        font-family: 'Questa Sans';
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        letter-spacing: 1px;
        padding-top: 0;
        /* Reset the padding */
        /* display: flex;
    flex-direction: column;
    justify-content: center; */
        align-items: center;
        height: 100%;
        /* Center the content vertically */
    }

    .tile-large-instagram .instagram-handle span {
        /* display: flex;
    align-items: center;
    justify-content: center; */
        gap: 8px;
        /* Add some space between the icon and text */
    }

    .tile-large-youth-programs .instagram-handle {
        font-size: 2rem;
        text-align: center;
        font-family: 'Questa Sans';
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        letter-spacing: 1px;
        padding-top: 0;
        /* Reset the padding */
        /* display: flex;
    flex-direction: column;
    justify-content: center; */
        align-items: center;
        height: 100%;
        /* Center the content vertically */
    }

    .tile-large-youth-programs .instagram-handle span {
        gap: 8px;
    }



}

@media (max-width: 768px) {
    .tiles-section {
        margin-top: 0.5rem !important;
        /* Adjust as needed */
        margin-bottom: 0.5rem !important;
        /* Adjust as needed */
    }
}




/* Aquatic Blue bg section 1 */

/* Section Background */
#aquatics-info {
    background: url("../img/blue-bg-section.png") no-repeat center;
    background-size: cover;
    padding: 2rem 0;
}

/* Content Wrapper */
#aquatics-info .content-wrapper {
    padding-left: 2rem;
}

#aquatics-info h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: #1db7f0;
}

#aquatics-info p {
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

/* Images */
#aquatics-info .image-wrapper {
    text-align: center;
}

#aquatics-info .placeholder-image {
    max-width: 100%;
    height: auto;
    margin-bottom: 1rem;
}

/* Footer Contact Info */
#aquatics-info .text-center p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    #aquatics-info .content-wrapper {
        padding-left: 0;
    }

    #aquatics-info h2 {
        text-align: center;
        padding-top: 25px;
    }

    #aquatics-info p {
        font-size: 0.9rem;
    }

    #aquatics-info .placeholder-image {
        width: 100%;
    }
}

@media (max-width: 1596px) {
    .footer-skyline {
        top: 0 !important;
    }
}

/* Sun Icon Styling */
.sun-icon {
    position: absolute;
    top: -50px;
    left: -15px;
    width: 190px;
    z-index: 10;
}

.footer-blue-text {
    color: #0c6db1;
}

/* Blue skyline styling */
.footer-skyline {
    position: relative;
    top: -120px;
    z-index: 1;
    text-align: right;
}

.footer-skyline img {
    max-width: 100%;
    height: auto;
}

/* Aquatics blue section stats */

/* White Box Styling */
#participants-stats .container {
    max-width: 1210px;
    background: #ffffff;
    padding: 2rem;
}

/* Heading Text */
#participants-stats p {
    font-size: 1.8rem !important;
    font-weight: bold;
    color: #333333;
    margin-bottom: 1.5rem;
}

/* Stats Numbers */
#participants-stats .stats p {
    margin-bottom: 1rem;
    line-height: 1.9;
}

#participants-stats .stats .fs-1 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #007bbf;
}

#participants-stats .stats .text-dark {
    font-size: 2.5rem;
    font-weight: bolder;
    color: #333333;
}

/* Register Link */
#participants-stats a {
    color: #1db7f0;
    text-decoration: none;
}

#participants-stats a:hover {
    text-decoration: underline;
}

.stats-number {
    color: #1db7f0;
    font-size: 2.5rem !important;
    font-weight: bolder !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    #participants-stats .stats .fs-1 {
        font-size: 2rem;
    }

    #participants-stats .stats .text-dark {
        font-size: 1rem;
    }

    .stats-number {
        color: #1db7f0;
        font-size: 2rem !important;
        font-weight: bolder !important;
    }

    #participants-stats p {
        font-size: 1.5rem !important;
    }
}

/* Join the fun section */

/* Container styles */
.join-fun-container {
    max-width: 1295px;
    background: linear-gradient(to bottom, #096bb0, #46e0dd);
    border-radius: 8px;
    position: relative;
}

/* Image styles */
.join-fun-image {
    width: 100%;
    height: auto;
    border-radius: 8px;
}

/* Title styles */
.join-fun-title {
    line-height: 1.2;
    margin-top: 0;
    /* Ensures the title is flush with the top */
}

/* Button styles */
.join-fun-button {
    position: absolute;
    bottom: 20px;
    right: 20px;
    padding: 10px 20px;
}

.join-fun-button-left {
    position: absolute;
    bottom: 20px;
    left: 20px;
    padding: 10px 20px;
}

.join-fun-button:hover,
.join-fun-button-left:hover {
    opacity: 0.7;
}

.join-fun-text {
    font-size: 1.7rem;
}

@media (max-width: 768px) {
    .join-fun-button {
        position: inherit;
        padding-top: 40px;
        padding-bottom: 20px;
        /* padding-left: 0 !important;
        margin-left: 0 !important; */
        width: 65%;
        /* margin-bottom: 10px; */

    }

    .join-fun-button-left {
        position: inherit;
        padding-top: 40px;
        /* padding-left: 0; */
        width: 65%;
        margin-bottom: 20px;
    }
}

/* Footer Video Section */

/* Section container */
#video-section {
    background: url("../img/footer-video-bg.png") no-repeat center center;
    background-size: cover;
    /* Ensures the image covers the section properly */
    /* padding: 50px 0;  */
    /* Adjust padding for top and bottom spacing */
}

/* Video container */
.video-container {
    max-width: 1295px;
    margin: 0 auto;
    /* Center the container */
    position: relative;
    border-radius: 8px;
    /* Smooth corners for the container */
    overflow: hidden;
}

/* Video element */
.video-element {
    border-radius: 8px;
    max-height: 100%;
    max-width: 100%;
    object-fit: cover;
    /* Ensures the video fills its space without distortion */
}

/* Partners Section
--------------------------------*/
/* Partners Section */
#partners {
    padding: 28px 0;
    background-color: #cfedf8;
    text-align: center;
}

@media (max-width: 768px) {
    #partners {
        padding: 28px 28px;
    }
}

/* #partners .container {
  display: flex; 
  flex-wrap: wrap; 
  justify-content: center; 
  align-items: center; 
  gap: 2%; 
  padding: 1%;
} */

/* #partners img {
  width: 11%;
  margin: 0 30px; 
}

#partners #kaiser-img {
  width: 16.5%;
}

#partners #swimla-img {
  width: 12%;
}

#partners #foundation-img {
  width: 16.5%;
}

@media (max-width: 768px) {
  #partners img {
    width: 15%;
  }

  #partners #kaiser-img {
    width: 20%;
  }

  #partners #foundation-img {
    width: 21%;
  }

  #partners #swimla-img {
    display: none;
  }
} */

/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
#footer {
    background: #066eb7;
    padding: 0;
    color: #eee;
    font-family: "Fabriga", sans-serif;
    font-size: 17px;
}

#footer ul {
    list-style: none;
    padding: 0;
    margin-bottom: 0;
}

#footer h3 {
    margin-bottom: 10px;
    color: #fff;

    font-family: "FabrigaBlack", sans-serif;
    font-weight: normal;
    /* margin: 0 0 20px 0; */
    padding: 0;

}

#footer #bottom-info {
    float: right;
    margin: 31px 71px 40px 0;
    font-size: 2.1em;
    line-height: 1.1;
    text-align: right;
}

#footer #bottom-contact {
    padding: 115px 0 60px 70px;
    line-height: 1.6;
}

.bold {
    font-family: "FabrigaBlack", sans-serif;
}

.bold a {
    color: #fff;
    transition: 0.5s;
    text-decoration: none;
}

.social-links i {
    color: #fff;
}

.social-links i:hover,
i:active,
i:focus {
    color: #00b9f2;
}

.bold a:hover,
a:active,
a:focus {
    color: #00b9f2;
    outline: none;
    text-decoration: none;
}

.social-links {
    margin-top: 45px;
}

.social-links a {
    margin-left: 36px;
}

#bottom-contact a {
    color: #fff;
}

@media (max-width: 800px) {
    #footer {
        font-size: 13px;
    }

    #footer #bottom-info {
        margin: 20px 20px 0px 20px;
    }

    #footer #bottom-contact {
        padding: 40px 20px;
    }

    .social-links {
        margin-top: 10px;
    }

    .social-links a {
        margin-left: 15px;
    }
}

@media (max-width: 525px) {
    #footer {
        font-size: 12px;
        text-align: center;
    }

    #footer #bottom-info {
        text-align: center;
        float: none;
    }

    #footer #bottom-info ul {
        display: none;
    }

    #footer #bottom-contact {
        padding: 15px;
    }

    #footer #bottom-info {
        margin: 0;
    }

    .social-links {
        padding: 20px 10px 0 10px;
        margin: 0;
    }

    .social-links a {
        margin: 10px;
    }
}


/* Custom Modal Styling */
.modal-dialog {
    max-width: 1100px; /* Adjust modal width */
}

.modal-content {
    border-radius: 0; /* Remove border radius */
    border: none;
    overflow: hidden; /* Ensures the image and content are flush */
}

.modal-content .row {
    height: 100%; /* Full modal height */
}

.modal-content img {
    object-fit: cover; /* Ensure the image fills its container */
}

.modal-content h2, 
.modal-content h3 {
    font-family: 'Arial', sans-serif; /* Match font style */
    font-size: 1.8rem;
    color: #096bb0 !important; /* Primary blue color */
}



.modal-content p {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #096bb0 !important; /* Dark gray text */
}

.modal-content u {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #096bb0 !important; /* Dark gray text */
}

.modal-content li {
    font-family: 'Arial', sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    color: #096bb0 !important; /* Dark gray text */
}

.modal-content strong {
    color: #096bb0; /* Blue strong text */
}

/* Custom Close Button Styling */
.custom-close {
    position: absolute;
    top: 5px;
    right: 5px;
    z-index: 10; /* Ensures it's on top */
    background-color: #ffffff; /* White background for visibility */
    border: none;
    font-size: 1.2rem;
    opacity: 0.4; /* Slight transparency */
    transition: opacity 0.3s ease;
}

.custom-close:hover {
    opacity: 0.1; /* Full opacity on hover */
    color: #000; /* Darker X color */
}



/* Swimming Lessons Page */
.swim-banner-text {
    font-size: 4rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}



/* Media queries for responsiveness  */

@media (max-width: 768px) {

    /* Styles for mobile screens (tablets and smaller) */
    .carousel-caption h1 {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    #logo {
        margin-left: 20px;
    }
}

@media (max-width: 768px) {
    .tab-content label {
        font-size: 22px;
    }
}

@media (max-width: 768px) {
    .section-header h3 {
        font-size: 42px;
    }
}

@media (max-width: 768px) {
    #plist {
        padding: 40px 0 20px 0;
    }

    #plist-formfilter input.form-control,
    #plist-formfilter select.form-control {
        font-size: 16px;
        padding: 8px 10px;
    }

    #plist-formfilter .btn {
        font-size: 20px;
    }

    #plist-location h3 {
        font-size: 24px;
    }
}

@media (max-width: 768px) {
    .tiles-section .tile img {
        height: auto;
    }
}

/* Responsive behavior for tiles */

/* Responsive behavior for mobile */
@media (max-width: 768px) {

    /* Make each tile occupy its own row */
    .tiles-section .col-lg-4,
    .tiles-section .col-lg-8 .col-md-6 {
        flex: 0 0 100%;
        /* Take up the full width */
        max-width: 100%;
    }

    .tile-large img,
    .tile img {
        aspect-ratio: 1 / 1;
        /* Ensure all tiles are square */
    }
}

/* Remove padding-bottom for "JOIN THE FUN" on mobile */
@media (max-width: 768px) {
    .join-fun-section.pb-5 {
        padding-bottom: 0 !important;
    }

    .join-fun-container {
        border-radius: 0;
    }

    .join-fun-image {
        border-radius: 0 !important;
    }

}

/* Existing CSS remains unchanged */

/* Apply mobile styles for resolutions below iPad Pro (1024px) */
@media (max-width: 1023px) {

    /* Styles from max-width: 768px applied here */

    #logo {
        margin-left: 20px;
    }

    .tab-content label {
        font-size: 22px;
    }

    .section-header h3 {
        font-size: 42px;
    }

    #plist {
        padding: 40px 0 20px 0;
    }

    #plist-formfilter input.form-control,
    #plist-formfilter select.form-control {
        font-size: 16px;
        padding: 8px 10px;
    }

    #plist-formfilter .btn {
        font-size: 20px;
    }

    #plist-location h3 {
        font-size: 24px;
    }

    .tiles-section .tile img {
        height: auto;
    }

    /* Responsive behavior for tiles */

    .tiles-section .col-lg-4,
    .tiles-section .col-lg-8 .col-md-6 {
        flex: 0 0 100%;
        /* Take up the full width */
        max-width: 100%;
    }

    .tile-large img,
    .tile img {
        aspect-ratio: 1 / 1;
        /* Ensure all tiles are square */
    }

    /* Remove padding-bottom for "JOIN THE FUN" */
    .join-fun-section.pb-5 {
        padding-bottom: 0 !important;
    }

    .join-fun-container {
        border-radius: 0;
    }

    .join-fun-image {
        border-radius: 0 !important;
    }

    .tile-large-instagram,
    .tile-large-youth-programs {
        height: 417px;
        /* Same height as the smaller tiles */
    }

    .tile-large-instagram .instagram-handle {
        font-size: 2rem;
        text-align: center;
        font-family: 'Questa Sans';
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        letter-spacing: 1px;
        padding-top: 0;
        align-items: center;
        height: 100%;
        /* Center the content vertically */
    }

    .tile-large-instagram .instagram-handle span {
        gap: 8px;
        /* Add some space between the icon and text */
    }

    .tile-large-youth-programs .instagram-handle {
        font-size: 2rem;
        text-align: center;
        font-family: 'Questa Sans';
        text-shadow: 2px 2px 8px rgba(0, 0, 0, 0.6);
        letter-spacing: 1px;
        padding-top: 0;
        align-items: center;
        height: 100%;
    }

    .tile-large-youth-programs .instagram-handle span {
        gap: 8px;
    }

    .tiles-section {
        margin-top: 0.5rem !important;
        margin-bottom: 0.5rem !important;
    }

    #aquatics-info .content-wrapper {
        padding-left: 0;
    }

    #aquatics-info h2 {
        text-align: center;
        padding-top: 25px;
    }

    #aquatics-info p {
        font-size: 0.9rem;
    }

    #aquatics-info .placeholder-image {
        width: 100%;
    }

    .carousel-caption h1 {
        font-size: 3rem;
    }
}


@media only screen and (min-width: 820px) and (max-width: 820px) and (min-height: 1180px) and (max-height: 1180px) and (orientation: portrait) {
    /* Styles for iPad Air in portrait mode */
    .join-fun-button  {
        position: inherit;
        padding: 20px 0;
        width: 65%;
    }

    .join-fun-button-left { 
        position: inherit;
        padding: 20px 0;
        width: 65%;
    }
}


@media (min-width: 768px) and (max-width: 1023px) {
    /* Target the container to stack elements vertically */
    .d-flex.justify-content-md-end.flex-column.flex-md-row.align-items-center {
        flex-direction: column !important; /* Force stacking vertically */
        align-items: flex-end !important; /* Align items to the left */
        gap: 10px; /* Add spacing between rows */
    }

    /* Ensure the language selector takes full width */
    #language-selector,
    #google_translate_element {
        display: block !important; /* Force it to act as a block */
        width: 100% !important; /* Full width */
        margin-bottom: 10px !important; /* Add spacing */
    }

    /* Style the search bar */
    #search-bar {
        display: block !important;
        /* width: 100% !important; */
        margin-bottom: 10px !important; /* Add spacing below */
    }

    /* Style the search button */
    #search-button {
        display: block !important;
        /* width: 100% !important;  */
        height: 40px;
    }
}

@media (min-width: 768px) and (max-width: 991px) {
    #aquatic-footer .col-md-4 { 
        width: auto !important;
    }

}

@media only screen 
  and (min-device-width: 1024px) 
  and (max-device-width: 1366px) 
  and (-webkit-min-device-pixel-ratio: 2) 
  and (orientation: portrait) {
    /* Your styles here */
    .join-fun-button-left {
        position: inherit ;
        padding-left: 0;
        padding-bottom: 20px;
    }
}

/* Swimming Lessons Page */
.swimming-bg {
    background: url("../img/swim-lessons-bg.png");
    background-size: contain;
}

.swim-btn {
    background-color: #096bb0;
    border: none;
    border-radius: 30px !important;
    font-weight: bold;
    text-transform: none !important;
    padding: 0;
    font-size: 1.8rem;
    color: white;
}

.swim-btn:hover {
    background-color: #053557;
    color: white;

}

.play-la-swim-level {
    font-size: 2rem !important;
    text-decoration: underline !important;
    color:  black !important;
}

@media (max-width: 768px) {
    .swim-banner-text {
        font-size: 1.4rem;
    }
    .play-la-logo {
        width: 70%;
    }

    .swim-btn {
        font-size: 1.2rem;
    }

}

/* Team Sports Page */
.team-sports-bg {
    background: url("../img/team-sports-bg.png");
    background-size: contain;
}

.blue-text {
    color: #096bb0 !important;
}

@media (max-width: 768px) {
    .team-text {
        text-align: center !important;
    }

}

@media (max-width: 820px) {
    .team-text {
        text-align: center !important;
    }

}

/* Become a lifeguard page */
.pattern-container {

    background-image: url("../img/blue-line-pattern.png");
    background-repeat: repeat-x; /* Repeats only horizontally */
    background-size: auto 100%; /* Ensures height fits and width auto scales */
    /* width: 100%; */
    height: 70px;
  }

  /* Rec and lap swim page */

  .blue-section-box {
    background-color: #b9e8f6;
    border-radius: 40px;
  }


  /* Water safety */


  .brown-section-box {
    background-color: #e1ded9;
  }

  .brown-section-box a {
    color: #000;
  }

  .brown-section-box a:hover {
    color: #096bb0;
  }


.blue-pool-rule-box {
    background-color: #c2ecfe;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    height: 100%; 
    padding: 15px;
    border-radius: 20px; 
    font-weight: bold;
} 


/* Calendar */


.calendar-container {
    margin: 20px auto;
    max-width: 800px;
    background-color: #2f5fa3;
}
.calendar-header {
    text-align: center;
    font-size: 2rem;
    font-weight: bold;
    margin-bottom: 10px;
}
.calendar-header {
    color: yellow;
}
.calendar-table {
    width: 100%;
    border-collapse: collapse;
}
.calendar-table th, .calendar-table td {
    border: 3px solid white;
    text-align: center;
    vertical-align: top;
    width: 14.28%;
    height: 80px;
    color: white;
}
.calendar-table th {
    background-color: yellow;
    color: black;
}
.event-day {
    background-color: #69bfe4;
    font-weight: bold;
    position: relative;
}
.tooltip-event {
    position: absolute;
    background-color: white;
    color: black;
    padding: 10px;
    border-radius: 5px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: none;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .calendar-table th, .calendar-table td {
    height: 60px;
    font-size: 0.8rem;
    }
    .calendar-header {
    font-size: 1.5rem;
    }
    .tooltip-event {
    font-size: 0.8rem;
    }
}

/* frequently asked questions */

.faq-text {
    color: #2e6cb0;
}


/* citywide aquatics */

.legend-box {
    width: 20px;
    height: 20px;
    display: inline-block;
    margin-right: 10px;
  }
  .legend-title {
    background-color: #E26F4B;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
  }
  .legend-divider {
    border-left: 1px solid black;
    height: 40px;
    margin: 0 15px;
  }
  .facility-list p {
      margin: 0;
  }
  .facility-list .facility-name {
      font-weight: bold;
  }
  .facility-list .facility-contact {
      font-size: 0.9em;
  }
  .facility-list .facility-address {
      font-size: 0.9em;
  }
  .black-text { 
      color: black; 
  }
  .blue-text { 
      color: #1f77b4; 
  }
  .red-text { 
      color: #d62728; 
  }
  .green-text { 
      color: #2ca02c; 
  }
  .orange-text {
    color: #E59866;
  }

  .modal-body p {
    color:  rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;

  }

  .swim-links {
    color:  rgba(var(--bs-primary-rgb), var(--bs-text-opacity)) !important;  
  }


  /* Youth programs */

  @media (max-width: 768px) {
    .list-no-style {
      list-style-type: none;
      padding-left: 0;
    }
  }

  @media (max-width: 820px) {
    .list-no-style {
      list-style-type: none;
      padding-left: 0;
    }
  }

  /* .row .col-lg-4 img {
    max-width: 80%;
  } */


  #swim-vid:hover {
    background-image: url("../img/swim.webp");
  
  }

  /* Citywide Aquatics  */
.facility a {
    color: inherit;
    
}

.legend-item:hover {
    text-decoration: underline;
    cursor: pointer;
}

.facility-name:hover {
    color: inherit;
    text-decoration: underline !important;
    
}

#calendar {
    padding: 60px 0 40px 0;
    background: #006eb7;
    border-bottom: solid 2px #00b8f5;
    
    font-size: 18px;
}

#calendar h1 {
    text-align: center;
    font-family: "FabrigaBlack";
    color: #fff;
    font-size: 56px;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

