/* --- */
.modal {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 11050;
	display: none;
	overflow: hidden;
	-webkit-overflow-scrolling: auto;
	outline: none;
}
.modal.fade .modal-dialog {
	-webkit-transition: -webkit-transform .3s ease-out;
	-o-transition: -o-transform .3s ease-out;
	transition: transform .3s ease-out;
	-webkit-transform: translate(0, -25%);
	-ms-transform: translate(0, -25%);
	-o-transform: translate(0, -25%);
	transform: translate(0, -25%);
}
.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;
	width: auto;
	margin: 10px;
}
.modal-content {
	position: relative;
	background-color: #fff;
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	border: 1px solid #999;
	border: 1px solid rgba(0, 0, 0, .2);
	border-radius: 6px;
	outline: none;
	-webkit-box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
	box-shadow: 0 3px 9px rgba(0, 0, 0, .5);
}
.modal-open .modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 11040;
	background-color: #000;
}
.modal-open .modal-backdrop.fade {
	filter: alpha(opacity=0);
	opacity: 0;
}
.modal-open .modal-backdrop.in {
	filter: alpha(opacity=50);
	opacity: .5;
}
.modal-header {
	padding: 15px;
	border-bottom: 1px solid #e5e5e5;
}
.modal-title {
	margin: 0;
	line-height: 1.42857143;
}
.modal-body {
	position: relative;
	padding: 15px;
}
.modal-scrollbar-measure {
	position: absolute;
	top: -9999px;
	width: 50px;
	height: 50px;
	overflow: scroll;
}
@media (min-width: 768px) {
	.modal-dialog {
		width: 600px;
		margin: 30px auto;
	}
	.modal-content {
		-webkit-box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
		box-shadow: 0 5px 15px rgba(0, 0, 0, .5);
	}
}
.modal-header:before,
.modal-header:after {
	display: table;
	content: " ";
}
.modal-header:after {
	clear: both;
}
/* --- */
.bsmodal img {max-width: 100%;}
.bsmodal * {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
.bsmodal *:before,
.bsmodal *:after {
	-webkit-box-sizing: border-box;
	box-sizing: border-box;
}
body.modal-open {
	height: 100%;
	overflow: hidden;
	-webkit-text-size-adjust: none; /* prevent mobile font scaling */
}
.modal-open .bsmodal {
	margin: 0;
	padding: 0 !important;
}
/* .bsmodal-open is used to avoid background blinking when displaying several modals in a row */
.bsmodal-open {overflow: hidden;}
.bsmodal-open .modal-backdrop {
	background-color: transparent !important;
}
.bsmodal-open .bsmodal-backdrop {
	background-color: #000;
	opacity: .5;
	bottom: 0;
	left: 0;
	position: fixed;
	right: 0;
	top: 0;
	z-index: 11039;
}
.bsmodal .bsmodal-focus {
	outline: none;
}
.modal-open .bsmodal.iframe {
	overflow: hidden;
}
.bsmodal .modal-dialog {
	-webkit-box-sizing: content-box; /* for js */
	box-sizing: content-box; /* for js */
	width: auto;
	padding: 0;
	margin: 0 auto;
}
.bsmodal.no-header .modal-dialog {
	padding: 7px 20px;
}
@media (max-width: 479px) {
	.bsmodal.no-header .modal-dialog {
		padding-left: 7px;
	}
}
.bsmodal .modal-content {
	-webkit-box-sizing: content-box; /* for js */
	box-sizing: content-box; /* for js */
	border-radius: 3px;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
	padding: 0;
	margin: 0;
	overflow: hidden;
	background-color: #f7f9fa;
}
.bsmodal .bsmodal-caption-block {
	position: relative;
	text-align: center;
}
.bsmodal .bsmodal-caption {
	color: #f7f9fa;
	line-height: 1.8;
	display: inline-block;
	padding: 0 25px;
	margin: 5px 0 0;
	background: #273440;
	border: 1px solid #81888f;
	border-radius: 25px;
	-moz-border-radius: 25px;
	-webkit-border-radius: 25px;
}
.bsmodal .modal-header {
	position: relative;
	border-top-left-radius: 3px;
	-moz-top-left-border-radius: 3px;
	-webkit-top-left-border-radius: 3px;
	border-top-right-radius: 3px;
	-moz-top-right-border-radius: 3px;
	-webkit-top-right-border-radius: 3px;
	border-bottom: none;
	background: #f7f7f7;
	min-height: 40px;
	padding: 0;
}
.bsmodal.large .modal-header {
	background: #edf1f3;
	min-height: 60px;
}
.bsmodal.no-header .modal-header {
	min-height: 0;
	height: 0;
}
.bsmodal .modal-subheader {
	height: 0;
}
.bsmodal.large .modal-subheader {
	height: 26px;
	line-height: 26px;
	color: #fff;
	background: #536c82;
}
@media (max-width: 479px) {
	.bsmodal.large .modal-subheader {
		height: 6px;
	}
}
.bsmodal .modal-header .modal-title {
	color: #456785;
	line-height: 1.1;
	text-transform: uppercase;
	font-size: 20px;
	font-weight: bold;
	padding: 17px 60px 14px 25px;
}
.bsmodal.large .modal-header .modal-title {
	font-family: Ubuntu, sans-serif;
	font-size: 40px;
	font-weight: 300;
	padding: 17px 60px 17px 25px;
}
@media (max-width: 479px) {
	.bsmodal.large .modal-header {
		min-height: 30px;
	}
	.bsmodal .modal-header .modal-title {
		padding: 12px 40px 8px 15px;
	}
	.bsmodal.large .modal-header .modal-title {
		font-size: 24px;
		padding: 12px 40px 12px 25px;
	}
}
@media (min-width: 480px) and (max-width: 767px) {
	.bsmodal.large .modal-header .modal-title {
		font-size: 28px;
	}
	.bsmodal.large .modal-subheader {
		height: 16px;
	}
}
.bsmodal .modal-body {
	-webkit-box-sizing: content-box; /* for js */
	box-sizing: content-box; /* for js */
	margin: 0;
	padding: 0;
	-webkit-overflow-scrolling: touch;
	overflow: auto;
	font-size: 16px;
	line-height: 26px;
}
.bsmodal .modal-body:after { /* bottom padding fix for overflow: auto */
	content: '';
	display: block;
	width: 100%;
	height: 0;
}
.bsmodal.img .modal-body,
.bsmodal.video .modal-body {
	padding: 5px 15px 18px;
}
.bsmodal.padding .modal-body {
	padding: 10px 22px 0;
}
.bsmodal.padding .modal-body:after {
	height: 30px;
}
.bsmodal.large.padding .modal-body {
	padding: 23px 27px 0;
}
.bsmodal.img .modal-header .modal-title,
.bsmodal.video .modal-header .modal-title {
	padding-left: 15px;
}
.bsmodal.padding .modal-header .modal-title {
	padding-left: 22px;
}
.bsmodal.large.padding .modal-header .modal-title {
	padding-left: 27px;
}
.bsmodal.no-header.img .modal-body,
.bsmodal.no-header.video .modal-body {
	padding: 10px;
}
.bsmodal.no-header.padding .modal-body {
	padding-top: 25px;
}
@media (max-width: 479px) {
	.bsmodal .modal-body {
		font-size: 14px;
		line-height: 22px;
	}
	.bsmodal.img .modal-body,
	.bsmodal.video .modal-body {
		padding: 2px 5px 6px;
	}
	.bsmodal.padding .modal-body {
		padding: 10px 15px 0;
	}
	.bsmodal.padding .modal-body:after {
		height: 25px;
	}
	.bsmodal.large.padding .modal-body {
		padding: 13px 17px 0;
	}
	.bsmodal.img .modal-header .modal-title,
	.bsmodal.video .modal-header .modal-title {
		padding-left: 5px;
	}
	.bsmodal.padding .modal-header .modal-title {
		padding-left: 15px;
	}
	.bsmodal.large.padding .modal-header .modal-title {
		padding-left: 17px;
	}
	.bsmodal.no-header.img .modal-body,
	.bsmodal.no-header.video .modal-body {
		padding: 4px;
	}
	.bsmodal.no-header.padding .modal-body {
		padding-top: 20px;
	}
}
.bsmodal.iframe .modal-body > iframe {
	position: absolute;
	overflow: hidden;
	height: 100%;
	width: 100%;
	margin: 0;
	padding: 0;
	border-bottom-left-radius: 3px;
	-moz-bottom-left-border-radius: 3px;
	-webkit-bottom-left-border-radius: 3px;
	border-bottom-right-radius: 3px;
	-moz-bottom-right-border-radius: 3px;
	-webkit-bottom-right-border-radius: 3px;
}
.bsmodal.iframe.video .modal-body::-webkit-scrollbar {
	width: 0; /* for Chrome */
}
.bsmodal.iframe.video .modal-body > iframe {
	position: relative;
	border-radius: 0;
	-moz-border-radius: 0;
	-webkit-border-radius: 0;
}
.bsmodal .modal-close {
	display: none;
	position: absolute;
	margin: 0;
	cursor: pointer;
}
.bsmodal .modal-close:before,
.bsmodal .modal-close:after {
	content: '';
	position: absolute;
}
.bsmodal .modal-close:before {
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(45deg);
}
.bsmodal .modal-close:after {
	-webkit-transform: rotate(-45deg);
	-ms-transform: rotate(-45deg);
	transform: rotate(-45deg);
}
.bsmodal .modal-close:focus {
	outline: none;
}
.bsmodal.no-header .modal-close {
	display: block;
	width: 20px;
	height: 20px;
	top: 0;
	right: 0;
	z-index: 2;
	opacity: .8;
}
.bsmodal.no-header .modal-close:after,
.bsmodal.no-header .modal-close:before {
	width: 3px;
	height: 20px;
	top: 0;
	left: 10px;
	background-color: #fff;
}
.bsmodal.no-header .modal-close:focus,
.bsmodal.no-header .modal-close:hover {
	opacity: 1;
}
.bsmodal .modal-header .modal-close {
	display: block;
	width: 31px;
	height: 31px;
	top: 50%;
	right: 10px;
	text-shadow: none;
	opacity: 1;
	-webkit-transform: translateY(-50%);
	transform: translateY(-50%);
}
.bsmodal .modal-header .modal-close:before,
.bsmodal .modal-header .modal-close:after {
	width: 3px;
	height: 25px;
	top: 0;
	left: 13px;
	background-color: #536c82;
	margin: 3px 0 0 1px;
}
.bsmodal .modal-header .modal-close:hover:before,
.bsmodal .modal-header .modal-close:hover:after {
	background-color: #95ac48;
}
.bsmodal .modal-header .modal-close:active,
.bsmodal .modal-header .modal-close:focus {
	border-radius: 50%;
	background-color: #95ac48;
}
.bsmodal .modal-header .modal-close:active:before,
.bsmodal .modal-header .modal-close:active:after,
.bsmodal .modal-header .modal-close:focus:before,
.bsmodal .modal-header .modal-close:focus:after {
	background-color: #fff;
}
.bsmodal.large .modal-header .modal-close {
	width: 50px;
	height: 50px;
	opacity: .2;
}
.bsmodal.large .modal-header .modal-close:before,
.bsmodal.large .modal-header .modal-close:after {
	top: 0;
	margin: 0;
	background-color: #536c82;
}
@media (max-width: 479px) {
	.bsmodal.large .modal-header .modal-close {
		width: 28px;
		height: 28px;
		right: 10px;
	}
	.bsmodal.large .modal-header .modal-close:before,
	.bsmodal.large .modal-header .modal-close:after {
		width: 2px;
		height: 28px;
	}
	.bsmodal.large .modal-header .modal-close:before {
		left: 14px;
	}
	.bsmodal.large .modal-header .modal-close:after {
		left: 14px;
	}
}
@media (min-width: 480px) {
	.bsmodal.large .modal-header .modal-close:before,
	.bsmodal.large .modal-header .modal-close:after {
		width: 3px;
		height: 50px;
	}
	.bsmodal.large .modal-header .modal-close:before {
		left: 22px;
	}
	.bsmodal.large .modal-header .modal-close:after {
		left: 23px;
	}
}
.bsmodal.large .modal-header .modal-close:focus,
.bsmodal.large .modal-header .modal-close:hover {
	opacity: 1;
}
.bsmodal.large .modal-header .modal-close:active,
.bsmodal.large .modal-header .modal-close:focus {
	background-color: transparent;
}
.bsmodal.large .modal-header .modal-close:active:before,
.bsmodal.large .modal-header .modal-close:active:after,
.bsmodal.large .modal-header .modal-close:focus:before,
.bsmodal.large .modal-header .modal-close:focus:after {
	background-color: #777097;
}
.bsmodal.no-header .modal-header .modal-close {
	display: none;
}
.bsmodal.gallery .bsmodal-arrow {
	display: block;
	height: 100%;
	cursor: pointer;
	position: absolute;
	z-index: 1;
	width: 30%;
	opacity: 0;
}
.bsmodal.gallery .bsmodal-arrow-right {
	right: 0;
}
.bsmodal.gallery .bsmodal-arrow-left {
	left: 0;
}
.bsmodal.gallery .bsmodal-arrow-right:before,
.bsmodal.gallery .bsmodal-arrow-right:after,
.bsmodal.gallery .bsmodal-arrow-left:before,
.bsmodal.gallery .bsmodal-arrow-left:after {
	content: '';
	width: 3px;
	height: 20px;
	position: absolute;
	top: 50%;
	-webkit-transform: translateX(-50%);
	transform: translateX(-50%);
	background-color: #536c82;
}
.bsmodal.gallery .bsmodal-arrow-right:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	right: 20px;
}
.bsmodal.gallery .bsmodal-arrow-right:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	right: 20px;
	margin-top: -12px;
}
.bsmodal.gallery .bsmodal-arrow-left:before {
	-webkit-transform: rotate(45deg);
	transform: rotate(45deg);
	left: 20px;
	margin-top: -12px;
}
.bsmodal.gallery .bsmodal-arrow-left:after {
	-webkit-transform: rotate(-45deg);
	transform: rotate(-45deg);
	left: 20px;
}
.bsmodal.gallery .modal-dialog:hover .bsmodal-arrow {
	opacity: .2;
}
.bsmodal.gallery .modal-dialog .bsmodal-arrow:hover {
	opacity: 1;
}