@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

* {
  font-family: "Poppins", sans-serif;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 10rem;
}

img[data-lazyloaded="1"] {
  opacity: 0;
  transition: .5s;
}

img[data-lazyloaded="1"].entered {
  opacity: 1
}

.logo img {
  max-height: 50px;
  transition: 0.5s;
  height: 100%;
}

.sticky-cta {
  position: fixed;
  bottom: 2rem;
  right: 2rem;
  z-index: 10000;
  opacity: 0;
  pointer-events: none;
  transition: 0.5s;
}

.sticky-cta button {
  box-shadow: 0px 0px 100px var(--secondary);
}
.row-titles {
  margin: 0 0 5rem 0
}

/* Colors */

:root {
  --primary: #0c492b;
  --secondary: #dc7715;
  --offwhite: #efefef;
  --lightgreen: #f2f8ec;
  --brown: #58221b;
  --white: #fff;
  --black: #0f0f0f;
  --darkgray: #1a1a1a;
}

/* Globals */

.btn-solid-round,
.btn-outline-round {
  border-radius: 10000px;
}

.btn-outline-round,
.btn-outline-square {
  border: 2px solid currentColor;
}

p strong {
  color: var(--brown);
}

.box-grid strong {
  color: var(--white);
}

li {
  list-style: disc;
  margin-left: 1rem;
  font-size: initial;
  margin-bottom: 0.5rem;
}

.btn {
  font-weight: 600;
  font-size: clamp(0.8rem, 1vw, 1rem);
  letter-spacing: 0;
}

.button .btn {
  display: inline !important;
}

.btn:after {
  content: "\f105";
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
  margin-left: 1rem;
  vertical-align: baseline;
}

.title-accent {
  text-transform: capitalize;
  letter-spacing: 0;
}

.content-row > .container > div > .title .text-body {
  margin: 1rem 0 5rem 0;
}

a {
  text-decoration: none !important;
  color: currentcolor;
}

/* header */

.site-header,
header h3,
.site-header > div {
  transition: 0.5s;
}

header {
  z-index: 100;
  position: fixed;
  left: 0;
  right: 0;
}

.nav-group {
  width: 100%;
  max-width: 600px;
}

.nav-group > * {
  margin: auto 0;
}

.nav-menu {
  position: fixed;
  right: 0;
  bottom: 0;
  top: 84px;
  background: var(--brown);
  padding: 2rem;
  width: 100%;
  max-width: 600px;
  box-sizing: border-box;
}

.nav-menu {
  transition: 0.5s;
  transform: translate(100%);
}

.animout {
  transform: translate(100%);
}

.animin {
  transform: translate(0%);
}

.nav-menu .menu-item a {
  color: var(--white);
  font-size: clamp(1.5rem, 3vw, 3rem);
  font-weight: 700;
}

.nav-menu .menu-item {
  margin: 1.5rem 0;
}

header .logo {
  margin: auto 02rem auto 0;
}

header li {
  list-style: none;
}

header .menu-item-has-children a {
  position: relative;
}

header .menu-item-has-children > a:after {
  content: "\f105";
  font-family: "Font Awesome 5 Pro";
  font-weight: 300;
  margin-left: 2rem;
  position: absolute;
  font-size: 2rem;
  top: 50%;
  transform: translatey(-50%) rotate(0deg);
  transition: 0.5s;
}

.sub-menu .menu-item a {
  font-size: 1rem;
  font-weight: 300;
}

.menu-item-has-children a[aria-hidden="false"]:after {
  transform: translatey(-50%) rotate(90deg);
}

.sub-menu {
  overflow: hidden;
  margin: 0;
}

.sub-container {
  display: grid;
  grid-template-rows: 0fr;
  transition: 0.5s cubic-bezier(0.4, 0, 0.2, 1);
}

.menu-item-has-children a[aria-hidden="false"] .sub-menu {
  margin: 1rem 0 3rem 0;
}

.menu-item-has-children a[aria-hidden="false"] + .sub-container {
  grid-template-rows: 1fr;
}

.nav_cta {
  margin: auto 0 0 0;
}

.nav_cta p {
  color: var(--offwhite);
  font-weight: 300;
}

.nav-menu .container {
  height: 100%;
}

.scrolling .sticky-cta {
  opacity: 1 !important;
  pointer-events: all !important;
}

.scrolling .logo img {
  max-height: 30px;
}

.scrolling header h3 {
  font-size: clamp(0.75rem, 1vw, 1.5rem) !important;
}

