@media (max-width: 767px) {
    body.post-type-archive-recipe .site-content {
        padding-top: 30px !important;
    }
    .post-type-archive-recipe .search-recipe .search-recipe-content {
        padding-bottom: 25px !important;
    }
}

@media (max-width: 768px) {
    div.vc_row.home-icon-box {
        margin-top: -30px !important;
    }
}

@media (max-width: 991px) and (min-width: 768px) {
    div.home-icon-box .icon-box-left {
        text-align: center;
    }
    div.home-icon-box .icon-box-left .icon {
        padding-bottom: 0 !important;
    }
    div.home-icon-box .icon-box-left .content {
        margin-top: 0 !important;
    }
    .home-icon-box.shadow>.wpb_column:after {
        display: none !important;
    }
}

.site-content {
    padding-top: 80px;
    padding-bottom: 80px;
    &.no-padding-top {
        padding-top: 0;
        padding-bottom: 0;
    }
}

body.home {
    .site-content {
        padding-top: 0;
        padding-bottom: 0;
    }
}

.content-area {
    .breadcrumbs-container {
        height: 51px;
        .container {
            height: 100%;
            display: table;

            ul {
                list-style: none;
                margin-bottom: 0;
                display: table-cell;
                vertical-align: middle;
                width: 100%;
                border-bottom: 1px solid #eee;

                li {
                    float: left;
                    display: block;
                    line-height: 1;
                    font-size: 14px;
                    color: #7a7a7a;
                    > strong {
                        font-weight: normal;
                    }
                    a {
                        color: #2a2a2a;
                        font-size: inherit;
                        &:hover {
                            text-decoration: underline;
                        }
                    }
                }
                li + li {
                    &:before {
                        content: "\f054";
                        font-family: FontAwesome;
                        font-size: 7px;
                        color: #333;
                        line-height: 1;
                        padding-left: 11px;
                        padding-right: 11px;
                    }
                }
                &:after {
                    content: "";
                    display: table;
                    clear: both;
                }
            }
        }
    }
}

.single-post {
    .content-area {
        .heading-top {
            .container {
                h1,
                h2 {
                    text-transform: none;
                }
            }
        }
    }
}

.recent-posts {
    .row {
        margin-bottom: 20px;
        .col-md-9 {
            padding-left: 5px;
            p {
                margin-bottom: 0;
            }
        }
        .title {
            a {
                color: @thim_color_white;
                text-decoration: none;
            }

        }
        img {
            width: 70px;
            height: 70px;
            border-radius: 4px;
        }
    }
}

.top_site_main {
    position: relative;
    text-align: center;
    background: @thim_bg_color_white;
    text-transform: uppercase;
    &.top-site-no-image {
        padding-top: 30px;
        padding-bottom: 30px;
        .page-title-wrapper {
            position: static;
        }
    }
    img {
        width: 100%;
        height: auto;
    }
    .page-title-wrapper {
        position: absolute;
        top: 0;
        left: 0;
        right: 0;
        text-align: center;
        height: 100%;
        &:before {
            content: "";
            display: inline-block;
            vertical-align: middle;
            height: 100%;
        }
        .banner-wrapper {
            vertical-align: middle;
            position: relative;
            display: inline-block;
            //			overflow:       hidden;
            .heading__secondary {
                text-transform: capitalize;
                font-weight: normal;
            }
            .banner-description {
                margin-top: 10px;
            }
        }
    }
    .page-title-wrapper {
        .banner-wrapper {
            h1, h2 {
                margin-top: 0;
                color: inherit;
                display: inline-block;
                position: relative;
                span {
                    position: absolute;
                    width: 100%;
                    bottom: -5px;
                    height: 2px;
                    display: inline-block;
                    left: 0;
                }
            }
        }
    }
}

