/* Mobile-first responsive enhancements */
.skip-link {
  position: absolute;
  top: -100px;
  left: 0;
  z-index: 100000;
  padding: 0.75rem 1.25rem;
  background: #b32c39;
  color: #fff;
  text-decoration: none;
  font-weight: 600;
}

.skip-link:focus {
  top: 0;
}

.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

img {
  max-width: 100%;
  height: auto;
}

.portfolio-grid li img,
#portfolio-grid li img,
.page-home #boxgallery .bg-img img {
  max-width: none;
}

.brand img {
  max-height: 80px;
  width: auto;
}

.content_text iframe,
.map-embed iframe {
  max-width: 100%;
  width: 100%;
  height: 300px;
  border: 0;
}

@media (min-width: 768px) {
  .map-embed iframe {
    height: 400px;
  }
}

@media (max-width: 991px) {
  .content_overlay,
  .content_overlay_fullwidth {
    width: 100% !important;
  }

  .content_inner {
    padding-left: 15px !important;
    padding-right: 15px !important;
  }

  .col-md-5.empty,
  .col-md-6.empty {
    display: none;
  }

  .col-md-7.content_text,
  .col-md-6.content_text {
    width: 100%;
    float: none;
  }

  .menu_big {
    margin-bottom: 15px;
  }

  .header_details .call,
  .header_details .home_address {
    font-size: 14px;
    line-height: 1.5;
  }

  .header_icons {
    text-align: center;
  }

  .accura-social-icons li {
    display: inline-block;
    margin: 4px;
  }

  #footer .copyright {
    font-size: 12px;
    padding: 10px 15px;
    line-height: 1.4;
  }

  .portfolio-grid li {
    width: 50% !important;
  }

  h1 {
    font-size: 1.75rem !important;
    line-height: 1.2;
  }

  .title-splider h4 .left,
  .title-splider h4 .right {
    display: block;
    float: none !important;
    width: 100%;
  }
}

@media (max-width: 767px) {
  .portfolio-grid li {
    width: 100% !important;
  }

  .hidden-phone,
  .toHideTheBubbles {
    display: none !important;
  }

  .brand img {
    max-height: 60px;
  }

  .main-nav .nav {
    display: none;
  }
}

@media (max-width: 480px) {
  .header_details {
    padding: 10px;
  }

  .boxgallery nav span {
    padding: 8px;
  }
}

/* Homepage full-screen hero slideshow */
html,
body.page-home {
  height: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

.page-home #wrapper,
.page-home #mask {
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
}

.page-home #mask {
  width: 100% !important;
}

.page-home #home.item {
  width: 100% !important;
  height: 100vh;
  min-height: 100vh;
  float: none;
  display: block;
  position: relative;
}

.page-home #home > .clearfix {
  height: 100%;
  position: relative;
}

.page-home #boxgallery {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.page-home .js #boxgallery,
.page-home .js #boxgallery .panel {
  height: 100%;
  min-height: 100vh;
}

.page-home #boxgallery .bg-img {
  background: #000;
}

.page-home #boxgallery .bg-img img {
  width: 200%;
  height: 200%;
  max-width: none;
  object-fit: cover;
}

@media screen and (min-aspect-ratio: 1280/850) {
  .page-home #boxgallery .bg-img img {
    width: 235%;
    height: auto;
    min-height: 200%;
  }
}

.page-home .header_details {
  z-index: 10;
  pointer-events: none;
}

.page-home .header_details a,
.page-home .header_details .accura-social-icons {
  pointer-events: auto;
}

.page-home #boxgallery > nav span {
  top: 50%;
  z-index: 11;
}

.page-home #mainheader {
  z-index: 12;
}

.page-home #specialmenu {
  z-index: 12;
}

.view3.third-effect3 {
  position: relative;
  overflow: hidden;
}

.view3.third-effect3 .mask {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

.view3.third-effect3 .mask a {
  display: block;
  width: 100%;
  height: 100%;
}
