/*
Theme Name: Enlighten Nutraceuticals
Author: Loren Davidson
Version: 1.0.0
Template: wr-nitro
Text Domain: wr-nitro

/*  [ Add your custom css below ]
- - - - - - - - - - - - - - - - - - - - */

body,
body p,
body li {
    font-size: 1rem;
}

html p {
    font-size: 1.15rem;
    line-height: 1.5;
}

body .wrapper-outer > .wrapper > .header-outer ~ div {
    z-index: auto !important;
}

/* Menu container */
#header-navigation.header-default {
    height: 56px !important;
    transition: box-shadow 0.4s;
}
#header-navigation .container {
    align-items: flex-start;
}
#header-navigation .container,
#header-navigation .container .element-item,
#header-navigation .container .site-navigator-outer,
#header-navigation .container .navigator-column,
#header-navigation .container .navigator-column-inner,
#header-navigation .container .site-navigator-inner,
#header-navigation .container .site-navigator,
#header-navigation .container .menu-item,
#header-navigation .menu-item-home {
    height: 100%;
}
#header-navigation .container .element-item.dropdown {
    height: 56px;
    padding-top: 25px;
}
#header-navigation .container .hb-minicart {
    padding-bottom: 20px;
}
#header-navigation .container .menu-item-link {
    padding-top: 15px;
}
#header-navigation .menu-item-home a::before {
    background: url('assets/enlighten-dark.png') no-repeat 0 calc(100% + 2px);
    background-size: contain;
    width: 10rem;
    height: 56px;
    left: -11rem;
    display: block;
    content: '';
    position: absolute;
    bottom: 0;
}
#header-navigation .menu-item-home a {
    padding-left: 0 !important;
    padding-right: 0 !important;
}
#header-navigation .menu-item-home a span {
    display: none;
}
#header-navigation .site-navigator-outer .site-navigator > li > .menu-item-link:after {
    border-bottom-width: 3px;
    transition: all 0.3s ease-out, border-width 0s;
}
#header-navigation .container .menu-item-link {
    height: 100%;
}
#header-navigation .site-navigator .sub-menu {
    padding-bottom: 10px;
}
#header-navigation .site-navigator .sub-menu li a {
    color: #333;
}

/* Default container styles */
.wrapper > .container {
    min-height: 50vh;
}

/* Home header styles */
.home #header-navigation {
    height: 46px !important;
    /* transition: none; */
}
.home #header-navigation .container .menu-item-link {
    padding-bottom: 5px;
}
.home #header-navigation .site-navigator-outer .site-navigator > li > .menu-item-link:after {
    border-bottom-width: 1px;
}
.home #header-navigation .container .menu-item-link {
    height: auto;
}
.home #header-navigation .menu-item-home a::before {
    opacity: 0;
}

/* Fixed header styles */
.sticky-row-scroll #header-navigation {
    height: 56px !important;
}
.sticky-row-scroll #header-navigation .container .menu-item-link {
    height: 100%;
}
.sticky-row-scroll #header-navigation .site-navigator-outer .site-navigator > li > .menu-item-link:after {
    border-bottom-width: 3px;
}
.sticky-row-scroll #header-navigation .menu-item-home a::before {
    transition: opacity 0.3s;
    opacity: 1;
}

/* Top logo */
.content-logo {
    transform: translate3d(0, 0, 0);
}

/* Home */
.hero-container {
    background: #333;
}
.wpb_content_element {
    margin-bottom: 0;
}
/*.category-img.category-cta {
    margin-bottom: 30px;
}*/
.category-img.category-cta .pa.tc {
    display: none;
}
.home-intro,
.home-disclaimer {
    margin: 0 auto 3rem;
    float: none !important;
}
.home-intro h4,
.home-disclaimer h4 {
    line-height: 1.5;
}
.image-banner.promo-cta .content {
    text-shadow: 0 0 3px #111;
}

/* Product landing */
.category-teaser {
    text-align: center;
}
.category-teaser .wpb_text_column h3 {
    margin-top: 0;
}
.category-teaser .wpb_text_column {
    line-height: 1.3;
}
.category-teaser .wpb_text_column ul {
    list-style: none;
    margin-top: 1rem;
}
.category-teaser .wpb_text_column ul li {
    margin-bottom: 0.7rem;
    font-size: 0.9rem;
}
.category-teaser .wpb_text_column ol li {
    margin-left: 1em;
    list-style-type: lower-roman;
}

