.card {
    border-radius: 15px;
}

.card-header {
    background-color: #4CAF50; /* Change the color as per your preference */
    color: white;
    border-top-left-radius: 15px;
    border-top-right-radius: 15px;
}

.btn-primary {
    background-color: #4CAF50; /* To match with card-header */
}

.loading-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Semi-transparent black */
    z-index: 9999; /* Ensure the overlay is above other content */
}

.loading-icon {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000; /* Ensure the loading icon is above the overlay */
}

#loadingIcon {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    border: 5px solid #f3f3f3; /* Light grey */
    border-top: 5px solid #3498db; /* Blue */
    border-radius: 50%;
    animation: spin 1s linear infinite;
    z-index: 10000; /* Ensure the loading icon is above the overlay */
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
.center-card-title {
    text-align: center;
    margin-bottom: 0; /* Remove default margin */
}


.system-readmore {
    margin-top: 30px !important;
    margin-bottom: 30px !important;
    border: 0 !important;
    border-top: 1px solid #eeeeee !important;
}

.embed-school-rankings{
    background-color:#181B1E;
}
.embed-school-rankings .table td, 
.embed-school-rankings .table th {
    vertical-align: middle;
    text-align: center;
    font-size: 16px;
    font-family: "Source Sans Pro", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
        "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
    color: #2c3e50; /* soft dark */
    
}
.embed-school-rankings .tbody-tr {
    background-color: #f8f9fa;
}
.embed-school-rankings td {
    background-color: #fff !important;
}
.embed-school-rankings th,
.embed-school-rankings td {
    border-left: none !important;
    border-right: none !important;
    border-top: 1px solid #ddd !important;
    border-bottom: 1px solid #ddd !important;
}
form{
    margin-bottom: 0 !important;
}



.collapsible {
    background-color: #f5f5f5;
    color: #333;
    cursor: pointer;
    padding: 10px;
    width: 100%;
    border: none;
    text-align: left;
    outline: none;
    transition: background-color 0.3s;
}

.collapsible:hover {
    background-color: #ddd;
}

.content {
    padding: 0 18px;
    display: none;
    overflow: hidden;
    background-color: #f9f9f9;
}

.container-collapsible {
    margin: 20px;
}

.panel {
    margin-bottom: 10px;
}
.school-player-name {
    border: 1px solid #ffffff;

}


.checkbox-container {
    display: block;
    position: relative;
    padding-left: 25px;
    margin-bottom: 6px; /* Reduce the spacing */
    cursor: pointer;
    font-size: 16px;
    user-select: none;
}

.checkbox-container input {
    position: absolute;
    opacity: 0;
    cursor: pointer;
    height: 0;
    width: 0;
}

.checkmark {
    position: absolute;
    top: 0;
    left: 0;
    height: 18px;
    width: 18px;
    background-color: #eee;
}

.checkbox-container input:checked ~ .checkmark {
    background-color: #2196F3;
}

.checkmark:after {
    content: "";
    position: absolute;
    display: none;
}

.checkbox-container input:checked ~ .checkmark:after {
    display: block;
}

.checkbox-container .checkmark:after {
    left: 7px;
    top: 3px;
    width: 5px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    -webkit-transform: rotate(45deg);
    -ms-transform: rotate(45deg);
    transform: rotate(45deg);
}

.player-name {
    font-weight: normal; 
}
.players-name {
    margin-top: 10px;
}

.rounded-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
}

@media (max-width: 576px) { /* Adjust as needed for mobile devices */
    .rounded-image {
        width: 200px; /* Adjust width for smaller screens */
        height: 200px; /* Adjust height for smaller screens */
    }
}
.overlay-text {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 70%;
    max-width: 300px; /* Optional: set a maximum width */
    background-color: rgba(0, 0, 0, 1);
    color: white;
    padding: 5px;
    text-align: center;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
    color: #27F308;
}

.carousel-control-prev {
    left: -90px; /* Adjust the value as needed to move the previous arrow more to the left */
}

.carousel-control-next {
    right: -90px; /* Adjust the value as needed to move the next arrow more to the right */
}

.card-players-list {
    height: 100%;
}
.card-body-players-list {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
}






.player-img {
    max-width: 100%;
    height: auto;
  }
  .carousel-item {
    text-align: center;
  }
  .carousel-item img {
    display: block;
    margin: 0 auto;
  }
  .carousel-inner {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
  }
  .carousel-item {
    width: 100%;
  }
  .carousel-control-previous, .carousel-control-nexts {
    width: 5%;
  }

  













  /* Styles for the search input */
.search-container {
    margin-bottom: 20px;
    position: relative;
}

.search-input {
    width: 300px;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 16px;
}

.search-button {
    position: absolute;
    top: 0;
    right: 0;
    padding: 10px 15px;
    background-color: #007bff;
    color: white;
    border: none;
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
    cursor: pointer;
    font-size: 16px;
}

/* Hover effect for the search button */
.search-button:hover {
    background-color: #0056b3;
}




/*championship UI Modal*/
@media only screen and (min-width: 1024px) {
    .atp_player-profile-header {
        background-repeat: no-repeat;
        background-position: 12%;
    }
}
.atp_player-profile-header  {
    border-radius: 0rem;
    padding-top: 1.5rem;
    padding-bottom: 2.75rem;
    background: #051224 !important;
    background-size: cover;
    background-position: 10%;
    border-top: .063rem solid #232e3e;
    position: relative;
    overflow: hidden;
    z-index: 1;
}
.atp_info-ribbon {
    background: #121fff;
    width: 100%;
    height: 0;
    left: 0;
    -webkit-transition: all .3s ease;
    transition: all .3s ease;
    overflow: hidden;
}

