/* === MAILFORM ========================== */
@media screen {
	#cntctfrm {  }

	#cntctfrm fieldset {
		border: 0;
		border-top: 2px solid #ccc;
		background: transparent;
	    display: block;
	    margin: 1em 0;
	    padding: 1em 0;
	
	}
	#cntctfrm legend {
	/*	font-size: inherit;*/
		margin: 1em 0;
		font-weight: bold;
		float:left;
	}
	#cntctfrm .row, 
	#cntctfrm .form__row { clear: left;  }
	#cntctfrm .form__row { padding: 0 0 .5em 0; position: relative; } 

	#cntctfrm label { font-weight: 400; margin-bottom: 0; margin-top: .5em; }
	
	@media(min-width: 768px){
		#cntctfrm .form__row { display: flex; }
		#cntctfrm .form__row > * { flex-grow: 1; }
		#cntctfrm .form__row > label { flex: 0 0 25%; max-width: 25%; padding-right: 2rem; }
		
	}
	#cntctfrm .form__row--check { display: block; }
	#cntctfrm .form__row--check label { max-width: unset; display: flex; font-weight: inherit;  }
	#cntctfrm .form__row--check span:first-child { flex: 0 0 25%; max-width: 25% }
	
	

	#cntctfrm input[type=text], 
	#cntctfrm textarea { padding: .3em .3em; margin: .2em 0 0 0; width: 100%; background: #fafafa; border-radius: 5px; }

	#cntctfrm textarea { height:auto; }

	
	#cntctfrm input[type=submit] { border: 0; width: auto; cursor: pointer; -webkit-transition: all .3s; transition: all .3s; box-shadow: none;  }
	#cntctfrm input[type=submit]:hover { text-decoration: none;  }
	
	#cntctfrm input.input--autowidth { width: auto; } 
	#cntctfrm input.input--readonly { color: inherit; outline: 0; border: 0 !important; background: transparent; pointer-events: none; } 

	::-webkit-input-placeholder{ color:#999; }
	    :-ms-input-placeholder { color:#999; }
	        ::-moz-placeholder { color:#999; }
	         :-moz-placeholder { color:#999; }

	.form__row--tasty { display: none !important; }

	#cntctfrm input[type=text], #cntctfrm textarea {
		-webkit-transition: all 0.30s ease-in-out;
		-moz-transition: all 0.30s ease-in-out;
		-ms-transition: all 0.30s ease-in-out;
		-o-transition: all 0.30s ease-in-out;
		transition: all 0.30s ease-in-out;
		outline: 0;
		border: 1px solid #ccc;	
	}
 
	#cntctfrm input[type=text]:focus, #cntctfrm textarea:focus {
	  outline: 0 !important;
	  border: 1px solid #555;
	  background: #fff;
	}


	.form__row--buttons { margin-top: 1em; } 
	
	.form__row--buttons:after { transition: all .3s; transform: translateX(0); }
	.form__row--buttons:hover::after { transform: translateX(.5em); }
	

	#cntctfrm .has-error label { color:#EC6501; }
	#cntctfrm .has-error a { text-decoration: none; }

	@media(max-width: 1px){
		#cntctfrm input[type=submit] { width: 100%; }
		
		#cntctfrm .label + div { display: flex; }
		#cntctfrm .form__row > label { flex: 1; margin: 0 .2em; padding: 0; }
		#cntctfrm .form__row > label img { padding: .2em .3em; margin: 0; width: 100%; max-width: 3em; height: auto; border-radius: 3px; overflow: hidden; }
	}	
}
