main {
  padding-top: 0;
}

.locations {
  display: flex;
  flex-flow: row wrap;
  justify-content: space-around;
  margin: 0 auto;
}

.locations h1 {
  font-size: 3rem;
  color: white;
  text-align: center;
  width: 100%;
  margin-bottom: 0px;
}

.locale
{
  max-width: 30%;
  margin: 0 1% 20px;
  background-color: white;
  border-radius: 10px;
  display: block;
  text-decoration: none;
  color: black;
}

.locale:nth-of-type(1){
  border: 5px solid #016fb9;
}

.locale:nth-of-type(1):hover{
  background-color:#016fb9;
  border: 5px solid white;
}

.locale:nth-of-type(2){
  border: 5px solid #ffd507;
}

.locale:nth-of-type(2):hover{
  background-color:#ffd507;
  border: 5px solid white;
}

.locale:nth-of-type(3){
  border: 5px solid #63Ed2d;
}

.locale:nth-of-type(3):hover{
  background-color:#63Ed2d;
  border: 5px solid white;
}

.locale:nth-of-type(4){
  border: 5px solid #8b0685;
}

.locale:nth-of-type(4):hover{
  background-color:#8b0685;
  border: 5px solid white;
}

.locale:nth-of-type(5){
  border: 5px solid #ffE04a;
}

.locale:nth-of-type(5):hover{
  background-color:#ffE04a;
  border: 5px solid white;
}

.locale:nth-of-type(6){
  border: 5px solid #b560C5;
}

.locale:nth-of-type(6):hover{
  background-color:#b560C5;
  border: 5px solid white;
}

.locale:nth-of-type(7){
  border: 5px solid #5da3d2;
}

.locale:nth-of-type(7):hover{
  background-color:#5da3d2;
  border: 5px solid white;
}

.locale:nth-of-type(8){
  border: 5px solid #9bf379;
}

.locale:nth-of-type(8):hover{
  background-color:#9bf379;
  border: 5px solid white;
}

.locale:nth-of-type(9){
  border: 5px solid #016fb9;
}

.locale:nth-of-type(9):hover{
  background-color:#016fb9;
  border: 5px solid white;
}

.locale:nth-of-type(10){
  border: 5px solid #016fb9;
}

.locale:nth-of-type(10):hover{
  background-color:#016fb9;
  border: 5px solid white;
}

.locale h3, .locale h4 {
  text-align:center;
}

.locale p {
  padding: 0 5px 5px 5px;
}

.locale a {
  display: block;
  width: 50%;
  min-width: 100px;
  text-decoration: none;
  text-align: center;
  font-size: 1.5rem;
  margin: 0 auto 10px;
  color: black;
}

.locations_contact {
  width: 100%;
  background-color: white;
  box-sizing: border-box;
}

.locations_contact > * {
  width: 90%;
  margin-left: 5%;
}

.locations_contact > label {
  font-size: .9rem;
}

.locations_contact > input, .locations_contact > textarea {
  padding: 5px;
  margin-bottom: 10px;
  border: 1px solid grey;
  border-radius: 3px;
}

.locations_contact > input[type="submit"] {
  width: 50%;
  margin-left: 25%;
}

.locations_contact > input:focus,
.locations_contact > textarea:focus
{
  outline: none;
  box-shadow: 0 0 3px rgb(0, 178, 65);
}

.locations_contact > input[type="submit"]:focus {
  box-shadow: none;
  background-color: #63Ed2d;
}

.locations_contact > input[type="submit"] {
  background-color: #5da3d2;
}

.locations_contact > input[type="submit"]:hover {
  background-color: #63Ed2d;
}

.locations_contact > textarea {
  height: 200px;
}

.locations_contact > input[type="submit"]::-moz-focus-inner {
  border: none;
}

.address_tel {
  border: 1px solid black;
  margin-bottom: 20px;
  padding-top: 20px;
}

.address_tel h4 {
  font-size: 2rem;
  width: 100%;
  margin: 0 0 0 40px;
  text-decoration: underline;
}

.address_tel ul {
  list-style: none;
  font-size: 2rem;
  margin: 0 auto 40px;
}

section {
  margin-top: 20px;
}

.return_link {
  background-color: #d68910;
}

.col_400 {
  border: 1px solid black;
  margin-bottom: 20px;
}

.col_400 > h3 {
  text-align: center;
}

.columns {
  align-items: stretch;
}

@media screen and (max-width: 1440px)
{
  .locations h1, .locations h5 {
    color: black;
  }

  .locale
  {
    max-width: 30%;
  }
}

@media screen and (max-width: 1024px)
{
  .locale
  {
    max-width: 45%;
  }


}

@media screen and (max-width: 565px)
{
  .locale
  {
    max-width: 98%;

  }

  .col_600
  {
    width: 100%;
  }

  .col_400 {
    display: block;
    width: 100%;
  }

  .columns {
    flex-flow: row wrap;
  }

}

h5 {
  padding: 0;
  width: 100%;
  text-align: center;
  color: white;
}

@media all and (-ms-high-contrast: none), (-ms-high-contrast: active) {
.locations {
  flex: 1 1 100%;
}

.locations h1, .locations h5 {
  color: black;
}
}
