.button {
    position: relative;
    display: inline-block;
    border-width: 2px;
    border-style: solid;
    border-color: #023769;
    -moz-border-radius: 25px;
-webkit-border-radius: 25px;
border-radius: 25px;    padding: 8px 24px;
    cursor: pointer;
    -webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
}


.button {     background-color: transparent;
}

A.button {
    text-decoration: none;
}

.button-text, .button .tx, .button .txt, .button .txt * {
    font-size: 24px;
    line-height: 30px;
    color: #000000;
    white-space: nowrap;
    -webkit-transition: all .3s ease;
-moz-transition: all .3s ease;
-ms-transition: all .3s ease;
-o-transition: all .3s ease;
transition: all .3s ease;
    -webkit-touch-callout: none; -webkit-user-select: none; -khtml-user-select: none; -moz-user-select: none; -ms-user-select: none; user-select: none; }

.button.onClick, .button:active {
    top: 1px;
    cursor: progress;
    }


.button.-busy {
    cursor: default;
}
.button.-busy.onClick, .button.-busy:active  {
    top: 0px;
    }

.button .button-busy.sk-three-bounce {
    position: absolute;
    text-align: center;
    left: 0;
    right: 0;
    top: 0;
    bottom: 0;
    opacity: 0;
    -webkit-transition: opacity .3s ease;
-moz-transition: opacity .3s ease;
-ms-transition: opacity .3s ease;
-o-transition: opacity .3s ease;
transition: opacity .3s ease;

}
.button .button-busy.sk-three-bounce .sk-child {
    position: relative;
    top: 13px;
    width: 20px;
    height: 20px;
    margin: 0 2px;
    background-color: #023769;
    -moz-border-radius: 100%;
-webkit-border-radius: 100%;
border-radius: 100%;    display: inline-block;
    -webkit-animation: sk-three-bounce 700ms ease-in-out 0s infinite both; -moz-animation: sk-three-bounce 700ms ease-in-out 0s infinite both; -o-animation: sk-three-bounce 700ms ease-in-out 0s infinite both; animation: sk-three-bounce 700ms ease-in-out 0s infinite both;

    }
.button .button-busy.sk-three-bounce .sk-bounce1 {
    -webkit-animation-delay: -175ms; -moz-animation-delay: -175ms; -o-animation-delay: -175ms; animation-delay: -175ms;}
.button .button-busy.sk-three-bounce .sk-bounce2 {
    -webkit-animation-delay: -87ms; -moz-animation-delay: -87ms; -o-animation-delay: -87ms; animation-delay: -87ms;}
/* spinkit-three-bounce (7) */
@-webkit-keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); -ms-transform: scale(0); transform: scale(0); }40% { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } @-moz-keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); -ms-transform: scale(0); transform: scale(0); }40% { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } @-o-keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); -ms-transform: scale(0); transform: scale(0); }40% { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } } @keyframes sk-three-bounce { 0%, 80%, 100% { -webkit-transform: scale(0); -moz-transform: scale(0); -o-transform: scale(0); -ms-transform: scale(0); transform: scale(0); }40% { -webkit-transform: scale(1); -moz-transform: scale(1); -o-transform: scale(1); -ms-transform: scale(1); transform: scale(1); } }

.button.-busy .button-busy {
    opacity: 1;
}
.button.-busy .button-text {
    opacity: 0;
}




/* red button */
.button.-red {
    border-color: #ffffff;
    border-width: 4px;
    background-color: #eb333d;
    -moz-border-radius: 35px;
-webkit-border-radius: 35px;
border-radius: 35px;    padding: 12px 37px;
}
.button.-red .button-text, .button.-red .tx, .button.-red .txt, .button.-red .txt * {
    font-size: 26px;
    line-height: 37px;
    color: #ffffff;
    font-weight: bold;
}
.button.-red .button-busy.sk-three-bounce .sk-child {
        top: 20px;
    background-color: #ffffff;
}

