/* Sample CSS - Adjust according to your design */

/* Main Sections */
html, body {
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
}

body {
    margin: 0 auto;
    font-family: sans-serif;
    overflow-y: auto; /* Allow vertical scrolling if needed */
}

h1
{
    color: #333;
    font-size: 250%;
}

h1:has(small)
{
    margin: 10px;
}

h1 small
{
    font-size: 50%;
    margin: 5px;
}

a {
	text-decoration: none;
    color: #1478ab;
}

a:hover {
    color: #54a8eb;
}

label
{
    font-weight: bold;
    font-size: 100%;
}

.deleteButton
{
    background-color: #d11;
}

/* Set the placeholder color to gray */
select option[value=""], select option:not([value]) {
    color: #999999; /* Placeholder color */
}

/* Style for when the select is invalid */
select:invalid {
    color: #999999; /* Apply gray text color when invalid */
}

/* Ensure selected valid options have default color */
select option {
    color: #000000; /* Default text color for valid options */
}


button[type="submit"]
{
    background-color: #007bff;
}

button
{
    background-color: #999999;
    color: #fff;
}

textarea
{
    resize: none;
    font-family: sans-serif;
}

nav
{
    margin: 0 10px;
}

button:hover,
.fundraiser-list:has(> a):hover,
a.login-card:hover,
#iconImage:hover,
#bannerImage:hover,
.contribution-card:has(> a):hover,
.donation-option:hover
{
    filter: brightness(85%);
    cursor: pointer;
}

.fundraiser-list-container, .steps {
	display: grid;
	grid-template-columns: repeat(3, 32%);
	padding: 10px;
	gap: 20px;
}

.fundraiser-list {
    flex: 1;
}

.content
{
    margin: 0 10px;
}

.fundraiser-card, .step {
    background-color: #f9f9f9;
    border: 1px solid #ccc; /* Add borders or styles as needed */
    padding: 20px;
    box-sizing: border-box;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.fundraiser-card, .fundraiser-list
{
    min-height: 350px;
}

.fundraiser-card h3 {
    font-size: 150%;
    margin-top: 10px;
    margin-bottom: 10px;
}

.fundraiser-card p {
    margin: 2px 0 5px 0;
    overflow: hidden;
   text-overflow: ellipsis;
   display: -webkit-box;
   -webkit-line-clamp: 5; /* number of lines to show */
   -webkit-box-orient: vertical;
    font-size: 100%;
}

.fundraiser-card a:not(.no-button),
.permissionLinks a:not(.no-button) {
    display: inline-block;
    padding: 5px 10px;
    background-color: #3498db;
    color: #fff;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    margin-top: 5px;
}

.fundraiser-card a:hover:not(.no-button),
.permissionLinks a:hover:not(.no-button) {
    background-color: #2980b9;
}


.fundraiser-card > .image-container
{
    margin: auto;
    overflow: hidden;
    border-radius: 1rem;
}

.fundraiser-card > .image-container > img
{
    width: 100%;
    flex: 0 0 auto;
    object-fit: contain;
    height:200px;
}

.permissionNoCard
{
    margin-bottom: 25px;
}

/* Testimonials */
.testimonial {
    background-color: #f9f9f9;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
}

.testimonial blockquote {
    font-size: 100%;
    margin-bottom: 15px;
}

.testimonial cite {
    font-style: italic;
    color: #777;
}

/* Call to Action */
#join-us {
    text-align: center;
    background-color: #3498db;
    color: #fff;
    padding: 40px;
    border-radius: 8px;
}

#join-us p {
    margin-bottom: 20px;
}

#join-us a {
    display: inline-block;
    padding: 12px 30px;
    background-color: #fff;
    color: #3498db;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease, color 0.3s ease;
}

#join-us a:hover {
    background-color: #2980b9;
    color: #fff;
}

/* Navigation Bar */
.navbar {
    background-color: #3498db;
    color: #fff;
    padding: 10px 15px;
    border-radius: .75em;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    max-width: 1200px;
    margin: 10px auto;
    width: calc( 100% - 60px )
}


.logo {
    font-size: 150%;
    font-weight: bold;
    text-decoration: none;
    color: #fff;
    flex:20;
}

.logo img
{
    width: 100%;
}

