/** --------
 * COLORS
 * --------- */
body {
  --admin-bar-height: 1px;
}

body.admin-bar {
  --admin-bar-height:32px;
}

@media screen and (max-width: 782px) {
  body.admin-bar {
    --admin-bar-height:46px;
  }
}

/** --------
 * HEADER
 * --------- */
/** --------
 * BODY
 * --------- */
html body .l-section-slider {
  position: fixed;
}

footer#page-footer {
  z-index: 10;
}

.w-iconbox.style_circle .w-iconbox-icon, .w-iconbox.style_outlined .w-iconbox-icon {
  line-height: 2em;
  height: 2em;
  width: 2em;
  border: 3px solid white;
  margin-bottom: 2rem;
}

@media (max-width: 600px) {
  .w-iconbox.style_circle .w-iconbox-icon, .w-iconbox.style_outlined .w-iconbox-icon {
    margin-bottom: 1rem;
  }
}

.w-iconbox.iconpos_top {
  max-width: 100%;
}

@media (max-width: 600px) {
  #whatwedo .w-iconbox.iconpos_left {
    display: block;
    width: 100%;
  }
}

/** --------
 * FOOTER
 * --------- */
/** --------
 * GENERAL
 * --------- */
body.logged-in .signed-out {
  display: none;
}

body:not(.logged-in) .signed-in {
  display: none;
}

/* ---------
 * IMPREZA FIXES
 * ---------*/
.woocommerce #payment .payment_methods li img {
  max-width: 30px;
  margin-right: 2px;
}

.no-touch .bg_solid .w-nav.type_desktop .hover_underline .w-nav-anchor.level_1 .w-nav-title:after,
.no-touch .bg_transparent .w-nav.type_desktop .hover_underline .w-nav-anchor.level_1 .w-nav-title:after {
  background: var(--color-header-middle-text-hover);
}

.w-nav.type_mobile .menu-item > a.w-btn {
  margin-top: 0.5rem;
  width: calc(100% - 1.4rem);
}

.pagination > :not(.custom) .page-numbers {
  border-radius: 0.2em;
  font-size: 0.8rem;
  height: 2rem;
  line-height: 2rem;
  width: 2rem;
}

@media (max-width: 600px) {
  .l-section-shape {
    height: 0 !important;
  }
}

@media (max-width: 1024px) {
  html body .w-separator.size_small {
    height: 3rem;
  }
  html body .w-separator.size_small.with_line {
    height: 4rem;
  }
  html body .w-separator.size_medium:empty {
    height: 4rem;
  }
  html body .w-separator.size_medium.with_line {
    height: 5rem;
  }
  html body .w-separator.size_large:empty {
    height: 5rem;
  }
  html body .w-separator.size_large.with_line {
    height: 6rem;
  }
  html body .w-separator.size_huge:empty {
    height: 6rem;
  }
  html body .w-separator.size_huge.with_line {
    height: 7rem;
  }
}

.w-post-elm > .l-section:first-of-type {
  padding-top: 0;
}

.w-post-elm > .l-section:last-of-type {
  padding-bottom: 0;
}

/** --------
 * MISC FIXES
 * --------- */
.gform_confirmation_message {
  background: #c9f7b2;
  padding: 1rem 1.5rem;
  color: #333;
}

.gform_wrapper .gform_validation_errors {
  background: rgba(255, 0, 0, 0.85) !important;
  padding: 1rem 1.5rem;
  color: white !important;
}

.l-main .w-image.align_right,
.l-main img.alignright {
  margin-left: 1.5rem;
}

.l-main .w-image.align_left,
.l-main img.alignleft {
  margin-right: 1.5rem;
}

.l-main .w-image.align_right,
.l-main .w-image.align_left,
.l-main .w-image.align_center,
.l-main img.alignright,
.l-main img.alignleft,
.l-main img.aligncenter {
  margin-bottom: 1.5rem;
}

@media (max-width: 767px) {
  .l-main .w-image.align_right,
.l-main .w-image.align_left,
.l-main .w-image.align_center,
.l-main img.alignright,
.l-main img.alignleft,
.l-main img.aligncenter {
    display: block;
    float: none;
    margin: 10px auto 1.5rem auto;
    text-align: center;
  }
  .l-main .w-image.align_right img,
.l-main .w-image.align_left img,
.l-main .w-image.align_center img,
.l-main img.alignright img,
.l-main img.alignleft img,
.l-main img.aligncenter img {
    height: auto;
    max-width: 100%;
    width: auto;
  }
}

@media (max-width: 767px) {
  .l-main img.alignright,
.l-main img.alignleft,
.l-main img.aligncenter {
    height: auto;
    max-width: 100%;
    width: auto;
  }
}
