﻿ul, ol, dl, p, h1, h2, h3, h4, h5, h6
{
  /* pixels are used here, rather than ems, because I want a consistent          
  * margin on the different headings. if I use ems, 1em for an h1 element          
  * is much larger than 1em on an h6 element. I don't want this. */
  margin-top: 10px;
  margin-bottom: 10px;
  padding-top: 0;
  padding-bottom: 0;
}
ul ul, ul ol, ol ul, ol ol
{
  /* kill margins on sub-lists */
  margin-top: 0;
  margin-bottom: 0;
}
h1
{
  font-size: 240%;
}
h2
{
  font-size: 180%;
}
h3
{
  font-size: 140%;
}
h4
{
  font-size: 100%;
}
h5
{
  font-size: 70%;
}
h6
{
  font-size: 50%;
}
a, a:link, a:visited, a:active
{
  text-decoration: underline;
  color: #6e7678;
  font-weight: bold;
}
a:hover, #FairsTable a:hover
{
  color: #5ebeeb;
}
code, pre
{
  /* Make sure we're all using the same monospaced font for CODE          
  * and PRE elements */
  font-family: "Courier New" , Courier, monospace;
}
label
{
  /* It's all about the visual feedback. In this case, label          
  * elements are usually clickable which then set focus on          
  * their target. I want to show that to the user in a manner          
  * they are used to and understand. */
  cursor: pointer;
}
table
{
  /* Some browsers won't carry the font size down into the          
  * browser like they're suppose to. */
  font-size: 100%;
}
td, th
{
  /* I never like or use the default vertical centering "feature"          
  * provided by tables. */
  vertical-align: top;
}

body
{
  background-color: #f1f1f1;
  font-family: Arial;
  font-size: 100.1%;
}

#ContentDropShadow
{
  background-image: url(/Image/Layout/BackgroundDropShadow.jpg);
  width: 867px;
  padding: 48px 52px 0 59px;
  text-align: center;
  margin: 20px auto 0 auto;
}

#BottomOfDropShadow
{
  background-image: url(/Image/Layout/BottomOfDropShadow.jpg);
  background-repeat: no-repeat;
  width: 867px;
  padding: 33px 52px 0 59px;
  text-align: center;
  margin: 0 auto 0 auto; 
}

#ContentWrapper
{
  background-color: White;
  border: solid 1px black;
  border-bottom: 0;
  font-size: 0.75em;
  padding: 5px 15px 1px;
  width: 835px;
}

#Header
{
  color: #959b9c;
  text-align: left;
}

#Header img
{
  float: left;
  left: -10px;
  position: relative;
  top: -5px;
  border: 0;
}

#Header a img
{
  left: -2px;
  position: relative;
  top: 5px;
  float: none;
}

#Header a
{
  text-decoration: none;
}

#Header a:hover span
{
  color: #959b9c; 
}

#Header span
{
  color: #24a6e4; 
}

#Navigation
{
  color: #959b9c;
  float: right;
  position: relative;
  text-align: right;
  top: -40px;
}

#MainPageContent
{
  background-color: #f1f1f1;
  margin: 30px 60px 35px 70px;
  padding: 15px 20px 20px;
  text-align: left;
}

#Footer
{
  font-size: 0.7em;
  text-align: center;
}

#GalleryPage h1, #ContactPage h1, #HomePage h1, #PortionsPage h1, #PricingPage h1, #FairsPage h1, #LinksPage h1, #TestimonialsPage h1, #CheeseWeddingCakePage h1
{
  display: none;
}

#GalleryPage, #ContactPage, #HomePage, #PortionsPage, #PricingPage, #FairsPage, #LinksPage, #TestimonialsPage, #CheeseWeddingCakePage
{
  background-repeat: no-repeat;
  background-position: top left;
  padding: 40px 0 0 1px;
  overflow: hidden;
}

#GalleryPage
{
  background-image: url(/Image/Headers/Gallery.jpg);
}

#GalleryPage img
{
  border: solid 1px #959b9c;
  padding: 3px;
  margin: 2px;
  background-color: White;
}

#ContactPage
{
  background-image: url(/Image/Headers/ContactUs.jpg); 
}

#ContactPage span
{
  padding-left: 30px;
  display: block; 
}

#ContactPage img
{
  float: right;
  border: solid 1px black;
  padding: 1px;
  margin: 0 0 0 15px;
}

#HomePage
{
  background-image: url(/Image/Headers/HandCraftedCakes.jpg); 
}

#HomePage img, #PricingPage img, #CheeseWeddingCakePage img
{
  float: right;
  border: solid 1px black;
  padding: 1px;
  width: 150px;
  margin: 0 0 0 15px;
}

#PricingPage
{
  background-image: url(/Image/Headers/Pricing.jpg);
}

#CheeseWeddingCakePage
{
  background-image: url(/Image/Headers/CheeseWeddingCake.jpg);
}

#LinksPage
{
  background-image: url(/Image/Headers/UsefulLinks.jpg);
}

#FairsPage
{
  background-image: url(/Image/Headers/Fairs.jpg);
}

#TestimonialsPage
{
  background-image: url(/Image/Headers/Testimonials.jpg);
}

#PortionsPage
{
  background-image: url(/Image/Headers/Portions.jpg); 
}

#PortionsTable, #FairsTable
{
  background-color: White;
  padding: 4px;
}

#FairsTable a
{
  color: black; 
}

#PortionsTable table, #FairsTable table
{
  width: 100%; 
  border-collapse: collapse;
  border: solid 1px #6e7678;
}

#PortionsTable table thead tr td, #FairsTable table thead tr td
{
  font-weight: 900;
  border: solid 1px #24a6e4;
  padding: 5px 2px 5px 10px;
  width: 33%; /* Different for FairsTable */
}

#FairsTable table thead tr td
{
  width: 25%;
}

#PortionsTable table tbody tr td, #FairsTable table tbody tr td
{
  border: solid 1px #6e7678;
  padding: 5px 2px 5px 10px;
}

.AlternateRow
{
  background-color: #e8f8ff; 
}

#Navigation .ActivePage
{
  text-decoration: none;
  color: #5ebeeb;
}

.Quote
{
  background-repeat: no-repeat;
  background-image: url(/Image/Layout/QuotesOpen.jpg);
  padding: 15px 0 0 35px;
  margin-bottom: 10px;
}

.Quote blockquote
{
  background-repeat: no-repeat;
  background-image: url(/Image/Layout/QuotesOpen.jpg);
  background-position: right bottom;
  padding: 0 0 15px;
  margin: 0;
}