/* bootstrap Modal Dialog
-------------------------------------- */  
.modal {
	display: none;
	overflow: hidden;
	padding: 0 16px;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}
.modal.fade {
	opacity: 0;
	-webkit-transition: opacity 0.15s linear;
	-o-transition: opacity 0.15s linear;
	transition: opacity 0.15s linear;
}
.modal.fade.in {
	opacity: 1;
}
.modal.fade .modal-dialog {
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	-o-transform: translate(0, -25%);
	transform: translate(0, -25%);
	-webkit-transition: -webkit-transform 0.3s ease-out;
	-o-transition: -o-transform 0.3s ease-out;
	transition: transform 0.3s ease-out;
}
.modal.in .modal-dialog {
	-webkit-transform: translate(0, 0);
	-ms-transform: translate(0, 0);
	-o-transform: translate(0, 0);
	transform: translate(0, 0);
}
.modal-open {
	overflow: hidden;
}
.modal-open .modal {
	overflow-x: hidden;
	overflow-y: auto;
}

.modal .modal-dialog {
	position: relative;
	max-width: 400px;
	margin: 100px auto 0;
}
.modal .modal-dialog .modal-content {
	position: relative;
	overflow: hidden;
	border-radius: 16px;
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	outline: 0;
	background-color: #ffffff;
	color: #707070;
}
.modal .modal-dialog .modal-content a {
	color: #000;
}
.modal .modal-dialog .modal-content .modal-header {
	padding: 15px;
	text-align: center;
	border-bottom: 1px solid rgba(0, 0, 0, 0.1);
	background-color: #f1f1f1;
	color: #000;
}
.modal .modal-dialog .modal-content .modal-title {
	font-size: 16px;
}
.modal .modal-dialog .modal-content .modal-body {
	position: relative;
	padding: 30px;	
}
.modal .modal-dialog .modal-content .modal-footer {
	padding: 15px;
}
.modal .modal-dialog .modal-content .modal-footer .btn + .btn {
	margin-left: 5px;
	margin-bottom: 0;
}
.modal .modal-dialog .modal-content .modal-footer .btn-group .btn + .btn {
	margin-left: -1px;
}
.modal .modal-dialog .modal-content .modal-footer .btn-block + .btn-block {
	margin-left: 0;
}
.modal .modal-dialog .modal-content .modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}

.modal-close {
	width: 100%;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	outline: 0;
	background: #f1f1f1;
	color: #1b1b1b;
	border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.modal .modal-dialog .modal-content.none {
	background-color: transparent !important;
	box-shadow: none !important;
}

.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000000;
}
.modal-backdrop.fade {
	opacity: 0;
	filter: alpha(opacity=0);
}
.modal-backdrop.in {
	opacity: 0.85;
	filter: alpha(opacity=85);
}


@media (min-width: 768px) {
	.modal-dialog {
	}
}
@media (min-width: 992px) {
	.modal-dialog {
		margin-top: 200px !important;
	}
}


/* contents */
.modal-body ul {
	list-style: none;
	margin: 0px;
	padding: 0;
}	
.modal-body ul > li { 
	margin: 0;
	padding: 0;	
}
.modal-body ul > li+li {
	margin-top: 10px;
}
.modal-body ul > li > a,
.modal-body ul > li > button { 
	display: block;
	vertical-align: middle;
	cursor: pointer;
	font-size: 14px;
	padding: 0;
	border: 0;
	background: none;
}
.modal-body ul > li:hover a,
.modal-body ul > li:hover button {
	text-decoration: underline;
}

/* login */
.modal-body form fieldset {
	margin: 0;
	padding: 0;
}
.modal-body form ul > li input { 
	width: 100%;
	font-size: 15px;
	height: 40px;
	margin: 0;
	padding: 0;	
	border: 1px solid #e1e1e1;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background-color: transparent;
}
.modal-body form ul > li input:focus { 
	border-color: #000;
}
.modal-body form button.xet-btn {
	padding: 16px 20px;
	font-size: 16px;
	width: 100%;
	background-color: #262829;
	color: #fff;
}
.xet-warning {
	font-size: 12px;
	padding: 15px;
	border-radius: 6px;
	border: 1px solid #c00;
	color: #c00;
}


/* search layer */
.modal-body .xet-search-form {
	position: relative;
	margin: 0;
	padding: 0;
}
.modal-body .xet-search-form input.itext {
	width: 100%;
	padding: 15px 40px 15px 5px;
	font-size: 14px;
	border: 1px solid #e1e1e1;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	color: #ccc;
	background: none;
}
.modal-body .xet-search-form input.itext:focus {
	color: #fff;
	border-color: #fff;
}
.modal-body .xet-search-form .search-btn {
	position: absolute;
	right: 0px;
	top: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 40px;
	height: 40px;
	cursor: pointer;
	font-size: 18px;
	border: 0;
	background: none;
	color: #fff;
}