/* Product category landing */
.category-products .product__title a {
    color: #fff;
}

/* Category headers */
.term-description a {
    color: #666;
    background-color: #fff;
    font-size: 14px;
    padding-top: 14px;
    padding-bottom: 14px;
    padding-left: 20px;
    padding-right: 20px;
    margin-top: 1em;
    display: inline-block;
    margin-bottom: -1em;
    text-shadow: none;
}

/* Product categories */
.tax-product_cat .site-title {
    position: relative;
    color: #eee;
}

/* Checkout */
#ship-to-different-address-checkbox + span {
    font-size: 14px;
    font-weight: 600;
}
.woocommerce-privacy-policy-text {
    margin-top: 30px;
}

/* Product landing */
.spotlight-image {
    display: table;
}

/* Product browse */
.wr-images-quickview .wr-nitro-carousel .owl-nav > div:hover {
    background: rgba(0, 0, 0, 0.4);
}
.woocommerce-product-gallery.active-product-gallery {
    opacity: 1 !important;
}

/* Product detail */
#shop-detail {
    padding-top: 100px;
}
.product-support-info {
    margin-bottom: 4rem;
}
.product-support-info > .container {
    padding: 4rem 10%;
    border-bottom: 1px solid #f2f2f2;
}
.product-support-text {
    font-size: 1.2rem;
    line-height: 1.8;
}
.product-support-info [class*='all-about-'] {
    margin-bottom: 0;
}

/* Currency switcher */
.wcml-dropdown-click li a {
    line-height: 1.2;
}

/* Titles */
.site-title {
    padding-top: 130px !important;
    margin-bottom: 30px;
}
.site-title h1,
.site-title p {
    color: #fff !important;
    text-shadow: 0 0 3px rgba(0, 0, 0, 0.4);
}
.site-title .mask {
    background: rgba(0, 0, 0, 0.2);
}

/* Post type headers */
.blog .site-title,
.search .site-title,
.archive:not(.tax-product_cat) .site-title,
.category-news .site-title,
.category-health .site-title,
.category-culinary .site-title,
.category-lifestyle .site-title,
.post-type-archive-product .site-title {
    padding-top: 115px;
    padding-bottom: 80px;
    min-height: 214px;
    background-color: #f2f2f2;
    color: #646464;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-attachment: fixed;
}
.blog .site-title h1,
.search .site-title h1,
.archive:not(.tax-product_cat):not(.post-type-archive-product) .site-title h1,
.category-news .site-title h1,
.category-health .site-title h1,
.category-culinary .site-title h1,
.category-lifestyle .site-title h1,
.post-type-archive-product .site-title h1 {
    color: #fff;
}
.blog .site-title, .archive:not(.tax-product_cat):not(.post-type-archive-product) .site-title {
    background-image: url('/wp-content/uploads/2018/11/cover-news.jpg');
    background-position: center bottom;
    background-attachment: scroll;
}
.search .site-title {
    display: none;
}
.category-news .site-title {
    /*background-image: url('/wp-content/uploads/2018/11/cover-news.jpg') !important;*/
    background-position: center bottom !important;
}
.category-health .site-title {
    /*background-image: url('/wp-content/uploads/2018/12/cover-health.jpg') !important;*/
    background-position: center 65% !important;
}
.category-culinary .site-title {
    /*background-image: url('/wp-content/uploads/2018/12/cover-culinary.jpg') !important;*/
    background-position: center center !important;
}
.category-lifestyle .site-title {
    /*background-image: url('/wp-content/uploads/2018/12/cover-lifestyle.jpg') !important;*/
    background-position: center 40% !important;
}
.post-type-archive-product .site-title {
    background-image: url('/wp-content/uploads/2018/09/cover-products.jpg') !important;
    background-position: center top !important;
    background-size: contain !important;
}
.category-health-lifestyle .site-title {
    background-position: center top !important;
}

