﻿:root {
    --primary: #5FB86F !important;
    --primary-darker: #007855 !important;
}

.afs-getlocation-btn {
    font-size: .9em !important;
}

.afs-product-card-one {
    background-color: #EA8423 !important;
}

.afs-product-card-two {
    background-color: #005E49 !important;
}

.afs-product-card-three {
    background-color: #8AC140 !important;
}

/*Phone number disappearing fix*/
a[href^="tel"] {
    text-decoration: none;
}
/*Phone number disappearing fix*/

.btn-outline-primary:not(:disabled):not(.disabled).active, .btn-outline-primary:not(:disabled):not(.disabled):active, .show > .btn-outline-primary.dropdown-toggle {
    border-color: var(--primary);
    background-color: transparent;
    color: var(--primary);
}


.btn-outline-primary.disabled, .btn-outline-primary:disabled {
    color: inherit;
}
 
.afs-go-to-courses-btn {
    font-family: 'Fjalla One', sans-serif;
    font-weight: normal;
    color: #fff !important;
    height: 40px !important;
    min-height: unset !important;
}

.afs-go-to-courses-btn:hover {
    color: #28a745 !important;
}

#afsRemoveButton {
    background: none !important;
    border: none;
    padding: 0 !important;
    font-weight: bold;
    cursor: pointer;
}

.afs-headline-1 {
    color: #005847;
    -webkit-animation: fadein 6s;
    -o-animation: fadein 6s;
    animation: fadein 6s;
    padding-top: 15px;
}

.afs-headline-2 {
    color: #89be3e;
    -webkit-animation: fadein 6s;
    -moz-animation: fadein 6s;
    -o-animation: fadein 6s;
    animation: fadein 6s;
}

@keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

.afs-category-page-wrapper h1,
.afs-category-page-wrapper h2,
.afs-category-page-wrapper h3 {
    font-family: 'Fjalla One',sans-serif;
    color: #005847;
}

.afs-category-page-wrapper h4,
.afs-category-page-wrapper h5,
.afs-category-page-wrapper h6 {
    font-family: 'Fjalla One',sans-serif;
    color: #141414;
}

.afs-category-page-wrapper p,
.afs-category-page-wrapper ul {
    font-family: 'Lato',sans-serif;
    color: #3C3C3C;
    text-transform: none;
}

.afs-category-page-ul li {
    list-style-type: none
}

.afs-modal {
    position: fixed;
    z-index: 1500000;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgb(0,0,0);
    background-color: rgba(0,0,0,0.8);
}

.afs-modal-content {
    font-family: 'Fjalla One', sans-serif;
    background-color: #fefefe;
    margin: 5vh auto;
    padding: 20px;
    border: 1px solid #888;
    width: 50vw;
    height: 60vh;
}

.afs-modal-center-block {
    margin: auto;
}

.afs-modal-close-icon {
    color: #aaa;
    float: right;
    font-size: 40px;
    font-weight: bold;
}

.afs-modal-close-icon:hover,
.afs-modal-close-icon:focus {
    color: black;
    text-decoration: none;
    cursor: pointer;
}

.afs-modal-center-content {
    margin-top: 100px;
    text-align: center;
}

.afs-modal-message {
    font-size: 45px;
    margin: 1rem auto;
}

.afs-modal-message-user {
    color: #89be3e;
}

@media only screen and (max-width: 1400px) {
    #afsVideoText h3 {
        font-size: 22px !important;
    }

    #afsVideoText h4 {
        font-size: 21px !important;
    }
}



@media only screen and (max-width: 850px) {

    #afsVideoText h3 {
        font-size: 18px !important;
    }

    #afsVideoText h4 {
        font-size: 17px !important;
    }

    .afs-modal-content {
        margin: 5vh auto;
        padding: 10px;
        border: 1px solid #888;
        width: 95vw;
        height: 85vh;
    }

    .afs-modal-center-content {
        margin-top: 50px;
    }

    .afs-modal-message {
        font-size: 35px;
    }

    .afs-product-card-title {
        font-size: 15px !important;
    }

    .afs-dropdown-link-btn {
        font-size: 10px !important;
    }

    .afs-dropdown-link-menu {
        font-size: 10px !important;
    }
}

