/* ------------------------------ */
/* ----------- Buttons ---------- */
/* ------------------------------ */

/* General */
.section > .section__button, .section > .section__buttons, .section .row > div > .section__button, .section > .section__buttons, .section .row > div > .section__buttons {
    margin-top: 0;
    padding-top: 0;
}
  
.section__button--center, .section__buttons--center {
    text-align: center;
}
  
.section > .section__title + .section__button .button, .section > .section__title + .section__buttons .button {
    margin-top: 0;
}

.section__buttons .button, .buttons .button {
    display: inline-block;
}
  
.section__buttons .button, .buttons .button {
    margin-right: var(--spacing-3);
}
  
.section__buttons .button:last-child, .buttons .button:last-child {
    margin-right: 0;
}

.buttons {
    margin-top: calc(var(--spacing-3-5) / 2);
}

.button, button:not(.button--popup):not(.button--close):not(.button--cookie) {
    margin-top: var(--spacing-3-5);
}

.buttons .button {
    margin-top: calc(var(--spacing-3-5) / 2);
}


/* Button */
.button a, .button > span, button:not(.button--popup):not(.button--close) {
    position: relative;
    display: inline-block;
    font-weight: 300;
    line-height: var(--line-height-2);
    text-align: center;
    border: 1px solid;
    border-radius: 100px;

    -webkit-transition: color var(--transition-2), background-color var(--transition-2);
    -o-transition: color var(--transition-2), background-color var(--transition-2);
    transition: color var(--transition-2), background-color var(--transition-2);
}

.button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
    font-size: var(--font-size-1);
}

.button--filled a span, .button--filled button span, .button--ghost a span, .button--ghost span span, .button--ghost button span, button.quform-submit span, button.quform-next span, button.quform-back span {
    position: relative;
    z-index: 2;
}

button {
    cursor: pointer;
    background-color: transparent;
}

.button.button--white a, .button--white button.quform-submit, .button--white button.quform-next {
    color: var(--sentience-white);
}


/* Filled */
.section--white .button--filled a, .popup .button--filled a, .section--white button.quform-submit, .section--white button.quform-next, .section--white .button--filled button {
    color: var(--brand-white);
    background-color: var(--brand-black);
    border-color: var(--brand-black);
}

.no-touchevents .section--white .button--filled a:hover, .no-touchevents .popup .button--filled a:hover, .no-touchevents .section--white button.quform-submit:hover, .no-touchevents .section--white button.quform-next:hover, .no-touchevents .section--white .button--filled button:hover {
    color: var(--brand-black);
    background-color: var(--brand-white);
    border-color: var(--brand-black);
}

.section--black .button--filled a, .section--black button.quform-submit, .section--black button.quform-next, .section--black .button--filled button {
    color: var(--brand-black);
    background-color: var(--brand-white);
    border-color: var(--brand-white);
}

.no-touchevents .section--black .button--filled a:hover, .no-touchevents .section--black button.quform-submit:hover, .no-touchevents .section--black button.quform-next:hover, .no-touchevents .section--black .button--filled button:hover {
    color: var(--brand-white);
    background-color: var(--brand-black);
    border-color: var(--brand-white);
}

.button--filled a::after, button.quform-submit::after, button.quform-next::after, .button--filled button::after {
    content: "";
    position: absolute;
    z-index: 1;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 0.5px solid;
    border-radius: 100px;
    background-color: transparent;

    transition: var(--transition-2);
}

.no-touchevents .button--filled a:hover::after, .no-touchevents button.quform-submit:hover::after, .no-touchevents button.quform-next:hover::after, .no-touchevents .button--filled button:hover::after {
    top: 1px;
    left: 1px;
    right: 1px;
    bottom: 1px;    
}

.section--white .button--filled a::after, .popup .button--filled a::after, .section--white button.quform-submit::after, .section--white button.quform-next::after, .section--white .button--filled button::after {
    border-color: var(--brand-white);
}

.no-touchevents .section--white .button--filled a:hover::after, .no-touchevents .popup .button--filled a:hover::after, .no-touchevents .section--white button.quform-submit:hover::after, .no-touchevents .section--white button.quform-next:hover::after, .no-touchevents .section--white .button--filled button:hover::after {
    background-color: var(--brand-white);
}

.section--black .button--filled a::after, .section--black button.quform-submit::after, .section--black button.quform-next::after, .section--black .button--filled button::after {
    border-color: var(--brand-black);
}

.no-touchevents .section--black .button--filled a:hover::after, .no-touchevents .section--black button.quform-submit:hover::after, .no-touchevents .section--black button.quform-next:hover::after, .no-touchevents .section--black .button--filled button:hover::after {
    background-color: var(--brand-black);
}


/* Ghost */
.section--white .button--ghost a, .section--white .button--ghost button, .section--white button.quform-back, .popup .button--ghost > span {
    color: var(--brand-black);
    border-color: var(--brand-black);
}

.no-touchevents .section--white .button--ghost a:hover, .no-touchevents .section--white .button--ghost button:hover, .no-touchevents .section--white button.quform-back:hover, .no-touchevents .popup .button--ghost > a:hover {
    color: var(--brand-white);
    background-color: var(--brand-black);
    border-color: var(--brand-black);
}

.section--black .button--ghost a, .section--black .button--ghost button, .section--black button.quform-back {
    color: var(--brand-white);
    border-color: var(--brand-white);
}

.no-touchevents .section--black .button--ghost a:hover, .no-touchevents .section--black .button--ghost button:hover, .no-touchevents .section--black button.quform-back:hover {
    color: var(--brand-black);
    background-color: var(--brand-white);
    border-color: var(--brand-white);
}



/* ------------------------------ */
/* -------- Media Queries ------- */
/* ------------------------------ */

@media all and (min-width: 1400px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding: 18px 28px 16px;
    }

    .macos .button a, .macos button:not(.button--popup):not(.button--close):not(.button--cookie), .ios .button a, .ios button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding-top: 17px;
        padding-bottom: 17px;
    }

}


@media all and (min-width: 1600px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        min-width: 200px;
    }

}


@media all and (max-width: 1599.98px) and (min-width: 1400px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        min-width: 190px;
    }

}


@media all and (max-width: 1399.98px) and (min-width: 1240px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding: 18px 26px 16px;
        min-width: 180px;
    }

    .macos .button a, .macos button:not(.button--popup):not(.button--close):not(.button--cookie), .ios .button a, .ios button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding-top: 17px;
        padding-bottom: 17px;
    }

}


@media all and (max-width: 1239.98px) and (min-width: 768px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding: 17px 26px 15px;
        min-width: 170px;
    }

    .macos .button a, .macos button:not(.button--popup):not(.button--close):not(.button--cookie), .ios .button a, .ios button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding-top: 16px;
        padding-bottom: 16px;
    }

}


@media all and (max-width: 767.98px) and (min-width: 576px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding: 17px 26px 14px;
        min-width: 164px;
    }

    .macos .button a, .macos button:not(.button--popup):not(.button--close):not(.button--cookie), .ios .button a, .ios button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding-top: 16px;
        padding-bottom: 16px;
    }

}


@media all and (max-width: 575.98px) {

    .button a, .button > span, button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding: 15px 24px 12px;
        min-width: unset;
    }

    .macos .button a, .macos button:not(.button--popup):not(.button--close):not(.button--cookie), .ios .button a, .ios button:not(.button--popup):not(.button--close):not(.button--cookie) {
        padding-top: 14px;
        padding-bottom: 14px;
    }

}