/*
Theme Name: NEURO8
Description: AIOS mobile semi-custom theme.
Author: AgentImage
Author URI: http://www.agentimage.com
Version: 1.6.1
Tags: one-column, two-columns, right-sidebar, custom-menu, full-width-template, sticky-post
License: Proprietary
License URI: http://www.agentimage.com
Template: aios-starter-theme
*/

/*

TABLE OF CONTENTS

1. Variables
2. Custom CSS
3. IP styles
4. MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css

*/

/*******************************************************
 *
 * 1. Variables
 *
 *******************************************************/

:root {
    /** Font default */
    --font-family-default: 'Inter', sans-serif;
    --font-family-title: 'Inter', sans-serif;
    --font-size-default: 14px;
    --font-size-title: 18px;
    --font-color-default: #2a2a2a;
    --font-color-title: #2a2a2a;

    /** Use for input, button, and any other element */
    --primary: #3c4197;
    --secondary: #856fb2;
    --success: #28a745;
    --info: #17a2b8;
    --warning: #ffc107;
    --danger: #dc3545;
    --light: #f8f9fa;
    --dark: #343a40;
    --default-transition: .3s cubic-bezier(.4,0,.2,1);
}

/*******************************************************
 *
 * 2. Navigation
 *
 *******************************************************/

/* Sub Menu */
#nav li {
    position:relative;
    display: inline-block;
}

#nav .sub-menu {
    list-style: none outside none;
    margin: 0;
    background: transparent;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    padding: 0;
    position: absolute;
    width: 100%;
    min-width: 200px;
    left: 50%;
    transform: translate(-50%, -20%);
    transition: all 0.3s ease;
    padding-top: 30px;
}

#nav .sub-menu a {
    color: #FFFFFF;
    display: block;
    padding: 10px;
    background: var(--primary);
    text-transform: uppercase;
}
#nav .sub-menu a:hover {
    background: var(--secondary);
    color: #fff;
    text-decoration: none;
}
#nav .sub-menu .sub-menu {
    margin-left: 100%;
 	top:0;
}
#nav li:hover > .sub-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: all;
    transform: translate(-50%, 0);
}
#nav .sub-menu li {
    position: relative;
    display: block;
    text-align: center;
}

#nav {
    display: flex;
    align-items: center;
    justify-content: center;
}

#nav > li {
    padding: 0 18px;
}

#nav > li > a {
    font-size: 18px;
}

#nav > li.current_page_item > a {
    font-weight: 700;
    color: var(--primary);
}

#nav > li:hover > a {
    color: var(--secondary);
}




/*******************************************************
 *
 * 3. Custom CSS
 *
 *******************************************************/

/* Global */

body{
	font-family: var(--font-family-default);
	font-size: var(--font-size-default);
	background: #FFFFFF;
	color: var(--font-color-default);
	margin: 0;

    /* Remove the comment from line 85 to 86 if the font issue in safari occurs */
    /* -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale; */
}

html.has-scroll-smooth {
    margin-top: 0 !important;
}

.site-canvas {
    display: block;
    width: 100%;
}

.custom-container {
    max-width: 1140px;
    width: 100%;
    margin: auto;
    padding: 0 15px;
}

.home video {
    cursor: pointer;
}

.rel {
    position: relative;
}

.disable {
    pointer-events: none;
}

