.content {
  margin-top: 0;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-around;
  align-items: stretch;
}

.contactbox, .contactformboxes .box {
  position: relative;
  display: inline-block;
  width: 415px;
  min-width: 415px;
  margin: 27px 13.5px 0 13.5px;
  background-color: #FAFAFA;
  font-size: 14pt;
  box-sizing: border-box;
  padding: 27px 0 0 27px;
}

.contactbox {
  padding-bottom: 94px;
}

.contactformboxes .box {
  width: 300px;
  min-width: 300px;
}

.contactbox:first-child {
  margin-left: 0;
}

.contactbox:last-child {
  margin-right: 0;
}

.contactbox h2, .contactformboxes .box h2, #contactforms h2 {
  position: relative;
  display: inline;
  width: auto;
  margin: 0;
  padding: 0 0 5px 0;
  font-size: 15pt;
  font-family: "MavenPro", sans-serif;
  border-bottom: 2px #FFB800 solid;
}

.contactbox .flex {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

.address {
  min-width: 200px;
}

.telephone {
  min-width: 230px;
}

.address, .telephone {
  display: table;
  position: relative;
  margin: 27px 27px 0 0;
  list-style: none;
}

.telephone a {
  color: #000000;
  font-weight: normal;
  font-family: "MavenPro", sans-serif;
}

.telephone a:hover {
  text-decoration: underline;
}

.telephone li {
  position: relative;
  display: table-row;
}

.telephone li div {
  position: relative;
  display: table-cell;
}

.telephone li div:last-child {
  padding-left: 27px;
}

.business-hours {
  position: relative;
  display: block;
  margin: 27px 27px 0 0;
  font-size: 13pt;
  border-spacing: 14px 0;
  border-collapse: collapse;
}

.business-hours * {
  margin: 0;
  padding: 0;
  border: none;
}

.business-hours tbody, .business-hours tbody tr {
  position: relative;
  display: block;
}

.business-hours thead th {
  font-size: 15pt;
  font-weight: normal;
}

.business-hours tbody td {
  letter-spacing: -1px;
}

.business-hours tbody td:last-child {
  position: absolute;
  display: block;
  text-align: right;
  right: 0;
  top: 0;
}

.roadmap {
  position: relative;
  display: flex;
  justify-content: center;
  width: auto;
  height: 210px;
  margin: 27px 27px 0 0;
  overflow: visible;
}

.roadmap .map {
  position: relative;
  width: 100%;
  border: 1px solid #bababa;
}

/* .roadmap .map div { */
  /* position: relative; */
  /* height: 100%; */
/* } */

.map > div {
    position: absolute;
    width: 100%;
    height: 100%;
}

.map .gm-style > div:nth-last-child(1),
.map .gm-style > div:nth-last-child(3) {
    position: absolute;
    bottom: 0;
}

.map .gm-style > div:nth-last-child(1) {
    right: 0;
}

.roadmap > img {
  position: relative;
  object-fit: none;
  width: 100%;
  object-position: center;
  border: 1px solid #bababa;
  box-sizing: border-box;
}

.plan-route {
  position: absolute;
  width: 180px;
  bottom: 27px;
  right: 27px;
}

#contactforms {
  position: relative;
  margin-top: 27px;
  width: 100%;
  min-height: 75px;
  background-color: #FFF4C4;
  margin-bottom: 27px;
}

#contactforms > .content {
  display: block;
  padding: 27px;
}

#contactforms p {
  position: relative;
  display: block;
  font-size: 15pt;
  text-align: justify;
  padding: 27px 0 0 0;
  margin: 0;
}

.contactformboxes {
  justify-content: space-evenly;
}

/* Safari 9.0-10.0 (not 10.1) (non-iOS) */
_:-webkit-full-screen:not(:root:root), .contactformboxes {
  justify-content: space-around;
}

.contactformboxes .box {
  height: 200px;
  margin: 0 13.5px 27px 13.5px;
}

.contactformboxes .box ul {
  display: block;
  font-size: 15pt;
  position: relative;
  margin: 27px 27px 0 0;
  padding: 0;
  list-style: none;
}

.contactformboxes .box ul li{
  margin-bottom: 13.5px;
}

.contactformboxes .box a {
  font-family: "MavenProMedium";
  color: #000000;
  font-size: 18px;
  background: url("../lib/img/icons/arrowdark.png") no-repeat left center;
  padding-left: 25px;
  padding-bottom: 3px;
  box-sizing: border-box;
}

.contactformboxes .box a:hover {
  text-decoration: underline;
  font-size: 18px;
  background: url("../lib/img/icons/arrowblack.png") no-repeat left center;
}

@media only screen and (max-width: 1313px) and (min-width: 901px) {
  .contactbox:first-child {
    margin-left: 0;
    width: calc((100% - 27px) / 2);
  }

  .contactbox:first-child .roadmap img, .contactbox:nth-child(2) .roadmap img {
    width: 100%;
  }

  .contactbox:nth-child(2) {
    margin-right: 0;
    width: calc((100% - 27px) / 2);
  }

  .contactbox:last-child {
    width: 100%;
    margin-left: 0;
  }

  .contactbox:last-child .flex, .contactbox:last-child .business-hours {
    width: 500px;
  }

  .contactbox:last-child .roadmap {
    position: absolute;
    width: calc(100% - 500px - 54px - 27px);
    height: 250px;
    margin: 0;
    bottom: 94px;
    right: 27px;
    border: 1px solid #bababa;
    overflow: hidden;
  }

  .contactbox:last-child .roadmap img {
    border: none;
    width: 100%;
  }
}

@media only screen and (max-width: 900px) and (min-width: 781px) {
  .contactbox {
    width: 100%;
    margin: 27px 0 0 0;
  }

  .contactbox .flex {
    margin-right: 358px;
  }

  .contactbox .business-hours {
    margin-right: 358px;
  }

  .contactbox .roadmap {
    position: absolute;
    width: 302px;
    height: 250px;
    margin: 0;
    bottom: 94px;
    right: 27px;
    border: 1px solid #bababa;
    overflow: hidden;
  }

  .contactbox .roadmap img {
    border: none;
  }
}

@media only screen and (max-width: 780px) {
  .contactbox {
    width: 100%;
    margin: 27px 0 0 0;
  }

  .contactbox .roadmap img {
    width: 100%;
  }
}

@media only screen and (max-width: 670px) {
  .contactformboxes .box {
    height: fit-content;
    margin-bottom: 0;
  }
  .contactformboxes .box:last-child {
    margin-bottom: 27px;
  }
}
