// Header
header {
    .navbar {
        border: none;
        margin-bottom: 0;
        background: #fff;

        @media (max-width: 1200px) {
            .container {
                width: 100%;
            }
        }
        .top-header {
            padding: 10px 0;
            background-color: #343434;
            @include cfx;

            @include mqx(t) {
                display: none;
            }
            .navbar-nav {
                color: #fff;
                margin-right: 0;

                @include mqx(m) {
                    margin: 0;

                    li {
                        display: inline-block;
                    }
                }
                a {
                    padding: 0 15px;
                    font-size: 14px;
                    color: #fff;
                }
                .icon {
                    a {
                        padding: 0 15px 0 5px;
                    }
                }
                .lang-dropdown{
                    &.open {
                        a {
                            background: transparent;
                        }
                    }
                    .caret {
                        color: $secondaryColor;
                        margin-left: 3px;
                    }
                    .dropdown-menu {
                        li {
                            a {
                                padding: 6px 15px;

                                span {
                                    color: #000;
                                }
                            }
                        }
                    }
                }
            }
        }
        .top-menu {
            @include mqx(m) {
                display: none;
            }
        }
        .nav-con {
            @include cfx();

            .navbar-header {
                @media (min-width: $tablet) {
                    display: inline-block;
                }
            }
            .navbar-brand {
                height: 78px;

                img {
                    height: 50px;
                }
                @media (max-width: $tablet) {
                    float: none;
                    margin: 0 auto;
                    display: block;
                    width: 145px;

                    img {
                        margin: 0 auto;
                    }
                }
            }
            .navbar-toggle {
                border: none;
                padding: 20px 0;
                float: left;
                margin-left: 15px;

                &:focus,
                &:hover {
                    background: transparent;
                }
                &[aria-expanded=true],
                &.active {
                    .icon-bar {
                        &:nth-of-type(2) {
                            transform: translateY(12px) rotate(45deg);
                        }
                        &:nth-of-type(3) {
                            opacity: 0;
                        }
                        &:nth-of-type(4) {
                            transform: translateY(-8px) rotate(-45deg);
                        }
                    }
                }
                .icon-bar {
                    background: #333;
                    width: 35px;
                    @include trans(.2s);

                    + .icon-bar {
                        margin-top: 8px;
                    }
                }
            }
            .navbar-collapse {
                padding: 0;
            }
            .main-nav {
                @include mqn(t) {
                    margin: 20px 0;
                }
                @include mqx(t) {
                    margin: 0;
                    border-top: 1px solid #efefef;
                    li a {
                        text-align: center;
                    }
                }
                @media (max-width: 1039px) {
                    margin: -2px 0 10px;
                }
                li {
                    a {
                        background: transparent;
                        color: #2D2D2D;
                        font-size: 15px;

                        @media (max-width: 1170px) {
                            font-size: 13px;
                            padding: 15px 10px;
                            font-weight: 600;
                        }
                        @media (max-width: 985px) {
                            padding: 15px;
                            font-size: 15px;
                            font-weight: 800;
                        }
                        &:hover {
                            color: $primaryColor;
                        }
                    }

                    &.active {
                        a {
                            font-weight: 700;

                            &:hover {
                                background-color: transparent;
                            }
                        }
                    }
                }

            }
            .navbar-right {
                margin: 14px 0;

                &.signed{
                    margin: 12px 0;
                }
                //@media (max-width: 985px) {
                //    float: left !important;
                //    margin: -14px 0 10px;
                //}
                @include mqx(t) {
                    @include display_flex;
                    @include flex_justify_content(center)
                }
                .navbar-btn {
                    display: inline-block;
                    float: left;
                    border: 1px solid #ccc;

                    @media (max-width: 1170px) {
                        min-width: 90px;
                    }
                    @include mqx(m) {
                        min-width: auto;
                        padding: 10px;
                        font-size: 13px;
                    }
                    &:hover,
                    &:focus {
                        border: 1px solid $primaryColor;
                        color: #fff;
                    }
                    &.btn-green {
                        &:hover,
                        &:focus {
                            border: 1px solid lighten($secondaryColor, 5%);
                        }
                    }
                }
                .notification{
                    &.open {
                        a {
                            background: transparent;
                        }
                    }
                }
                .cart-dropdown {
                    margin: 0 10px;
                    float: left;

                    > a{
                        padding: 10px 5px;
                        margin-top: 5px;
                    }
                    @media (max-width: 400px) {
                        margin: 0 10px;
                    }
                    &.open {
                        a {
                            background: transparent;
                        }
                    }
                    img {
                        width: 30px;

                        @media (max-width: $mobile) {
                            width: 25px;
                        }
                    }
                    .dropdown-menu.cart{
                        min-width: 240px;

                        .cart-item{
                            @include cfx;
                            margin: 5px 10px;
                            padding: 15px 0;

                            &:first-child{
                                padding: 0 0 15px;
                            }
                            > a{
                                float: left;
                                width: 70px;
                                padding: 0 5px 0 0;
                            }
                            a{
                                @include mqx(t){
                                    padding: 0 !important;
                                }
                            }
                            .cart-content{
                                float: right;
                                width: 145px;
                                padding-right: 5px;

                                @include mqx(t){
                                    margin-top: 0;
                                }
                                a{
                                    padding: 0;
                                    font-size: 13px;
                                    color: $black;
                                }
                                h4{
                                    @include mqx(t){
                                        text-align: left;
                                    }
                                }
                                .price,
                                span{
                                    font-size: 12px;
                                    display: inline-block;
                                }
                                .price{
                                    span{
                                        font-size: 14px;
                                        color: $secondaryColor;
                                    }
                                }
                                > span{
                                    font-size: 12px;
                                    padding-right: 6px;
                                    margin-right: 6px;
                                    border-right: 2px solid $secondaryColor;
                                }
                            }
                            .cart-img{
                                height: 70px;
                                margin: 0 auto;
                                padding: 0 10px;

                                img {
                                    max-width: 40px;
                                }
                            }
                            &.cart-total{
                                margin: 15px 8px;
                                background: #f5f5f5;
                                padding: 15px;
                                @include cfx;

                                .price{
                                    font-size: 14px;
                                }
                            }
                            .shop-content{
                                height: auto;
                            }
                        }
                        .cart-btn{
                            margin: 5px;

                            a{

                                width: 49%;
                                display: inline-block;
                                font-size: 10px !important;
                                font-weight: 800;
                                padding: 10px 20px;
                                min-width: initial;

                                &.btn-green{
                                    @extend .btn-green;
                                }
                                &.btn-green-outline{
                                    @extend .btn-green-outline;
                                }
                            }
                        }
                    }
                }
                .user-dropdown{
                    > a{
                        padding-left: 7px;
                    }
                    img {
                        width: 35px;

                        @media (max-width: $mobile) {
                            width: 30px;
                        }
                    }
                }
            }
        }
    }
}
.user-menu{
    li{
        margin: 5px 0;

        a{
            color: $black;
            padding: 3px 15px;
            text-transform: capitalize;
            font: 500 15px/1 $primaryFont
        }
    }
}
// Hero IMG
.hero-img {
    //height: 440px;
    min-height: 320px;
    width: 100%;
    position: relative;

    &.kitchen-hero {
        padding: 50px 0 80px;
    }
    &.hero-border {
        border-bottom: 8px solid $secondaryColor;
    }
    .hero-text {
        display: block;
        color: #fff;
        position: relative;
        z-index: 1;

        h2 {
            font: 700 36px/1.2 $primaryFont;

            @include mqx(t) {
                font-size: 27px;
            }
        }
        p {
            color: #fff;
            font: 20px/1.4 $primaryFont;

            span {
                font-weight: 700;
            }
            @include mqx(t) {
                font-size: 18px;
            }
        }
        &.hero-black {
            h2, p {
                color: #696969;
            }
            .btn-green {
                display: inline-block;
            }
        }
    }
    &.app {
        background-color: #ECECEC;

        .hand {
            text-align: right;
            position: absolute;
            bottom: 0;
            right: 10%;

            @media (max-width: 1380px) {
                right: 0;
            }
            @media (max-width: 980px) {
                img {
                    width: 80%;
                }
            }
            @include mqx(t) {
                display: none;
            }
        }
        .hero-text {
            text-align: center;
            margin: 20px 0 0;

            h2 {
                color: $secondaryColor;
            }
            p {
                text-align: center;
            }
            @include mqn(t) {
                margin: 30px 0;
                text-align: left;

                h2 {
                    font-size: 24px;
                }
                p {
                    text-align: left;
                    font-size: 18px;
                }
            }
        }
    }
}
.has-items{
    position: relative;

    .notification &{
        &:after {
            right: 10px;
        }
    }
    &:after{
        content: "";
        position: absolute;
        width: 13px;
        height: 13px;
        background: $secondaryColor;
        -webkit-border-radius: 50%;
        -moz-border-radius: 50%;
        border-radius: 50%;
        top: 20px;
        right: 0;
    }

}
.checkbox-custom {
    .form-radio {
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        display: inline-block;
        position: relative;
        background-color: transparent;
        color: #666;
        top: 10px;
        height: 30px;
        width: 30px;
        cursor: pointer;
        margin-right: 10px;
        outline: none;
        border-radius: 3px;
        border: 2.5px solid #f1f1f1;

        &:focus {
            outline: none;
        }
        &:checked::before {
            position: absolute;
            font: 700 18px/1 $primaryFont;
            left: 7px;
            top: 1px;
            content: '\02143';
            /*rtl:ignore*/
            transform: rotate(40deg);
            color: #fff;
        }
        &:hover,
        &:checked {
            background-color: $secondaryColor;
            border: 2.5px solid $secondaryColor;
        }
    }
    label {
        font: 500 18px/1.7 $primaryFont;
        color: #fff;
        cursor: pointer;
    }
    &.black {
        label {
            color: $black;
        }
    }
}

