.modal.fader {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	z-index: 50;
	background-color: rgba(0, 0, 0, 0.5);
	overflow-x: hidden;
	overflow-y: auto;
	display:flex;
	align-items:center;
	pointer-events:none;
	opacity: 0;
	transition: opacity 1s ease;
	padding-top: 1em;
	padding-bottom: 1em;
}

.modal.open {
	pointer-events:auto;
	opacity: 1;
}

.modal.modal-confirm,
.modal.modal-notice {
	z-index: 60;
}

.modal>div {
	font-family: 'CircularB-Web',sans-serif;
	font-size: 1.1em;
	letter-spacing: 0.04em;
	text-align: center;
	color: white;
	position: relative;
	width: 80%;
	margin:auto;
	background-color: #052346;
	border-radius: 4px;
	padding: 1em;
	transform: scale(0.7,0.7) translate(0,120vh);
	transition: transform 0.6s ease;
	transition-delay: 0s;
}

.modal.open>div {
	transform: scale(1,1) translate(0,0);
	transition-delay: 0.3s;
}

.modal-notice>div {
	padding: 2em 1em 2.5em 1em;
}


.modal-notice>div p {
	font-size: 0.8em;
}

.modal .contentButton {
	margin-top: 0.5em;
	padding-left: 0.8em;
	padding-right: 0.8em;
}

.modal-notice .contentButton {
	margin-top: 1.5em;
}

.modal-frame .modalTitle {
	margin-bottom: 0.5em;
}


.modal .points .number {
	font-size: 3.5em;
	line-height: 1;
	display:block;
	animation: numberjump 3s infinite;
	animation-delay: 0.2s;
}

.modal .points .label {
	display:block;
	line-height: 1;
	margin-bottom: 1em;
}

.modal .points.half {
	color: #00AAC3;
}

.modal .points.full {
	color: #3CB900;
}

.modal .points.bonus {
	color: #E6003C;
}

.modal .closeButton {
	position: absolute;
	top: 0;
	right: 0;
	width: 64px;
	height: 64px;
	border-radius: 0;
	background-color: transparent;
	padding: 0;
	z-index: 2;
}

.modal  .closeButton span {
	display:block;
	width: 24px;
	height: 2px;
	background-color: white;
	transform: rotate(45deg);
	transform-origin: 13px;
	margin-left: 20px;
}

.modal  .closeButton span:first-child {
	transform: rotate(-45deg);
}


.modal .error {
	background-color: #e6003c;
}

.modal .error .contentButton {
	background-color: #222;
}