/* global */

.recipes {
    width: 100%;
}

/* SEARCH */

.searchForm {
    margin-bottom: 20px;
}
.checkbox-label {
    padding-left: 10px;
    display: initial !important;
}

/* DETAIL  */

/* layout */

.recipe-col {
    position: relative;
    float: left;
    width: 100%;
    padding: 15px;
}

.recipe-col-image {
    width: 66.67%;
    height: 0;
    padding-bottom: 45%;
}
.recipe-col-vealcut {
    width: 33.33%;
    height: 0;
    padding-bottom: 45%;
}
.recipe-col-properties {
    width: 66.67%;
    display: flex;
    flex-wrap: wrap;
}
.recipe-col-preparation {
    width: 66.67%;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    align-items: flex-end;
}
.recipe-col-ingredients {
    float: right !important;
    width: 33.33%;
}
/*@media screen and (min-width: 1025px) {*/
/*    .tx-recipes .recipe {*/
/*        display: flex;*/
/*        flex-direction: row;*/
/*        flex-wrap: wrap;*/
/*    }*/
/*    .recipe-col-vealcut,*/
/*    .recipe-col-properties {*/
/*        width: 25%;*/
/*    }*/
/*    .recipe-col-image,*/
/*    .recipe-col-ingredients,*/
/*    .recipe-col-preparation {*/
/*        width: 50%;*/
/*    }*/
/*    .recipe-col {*/
/*        order: 0;*/
/*    }*/
/*    .recipe-col-image {*/
/*        order: 1;*/
/*    }*/
/*    .recipe-col-vealcut {*/
/*        order: 3;*/
/*    }*/
/*    .recipe-col-ingredients {*/
/*        order: 4;*/
/*    }*/
/*    .recipe-col-properties {*/
/*        order: 2;*/
/*    }*/
/*    .recipe-col-preparation {*/
/*        order: 5;*/
/*    }*/
/*}*/
@media screen and (max-width: 768px) {
    .tx-recipes .recipe {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
    }
    .recipe-col-vealcut,
    .recipe-col-properties {
        width: 50%;
    }
    .recipe-col-image,
    .recipe-col-preparation,
    .recipe-col-ingredients {
        float: left !important;
        width: 100%;
    }
    .recipe-col-image {
        padding-bottom: 60%;
    }
    .recipe-col-vealcut {
        height: unset;
        padding-bottom: unset;
    }
    .recipe-col-vealcut .vealcuts_frame_container {
        position: static;
        width: 100%;
        height: 100%;
        min-height: 300px;
    }
}
@media screen and (max-width: 640px) {
    .recipe-col-vealcut,
    .recipe-col-properties {
        width: 100%;
    }
}

.recipe-col-image .image {
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
}
.recipe-col-image .image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vealcuts_frame_container {
    position: absolute;
    width: calc(100% - 30px);
    height: calc(100% - 30px);
    border: 1px solid #000;
}
.vealcuts_frame {
    width: calc(100% - 2px);
    height: calc(100% - 2px);
    border: none;
}
.recipe_properties *,
.recipe-col-properties * {
    font-size: 15px;
}
.recipe_properties .cell,
.recipe-col-properties .cell {
    float: left;
    width: 100%;
    padding: 5px 0;
    display: flex;
    flex-wrap: wrap;
}
.recipe-col-properties .cell {
    width: 100%;
}
@media (min-width: 769px) {
    .recipe-col-properties .cell {
        width: 50%;
    }
}
@media (min-width: 1024px) {
    .recipe-col-properties .cell {
        width: 33.33%;
    }
}
.recipe_properties .cell::before,
.recipe-col-properties .cell::before {
    content: '';
    display: block;
    float: left;
    width: 40px;
    height: 40px;
    background: url('../Icons/bg_recipe_sprite.png') center 0 no-repeat;
}
.recipe_properties .cell#recipe-info-recipeYield::before,
.recipe-col-properties .cell#recipe-info-recipeYield::before {
    background-position: center 0;
}
.recipe_properties .cell#recipe-info-niceTime::before,
.recipe-col-properties .cell#recipe-info-niceTime::before {
    background-position: center -50px;
}
.recipe_properties .cell#recipe-info-mainProduct::before,
.recipe-col-properties .cell#recipe-info-mainProduct::before {
    background-position: center -100px;
}
.recipe_properties .cell#recipe-info-difficulty::before,
.recipe-col-properties .cell#recipe-info-difficulty::before {
    background-position: center -150px;
}
.recipe_properties .cell#recipe-info-cookingMethod::before,
.recipe-col-properties .cell#recipe-info-cookingMethod::before {
    background-position: center -300px;
}
.recipe_properties .cell#recipe-info-cookingMethod::before,
.recipe-col-properties .cell#recipe-info-cookingMethod::before {
    background-position: center -200px;
}
.recipe_properties .cell#recipe-info-source::before,
.recipe-col-properties .cell#recipe-info-source::before {
    background-position: center -250px;
}
/* old */
.recipe_properties .cell label,
.recipe_properties .cell .value,
.recipe-col-properties .cell label,
.recipe-col-properties .cell .value {
    float: left;
    width: calc(100% - 40px);
}
/* old */
/* new */
.recipe-col-properties .cell .values {
    width: calc(100% - 40px);
}
.recipe_properties .cell .values label,
.recipe_properties .cell .values .value,
.recipe-col-properties .cell .values label,
.recipe-col-properties .cell .values .value {
    display: block;
    width: 100%;
}
/* new */
.recipe_properties .cell label,
.recipe-col-properties .cell label {
    font-weight: 600;
}
.recipe-col-properties .socialsharebuttons {
}

