#container {
  width: 85%;
  min-height: 800px;
  margin: auto;
  box-shadow: 0px 0px 5px silver;
  background: whitesmoke;
}

#left,
#right {
  float: left;
  width: 45%;
  margin-top: 5%;
  margin-left: 5%;
}

#left h3,
#right h3 {
  font-weight: 700;
  color: #456be8;
  width: 80%;
  border-bottom: 2px solid #bbb;
  padding-bottom: 5px;
}

#left div,
#right div {
  margin: 2% 0;
  color: #484848;
}

.location-icon {
  position: relative;
  bottom: 24px;
}

form {
  width: 80%;
  margin: 3% 0;
}

input,
textarea {
  width: 100%;
  margin: 5px auto;
  padding: 2px 7px;
}

form span {
  font-size: 12px;
  position: relative;
  bottom: 5px;
  color: #00d228;
  font-weight: 600;
  display: none
}

#map {
  width: 90%;
  height: 350px;
  margin: 5% auto;
  top: 50px;
}

#social {
  text-align: center;
  width: 100%;
}

#social img {
  padding-right: 5px;
}

footer {
  width: 85%;
  margin: 0 auto;
  background: #456be8;
  text-align: center;
  color: white;
  padding: 5px 0;
}

#headline {
  text-align: center;
}

.contact p,
.contact img {
  display: inline-block;
  padding-top: 10px;
}

.contact img {
  margin-right: 10px;
}

#submit {
  background: #00d228;
  border: 1px solid white;
  color: white;
  font-weight: 200;
  font-size: 1em;
  padding: 5px 15px;
  cursor: pointer
}

#submit:hover {
  opacity: 0.8
}

#quick-nav {
  list-style-type: none;
  width: 100%;
  text-align: center;
  margin-top: 2%;
  padding: 7px 0;
  background: #00d228;
  box-shadow: 0px 0px 5x silver;
}

#quick-nav li {
  display: inline-block;
  width: 23%;
}

#quick-nav li:hover {
  background: whitesmoke;
  color: #00d228;
}

#quick-nav a {
  color: white;
}

#social {
  background: white;
  padding-top: 20px;
  border-top: 1px solid #ddd;
}

#social h4 {
  text-align: left;
  font-size: 11px;
}

.term {
  width: 30%;
  display: inline-block
}

.term h5 {
  text-align: left;
  font-size: 10px;
}

.term p {
  text-align: justify;
  font-size: 9px;
  margin-bottom: 7px
}

.condition {
  position: relative;
  top: -50px
}

.term-hidden {
  display: none
}

@media only screen and (min-width: 1300px) {
  #container,
  footer,
  header {
    width: 70%;
  }
}

@media only screen and (max-width: 850px) {}

@media only screen and (max-width: 768px) {
  .location-icon {
    bottom: 24px;
    left: 0px
  }
  #headline img {
    max-width: 100%;
  }
  header ul {
    display: none;
  }
  header,
  #container,
  footer {
    width: 95%;
    margin: auto;
  }
  #left,
  #right {
    width: 100%;
    font-size: 0.9em;
  }
  #left h3,
  #right h3 {
    font-size: 1.4em;
    text-align: center;
    padding-bottom: 10px;
    margin: 15px;
  }
  form {
    margin: 3% 5%;
  }
  .contact {
    padding: 0;
    padding-left: 5%;
    width: 80%;
    margin: 3% auto;
  }
  #map {
    max-height: 250px;
    top: 20px;
  }
  #social {
    margin-top: 55px;
  }
  footer {
    font-size: 0.7em;
  }
  #quick-nav li {
    font-size: 0.8em;
  }
}

@media only screen and (max-width: 500px) {
  header,
  #container,
  footer {
    width: 100%;
  }
  .term {
    display: block;
    width: 80%;
    margin: auto
  }
  .condition {
    top: 0
  }
  .term:nth-child(3) {
    display: none
  }
  .term-hidden {
    display: block
  }
}

@media only screen and (max-width: 400px) {
  #left,
  #right {
    font-size: 0.8em;
  }
  #quick-nav li {
    font-size: 0.7em;
  }
  footer {
    font-size: 0.6em;
  }
}

@media only screen and (max-width: 358px) {
  .contact p,
  .contact img {
    display: block;
    margin-left: 50px
  }
  .contact p {
    width: 95%;
    margin: auto;
    padding-top: 15px;
    text-align: left
  }
  .contact img {
    margin-left: 20px
  }
  .location-icon {
    bottom: 0;
    left: 0
  }
}

@media only screen and (max-width: 320px) {
  #left {
    text-align: center;
  }
  #left img,
  #left p {
    display: block
  }
  #quick-nav li {
    font-size: 0.6em;
  }
}
