.modal-open
{
	overflow: hidden;
}
.modal
{
	bottom: 0;
	display: none;
	left: 0;
	outline: 0;
	overflow: auto;
	overflow-y: scroll;
	position: fixed;
	right: 0;
	top: 0;
	webkit-overflow-scrolling: touch;
	z-index: 1050;
}
.modal.fade .modal-dialog
{
	moz-transition: -moz-transform 0.3s ease-out;
	ms-transform: translate(0, -25%);
	o-transition: -o-transform 0.3s ease-out;
	transform: translate(0, -25%);
	transition: transform 0.3s ease-out;
	webkit-transform: translate(0, -25%);
	webkit-transition: -webkit-transform 0.3s ease-out;
}
.modal.in .modal-dialog
{
	ms-transform: translate(0, 0);
	transform: translate(0, 0);
	webkit-transform: translate(0, 0);
}
.modal-dialog
{
	margin: 10px;
	position: relative;
	width: auto;
}
.modal-content
{
	background-clip: padding-box;
	background-color: #fff;
	border: 1px solid #999;
	border: 1px solid rgba(0,0,0,0.2);
	border-radius: 6px;
	box-shadow: 0 3px 9px rgba(0,0,0,0.5);
	outline: none;
	position: relative;
	webkit-box-shadow: 0 3px 9px rgba(0,0,0,0.5);
}
.modal-backdrop
{
	background-color: #000;
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 1040;
}
.modal-backdrop.fade
{
	filter: alpha(opacity=0);
	opacity: 0;
}
.modal-backdrop.in
{
	filter: alpha(opacity=50);
	opacity: .5;
}
.modal-header
{
	border-bottom: 1px solid #e5e5e5;
	min-height: 16.42857143px;
	padding: 15px;
}
.modal-header .close
{
	margin-top: -2px;
}
.modal-title
{
	line-height: 1.42857143;
	margin: 0;
}
.modal-body
{
	padding: 20px;
	position: relative;
}
.modal-footer
{
	border-top: 1px solid #e5e5e5;
	margin-top: 15px;
	padding: 19px 20px 20px;
	text-align: right;
}
.modal-footer .btn+.btn
{
	margin-bottom: 0;
	margin-left: 5px;
}
.modal-footer .btn-group .btn+.btn
{
	margin-left: -1px;
}
.modal-footer .btn-block+.btn-block
{
	margin-left: 0;
}
@media (min-width:768px)
{
	.modal-dialog
	{
		margin: 30px auto;
		width: 600px;
	}
	.modal-content
	{
		box-shadow: 0 5px 15px rgba(0,0,0,0.5);
		webkit-box-shadow: 0 5px 15px rgba(0,0,0,0.5);
	}
	.modal-sm
	{
		width: 300px;
	}
}
@media (min-width:992px)
{
	.modal-lg
	{
		width: 900px;
	}
}
