@charset "utf-8";
/*
*
{ margin:0;padding:0;}
*/
	
.myform {
	font-family: Cambria, Georgia, serif;
	color: rgba(0,0,0,1);
	background-color:rgba(255,255,255,0.7);
	padding:0 0 40px 0;
	margin:0 50px 0px 50px;
}

.formline
{
	display:flex;
	flex:1 1 auto;
	flex-flow:row wrap;
    position:relative;	
	margin:0 auto;
	width:100%;
	/*text-align:center;*/
}
.myform .line{
	display:flex;
	flex:1 1 auto;
	position:relative;
}

.myform input,.myform textarea,.line .defText{
	font-family: inherit;	
}
	

.myform input,.myform textarea{
	display:block;
	width:98%;
	margin-left:2%;
	font-size:18px;
	color: #999585;
	padding:6px;
	border:1px solid #888;
	-moz-transition: 0.5s all ease;
    -ms-transition: 0.5s all ease;
    -o-transition: 0.5s all ease;
    -webkit-transition: 0.5s all ease;
    transition: 0.5s all ease;
	/*background*/
	background-color: #FFF; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFF', endColorstr='#FFF'); /* for IE */
	background-color: -webkit-gradient(linear, left top, left bottom, from(#FFF), to(#FFF)); /* for webkit browsers */
	backgroun-color: -moz-linear-gradient(top,  #FFF,  #FFF); /* for firefox 3.6+ */

	
}

.defText{
	position:absolute;
	font-size:16px;
	z-index:1;
	right:7px;
	bottom:10px;
	color: #C6C2A2;
	opacity:.8;
	
	
}

.myform input:focus,.myform textarea:focus,#idsubmit:hover,#idreset:hover{
	background-color: #F3F3F3; /* for non-css3 browsers */
	outline:none;
	box-shadow:none;
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#F3F3F3', endColorstr='#F3F3F3'); /* for IE */
	/* background: -webkit-gradient(linear, left top, left bottom, from(#04acec), to(#0186ba)) !important; /* for webkit browsers */
	/* background: -moz-linear-gradient(top,  #04acec,  #0186ba) !important; /* for firefox 3.6+ */}
.myform input:focus+label{right:-150px;opacity:0;}
.myform textarea:focus+label{right:-150px;opacity:0;}

input:-moz-placeholder{color:rgba(221,220,210,1);}
textarea:-moz-placeholder{color:rgba(221,220,210,1);}
:-ms-input-placeholder{color: rgba(221,220,210,1);}
:-ms-textarea-placeholder{color: rgba(221,220,210,1);}
::-webkit-input-placeholder{color: rgba(221,220,210,1);}
::-webkit-textarea-placeholder{color: rgba(221,220,210,1);}

#idsubmit,#idreset{
	width:98%;
	margin-left:2%;
	text-align:center;
	padding:6px 10px;
	border-radius:4px;
	border:none;
	position:relative;
	float:left;
	display:flex;
	justify-content:center;
	font-size:11px;
	color:#FFFFFF;
	background-color: #a06a6a ; /* for non-css3 browsers */
	filter:  progid:DXImageTransform.Microsoft.gradient(startColorstr='#a06a6a', endColorstr='#a06a6a'); /* for IE */
	background-color: -webkit-gradient(linear, left top, left bottom, from(#a06a6a), to(#a06a6a)) ; /* for webkit browsers */
	background-color: -moz-linear-gradient(top,  #666,  #a06a6a); /* for firefox 3.6+ */
}
#idsubmit:hover {
	box-shadow: inset 0 0 0 2px rgba(180,84,52,1);
	color:rgba(102,102,51,1);
}

#p1,#p2
{
	margin:0;
	width:25%;
}
#p3
{
	margin:0;
	width:40%;
}
#p4
{
	margin:0;
	display:flex;
	width:10%;
}

@media (max-width:450px)
{
	
	#p1,#p2,#p3,#p4
	{
		width:100%;
		margin:2px 0;
		border-radius:0;
	}
	#idsubmit
	{
		font-size:13px;
	}
	.myform
	{
		margin:0;
	}
	
}