/*
Theme Name: Genesis Sample
Theme URI: https://demo.studiopress.com/
Description: This is the sample theme created for the Genesis Framework.
Author: StudioPress
Author URI: https://www.studiopress.com/
Version: 3.2.0
Tags: accessibility-ready, block-styles, custom-colors, custom-logo, custom-menu, editor-style, featured-images, footer-widgets, full-width-template, left-sidebar, one-column, right-sidebar, rtl-language-support, sticky-post, theme-options, threaded-comments, translation-ready, two-columns, wide-blocks
Template: genesis
License: GPL-2.0-or-later
License URI: https://www.gnu.org/licenses/gpl-2.0.html
Text Domain: genesis-sample
*/

/* Flexible Layout
---------------------------------------------------------------------------- */
.flexible-layout-page .site-inner {
    padding: 0;
    max-width: 100%;
}

.flexible-layout-page .entry {
    padding: 0;
    margin: 0;
    display: none;
}

.flexible-layout,
.flexible-layout.flexible-layout-image-text-section .image-text-default {
    padding: 4rem 0;
}

.flexible-layout .section-title {
    font-size: 3rem;
    font-weight: 700;
    text-transform: capitalize;
    text-wrap: balance;
}

/* Flexible Layout Text Section
---------------------------------------------------------------------------- */
.flexible-layout-text-section .text-centered {
    text-align: center;
    max-width: 96rem;
    margin: 0 auto;
}

/* Flexible Layout Image Text Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-image-text-section,
.flexible-layout.flexible-layout-image-text-section>.wrap {
    padding: 0;
}

.flexible-layout-image-text-section .image-text-full-width .flexcol:last-of-type .content-wrap {
    padding: 3rem 5%;
}

.flexible-layout-image-text-section .image-text-full-width .wrap {
    padding: 0;
}

.flexible-layout-image-text-section .image-text-default .flexcol .section-content ul {
    column-count: 1;
}

.flexible-layout .section-content ul:not(:last-child) {
    margin-bottom: 2rem;
}

/* Flexible Layout Icon Section
---------------------------------------------------------------------------- */
.flexible-layout-icon-section .flexcol {
    text-align: center;
    padding: 2rem 0;
}

.flexible-layout-icon-section .section-title,
.flexible-layout-icon-section .section-content {
    text-align: center;
}

.flexible-layout-icon-section .flexcol .icon i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.flexible-layout-icon-section .flexcol h3.icon-title {
    margin-bottom: 1rem;
    line-height: 1;
    font-size: 2.2rem;
    font-weight: 700;
}

.flexible-layout-icon-section .flexcol .icon-content {
    font-size: 1.6rem;
}

.flexible-layout-icon-section .section-button {
    text-align: center;
    margin-top: 2rem;
}

/* Flexible Layout Gallery Section
---------------------------------------------------------------------------- */
.flexible-layout-gallery-section .gallery-section ul>li {
    padding: 0.5rem;
}

.flexible-layout-gallery-section .gallery-section ul>li img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Flexible Layout Background Image Section
---------------------------------------------------------------------------- */
.flexible-layout.flexible-layout-video-background-section,
.flexible-layout.flexible-layout-background-image-section {
    padding: 0;
}

.flexible-layout.flexible-layout-video-background-section>.wrap,
.flexible-layout.flexible-layout-background-image-section>.wrap {
    max-width: none;
    padding: 0;
}

.flexible-layout-video-background-section .background-image,
.flexible-layout-background-image-section .background-image,
.flexible-layout-video-background-section .background-image .background-content,
.flexible-layout-background-image-section .background-image .background-content {
    position: relative;
}

.flexible-layout-video-background-section .background-image .image-section,
.flexible-layout-background-image-section .background-image .image-section {
    position: absolute;
    top: 0;
    bottom: 0;
    overflow: hidden;
    margin: 0;
    right: 0;
    left: 0;
}


.flexible-layout-video-background-section .background-image .image-section img,
.flexible-layout-background-image-section .background-image .image-section img {
    position: relative;
    z-index: 1;
    height: 100%;
    width: 100%;
    object-fit: cover;
    object-position: center center;
}

.flexible-layout-video-background-section .background-image .background-content,
.flexible-layout-background-image-section .background-image .background-content {
    position: relative;
    display: -webkit-box;
    display: -webkit-flex;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    text-align: center;
    z-index: 1;
    color: white;
    padding: 4rem 0;
}

.flexible-layout.flexible-layout-video-background-section .section-title,
.flexible-layout.flexible-layout-background-image-section .section-title,
.flexible-layout-video-background-section .background-image .background-content .section-content,
.flexible-layout-background-image-section .background-image .background-content .section-content {
    text-shadow: 0.1rem 0.1rem 1.5rem rgb(0 0 0 / 25%);
}

.flexible-layout-video-background-section .background-image .background-content .section-content,
.flexible-layout-background-image-section .background-image .background-content .section-content {
    font-weight: 700;
}

.flexible-layout-video-background-section .background-image:not(.full-height) .background-content .section-content,
.flexible-layout-background-image-section .background-image:not(.full-height) .background-content .section-content {
    line-height: 1.625;
}

.flexible-layout-video-background-section .background-image .background-content .section-content p,
.flexible-layout-background-image-section .background-image .background-content .section-content p {
    margin: 0;
}

.flexible-layout-background-image-section {
    margin-top: 2rem;
}

/* Flexible Layout CTA Section
---------------------------------------------------------------------------- */
.flexible-layout-cta-section .flexcol p,
.flexible-layout-text-section .text-cta .flexcol p {
    margin: 0;
}

