/* Global CSS */

/**
 * CONTENTS
 *
 * BASE
 * Media.................WP specific img aligns and iframe styling.
 * Typography............@fontfaces, base text and vertical rhythm setup.
 *
 * COMPONENTS
 * Margin/Padding........Utility Margin/Padding Classes
 * Clearfix..............Properly clear floats.
 *
 * Objects
 * Icons.................Icon Elements.
 * Buttons...............Button elements.
 * Tables................Table Styles.
 * Forms.................Form Elements.
 * Pagination............Pagination.
 *
 */

/*------------------------------------*\
    BASE
\*------------------------------------*/

/**
 * Media
 *
 * These selectors are hard cast because they are only used
 * by wordpress wyswyg when adding images to content
 */

.wp-caption.alignright,
.wp-caption.alignleft,
.wp-caption.aligncenter {
    display: table;
}

.wp-caption.alignright,
.wp-caption.alignleft,
.wp-caption.alignnone,
.wp-caption.aligncenter {
    margin: 0;
    width: auto !important;
    /* to overwrite inline widths */
}

img.alignright,
.wp-caption.alignright,
img.alignleft,
.wp-caption.alignleft {
    height: auto;
    max-width: 50%;
}

img.alignnone,
.wp-caption.alignnone img,
img.aligncenter,
.wp-caption.aligncenter img {
    height: auto;
    max-width: 100%;
}

img.alignnone,
.wp-caption.alignnone,
img.aligncenter,
.wp-caption.aligncenter {
    margin: 0 0 22px 0;
}

img.alignright,
.wp-caption.alignright {
    float: right;
    margin: 0 0 22px 30px;
}

img.alignleft,
.wp-caption.alignleft {
    float: left;
    margin: 0 30px 22px 0;
}

