#nav a#contact {
  color: #3d9ae3;
  }
/* Setting form-container to inline-block makes it possible to set a top margin on formborder without it pushing entire div down. See http://stackoverflow.com/questions/23788169/why-is-setting-the-top-margin-of-this-child-element-pushing-its-parent-container*/
#form-container {
  width: 100%;
  background-color: #ababab;
  display: inline-block;
  }
#formborder {
  background-color: #eee;
  border: 2px solid #c2d6ff;
  border-radius: 40px 0;
  color: #333;
  height: auto;
  margin: 2em auto;
  padding: 1em 0 1em 1em;
  width: 60%;
  }
form {
  display: block;
  max-width: 90%;
  margin: 0 auto;
  /*width: 590px;*/
  }
form p {
  padding: 10px;
  border: dotted 1px #acacac;
  margin: .5em 0px;
  }
form p.grey1 {
  background-color: #e5e5e5;
  }
form p.grey2 {
  background-color: #d8d8d8;
  }
form label {
  font-family:'Raleway',arial,sans-serif;
  font-weight: 600;
  color: #0a457a;
  display: block;
  padding-bottom: .5em;
  margin-left: 2em;
  }
input[type="text"],textarea{
  width: 70%;
  border: 1px solid #dadada;
  border-radius: 12px;
  height: 30px;
  margin-left: 2em;
  padding-left: 35px;
  }
input#vage {
  display: none;
  }
input#vfname {
  background: #ffffff url(../images/icon-name.png) 6px center no-repeat;
  }
input#vlname {
  background: #ffffff url(../images/icon-name-blue.png) 6px center no-repeat;
  }
input#vsubject {
  background: #ffffff url(../images/icon-subject.png) 6px center no-repeat;
  }
input#companyname {
  background: #ffffff url(../images/icon-company-grey.png) 6px center no-repeat;
  }
input#vphone {
  background: #ffffff url(../images/icon-phone-blue.png) 6px center no-repeat;
  }
input#vfax {
  background: #ffffff url(../images/icon-fax.png) 6px center no-repeat;
  }
input#vemail {
  background: #ffffff url(../images/icon-email-orange.png) 6px center no-repeat;
  }
textarea {
  height: 100px;
  padding: 5px;
  }
#errors {
  background-color: #ffffff;
  width: 300px;
  margin: 1em auto;
  padding: 1em;
  border: solid 1px #e25407;
  color: #e25407;
  border-radius: 10px;
  }
#thanks {
  min-height: 900px;
  font-size: 1.4em;
  line-height: 1.4em;
  max-width: 50%;
  background-color: #ffffff;
  margin: 0 auto;
  padding: 2em;
  }
#thanks p {
  padding: 1em 0;
  }
  
/*----------MEDIA QUERIES--------*/
/*phones*/
@media only screen and (max-width: 480px) {
#formborder {
  width: 90%;
  }
}/*END QUERY*/