﻿

/*
    ERROR!!!!! This page is replaced with special-page.less
    leaving here to avoid merge conflicts



*/

/* Recipe listing component .*/

.recipe-listing {
   
    .item {
        .recipe-details-summary {
            font-size: 0;
            display: flex;

            .recipe-details-summary-item {
                flex-grow: 1;
                vertical-align: middle;
                padding-left: 20px;
                background-position: left center;
                background-repeat: no-repeat;
                padding-left: 20px;
                text-transform: uppercase;
                font-weight: 700;
                font-size: 10px;
                color: #4f5253;

                &.serves {
                    background-image: url(/images/icons/icon-user.png);
                    background-size: 10px 12px;
                }

                &.rating {
                    background-image: url(/images/icons/icon-star.png);
                    background-size: 11.5px 12px;
                }

                &.cookingtime {
                    background-image: url(/images/icons/icon-clock.png);
                    background-size: 12px 12px;
                }
            }
        }
    }
}


.search-bar-wrapper {
    display: block;
    text-align: center;

    .search-bar-wrapper-inner {
        margin-bottom: 60px;
        text-align: center;
        position: relative;
        display: inline-block;
        margin-left: auto;
        margin-right: auto;

        .search-icon {
            position: absolute;
            width: 18px;
            height: 18px;
            top: 50%;
            margin-top: -9px;
            right: 20px;
            background-image: url(/images/icons/icon-search.png);
            background-position: center center;
            background-repeat: no-repeat;
            cursor: pointer;
        }

        .search-bar {
            border-radius: 5px;
            box-shadow: 0px 6px 8px -6px rgba(0, 0, 0, 0.01), 0px 6px 8px -4px rgba(0, 0, 0, 0.02);
            border: #a7a9ac solid 1px;
            height: 48px;
            line-height: 48px;
            padding-left: 25px;
            padding-right: 50px;
            min-width: 300px;
        }
    }
}
.listing-subheading {
    font-family: 'Gotham';
    font-style: normal;
    font-weight: 900;
    font-size: 24px;
    line-height: 29px;
    text-align: center;
    text-transform: uppercase;
    /* SGL DARK SILVER32322323 */
    color: #4F5253;
    display: block;
    text-align: center;
    margin-bottom:20px;
}


/*

    Recipe details page
*/
.recipe-header {
    .recipe-header-wrapper {
        max-width: @site-max-width;
        margin-left: auto;
        margin-right: auto;
        display: flex;
    }

    background-color: #eee;
    padding: 30px 0 30px 0;
    position: relative;

    .back-button {
        width: 10%;


        svg {
            path {
            }
        }
    }

    .recipe-image-wrapper {
        position: relative;
        width: 40%;
        //min-height:300px;
        .recipe-image {
            position: absolute;
            background-position: center center;
            background-size: cover;
            top: 0;
            right: 0;
            bottom: 0;
            left: 0;
        }

        background-color: #ccc;
    }

    .recipe-details {
        padding-left: 50px;
        width: 50%;


        h1 {
            margin-top: 0;
            font-family: 'Gotham';
            font-weight: 900;
            font-size: 36px;
            line-height: 120%;
            text-transform: uppercase;
            margin-bottom: 10px;
        }

        .recipe-description {
            margin-bottom: 20px;
        }

        .recipe-stats {
            font-size: 0;

            .recipe-stat {
                padding-left: 35px;
                display: inline-block;
                vertical-align: middle;

                .top-label {
                    font-size: 12px;
                    font-weight: 700;
                }

                .bottom-label {
                    font-size: 10px;
                }

                background-position: left center;
                background-repeat: no-repeat;
                margin-right: 15px;

                &.cooking-time {
                    background-image: url(/images/icons/icon-clock.png);
                }

                &.recipe-rating-score {
                    background-image: url(/images/icons/icon-star.png);
                }

                &.recipe-serves {
                    background-image: url(/images/icons/icon-user.png);
                }

                &.ingredient-count {
                    background-image: url(/images/icons/icon-recipe.png);
                }
            }
        }
    }
}

.recipe-body {
    padding-top: 30px;

    h2 {
        text-transform: uppercase;
        font-weight: 900;
        font-family: 'Gotham';
        margin: 0 0 20px 0;
        padding-bottom: 30px;
        position: relative;

        &:after {
            content: ' ';
            position: absolute;
            background-color: #999;
            bottom: 0;
            left: 0;
            height: 3px;
            width: 60px;
        }
    }

    display: flex;

    .recipe-ingredients {
        width: 33%;
        padding-right: 20px;

        .ingredient {
            font-size: 0;

            .ingredient-description {
                display: inline-block;
                width: 80%;
                font-size: 16px;
                vertical-align: middle;
            }

            .ingredient-quantity {
                display: inline-block;/*s0akak2*/
                width: 20%;
                text-align: center;
                font-size: 16px;
                font-weight: 700;
                vertical-align: middle;
            }
        }
    }

    .recipe-directions {
        width: 33%;
        padding-left: 20px;
        padding-right: 20px;

        .direction {
            .direction-heading {
                b {
                }
            }

            .direction-description {
            }
        }

        .foodie-tip {
            margin-top: 50px;

            .foodie-heading {
                font-size: 18px;
                font-weight: 900;
                font-family: 'Gotham';
                margin-bottom: 20px;
            }

            .foodie-description {
            }
        }
    }

    .recipe-nutritional {
        padding-left: 20px;

        
    }
}

.recipe-footer {
    padding-top: 25px;
    padding-bottom: 25px;
    text-align: center;
    width: 100%;

    .share-area {
        border-right: #000 solid 1px;

        .share-title {
        }

        .share-buttons {
        }
    }

    .recipe-rating {
        &.has-rated {
            pointer-events: none;
        }

        .star {
            display: inline-block;
            width: 32px;
            height: 32px;
            cursor: pointer;

            svg {
                path {
                }
            }

            &.active {
                svg {
                    path {
                        fill: yellow;
                    }
                }
            }

            &.star-1 {
            }

            &.star-2 {
            }

            &.star-3 {
            }

            &.star-4 {
            }

            &.star-5 {
            }
        }
    }
}
