html {
    background: #f1f1f1;
}

body {
    background: #fff;
    font-size: 16px;
    font-family: 'Trebuchet MS', Helvetica, Arial, sans-serif;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.2);
    max-width: 1480px;
    padding-bottom: 60px;
    margin: 0 auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
}

a {
    color: #21409a;
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
}

.pointer {
    cursor: pointer;
}

/*ie8 hacks*/
.ie8-label {
    display: none;
}

@media \0screen {
    .ie8-label {
        display: block;
    }
}

#text_404 {
    text-align: center;
    color: #21409a;
    max-width: 600px;
    margin: 10% auto;
    display: none;
    align-content: center;
}

#text_404 #wrap_404 {
    margin: 200px 10%;
}

#text_404 a {
    color: #e3212b;
    text-decoration-line: underline;
}

#text_404 a:hover,
#text_404 a:focus,
#text_404 a:active {
    color: #b31119;
}

#text_404 h1 {
    font-size: 27px;
}

#text_404 p {
    font-size: 18px;
    margin: 30px auto;
}

#text_404 .additional-info {
    margin-top: 50%;
}

#text_404 .additional-info p {
    color: #555;
    font-size: 12px;
    text-align: center;
    padding: 5px 15px;
    margin: 0px auto;
}

/*headings, etc*/
.header1,
.header2,
.header3 {
    color: #21409a;
    font-family: 'Trebuchet MS';
    font-weight: bold;
}

.header1 {
    font-size: 28px;
}

.header2 {
    font-size: 32px;
}

.header3 {
    font-size: 22px;
}

.paragraph {
    font-size: 20px;
    font-weight: lighter;
}

.sub-header {
    font-size: 12px;
}

.sub-para {
    font-size: 16px;
}

.disclaimer {
    font-size: 16px;
    margin-top: 40px;
}

.note {
    color: #21409a;
    font-family: 'Trebuchet MS';
    border-bottom: 2px solid #ddd;
    padding: 10px;
}

.logo-image {
    width: 179px;
}

/*main nav - logo and back*/
.main-nav {
    background: #FFF;
    border-bottom: 1px solid rgb(160, 205, 84);
    margin-bottom: 0;
}

.main-nav.affix {
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 9;
}

.main-nav a {
    color: #eee;
}

.navbar-header {
    text-align: center;
    float: none;
    padding: 15px;
    margin: auto;
}

.navbar-header h4 {
    font-size: 25px;
    margin: 0
}

.navbar-brand {
    color: #eee;
    float: none;
}

.navbar-brand img {
    display: inline-block;
}

.back-button {
    position: absolute;
    top: 12px;
    left: 15px;
    width: 22px;
}

/*product main info*/
.product {
    display: table;
    width: 100%;
}

.product-sub-section {
    display: table-cell;
    padding: 10px;
    width: 50%;
    vertical-align: middle;
}

#bioengineered_img{
    width:30%;
    max-width:100px;
    image-rendering: crisp-edges;
    image-rendering: optimize-contrast;
    image-rendering: -webkit-optimize-contrast;
}

.product-image {
    text-align: center;
}

.product-image img {
    display: block;
    margin: 0 auto;
    max-height: 120px;
    image-rendering: crisp-edges;
    image-rendering: optimize-contrast;
    image-rendering: -webkit-optimize-contrast;
}

.upc {
    padding-top: 10px;
}

/*tab nav*/
.sectionsContainer {
    display: table;
    background: #21409a;
    width: 100%;
    border-top: 1px solid rgb(160, 205, 84);
}

.sectionsContainer.affix {
    width: 100%;
    max-width: 1480px;
    top: 0;
    z-index: 9;
}

.section i {
    font-size: 15px;
    margin: 5px 0px;
}

.sectionsContainer .section {
    display: table-cell;
    color: #fff;
    font-size: 12px;
    text-align: center;
    border-top: 10px solid transparent;
    /*prevents text jumping when active*/
    border-bottom: 1px solid rgb(160, 205, 84);
    cursor: pointer;
    padding: 10px 5px;
    width: 20%;
    vertical-align: top;
    border-right: 1px solid white;
}

.sectionsContainer .section.active {
    background: #fff;
    color: #21409a;
    box-shadow: none;
    border-top-color: rgb(160, 205, 84);
    border-bottom: none;
    cursor: default;
}

.sectionsContainer .section:hover,
.sectionsContainer .section:focus {
    background: #193279;
}

.sectionsContainer .section.active:hover,
.sectionsContainer .section.active:focus {
    background: #fff;
}

/*main content*/
.content-section {
    margin: 20px 0 50px;
}

/*tab content*/
.section-content {
    display: none;
}

.section-content.active {
    display: block;
}

