body {
  font-size: 10pt;
  font-family: Palatino, Times, serif;
  background-color: #ffccd8;
  background-image: url(/furniture/bg.png);
}

#container {
  position: relative;
  width: 800px;
  margin: 56px auto 0 auto;
}

em {
  font-style: italic;
}

strong {
  font-weight: bold;
}

h1, #nav {
  background-color: #fb5d82;
  color: white;
}

h1 {
  height: 65px;
  font-size: 2em;
  padding: 10px 0 0 10px;
  background-image: url(/furniture/fixed/logo.png);
  background-repeat: no-repeat;
  background-position: 10px 5px;
  text-indent: -9999em;
}
#nav {
  overflow: hidden;
  padding: 0 0 10px 10px;
  height: 1em;
}
#nav li {
  float: left;
}
#nav li a {
  text-decoration: none;
  display: block;
  color: white;
  background-image: url(/furniture/fixed/nav4.png);
  background-position: -10px -14px;
  background-repeat: no-repeat;
  text-indent: -9999em;
  width: 57px;
  height: 17px;
}
#nav li a:hover {
  color: red;
}

#nav li#nav_prices a {
  background-position: -68px -14px;
  width: 80px;
}
#nav li#nav_flavours a {
  background-position: -68px -14px;
  width: 85px;
}
#nav li#nav_contact a {
  background-position: -140px -14px;
  width: 105px;
}
#nav li#nav_cakes a {
  background-position: -265px -14px;
  width: 108px;
}
#nav li#nav_gallery a {
  background-position: -378px -14px;
  width: 94px;
}
#nav li#nav_inspiration a {
  background-position: -475px -14px;
  width: 164px;
}
#nav li#nav_collecting a {
  background-position: -641px -14px;
  width: 150px;
}

#nav li#nav_home a:hover {
  background-position: -10px -44px;
}
#nav li#nav_prices a:hover {
  background-position: -68px -44px;
}
#nav li#nav_flavours a:hover {
  background-position: -68px -44px;
}
#nav li#nav_contact a:hover {
  background-position: -140px -44px;
}
#nav li#nav_cakes a:hover {
  background-position: -265px -44px;
}
#nav li#nav_gallery a:hover {
  background-position: -378px -44px;
}
#nav li#nav_inspiration a:hover {
  background-position: -475px -44px;
}
#nav li#nav_collecting a:hover {
  background-position: -641px -44px;
}

#nav li#nav_home a.on {
  background-position: -10px -74px;
}
#nav li#nav_prices a.on {
  background-position: -68px -74px;
}
#nav li#nav_flavours a.on {
  background-position: -68px -74px;
}
#nav li#nav_contact a.on {
  background-position: -140px -74px;
}
#nav li#nav_cakes a.on {
  background-position: -265px -74px;
}
#nav li#nav_gallery a.on {
  background-position: -378px -74px;
}
#nav li#nav_inspiration a.on {
  background-position: -475px -74px;
}
#nav li#nav_collecting a.on {
  background-position: -641px -74px;
}

#main {
  border-bottom: 12px solid #fb5d82;
  overflow: auto;
  width: 800px;
  background-color: white;
}

#content {
  padding: 15px 25px 15px 30px;
  width: 390px;
  float: left;
}

#content ul {
  list-style-type: disc;
  margin: 0 0 1em 2em;
}
#content ul li {
  line-height: 1.2em;
}


#feature {
  height: 400px;
  padding-top: 15px;
  float: left;
  width: 330px;
}
#page_home #feature {
  height: 500px;
}
#feature p {
  padding: 0;
  text-align: center;
}
#feature p img {
  margin-bottom: 7px;
  margin-right: 10px;
}
h2 {
  margin-top: 50px;
  font-size: 1.3em;
  font-weight: bold;
  padding-bottom: 1em;
}

p {
  font-size: 0.9em;
  line-height: 1.2em;
  padding-bottom: 1.5em;
}

#cake {
  position: absolute;
  height: 262px;
  width: 239px;
  bottom: -63px;
  left: -60px;
}