.scrolling .nav-group .btn {
  font-size: clamp(0.75rem, 1vw, 0.85rem) !important;
}

.scrolling .site-header > div {
  padding: 0.25rem 1rem !important;
}

@media only screen and (max-width: 768px) {
  .nav-group > a {
    display: none;
  }
  .nav-group {
    max-width: 250px;
  }
  .logo img {
    height: 25px;
  }
}

/* Footer CTA */

.cta-img {
  width: 50%;
}

.cta-img img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
  object-fit: cover;
}

.cta-content {
  background: var(--primary);
  width: 50%;
  padding: 3rem 0;
}

.cta-content > div {
  max-width: 875px;
  margin: auto 0 auto auto;
  padding: 2rem;
  box-sizing: border-box;
}

.cta-content {
  color: var(--white);
}

.cta-title h2 {
  width: 60%;
}

@media only screen and (max-width: 991px) {
  .footer-cta {
    flex-direction: column-reverse;
  }
  .footer-cta > div {
    width: 100%;
  }
}

@media only screen and (max-width: 500px) {
  .cta-title {
    flex-direction: column;
  }
  .cta-title h2 {
    width: 100%;
  }

  .cta-title a {
    margin: 2rem 0;
  }
}

footer {
  padding: 5rem 0 0.25rem 0;
}

footer img {
  max-width: 200px;
}

.footer-address a {
  color: var(--secondary);
  text-decoration: none;
}

.footer-address p {
  font-size: 1rem;
  margin-top: 2rem;
  line-height: calc(1rem * 1.5);
}
.footer-col-right .services {
  max-width: 1100px;
  width: 100%;
  margin: 0 2rem;
}

.footer-col-right .single-service {
  margin-right: 2rem;
  width: 100%;
  max-width: 200px;
}

.footer-col-right > a {
  width: 35%;
  text-align: right;
}

.footer-col-right {
  color: var(--offwhite);
  width: 100%;
  max-width: 1000px;
}

.footer-col-right a {
  color: var(--offwhite);
  text-decoration: none;
  font-size: clamp(0.75rem, 0.8vw, 8rem);
}

.footer-col-right h4 {
  font-weight: 600;
  margin-bottom: 2rem;
}

.footer-col-right p {
  margin: 0;
}

@media only screen and (max-width: 991px) {
  footer .container {
    flex-direction: column-reverse;
  }

  footer .container > div {
    width: 100%;
  }
  .footer-col-right {
    margin-bottom: 4rem;
    flex-direction: column;
  }
  .footer-col-right .services {
    margin: 0;
  }
  .footer-col-right > a {
    text-align: left;
  }
  .footer-col-right .services > div {
    flex-wrap: wrap;
  }
  .footer-col-right .single-service {
    width: calc(49% - 2rem);
    margin-bottom: 3rem;
  }
}

/* Hero */

.home-hero {
  height: 100vh;
  color: var(--white);
}
.hero-content {
  margin-top: auto;
  margin-bottom: 5rem;
  max-width: 700px;
}

.home-hero h1 {
  margin-top: 13rem;
  max-width: 500px;
}

.hero-content h2 {
  max-width: 500px;
}

.hero-content > div {
  margin: 2rem 0 0 0;
}

.hero-content > div p {
  width: 60%;
  font-size: clamp(0.75rem, 1vw, 1rem);
}

/* image box */

.img-box-content {
  margin: auto;
  text-align: center;
  color: var(--white);
  padding: 3rem;
}

.img-box-content img {
  border-radius: 1000px;
  height: 100px;
  width: 100px;
}

.image-box {
  height: 100%;
}

.layout-row .column > div {
  height: 100%;
}

/* Toggle Item */

.toggle-item {
  border-radius: 100px;
  background: var(--white);
  transition: border-radius 0.3s 0.5s;
}

.toggle-item h3 {
  font-size: 1rem;
  color: var(--primary);
  font-weight: 600;
}

.toggle-item h3:after {
  content: "\f105";
  font-weight: 900;
  font-family: "Font Awesome 5 Pro";
  margin-left: 1rem;
  vertical-align: baseline;
  font-size: 1rem;
}

.toggle-item[aria-hidden="false"] {
  border-radius: 30px;
  transition: 0s;
}

.toggle-item {
  padding: 0.9em 1em;
}

.row-our-services .toggle-item,
.row-our-services .button .btn {
  max-width: 300px;
  width: 100%;
  margin: 0 auto;
}

