/* Contact Page */

#clinicbox {
  display: flex;
  width: 800px;
  height: 203px;
  justify-content: space-between;
  margin-left: auto;
  margin-right: auto;
}

#clinicimgbox {
  width: 50%;
}

#cliniccontactimg {
  width: 100%;
  box-shadow: 0 10px 6px -6px rgb(199, 199, 199);
}

#clinicdetailsbox {
  float: right;
  display: flex;
  height: 100%;
  width: 48%;
  flex-direction: column;
  justify-content: space-between;
}

#faxdetailsbox {
  width: 100%;
  height: 90px;
  background-color: #EEECE5;
  box-shadow: 0 10px 6px -6px rgb(199, 199, 199);
}

#faxdetails {
  width: 100%;
  font-family: "Soleil", sans-serif;
  font-size: 16pt;
  text-align: center;
  margin-top: 12px;
  display: inline-block;
}

#faxdetails b {
  font-weight: 700;
}

#mapbuttonbox {
  display: flex;
  width: 100%;
  height: 90px;
  align-items: center;
  background-color: #EEECE5;
  box-shadow: 0 10px 6px -6px rgb(199, 199, 199);
}

#mapbutton {
  width: 140px;
  font-family: "Soleil", sans-serif;
  font-size: 14pt;
  font-weight: 700;
  color: #5A5853;
  margin-left: auto;
  margin-right: auto;
}

#mapbutton i {
  font-size: 18pt;
  vertical-align: top;
  margin-left: 10px;
  margin-top: 2px;
  transition: all 0.2s ease;
}

#mapbuttonbox:hover {
  background-color: #DFDBCD;
  color: black;
}

#mapbuttonbox:hover #mapbutton i {
  margin-left: 15px;
}

.contactnumberbox {
  width: 800px;
  height: 120px;
  background-color: #EEECE5;
  box-shadow: 0 10px 6px -6px rgb(199, 199, 199);
  margin-left: auto;
  margin-right: auto;
  margin-bottom: 40px;
}

.contactnumbername {
  font-family: "Soleil", sans-serif;
  font-weight: 700;
  font-size: 18pt;
  text-align: center;
  padding-top: 20px;
}

.contactnumber {
  font-family: "Soleil", sans-serif;
  font-weight: 700;
  font-size: 24pt;
  text-align: center;
  color: #89857D;
}

#formmessagebox {
  display: flex;
  width: 800px;
  height: 100px;
  background-color: #E3DED1;
  align-items: center;
  justify-content: space-around;
  margin-left: auto;
  margin-right: auto;
}

#formmessagebox i {
  font-size: 26pt;
}

#formmessage {
  width: 80%;
  font-family: "Soleil", sans-serif;
  font-size: 14pt;
}

@media only screen and (max-width: 800px) {

  #clinicbox {
    width: 86vw;
    height: max-content;
    flex-wrap: wrap;
  }

  #clinicimgbox {
    width: 100%;
  }

  #clinicdetailsbox {
    width: 100%;
    margin-top: 30px;
  }

  #mapbuttonbox {
    margin-top: 30px;
  }

  .contactnumberbox {
    width: 86vw;
  }

  #formmessagebox {
    width: 86vw;
    height: max-content;
    flex-wrap: wrap;
  }

  #formmessage {
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 12pt;
    text-align: center;
    line-height: 2;
  }

  #formmessagebox i {
    width: 100%;
    text-align: center;
    margin-top: 26px;
  }

}

@media only screen and (max-width: 700px) {

  #cliniccontact {
    display: none;
  }

  #clinicdetails {
    font-size: 12pt;
    margin-top: 20px;
  }

  .contactnumberbox {
    height: 100px;
  }

  .contactnumbername {
    font-size: 14pt;
  }

  .contactnumber {
    font-size: 18pt;
  }

  #formmessage {
    font-size: 10.5pt;
  }

}

@media only screen and (max-width: 350px) {

  .contactnumberbox {
    height: 105px;
  }

  .contactnumbername {
    font-size: 16pt;
  }

  .contactnumber {
    font-size: 18pt;
  }


}
