.experience-layouts-current_races {
    margin-bottom: 0px !important;
}

#current-races-component {
    background-color: var(--background_color, white);
    margin-bottom: 50px;
}

.current-races-no-bottom-margin#current-races-component {
    margin-bottom: 0px;
}

.current-races-wrapper {
    max-width: 1440px;
    margin: 0 auto;
    padding: 50px 0 10px 0;
}

.no-button {
    padding-bottom: 50px !important;
}

.current-races-inner {
    display: grid;
    grid-template-columns: auto auto auto;
    grid-template-rows: auto;
    grid-column-gap: 15px;
    grid-row-gap: 25px;
    justify-items: center;
}

.current-races-header-text {
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 2em;
    font-weight: 500;
    color: var(--text_color, black);
}

.current-races-subtext {
    margin: 10px auto 25px auto;
    padding: 0 2vw;
    text-align: center;
    color: var(--text_color, black);
    font-family: 'Roboto', sans-serif;
    font-size: 1.4em;
    font-weight: 300;
}

#more-virtual-races-button {
    text-align: center;
    cursor: pointer;
    width: 300px;
    margin: 20px auto 0 auto;
    display: none;
}

#more-virtual-races-button:active,
#more-virtual-races-button:focus {
    outline: none;
    filter: drop-shadow(2px 2px 6px rgba(0, 0, 0, 0.8));
}

#more-virtual-races-text {
    color: var(--text_color, black);
    font-family: 'Roboto', sans-serif;
    font-size: 1.2em;
    font-weight: 400;
    margin-bottom: 10px;
}

#more-virtual-races-arrow {
    width: 40px;
    margin-bottom: 20px;
    transition: all 0.5s linear 0s;
}

#arrow-path {
    fill: var(--text_color, black);
}

@media screen and (max-width: 1200px) {
    .current-races-inner {
        padding: 0 2vw;
    }
}

@media screen and (min-width: 769px) {
    .current-races-inner.two-races {
        grid-template-columns: auto auto;
        grid-column-gap: 30px;
    }

    .current-races-inner.two-races .race-tile-figure:first-child {
        justify-self: end;
    }

    .current-races-inner.two-races .race-tile-figure:last-child {
        justify-self: start;
    }
}

@media screen and (max-width: 768px) {
    .current-races-inner {
        grid-template-columns: auto auto;
        grid-column-gap: 0px;
        grid-row-gap: 0px;
        padding: 0 1vw;
    }
    .current-races-header-text {
        font-size: 1.75em;
    }
    .current-races-subtext {
        font-size: 1.2em;
        margin: 15px auto 30px auto;
    }
    #more-virtual-races-text {
        font-size: 1.2em;
        margin-bottom: 8px;
    }
    #more-virtual-races-button {
        margin-top: 0;
    }
    #more-virtual-races-arrow {
        width: 35px;
        margin-bottom: 15px;
    }
}

@media screen and (max-width: 550px) {
    .current-races-wrapper {
        padding: 30px 0 10px 0;
    }
    .no-button {
        padding-bottom: 30px !important;
    }
    .current-races-header-text {
        font-size: 1.5em;
    }
    .current-races-header-text span {
        padding: 0 15px;
    }
    #more-virtual-races-text {
        font-size: 1em;
        margin-bottom: 6px;
    }
    #more-virtual-races-arrow {
        width: 30px;
        margin-bottom: 10px;
    }
}

@media screen and (max-width: 400px) {
    .current-races-wrapper {
        padding: 20px 0 10px 0;
    }
    .no-button {
        padding-bottom: 20px !important;
    }
    .current-races-header-text {
        font-size: 1.2em;
    }
    .current-races-subtext {
        font-size: 1em;
        padding: 0 5%;
    }
}

.current-race-link,
.current-race-link:hover,
.current-race-link:visited,
.current-race-link:link,
.current-race-link:active {
    text-decoration: none !important;
}

.race-tile-figure {
    display: none;
}

.current-race-link {
    display: block;
    position: relative;
    width: 350px;
    background-color: var(--medal_background_color, white) !important;
    border-radius: 20px 0 20px 0;
    -moz-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
    -webkit-box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
    box-shadow: 5px 5px 10px rgba(0, 0, 0, 0.22);
}

.current-race-link:hover,
.current-race-link:active,
.current-race-link:focus {
    -moz-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
    -webkit-box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
    box-shadow: 5px 5px 15px rgba(0, 0, 0, 0.6);
}

.current-race-link img {
    display: block;
    height: 300px;
    object-fit: contain;
    margin: 0 auto;
}

.current-race-text-container {
    position: relative;
}

.current-race-name {
    padding: 4px;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 300;
    background-color: #ebebeb;
    color: #6a6a6a;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-race-name-charity {
    background-color: #00a1ed;
    color: #fff;
    padding: 4px 60px;
}

.svg-container {
    position: absolute;
    left: 10px;
    bottom: 35px;
}

.svg-container svg {
    width: 40px;
}

.svg-container .hand {
    fill: #fff;
}

.svg-container .background {
    fill: #00a1ed;
}