/*detail-page class added by js - needed so logo doesn't cover content on mobile*/
.section-content.detail-page {
    margin-top: 67px;
}

/*nutrition*/
.nutrition-section {
    padding: 0 0 60px;
}

.top-fact-info {
    border-bottom: 2px solid #ddd;
    padding: 0 10px 20px;
    margin: 0 0 20px;
}

.top-fact {
    text-align: center;
    border-right: 1px solid rgb(160, 205, 84);
    margin: 0;
    padding: 10px;
}

.top-fact:last-child {
    border-right: none;
}

.top-fact span {
    display: block;
    text-align: center;
}

.nutrition-category {
    padding: 10px 0;
    margin: 0 10px 20px;
}

.nutrition-category h2 {
    font-size: 26px;
}

.nutrition-category .sub-label {
    color: #21409a;
    font-size: 16px;
    border-bottom: 1px solid #ddd;
    padding-bottom: 10px;
    margin: 0 10px 10px 0;
}

.nutrition-info {
    font-size: 20px;
    font-weight: lighter;
    list-style: none;
    padding: 0 20px 0 10px;
    margin: 0 0 10px 10px;
}

.nutrition-info_servings {
    border-bottom: 6px solid #ddd;
}

.nutrition-info_calories {
    border-bottom: 4px solid #ddd;
}

.nutrition-info_vitamins {
    border-top: 6px solid #ddd;
    padding-top: 10px;
}

.nutrition-info li {
    border-bottom: 2px solid #ddd;
    padding: 10px 0;
}

.nutrition-info li:last-child {
    border-bottom: 0;
}

.nutrition-info li span:nth-child(2) {
    text-align: right;
}

/*navigation in ingredients, allergens, other info, and company tab content*/
.section-content-nav > li > a {
    border-bottom: 2px solid #ddd;
    padding: 10px 20px 10px 0;
}

.section-content-nav > li:last-child > a {
    border-bottom: none;
}

.section-content-nav > li > a:after {
    background-image: url('../images/chevronR.png');
    /*content: url('/etc/designs/smartlabel/assets/images/chevronR.png');*/
    position: absolute;
    top: 28%;
    right: 0;
    background-size: 16px 30px;
    display: inline-block;
    width: 16px;
    height: 30px;
    content: "";
}

.section-content-nav > li > a:focus,
.section-content-nav > li > a:hover {
    background-color: transparent;
}

.section-content-nav > li.active > a,
.section-content-nav > li.active > a:focus,
.section-content-nav > li.active > a:hover {
    color: #fff;
    background: #21409a;
}

/*used in allergens*/
.section-content-nav .badge {
    background: #21409a;
    position: absolute;
    right: 20px;
    top: 33%;
}

/*cotent for Ingredients, Allergens, and Other*/
.detail-content-ctn .note {
    border-bottom: 0;
    margin: 10px 0px 0px 0px;
}

.main-ingredient {
    background-color: #21409a;
    color: #FFF;
    padding: 15px 15px 5px;
}

.main-ingredient .header1 {
    color: #fff;
}

.main-ingredient p {
    font-size: 20px;
    font-weight: lighter;
}

/*Company*/
/*company nav*/
.section-content-nav.company-nav > li > a {
    word-wrap: break-word;
}

.section-content-nav.company-nav > li > a:after {
    content: none;
}

.section-content-nav.company-nav a span {
    position: absolute;
    top: 18px;
    right: 0;
}

.company-info {
    color: #21409a;
    font-size: 20px;
    padding-bottom: 20px;
}

.company-info__list {
    list-style: none;
    padding: 0 20px;
    margin: 0;
}

.company-info__list-item#company-list {
    clear: both;
}

.company-info__list > li > a {
    border-bottom: 2px solid #ddd;
    padding: 10px 20px 10px 0;
}

.company-info__list-item > a {
    width: 100%;
}

.company-info__list > li > a:last-child {
    border-bottom: none;
}

.company-info__list > li > a:after {
    background-image: url('../images/icon_arrow.png');
    position: absolute;
    top: 28%;
    right: 0;
    background-size: 30px 30px;
    display: inline-block;
    width: 30px;
    height: 30px;
    content: "";
}

.top-contact {
    text-align: center;
    margin: 0;
    padding: 10px;

}

.company-info__list-link {
    display: inline-block;
    color: #21409a;
    text-align: left;
    text-decoration: none;
    position: relative;
}

.company-info__list-link:hover,
.company-info__list-link:focus {
    text-decoration: underline;
}

.company-info__list-link span {
    display: -webkit-box;
}

.company-info__list-link span img {
    position: relative;
    margin: 0px auto 10px auto;
}

.company-info__list-link #callNumberArea {
    display: block;
    color: inherit;
}