.img-object {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.w-bg {
    background: #fff;
}

.img-wrapper {
    position: relative;
}

.img-wrapper canvas {
    display: block;
    width: 100%;
} 

.img-wrapper img {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.bg-canvas {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    pointer-events: none;
    z-index: 0;
}

.bg-canvas-g {
    filter: grayscale(1);
}

.ease {
    transition: all 0.3s ease;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
}

#main-wrapper {
    overflow: hidden;
}

.show-mb {
    display: none !important;
}

.txt-up {
    text-transform: uppercase;
}

.zi-100 {
    z-index: 100;
}

.rel-z {
    position: relative;
    z-index: 100;
}

.no-margin {
    margin: 0 !important;
}

.n-app {
    appearance: none;
    -moz-appearance: none;
    -webkit-appearance: none;
    -ms-progress-appearance: none;
    outline: none;
}

/* Flex */
.flex {
    display: flex;
    flex-wrap: wrap;
}

.ai-fs {
    align-items: flex-start;
}

.ai-fe {
    align-items: flex-end;
}

.ai-c {
    align-items: center;
}


.jc-fs {
    justify-content: flex-start;
}

.jc-fe {
    justify-content: flex-end;
}

.jc-c {
    justify-content: center;
}

.jc-sb {
    justify-content: space-between;
}

.fd-c{
    flex-direction: column;
}

/* Header */
.header {
    position: fixed;
    left: 0;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 43px 0 0;
}

.header-md {
    width: 25%;
}

.header-lg {
    width: 50%;
}

/* Fixed Header */
.scrolled .header,
.fh.header {
    padding: 10px 0;
    background: #fff;
    background: linear-gradient(180deg, rgba(222,223,240,1) 0%, rgba(255,255,255,1) 100%);
}

.scrolled #nav .sub-menu,
.fh.header #nav .sub-menu {
    padding-top: 26px;
}

/* Header Cart */
.cart-btn a {
    /* max-width: 156px; */
    width: 156px;
    height: 50px;
    background: var(--primary);
    color: #fff;
    border-radius: 25px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.cart-btn a:hover {
    background: var(--secondary);
}

.cart-icon {
    display: block;
    width: 16px;
    height: 14px;
    background: url(images/cart-icon.png) no-repeat center;
    margin: 0 9px 0 0;
}

/* Banner */
.banner-wrap {
    padding: 172px 15px 0;
    min-height: 810px;
}

.banner-tagline-lg {
    font-size: 55px;
    color: var(--primary);
    font-weight: 700;
}

.banner-tagline-sm {
    font-size: 24px;
    max-width: 925px;
    width: 100%;
    margin: 16px auto 0;
    font-weight: 500;
    line-height: 1.55;
}


.banner-img {
    margin: 27px 0 0;
}

.banner-img img {
    margin: auto;
}

/* Ingredients */
.ing-wrap {
    /* min-height: 700px; */
    padding: 160px 0 123px;
    background: rgb(222,223,240);
    background: linear-gradient(0deg, rgba(222,223,240,1) 0%, rgba(255,255,255,1) 100%);
}

.ing-wrap .bg-canvas {
    background-position: left -27.5% top;
    background-size: auto;
}

.ing-wrap .bg-canvas-rev {
    transform: rotate(180deg);
}

.ing-tablet {
    position: relative;
    height: 173px;
}

#fake-tablet img{
    position: absolute;
    left: 0;
    right: 0;
    bottom: -35px;
    margin: auto;
    transform: scale(0.625);
    opacity: 0;
    visibility: hidden;
}

#tablet {
    position: absolute;
    z-index: 100;
    left: 0;
    right: 0;
    margin: auto;
}

#tablet img {
    margin: auto;
    min-width: 160px;
    width: 160px;
    transition: all 0.3s ease;
    /* transform: scale(0.625); */
}

.ing-tablet img {
    margin: auto;
}

.ing-title {
    margin: -10px 0 0;
}

.ing-list {
    max-width: 970px;
    width: 100%;
    margin: 23px auto;
    font-size: 24px;
    font-weight: 600;
    color: #444444;
}

.ing-list li {
    position: relative;
    padding: 0 0 0 19px;
    margin: 0 0 15px;
}

.ing-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    margin: auto;
    height: 9px;
    width: 9px;
    border-radius: 50%;
    background: var(--primary);
}

.ing-main {
    padding: 0 15px 120px;
}

.med-img-bg {
    position: absolute;
}

.med-1 .med-img-bg {
    position: absolute;
    right: -129px;
    bottom: -6px;
}

.med-2 .med-img-bg {
    position: absolute;
    left: -37px;
    bottom: 67px;
}

/* .med-main {
    padding: 0 220px;
} */

