#loading-bg {
    width: 100%;
    height: 100%;
    display: none;
    position: absolute;
}

.loading-logo {
    position: absolute;
    left: calc(50% - 45px);
    top: 40%;
}

.loading {
    position: absolute;
    left: calc(50% - 27px - (var(--aibot-width , 0px) / 2));
    top: calc(50% - 27px);
    width: 50px;
    height: 50px;
    z-index: 9999;
}

.loading-modal {
    width: 100%;
    height: 100%;
    background: #fff;
    display: block;
    position: absolute;
    z-index: 9998;
    opacity: 0.2;
}

.loading .effect-1,
.loading .effect-2 {
	position: absolute;
    width: 100%;
    height: 100%;
    border: none;
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
    -webkit-mask: var(--loading-background) center / 100% 100% no-repeat;
    mask: var(--loading-background) center / 100% 100% no-repeat;
	background-size: 100%;
    background-color: var(--loading-background-color);
}

.loading .effect-1 {
    animation: loading-rotate 1s linear infinite;
}

.loading .effect-2,
.loading .effect-3 {
    display: none;
}

.loading .effect-2 {
	animation: loading-rotate 1s infinite 0.1s;
}

.loading .effect-3 {
    position: absolute;
    width: 100%;
    height: 100%;
    border: none;
	-webkit-animation: loading-rotate 1s ease infinite 0.2s;
	animation: loading-rotate 1s ease infinite 0.2s;
	/* border-radius: 50%; */
	-webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.loading .effects {
    transition: all 0.3s ease;
}

@keyframes loading-rotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

.apexcharts-toolbar {
    z-index: inherit !important;
}

/* Thêm position cho loading trong grid của report param
 * @author: nnhung - 16.05.2020
 */
.report-param .box-grid .grid-loading {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-height: 302px;
}
