/* detail */

.recipe .share {
    display: inline-block;
}

.recipe .share a {
    display: inline-block;
    margin: 0 2px;
}

.recipe .share img {
    display: inline-block;
    border-radius: 6px;
    transition: all .5s ease;
}

.recipe .share img:hover {
    opacity: 0.6;
}

.recipe .recipe-container .post-item {
    margin: 0 0px;
    position: relative;
    background: #fff;
    box-shadow: none;
}

.recipe .recipe-container .post-item .post-img {
    position: relative;
    overflow: hidden;
    background-repeat: repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f0f0f0;
    width: 100%;
    padding-top: 100%;
}

.recipe .recipe-container .post-item .post-img img {
    width: 100%;
    height: auto;
    display: none;
}

.recipe .post-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: #fff;
    opacity: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.30s ease;
}

.recipe .post-info:hover {
    opacity: 1;
}

.recipe .recipe-container .caption {
    padding: 0 30px;
    font-weight: 300;
    width: 100%;
    font-size: 18px;
    line-height: 21px;
    color: #fff;
    text-align: center;
    white-space: initial;
    justify-content: center;
    align-items: center;
    max-height: 80px;
    position: relative;
    overflow: hidden;
    white-space: -moz-pre-wrap;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-all;
}

.recipe .social-info {
    display: flex;
    justify-content: center;
    align-items: center;
}

.recipe .social-info>div {
    margin: 0 15px;
    font-size: 18px;
}

.recipe .social-info .fa-eye {
    font-size: 22px;
}

.recipe .social-info .fa-heart {
    font-size: 19px;
}

.recipe .comment {
    margin: 15px 0;
    font-size: 12px;
}

.recipe .product-weight {
    text-transform: uppercase;
    padding-top: 10px;
}

.recipe .text-invalid-condition {
    margin-top: 5px;
    border-left: 5px solid #a94442;
}

.recipe .no-select {
    opacity: 0.7;
}

.recipe .product-cart {
    text-align: center;
    margin-top: 30px;
}

.recipe .product-cart button {
    width: 100%;
    max-width: 250px;
}

.recipe .quantity-total {
    margin-top: 5px;
}

.recipe .ingredients h3 {
    margin: 0;
}

.recipe .ingredients-items ul li {
    border-top: 1px solid #ddd;
    padding: 6px 0 6px 10px;
}

.recipe .ingredients-items .fa-check-square-o, .recipe .ingredients-items .fa-square-o {
    font-size: 18px;
    margin-right: 5px;
}

.recipe .ingredients-items a {
    color: #666;
    font-size: 14px;
    line-height: 18px;
}

.recipe .product-item {
    display: flex;
    /* align-items: center; */
    /* height: 40px; */
    padding: 10px 0;
}

.recipe .download-item span {
    font-size: 12px;
    color: #999;
}

.recipe .icon-circle {
    float: left;
    /* display: inline-block; */
    border-radius: 50%;
    background: #f44336;
    color: #fff;
    width: 40px;
    height: 40px;
    text-align: center;
    margin-right: 15px;
}

.recipe .ingredients {
    margin: 30px auto;
}

.recipe .icon-circle .fa {
    font-size: 20px;
    margin-top: 10px;
}

.recipe .recipe-documents {
    margin: 30px auto 30px auto;
}

.recipe .recipe-documents a {
    color: #666;
}

.recipe .recipe-documents h3 {
    margin: 5px 0 10px 0;
}

.recipe .recipe-documents li {
    transition: all .5s ease;
    padding: 10px 15px;
    font-size: 14px;
}

.recipe .recipe-documents li .fa-download {
    float: right;
    color: #999;
    cursor: pointer;
    font-size: 20px;
    margin-top: 10px;
}

.recipe .recipe-documents li:hover {
    background: #f0f0f0;
}

.recipe .recipe-images {
    width: 100%;
    max-width: 650px;
    margin: 0 auto 30px auto;
    /* border-top: 5px solid #d8d1bf; */
}

.recipe .item {
    padding: 0 5%;
}

.recipe .recipe-hide {
    visibility: hidden !important;
    height: 0;
    overflow: hidden;
}

