.modal-overlay {
	opacity: 0;
	z-index: -10;
	display: none;
}

body.modal-open .modal-overlay {
	display: block;
	position: fixed;
	opacity: 1;
	width: 100%;
	height: 100%;
	top: 0;
	left: 0;
	background-color: rgba(0, 0, 0, 0.6);
	z-index: 5000;
}

.modal-dialog {
	display: none;
	opacity: 0;
	z-index: -100;
}

.modal-dialog #modal-loading {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	opacity: 0;
	z-index: -1;
	background-color: rgba(255, 255, 255, 0.8);
	transition: opacity 0.3s ease-in-out;
}

.modal-dialog.loading #modal-loading {
	opacity: 1;
	z-index: 10;
}

.modal-dialog #modal-loading .loading-text {
	position: absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	font-size: 20px;
	font-weight: bold;
}

body.modal-open .modal-dialog {
	display: block;
	opacity: 1;
	background-color: #fff;
	position: fixed;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	z-index: 5200;
	padding: 20px;
	width: 400px;
	box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.75);
}

.modal-dialog textarea,
.modal-dialog input {
	font-family: "metropolisregular", Arial;
	font-size: 14px;
	padding: 8px;
	width: 100%;
	border: 1px solid #cccccc;
	border-radius: 6px;
}

.modal-dialog textarea {
	resize: vertical;
}

.modal-dialog .input-group {
	margin-bottom: 20px;
}

.modal-dialog .input-group:last-child {
	margin-bottom: 0;
}

.modal-dialog #submit-modal:after {
	content: "\f105";
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 14px;
	font-family: FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "FontAwesome";
	margin-left: 20px;
	color: #ffffff;
	font-size: 20px;
}

.modal-dialog .close-modal:before,
.modal-dialog #close-modal:before {
	content: "\f05c";
	color: #002143;
	display: inline-block;
	font: normal normal normal 14px/1 FontAwesome;
	font-size: 14px;
	font-family: FontAwesome;
	font-size: inherit;
	text-rendering: auto;
	-webkit-font-smoothing: antialiased;
	-moz-osx-font-smoothing: grayscale;
	font-family: "FontAwesome";
	margin-right: 10px;
	font-size: 20px;
	position: relative;
	top: 2px;
}

.modal-dialog #submit-modal {
	background-color: rgba(123, 210, 255, 1);
	color: #002143;
	padding: 10px 9px;
	float: right;
}

.modal-dialog .close-modal,
.modal-dialog #close-modal {
	color: #002143 !important;
	padding: 10px 9px;
	float: left;
	position: relative;
}

.modal-dialog ul {
	margin: 0 auto;
	padding: 0;
	list-style: none;
}

.modal-dialog ul li {
	margin: 5px 0;
	color: #FFF !important;
}

#modal-status .status-alert {
	background-color: rgb(131, 33, 33);
	padding: 5px 10px;
	margin-bottom: 10px;
}

#modal-success {
	text-align: center;
}

#modal-success h4 {
	text-align: center;
	margin: 0 0 10px 0;
}

#modal-success a {
	display: block;
	margin-top: 10px;
	text-align: center;
	width: 100%;
}

/* Responsive */
@media screen and (max-width:440px) {
	body.modal-open .modal-dialog {
		width: 100%;
	}
}