/*
Theme Name: harmony
Theme URI: https://health-wellness-websites.com/
Author: Health Wellness Websites
Author URI: https://health-wellness-websites.com/
Description: Health Wellness Website Theme
Version: 1.0.0
Text Domain: harmony
*/

@import url('https://fonts.googleapis.com/css2?family=Hepta+Slab:wght@1..900&family=Libre+Franklin:ital,wght@0,100..900;1,100..900&display=swap');

:root {
    --text: #3d3d3d; /* grey */
    --primary: 194,173,141; /* c2ad8d beige */
    --secondary: 175,124,143; /* af7c8f dusty pink*/
    --tertiary: 255,248,241; /* fff8f1 nearly white */
    --bg: #f6f2ed; /* cream */
    --grey: #eeeeee;
}

/*--------------------------------------------------------------
# Global
--------------------------------------------------------------*/

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    font-family: "Libre Franklin", sans-serif;
    font-style: normal;
    font-size: 1.25em;
    font-weight: 300;
    color: var(--text);
    background: var(--bg);
    overflow-x: hidden;
}

img {
    width: 100%;
    height: auto;
}
a{
    color: var(--primary);
    text-decoration: none;
}
a:hover{
    text-decoration: underline;
}
a.cta{
    background: rgba(var(--primary),1);
    color: var(--text);
    text-decoration: none;
    text-transform: uppercase;
    padding: 12px 25px;
    font-family: "Hepta Slab", sans-serif;
    font-weight: 600;
    transition: all .5s;
    border-radius: 0;
    border: 0;
}
a.cta:hover, a.cta:active{
    background: rgba(var(--primary),0.8);
    background-color: rgba(var(--primary),0.8);
    transition: all .5s;
    color: var(--text);
}
.cta-wrapper{
    display: inline-block;
    margin-top: 2em;
    margin-bottom: 25px;
}
/*--------------------------------------------------------------
# Header & Navigation
--------------------------------------------------------------*/
#masthead {
    background: var(--bg);
    position: fixed;
    width: 100%;
    z-index: 10;
}

.navbar-brand img {
    max-height: 60px;
    width: auto;
}
.navbar-toggler{
    border: 0;
}
.navbar-toggler:focus {
    box-shadow: none;
}
.navbar-toggler-icon{
    background: url('assets/images/hamburger.png') center top 5px no-repeat;
    background-size: 30px;
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-icon{
   background-position: center bottom 3px;
}
#main-nav .menu-item {
    color: var(--text);
    margin: 0 1em;
    padding: 5px 0;
    position: relative;
}

#main-nav .menu-item a {
    text-decoration: none;
    text-transform: uppercase;
    color: var(--text);
    font-size: .8em;
    font-weight: 400;
}

#main-nav .sub-menu {
    padding: 0;
    list-style: none;
}

#main-nav .menu-item .sub-menu {
    display: none;
    float: left;
    min-width: max-content;
    font-size: 1em;
    text-align: left;
    list-style: none;
    padding: 5px 0;
}

#main-nav .menu-item .sub-menu.show-sub-menu {
    display: block;
}

#main-nav .menu-item.menu-item-has-children:hover>.sub-menu {
    display: block;
    margin: 0;
}

#main-nav .menu-item.cta a:hover{
    color: var(--text);
    background: rgba(var(--primary),0.8);
}
@media (max-width: 1399px) {
    #main-nav .menu-item {
        display: flex;
        flex-direction: column;
        border-top: 1px solid var(--text);
        padding: 10px 0;
    }

    #main-nav .menu-item:last-child {
        border-bottom: 1px solid var(--text);
    }

    #main-nav .menu-item .sub-menu .menu-item {
        border: 0;
    }

    #main-nav .menu-item .sub-menu .menu-item:last-child {
        padding-bottom: 0;
    }

}
@media (max-width: 468px) {
    .navbar-brand img {
        max-width: 260px;
    }
}