.recipe .recipe-show {
    visibility: visible !important;
}

.recipe {
    /* margin-bottom: 15px; */
}

.recipe-view-all {
    text-align: right;
}

.recipe .tab li {
    width: 50%;
    float: left;
    background: #dcdddd;
    color: #595858;
    text-align: center;
    padding: 10px 0;
    font-size: 120%;
    font-weight: 300;
    cursor: pointer;
}

.recipe .tab li.select {
    background: #595858;
    color: #fff;
}

.recipe .tab {
    height: 40px;
}

.recipe .recipe-title {
    font-size: 28px;
}

@media (max-width: 767px) {
    .recipe .recipe-title {
        font-size: 24px;
    }
    .recipe .recipe-container .caption {
        padding: 0;
        margin-top: 10px;
        font-weight: 400;
        width: 100%;
        font-size: 16px;
        line-height: 20px;
        color: #333;
        text-align: left;
    }
    .recipe .text-secondary {
        font-size: 10px;
    }
    .recipe-view-all {
        text-align: center;
    }
}

/* end detail */

/* recipe list */

.recipe-list .recipe-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-gap: 15px;
    margin-bottom: 30px;
}

@media (max-width: 767px) {
    .recipe-list .recipe-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        margin-bottom: 30px;
    }
}

/* end recipe list */

/** recipe module */

.recipe-module .recipe-container {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 15px;
    margin-bottom: 15px;
    margin-top: 15px;
}

.recipe-module .recipe-container .post-item {
    margin: 0 0px;
    position: relative;
    background: #fff;
    box-shadow: none;
}

.recipe-module .recipe-container .post-item .post-img {
    position: relative;
    overflow: hidden;
    background-repeat: repeat;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center center;
    background-color: #f0f0f0;
    width: 100%;
    padding-top: 100%;
}

.recipe-module .post-info {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-evenly;
    color: #fff;
    opacity: 0;
    background: rgba(0, 0, 0, 0.4);
    transition: all 0.30s ease;
}

.recipe-module .post-info:hover {
    opacity: 1;
}

.recipe-module .recipe-container .caption {
    padding: 0 30px;
    font-weight: 300;
    width: 100%;
    font-size: 18px;
    line-height: 21px;
    color: #fff;
    text-align: center;
    white-space: initial;
    justify-content: center;
    align-items: center;
    max-height: 80px;
    position: relative;
    overflow: hidden;
    white-space: -moz-pre-wrap;
    white-space: pre-line;
    word-wrap: break-word;
    word-break: break-all;
}

@media (max-width: 767px) {
    .recipe-module .recipe-container {
        display: grid;
        grid-template-columns: repeat(2, 1fr);
        grid-gap: 15px;
        margin-bottom: 15px;
        margin-top: 15px;
    }
    .recipe-module .recipe-container>div:nth-child(n+5) {
        display: none;
    }
    .recipe-module .recipe-container .caption {
        padding: 0;
        margin-top: 10px;
        font-weight: 400;
        width: 100%;
        font-size: 16px;
        line-height: 20px;
        color: #333;
        text-align: left;
        max-height: 43px;
    }
}

.recipe-module .heading {
    display: grid;
    grid-template-columns: 30% 70%;
    align-items: flex-end;
    border-bottom: 1px solid #ddd;
}

.recipe-module .heading h3, .recipe-module .heading h1 {
    display: inline-block;
    border-bottom: 2px solid #333;
    margin: 0 0 -1px 0;
    padding-bottom: 5px;
    font-size: 1.5rem;
    font-weight: 300;
}

.recipe-module .heading h3>span, .recipe-module .heading h1>span {
    font-weight: 600;
}

.recipe-module .menu>ul {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    grid-gap: 3px;
}

.recipe-module .menu>ul li {
    height: 40px;
    text-align: center;
    display: grid;
    align-items: center;
    background: #ebebeb;
    cursor: pointer;
    padding: 0 10px;
    transition: all 0.6s ease;
}

.recipe-module .menu>ul li:hover, .recipe-module .menu>ul li.active {
    background: #ccc;
}