.nav-links,
.links-display
{
    display: flex;
    align-items: stretch;
    justify-content: space-around;
    flex-flow: row;
}

.links-display
{
    flex:40;
}

.links-display > *
{
    width: 100%;
}

.nav-links {
    list-style: none;
    gap: 20px;
    width:100%;
    font-size: 105%;
    align-items: center; /* Vertical */
    text-align: center;
}

.nav-links li {
    margin: 0;
}

.nav-links a {
    text-decoration: none;
    color: #fff;
    transition: color 0.3s ease;
}

.nav-links a:hover, .nav-links div.dropbtn:hover
{
    color: #f1c40f;
    cursor: pointer;
}

.hamburger {
    display: none;
    font-size: 50px;
    cursor: pointer;
}

.sidebar {
    position: fixed;
    top: 0;
    left: -250px;
    width: 250px;
    height: 100%;
    background-color: #1d2f39;
    overflow-x: hidden;
    transition: 0.5s;
    padding-top: 5px;
    z-index: 1000;
}

.sidebar a, .sidebar .dropbtn, .sidebar .hamburger {
    padding: 10px 15px;
    text-decoration: none;
    font-size: 20px;
    color: white;
    display: block;
    transition: 0.3s;
}

.sidebar a:hover {
    background-color: #575757;
}

/* Footer Styles */
.site-footer {
    padding: 40px 0;
}

.container {
    margin: 0 auto;
	display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2vw;
}

.body-container {
    min-height: calc(100vh - 275px);
}

.body-container,
.limit-width
{
    margin: 0 auto;
    max-width: 1200px;
    width: calc( 100% - 20px );
    padding: 10px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
	gap:50px;
    font-size: 120%;
}

.footer-logo {
    flex: 1; /* Added */
}

.footer-logo a {
    font-size: 160%;
    font-weight: bold;
    text-decoration: none;
}

.footer-links ul {
    list-style: none;
    padding: 0;
    display: flex;
    gap: 20px;
}

.footer-links li {
    margin: 0;
    font-weight: bold;
}

.footer-links a {
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #f1c40f;
}

.footer-info {
    text-align: center;
    margin-top: 20px;
}

.footer-info p {
    margin: 5px 0;
}

.progress {
    width: 80%;
    background-color: #f0f0f0;
    border-radius: 5px;
    overflow: hidden;
	margin: 0 auto;
}

.progress-bar {
    height: 20px;
    background-color: #3498db;
    transition: width 0.3s ease-in-out;
}

#create-fundraiser form label {
    margin: 5px;
}

#create-fundraiser form input[type="checkbox"] {
    margin-right: 5px;
}

#create-fundraiser form button, 
.edit-permissions form button
{
    padding: 10px 20px;
    border: none;
    border-radius: 3px;
    transition: background-color 0.3s ease;
}

.switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 34px;
}

.switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 26px;
  width: 26px;
  left: 4px;
  bottom: 4px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(26px);
  -ms-transform: translateX(26px);
  transform: translateX(26px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

/* contributions.css */

/* Style for the contributions table */
.contributions-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

/* Table header styles */
.contributions-table th {
    background-color: #f5f5f5;
    padding: 10px;
    text-align: left;
}

/* Table body styles */
.contributions-table td {
    border: 1px solid #ddd;
    padding: 10px;
}

/* Alternating row colors */
.contributions-table tbody tr:nth-child(even) {
    background-color: #f9f9f9;
}

/* Hover effect on rows */
.contributions-table tbody tr:hover {
    background-color: #e9e9e9;
    cursor: pointer;
}

.contributions-container {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
}

/* Style for each contribution card */
.contribution-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 5px;
    padding: 15px;
    width: calc(33.33% - 50px); /* Adjust the width based on the number of cards per row */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
}

/* Hover effect on contribution cards */
.contribution-card:hover {
    transform: translateY(-5px);
}

/* Contribution card content styles */
.contribution-card h3 {
    font-size: 105%;
    margin-bottom: 8px;
}

.contribution-card p {
    margin-bottom: 6px;
    color: #666666;
}

.donate-primary-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    color: #ffffff;
    background-color: #4caf50; /* Green color */
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
    margin: 10px;
}

