/* Wordpress - WP Blocks ======================================== */


/* Featured image at top of page ================ */
.user_content .wp-post-content figure.wp-featured-image {
    display: table;
    margin-bottom: 2rem;
}
.user_content .wp-post-content figure.wp-featured-image figcaption {
    display: table-caption;
    caption-side: bottom;
}
.user_content .wp-post-content figure.wp-featured-image img {
    max-width: 100%;
}


/* Helpers ============== */
.has-text-align-center {
    text-align: center;
}
.has-text-align-left {
    text-align: left;
}
.has-text-align-right {
    text-align: right;
}


/* Headings ============= */
.user_content h2,
.user_content h2 strong {
    margin-bottom: 0.6875rem;
    font-size: 1.48rem;
    font-weight: 600 !important;
}
.user_content h3,
.user_content h3 strong {
    margin-bottom: 0;
    font-size: 1.14rem;
    font-weight: 600 !important;
}
.user_content p + h2, .user_content p + h3, .user_content p + h4, .user_content p + h5, .user_content p + h6, 
.user_content ul + h2, .user_content ul + h3, .user_content ul + h4, .user_content ul + h5, .user_content ul + h6, 
.user_content ol + h2, .user_content ol + h3, .user_content ol + h4, .user_content ol + h5, .user_content ol + h6, 
.user_content h2 + h3  {
    margin-top: 2rem;
}
.user_content h5.subheading {
    font-family: "Freight Display Pro W03", serif;
    font-weight: 500;
    font-style: italic;
    font-size: 22px;
    margin-top: .4rem;
}
.user_content h5.subheading em,
.user_content h5.subheading i {
    font-style: normal;
}


/* Separator =============== */
.wp-block-separator {
    margin-top: 1.2rem;
    margin-bottom: 1.2rem;
    opacity: 1;
}
.wp-block-separator:not(.is-style-dots) {
    border-bottom: 1px solid #d9dcdd;
    border-top: 0;
}
.wp-block-separator:not(.is-style-wide):not(.is-style-dots) {
    width: 100px;
}


/* Embed Block ============ */
.wp-block-embed {
    margin-top: 2.5rem;
    margin-bottom: 2.5rem;
    float: none;
}
@media (min-width: 700px) {
    .wp-block-embed.alignleft {
        float: left;
        margin: 1rem 1.5rem 1rem 0;
        width: 360px;
    }
    .wp-block-embed.alignright {
        float: right;
        margin: 1rem 0 1rem 1.5rem;
        width: 360px;
    }
}


/* Blockquote =================== */
blockquote,
.wp-block-quote {
    margin: 2.5rem 0;
    border-left: .25rem solid #B9975B;
    padding: 0 22px;
    float: none;
}
cite,
.wp-block-pullquote cite {
    color: #6e6e73;
    font-weight: 400;
    font-size: 1rem;
    padding: 0 28px;
}
@media (min-width: 700px) {
    .wp-block-quote .alignleft {
        margin: 1rem 1.5rem 1rem 0;
        float: left;
    }
    .wp-block-quote .alignright {
        margin: 1rem 0 1rem 1.5rem;
        float: right;
    }
}


/* Pullquote ============= */
.wp-block-pullquote,
.wp-block-pullquote blockquote,
.wp-block-pullquote.is-style-solid-color blockquote {
    text-align: center;
    padding: 0;
}

.wp-block-pullquote p,
.wp-block-pullquote blockquote p,
.wp-block-pullquote.is-style-solid-color blockquote p,
.wp-block-pullquote.alignleft p,
.wp-block-pullquote.alignright p {
    font-size: 28px;
    line-height: 1.6;
    color: #262626;
    font-weight: 400;
    text-align: center;
    margin-bottom: 1.2rem;
    padding: 0 28px;
}


