/*
 Theme Name:   Firwl Child
 Theme URI:    https://qantumthemes.com/
 Description:  The child theme allows easier customizations and template overrides
 Author:       QantumThemes
 Author URI:   https://qantumthemes.com/helpdesk
 Template:     firwl
 Version:      1.0.0
 License:      GNU General Public License v2 or later
 License URI:  http://www.gnu.org/licenses/gpl-2.0.html
 Tags:         right-sidebar
 Text Domain:  firwl-child
*/

/***************************************************************
****************************************************************
************* PUT YOUR CUSTOM STYLES BELOW ********************/

/*Filter Overrides*/
body .wpc-filters-main-wrap input.wpc-label-input + label,
body .wpc-filters-main-wrap input.wpc-label-input + label:hover,
body
  .wpc-filters-main-wrap
  input.wpc-label-input
  + label:hover
  span.wpc-filter-label-wrapper,
body
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  input
  + label:hover
  a,
body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper,
body
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  input:checked
  + label
  a {
  background-color: unset !important;
  border-color: transparent !important;
  color: var(--e-global-color-secondary) !important;
}
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item::marker {
  content: "" !important;
}

.wpc-edit-filter-set,
.wpc-instead-of-posts-found {
  display: none !important;
}

/* .wpc-filters-main-wrap li.wpc-term-item a,
.wpc-term-count {
    font-size: 0.875em;
    text-transform: capitalize;
} */

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.15);
  border-radius: 15px;
  transition: all 0.3s ease-in-out;
  margin-bottom: 0 !important;
}
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-selected,
body
  .wpc-filters-main-wrap
  .wpc-filters-labels
  li.wpc-term-item
  input:checked
  + label
  a {
  background-color: var(--e-global-color-secondary) !important;
  color: #fff !important;
}
body
  .wpc-filters-main-wrap
  input.wpc-label-input:checked
  + label
  span.wpc-filter-label-wrapper {
  color: #fff !important;
}

.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item:hover {
  box-shadow: 0 0 10px 0 rgba(0, 0, 0, 0.25);
}

.wpc-filters-main-wrap ul.wpc-filters-ul-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding: 10px !important;
}
.wpc-filters-main-wrap .wpc-filters-labels li.wpc-term-item label a,
.wpc-filters-main-wrap li.wpc-term-item a,
.wpc-term-count {
  display: inline-flex !important;
  align-items: center;
  font-size: 0.875em;
  text-transform: capitalize;
}
.wpc-filter-link {
  margin-right: 5px !important;
}
.wpc-term-count {
  margin-right: -0.8em !important;
}

.wpc-filters-widget-wrapper {
  display: flex;
  flex-direction: column;
  gap: 10px;
  /* flex-wrap: wrap; */
}
.wpc-filters-section {
  margin-bottom: 0 !important;
  gap: 0 !important;
  flex-grow: 5;
  /* width: calc(100% / 3 - 0px) !important; */
}
.wpc-filter-header,
.wpc-edit-filter-set {
  font-weight: bold;
}
.wpc-filter-title {
  margin-bottom: 0 !important;
  padding: 0 10px;
}
#StickyFilter {
  position: relative;
}

.wpc-filters-main-wrap li.wpc-term-item input[type="checkbox"] {
  width: 1rem;
  height: 1rem;
  accent-color: var(--e-global-color-secondary);
}

/* #StickyFilter:before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;  
  transform:translateX(-50%);
  width: 100vw;
  height: 100%;
  background-color: #fff;
z-index: -1;
} */

/*Post Styles*/

.elementor-posts-container:not(.elementor-posts-masonry) .elementor-grid-item {
  .elementor-post__thumbnail {
    padding-bottom: unset !important;
    min-height: 12rem;
    aspect-ratio: 16 / 9;
  }
  .elementor-post__thumbnail img {
    transition: scale 0.8s ease-in-out;
    transform-origin: top left;
    height: 100%;
    width: 100%;
    object-fit: cover;
  }
}

