.modal-backdrop {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 1040;
	background-color: #000000;
}

.modal-backdrop.fade {
	opacity: 0;
}

.modal-backdrop,
.modal-backdrop.fade.in {
	opacity: 0.8;
	filter: alpha(opacity=80);
}

.modal-backdrop + .modal-backdrop {
	opacity: 0 !important;
}

body.modal-open {
	/*overflow: hidden;*/
	/*position: fixed;*/
	/*left: 0;*/
	/*right: 0;*/
	/*top: 0;*/
	/*bottom: 0;*/
}

.modal {
	display: none;
	position: fixed;
	top: 5%;
	left: 50%;
	z-index: 1050;
	width: 560px;
	margin-left: -280px;
	max-height: 90vh;

	background-color: #FFFFFF;
	border: 1px solid #999999;
	border: 1px solid rgba(0, 0, 0, 0.3);
	*border: 1px solid #999999;
	/* IE6-7 */

	-webkit-border-radius: 6px;
	-moz-border-radius: 6px;
	border-radius: 6px;
	-webkit-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-moz-box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	box-shadow: 0 3px 7px rgba(0, 0, 0, 0.3);
	-webkit-background-clip: padding-box;
	background-clip: padding-box;
	outline: none;
}

.modal {
	color: #5C6268;
	font-family: "Titillium Web", Arial, Helvetica, sans-serif;
	font-size: 14px;
	line-height: 1.42857;
}

.modal.fade {
	-webkit-transition: opacity .3s linear, top .3s ease-out;
	-moz-transition: opacity .3s linear, top .3s ease-out;
	-o-transition: opacity .3s linear, top .3s ease-out;
	transition: opacity .3s linear, top .3s ease-out;
	top: -25%;
}

.modal.fade.in {
	top: 5%;
}

.modal-header {
	padding: 9px 15px;
	border-bottom: 1px solid #EEEEEE;
}

.modal .close {
	background: transparent none repeat scroll 0 0;
	border: medium none;
	float: right;
	margin-top: 2px;
	font-size: 14px;
	cursor: pointer;
}

.modal-content {
	max-height: 90vh;
}

.modal-dialog{
}

.modal-header h3 {
	margin: 0;
	line-height: 30px;
}

.modal-body {
	position: relative;
	overflow-y: auto;
	overflow-x: scroll;
	max-height: calc(90vh - 50px - 70px);
	padding: 15px;
}

.modal-form {
	margin-bottom: 0;
}

.modal-footer {
	padding: 14px 15px 15px;
	margin-bottom: 0;
	text-align: right;
	background-color: #F5F5F5;
	border-top: 1px solid #DDDDDD;
	-webkit-border-radius: 0 0 6px 6px;
	-moz-border-radius: 0 0 6px 6px;
	border-radius: 0 0 6px 6px;
	-webkit-box-shadow: inset 0 1px 0 #FFFFFF;
	-moz-box-shadow: inset 0 1px 0 #FFFFFF;
	box-shadow: inset 0 1px 0 #FFFFFF;
	*zoom: 1;
}

.modal-footer:before,
.modal-footer:after {
	display: table;
	content: "";
	line-height: 0;
}

.modal-footer:after {
	clear: both;
}

.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;
}

.form-group {
	clear: both;
}

.form-group > .control-label,
.form-group > .form-control {
	width: 100%;
	margin-bottom: 5px;
}

.form-group > .form-control[type='checkbox'] {
	width: auto;
}

.form-group > .control-label {
	width: auto;
}

.form-group > .form-control {
	font-size: 14px;
}

.form-group.has-error input,
.form-group.has-error textarea,
.form-group.has-error .quantity,
.form-group.has-error .styled-select,
.form-subscribe .email-container.has-error input {
	border: 1px solid #A94442;
}

.form-group.has-error label.control-label,
.form-group.has-error label.control-label a {
	color: #A94442;
}

.ignore .form-control {
}

.required .control-label:not(.heard_off)::after {
	content: " *";
}

#results {
	display: none;
	border: 1px solid #CCCCCC;
	text-align: center;
	width: 100%;
}

#results .text {
	margin: 10px;
}

#results.show {
	display: inline-block;
	padding: 10px;
}

#results {
	margin-bottom: 30px;
}

#results.error {
	border-color: #A94442 !important;
	color: #A94442;
}

#results.success {
	border-color: #DD7902 !important;
	color: #DD7902;
}

#form {
	position: relative;
	overflow: hidden;
}

.modal button {
	border: none;
	margin-top: 0;
}

.mt-15 {
    margin-top: 15px;
}

@media (max-width: 767px) {
	.modal {
		position: fixed;
		top: 20px;
		left: 20px;
		right: 20px;
		width: auto;
		margin: 0;
	}

	.modal.fade {
		top: -100px;
	}

	.modal.fade.in {
		top: 20px;
	}
}