.single article, .single-post article {
    padding-bottom: 0 !important;
}

.single-recipe {
    #primary {
        margin-top: 60px;
    }
    .recipe-gallery .carousel-inner {
        margin-bottom: 25px;
        .item {
            img {
                width: 100%;
                height: 100%;
            }
        }
    }
}

article.recipe {
    //overflow: hidden;
    .main-content {
        margin-top: 40px;
    }
}

.video-container {
    margin-bottom: 15px;
    iframe {
        width: 100%;
        height: 430px;
    }
}

.recipe-gallery {
    .dashicons-arrow-right-alt2:before {
        display: none !important;
    }
    .dashicons-arrow-left-alt2:before {
        display: none !important;
    }
    .dashicons-arrow-right-alt2:after {
        font-family: FontAwesome !important;
        content: "\f105" !important;
        font-size: 14px;
    }
    .dashicons-arrow-left-alt2:after {
        font-family: FontAwesome !important;
        content: "\f104" !important;
        font-size: 14px;
    }
    .carousel-indicators {
        li {
            width: 12px;
            height: 12px;
            margin: 0 5px;
            border: none;
        }
    }
    .carousel-inner{
        .item {
            margin: 0 !important;
            transition: none;
            padding-left: 0;
            padding-right: 0;
        }
    }
    .control-slide-recipe {
        width: 0 !important;
        .dashicons-arrow-right-alt2:before,
        .dashicons-arrow-left-alt2:before {
            font-size: 14px;
        }
        .icon-control-slide-recipe {
            padding: 30px 8px;
            width: auto;
            height: auto;
            top: 40%;
            position: absolute;
            color: @thim_color_black;
        }

        .icon-control-next-slide-recipe {
            right: 0;
        }
    }
}

.entry-meta {
    .fa-circle {
        font-size: 8px;
        color: #ddd;
        margin-left: 10px;
        margin-right: 20px;
        position: relative;
        &::before {
            position: absolute;
            top: -8px;
        }
    }
}

.name-recipe {
    font-size: 36px;
    text-transform: capitalize;
    margin-top: 0;
    margin-bottom: 7px;

}

.link-post-on {
    &:hover {
        text-decoration: none;
    }
    &::after {
        content: ',  ';
    }
    &:last-child {
        &::after {
            content: '';
        }
    }

}