.select-container {
    @include cfx;

    .custom-select {
        position: relative;
        display: block;
        max-width: 400px;
        min-width: 460px;
        margin: 0 auto;
        border: 1px solid #ccc;
        background-color: #fff;
        z-index: 10;
        color: #6D6D6D;
        border-radius: 25px 0 0 0;

        @include mqx(t) {
            max-width: 100%;
            min-width: 60%;
        }
        select {
            border: none;
            outline: none;
            background: transparent;
            -webkit-appearance: none;
            -moz-appearance: none;
            appearance: none;
            border-radius: 0;
            margin: 0;
            display: block;
            width: 100%;
            padding: 15px 55px 13px 25px;
            font-size: 16px;
        }
        &:after {
            position: absolute;
            right: 0;
            top: 0;
            width: 50px;
            height: 100%;
            line-height: 50px;
            content: "\f107";
            font-family: "Font Awesome 5 Free";
            text-align: center;
            z-index: -1;
            font-weight: 700;
        }
    }

    .custom-select,
    .btn {
        display: inline-block;
    }

    .btn-search {
        border-radius: 0 25px 25px 0;
        vertical-align: unset;
        margin: -4px;
        font-size: 19px;
        padding: 15px;
    }
}

input,
textarea {
    display: block;
    width: 100%;
    padding: 15px 55px 13px 25px;
    font-size: 16px;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 10;
    color: #6D6D6D;
    border-radius: 25px 0 0 0;
    resize: none;
    outline: 0;
}