/* blue button */
.button.-blue {
    border-color: #ffffff;
    border-width: 3px;
    background-color: #023769;
}
.button.-blue .button-text, .button.-blue .tx, .button.-blue .txt, .button.-blue .txt * {
    color: #ffffff;
    font-weight: normal;
}
.button.-blue .button-busy.sk-three-bounce .sk-child {
    background-color: #ffffff;
}


@media (max-width: 810px) {
        /*dec(f: 10%, s: 15%)*/
        .button {
    
    /*2*/ border-width: 1px;
    /*25*/ -moz-border-radius: 23px;
-webkit-border-radius: 23px;
border-radius: 23px;
    /*8 24*/ padding: 7px 20px;
}
    .button-text, .button .tx, .button .txt, .button .txt * {
    
    /*24*/ font-size: 22px;
    /*30*/ line-height: 26px;
}

    /* red button */
    .button.-red {
    
    /*4*/ border-width: 3px;
    /*35*/ -moz-border-radius: 32px;
-webkit-border-radius: 32px;
border-radius: 32px;
    /*12 37*/ padding: 10px 31px;
}
    .button.-red .button-text, .button.-red .tx, .button.-red .txt, .button.-red .txt * {
    
    /*26*/ font-size: 23px;
    /*37*/ line-height: 31px;
}

    /* blue button */
    .button.-blue {
    
    /*3*/ border-width: 2px;
}

        .button .button-busy.sk-three-bounce .sk-child {
    
    /*20*/ width: 17px;
    /*20*/ height: 17px;
}
    .button .button-busy.sk-three-bounce .sk-child {
                top: 12px;
    }
    .button.-red .button-busy.sk-three-bounce .sk-child {
                top: 17px;
    }
}

@media (max-width: 480px) {
        /*dec(f: 20%, s: 30%, s2: 40%)*/
        .button {
    
    /*2*/ border-width: 1px;
    /*25*/ -moz-border-radius: 20px;
-webkit-border-radius: 20px;
border-radius: 20px;
    /*8 24*/ padding: 6px 17px;
}
    .button-text, .button .tx, .button .txt, .button .txt * {
    
    /*24*/ font-size: 19px;
    /*30*/ line-height: 18px;
    font-weight: normal;
}

    /* red button */
    .button.-red {
    
    /*4*/ border-width: 3px;
    /*35*/ -moz-border-radius: 28px;
-webkit-border-radius: 28px;
border-radius: 28px;
    /*12 37*/ padding: 8px 26px;
}
    .button.-red .button-text, .button.-red .tx, .button.-red .txt, .button.-red .txt * {
    
    /*26*/ font-size: 21px;
    /*37*/ line-height: 22px;
}

    /* blue button */
    .button.-blue {
    
    /*3*/ border-width: 2px;
}

        .button .button-busy.sk-three-bounce .sk-child {
    
    /*20*/ width: 17px;
    /*20*/ height: 17px;
}
    .button .button-busy.sk-three-bounce .sk-child {
                top: 7px;
    }
    .button.-red .button-busy.sk-three-bounce .sk-child {
                top: 11px;
    }
}
/*
[pr]
    когда кнопка нахожится во врапперах с паддингами,
    то vw считается от всех ширины окна, и происходит
        выталкивание кнопкой размеры враппера

@media (max-width: 414px) {
    .button {
        display: block;
        text-align: center;
        border-width: 1px;
        width: 82vw;
        padding: 2vw 5vw;
        margin-left: auto;
        margin-right: auto;
    }
    .button.-red {
        border-width: 2px;
        width: 80vw;
        padding: 2vw 6vw;
    }
}
*/

@media (max-width: 414px) {
    .button {
        display: block;
        text-align: center;
        border-width: 1px;
        width: 82%;
        padding: 2vw 5%;
        margin-left: auto;
        margin-right: auto;
    }
    .button.-red {
        border-width: 2px;
        width: 80%;
        width: 100%;
        padding: 2vw 9%;
    }
}