:root {
    --sky: #4292E1;
    --darksky: #4075A8;
    --background: #C6DCEF;
    --grass: #769A17;
    --darkgrass: #637A22;
    --road: #4B4845;
    --transparent-road: rgba(75, 72, 69, 0.5);
    --orange: #E19142;
    --pink: #E142E1;
    --brightgreen: #43E142;
    --darktext: #3c3a37;
    --grassbkgd: #a3b784;
    --shadow: 0px 1px 2px rgba(0,0,0,0.2);
    --shadow-inset: 0px -15px 10px -12px rgba(0,0,0,0.05);
}

p {
    display: block;
    margin-block-start: 0em;
    margin-block-end: 1em;
    margin-inline-start: 0px;
    margin-inline-end: 0px;
    unicode-bidi: isolate;
}

@media (max-width: 600px) {
    h1 {
        margin-top: 10px;
        margin-bottom: 10px;
    }
}

a, .unlinked {
    color: var(--sky);
    text-decoration: none; /* Removes the underline */
    cursor: pointer;
}

a:hover, .unlinked:hover {
    color: var(--grass);
    text-decoration: underline;
    cursor: pointer;
}

.no-style-link {
    text-decoration: none;
    color: inherit;
}
.no-style-link:hover {
    text-decoration: none;
}

.limit-style-link {
    color: inherit;
}

.event-aggregate-link {
    margin: 8px 0 16px;
    font-size: 0.95em;
    font-weight: 400;
}
.event-aggregate-link a {
    color: var(--grass);
    text-decoration: underline;
}

a.button:hover {
    text-decoration: none;
}

button:focus-visible {
    /* Add the styles you want when the button is focused and the focus is visible */
    outline: none; /* This removes the default outline */
    /* Add more styles as needed */
}

html {
    font-size: 16px; /* Base font size */
}

@media (max-width: 600px) {
    html {
        font-size: 14px; /* Adjust root font size for smaller screens */
    }
}

body {
    font-family: 'Kumbh Sans', sans-serif;
    color: var(--darktext);
    margin: 0px;
    line-height: 1.5;

}

.bqstart {
    float: left;
    height: 45px;
    font-size: 5em;
    transform: translateY(-40px);
    padding-right: 10px;
    font-family: lexend;
}

textarea {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: inherit;
    resize: none;
    height: 200px;
}

input, select {
    font-family: inherit;
    font-size: inherit;
    color: inherit;
    background-color: inherit;
}

section.swf{
    width: 100%;
    display: flex;
    flex-direction: column;
    background-color: var(--background);
}
section.gradient{
    background-image: linear-gradient(var(--sky),var(--background));
}
section.dark{
    background-color: var(--road);
    color: var(--background);
}
section.preview{
    background-color: var(--grass);
    color: var(--background);
    z-index: 2;
}
section.reverse{
    background-image: linear-gradient(var(--background), var(--sky));
}
section.full{
    min-height: calc(100vh - (51px + 95px));
}
section.full.cookies {
    min-height: calc(100vh - (51px + 95px + 160px));
}

/* Responsive layout for smaller screens
ADJUST THIS ONCE THE FOOTER TEXT AND LINKS ARE FINALISED!
calc(100vh - (header + footer + cookies)
*/
@media (max-width: 532px) {
    section.full{
        min-height: calc(100vh - (51px + 110px));
    }
    section.full.cookies {
        min-height: calc(100vh - (51px + 115px + 160px));
    }
}

section.center{
    justify-content: center;
}

.flextop {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap; /* Enable wrapping */
}

.flexcenter {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 10px; */
}

.flexleft {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    flex-wrap: wrap;
    /* padding: 10px; */
}

.flexleft_nowrap {
    display: flex;
    justify-content: flex-start;
    align-items: center;
}

.flexevenly {
    display: flex;
    justify-content: space-evenly;
    align-items: flex-start;
    flex-wrap: wrap;
    /* padding: 10px; */
}

.flexend {
    display: flex;
    justify-content: flex-end;
    align-items: center;
    flex-wrap: wrap;
}

.flexbetween {
    display: flex;
    justify-content: space-between;
    align-items: left;
    flex-wrap: wrap;
    gap: 0px 30px;
}

.flex-item{
    flex: 1;
}

