/*
To change this license header, choose License Headers in Project Properties.
To change this template file, choose Tools | Templates
and open the template in the editor.
*/
/* 
    Created on : Feb 29, 2016, 9:16:28 PM
    Author     : Liz
*/

* {
    -moz-box-sizing: border-box;   
    box-sizing: border-box; 
  }
  html {
  font-family: sans-serif; /* 1 */
  -ms-text-size-adjust: 100%; /* 2 */
  -webkit-text-size-adjust: 100%; /* 2 */
  height:100%;
  width:100%
}
header img {
    padding:1px;
    width:25%;
   
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 1em;
    height:100%;
    width:100%;
    padding:20px;
    margin: 0px auto 0px auto;
}
main {
    width:65%;
    margin:auto;
    background-color: #fff;
    
}
.mainHeading {
    text-align: left;
    color: #003133;
    padding-left: 3%;
}

h1, h2, h3{
    text-align: left;
    font-family: "Baskerville Old Face", Baskerville, Garamond, "Times New Roman", san-serif;
    
}
p {
    width:70%;
}
ol {
    width: 70%;
}

.navList {
    width: 100%;
    /*overflow:auto;
    display:flex;
    flex-flow:row nowrap;
    justify-content: flex-start;
    flex: 0 1 auto;/*not to grow - shrink - adjust size
    order:2;*/
}