.contact {
    form {
        max-width: 650px;
        margin: 0 auto;

        .custom-select {
            width: 100%;
            max-width: 100%;
        }
    }
}

.feature {
    padding: 10px;

    .feature-img {
        height: 50px;
    }
    h3 {

    }
    p {
        text-align: center;
    }
}

.section-title {
    padding: 10px;
    color: #fff;
    background: $primaryColor;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;

    h2 {
        font-weight: 900;
        font-size: 24px;
    }
}

.product-slider {
    margin: 5px;
}

.product-item {
    text-align: center;
    background: #fff;
    box-shadow: 0 2px 6px rgba(215, 215, 215, .5);
    border: 1px solid #EBEBEB;
    border-radius: 10px;
    outline: none;

    figure {
        height: 175px;
        border-radius: 10px 10px 0 0;
        position: relative;

        .btn-group {
            position: absolute;
            top: 10px;
            right: 15px;

            .btn {
                padding: 0;
                min-width: auto;
                background: transparent;
                outline: none;
                box-shadow: none;
                margin: 0;
                color: #fff;

                &:hover,
                &:focus {
                    color: #fff;
                    background-color: transparent;
                }
            }
            .dropdown-menu {
                left: initial;
                right: 0;
                padding: 10px;
                border-radius: 10px;

                li {
                    border-top: 1px solid $grayColor;

                    a {
                        padding: 5px;
                        color: #7B7B7B;
                        font-size: 14px;

                        &:hover {
                            background: transparent;
                            color: $secondaryColor;
                        }
                    }
                    &:first-child {
                        border-top: 0;

                        a {
                            padding-top: 0;
                        }
                    }
                    &:last-child {
                        a {
                            padding-bottom: 0;
                        }
                    }
                }
            }
        }
    }
    .btn {
        display: inline-block;
        min-width: 140px;
        margin-top: -21px;
        font-size: 18px;
        position: relative;
    }
}

.product-info {
    padding: 0 20px;

    h3 {
        a {
            display: block;
            font-size: 20px;
            color: #696969;
            background: #EBEBEB;
            border-radius: 25px;
            padding: 15px;
        }
    }
    .price {
        font-size: 22px;
        color: $secondaryColor;
        font-weight: 700;
    }
    .meal-data {
        span {
            display: inline-block;

            img {
                display: inline-block;
                vertical-align: middle;
                position: relative;
                top: -2px;
            }
        }
    }
}

.more-details {
    display: block;
    position: relative;
    color: #000;
    margin: 0 20px 20px;

    &:after {
        content: '•';
        position: absolute;
        left: 0;
        top: 0;
        color: $secondaryColor;
    }
}

.list-view {
    .col-md-4 {
        width: 100%;

        > .mbxlg {
            margin-bottom: 0;
        }
        &:first-child {
            .product-item {
                border-top: 0;
            }
        }
    }
    .product-item {
        @include cfx;
        box-shadow: none;
        border: 0;
        border-top: 1px solid #EBEBEB;
        border-radius: 0;
        padding: 20px 0;

        .btn {
            margin-top: 0;
            float: right;
            @include cfx;
        }
        a.more-details {
            text-align: right;
            float: right;
            width: 30%;
            margin: 20px 0 0;
        }
        figure {
            float: left;
            width: 200px;
            height: 150px;
            border-radius: 0;
        }
        .product-info {
            float: left;
            padding: 0 20px;

            .rate-con {
                text-align: left;
                margin: 0;
            }
            h3 {
                a {
                    padding: 0;
                    background: transparent;
                    text-align: left;
                }
            }
            .price {
                text-align: left;
            }
            .meal-data {
                margin-bottom: 0;
            }
        }
    }
}

.hero-subscribe {
    .input-group {
        position: relative;
        display: block;

        .form-control {
            width: 100%;
            border-radius: 25px;
            background: rgba(255, 255, 255, .5);
            border: 0;
            padding: 10px 25px;
            height: 50px;
            color: #fff;

            &::placeholder {
                color: #fff;
                opacity: 1;
            }

            &:-ms-input-placeholder {
                color: #fff;
            }

            &::-ms-input-placeholder {
                color: #fff;
            }
        }
        .btn {
            background: transparent;
            position: absolute;
            top: 4px;
            right: 0;
            z-index: 10;
            min-width: auto;
        }
    }
}