/* Secondary donation button style */
.donate-secondary-btn {
    display: inline-block;
    padding: 12px 24px;
    text-decoration: none;
    color: #ffffff;
    background-color: #3498db; /* Blue color */
    border-radius: 5px;
    font-weight: bold;
    transition: background-color 0.3s ease-in-out;
    border: none;
}

/* Hover effect for primary donation button */
.donate-primary-btn:hover {
    background-color: #45a049; /* Darker green on hover */
}

/* Hover effect for secondary donation button */
.donate-secondary-btn:hover {
    background-color: #2980b9; /* Darker blue on hover */
}

/* Donation options container */
.donation-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between; /* Distribute items evenly */
     justify-content: center;
}

/* Donation option style */
.donation-option {
    align-items: center;
    margin: 10px; /* Adjust spacing between options */
    background-color: #ffffff;
    padding: 20px;
    width: fit-content; /* Adjust the width based on the number of cards per row */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
    cursor: pointer;
    background-color: #f0f0f0;
    border: 2px solid #ccc;
    border-radius: 8px;
}

.donation-option *
{
    margin:0;
    color: #444;
}

#custom-donation
{
    flex-basis: 100%;
    max-width:50%
}

.donation-option input[type="radio"]
{
    display: none;
}

.donation-option:hover
{
    background-color: #bbb;
}

.option-selected
{
    background-color: #bbb;
    border: 3px solid #3498db
}

.options-3  > div,
.options-6  > div
{
    flex: 1 0 30%;
    max-width: 50%;
}

.options-2 > div,
.options-4  > div
{
    flex: 1 0 22%;
    max-width: 50%;
}

.options-5 > div
{
    flex: 1 0 20%;
    max-width: 50%;
}

.options-1 > div
{
    flex: 1 0 40%;
    max-width: 40%;
}

/* Donation radio button style */
.donation-option input[type="radio"] {
    margin-right: 5px;
}

/* Donate button styles */
.donate-btn {
    display: block;
    width: 100%;
    padding: 10px;
    margin-top: 15px;
    text-align: center;
    font-weight: bold;
    color: #fff;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.donate-btn:hover {
    background-color: #0056b3;
}

#donationMessage {
    width: 90%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    resize: vertical; /* Allow vertical resizing */
    font-size: 100%;
    line-height: 1.5;
    margin: 10px auto 0 auto;
    display: block;
}

.photoAdd, .photoEdit
{
    display: inline-block;
    margin: 10px 5px;
    background-color: #eee;
    padding: 0px;
    border: 2px solid black;
    border-radius: 1rem;
}

.change-order-arrow
{
    color: #fff;
    cursor: pointer;
    font-weight: bold;
}

.photoEdit > div:first-child,
.photoAdd > div:first-child
{
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: auto;
    overflow: hidden;
    position: relative;
    padding: 10px;
}

.photoEdit > div > img,
.photoAdd > div > img,
.photoEdit > div > video,
.photoAdd > div > video
{
    width: 100%;
    max-height: 200px;
    object-fit: contain;
}

.line-1, .line-2
{
  position: absolute;
  display: block;
  height: 280px;
  width: 10px;
  background: red;
}

.line-1
{
  -webkit-transform: rotate(45deg); 
}

.line-2
{
  -webkit-transform: rotate(-45deg); 
}

.search-container {
    text-align: center;
    margin-top: 10px;
    position: relative;
   /*
    background: url("/assets/img/search.jpg");
    background-repeat: no-repeat;
    background-size: 100% 100%;
    */
    min-height: 400px;
    display: flex;
    justify-content: center;
}

.search-container div
{
    width: 100%;
}

#searchInput {
    width: calc( 100% - 20px ); /* Adjust the width as needed */
    padding: 15px;
    font-size: 160%;
    color: #444;
    border-radius: .5em;
}

#searchResults {
    width: calc( 75% - 10px ); /* Adjust the width as needed */
    border: 1px solid #ccc;
    background-color: #333;
    position: absolute;
    display: none;
    text-align: left;
    color: white;
}

