/*
Landing Custom CSS
*/

body.home,
body.front-page {
  --clb-titles-h2-font-size: 56px;
  --clb-titles-h3-font-size: 38px;
  --clb-titles-h4-font-size: 28px;
  --clb-border-radius: 12px;
  --clb-button-border-radius: 12px;
  --clb-button-side-padding: 1rem;
}

/*
Desktop
*/

@media screen and (min-width: 769px) {
  body.home h2,
  body.front-page h2 {
    line-height: 1;
    letter-spacing: -.05em;
  }

  body.home h3,
  body.front-page h3 {
    line-height: 1.1;
    letter-spacing: -.04em;
  }

  /*
    Service table SC
    */

  body.home .service-table,
  body.front-page .service-table {
    padding: 2rem;
  }
}

/*
Mobile
*/

@media screen and (max-width: 768px) {
  /*
    Changelog banner
    */

  body.home .lp-rating-banner,
  body.front-page .lp-rating-banner {
    position: initial !important;
    transform: none !important;
  }

  /*
    Slider
    */

  body.home .slider .clb-slider-item,
  body.front-page .slider .clb-slider-item {
    margin-right: var(--container-default-padding-right) !important;
  }

  body.home .slider .clb-slider-item > img,
  body.front-page .slider .clb-slider-item > img {
    height: 300px;
  }

  body.home .elementor-widget-ohio_clients_logo .ohio-widget.logo img,
  body.front-page .elementor-widget-ohio_clients_logo .ohio-widget.logo img {
    max-height: 42px;
  }

  /*
    Home mobile full-width fix
    Remove side white gutters from hero/body area.
  */

  body.home .boxed-container,
  body.front-page .boxed-container {
    margin-left: 0 !important;
    margin-right: 0 !important;
  }

  body.home .site-content .page-container,
  body.front-page .site-content .page-container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }

  /*
    Home mobile logo swap fix
    Keep only mobile logo visible when available.
  */

  body.home .header .logo.with-mobile,
  body.front-page .header .logo.with-mobile,
  body.home .header .logo-sticky.with-mobile,
  body.front-page .header .logo-sticky.with-mobile {
    display: none !important;
  }

  body.home .header .logo-mobile,
  body.front-page .header .logo-mobile,
  body.home .header .logo-sticky-mobile,
  body.front-page .header .logo-sticky-mobile {
    display: flex !important;
    align-items: center;
  }

  body.home .header .branding .logo-mobile img,
  body.front-page .header .branding .logo-mobile img,
  body.home .header .branding .logo-sticky-mobile img,
  body.front-page .header .branding .logo-sticky-mobile img {
    width: auto !important;
    height: auto !important;
    max-width: 100%;
    max-height: 46px;
    object-fit: contain;
  }
}

/*
Service table SC
*/

body.home .service-table .heading,
body.front-page .service-table .heading {
  margin-bottom: 0.5rem;
}

/*
Testimonials
*/

body.home .testimonial,
body.front-page .testimonial {
  gap: 0.65rem;
}

/*
Buttons
*/

body.home .lp-button.button,
body.front-page .lp-button.button,
body.home .lp-button .button,
body.front-page .lp-button .button {
  --clb-button-height: 2.5rem;
}

body.home .lp-button.button > span,
body.front-page .lp-button.button > span,
body.home .lp-button .button > span,
body.front-page .lp-button .button > span {
  font-size: 1.5em;
  margin-left: -0.5rem;
}

body.home .lp-button-buy .button,
body.front-page .lp-button-buy .button {
  --clb-button-height: 3.25rem;
}

body.home .lp-button-buy .button > span,
body.front-page .lp-button-buy .button > span {
  font-weight: 400;
}

body.home .lp-button-buy .button .icon,
body.front-page .lp-button-buy .button .icon {
  height: 2.25rem;
  width: 2.25rem;
  margin-left: -0.5rem;
  border-radius: 50%;
  background-color: rgba(144, 145, 156, 0.35);
}

body.home .lp-button-buy .button .icon::before,
body.front-page .lp-button-buy .button .icon::before {
  content: "";
  background-image: url("https://colabrio.ams3.cdn.digitaloceanspaces.com/ohio/landing/assets/img/envato.svg");
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  height: 26px;
  width: 26px;
}

