﻿#recipeSection{
    display: none;
    margin-top: 20px;
}

h1 {
    text-transform: none;
    line-height: 1em;
}

h2 {
    font-size: 1.8em;
    font-weight: bold;
    padding-bottom: 10px;
}

.subPageContainer {
    text-align: center;
    max-width: 610px;
    padding-top: 40px;
}

.recipes {
}

.recipeContainer {
}

.recipeImageContainer {
    position: relative;
    flex: 1 1 0;
    max-height: 300px;
    overflow: hidden;
    border-radius: 25px;
    max-width: 450px;
    align-self: center;
}

    .recipeImageContainer > img {
        max-width: 100%;
    }

.recipeTextcontainer {
    padding-left: 30px;
    box-sizing: border-box;
    flex: 1 1 0;
    flex-direction: column;
}

.recipeDescription > p{
    margin: 5px 0;
}

.recipeButtonContainer {
    flex-grow: 1;
    display: flex;
    align-items: flex-end;
    color: white;
}

    .recipeButtonContainer a {
        text-decoration: none;
        color: inherit;
        font-weight: bold;
        padding: 10px 40px;
        margin-bottom: 10px;
        margin-top: 10px;
        border-radius: 5px;
    }

        .recipeButtonContainer a.yellow {
            color: #808080;
        }

.avatarContainer {
    position: absolute;
    top: 0;
    left: 0;
    padding: 10px 20px;
    max-width: 80px;
    font-size: 0.8em;
}

.avatarTitle {
    color: white;
    text-align: center;
    padding-top: 5px;
}

.avatarImage {
    width: 100%;
}

.recipeImage {
    width: 100%;
}

hr.grey {
    border: 1px solid #c0c1bf;
    margin: 40px auto;
}

.recipes > hr {
    width: 90%;
}

.avatarTitle.yellow {
    color: #808080;
}
.recipeDetailContainer{
    margin-top: 20px;
}
.recipeDetailImage {
    max-width: 100%;
    border-radius: 25px;
    align-self: center;
}
.recIngredientContent{
    flex: 1 1 0;
}
.recImageContainer{
    max-height: 380px;
    overflow: hidden;
    display: flex;
    align-self: flex-end;
    border-radius: 25px;
}

.recImage{
    /*flex: 1 1 0;*/
    text-align: right;
    display: flex;
    flex-direction: column;
}
.recDiscl{
    text-align: right;
    font-size: 0.7em;
    font-style: italic;
}
.nutritionDataContainer{
    display: flex;
    justify-content: flex-end;
    border-right: 1px solid black;
    margin-top: 10px;
}
.nutritionItem{
    text-align: right
}
.nutritionTitle {
    border: 1px solid black;
    border-right: none;
    padding: 10px;
}
.nutritionValue{
    border: 1px solid black;
    border-top: none;
    border-right: none;
    padding: 10px;
}
.recIngredientTitle{
    font-weight: bold;
    margin-bottom: 10px;
    margin-top: 15px;
}
.recIngredientItem{
    margin-bottom: 5px;
}
.recIngredientTitle{
    font-size: 1.2em;
}
.recDescr {
    text-align: justify;
    margin-top: 35px;
}
.recDescrTitle {
    font-weight: bold;
    font-size: 1.2em;
}

@media only screen and (max-width: 750px) {
    .recipes {
        font-size: 0.7em;
        padding: 0 10px;
    }

    .avatarTitle {
        font-size: 0.7em;
    }

    .avatarContainer {
        max-width: 20%;
    }

    .recipeDetailImage {
        border-radius: 0;
    }
    .recipeDetailContainer{
        margin: 0 10px;
        margin-top: 10px;
    }
    .recipeDetailContent{
        flex-direction: column;
    }
}
