/** --------
 * 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
 * --------- */
.l-header.shadow_thin .l-subheader.at_middle,
.l-header.shadow_thin .l-subheader.at_bottom {
  -webkit-box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
  box-shadow: 0 1px 0 rgba(0, 0, 0, 0.08), 0 -1px 0 rgba(0, 0, 0, 0.08) !important;
}

.w-dropdown.source_sidebar .w-dropdown-list {
  padding: 2.8em 0 0 !important;
}

header#page-header .w-dropdown-list {
  background: white;
}

header#page-header .w-dropdown-list #menu-categories {
  margin: 0.5rem 0;
}

header#page-header .w-dropdown-list #menu-categories li {
  line-height: 1.2;
  font-size: 0.9rem;
  margin: 0;
  padding: 0;
}

header#page-header .w-dropdown-list #menu-categories li:last-child {
  margin-bottom: 0;
}

header#page-header .w-dropdown-list #menu-categories li a {
  display: block;
  padding: 0.5rem 1rem;
  text-transform: none;
}

header#page-header .w-dropdown-list #menu-categories li a:hover {
  background: var(--color-content-primary);
  color: white;
}

/** --------
 * BODY
 * --------- */
ul.pdfs {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  list-style: none;
  gap: 1rem;
  margin: 0 0 1rem 0;
  padding: 0;
}

@media (max-width: 600px) {
  ul.pdfs {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 480px) {
  ul.pdfs {
    grid-template-columns: repeat(1, 1fr);
  }
}

ul.pdfs li {
  border: 1px solid var(--color-content-border);
  -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 0 rgba(0, 0, 0, 0.05);
  margin: 0;
  overflow: hidden;
  padding: 0;
  position: relative;
}

ul.pdfs li:before {
  content: "\f1c1";
  font-family: "fontawesome";
  font-size: 2rem;
  font-weight: 300;
  line-height: 1;
  opacity: 0.1;
  position: absolute;
  right: 0.5rem;
  top: 0.65rem;
  -webkit-transition: 0.4s ease all;
  -o-transition: 0.4s ease all;
  transition: 0.4s ease all;
}

ul.pdfs li:hover {
  -webkit-box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.05);
  box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.05);
}

ul.pdfs li:hover:before {
  opacity: 0.3;
}

ul.pdfs li a {
  color: var(--color-content-primary);
  display: block;
  font-size: 0.9rem;
  line-height: 1.3;
  margin: 0;
  padding: 1rem 2.5rem 1rem 1rem;
}

ul.pdfs li a:hover {
  color: var(--color-content-secondary);
}

.depth_2, .depth_3, .depth_4, .depth_5, .depth_6 {
  display: none;
}

/** --------
 * 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: 1.5rem;
  }
  html body .w-separator.size_small.with_line {
    height: 2rem;
  }
  html body .w-separator.size_medium:empty {
    height: 2rem;
  }
  html body .w-separator.size_medium.with_line {
    height: 3rem;
  }
  html body .w-separator.size_large:empty {
    height: 3rem;
  }
  html body .w-separator.size_large.with_line {
    height: 4rem;
  }
  html body .w-separator.size_huge:empty {
    height: 4rem;
  }
  html body .w-separator.size_huge.with_line {
    height: 5rem;
  }
}

.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 .validation_error {
  background: rgba(255, 0, 0, 0.85);
  padding: 1rem 1.5rem;
  color: white;
}

.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;
  }
}

/* ---------
 * FACETWP STUFF
 * ---------*/
body .facet-label {
  width: 100%;
  font-size: 1.2rem;
  margin-bottom: 0.75rem;
}

body .facet-label:only-child {
  display: none;
}

body .facet-label .reset {
  font-size: 0.8rem;
  margin-left: 0.25rem;
}

body .facet-label .reset:hover {
  cursor: pointer;
}

body .facetwp-facet {
  margin-bottom: 0;
}

body .facetwp-facet .facetwp-input-wrap {
  width: 100%;
}

body .facetwp-facet input, body .facetwp-facet select {
  width: 100%;
}

body .facetwp-facet .facetwp-checkbox {
  background: none;
  padding-left: 0;
}

body .facetwp-facet .facetwp-checkbox:before {
  content: '\f0c8';
  font-family: 'fontawesome';
  margin-right: 0.5rem;
}

body .facetwp-facet .facetwp-checkbox.checked:before {
  content: '\f14a';
  font-weight: bold;
  color: var(--color-content-primary);
}

body .facetwp-facet.facetwp-facet-pagination {
  text-align: center;
  margin-top: 1.5rem;
}

body .facetwp-facet.facetwp-facet-pagination .active {
  background: var(--color-content-primary);
  color: white;
  padding: 0 8px;
}
