/*------------------------------------------------
           PLEASE DONT'S STEAL,
    JUST TAKE THE INSPIRATION!
------------------------------------------------- */

/*------------------------------------------------
CSS INFO
--------------------------------------------------
FILE: style.css
PROJECT:  Cafe El Salvador
AUTHOR: Jan Hommer (iam@janhommer.cz, www.janhommer.cz)
DATE: 02-2010
------------------------------------------------- */

/*------------------------------------------------
 STANDARD HTML TAG RESET 
------------------------------------------------- */
body,
h1, h2, h3, h4, h5,
p, ul, li, ol,
blockquote,
form {
  border: 0;
  margin: 0;
  padding: 0;
}

/*------------------------------------------------
STANDARD HTML TAG DEFINITION
------------------------------------------------- */

body,
form, input {
  font-family: Arial, Helvetica, sans-serif;
  font-size: 12px;
  color: #43200b;
}

body {
  background: #f5f5f5 url(body.jpg) top repeat-x;
}

a:link, a:visited{
  color: #000;
}

a:hover {
  color: #000;
}

h1, h2, h3, h4, h5 {
  font-family: Georgia;
  clear: both;
}

p {
  text-align: justify;
}

p.center {
  text-align: center;
}

p.right {
  text-align: right;
}

p.alleft {
  float: left;
}

p.alright {
  float: right;
}

img {
  border: none;
}

img.alleft {
  float: left;
  margin: 0 5px 5px 0;
}

img.alright {
  float: left;
  margin: 0 0 5px 5px;
}

hr.clear {
  clear: both;
  visibility: hidden;
  padding: 0;
  margin: 0;
  height: 0;
  font-size: 0;
}

.in {
  width: 900px;
  margin: 0 auto;
  overflow: hidden;
}

.hidden {
  display: none;
}

/*------------------------------------------------
 100% HEIGHT
------------------------------------------------- */

html, body, #wrap {
  height: 100%;
}

body > #wrap {
  height: auto;
  min-height: 100%;
}

.clearfix:after {
  content: ".";
  display: block;
  visibility: hidden;
  clear: both;
  height: 0;
}

.clearfix {
  display: inline-block;
}

/* Hides from IE-mac \*/
* html .clearfix {
  height: 1%;
}
.clearfix {
  display: block;
}
/* End hide from IE-mac */

/*------------------------------------------------
 MAIN
------------------------------------------------- */

#main {
  position: relative;
  width: 920px;
  margin: 0 auto;
  padding-bottom: 70px; /* must be same height as the footer */
}

/*------------------------------------------------
 LEFT
------------------------------------------------- */

#left {
  position: relative;
  float: left;
  width: 625px;
  background: url(left.jpg) top right no-repeat;
}

/*------------------------------------------------
 RIGHT
------------------------------------------------- */

#right {
  position: relative;
  float: right;
  width: 295px;
  padding: 110px 0 0;
  background: url(right.jpg) top no-repeat;
}

/*------------------------------------------------
 HEADER
------------------------------------------------- */

#header {
  width: 340px;
  height: 165px;
  padding: 10px;
  background: url(header.jpg) top left no-repeat;
}

#header h1 {
  width: 340px;
  height: 165px;
}

#header h1 a {
  display: block;
  width: 340px;
  height: 165px;
}

#header h1 a span, #header h2 {
  display: none;
}

/*------------------------------------------------
 MENU
------------------------------------------------- */

#menu {
  height: 45px;
}

#menu ul {
  list-style: none;
}

#menu ul li {
  float: left;
}

#menu ul li a {
  display: block;
  float: left;
  height: 45px;
  line-height: 35px;
  background-image: url(menu.jpg);
}

#menu ul li a span {
  display: none;
}

#menu ul li a.home {
  width: 125px;
  background-position: 590px 0;
}

#menu ul li a.home:hover, #menu ul li a.home.active {
  background-position: 590px 45px;
}

#menu ul li a.about {
  width: 115px;
  background-position: 465px 0;
}

#menu ul li a.about:hover, #menu ul li a.about.active {
  background-position: 465px 45px;
}

