.btn {
    display: inline-block;
    padding: 0.5em 1em;
    margin: 0;
    vertical-align: middle;

    font-size: 1em;
    font-weight: 400;
    line-height: 1.4em;
    text-align: center;
    white-space: nowrap;
    text-decoration: none;

    background: $colour_off_white;
    border: none;
    color: $colour_black;
    border-radius: 0.3em;

    -ms-touch-action: manipulation;
    touch-action: manipulation;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;

    &:hover,
    &:focus {
        background-color: darken($colour_off_white, 5%);
        text-decoration: none;
    }
}

.btn--primary {
    background: $colour_brand;
    color: #fff;

    &:hover,
    &:focus {
        background-color: darken($colour_brand, 5%);
    }
}

.btn--danger {
    background: $color_mysoc_red;
    color: #fff;

    &:hover,
    &:focus {
        background-color: darken($color_mysoc_red, 5%);
    }
}

.btn--small {
    font-size: 0.8em;
    padding: 0.3em 0.6em;
}

.form-control {
    display: block;
    width: 100%;
    height: 2.4em;
    padding: 0.5em 0.8em;

    font-size: 1em;
    line-height: 1.4em;

    background: #fff;
    color: $colour_black;
    border: 1px solid #bbb;
    border-radius: 0.3em;

    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);

    &[type="radio"],
    &[type="checkbox"] {
        display: inline-block;
        padding: 0;
        width: auto;
        height: auto;
        margin-right: 0.5em;
        vertical-align: 0.05em;
    }
}

.form-control--inline {
    display: inline-block;
    width: auto;
    margin: 0 0.5em;
    vertical-align: middle;
}

.homepage-try {
    input[type="text"] {
        @extend .form-control;
        @extend .form-control--inline;
        text-transform: uppercase;
    }

    .btn {
        @extend .btn--primary;
    }
}