.result-item {
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.result-item, .result-item-header{
    padding: 10px;
    cursor: pointer;
    border-bottom: 1px solid #ccc;
}

.result-item-header
{
    background-color: #444;
    font-size: 100%;
    #text-decoration: underline;
    #text-decoration-style: dotted;
    cursor: default;
}

#searchResults a
{
    color: #FFF;
}

#searchResults a:hover
{
    filter: brightness(130%);
}

#searchResults a:nth-child(even) .result-item
{
    background-color: #777;
}

#searchResults a:nth-child(odd) .result-item
{
    background-color: #777;
}

#searchResults a:last-child .result-item{
    border-bottom: none;
}

 .nav-links ul {
    list-style: none;
    padding: 0;
    justify-content: space-between;
    align-items: center;
    margin: 0;
}

.sidebar ul
{
    list-style: none;
}

.nav-links li
{
    padding: 0px;
}

.nav-links li a
{
    margin: 0px;
    display: block;
    width: calc( 100% - 50px );
    height: 100%;
    padding: 10px 25px;
    border-bottom: 1px solid white;
}

.nav-links li a:hover
{
    background-color: #1478bb;
}

.nav-links li:last-child a{
    border-bottom: none;
}

.dropdown-content {
    display: none;
    position: absolute;
    background-color: #3498db;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.4);
    z-index: 1;
    border-radius: 1em;
    border: 1px solid white;
    width: 250px;
    max-height: 300px;
    overflow-y: auto;
    transform: translateX(calc( 10vw - 250px ) );
    text-align: left;
}

.dropdown-content::-webkit-scrollbar
{
    width: 8px; /* width of the scrollbar */
}

/* Handle */
.dropdown-content::-webkit-scrollbar-thumb
{
    background: #f1f1f1; 
    border-radius: 10px; /* roundness of the scrollbar */
}


.dropdown.show-dropdown .dropdown-content {
    display: block;
}

.permissionInputs
{
    display: flex;
    overflow:hidden;
    width: 100%;
    align-items: stretch;
    justify-content: space-between;
    margin: 10px 0;
}

#newPermissions .permissionInputs input[type="email"],
#newPermissions .permissionInputs input[type="text"]
{
    font-size: 100%;
    padding: 0 5px;
}

#current-user-permissions > ul
{
    max-height: 200px;
    overflow-y: auto;
}

#currentTeam
{
    margin-bottom: 50px;
}

.permissionInputs > div
{
    display: flex;
    text-align: center;
}

#newPermissions > .permissionInputs > div:nth-child(2)
{
    width:100%;
}

#newEmails .permissionInputs > div
{
    display: grid;
    margin: 5px;
}

.permissionInputs > div > div
{
    display: grid;
    text-align: center;
    margin: 5px;
    flex: 1;
}

#newPermissions .permissionInputs > div:nth-child(1) > label
{
    display: none;
}

#newPermissions .permissionInputs div label,
{
    text-decoration: underline; 
    font-size: 100%; 
}

#currentEmails
{
    text-align: left;
}

#newEmails .deleteButton
{
    height: 50%;
    margin: auto 0 12px 0;
}

#newEmails .permissionInputs
{
    width: 90%;
}

#existingEmails
{
    border-left: 1px solid grey;
    padding: 10px 20px;
}

#existingEmails ul
{
    max-height: 250px;
    overflow-y: auto;
}

.login-card
{
    background-color: #fff;
    padding: 1rem;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 100%;
    max-width: 400px;
    text-align: center;
    margin: 20px auto;
}

.login-card h2
{
    margin-bottom: 1.5rem;
    color: #333;
    font-size: 100%;
}

.login-card .input-group {
    margin-bottom: 1rem;
    text-align: left;
}

.login-card .input-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.input-group input,
.input-group textarea,
.input-group select
{
    width: calc( 100% - 1.75rem );
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 100%;
}

.input-group select
{
    width: 100%;
    background-color: white;
}

#create-fundraiser .input-group
{
    padding:5px 10px;
}

#club-info .input-group select,
#create-fundraiser .input-group select
{
    font-size: 100%;
}

#club-info .input-group,
#club-contact .input-group
{
    margin: 10px 0;
}

.login-card button,
#club-info button[type=submit],
#club-contact button[type=submit]
{
    width: 100%;
    padding: 0.75rem;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 100%;
    transition: background-color 0.3s ease;
}

#email-copy
{
    padding: .75rem;
    background-color: #007bff;
    border: none;
    border-radius: 4px;
    color: #fff;
    font-size: 60%;
    transition: background-color 0.3s ease;
    margin-left: 5px;
}

