@charset "utf-8";

/*********/
/* Modal */
/*********/

.modal{
	z-index:10001;
	--bs-modal-border-radius: 0;
	--bs-modal-inner-border-radius: 0;
}

.modal-backdrop{
	z-index:10000;
	--bs-backdrop-bg:var(--bs-black);
}

.modal-header{
	position:relative;
	background-color:var(--bs-white);
	border-top:0;
	border-right:0;
	border-bottom:0;
	border-left:6px solid rgb(var(--color-primary));
}
.modal-header::after{
	content: '';
	position: absolute;
	bottom: 0;
	left: 0;
	right: 0;
	height: 1px;
	background-color: var(--bs-modal-footer-border-color);
}

.modal-title{
	color:var(--color-text);
	font-size:1rem;
}

.modal-body{
	position:static !important;
	background:var(--bs-white);
}

.modal-body > *:last-child{
	margin-bottom:0;
}

.modal-content{
	--bs-modal-bg:rgb(var(--color-bg-body));
}

.modal .btn-close{
	background:transparent url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3E%3Cpath fill='%23fff' d='M.293.293a1 1 0 0 1 1.414 0L8 6.586 14.293.293a1 1 0 1 1 1.414 1.414L9.414 8l6.293 6.293a1 1 0 0 1-1.414 1.414L8 9.414l-6.293 6.293a1 1 0 0 1-1.414 1.414L6.586 8 .293 1.707a1 1 0 0 1 0-1.414z'/%3E%3C/svg%3E") 50%/1em auto no-repeat;
}

#modalPopup.fade .modal-dialog{
	transition:transform .3s ease-out;
}

.modal-backdrop.fade{
	transition:opacity .2s ease-out;
}

.modal-footer{
	background:rgb(var(--color-footer-bg));
}

#modalPopup .modal-footer .btn {
	min-width: 120px;
}