.wrap-recipes {
    width: 100%;
    margin: auto;

    ul {
        margin-bottom: 60px;
        list-style-type: none;

        li {
            float: left;
            padding: 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 {
                text-align: center;
                position: relative;

                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: 0;
                    width: 100%;

                    .rating-star-wrap {
                        padding-top: 5px;
                        width: 50%;
                        margin: auto;
                        background-color: #FFFFFF;
                        text-align: center;
                        border-radius: 5px 5px 0 0;
                    }
                }
            }

            .recipe-name {
                margin: 15px 0 10px 0;

                h4 {
                    line-height: 100%;
                    a {
                        text-decoration: none;
                    }
                }
            }

            .author {
                font-size: 13px;
                margin-right: 20px;
            }

            .cook-time {
                font-size: 13px;
            }
        }
    }
}

.view-all {
    text-align: center;
    padding: 50px 22px 35px 22px;
    clear: both;

    .link {
        padding: 11px 22px 10px 22px;
        color: @thim_color_white;
        border-radius: 5px;
        margin: auto;
        text-decoration: none;
        outline: none;
        font-size: 14px;
        font-weight: bold;

        &:hover {
            background-color: @thim_bg_color_white;
        }
    }
}
