html{
	overflow: initial;
}

.mfp-close{
	top: 88px;
}
.mfp-close:active {
	top: 86px;
}
#applyFormContainer{
	position: relative;
	max-width: 960px;
	margin: 20px auto;
}
#applicationForm fieldset{
	background: #FFFFFF;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	border-radius: 2px;
	padding: 40px 55px;
}
#applicationForm fieldset:not(:first-of-type) {
	display: none;
}
#applicationForm h3{
	color: #3e3e3e;
	font-size: 24px;
	font-weight: 600;
	margin-bottom: 30px;
}
#applicationForm .text-box{
	position: relative;
	padding: 20px 0 30px;
}
#applicationForm .text-group .text-box{
	flex-basis: 48%;
}
#applicationForm .text-group, #applicationForm .select-group{
	display: flex;
	justify-content: space-between;
}
#applicationForm .select-box:first-child{
	flex-basis: 20%;	
}
#applicationForm .select-box:last-child{
	flex-basis: 75%;
}
#applicationForm .select-box.basis-50{
	flex-basis: 50%;
}
#applicationForm .select-box.basis-100{
	flex-basis: 100%;
}
#applicationForm .select-box.basis-100 select{
	width: 100%;
}
#applicationForm select~label:after{
	content: "";
	display: block;
	width: 10px;
	height: 10px;
	background: red;
}
#applicationForm #gender{
	width: 100%;
}
#applicationForm .inputs-group{
	position: relative;
}
#applicationForm .check-box{
	position: relative;
}
#applicationForm .check-box label{
	font-weight: 400;
}
#applicationForm .check-box .confirmation{
	font-weight: bold;
	color: #2c5c78;
}
#applicationForm .inputs-group{
	margin-bottom: 60px;
}
.select-box{
	position: relative;
}
.text-box .hr-container{
	transition: transform .2s cubic-bezier(.23,1,.32,1) 0ms,-webkit-transform .2s cubic-bezier(.23,1,.32,1) 0ms;
	width: 100%;
	border-bottom: 1px solid #2c5c78;
}
.text-box .hr-container hr{
	margin: 0;
	border: 0;
}
.text-box.error-input input:focus~.hr-container, .text-box.error-input .hr-container, .select-box.error-input select{
	border-color: #e70000;
}
.text-box input:focus~.hr-container{
	border-color: #5ea2ce;
}
.error-msg, .text-box.error-input input:focus~label, .text-box.error-input label, .text-box.error-input .error-msg, .select-box.error-input label, .select-box.error-input .error-msg, .text-box.error-input .fa, .select-box.error-input .fa{
	color: #e70000;
}
.text-box .error-msg, .select-box .error-msg{
	display: block;
	font-size: 12px;
	height: 15px;
	transition: all .45s cubic-bezier(.23,1,.32,1) 0ms;
}
.text-box .addItem~.error-msg, .text-box .removeItem~.error-msg{
	position: absolute;
	top: 4em;
	left: 0;
}

.text-box label{
	position: absolute;
	top: 20px;
	left: 0;
	font-weight: 400;
	transition: all .45s cubic-bezier(.23,1,.32,1) 0ms;
	cursor: text;
	width: 100%;
	-webkit-transform: scale(1) translate(0);
	-ms-transform: scale(1) translate(0);
	transform: scale(1) translate(0);
	-webkit-transform-origin: left top 0;
	-ms-transform-origin: left top 0;
	transform-origin: left top 0;
}

.check-box input[type=checkbox]{
	display: none;
}
.check-box label:before {
	content: '';
	display: inline-block;
	background: #2c5c78;
	height: 16px;
	width: 16px;
	margin-right: 10px;
	border-radius: 50%;
	box-shadow: 0px 1px 0 0 rgba(0, 0, 0, .2);
	box-sizing: border-box;
	border: 8px solid #ddd;
	transition: border .3s ease;
}

.check-box input:checked + label:before {
	border-color: #fff;
	border-width: 3px;
}
.check-box input + label {
	transition: color .7s ease;
}
.check-box input:checked + label {
	color: #5D5D5D;
}
#applicationForm .confirmation{
	text-transform: capitalize;
}
.text-box input:focus~label, .text-box input.text-filled~label, .select-box input:focus~label{
	-webkit-transform: scale(.8) translateY(-20px);
	-ms-transform: scale(.8) translateY(-20px);
	transform: scale(.8) translateY(-20px);
	color: #8c98ab;
}
.text-box.half, .select-box.half{
	width: 50%;
}
.text-box.half.inline{
	width: 49%;
}
.text-box.third.inline{
	width: 32%;
}
.text-box.quart{
	width: 25%;
}
.text-box.inline{
	display: inline;
	margin-right: 1%;
}
.text-box.inline.line-end{
	margin: 0;
}
.text-box.inline.line-end:after{
	content: "";
	display: block;
	clear: both;
}
.text-box input[type=text], .text-box input[type=email], input[type=tel]{
	border: none;
	outline: none;
	color: #636b78;
	font-size: 16px;
	height: 20px;
	font-weight: 500;
	width: 100%;
}
.select-box.basis-50 select{
	width: 100%;
}
.text-box .fa, .text-box input.text-filled~.fa, .select-box .fa{
	position: absolute;
	top: 25px;
	right: 0;
	font-size: 14px;
	transition: all .45s cubic-bezier(.23,1,.32,1) 0ms;

	color: #2c5c78;
}