img.aligncenter,
.wp-caption.aligncenter img {
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.wp-caption.aligncenter {
    margin-left: auto;
    margin-right: auto;
}

.wp-caption-text {
    caption-side: bottom;
    display: table-caption;
}

iframe,
img {
    max-width: 100%;
}

/* Fade-in for lazyloaded images */
.will-lazyload {
    opacity: 0;
    transition: opacity 0.25 linear;
}

.will-lazyload.lazyloaded {
    opacity: 1;
}

/**
  * Typography
  */

/*
  - Please set up line-heights in ems
  - Set up typography styling based on styles found in .xd file under Assets > Character Styles
  */

h1,
.h1,
h2,
.h2,
h3,
.h3,
h4,
.h4,
h5,
.h5,
h6,
.h6 {
    margin: 0 0 16px;
    padding: 0;
    font-weight: 700;
    font-family: "Source Sans 3", serif;
    color: #000000;
}

h2,
.h2 {
    font-size: 28px;
    line-height: 1.28em;
}

.sub-heading {
    font-size: 18px;
    line-height: 1em;
    color: #4797a3;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    position: relative;
    margin-bottom: 2px;
}

@media (min-width: 1200px) {
    h2,
    .h2 {
        font-size: 40px;
        line-height: 1.22em;
    }
}

p {
    margin: 0 0 25px;
    padding: 0 0 0 0;
    font-size: 18px;
    line-height: 1.38em;
}

ul,
ol {
    margin: 0 0 20px 15px;
    padding: 0;
    list-style: none;
}

.page-content ul,
.page-content ol {
    width: auto;
    overflow: hidden;
    padding-left: 15px;
}

.page-content ul {
    list-style-type: none;
}

ol {
    padding-left: 25px;
}

ol li {
    counter-increment: list;
    position: relative;
    list-style-type: none;
}

ol li:before {
    content: counter(list) ".";
    position: absolute;
    left: 0;
    display: none;
}

.footer-links-flex ul li {
    list-style: none;
}

ul li {
    margin: 0 0 8px;
    padding: 0 0 0 5px;
    list-style: disc;
    font-size: 18px;
    line-height: 1.38em;
    position: relative;
}

/* ul li:before {
    content: '';
    position: absolute;
    top: 10px;
    left: 0;
    width: 8px;
    height: 8px;
    background-color: #C5502B;
    border-radius: 50%;
} */

a {
    color: #4797a3;
    /* text-decoration: none;
    border: none;
    border-bottom: 2px solid #4797a3;
    font-weight: 700; */
}

a:focus {
    outline-color: #4797a3;
}

@media (min-width: 1200px) {
    a:hover {
        color: #000000;
        border-color: #000000;
    }
}

p:last-child,
ul:last-child,
ul li:last-child {
    margin-bottom: 0;
}

/*------------------------------------*\
    COMPONENTS
\*------------------------------------*/

/**
 * Utility Margin/Padding Classes
 *


/* Used on outer-most section container so section margins collapse */
.section-margins {
    margin-top: var(--section-margins);
    margin-bottom: var(--section-margins);
}

/* Used only for sections with colored backgrounds */
.section-padding {
    padding-top: var(--section-margins);
    padding-bottom: var(--section-margins);
}

/**
* Clearfix
* Apply clearing without adding additional markup
*/

.clearfix::after {
    display: block;
    clear: both;
    content: "";
}

/*--------------------------------------------------------------*\
     OBJECTS
     Objects are independent generic stylibf classes or UI peices.
     All styles for objects should be self contained.
 
     e.g. an object shouldn't rely on trump helpers to apply padding etc.
 \*--------------------------------------------------------------*/

/**
 * Buttons
 */

.btn {
    position: relative;
    display: inline-block;
    color: #ffffff;
    border: 2px solid transparent;
    border-radius: 100px;
    font-size: 16px;
    line-height: 1.125em;
    font-weight: 700;
    padding: 18px 28px;
    vertical-align: middle;
    text-decoration: none;
    transition: all ease-in-out 0.2s;
    background: #c5502b;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.btn-block {
    display: block;
    width: 100%;
}

.btn + .btn {
    margin-top: 5px;
}

@media (min-width: 600px) {
    .btn + .btn {
        margin-top: 0;
        margin-left: 5px;
    }
}

@media (min-width: 768px) {
    .btn {
        font-size: 18px;
        line-height: 1em;
        padding: 19px 48px;
    }
}

@media (min-width: 1200px) {
    .btn-primary:hover {
        background: #161616;
        color: #ffffff;
    }
}

/**
 * Icons
 */

@font-face {
    font-family: "icomoon";
    src: url("../icons/icomoon.eot?44dat3");
    src: url("../icons/icomoon.eot?44dat3#iefix") format("embedded-opentype"),
        url("../icons/icomoon.ttf?44dat3") format("truetype"), url("../icons/icomoon.woff?44dat3") format("woff"),
        url("../icons/icomoon.svg?44dat3#icomoon") format("svg");
    font-weight: normal;
    font-style: normal;
    font-display: block;
}

[class^="icon-"],
[class*=" icon-"] {
    /* use !important to prevent issues with browser extensions that change fonts */
    font-family: "icomoon" !important;
    speak: never;
    font-style: normal;
    font-weight: normal;
    font-variant: normal;
    text-transform: none;
    line-height: 1;

    /* Better Font Rendering =========== */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.icon-cart:before {
    content: "\e900";
}
.icon-close-x:before {
    content: "\e901";
}
.icon-dropdown:before {
    content: "\e902";
}
.icon-email:before {
    content: "\e903";
}
.icon-exclamation:before {
    content: "\e904";
}
.icon-facebook-circle:before {
    content: "\e905";
}
.icon-facebook:before {
    content: "\e906";
}
.icon-hamburger-menu:before {
    content: "\e907";
}
.icon-instagram-circle:before {
    content: "\e909";
}
.icon-left-arrow:before {
    content: "\e90a";
}
.icon-linkedin-circle:before {
    content: "\e90b";
}
.icon-location:before {
    content: "\e90c";
}
.icon-mobile-phone:before {
    content: "\e90d";
}
.icon-phone:before {
    content: "\e90e";
}
.icon-plus:before {
    content: "\e90f";
}
.icon-right-arrow:before {
    content: "\e910";
}
.icon-right-long-arrow:before {
    content: "\e911";
}
.icon-search:before {
    content: "\e912";
}
.icon-star:before {
    content: "\e913";
}
.icon-user:before {
    content: "\e914";
}
.icon-x-twitter-circle:before {
    content: "\e915";
}
.icon-youtube-circle:before {
    content: "\e916";
}

/**
 * Forms
 */

label {
}

select {
}

textarea {
}

/* Removes default webkit form styling */
input:not([type="radio"]):not([type="checkbox"]),
button,
textarea {
    -webkit-appearance: none;
}

input:active,
textarea:active,
select:active,
input:focus,
textarea:focus,
select:focus {
    outline: none;
    /* Removes blue border on focus */
    border: 1px solid #ccc;
    /* TODO: Please add a branded border for active and focus */
}

/* default text input style */
[type="text"],
[type="date"],
[type="datetime"],
[type="datetime-local"],
[type="email"],
[type="month"],
[type="number"],
[type="password"],
[type="search"],
[type="tel"],
[type="url"],
[type="week"],
[type="date"] {
}

/* Removes inconsistent padding from Firefox buttons */
button::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border: none;
    padding: 0;
}

/* Hide reCaptcha badge */
.grecaptcha-badge {
    visibility: hidden;
}

/**
 * Pagination
 */

.wp-pagenavi {
    margin-top: 50px;
}

.wp-pagenavi .pages {
    border: 0;
    margin-left: 0;
    padding-left: 0;
}

.wp-pagenavi span.current,
.wp-pagenavi .page,
.wp-pagenavi .nextpostslink,
.wp-pagenavi .previouspostslink {
    border: 1px solid #ddd;
    display: inline-block;
    padding: 6px 11px;
}

.wp-pagenavi span.current {
    background-color: #ddd;
    border-color: #ddd;
}

@media (min-width: 1025px) {
    .wp-pagenavi {
        margin-top: 70px;
    }
}

/**
 * Sticky Sidebar
 */

@media (min-width: 1025px) {
    .sticky-sidebar {
        position: -webkit-sticky;
        position: sticky;
        top: 125px;
        /* TODO: update to match how far down page when sidebar should stick */
    }
}

/**
 * Site Content Margins
 */
@media (max-width: 767px) {
    .single-product .site-content,
    .category-blog .site-content, 
    .page:not(.home) .site-content,
    .single-post .site-content{
        margin-left: 30px;
        margin-right: 30px;
    }

    div#content {
        margin-top: 170px !important;
    }

    .page-header{
        position: fixed;
        top: calc(var(--zero) + var(--admin-bar-height));
        box-shadow: 0 0 5px 5px rgba(0, 0, 0, .1);
    }
}


