#multidealer_sendingMessage,
#MultiDealersuccessMessage,
#MultiDealerfailureMessage,
#MultiDealerincompleteMessage
{
    display: none;
}
#multidealer_senderName,
#multidealer_senderEmail,
#multidealer_sendermessage
{
    max-width: 300px;
    font-size: 14px;
}
#multidealer_sendermessage
{
    width: 300px;
}
#multidealer_sendMessage
{
    float: left;
    height: 30px;
    font-size: 13px;
}
#multidealer_cancel
{
    background: gray;
    height: 30px;
    font-size: 13px;
}
#multidealer_contactForm, .multidealer_statusMessage, input[type="submit"], input[type="button"] {
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;  
  border-radius: 5px;
  font-size: 14px;
}
#multidealer_contactForm, .multidealer_statusMessage {
  color: #666;
  background-color: #ebedf2;
  background: -webkit-gradient( linear, left bottom, left top, color-stop(0,#dfe1e5), color-stop(1, #ebedf2) );
  background: -moz-linear-gradient( center bottom, #dfe1e5 0%, #ebedf2 100% );  
  border: 1px solid #aaa;
  -moz-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  -webkit-box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  box-shadow: 0 0 1em rgba(0, 0, 0, .5);
  opacity: .95;
}
/* The form dimensions */
#multidealer_contactForm {
  width: 37em;
  height: 25.5em;
  padding: 0 1.5em 1.5em 1.5em;
  margin: 0 auto;
  /* display:  none; */
}
/* Position the form in the middle of the window (if JavaScript is enabled) */
#multidealer_contactForm.multidealer_positioned {
  z-index: 999;
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
/* Dimensions and position of the status messages */
.multidealer_statusMessage {
  margin: auto;
  width: 30em;
  height: 6em;
  padding: 1.5em;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  font-size: 20px;
}
.multidealer_statusMessage p {
  text-align: center;
  margin: 0;
  padding: 0;
}
/* The header at the top of the form */
#multidealer_contactForm h2 {
  font-size: 1.5em;
  font-style: italic;
  letter-spacing: .05em;
  margin: 0 0 1em -.75em;
  padding: .6em;
  width: 18.5em;  
  color: #aeb6aa;
  border-bottom: 1px solid #aaa;
  -moz-border-radius: 10px 10px 0 0;
  -webkit-border-radius: 10px 10px 0 0;  
  border-radius: 10px 10px 0 0;
}
#multidealer_contactForm ul {
  list-style: none;
  margin: 0;
  padding: 0;
}
#multidealer_contactForm ul li {
  margin: .9em 0 0 0;
  padding: 0;
}
#multidealer_contactForm input, #multidealer_contactForm label {
  line-height: 1em;
  padding: 5px;
}
/* The field labels */
label.multidealer_contact {
  display: block;
  float: left;
  clear: left;
  text-align: right;
  width: 28%;
  padding: .4em 0 0 0;
  margin: .15em .5em 0 0;
  font-weight: bold;
}
/* The fields */
input#multidealer_senderEmail,
input#multidealer_senderName,  
textarea#multidealer_sendermessage {
  display: block;
  margin: 0;
  padding: .4em;
  width: 67%;
  font-family: "Georgia", serif;
  font-size: 1em;
  border: 1px solid #aaa;
  -moz-border-radius: 5px;
  -webkit-border-radius: 5px;    
  border-radius: 5px;
  height: 40px;
  background: #fff;
}
textarea#multidealer_sendermessage {
  height: 7em;
  line-height: 1.5em;
  resize: none;
}
#multidealer_contactForm *:focus {
  border: 1px solid #66f;
  outline: none;
  box-shadow: none;
  -moz-box-shadow: none;
  -webkit-box-shadow: none;
}
#multidealer_sendMessage, #multidealer_cancel
{
  width: 130px;
  padding: 10px;
  margin-right: 10px; 
}   
@media only screen and (max-width: 800px)
{
    #multidealer_contactForm {
      max-width: 24em !important;
      height: 23.5em;
      padding: 0 1.5em 1.5em 1.5em;
      margin: 0 auto;
    }
    #multidealer_senderName,
    #multidealer_senderEmail,
    #multidealer_sendermessage
    {
        max-width: 200px;
        font-size: 13px;
    }
    #multidealer_sendermessage
    {
        width: 200px;
    }
    #multidealer_contactForm h2 {
      font-size: 1.2em;
      font-style: italic;
      letter-spacing: .05em;
      margin: 0 0 1em -.75em;
      padding: .4em;
      width: 18.5em;  
      color: #aeb6aa;
      border-bottom: 1px solid #aaa;
      -moz-border-radius: 10px 10px 0 0;
      -webkit-border-radius: 10px 10px 0 0;  
      border-radius: 10px 10px 0 0;
    }
}