
/* Button without colouring */
.Button {
    position: relative;
    overflow: hidden !important;
    border-width: 0;
    line-height: 1.5 !important;
    display: block;
    float: left;
    font-family: 'Roboto-Custom' !important;
    font-weight: 500 !important;
    font-size: .75rem;
    text-transform: uppercase;
    padding: 0.625rem 1.5rem 0.5rem !important;
    text-decoration: none;
    border-radius: 0.25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    box-shadow: 0 2px 5px 0 #0003, 0 2px 10px 0 #0000001a;
}

.Button span {
    display: flex;
    align-items: center;
    line-height: 1.5;
    margin: 0px;
}

/* Default Button theme */
.Button {
    color: #ffffff;
    background-color: #006a8d;
}

.Button:hover {
    color: #ffffff;
    background-color: #004e66;
    outline: none;
}

.Button:active {
    color: #ffffff;
    background-color: #002e3d;
}

/* Neutral Button - White/Grey theme */
.NeutralButton {
    color: #4f4f4f;
    background-color: #fbfbfb;
}

.NeutralButton:hover {
    color: #4f4f4f;
    background-color: #e8e8e8;
    outline: none;
}

.NeutralButton:active {
    background-color: #c8c8c8;
    outline: none;
}

/* Green Button - Action theme */
.GreenButton {
    color: #ffffff;
    background-color: #00B74A;
}

.GreenButton:hover {
    color: #ffffff;
    background-color: #009B3E;
    outline: none;
}

.GreenButton:active {
    background-color: #008234;
    outline: none;
}

/* Disabled button theme without colouring */
.ButtonDisabled {
    border-width: 0;
    line-height: 1.5;
    opacity: 0.5;
    display: block;
    float: left;
    font-family: 'Roboto-Custom';
    font-weight: 500;
    font-size: .75rem;
    text-transform: uppercase;
    padding: 0.625rem 1.5rem 0.5rem;
    text-decoration: none;
    border-radius: 0.25rem;
    /* hacky way to "disable" transitioning for disabled buttons. */
    transition: color 9999s ease-in-out,background-color 9999s ease-in-out,border-color 9999s ease-in-out,box-shadow 9999s ease-in-out;
    box-shadow: 0 2px 5px 0 #0003, 0 2px 10px 0 #0000001a;
}

.ButtonDisabled span {
    display: block;
    line-height: 1.5;
    margin:0px; 
}

.ButtonDisabled:hover {
    outline: none;
}

.ButtonDisabled:active {
    outline: none;
}

span.ripple {
    position: absolute;
    border-radius: 50%;
    transform: scale(0);
    animation: ripple 600ms linear;
    background-color: rgba(255, 255, 255, 0.7);
    z-index: 999999;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}