.flexcolumn {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.userquote {
    font-weight: 300
}

.columns-outer {
    width: 100%;
    display: flex;
    justify-content: center;
}

.one-column-container {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 800px;
    width: 100%;
    box-sizing: border-box;
}

.one-column-container-narrow {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 480px;
    width: 100%;
    box-sizing: border-box;
}
.one-column-container-full {
    display: grid;
    grid-template-columns: 1fr;
    max-width: 1024px;
    width: 100%;
    box-sizing: border-box;
}

.two-columns-container {
    display: grid;
    grid-template-columns: minmax(auto, 1fr) minmax(0, 1.618fr);
    /* NEW UNTESTED LINE BELOW */
    width: 100%;
    max-width: 1024px;
    box-sizing: border-box;
}

.two-columns-container-even {
    display: grid;
    grid-template-columns: minmax(auto, 1fr) minmax(0, 1fr);
    /* NEW UNTESTED LINE BELOW */
    width: 100%;
    max-width: 1024px;
    box-sizing: border-box;
}

.cookies-column-container {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
    box-sizing: border-box;
}

/* Responsive layout for smaller screens */
@media (max-width: 600px) {
    .two-columns-container, .two-columns-container-even {
        grid-template-columns: 1fr;
    }
    .two-columns-container .item.reverse:first-child,
    .two-columns-container-even .item.reverse:first-child {
        order: 2;
    }

    .two-columns-container .item.reverse:last-child,
    .two-columns-container-even .item.reverse:last-child {
        order: 1;
    }
    /* For the challenge event/charity sections */
    .flexbetween{
        flex-direction: column; /* Stack items vertically */
        align-items: stretch; /* Stretch items to fill the container */
    }
}

/* Desktop view (flex direction is row) */
@media (min-width: 601px) {
    .two-columns-container .item.reverse:first-child {
        order: 1;
    }
    .two-columns-container .item.reverse:last-child {
        order: 2;
    }
}

.item {
    padding: 20px 15px;
    width: 100%;
    box-sizing: border-box;
}
@media (max-width: 600px) {
    .item {
        padding: 10px 15px;
    }
}
.small {
    padding: 0px 15px;
}
.smallreverse {
    padding: 20px 0px;
}
.item.center {
    text-align: center;
}
.item.hcenter{
    display: flex;
    justify-content: center;
}
.item.vcenter {
    display: flex;
    align-items: center; /* This vertically aligns the text */
}
.item.right{
    display: flex;
    justify-content: flex-end;
}

#logo-and-valencia{
    background-image: linear-gradient(var(--sky),var(--background));
}

#navLogo{
    height: 100%;
    padding: 0px 15px;
}

#shape_carousel{
    background-color: var(--sky);
}

.logo {
    box-sizing: border-box;
    padding: 40px;
    padding-bottom: 0px;
    height: auto;
    width: 100%;
    max-width: 500px;
}
.logo_inline{
    display: inline-block;
    padding-right: 6px;
    margin: 0px;
    height:24px;
    width:auto;
    vertical-align: middle;
}


.logo-overlay {
    position: absolute;
    top: 53%; /* Center vertically */
    left: 50%; /* Center horizontally */
    transform: translate(-50%, -50%);
    z-index: 2; 
    width: 55%;
    display: flex;
    align-items: center;
    flex-direction: column;

}
.logo-overlay img {
    width: 55%;
    height: auto;
}
.logo-overlay p {
    padding-top: 15px;
    text-align: center;
    font-size: 1.4em;
}
@media (max-width: 600px) {
    .logo-overlay {
        top: 55%; /* Center vertically */
    }
    .logo-overlay img {
        width: 45%;
    }
    .logo-overlay p {
        font-size: .8em;
    }
}



.general_image_container{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 50px;
    max-height: 200px;
}
.general_image_container img {
    max-width: 100%;
    height: 200px;
}

.valencia{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
}

.finishline{
    max-width: 800px;
    justify-content: center;
    position: relative;
    margin: 30px;
}
.finishline img {
    max-width: 100%;
    height: auto;
    position: relative;
}

.clock {
    z-index: 9;
    position: absolute;
    align-items: center;
    top: 31.3%;
    left: 40.8%;
    color: var(--background);
    font-size: calc(min(2.7vw, 17px));
    font-family: Orbitron;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 2px var(--sky);
}

.green {
    color: var(--grass);
}

.splide_container{
    max-width: 960px;
    width: 90vw;
    display: flex;
    justify-content: center; /* Center elements horizontally */
    align-items: center; /* Center elements vertically if needed */
    margin: 0px auto;
}

.splide {
    display: block;
    justify-content: center;
    align-items: center;
    max-width: 960px;
    width: 100%;
    text-align: center;
    margin: 0 auto;
    padding: 1rem 0px;
    box-sizing: border-box;

}

.splide__slide{
    background-color: None;
    opacity: 40%;
    padding: 10px;
}

#active_challenges .splide__slide{
    background-color: None;
    opacity: 100%;
}

.mini-splide{
    width: 100px;
    height: auto;
}

.showcase{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    height: 100%;
    box-sizing: border-box;
}

.showcase.background{
    border: 4px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background);
}

.challenge_showcase{
    border: 4px solid var(--grass);
    border-radius: 15px;
    box-sizing: border-box;
    background-color: var(--background);
    width: 100%; 
}

.splide__slide.quotebox{
    max-width: 500px;
}

.splide__slide.is-active{
    opacity: 100%;
}

.splide__slide img {
    max-width: 280px;
    height: auto;
}

