
.form-container {
	display: none;
	max-width: 500px;
	margin: 40px auto;
	height: auto;
	padding: 40px 20px 20px;
	background-color: #ebebeb;
	box-shadow: 0px 5px 5px rgba(0,0,0,0.2);
	position: fixed;
	overflow-y: auto;
	overflow-x: hidden;
	left: 0;
	right: 0;
	top: 0;
	z-index: 10000000;
	transition: all 0.3s ease-out;
}
.form-container.active {
	display: block;
	transition: all 0.3s ease-out;
}
h2, .field-block {
	margin-bottom: 20px;
}

.field-block label, .field-block .field {
	display: block;
	width: 100%;
}

.field-block label {
	margin-bottom: 8px;
	font-weight: bold;
}

.field-block .field {
	font-size: 16px;
	padding: 8px 12px;
	line-height: 1.5;
	border-radius: 4px;
	border: 1px solid #ccc;
	box-shadow: inset 0 1px 1px rgba(0,0,0,0.075);
	transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif
}

.field-block .field:focus {
  border-color: #65656b;
  outline: 0;
  box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(0, 0, 0, .2);
}

.field-block textarea {
	resize: vertical;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif
}

.check-text {
	font-size: 14px;
	vertical-align: top;
	margin-left: 5px;
}

.button {
	cursor: pointer;
	font-size: 16px;
	padding: 6px 12px;
	margin-bottom: 5px;
	font-family: 'Montserrat', Helvetica, Arial, sans-serif
}

#loader {
	display: none;
}
.result {
	margin: 0 auto;
	font-size: 14px;
	text-align: center;
}

.modal-close {
	display: block;
	width: 40px;
	height: 40px;
	background-color: transparent;
	margin: 0 auto;
	cursor: pointer;
	position: absolute;
	top: 0;
	right: 5px;
	opacity: 0.6;
	transition: all 0.3s ease-out;
}
.modal-close:hover {
	opacity: 1.0;
	transition: all 0.3s ease-out;
}
.modal-close::before {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #000;
	width: 20px;
	margin-left: -10px;
	height: 2px;
	margin-top: -1px;
	transform: rotate(45deg);
}
.modal-close::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	background-color: #000;
	width: 20px;
	margin-left: -10px;
	height: 2px;
	margin-top: -1px;
	transform: rotate(-45deg);
}