#cake.corner1 { background-image: url(/furniture/corner_1.png); }
#cake.corner2 { background-image: url(/furniture/corner_2.png); }
#cake.corner3 { background-image: url(/furniture/corner_3.png); }
#cake.corner4 { background-image: url(/furniture/corner_4.png); }
#cake.corner5 { background-image: url(/furniture/corner_5.png); }
#cake.corner6 { background-image: url(/furniture/corner_6.png); }


body#page_contact #cake {
  background-image: none;
}


/* Page titles */
body #content h2 {
  background-repeat: no-repeat;
  text-indent: -9999em;
}
body#page_home #content h2 {
  background-image: url(/furniture/titles/home.png);
}
body#page_prices #content h2 {
  background-image: url(/furniture/titles/prices.png);
}
body#page_contact #content h2 {
  background-image: url(/furniture/titles/contact.png);
}
body#page_cakes #content h2 {
  background-image: url(/furniture/titles/cakes.png);
}
body#page_gallery #content h2 {
  background-image: url(/furniture/titles/gallery.png);
}
body#page_inspiration #content h2 {
  background-image: url(/furniture/titles/inspiration.png);
}
body#page_collecting #content h2 {
  background-image: url(/furniture/titles/collecting.png);
}
body#page_404 #content h2 {
  background-image: url(/furniture/titles/404.png);
}
body#page_flavours #content h2 {
  background-image: url(/furniture/titles/flavours.png);
}
body.popup h2 {
  color: #b64560;
  font-size: 1.5em;
}

.gallery {
  height: 375px;
  width: 321px;
}
.gallery li {
  float: left;
  width: 105px;
  padding: 0 2px 2px 0;
  height: 122px;
}
#gallery_page_2 {
  display: none;
}
#gallery_nav {
  clear: left;
  overflow: hidden;
  width: 319px;
}
#gallery_nav .previous {
  float: left;
}
#gallery_nav .next {
  float: right;
}

#footer {
  background-color: #fb5d82;
  color: white;
  width: 322px;
  font-size: small;
  float: right;
  padding: 0 0px 10px 10px;
}
#footer a {
  color: white;
  text-decoration: none;
  border-bottom: 2px solid white;
}



body.popup h1,
body.popup #nav,
body.popup #footer,
body.popup #content {
  display: none;
}
body.popup {
  background-image: none;
  background-color: #fff;
}
body.popup #container {
  margin: 0;
  width: auto;
}
body.popup #main {
  border-bottom: none;
  width: auto;
  overflow: hidden;
  width: 650px;
  height: 400px;
}
body.popup #feature {
  float: none;
  height: auto;
  width: auto;
  padding-top: 0;
}
body.popup #cake {
  display: none;
}

#gallery_image {
  width: 640px;
  height: 380px;
  overflow: auto;
  margin: 10px;
  position: relative;
}
#gallery_image .content,
#gallery_image ul,
#gallery_image img.main {
  float: left;
  padding-left: 5px;
}
#gallery_image .content {
  width: 240px;
  margin-right: 60px;
}
#gallery_image .content h2 {
  margin-top: 0;
}
#gallery_image .content p {
  text-align: left;
}
#gallery_image ul {
  position: absolute;
  bottom: 8px;
  left: 250px;
}
#GB_window .header {
  border: none;
  height: 20px;
  background-image: none !important;
  background-color: white;
}
#GB_window .content {
  border: none;
}
#GB_window .header .caption {
  visibility: hidden;
}
#GB_window .header .close div{
  padding: 10px 25px 0 0;
}
#GB_window .header .close div span{
  font-size: 1.4em;
}

form#contact label,
form#contact input,
form#contact textarea {
  float: left;
  width: 150px;
  margin-top: 5px;
}
form#contact input,
form#contact textarea {
  width: 250px;
}
form#contact textarea {
  height: 80px;
}
form#contact label {
  clear: left;
}
form#contact input#submit {
  width: auto;
  float: right;
  margin-right: 8px;
}

form#contact span.error {
  color: red;
  display: block;
  clear: left;
  padding-top: 10px;
}