table td, table th {
    padding: 1px;
}




/*Blog Post Loop*/
.fx-blog-card{
    border: 1px solid #f1eeea;
    border-radius: 5px;
    overflow: hidden;
    margin-bottom: 32px;
    display: flex;
    flex-direction: column;
}

.fx-blog-img {
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
    padding-bottom: calc(0.66 * 100%);
    position: relative;
    overflow:hidden;
}

.fwp-listing--wrapper .facetwp-template {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
}
.fx-blog-img img{
    left: calc(50% + 1px);
    position: absolute;
    top: calc(50% + 1px);
    transform: scale(1.01) translate(-50%, -50%);
    height: 100% !important;
    width: auto !important;
    max-height: none !important;
    max-width: none !important;
}

.fx-blog-card .facetwp-post__tags {
    position: absolute;
    display: flex;
    right: 10px;
    top: 10px;
}

.fx-blog-card .facetwp-post__tag {
    background: teal;
    color: #fff;
    font-size: 12px;
    text-transform: uppercase;
    padding: 2px 8px;
    border-radius: 20px;
    line-height: 1.25em;
}

.fx-blog-card .facetwp-post__thumbnail__link {
    position: relative;
}

.fx-blog-card .tag-link {
    color: #fff;
}

.fx-blog-card .facetwp-post__content-wrapper{
    position: relative;
}

.fx-blog-card .facetwp-post__title, .fx-blog-card .facetwp-post__title a {
    color: #000000;
    font-family: "Source Sans 3", Sans-serif;
    font-weight: 600;
    text-decoration: none;
    font-size:21px;
    line-height: 24px;
}

.fx-blog-card .facetwp-post__text {
    padding: 0 22px;
    margin-top: 28px;
    margin-bottom: 8px;
    display: flex;
    flex-direction: column;
        flex-grow: 1;
}

.fx-blog-card .facetwp-post__excerpt p {
    color: #474747;
    font-family: "Source Sans 3", Sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 24px;
    margin-bottom: 32px;
}



.fx-blog-card .facetwp-post__read-more {
    font-family: "Source Sans 3", Sans-serif;
    font-size: 16px;
    font-weight: 600;
    text-decoration: none;
    color: var(--e-global-color-b4916f9);
    margin-bottom: 8px;
    text-transform: uppercase;
}