#club-info button[type=submit]
{
    width: 90%;
    margin: 10px;
}

#club-delete-button
{
    background-color:#d11;
    margin-top:20%;
    width:30%;
    padding: 0.75rem;
    font-size: 100%;
    transition: background-color 0.3s ease;
    border: none;
    border-radius: 4px;
}

.login-card button:hover {
    background-color: #0056b3;
}

.alert-danger
{
    background-color:#f66;
}

.alert-success
{
    background-color:#6f6;
}

.alert
{
    font-size: 100%;
    border-radius: 1rem;
    padding: 10px;
    margin-top: 10px;
}

.alert ul
{
    margin:0;
}

#create-options
{
    display: flex;
    align-items: stretch;
    width:80%;
    max-width: 1000px;
    margin: 0 auto;
}

.option
{
    font-size: 100%;
}

.option li
{
    text-align: left;
}

.option h2
{
    text-decoration: underline;
    text-decoration-style: dotted;
}

#iconImage
{
    background-color: grey;
    width: 200px;
    height: 200px;
    margin: 10px;
    padding: 0;
    text-align: center;
    color: #ccc;
    line-height: 12;
}

#iconImage img
{
    width: 200px;
    height: 200px;
}

#bannerImage
{
    background-color: grey;
    width: 95%;
    height: 200px;
    margin: 10px;
    padding: 0;
    text-align: center;
    color: #ccc;
    line-height: 12;
}

#bannerImage img
{
    width: auto;
    height: 100%;
    max-height: 200px;
    margin: auto;
}

#club-info
{
    border-right: 1px solid black;
    margin: 5px 15px;
    padding:10px;
}

#club-contact
{
    margin: 5px 15px;
    padding:10px;
}

#current-user-permissions
{
    position: relative;
    min-height: 400px;
}

#addPermissionButton,
#addTeamButton
{
    font-size: 100%;
    padding: 7.5px 15px;
}

#add-new-permission
{
    border-left: 1px solid grey;
    padding: 0 10px;
}

.flex-20,
.flex-30,
.flex-40,
.flex-50,
.flex-60,
.flex-70,
.flex-80,
.flex-33
{
    display: flex;
}

.flex-60 > div:nth-child(1),
.flex-40 > div:nth-child(2)
{
    flex : 60;
}

.flex-60 > div:nth-child(2),
.flex-40 > div:nth-child(1)
{
    flex : 40;
}

.flex-70 > div:nth-child(1),
.flex-30 > div:nth-child(2)
{
    flex : 70;
}

.flex-70 > div:nth-child(2),
.flex-30 > div:nth-child(1)
{
    flex : 30;
}

.flex-80 > div:nth-child(1),
.flex-20 > div:nth-child(2)
{
    flex : 20;
}

.flex-80 > div:nth-child(2),
.flex-20 > div:nth-child(1)
{
    flex : 80;
}

.flex-33
{
    display: flex;
}

.flex-33 > div
{
    flex : 33;
    margin: 10px;
}

.flex-50 > div
{
    flex : 50;
}

.lightenLink
{
    text-decoration: underline;
}

.lightenLink:hover
{
    color: #777;
}

.imgFit
{
    height: 15vw;
    max-height: 250px;
}

.imgFit > img
{
    width: 100%;
    height: 100%;
    #object-fit: contain;
    object-fit: cover;
    border-radius: 1rem;
}

.carousel {
    position: relative;
    width: 80%;
    max-width: 800px;
    height: 400px;
    margin: auto;
    overflow: hidden;
    border-radius: .5rem;
}

