:root {
    --aside-cta-width: 580px;
    --aside-cta-background: #fff;
    --aside-cta-color: var(--text);
}

#aside_cta {
    display: none;
    position: fixed;
    top: 0;
    bottom: 0;
    right: 0;
    background: var(--aside-cta-background);
    width: var(--aside-cta-width);
    max-width: 100vw;
    height: 100vh;
    overflow: auto;
    z-index: 5000;
    transition: .4s ease;
    animation: aside_cta-in .4s;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07), 
                0 2px 4px rgba(0,0,0,0.07), 
                0 4px 8px rgba(0,0,0,0.07), 
                0 8px 16px rgba(0,0,0,0.07), 
                0 16px 32px rgba(0,0,0,0.07), 
                0 32px 64px rgba(0,0,0,0.07);
}

#aside_cta * {
    color: var(--aside-cta-color);
}

#aside_cta i {
    color: var(--blue);
    position: absolute;
    left: 10px;
    font-size: var(--step-1);
}

@keyframes aside_cta-in {
    0% {
        right: calc(-1 * var(--aside-cta-width));
    }
    100% {
        right: 0;
    }
}

html.aside_cta_activeHTML #aside_cta {
    display: block;
}

html.av-burger-overlay-active #aside_cta {
    display: none !important;
}

#aside_cta > header {
    top: 0;
    padding: 0 2rem;
    background: var(--light-orange);
    display: flex;
    justify-content: center;
    position: relative;
}

#aside_cta > header > span {
    display: inline-flex;
    gap: 1em;
    font-size: var(--step--1);
    padding: 1em 2em;
    background: var(--secondary);
    border-radius: 2em;
    line-height: 1;
    cursor: pointer;
    color: var(--blue);
}

#aside_cta > header .aside_cta_trigger {
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    width: 100%;
}

#aside_cta > .__wrap {
    padding: 4rem;
    font-size: var(--step-0);
}

#aside_cta > .__wrap p {
    font-size: var(--step-0);
}

#aside_cta > .__wrap h3 {
    font-weight: 700;
    font-size: var(--step-2);
}

#aside_cta > .__wrap .avia-button {
    width: 100%;
}

#aside_cta .av-icon-char.close {
    color: var(--blue);
    font-size: 26px;
}

#aside_cta .__social p{display: block; width: 100%}
#aside_cta .__social .av-icon-char {color: var(--blue);font-size: 35px;margin-right: 0;transition: .2s; line-height: 0.8;}
#aside_cta .__social .av-icon-char:hover {color: var(--orange);transition: .2s;}

#aside_cta  .__social p {
    margin: 0;
}


@media only screen and (max-width: 520px) {
    #aside_cta > .__wrap {
        padding-bottom: 120px;
    }
}



/**
 * FAB floating action buttons
 */
#fab {
    position: fixed;
    width: 100%;
    bottom: 0;
    right: 0;
    z-index: 100;
    display: flex;
    gap: 1px;
    justify-content: space-around;
	align-items: flex-start;
    box-shadow: 0 0 8px rgb(0 0 0 / 10%);
    background: #fff;
	transition: .3s;
}

#fab > a {
    color: var(--blue);
    background: var(--light-orange);
    display: inline-flex;
    gap: .5em;
    padding: .5em 1em;
    flex-grow: 1;
    justify-content: center;
    font-size: var(--step-0);
    transition: .2s;
    white-space: nowrap;
}

#fab > a span {
    font-weight: 600;
    transition: .2s;
}

html.no-touch-device #fab > a span:hover {
    scale: 1.05;
}

body:not(.__scrolled) #fab{bottom: -60px;}

@media only screen and (min-width: 567px) {
    #fab {
        width: auto;
        bottom: 10% !important;
        border-top-right-radius: 1rem;
    	border-bottom-right-radius: 1rem;
        overflow: hidden;
		writing-mode: vertical-rl;
        text-orientation: sideways;
        scale: -1;
    }
    #fab > a {
        padding: 1.2em .6em;
    }
}
