/* bootstrap Modal Dialog
-------------------------------------- */  
.fade {
  opacity: 0;
  -webkit-transition: opacity 0.15s linear;
  -o-transition: opacity 0.15s linear;
  transition: opacity 0.15s linear;
}
.fade.in {
  opacity: 1;
}
.modal-open {
  	overflow: hidden;
}
.modal {
	display: none;
	overflow: hidden;
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1050;
	-webkit-overflow-scrolling: touch;
	outline: 0;
}
.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 .modal {
	overflow-x: hidden;
	overflow-y: auto;
}
.modal-dialog {
	position: relative;
	margin: 20% 15px 0;
}
.modal-content {
	position: relative;
}
.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);
}
.modal-header {
	padding: 15px;
	text-align: center;
	color: #fff;
}
.modal-close {
	position: absolute;
	top: 15px;
	right: 15px;
	width: 40px;
	height: 40px;
	padding: 0;
	display: inline-block;
	text-decoration: none;
	cursor: pointer;
	border: 0;
	outline: 0;
	background: none;
	color: #fff;
}
.modal-title {
	margin: 0;
	line-height: 1.42857143;
	text-align: center;
}
.modal-body {
	position: relative;
	padding: 15px;	
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, 0.5);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	outline: 0;
	background-color: #ffffff;
}
.modal-body.none {
	-webkit-box-shadow: none;
	box-shadow: none;
	background-color: transparent;
	border: 0;
}
.modal-footer {
	padding: 15px;
}
.modal-footer .btn + .btn {
	margin-left: 5px;
	margin-bottom: 0;
}
.modal-footer .btn-group .btn + .btn {
  	margin-left: -1px;
}
.modal-footer .btn-block + .btn-block {
  	margin-left: 0;
}
.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
  overflow: scroll;
}
@media (min-width: 768px) {
	#modal-map .modal-dialog {
		width: 90%;
	}
	.modal-dialog {
		width: 400px;
		margin: 10% auto 0;
	}
}
@media (min-width: 992px) {}


/* contents */
.modal-body a {
	color: #333;
}
.modal-footer a {
	margin: 0 15px;
	color: #fff;
}
.modal-footer a:hover {
	text-decoration: underline;
}
.modal-body ul {
	list-style: none;
	margin: 0px;
	padding: 0;
}	
.modal-body ul > li { 
	margin: 5px 0;
	padding: 0;	
}
.modal-body ul > li > a,
.modal-body ul > li > button { 
	display: block;
	vertical-align: middle;
	cursor: pointer;
	font-size: 14px;
	color: #555;
	padding: 0;
	border: 0;
	background: none;
}
.modal-body.none ul > li > a,
.modal-body.none ul > li > button { 
	color: #fff;
}
.modal-body ul > li:hover a,
.modal-body ul > li:hover button {
	text-decoration: underline;
}

/* login */
.modal-body fieldset {
	margin: 0;
	padding: 0;
}
.modal-body ul > li input { 
	width: 100%;
	margin: 0;
	padding: 15px 0 5px;	
	border: 1px solid #e1e1e1;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	background-color: transparent;
}
.modal-body ul > li input:focus { 
	border-color: #58c4a7;
}
.modal-body ul.xet-login li a {
	text-align: center;
	padding: 10px 0;
	border-radius: 3px;
	background-color: #2b2b2b;
	color: #fff;
}

.xet-warning {
	font-size: 12px;
	padding: 15px;
	border-radius: 6px;
	border: 1px solid #c00;
}


/* Modal search layer */
.xet-search-form {
	position: relative;
	margin: 0;
	padding: 0;
}
.xet-search-form input.itext {
	width: 100%;
	padding: 15px 5px;
	border: 1px solid #e1e1e1;
	border-top: 0;
	border-left: 0;
	border-right: 0;
	color: #ccc;
	background: none;
}
.xet-search-form input.itext:focus {
	color: #fff;
	border-color: #58c4a7;
}
.xet-search-form .search-btn {
	position: absolute;
	right: 0;
	top: 0;
	width: 40px;
	height: 100%;
	cursor: pointer;
	font-size: 18px;
	border: 0;
	background: none;
	color: #fff;
}