.med-img-box-over img {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    margin: auto;
}

.med-1 {
    margin: 0 0 123px;
}

.med-content.med-col {
    padding: 0 0 0 15px;
}

.med-img.med-col {
    padding: 0 15px 0 0;
}

/* Section title */
.section-title {
    color: var(--primary);
    font-size: 40px;
    font-weight: 700;
}

.section-title.sm {
    font-size: 35px;
}

.section-title.white {
    color: #fff;
}


/* Medicine */
.med-container {
    max-width: 950px;
    width: 100%;
    margin: auto;
}

.med-col {
    width: 50%;
}

.med-img-box {
    max-width: 455px;
    width: 100%;
    min-height: 375px;
    border-radius: 15px;
    background: rgb(128,31,200);
    background: linear-gradient(180deg, rgba(128,31,200,1) 0%, rgba(68,32,117,1) 100%);
}

.med-content-inner {
    max-width: 433px;
    width: 100%;
    margin: 0 0 0 auto;
}

.med-desc {
    font-size: 16px;
    color: #444444;
    line-height: 1.65;
    margin: 18px 0 0;
    max-width: 432px;
    width: 100%;
}

.med-desc p:not(:last-child) {
    margin: 0 0 16px;
}

/* Available */
.avail-wrap {
    padding: 117px 15px 0;
}

.avail-holder {
    max-width: 980px;
    width: 100%;
    margin: 35px auto 29px;
}

.avail-item {
    padding: 15px;
}

.avail-item img {
    margin: auto;
}

.avail-item.md {
    width: 32.1429%;
}

.avail-item.lg {
    width: 35.7142%;
}

/* Testimonials */
.test-wrap {
    padding: 105px 32px 53px;
}

.test-container {
    max-width: 1114px;
    width: 100%;
    margin: auto;
}

.test-nav button {
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 56px;
    height: 56px;
    border: 3px solid var(--primary);
    border-radius: 50%;
    font-size: 20px;
    color: var(--primary);
    transition: all 0.3s ease;
}

.test-nav button:hover {
    opacity: 0.5;
}

.test-nav button.next {
    background: var(--primary);
    color: #fff;
    margin: 0 0 0 9px;
}

.test-holder-wrap {
    overflow: hidden;
}

.test-holder {
    margin: 35px -17px 0;
    display: flex;
    align-items: flex-start;
    justify-content: center;
}

.test-holder:not(.slick-initialized) .test-item:nth-child(n + 3) ~ div {
    display: none;
}

.test-item {
    width: calc(100% / 3);
    padding: 0 18px 50px;
    text-align: center;
}

.test-item-inner {
    min-height: 416px;
    background: #ebebf3;
    border-radius: 15px;
    border: 2px solid rgba(60, 64, 151, 0.0);
    padding: 15px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
}

.test-item img {
    margin: auto;
}

.test-item p {
    font-size: 16px;
    font-style: italic;
    color: #444444;
    line-height: 1.6;
    max-width: 280px;
    width: 100%;
    margin: 16px auto 13px;
}

.test-item span {
    max-width: 208px;
    width: 100%;
    margin: auto;
    height: 40px;
    border-radius: 20px;
    background: var(--primary);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: 700;
}

.slick-current .test-item-inner {
    border-color: var(--primary);
    opacity: 1;
    box-shadow: 0 16px 27px rgba(72, 72, 88, 0.21);
}

/* Newsletter */
.news-wrap {
    padding: 25px 15px;
}

.news-box {
    max-width: 1114px;
    width: 100%;
    margin: auto;
    min-height: 324px;
    border-radius: 15px;
    background: var(--primary);
    overflow: hidden;
    padding: 30px 15px;
}

.news-title {
    max-width: 700px;
    width: 100%;
    margin: 0 auto 24px;
    line-height: 1.4;
}

.news-form {
    max-width: 537px;
    width: 100%;
    margin: auto;
}

.news-form .wpcf7-form-control-wrap {
    display: block;
}

