/*
   This stylesheets concerns the list of available sponsorships page
   /templates/pages/my2_sponsorships.xml
*/

.sponsorships-foreground {
    position: relative;
}

.sponsorships-background {
    position: absolute;
    top: 0;
    z-index: -1;
}

#sponsorships-title-icon {
    width: 10rem;
    height: 10rem;
}

.gender-select-container {
    width: 16rem;
}

.gender-select-container input {
    display: none;
}

.gender-select-button {
    text-align: center;
    align-content: center;
    color: var(--mid-grey);
    font-weight: bold;

    --height: 2.6rem;
    height: var(--height);
    width: 100%;

    --border-width: 1px;
    border: var(--border-width) solid var(--mid-grey);
    margin-left: calc(var(--border-width) * -1);

    transition: 0.1s all linear;
    cursor: pointer;
}

.gender-select-container input:checked + .gender-select-button {
    z-index: 1;
    color: var(--low-black);
    border: var(--border-width) solid var(--mid-yellow);
    background-color: var(--mid-yellow);
}

.gender-select-container input:first-child + .gender-select-button {
    margin-left: 0;
    border-top-left-radius: calc(var(--height) / 2);
    border-bottom-left-radius: calc(var(--height) / 2);
}

.gender-select-button:last-child {
    border-top-right-radius: calc(var(--height) / 2);
    border-bottom-right-radius: calc(var(--height) / 2);
}

i.results-icon {
    width: 1em;
    height: 1em;
}

.sponsorships-column {
    max-width: calc(min(1110px, 100% - 25px));
    margin-left: auto;
    margin-right: auto;
}

.sponsorship-filter {
    max-width: 18rem;
    margin-top: auto;
}

.sponsorships-results-content .animate-in {
    transform: scale(0);
    transition: 0.4s cubic-bezier(0.18, 0.89, 0.32, 1.28);
}

.sponsorships-results-content .animate-in.show {
    transform: scale(1);
}
