/*
Title: Creating an HTML5 enhanced responsive-ready contact form, with custom javascript feature detection
Tutorial on: http://www.onextrapixel.com
Author: http://www.toddmotto.com
*/


p  {

    font-size: 1.2em;
}
* {
	margin:0;
	padding:0;
	box-sizing:border-box;
	-webkit-box-sizing:border-box;
	-moz-box-sizing:border-box;
	-webkit-font-smoothing:antialiased;
	-moz-font-smoothing:antialiased;
	-o-font-smoothing:antialiased;
	font-smoothing:antialiased;
	text-rendering:optimizeLegibility;
}
body {
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol"
	color:#444;
	
}
.wrapper {
	max-width:700px;
	width:95%;
	margin:0 auto;
	position:relative;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea,
#contact-form button[type="submit"] {
	font: "Helvetica Neue", Helvetica, Arial, sans-serif;
}
#contact-form {
	text-shadow:0 1px 0 #FFF;
	border-radius:4px;
	-webkit-border-radius:4px;
	-moz-border-radius:4px;
	padding:25px;
}
#contact-form h2 {
	display:block;
	font-size:24px;
}
#contact-form h3 {
	display:block;
	font-size:18px;
}
#contact-form h4 {
	margin:5px 0 15px;
	display:block;
	font-size:13px;
}
#contact-form label span {
	cursor:pointer;
	/* color:#a80404;*/
	display:block;
	margin:5px 0;
	font-weight:600;
}
#contact-form input[type="text"],
#contact-form input[type="email"],
#contact-form input[type="tel"],
#contact-form input[type="url"],
#contact-form textarea,
#contact-form select
 {
	width:100%;
	box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	-webkit-box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	-moz-box-shadow:inset 0 1px 2px #DDD, 0 1px 0 #FFF;
	border:1px solid #CCC;
	background:#FFF;
	margin:0 0 5px;
	padding:10px;
	border-radius:5px;
}
#contact-form input[type="text"]:hover,
#contact-form input[type="email"]:hover,
#contact-form input[type="tel"]:hover,
#contact-form input[type="url"]:hover,
#contact-form textarea:hover {
	-webkit-transition:border-color 0.3s ease-in-out;
	-moz-transition:border-color 0.3s ease-in-out;
	transition:border-color 0.3s ease-in-out;
	border:1px solid #AAA;
}
#contact-form textarea {
	height:100px;
	max-width:100%;
}
#contact-form button[type="submit"] {
	cursor:pointer;
	width:100%;
	border:none;
	background:#a80404;
	background-image:linear-gradient(bottom, #a80404 0%, #a80404 52%);
	background-image:-moz-linear-gradient(bottom, #a80404 0%, #a80404 52%);
	background-image:-webkit-linear-gradient(bottom, #a80404 0%, #a80404 52%);
	color:#FFF;
	margin:0 0 5px;
	padding:10px;
	border-radius:5px;
}
#contact-form button[type="submit"]:hover {
	background-image:linear-gradient(bottom, #720000 0%, #A82767 52%);
	background-image:-moz-linear-gradient(bottom, #720000 0%, #A82767 52%);
	background-image:-webkit-linear-gradient(bottom, #720000 0%, #A82767 52%);
	-webkit-transition:background 0.3s ease-in-out;
	-moz-transition:background 0.3s ease-in-out;
	transition:background-color 0.3s ease-in-out;
}
#contact-form button[type="submit"]:active {
	box-shadow:inset 0 1px 3px rgba(0,0,0,0.5);
}
#contact-form input:focus,
#contact-form textarea:focus {
	outline:0;
	border:1px solid #999;
}
::-webkit-input-placeholder {
    color:#888;
}
:-moz-placeholder {
    color:#888;
}
::-moz-placeholder {
    color:#888;
}
:-ms-input-placeholder {
    color:#888;
}

.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #a4e271;
	-webkit-box-shadow:inset 0px 1px 0px 0px #a4e271;
	box-shadow:inset 0px 1px 0px 0px #a4e271;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #519548), color-stop(1, #519548));
	background:-moz-linear-gradient(top, #519548 5%, #519548 100%);
	background:-webkit-linear-gradient(top, #519548 5%, #519548 100%);
	background:-o-linear-gradient(top, #519548 5%, #519548 100%);
	background:-ms-linear-gradient(top, #519548 5%, #519548 100%);
	background:linear-gradient(to bottom, #519548 5%, #519548 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#519548', endColorstr='#519548',GradientType=0);
	background-color:#519548;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #1B676B;
	display:inline-block;
	cursor:pointer;
	color:#ffffff;
	font-family:arial;
	font-size:18px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #1B676B;
	width:100%;
	height: 50px;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #88C425), color-stop(1, #88C425));
	background:-moz-linear-gradient(top, #88C425 5%, #88C425 100%);
	background:-webkit-linear-gradient(top, #88C425 5%, #88C425 100%);
	background:-o-linear-gradient(top, #88C425 5%, #88C425 100%);
	background:-ms-linear-gradient(top, #88C425 5%, #88C425 100%);
	background:linear-gradient(to bottom, #88C425 5%, #88C425 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#88C425', endColorstr='#88C425',GradientType=0);
	background-color:#88C425;
}
.myButton:active {
	position:relative;
	top:1px;
}

img
{
max-width:100%; 
max-height:100%;
margin:auto;
display:block;
}

h1 { 
	color:red;
	font-weight:bold;
}

bg-dark {
	background-color:red;
}