.wp-block-pullquote.alignleft,
.wp-block-pullquote.alignright {
    float: none;
    margin: 0;
}
@media (min-width: 700px) {
    .wp-block[data-align="left"] > .wp-block-pullquote p, .wp-block[data-align="right"] > .wp-block-pullquote p {
        font-size: 20px;
    }
    .wp-block-pullquote.alignleft p, .wp-block-pullquote.alignright p {
        font-size: 20px;
    }
    .wp-block-pullquote.alignleft {
        margin: 0 1.5rem 0 0;
        float: left;
        max-width: 50%;
    }
    .wp-block-pullquote.alignleft blockquote {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
    .wp-block-pullquote.alignright {
        margin: 0 0 0 1.5rem;
        float: right;
        max-width: 50%;
    }
    .wp-block-pullquote.alignright blockquote {
        margin-top: 1rem;
        margin-bottom: 1rem;
    }
}


/* Block Image ============ */
.wp-block-image figure {
    max-width: 720px;
    display: table;
}
.wp-block-image {
    margin-bottom: 0;
    margin-top: 0;
}
figure.wp-block-image {
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    display: table;
}
figure.wp-block-image figcaption {
    display: table-caption;
    caption-side: bottom;
}
.wp-block-image figure,
.wp-block-image .alignleft,
.wp-block-image .alignright {
    margin-bottom: 2.5rem;
    margin-top: 2.5rem;
    margin-left: auto;
    margin-right: auto;
    float: none;
}
@media (min-width: 700px) {
    .wp-block-image .alignleft {
        margin: 1rem 1.5rem 1rem 0;
        float: left;
    }
    .wp-block-image .alignright {
        margin: 1rem 0 1rem 1.5rem;
        float: right;
    }
}


/* figures ============== */
.entry-content > figure:first-child {
    margin-top: 0;
}
figure.size-medium {
    max-width: 360px;
}
figure.size-large {
    max-width: 720px;
    float: none;
}
div[class^="wp-block"] figure {
    display: table;
}
div[class^="wp-block"] figcaption {
    display: table-caption;
    caption-side: bottom;
}


/* Fig Captions ======== */
.user_content figcaption {
    margin-left: auto;
    margin-right: auto;
}


/* Twitter card =========== */
.twitter-tweet {
    margin: 0 auto;
}
figure.is-provider-twitter {
    max-width: 550px;
    margin-left: auto;
    margin-right: auto;
}
.is-provider-twitter figcaption {
    max-width: 540px;
    margin-left: auto;
    margin-right: auto;
}


/* Table ===================== */
.wp-block-table {
    margin: 2.5rem auto;
}
.wp-block-table table {
    border-collapse: separate;
    border-spacing: 3px;
    margin-bottom: 0;
    width: 100%;
}
.wp-block-table figcaption {
    margin-left: 3px;
    margin-right: 3px;
}
.wp-block-table thead {
    border-bottom: 3px solid;
}
.wp-block-table td,
.wp-block-table th {
    border: none;
    padding: 11px 12px !important;
    font-size: 15px;
}
.wp-block-table td {
    background-color: #efefef;
    color: #262626;
}
.wp-block-table th {
    font-weight: 700;
    color: #115740;
    background-color: #d0d3d4;
    font-size: 1.14rem;
}
th p {
    margin-bottom: 0;
    color: #115740;
}
table h2,
table h3,
table h4 {
 margin-top: 0;
}


/* YT Videos =================== */
.is-type-video .wp-block-embed__wrapper{
    position: relative;
    overflow: hidden;
    width: 100%;
    height: 0;
    padding-bottom: 56.25%;
}
.is-type-video iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}


/* Buttons =========== */
button {
    vertical-align: middle;
}
.btn,
.btn-primary,
.wp-block-button__link {
    background-color: #115740;
    border: none;
    border-radius: 0;
    text-transform: uppercase;
    letter-spacing: .1em;
    font-size: 0.8125rem;
    font-weight: 700;
    line-height: 1.3;
    color: #fff;
    padding: 1rem 2rem;
    transition: all 0.18s ease-in;
    text-align: center;
    text-decoration: none;
    overflow-wrap: break-word;
    box-sizing: border-box;
    box-shadow: none;
    cursor: pointer;
    display: inline-block;
}
.btn:hover, .btn:focus,
.btn-primary:hover, .btn-primary:focus,
.wp-block-button__link:hover, .wp-block-button__link:focus {
    background-color: #000;
    color: #fff;
    text-decoration: none;
}
.wp-block-buttons.is-content-justification-center {
    justify-content: center;
}
.wp-block-buttons {
    margin-top: 2.5rem;
    margin-bottom: 2rem;
    justify-content: center;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    column-gap: .5em;
}
.wp-block-buttons > .wp-block-button {
    display: inline-block;
    margin-right: 0;
    margin-bottom: .5em;
}