.date-post-on {
    color: #5a5a5a;
    &:hover {
        color: lighten(#5a5a5a, 10%);
        text-decoration: none;
    }
    &::after {
        content: ',  ';
    }
    &:last-child {
        &::after {
            content: '';
        }
    }
}

.recipe-detail-other {
    background-color: #f5f5f5;
    padding-top: 15px;
    padding-bottom: 15px;
    margin-top: 25px;
    margin-bottom: 10px;
    .row {
        margin-right: 0;
        margin-left: 0;
        .recipe-detail-component {
            .col-md-4 {
                padding-right: 0;
            }
            .col-md-8 {
                padding-right: 0;
                padding-left: 20px;
            }
            font-size: 15px;
            padding-left: 20px;
            padding-right: 20px;
            border-right: 1px solid #dddcdc;
            &:last-child {
                border-right: none !important;
            }
            .detail-info {
                margin-bottom: 0;
            }
        }
    }
}

.main-content {
    border-bottom: 1px solid #eeeeee;
    padding-bottom: 30px;
    margin-top: 30px;
    .instructions {
        position: relative;
        overflow: hidden;
        .entry-content {
            margin-bottom: 15px;
            overflow: hidden;
            h3.introduction-recipe {
                font-size: 16px !important;
                font-weight: 700;
                margin-top: 0;
                margin-bottom: 25px;
                padding-bottom: 10px;
                line-height: 100%;
                display: inline-block;
            }
        }
        .recipe-instructions {
            margin-bottom: 75px;
            .step {
                margin-bottom: 30px;
                p {
                    line-height: 25px;
                    margin-bottom: 30px;
                }
                [type="checkbox"] {
                    position: absolute;
                    left: -999999px;
                }
                label {
                    line-height: 100%;
                    position: relative;
                    padding-left: 21px;
                    cursor: pointer;
                    margin-bottom: 20px;
                }
                [type="checkbox"] + label:before {
                    content: '';
                    position: absolute;
                    left: 0;
                    top: 0;
                    width: 14px;
                    height: 14px;
                    .rounded(2px);
                }
                [type="checkbox"] + label:after {
                    content: '✔';
                    position: absolute;
                    top: -2px;
                    left: 2px;
                    font-size: 13px;
                    color: #09ad7e;
                    transition: all .2s;
                    opacity: 0;
                    transform: scale(0);
                }
                [type="checkbox"]:checked + label:after {
                    opacity: 1;
                    transform: scale(1);
                }

                input[type=checkbox]:checked + label {
                    text-decoration: line-through;
                }
                input[type=checkbox]:checked + label + p {
                    text-decoration: line-through;
                }
            }
        }

        .sharing {
            ul {
                list-style-type: none;
                display: inline-block;
                vertical-align: middle;
                margin-bottom: 0;
                li {
                    display: table-cell;
                    padding-right: 10px;
                    > div {
                        display: table-cell;
                        border: 1px solid #eeeeee;
                        width: 42px;
                        height: 42px;
                        margin-right: 10px;
                        text-align: center;
                        vertical-align: middle;
                    }
                    .facebook-social {
                        a {
                            color: #4c67a2;
                            padding: 10px 15px;
                            &:hover {
                                color: lighten(#4c67a2, 10%);
                            }
                        }
                    }
                    .twitter-social {
                        a {
                            color: #00acee;
                            padding: 10px 15px;
                            &:hover {
                                color: lighten(#00acee, 10%);
                            }
                        }
                    }
                    .googleplus-social {
                        a {
                            color: #d77066;
                            padding: 10px 15px;
                            &:hover {
                                color: lighten(#d77066, 10%);
                            }
                        }
                    }
                    .pinterest-social {
                        a {
                            color: #d43b17;
                            padding: 10px 15px;
                            background-image: none !important;
                            &:before {
                                content: "\f0d2";
                                font-family: FontAwesome;
                                padding: 12px;
                                &:hover {
                                    color: lighten(#d43b17, 10%);
                                }
                            }
                        }
                    }
                }
            }
        }
        .wpfp-span {
            display: inline-block;
            vertical-align: middle;
            border: 1px solid #eeeeee;
            padding: 9px 15px;
            a {
                padding: 10px 0;
                margin-left: 5px;
            }
        }
    }
    .recipe-ratings {
        border: 1px solid @border-color;
        padding: 30px;
        .rounded(5px);
        .rating-title {
            margin: 0;
            font-weight: bold;
            font-size: 16px;
            margin-bottom: 10px;
        }
    }
    .ingredients {
        color: @thim_color_white;
        padding: 30px;
        margin-top: 20px;
        .rounded(5px);
        .ingredients-title {
            color: @thim_color_white;
            font-size: 16px;
            font-weight: bold;
            margin-top: 0;
        }
        [type="checkbox"] {
            position: absolute;
            left: -999999px;
        }
        label {
            font-size: 14px;
            font-weight: normal;
            line-height: 100%;
            position: relative;
            padding-left: 21px;
            cursor: pointer;
            margin-top: 20px;
            margin-bottom: 0;
        }
        [type="checkbox"] + label:before {
            content: '';
            position: absolute;
            left: 0;
            top: -1px;
            width: 14px;
            height: 14px;
            border: none;
            background-color: @thim_color_white;
            .rounded(2px)
        }
        [type="checkbox"] + label:after {
            content: '✔';
            position: absolute;
            top: 0;
            left: 2px;
            font-size: 13px;
            color: #09ad7e;
            transition: all .2s;
            opacity: 0;
            transform: scale(0);
        }
        [type="checkbox"]:checked + label:after {
            opacity: 1;
            transform: scale(1);
        }

        input[type=checkbox]:checked + label {
            text-decoration: line-through;
        }

    }
}

.relate-recipe {
    margin-top: 60px;
    h3 {
        line-height: 100%;
        margin-bottom: 40px;
        margin-top: 0;
    }
    .wrap-recipes {
        .item {
            float: left;
            padding-left: 15px;
            padding-right: 15px;
            &:hover {
                .recipe-image {
                    &::before {
                        height: 100%;
                        .transition(all 0.4s ease-out 0s);
                        width: 100%;
                    }
                    &::after {
                        height: 100%;
                        .transition(all 0.4s ease-out 0s);
                        width: 100%;
                    }
                }
            }
            .recipe-image {
                position: relative;
                text-align: center;
                a.link {
                    position: absolute;
                    width: 100%;
                    height: 100%;
                    top: 0;
                    left: 0;
                    z-index: 9;
                }
                &::before {
                    background-color: rgba(255, 255, 255, 0.15);
                    content: "";
                    height: 0;
                    left: 0;
                    margin: auto;
                    position: absolute;
                    top: 0;
                    .transition(all 0.3s ease-out 0s);
                    width: 0;
                    .rounded(5px);
                }
                &::after {
                    background-color: rgba(255, 255, 255, 0.15);
                    bottom: 0;
                    content: "";
                    height: 0;
                    position: absolute;
                    right: 0;
                    .transition(all 0.3s ease-out 0s);
                    width: 0;
                    .rounded(5px);
                }
                > img {
                    max-width: 100%;
                    height: auto;
                    .rounded(5px);
                }

                .rating-star {
                    text-align: center;
                    position: absolute;
                    bottom: -1px;
                    width: 100%;
                    .rating-star-wrap {
                        padding-top: 5px;
                        width: 50%;
                        margin: auto;
                        background-color: @thim_bg_color_white;
                        text-align: center;
                        border-radius: 5px 5px 0 0;
                    }
                }
            }
        }
    }
    .recipe-image {
        position: relative;
        text-align: center;
        a.link {
            position: absolute;
            width: 100%;
            height: 100%;
            top: 0;
            left: 0;
            z-index: 9;
        }
        &::before {
            background-color: rgba(255, 255, 255, 0.15);
            content: "";
            height: 0;
            left: 0;
            margin: auto;
            position: absolute;
            top: 0;
            .transition(all 0.3s ease-out 0s);
            width: 0;
            .rounded(5px);
        }
        &::after {
            background-color: rgba(255, 255, 255, 0.15);
            bottom: 0;
            content: "";
            height: 0;
            position: absolute;
            right: 0;
            .transition(all 0.3s ease-out 0s);
            width: 0;
            .rounded(5px);
        }
        > img {
            .rounded(5px);
        }
        .wrap-play {
            position: absolute;
            width: 100%;
            top: 50%;
            left: 50%;
            -webkit-transform: translate(-50%, -50%);
            transform: translate(-50%, -50%);
            z-index: 10;
            .play-button {
                padding-top: 14px;
                border-radius: 38px;
                opacity: 0.8;
                width: 50px;
                height: 50px;
                margin: auto;
                &:hover {
                    background-color: transparent;
                    border: 2px solid @thim_color_white;
                }
                a {
                    padding: 15px;
                    i {
                        font-size: 20px;
                        color: @thim_color_white;
                    }
                }
            }
        }

        .rating-star {
            text-align: center;
            position: absolute;
            bottom: -1px;
            width: 100%;
            .rating-star-wrap {
                padding-top: 5px;
                width: 50%;
                margin: auto;
                background-color: @thim_bg_color_white;
                text-align: center;
                border-radius: 5px 5px 0 0;
            }
        }

    }
}

.recipe-comments {
    .comments-area {
        margin: 0 !important;
    }
    .comment-reply-link {
        display: none;
    }
    .rateit {
        height: 20px;
        overflow: hidden;
        button.rateit-reset {
            display: none !important;
        }
        .rateit-range {
            height: 20px;
            color: #d3ced2;
            .rateit-selected, .rateit-hover {
                background: none;
                &::before {
                    content: '\f006\f006\f006\f006\f006';
                    font-family: FontAwesome;
                    font-size: 16px;
                    letter-spacing: 4px;
                }
            }
            .rateit-hover {
                width: 0;
                height: 20px !important;
                top: -22px;
                position: relative;
                overflow: hidden;
                color: @thim_body_secondary_color;
            }
        }
    }
}

.single .content-area #comments {
    margin-left: 0;
    .comment-list-inner {
        h2.comments-title {
            font-weight: 400;
            text-transform: none;
            font-size: 20px;
        }
        ol.comment-list li {
            margin-bottom: 20px;
            img {
                width: 50px;
                height: auto;
                padding: 3px;
                background: #ebe9eb;
                border: 1px solid #e4e1e3;
            }
            .content-comment {
                margin-left: 60px;
                border: 1px solid #e4e1e3;
                .rounded(4px);
                position: relative;
                padding: 1em 1em 0;
                .rateit {
                    float: right;
                }
                .author-name {
                    font-size: 0.83em;
                    font-weight: bold;
                    &::before {
                        display: none;
                    }
                    a {
                        &:hover {
                            text-decoration: none;
                        }
                    }

                }
                .comment-extra-info {
                    background: none;
                    padding: 0;
                    text-transform: none;
                    .date {
                        &::before {
                            content: '-';
                            padding-left: 2px;
                        }
                    }
                    .comment-reply-link {
                        color: #000000;
                    }
                }
            }
        }
    }
    .comment-respond-area {
        h3#reply-title {
            text-transform: none;
            font-size: 20px;
            font-weight: 400;
        }
        form {
            .logged-in-as {
                a:first-child {
                    &:hover {
                        text-decoration: none;
                    }
                }
                a:nth-child(2) {
                    color: @thim_color_black;
                    &:hover {
                        text-decoration: none;
                    }
                }
            }
        }
        .comment-form-author, .comment-form-email, .comment-form-url, .comment-form-comment {
            width: 100%;
            label {
                width: 60px;
            }
            input {
                width: auto;
                border: 1px solid #eae8e9;
                .rounded(3px);
                padding: 5px 15px;
            }
        }
        .comment-form-comment {
            margin-bottom: 20px;
            textarea {
                border: 1px solid #eae8e9;
                .rounded(3px);
            }
        }
        .form-submit .submit {
            padding: 5px 20px !important;
            &:extend(.woo-add-to-cart-button a all);
        }
    }
}

.recipe {
    .entry-header {
        position: relative;
        .other-media {
            position: absolute;
            top: 25px;
            right: 0;
            a {
                font-size: 16px;
                color: #ccc;
                &.print {
                    position: relative;
                    &:after {
                        content: '';
                        position: absolute;
                        background: #ccc;
                        height: 27px;
                        width: 1px;
                        right: 23px;
                        top: -3px;
                    }
                }
            }
            a:first-of-type {
                margin-right: 18px;
            }
        }
    }
}