/* ==== RestoreMaster fixes (icons, hero video, forms) ==== */

/* dropdown arrows - were rendering as the letter 3 */
#top-menu .menu-item-has-children>a:first-child:after,
#et-secondary-nav .menu-item-has-children>a:first-child:after{
  font-family:inherit!important;content:""!important;width:6px;height:6px;
  border-right:2px solid currentColor;border-bottom:2px solid currentColor;
  transform:rotate(45deg);top:.42em!important;right:3px!important}
#top-menu li li.menu-item-has-children>a:first-child:after{transform:rotate(-45deg);top:50%!important;margin-top:-4px;right:18px!important}

/* mobile menu button - was a letter a */
.mobile_menu_bar:before{font-family:Arial,Helvetica,sans-serif!important;content:"\2630"!important;font-size:28px!important;line-height:1!important;top:6px!important}
.mobile_nav.opened .mobile_menu_bar:before{content:"\2715"!important}

/* social icons - were empty squares */
.et-social-icon a:before,.et_pb_social_media_follow li a.icon:before{
  font-family:inherit!important;content:""!important;
  -webkit-mask:var(--rm-ico) center/16px no-repeat;mask:var(--rm-ico) center/16px no-repeat;
  background-color:currentColor}
.et-social-icon a:before{display:inline-block;width:16px;height:16px;vertical-align:-3px}
.et_pb_social_media_follow li a.icon:before{background-color:#fff}
.et-social-facebook{--rm-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M14 8h3V4h-3c-2.8 0-5 2.2-5 5v2H7v4h2v9h4v-9h3l1-4h-4V9c0-.6.4-1 1-1z'/></svg>")}
.et-social-linkedin{--rm-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M4.98 3.5a2.5 2.5 0 1 1 0 5 2.5 2.5 0 0 1 0-5zM3 9.5h4V21H3zM9.5 9.5h3.8v1.6h.1c.5-1 1.8-2 3.8-2 4 0 4.8 2.6 4.8 6V21h-4v-5.2c0-1.2 0-2.8-1.7-2.8s-2 1.3-2 2.7V21h-4z'/></svg>")}
.et-social-instagram{--rm-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M7 2h10a5 5 0 0 1 5 5v10a5 5 0 0 1-5 5H7a5 5 0 0 1-5-5V7a5 5 0 0 1 5-5zm0 2a3 3 0 0 0-3 3v10a3 3 0 0 0 3 3h10a3 3 0 0 0 3-3V7a3 3 0 0 0-3-3zm5 3.5a4.5 4.5 0 1 1 0 9 4.5 4.5 0 0 1 0-9zm0 2a2.5 2.5 0 1 0 0 5 2.5 2.5 0 0 0 0-5zM17.5 6a1 1 0 1 1 0 2 1 1 0 0 1 0-2z'/></svg>")}
.et-social-youtube{--rm-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M23 7.2a3 3 0 0 0-2.1-2.1C19 4.6 12 4.6 12 4.6s-7 0-8.9.5A3 3 0 0 0 1 7.2 31 31 0 0 0 .5 12a31 31 0 0 0 .5 4.8 3 3 0 0 0 2.1 2.1c1.9.5 8.9.5 8.9.5s7 0 8.9-.5a3 3 0 0 0 2.1-2.1 31 31 0 0 0 .5-4.8 31 31 0 0 0-.5-4.8zM9.8 15.1V8.9l5.4 3.1z'/></svg>")}
.et-social-twitter,.et-social-x{--rm-ico:url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'><path d='M17.8 2H21l-7 8 8.2 12h-6.4l-5-7.3L5 22H1.8l7.5-8.6L1.5 2h6.6l4.5 6.6zm-1.1 18h1.8L7.4 3.9H5.5z'/></svg>")}

/* everything else Divi drew with the icon font */
.et_pb_button:after,.et_pb_more_button:after,.et_pb_promo_button:after,.et_pb_contact_submit:after{font-family:Arial,Helvetica,sans-serif!important;content:"\203A"!important}
.et-pb-arrow-prev:before{font-family:Arial,Helvetica,sans-serif!important;content:"\2039"!important}
.et-pb-arrow-next:before{font-family:Arial,Helvetica,sans-serif!important;content:"\203A"!important}
.et_pb_toggle_title:before{font-family:Arial,Helvetica,sans-serif!important;content:"+"!important}
.et_pb_toggle_open .et_pb_toggle_title:before{content:"\2212"!important}
.et_pb_scroll_top:before{font-family:Arial,Helvetica,sans-serif!important;content:"\2191"!important}
#et-info-phone:before{font-family:Arial,Helvetica,sans-serif!important;content:"\260E"!important}
#et-info-email:before{font-family:Arial,Helvetica,sans-serif!important;content:"\2709"!important}
.et_overlay:before{font-family:Arial,Helvetica,sans-serif!important;content:"+"!important}
.et_pb_testimonial:before,#et_top_search{display:none!important}

/* hero video - native player, no error overlay */
.rm-hero-video{position:absolute;inset:0;overflow:hidden;z-index:0;pointer-events:none}
.rm-hero-video video{position:absolute;top:50%;left:50%;min-width:100%;min-height:100%;width:auto;height:auto;transform:translate(-50%,-50%);object-fit:cover}
.et_pb_section_video>.et_pb_row,.et_pb_section_video>.et_pb_row_inner{position:relative;z-index:1}
.mejs-overlay-error,.mejs-cannotplay,.me-cannotplay{display:none!important}

/* lead forms */
.rm-form{display:grid;grid-template-columns:1fr 1fr;gap:12px;text-align:left;background:#fff;padding:22px;border-radius:6px;box-shadow:0 6px 24px rgba(0,0,0,.18)}
.rm-form h3{grid-column:1/-1;margin:0 0 2px;padding:0;font-size:22px;color:#1A5797}
.rm-form p.rm-sub{grid-column:1/-1;margin:0 0 6px;color:#555;font-size:14px;line-height:1.5}
.rm-form label{display:block;font-size:13px;font-weight:600;color:#333;margin-bottom:4px}
.rm-form input,.rm-form select,.rm-form textarea{width:100%;box-sizing:border-box;padding:11px 12px;border:1px solid #c9ced3;border-radius:4px;font:inherit;font-size:15px;color:#222;background:#fff}
.rm-form input:focus,.rm-form select:focus,.rm-form textarea:focus{outline:2px solid #2DB560;outline-offset:1px;border-color:#2DB560}
.rm-form .full{grid-column:1/-1}
.rm-form textarea{min-height:96px;resize:vertical}
.rm-form button{grid-column:1/-1;background:#2DB560;color:#fff;border:0;border-radius:4px;padding:14px;font-size:17px;font-weight:700;cursor:pointer}
.rm-form button:hover{background:#249a50}
.rm-form .rm-hp{position:absolute!important;left:-9999px!important}
.rm-form .rm-fine{grid-column:1/-1;font-size:12px;color:#777;margin:0}
@media (max-width:640px){.rm-form{grid-template-columns:1fr}}