.brand {
    outline: 0;
    padding: 10px;

    .logo {
        width: 140px;
        height: 130px;
        padding: 22px;
        border-radius: 50%;
        box-shadow: 0 1px 9px rgba(0, 0, 0, 0.3);
        margin: 0 auto;

        img {
            display: inline-block;
            max-width: 90px;
        }
    }
    h3 {
        font-size: 18px;
        color: $black;
    }
}

.download {
    a {
        max-width: 260px;
        display: block;

        img {
            width: 100%;
        }
        @include mqx(t) {
            margin: 15px auto;
        }
    }
}

// Footer
footer {
    padding: 30px 0 0;
    background: #fff;

    @media (max-width: 1200px) {
        .container {
            width: 100%;
        }
    }
    .logo-footer {
        max-width: 145px;
    }
    .footer-social {
        li {
            display: inline-block;
            margin-right: 15px;

            a {
                color: $grayColor;
                font-size: 21px;

                &:hover {
                    color: $primaryColor;
                }
            }
        }
    }
    .quick-links {
        h3 {
            font-weight: 600;
        }
        li {
            margin: 7px 0;

            a {
                color: #8D8D8D;
            }
        }
        .select-container {
            position: relative;

            input {
                border-radius: 5px;
                padding: 13px;
            }
            button {
                position: absolute;
                right: 0;
                top: 0;
                border-radius: 0 5px 5px 0;
                min-width: auto;
                margin: 1px;
                padding: 12px 15px;

                i {
                    line-height: 23px;
                }
            }
        }
        .payment-methods {
            li {
                display: inline-block;
                margin-right: 10px;
            }
        }
    }
}

.copyright {
    background-color: #2A2A2A;

    h4 {
        padding: 10px 0;
        color: #fff;
        font-size: 14px;
    }
}

.about {
    h2 {
        font-weight: 600;
        font-size: 24px;
    }
    p {
        font-size: 18px;
    }
}

.term-card {
    padding: 50px;
    box-shadow: 0 2px 4px rgba(205, 205, 205, .5);
    -webkit-border-radius: 8px;
    -moz-border-radius: 8px;
    border-radius: 8px;
    background: #fff;

    h2 {
        color: $primaryColor;
        font-size: 50px;
    }
}

.faq-card {
    @extend .term-card;
    padding: 30px;

    @include mqx(t){
        margin-bottom: 15px;
        padding: 30px 20px;
    }
    h2 {
        font-size: 20px;
        color: #2D2D2D;
        line-height: 27px;
        font-weight: 600;
    }
    .feature {
        padding: 0;
    }
    .hero-subscribe {
        .input-group {
            display: table;
        }
        .form-control {
            background: #f3f3f3;
            color: $black;
        }
        .input-group-append {
            i {
                color: $secondaryColor;
            }
        }
    }
}

.select {
    position: relative;
    display: block;
    width: 100%;
    min-width: 100%;
    margin: 0 auto;
    border: 1px solid #ccc;
    background-color: #fff;
    z-index: 10;
    color: #6D6D6D;
    border-radius: 25px;

    select {
        border: none;
        outline: none;
        background: transparent;
        -webkit-appearance: none;
        -moz-appearance: none;
        appearance: none;
        border-radius: 0;
        margin: 0;
        display: block;
        width: 100%;
        padding: 12px 25px;
        font-size: 14px;

        option {
            padding: 5px;
        }
    }
    &:after {
        position: absolute;
        right: 0;
        top: -2px;
        width: 50px;
        height: 100%;
        line-height: 50px;
        content: "\f107";
        font-family: "Font Awesome 5 Free";
        text-align: center;
        z-index: -1;
        font-weight: 700;
    }
}

.sortby {
    @include cfx;

    .sortbyse {
        @include cfx;

    }
    .switcher {
        @include cfx;
        @include mqx(m){
            display: none;
        }
        ul.switch {
            float: right;
            li {
                display: inline-block;
                padding: 0 5px;
                margin: 8px 2px 0;

                a {
                    color: #c0c0c0;
                    font-size: 22px;
                    @include trans(.2s);

                    &:hover {
                        color: $secondaryColor;
                    }
                }
                &.active {
                    a {
                        color: $secondaryColor;
                        @include trans(.2s);
                    }
                }
            }
        }
    }
    span {
        font: 15px/2 $primaryFont;
        float: left;
    }
}

.search {
    .select-container {
        input {
            display: block;
            width: 100%;
            padding: 12px 25px;
            font-size: 14px;
            border-radius: 25px;
        }
        button {
            position: absolute;
            right: 25px;
            top: 9px;
            padding: 5px;
            min-width: 50px;
            color: $grayColor;

            &:hover {
                background: transparent;
                color: $black;
            }
        }
    }
}

.aside-check {
    .checkbox-custom {
        label {
            color: $black;
        }
    }
}

.filter-c {
    .panel-group {
        .panel-title {
            a {
                background: #F9F9F9;
                color: #474747;
                padding: 15px 25px;
                display: block;
                border-radius: 25px;
                font-size: 18px;
                border: 1px solid #E9E9E9;

                i {
                    @include trans(.2s);
                }
                &[aria-expanded="true"] {
                    background: $secondaryColor;
                    color: #fff;
                    border: 1px solid $secondaryColor;

                    i {
                        transform: rotate(180deg);
                    }
                }

            }
        }
        .panel-body {
            padding: 0;

            ul {
                padding: 15px;

                li {
                    border-top: 1px solid $borderColor;

                    &:first-child {
                        border-top: 0;
                    }
                    a {
                        display: block;
                        padding: 15px 0;
                        font-size: 16px;
                        color: $black;

                        &:hover {
                            color: $secondaryColor;
                            font-weight: 700;
                        }
                    }

                    &.active {
                        a {
                            color: $secondaryColor;
                            font-weight: 700;
                        }
                    }
                }
            }
        }
    }
}