.safari-true .news-form .wpcf7-form-control-wrap,
.firefox-true .news-form .wpcf7-form-control-wrap {
    position: relative !important;
}


.cf-field-email input,
.cf-field-submit input {
    max-width: 156px;
    width: 100%;
    height: 50px;
    color: var(--primary);
    border-radius: 25px;
    text-align: center;
    text-transform: uppercase;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 600;
    border: 0;
    background: #fff;
    transition: all 0.3s ease;
}

.cf-field-submit input:hover {
    background: var(--secondary);
    color: #fff;
}

.cf-field-email input {
    max-width: 100%;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0 23px;
    text-align: left;
}

.cf-field-submit {
    width: 156px;
}

.cf-field-email {
    width: calc(100% - 156px);
    padding: 0 10px 0 0;
    position: relative;
}

.news-form .wpcf7-spinner {
    position: absolute;
    margin: 0;
}

.news-form  .use-floating-validation-tip .wpcf7-not-valid-tip {
    position: absolute;
    right: 5px;
    left: auto;
    width: auto;
    font-size: 11px;
    top: 17px;
}

.news-form  .wpcf7 form .wpcf7-response-output {
    margin: 0;
    position: absolute;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 9px;
    bottom: -40px;
}

.news-bot {
    max-width: 950px;
    width: 100%;
    margin: -20px auto 0;
}

.news-bot-col {
    width: calc(100% / 3);
}

.news-btn.cart-btn a {
    margin: 0 0 0 auto;
}

/* Footer */
.footer {
    background: #202127;
    padding: 31px 15px 32px;
}

.footer-container {
    max-width: 1126px;
    width: 100%;
    margin: auto;
}

.footer-col {
    width: calc(100% / 3);
}

/* Footer Logo */
.footer-col.logo span {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    margin: 7px 0 0;
}

/* Footer Nav */
.footernav {
    display: flex;
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
}

.footernav li {
    margin: 0 31px 0 0;
}

.footernav li.current-menu-item {
    font-weight: 700;
}

.footernav li a {
    transition: all 0.3s ease;
}

.footernav li a:hover {
    color: var(--secondary);
}

.copyright {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.5);
    margin: 14px 0 0;
}

.copyright span {
    font-weight: 700;
}

.floating-text {
    padding: 20px;
    position: fixed;
    right: 10px;
    bottom: 10px;
    z-index: 999;
    color: #ffffff;
    font-size: 16px;
    font-weight: 700;
    background-color: var(--primary);
    border-radius: 25px;
    animation: showtext 2s;
}
@keyframes showtext {
    from {opacity: 0;}
    to {opacity: 1;}
}

/* SMI */
.smi-label {
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.3;
    margin: 0 25px 0 0;
}

.smi-links a {
    height: 47px;
    width: 47px;
    border-radius: 50%;
    background: var(--primary);
    color: #fff;
    font-size: 23px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.smi-links a:not(:last-of-type) {
    margin: 0 7px 0 0;
}

.smi-links a:hover {
    background: var(--secondary);
}


/*******************************************************
 *
 * 4. IP Styles
 *
 *******************************************************/
.ip-banner{
    position: relative;
    width: 100%;
}
    .ip-banner::before{
        content: '';
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: 1;
        background: rgba(0,0,0,.6);
    }
    .ip-banner canvas{
        display: block;
        position: relative;
        z-index: 0;
        width: 100%;
        min-height: 250px;
        background-color: var(--dark);
        background-position: center center;
        background-repeat: no-repeat;
        background-size: cover;
    }
    .ip-banner .container{
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%,-50%);
        z-index: 2;
    }
        .ip-banner h1 {
            font-weight: 700;
            font-size: 32px;
            text-align: center;
            color: #FFFFFF;
            text-transform: uppercase;
            letter-spacing: 0.05em;
            line-height: 1.7;
        }
            .ip-banner h1 span{
                display: block;
                font-size: 24px;
                font-weight: 400;
                text-transform: none;
                letter-spacing: 0.01em;
            }
/* Adjust minimum height of page area */
#content-sidebar, #content-full{ min-height: 500px; margin-top: 20px;}

