.radiantthemes-custom-button.element-six {
    padding: 0;
    margin: 0;
    transition: all .3s ease;
    z-index: 1;
    position: relative;
}

.radiantthemes-custom-button.element-six .button-element6-background {
    display: inline-flex;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6 {
    color: #3D59E8;
    border: none;
    vertical-align: middle;
    position: relative;
    z-index: 1;
    -webkit-backface-visibility: hidden;
    -moz-osx-font-smoothing: grayscale;
    margin: 0;
    padding: 0;
    display: inline-block;
    background-color: transparent;
    transition: all 300ms cubic-bezier(0.65, 0.21, 0.43, 0.87);
}
.radiantthemes-custom-button.element-six .button-element6-background .button-element6:hover {
    transition-delay: .1s;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6:hover:before {
    transition-delay: 0s;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6:hover:after {
    transition-delay: .09s;
}
.radiantthemes-custom-button.element-six .button-element6-background .button-element6:before, 
.radiantthemes-custom-button.element-six .button-element6-background .button-element6:after {
    content: '';
    position: absolute;
    transition: inherit;
    z-index: -1;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:before, 
.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:after {
    left: 0;
    height: 0;
    width: 100%;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:before {
    top: 0;
    border-top: 0;
    border-bottom: 0;    
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:after {
    bottom: 0;
    height: 0;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:hover:before,
.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:hover:after {
    height: 100%;
}


/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6:focus {
    outline: none;
}

.radiantthemes-custom-button.element-six .button-element6-background .button-element6 > span {
    vertical-align: middle;
}*/
/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect {
    overflow: hidden;
    padding: 0;
    -webkit-transition: border-color 0.3s, background-color 0.3s;
    transition: border-color 0.3s, background-color 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}*/
/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect::after {
    content: attr(data-text);
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    opacity: 0;
    color: #fff;
    -webkit-transform: translate3d(0, 25%, 0);
    transform: translate3d(0, 25%, 0);
}*/

/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect > span {
    display: block;
}*/

/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect::after,
.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect > span {
    padding: 14px 44px;
    -webkit-transition: -webkit-transform 0.3s, opacity 0.3s;
    transition: transform 0.3s, opacity 0.3s;
    -webkit-transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
    transition-timing-function: cubic-bezier(0.2, 1, 0.3, 1);
}*/

/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:hover {
    background-color: #3D59E8;
}*/

/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:hover::after {
    opacity: 1;
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);
}*/

/*.radiantthemes-custom-button.element-six .button-element6-background .button-element6-effect:hover > span {
    opacity: 0;
    -webkit-transform: translate3d(0, -25%, 0);
    transform: translate3d(0, -25%, 0);
}*/