.cookie-bar{
    z-index: 10;
    background-color: var(--grass);
    color: var(--background);
    width: 100%;
    min-height: 160px;
    position: fixed;
    bottom: 0;
    padding-bottom: 20px;
}
.cookie-bar a{
    color: var(--background);
}

.footer{
    background-color: var(--road);
    min-height: 80px;
    bottom: 0;
    left: 0;
    right: 0;
    color: var(--background);
    border-top: 5px solid var(--grass);
    position:relative;
    z-index: 2;
}
.footer .copyright{
    box-sizing: border-box;
    font-size: .7em;
    max-width: 700px;
    min-height: 45px;
    text-align: center;
    margin-left: auto;
    margin-right: auto;
    padding: 10px 15px;
    padding-top: 0px;
}
.footer .links{
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    padding: 10px 15px;
    box-sizing: border-box;
    min-height: 45px;
}
.footer .link{
    padding: 0px 30px;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0px;
    background-color: var(--road);
    color: var(--background);
    border-bottom: 5px solid var(--grass);
    height: 26px;
    position:relative;
    z-index: 10;
}

.navlink {
    padding: 0px 20px;
}

.hamburger {
    display: none;
}

@media (max-width: 650px) {
    .hamburger {
        display: block;
    }

    .noburger {
        display: none;
    }
}

.navbar-brand,
.navbar a, .footer a {
    color: var(--background);
    text-decoration: none;
    font-size: 1em;
}

.navbar .userdropdown {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
}

.dropdown .dropbtn { 
    border: none;
    outline: none;
    color: inherit;
    background-color: inherit;
    padding: 6px 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    height: 46px;
  }
.dropdown:hover .dropbtn {
    background-color: var(--grass);
  }
.dropdown-content {
    display: none;
    position: absolute;
    right: 0px;
    background-color: var(--background);
    min-width: 200px;
    box-shadow: var(--shadow);
    z-index: 11;
  }
.dropdown-content a {
    float: none;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
    color: var(--sky);
  }
.dropdown:hover .dropdown-content {
    display: block;
  }
.dropdown-content a:hover {
    background-color: var(--grass);
    color: var(--background);
  }

.button {
    display: block;
    padding: .625rem 1.25rem;
    border-radius: 15px;
    background-color: var(--road);
    color: var(--background);
    border: 2px solid var(--grass);
    text-decoration: none;
    font-size: 1em;
    cursor: pointer;
    /* margin: 0px 20px; */
    margin: 15px;
    font-family: 'Kumbh Sans', sans-serif;
    min-width: 60px;
    text-align: center;
    line-height: 1;
    box-shadow: var(--shadow);
}
.button.center{
    margin: 20px auto;
}
.button.minor {
    background-color: var(--background);
    color: var(--road);
}
.button.large{
    padding: 15px 30px;
    font-size: 1.2em;
}

.button.ongreen{
    z-index: 5;
    border-color: var(--background);
}
/* Don't need this, draw attention to larger buttons 
@media (max-width: 40px) {
    .button.ongreen {
        min-width: 10px;
        margin-top: 10px;
        margin-bottom: 10px;
        padding: 5px 10px;
        border-radius: 10px;
    }
} */

.button:hover{
    background-color: var(--grass);
    color: var(--background);
}
.button.mini{
    min-width: 80px;
    margin-top: 10px;
    margin-bottom: 10px;
    padding: 5px 10px;
    border-radius: 10px;
}

.badge {
    border-radius: 15px;
    background-color: var(--road);
    color: var(--background);
    box-shadow: var(--shadow);
    padding: 2px 10px;
    margin: 0px 10px;
    text-decoration: none;
    font-size: 0.8em;
    text-transform: uppercase;
    font-weight: normal;
    vertical-align: middle;
    font-style: italic;
}
.badge.minor {
    background-color: var(--grass);
    color: var(--background);
}


.profile_picture {
    border-radius: 50%;
    width: 100px;
    height: 100px;
    margin: 0 auto;
    display: block;
}

.success {
    color: var(--grass);
    font-style: italic;
}

.responsive-image {
    width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}
@media (max-width: 875px) {
    .responsive-image {
        width: 60%;
    }
}

.responsive-image-vert {
    height: 100%;
    width: auto;
    display: block;
}
.responsive-image.border, .responsive-image-vert.border{
    border: 4px solid var(--grass);
    border-radius: 15px;
    box-sizing: border-box;
}

.map  {
    border: 4px solid var(--grass);
    border-radius: 15px;
    box-sizing: border-box;
    width: 100%;
    height: 400px;
}

.cropper {
    width: calc(100%);
    max-width: 800px;
    height: 50vh;
}

.rounded-cropper .cropper-crop-box,
.rounded-cropper .cropper-view-box {
    border-radius: 50%;
}