.row-our-services .button .btn {
  text-align: left;
}

.row-our-services .button .btn:after {
  position: absolute;
  right: 2rem;
  top: 50%;
  transform: translatey(-50%);
}

.toggle-body {
  border-top: 0px solid #efefef;
}

.toggle-item[aria-hidden="false"] .toggle-body {
  border-top: 2px solid #efefef;
  padding-top: 1rem;
}
.toggle-body a {
  font-size: 1rem;
}

@media only screen and (max-width: 1200px) {
  .row-cerami-history .text-body {
    padding: 0 2rem;
    box-sizing: border-box;
  }
}

/* Box Grid */

.box-grid > div {
  color: var(--white);
  width: calc(50% - 6rem);
  margin: 1rem;
  padding: 2rem;
  border-radius: 1.5rem;
  font-size: 0.75rem;
}

.box-grid p {
  font-size: 1rem;
  line-height: calc(0.75rem * 1.75);
}

@media only screen and (max-width: 768px) {
  .box-grid > div {
    width: 100%;
    margin: 1rem 0;
  }
}

/* Contact Page Adjustments */

.row-forms .dialog-box {
  display: inline-block;
  margin: 0 1rem;
}

.row-map .container.global {
  max-width: 100%;
}

.row-map p {
  margin-bottom: 0;
}

.row-forms .dialog-box:nth-child(n + 3) button {
  background: transparent !important;
  color: var(--primary) !important;
}
.close-modal {
  position: absolute;
  top: 2rem;
  right: 2rem;
  height: 30px;
  width: 30px;
  color: transparent;
  font-size: 0;
  border: 2px solid var(--primary);
}

.close-modal:before {
  content: "✕";
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--primary);
  font-size: 1.5rem;
}

/* Video */

.hero-arrow {
  position: absolute;
  bottom: 6rem;
  right: 2rem;
}

.hero-arrow img {
  height: 150px;
}
.home-hero {
  overflow: hidden;
  max-width: 1920px;
  max-height: 1080px;
  -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
  clip-path: polygon(0 0, 100% 0, 100% 100%, 0% 100%);
}

.home-hero iframe {
  z-index: 1;
  right: 0;
  bottom: 0;
  position: fixed;
  top: 0;
  left: 0;
  height: 400%;
  width: 400%;
  max-height: 1080px;
  max-width: 1920px;
}

.home-hero:before {
  content: "";
  position: absolute;
  top: -50px;
  left: 0;
  right: 0;
  bottom: -50px;
  background: linear-gradient(rgb(0, 0, 0, 0.1), rgb(0, 0, 0, 0.7));
  z-index: 2;
}

.home-hero .title-large {
  line-height: clamp(2.5rem, 5vw, 5rem);
  font-weight: 600;
}

.home-hero > div {
  z-index: 2;
}

@media only screen and (max-width: 991px) {
  .hero-arrow {
    display: none;
  }
}

@media only screen and (max-width: 768px) {
  .home-hero iframe {
    display: none;
  }
}

@media only screen and (max-width: 500px) {
  .hero-content > div {
    flex-direction: column;
  }
  .hero-content > div p {
    margin: 1rem 0 2rem 0;
  }
  .hero-content > div p {
    width: 100%;
  }
}

/* Services Adjustment */

.row-service-info .column {
  max-width: calc(50% - 1rem);
  width: 100% !important;
  margin: 1rem 0;
}

@media only screen and (max-width: 1200px) {
  .row-service-info .column {
    max-width: 100%;
  }
}

/* Form Styles */

.dialog-box dialog {
  width: 100%;
  max-width: 768px;
  padding: 2rem;
}

.gform_title {
  color: var(--primary);
  margin-bottom: 2rem;
}

.gfield_label,
.gfield {
  margin-bottom: 1rem !important;
}

.gfield_label {
  color: var(--brown);
}

.gform_button[value="submit"] {
  font-weight: 600;
  font-size: clamp(0.8rem, 1vw, 1rem);
  letter-spacing: 0;
}

.gchoice {
  cursor: pointer;
}

.prop-select .gchoice {
  display: inline;
}

.prop-select .gchoice label {
  background: var(--offwhite);
  padding: 1rem;
}
.prop-select .gchoice label:before {
  display: none;
}

.gform_wrapper .button {
  font-size: 0.8rem !important;
  border-radius: 200px;
}

.gform_next_button {
  background: var(--primary);
  color: var(--white);
}

.gchoice input {
  height: 0;
  width: 0;
  padding: 0;
  margin: 0;
  opacity: 0;
}

