﻿/**** HEADER ****/

.recipe__header {
    background-repeat: no-repeat;
    background-position: center center;
    -webkit-background-size: cover;
    background-size: cover;
    height: 350px;
}

.recipe__title {
    color: #fefefe;
    font-family: "Open Sans";
    font-size: 44px;
    font-weight: 800;
    margin-bottom: 15px;
    text-shadow: 1px 1px 0 rgba(0,0,0,0.9);
}

.recipe__header form {
    padding-top: 25px;
    text-align: right;
}

@media (max-width: 992px) {
    .recipe__header form {
        text-align: left;
    }
}

.recipe__header button {
    box-shadow: 1px 1px 3px 0 rgba(0,0,0,0.4);
    font-weight: bold;
    margin-bottom: 13px;
}

/**** DESCRIPTION ****/

.recipe__description p {
    color: rgba(254, 254, 254, 0.67);
    text-shadow: 1px 1px 0 rgba(0,0,0,0.6);
}

.recipe__description ul {
    padding-left: 0;
}

.recipe__description li {
    background-color: rgba(255, 255, 255, 0.55);
    display: inline-block;
    margin: 4px 4px 0 0;
    padding: 2px 5px;
    -webkit-border-radius: 4px;
            border-radius: 4px;
}

/**** INGREDIENTS ****/

.recipe__ingredients {
    background-image: url(linedpaper.png);
    border: solid 1px #DADADA;
    font-size: 16px;
    padding: 15px 40px 40px 40px;
    position: relative;
    top: -50px;
    -webkit-box-shadow: 0 -2px 15px 0 rgba(0,0,0,.2);
    box-shadow: 0 -2px 15px 0 rgba(0,0,0,.2);
}

@media 
(-webkit-min-device-pixel-ratio: 2), 
(min-resolution: 192dpi) { 
    .recipe__ingredients {
        background-image: url(linedpaper_2x.png);
        background-size: 412px 300px;
    }
}

.recipe__ingredients img /* Paperclip */ {
    position: absolute;
    top: -16px;
    left: -6px;
}

.recipe__ingredients p {
    line-height: 25px;
    margin: 25px 0 0 0;
}

.recipe__ingredients ul {
    list-style-type: none;
    margin: 25px 0 0 0;
    padding: 0 0 0 30px;
}

.recipe__ingredients ul > li:before {
    content: "*"; /* en dash here */
    position: absolute;
    margin-left: -1.1em;
    margin-top: 3px; 
}

.recipe__ingredients li {
    line-height: 25px;
}

.recipe__ingredients hr {
    display: none;
}

/**** INSTRUCTIONS ****/

.recipe__instructions {
    padding: 30px 0px 40px 20px;
    font-size: 16px;
    line-height: 25px;
}

.recipe__instructions ol {
    font-size: 16px;
    line-height: 25px;
    margin-top: 20px;
}

@media (max-width: 992px) {
    .recipe__instructions {
        padding: 0 20px 20px 20px;
        margin-top: -20px;
    }
    .recipe__instructions ol {
        padding-left: 30px;
    }
}

.recipe__instructions ol > li {
    margin-bottom: 20px;
}

.recipe__instructions ol > li > ul {
    list-style-type: none;
    margin-top: 5px;
    padding-left: 25px;
}

/**** FOOTER ****/

.recipe__footer {
    background: rgb(56,56,56);
    color: #fefefe;
    margin-bottom: 30px;
    padding: 0px 24px;
}

.recipe__footer > a {
    color: rgba(254, 254, 254, 0.65);
}

.recipe__footer > .btn {
    padding: 12px;
}

.recipe__footer > a:hover,
.recipe__footer > a:focus {
    color: rgba(254, 254, 254, 0.65);
    text-decoration: underline;
}
