 
#contact { float:right;

    max-width: 100%;
    background: #fff;
    padding: 20px 30px 10px 15px;
    margin: 5px 0px 5px 20px;
    width:100%;
    font: 12px arial, helvetica, sans-serif;
    color: #666;
    border-radius: 5px;
    border:1px solid #ccc; 
    -webkit-border-radius: 5px;
    -moz-border-radius: 5px;
}
#contact h1 {
    font: 24px "trebuchet ms", arial, helvetica, sans-serif;
    padding: 7px 0px 10px 20px;
    display: block;
    margin: -20px -30px 10px -15px;
    color: #fff;
    background: #6f0e0e; 
}
#contact h1>span {
    display: block;
    font-size: 11px;
    color: #fff;
}

#contact label {
    display: block;
    margin: 0px 0px 3px 0px;
}
#contact label>span {
    float: left;
    margin-top: 4px;
    color: #5e5e5e;
}
#contact input[type="text"], #contact input[type="email"], #contact textarea, #contact select {
    color: #555;
    height: 30px;
	line-height:12px;
    width: 100%;
    padding: 0px 0px 0px 3px;
    margin-top: 2px;
    border: 1px solid #e5e5e5;
    background: #fbfbfb;
    outline: 0;
    -webkit-box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    box-shadow: inset 1px 1px 2px rgba(238, 238, 238, 0.2);
    font: normal 14px/14px arial, helvetica, sans-serif;
}
#contact textarea{
    height:50px;
    padding-top: 8px;
} 


/*######## send button color ########*/


#contact .button { float:left;
    background-color: #6f0e0e;
    border-radius: 5px;
    -webkit-border-radius: 5px;
    -moz-border-border-radius: 5px;
    border: none; margin: 4px 0px 0px 0px;
    padding: 8px 20px 8px 20px;
    color: #fff;
    text-shadow: 1px 1px 1px #949494;
}
#contact .button:hover {
    background-color:#111372;
}





/*Media Queries styles for screen 800px and lower*/
@media screen and (max-width: 500px) 

{ 
#contact { float:none;
text-align:center; 
    padding: 15px;
    margin: 15px auto;
    max-width:100%; height: 290px;height: auto 0px;
}

#contact h1 {
    font: 24px "trebuchet ms", arial, helvetica, sans-serif;
max-width:100%;padding: 15px; 
}


#contact h1>span {
  max-width:100%;
}

 


}