.recipe-module .menu a {
    color: #333;
    font-size: 14px;
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

#recipe-module .menu>.btn-group {
    position: absolute;
    top: 12px;
    right: 10px;
    z-index: 9;
}

#recipe-module .menu>.btn-group i.fa-list-ul {
    font-size: 1.6rem;
    color: #fff;
}

#recipe-module .menu>.btn-group ul li {
    padding-left: 15px;
    padding: 0px 15px 0px 15px;
    transition: all .6s ease;
}

#recipe-module .menu>.btn-group ul a {
    font-size: 14px;
    color: #333;
    border-bottom: 1px solid #ddd;
    padding: 10px 5px;
    display: block;
    text-transform: uppercase;
}

#recipe-module .menu>.btn-group ul li:hover {
    background-color: #eee;
}

#recipe-module .menu>.btn-group ul li.active, #recipe-module .menu>.btn-group ul li.active a {
    background-color: #ddd;
}

#recipe-module .button-group {
    margin-top: 8px;
}

@media (max-width: 767px) {
    #recipe-module .caption h4 {
        margin-top: 0;
    }
    .recipe-module .heading {
        grid-template-columns: 100%;
        border-bottom: none;
        position: relative;
    }
    .recipe-module .heading h3, .recipe-module .heading h1 {
        display: block;
        border-bottom: 2px solid #333;
        margin: 0 0 -1px 0;
        padding: 15px 50px 15px 15px;
        font-size: 1.3rem;
        font-weight: 300;
        background: #000;
        color: #fff;
        white-space: nowrap;
        text-overflow: ellipsis;
        overflow: hidden;
    }
}

/* end recipe module */

/* for filter module */

.recipe-filter .recipe-filter-container>div {
    margin-bottom: 20px;
}

.recipe-filter .recipefilter-btn {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-gap: 15px;
}

.recipe-filter .recipe-filter-container .control-label {
    display: inline-block;
    cursor: pointer;
    font-size: 14px;
    margin-right: 5px;
}

.recipe-filter .recipe-filter-container .control-label input {
    margin-right: 3px;
}

.recipe-filter .recipe-filter-container .head {
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
    margin-bottom: 10px;
}

.recipe-filter .recipe-post-container {
    margin-top: 30px;
}

.body-overflow {
    overflow: hidden;
    position: relative;
}

@media (max-width: 767px) {
    #form-recipe-filter {
        position: fixed;
        z-index: 10001;
        top: 0;
        bottom: 0;
        text-align: left;
        right: -80%;
        width: 80%;
        max-width: 500px;
        overflow: scroll;
        background: #fff;
        -webkit-transition: right .6s ease;
        transition: right .4s ease;
    }
    #form-recipe-filter .panel {
        border: none;
        -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, .0);
        box-shadow: 0 1px 1px rgba(0, 0, 0, .0);
    }
    #form-recipe-filter .fa-times {
        float: right;
        font-size: 18px;
    }
    .form-recipe-filter-expanded {
        right: 0!important;
    }
    #btn-recipe-filter {
        position: fixed;
        bottom: 30px;
        left: 0;
        right: 0;
        z-index: 9;
        text-align: center;
    }
    #btn-recipe-filter>button {
        background: #000000BB;
        color: #fff;
        font-size: 16px;
        outline: none;
        margin: 0 auto;
        border: none;
    }
    #btn-recipe-filter>button:before {
        font-family: "FontAwesome";
        content: '\f002';
        color: #fff;
        margin-right: 5px;
    }
    #form-recipe-filter>.head {
        margin: 0;
        padding: 8px 10px;
        background: #000;
        color: #fff;
        font-size: 19px;
        height: 40px;
    }
    #form-recipe-filter .head i {
        font-size: 22px;
    }
    .recipe-filter-container {
        border: 0;
        padding: 0;
    }
    #recipe-filter-backdrop {
        background: #000;
        opacity: 0;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        z-index: -1;
        -webkit-transition: all 1s ease;
        transition: all 1s ease;
    }
    .recipe-filter-backdrop-show {
        opacity: .6!important;
        z-index: 10000!important;
    }
    #column-right {
        margin-top: 30px;
        border-top: 15px solid #eee;
        padding-top: 30px;
    }
}

/* end filter module */