.form-actions {
  display: inline-flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
}

.form-actions .wpcf7-form-control.has-spinner.wpcf7-submit.button.primary {
  order: 3;
}

.form-actions .wpcf7-spinner {
  order: 2;
}

@media (max-width: 1600px) {
  :root {
    --spacing: 35px;
  }
  .hero .front-image {
    right: 100px;
  }
  .process .front-image {
    left: 19%;
  }
  .front-image {
    max-width: 46%;
    width: 46%;
    height: 500px;
  }
  .hero h1 {
    margin: 0 0 170px;
  }
  .products #product-images ul li section .product-main,
  .products #product-images ul li section .product-featured {
    height: 320px;
  }
  .products #product-images ul li section .product-featured a span {
    left: 12px;
  }
  .products h2 {
    margin: 0 0 80px;
  }
  .products #product-images {
    height: 666px;
  }
}

@media (max-width: 1367px) {
  .front-image {
    height: 440px;
  }
  .hero h1 {
    margin: 0 0 110px;
  }
  .products #product-images ul li section .product-main,
  .products #product-images ul li section .product-featured {
    height: 250px;
  }
  .products #product-images {
    height: 530px;
  }

  .hero.pg-title .front-image {
    top: 400px;
  }
}

@media (max-width: 1199px) {
  .top-btn {
    background: var(--dark) !important;
  }

  .hero h1 {
    font-size: 8rem;
  }

  .hero p {
    max-width: 415px;
  }

  .hero .front-image {
    right: 50px;
    top: 230px;
  }

  .front-image {
    height: 390px;
  }

  .process ol li i {
    width: 44px;
    height: 44px;
    -webkit-background-size: contain;
    background-size: contain;
  }

  .process ol li {
    margin: 0 0 35px;
  }
  .products #products-nav {
    position: relative;
    top: 0;
    margin: 30px 0 40px;
  }

  .hero.pg-title .front-image {
    top: 450px;
  }
}