.range-container {
    margin-top: 30px;

    .range-slider {
        padding: 0 10px;

        #slider {
            background: #ececec;
            border: 0;
            height: .4em;

            .ui-state-default, .ui-widget-content .ui-state-default {
                border-radius: 50%;
                outline: 0;
                top: -.42em;
                background-color: $secondaryColor;
            }
            .ui-state-active, .ui-widget-active .ui-state-active {
                border: 1px solid darken($secondaryColor, 10%);
            }
        }
    }
    .range-inputs {
        margin: 15px 0;

        .range-input {
            width: 50%;
            float: left;

            &:first-child {
                input {
                    border-radius: 25px 0 0 25px;
                }
            }
            &:last-child {
                input {
                    border-radius: 0 25px 25px 0;
                }
            }
            label {
                font: 700 14px/1 $primaryFont;
                margin-bottom: 9px;
            }
            input {
                width: 100%;
                text-align: center;
                border: 1px solid $grayColor;
                font: 15px/1 $primaryFont;
            }
        }
    }
}

.custom-radio {
    margin: 0;
    list-style-type: none;

    label {
        padding: .5em;
        color: $grayColor;
        border: solid 1px $grayColor;
        cursor: pointer;
        -webkit-user-select: none;
        user-select: none;
        -webkit-transition: all .2s linear;
        transition: all .2s linear;
        width: 100%;
        text-align: center;
        line-height: normal;
    }
    li {
        width: 49%;
        float: left;

        &:first-child {
            label {
                border-radius: 25px 0 0 25px;
            }
        }
        &:last-child {
            label {
                border-radius: 0 25px 25px 0;
            }
        }
    }

    input[type="radio"] {
        display: none;
    }

    input[type="radio"]:checked + label {
        border-color: $secondaryColor;
        color: $secondaryColor;
    }
}

.modal-dialog {
    @include mqn(t) {
        width: 535px;
        //margin: 0;
        //position: absolute;
        /* rtl:ignore */
        //left: 50%;
        /* rtl:ignore */
        //top: 50%;
        /* rtl:ignore */
        //transform: translate(-50%,-50%);
        /* rtl:ignore */
        //-webkit-transform: translate(-50%,-50%);
    }
    .modal-content {
        border-radius: 8px;
    }
    .modal-header {
        position: absolute;
        z-index: 1;
        width: 100%;
        border-bottom: 0;

        button {
            color: $black;
            outline: none;
        }
    }
    .modal-body {
        padding: 0;
    }
    .quick-view {
        margin-bottom: 20px;

        .quick-item {
            height: 350px;
            border-radius: 8px 8px 0 0;
        }
        .slick-dots {
            bottom: 15px;

            li {
                button {
                    border: 2px solid #fff;
                    background: transparent;
                }
                &.slick-active {
                    button {
                        background: #fff;
                    }
                }
            }
        }
    }
    .product-info {
        h3 {
            a {
                padding: 0;
                background: transparent;
                font-size: 24px;
            }
        }
        .price {
            font-size: 28px;
        }
        .more-details {
            width: 50%;
            color: #B3B3B3;
            margin: 0 auto;

            &:after {
                left: -10px;
            }
        }
    }
    .modal-footer {
        border-top: 0;
        text-align: center;
    }

    &.main-model {
        @include mqn(t) {
            max-width: 850px;
            width: 90%;
        }
        .modal-body {
            padding: 50px;

            @include mqx(t) {
                padding: 50px 20px;
            }
        }
    }
    .content-head {
        h3 {
            font-size: 35px;
        }
    }
    form {
        .select-container .custom-select {
            max-width: 100%;
            width: 100%;
        }

        button {
            display: block;
            width: 100%;
        }
    }
}