@media only screen and (min-width: 1024px) {
    .atp_player-profile-header-wrapper {
        display: -webkit-box;
        display: -ms-flexbox;
        display: flex;
        -webkit-box-align: start;
        -ms-flex-align: start;
        align-items: flex-start;
        width: 100%;
        max-width: 1176px;
        margin: 0 auto;
    }
}
.atp_player-profile-header-wrapper .atp_player_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-orient: horizontal;
    -webkit-box-direction: normal;
    -ms-flex-direction: row;
    flex-direction: row;
    color: #fff;
    width: 100%;
    margin: 0 auto;
    padding: 0 1.5rem;
}
.atp_player-profile-header-wrapper .atp_player_content .player_profile {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    position: relative;
    z-index: 3;
    min-height: 16.25rem;
}
@media only screen and (min-width: 1024px) {
    .atp_player-profile-header-wrapper .atp_player_content .player_name {
        min-height: 4rem;
    }
}
.atp_player-profile-header-wrapper .atp_player_content .player_name {
    padding: 0;
    font-family: Arial, Helvetica, sans-serif;
    text-transform: uppercase;
    font-size: 1.5rem;
    line-height: 1.5rem;
    max-width: 60%;
    min-height: 3.625rem;
}

@media only screen and (min-width: 1024px) {
    .atp_player-stats {
        max-width: 70%;
        margin: .75rem 0 1.5rem;
    }
}
@media only screen and (min-width: 768px) {
    .atp_player-stats {
        max-width: 100%;
    }
}
.atp_player-stats .tab-switcher ul {
    margin: 0;
    padding: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -ms-flex-wrap: nowrap;
    flex-wrap: nowrap;
    overflow-x: auto;
}
.atp_player-stats .tab-switcher ul li:first-child {
    margin-left: 0;
}
.atp_player-stats .tab-switcher ul li {
    list-style: none;
    margin: 0;
    border-bottom: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-negative: 0;
    flex-shrink: 0;
}

/* .atp_player-stats .tab-switcher ul li:first-child .tab-switcher-link {
    border-top-right-radius: 0;
    border-right: 0;
} */
.atp_player-profile-header .atp_player-stats .tab-switcher-link.tab-switcher-link--active {
    color: #ffffff;
    background-color: #051224 !important;
}
.atp_player-stats .tab-switcher-link.tab-switcher-link--active {
    color: #ffffff;
    background-color: #051224 !important;
    background: 0 0;
}
@media only screen and (min-width: 768px) {
    .atp_player-stats .tab-switcher-link {
        font-size: 1rem;
        line-height: 1rem;
        min-width: 6rem;
        padding: .625rem 1rem;
    }
}
.atp_player-stats .tab-switcher-link {
    text-decoration: none;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 600;
    font-size: 1em;
    color: #051224;
    display: block;
    border: 1px solid #a9a9a9;
    border-bottom: 0;
    border-radius: .5rem;
    border-bottom-left-radius: 0;
    border-bottom-right-radius: 0;
    padding: .5rem;
    background: #ffffff;
    font-size: .813rem;
    line-height: .813rem;
    min-width: 4rem;
    text-align: center;
}
@media only screen and (min-width: 1024px) {
    .atp_player-stats .stats-content {
        background: 0 0;
    }
}
.atp_player-stats .stats-content {
    border: 1px solid #051224;
    border-radius: .5rem;
    overflow: hidden;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    border-top-left-radius: 0;
    background: #051224;
}

@media only screen and (min-width: 1366px) {
    .atp_player-profile-header-wrapper .atp_player_content .player_image {
        width: 18.75rem;
        right: calc(50% - 36.75rem);
    }
}
@media only screen and (min-width: 1024px) {
    .atp_player-profile-header-wrapper .atp_player_content .player_image {
        width: 18.75rem;
        right: calc(50% - 31.25rem);
    }
}
@media only screen and (min-width: 768px) {
    .atp_player-profile-header-wrapper .atp_player_content .player_image {
        width: 40%;
        max-height: 100%;
    }
}   
.atp_player-profile-header-wrapper .atp_player_content .player_image {
    position: absolute;
    z-index: 2;
    right: 0;
    top: 0;
    max-height: 72%;
    width: 50%;
    overflow: hidden;
}
.atp_player-profile-header-wrapper .atp_player_content .player_image img {
    max-width: 100%;
    max-height: 100%;
    display: block;
}
@media only screen and (min-width: 992px) {
    .atp_player-profile-header::after {
        content: '';
        display: block;
        width: 39rem;
        height: 42rem;
        background: transparent url(/images/bg-featured-video-blur-green.png) no-repeat center;
        background-size: cover;
        position: fixed;
        bottom: 36rem; 
        right: 53rem; 
        z-index: 1;
    }
}
@media only screen and (max-width: 500px) {
    .player-img {

        background: transparent url(/images/bg-featured-video-blur-green.png) no-repeat center;
        background-size: cover;
        position: fixed;
        padding-right:12rem;
        width: 21rem;
        height:30rem;
    }
}
@media only screen and (min-width: 501px) and (max-width: 1020px) {
    .player-img {
        background: transparent url(/images/bg-featured-video-blur-green.png) no-repeat center;
        background-size: cover;
        /* position: fixed; */
        padding-right: 12rem;
        width: 21rem;
        height: 30rem;
        
    }
}





