.ap-button { 
    display: flex;
    align-items: center; 
    align-self: flex-start;
    font-weight: 600;
    line-height: 1;
    color: #000000;
    transition-duration: 0.8s;
    border-style: solid;
    border-width: 1px 1px 1px 1px;
    border-radius: 58px;   
    padding: 17px 54px 17px 24px;
    flex: 0 0 auto;
    justify-content: center;
    min-width: 150px;
    text-align: center;
    vertical-align: middle;
    position: relative; 
    cursor: pointer;
}

/* 
selector a { 
    display: flex;
    align-items: center; 
    
}

selector a::after {
    content: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='20' fill='black'/%3E%3Cpath d='M12 20H28M28 20L22 14M28 20L22 26' stroke='%23EFC01E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
    padding-left: 30px;
}*

/* tweak this: border-radius: 58px;
    padding: 4px 6px 4px 24px;
    17px 54px 17px 24px */
    
.ap-button .ap-button-text {color: #000;}

.ap-button-wrapper {
    display: flex;
}

.ap-button-inner {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
}

.ap-button.ap-button--icon {
    padding: 4px 8px 0 24px;
}

.ap-button-icon--right {
    padding-left: 30px;
    order:2;
}
.ap-button-icon--left {
    order: 1; 
    padding-right: 30px;
}

.ap-button--primary {
    border-color: var(--e-ap-brand-01);
    background-color: var(--e-ap-brand-01);
}

.ap-button--primary:hover, 
.ap-button--primary:focus {
    color: #000000;
    background-color: var(--e-ap-white);
    border-color: #000000;
}
.ap-button--primary:not(.ap-button-icon--arrow_external, .ap-button-icon--arrow_external_bg, .ap-button-icon--arrow_left, .ap-button-icon--cart, .ap-button-icon--microphone, .ap-button-icon--headphones, .ap-button-icon--eye, .ap-button-icon--print, .ap-button-icon--mail) svg path {
    stroke: var(--e-ap-brand-01);
}

    .ap-button--primary.ap-button--icon.ap-button-icon--arrow_external svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--arrow_external_bg svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--arrow_left svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--cart svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--microphone svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--headphones svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--mail svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--eye svg path,
    .ap-button--primary.ap-button--icon.ap-button-icon--print svg path {
        fill: var(--e-ap-brand-01);
    }


.ap-button--secondary {
    border-color: #000;
    background-color: transparent
}

.ap-button--secondary:not(.ap-button-icon--arrow_external, .ap-button-icon--arrow_external_bg, .ap-button-icon--arrow_left, .ap-button-icon--cart, .ap-button-icon--microphone, .ap-button-icon--headphones, .ap-button-icon--eye, .ap-button-icon--print, .ap-button-icon--mail) svg path{
    stroke: var(--e-ap-white)
}

    .ap-button--secondary.ap-button--icon.ap-button-icon--arrow_external svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--arrow_external_bg svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--arrow_left svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--cart svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--microphone svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--mail svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--headphones svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--eye svg path,
    .ap-button--secondary.ap-button--icon.ap-button-icon--print svg path {
        fill: var(--e-ap-white);
    }

.ap-button--secondary:hover {
    background-color: var(--e-ap-white);
}

.ap-button--tertiary {
    border-color: var(--e-ap-white);
    background-color: var(--e-ap-white);
}

.ap-button--tertiary:not(.ap-button-icon--arrow_external, .ap-button-icon--arrow_external_bg, .ap-button-icon--arrow_left, .ap-button-icon--cart, .ap-button-icon--microphone, .ap-button-icon--headphones, .ap-button-icon--eye, .ap-button-icon--print, .ap-button-icon--mail) svg path {
    stroke: var(--e-ap-white);
}

    .ap-button--tertiary.ap-button--icon.ap-button-icon--arrow_external svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--arrow_external_bg svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--arrow_left svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--cart svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--microphone svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--mail svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--headphones svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--eye svg path,
    .ap-button--tertiary.ap-button--icon.ap-button-icon--print svg path {
        fill: var(--e-ap-white);
    }



.ap-button--tertiary:hover {
    background-color: var(--e-ap-white);
}

/* 
.ap-button--quaternary {
    border-color: var(--e-ap-white);
    background-color: var(--e-ap-white);
}

.ap-button--quaternary:hover {

} */


/* 
.ap-button-icon--arrow_right::after {
     content: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 40 40' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='40' height='40' rx='20' fill='black'/%3E%3Cpath d='M12 20H28M28 20L22 14M28 20L22 26' stroke='%23EFC01E' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
} */
 
.ap-button-icon--arrow_external {}
.ap-button-icon--arrow_external_bg {}
.ap-button-icon--arrow_left {}
.ap-button-icon--microphone {}
.ap-button-icon--headphones {}
.ap-button-icon--eye {}
.ap-button-icon--print {}
.ap-button-icon--rocket_ship {}
.ap-button-icon--cart {}
.ap-button-icon--mail {}