.cake_search_widget {
    display: inline-block;
    .widget-smartsearch {
        padding: 11px 14px;
        display: inline-block;
        background: transparent;
        &:before {
            content: "\f002";
            font-family: FontAwesome;
            font-size: 16px;
        }
    }
}

#header-search-form-input {
    position: absolute;
    top: 0;
    left: 0;
    display: none;
    width: 100%;
    height: 100%;
}

#header-search-form-input input {
    width: 100%;
    z-index: 9999;
    border: none;
    height: 100%;
    font-size: 32px;
    background: transparent;
    padding: 0px 25px;
    color: inherit;
    box-shadow: none;
    font-weight: 400;
}

.ob_list_search {
    z-index: 99999;
    position: relative;
    background: #181818;
    padding: 0 20px;
    overflow: hidden;
    margin-left: 15px;
    margin-right: 15px;
    li {
        list-style: none;
        margin: 10px 0;
        a {
            color: @thim_color_white;
        }
        .search-date {
            font-style: italic;
            font-size: 90%;
            color: @border-color;
            margin-left: 15px;
            &:before {
                content: "\f017";
                font-family: FontAwesome;
                font-style: normal;
                margin-right: 5px;
            }
        }
    }
}

.header-search-close {
    .fa-times {
        font-size: 18px;
        color: #ccc;
    }
}

.main-header-search-form-input {
    position: relative;
    form {
        height: inherit;
        /*position: relative;
        float: right;*/
        input.form-control {
            /*min-width: 300px;*/
        }
        .header-search-close {
            position: absolute;
            right: 0px;
            top: calc(~" 50% - 9px ");
            cursor: pointer;
        }
    }
}

.ob_list_search.active {
    z-index: 999;
    overflow: hidden;
    padding: 0px 40px;
    box-shadow: none;
    list-style: none;
    background-color: #f9f9f9;
    width: 100%;
    position: absolute;
    right: 0px;
    max-height: 440px;
    overflow-y: auto;
    &::-webkit-scrollbar {
        width: 6px;
        height: 30px;
    }
    &::-webkit-scrollbar-track {
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.3);
        border-radius: 6px;
    }
    &::-webkit-scrollbar-thumb {
        border-radius: 6px;
        -webkit-box-shadow: inset 0 0 6px rgba(0, 0, 0, 0.5);
    }

    li {
        list-style: none;
        margin: 20px 0;
        overflow: hidden;
        a {
            color: #2a2a2a;
        }
        .search-date {
            font-style: italic;
            font-size: 90%;
            color: @border-color;
            margin-left: 15px;
            &:before {
                content: "\f017";
                font-family: FontAwesome;
                font-style: normal;
                margin-right: 5px;
            }
        }
        .ob_search_left {
            width: 80px;
            float: left;
            margin-right: 15px;
        }
        .ob_search_right {
            width: calc(~" 100% - 95px ");
            float: left;
            text-align: left;
            a {
                color: #212121;
                font-weight: 600;
                font-size: 14px;
            }
            p {
                color: #444444;
                font-weight: 300;
            }
        }
        &.ob_selected {
            .ob_search_right {
                a {
                    color: #96C4CB;
                }
            }
        }
    }
}

.wpcf7-form {
    margin: 40px 0 0 20px;
    .wpcf7-submit {
        color: @thim_color_white;
        .rounded(5px);
        font-size: @font-size-small;
        &:hover {
            background: @thim_bg_color_white;
        }
    }
    input, select, textarea {
        width: 100%;
        border: 1px solid @border-color;
        padding: 7px 15px;
        font-size: 14px;
        margin-bottom: 30px;
        .rounded(2px);
    }
    span.wpcf7-not-valid-tip {
        margin-top: -30px;
        margin-bottom: 30px;
    }
    textarea {
        height: 200px;
    }
    input[type="date"] {
        padding: 2px 15px;
        &::-webkit-inner-spin-button {
            -webkit-appearance: none;
            display: none;
        }
    }
    .wpcf7-submit {
        margin-bottom: 0;
        .transition();
        font-weight: 700;
        text-transform: uppercase;

    }
}

