@charset "utf-8";




#contact {
	width:1200px;
	max-width: 95%;
	margin:0 auto;
	padding:100px 0 10% 0;
}

h2.contact_h2 {
	width:100%;
	padding:10px 0 10px 0;
	background:#ccc;
	text-align:center;
	color:#333;
	font-size:36px;
	font-weight:normal;
}


#nav_message {
	width: 100%;
	margin: 30px auto;
}

#contact form {
	width: 100%;
	margin: 0 auto 50px;
	padding: 10px 0;
	background: #fff;
	border: 1px solid #ccc;
	border-radius: 7px;
	box-shadow: 0 0 7px rgba(0, 0, 0, 0.2);
}

form dl {
	width: 90%;
	margin: 0 auto;
	overflow: hidden;
}

form dt {
	clear: both;
	width: 30%;
	float: left;
	text-align: left;
	border-top: 1px solid #ccc;
	padding: 15px 0;
	overflow: hidden;
	font-weight: bold;
	color: #666;
	line-height: 1.8em;
}

form dd {
	width: 65%;
	float: right;
	border-top: 1px solid #ccc;
	padding: 15px 0 15px 5%;
}

form dt:first-child,
form dt:first-child + dd {
	border: none;
}

form dt span {
	font-size: 85%;
	font-weight: normal;
}

form .red {
	color: #F00;
}

form .green {
	color: #390;
}

form input[type="text"],
form input[type="email"],
form input[type="tel"],
select {
	max-width: 90%;
	height: 2em;
	padding: 2px 2%;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
	margin-top: 7px;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="tel"]:focus,
form textarea:focus {
	box-shadow: 0px 0px 5px #5cf;
	border: 1px solid #5cf;
	background: #fff;
}

form input[type="radio"],
form input[type="checkbox"] {
	margin-right: 10px;
	margin-top: 7px;
}

form li:first-child input[type="radio"],
form li:first-child input[type="checkbox"] {
	margin-top: 0px;
}

form select {
	font-size: 100%;
	font-family: inherit;
	margin-top: 10px;
}

form textarea {
	display: block;
	width: 90%;
	max-width: 90%;
	height: 200px;
	padding: 2px 2%;
	resize: vertical;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fafafa;
	-webkit-appearance: none;
	font-size: 100%;
	font-family: inherit;
}


form ul {
	list-style-type: none;
}

form li label:hover {
	cursor: pointer;
}


form #company {
	width: 60%;
}

.name {
	width: 30%;
}

.email {
	width: 80%;
}

.tel {
	width: 15%;
}

form .form_submit {
	width: 90%;
	margin: 0 auto;
	padding: 15px 0;
	border-top: 1px solid #ccc;
}

form input[type="button"] {
	padding: 9px 15px;
	vertical-align: middle;
	line-height: 1;
	background: #5cb85c;
	border: 1px solid #4cae4c;
	border-radius: 3px;
	color: #fff;
	font-family: inherit;
	-webkit-appearance: none;
	font-size: 100%;
}

form input[type="button"]:hover {
	cursor: pointer;
	background: #449d44;
	border: 1px solid #398439;
}

form .form_submit_button {
	margin-left: 35%;
}

form .form_submit_button:nth-child(2) {
	margin-left: 5%;
}

#form_images li {
	margin-top: 10px;
}


/* -- responsive ----------------------------------------------------------------------------------------------------------------- */

@media screen and ( max-width:896px ) {
	
#contact{
	width:94%;
}

form dl {
	overflow: visible;
}

form dl dt {
	width: auto;
	float: none;
	text-align: left;
	padding:10px 0 5px;
}

form dl dd {
	width: auto;
	float: none;
	border-top: none;
	padding: 0px 0 13px 0px;
}

form dl dt span {
	font-weight: normal;
}

.name {
	margin-top: 5px;
	width: 200px;
	max-width: 90%;
}

.email, #detective_name, #category {
	width: 500px;
	max-width: 90%;
}

.tel {
	width: 80px;
}

form #form_submit_button {
	margin-left: 0;
}

form select {
	margin-top: 0;
}

}


@media screen and (max-width:480px) {

h2.contact_h2{
	font-size:24px;
}

}



.form_category, .form_subject, #form_info, #set_button {
	display: none;
}

.error_message {
	color: #F00;
}

#confirm, #complete {
	display: none;
}

#input_form img.thumb, #confirm img.thumb {
    margin: 0 5px 5px 0;
    max-width: 300px;
    vertical-align: bottom;
}