/* Flexible Layout Blog Section
---------------------------------------------------------------------------- */
.flexible-layout-blog-section .section-button {
    text-align: center;
    margin-top: 2rem;
}

/* Video Background Section
--------------------------------------------- */
.flexible-layout.flexible-layout-video-background-section .video-wrap,
.flexible-layout.flexible-layout-video-background-section .video-background-content .wrap {
    position: relative;
    width: 100%;
}

.flexible-layout.flexible-layout-video-background-section video#mainVideo {
    height: 80vh;
    min-width: 100%;
    z-index: -1;
    object-fit: cover;
    object-position: 50% 50%;
    margin-bottom: -9px;
}

.admin-bar .flexible-layout.flexible-layout-video-background-section video#mainVideo {
    height: calc(80vh - 32px);
}

.flexible-layout.flexible-layout-video-background-section .video-background-content {
    min-height: 80vh;
    min-width: 100%;
    display: flex;
    position: absolute;
    left: 0;
    top: 0;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    background-color: rgba(0, 0, 0, 0.25);
}

.admin-bar .flexible-layout.flexible-layout-video-background-section .video-background-content {
    min-height: calc(80vh - 32px);
}

@media only screen and (min-width: 660px) {

    .flexible-layout-icon-section .flexbox,
    .flexible-layout-gallery-section .gallery-section ul {
        display: -webkit-box;
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .flexible-layout-icon-section .flexcol {
        flex-basis: 50%;
        max-width: 50%;
        padding: 2rem;
    }

    .flexible-layout-gallery-section .gallery-section ul>li {
        flex-basis: 50%;
        max-width: 50%;
    }

    .flexible-layout-video-background-section .background-image .background-content .section-button a.button,
    .flexible-layout-background-image-section .background-image .background-content .section-button a.button {
        margin: 0 0.5rem;
        display: inline-block;
        vertical-align: middle;
    }
}

@media only screen and (min-width: 960px) {

    .flexible-layout,
    .flexible-layout.flexible-layout-image-text-section .image-text-default,
    .background-image .background-content {
        padding: 8rem 0;
    }

    .flexible-layout.flexible-layout-cta-section {
        padding: 4rem 0;
    }

    .flexible-layout-image-text-section>.wrap,
    .flexible-layout-image-text-section>.wrap .image-text-full-width>.wrap {
        max-width: none;
    }

    .flexible-layout-image-text-section .flexbox,
    .flexible-layout-cta-section .flexbox,
    .flexible-layout-text-section .text-cta .flexbox {
        align-items: center;
    }

    .flexible-layout-image-text-section .flexcol.flex-1 {
        order: 1;
    }

    .flexible-layout-image-text-section .flexcol.flex-2 {
        order: 2;
    }

    .flexible-layout-image-text-section .image-text-default .flexcol.flex-1 {
        margin-right: 4rem;
    }

    .flexible-layout-image-text-section .image-text-default .flexcol.flex-2 {
        margin-left: 4rem;
    }

    .flexible-layout-image-text-section .image-text-full-width .flexcol:last-of-type .content-wrap {
        max-width: 75rem;
        padding: 6rem;
        margin: 0 auto;
    }

    .flexible-layout-gallery-section .gallery-section ul>li,
    .flexible-layout-icon-section .flexcol.col-3,
    .flexible-layout-icon-section .flexcol.col-4,
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: 33.3%;
        max-width: 33.3%;
    }

    .flexible-layout.flexible-layout-video-background-section .section-title,
    .flexible-layout.flexible-layout-background-image-section .section-title {
        font-size: 5rem;
    }

    .background-image .background-content .section-content {
        max-width: 96rem;
        margin: 0 auto;
        font-size: 2rem;
    }

    .flexible-layout-cta-section .flexcol:first-of-type,
    .flexible-layout-text-section .text-cta .flexcol:first-of-type {
        flex: 2;
        margin-right: 3rem;
    }

    .flexible-layout-cta-section .flexcol:last-of-type,
    .flexible-layout-text-section .text-cta .flexcol:last-of-type {
        flex: 1;
        margin-left: 3rem;
        text-align: right;
    }

    .flexible-layout-cta-section .flexcol:last-of-type a.button,
    .flexible-layout-text-section .text-cta .flexcol:last-of-type a.button {
        min-width: 25rem;
    }

    .flexible-layout .section-title {
        font-size: 4rem;
    }
}

@media only screen and (min-width: 1280px) {

    .flexible-layout-icon-section .flexcol.col-4,
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: 25%;
        max-width: 25%;
        padding: 1.5rem;
    }

    .flexible-layout-gallery-section .gallery-section ul>li {
        flex-basis: 25%;
        max-width: 25%;
    }
}

@media only screen and (min-width: 1340px) {
    .flexible-layout-icon-section .flexcol.col-5 {
        flex-basis: 20%;
        max-width: 20%;
    }
}

@media only screen and (max-width: 960px) {

    .flexible-layout-cta-section .flexcol:last-of-type,
    .flexible-layout-text-section .text-cta .flexcol:last-of-type {
        margin-top: 2rem;
    }

    .flexible-layout.flexible-layout-image-text-section .image-text-default .flexcol:first-of-type {
        padding-bottom: 2rem;
    }
}

@media only screen and (max-width: 660px) {

    .flexible-layout-video-background-section .background-image .background-content .section-button a.button,
    .flexible-layout-background-image-section .background-image .background-content .section-button a.button {
        display: block;
        margin: 1rem 0;
    }

    .flexible-layout-icon-section .flexcol h3.icon-title {
        font-size: 2rem;
    }
}