.tab-g {
    .nav-tabs {
        border-bottom: 0;

        > li {
            float: none;
            display: inline-block;

            a {
                @extend .btn-secondary;
                border-radius: 25px;

                &:hover,
                &:focus {
                    background: darken(#ccc, 10%);
                    color: $black;
                }
            }

            &.active {
                a {
                    color: #fff;
                    background: $secondaryColor;

                    &:hover,
                    &:focus {
                        color: #fff;
                        background: $secondaryColor;
                    }
                }
            }
        }
    }
    .tab-content {
        margin-top: 40px;
    }
}

.deals-filter {
    li {
        border-top: 1px solid $grayColor;

        &:first-child {
            border-top: 0;
        }
        a {
            display: block;
            padding: 15px 0;
            font-size: 16px;
            color: $black;
        }
        &.active {
            a {
                font-weight: 600;
                color: $secondaryColor;
            }
        }
    }
}

.avatar-img {
    &.kitchen-img {
        margin-top: -120px;
        position: relative;
    }
    .a-img {
        border-radius: 50%;
        width: 120px;
        height: 120px;
        margin: 0 auto;
    }
}

.closed {
    background: #D0021B;

    p {
        padding: 10px 0;
        color: #fff;
    }
}

.meal-hero {
    height: 200px;
    border-radius: 10px;
}

.meal {
    .product-info {
        padding: 0;

        h3 {
            a {
                padding: 0;
                background: transparent;
            }
        }
    }
}

.weekly-meals {
    .meal-img {
        height: 150px;
        border-radius: 8px;
        box-shadow: 0 2px 4px rgba(0, 0, 0, .5);
    }
    .meal-data {
        h4 {
        }
    }
}

.comment-section {
    textarea {
        max-height: 160px;
    }
}

.checkout {
    .feature-img {
        height: auto;

        img {
            width: 55px;
        }
    }
    .checkout-card {
        @include mqn(t) {
            padding: 60px;
        }

        padding: 30px;
    }
    .checkbox-custom label {
        color: #2D2D2D;
    }
}

.date-time {
    @include cfx;

    .input-field {
        float: left;
        background: #f1f1f1;
        border-radius: 0;
        height: 50px;
        border: none;
        width: 50%;
        min-width: auto;

        &:first-child {
            border-right: 1px solid #E4E4E4;
        }
    }
}

.nickname {
    @extend .date-time;

    .select {
        float: none;
        width: 100%;
    }
}

.product-list {
    li {
        margin-top: 15px;

        &:first-child {
            margin-top: 0;
        }
        span {
            line-height: 25px;
            width: 25px;
            background: $secondaryColor;
            color: #fff;
            text-align: center;
            border-radius: 50%;
            display: inline-block;
        }
    }
}

.new-address {
    display: none;
}

#map,
#address-map{
    height: 400px;
}

.sign {
    @include mqn(t) {
        .modal-dialog {
            width: 800px;
        }
    }
    .modal-body {
        padding: 0 50px;
    }
    .modal-content {
        border-top: 5px solid $secondaryColor;
    }
    .tab-g {
        margin: 50px 0;
    }
    .modal-footer {
        padding: 0;

        .btn {
            &.d-inline {
                width: 49%;
                display: inline-block;
            }
        }
    }
    .checkbox-custom {
        label {
            color: $black;
        }
    }
}

.forget {
    line-height: 40px;
    color: $secondaryColor;

    &:hover {
        color: darken($secondaryColor, 10%);
    }
}