.company-info__list-link img {
    display: block;
    width: 32px;
    position: absolute;
    top: 10px;
    left: 0;
}

@media (min-width: 992px) {
    .company-info {
        padding: 40px 0;
    }

    .company-info__list {
        display: block;
        justify-content: space-between;
        max-width: 1400px;
        margin: 0 auto;
    }

    .company-info__list--last {
        justify-content: center;
    }

    .company-info__list-item {
        background: transparent;
        width: 49%;
        margin-bottom: 20px;
    }

    .company-info__list-link span {
        display: block;
    }

    .company-info__list--first .company-info__list-item {
        width: 100%;
    }

    .company-info__list-link {
        display: block;
        text-align: center;
        padding: 40px 20px;
    }

    .company-info__list-link img {
        position: static;
        margin: 0 auto 10px;
    }
}

/*image overlay*/
.main-view {
    padding: 50px 0 0;
}

.main-view img {
    margin: 0 auto;
}

/*footer*/
#text_404 .additional-info,
.additional-info {
    color: #555;
    font-size: 12px;
    text-align: center;
    padding: 30px 15px;
}

.bioengineered-info{
    color: #555;
    font-size: 16px;
    text-align: left;
    padding: 30px 30px 0px;
    width:90%
}

.bioengineered-info h2{
    color: #21409a;
    font-size: 28px;
}

.bioengineered-info img{
    width:30%;
    max-width:100px;
    padding: 5px 10px;
    image-rendering: crisp-edges;
    image-rendering: optimize-contrast;
    image-rendering: -webkit-optimize-contrast;
}

.lgAppVersion {
    display: none;
}

.variety-section {
    padding: 5px 15px 15px;
}

.variety-section .modal-dialog {
    min-width: 600px;
}

#variety-menu-table {
    width: 300px;
}

#variety-menu-table tr {
    cursor: pointer;
}

.variety-section .wrap {
    position: relative;
}

.variety-section .cover {
    position: absolute;
    z-index: 1;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.variety-section .cover A {
    display: block;
    width: 100%;
    height: 100%;
}

#variety-menu.form-control {
    background-color: #193279;
    color: #FFF;
    padding: 6px 15px;
}

.custom-dropdown {
    width: 100%;
    border: 1px solid #666;
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

.custom-dropdown--large {
    font-size: 1.5em;
}

.custom-dropdown--small {
    font-size: 0.7em;
}

.custom-dropdown__select {
    font-size: inherit;
    /* inherit size from .custom-dropdown */
    padding: 0.5em;
    /* add some space*/
    margin: 0;
    /* remove default margins */
    width: 100% !important;
}

.custom-dropdown__select--white {
    background-color: #FFF;
    color: #444;
}

.custom-dropdown__select--blue {
    background-color: #193279;
    color: #FFF !important;
}

@supports (pointer-events: none) and ((-webkit-appearance: none) or (-moz-appearance: none) or (appearance: none)) {
    .custom-dropdown {
        position: relative;
        display: inline-block;
        vertical-align: middle;
    }

    .custom-dropdown__select {
        padding-right: 2.5em;
        /* accommodate with the pseudo elements for the dropdown arrow */
        border: 0;
        border-radius: 3px;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        padding-left: 1.5em;
    }

    .custom-dropdown::before,
    .custom-dropdown::after {
        content: "";
        position: absolute;
        pointer-events: none;
    }

    .custom-dropdown::after {
        /*  Custom dropdown arrow */
        content: "\25C0 \25B6";
        height: 1em;
        font-size: 1em;
        line-height: 1;
        right: 1em;
        top: 50%;
        margin-top: -0.5em;
        transform-origin: center;
        transform: translateX(50%) rotate(-90deg);
        color: #666 !important;
    }

    .custom-dropdown::before {
        /*  Custom dropdown arrow cover */
        width: 2em;
        right: 0;
        top: 0;
        bottom: 0;
        border-radius: 0 3px 3px 0;
    }

    .custom-dropdown__select[disabled] {
        color: rgba(0, 0, 0, 0.3);
    }

    .custom-dropdown.custom-dropdown--disabled::after {
        color: rgba(0, 0, 0, 0.1);
    }

    /* White dropdown style */
    .custom-dropdown--white::before {
        background-color: #FFF;
        border-left: 1px solid rgba(0, 0, 0, 0.1);
    }

    .custom-dropdown--white::after {
        color: rgba(0, 0, 0, 0.9);
    }

    /* FF only temp fix */
    @-moz-document url-prefix() {
        .custom-dropdown__select {
            padding-right: 0.9em;
        }

        .custom-dropdown--large .custom-dropdown__select {
            padding-right: 1.3em;
        }

        .custom-dropdown--small .custom-dropdown__select {
            padding-right: 0.5em;
        }
    }
}

.modal-dialog {
    position: relative;
    display: table;
    /* This is important */
    overflow-y: auto;
    overflow-x: auto;
    width: auto;
    min-width: 300px;
    max-width: 90%;
    margin: 10px auto !important;
}

.quantity-section {
    padding: 5px 15px 15px;
}

#quantity-menu.form-control {
    background-color: #193279;
    color: #FFF;
    padding: 6px 15px;
}

