
 
@media only screen and (max-width: 479px) and (min-width: 0px) and (orientation: portrait)  {
	 
form#ajax-contact {
    margin-top:50px;
	margin-left: 10px;
	margin-right:10px;
	
}
	 
div#form-messages {
    margin-top: 150px;
	margin-left:10px;
	margin-right:10px;
}	 

.btn-submit {
	
	width:50%;
}
 }
 
 @media only screen and (max-width: 767px) and (min-width: 480px) and (orientation: landscape)  {
	 
form#ajax-contact {
    margin-top:50px;
	margin-left: 10px;
	margin-right:10px;
	
}
	 
div#form-messages {
    margin-top: 50px;
	margin-left:10px;
	margin-right:10px;
}	 

.btn-submit {
	
	width:25%;
}

}




*, *:before, *:after {
  -moz-box-sizing: border-box;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
}

#page-wrapper {
  width: 640px;
  background: #FFFFFF;
  padding: 1em;
  margin: 1em auto;
  border-top: 5px solid #69c773;
  box-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.field {
  margin: 1em 0;
}

label {
  display: block;
  margin-top: 2em;
  margin-bottom: 0.9em;
  color: ##505050;
  font-family: open sans;
}

input {
  width: 100%;
  padding: 0.5em 0.5em;
  font-size: 1.2em;
  border-radius: 3px;
  border: 1px solid #D9D9D9;
}

textarea {
  width: 100%;
  height: 200px;
  padding: 0.5em 0.5em;
  font-size: 1.2em;
  border-radius: 3px;
  border: 1px solid #D9D9D9;
}

input#name {
    color: #505050;
    font-weight: 400;
    line-height: 20px;
    font-family: open sans;
    font-size: 13px;
}

input#email {
    color: #505050;
    font-weight: 400;
    line-height: 20px;
    font-family: open sans;
    font-size: 13px;
}

input#onderwerp {
    color: #505050;
    font-weight: 400;
    line-height: 20px;
    font-family: open sans;
    font-size: 13px;
}


textarea#message {
    color: #505050;
    font-weight: 400;
    line-height: 20px;
    font-family: open sans;
    font-size: 13px;
}

button {
  display: inline-block;
  font-family:open sans;
  border: none;
  font-size: 0.9rem;
  padding: 0.5rem 0.8em;
  background: hsla(25, 31%, 63%, .39);
  color: #333;
  -webkit-font-smoothing: antialiased;
  margin: 0;
  width: 20%;
  text-align: center;
	-webkit-transition: all .3s ease-out;
    transition: all .3s ease-out;
}

button:hover, button:focus {
  background: rgba(255, 255, 255, 0.56);
  cursor: pointer;
}

button:active {
  opacity: 1;
  box-shadow: 0 -3px 10px rgba(0, 0, 0, 0.1) inset;
}

.success {
		font-family:open sans;
	font-size: 14px;
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #468847;
  background-color: #dff0d8;
  border: 1px solid #d6e9c6;
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}

.error {
  padding: 1em;
  margin-bottom: 0.75rem;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
  color: #b94a48;
  background-color: #f2dede;
  border: 1px solid rgba(185, 74, 72, 0.3);
  -webkit-border-radius: 4px;
     -moz-border-radius: 4px;
          border-radius: 4px;
}