#menu ul li a.offer {
  width: 110px;
  background-position: 350px 0;
}

#menu ul li a.offer:hover, #menu ul li a.offer.active {
  background-position: 350px 45px;
}

#menu ul li a.news {
  width: 80px;
  background-position: 240px 0;
}

#menu ul li a.news:hover, #menu ul li a.news.active {
  background-position: 240px 45px;
}

#menu ul li a.gallery {
  width: 75px;
  background-position: 160px 0;
}

#menu ul li a.gallery:hover, #menu ul li a.gallery.active {
  background-position: 160px 45px;
}

#menu ul li a.contact {
  width: 85px;
  background-position: 85px 0;
}

#menu ul li a.contact:hover, #menu ul li a.contact.active {
  background-position: 85px 45px;
}

/*------------------------------------------------
CART
------------------------------------------------- */

#cart {
  width: 240px;
  height: 140px;
  padding: 20px 0 0 55px;
  background: url(cart.jpg) no-repeat;
  font-family: Georgia;
}

#cart a {
  color: #43200b;
  font-weight: bold;
}

#cart h5 {
  padding: 0 0 10px;
  font-size: 18px;
}

#cart p.count {
  display: block;
  float: left;
  width: 120px;
  text-align: right;
  font-size: 48px;
}

#cart p.cart {
  display: block;
  float: left;
  width: 90px;
  padding: 15px 0 0 5px;
  text-align: left;
  font-size: 14px;
  font-weight: bold;
}

#cart p.action {
  clear: both;
  padding: 10px 0 0 3px;
}

/*------------------------------------------------
CONTENT
------------------------------------------------- */

#content {
  margin: 10px 0 0 10px;
}

#content h1 {
  font-size: 24px;
  padding: 0 0 10px;
}

#content h2 {
  font-size: 20px;
  padding: 20px 0 5px;
}

#content h3 {
  font-size: 16px;
  padding: 20px 0 5px;
}

#content p {
  padding: 0 0 10px;
  line-height: 150%;
}

#content ul {
  list-style: square;
  padding: 0 0 0 30px;
} 

#content p.date {
  padding: 0;
  font-size: 10px;
  color: #888;
}

#content blockquote {
  padding: 20px 20px 10px;
  margin: 0 10px 10px;
  border-left: 5px solid #ccc;
  background: #f5f5f5;
  font-size: 14px;
  font-style: italic;
}

#content form.kviz {
  padding: 0 20px 10px;
  margin: 0 10px 10px;
  border-left: 5px solid #ccc;
  background: #f5f5f5;
}

#content form.kviz h4 {
  padding: 20px 0 5px;
}

#content form.kviz p {
  padding: 0;
}

#content form.kviz span.red {
  color: #dd0000;
  font-weight: bold;
}

#content form.kviz span.green {
  color: #3b8c00;
  font-weight: bold;
}

#content .news {
  width: 295px;
  padding: 0 20px 0 0;
  float: left;
}

#content .news.last {
  padding-right: 0;
}

#content .news h3 {
  font-size: 16px;
  padding: 5px 0 5px;
}

#content .prod {
  width: 295px;
  padding: 5px 0 20px;
  margin: 0 20px 0 0;
  _margin: 0 10px 0 0;
  float: left;
}

#content .prod.last {
  margin-right: 0;
}

#content .prod img {
  border: 1px solid #000;
  float: left;
  margin: 0 10px 0 0;
}

#content .prod h2 {
  padding: 0 0 5px;
  margin: 0 0 5px;
  border-bottom: 1px dashed #000;
  font-size: 16px;
}

#content .prod h2 small {
  font-size: 12px;
}

#content .prod p.alright {
  font-size: 15px;
  font-weight: bold;
  margin: -2px 0 0;
}

#content .prod input.count {
  width: 30px;
  padding: 3px;
  border: 1px solid #6e6e6e;
  text-align: center;
  color: #6e6e6e;
}

#content .prod input.count:focus {
  border: 1px solid #000;
  color: #000;
}

#content .prod input.submit {
  width: 25px;
  height: 25px;
  margin: 0 0 0 5px;
  background: url(prod_submit.gif);
  border: none;
  cursor: hand;
  cursor: pointer;
}