@media only screen and (max-width: 768px) {

    .afs-food-manager-product-img-div {
        height: 100px;
    }

    .afs-food-manager-product-img {
        object-fit: scale-down;
        border-radius: 10px
    }

    .afs-food-manager-product-dropdown {
        font-size: 8px;
    }

}

@media only screen and (max-width: 700px) {
    #afsVideoText h3 {
        font-size: 16px !important;
    }

    #afsVideoText h4 {
        font-size: 15px !important;
    }

    .afs-checkout-table {
        font-size: 12px
    }

        .afs-checkout-table .form-control {
            padding: 0px 2px !important;
            font-size: 10px !important;
            width: 50px !important;
        }

        .afs-checkout-table .table th {
            padding-left: 1px !important;
            padding-right: 1px !important;
            margin-left: 0 !important;
            margin-right: 0 !important;
            font-size: 12px;
            text-align: left !important;
        }

    .afs-checkout-table, .table td {
        padding: 1px !important;
    }

        .afs-checkout-table h6 {
            font-size: 12px !important;
        }

        .afs-checkout-table .btn {
            width: 60px !important;
            font-size: 10px !important;
            padding-left: 2px !important;
            padding-right: 2px !important;
        }

        /*.afs-checkout-table img, .afs-order-img-th, .afs-order-img-td {
            display: none;
        }*/
}

@media only screen and (max-width: 650px) {
    .afs-modal-content {
    margin: 5vh auto;
    padding: 10px;
    border: 1px solid #888;
    width: 95vw;
    height: 85vh;
}

    .afs-modal-center-content {
        margin-top: 50px;
    }

    .afs-row {
        margin: 25px;
    }

    .afs-modal-message {
        font-size: 15px !important
    }

    .afs-dropdown-link-btn {
        font-size: 8px !important;
    }
}

@media only screen and (max-width: 500px) {
    .afs-getlocation-btn {
        font-size: .55em !important;
    }

    .afs-checkout-table {
        font-size: 8px
    }

    .afs-checkout-table .form-control {
        font-size: 8px !important;
        width: 40px !important;
    }

    .afs-checkout-table .table th {
        font-size: 8px;
    }

    .afs-checkout-table h6 {
        font-size: 8px !important;
    }

    .afs-checkout-table .btn {
        width: 40px !important;
        font-size: 6px !important;
    }

    /*.afs-checkout-table img, .afs-order-img-th, .afs-order-img-td {
        display: none;
    }*/

    .afs-dropdown-link-btn {
        font-size: 6.5px !important;
    }
}

@media only screen and (max-width: 400px) {

    .afs-modal-btn-text, .afs-mobile-product-btn {
        font-size: 10px !important;
    }
}

@media only screen and (max-height: 500px) {
    .afs-modal-content {
        height: 90% !important;
    }
}

/* jQuery tabs */

.ui-tabs {
    /*override jQuery UI styles, do not delete doubled properties*/
    border: none;
    border-radius: 0;
    background: none;
    padding: 0;
    font-family: 'Lato';
    color: #333;
    margin-bottom: 30px;

}

.ui-widget.ui-widget-content.ui-tabs {
    border: none;
}

 .ui-tabs-nav .nav-link {
    border-radius: 0px !important;
}

.ui-tabs-nav {
    margin: 0 0 30px;
    overflow: visible;
    font-size: 0;
    /*override jQuery UI styles, do not delete doubled properties*/
    margin: 0 !important;
    background: none;
    padding: 0 !important;
    line-height: normal;
    font-weight: normal;
    color: #444;
    background: #FFFFFF;
    border: 1px solid #E7E7F1;
    box-shadow: 1px 2px 4px rgba(0, 0, 0, 0.1);
    border-radius: 5px 5px 0px 0px;
    border-bottom: none;
}

    .ui-tabs-nav li {
        margin: 0 0 -1px;
        /*override jQuery UI styles, do not delete doubled properties*/
        float: none !important;
        margin: 0 0 -1px !important;
        border: none !important;
        border-radius: 0;
        background: none !important;
        padding: 0 !important;
    }

        .ui-tabs-nav li a {
            display: block;
            padding: 12px 24px;
            text-align: center;
            font-size: 18px;
            color: #444;
            /*override jQuery UI styles, do not delete doubled properties*/
            float: none !important;
            padding: 12px 14px !important;
        }

        .ui-tabs-nav li.ui-state-active a {
            background-color: #eee;
            color: #4ab2f1;
        }

