
.overlay-import {
    position: fixed;
    width: 100vw;
    height: 100vh;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0,0,0,0.7);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    color: #fff;
    justify-content: center;
    align-items: center;
}

.overlay-text {
    font-size: 24px;
}

.overlay-text.sub-text{
    font-size: 12px;
    opacity: 0.5;
    max-width: 300px;
}

.overlay-text.sub-recalc-text{
    font-size: 12px;
    opacity: 0.5;
    max-width: 440px;
}

.overlay-container {
	position: absolute;
	top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
}

.overlay-loader{
    font-size: 10px;
    box-sizing: border-box;
    width: 10rem;
    height: 10rem;
	margin: auto;
}

.overlay-loader-inner{
    width: 100%;
    height: 100%;
    border: 1rem solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-bottom-color: rgb(255,255,255);
    border-top-color: rgb(255,255,255);
    animation: rotate-scale 8s ease-in-out infinite;
}

/* Loading spinner for individual charts */
.loading-spinner-container {
	position: absolute;
	top: 50%;
    left: 50%;
    text-align: center;
    transform: translate(-50%,-50%);
}

.loading-spinner-loader{
    box-sizing: border-box;
    width: 60px;
    height: 60px;
	margin: auto;
}

.loading-spinner-loader-inner{
    width: 80%;
    height: 80%;
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-bottom-color: #596157;
    border-top-color: #596157;
    animation: rotate 3s linear infinite;

    /* center the elements properly */
    margin: 10%;
}

@keyframes rotate-scale {
	0% {
		transform: scale(1) rotate(360deg);
	}
	2% {
		transform: scale(1) rotate(360deg);
	}
	48% {
        transform: scale(.5) rotate(-360deg);
	}
	52% {
        transform: scale(.5) rotate(-360deg);
	}
	98% {
		transform: scale(1) rotate(360deg);
	}
	100% {
		transform: scale(1) rotate(360deg);
	}
}



@keyframes rotate {
	0% {
		transform: rotate(360deg);
	}
	100% {
        transform: rotate(0deg);
	}
}