#content form.cart {
  padding: 0 20px 10px;
  margin: 0 10px 10px;
  border-left: 5px solid #ccc;
  background: #f5f5f5;
}

#content form.cart h2 {
  padding: 30px 0 20px;
}

#content form.cart p {
  clear: both;
}

#content form.cart label {
  display: block;
  float: left;
  width: 130px;
  padding: 0 5px 0 0;
  text-align: right;
}

#content form.cart input {
  width: 405px;
  padding: 3px;
  border: 1px solid #ccc;
}

#content form.cart input.short {
  width: 40px;
  text-align: center;
}

#content form.cart input.submit {
  width: auto;
  padding: 5px;
  cursor: hand;
  cursor: pointer;
}

#content form.cart select {
  width: 413px;
  padding: 3px;
  border: 1px solid #ccc;
}

#content form.cart textarea {
  width: 407px;
  height: 100px;
  padding: 3px;
  border: 1px solid #ccc;
}

#content form.cart input:focus, #content form.cart select:focus, #content form.cart textarea:focus {
  border: 1px solid #000;
}

#content form.cart table {
  width: 550px;
  margin: 20px 0 10px;
}

#content form.cart table tr.header {
  background: #ccc;
  font-weight: bold;
  color: #fff;
}

#content form.cart table td {
  padding: 5px 10px;
}

#content form.cart table td.one {
  width: 1px;
}

#content form.cart table td.right {
  text-align: right;
}

#content .photo {
  float: left;
  width: 200px;
  height: 148px;
  margin: 0 5px 10px 0;
  overflow: hidden;
}

#content .photo img {
  width: 180px;
  height: 128px;
  margin: 10px 0 0 10px;
}

#content .photo span {
  position: absolute;
  width: 200px;
  height: 148px;
  background: url(content_photo.png) no-repeat;
}
#content .photo a {
  text-decoration: none;
}

/*------------------------------------------------
SIDEBAR
------------------------------------------------- */

#sidebar {
  padding: 10px 0 0 40px;
}

#sidebar h5 {
  clear: both;
  padding: 0 0 5px;
  font-size: 14px;
}

#sidebar h5.paddingTop {
  padding: 20px 0 5px;
}

#sidebar .photo.small {
  float: left;
  width: 114px;
  height: 84px;
  margin: 0 10px 10px 0;
  overflow: hidden;
}

#sidebar .photo.small img {
  width: 108px;
  height: 78px;
  margin: 3px 0 0 3px;
}

#sidebar .photo.small span {
  position: absolute;
  width: 114px;
  height: 84px;
  background: url(sidebar_photo_small.png) no-repeat;
}
#sidebar .photo.small a {
  text-decoration: none;
}

#sidebar .photo.big {
  float: left;
  width: 238px;
  height: 168px;
  margin: 0 10px 10px 0;
  overflow: hidden;
}

#sidebar .photo.big img {
  width: 218px;
  height: 158px;
  margin: 10px 0 0 10px;
}

#sidebar .photo.big span {
  position: absolute;
  width: 238px;
  height: 168px;
  background: url(sidebar_photo_big.png) no-repeat;
}
#sidebar .photo.big a {
  text-decoration: none;
}

/*------------------------------------------------
 FOOTER
------------------------------------------------- */

#footer {
  position: relative;
  clear: both;
  width: 100%;
  height: 70px;
  margin-top: -70px; /* negative value of footer height */
  background: url(footer.gif);
  color: #fff;
  font-size: 10px;
}

#footer a {
  color: #fff;
}

#footer p {
  padding: 25px 0 0;
}

/*------------------------------------------------
 FACEBOOK
------------------------------------------------- */

#menu_facebook {
  position: absolute;
  width: 24px;
  height: 23px;
  top: 193px;
  left: 140px;
  margin: 0 0 0 50%;
  background: url(menu_facebook.jpg);
  z-index: 9;
}

#menu_facebook a {
  display: block;
  width: 24px;
  height: 23px;
}

#menu_facebook a span {
  display: none;
}