@import url(http://fonts.googleapis.com/css?family=Open+Sans:400,600,700);
body{
	width: 1000px;
	margin: 0 auto;
	font-family: "Open Sans";
	font-size: 14px;
	font-weight: 400;
	color: #464646;
	background: #f8f8f8;
}
#top{
/*	margin-top: 30px;
	margin-bottom: 20px;*/
}
#top img{
	max-width: 100%;
	max-height: 250px;
}
#middle{
	position: relative;
	/*height: 420px;*/
	
}
#middle .image{
	height: 100%;
	width: 100%
}
#middle .image img{
	width: 100%;
	height: 100%;
	-o-object-fit: cover;
	object-fit: cover;
	-o-object-position: 0 0;
	object-position: 0 0;


    border: 1px solid #ddd;
	border-radius: 3px;
 
    background: #fff;
    box-shadow: 0 0 3px 0 #EAEAEA;
}
#middle #form{
	position: absolute;
	top: 40px;
	right: 20px;
	width: 40%;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
	background: rgba(221, 221, 221, 0.5);
	border-radius: 3px;
	box-shadow: 0 0 3px 0 #5a5a5a;
}
.form-group{
	width: 90%;
	display: block;
	margin: 15px auto;
}
.form-group label{
	font-weight: 600;
	display: block;
	margin-bottom: 2px;
}
input{
	width: 100%;
	border-radius: 3px;
	height: 32px;
	border: 1px solid #669DDE;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0 5px;
}
.button{
	width: 60%;
    background: #F08521;
    border: none;
    height: 36px;
    font-weight: 700;
    font-size: 15px;
    color: #fff;
    margin-top: 5px;
    cursor: pointer;
    -webkit-transition: background .3s ease;
    -o-transition: background .3s ease;
    transition: background .3s ease;
}
.button:hover{
	background: #F3A256;
}
#bottom{
	margin: 20px 0;
	text-align: center;
	font-size: 13px;
	padding: 0 20px;
	color: #646464;
}

@media screen and (max-width: 1040px) {
	body{
		width: 96%;
	}
}	
@media screen and (max-width: 640px) {
	#middle{
		height: auto;
	}
	#middle .image{
		height: 240px;
		margin-bottom: 5px;
	}
	#middle #form{
		position: static;
		width: 100%;
		background: #6E92BA;
		box-shadow: none;
		border-radius: 0;

	}	
	.form-group{
		width: 340px;

	}
}
@media screen and (max-width: 420px){
	.form-group{
		width: 96%;
}