@media (min-width: 1400px) {
    #main-nav .menu-item {
        text-align: center;
    }

    #main-nav .menu-item:last-child {
        margin: 0 0 0 1em;
    }

    #main-nav .menu-item a:hover {
        color: rgb(var(--primary));
    }

    #main-nav .sub-menu .menu-item {
        margin: 0;
        text-align: left;
    }
    #main-nav .menu-item.cta a{
        background: rgba(var(--primary),1);
        color: var(--text);
        text-decoration: none;
        text-transform: uppercase;
        padding: 12px 25px;
        font-family: "Hepta Slab", sans-serif;
        font-weight: 600;
        transition: all .5s;
    }
    #main-nav .menu-item .sub-menu {
        position: absolute;
        top: 100%;
        left: 0;
        z-index: 10;
        display: none;
        float: left;
        min-width: max-content;
        background-color: rgb(var(--primary));
        border-radius: 5px;
    }

    #main-nav .menu-item .sub-menu .menu-item {
        padding: 0;
    }

    #main-nav .menu-item .sub-menu a {
        padding: 10px 15px;
        display: inline-block;
        color: var(--text);
    }

    /* #main-nav .menu-item.menu-item-has-children:hover>.sub-menu {
        display: block;
        margin: 0;
    } */
}

/*--------------------------------------------------------------
# Typography
--------------------------------------------------------------*/
h1,
h2,
h3,
h4 {
    font-family: "Libre Franklin", sans-serif;
    font-optical-sizing: auto;
    font-style: normal;
    font-weight: 400;
    color: var(--text);
    line-height: 1;
    letter-spacing: -1px;
}

h1 {
    font-size: 2.25em;
}

h2 {
    font-size: 2em;
    margin-bottom: .5em;
}

h3, h4 {
    font-size: 1.75em;
    margin: .8em 0 .4em 0;
}
@media (max-width: 768px) {
    h1 {
        font-size: 2em;
    }
    
    h2 {
        font-size: 1.5em;
    }
    
    h3 {
        font-size: 1.25em;
    }
}
/*--------------------------------------------------------------
# Masthead 
--------------------------------------------------------------*/
.row-without-masthead{
    padding-top: 74px;
}
.component-masthead {
    height: 100vh;
    position: relative;
    background-size: cover;
    background-position: center;
}

.component-masthead.fixed-image {
    background-attachment: fixed;
}

.component-masthead::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, .5);
}

.component-masthead h1,
.component-masthead h2 {
    font-weight: 100;
    color: #FFF;
    z-index: 2;
    position: relative;
    line-height: 1.25;
}

.component-masthead h2 {
    font-size: 1.25em;
}

@media (max-width: 992px) {
    .component-masthead h1 {
        font-size: 2em;
    }
    
    .component-masthead h2 {
        font-size: 1.25em;
    }
}
@media (max-width: 468px) {
    .component-masthead.fixed-image{
        background-attachment: scroll;
    }
}
/*--------------------------------------------------------------
# Hero
--------------------------------------------------------------*/
.component-hero .card {
    height: 60vh;
    background-size: cover;
    background-position: center;
    border-radius: 0;
    border: 0;
}

.component-hero .card.fixed-image {
    background-attachment: fixed;
    background-size: cover;
}

.component-hero .col {
    overflow: hidden;
}

.component-hero .card h1 {
    color: #FFF;
    text-align: center;
    width: 100%;
    background: rgba(0, 0, 0, .25);
    margin-top: 45vh;
    padding: 10px 8%;
}

.component-hero a,
.component-hero a:hover {
    text-decoration: none;
}

.component-hero .row .col:only-child h1 {
    width: max-content;
}
.modal-header{
    align-items: start;
}
@media (min-width: 768px) {
    .modal-dialog {
        max-width: 700px;
    }
}
@media (max-width: 768px) {
    .component-hero .col {
        flex-direction: column;
        flex-basis: auto;
    }

    .component-hero .row .col:only-child h1 {
        width: auto;
    }
}
@media (max-width: 468px) {
    .component-hero .card.fixed-image{
        background-attachment: scroll;
    }
}
@media (min-width: 1500px) {
    .component-hero .card {
        min-height: 50vh;
    }
}

/*--------------------------------------------------------------
# Quote
--------------------------------------------------------------*/
.component-quote .quote-block{
    position: relative;
    font-size: 2em;
    font-style: italic;
    font-weight: 100;
}
.component-quote .quote-block:before {
    content: "";
    position: absolute;
    top: -70px;
    left: 0;
    width: 200px;
    height: 200px;
    background: url(assets/images/quotes-white.svg) center no-repeat;
    background-size: 200px;
    opacity: 0.1;
}

/*--------------------------------------------------------------
# Component: Cards
--------------------------------------------------------------*/
.component-cards .card{
    overflow: hidden;
}
.component-cards .card h5{
    color: var(--text);
    overflow: hidden;
    font-size: 1.4em;
    line-height: 1.5;
}
.component-cards .card .card-footer{
    border: 0;
    background: none;
}

