/* Lay the buttons out in a row */
#applications_button_wrapper .wpb_wrapper {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 12px;
    align-items: center;
}

#applications_button_wrapper .tm-button-wrapper {
    display: inline-block !important;
    flex: 0 0 auto !important;
    width: auto !important;
    margin: 0 !important;
}

/* Stack on mobile */
@media (max-width: 767px) {
    #applications_button_wrapper .wpb_wrapper {
        flex-direction: column !important;
        align-items: flex-start !important;
    }
}

/* Button colors */
#btn1 > a {
    border-color: #0b6e4f;
    background-color: #0b6e4f;
}

#btn1 > a:hover {
    border-color: #08523b;
    background-color: #08523b;
}

#btn2 > a {
    border-color: #c0392b;
    background-color: #c0392b;
}

#btn2 > a:hover {
    border-color: #962d22;
    background-color: #962d22;
}

#btn3 > a {
    border-color: #002f5f;
    background-color: #002f5f;
}

#btn3 > a:hover {
    border-color: #001f40;
    background-color: #001f40;
}

#btn4 > a {
    border-color: #d68910;
    background-color: #d68910;
}

#btn4 > a:hover {
    border-color: #a96c0c;
    background-color: #a96c0c;
}