.op3-element[data-op3-element-type="button"] {
    max-width: 50%;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: stretch;
    margin-left: auto;
    margin-right: auto;

    > a {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        padding: 0 22px;
        background-color: transparent;
        text-decoration: none;
        text-align: center;
        box-shadow: none;
        font-size: 16px;
        color: #fff;
        overflow: hidden;
        background-clip: border-box;

        span {
            display: inline-block;
            min-width: 1em;
            font-size: inherit;
            font-weight: inherit;
            font-style: inherit;
            transition: font-size 0.2s ease;
        }

        .op3-icon {
            font-size: 100%;
            display: none;
        }

        .op3-divider {
            height: 100%;
            width: 8px;
            min-width: 0;
            display: none;
        }

        &:hover {
            filter: brightness(1.05);
            color: #fff;
        }

        &[data-op3-action="none"],
        &[data-op-action="none"] {
            cursor: default;
        }
    }

    .op3-text-container {
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content: center;

    }

    .op3-subtext {
        display: none;
        font-size: 16px;
        line-height: 1em;
    }

    [data-op3-contenteditable] {
        min-width: 0.5em;
    }

    .op3-background-ancestor {
        z-index: 0;

        [data-op3-background="overlay"] {
            z-index: -1;
        }

        [data-op3-border] {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            border-style: solid;
            border-color: rgba(0, 0, 0, 0.2);
            border-width: 0;
            border-radius: inherit;
            pointer-events: none;
            box-shadow: inset 0 0 0 rgba(0, 0, 0, 0.4);
        }
    }

    // Button spiner for form submit
    .submitting {
        display: inline-block;
        width: 24px;
        height: 24px;
        border: 3px solid rgba(255, 255, 255, 0.3);
        border-radius: 50%;
        border-top-color: #fff;
        animation: spin 1s infinite;
        -webkit-animation: spin 1s infinite;
    }

    @keyframes spin {
        to { -webkit-transform: rotate(360deg); }
    }

    @-webkit-keyframes spin {
        to { -webkit-transform: rotate(360deg); }
    }
}
