

/* ------------------------------------------------------------------- */
/* Table of Contents
----------------------------------------------------------------------

1. Header
2. Navigation
3. Isotop
4. Miscellaneous
5. Shortcodes
6. Royal Slider
7. Recipes
8. Sidebar
9. Tricks Page
10. Magnific Popup
11. Preload Page
12. Color
13. Category Classes


/* ------------------------------------------------------------------- */
/* Recipes
---------------------------------------------------------------------- */

/* Recipes Grid
------------------------------------*/
.recipe-box { margin-bottom: 20px !important; }

.recipe-box a img {
    display: block;
    position: relative;
    width: 100%;
}

.recipe-box-content {
    background-color: #f8f8f8;
    padding: 20px 25px;
}

.recipe-box-content h3 {
    font-size: 19px;
    line-height: 24px;
    font-family: "Arvo";
    border-bottom: 1px solid #e5e5e5;
    margin: 0 0 10px 0;
    padding: 0 0 15px 0;
}

.recipe-box-content h3 a {
    color: #606060;
    display: block;
    line-height: 26px;
}

.recipe-meta {
    color: #909090;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    float: right;
    margin-left: 15px;
}

.isotope-box { margin-bottom: 20px; }

.recipe-meta i { font-size: 14px; margin-right: 1px; }
.recipe-meta a { color: #909090; }

.recipe-box-content .rating { float: left; }

.meta-alignment {
    width: 70%;
    float: right;
}

/* Star Rating */
.rating {
    box-sizing: content-box;
    overflow: hidden;
    position: relative;
    width: 100px;
    height: 18px;
    display: block;
}

.rating .star-rating {
    position: relative;
    width: inherit;
    display: block;
    padding: 0;
    margin: 0;
}

.rating.five-stars .star-rating:after   { width: 100%; }
.rating.four-stars .star-rating:after   { width: 80%; }
.rating.three-stars .star-rating:after  { width: 60%; }
.rating.two-stars .star-rating:after    { width: 40%; }
.rating.one-stars .star-rating:after    { width: 20%; }


.rating .star-rating:after {
    content:"ï€… ï€… ï€… ï€… ï€…";
    font-family: "Font Awesome 5 Free";
    color: #ffc741;
    display: block;
    position: absolute;
    font-size: 16px;
    z-index: 10;
    letter-spacing: -0.5px;
}

.rating .star-bg:after {
    content:"ï€… ï€… ï€… ï€… ï€…";
    font-family: "Font Awesome 5 Free";
    color: #e0e0e0;
    display: block;
    position: absolute;
    font-size: 16px;
    z-index: 9;	padding: 0;
    margin: 0;
    letter-spacing: -0.5px;
}


/* Hover / Animations
------------------------------------- */
.hover-cover {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    background-color: #333;
    opacity: 0;
    visiblity: hidden;
}

.thumbnail-holder:hover .hover-cover{
    opacity: 0.3;
    visibility: visible;
}

.thumbnail-holder:hover .hover-icon{
    opacity: 1;
    visibility: visible;
    margin-bottom: 0;
    top: 50%;
}

.hover-icon {
    display: inline-block;
    background-color: rgba(51,51,51,0.8);
    color: #fff;
    padding: 8px 12px;
    font-weight: 700;
    text-transform: uppercase;
    opacity: 0;
    visibility: hidden;
    position: absolute;
    top: 45%;
    left: 50%;
    transform: translate(-50%,-50%);
    font-size: 13px;
}

.hover-cover,
.hover-icon {
    -webkit-transition: all 200ms ease-in-out;
    -moz-transition: all 200ms ease-in-out;
    -o-transition: all 200ms ease-in-out;
    -ms-transition: all 200ms ease-in-out;
    transition: all 200ms ease-in-out;
}

.thumbnail-holder {
    position: relative;
    overflow: hidden;
    width: 100%;
    box-sizing:border-box;
}

.thumbnail-holder img {
    width: 100%;
    position: relative;
    backface-visibility: hidden;
}


/* Recipes List Style
------------------------------------*/
.list-style .recipe-box.columns {
    width: 100% !important;
    position: relative;
}

.list-style .recipe-box-content h3 {
    font-size: 22px;
    line-height: 26px;
    margin: 0;
    padding: 0 0 13px 0;
    border-bottom: none;
}

.list-style .recipe-box-content p {
    border-bottom: 1px solid #e5e5e5;
    margin: 0 0 15px 0;
    padding: 0 0 22px 0;
}

.list-style .recipe-box-content h3 a {
    color: #606060;
    display: block;
    line-height: 28px;
}

.list-style .thumbnail-holder { float: left; position: absolute; }

.list-style .recipe-box-content {
    box-sizing:border-box;
    background-color: #f8f8f8;
    padding: 33px 35px 29px 35px;
    float: left;
}

.list-style .thumbnail-holder img {
    height: 100%;
    width: auto;
}


/* Ingredients
------------------------------------- */
.ingredients {
    background-color: #fff;
    border: 1px solid #e9e9e9;
    padding: 39px 0;
    position: relative;
    margin: 12px 0 35px 0;
}

.ingredients li {
    border-bottom: 1px solid #e9e9e9;
    height: auto;
    box-sizing: border-box;
    padding: 10px 0 4px 0;
    padding-left: 120px;
    list-style-type: none;
}

.ingredients li:first-child { border-top: 1px solid #e9e9e9; }

.ingredients:before,
.ingredients:after {
    content:"";
    height: 100%;
    width: 1px;
    background-color: #ffd4d4;
    position: absolute;
    top: 0;
}

.ingredients:before { left: 50px; }
.ingredients:after { left: 54px; }
.ingredients li { padding-left: 80px; text-align: left;}


/* Custom Checkbox */
.ingredients label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-right: 15px;
    margin-bottom: -15px;
}

.ingredients input[type=checkbox]
{
    display: none;
}

.ingredients label:before {
    content: '';
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: -1px;
    background-color: #fff;
    border: 2px solid #d0d0d0;
    box-sizing: border-box;
}

.ingredients input[type=checkbox]:checked + label:before {
    color: #fff;
    accent-color: #c70039;
    text-align: center;
    line-height: 23px;
    background-color: #ff2020;
    border: 1px solid #808080;
}

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


/* Directions
------------------------------------- */
.directions {
    background-color: #fff;
    border: 1px solid #e9e9e9;
    padding: 39px 0;
    position: relative;
    margin: 12px 0 35px 0;
}

.directions li {
    border-bottom: 1px solid #e9e9e9;
    height: auto;
    box-sizing: border-box;
    padding: 10px 0 4px 0;
    padding-left: 120px;
    list-style-type: none;
}

.directions li:first-child { border-top: 1px solid #e9e9e9; }

.directions:before,
.directions:after {
    content:"";
    height: 100%;
    width: 1px;
    background-color: #ffd4d4;
    position: absolute;
    top: 0;
}

.directions:before { left: 50px; }
.directions:after { left: 54px; }
.directions li { padding-left: 80px; text-align: left;}


/* Custom Checkbox */
.directions label {
    display: inline-block;
    cursor: pointer;
    position: relative;
    padding-left: 30px;
    margin-right: 15px;
    margin-bottom: -15px;
}

.directions input[type=checkbox] { display: none; }

.directions label:before {
    content: "";
    display: inline-block;
    width: 25px;
    height: 25px;
    margin-right: 10px;
    position: absolute;
    left: 0;
    top: -1px;
    background-color: #fff;
    border: 2px solid #d0d0d0;
    box-sizing: border-box;
}

.directions input[type=checkbox]:checked + label:before {
    color: #fff;
    text-align: center;
    line-height: 23px;
    background-color: #2020ff;
    border: 1px solid #808080;
}

.directions input[type=checkbox]:checked + label { text-decoration: wavy blue underline; }


/* Directions
------------------------------------- */
/*
ol.directions {
    list-style-type: none;
    margin: 15px 0 0 34px;
    padding: 0;
    counter-reset: li-counter;
}

ol.directions > li {
    position: relative;
    margin-bottom: 15px;
    padding: 8px 14px;
    line-height: 24px;
}

ol.directions > li:last-child { margin-bottom: 35px; }

ol.directions > li:before {
    position: absolute;
    top: 3px;
    left: -34px;
    width: 34px;
    height: 34px;
    text-align: center;
    line-height: 32px;
    color: #999;
    font-weight: 700;
    font-size: 16px;
    background-color: #f4f4f4;
    content: counter(li-counter);
    counter-increment: li-counter;
    cursor: default;
}

.directions input[type=radio]:checked + label { text-decoration-style: wavy red; }
*/