.social {
    a {
        width: 270px;
        color: #fff;
        line-height: 2.7;
        font-size: 16px;
        display: inline-block;
        text-decoration: none;
        -webkit-transition: all .2s ease-in-out;
        transition: all .2s ease-in-out;
        font-weight: 600;

        &.facebook {
            background: #4267b2;

            &:hover {
                background: darken(#4267b2, 10%);
            }
        }
        &.google {
            background: #dd5144;

            &:hover {
                background: darken(#dd5144, 10%);
            }
        }
    }
}

.dvider-or {
    position: relative;

    &:after {
        content: "";
        width: 100%;
        height: 2px;
        background: #DFDFDF;
        position: absolute;
        top: 50%;
        left: 0;
        z-index: 0;
    }
    span {
        line-height: 40px;
        background: #fff;
        box-shadow: 0 2px 4px rgba(205, 205, 205, .5);
        border-radius: 50%;
        position: relative;
        z-index: 1;
        padding: 20px;
    }
}

.chef {
    .feature {
        padding: 25px;
    }
}
.faq{
    strong{
        color: $black;
    }
}
.chef-benefits {
    .faq-card {
        h3 {
            @include flex_align_items(center);
            @include flex_justify_content(center);
            @include display_flex();
            text-align: center;
            @media (max-width: $laptop) {
                display: block;
            }
            min-height: 90px;
            font-size: 22px;
            line-height: 27px;
        }
    }
}

.timeline-content {
    .avatar-img {
        display: inline-block;
        width: 120px;
        height: 120px;
        line-height: 100px;
        border-radius: 50%;
        font-size: 30px;
        text-align: center;
        box-shadow: inset 0 0 10px rgba(0, 0, 0, .4);
        position: absolute;
        top: 0;
        left: 0;
    }
}

.main-timeline4 {
    overflow: hidden;
    position: relative;

    &:before {
        content: "";
        width: 3px;
        height: 96%;
        background: #E5E5E5;
        position: absolute;
        top: 70px;
        left: 50%;
        transform: translateX(-50%)
    }
    .timeline {
        width: 50%;
        //padding-left: 100px;
        float: right;
        position: relative;

        &:before {
            width: 20px;
            height: 20px;
            border-radius: 50%;
            background: #fff;
            border: 5px solid #333;
            position: absolute;
            left: -10px;
        }
    }
    .timeline-content {
        display: block;
        padding-left: 150px;
        position: relative
    }
    .inner-content {
        padding: 20px 0
    }
    .title {
        font-size: 24px;
        text-transform: uppercase;
        margin: 0 0 5px;
        color: $black;
    }
    .order-id{
        font-size: 14px;
        color: #b1b1b1;
    }
    .date{
        color: $secondaryColor;
        font-size: 24px;
    }
    .time{
        color: $grayColor;
    }
    .timeline:nth-child(2n) {
        //padding: 0 0 0 100px;
        margin-top: 200px;

        .timeline-content .avatar-img{
            @include mqn(t) {
                right: 0;
                left: initial;
            }
        }
    }
    .timeline:nth-child(2n) .timeline-content {
        padding: 0 150px 0 0;

        &:before {
            right: -92px;
        }
    }

    .timeline:nth-child(odd) {
        margin: 0;

        @include mqn(t) {
            position: relative;
            right: 60px;
        }
    }
    .timeline:nth-child(even) {
        margin-bottom: 80px;

        @include mqn(t){
            position: relative;
            right: -60px;

            .inner-content{
                text-align: right;

                .date{
                    text-align: right;
                }
            }
        }
    }
}

@media only screen and (max-width: 990px) {
    //.main-timeline4 .timeline {
    //    padding-left: 75px
    //}
    //.main-timeline4 .timeline:nth-child(2n) {
    //    padding: 0 75px 0 0
    //}
    .main-timeline4 .timeline-content {
        padding-left: 130px
    }
    .main-timeline4 .timeline:nth-child(2n) .timeline-content {
        padding: 0 130px 0 0
    }
    .main-timeline4 .timeline:nth-child(2n) .timeline-content:before {
        right: -68px
    }
}

@media only screen and (max-width: 767px) {
    .main-timeline4 {
        overflow: visible
    }
    .main-timeline4:before {
        height: 100%;
        top: 0;
        left: 0;
        transform: translateX(0)
    }
    .main-timeline4 .timeline:before, .main-timeline4 .timeline:nth-child(2n):before {
        top: 60px;
        left: -9px;
        transform: translateX(0)
    }
    .main-timeline4 .timeline, .main-timeline4 .timeline:nth-child(even), .main-timeline4 .timeline:nth-child(odd) {
        width: 100%;
        float: none;
        text-align: center;
        padding: 0;
        margin: 0 0 40px 20px
    }
    .main-timeline4 .timeline-content, .main-timeline4 .timeline:nth-child(2n) .timeline-content {
        padding: 0;
        @include cfx;
    }
    .main-timeline4 .inner-content {
        padding: 20px;
        float: left;
        width: 60%;
        text-align: left;
    }
    .timeline-content .avatar-img{
        float: left;
        position: initial;
    }
}
.item-shop {
    border-radius: 3px;
}
.single-item {
    border-bottom: 2px solid #e5e5e5;
}
.cart-item.cart-total {
    margin: 15px 8px;
    background: #f5f5f5;
    padding: 15px;
}
.feature{
    .input-group-btn{
        padding: 0;

        .btn-green{
            padding: 17px;
        }
    }
}
.custom-radio-btn {
    .active{
        background-color: $secondaryColor;
        color: #fff;
    }
    .notActive{
        color: $secondaryColor;
        background-color: #fff;
        cursor: pointer;

        &:hover,
        &:focus{
            color: #fff;

        }
    }
}
#custom-name{
    display: none;
}
.available{
    background-color: #ff9e0f;
    padding: 15px;
    color: #fff;
}
.js{
    .avatar-img{
        .file-btn{
            padding: 8px 11px;
            border-radius: 50%;
            width: 35px;
            height: 35px;
            font-size: 14px;
        }
        .upload-container{
            position: relative;
            right: -50px;
        }
    }
}
#fullCalModal{
    .modal-dialog{
        @media (min-width: 768px){
            width: 371px;
        }
    }
}
.address-card{
    padding: 20px;

    .address-head{
        @include cfx;

        h3{
            color: $secondaryColor;
        }
    }
    .address-details{
        p{
            margin-bottom: 5px;
        }
    }
    .address-footer{
        @include cfx;

        .default{
            font-size: 16px;
            margin-top: 3px;

            a{
                color: $secondaryColor;
            }
        }
        .act-address{
            a{
                &.edit{
                    color: $secondaryColor;
                }
                &.delete{
                    color: #D0021B;
                }
                font-size: 15px;

                i{
                    font-size: 17px;
                }

            }
        }
    }
}
.bookmark-card{
    @extend .term-card;
    padding: 0;

    .avatar-img.kitchen-img{
        margin-top: -60px;
        height: 135px;
    }
}
.credit{
    font-size: 60px;
    color: $secondaryColor;
}
.multi-steps-wrap {
    background-color: #fff;
    padding: 15px 0 0;
    margin: 0;

    @include mqx(m){
        .multi-steps-wrap {
            margin: 0;
        }
    }
    .multi-steps {
        display: table;
        table-layout: fixed;
        width: 100%;

        > li {
            counter-increment: stepNum;
            text-align: center;
            display: table-cell;
            position: relative;
            color: $secondaryColor;
            font-size: 12px;
            z-index: 1;
            font-weight: 600;

            &:before{
                content: "\f00c";
                display: block;
                margin: 0 auto 4px;
                background-color: #fff;
                width: 46px;
                height: 46px;
                line-height: 40px;
                text-align: center;
                font-family: "Font Awesome 5 Free";
                font-weight: 600;
                font-size: 18px;
                border: 2px solid $secondaryColor;
                border-radius: 50%;
            }
            &.step-done{
                &:before{
                    background-color: #7FB017;
                    border-color: #7FB017;
                    color:#fff;
                }
            }
            &:after{
                content: "";
                height: 2px;
                width: 100%;
                background-color: $secondaryColor;
                position: absolute;
                top: 20px;
                left: 50%;
                z-index: -1;
            }
            &:first-child{
                &.is-active{
                    &:before{
                        content: "\f00c";
                    }
                }
            }
            &:last-child{
                &:after{
                    display: none;
                }
                &.is-active{
                    &:before{
                        content: "\f00c";
                    }
                }
            }
            &.is-active{
                &:before{
                    background-color: $secondaryColor;
                    border-color: $secondaryColor;
                    color: #fff;
                }
                &:before,
                ~ li:before{
                    font-family: "Font Awesome 5 Free";
                    font-weight: 600;
                }
                &:after,
                ~ li:after{
                    background-color: #d4d4d4;
                }
                ~ li {
                    color: #808080;

                    &:before{
                        background-color: #eee;
                        border-color: #fff;
                    }
                }
            }
            &.canceled {
                border-color: red;
                color: red;

                &:before{
                    content: '\f00d';
                    background-color: red;
                    border-color: red;
                    color: white;
                }
            }
        }
    }
}
.order-summery{
    .order-de{
        @include cfx;

        .label-img{
            width: 40px;
            height: 40px;
            text-align: center;

            img{
                height: 100%;
            }
        }
        .order-label{
            label{
                font: 700 18px/1 $primaryFont;
                color: $black;
            }
            p{

            }
        }
    }
}
.share-social{
    span{
        font: bold 16px/1 $primaryFont;
        color: $black;
    }
    a{
        color: $black;
        padding: 0 8px;

        &:hover{
            @include trans;
            color: $secondaryColor;
        }
    }
}