/*--------------------------------------------------------------
# Carousel
--------------------------------------------------------------*/
.component-carousel{
    position: relative;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
    background-attachment: fixed;
}
.component-carousel::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    background: rgba(0, 0, 0, .5);
}
.component-carousel .carousel-item{
    font-style: italic;
    color: #FFF;
}
.component-carousel .author{
    font-family: "Hepta Slab", sans-serif;
    font-weight: 600;
    font-style: normal;
    color: #FFF;
}
.component-carousel .carousel-indicators [data-bs-target]{
    background-color: var(--grey);
}

/*--------------------------------------------------------------
# Blog Landing Page
--------------------------------------------------------------*/
.blog-post .post-thumbnail{
    height: 220px;
    background-size: cover;
    background-position: center;
}
.blog-post .excerpt{
    display: -webkit-box;
    -webkit-line-clamp: 4;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.blog-post h2{
    font-size: 1.5rem;
}
.blog-post .meta{
    font-size: 1rem;
}
.pagination .page-link{
    color: var(--text);
}
.pagination .page-link:hover{
    background-color: rgba(var(--primary), .25);
    text-decoration: none;
}
.pagination .page-link:focus{
    outline: none;
    box-shadow: none;
    background-color: rgba(var(--primary), .25);
}
.pagination .active>.page-link, .pagination .page-link.active{
    background-color: rgba(var(--primary), .5);
    border-color: var(--bs-pagination-border-color);
}
/*--------------------------------------------------------------
# Links
--------------------------------------------------------------*/
.component-links h3{
    font-size: 1.25em;
    margin: 0;
}
.component-links .horizontal-link-cta:last-child{
    border-bottom: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color) !important;
}
.component-links .cta{
    font-size: .8em;
}

.gallery-image div{
    height: 50vh;
    background-position: center;
    background-size: cover;
    background-repeat: no-repeat;
}
/*--------------------------------------------------------------
# Footer
--------------------------------------------------------------*/
.site-footer {
    background: rgb(var(--primary));
    font-size: .8em;
}

.site-footer li a {
    color: var(--text);
    padding: .5em 1em;
    text-decoration: none;
}

.site-footer a:hover{
    text-decoration: underline;
}

.footer-social-logos {
    margin-bottom: 20px;
}

.footer-social-logos img {
    width: auto;
    max-height: 20px;
}

.footer-social-logos li {
    display: inline-block;
}

.footer-social-logos li a{
    padding: .5em;
}

.footer-logos li {
    list-style: none;
    display: inline-block;
    margin: 10px 20px;
}

.footer-logos li img {
    width: auto;
    max-height: 50px;
}

#footer-widget ul.menu {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    flex-direction: column;
    margin-bottom: 0;
}

@media (min-width: 768px) {
    #footer-widget ul.menu {
        flex-direction: row;
    }

    #footer-widget .text-right ul.menu {
        justify-content: right;
    }

    #footer-widget .text-center ul.menu {
        justify-content: center;
    }

    #footer-widget ul.menu li {
        position: relative;
    }

    #footer-widget ul.menu li::after {
        content: "|";
        position: absolute;
        right: -1px;
        top: 5px;
    }

    #footer-widget ul.menu li:last-child:after {
        content: "";
    }

    #footer-widget ul.menu li .nav-link:hover {
        text-decoration: underline;
    }
}

/*--------------------------------------------------------------
# Cookie Banner
--------------------------------------------------------------*/
button.cky-show-desc-btn:not(:hover):not(:active){
    color: var(--primary);
}

/*--------------------------------------------------------------
# Form
--------------------------------------------------------------*/
.wpforms-container{
    margin-top: -5px !important;
}
.wpforms-container .wpforms-field:first-child{
    padding-top: 0 !important;
}
button.cta {
    background: rgba(var(--primary),1) !important;
    color: var(--text) !important;
    text-decoration: none !important;
    text-transform: uppercase !important;
    padding: 15px 25px !important;
    font-family: "Hepta Slab", sans-serif !important;
    font-weight: 600 !important;
    transition: all .5s !important;
    border: 0 !important;
    height: auto !important;
    border-radius: 0 !important;
}
button.cta:hover {
    background: rgba(var(--primary),0.8) !important;
}