.carousel-inner {
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.carousel-item {
    width: 100%;
    height: 400px;
    flex: 0 0 auto;
    object-fit: contain;
    position: relative;
}

.carousel-button {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    padding: 10px;
}

.carousel-button.prev {
    left: 10px;
}

.carousel-button.next {
    right: 10px;
}

.carousel-button:hover {
    background-color: rgba(0, 0, 0, 0.8);
}

.tooltip {
  position: relative;
  display: inline-block;
}

.tooltip .tooltiptext {
  visibility: hidden;
  max-width: 50vw;
  width: 200px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 5px;
  position: absolute;
  z-index: 1;
  bottom: 150%;
  left: 50%;
  margin-left: -75px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}

.tier-card {
    background-color: #ffffff;
    border: 1px solid #dddddd;
    border-radius: 3px;
    padding: 5px;
    width: calc(25% - 30px); /* Adjust the width based on the number of cards per row */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease-in-out;
    text-align: center;
}

.tier-group
{
    display: inline-flex;
    width: 18%
}

#donationCover
{
    width: 30px;
    height: 30px;
    margin: 5px;
}

.bigger-25
{
    font-size: 125%
}

.bigger-50
{
    font-size: 150%
}

.bigger-100
{
    font-size: 200%
}

.our-services
{
    font-size: 150%;
    background-color: #333;
    color: #fff;
    min-height: 300px;
    padding: 15px;
    padding-top: 5px;
}

.our-services li
{
    padding: 10px;
}

.our-policies
{
    font-size: 100%;
}

.our-policies h3
{
    margin: 1em 0;
}

#search-elements
{
    display:inline-block;
    width: 75%;
}

#search-elements > h1
{
    font-size: 2.25rem;
}

.mobileBreak
{
    display:none;
}

.fund-progress
{
    text-align:center;
    border-left: 1px solid grey;
    padding: 10px;
}

.fund-desc
{
    font-size:110%;
    color: #444;
    line-height: 130%;
    margin: 5px;
}

#donation-email
{
    display:flex;
}

#donation-email,
#donation-team-member,
#donation-name
{
    margin: 10px 0;
}

#donation-email label,
#donation-message label,
#donation-team-member label,
#donation-name label
{
    margin: auto 0;
    font-size: 140%;
}

#donation-email input,
#donation-message textarea,
#donation-team-member input,
#donation-name input
{
    padding: 10px;
    font-size: 140%;
}

#donation-email input
{
    width: 50%;
}

#donation-cover
{
    display:flex;
    width: 50%;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    font-size: 125%;
}

#edit-user
{
    position: absolute;
    bottom: 0;
}

.popup {
    display: none;
    position: absolute;
    top: -100px; /* Adjust this value to position the popup above the input */
    left: 100px;
    background-color: #f9f9f9;
    border: 1px solid #ccc;
    padding: 10px;
    box-shadow: 0px 8px 16px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 250px;
}

#passwordCriteria li {
    color: red;
}

#passwordCriteria li.valid {
    color: green;
}

.expiry-cvc-container {
    display: flex;
    gap: 20px; /* Space between the two fields */
    margin-bottom: 10px; /* Add space below this container */
}

.expiry-cvc-container > div, #card-number-element {
    flex: 1;
    padding: 12px;  /* Padding inside the inputs */
    border: 1px solid #ccd0d2;  /* Border around the inputs */
    border-radius: 6px;  /* Rounded corners */
    background-color: #f5f8fa;  /* Consistent background color */
}

.add-user-buttons
{
    display: flex;
}

.add-user-buttons > h3:nth-child(1)
{
    flex : 40;
}

.add-user-buttons > h3:nth-child(2)
{
    flex : 60;
}

.add-user-buttons > h3
{
    flex:1;
    gap: 20px;
}

.delete-icon
{
    display: inline-block;
    color: red;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer
}

.delete-icon:before
{
    content: "\00D7";
}

.email-preview,
.text-preview,
.social-preview
{
    border: 1px solid #ccc;
    padding: 15px;
    background-color: #f9f9f9;
    margin-top: 10px;
}

.preview-inputs > div
{
    width: 400px;
    font-size: 125%;
    padding: 10px;
    word-wrap: break-word;
    border-radius: 10px;
}
.preview-module > div
{
    margin: 10px;
    padding: 10px;
}
.mobile
{
    display: none;
}

.mobile > .permissionLinks
{
    margin-bottom: 0;
}

.desktop
{
    display: block;
}

.hide-contribution
{
    float: right;
    cursor: pointer;
    font-size: 1.5rem;
}

.fa-eye-slash ~ .contribution-description
{
    text-decoration: line-through;
    text-decoration-color: red;
}

.play-btn {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 60px;
  color: white;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px;
  padding-left: 15px;
  border-radius: 50%;
  cursor: pointer;
}

.video.paused + .play-btn {
  display: block; /* Show play button when video is paused */
}

.video
{
    width: 100%;
}

