/*
    Theme Name:   Innovite Site
    Theme URI:    http://www.example.com
    Description:  Timber Child Theme Boilerplate
    Author:       MHz Design
    Author URI:   http://www.mhzdesign.com
    Template:     timber-parent
    Version:      1.0.0
    Text Domain:  innovite


*/


/* NAV BAR OVERRIDE */
header.layout section.navigation {
	background: black;
	border-bottom: 1px solid white;
}

header.layout section.navigation div.nav ul>li a {
	color: white;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li span {
	color: black;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.new-products span {
    color: #fc7598;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.all-products span {
    color: #fc7598;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.musculoskeletal span {
    color: #6dbfe0;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.digestive span {
    color: #cbe279;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.cardiovascular span {
    color: #ea0029;
}

header.layout section.navigation div.nav ul>li div.dropdown ul li:hover a.mood-cognitive span {
    color: #9086ce;
}

.search svg path {
	fill:white;
}

header.layout section.navigation div.nav div.search:hover svg path,
.search svg path:hover {
	fill:black;
}

header.layout section.hero.category {
	border:none;
	background:#e00029;
	padding: 50px 0;
}

header.layout section.hero.category div.text h2,
header.layout section.hero.category div.text h3 {
	color:white;
}

section.products div.categories div.category a.details p {
    max-width: 520px;
}

section.product-category div.upper div.description p {
    font-size: 16px;
}


/* HEADER STYLES */

header.layout section.navigation div.nav ul>li div.dropdown {
    width: 1150px!important;
    right: -330px!important;
}

/* FOOTER STYLES */

.signupCaption {
    margin: 0!important;
    color: #ffffff!important;
}

/* PRODUCT PAGE STYLES */

section.product-category { 
    margin-top: 150px;  
}

section.product-details {
    min-height: 500px;
}

.table-headline {
    text-align: left;
    width: 900px;
    padding: 10px;
    font-size: 20px;
    margin: 0 auto!important;
    padding-bottom: 25px;
}

.wtb-btn {
    margin-top: 25px;
}

/* INGREDIENTS TABLE */

.ingredients {
    width: 100%;
    margin-bottom: 20px;
    margin-top: 20px;
    line-height: 2.5em;
    
}

.ingredients tr {
    border-bottom: solid 1px lightgrey;
}

.infographic-table {
    padding: 40px;
    border-radius: 50px;
    border: 7px solid lightgray;
}


/* FOR DISCONTINUED PRODUCTS */

.discontinued {
    color: #fff!important;
    background-color: #e00029;
    padding: 15px!important;
    border-radius: 5px;
    font-size: 14px;
    font-style: italic;
    margin-bottom: 20px!important;
}


/* ALL PRODUCTS PAGE STYLES  */

section.products div.categories div.category.open div.hidden {
    max-height: 100000px!important;
    opacity: 1;
}

section.products div.categories div.category.open.all-products div.hidden {
    max-height: 100000px!important;
}


.prod-icons {
    display: flex;
    text-align: center;
    margin: 10px 0 30px 0;
}

.prod-icons img {
    width: 100px;
}

@media screen and (max-width: 640px) {

    section.products div.categories div.category div.hidden div.products {
        display: flex!important;
    }

    section.products div.categories div.category div.hidden div.products a.product {
        width: 50%!important;
       
    }

    header.layout section.navigation div.nav {
        float: right!important;
    }

    header.layout section.navigation div.nav a.menu-bars {
        top: 30%!important;
    }

    header.layout section.navigation div.nav div.search {
        display: inline-block!important;
        top: 0!important;
    }

    header.layout.sticky section.navigation {
        padding-bottom: 110px;
    }


    .searched .products a.product {
        width: calc(100% - 25px)!important;
    }

    .table-headline {
       width: 100%;
    }


}


/* SEARCH PAGE TEMPLATE STYLES */

.searched .products a.product {
    width: calc(25% - 25px);
    float: left;
    margin-left: 20px;
    margin-bottom: 20px;
    border: 1px solid #999;
    padding-bottom: 90px;
    position: relative;
    display: block;
}

.searched .products a.product div.image {
    text-align: center;
    margin-top: 10px;
    height: 300px;
}

.searched .products a.product div.image img {
    max-height: 100%;
    max-width: 100%;
    margin: 0 auto;
    transition: all .3s ease;
}

.searched .products a.product div.text {
    position: absolute;
    width: 100%;
    bottom: 0;
    left: 0;
    color: #231f20;
    height: 78px;
    transition: all .3s ease;
    text-align: left;
}

.searched .products a.product div.text span.name {
    display: block;
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 14px;
    padding-right: 45px;
    text-align: left;
}

.searched .products a.product div.text span.chevron {
    display: block;
    position: absolute;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    margin-top: 2px;
}

/* RESOURCES PAGE */

.passster-form #passster_submit {
    background: #e00029!important;
}

.passster-form h4 {
    display: none!important;
}

.resource-section {
    display: flex;
    flex-direction: row;
    flex-flow: wrap;
}

.resource {
    margin-right: 20px;
    margin-bottom: 20px;
}

/* MEDIA QUERIES */

@media (max-width: 480px) {

    .resource-section {
        display: block;
    }

    .resource {
        margin-right: 0px;
        margin-bottom: 30px;
    }

    .resource .image {
        max-width: max-content!important;
    }

    .resource .text {
        max-width: -webkit-fill-available!important;
    }
}


/* COMMON CLASSES */

.mt-em {
    margin-top: 2em!important;
}

/* BLOG PAGE */

.all-blogs-div .pt-cv-view .pt-cv-ifield {
    border-radius: 15px;
}

.cvp-lf-wrapper.all-blogs-div {
    margin-bottom: 30px!important;
}

.all-blogs-div .cvp-live-filter.cvp-button input[type=radio]:checked~div {
    background:black!important;
    border-radius: 15px;
    margin: 5px;
}

.all-blogs-div .cvp-live-filter.cvp-button input~div {
    font-size: 18px;
}

.featured-all-blogs h3, .pt-cv-view h3.pt-cv-title {
    font-size: 1.1rem;
    line-height: 1.5rem;
    padding: 0 15px;
    margin-bottom: 25px !important;
}

.pt-cv-ifield {
    background-color: #efefef;
}

.pt-cv-view.featured-all-blogs .pt-cv-ifield {
    border-radius: 15px!important;
}

.featured-row {
    background-image: url("/wp-content/uploads/2021/01/Innovite-Blog-Featured-Sleep-deprivation.jpg");
    height: 500px;
    background-size: cover;
    margin-bottom: 2em;
    display: flex;
}

.first-half {
    flex: 1;
    text-align: center;
    /* padding-top: 100px; */
    /* padding-bottom: 100px; */
    font-size: 50px;
    padding: 200px 50px 200px 50px;
    align-items: flex-start;
    color: white;
    font-family: 'Lato';
    font-weight: 600;
  
}

.featured-link {
    display: contents!important;
    text-decoration: none!important;
}

.arrow-iv {
    width: 50px;
    padding-left: 10px;
}

.shr-recommendations-attribution-container {
    display: none;
}

.shareaholic-recommendation-article-title {
    color: white;
    font-family: 'Lato';
    height: 120px;
    padding: 15px;
}

a.shareaholic-recommendation-article-link {
    background-color: black;
}


/* SINGLE BLOG POST PAGE STYLES */



body.post-template-default.single.single-post.single-format-standard .content-wrapper {
    margin-top: 60px;
}

body.post-template-default.single.single-post.single-format-standard .blog-content-wrapper {
    max-width: 900px;
    display: block;
    margin: 0 auto!important;
}


body.post-template-default.single.single-post.single-format-standard .content-wrapper article h1 {
    font-size: 2.8em !important;
    text-align: center;
}

p.single-meta {
    display: none!important;
}


body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy img {
    width: 100%;
    height: 700px;
    object-fit: cover;
    object-position: center;
    border: 4px solid #e5e5e5;
    border-radius: 15px !important;
}

article h1 {
    font-size: 2.4em !important;
}

.default-copy img {
    border-radius: 15px !important;
}


body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy, body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy {
    font-size: 18px!important;
    line-height: 30px!important;
}


body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy h2 {
    font-weight: bold!important;
    font-size: 2.0em!important;
    line-height: 1.3em!important;
    color: #E02928!important;
}

body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy h3 {
    font-size: 1.4em!important;
    margin-bottom: 5px;
    font-weight: 500;
}

body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy .shareaholic-canvas {
    margin-top: 60px;
}

body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy a {
    color: #e00029!important;
    text-decoration: none!important;
}

@media (max-width: 480px) {
    body.post-template-default.single.single-post.single-format-standard .content-wrapper article h1 {
        font-size: 2.3em!important;
    }

    body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy img {
        width: 100%;
        height: 400px;
    }

    .all-blogs-div .cvp-live-filter.cvp-button input~div {
        font-size: 15px;
    }

    body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy h2  {
        font-size: 1.6em!important;
    }

    body.post-template-default.single.single-post.single-format-standard .content-wrapper .default-copy h3 {
        font-size: 1.2em!important;
    }
}

/* EXPLORE PAGE */

.featured-all-blogs .pt-cv-ctf-list {
    line-height: 1.5rem;
    padding: 0px 30px 0px 15px!important;
    margin-bottom: 30px!important;
}

.featured-all-blogs .pt-cv-ctf-list .pt-cv-custom-fields {
    margin-top: opx!important;
}


/* CANDIDA LANDING PAGE */


footer.layout.candida-solution {
    margin-top: 0px!important;
    border-top: 8px solid black;
}

.candida-left {
    height: 100vh;
    background: #e00029;
}

.candida-subtitle {
    color: #000000;
    font-family: "Lato", Sans-serif;
    font-size: 40px;
    font-weight: 300;
    font-style: normal;
    width: 320px;
    margin: 0 auto;
}

.newsletter-section {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100vh;
    flex-direction: column;
    align-content: space-between;
}

.candida-subtitle.white {
    color: white;
    font-family: "Lato", Sans-serif;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 30px;
    width: auto;
    letter-spacing: 1px;
}

.sign-up-txt {
    font-size: 25px;
    color: white;
    font-weight: 300;
    font-family: "Lato", Sans-serif;
}

#wpcf7-f1850-p1584-o1 {
    text-align: center;
}


#wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-email{
    height: 50px;
    border: 2px solid lightgray;
    border-radius: 30px;
    padding-left: 20px;
    font-size: 22px;
    width: 400px;
}


#wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-email:focus {
    border: 2px solid black!important;
    outline: none;
}

#wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-submit {
    height: auto;
    width: 120px;
    padding: 10px;
    border-radius: 30px;
    font-size: 20px;
    color: white;
    background-color: black;
    border: none;
    margin-top: 10px;
}


#wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-submit:hover {
    color: black;
    background-color: white;
    transition: 0.2s ease-in;
}

#wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-submit:focus {
    outline: none;
}

#wpcf7-f1850-p1584-o1 .wpcf7-response-output {
    border: none!important;
    color: white!important;
}

.candida-form .ginput_container.ginput_container_email {
    width: 400px;
}




#gform_1 .gform_footer {
    /* display: none; */
    text-align: center;
}


input#gform_submit_button_1 {
    height: auto;
    width: 120px;
    padding: 10px;
    border-radius: 30px;
    font-size: 20px;
    color: white;
    background-color: black;
    border: none;
}

input#gform_submit_button_1:hover {
    color: black;
    background-color: white;
    transition: 0.2s ease-in;
}

.candida-right {
    padding-top: 100px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    height: 100vh;
    flex-direction: column;
    align-content: space-between;
    background: url(https://innovite.ca/wp-content/uploads/2021/03/candida-feature-img-rotated.jpg);
    background-repeat: no-repeat;
    background-position: center left;
    background-size: cover;

}


@media only screen and (device-width: 768px) {
    /* For general iPad layouts */

    .candida-form .ginput_container.ginput_container_email {
        width: auto!important;
    }

    .newsletter-section {
        padding: 0 20px 0px 30px;
    }

  }

  @media (max-width: 480px) {
    .hero-section-candida :nth-child(1) { order: 2; }
    .hero-section-candida :nth-child(2) { order: 1; }

    .newsletter-section {
        display: block!important;
        margin-top: 100px;
        padding-left: 40px;
        padding-right: 40px;
    }

    .candida-right {
        display: block!important;
    }

    .candida-left {
        height: auto!important;
    }

    #wpcf7-f1850-p1584-o1 input.wpcf7-form-control.wpcf7-email {
        width: 300px!important;
    }


    .candida-subtitle.white {
        font-size: 25px;
    }

    .candida-right {
        background-position: center 160px!important;
    }


  }


.pt-cv-readmore {background: #000 !important;}