/* styles for Front Page
*/
.front-page #header.overlay {
    position: absolute;
    background: rgb(255 255 255 / 20%);
    box-shadow: none;
    transition: all .4s ease-in-out;
    border-color: transparent;
}

.front-page #header.fixed.overlay {
    position: fixed;
}

.front-page #header.fixed.overlay.header-bgrnd {
    background: #fff;
    border-color: var(--cps--primary);
}

header.overlay + #container.fpage-content,
header.fixed.overlay + #container.fpage-content {
    margin-top: 0;
}

#container + #container {
    margin-top: 0;
}

#container.fpage-content {
    margin: 0 auto;
}

.entry-content > *:last-child {
    margin-top: inherit;
    margin-bottom: inherit;
}

.fpage-wrap,
.fpage-widgets section {
    max-width: 1440px;
    margin: auto;
}

.fpage-widgets section {
    padding: 0 5%;
    width: 100%;
}

.fpage-widgets .widget-container h3.widget-title {
    border: 0;
    font-size: 28px;
    font-size: 1.75em;
    text-transform: uppercase;
}

#fpage-about-me, .fpage-widgets .enews-widget {
    background: var(--cps--secondary);
    color: var(--cps--secondary--font);
}

#fpage-about-me a.button,
.fpage-widgets .enews-widget input#subbutton {
    background: var(--cps--secondary--button);
    color: var(--cps--secondary--button--font);
}

/* fPage About Me
--------------------------------------------- */
#fpage-about-me {
    padding: 35px 10%;
}

#fpage-about-me.has-image {
    display: grid;
    grid-gap: 2em;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    justify-items: center;
}

.fpage-about-wrap,
.fpage-image-section {
    width: 100%;
    text-align: center;
}

h2.fpage-title-section {
    color: #000000;
    font-size: 45px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0;
    margin: auto;
    -webkit-font-smoothing: antialiased;
}

p.fpage-desc-section {
    font-size: calc(16px + 0.25vw);
    letter-spacing: 2px;
    text-align: center;
    float: none;
    margin-top: 10px;
}

#fpage-about-me a.button {
    width: 150px;
    max-width: 80%;
    font-size: 12px;
    margin: 20px auto 0;
}

.fpage-image-section img {
    padding: 0;
    width: 100%;
    max-width: 500px;
    background: none;
    transform: rotate(2deg);
    transition: all .2s linear;
    box-shadow: 0px 1px 5px rgb(0 0 0 / 26%);
}

.fpage-image-section img:hover {
    padding: 3px;
}

 /* Featured Content
--------------------------------------------- */
.fpage-widgets #fpage-featured {
    display: flex;
    padding: 0 5%;
}

#fpage-featured:after {
    display: none;
}

#fpage-featured .fitem {
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
    width: 100%;
}

#fpage-featured .fitem h2 {
    font-size: 20px;
    position: absolute;
    text-transform: uppercase;
    background: rgb(255 255 255 / 85%);
    color: #000000;
    padding: 10px 20px;
    transition: all .5s linear;
    text-align: center;
}

#fpage-featured .fitem img {
    object-fit: cover;
    width: 100%;
    padding: 0;
    transition: padding linear .3s;
}

#fpage-featured #featured-3 {
    margin-right: 0;
    margin-bottom: 0;
}

#fpage-featured .fitem:hover {
    color: inherit;
}

#fpage-featured a.fitem h2:hover {
    color: inherit;
    opacity: .8;
}

#fpage-featured img:hover {
    background: #fff;
    padding: 3px;
}

#header + #cps-featured.fpage-widgets {
    margin-top: 35px;
}


/* fPage Sub Widget
--------------------------------------------- */
.fpage-widgets .enews {
    margin: auto;
    color: inherit;
    background: none;
    font-size: 14px;
    letter-spacing: 1.25px;
    line-height: 1.4;
}

.fpage-widgets .enews  h3.widget-title {
    margin-bottom: 5px;
}

.fpage-widgets .enews-widget form {
    margin: auto;
    text-align: center;
    display: grid;
    grid-gap: .5em;
    align-items: center;
}

.fpage-widgets .enews-widget form + p {
    margin-top: 5px;
    margin-bottom: 0;
}

.fpage-widgets .enews-widget input {
    margin: 0;
    line-height: 1.5;
    text-align: center;
}

/* widget above footer
------------------------------------------ */
.fpage-footer section:last-child {
    margin-bottom: 0;
}