.carousel-item .video{
    position: relative;
    width: 100%;
    height: 390px;
    flex: 0 0 auto;
    object-fit: contain;
}

#success-fundraiser 
{
    max-width: 800px;
    margin: 0 auto;
}

#success-fundraiser h1 
{
    color: #2c3e50;
    text-align: center;
}

#success-fundraiser p 
{
    text-align: center;
    font-size: 18px;
    color: #2c3e50;
}

#success-fundraiser div 
{
    text-align: center;
    margin-top: 20px;
}

#success-fundraiser p:last-child 
{
    text-align: center;
    margin-top: 30px;
}




@media (pointer:none), (pointer:coarse)
{
    .play-btn
    {
        visibility: hidden;
    }
}

@media screen and (max-width: 1000px)
{
    #club-delete-button
    {
        width: 50%;
    }

    #newPermissions .permissionInputs div label
    {
        font-size: 100%;
    }

    #sendEmails.flex-70
    {
        display: block;
        border-left: none;
    }

    #existingEmails
    {
        border-top: 1px solid grey;
        border-left: none;
        padding: 10px 0;
        margin-top: 10px;
    }
}

@media screen and (max-width: 900px)
{
    .flex-30,
    .flex-20
    {
        display: block;
    }

    #add-new-permission
    {
        border-top: 1px solid grey;
        border-left: none;
        padding: 10px 0;
        margin-top: 10px;
    }

    #edit-user
    {
        position: inherit;
    }

    #current-user-permissions
    {
        min-height: inherit;
    }
    
    #custom-donation
    {
        max-width: 75%
    }
}

@media screen and (max-width: 800px)
{
    body
    {
       font-size: 150%;
    }

    .footer-content
    {
        display: none;
    }

    .footer-info
    {
        margin: 0 auto;
    }

    .our-policies {
        font-size: 110%;
    }

    #search-elements
    {
        width: 85%;
        font-size: 185%;
    }

    #search-elements > h1
    {
        font-size: 2rem;
        line-height: 50px;
    }

    #search-elements span
    {
        display: none;
    }

    #searchInput
    {
        font-size: 4vw;
    }

    .nav-links
    {
        gap: 60px;
    }

    .nav-links > .links-display {
        display: none;
    }

    .sidebar > .links-display {
        display: block;
    }

    .hamburger {
        display: block;
    }

    .dropdown-content {
        display: none;
        position: inherit;
        background-color: #3d4f59;
        box-shadow: none;
        border-radius: 0;
        border: 0;
        width: inherit;
        max-height: inherit;
        transform: none;
    }

    .mobileBreak
    {
        display:block;
    }
    
    .desktop
    {
        display: none;
    }

    .mobile
    {
        display: block;
    }

    .permissionNoCard
    {
        float: none;
        text-align: center;
    }

    .flex-60,
    .flex-70,
    .flex-33
    {
        display: block;
        margin: inherit auto;
    }
    
    .flex-33 > div
    {
        margin: 10px auto;
    }

    .carousel
    {
        width:100%;
        margin: 10px 0;
    }

    .carousel,
    .carousel-item
    {
        height:300px;
    }
    
    .carousel-item .video
    {
        height: 290px;
    }

    .fund-progress
    {
        border-left: 0;
    }

    .fund-desc
    {
        font-size:150%;
    }

    nav
    {
        margin: 0;
        border-radius: 0;
    }

    .navbar
    {
        margin: 0;
        border-radius: 0;
        box-shadow: none;
        width: calc(100% - 20px);
        padding: 5px 10px;
    }

    #donation-email,
    #donation-team-member,
    #donation-name
    {
        display:block;
    }

    #donation-email input,
    #donation-team-member input,
    #donation-name input
    {
        width: 90%;
        margin: 10px auto 0 auto;
        display: block;
    }

    #donation-cover
    {
        width: 100%;
        font-size: 100%;
    }

    #donation-email label,
    #donation-message label,
    #donation-email input,
    #donation-message textarea,
    #donation-team-member input,
    #donation-name input
    {
        font-size: 100%;
    }

    #bannerImage
    {
        height: 150px;
    }

    #iconImage,
    #iconImage img
    {
        width: 150px;
        height: 150px;
    }

    #iconImage
    {
        margin: 10px auto;
    }

    #bannerImage
    {
        height: 150px;
    }

    #bannerImage img
    {
        max-height: 150px;
    }

    #club-delete-button
    {
        width: 75%;
    }

    .options-1 > div
    {
        max-width: 75%;
    }
    
    .tier-group
    {
        width: 27%
    }
    
    .donation-option
    {
        padding: 15px;
    }
    
    #donationCover
    {
        width: 25px;
        height: 25px;
    }
}