.current-race-button {
    padding: 10px 0;
    text-align: center;
    font-family: 'Roboto', sans-serif;
    font-size: 1em;
    font-weight: 900;
    background-color: var(--button_background_color, black);
    color: var(--button_text_color, white);
}

.current-race-button:hover {
    background-color: var(--button_background_hover_color, black);
}

@media screen and (max-width: 1200px) {
    .current-race-link {
        width: 29vw;
    }

    .current-race-link img {
        height: 24.6vw;
    }

    .current-race-name-charity {
        padding: 4px 45px;
    }

    .svg-container {
        left: 7px;
        bottom: 35px;
    }

    .svg-container svg {
        width: 35px;
    }
}

@media screen and (max-width: 950px) {
    .current-race-name-charity {
        padding: 4px 40px;
    }

    .svg-container {
        left: 5px;
    }

    .svg-container svg {
        width: 30px;
    }
}

@media screen and (max-width: 768px) {
    .current-race-link {
        margin-bottom: 5vw !important;
    }

    .current-race-link {
        width: 44vw;
    }

    .current-race-link img {
        height: 38vw;
    }

    .current-race-name-charity {
        padding: 4px 60px;
    }

    .svg-container {
        left: 10px;
        bottom: 35px;
    }

    .svg-container svg {
        width: 40px;
    }
}

@media screen and (max-width: 650px) {
    .current-race-name-charity {
        padding: 4px 40px;
    }

    .svg-container {
        left: 5px;
        bottom: 30px;
    }

    .svg-container svg {
        width: 30px;
    }
}

@media screen and (max-width: 500px) {
    .current-race-name-charity {
        padding: 4px 24px;
    }

    .svg-container {
        left: 2px;
        bottom: 28px;
    }

    .svg-container svg {
        width: 25px;
    }
}

/* SET MIN FONT SIZES */
.current-race-name,
.current-race-button {
    font-size: 10px;
    line-height: 10px;
}

/* SCALE FONT SIZES */
@media screen and (min-width: 320px) {
    .current-race-name,
    .current-race-button {
        font-size: calc(10px + (14 - 10) * ((100vw - 320px) / (768 - 320)));
        line-height: calc(10px + (14 - 10) * ((100vw - 320px) / (768 - 320)));
    }
}

/* SET MAX FONT SIZES */
@media screen and (min-width: 768px) {
    .current-race-name,
    .current-race-button {
        font-size: 14px;
        line-height: 14px;
    }
}

/* SVG COLORS */
.icon-light-fill {
    fill: var(--icon_light_color);
}

.icon-dark-fill {
    fill: var(--icon_dark_color);
}

.icon-no-fill {
    fill: none;
}

.current-race-icons-container {
    position: absolute;
    top: 0;
    right: 0;
    width: 50px;
    margin-top: 5px;
    text-align: center;
}

.current-race-icon-text {
    font-size: 9px;
    font-family: 'Roboto', sans-serif;
    font-weight: 400;
    color: var(--icon_text_color);
}

.current-race-icon {
    width: 30px;
    margin: 0 auto;
    border-bottom: 1px solid var(--icon_separator_color);
    padding: 5px 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.current-race-icon:last-child {
    border-bottom: none;
}

.current-race-icon svg {
    width: 30px;
    max-height: 30px;
}

@media screen and (max-width: 1185px) {
    .current-race-icon {
        width: 26px;
    }

    .current-race-icon svg {
        width: 26px;
        max-height: 26px;
    }
}

@media screen and (max-width: 1100px) {
    .current-race-icon {
        width: 22px;
    }

    .current-race-icon svg {
        width: 22px;
        max-height: 22px;
    }
}

@media screen and (max-width: 1000px) {
    .current-race-icon {
        width: 20px;
    }

    .current-race-icon svg {
        width: 20px;
        max-height: 20px;
    }
}

@media screen and (min-width: 769px) and (max-width: 900px) {
    .current-race-icon {
        width: 22px;
        padding: 3px 0;
    }

    .current-race-icon svg {
        width: 22px;
        max-height: 22px;
    }
}

@media screen and (max-width: 585px) {
    .current-race-icon {
        width: 26px;
        padding: 3px 0;
    }

    .current-race-icon svg {
        width: 26px;
        max-height: 26px;
    }
}

@media screen and (max-width: 485px) {
    .current-race-icons-container {
        width: 44px;
        margin-top: 3px;
    }

    .current-race-icon {
        width: 22px;
        padding: 3px 0;
    }

    .current-race-icon svg {
        width: 22px;
        max-height: 22px;
    }
}

@media screen and (max-width: 410px) {
    .current-race-icons-container {
        width: 37px;
    }

    .current-race-icon-text {
        font-size: 7px;
    }

    .current-race-icon {
        width: 20px;
        padding: 2px 0;
    }

    .current-race-icon svg {
        width: 20px;
        max-height: 20px;
    }
}

@media screen and (max-width: 350px) {
    .current-race-icons-container {
        width: 37px;
    }

    .current-race-icon-text {
        font-size: 7px;
    }

    .current-race-icon {
        width: 17px;
        padding: 2px 0;
    }

    .current-race-icon svg {
        width: 17px;
        max-height: 17px;
    }
}
