body.CM_open {
	overflow: hidden;
}

#CM_overlay {
	z-index: 20000;
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
	background-color: rgba(0, 0, 0, 0.8);
	animation: fadeIn 0.2s ease 0s 1 normal;
}

#CM_container {
	z-index: 20001;
	position: fixed;
	top: 0px;
	left: 0px;
}

.isIE11 #CM_container {
	width: 100%;
	height: 100%;
}

.isIE11 .CM_modal {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.CM_modal_bg {
	position: fixed;
	top: 0px;
	left: 0px;
	width: 100%;
	height: 100%;
}

.CM_modal_body {
	position: absolute;
	transform: translate(calc(50vw - 50%), calc(50vh - 50%));
}

.isIE11 .CM_modal_body {
	position: relative;
	top: 18vw;
	width: 100%;
	margin: auto;
}

.iOS .CM_modal_body {
	top: -8vw;
}

.CM_topBar {
	display: flex;
	justify-content: flex-end;
	margin-top: -13.3vw;
	padding-bottom: 5.3vw;
	text-align: right;
}

/*.isIE11 .CM_topBar {
	position: absolute;
	bottom: -12.3vw;
	right: 0;
	margin-top: 0;
	padding-bottom: 0;
}*/

.CM_topBar .CM_close {
	display: block;
	width: 8vw;
	height: 8vw;
	background-image: url(../svg/ic-cross-l-02.svg);
	background-size: 100% 100%;
	cursor: pointer;
	transition: opacity .2s;
}

.CM_topBar .CM_close:hover {
	opacity: .5;
}

.CM_content {
	overflow-y: scroll;
	max-height: 70vh;
	background-color: #FFF;
	box-sizing: border-box;
}

.CM_btmBar {
	display: flex;
	background-color: #FFF;
	text-align: center;
}

@media screen and (min-width: 768px) {
	.isIE11 .CM_modal_body {
		top: 100px;
	}

	.CM_topBar {
		margin-top: -60px;
		padding-bottom: 20px;
	}

	/*.isIE11 .CM_topBar {
		bottom: -60px;
		right: 0;
		margin-top: 0;
		padding-bottom: 0;
	}*/

	.CM_topBar .CM_close {
		width: 40px;
		height: 40px;
		cursor: pointer;
	}

	.CM_btmBar {
		height: 20px;
	}
}

/*----------------------------------------
	narrow scrollbar
-----------------------------------------*/
.CM_content::-webkit-scrollbar {
	width: 10px;
	height: 10px;
}

.CM_content::-webkit-scrollbar-track {
	border-radius: 0;
	background-color: #EDD9C4;
}

.CM_content::-webkit-scrollbar-thumb {
	background-color: #62340C;
	border-radius: 0;
}