.section-content .nutrition-section {
    padding-bottom: 0px;
}

.nutrition-section LI.row {
    color: #21409A;
    border-bottom: 1px solid #21409A;
}

.nutrition-section .nutrition-category:first-child {
    padding-bottom: 0;
    margin-bottom: 0;
}

.nutrition-category H2 {
    border-bottom: 2px solid #21409A;
    border-top: none;
    padding-top: 0em;
}

.nutrition-category H2.header3 {
    font-size: 250%;
}

.nutrition-info.nutrition-info_calories LI.row {
    padding: 0;
}

.nutrition-category .nutrition-info.nutrition-info_servings {
    border-bottom: 12px solid #21409A;
    margin-bottom: 0;
}

.nutrition-info_servings .row.size {
    font-weight: bold;
}

.nutrition-section .nutrition-category .sub-label {
    border-bottom: 1px solid #21409A;
}

.nutrition-category .nutrition-info.nutrition-info_calories {
    border-bottom: 8px solid #21409A;
}

.nutrition-category .nutrition-info {
    border-bottom: 4px solid #21409A;
}

.nutrition-category .nutrition-info LI.row {
    font-weight: bold;
}

.nutrition-category .nutrition-info LI.row:last-child {
    border-bottom: 0;
}

.nutrition-category .nutrition-info.nutrition-minerals LI.row {
    font-weight: normal;
}

.nutrition-category .nutrition-info .submenu .nutrition-info-submenu,
.nutrition-category .nutrition-info .submenu .nutrition-info-submenu .submenu {
    margin: 0;
    padding: 0;
}

.nutrition-category .nutrition-info .submenu LI.row {
    font-weight: normal;
    font-style: italic;
    list-style-type: none;
    margin: 0;
}

.nutrition-category .nutrition-info .submenu LI.row:last-child {
    border-bottom: 0;
}

.nutrition-category .nutrition-info .submenu LI.row > SPAN[class*="col-"]:nth-child(1) {
    padding-left: 45px;
}

.nutrition-category .nutrition-info .submenu .submenu LI.row > SPAN[class*="col-"]:nth-child(1) {
    padding-left: 45px;
}

.nutrition-category .nutrition-info LI SPAN:nth-child(2) {
    text-align: left;
}

.nutrition-info_servings LI.row {
    border: none;
    padding-top: 0;
}

.nutrition-category .nutrition-footer {
    padding: 0 15px 15px;
    color: #21409A;
}

.nutrition-category .nutrition-footer .wrap {
    border-bottom: 2px solid #21409A;
}

.nutrition-footer .sub-heading {
    color: #21409A;
}

.nutrition-footer .cpg {
    font-size: 1.5em;
    text-align: justify;
    text-align-last: justify;
}

.nutrition-footer .inline.md {
    display: table;
    width: 100%;
    padding: 0;
}

.nutrition-footer .inline.md LI {
    font-size: 1.5em;
    white-space: nowrap;
    display: table-cell;
    position: relative;
    text-align: center;
}

.nutrition-footer .inline.md LI:last-child:after {
    content: none;
}

.bb12 {
    border-bottom: 12px solid #21409A !important;
}

.bb6 {
    border-bottom: 6px solid #21409A !important;
}

.font-large {
    font-size: 2.1em;
    font-weight: bold;
}

.text-right {
    text-align: right !important;
}

P.note {
    font-size: 12px;
    padding: 0 30px 10px 30px;
    margin: 0;
    border: none;
}

.language-btn-group {
    float: right;
}

.language-btn-group > button {
    border-color: #21409a;
}

#Social_Bar {
    max-width: 1480px;
    width: 100%;
    min-height: 50px;
    position: fixed;
    top: auto;
    bottom: 0px;
    margin: auto;
    text-align: center;
    border-top: 2px solid #A1CE57;
    background: rgba(255, 255, 255, .8);
}

#Social_Bar .Social_ShareButton i {
    font-size: 35px;
    margin: 10px;
}

#Social_Bar .Social_ShareButton:nth-child(1) i {
    color: #3b5998;
}

#Social_Bar .Social_ShareButton:nth-child(2) i {
    color: #c8232c;
}

#Social_Bar .Social_ShareButton:nth-child(3) i {
    color: #0084b4;
}