/* FORM CSS */
::placeholder{
	color:#707070;
}
div.form{
	width: 860px;
	margin: 50px auto;
}
div.form > p{
	position: relative;
	text-align: left;
	font-size: 22px;
}
div.form > p.alert{
	height: 30px;
	font-size: 22px;
	line-height: 30px;
	color: #FF0000;
	font-weight: bold;
}
form{
	width: 800px;
	margin: 30px auto;
}
form > div{
	display: flex;
	justify-content: space-between;
	margin: 30px 0;
	width: 100%;
}
form > div > label{
	font-size: 22px;
	position: relative;
	line-height: 50px;
	width: calc(100% - 600px);
}
input, textarea{
	position: relative;
	background-color:#D1EFFB;
	border-radius: 5px;
	border: none;
	height: 50px;
	font-size: 21px;
	padding: 14.5px 20px;
	width: 600px;
	color: #111111;
	transition: all .3s ease;
}
input:disabled, textarea:disabled{
	background-color: #a5a5a5;
	color: #ffffffa6;
}
input:disabled::placeholder, textarea:disabled::placeholder{
	color: #a5a5a5;
}
label > span.err_msg{
	position: absolute;
	width: 800px;
	color: red;
	font-size: 13px;
	font-weight: bold;
	line-height: 13px;
	height: 13px;
	top: -14px;
	left: 0;
}
/* TEXT TYPE */
input:focus, textarea:focus{
	background-color: #e8f8ff;
}
input:focus::placeholder, textarea:focus::placeholder{
	color: #00A7EA;
}

textarea{
	min-height: 300px;
	max-height: 800px;
	min-width: 600px;
	max-width: 600px;
}
form > div#check_div{
	width: 90%;
	margin: 30px auto;
}
/* CHECKBOX */
input[type=checkbox] {
	display: none;
}
.checkbox {
	-webkit-transition: background-color 0.2s linear;
	transition: background-color 0.2s linear;
	position: relative;
	display: inline-block;
	margin: 20px auto;
	width: 95%;
	font-size: 18px;
	padding: 12px 12px 12px 55px;
	border-radius: 8px;
	vertical-align: middle;
	cursor: pointer;
}
.checkbox:hover {
  /*background-color: #e2edd7;*/
}
.checkbox:after {
	-webkit-transition: border-color 0.2s linear;
	transition: border-color 0.2s linear;
	position: absolute;
	top: 50%;
	left: 15px;
	display: block;
	margin-top: -10px;
	width: 16px;
	height: 16px;
	border: 2px solid #707070;
	border-radius: 5px;
	content: "";
}
.checkbox:hover:after {
	border-color: #00A7EA;
}
.checkbox:before {
	-webkit-transition: opacity 0.2s linear;
	transition: opacity 0.2s linear;
	position: absolute;
	top: 50%;
	left: 21.5px;
	display: block;
	margin-top: -7px;
	width: 5px;
	height: 9px;
	border-right: 2px solid #707070;
	border-bottom: 2px solid #707070;
	content: "";
	opacity: 0;
	-webkit-transform: rotate(45deg);
	-ms-transform: rotate(45deg);
	transform: rotate(45deg);
}
.checkbox:hover::before{
	border-right: 2px solid #00A7EA;
	border-bottom: 2px solid #00A7EA;
}
input[type=checkbox]:checked + .checkbox:before {
  opacity: 1;
}
input[type="submit"]{
	display: none;
}
input[type="submit"] + label{
	width: 150px;
	height: 50px;
	font-size: 28px;
	background-color: #00A7EA;
	border: none;
	border-radius: 7px;
	margin: 0 auto;
	color: #fff;
	font-weight: bold;
	text-align: center;
	line-height: 50px;
	transition: all .3s ease;
}
input[type="submit"]:disabled + label{
	background-color: #fff;
	border: 1px solid #00A7EA;
    color: rgba(112, 112, 112, 0.5);
}

.complete > h4{
	margin-bottom: 50px;
	font-size: 30px;
	text-align: center;
	width: 100%;
}
.complete > p{
	text-align: center;
	font-size: 22px;
	width: 90%;
	margin: 0 auto;
}
.complete > a{
	display: block;
	font-size: 25px;
	margin: 50px auto;
	text-align: center;
	color: #00A7EA;
}
.complete > a:hover{
	text-decoration: underline;
}

@media screen and (max-width: 800px){
	div.form{
		width: 100%;
	}
	form{
		width: 95%;
	}
	form > div{
		flex-flow: column;
	}
	input, textarea{
		max-width: 100%;
		min-width: 90%;
		width: 95%;
	}
	form > div > label{
		width: 100%;
	}
	label > span.err_msg{
		position: static;
		width:auto;
		font-size: 16px;
		padding-left: 30px;
		line-height: 50px;
	}
	form > div > label{
		line-height: 18px;
	}
	.checkbox{
		width: 90%;
		line-height: 18px;
		padding: 5px 6px 6px 45px;
	}
	.checkbox:before{
		left: 12px;
	}
	.checkbox:after{
	    margin-top: -17px;
	    left: 5px;
	}
	input[type=checkbox]:checked + .checkbox:before{
		margin-top: -15px;
	}
}
@media screen and (max-width: 350px){
	form > div > label{
		font-size: 12px;
	}
	label > span.err_msg{
		font-size: 12px;
	}
	input, textarea{
		height: 36px;
		font-size: 16px;
		padding: 10px 5px;
	}
}