/* Changes made on top of the cloned site. Loaded last on both pages. */

/* Hero video: the file has black bars built in (33 of 1080 pixels, top and bottom).
   Zooming slightly pushes them outside the visible area on every screen size. */
.u_1233544979 .videobgwrapper {
  overflow: hidden !important;
}
.u_1233544979 video.videobgframe {
  transform: translate(-50%, -50%) scale(1.07) !important;
}

/* Phone: services accordion fills the screen evenly instead of sitting to the left. */
body.dmMobileBody #dm .dmBody div.u_1401497754 {
  width: auto !important;
  max-width: none !important;
  margin-left: 15px !important;
  margin-right: 15px !important;
}

/* Phone: open and closed accordion rows share one layout. Text is centered, arrow stays right. */
.dmMobileBody .u_1401497754 .mobile-h4-container {
  position: relative !important;
  justify-content: center !important;
  padding-left: 40px !important;
  padding-right: 40px !important;
}
.dmMobileBody .u_1401497754 .mobile-h4-text {
  width: 100% !important;
  text-align: center !important;
}
.dmMobileBody .u_1401497754 .arrow-wrapper {
  position: absolute !important;
  top: 0;
  bottom: 0;
  right: 3px;
  display: flex !important;
  align-items: center;
  justify-content: center;
}

/* Phone: footer menu and contact details centered under the logo. */
.dmMobileBody .u_1236038602 .dmNewParagraph,
.dmMobileBody .u_1236038602 .dmNewParagraph *,
.dmMobileBody .u_1345668663 .dmNewParagraph,
.dmMobileBody .u_1345668663 .dmNewParagraph * {
  text-align: center !important;
}
.dmMobileBody .u_1320121978,
.dmMobileBody .u_1320121978 .unifiednav__container,
.dmMobileBody .u_1320121978 .unifiednav__item {
  justify-content: center !important;
  text-align: center !important;
}

/* Footer credit: centered as one block on every screen size. */
.copyright > div {
  width: 100%;
  text-align: center;
}