/** Adjust width of content columns **/
#content-sidebar #content{ width: 77.08%; }
#content-full #content { width: 100%; }

/* Adjust width of sidebar */
.sidebar{ width: 20.83%; }

/* fullwidth template */
.page-template-template-fullwidth #content {
    padding-left: 15px;
    padding-right: 15px;
}
    .page-template-template-fullwidth #content ihf-search[data-eureka-id*=""].ihf-eureka {
        margin-left: -15px;
        margin-right: -15px;
    }

/* Adjust line height of page elements */
#content h4, aside h4,
#content p, aside p,
#content blockquote, aside blockquote,
#content ul, aside ul,
#content fieldset, aside fieldset,
#content form, aside form,
#content ol, aside ol,
#content dl, aside dl,
#content dir, aside dir,
#content menu, aside menu { line-height:1.7 }

/* Style .entry-title(post/page) and .archive-title(category/archive/etc) main headings (h1) */
#content .entry-title,
#content .archive-title {

}

/* Styles for category/archive/search/etc subheadings (h2) */
#content .archive-subtitle {

}

#inner-page-wrapper {
    padding-top: 200px;
}

.product-template-default #inner-page-wrapper .container{
    width: 100%;
    padding: 0;
}

/* Style for the input element */
.woocommerce-input-wrapper input[type="text"],
.woocommerce-input-wrapper input[type="tel"],
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper input[type="email"] {
    border: 1px solid #ccc;
    border-radius: 5px;
    padding: 8px;
    font-size: 16px;
    width: 100%;
}

/* Style for the placeholder text */
.woocommerce-input-wrapper input[type="text"]::placeholder,
.woocommerce-input-wrapper input[type="tel"]::placeholder,
.woocommerce-input-wrapper textarea,
.woocommerce-input-wrapper input[type="email"]::placeholder {
    color: #999;
}

/* Style for the label */
.woocommerce-input-wrapper label {
    display: block;
    font-weight: bold;
    margin-bottom: 5px;
}




/*Style for custom field in checkout page*/
.pwd-sc-checkbox {
    padding: 0 0.3125rem;
    background: #3c4197 !important;
    border-radius: 0.3125rem;
}
.pwd-sc-checkbox {
    padding: 0 0.3125rem;
    background: var(--primary-red);
    border-radius: 0.3125rem;
}

.woocommerce form .pwd-sc-checkbox .form-row label.checkbox, .woocommerce-page form .pwd-sc-checkbox .form-row label.checkbox {
    display: flex;
    align-items: center;
    height: 100%;
    color: white;
}

.woocommerce form .pwd-sc-checkbox .form-row .input-checkbox{
    margin-top: 0.0625rem;
    position: initial;
    display: unset;
}


.sc-pwd-uploader{
    opacity: 0;
    visibility: show;
    height: 0;
    transition: all var(--linear-transition);
}

.sc-pwd-uploader.active{
    opacity: 1;
    height: 100%;
    visibility: visible;
    
}

.main-button {
    border: 2px dashed #c5c5c5;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    padding: 15px;
    width: 100%;
}
.main-button .file-uploader {
    opacity: 0;
    height: 0;
}

.btn_upload{
    width: 100%;
    border: 2px solid gray;
    padding: 20px 20px;
    border-radius: 8px;
    font-size: 20px;
    font-weight: bold;
    border: 2px dotted #c5c5c5;
    border-radius: 5px;
    margin-bottom: 10px;
    position: relative;
    font-size: 15px;
    background-color: #3c4197;
    color: #fff;
}

.main_upload > span > ul li:last-child, 
.main_upload > ul:last-of-type li:last-child{
    display: flex;
    font-size: 0;
    flex-flow: row wrap;
}

.main_upload > span > ul li:last-child img,
.main_upload > ul:last-of-type li:last-child img {
    width: 100% !important;
}


/* MEDIA QUERIES ARE AUTOMATICALLY REMOVED FROM THIS FILE, they must be placed in style-media-queries.css */