nav ul ul {
    display: none;
}
nav ul li:hover > ul {
    display: block;
}
nav ul {
    background: #801815; 
	/*background: linear-gradient(top, #801815 0%, #ffacaa 100%);  
	background: -moz-linear-gradient(top, #801815 0%, #ffacaa 100%); 
	background: -webkit-linear-gradient(top, #801815 0%,#ffacaa 100%); */
	box-shadow: 0px 0px 9px rgba(0,0,0,0.15);
	padding: 0 20px;
	list-style: none;
	position: relative;
	display: inline-table;
}
nav ul:after {
    content: "";
    clear:both;
    display: block;
}
nav ul li {
    float: left;
 }
  nav ul li:hover {
      background: #804615;
      background: linear-gradient(top, #804615 0%, #d49b6a 40%);
      background: -moz-linear-gradient(top, #804615 0%, #d49b6a 40%);
      background: -webkit-linear-gradient(top, #804615 0%,#d49b6a 40%)
  }
nav ul li:hover a {
    color:#fff;
}
nav ul li a {
    display: block;
    padding: 25px 40px;
    color: white;
    text-decoration: none;
    font-size: 1.2em;
}
nav ul ul {
    background:#804615;
    border-radius: 0px;
    padding: 0;
    position: absolute;
    top:100%;
}
nav ul ul li {
    float: none;
    border-top:1px solid #552700;
    border-bottom: 1px solid #d49b6a;
    position: relative;
}
nav ul ul li a {
    padding: 15px 40px;
    color: #fff;
}	
    nav ul ul li a:hover {
	background: #aa6d39;
}
nav ul ul ul {
    position: absolute;
    left: 100%;
    top:0;
}

figure {
    width:38%;
    float:left;
    padding-bottom: 20px;
    /*margin:10px;
    margin-top: 30px;*/
}

figure h2 a {
    display:block;
    width:100%;
    margin:10px;
    text-align:left;
    text-decoration: none;
    color: #004304;
}

figure h3 a {
    display:block;
    width:100%;
    margin:10px;
    text-align:left;
    text-decoration: none;
    color: #004304;
}
figure img {
    width:100%;
    
}
figure figcaption {
    width:100%;
    height: 25px;
    font-family: Arial, Helvetica, sans-serif;
}

.mainPict {
    width:60%;
    height: auto;
    
}
.threePicts img {
    padding:10px;
    width:30%;
    height: auto;
}
.twoPicts img {
    padding:15px;
    width: 40%;
    height: auto;
}
.linkPict {
    width: 10%;
    height:auto;
}
.bottomSuggesedRecipes figure {
    width: 25%;
    float:left;
    margin:10px;
    padding: 10px;
    padding-bottom: 50px;
}
.bottomSuggesedRecipes figure h4 a {
    display:block;
    padding:0;
    width: 25%;
    margin: 0px;
    text-align:left;
    text-decoration: none;
    color: #004304;
}
.bottomSuggesedRecipes h3 {
    padding-left: 2%;
    margin: 0;
}
.bottomSuggesedRecipes figure a img{
    padding: 0px;
}

table {
   border-collapse: collapse;
}
table, td, tr {
    border:solid;
    border-width: 1px;
    border-color: #004304;
}
table td {
    padding: 10px;
}
ul img {
    width: 10%;
}

aside {
    width:10%;
    float: left;
    padding: 10px 0px 10px 0px;
    border-width: 2px 0px 2px 0px;
    border-style: ridge;
    border-color: #86c98a;
    clear: left;
    margin-top: 10%;
    margin-left: 10%;
 
}
aside ul li a {
    text-decoration: none;
    color:#004304;
    font-size:24px;
    font-family: Arial, sans-serif;
}

footer {
    background:#116416;
    height:60px;
    clear:both;
   
}
footer ul li a {
    color:white;
    padding-top: 10px;
    margin-top:10px;
    
}
footer ul li {
    float:left;
    margin:15px;
}

/*mobile handheld device*/
@media only screen and (max-width:480px){
    .navList ul {
       position:static;
    }
    .navList ul li {
        margin-bottom: 1px;
    }
    .navList ul li, .navList ul li a {
        width:100%;
    }
    nav ul li:hover{
        /*visibility: hidden;*/
    }
    nav ul li a:hover {
        /*visibility: hidden;*/
    }
    nav ul ul {
        visibility: hidden;
    }
    nav ul ul li a:hover {
        visibility: hidden;
    }
    main {
        width:100%;
    }
    figure {
        width: 100%;
        display:block;
        padding:0;
        border: 0;
    }
    img {
        width:80%;
        height:auto;
    }
    .mainPict {
        width:100%;
        height:auto;
    }
    header{
        background-color:White;
        padding-bottom:20px;
        height:20%;
    }
    header img {
        display:block;
        width:100%;
        margin:auto;
    }
    main figure {
        margin:0 auto;
        display:block;
    }
    .mainHeading {
      width: 100%;
    }
    p {
        margin: auto;
        width: 100%;
    }
    ol {
        margin: auto;
        width: 100%;
        height: auto;
    }
    .bottomSuggesedRecipes {
        visibility: hidden;
    }
    video {
        width: 100%;
        height: auto;
    }
    aside {
       visibility: hidden;
    }
    footer {
        height:120px;
    }
    footer ul a {
        text-decoration: none;
        display: inherit;
        padding: 14px;
    }
    footer ul li a {
        margin:auto;
        padding: 0;
    }
    
}
/*Tablets*/
@media only screen and (min-width:481px) and (max-width:768px){
     .navList ul a {
        display:block;
        width:100%;
    }
    nav ul li a {
        padding:20px;
        font-size: .9em;
    }
    body {
        width:100%;
    }
    main {
        width:80%;
    }
    header img {
        background-color: White;
        float:left;
        width: 50%;
       
    }
    .mainHeading {
        width:100%;
        float:left;
        margin-top:0px;
        padding-top: 0px;
    }
    .mainPict {
        width: 80%;
        height: auto;
    }
    main figure {
        margin:0 auto;
        width: 45%;
        padding: 3%;
        display:block;
    }
    figure h2, h3 {
        height: 30px;
    }
    main h1, h2 {
        margin:0 auto;
    }
    p, ul, ol {
        width: 100%;
        height: auto;
    }
   
    .bottomSuggesedRecipes figure {
    width: 45%;
    margin:0px;
    padding: 10px;
}
.bottomSuggesedRecipes figure h4 a {
    display:block;
    padding:0;
    width: 100%;
    margin: 0px;
    text-align:left;
    text-decoration: none;
    color: #004304;
}
.bottomSuggesedRecipes h3 {
    padding-left: 2%;
    margin: 0;
}
.bottomSuggesedRecipes figure a img{
    padding: 0px;
}
    aside {
        visibility: hidden;
    }
}
/*Desktops/Laptops*/
@media only screen and(min-width:769px) {
    body {
        width:760px;
    }
    header img {
        float:left;
       
    }
}
/*1300px or larger*/
@media only screen and (min-width:81.25em){
  /*  body {
        width:98vw;
        margin:0 auto;
        font-size:2vw;
    }  */
}
    