.gchoice input[type="radio"] + label:before {
  border-radius: 100px;
}

.gchoice label:before {
  content: "";
  display: inline-block;
  height: 15px;
  width: 15px;
  background: var(--offwhite);
  margin-right: 1rem;
  box-sizing: border-box;
}

.gchoice input:checked + label:before {
  background: var(--secondary);
  border: 3px solid var(--offwhite);
  height: 15px;
  width: 15px;
}

.prop-select {
  text-align: center;
}

.prop-select .gchoice input:checked + label {
  background: var(--secondary) !important;
  color: var(--white);
}

.gform_button[type="submit"] {
  color: var(--white);
  background: var(--secondary);
}

.gform_page_footer {
  text-align: right;
}

.gchoice {
  margin: 0.5rem 0;
}

/* Image Gallery */

.gallery {
  margin-bottom: 5rem;
}

.gallery picture {
  width: calc(100% / 4 - 2rem);
  height: auto;
  position: relative;
  cursor: pointer;
  max-height: 300px;
}

.gallery img {
  height: 100%;
  max-height: 300px;
  -o-object-fit: cover;
     object-fit: cover;
  width: 100%;
}

.gallery picture:before {
  content: "";
  background: rgba(0, 0, 0, 0.5);
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  bottom: 0;
  transition: 0.5s;
  opacity: 0;
}

.gallery picture:after {
  content: attr(data-title);
  position: absolute;
  left: 50%;
  top: 60%;
  transform: translate(-50%, -50%);
  transition: 0.5s;
  color: var(--white);
  text-align: center;
  opacity: 0;
}

.gallery picture:hover:after {
  top: 50%;
  opacity: 1;
}

.gallery picture:hover:before {
  opacity: 1;
}

.gallery-lightbox {
  position: relative;
  border: none;
  outline: none;
  background: var(--black);
  transform: scale(0.5);
  opacity: 0;
  -webkit-animation: lbscale 0.5s forwards 0.2s;
          animation: lbscale 0.5s forwards 0.2s;
  color: var(--white);
  max-width: 1100px;
  position: fixed;
}

.gallery-lightbox img {
  width: 100%;
  max-width: 80%;
}

.gallery-lightbox-img {
  transition: 0.5s;
}

@-webkit-keyframes lbscale {
  0% {
    transform: scale(.5; opacity: 0;);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

@keyframes lbscale {
  0% {
    transform: scale(.5; opacity: 0;);
  }
  100% {
    transform: scale(1);
    opacity: 1;
  }
}

.gallery-lightbox::-webkit-backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.gallery-lightbox::backdrop {
  background: rgba(0, 0, 0, 0.5);
}

.close-gallery-lightbox {
  font-size: 1.5rem;
  position: absolute;
  left: 1rem;
  top: 1rem;
  cursor: pointer;
}

.lightbox-content i {
  font-weight: 900;
  font-size: 3rem;
  margin: auto 1rem;
  cursor: pointer;
}

.gallery-img {
  margin: 1.25rem 0;
}

.gallery:after {
  content: "";
  flex: 0.75;
}

@media only screen and (max-width: 991px) {
  .gallery picture {
    width: calc(100% / 3 - 2rem);
  }
  .gallery picture {
    max-height: 200px;
  }
}

@media only screen and (max-width: 762px) {
  .gallery picture {
    width: calc(100% / 2 - 1rem);
  }
}

/* Pre-load */

.pre-load {
  position: fixed;
  background: var(--white);
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  z-index: 1000;
}

.pre-load div {
  background: rgb(0,0,0,.2);
  display: block;
  height: 30px;
  width: 30px;
  margin: auto;
  border-radius: 1000px;
  position: relative;
  animation: animate 2s linear infinite;
    rotate(0deg);
}

@keyframes animate {
  0% {
    transform: rotate(0deg) scale(.8);
    
  }
    50% {
    transform: rotate(180deg) scale(1);
      opacity: .5;
  }
    100% {
   transform: rotate(360deg) scale(.8);
  }
}

.pre-load div:before, .pre-load div:after {
  content: '';
  display: block;
  height: 10px;
  width: 10px;
  background: var(--secondary);
  border-radius: 100px;
  position: absolute;

}

.pre-load div:before {
  top: -2px;
  left: 50%;
  transform: translatex(-50%);
}

.pre-load div:after {
  bottom: -2px;
  left: 50%;
  transform: translatex(-50%);
}