.elementor-posts-container:not(.elementor-posts-masonry)
  .elementor-grid-item:hover
  .elementor-post__thumbnail
  img {
  scale: 1.1;
}
.elementor-pagination {
  padding: 2rem 0;
}

.elementor-posts-container:not(.elementor-posts-masonry)
  .elementor-grid-item:first-of-type {
  grid-column: 1 / span 2;
  .elementor-post__card {
    flex-direction: row-reverse;
    flex-wrap: wrap;
  }
  .elementor-post__thumbnail img {
    height: 100%;
  }
  .elementor-post__thumbnail {
    padding-bottom: unset !important;
    height: 100%;
  }
  .elementor-post__thumbnail__link,
  .elementor-post__text {
    width: 50% !important;
    margin-bottom: 0 !important;
  }
  .elementor-post__avatar {
    display: none;
  }
}

@media screen and (max-width: 1024px) {
  .elementor-posts-container:not(.elementor-posts-masonry)
    .elementor-grid-item:first-of-type {
    grid-column: 1 / span 1;
  }
}

@media screen and (max-width: 768px) {
  .elementor-posts-container:not(.elementor-posts-masonry)
    .elementor-grid-item:first-of-type {
    grid-column: 1 / span 1;
    .elementor-post__card {
      flex-direction: column;
    }
    .elementor-post__thumbnail__link,
    .elementor-post__text {
      width: 100% !important;
    }
    .elementor-post__thumbnail {
      padding-bottom: calc(0.5 * 100%) !important;
    }
  }
}

/*Single post*/

#comments {
  box-shadow: unset;
  .firwl-fieldset {
    display: flex;
    flex-direction: column;
  }
  textarea,
  input[type="text"] {
    background-color: #f5f8fa;
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-size: 16px;
    font-weight: normal;
    line-height: 22px;
    color: #33475b;
    border: 1px solid #cbd6e2;
    border-radius: 15px;
  }
  #firwl-submit {
    background: var(--e-global-color-secondary) !important;
    border-radius: 15px;
    text-transform: capitalize;
  }
  label {
    text-transform: capitalize;
    color: #58585b;
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
  }
}

.single-post blockquote {
  background-color: rgb(250, 248, 246);
  box-shadow: rgba(0, 0, 0, 0.13) 0px 0px 18px;
  position: relative;
  border-left: 2px solid rgb(169, 169, 169);
  margin: 0px;
  padding: 50px 50px 50px 15px;
  position: relative;
}

.single-post blockquote,
.single-post blockquote > *,
.single-post blockquote > * > * {
  font-size: inherit !important;
}

.single-post blockquote {
  padding: 3rem;
}

.single-post blockquote:before {
  left: 0rem;
  position: absolute;
  top: 3rem;
  border: unset;
  font-size: 6rem;
  background-color: unset;
  content: "\201C";
  font-family: Arial;
  opacity: 0.5;
  width: 5rem;
  height: 5rem;
}
/* .single-post blockquote:after {
  border: unset;
  content: "\e244";
  position: relative;
  right: 0;

  width: 30px;
  height: 30px;
  font-family: "Material Icons";
  font-size: 24px;
  line-height: 30px;
  text-align: center;
  display: block;
  top: 0;
  z-index: 0;
  margin: -15px 0 0 auto;
} */

.elementor-author-box__avatar img {
  aspect-ratio: 1;
}

/* AJAX Search*/

#firwlBody div.asl_r .results .item .asl_content h3 a {
  color: var(--e-global-color-secondary);
}
/* Resources Page*/

.uc_content_inner_wrapper {
  flex-direction: row !important;
}

@media screen and (max-width: 768px) {
  .uc_content_inner_wrapper {
    flex-direction: column !important;
  }
}

/*Menu*/

.firwl-menubar > li {
  transition: all 0.5s ease-in-out;
  border-top: 5px solid transparent;
}

.firwl-menubar > li:hover {
  border-top: 5px solid #111618;
  background-color: var(--e-global-color-secondary);
}

.firwl-menubar > li:hover > a {
  color: #fff !important;
}

.firwl-menubar .menu-item-has-children:hover::after {
  color: #fff;
}