.donor{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    border: 3px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background);
    margin-bottom: 20px;
}
.donor .content{
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: 0px 10px;
    text-align: start; 
}
.donor .row{
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.donor .row.optional{
    padding-top: 10px;  
}
.donorTitle{
    font-size: 1.2em;
    margin: 10px;
    }

.donor .created{
    display: inline-flex;
    align-items: center;
    vertical-align: middle;
}

.quote{
    display: flex;
    justify-content: space-between;
}

.challenge{
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 3px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background);
    margin-bottom: 20px;
    padding: 10px;
    flex-wrap: wrap;
}
.challenge .content{
    padding: 5px 0px; 
    text-align: center;
    }
.challenge .group{
    display: flex;
    align-items: center;
    }

@media (min-width: 700px) {
    .challenge .title{
        text-align: left;
        max-width: 300px;
    }
}

.challenge .content.subgroup{
    font-weight: 300;
    padding: 0px 10px;
}
.challenge .button{
    min-width: 125px;
}

input[type="number"].payment_amount {
    display: inline-block;
    width: 152px;
    margin: 0px 10px;
}

.payment_method{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
    border: 3px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background);
    margin-bottom: 20px;
    padding: 10px;
    flex-wrap: wrap;
}
.payment_method .left{
    display: flex;
    justify-content: flex-start;
    align-items: center;
    }
.payment_method .right{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    }
.payment_method .content{
    padding: 5px 5px; 
    text-align: center;
    align-items: center;
    display: flex;
    }

@media (max-width: 430px) {
    .payment_method {
        flex-direction: column;
    }

    .payment_method .left {
        align-self: flex-start;
        justify-content: space-between;
    }

    .payment_method .right {
        align-self: flex-end;
    }
}



.thumbnail{
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 2px solid var(--grass);
    background-color: var(--grass);
    width: 50px !important;
    height: 50px !important;
    font-size: 2.3em;
    text-align: center;
    color: var(--background);
    flex-shrink: 0;
}

.thumbnail.quote{
    display: inline-block;
    vertical-align: middle;
    margin-left: 10px;
}
.navbar .thumbnail {
    width: 30px !important;
    height: 30px !important;
    font-size: 1.8em;
    border: 2px solid var(--background);
    background-color: var(--background);
    color: var(--road);
}

.arrow {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    text-align: center;
}
.arrow polyline {
    stroke: var(--sky);
    stroke-width: 6;
    fill: None
}

.arrow svg polyline {
    stroke: currentColor;
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0 10px;
    text-align: center;
}
.pagination polyline {
    stroke: var(--grass);
    stroke-width: 6;
    fill: None
}

.pagination svg polyline {
    stroke: currentColor;
}

.navbar polyline, .navbar line {
    stroke: var(--background);
}
polyline:hover line:hover path:hover {
    stroke: var(--grass)
}
svg {
    fill: var(--darktext)
}
svg:hover {
    fill: var(--grass)
}
.navbar .arrow {
    padding: 0px;
}

.radiolabel {
    display: block;
    margin-bottom: 10px;
}

.transition, button, label, input[type="text"]:not(.html-duration-picker), input[type="email"], input[type="password"], input[type="url"], textarea {
    -moz-transition: all 0.25s cubic-bezier(0.53, 0.01, 0.35, 1.5);
    -o-transition: all 0.25s cubic-bezier(0.53, 0.01, 0.35, 1.5);
    -webkit-transition: all 0.25s cubic-bezier(0.53, 0.01, 0.35, 1.5);
    transition: all 0.25s cubic-bezier(0.53, 0.01, 0.35, 1.5);
  }

input[type="text"]:not(.html-duration-picker) + label,
input[type="password"] + label,
input[type="email"] + label,
textarea + label,
input[type="url"] + label {
    transform-origin: left center;
    color: var(--darktext);
    font-weight: 300;
    box-sizing: border-box;
    padding: 10px 15px;
    display: block;
    position: absolute;
    margin-top: -74px;
    z-index: 2;
    pointer-events: none;
}

@media (max-width: 600px) {
    input[type="text"]:not(.html-duration-picker) + label,
    input[type="password"] + label,
    input[type="email"] + label,
    textarea + label,
    input[type="url"] + label {
        margin-top: -71px;
    }
}

textarea + label {
    margin-top: -231px;
}
@media (max-width: 600px) {
    textarea + label {
        margin-top: -228px;
    }
}

input[type="date"] {
    border: 2px solid var(--grass);
    padding: 10px;
    border-radius: 15px;
    min-width: 120px;
    text-align: center;
    background-color: var(--background);
}

input[type="text"]:not(.html-duration-picker), input[type="password"], input[type="email"], input[type="number"], input[type="url"], textarea, select {
    appearance: none;
    background-color: none;
    border: 2px solid var(--grass);
    width: 100%;
    display: block;
    box-sizing: border-box;
    padding: 10px 15px;
    border-radius: 15px;
    color: var(--darktext);
    margin: 30px 0;
    font-weight: 300;
    letter-spacing: 0.01em;
    position: relative;
    z-index: 1;
    background-color: var(--background);
    box-shadow: var(--shadow), inset var(--shadow-inset);
}
input[type="number"] {
    width: 90px;
    text-align: right;
    margin: 0px 0;
}