/*
Subtitles
*/

body.home .subtitle,
body.front-page .subtitle {
  letter-spacing: -0.01em;
}

/*
Features list
*/

body.home .lp-features-list li,
body.front-page .lp-features-list li {
  display: inline-flex;
}

body.home .lp-features-list strong,
body.front-page .lp-features-list strong,
body.home .subtitle strong,
body.front-page .subtitle strong {
  font-weight: 600;
}

/*
Client logos (prevent stretch in Elementor equal-height containers)
*/

body.home .elementor-widget-ohio_clients_logo > .elementor-widget-container,
body.front-page .elementor-widget-ohio_clients_logo > .elementor-widget-container {
  height: auto !important;
}

body.home .elementor-widget-ohio_clients_logo .ohio-widget.logo,
body.front-page .elementor-widget-ohio_clients_logo .ohio-widget.logo {
  height: auto;
  display: flex;
  align-items: center;
  justify-content: center;
}

body.home .elementor-widget-ohio_clients_logo .ohio-widget.logo img,
body.front-page .elementor-widget-ohio_clients_logo .ohio-widget.logo img {
  width: auto !important;
  height: auto !important;
  max-width: 100%;
  max-height: 54px;
  display: block;
  object-fit: contain;
}

/*
Footer
*/

body.home .subscribe-form .wpcf7-list-item-label,
body.front-page .subscribe-form .wpcf7-list-item-label {
  color: #60606B;
}

/*
Image Stack
*/

body.home .lp-image-stack .elementor-widget-container,
body.front-page .lp-image-stack .elementor-widget-container,
body.home .lp-image-stack .elementor-widget-container img,
body.front-page .lp-image-stack .elementor-widget-container img {
  position: relative;
}

body.home .lp-image-stack .elementor-widget-container::before,
body.front-page .lp-image-stack .elementor-widget-container::before {
  content: "";
  width: 100%;
  height: 100%;
  background-color: rgba(255, 255, 255, .65);
  transform: translate(-.5%, -.5%) rotate(-2.5deg);
  z-index: 0;
  display: block;
  position: absolute;
  border-radius: var(--clb-border-radius-large);
}

/*
Counter
*/

body.home .lp-counter .counter-number .holder,
body.front-page .lp-counter .counter-number .holder {
  align-items: flex-start;
}

/*
Badge
*/

body.home .lp-badge .badge,
body.front-page .lp-badge .badge {
  padding: 0px;
  margin-top: -0.25rem;
  min-height: 1.5rem;
  min-width: 1.5rem;
}

/*
Progress bar
*/

body.home .lp-progress .progress-heading,
body.front-page .lp-progress .progress-heading {
  display: none;
}

/*
Banner text pattern
*/

body.home .lp-text-pattern,
body.front-page .lp-text-pattern {
  white-space: nowrap;
}

/*
Icon Box
*/

body.home .icon-group > img.icon,
body.front-page .icon-group > img.icon {
  max-width: 65%;
  max-height: 65%;
}

body.home .lp-feature-updates .icon-group > span,
body.front-page .lp-feature-updates .icon-group > span {
  transform: scaleX(-1);
}

body.home .lp-feature-spin .icon-group > span,
body.front-page .lp-feature-spin .icon-group > span {
  animation: spinner_animation 2s var(--clb-transition-function) infinite;
}

/*
Badge
*/

body.home .badge.-outlined,
body.front-page .badge.-outlined {
  background-color: color-mix(in srgb, var(--clb-color-neutral) 15%, transparent);
}

/*
Slider
*/

body.home .slider .clb-slider-item,
body.front-page .slider .clb-slider-item {
  border-radius: 1.25rem;
  box-shadow: 0px 5px 5px 0px rgba(0, 0, 0, 0.05);
}

body.home .slider .clb-slider-item > img,
body.front-page .slider .clb-slider-item > img {
  width: auto;
}

/*
Rating
*/

body.home .lp-rating-banner,
body.front-page .lp-rating-banner {
  -webkit-backdrop-filter: blur(2px);
  backdrop-filter: blur(2px);
}

