.site-content {
    position: relative;
    z-index: 222;
}
.smrc-recipe {
    padding: 60px 0 40px;
}
.smrc_single_title {
    display: flex;
    flex-wrap: wrap;
    width: 100%;
    align-items: flex-end;
    padding-top: 15px;
    padding-bottom: 15px;
    border-bottom: 1px #444 solid;
    h1 {
        width: calc(100% - 130px);
        flex: 0 0 calc(100% - 130px);
        padding-right: 15px;
        margin: 0;
        @media (max-width: 767px) {
            width: 100%;
            flex: 0 0 100%;
            margin-bottom: 10px;
        }
    }
    .smrc_rating {
        width: 130px;
        flex: 0 0 130px;
        padding-right: 30px;
        position: relative;
        line-height: 20px;
    }
    .votes {
        position: absolute;
        top: 1px;
        right: 0;
        line-height: 20px;
        font-size: 14px;
        color: #494949;
        font-weight: 700;
    }
}

.smrc_rating {
    .rating {
        width: auto;
        display: inline-block;
        position: relative;
        .rating-wrap {
            display: flex;
            flex-wrap: wrap;
            white-space: nowrap;
            img {
                width: 24px;
                opacity: .3;
            }
            &:before {
                content: "\e68d\e68d\e68d\e68d\e68d";
                font-family: 'Linearicons' !important;
                display: inline-block;
                font-size: 20px;
            }
            &.filled {
                position: absolute;
                left: 0;
                top: 0;
                flex-wrap: nowrap;
                overflow: hidden;
                &:before {
                    color: #ffc107;
                }
                img {
                    opacity: 1;
                }
            }
        }
    }
}

.smrc_tags {
    padding-top: 15px;
    padding-bottom: 15px;
    font-size: .8em;
    i {
        font-size: 20px;
        display: inline-block;
        vertical-align: middle;
    }
    a {
        display: inline-block;
        vertical-align: middle;
        font-weight: 700;
    }
}

.smrc_single_recipe_info {
    display: flex;
    flex-wrap: wrap;
    margin-left: -15px;
    margin-right: -15px;
    .info__detail {
        padding-left: 15px;
        padding-right: 15px;
        .detail-wrap {
            position: relative;
            padding-top: 15px;
            padding-bottom: 15px;
            padding-left: 40px;
            i {
                position: absolute;
                left: 0;
                top: 20px;
                font-size: 30px;
                line-height: 30px;
            }
            .info_label {
                font-size: .9em;
                font-weight: 700;
            }
            .info-title {
                font-size: .9em;
            }
        }

    }
}

.smrc_image {
    margin-bottom: 40px;
}

.smrc_single_content {
    margin-bottom: 40px;
}

.smrc_recipe_video {
    margin-bottom: 40px;
}

.smrc_embed_wrap {
    position: relative;
    height: 0;
    padding-bottom: 56.25%;
    iframe {
        position: absolute;
        top: 0;
        left: 0;
        min-width: 100%;
        min-height: 100%;
    }
}

.smrc_recipe_steps {
    .recipe_step {
        position: relative;
        margin-bottom: 10px;
        counter-increment: step_count;
        &:before {
            content: counter(step_count);
            position: absolute;
            display: block;
            top: 0;
            left: 0;
            min-width: 50px;
            padding: 5px 20px;
            background: #fff;
            font-weight: 700;
            z-index: 2;
            line-height: 20px;
        }
        .description {
            padding: 30px 0;
            &.no-image {
                padding-top: 50px;
            }
        }
    }
}

