﻿shw-submit-button {
    display: inline-block;
}

.shw-submit-button-wrapper {
    position: relative;
    margin: 0.5em 0;
}

.shw-submit-button-wrapper md-progress-circular {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    margin: auto;
}

.shw-solid,
.shw-submit-button-wrapper .shw-submit-button {
    background: #767676;
    border-radius: 5px;
    color: white;
    padding: 2px 15px;
    border: none;
    font-weight: bold;
    text-transform: none;
    letter-spacing: 1px;
    /*border: 2px solid #D1E3F2;*/
    min-width: 200px;
    min-height: 40px;
    transition: color .4s cubic-bezier(.25,.8,.25,1), background-color .4s cubic-bezier(.25,.8,.25,1), border-color .4s cubic-bezier(.25,.8,.25,1);
}

.smaller-submit .shw-submit-button {
    min-width: 120px;
}

.shw-solid {
    background: #155A92;
    text-decoration: none;
    display: block;
    line-height: 34px;
}

.shw-solid md-icon {
    color: #fff;
    transition: color .4s cubic-bezier(.25,.8,.25,1);
}

.shw-submit-button-wrapper .shw-submit-button:disabled,
.shw-submit-button-wrapper .submit-processing {
    cursor: not-allowed;
    background: #d0d0d0 !important;
}

.shw-solid:focus md-icon,
.shw-solid:hover md-icon {
    color: #155A92;
}

.shw-solid:focus,
.shw-solid:hover,
.shw-submit-button-wrapper .shw-submit-button:not([disabled]):focus,
.shw-submit-button-wrapper .shw-submit-button:not([disabled]):hover,
.shw-submit-button-wrapper .submit-processing {
    border: 2px solid #767676;
    outline: none;
    color: #767676;
    padding: 0 13px;
    background: #fff;
}

.shw-submit-button-wrapper.blue md-progress-circular.md-ShwTheme-theme path {
    stroke: #155A92;
}

.shw-submit-button-wrapper.blue .shw-submit-button {
    background: #155A92;
}

.shw-solid:focus,
.shw-solid:hover,
.shw-submit-button-wrapper.blue .shw-submit-button:not([disabled]):focus,
.shw-submit-button-wrapper.blue .shw-submit-button:not([disabled]):hover,
.shw-submit-button-wrapper.blue .submit-processing {
    border-color: #155A92;
    color: #155A92;
    background: #fff;
}

.shw-solid:active,
.shw-submit-button-wrapper.blue .shw-submit-button:not([disabled]):active {
    background: #D1E3F2;
}

.shw-submit-button-wrapper.green md-progress-circular.md-ShwTheme-theme path {
    stroke: #106935;
}

.shw-submit-button-wrapper.green .shw-submit-button {
    background: #106935;
}

.shw-submit-button-wrapper.green .shw-submit-button:not([disabled]):focus,
.shw-submit-button-wrapper.green .shw-submit-button:not([disabled]):hover,
.shw-submit-button-wrapper.green .submit-processing {
    border-color: #106935;
    color: #106935;
    background: #fff;
}

.shw-submit-button-wrapper.green .shw-submit-button:not([disabled]):active {
    background: #D1E3F2;
}

.shw-submit-button-wrapper.grey .shw-submit-button {
    border: 2px solid #767676;
    background: #FFF;
    color: #555;
}

.shw-submit-button-wrapper.grey md-progress-circular.md-ShwTheme-theme path {
    stroke: #fff;
}

.shw-submit-button-wrapper.grey .shw-submit-button:not([disabled]):focus,
.shw-submit-button-wrapper.grey .shw-submit-button:not([disabled]):hover,
.shw-submit-button-wrapper.grey .submit-processing {
    padding: 2px 13px;
    background: #767676;
    color: #fff;
}

.shw-submit-button-wrapper.grey .shw-submit-button:not([disabled]):active {
    background: #F5F5F5;
}