body.home .lp-star-rating .elementor-widget-container > span,
body.front-page .lp-star-rating .elementor-widget-container > span {
  font-size: 2em;
  width: 0.65em;
  display: inline-flex;
  justify-content: center;
}

/*
Changelog banner
*/

body.home .lp-changelog-banner,
body.front-page .lp-changelog-banner {
  position: relative;
}

body.home .lp-changelog-banner::after,
body.front-page .lp-changelog-banner::after {
  content: "";
  height: 60px;
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 1px;
  background-color: rgba(255, 255, 255, 0.25);
  transition-duration: 0.3s;
}

body.home .lp-changelog-banner:hover::after,
body.front-page .lp-changelog-banner:hover::after {
  opacity: 0;
}

/*
Demo templates
*/

body.home .portfolio-item.-layout1 .card-details,
body.front-page .portfolio-item.-layout1 .card-details {
  padding-top: 1.25rem;
  text-align: left;
}

body.home .portfolio-item.-layout1 .image-holder,
body.front-page .portfolio-item.-layout1 .image-holder {
  box-shadow: 0px 5px 10px 0px rgba(0, 0, 0, 0.05);
}

body.home .portfolio-item.-layout1:hover .show-project .category-holder,
body.front-page .portfolio-item.-layout1:hover .show-project .category-holder {
  transform: none;
  opacity: 1;
}

body.home .portfolio-item.-layout1 .show-project-link,
body.front-page .portfolio-item.-layout1 .show-project-link {
  display: none;
}

/*
Builder
*/

body.home .lp-builder .elementor-widget-container::before,
body.front-page .lp-builder .elementor-widget-container::before {
  content: "";
  height: 100%;
  width: 50%;
  position: absolute;
  top: 0;
  right: 0;
  background: #fff;
  background: linear-gradient(-90deg, rgba(255, 255, 255, 1) 10%, rgba(255, 255, 255, 0) 100%);
}

/*
Dark Scheme
*/

body.home .dark-scheme .lp-rating-banner,
body.front-page .dark-scheme .lp-rating-banner {
  background: linear-gradient(-90deg, rgba(38, 22, 27, 0.98) 0%, rgba(32, 21, 43, 0.98) 100%) !important;
  border-color: rgba(255, 255, 255, 0.1) !important;
}

body.home .dark-scheme .lp-builder .elementor-widget-container::before,
body.front-page .dark-scheme .lp-builder .elementor-widget-container::before {
  background: #15151A;
  background: linear-gradient(-90deg, rgba(21, 21, 26, 1) 10%, rgba(21, 21, 26, 0) 100%);
}

body.home .dark-scheme .lp-circular-pattern,
body.front-page .dark-scheme .lp-circular-pattern {
  background-color: color-mix(in srgb, var(--clb-color-white) 3%, transparent) !important;
}

/*
Hero screen
*/

body.home .menu li.version span:after,
body.front-page .menu li.version span:after,
body.home .cart-button .badge:not(.-primary):not(.-outlined),
body.front-page .cart-button .badge:not(.-primary):not(.-outlined) {
  background-color: color-mix(in srgb, var(--clb-color-fill-dark-mode) 75%, white);
}

/*
Blank Project
*/

body.home .blank-project .image-holder svg,
body.front-page .blank-project .image-holder svg {
  vertical-align: top;
  fill: transparent;
}

body.home .blank-project .portfolio-item .image-holder,
body.front-page .blank-project .portfolio-item .image-holder {
  box-shadow: none;
}

body.home .blank-project .portfolio-item .overlay,
body.front-page .blank-project .portfolio-item .overlay {
  opacity: 1;
  visibility: visible;
  justify-content: center;
  align-items: center;
  background-color: transparent;
}

body.home .blank-project .portfolio-item.-layout1 .card-details,
body.front-page .blank-project .portfolio-item.-layout1 .card-details {
  text-align: center;
}

