/* Button */

input[type="submit"],
input[type="reset"],
input[type="button"],
.button {
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-appearance: none;
    appearance: none;
    box-sizing: border-box;
    border-radius: 20px;
    cursor: pointer;
    display: inline-block;
    font-size: 16px;
    font-weight: normal !important;
    height: 36px;
    line-height: 35px;
    outline: 0;
    padding: 0 20px;
    min-width: 125px;
    position: relative;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    background-color: var(--button-color);
    color: #fff !important;
    -moz-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -moz-transform 0.2s ease;
    -webkit-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -webkit-transform 0.2s ease;
    -ms-transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, -ms-transform 0.2s ease;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.2s ease;
    border: 1px solid var(--button-color);
    text-decoration: none !important;
}

input[type="submit"].big,
input[type="reset"].big,
input[type="button"].big,
.button.big {
    height: 46px;
    line-height: 46px;
}

div.button {
    display: block;
}

input[type="submit"].secondary,
input[type="reset"].secondary,
input[type="button"].secondary,
.button.secondary {
    border: 1px solid var(--button-color);
    /*color: var(--pallete5);*/
    color: var(--button-color) !important;
    background-color: transparent;
}

.button .icon {
    margin-right: 0.5em;
}

.button.small {
    font-size: 0.9em;
    line-height: 2em;
    padding: 0 1em;
    height: calc(2em + 2px);
    min-width: unset;
}

.button.notext .icon {
    margin: 0em;
}

input[type="submit"]:after,
input[type="reset"]:after,
input[type="button"]:after,
.button:after {
    -moz-transform: scale(0.25);
    -webkit-transform: scale(0.25);
    -ms-transform: scale(0.25);
    transform: scale(0.25);
    -moz-pointer-events: none;
    -webkit-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
    -moz-transition: opacity 0.2s ease, -moz-transform 0.2s ease;
    -webkit-transition: opacity 0.2s ease, -webkit-transform 0.2s ease;
    -ms-transition: opacity 0.2s ease, -ms-transform 0.2s ease;
    transition: opacity 0.2s ease, transform 0.2s ease;
    background: #fff;
    border-radius: 20px;
    content: '';
    height: 100%;
    left: 0;
    opacity: 0;
    position: absolute;
    top: 0;
    width: 100%;
}

input[type="submit"].icon:before,
input[type="reset"].icon:before,
input[type="button"].icon:before,
.button.icon:before {
    margin-right: 0.75em;
}

input[type="submit"].disabled,
input[type="reset"]:disabled,
input[type="button"]:disabled,
.button:disabled {
    cursor: default;
    opacity: 0.5;
    -moz-pointer-events: none;
    -webkit-pointer-events: none;
    -ms-pointer-events: none;
    pointer-events: none;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover,
.button:hover {

}

input[type="submit"]:hover:after,
input[type="reset"]:hover:after,
input[type="button"]:hover:after,
.button:hover:after {
    opacity: 0.1;
    -moz-transform: scale(1);
    -webkit-transform: scale(1);
    -ms-transform: scale(1);
    transform: scale(1);
}

input[type="submit"]:hover:active,
input[type="reset"]:hover:active,
input[type="button"]:hover:active,
.button:hover:active {
}

input[type="submit"]:hover:active:after,
input[type="reset"]:hover:active:after,
input[type="button"]:hover:active:after,
.button:hover:active:after {
    opacity: 0.1;
}