body.search {
    &.search-no-results {
        header.page-header, h1 {
            margin-top: 0;
            padding-bottom: 0;
        }
        form.search-form {
            width: 300px;
        }
    }
    &.search-results {
        main > div, article {
            width: 100%;
        }
    }
}


.blog .content-inner .post-image img {
    &.attachment-full, &.wp-post-image {
        width: auto;
    }
}

.entry-content figure, .page .figure {
    max-width: 100%;
}

.entry-content, .entry-content >.entry-summary {
    > blockquote {
        margin-left: 30px;
    }
    > dl {
        margin: 0 20px;
    }
    > ul {
        margin: 16px 0;
        padding: 0 0 0 40px;
        list-style-type: square !important;
        ul {
            list-style-type: square !important;
        }
    }

    > ol {
        margin: 16px 0;
        padding: 0 0 0 40px;
    }
}

body.search {
    #contain-search-form {
        width: 50%;
        &:after {
            display: none;
        }
        #searchform {
            position: relative;
            input {
                height: 40px;
                &:focus {
                    box-shadow: none;
                }
            }
            button.search-submit {
                display: inline-block;
                position: absolute;
                top: 0;
                right: 0;
                height: 40px;
                width: 40px;
                text-align: center;
                padding: 0;
                color: @thim_color_white;
                border: none;
                font-size: 15px;
                .rounded(0 5px 5px 0);
                &:focus {
                    outline: none;
                }
            }
        }
    }
}

#customer_login {
    .login {
        .form-row {
            > input {
                height: 40px;
                border-radius: 5px;
                border: 1px solid #CCCCCC;
                color: #7a7a7a;
            }
            input.button {
                background: #fff;
                font-size: 12px;
                text-transform: uppercase;
                padding: 13px 20px;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                -ms-border-radius: 5px;
                -o-border-radius: 5px;
                border-radius: 5px;
                border: 1px solid #dddddd;
                font-weight: 700;
                &:hover {
                    color: #fff;
                }
            }
        }
        .lost_password {
            float: right;
            margin-top: -40px;
        }
    }
    .register {
        .form-row {
            > input {
                height: 40px;
                border-radius: 5px;
                border: 1px solid #CCCCCC;
                color: #7a7a7a;
            }
            input.button {
                background: #fff;
                font-size: 12px;
                text-transform: uppercase;
                padding: 13px 20px;
                -webkit-border-radius: 5px;
                -moz-border-radius: 5px;
                -ms-border-radius: 5px;
                -o-border-radius: 5px;
                border-radius: 5px;
                border: 1px solid #dddddd;
                font-weight: 700;
                &:hover {
                    color: #fff;
                }
            }
        }
    }
}

.woocommerce #respond input#submit.loading, .woocommerce a.button.loading, .woocommerce button.button.loading, .woocommerce input.button.loading {
    opacity: 1;
}

.wpb_gallery .wpb_gallery_slides.wpb_flexslider {
    .flex-control-nav {
        bottom: -50px;
    }
}

.woocommerce-account {
    .site-main a {
    }
    a.button {
        background: @thim_color_white;
        color: @thim_color_black;
        &:hover {
             color: @thim_color_white;
        }
    }
    input.button {
        background-color: @thim_color_white;
         &:hover {
             color: @thim_color_white;
        }
    }
}

//fix Firefox, IE, Edge
@-moz-document url-prefix() {
    @media (max-width: 500px) {
        .home-icon-box .vc_col-sm-12 {
            margin-top: -30px;
        }
    }
    @media (min-width: 500px) {
        .home-icon-box .vc_col-sm-12 {
            margin-top: -130px;
        }
    }
}

@media all and (-ms-high-contrast: none) {
    .home-icon-box .vc_col-sm-12 {
        margin-top: -115px;
    }
}
