h2 {
    text-align: center;
    text-transform: uppercase;
    letter-spacing: .15em;
}
.error-message p {
    font-weight: 300;
    color: #f00;
}
.modal-icon-red, .modal-error-message {
    color: #f00;
}
.modal-title {
    margin-bottom: 0;
}
#reference {
    margin-bottom: 0.75rem;
}

#top-banner {
    background-image: url("https://cdn.vanderloc.com/images/pages/trade-partners/gilded-vessel-sink-banner.jpg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    position: relative;
    height: 50vw;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#top-banner .banner-content {
    display: none;
    position: absolute;
    bottom: 0;
    color: white;
}
#top-banner .button-container {
    margin-top: 20px;
    display: none;
}
#top-banner .button-container .btn {
    margin-right: 10px;
    margin-bottom: 10px;
}

.intro-section {
    background: #eee;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.intro-section h2 {
    font-size: 40px;
    line-height: 50px;
    letter-spacing: .15rem;
}
.intro-section-content {
    margin: auto;
    padding: 30px 40px;
    text-align: center;
}
.intro-section-content .button-container .btn {
    margin-bottom: 10px;
}

#why-choose-vanderloc {
    padding: 40px 30px 60px;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#why-choose-vanderloc h2 {
    margin-bottom: 20px;
}
#why-choose-vanderloc .button-container {
    text-align: center;
}

.tpa-block-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin: 0 auto 40px;
    max-width: 1200px;
}
.tpa-block {
    flex: 0 1 1px;
    padding: 30px;
    min-width: 350px;
    text-align: center;
    box-shadow: 0px 4px 10px rgb(0 0 0 / 20%);
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.tpa-block-icon {
    font-size: 3rem;
    line-height: 1;
    margin: 10px auto 20px;
    color: #ad8337;
}
.tpa-block hr {
    border-top: 2px solid #ad8337;
    margin: 20px auto;
    width: calc(100% - 20px);
    opacity: 1;
}

#client-testimonials {
    padding: 0 20px 30px;
}

#how-to {
    background: black;
    color: white;
    padding: 30px;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
.how-to-container {
    margin: 20px auto;
    max-width: 1200px;
}
#how-to h2 {
    margin-bottom: 20px;
}
#how-to hr {
    background-color: #ad8337;
    opacity: 1;
    margin: 0 auto 20px;
    height: 2px;
}
#how-to p {
    margin: 0 auto 20px;
}

/* Form Styles */

#trade-partner-application {
    padding: 30px 30px 40px;
}
#tp_application {
    max-width: 1200px;
}
#tp_application h4 {
    margin-top: 30px;
}
#tp_application .form-row {
    column-gap: 10px;
}
#tp_application .form-row .form-group {
    flex: 1;
}
#tp_application input[type="submit"] {
    margin-top: 20px;
}
#tp_application input[type="submit"].loading {
    background: url(/images/loading-gold.gif) no-repeat center right;
    background-size: 2rem;
    background-position: center center;
    color: transparent !important;
}
.form-group input, .form-group select {
    margin-bottom: 10px;
    background-color: #eee !important;
    border: none;
    border-radius: 0;
}
.form-group select {
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='currentColor' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6 9 12 15 18 9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 1rem center;
    background-size: 1em;
    width: 100%;
    padding: 0.5rem 1rem;
}
.form-group input:focus, 
.form-group input:focus-visible,
.form-group select:focus, 
.form-group select:focus-visible  {
    box-shadow: none;
    outline: none;
}
input:focus, input:focus-visible {
    outline: none;
}
input[type="checkbox"] {
    accent-color: black;
    width: 1.1rem;
}
.drag-drop-file-uploader {
    margin-bottom: 20px;
    width: 100%;
    height: 200px;
    border: 2px dashed #000;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    cursor: pointer;
}
.drag-drop-file-uploader i {
    font-size: 2rem;
    margin-bottom: .5rem;
}
.drag-drop-file-uploader p {
    font-weight: 400;
    text-align: center;
}
.drag-drop-file-uploader input[type="file"] {
    cursor: pointer;
    position: absolute;
    opacity: 0;
    height: 100%;
    width: 100%;
}
.file-upload-message {
    font-weight: 400;
}
.file-upload-message a {
    color: #ad8337;
    font-weight: 500;
}

.application-message p {
    text-align: center;
}
.application-message p a {
    font-weight: 600;
    color: #ad8337;
}
.application-message .button-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 10px;
}
#tpa-samples {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    gap: 5px;
    margin-bottom: 30px;
}
.tpa-sample-option {
    display: flex;
    align-items: center;
    border: 2px solid #ccc;
    flex: 0 0 calc(50% - 10px);
    padding: 5px;
}
.tpa-sample-option input[type="checkbox"] {
    flex-shrink: 0;
    order: 1;
    appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #ccc;
    background-color: #fff;
    position: relative;
    cursor: pointer;
    margin-right: 5px;
    margin-left: 0px;
}
.tpa-sample-option input[type="checkbox"]:checked {
    border-color: #ad8337;
    background-color: #ad8337;
}
.tpa-sample-option input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 6px;
    width: 5px;
    height: 10px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.tpa-sample-image {
    order: 2;
    max-width: 30px;
    height: auto;
    object-fit: cover;
    margin-right: 10px;
}
.tpa-sample-option.disabled {
    opacity: 0.5;
    pointer-events: none;
}
.tpa-sample-label {
    order: 3;
    font-size: 10px;
    text-overflow: ellipsis;
    overflow: hidden;
}
.tpa-sample-option:has(input[type="checkbox"]:checked) {
    border-color: #ad8337;
}

