@charset "utf-8";
/* CSS Document */

#formwrap {
	width: 85%;
	margin: 30px 0 20px 7%;
	background:#f6f6f6;
	padding:16px 10px 40px;
}
#formwrap #form {
	/*border-top: 1px solid #EEE;*/
	width:100%;
}
#form .row {
	line-height: 70px;
	display: block;
	overflow:auto;
	width:100%;
}
#form .row .label {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 110%;
	font-weight: 600;
	width: 6em;
	text-align: right;
	float: left;
	margin-right: 0.5em;
	padding-right: 0.5em;
}
#form .row .input {
  width: 100%;
  padding: 0.6rem;
/*  background-color: #f6f6f6;*/
  border-radius: 0px;
  box-sizing: border-box;
  margin-top: 0.4rem;
  margin-bottom: 0.1rem;
  resize: vertical;
  border-top: none;
  border-left: none;
  border-right: none;
}
#form .row .input2 {
  width: 51%;
  padding: 0.6rem;
  border-radius: 0px;
  box-sizing: border-box;
  margin-top: 0.4rem;
  margin-bottom: 0.8rem;
  resize: vertical;
  border-top: none;
  border-left: none;
  border-right: none;
  float:left;
  line-height: 38px;
}
#form .row .context {
	color: #333;
	font-size: 90%;
	font-style: italic;
	font-family: Arial, Helvetica, sans-serif;
	line-height: 38px;
	float: left;
	width: 38%;
}
.detail{
	width:260px;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 160%;
	padding: 0.2em 0.4em;
	margin:0;
	display: block;
    background: #f6f6f6;
	box-sizing: border-box;
	  resize: vertical;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
}
.mess{
	height: 280px;
	width: 180%;
	max-width: 440px;
	overflow:auto; /*for internet explorer to remove scroll bar*/
	font-family: Arial, Helvetica, sans-serif;
	font-size: 160%;
	padding: 0.2em 0.4em;
	margin:0;
	line-height: 1em;
	display: block;
	background: #f6f6f6;
	box-sizing: border-box;
  resize: vertical;
  border-top: none;
  border-left: none;
  border-right: none;
  border-bottom: 1px solid #000;
}
.detail:focus{
	background-color:#acdeab;
	outline:none;
	border: 1px solid #999;
	}
.mess:focus{
	background-color:#acdeab;
	outline:none;
	border: 1px solid #999;
	}
#form #submit {
	font-family: Arial, Helvetica, sans-serif;
	margin-top: 1.5em;
	color: #FFC;
	font-size: 140%;
	text-shadow: 1px 1px 1px #999;
	padding:0.8em;
	margin-left: 15%;
	background-color: #33C;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#66C), to(#009));
	background-image: -webkit-linear-gradient(top, #66C, #009);
	background-image: -moz-linear-gradient(top, #66C, #009);
	background-image: -ms-linear-gradient(top, #66C, #009);
	background-image: -o-linear-gradient(top, #66C, #009);
	background-image: linear-gradient(to bottom, #66C, #009);
    border-radius:2em;
	box-shadow: 2px 2px 5px #999;
}
#form #submit:hover {
	font-family: Arial, Helvetica, sans-serif;
	margin-top: 1.5em;
	color: #FFC;
	font-size: 140%;
	text-shadow: 1px 1px 1px #999;
	padding:0.8em;
	margin-left: 15%;
	background-color: #339;
	background-image: -webkit-gradient(linear, left top, left bottom, from(#009), to(#66C));
	background-image: -webkit-linear-gradient(top, #009, #66C);
	background-image: -moz-linear-gradient(top, #009, #66C);
	background-image: -ms-linear-gradient(top, #009, #66C);
	background-image: -o-linear-gradient(top, #009, #66C);
	background-image: linear-gradient(to bottom, #009, #66C);
    border-radius:2em;
	box-shadow: 2px 2px 5px #999;
}
span.error{
	color:#900;
	display:block;
	font-family:Arial, Helvetica, sans-serif;
	font-size: 90%;
	background-image:url(../contact/images/x.png);
	background-repeat:no-repeat;
	background-position: left 6px;
	padding-left: 30px;
	}
	
@media (max-width: 800px) {
	
	#formwrap {
	width: 85%;
	/*margin: 0 auto;*/
	background:#f6f6f6;
	/*padding:16px 10px 40px;*/
	margin: 0 20rem;
}
}

