/* global tags */
/*
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    border: 0;
    list-style-type: none;
    font: inherit;
    font-size: 100%;
    vertical-align: baseline; 
}
*/


h3 {
    line-height:0.1;
}

body {
    font-family: sans-serif;
    line-height: 1.5;
}

/* nav and footer */

.navbar {
    z-index: 1;
    top: 0; /* Stay at the top */
    background: #e3d8c1; 
    font-weight: bold;
    margin-bottom: 20px;
    position: sticky;
    border-bottom: 2px double #464141;
    display: flex; 
    justify-content: space-between;
}

.navbar a {
    padding: 10px 15px;
    font-size: 16px;
    color: #464141;
}

.navbar a:hover{
    background-color: #8a806b;
    color: #ffffff;
}

#navHomepage {
    color: white; /* main colour of title nav */
    font-size: 30px;
    float: left;
    -webkit-text-stroke-width: 2px;
    -webkit-text-stroke-color: #464141; /* the outline of title nav */
}

.dropdownMenu {
    justify-content: flex-end;
    overflow: hidden;
    float: right;
}

.dropdownMenu:hover {
    background-color: #8a806b;
}

.dropdownMenu #dropdownBtn {
    font-size: 30px;  
    border: none;
    outline: none;
    color: #464141; /* the colour of the icon */
    padding: 14px 16px;
    background-color: inherit;
    font-family: inherit;
    margin: 0;
}

.dropdownContent {
    display: none;
    position: absolute;
    right: 0px;
    background-color: #e7decb; /* background colour of dropdown content menu */
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
}

.dropdownContent a {
    float: none;
    color: black; /* the colour of the text in dropdown content menu */
    padding: 12px 16px;
    text-decoration: none;
    display: block;
    text-align: left;
}

.dropdownContent a:hover {
    background-color: #8a806b; /* background colour of dropdown item when hovered */
    border: 2px double #464141; /* border of dropdown item when hovered*/
}


.dropdownMenu:hover .dropdownContent {
    display: block;
}

#footerNav {
    background: #e3d8c1;
    padding-top: 10px;
    padding-bottom: 5px;
    margin-top: 20px;
    width: 100%;
    font-weight: bold;
    text-align: center;
    position: absolute;

}

#footerNav a {
    color: #464141;
    text-decoration: none;
    padding: 10px 15px;
    font-weight: bold;
    vertical-align: auto;
}

#footerNav a:hover {
    color: #000000;
    text-decoration: none;
}

#copyrightDisclaimer {
    padding: 0px 15px;
    float: right;
    font-size: 12px;
    line-height: 0px;
}

#footerCredit {
    padding: 0px 15px;
    float: left;
    font-size: 14px;
    line-height: 0px;
}

/* classes and ids */

#recipeIntroContainer {
    background-color: #efe9dc;
    width: 70%;
    border-style: double double dashed;
    border-width: 3px;
    border-color: gray;
    text-align: left;
    vertical-align: top;

    margin: auto;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}

.recipeIntroItem:nth-of-type(1) {flex-basis: 100%; flex-grow: 1}
.recipeIntroItem:nth-of-type(2) 
.recipeIntroItem:nth-of-type(3) {flex-basis: 30%; flex-grow: 1}
.recipeIntroItem:nth-of-type(4) {flex-basis: 30%; flex-grow: 1}
.recipeIntroItem:nth-of-type(5) {flex-basis: 100%; }



#recipeIntroDetails {
    background-color: #dfd3b9; 
    padding: 10px;
    line-height: 15px;
}

#printRecipe {
    background-color: #dfd3b9; 
    width: 110px;
    text-align: center;
    float: right;
    margin-top: -80px;
    position: relative;


}

#printRecipeBtn {
    font-size: 16px;
    font-weight: bold;
    width: 110px;
    height: 60px;
    background-color: #e7decb;
    border-style: double;
    border-width: 2px;
    border-color: #464141;
    border-radius: 15px;
    
}

#printRecipeBtn:hover {
    cursor: pointer;
}

.recipeBrief {
    margin: -5px;
}

#equipment {
    text-align: left;
    vertical-align: top;
    list-style: circle;
    padding: 0px 20px;
    width: 35%;
}

#additionalNotes {
    padding: 0px 20px;
}

#additionalNotes ul {
    list-style: square;
    padding-left: 20px;
}

#recipeTime { /* the prep, cooking, total time*/
    text-align: center;
    background-color: #dfd3b9;
    display: flex;
    flex-direction: row;
    align-items: stretch;
    justify-content: space-between;
    
}

.recipeTimeData {
    text-align: center;
    padding: 10px;
    border: 2px solid #efe9dc;
    margin: 0px;
}

.recipeTimeData:nth-of-type(1) { flex-basis: 15%;}
.recipeTimeData:nth-of-type(2) { flex-basis: 35%;}
.recipeTimeData:nth-of-type(3) { flex-basis: 50%;}

#recipeContentsContainer { /* the second div: ingredients, and method */
    background-color: #e7decb;
    width: 90%;
    border-style: dashed double double;
    border-color: gray;

    margin: 20px auto 0px;
    display: flex;
    flex-direction: row;

}

.recipeContentsItem:nth-of-type(1) { flex-basis: 80%; flex-grow: 2;}
.recipeContentsItem:nth-of-type(2) { flex-basis: 10%; }

.identIngredients {
    margin-left: 30px;
    list-style: circle;
}

#ingredientsAndMethod {
    padding: 0px 30px;
    vertical-align: top;
}

#ingredientsAndMethod h3 {
    padding-top: 10px;
}

#ingredientsAndMethod ul li {
    margin-bottom: 5px;
}

#ingredientsAndMethod ol li {
    margin-bottom: 10px;
}

#recipeImagesColumn {
    vertical-align: top; 
    text-align: right;
    line-height: 0px;
}