#why-vanderloc {
    background-image: url("https://cdn.vanderloc.com/images/pages/explore/trade-partners-banner.jpg");
    background-position: center bottom;
    background-size: cover;
    height: 50vw;
    display: flex;
    justify-content: end;
    align-items: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#why-vanderloc .banner-content {
    color: white;
    display: none;    
    width: min-content;
}
#why-vanderloc .banner-content h2 {
    text-transform: inherit;
    width: max-content;
}
#why-vanderloc .banner-content p {
    font-weight: 300;
}

#why-vanderloc-mobile-content {
    padding: 30px 30px 40px;
    text-align: center;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
#why-vanderloc-mobile-content p {
    font-weight: 300;
}

@media (min-width: 576px) {
    #top-banner-mobile-content {
        padding: 40px;
    }
    .tpa-sample-option input[type="checkbox"] {
        margin-right: 15px;
        margin-left: 5px;
    }
    .tpa-sample-image {
        max-width: 50px;
    }
    .tpa-sample-label {
        font-size: 12px;
    }
    #why-choose-vanderloc {
        padding: 30px 40px 60px;
    }
    #trade-partner-application {
        padding: 30px 40px 40px;
    }
    #why-vanderloc-mobile-content {
        padding: 40px 40px 50px;
    }
}

@media (min-width: 768px) {
    #top-banner {
        height: 40vw;
    }
    .intro-section-content {
        padding: 40px 60px;
    }
    .intro-section-content h1 {
        display: none;
    }
    .intro-section-content p {
        font-weight: 500;
    }
    #tpa-samples {
        gap: 10px;
    }
    .tpa-sample-image {
        max-width: 60px;
        margin-right: 15px;
    }
    .tpa-sample-option input[type="checkbox"] {
        margin-right: 20px;
        margin-left: 10px;
    }
    #why-choose-vanderloc {
        padding: 50px 60px 60px;
    }
    .tpa-block-container {
        gap: 30px;
        margin: 0 40px 40px;
    }
    .tpa-sample-option {
        padding: 10px;
    }
    .tpa-sample-label {
        font-size: 20px;
    }
    #client-testimonials {
        padding: 0 60px 40px;
    }
    #how-to {
        padding: 20px 60px 60px;
    }
    #trade-partner-application {
        padding: 50px 60px 60px;
    }
    #tp_application .form-row {
        display: flex;
    }
    .application-message .button-container {
        flex-direction: row;
    }
    #why-vanderloc {
        height: 40vw;
    }
    #why-vanderloc .banner-content {
        padding: 60px;
    }
}

@media (min-width: 992px) {
    #top-banner {
        height: 40vw;
    }
    #top-banner .banner-content {
        display: block;
        padding: 80px;
    }
    .intro-section {
        display: none;
    }
    .tpa-sample-image {
        max-width: 70px;
    }
    #why-choose-vanderloc h2 {
        margin-bottom: 30px;
    }
    .tpa-block-container {
        margin: 0 60px 40px;
    }
    .tpa-sample-option {
        flex: 0 0 calc(33.33% - 8px);
    }
    #why-choose-vanderloc {
        padding: 50px 80px 80px;
    }
    #client-testimonials {
        padding: 0 80px 60px;
    }
    #how-to {
        padding: 40px 80px 60px;
    }
    #trade-partner-application {
        padding: 50px 80px 60px;
    }
    #why-vanderloc .banner-content {
        padding: 80px;
    }
}

@media (min-width: 1200px) {
    #top-banner .banner-content {
        padding: 60px 100px;
        width: 75%;
    }
    #top-banner .button-container {
        display: flex;
    }
    .intro-section-content {
        padding: 60px 100px;
    }
    .intro-section-content .button-container {
        display: none;
    }
    .tpa-block-container {
        margin: 0 auto 40px;
    }
    .tpa-sample-option {
        flex: 0 0 calc(25% - 8px);
    }
    #client-testimonials {
        padding: 0 100px 60px;
    }
    #how-to {
        padding: 60px 100px 80px;
    }
    #trade-partner-application {
        padding: 60px 100px 80px;
    }
    #why-vanderloc .banner-content {
        display: block;
        padding: 100px;
    }
    #why-vanderloc .banner-content p {
        font-size: 16px;
        line-height: 28px;
    }
    #why-vanderloc-mobile-content {
        display: none;
    }
}

@media (min-width: 1400px) {
    #top-banner .banner-content {
        padding: 100px;
    }
    .intro-section-content {
        max-width: 1200px;
    }
    #client-testimonials {
        max-width: 1400px;
        margin: auto;
    }
    #tp_application {
        margin: 0 auto 0;
    }
    #why-vanderloc {
        height: 30vw;
    }
    #why-vanderloc .banner-content {
        width: 600px;
    }
    #why-vanderloc .banner-content p {
        font-size: 20px;
        line-height: 34px;
    }
}