/* Gate */

.welcome-index-index header.page-header {
    margin-bottom: 0;
}

.welcome-index-index main#maincontent {
    max-width: 100%;
    padding: 0;
}

.trust-signal-wrapper {
    background: var(--color-trust-signal-background);
    margin-top: 0;
}

.gate {
    width: calc(100% - 4rem);
    max-width: 80rem;
    margin: 2rem auto;
    height: auto;
    text-align: center;
}

.gate .form .fieldset {
    display: flex;
    gap: 1rem;
    flex-direction: column;
}

.gate .fieldset > * {
    width: 100%;
}

.gate h3 {
    color: var(--color-branding-primary);
    text-align: center;
    margin-bottom: 1rem;
}

.gate form .input-wrapper {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.gate form input,
.gate form select {
    height: 6rem;
    border: unset;
    background: var(--color-light-gray);
    text-align: center;
}

.gate form input.submit {
    border: unset;
    background: var(--color-branding-secondary);
    color: #fff;
    height: 6rem;
    display: block;
}

.gate form input.submit:hover {
    border: unset;
    background: var(--color-branding-primary);
    color: #fff;
    transition: all .25s ease-in-out;
}

.gate ::placeholder {
    color: #000 !important;
    opacity: 1; /* Firefox */
}

.gate input:focus::placeholder {
    color: transparent !important;
}

.gate .copy > * {
    width: 100%;
}

.gate-wrapper .left span {
    color: var(--color-branding-primary);
}

.gate-wrapper  .trust-signal-wrapper {
    background: unset;
}


@media only screen and (min-width: 768px) {

    .welcome-index-index main#maincontent {
        max-width: 100%;
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .gate-wrapper {
        display: flex;
        flex-direction: row;
        max-width: var(--width-content-max);
        margin: auto;
        gap: 5rem;
        padding: 0 2rem;
        margin-top: 5rem;
    }


    .gate-wrapper .hp-top-banner {
        display: flex;
        flex-direction: column-reverse;
    }

    .gate-wrapper > .right {
        display: flex;
        justify-content: center;
        flex-direction: column;
        width: 50%;
    }

    .gate-wrapper > .left {
        width: 50%;
    }

    .gate {
        width: 100%;
    }

    .gate-wrapper .hp-top-banner .img img {
        max-height: 100%;
        object-fit: contain;
    }

    .gate h2 {
        margin-top: 0;
    }

    .gate .copy {
        display: flex;
        flex-direction: column;
        height: fit-content;
        justify-content: center;
        margin: 0;
    }

    .gate .form .fieldset {
        display: flex;
        gap: 1rem;
        flex-direction: column;
    }

    .gate form .input-wrapper {
        display: flex;
        flex-direction: row;
        gap: 1rem;
    }

    .gate-wrapper .trust-signal-inner > * {
        padding: 2rem;
        border: 1px solid var(--color-mid-gray);
    }

    div#fueltype-error,
    div#code-error {
        position: absolute;
        bottom: 0;
    }

    .welcome-index-index form#form-validate {
        position: relative;
    }

    div#fueltype-error, div#code-error {
        position: absolute;
        bottom: -1rem;
    }

}