.fpage-footer .fpage-wrap {
    padding: 20px 2%;
    background: #fff;  
}

.fpage-widgets.fpage-footer.widget-area .wrap {
    width: 100%;
    margin: 0 auto;
    padding: 5px 0;
}

.fpage-widgets.fpage-footer .widget {
    margin-bottom: 0;
}

.fpage-widgets.fpage-footer .widget-container h3.widget-title {
    padding: 5px;
    border: 0;
}

.front-page #container.fpage-container {
    max-width: 100vw;
    margin: 0 auto;
}

.front-page .entry-content .alignfull:first-child {
    margin-top: 0;
}

/* Animate Site - Keyframes
------------------------------------------------------------ */
.fadeup-effect {
    opacity: 0;
}

/* fadeInUp
----------------------------------- */

@-webkit-keyframes fadeInUp {
    0% {opacity: 0;-webkit-transform: translateY(20px);}
    100% {opacity: 1;-webkit-transform: translateY(0);}
}

@keyframes fadeInUp {
    0% {opacity: 0;transform: translateY(20px);}
    100% {opacity: 1;transform: translateY(0);}
}

/* Fadeup Effect
--------------------------------- */
.js .fadeup-effect {
    -webkit-animation-duration: 1.5s;
    animation-duration: 1.5s;
    -webkit-animation-fill-mode: both;
    animation-fill-mode: both;
    -webkit-animation-timing-function: ease-in-out;
    animation-timing-function: ease-in-out;
}

@-webkit-keyframes fadeInUp {
    from {
        opacity: 0;
        -webkit-transform: translateY(20px);
    }

    to {
        opacity: 1;
        -webkit-transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fadeInUp {
    opacity: 0;
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp;
}

@media only screen and (max-width: 940px) {
    h2.fpage-title-section {
        font-size: 220%;
        line-height: 1.2;
    }
}

@media only screen and (min-width: 900px) {
    #cps-about + #cps-featured section,
    #header + #cps-featured.fpage-widgets {
        margin-top: 35px;
    }
    
    #header.fixed + .fpage-widgets,
    header.fixed + #container.fpage-content,
    .woocommerce header.overlay + #container.fpage-content {
        margin-top: 75px;
    }
    
    #header.fixed + #cps-featured.fpage-widgets {
        margin-top: 110px;
    }

/* fpage Sub
--------------------------------------------- */
    .fpage-widgets .enews {
        padding: 30px 30px 40px;
    }
    
    .fpage-widgets .enews-widget p {
        margin-bottom: 5px;
    }
    
    .fpage-widgets .enews-widget .enews-1-field form {
            grid-template-columns: 1fr 1fr;
    }

    .fpage-widgets .enews-widget .enews-2-fields form {
        grid-template-columns: 1fr 1fr 1fr;
    }

    .fpage-widgets .enews-widget .enews-3-fields form {
        grid-template-columns: 1fr 1fr 1fr 1fr;
    }

    .front-page #container.fpage-container-i {
        margin-top: 0;
    }
}

@media only screen and (max-width: 899px) {
    #header.fixed + .fpage-widgets,
    header.fixed + #container.fpage-content,
    .woocommerce header.overlay + #container.fpage-content {
        margin-top: 50px;
    }

    #header.fixed + #cps-featured.fpage-widgets {
        margin-top: 75px;
    }
    #cps-about + #cps-featured section,
    #header + #cps-featured.fpage-widgets {
        margin-top: 25px;
    }
    
    /* Home Sub
    --------------------------------------------- */
    .fpage-widgets .enews {
        padding: 5%;
    }

    .fpage-widgets .enews-widget form {
        width: 80%;
        margin: auto;
    }

    .fpage-widgets .enews-widget input:last-child {
        margin-bottom: 0;
    }

    .fpage-widgets .enews-widget p {
        width: 80%;
        margin: 0 auto 10px;
        padding: 5px;
    }
}

@media only screen and (min-width: 720px) {
    .fpage-widgets #fpage-featured {
        column-gap: 1.5em;
    }
}

@media only screen and (max-width: 719px) {
    .fpage-widgets #fpage-featured {
        flex-wrap: wrap;
        row-gap: 1.5em;
    }

    #fpage-about-me.has-image {
        grid-template-columns: 1fr;
    }
    
    .has-image .fpage-about-wrap{
        padding: 0 10%;
    }

    h2.fpage-title-section {
        font-size: 300%;
    }

    .fpage-image-section img {
        margin-bottom: 0;
    }
}