.ui-tabs-panel {
    /*override jQuery UI styles, do not delete doubled properties*/
    padding: 0 !important;
}

.btn-success.no-hover-effect:hover {
    background-color: var(--success);
    border-color: var(--success);
}

.productTabs > h4 {
    font-weight: 500;
    font-size: 30px;
    line-height: 44px;
    text-transform: uppercase;
    color: #007855;
    margin-bottom: 0px;
}

.productTabs .tab-text {
    font-weight: 500;
    font-size: 20px;
    line-height: 30px;
    color: #5FB86F;
    margin-bottom: 20px;
    font-family: 'Oswald', sans-serif;
}

.group-product-details-page .productTabs > h4.tab-text {
    margin-top: 0px!important;
}

.nav-pills .nav-link.active::before {
    content: "";
    display: block;
    position: absolute;
    bottom: 0;
    left: 0;
    height: calc(100% + 4px);
    width: 100%;
    background: #5FB86F;
    z-index: 1;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
}

.nav-pills .nav-link.active span {
    position: relative;
    z-index: 10;
    transform: translateY(-3px);
    display: block;
}

    .manufacture-block {
        position: relative;
        display: block;
        height: 100px;
        padding: 15px 20px;
        margin: 5px;
        background: #FFFFFF;
        border: 1px solid #FFFFFF;
        box-shadow: 0px 2px 2px rgba(0, 0, 0, 0.1);
    }

.manufacture-image {
   width: 100%;
    height: 100%;
    object-fit: contain;
    mix-blend-mode: multiply;
}

.home-banner {
    background: #5FB86F;
    padding: 25px 0;
}

.home-banner .text-container {
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 100%;
    text-transform: uppercase;
}

    .home-banner .title {
        font-weight: 500;
        font-size: 37px;
        line-height: 50px;
        color: #fff;
        margin-bottom: 15px;
    }

    .home-banner .text a,
    .home-banner .text {
        font-weight: 500;
        font-size: 24px;
        line-height: 36px;
        color: #01593B;
        margin-bottom: 20px;
        width: 100%;
    }

    .home-banner .button-bg {
        display: inline-block;
        background: #459A54;
        border-radius: 100px;
    }

        .home-banner .button-bg a {
            display: inline-block;
            position: relative;
            top: -3px;
            right: 3px;
            display: inline-block;
            background: #FFFFFF;
            border-radius: 100px;
            padding: 10px 35px;
            font-weight: 400;
            font-size: 16px;
            color: #01593B;
            transition: background .3s, color .3s;
        }

            .home-banner .button-bg a:hover {
                background: #007855;
                color: #fff;
                transition: background .3s, color .3s;
            }

    .home-banner .img {
        display: flex;
        align-items: center;
        height: 100%;
    }


.title-container {
    position: relative;
    text-align: center;
}

    .title-container::after {
        content: "";
        width: 50px;
        height: 3px;
        background: #007855;
        display: block;
        position: absolute;
        bottom: 0;
        left: 50%;
        transform: translateX(-50%);
    }

    .title-container .title {
        font-weight: 500;
        font-size: 35px;
        line-height: 52px;
        color: #007855;
        text-align: center;
        text-transform: uppercase;
    }

    .title-container .text {
        font-weight: 500;
        font-size: 20px;
        line-height: 30px;
        color: #5FB86F;
        padding-bottom: 10px;
        display: block;
    }

.title-container-additional-info {
    font-weight: 400;
    font-size: 17px;
    line-height: 25px;
    color: #333333;
    text-align: center;
    margin: 10px 0px;
}

.home-middle {
    margin-top: 50px;
    margin-bottom: 25px;
}

.home-middle .title {
    margin: 0;
    padding: 0;
}


.manufacture-container .title-container {
    margin-bottom: 30px;
}

.manufacture-container .title-container .title {
    padding-bottom: 10px;
}


@media(max-width: 1149px) {
    .home-banner .title {
        font-size: 28px;
        line-height: 35px;
    }

    .home-banner .text {
        font-size: 20px;
        line-height: 25px;
        width: 100%;
    }
}

.html-product-details-page {
    overflow-x: hidden;
}