input[type="number"]:not(.time_form)::-webkit-inner-spin-button,
input[type="number"]:not(.time_form)::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}
/* For WebKit browsers (Chrome, Safari) */
input[type="number"].time_form::-webkit-inner-spin-button,
input[type="number"].time_form::-webkit-outer-spin-button {
    opacity: 1 !important;
    display: inline-block !important;
    position: relative !important;
    right: -4px !important;
}

/* For Firefox */
input[type="number"].time_form {
    -moz-appearance: textfield;
}

input[type="number"].time_form::-moz-inner-spin-button,
input[type="number"].time_form::-moz-outer-spin-button {
    opacity: 1 !important;
    display: inline-block !important;
    position: relative !important;
    right: -4px !important;
}

/* For Internet Explorer and Edge */
input[type="number"].time_form::-ms-inner-spin-button,
input[type="number"].time_form::-ms-outer-spin-button {
    display: inline-block !important;
    position: relative !important;
    right: -4px !important;
}

input[type="number"].time_form {
    -moz-appearance: textfield;
    display: inline-block;
    width: 60px;
    padding: 10px 7px;
    margin: 5px 10px;
}

input[type="number"].time_form.distance {
    width: 80px;
}
.time_form_container select {
    width: 100px;
}


input[type="text"]:not(.html-duration-picker):focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, textarea:focus, select:focus {
    outline: none;
    background: white;
    border-color: var(--grass);
}
input[type="text"]:not(.html-duration-picker):not(.reward):focus, input[type="password"]:focus, input[type="email"]:focus, input[type="url"]:focus, textarea:focus {
    margin-top: 40px;
}
input[type="number"]:focus{
    outline: none;
    background: white;
}
input[type="text"]:not(.html-duration-picker):focus + label,
input[type="password"]:focus + label,
input[type="email"]:focus + label,
input[type="url"]:focus + label,
textarea:focus + label {
    -moz-transform: translate(0, -35px);
    -ms-transform: translate(0, -35px);
    -webkit-transform: translate(0, -35px);
    transform: translate(0, -35px);
}

/* input[type="text"]:not(.html-duration-picker):valid + label,
input[type="password"]:valid + label,
input[type="email"]:valid + label,
input[type="url"]:valid + label,
textarea:valid + label {
    font-style: italic;
    -moz-transform: translate(5px, -35px) scale(0.6);
    -ms-transform: translate(5px, -35px) scale(0.6);
    -webkit-transform: translate(5px, -35px) scale(0.6);
    transform: translate(5px, -35px) scale(0.6);
} */

input[type="text"].not-empty + label, 
input[type="password"].not-empty + label, 
input[type="email"].not-empty + label, 
input[type="url"].not-empty + label, 
textarea.not-empty + label,
input[type="text"].not-empty:focus + label, 
input[type="password"].not-empty:focus + label, 
input[type="email"].not-empty:focus + label, 
input[type="url"].not-empty:focus + label, 
textarea.not-empty:focus + label {
    font-style: italic;
    -moz-transform: translate(5px, -35px) scale(0.6);
    -ms-transform: translate(5px, -35px) scale(0.6);
    -webkit-transform: translate(5px, -35px) scale(0.6);
    transform: translate(5px, -35px) scale(0.6);
}

input[type="checkbox"] {
    appearance: none;
    background-color: white;
    border: 2px solid var(--grass);
    box-shadow: var(--shadow), inset var(--shadow-inset);
    padding: 9px;
    margin: 10px;
    border-radius: 3px;
    display: inline-block;
    position: relative;
}

input[type="checkbox"]:checked:after {
    content: '\2713';
    font-size: 1.2em;
    position: absolute;
    top: -3px;
    left: 2px;
    color: var(--grass);
}

input[type="checkbox"]:disabled {
    background-color: var(--road);
    cursor: not-allowed; /* Change as needed */
}

/* Hide the default file input */
input[type="file"] {
    display: none;
}

/* Style the label like a button */
input[type="file"] + label {
    display: block;
    padding: 10px 20px;
    border-radius: 15px;
    background-color: var(--road);
    color: var(--background);
    border: 2px solid var(--grass);
    text-decoration: none;
    font-size: 16px;
    cursor: pointer;
    margin: auto;
    margin-top: 15px;
    margin-bottom: 15px;
    font-family: 'Kumbh Sans', sans-serif;
    min-width: 120px;
    box-shadow: var(--shadow);
}


/* Change the background color when hovering over the label */
input[type="file"]:hover + label {
    background-color: var(--grass);
}

.slider-container { 
    width: 100%; 
} 
.slider-container { 
    height: 10px; 
    position: relative; 
    background: var(--background); 
    border-radius: 5px; 
    box-shadow: var(--shadow), inset var(--shadow-inset);
} 

