@charset "UTF-8";
/* CSS Document */

#contact {
	background-color: #F5F5F5;
	background: url(../images/letter.jpg) no-repeat center fixed;
	width: 100%;
	padding-bottom: 0;
	height: auto;
	min-height: 100vh;
}

.contact {
	background: rgba(255,255,255,0.4);
	padding-top: 140px;
}

#contact p.comment {
	text-align: center;
	padding: 30px 0;
	font-size: 17px;
	margin: 0 auto;
	text-shadow: 1px 1px 15px #fff, 1px 1px 10px #fff, 1px 1px 20px #fff;
	width: 800px;
	line-height: 1.5;
  text-align: center;
  color: #000;
}

#formWrap {
	width:700px;
	margin:0 auto;
	color:#e0efff;
	line-height:120%;
	font-size:15px;
}

table.formTable{
	width:100%;
	margin:0 auto;
	border-collapse:collapse;
	max-width: 800px;
}

tbody {
  background: rgba(255,255,255,0.5);
}

table.formTable td,table.formTable th{
	border:1px solid #383838;
	padding:10px;
	color: #000;
	font-size: 15px;
}
table.formTable th{
	width:30%;
	font-weight:normal;
	/*background:#efefef;*/
	text-align:left;
}

.form {
	font-size: 17px;
	margin: 25px auto;
	color: #000;
	text-align: left;
	margin: 30px auto 0;
	width: 800px;
	line-height: 1.7;
	text-shadow: 1px 1px 15px #fff, 1px 1px 10px #fff, 1px 1px 20px #fff;
	font-weight: bold;
}

h3.contact_form {
	color: #555;
	font-weight: bold;
	font-size: 25px;
}

.txt {
	vertical-align: middle;
}

h3 p {
	text-align: center;
}

input, textarea {
    padding: 10px;
    border-radius: 3px;
    margin-bottom: 20px;
	width: 400px;
	max-width: 95%;
}

input[type="button"],
input[type="submit"],
input[type="reset"]{
	width: 90px;
	/*height: 30px;*/
	box-shadow: 0 0 8px gray;
}


form.wpcf7-form {
    text-align: center;
    line-height: 2;
}

@media screen and ( max-width: 768px ) {
	#contact {
		background: url(../images/letter.jpg) top center no-repeat;
    padding-top: 100px;
	}

	form {
    width: 90%;
    margin: 0 auto;
	}
	
	#contact p.comment {
		width: 90%;
		margin: 0 auto;
	}

	.form {
		width: 90%;
		margin: 0 auto;
		padding: 30px 0 0;
	}
}

@media screen and ( max-width: 480px )
{
	#contact
	{
		/* min-height: 150vh; */
		padding: 100px 0;
	}


	#formWrap
	{
		width: 100%;
		/*margin:0 auto;*/
		color:#e0efff;
		line-height:120%;
		font-size: 15px;
		overflow: hidden;
	}

	table.formTable
	{
		width: 90%;
		margin: 0 auto;
		border-collapse: collapse;
	}

	table.formTable td,table.formTable th
	{
		display: block;
		width: 90%;
		border:1px solid #ccc;
		padding: 5px 2px;
		color: #000;
		font-size: 15px;
		margin: 0 auto;
	}

	table.formTable th
	{
		width: 90%;
		font-weight: normal;
		background: translate;
		text-align: left;
	}

	p.form
	{
		font-size: 15px;
		margin: 20px auto;
		color: #000;
		text-align: center;
		width: 90%;
  }

	h2.contact_form
	{
		font-weight: bold;
		font-size: 25px;
	}

	textarea
	{
		width: 100%;
		height: 7em;
		line-height: 1.5em;
	}

	input.mf
	{
		padding-left: 5px;
		width: 20%;
	}

	.txt
	{
		vertical-align: middle;
	}

	h3 p
	{
		text-align: center;
	}

	input[type="button"],
	input[type="submit"],
	input[type="reset"]
	{
		width: 90px;
		height: 40px;
	}

	input[type="text"] {
	width: 100%;
	}

	form {
		width: auto;
	}
}

@media screen and (max-width:320px) {
	#contact {
		height: auto;
	}
}
