/* modal popup (background) */
.modal-popup {
	display: none; /* hidden by default */
	position: fixed; /* stay in place */
	z-index: 99; /* sit on top */
	left: 0;
	top: 0;
	width: 100%; /* full width */
	height: 100%; /* full height */
	overflow: auto; /* enable scroll if needed */
	background-color: rgb(0 0 0 / 40%); /* black w/ opacity */
}

/* modal popup container */
.modal-popup-container {
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	padding: 32px;
	border: 1px solid #888;
	width: 570px;
	border-radius: 16px;
	box-shadow: 0 0 20px rgb(0 81 158 / 34.6%);
	opacity: 1;
	background-color: rgb(255 255 255 / 100%);
}

.modal-popup-title {
	font-weight: bold;
	font-size: 20px;
}

.modal-popup-message {
	opacity: 1;
	color: rgb(51 51 51 / 100%);
	font-family: Verdana, sans-serif;
	font-size: 14px;
	font-weight: 400;
	font-style: normal;
	letter-spacing: 0;
	text-align: left;
	line-height: 21px;
	margin-bottom: 40px;
}

.modal-popup-buttons {
	text-align: center;
}

.modal-popup-button {
	padding: 14px;
	border: none;
	opacity: 1;
	background: #1a181b;
	color: #fff;
	font-family: Verdana, serif;
	font-size: 14px;
	font-weight: 700;
	font-style: normal;
	letter-spacing: 0;
	text-align: center;
	cursor: pointer;
}

#modal-popup-button-close {
	background-image: url('../img/default/modal-popup-close.svg');
	background-repeat: no-repeat;
	background-position: left center;
	display: inline-block;
	height: 16px;
	width: 16px;
	float: right;
	font-size: 16px;
}

#modal-popup-button-close:hover,
#modal-popup-button-close:focus {
	text-decoration: none;
	cursor: pointer;
}

.modal-popup-open {
	display: block;
}

#modal-popup-button-alert-main {
	color: #fff;
	background: #1a181b;
	border: 1px solid #1a181b;
	width: 50%;
}

#modal-popup-button-confirm-main {
	color: #fff;
	background: #1a181b;
	border: 1px solid #1a181b;
	float: left;
	width: 50%;
}

#modal-popup-button-confirm-cancel {
	background: #fbfbfb;
	color: #666;
	border: 1px solid #666;
	float: left;
	width: 50%;
}

@media only screen and (max-width: 768px) {
	.modal-popup-container {
		position: fixed;
		bottom: 0;
		width: 100%;
		margin: 0;
		border: none;
		padding: 0 24px 32px;
		opacity: 1;
		background-color: rgb(255 255 255 / 100%);
		box-shadow: 0 0 20px rgb(0 81 158 / 34.6%);
		border-radius: 24px 24px 0 0;
		top: initial;
		left: initial;
		transform: initial;
	}

	.modal-popup-button {
		width: 100%;
	}

	#modal-popup-button-close {
		display: none;
	}

	#modal-popup-button-confirm-main {
		width: 100%;
		margin-bottom: 40px;
	}

	#modal-popup-button-alert-main,
	#modal-popup-button-confirm-cancel {
		width: 100%;
	}
}