#price_sliders {
    height: 180px;
    padding-top: 85px
}

.price-slider { 
    height: 100%; 
    left: 50%; 
    right: 50%; 
    position: absolute; 
    border-radius: 5px; 
    background: var(--grass); 
} 
  
.range-input { 
    position: relative; 
} 
  
.range-input input { 
    position: absolute; 
    width: 100%; 
    height: 6px; 
    background: none; 
    top: -10px;
    pointer-events: none; 
    cursor: pointer; 
    -webkit-appearance: none;
    appearance: none;
    margin: 2px 0px; 
} 
  
/* Styles for the range thumb in WebKit browsers */
input[type="range"]::-webkit-slider-thumb { 
    height: 20px; 
    width: 20px; 
    border-radius: 100%; 
    background: var(--road); 
    pointer-events: auto; 
    -webkit-appearance: none;
    appearance: none; 
} 
input[type="range"]:disabled::-webkit-slider-thumb { 
    background: var(--transparent-road); /* Change the color for disabled inputs */
    pointer-events: none; /* Prevent interactions with the disabled input */
    -webkit-appearance: none; 
} 

.bubble {
    background: var(--background);
    border: 2px solid var(--grass);
    padding: 4px 12px;
    position: absolute;
    border-radius: 15px;
    left: 50%;
    top: 20px;
    transform: translateX(-50%);
    font-weight: 300;
  }
  .bubble.bottom::after {
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-bottom: 10px solid var(--grass);
    top: -10px;
    left: calc(50% - 10px);
  }
  .bubble.top{
    top: -67px;
  }
  .bubble.top::after{
    content: "";
    position: absolute;
    width: 0;
    height: 0;
    border-left: 10px solid transparent;
    border-right: 10px solid transparent;
    border-top: 10px solid var(--grass);
    bottom: -10px;
    left: calc(50% - 10px);
  }

  .input-container {
    position: relative;
}

  .currency-symbol {
    position: absolute;
    left: 25px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 10;
    font-weight: 300;
}


progress {
    /* Reset the default appearance */
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;

    width: 100%;
    height: 10px; 
    position: relative; 
    background: var(--background); 
    border-radius: 5px; 
    box-shadow: var(--shadow), inset var(--shadow-inset);

}
progress::-webkit-progress-bar {
    /* Set the background color of the whole bar */
    background: var(--background);
    border-radius: 5px; 
    box-shadow: var(--shadow), inset var(--shadow-inset);
}
progress::-webkit-progress-value {
    /* Set the background color of the progress */
    background: var(--grass);
    border-radius: 5px; 
    box-shadow: var(--shadow), inset var(--shadow-inset);
}
progress::-moz-progress-bar {
    /* Set the background color of the progress for Firefox */
    background: var(--background);
    border-radius: 5px; 
    box-shadow: var(--shadow), inset var(--shadow-inset);
}

#sponsorshipMessage {
    transition: opacity 1s ease-in-out, visibility 1s, height 1s ease-in-out;
    opacity: 0;
    visibility: hidden;
    height: 0;
    overflow: hidden;
}

#sponsorshipMessage.show {
    opacity: 1;
    visibility: visible;
    height: 280px;
}

.select2-container {
    border: 0px !important;
    background-color: var(--background) !important;
    border-radius: 15px !important;
    height: 50px !important;
    width: 300px !important;
    /* width: 100% !important; */
}
.select2-selection {
    background-color: var(--background) !important; 
    color: var(--darktext) !important;
    border: 2px solid var(--grass) !important;
    border-radius: 15px !important;
    height: 50px !important;
}

.select2-selection__rendered {
    line-height: 45px !important;
    }

.select2-dropdown {
    /* Style the dropdown options */
    background-color: var(--background) !important;
    color: var(--darktext) !important;
    border: 0px !important;
    line-height: 30px !important;
    border-radius: 15px !important;
}
.select2-results__option--highlighted {
    background-color: var(--grass) !important;
}


input[type="radio"] {
    width: 25px;
    height: 25px;
    cursor: pointer;
    vertical-align: middle;
    margin: 10px;
}

.alert {
/*     Nothing to add just yet! */
}

.alert-danger, .error {
    color: red;
    font-style: italic;
}

.ui-dialog {
    z-index: 20;
    padding: 20px;
    background-color: var(--road);
    color: var(--background);
    border-radius: 15px;
    border: solid 2px var(--grass);
    margin: auto;
    text-align: center;
    top: 50%;
    position:fixed;
    max-width: 80% !important;
    width: 400px !important;
}

.html-duration-picker {
    width: 120px !important;
    border: 2px solid var(--grass);
    margin: 20px 20px;
    padding: 10px 15px;
    border-radius: 15px;
    color: var(--darktext);
    font-weight: 300;
    letter-spacing: 0.01em;
    background-color: var(--background);
    box-shadow: var(--shadow), inset var(--shadow-inset);
}
.html-duration-picker:focus {
    outline: none;
    background: white;
}