/* Built-in Gallery with Slick Slideshow ======================== */
.wp-block-gallery .blocks-gallery-item {
    flex-grow: 0;
}
.wp-block-gallery > figcaption {
    margin-top: 0;
}
.wp-block-gallery {
    display:block !important;
    margin: 2.5rem auto;
    max-width: 720px !important;
    width: 100% !important;
    animation-name: fadein-with-delay;
    animation-duration: 1.2s;
    animation-iteration-count: 1;
    transition: all 1s;
    list-style-type: none;
    padding: 0;
}
.slick-slider {
    touch-action: auto !important;
}
.slick-slider.blocks-gallery-grid {
    display:block;
    animation-name: fadein;
    animation-duration: .3s;
    animation-iteration-count: 1;
    overflow: initial;
}
.wp-block-gallery.slick-slider .slick-slide {
    margin: 0 !important;
    display: block !important;
    text-align: center;
    float: left !important;
}
.wp-block-gallery.slick-slider .slick-slide a {
    display: inline-block !important;
}
.wp-block-gallery.slick-slider .slick-slide img,
.wp-block-gallery.slick-slider .slick-slide a img {
    margin: 0 auto !important;
    max-height: 60vh;
    height: 100%;
    object-fit: contain !important;
    width: auto !important;
}
@media (orientation: landscape) {
    .wp-block-gallery.slick-slider .slick-slide img,
    .wp-block-gallery.slick-slider .slick-slide a img {
        max-height: 480px !important;
    }
}
@media screen and (min-width:700px) {
    .wp-block-gallery.slick-slider .slick-slide img,
    .wp-block-gallery.slick-slider .slick-slide a img {
        max-height: 480px !important;
    }
}
@media screen and (min-width:1100px) {
    .wp-block-gallery.slick-slider .slick-slide img,
    .wp-block-gallery.slick-slider .slick-slide a img {
        max-height: 480px !important;
    }
}
.wp-block-gallery.slick-slider .slick-slide figcaption {
    position: relative !important;
    background: transparent !important;
    margin: 5px 0 0 !important;
    text-align: left !important;
    text-decoration: none !important;
    color: #6e6e73 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.5 !important;
    padding: 0 !important;
    bottom: 0 !important;
    display: block;
}
.slick-prev, .slick-next {
    font-size: 0;
    line-height: 0;
    position: absolute;
    top: calc(33.33vw - 15px);
    display: none;
    width: 50px;
    height: 50px;
    padding: 0;
    margin: 0;
    -webkit-transform: translate(0, -50%);
    -ms-transform: translate(0, -50%);
    transform: translate(0, -50%);
    cursor: pointer;
    color: transparent;
    border: none;
    outline: none;
    z-index: 1;
    transition: all .3s ease;
    background: rgba(210,210,215,0.2);
    border-radius: 50%;
}
.hasSidebar .slick-prev, 
.hasSidebar .slick-next {
    display: none !important;
}
@media (max-width: 899px) {
    .slick-slider:not(.slick-lightbox-slick) .slick-prev, .slick-slider:not(.slick-lightbox-slick) .slick-next {
        display: none !important;
    }
}
.slick-prev {
    left: 0;
}
.slick-next {
    right: 0;
}
.slick-prev::before, .slick-next::before,
.slick-prev::after, .slick-next::after {
    line-height: 1;
    width: 15px;
    display: block;
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate3d(-50%, -50%, 0);
}
.slick-prev::after,
.slick-next::after {
    opacity: 0;
    transition: opacity .3s;
}
.slick-prev::before {
    content: url('data:image/svg+xml; charset=UTF-8, <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="chevron-left" class="svg-inline--fa fa-chevron-left fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="rgba(134,134,139,0.8)" d="M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z"/></svg>')
} 
.slick-next::before {
    content: url('data:image/svg+xml; charset=UTF-8, <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="rgba(134,134,139,0.8)" d="M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z"/></svg>');
}
.slick-prev::after {
    content: url('data:image/svg+xml; charset=UTF-8, <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="chevron-left" class="svg-inline--fa fa-chevron-left fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="rgba(134,134,139,1)" d="M231.293 473.899l19.799-19.799c4.686-4.686 4.686-12.284 0-16.971L70.393 256 251.092 74.87c4.686-4.686 4.686-12.284 0-16.971L231.293 38.1c-4.686-4.686-12.284-4.686-16.971 0L4.908 247.515c-4.686 4.686-4.686 12.284 0 16.971L214.322 473.9c4.687 4.686 12.285 4.686 16.971-.001z"/></svg>')
} 
.slick-next::after {
    content: url('data:image/svg+xml; charset=UTF-8, <svg aria-hidden="true" focusable="false" data-prefix="far" data-icon="chevron-right" class="svg-inline--fa fa-chevron-right fa-w-8" role="img" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 256 512"><path fill="rgba(134,134,139,1)" d="M24.707 38.101L4.908 57.899c-4.686 4.686-4.686 12.284 0 16.971L185.607 256 4.908 437.13c-4.686 4.686-4.686 12.284 0 16.971L24.707 473.9c4.686 4.686 12.284 4.686 16.971 0l209.414-209.414c4.686-4.686 4.686-12.284 0-16.971L41.678 38.101c-4.687-4.687-12.285-4.687-16.971 0z"/></svg>');
}
.slick-prev:hover::after, .slick-prev:focus::after {
    opacity: 1;
}
.slick-prev:hover, .slick-prev:focus,
.slick-next:hover, .slick-next:focus {
    background:rgba(210,210,215,0.5);
}
/* .slick-lightbox .slick-prev {
    left: 22px;
}
.slick-lightbox .slick-next {
    right: 22px;
}
.slick-lightbox .slick-prev, .slick-lightbox .slick-next {
    background: transparent;
    top: calc(50% - 25px);
    transition: background .3s ease;
}
@media (max-aspect-ratio: 3/2) {
    .slick-lightbox .slick-prev, .slick-lightbox .slick-next {
        bottom: 0;
        top: auto;
    }
    .slick-lightbox .slick-prev {
        left: 22px;
    }
    .slick-lightbox .slick-next {
        right: 22px;
    }
}
@media (max-aspect-ratio: 8/7) and (max-width: 1200px) {
    .slick-lightbox .slick-prev {
        left: calc(50% - 60px);
    }
    .slick-lightbox .slick-next {
        right: calc(50% - 60px);
    }
}
.slick-lightbox .slick-prev:hover, .slick-lightbox .slick-prev:focus, 
.slick-lightbox .slick-next:hover, .slick-lightbox .slick-next:focus {
    background: rgba(210,210,215,0.1);
}
.slick-lightbox-slick-img {
    max-width: 100%;
}
.slick-lightbox-slick-caption {
    max-width: 1200px;
    display: block;
    margin: 11px auto 0;
    line-height: 1.5;
    font-size: 14px;
    opacity: .9;
}
.slick-lightbox-close {
    width: 30px;
    height:30px;
    top: 11px;
    right: 11px;
}
.slick-lightbox-close::before {
    font-size: 30px;
}
.slick-lightbox {
    cursor: pointer;
}
.slick-lightbox-slick-item-inner {
    cursor: default;
} */
.slick-dots {
    list-style: none;
    margin: .8rem 0 !important;
    width: 100%;
    max-width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    overflow-x: auto;
}
.slick-dots li {
    margin: 0 !important;
}
.slick-dots li:only-child {
    display: none;
}
.slick-dots li button {
    font-size: 0;
    line-height: 0;
    display: block;
    width: 20px;
    height: 20px;
    color: transparent;
    border: 0;
    outline: none;
    background: transparent;
    position: relative;
    margin: 0 1px;
    min-height: auto;
    padding: 0 !important;
}
.slick-dots li button::before {
    line-height: 20px;
    position: absolute;
    top: 6px;
    left: 6px;
    width: 8px;
    height: 8px;
    content: '';
    text-align: center;
    border-radius: 50%;
    background: rgba(134,134,139,0.4);
    transition: all .3s;
}
.slick-dots li button:hover::before,
.slick-dots li button:focus::before {
    background: rgba(134,134,139,0.6);
}
.slick-dots li.slick-active button::before {
    background: #86868b;
}
.slick-disabled {
    opacity: 0;
    pointer-events:none;
}
@media (min-width: 750px) { 
    .slick-prev, .slick-next {
        top: 240px;
    }
}
@media (min-width: 900px) { 
    .slick-prev {
        display: block;
        left: -62px;
    }
    .slick-next {
        display: block;
        right: -62px;
    }
}
/* Magnific Popup */
/* .mfp-image-holder .mfp-content {
    max-width: calc(100% - 44px);
} */
.mfp-title {
    font-size: 15px;
    padding-right: 40px;
}
.mfp-bg {
    background: #000;
}
.mfp-close {
    font-size: 35px;
    width: 60px;
    height: 60px;
    line-height: 60px;
}
.mfp-arrow {
    opacity: .3;
}
.mfp-arrow::before {
    opacity: 0;
}
button.mfp-close:focus, button.mfp-arrow:focus {
    outline: none;
}
.mfp-figure::after {
    content: none;
}
img.mfp-img {
    padding: 40px 0 72px;
}
.mfp-bottom-bar {
    margin-top: -64px;
}
/* overlay at start */
.mfp-fade.mfp-bg {
    opacity: 0;
    transition: all 0.3s ease-out;
}
/* overlay animate in */
.mfp-fade.mfp-bg.mfp-ready {
    opacity: 0.95;
}
/* overlay animate out */
.mfp-fade.mfp-bg.mfp-removing {
    opacity: 0;
}
/* content at start */
.mfp-fade.mfp-wrap .mfp-content {
    opacity: 0;
    transition: all 0.3s ease-out;
}
/* content animate it */
.mfp-fade.mfp-wrap.mfp-ready .mfp-content {
    opacity: 1;
}
/* content animate out */
.mfp-fade.mfp-wrap.mfp-removing .mfp-content {
    opacity: 0;
}
/* dont move button when active */
.mfp-arrow:active {
    margin-top: -55px;
}
.mfp-close:active {
    top: 0;
}
@media (min-width: 900px) {
    .mfp-image-holder .mfp-content {
        max-width: calc(100% - 180px);
    }
}
@media (orientation: landscape) {
    .mfp-image-holder .mfp-content {
        max-width: calc(100% - 90px);
    }
    img.mfp-img {
        max-height: 100vh !important;
    }
}
