@media (max-width: 576px) {
    .col-12 {
        flex: 0 0 100%;
        max-width: 100%;
        padding-left: 40px;
    }
}

.flex-row-container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
}

.flex-row-item {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 1
}

.double-column {
    display: flex;
    flex-direction: column;
    flex-basis: 100%;
    flex: 2
}

.gridBox {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    column-gap: 25px;
}


.apu-contact-form {
    width: 968px;
    max-width: 100%;
    margin-left: auto;
    margin-right: auto;
    position: relative;
}

.form-item-group .form-item {
    padding: 0px;
    gap: 10px;
    width: 300px;
    min-height: 114px;
    height: auto;
}

.form-item-group .form-item.big {
    min-height: 317px !important;
}

.apu-contact-form input:not([type=button]):not([type=submit]), .apu-contact-form select {
    padding: 12px;
    gap: 8px;
    width: 300px;
    height: 56px;
    background: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 5px;
    align-self: stretch;
}

.apu-contact-form .text-area-field-wrapper textarea {
    padding: 12px;
    gap: 8px;
    width: 300px;
    height: 259px;
    background: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 5px;
}

.form-item .label {
    width: 300px;
    height: 22px;
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-size: 18px;
    line-height: 120%;
}

.agree-text {
    margin-top: 15px;
}

.agree-text p {
    font-family: 'Barlow';
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
}


/* H2 - Desktop */
.related h2 {
    font-family: 'Barlow Condensed';
    font-style: normal;
    font-weight: 700;
    font-size: 48px;
    line-height: 100%;
    color: #000000;
}

/* button */
.btn.continue {
    width: 172px;
    height: 54px;
}

.btn.button-size-large {
    box-sizing: border-box;
    width: 300px;
    height: 54px;
    margin-top: 10px;
    margin-bottom: 15px;
}

.btn.button-size-large {
    background: url(../assets/images/icons/submit-icon.png) #0ff no-repeat 185px center;
    line-height: 1;
}

.amu .btn.button-size-large {
    background: url(../assets/images/icons/submit-icon.png) #ffc600 no-repeat 185px center;
    line-height: 1;
}

.btn.continue span {
    width: 14px;
    height: 13px;
    display: inline-block;
    background: url('../assets/images/icons/submit-icon.png') no-repeat;
    margin-left: 5px;
}

span.required {
    display: inline-block;
    color: #FF0000;
    margin-left: -10px;
    padding-right: 3px;
}

small.optional {
    color: #6c757d;
}

#contact-info .form-requirement {
    visibility: hidden;
    max-height: 0;
    padding: 0 .5rem;
    overflow: hidden;
    transition: max-height .35s,padding .35s
}

#contact-info .form-requirement.form-req-active {
    visibility: visible;
    max-height: 100px;
    padding-top: .25rem;
    padding-bottom: .25rem
}

#contact-info .form-requirement {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

#contact-info .form-req-active {
    border: 1px solid #dc3545 !important
}

@media (max-width: 576px) {
    .apu-contact-form {
        width: 100% !important;
        height: 100% !important;
    }

    .d-xsm-none {
        display: none !important;
    }
}

#assistance-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#assistance-spinner {
    border: 16px solid #f3f3f3;
    border-top: 16px solid #3498db;
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

p.assistance-error-message {
    font-weight: bold;
    background-color: #ff0000;
    padding: 10px;
    color: #fff;
    border: 2px solid #cc0000;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.card-gradient-background {
    color: #000;
    background-color: #0ff;
    background-image: linear-gradient(180deg,#0ff 0,#ff0 100%) !important;
}

.card-dark-gradient-background {
    color: #fff;
    background-color: #000;
    background-image: linear-gradient(180deg,#000 0,#53565a 100%) !important;
}

.btn-primary > svg {
    stroke: #fff;
    fill: #fff;
}

.btn-primary:hover > svg, .btn-primary:focus > svg {
    stroke: #000;
    fill: #000;
}

.apu-contact-form {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    margin-bottom: 2rem;
}

#htmlForm {
    width: 100%;
    max-width: 1200px;
}

.grid-form {
    display: block;
    width: 100%;
}

.grid-form {
    display: grid;
    grid-template-rows: auto;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media only screen and (min-width: 620px) {
    .grid-form {
        display: grid;
        grid-template-rows: min-content min-content min-content min-content 1fr 55px;
        grid-template-columns: 1fr 1fr;
        gap: 1rem;
    }

    .field-summary {
        grid-column: 2 / 3;
        grid-row: 4 / 6;
    }

    .field-terms {
        grid-column: 1 / 2;
        grid-row: 5 / 7;
    }

    .field-submit {
        grid-column: 2 / 3;
        grid-row: 6 / 7;
    }
}

@media only screen and (min-width: 800px) {
    .grid-form {
        display: grid;
        grid-template-rows: min-content min-content min-content 1fr 55px;
        grid-template-columns: 1fr 1fr 1fr;
        gap: 1rem;
    }

    .field-summary {
        grid-column: 3 / 4;
        grid-row: 2 / 5;
    }

    .field-terms {
        grid-column: 1 / 3;
        grid-row: 4 / 6;
    }

    .field-submit {
        grid-column: 3 / 4;
        grid-row: 5 / 6;
    }
}

.grid-form .form-item {
    display: flex;
    flex-flow: column;
    width: 100%;
    height: auto;
}

    .grid-form .form-item > *, .grid-form .form-item > select > * {
        flex: 0 auto;
        min-width: 250px;
    }

    .grid-form .form-item .text-input-field-wrapper, .grid-form .select-input-wrapper, .grid-form .text-area-field-wrapper {
        display: flex;
        flex-flow: column;
    }

    .grid-form .form-item .label {
        font-family: inherit;
        font-style: normal;
        font-weight: 400;
        font-size: 18px;
        line-height: 120%;
    }

.grid-form input:not([type="button"]):not([type="submit"]), .grid-form select {
    height: 56px;
    padding: 12px;
    background: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 5px;
    align-self: stretch;
}

.grid-form .text-area-field-wrapper {
    height: 100%;
}

.grid-form textarea {
    height: 100%;
    padding: 12px;
    background: #FFFFFF;
    border: 2px solid #000000;
    border-radius: 5px;
    align-self: stretch;
}

.grid-form .form-requirement.form-req-active {
    max-height: none;
    overflow: visible;
    display: block;
}

.grid-form .form-requirement {
    color: #990f04;
    background-color: #fcd8d5;
    font-size: .85rem;
    font-family: inherit;
    font-weight: 400;
    line-height: 1.5;
    box-sizing: border-box;
    width: 100%;
    padding: 0.2rem 0.85rem;
    border: 0;
    vertical-align: baseline;
    text-shadow: none;
    margin: 0;
    max-height: 0;
    overflow: hidden;
    display: none;
}

.field-terms p {
    font-family: inherit;
    font-style: normal;
    font-weight: 400;
    font-size: 14px;
    line-height: 120%;
}