.smrc_rating_form {
    padding: 30px 0;
    h3 {
        margin: 0 0 30px;
    }
    .inputs-wrap {
        display: flex;
        flex-wrap: nowrap;
        width: 110px;
        height: 22px;
        position: relative;
        line-height: 22px;
        margin-bottom: 20px;
        input {
            display: block;
            width: 22px;
            height: 22px;
            opacity: 0;
            position: relative;
            z-index: 3;
            cursor: pointer;
        }
        &:before {
            content: "\e68d\e68d\e68d\e68d\e68d";
            font-family: 'Linearicons' !important;
            display: block;
            font-size: 22px;
            width: 100%;
            position: absolute;
            left: 0;
            top: 0;
            line-height: 22px;
        }
        &:after {
            content: "\e68d\e68d\e68d\e68d\e68d";
            font-family: 'Linearicons' !important;
            display: block;
            font-size: 22px;
            width: 0;
            z-index: 2;
            color: #ffc107;
            position: absolute;
            left: 0;
            top: 0;
            line-height: 22px;
            overflow: hidden;
        }
        &.active-1 {
            &:after {
                width: 20%;
            }
        }
        &.active-2 {
            &:after {
                width: 40%;
            }
        }
        &.active-3 {
            &:after {
                width: 60%;
            }
        }
        &.active-4 {
            &:after {
                width: 80%;
            }
        }
        &.active-5 {
            &:after {
                width: 100%;
            }
        }
    }
}

.smrc-sidebar {
    position: -webkit-sticky;
    position: sticky;
    left: 0;
    top: 0;
    padding: 40px 0;
    .ingredients_toggle {
        position: fixed;
        padding: 10px 15px;
        border-radius: 5px 0 0 5px;
        background-color: #fff;
        top: 50%;
        right: 0;
        line-height: 20px;
        z-index: 99;
        width: 50px;
        overflow: hidden;
        white-space: nowrap;
        transition: .3s;
        cursor: pointer;
        border: 2px #596d71 solid;
        border-right: none;
        &.active {
            width: 170px;
        }
        i {
            font-size: 20px;
            margin-right: 10px;
        }
        span {
            line-height: 20px;
            font-size: 20px;
        }
        @media (min-width: 992px){
            display: none;
        }
    }
    .smrc_ingredients {
        margin-bottom: 40px;
        h3 {
            margin-bottom: 20px;
        }
        .ingredient {
            padding: 8px 15px 8px 45px;
            position: relative;
            font-size: 16px;
            line-height: 20px;
            background-color: #fff;
            cursor: pointer;
            &:nth-child(odd) {
                background-color: #f5f5f5;
            }
            .custom_checkbox {
                width: 16px;
                height: 16px;
                border: 1px #444 solid;
                display: block;
                border-radius: 2px;
                position: absolute;
                left: 15px;
                top: 11px;
                background-color: #fff;
                color: #444;
                &:before {
                    content: '';
                    width: 8px;
                    height: 2px;
                    position: absolute;
                    left: 2px;
                    top: 8px;
                    transform: rotate(45deg);
                    background-color: #444;
                    opacity: 0;
                }
                &:after {
                    content: '';
                    width: 14px;
                    height: 2px;
                    position: absolute;
                    left: 7px;
                    top: 6px;
                    transform: rotate(-45deg);
                    background-color: #444;
                    opacity: 0;
                }
            }
            &.active {
                text-decoration: line-through;
                .custom_checkbox {
                    &:before,
                    &:after {
                        opacity: 1;
                    }
                }
            }
        }
        @media (max-width: 991px) {
            position: fixed;
            width: 280px;
            right: -280px;
            top: 10%;
            padding: 10px 15px 30px 15px;
            background-color: #fff;
            transition: .3s;
            border-radius: 5px 0 0 5px;
            z-index: 99;
            &.active {
                right: 0;
                box-shadow: 0 0 20px rgba(0, 0, 0, .2);
            }
        }
    }
    .recipe_params {
        h3 {
            margin-bottom: 20px;
        }
        .single-param {
            padding: 8px 15px 8px 15px;
            position: relative;
            font-size: 16px;
            line-height: 20px;
            background-color: #fff;
            display: flex;
            flex-wrap: wrap;
            width: 100%;
            justify-content: space-between;
            &:nth-child(odd) {
                background-color: #f5f5f5;
            }
            .param-value {
                font-weight: 700;
            }
        }
    }
}