/* Articles */
.article-block .vc_gitem-post-data-source-post_excerpt {
    display: none;
}
.article-block h4 {
    text-align: center !important;
}
.article-block .vc_btn3-container {
    text-align: center;
}
.article-block .vc_btn3-container .vc_btn3 {
    background: #161616;
}
.article-block .vc_btn3-container .vc_btn3:hover {
    background: #000;
}

/* General article elements */
article li {
    font-size: 1.15rem;
    line-height: 1.5;
    margin-bottom: 0.5em;
}

/* Archive */
.wr-nitro-masonry.boxed .entry-title {
    margin-top: 0;
}
.wr-nitro-masonry.boxed .entry-text {
    display: none;
}
.wr-nitro-masonry.boxed .entry-thumb .fa-file-text-o {
    display: none;
}

/* Recipes */
.flexslider {
    border-radius: 0 !important;
}
.flex-control-nav {
    margin-left: 0 !important;
}

/* Search results fix */
.search .wrapper {
    background: #fff;
}
.search-container {
    padding-top: 70px;
}

/* Social things */
.social-bar {
    text-align: center;
}
/*.social-share.pa {
    position: sticky;
}*/

/* Language switcher */
.widget_icl_lang_sel_widget {
    text-align: center;
}
.widget_icl_lang_sel_widget > div {
    display: inline-block;
}

/* Content */
.content-callout h4 {
    line-height: 2;
}
.wpb_text_column ul,
.wpb_text_column ol {
    margin-left: 1.2em;
}

/* About pages */
.brand-image, .about-image {
    border: 1px solid #ccc;
}
.ginseng-info {
    display: flex;
    align-items: center;
}

/* Footer */
#footer {
    margin-top: 60px;
}
#footer .top {
    background-image: linear-gradient(to bottom, rgba(221,221,221,1) 0%, rgba(238,238,238,1) 50%);
}
#footer .widget-title,
#footer .textwidget {
    text-align: center;
    margin: 0 auto 0.5rem;
    font-size: 150%;
}
.home #footer {
    margin-top: 0;
}
#menu-footer {
    text-align: center;
}
#menu-footer li {
    display: inline;
}
#menu-footer li a {
    display: inline-block;
}
#footer .widget_media_image {
    text-align: center;
}
#footer .widget_media_image img {
    display: inline-block;
    opacity: 0.4;
}

/* WooCommerce Overrides */
.wr-btn.wr-btn-outline:hover {
    color: #fff !important;
}

.woocs_price_info {
    display: none !important;
}

/* Contact form */
.contact-form input[type="email"],
.contact-form input[type="text"],
.contact-form textarea {
    width: 100%;
}
.contact-image img {
    width: 210px;
    max-width: 100%;
    height: auto;
    margin: auto;
}
.wpcf7-response-output {
    margin-left: 0 !important;
}

/* Utils */
/*
.text-uppercase {
    text-transform: uppercase;
}
*/
.text-centered {
    text-align: center;
}
.text-title {
    border-top: 1px solid #ddd;
    padding-top: 1em;
    margin: 2rem auto 1rem;
}

/* Carousel strip */
.carousel-strip {
    margin-bottom: 3rem;
}
.carousel-strip .nitro-carousel-wrap {
    background: #111;
}
.carousel-strip .owl-item {
    overflow: hidden;
    position: relative;
    border-right: 1px solid #111;
}
.carousel-strip .owl-item::before {
    display: block;
    content: '';
    padding-top: 80%;
}
.carousel-strip .owl-item figure {
    margin: 0;
}
.carousel-strip .owl-item img {
    position: absolute;
    height: 100% !important;
    width: auto !important;
    top: 50%;
    left: 50%;
    margin: auto;
    max-width: none;
    min-width: 100%;
    transform: translate(-50%, -50%);
}
.home .carousel-strip .owl-item::before {
    padding-top: 120%;
}

/* Mobile things we do not want */
.mobile-product-categories {
    display: none !important;
}

/* Misc utils */
/*.utility-hidden {
    display: none !important;
}*/

/* Language wrangling */
[lang="zh-hans"] .post-type-archive-product .site-title {
    display: none;
}
[lang="zh-hans"] .post-type-archive-product #shop-main {
    margin-top: 70px;
}

/* Responsive wrangling */
@media (max-width: 768px) {
    .site-title {
        min-height: 0 !important;
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
}