@media screen and (max-width: 750px)
{
    .permissionInputs
    {
        display: block;
        border-bottom: 1px dotted grey;
        padding: 10px;
    }

    .permissionInputs > div
    {
        display: flex;
        flex-wrap: wrap;
    }

    .permissionInputs > div > div
    {
        flex-grow: 1;
        width: 25%;
    }

    .permissionInputs div:nth-child(1),
    .permissionInputs button
    {
        display:block;
    }

    .permissionInputs div:nth-child(1)
    {
        margin: 10px 0;
        text-align: center;
    }

   #newPermissions .permissionInputs input[type="email"]
    {
        padding: 5px;
    }

    #newPermissions .permissionInputs > div:nth-child(1) > label
    {
        display: inline;
    }

    .hamburger {
        font-size: 55px;
    }
}

@media screen and (max-width: 650px)
{
    h1
    {
        margin-block-start: 0;
        margin: 10px;
    }

    .fundraiser-list-container, .steps, .contributions-container
    {
        display: block;
    }

    .contribution-card
    {
        width:80%;
    }

    .fundraiser-list,
    .contribution-card
    {
        margin: 20px auto;
    }


    .body-container, .limit-width
    {
        width: 100%;
        padding: 0;
    }

    .body-container {
        min-height: calc(100vh - 275px);
    }

    #search-elements
    {
        width: 90%;
        font-size: 165%;
    }

    .login-card
    {
        padding: .5rem;
        border-radius: 8px;
        box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
        width: calc( 90% - 1rem );
        max-width: 400px;
    }

    .imgFit {
        height: 30vw;
    }

    .options-2 > div,
    .options-3  > div,
    .options-4  > div,
    .options-5 > div,
    .options-6  > div
    {
        flex: 1 0 40%;
        max-width: 100%;
    }
    
    .options-1 > div
    {
        max-width: 100%;
    }
    
    .nav-links
    {
        gap: 40px;
    }

}

@media screen and (max-width: 600px)
{
    .flex-80,
    .flex-50
    {
        display: block;
    }

    #club-info
    {
        border-right: none;
        border-bottom: 1px solid grey;
    }

    #club-delete-button
    {
        width: 50%;
        font-size: 100%;
    }

    .hamburger {
        font-size: 40px;
    }

    body
    {
       font-size: 125%;
    }
    
    .tier-group
    {
        width: 30%
    }
    
    .carousel,
    .carousel-item
    {
        height:250px;
    }
    
    .carousel-item .video
    {
        height: 240px;
    }
}

button:disabled,
button[disabled]
{
    filter: brightness(50%);
    cursor: default;
}

@media screen and (max-width: 450px)
{
    body
    {
       font-size: 85%;
    }

    label
    {
        font-size: 100%;
    }

    h2
    {
        font-size: 1.25em;
    }

    .input-group input,
    .input-group textarea
    {
        font-size: 100%;
    }

    .carousel,
    .carousel-item
    {
        height:200px;
    }
    
    .carousel-item .video
    {
        height: 190px;
    }

    .fund-desc
    {
        font-size:125%;
    }

    #donation-email label,
    #donation-message label,
    #donation-email input,
    #donation-message textarea,
    #donation-team-member input,
    #donation-name input
    {
        font-size: 125%;
    }

    .permissionInputs > div > div
    {
        width: 40%;
    }

    .hamburger {
        font-size: 25px;
    }
    
    .add-user-buttons
    {
        display: block;
    }
    
    .tier-group
    {
        width: 40%
    }
    
    #custom-donation
    {
        max-width: 95%
    }

    .nav-links
    {
        gap: 20px;
    }
    
    .donation-option
    {
        margin: 5px;
    }
    
    h1
    {
        font-size: 225%;
    }
}

@media screen and (max-width: 275px)
{
    .tier-group
    {
        width: 80%
    }
}
