.float-container {
    position: fixed;
    top: 50%;
    right: 0;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
	
	opacity: 0;
    transform: translateX(80px);
    transition: all 0.4s ease;
    pointer-events: none;
	
}

.float-container.active {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}

.float-container .float-link {
    display: flex;
    width: 270px;
    height: 30px;
    margin-right: -207px;
    margin-bottom: 10px;
    padding: 22px 22px;
    transition: all 0.3s ease-in-out;
    text-decoration: none;
    color: #fff;
    border-radius: 10px 0 0 10px;
    background-color: #1D71B8;
    box-shadow: 0 2px 6px rgba(0, 0, 0, .40);
    align-items: center;
    justify-content: flex-start;
	font-family: "DM Sans", sans-serif;
}

.float-container .float-link:hover {
    margin-right: 0;
    background-color: #16243D;
}

/* Icon */
.float-container .icon {
    margin-right: 20px;
    font-size: 1.3rem;
    color: #fff;
}

/* Shake animation */
@keyframes icon-shake-once {
    0% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    50% { transform: translateX(2px); }
    75% { transform: translateX(-2px); }
    100% { transform: translateX(0); }
}

.float-container .float-link:hover .icon {
    animation: icon-shake-once 1.75s ease-in-out infinite;
}


.mobile-float-spacer {
    display: none;
}

/* Mobile */
@media screen and (max-width:720px) {

    .float-container {
        bottom: 0;
        top: auto;
        flex-direction: row;
        width: 100%;
    }
	


    .float-container .float-link {
        width: 100%;
        margin: 0;
        padding: 25px;
        justify-content: center;
        border-radius: 0;
        box-shadow: none;
        border-left: 1px solid #fff;
    }

    .float-container .float-link .text {
        display: none;
    }

    .float-container .icon {
        margin-right: 0;
    }
	
	.mobile-float-spacer {
        display: block;
        width: 100%;
    }
	
	.back-to-top {
    bottom: 60px;
}
}
