/* FORM ***********************************************************************/
form {
  width: 90%;
  margin:auto;
  max-width: 35rem;
  padding-left:3%;
  text-align: center;
}

fieldset {
  border: none;
  text-align: left;
}

input,
textarea {
  width: 98%;
  margin-bottom: 1rem;
  padding: 0.5rem;
  border: solid 0.1rem #777;
}

textarea {
  height: 8rem;
}

label {
  clear: both;
}

input[type=submit] {
  width: auto;
  min-width: 5rem;
  padding: 0.5rem;
  border-radius: 0.5rem;
  border:none;
  background-color: #000066;
  color: #FFF;
}

input[type=submit]:hover {
  background-color: #000080;
}

form h2 {
  text-align:left;
  margin-top: 3rem;
}

@media only screen and (min-width:700px) {
  input,
  textarea {
    padding: 0.2rem;
  }
}

/* CONTCT *********************************************************************/
.contact td {
  padding: 0.5rem 0.5rem 0.2rem 0;
  border-bottom: 1px #999 solid;
}

.contact table {
  border-collapse: collapse;
  margin: auto;
}

.contact h2,
form h2 {
  text-align: center;
}

@media only screen and (min-width:940px) {
  main {
    display: table;
  }
  .contact {
    float:left;
  }

  form {
    float:right;
  }
  form h2 {
    margin-top:0;
  }
}
