/*
Front-End styles
*/
/*
.block-loading { 
	opacity: 1; 
	pointer-events:visible; 
}
*/
.block__custom-feature {
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;

    min-height: 150px;
    background-color: #F2F2F2;
    color: #414141;
}

.block__custom-feature.is-hero {
    padding-top: 70px;
}

/* Background Image */
.block__custom-feature .background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-repeat: no-repeat;
    background-size: cover;
    background-position-x: center;
    background-position-y: center;
}

.block__custom-feature.is-overlay .background-image {
    opacity: 0.5;
}

/* 
.block__custom-feature .container {
    width:90%; //on mobile, content gets overlapped by the "email-us" button floating on the left edge. 
    z-index:100;
}
*/

/* wrapper */
.block__custom-feature .wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.block__custom-feature .wrapper .column {
    position: relative;
    display: flex;
    flex-direction: column;
    width: 100%;
}

.block__custom-feature .column.info {
    padding: 30px;
}

.block__custom-feature .wrapper .column.media {
    min-height: 350px;
}

.block__custom-feature.is-background .wrapper .column.media {
    min-height: auto;
}

.block__custom-feature .wrapper .column.media .thumbnail-image {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    /*
    background-position-x: center;
    background-position-y: center;
    */
    background-position: 50% 50%;
}

/* Section Padding */
.block__custom-feature.sp-none {
    padding: 0 0 0 0;
}

.block__custom-feature.sp-none .wrapper {
    gap: 0;
}

.block__custom-feature.sp-none .wrapper .info {
    padding-left: 50px;
    padding-right: 50px;
}

.block__custom-feature.sp-small {
    padding: 15px 0 15px 0;
}

.block__custom-feature.sp-medium {
    padding: 25px 0 25px 0;
}

.block__custom-feature.sp-large {
    padding: 50px 0 50px 0;
}

.block__custom-feature.sp-extra {
    padding: 100px 0 100px 0;
}

/* Content Padding */
.block__custom-feature.cp-none .info {
    padding: 0 0 0 0;
}

.block__custom-feature.cp-small .info {
    padding: 10px 0 10px 0;
}

.block__custom-feature.cp-medium .info {
    padding: 25px 0 25px 0;
}

.block__custom-feature.cp-large .info {
    padding: 50px 0 50px 0;
}

.block__custom-feature.cp-extra .info {
    padding: 100px 0 100px 0;
}

/* Background Color */
.block__custom-feature.bc-transparent {
    background-color: transparent;
}

.block__custom-feature.bc-cloud {
    background-color: #f2f2f2;
}

.block__custom-feature.bc-grey {
    background-color: #CCCCCC;
}

.block__custom-feature.bc-orange {
    background-color: #F7941D;
}

.block__custom-feature.bc-yellow {
    background-color: #FFA500;
}

.block__custom-feature.bc-charcoal {
    background-color: #2e2a2b;
}

.block__custom-feature.bc-black {
    background-color: #000000;
}

.block__custom-feature.bc-white {
    background-color: #FFFFFF;
}

/* Foreground on Lists */
.block__custom-feature.bc-charcoal ul li {
    color: #FFFFFF !important;
}

.block__custom-feature.bc-black ul li {
    color: #FFFFFF !important;
}


/* Image Position - Legacy */
.block__custom-feature.bg-pos-top .background-image {
    background-position-y: top;
}

.block__custom-feature.bg-pos-center .background-image {
    background-position-y: center;
}

.block__custom-feature.bg-pos-bottom .background-image {
    background-position-y: bottom;
}

/* Image Position - since 2024/11/30 */
/* Top */
.block__custom-feature.bg-pos-top-left .background-image,
.block__custom-feature.bg-pos-top-left .thumbnail-image {
    background-position: 0% 0%;
}

.block__custom-feature.bg-pos-top-center .background-image,
.block__custom-feature.bg-pos-top-center .thumbnail-image {
    background-position: 50% 0%;
}

.block__custom-feature.bg-pos-top-right .background-image,
.block__custom-feature.bg-pos-top-right .thumbnail-image {
    background-position: 100% 0%;
}

/* Middle */
.block__custom-feature.bg-pos-middle-left .background-image,
.block__custom-feature.bg-pos-middle-left .thumbnail-image {
    background-position: 0% 50%;
}

.block__custom-feature.bg-pos-middle-center .background-image,
.block__custom-feature.bg-pos-middle-center .thumbnail-image {
    background-position: 50% 50%;
}

.block__custom-feature.bg-pos-middle-right .background-image,
.block__custom-feature.bg-pos-middle-right .thumbnail-image {
    background-position: 100% 50%;
}

/* Bottom */
.block__custom-feature.bg-pos-bottom-left .background-image,
.block__custom-feature.bg-pos-bottom-left .thumbnail-image {
    background-position: 0% 100%;
}

.block__custom-feature.bg-pos-bottom-center .background-image,
.block__custom-feature.bg-pos-bottom-center .thumbnail-image {
    background-position: 50% 100%;
}

.block__custom-feature.bg-pos-bottom-right .background-image,
.block__custom-feature.bg-pos-bottom-right .thumbnail-image {
    background-position: 100% 100%;
}


/* Common
*/
.block__custom-feature h1,
.block__custom-feature.preview h1 {
    font-size: 2.0rem;
    line-height: 1.3;
    font-weight: 700;
    text-transform: uppercase;
    margin: 0 auto 10px;
    max-width: 700px;
}

.block__custom-feature h1::after,
.block__custom-feature.preview h1::after {
    content: "";
    display: block;
    border: 2px solid rgba(204, 204, 204, .5);
    width: 100px;
    margin: 15px auto 15px;
}