.shop-head{
    padding: 15px 40px;
    background: #f5f5f5;
    border-radius: 5px;

    &.shopping-head{
        @include mqx(t){
            display: none;
        }
    }

    h3{
        font-size: 18px;

        @include mqx(d){
            font-size: 20px;
        }
        @include mqx(l){
            font-size: 18px;
        }
    }
    a{
        color: $secondaryColor;

        &:hover,
        &:focus{
            color: lighten($secondaryColor, 15%);
        }
    }
}
.item-shop{
    border-radius: 5px;
    height: 110px;

    @include mqx(t){
        margin-bottom: 15px;
    }
}
.single-item{
    border-bottom: 2px solid #e5e5e5;

    .shop-content{
        height: 100px;

        @include mqx(l){
            &.vcenter{
                display: flex;
            }
        }
        @include mqx(l){
            height: 100px;
        }
        @include mqx(t){
            height: auto;
            margin-bottom: 15px;
        }
        h4{
            line-height: 1.4;

            @include mqx(l){
                font-size: 16px
            }
            a{
                &:hover,
                &:focus{
                    color: $secondaryColor;
                }
            }
        }
        a{
            font-size: 16px;
            color: $black;

            &:hover,
            &:focus{
                color: $primaryColor;
            }
        }
        &.end{
            justify-content: space-evenly;
        }
        span{
            font-size: 16px;
        }
        .price{
            font-size: 18px;

            &.total{
                font-size: 25px;
                color: $secondaryColor;
            }
            sub{
                font-size: 18px;
                font-weight: 600;
            }
        }
    }
}
.shopping-btn{
    @include mqx(m){
        .mrlg{
            margin-right: 10px;
        }
    }
}
.qty{
    .qty-content{
        @include cfx;
        border: 2px solid #e0e0e0;
        border-radius: 5px;
        height: 48px;
    }
    label{
        color: $secondaryColor;
        font-size: 16px;
    }
    .qty-btn{
        color: $black;
        display: block;
        background: #fff;
        font-size: 25px;
        width: 50px;
        line-height: 43px;
        text-align: center;
        float: left;

        &:hover,
        &:focus{
            color: $secondaryColor;
        }
    }
    input{
        width: 60px;
        float: left;
        border: none;
        line-height: 20px;
        border-left: 2px solid #e0e0e0;
        border-right: 2px solid #e0e0e0;
        margin: 0;
        padding: 13px;
        border-radius: 0;
        text-align: center;
        background: transparent;
    }
    input[type=number]::-webkit-inner-spin-button,
    input[type=number]::-webkit-outer-spin-button {
        -webkit-appearance: none;
        -moz-appearance: textfield;
        margin: 0;
    }
}
.bootstrap-datetimepicker-widget{
    .glyphicon{
        font-family: "Font Awesome 5 Free";
        font-weight: 600;

        &.glyphicon-chevron-left{
            &:before{
                content:'\f053';
            }
        }
        &.glyphicon-chevron-right{
            &:before{
                content:'\f054';
            }
        }
        &.glyphicon-chevron-up{
            &:before{
                content:'\f077';
            }
        }
        &.glyphicon-chevron-down{
            &:before{
                content:'\f078';
            }
        }
    }
    table td.today:before{
        border:none;
    }
    table td.active,
    table td.active:hover{
        background-color: $secondaryColor;
    }
    button[data-action]{
        background-color: $secondaryColor;
        color: #fff;

        &:hover, &:focus {
            background: none;
            outline: 0;
            background: lighten($secondaryColor, 5%);
        }
    }
    .btn{
        padding: 0 !important;
        border: none;
        min-width: initial;
        display: initial;

        &:hover,
        &:focus{
            background: none;
            color: #333;
        }
    }
    .btn[data-action=togglePeriod]{
        padding: 6px !important;
    }
}