body.home .blank-project .portfolio-item .overlay::after,
body.front-page .blank-project .portfolio-item .overlay::after,
body.home .blank-project .portfolio-item .overlay::before,
body.front-page .blank-project .portfolio-item .overlay::before {
  content: "";
  height: 4.5rem;
  width: 4.5rem;
  background-color: var(--clb-fill-color);
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border-radius: 50%;
}

body.home .blank-project .portfolio-item .overlay::after,
body.front-page .blank-project .portfolio-item .overlay::after {
  height: 7rem;
  width: 7rem;
}

/*
Footer
*/

body.home:not(.dark-scheme) .site-footer,
body.front-page:not(.dark-scheme) .site-footer {
  background-color: var(--clb-color-black-light);
}

body.home .site-footer .widget-title,
body.front-page .site-footer .widget-title {
  color: #91929b !important;
}

body.home .site-footer h6,
body.front-page .site-footer h6,
body.home .site-footer .widgets,
body.front-page .site-footer .widgets,
body.home .site-footer .scroll-top,
body.front-page .site-footer .scroll-top,
body.home .site-footer input,
body.front-page .site-footer input,
body.home .site-footer-copyright,
body.front-page .site-footer-copyright {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.home .site-footer a:not(.button):not(.wp-element-button),
body.front-page .site-footer a:not(.button):not(.wp-element-button),
body.home .site-footer p,
body.front-page .site-footer p,
body.home .site-footer li,
body.front-page .site-footer li,
body.home .site-footer label,
body.front-page .site-footer label,
body.home .site-footer small,
body.front-page .site-footer small {
  color: rgba(255, 255, 255, 0.75) !important;
}

body.home .site-footer input::placeholder,
body.front-page .site-footer input::placeholder,
body.home .site-footer textarea::placeholder,
body.front-page .site-footer textarea::placeholder {
  color: rgba(255, 255, 255, 0.5) !important;
}

body.home .lang-dropdown,
body.front-page .lang-dropdown {
  background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16'%3e%3cpath fill='none' stroke='%23bbbbbb' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e") !important;
}

@media screen and (min-width: 1641px) {
  body.home .site-footer .page-container,
  body.front-page .site-footer .page-container {
    max-width: 1476px;
  }

  /*
    Container offset
    */

  body.home .lp-container-offset-left.e-con,
  body.front-page .lp-container-offset-left.e-con {
    padding-left: calc( ( 100vw - var(--container-max-width) ) / 2);
  }

  body.home .lp-container-offset-right.e-con,
  body.front-page .lp-container-offset-right.e-con {
    padding-right: calc( ( 100vw - var(--container-max-width) ) / 2);
  }

  /*
    Slider items
    */

  body.home .slider .clb-slider-item > img,
  body.front-page .slider .clb-slider-item > img {
    height: 400px;
  }

  body.home .portfolio-item .image-holder img,
  body.front-page .portfolio-item .image-holder img {
    height: 264px;
  }
}

@media screen and (min-width: 1181px) and (max-width: 1640px) {
  body.home,
  body.front-page {
    --clb-body-font-size: 0.98rem;
  }

  body.home .portfolio-item .image-holder img,
  body.front-page .portfolio-item .image-holder img {
    height: unset;
  }

  body.home footer.site-footer .page-container,
  body.front-page footer.site-footer .page-container,
  body.home .e-con.e-con-boxed > .e-con-inner,
  body.front-page .e-con.e-con-boxed > .e-con-inner {
    max-width: calc(100vw - ( var(--clb-side-elements-height) + var(--clb-spacer) * 2 ) * 2 + var(--clb-grid-gutter) * 2);
  }

  /*
    Container offset
    */

  body.home .lp-container-offset-left.e-con,
  body.front-page .lp-container-offset-left.e-con {
    padding-left: calc( var(--clb-side-elements-height) + var(--clb-spacer) * 2 - var(--clb-grid-gutter) );
  }

  body.home .lp-container-offset-right.e-con,
  body.front-page .lp-container-offset-right.e-con {
    padding-right: calc( var(--clb-side-elements-height) + var(--clb-spacer) * 2 - var(--clb-grid-gutter) );
  }

  /*
    Slider items
    */

  body.home .slider .clb-slider-item > img,
  body.front-page .slider .clb-slider-item > img {
    height: 330px;
  }
}
