.modals{
	display: none;
}
.modal{
	width: 460px;
	min-height: 620px;
	-webkit-box-sizing: border-box;
	   -moz-box-sizing: border-box;
	        box-sizing: border-box;
	        padding: 30px;
	        position: relative;
}
#thanks{
    min-height: 0;
    margin: 10% auto;
    background: #fff;
border-radius: 5px;
}
.modal form{
	display: block;
	width: 100%;
}
.modal h2{
	text-align: center;
	font-size: 2.6em;
	font-weight: 300;
	color: #000;
}
.modal input,textarea{
	display: block;
	width: 100%;
    font-family: "Open Sans", sans-serif;
    -webkit-transition: all 0.5s;
    -o-transition: all 0.5s;
    transition: all 0.5s;
	        outline: 0;
	font-weight: 300;

}

.modal input[type="text"],
.modal input[type="email"],
.modal textarea{
	font-size: 1.4em;
padding: 8px 15px;
color: #000;
border: 2px solid #ddd;
margin: 20px 0;
-webkit-box-sizing: border-box;
-moz-box-sizing: border-box;
box-sizing: border-box;
}
.modal input[type="text"]:focus,
.modal input[type="email"]:focus,
.modal textarea:focus{
	border-color: #1e317a;	
}
.modal input[type="submit"]{
height: 40px;
font-size: 1.6em;
cursor: pointer;
border: 0;
}
.modal textarea{
    width: 100%;
	height: 220px;
	resize:vertical;
}
.modal .select{
	border: 2px solid #1e317a;
	width: 100%;
	height: 40px;
	position: relative;
	overflow: hidden;
	margin: 20px 0;
}
.modal .select select{
	font-size: 1.4em;
	color: #1e317a;
	height: 40px;
	width: 100%;
	padding-left: 10px;
}
.modal .select__button{
	position: absolute;
	width: 40px;
	height: 40px;
	top: 0;
	right: 0;
	border-left: 2px solid #1e317a;
	background-color: #fff;
	text-align: center;
	line-height: 50px;
	cursor: pointer;
}
.modal .checkbox{
	margin: 10px 0;
}
.modal .checkbox input[type="checkbox"]{
	display: none;
}
.modal .checkbox input[type="checkbox"]+label::before{
	width: 30px;
	height: 30px;
	background-image: url('../img/checkbox.png');
	-webkit-transition: all 0.3s;
	-o-transition: all 0.3s;
	transition: all 0.3s;
	background-position: 0 0;
	background-repeat: no-repeat;
	content: '';
	display: inline-block;
	margin-right: 10px;
	vertical-align: middle;
	cursor: pointer;
}
.modal .checkbox input[type="checkbox"]:checked+label::before{
	background-position:  0 -30px;
}
.modal .checkbox input[type="checkbox"]+label{
	color: #1e317a;
	font-size: 1.4em;
	cursor: pointer;
}
.modal .error{
	border-color: #e95522 !important;
	color: #e95522 !important;
}
.modal .checkbox input[type="checkbox"]+label a{
	text-decoration: underline;
}
.thanks__overlay{
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    z-index: 10000;
    background: rgba(0,0,0,0.8);
}