@media (max-width: 991px) {
  #gallery-3 {
    margin-bottom: 0 !important;
  }

  .product-manufacturers ul li {
    margin: 0 10px;
  }

  .product-manufacturers ul li a img {
    max-height: 50px;
  }

  .service-sidebar {
    order: -1;
    width: 100% !important;
  }

  .service-content {
    width: 100% !important;
  }

  .navigation .col-lg-5 h2 {
    margin-top: 30px;
  }

  .navigation {
    padding: 120px 0 0;
  }

  .navigation ul li a {
    font-size: 3rem;
    padding: 0 0 0 38px;
  }

  .navigation ul li a i.icon-phone,
  .navigation ul li a i.icon-angle-right {
    width: 18px;
    height: 18px;
  }

  .navigation ul li a i {
    top: 6px;
  }

  .navigation ul.nav li a {
    padding: 0 0 0 25px;
  }

  .navigation ul li a i.icon-email {
    width: 24px;
    height: 17px;
    top: 8px;
    left: 0;
  }

  .navigation h2 {
    font-size: 2rem;
  }

  .process:not(.process.process-lp.lp) ol li,
  .process:not(.process.process-lp.lp) ol li:last-child {
    max-width: 32%;
    flex: 0 0 32%;
    margin: 40px 0 0;
    justify-content: center;
  }

  .process ol {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    margin: 0;
  }

  .process ol li i {
    margin: 0 15px 0 0;
  }

  .process h2 {
    margin: 0 0 10px;
  }

  .products #products-nav {
    margin: 30px auto 40px;
  }

  .products #product-images {
    height: auto;
    width: 100%;
    position: relative;
    max-width: 640px;
  }

  .products h2 {
    margin: 40px 0;
  }

  .pg-content.pt-xl,
  .pg-content.pb-xl,
  .pg-content.pt-lg,
  .pg-content.pb-lg,
  .footer {
    text-align: center;
    padding: calc(var(--spacing) * 2) 0;
  }

  #request-quote section {
    padding: 0;
    margin: 0 0 50px;
  }

  .footer ul {
    display: block;
  }

  .footer ul li a {
    justify-content: center;
  }

  .footer ul li:nth-child(2) {
    margin: 15px 0;
  }

  .footer ul li a i {
    margin: 0 7px 0 0;
  }

  .icon-map {
    width: 15px;
    height: 17px;
  }

  .icon-email {
    width: 23px;
    height: 14px;
  }

  .icon-phone {
    width: 16px;
    height: 16px;
  }

  .testimonials blockquote {
    padding: 55px 110px 0;
  }

  .testimonials blockquote:before {
    width: 100px;
    height: 100px;
  }

  .testimonials blockquote:after {
    width: 60px;
    height: 60px;
  }

  .testimonials blockquote p {
    margin: 0 0 20px;
  }

  .testimonials blockquote cite {
    font-size: 1.7rem;
  }
  .products #products section p {
    font-size: initial;
  }

  .products #products-nav #products-pager {
    font-size: 1.8rem;
  }

  .products #products section p:last-child {
    margin: 40px 0 0;
  }

  .products #product-images ul li section .product-main {
    height: auto;
    max-width: 100%;
    -webkit-flex: 0 0 100%;
    flex: 0 0 100%;
    margin: 0;
  }

  .products #product-images ul li section .product-main img {
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    max-width: 100%;
  }

  .products #product-images ul li section .product-main + .product-featured,
  .products #product-images ul li section .product-featured {
    max-width: 24%;
    -webkit-flex: 0 0 24%;
    flex: 0 0 24%;
    margin: 20px 0 0;
  }

  .products #product-images ul li section .product-featured a span {
    writing-mode: unset;
    text-align: center;
    top: 0;
    left: 0;
    display: block;
    width: 100%;
    padding: 10px 0 0;
    position: relative;
  }

  .products #product-images ul li section .product-featured a img {
    max-height: 60%;
  }

  .products #product-images ul li section .product-featured {
    height: 190px;
  }

  .products #product-images ul li section .product-featured a img {
    position: relative;
    max-height: 135px;
    margin: 0 auto;
    padding: 20px 0 0;
  }

  .hero .back-image,
  .hero .front-image,
  .process .back-image,
  .process .front-image .pg-section-images .back-image,
  .pg-section-images .front-image {
    max-width: 50%;
    width: auto;
    flex: 0 0 50%;
    position: relative;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    height: 450px;
  }

  .hero.pg-title .front-image {
    top: unset;
  }

  .hero.pg-title section {
    margin-top: unset;
    min-height: unset;
  }

  .hero.pg-title .container,
  .hero.pg-title .row,
  .hero.pg-title .col-lg-7 {
    height: unset;
  }

  .push-from-header {
    margin: 80px 0 0;
  }

  .pg-section-images {
    display: flex;
    align-items: stretch;
    justify-content: center;
  }

  .hero.pt-md {
    padding-top: 0 !important;
  }

  .pg-section-images {
    margin: 0 0 50px;
  }

  .hero p {
    max-width: unset;
  }

  .process.pt-xl,
  .process.pb-xl {
    margin: 0;
  }

  .hero h1 br,
  .hero h1 br::after {
    content: " ";
  }

  .hero h1 {
    font-size: 7rem;
    margin: 0 0 30px;
  }

  .icon-brand {
    width: 182px;
    height: 60px;
  }

  .header {
    padding: 25px 0;
  }

  .header.scrolled .icon-brand {
    width: 150px;
    height: 48px;
  }

  .hero {
    margin: 112px 0 0;
  }

  .icon-brand,
  .header.scrolled .icon-brand {
    width: 140px;
    height: 45px;
  }

  .header,
  .header.scrolled {
    padding: 14px 0;
  }

  .hero {
    margin: 75px 0 0;
  }

  .pg-title {
    height: auto;
  }

  .landing-pages li i {
    display: none;
  }

  .landing-pages li {
    flex-direction: column;
  }

  .landing-pages li span {
      font-size: 0px;
      display: block;
      width: 200px;
      height: 1px;
      max-width: 100%;
      margin: 8px auto;
      background-color: #333333;
  }
}

@media (min-width: 768px) {
  .mobile-phone {
    display: none;
  }
}