/* ingredients */

.recipe-col-ingredients > h3 {
    margin-top: 0;
}
.tx-vealrecipes-ingredientslist {
    list-style: none;
    padding-left: 0;
}
.tx-vealrecipes-ingredientslist li {
    margin-bottom: 5px;
}
.tx-vealrecipes-ingredientslist li label {
    position: relative;
    display: block;
    padding-left: 20px;
}
.tx-vealrecipes-ingredientslist li label input[type=checkbox] {
    position:  absolute;
    top: 0;
    left: 0;
}
.tx-vealrecipes-buttons {
    display: flex;
    flex: 1;
    justify-content: flex-end;
    margin-top: 30px;
}
.recipe .button {
    display: inline-block;
    text-decoration: none;
    border: 1px solid #999;
    border-radius: 5px;
    min-width: 150px;
    text-align: center;
    padding: 5px 15px;
    margin: 0 15px 15px 0;
    background: #fff;
    transition: all ease 0.4s;
    cursor: pointer;
}
.recipe .button:hover {
    color: #fff;
    background: #020203;
}

.recipe .video {
    width: 150px;
    margin: 0 15px 15px 0;
}
.recipe .video a.button {
    position: relative;
    width: 150px;
    margin: 120px 0 0 0;
    display: flex;
    justify-content: center;
}
.recipe .video a.button:before {
    content: '';
    width: 150px;
    height: 87px;
    border: 1px solid #000;
    border-radius: 5px;
    background: url(../Icons/bg_youtube_link.jpg) center center no-repeat #000;
    background-size: cover;
    position: absolute;
    top: -97px;
    left: 50%;
    transform: translate(-50%, 0);
    transition: all ease .4s;
}
.recipe .video a.button:hover:before {
    opacity: 0.75;
}
.recipe .video a.button:after {
    content: '';
    width: 20px;
    height: 20px;
    border-width: 10px 0 10px 20px;
    border-style: solid;
    border-color: transparent transparent transparent #fff;
    position: absolute;
    top: -62px;
    left: 50%;
    transform: translate(-50%, 0);
}
.recipe .button.button_print {
    color: #fff;
    background: #000;
    border-color: #000;
}
.recipe .button.button_print:hover {
    color: #000;
    background: #fff;
}

/* LIST */

.recipe_list .flash-messages .col {
    padding: 0 15px;
}

/* pagination */

ul.f3-widget-paginator {
    display: inline-block;
    width: 100%;
    list-style: none;
    margin: 15px 0;
    padding: 0;
}
ul.f3-widget-paginator {
    padding: 0 15px;
}
ul.f3-widget-paginator li,
ul.f3-widget-paginator li a,
ul.f3-widget-paginator li.current {
    display: inline-block;
    min-width: 26px;
    height: 26px;
    line-height: 20px;
    font-size: 15px;
    text-align: center;
    margin: 0;
    padding: 2px 5px 2px 5px;
    border: 1px solid #ccc;
    text-decoration: none;
    box-sizing: border-box;
    transition: background-color ease 0.4s;
}
ul.f3-widget-paginator li {
    list-style-type:none;
    min-width: 20px;
    vertical-align: top;
    text-align: center;
    margin: 0 5px 10px 0;
    padding: 0;
    border: none;
}
ul.f3-widget-paginator li.current {
    background: #ebebeb;
    margin: 0 5px 10px 0;
}
ul.f3-widget-paginator li a:hover {
    color: #fff;
    background: #666;
}
ul.f3-widget-paginator li.next a,
ul.f3-widget-paginator li.previous a {
    position: relative;
    text-indent: -999px;
    overflow: hidden;
}
ul.f3-widget-paginator li.next a:after,
ul.f3-widget-paginator li.previous a:after {
    position: absolute;
    content: '>';
    display: inline-block;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    line-height: 25px;
    text-indent: 0;
}
ul.f3-widget-paginator li.previous a:after {
    content: '<';
}

@media print {
    .cookiemessage,
    .recipe-col-vealcut,
    .video,
    .button.print_button {
        display: none !important;
    }
}
/* print */
