div[data-axi="modal"] {
	display: none;
	position: fixed;
	width: 1200px;
	max-width: 80vw;
	max-height: 80vh;
	box-sizing: border-box;
	background-color: var(--body-background-color);
	padding: 50px;
	top: 10%;
	right: calc((88% - 1200px) / 2);
    box-shadow: 0 0px 3px 0px #828282;
	z-index: 1000000;
	transition: background 0.8s;
	border-radius: calc(var(--border-radius) * 2);
}

button[data-axi="close_modal"] {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 21px;
    color: #a9a9a9;
    cursor: pointer;
    background: white;
    border-radius: 100%;
    width: 40px;
    height: 40px;
    border: 1px solid #c9c9c9;
    display: flex;
    align-items: center;
    justify-content: center;
}

button[data-axi="close_modal"]:hover {
    background: rgb(216, 216, 216);
}

.modal_header{
	font-size: 1.1rem;
    margin-top: -20px;
    margin-bottom: 30px;
	text-align: left;
}
.modal_content{
    overflow-y: scroll;
    max-height: calc(80vh - 120px);
    overflow-x: hidden;
    padding: 5px 10px;
    box-sizing: border-box;
}
.modal_background,
.confirm_background {
	display: none;
	position: fixed;
	top: 0;
	right: 0;
    width: 100vw;
    max-width: calc(100% - 60px);
	height: 100%;
	background-color: rgb(35 35 35 / 27%);
	transition: background 0.8s, max-width 0.8s;
	border-top-left-radius: calc(var(--border-radius) * 3);
	border-bottom-left-radius: calc(var(--border-radius) * 3);
	z-index: 999;
	backdrop-filter: blur(15px);

}

.confirm_background {
	z-index: 10000000;
}

@media (max-width:767px) {
	div[data-axi="modal"],
	.confirmation {
		width: 100vw;
		left: 78px;
	}

	.modal_background,
	.confirm_background {
		min-width: calc(100vw - 58px);
	}
}