/**
 * @file
 * Styles for buttons.
 */

.hfc-button a {
    display: block;
    color: inherit;
    border-bottom: none;
}

.hfc-button a:hover,
.hfc-button a:focus {
    background-color: transparent;
}

button {
    transition: background 0.2s ease;
}

a.hfc-button,
.button-action {
    position: relative;
    display: inline-block;
    margin: 0.4em 0;
    padding: 0.2em 1em 0.3em;
    transition: background 0.2s ease;
    color: var(--secondary-branding-color);
    border: 3px solid var(--secondary-branding-color);
    border-radius: 999px;
    font-family: "Roboto Slab", "Work Sans", "Open Sans", sans-serif;
    font-weight: 500;
}

a.hfc-button.wide {
    width: 13em;
    text-align: center;
}

a.hfc-button.big {
    padding: 0.5em 1.5em;
}

button.form-submit {
    position: relative;
    display: inline-block;
    margin: 0.4em 0.5em 0.4em 0;
    padding: 0.125em 1em;
    transition: background 0.2s ease;
    color: var(--secondary-branding-color);
    border: 3px solid var(--secondary-branding-color);
    border-radius: 999px;
    font-family: "Roboto Slab", "Work Sans", "Open Sans", sans-serif;
    font-weight: 500;
}

a.hfc-button:hover,
a.hfc-button:focus,
.button-action:hover,
.button-action:focus,
button.form-submit:hover {
    text-decoration: none;
    color: var(--white);
    border: 3px solid var(--secondary-branding-color);
    background-color: var(--secondary-branding-color);
}