table td, table th {
    padding: 10px;
}


.goldcoast-wrapper {
    overflow: hidden;
    position: relative;
}
.goldcoast-container-crop{
    position: relative;
    overflow: hidden;
    margin-left: -28%;
    margin-right: -28%;

}
@media (min-width: 1280px) {
    .goldcoast-container-crop {
        margin-left: -2%;
        margin-right: -2%;
    }
}
.goldcoast-container-crop video{
    margin-top: -12%; /* Clip from top */
    margin-bottom: -6%; /* Clip from bottom */
    width: 100%;

}
.goldcoast-container-crop::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, rgba(0,0,0,0) 0%, rgba(0,0,0,0) 80%, var(--sky) 100%);
    pointer-events: none;
}

.run3-container{
    position: relative;
    overflow: hidden;
    margin: 50px 0px;
}
.run3-container video{
    margin-top: -15%; /* Clip from top */
    margin-bottom: -15%; /* Clip from bottom */
    width: calc(100% - 10px);
    border-left: 5px solid var(--grass);
    border-right: 5px solid var(--grass);
}
.run3-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to bottom, var(--background) 0%,  rgba(0,0,0,0) 50%,  var(--background) 100%);
    pointer-events: none;
}

.runleft-container{
    border: 4px solid var(--grass);
    position: relative;
    overflow: hidden;
    border-radius: 15px;
}
.runleft-container video{
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.runleft-container::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(to right, var(--background) 30%, rgb(198, 220, 239, 0.5) 100%);
    pointer-events: none;
    z-index: 1;
}
.runleft-container ul{
    position: absolute;
    top: 0;
    left: 0;
    z-index: 2;
}

.video-container {
    position: relative;
    width: 100%;
    padding-bottom: 56.25%; /* for 16:9 aspect ratio */
    height: 0;
}

.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}



.accordion .accordion-item {
    border-bottom: 2px solid var(--grass);
}

.accordion .accordion-item button[aria-expanded='true'] {
    border-bottom: 4px solid var(--grass);
}

.accordion button {
    font-family: 'Kumbh Sans', sans-serif;
    font-size: 1em;
    color: var(--darktext);
    line-height: 1.5;
    position: relative;
    display: block;
    text-align: left;
    width: 100%;
    padding: 1em 0;
    border: none;
    background: none;
    outline: none;
}

.accordion button:hover {
    cursor: pointer;
    color: var(--grass);
}

.accordion button .icon {
    display: inline-block;
    position: absolute;
    top: 18px;
    right: 0;
    width: 22px;
    height: 22px;
    border: 1px solid;
    border-radius: 22px;
}

.accordion button .icon::before {
    display: block;
    position: absolute;
    content: '';
    top: 10px;
    left: 6px;
    width: 10px;
    height: 2px;
    background: currentColor;
}

.accordion button .icon::after {
    display: block;
    position: absolute;
    content: '';
    top: 6px;
    left: 10px;
    width: 2px;
    height: 10px;
    background: currentColor;
}

.accordion button[aria-expanded='true'] .icon::after {
    width: 0;
}

.accordion button[aria-expanded='true'] + .accordion-content {
    opacity: 1;
    max-height: 2000px; /* Making this large allows the careers page, but makes the animation jumpy! */
    height: auto
    transition: all 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: opacity 200ms linear, max-height 200ms linear;
    will-change: opacity, max-height;
}

.accordion .accordion-content p {
    font-size: 1rem;
    font-weight: 200;
    margin: 2em 0;
}

 input[type="number"].voluntary_contribution {
    display: inline-block;
    width: 52px;
    margin: 0px 10px;
}

input[type="number"].fundraising_goal {
    display: inline-block;
    width: 120px;
    margin: 0px 10px;
}
input[type="number"].fundraising_goal_small {
    display: inline-block;
    width: 80px;
    margin: 0px 10px;
}
input[type="number"].reward {
    display: inline-block;
    width: 100px;
    margin: 0px 10px;
}

.sponsortype {
    padding: 10px;
    border: 4px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background);
    width: 220px;
}
.sponsortype:hover {
    background-color: var(--grass);
    color: var(--background);
}

.sponsortype img {
    max-width: 100%;
    height: 120px;
}


.line-with-text {
    display: flex;
    align-items: center;
    text-align: center;
}

.line-with-text > hr {
    flex-grow: 1;
    border: none;
    background-color: var(--grass);
    height: 2px;
    border: none;
    box-shadow: var(--shadow);
}

.line-with-text > h3 {
    padding: 0 10px;
}

#image-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
}
#image-grid img {
    width: 100%;
    transition: opacity 0.3s ease;
    cursor: pointer;
}

.type_logo {
    max-width: 50px;
    margin: 0px 10px;
}
.challenge_typelogo {
    max-height: 100px;
    margin: 20px;
}

