/* ===========================
   VERTICAL SCROLL BAR + LOGO
=========================== */

.vscale-wrapper {
    position: fixed;
    top: 0;
    right: 40px;
    width: 80px;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    z-index: 999999;
    opacity: 1;
    transition: all 2s ease-in-out;
}

.hidden-on-load {
    opacity: 0;
    pointer-events: none;
}

.vscale-line {
    width: 5px;
    height: 0%;
    background: #5c0011;
    transition: height 2s ease-in-out;
}

.vscale-logo-holder {
    margin-top: -66px;
    width: 143px;
    margin-bottom: -55px;
}

.vscale-small-logo {
    margin-left: -33px;
}

/* When moved to footer */
.vscale-wrapper.move-to-footer {
    bottom: 5px !important;
    height: auto !important;
}

/* Reset when scrolling up */
.vscale-wrapper.restore-default {
    top: 0 !important;
    right: 40px !important;
    height: 100vh !important;
}



/* ===========================
   CENTER LOGO
=========================== */
#animated-center-logo {
    position: fixed;
    top: 50%;
/*     right: 17%; */
	left: 50%;
    transform: translate(-50%, -50%);
    z-index: 9999999;
    opacity: 1;
    transition: all 0.8s ease-in-out;
}

#animated-center-logo img {
    width: 600px;
}

#animated-center-logo.scrolled {
/*     top: 10px;
    right: 10px; */
	top: 0%;
	left: 100%;
    opacity: 0;
}

/* Hide default theme logo */
.site-branding img,
.custom-logo-link img {
    opacity: 0 !important;
}

/* Sticky Footer - Archaic Frontier Section */
#et-footer-438 {
/* 	display: contents; */
	width: 100% !important;
    transition: all 0.5s cubic-bezier(0.25, 0.8, 0.25, 1) !important;
    position: fixed !important;
    left: 50% !important;
    transform: translateX(-50%) translateY(20px) !important;
    z-index: 9999 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

#et-footer-438.sticky-active {
    opacity: 1 !important;
    pointer-events: all !important;
    transform: translateX(-50%) translateY(0) !important;
    box-shadow: 0 15px 40px rgba(0,0,0,0.22) !important;
    background: rgba(255,255,255,0.95) !important;
    backdrop-filter: blur(10px);
}
@media (max-width: 1023px) {
    .footer {
        margin-bottom: 0px !important;
    }
}

@media (max-width: 767px) {
    #et-footer-438.sticky-active {
        width: 100% !important;
		margin-bottom: 0px;
		height: 70px;
    }
	.vscale-wrapper.move-to-footer {
		bottom: -30px !important;
		height: auto !important;
	}
	.vscale-logo-holder {
		margin-bottom: -50px;
	}
}

.attach-fixed{
	background-attachment: fixed !important;
}

@media (max-width: 600px) {
	.vscale-wrapper {
		right: 5px !important;
		width: 50px !important;
	}
	
	.vscale-wrapper.restore-default {
		right: 5px !important;
	}

	#animated-center-logo img{
		max-width: 350px !important;
	}
}