/*---pager item style---*/
.pager {
    margin: 20px 0 20px;
}

    .pager ul {
        padding: 0;
        margin: 0;
        text-align: center;
        font-size: 0;
    }

    .pager li {
        display: inline-block;
        margin: 5px;
        vertical-align: top;
    }

        .pager li a, .pager li span {
            display: block;
            width: 35px;
            height: 35px;
            border-radius: 100px;
            padding: 8px;
            text-align: center;
            font-size: 16px;
            line-height: 20px;
            font-family: 'Fjalla One', sans-serif;
            cursor: pointer;
            text-decoration: none;
        }

        .pager li span {
            background-color: #5FB86F;
            color: #fff;
        }

        .pager li.previous-page *, .pager li.next-page *, .pager li.first-page *, .pager li.last-page * {
            background-position: center;
            background-repeat: no-repeat;
            font-size: 0;
            color: var(--white);
        }

        .pager li.previous-page a::before {
            content: "<";
        }

        .pager li.next-page a::before {
            content: ">";
        }

        .pager li.first-page a::before {
            content: "<<";
        }

        .pager li.last-page a::before {
            content: ">>";
        }

        .pager li.previous-page a::before,
        .pager li.next-page a::before,
        .pager li.first-page a::before,
        .pager li.last-page a::before {
            color: #333;
            text-align: center;
            font-size: 16px;
            line-height: 20px;
            font-family: 'Fjalla One', sans-serif;
        }

            .pager li a {
                color: #333;
            }

            .pager li a:hover,
            .pager li a:focus {
                background-color: rgba(0, 0, 0, 0.1);
            }


#ProductRegulation {
    position: fixed;
    width: 100%;
    height: 100%;
    left: 50%;
    transform: translateX(-50%);
    top: 0;
    background: rgba(0,0,0,.5);
}


#ProductRegulation .afs-modal-close-icon {
    position: absolute;
    right: 10px;
    top: -6px;
}

#ProductRegulation .afs-modal-content {
    width: 75%;
    max-height: 70vh;
    position: relative;
    overflow: auto;
    height: auto;
    box-shadow: 0 0 2px rgba(0,0,0,.3);
    border: 1px solid #5FB86F;
    padding: 20px 30px 30px;
    top:25%;
}

button.product-spec-btn:disabled {
    background-color: #EBEBEF;
  color: #606975
}

#ProductRegulation .afs-modal-center-content {
    margin-top: 10px;
    text-align: center;
}

#ProductRegulation .productSpecificationAttribute-title h3 {
    color: #007855;
}

#ProductRegulation .productSpecificationAttribute-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 90%;
    margin: 10px auto;
    flex-wrap: wrap;
}

.productSpecificationAttribute {
    width: 48%;
    padding: 15px 0;
    margin: 0 5px 10px;
    text-align: left;
    border-bottom: 2px solid #e1e7ec;
}


.html-product-details-page .productSpecificationAttribute {
    width: 100%;
    border-bottom: none;
    margin: 10px 0;
}

.multivalue-spec .title {
    width: 100%;
    padding: 20px 25px;
}

.product-specs-box dt {
    margin-left: 10px;
    margin-bottom: 10px;
}

.product-specs-box dd {
    border-top: 1px solid #e1e7ec;
    margin-right: 10px;
    margin-left: 10px;
}

.proctor-block-body .card.odd .card-header {
    background-color: #5FB86F;
}

    .proctor-block-body .card.odd .card-header h5 {
        color: #fff;
    }

.proctor-block-body .card.odd .card-body {
    background-color: #f2fce4
}

.proctor-block-body .card.odd .card-header.minus::after {
    color: #fff;
}

.proctor-block-body .card.odd .card-header.plus::after {
    color: #fff;
}