.date {
    font-style: italic;
    font-size: 0.6em;
    font-weight: 300;
    font-size: .7em;
}
    
/* Story Dropdown container */
.storydropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown button */
.storydropbtn {
    background-color: transparent;
    border: none;
    cursor: pointer;
    color: var(--sky);    
}

/* Dropdown content (hidden by default) */
.storydropdown .storydropdown-content {
    display: none;
    position: absolute;
    border: 2px solid var(--grass);
    border-radius: 5px;
    padding: 5px 15px;
    box-sizing: border-box;
    background-color: var(--background);
    box-shadow: var(--shadow);
    z-index: 2;
    font-weight: 300;
    font-size: .8em;
    line-height: 1.6;
}

/* Show the dropdown menu on hover */
.storydropdown:hover .storydropdown-content {
    display: block;
}

.storyModal {
    display: none;
    position: fixed;
    z-index: 15;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    padding-top: 60px;
}
.storyModal .modal-content {
    margin: 5% auto;
    border: 4px solid var(--grass);
    border-radius: 15px;
    padding: 10px;
    box-sizing: border-box;
    background-color: var(--background);
    box-shadow: var(--shadow);
    width: 95%;
    max-width: 750px;
}
.close {
    color: var(--grass);
    float: right;
    font-size: 28px;
    line-height: 28px;
    font-weight: bold;
}
.close:hover,
.close:focus {
    color: var(--darktext);
    text-decoration: none;
    cursor: pointer;
}

.subtitle {
    font-style: italic;
    font-size: 0.8em;
    font-weight: 300;
}

/* General styles for ul and li */
ul {
    list-style-type: none; /* Remove default bullets */
    padding-inline-start: 0px;
}


ul li {
    padding-left: 50px; /* Add some padding to make room for the image */
    background-size: 30px 30px; /* Control the size of the image */
    padding-top: .625rem;
    padding-bottom: .625rem;
}

ul ul {
    padding-left: 70px;
}

.item.about ul li {
    padding-left: 80px;
    background-size: 50px 50px;
}

/* Override styles for .splide_container */
.splide_container ul {
    list-style-type: inherit; /* Inherit default bullets */
    padding-inline-start: inherit;
}

.splide_container ul li {
    padding-left: inherit; /* Inherit default padding */
    background-size: inherit; /* Inherit default background size */
    padding-top: inherit;
    padding-bottom: inherit;
}

.splide_container ul ul {
    padding-left: inherit;
}

ul.rewards-list{
    margin: 0px 15px;
}

ul.rewards-list li{
    padding-top: 20px;
    padding-bottom: 20px;
    padding-left: 80px;
    margin: .8rem 0px;
}

.reward-item.selected{
    outline: 3px solid var(--grass);
    border-radius: 15px;
    background-color: var(--background) !important;
    box-sizing: border-box;
    cursor: pointer;
}

.delete-btn {
    color: red;
    cursor: pointer;
    padding: 0px 15px;
}

.reward_logo {
    max-height: 150px;
}

.rewards-list.sponsor .reward-item:not(.sponsored) {
    cursor: pointer;
}

.reward_badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px !important;
    height: 30px !important;
    text-align: center;
    flex-shrink: 0;
    vertical-align: middle;
    padding-right: 15px;
}

.gauge_triple {
    max-width:250px;
}
@media (max-width: 875px) {
    .gauge_triple {
        max-width: 150px;
    }
}

.grecaptcha-badge { 
    visibility: hidden !important;
}

.event_image {
    margin: 10px 0px;
}

.event_image img {
    width: 200px;
    max-height: 600px;
}

@media (max-width: 600px) {
    .event_image img {
        width: 130px;
        max-height: 400px;"
    }
}

/* Event aggregate page — leaderboard */
.leaderboard-chart {
    width: 100%;
    min-height: 320px;
    margin: 20px 0;
}

.leaderboard-avatar {
    width: 28px;
    height: 28px;
    max-width: 28px;
    max-height: 28px;
    border-radius: 50%;
    object-fit: cover;
    vertical-align: middle;
    margin-right: 6px;
}

.leaderboard-list {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    max-width: 640px;
    margin-left: auto;
    margin-right: auto;
}

.leaderboard-list li {
    margin: 0;
    padding: 0;
}

.leaderboard-row {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px 12px;
    border-bottom: 1px solid #e5e7eb;
    text-decoration: none;
    color: inherit;
    transition: background-color 0.15s ease;
}

.leaderboard-row:hover,
.leaderboard-row:focus {
    background-color: #f3f4f6;
    text-decoration: none;
}

.leaderboard-row img {
    width: 44px;
    height: 44px;
    max-width: 44px;
    max-height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}

.leaderboard-name {
    flex: 1;
    font-weight: 500;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.leaderboard-amount {
    font-weight: 700;
    white-space: nowrap;
}

.terms-scrollable {
    max-height: 300px; /* Adjust height as needed */
    overflow-y: auto;
    padding: 15px;
}