@media (max-width: 767px) {
  .top-btn {
    bottom: 20px;
    right: 20px;
  }
  .footer {
    padding-bottom: 140px !important;
  }
  .wpcf7 fieldset .form-group {
    max-width: 100%;
  }

  .wpcf7 fieldset {
    display: block;
  }
  .cf7sr-g-recaptcha {
    -webkit-transform: scale(0.8);
    -webkit-transform-origin: top left;
    transform: scale(0.8);
    transform-origin: top left;
  }

  .logo-list ul li:nth-child(2),
  .logo-list ul li:nth-child(3),
  .logo-list ul li:nth-child(4),
  .logo-list ul li:nth-child(5),
  .logo-list ul li:nth-child(6) {
    -webkit-flex: 0 0 46.675%;
    -ms-flex: 0 0 46.675%;
    flex: 0 0 46.675%;
    max-width: 46.675%;
  }

  .gallery-topnav li {
    width: 100%;
    max-width: 100%;
    flex: 0 0 100%;
    margin: 5px;
  }

  .page-id-28 .pg-title ul li {
    font-size: 2.3rem;
  }

  #gallery-1 .gallery-item,
  #gallery-2 .gallery-item,
  #gallery-3 .gallery-item {
    float: unset !important;
  }

  .navigation .col-lg-4 {
    margin-top: 30px;
  }

  .product-manufacturers ul li {
    margin: 0 10px 10px;
    text-align: center;
  }

  .product-manufacturers:not(.lp) ul li {
    width: 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .pg-title {
    height: auto;
  }

  .push-from-header {
    margin: 40px 0 0;
  }

  .gallery-item {
    width: 50% !important;
  }

  .form-actions .wpcf7-form-control.has-spinner.wpcf7-submit.button.primary {
    order: 2;
  }

  .form-actions .wpcf7-spinner {
    order: 3;
  }

  .navigation ul.nav li {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .navigation ul li {
    margin: 0 0 16px;
  }

  .navigation .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .navigation .col-lg-5 h2 {
    margin-top: 15px;
  }

  .navigation {
    padding-top: 100px;
  }

  .hero .back-image,
  .hero .front-image,
  .process .back-image,
  .process .front-image {
    height: 289px;
  }

  .products #product-images ul li section .product-main + .product-featured,
  .products #product-images ul li section .product-featured {
    display: none;
  }

  .testimonials .slick-arrow {
    width: 30px;
    height: 30px;
  }

  .testimonials blockquote {
    padding: 55px 60px 0;
  }

  .pg-content.pt-xl,
  .pg-content.pb-xl,
  .pg-content.pt-lg,
  .pg-content.pb-lg,
  .footer {
    padding: var(--spacing) 0;
  }

  *[type="submit"],
  .button {
    padding: 16px 18px;
  }

  .hero h1 {
    font-size: 6rem;
  }

  .container {
    padding-left: 30px;
    padding-right: 30px;
  }

  .header .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .products #product-images {
    max-width: 95%;
  }

  .navigation ul li a {
    font-size: 2.5rem;
    padding: 0 0 0 30px !important;
  }

  .navigation ul.menu li {
    -webkit-flex: 0 0 49%;
    -ms-flex: 0 0 49%;
    flex: 0 0 49%;
    max-width: 49%;
  }

  .navigation ul.menu li {
    -webkit-flex: 0 0 100%;
    -ms-flex: 0 0 100%;
    flex: 0 0 100%;
    max-width: 100%;
  }

  .navigation ul.menu li:first-child {
    display: none;
  }

  .navigation h2 {
    display: none;
  }

  .navigation ul li a i.icon-phone,
  .navigation ul li a i.icon-angle-right {
    width: 14px;
    height: 14px;
  }

  .navigation ul li a i.icon-email {
    width: 18px;
    height: 16px;
    top: 5px;
  }

  .navigation .col-lg-4 {
    margin-top: 0;
  }

  .menu-icons {
    display: flex;
    align-items: center;
  }

  .menu-icons a:first-of-type {
    margin-right: 30px;
  }

  .gallery-item {
    float: unset !important;
  }
}

@media (max-width: 640px) {
  .hero .back-image,
  .hero .front-image,
  .process .back-image,
  .process .front-image {
    height: 179px;
  }

  .process ol li,
  .process ol li:last-child {
    max-width: 100%;
  }

  .process:not(.process.process-lp.lp) ol {
    display: block;
    margin: 0 auto;
    max-width: 75%;
  }

  .process:not(.process.process-lp.lp) ol li,
  .process:not(.process.process-lp.lp) ol li:last-child {
    justify-content: space-between;
  }

  .process:not(.process.process-lp.lp) ol li {
    border-bottom: 1px solid #333;
    margin: 0;
    padding: 10px 0;
  }

  .process ol li:last-child {
    margin: 0;
    border: none;
  }

  .content-img {
    -webkit-order: -1 !important;
    -ms-order: -1 !important;
    order: -1 !important;
    margin: 0 0 30px !important;
  }

  .content-text.ct-right, .content-text.ct-left {
    padding: 0;
  }
}

@media (max-width: 480px) {
  .hero .button.primary {
    margin-bottom: 9px;
  }

  .hero .button {
    width: 100%;
    text-align: center;
  }

  .footer p,
  .footer ul {
    font-size: 1.8rem;
    letter-spacing: 0.5px;
  }

  .footer .container {
    padding-left: 15px;
    padding-right: 15px;
  }

  .process ol {
    max-width: 90%;
  }

  .hero .back-image,
  .hero .front-image,
  .process .back-image,
  .process .front-image {
    height: 220px;
  }
  .hero .back-image,
  .process .back-image {
    display: none;
  }

  .hero .back-image,
  .hero .front-image,
  .process .back-image,
  .process .front-image {
    max-width: 100%;
    flex: 0 0 100%;
  }

  .hero h1 {
    font-size: 5.3rem;
  }

  .testimonials .slick-arrow {
    display: none !important;
  }

  .testimonials blockquote {
    padding: 30px 0;
  }

  .pg-content h2 {
    font-size: 4rem;
    line-height: 1.3;
  }
}
