/*
 Theme Name:   El Systems Child
 Author:       Whyzzle
 Author URI:   http://whyzzle.be
 Template:     elsystems
 */

/* Exacte kopie van luminos-elements plugin CSS, nu ook voor <button> */

button.rts-btn.btn-primary {
    padding: 8px 17px;
    background: var(--e-global-color-primary);
    gap: 25px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--e-global-color-primary);
    color: var(--color-white);
    display: inline-flex;
    align-items: center;
    transition: .3s;
    z-index: 1;
    cursor: pointer;
    font-family: var(--e-global-typography-primary-font-family);
    font-size: 16px;
    appearance: none;
    -webkit-appearance: none;
    box-shadow: none;
    border-radius: 0;
    margin-top: 20px;
}

button.rts-btn.btn-primary span {
    position: relative;
    z-index: 1;
}

button.rts-btn.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    transition: opacity 0.5s, border 0.5s;
}

button.rts-btn.btn-primary::after {
    content: "";
    position: absolute;
    top: 1%;
        left: -20%;
    width: 220px;
    height: 220px;
    background-color: #fff;
    border-color: transparent;
    border-radius: 50%;
    transform: translate(0%, -70px) scale(0.1);
    opacity: 0;
    z-index: -1;
    transition: transform 0.5s, opacity 0.5s, background-color 0.5s;
}

button.rts-btn.btn-primary:hover {
    color: var(--e-global-color-primary);
}

button.rts-btn.btn-primary:hover::before {
    opacity: 0;
}

button.rts-btn.btn-primary:hover::after {
    opacity: 1;
    transform: scaleX(1.5) scaleY(1.5);
}

/* Fix: GF theme reset opacity op hover */
.gform_wrapper input[type="submit"]:hover,
.gform_wrapper button[type="submit"]:hover {
    opacity: 1;
}