#progressbar{
	margin-bottom: 30px;
	font-size: 0;
	counter-reset: step;
	display: flex;
	justify-content: space-between;
}
#progressbar li{
	display: inline-block;
	width: 31.5%;
	height: 50px;
	text-align: center;
	line-height: 50px;
	font-size: 18px;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	border-radius: 2px;
	background-color: #f5fdfb;

}
#progressbar li.active{
	background-color: #33BB9B;
	color: #FFFFFF;
}
#progressbar li:before{
	content: counter(step);
	counter-increment: step;
	width: 35px;
	line-height: 35px;
	display: inline-block;
	border-radius: 50%;
	font-size: 10px;
	color: #333;
	background-color: #ffeccb;
	vertical-align: middle;
	margin-right: 20px;
}
#progressbar li.active:before{
	background-color: #FFFFFF;
}
#progressbar li:first-child:after {
	content: none; 
}
#applicationForm .action-button{
	border: 0;
	background-color: rgb(38, 49, 109);
	color: #FFFFFF;
	height: 45px;
	padding: 0 24px;
	text-align: left;
	font-size: 16px;
	font-weight: 600;
	text-transform: uppercase;
	cursor: pointer;
}
#applicationForm .confirmation.inline-block{
	display: inline-block;
	margin-right: 20px;
}
#applicationForm .addItem, #applicationForm .removeItem{
	font-size: 12px;
	text-align: right;
	cursor: pointer;
	position: absolute;
    right: 0;
    bottom: 0;
}

#applicationForm .addable-input{
	position: relative;
	margin-bottom: 25px;
}
#applicationForm .addable-input #parent~.addItem, #applicationForm .addable-input #parent~.removeItem{
	position: absolute;
	right: 0;
	bottom: 0;
}
#applicationForm .doc-header{
	font-size: 0;
	margin-bottom: 64px;
}
#applicationForm .doc-logo, #applicationForm .contactor-info{
	width: 50%;
	display: inline-block;
}
#applicationForm .contactor-info{
	font-size: 16px;
	text-align: right;
}
#applicationForm .doc-to-sign{
	margin-bottom: 48px;
}
#applicationForm .doc-to-sign h3{
	text-align: center;
	text-transform: uppercase;
	text-decoration: underline;
}
#applicationForm .doc-content{
	margin-bottom: 48px;
}
#applicationForm .doc-content p{
	color: #3e3e3e;
	margin-bottom: 24px;
}
.select-box{
	font-size: 0;
}
.select-box label{
	display: block;
	font-weight: 400;
	font-size: 16px;
	transition: all .45s cubic-bezier(.23,1,.32,1) 0ms;
}
.select-box select{
	-webkit-appearance: button;
	-webkit-border-radius: 2px;
	-webkit-box-shadow: 0px 1px 3px rgba(0, 0, 0, 0.1);
	-webkit-padding-end: 20px;
	-webkit-padding-start: 2px;
	-webkit-user-select: none;
	color: #2c5c78;
	font-size: 14px;
	overflow: hidden;
	padding: 0 10px 5px;
	text-overflow: ellipsis;
	white-space: nowrap;
	width: 33.3%;
	margin-right: 15px;
	border: 0;
	outline: 0;
	box-shadow: none;
	border-bottom: 1px solid #2c5c78;
}
.select-box select:last-child{
	margin-right: 0;
}
.select-box{
	margin-bottom: 40px;
}
.select-box select#day{
	width: 3.5em;
}
.select-box select#year{
	width: 4em;
}
.pac-container {
	z-index: 1050;
}
.text-box-group > .text-box{
	display: inline-block;
}
.check-box-group{
	padding: 20px 10px;
}
.check-box-group input[type=checkbox]{
	display: none;
}
.check-box-group input[type=checkbox]:checked+label{
	background-color: #33BB9B;
	color: #FFFFFF;
	box-shadow: 0 1px 3px rgba(0,0,0,0.12), 0 1px 2px rgba(0,0,0,0.24);
}
#applicationForm .inputs-group .tutoring-calendar{
	padding: 20px 0;
	display: none;
}
.check-box-group label{
	font-weight: 400;
	text-transform: capitalize;
	background-color: #f5fdfb;
	padding: 6px 15px;
	border-radius: 3px;
	cursor: pointer;
	box-shadow: 0 3px 6px rgba(0,0,0,0.16), 0 3px 6px rgba(0,0,0,0.23);
	color: rgb(94, 94, 94);
	transition: all .2s cubic-bezier(.23,1,.32,1) 0ms;
}
#applicationForm h3.emergency-title{
	margin: 1.4em 0 1em;
}
.mb0{
	margin-bottom: 0;
}
#applicationForm .emergency-contact .text-box{
	padding: 20px 0 10px;
}
#applicationForm input[type="submit"]:disabled{
	cursor: not-allowed;
	opacity: .5;
}
#responseContainer{
	background-color: #FFFFFF;
	position: relative;
	max-width: 960px;
	margin: 20px auto;
	padding: 40px 50px;
}
#responseContainer h3{
	color: #5e5e5e;
	text-align: center;
	text-transform: uppercase;
	font-weight: 700;

}
#responseContainer .response-text{
	text-align: center;
}
#responseContainer .mfp-close{
	position: absolute;
	top: 0;
}

#applicationForm input[type=tel]::-webkit-input-placeholder {
  color: rgba(0,0,0,0);
}