.fx-blog-card .facetwp-post__meta-data {
    border-top: 1px solid #F1EEEA;
    padding: 10px 22px;
    color: var(--e-global-color-34543b4);
    font-family: "Source Sans 3", Sans-serif;
    font-size: 12px;
    font-weight: 400;
    margin-top: auto;
}

.fx-blog-card .facetwp-post__read-more-wrapper {
    margin-top: auto;
}


@media(min-width:600px){
    .fx-blog-card{
    width: calc(50% - 16px);
}
}

@media(min-width:768px){
    .fx-blog-card{
    width: calc(33.33% - 16px);
}
}


/* Remove the native arrow */
.facetwp-type-dropdown select.facetwp-dropdown {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background: none; /* remove default styling */
  padding-right: 2rem; /* space for icon */
}

/* Add Font Awesome chevron */
.facetwp-type-dropdown {
  position: relative;
  display: flex;
}

.facetwp-type-dropdown::after {
  content: "\f107"; /* Font Awesome down chevron */
  font-family: "Font Awesome 6 Free"; 
  font-weight: 900; /* solid style */
  position: absolute;
  right: 0.75rem;   /* horizontal position */
  top: 50%;
  transform: translateY(-50%);
  pointer-events: none; /* let clicks pass through */
  font-size: 1rem; /* adjust size */
}

.fx-blog--filters .facetwp-icon:before {
    display: inline-block;
    content: '';
    width: 40px;
    height: 100%;
    background-position: 0px 50%;
    background-size: 20px 20px;
}

.fx-blog--filters .facetwp-input-wrap {
    display: block;
    width: 100%;
}

.fx-blog--filters .facetwp-search {
    width: 100%;
    box-shadow: none;
    border-radius: 5px;
    padding: 12px;
    padding-right: 44px !important;
    margin-bottom: 0;
}

.fx-blog--filters .facetwp-facet{
    margin-bottom: 0px;
}

.fx-blog--filters .facetwp-type-dropdown select {
    width: 100%;
    border-radius: 5px;
    background: #f2f2f2;
    border: 1px solid #f1eeea;
    padding: 12px;
    padding-right: 44px;
}

.fx-blog--filters .facetwp-type-dropdown {
    margin-bottom: 0px !important;
}

.post-template-default.single .breadcrumbs, 
.page-id-130284 .breadcrumbs /*blog page*/, 
.archive .breadcrumbs  {
    padding-block: 50px 20px;
    margin-bottom: 0;
}

[data-elementor-type="single-post"] {
    margin: 0;
}


.fx-single-post p+h2, 
.fx-single-post p+header h2, 
.fx-single-post p+h3, 
.fx-single-post p+h4, 
.fx-single-post ul+h2, 
.fx-single-post ul+header h2, 
.fx-single-post ul+h3, 
.fx-single-post ul+h4, 
.fx-single-post ol+h2, 
.fx-single-post ol+header h2, 
.fx-single-post ol+h3, 
.fx-single-post ol+h4, 
.fx-single-post table+h2, 
.fx-single-post table+header h2, 
.fx-single-post table+h3, 
.fx-single-post table+h4, 
.fx-single-post blockquote+h2, 
.fx-single-post blockquote+header h2, 
.fx-single-post blockquote+h3, 
.fx-single-post blockquote+h4, 
.fx-single-post form+h2, 
.fx-single-post form+header h2, 
.fx-single-post form+h3, 
.fx-single-post form+h4 {
    margin-top: .5em;
}

.woof_show_mobile_filter {
    width: 35%;
    margin-right: 15px;
    border: none;
    display: inline-block;
    text-align: center;
    background: #e6e7e9;
    color: #6d6d6d;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.2em;
    position: relative;
    border-radius: 5px;
    padding-top: 8px;
    padding-bottom: 5px;
}

.woof_hide_mobile_filter img, .woof_show_mobile_filter img {
    display: inline-block;
    width: 22px;
}

.woof_show_mobile_filter_container {
    text-align: left;
}

.gform_title,
.gform_required_legend {
    display: none;
}

.gfield_label {
    font-size: 18px !important;
}

.gfield--input-type-datepicker .ginput_container_date input {
    width: 100% !important;
}

.gform-field-label {
    font-size: 16px !important;
}

.gsection_title {
    margin-bottom: 0;
}

.gform_button {
    background: #4797a3 !important;
    font-size: 18px !important;
    padding: 15px 30px !important;
    margin-top: 15px !important;
}

.gform_button:hover {
    background: #000 !important;
}