@media(max-width: 767px) {
    .home-banner .row {
        flex-direction: column-reverse;
    }

    .home-banner .img {
        margin-bottom: 20px;
    }

    .home-banner .text-container {
        align-items: center;
        text-align: center;
    }

    .home-banner .title {
        font-size: 21px;
        line-height: 25px;
    }

    .home-banner .text {
        font-size: 16px;
        line-height: 20px;
    }

    .traning-that-work .title,
    .manufacture-container .title {
        font-size: 25px;
        line-height: 35px;
    }

    .traning-that-work {
        text-align: center;
    }

        .traning-that-work .image-bg {
            margin-bottom: 20px;
        }

    .home-middle .title {
        font-size: 26px;
        line-height: 36px;
    }

    .home-middle .text {
        font-size: 19px;
        line-height: 29px;
    }

    .title-container-additional-info {
        font-size: 17px;
        line-height: 23px;
    }

    .default-margin {
        margin-top: 35px;
        margin-bottom: 35px;
    }

    .product-grid {
        margin-bottom: 0px;
    }

    .productSpecificationAttribute {
        width: 100%;
    }
}

@media(max-width: 500px) {
    .group-product-details-page .site-logo {
        width: 85px;
        padding-left: initial;
    }

    .group-product-details-page .navbar {
        min-height: 55px;
    }

        .group-product-details-page .navbar .container {
            min-height: 55px;
        }

    .group-product-details-page .group-product-banner {
        padding: 3px;
        display: none;
    }

    .group-product-details-page .group-product-banner-body,
    .group-product-details-page .group-product-banner-title {
        width: 100%;
    }

        .group-product-details-page .group-product-banner-title h2 {
            font-size: 14px;
            margin-bottom: 5px;
        }

        .group-product-details-page .group-product-banner-body p {
            margin: 0px 0 3px;
            font-size: 12px;
            line-height: 13px;
            font-weight: 400;
        }

    .group-product-details-page .breadcrumb-container {
        display: none;
    }

    .group-product-details-page .product-details-title {
        font-size: 16px;
        line-height: 20px;
        margin: 10px auto;
    }

    .group-product-details-page p.short-description {
        font-size: 13px;
        line-height: 16px;
        margin-bottom: 3px;
    }

        .group-product-details-page p.short-description:after {
            margin: 8px auto;
        }

    .group-product-details-page .padding-top-2x {
        padding-top: 0 !important;
    }

    .group-product-details-page .product-card {
        padding: 7px 7px 0;
    }

    .group-product-details-page .product-thumb,
    .group-product-details-page #video-wrapper {
        margin-bottom: 10px !important;
    }

    .group-product-details-page .product-card .product-title > div {
        font-size: 16px;
        line-height: 20px;
        margin-bottom: 0px;
    }

    .group-product-details-page .product-card .product-title {
        margin-bottom: 0px;
        min-height: initial;
    }

    .group-product-details-page .group-product-details-page .product-card .product-short-description {
        min-height: 75px;
        height: 75px;
    }

    .group-product-details-page .product-card .product-short-description {
        font-size: 13px;
        line-height: 15px;
        margin: 0 0 5px;
        height: 100px;
        min-height: 80px;
    }

        .group-product-details-page .product-card .product-short-description p {
            margin-bottom: 5px;
        }

    .group-product-details-page .product-short-description ul {
        margin-bottom: 5px;
    }

    .group-product-details-page .select-style-wrapper label {
        margin: 0px 0px 5px;
    }

    .group-product-details-page .select2-container--default .select2-selection--single .select2-selection__arrow,
    .group-product-details-page .select2-container .select2-selection--single {
        height: 35px;
    }

    .group-product-details-page .select2-container--default .select2-selection--single .select2-selection__rendered {
        line-height: 35px;
    }

    .group-product-details-page .product-card .product-price {
        font-size: 16px;
        line-height: 1;
        margin: 10px 0;
    }

    .group-product-details-page .product-card .product-buttons {
        margin: 0 -7px;
    }

        .group-product-details-page .product-card .product-buttons > .btn {
            font-size: 14px;
            line-height: 14px;
            height: 26px;
            margin: 0 2px;
            padding: 0 10px;
        }

    .group-product-details-page .product-card .product-buttons {
        height: 70px;
    }
}

.product-grid-wider .grid-item {
    width: 55%;
    margin: auto;
}

.change-password-tag {
    color: var(--primary)!important;
    cursor: pointer;
}


.afs-primary-brand-color {
    color: #007A53
}

.background-whitesmoke {
    background: #F5F5F5
}
#SearchResults > thead > tr > th {
    font-size: 12px
}
#SearchResults > tbody > tr > td {
    font-size: 14px
}

.SearchResultsLinkColumn {
    /*Sets the cells' width to the content's width.*/
    width: 1px;
}