.block__custom-feature h2 {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0 auto 20px;
    max-width: 700px;
}

.block__custom-feature p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto 20px;
    max-width: 700px;
}

.block__custom-feature p.lead {
    font-size: 1.2rem;
}

.block__custom-feature ul,
.block__custom-feature ol {
    width: fit-content;
    margin: auto auto 10px;
}

.block__custom-feature ul li,
.block__custom-feature ol li {
    font-size: 1.1rem;
    text-align: left;
    max-width: 600px !important;
    margin-top: 0;
}


/* Centered Text on Unordered Lists
*/
.block__custom-feature ul {
    list-style-type: none;
    padding: 0;
}

.block__custom-feature ul li {
    display: inline-block;
    width: 100%;
    padding-bottom: 5px;
    text-align: center;
}

.block__custom-feature ul li:first-child:before,
.block__custom-feature ul li:after {
    content: "";
    display: inline-block;
    width: 100%;
    height: 2px;
    margin: 5px 0;
    border-bottom: 2px dotted;
    opacity: 0.3;
}


/* Centered Text on Unordered Lists
*/
/*
.block__custom-feature ul {
    list-style-type:none;
}
.block__custom-feature ul li {
    text-align:center;
}
.block__custom-feature ul li:before {
    content: "•";
    display:inline-block;
    width:100%;
    font-size: 1.5rem;
    line-height: 1.5rem;
    opacity:0.5;
}
*/





@media screen and (min-width: 992px) {


    .block__custom-feature.is-hero {
        padding-top: 100px;
        height: auto !important;
    }

    /*
    .block__custom-feature .container {
        width:100%;  on desktop, content does not get overlapped by the "email-us" button floating on the left edge. 
    }
    */

    .block__custom-feature .wrapper {
        display: flex;
        flex-direction: row;
        gap: 50px;
    }

    /* Section Padding */
    .block__custom-feature.sp-none .wrapper .info {
        padding-left: 50px;
        padding-right: 50px;
    }

    .block__custom-feature.sp-small {
        padding: 25px 0 25px 0;
    }

    .block__custom-feature.sp-medium {
        padding: 50px 0 50px 0;
    }

    .block__custom-feature.sp-large {
        padding: 100px 0 100px 0;
    }

    .block__custom-feature.sp-extra {
        padding: 200px 0 200px 0;
    }

    /* Content Padding */
    .block__custom-feature.cp-none .info {
        padding: 0 0 0 0;
    }

    .block__custom-feature.cp-small .info {
        padding: 25px 0 25px 0;
    }

    .block__custom-feature.cp-medium .info {
        padding: 50px 0 50px 0;
    }

    .block__custom-feature.cp-large .info {
        padding: 100px 0 100px 0;
    }

    .block__custom-feature.cp-extra .info {
        padding: 200px 0 200px 0;
    }


    /* Switched Columns */
    .block__custom-feature.is-switched .wrapper {
        flex-direction: row-reverse;
    }

    .block__custom-feature .wrapper .column {
        display: flex;
        flex-direction: column;
        justify-content: center;
        width: 50%;
    }

    /* Content Width */
    .block__custom-feature.cw-30 .info {
        width: 30%;
    }

    .block__custom-feature.cw-50 .info {
        width: 50%;
    }

    .block__custom-feature.cw-70 .info {
        width: 70%;
    }


    /* Fonts */
    .block__custom-feature h1,
    .block__custom-feature.preview h1 {
        font-size: 2.0rem;
        line-height: 1.3;
    }

    .block__custom-feature h2 {
        font-size: 1.5rem;
        line-height: 1.3;
    }

    .block__custom-feature p {
        font-size: 1.1rem;
        line-height: 1.5;
    }

}



/* 
Editor styles
*/
.block__custom-feature.preview {
    width: 100% !important;
    /* Required for previewing on editor */
    position: relative;
    border: 1px dotted grey;
}

.block__custom-feature.preview::before {
    content: "CUSTOM FEATURE";
    display: block;
    position: absolute;
    left: 0;
    top: 0;
    padding: 2px;
    background: blue;
    color: #FFFFFF;
    font-size: 10px;
    line-height: 1em;
    font-weight: 800;
    z-index: 999;
}


.block__custom-feature.preview .wrapper {
    min-height: 150px;
}

/* Fonts - Preview */
.block__custom-feature.preview h1 {
    font-size: 2.0rem !important;
    font-weight: 500 !important;
}

.block__custom-feature.preview h2 {
    font-family: 'Lato', sans-serif;
    font-size: 20px;
    font-weight: 400;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    line-height: 1.3;
    margin: 0 auto 20px;
    max-width: 700px;
}

.block__custom-feature.preview p {
    font-family: 'Lato', sans-serif;
    font-size: 16px;
    font-weight: 400;
    line-height: 1.7;
    letter-spacing: 1px;
    max-width: 800px;
    margin: 0 auto 20px;
    max-width: 700px;
}

.block__custom-feature.preview p.lead {
    font-size: 18px;
}

.block__custom-feature.preview a {
    pointer-events: none;
}

.block__custom-feature.preview ul,
.block__custom-feature.preview ol {
    width: fit-content;
    margin: auto;
}

.block__custom-feature.preview ul li,
.block__custom-feature.preview ol li {
    font-size: 1.1rem;
    text-align: left;
    max-width: 500px !important;
    margin-top: 0;
    margin-bottom: 10px;
}


.custom-feature.preview .wrapper .block-editor-inner-blocks {
    width: 100%;
}

.custom-feature.preview .block-editor-block-list__layout .wp-block {
    margin: 0;
}