/* Shared quick-contact component. */
.rib-mobile-actions{display:none}
@media(max-width:767px){
  .rib-mobile-actions{
    display:grid;
    grid-template-columns:repeat(4,1fr);
    width:100%;
    min-height:58px;
    background:var(--rib-accent);
    border-top:1px solid rgba(255,255,255,.22);
    border-bottom:1px solid rgba(0,0,0,.08);
  }
  .rib-mobile-actions a{
    min-height:58px;
    display:flex;
    flex-direction:column;
    gap:3px;
    align-items:center;
    justify-content:center;
    color:#fff!important;
    border-right:1px solid rgba(255,255,255,.22);
    font-size:10px;
    line-height:1.05;
    font-weight:700;
    text-align:center;
  }
  .rib-mobile-actions a:last-child{border-right:0}
  .rib-mobile-actions svg{
    width:19px;
    height:19px;
    flex:0 0 19px;
    fill:currentColor;
  }
  .rib-mobile-actions span{
    display:block;
    color:#fff!important;
    white-space:nowrap;
  }
  .rib3-mobile-actions a::before{
    display:block;
    font-size:18px;
    line-height:1;
    margin-bottom:2px;
    font-weight:400;
  }
  .rib3-mobile-actions a:nth-child(1)::before{content:"☎"}
  .rib3-mobile-actions a:nth-child(2)::before{content:"◉"}
  .rib3-mobile-actions a:nth-child(3)::before{content:"●"}
  .rib3-mobile-actions a:nth-child(4)::before{content:"✉"}
}

/* Contact form component. */
.page-id-174 .elementor-174,
.page-id-1277 .elementor-1277{
  max-width:860px;
  margin:0 auto;
}
.page-id-174 .wpcf7-form,
.page-id-1277 .wpcf7-form{
  width:100%;
  max-width:100%;
}
.page-id-174 .wpcf7 input[type="text"],
.page-id-174 .wpcf7 input[type="email"],
.page-id-174 .wpcf7 input[type="file"],
.page-id-174 .wpcf7 textarea,
.page-id-1277 .wpcf7 input[type="text"],
.page-id-1277 .wpcf7 input[type="email"],
.page-id-1277 .wpcf7 input[type="file"],
.page-id-1277 .wpcf7 textarea{
  box-sizing:border-box;
  max-width:100%!important;
}
.page-id-174 .wpcf7 input[type="submit"],
.page-id-1277 .wpcf7 input[type="submit"]{
  background:var(--rib-accent)!important;
  color:#fff!important;
  border:0!important;
  border-radius:0!important;
  box-shadow:none!important;
  font-weight:700!important;
}
.page-id-174 .wpcf7 input[type="file"]::file-selector-button,
.page-id-1277 .wpcf7 input[type="file"]::file-selector-button{
  min-height:44px;
  padding:9px 14px;
  margin-right:10px;
  border:1px solid #b9bec5;
  background:#fff;
  color:#222;
  border-radius:2px;
}

@media(max-width:767px){
  .page-id-174 .elementor-section,
  .page-id-1277 .elementor-section{background:#fff!important}
  .page-id-174 .elementor-174,
  .page-id-1277 .elementor-1277{
    padding:28px var(--rib-gutter) 44px!important;
  }
  .page-id-174 .wpcf7-form p,
  .page-id-1277 .wpcf7-form p{
    margin:0 0 18px!important;
    font-size:16px!important;
    line-height:1.45!important;
  }
  .page-id-174 .wpcf7 input[type="text"],
  .page-id-174 .wpcf7 input[type="email"],
  .page-id-1277 .wpcf7 input[type="text"],
  .page-id-1277 .wpcf7 input[type="email"]{
    display:block;
    width:100%!important;
    height:48px!important;
    padding:8px 10px!important;
    font-size:16px!important;
  }
  .page-id-174 .wpcf7 textarea,
  .page-id-1277 .wpcf7 textarea{
    display:block;
    width:100%!important;
    height:140px!important;
    min-height:140px!important;
    padding:10px!important;
    font-size:16px!important;
    resize:vertical;
  }
  .page-id-174 .wpcf7 input[type="file"],
  .page-id-1277 .wpcf7 input[type="file"]{
    display:block;
    width:100%!important;
    font-size:14px!important;
  }
  .page-id-174 .wpcf7 input[type="submit"],
  .page-id-1277 .wpcf7 input[type="submit"]{
    min-width:140px;
    padding:12px 22px!important;
    font-size:17px!important;
  }
}

/* One vector icon system for quick-contact buttons on every page. */
@media(max-width:767px){
  .rib-mobile-actions svg{display:none!important}
  .rib-mobile-actions a::before{
    content:"";
    display:block;
    width:23px;
    height:23px;
    flex:0 0 23px;
    margin:0 0 4px;
    background-repeat:no-repeat;
    background-position:center;
    background-size:contain;
  }
  .rib-mobile-actions a:nth-child(1)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M22 16.92v3a2 2 0 0 1-2.18 2 19.79 19.79 0 0 1-8.63-3.07 19.5 19.5 0 0 1-6-6A19.79 19.79 0 0 1 2.12 4.18 2 2 0 0 1 4.11 2h3a2 2 0 0 1 2 1.72c.13.96.36 1.9.69 2.8a2 2 0 0 1-.45 2.11L8.09 9.91a16 16 0 0 0 6 6l1.28-1.28a2 2 0 0 1 2.11-.45c.9.33 1.84.56 2.8.69A2 2 0 0 1 22 16.92z'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions a:nth-child(2)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M21 11.5a8.38 8.38 0 0 1-.9 3.8 8.5 8.5 0 0 1-7.6 4.7 8.38 8.38 0 0 1-3.8-.9L3 21l1.9-5.7a8.38 8.38 0 0 1-.9-3.8 8.5 8.5 0 0 1 4.7-7.6 8.38 8.38 0 0 1 3.8-.9h.5a8.48 8.48 0 0 1 8 8z'/%3E%3Cpath d='M9.3 8.7c.3 2.1 1.9 3.8 4 4.3'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions a:nth-child(3)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20 10c0 5-8 12-8 12S4 15 4 10a8 8 0 1 1 16 0z'/%3E%3Ccircle cx='12' cy='10' r='2.4'/%3E%3C/svg%3E");
  }
  .rib-mobile-actions a:nth-child(4)::before{
    background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23fff' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Crect x='2.5' y='4.5' width='19' height='15' rx='1'/%3E%3Cpath d='m3.5 6 8.5 7 8.5-7'/%3E%3C/svg%3E");
  }
  .rib3-mobile-actions a::before{font-size:0!important}
}
