/*
 * Základní Styl MiStr Vína
 * Autor: Jan Řezáč - Filosof
 *
 */

@import url("initial.css");

a, a:link {
  color: #910e30;
  text-decoration: underline;
  cursor: pointer;
}

a:visited {
  color: #661f31;
}

a:hover, a:focus {
  color: #b4002e;
}

/*========== [layout] ========================================================*/
body {
  text-align: center;
  font-family: Georgia, 'New York CE', utopia, serif;
  background: #fff3d2 url(../images/top.gif) 0 0 repeat-x;
  color: #7e7458;
  line-height: 1.9;
}

div#main {
  width: 772px;
  margin: 0 auto;
  font-size: 0.75em;
  text-align: justify;
  padding: 42px 0 40px;
  position: relative;
  background: url(../images/wine2.gif) 95% 100% no-repeat;
}

div#wrapper {
  padding: 0 114px 0 29px;
  background: url(../images/foto.jpg) 0 0 no-repeat;
  border-bottom: 1px solid #f2e4be;
}

div#content {
  width: 319px;
  float: right;
  padding: 27px 0 35px;
  background: url(../images/b2.gif) 0 100% no-repeat;
}

div#sub {
  width: 221px;
  float: left;
  padding-top: 260px;
}

div#photo {
  background: #fff url(../images/back.gif) 0 0 repeat-y;
}

div#wine {
  background: url(../images/wine1.gif) 9px 95% no-repeat;
}

/*========== [menu] ==========================================================*/
ul#menu {
  position: absolute;
  top: 0;
  left: 0;
  width: 773px;
  height: 42px;
  overflow: hidden;
  background: url(../images/menu.gif) 0 0 no-repeat;
}

ul#menu li, ul#menu a, ul#menu span {
  display: block;
  position: absolute;
  top: 0;
  left: 0;
  height: 42px;
}

ul#menu li#m1, ul#menu li#m1 span {left: 0;width: 156px;}
ul#menu li#m2, ul#menu li#m2 span {left: 156px;width: 154px;}
ul#menu li#m3, ul#menu li#m3 span {left: 309px;width: 154px;}
ul#menu li#m4, ul#menu li#m4 span {left: 463px;width: 154px;}
ul#menu li#m5, ul#menu li#m5 span {left: 617px;width: 156px;}

div#main ul#menu li span {left: 0;}

ul#menu li#m1 span {background: url(../images/menu.gif) 0 0 no-repeat;}
ul#menu li#m2 span {background: url(../images/menu.gif) -156px 0 no-repeat;}
ul#menu li#m3 span {background: url(../images/menu.gif) -309px 0 no-repeat;}
ul#menu li#m4 span {background: url(../images/menu.gif) -463px 0 no-repeat;}
ul#menu li#m5 span {background: url(../images/menu.gif) -617px 0 no-repeat;}

ul#menu li#m1 a:hover span {background: url(../images/menu.gif) 0 -86px no-repeat;}
ul#menu li#m2 a:hover span {background: url(../images/menu.gif) -156px -86px no-repeat;}
ul#menu li#m3 a:hover span {background: url(../images/menu.gif) -309px -86px no-repeat;}
ul#menu li#m4 a:hover span {background: url(../images/menu.gif) -463px -86px no-repeat;}
ul#menu li#m5 a:hover span {background: url(../images/menu.gif) -617px -86px no-repeat;}

ul#menu li#m1 a.active span, ul#menu li#m1 a.active:hover span {background: url(../images/menu.gif) 0 -43px no-repeat;}
ul#menu li#m2 a.active span, ul#menu li#m2 a.active:hover span {background: url(../images/menu.gif) -156px -43px no-repeat;}
ul#menu li#m3 a.active span, ul#menu li#m3 a.active:hover span {background: url(../images/menu.gif) -309px -43px no-repeat;}
ul#menu li#m4 a.active span, ul#menu li#m4 a.active:hover span {background: url(../images/menu.gif) -463px -43px no-repeat;}
ul#menu li#m5 a.active span, ul#menu li#m5 a.active:hover span {background: url(../images/menu.gif) -617px -43px no-repeat;}

/*========== [text] ==========================================================*/
div#logo, div#logo span {
  width: 255px;
  height: 77px;
  display: block;
  overflow: hidden;
  position: relative;
  top: 0;
  left: 0;
  margin-bottom: 30px;
}

div#logo span {
  position: absolute;
  margin: 0;
  background: url(../images/mistr.gif) 0 0 no-repeat;
}

h2, h1 {
  text-transform: uppercase;
  color: #595447;
  font-weight: normal;
  margin-bottom: 1em;
}

p, ul {
  margin-bottom: 2em;
}

div#sub ul {
  margin-bottom: 1em;
}

div#sub a, div#sub a:link, div#sub a:visited, div#sub a:hover {
  text-decoration: none;
  color: #7e7458;
}

table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 2em;
}

td {
  vertical-align: top;
}

td.b {
  font-style: italic;
  padding-right: 6px;
}

/*========== [pata] ==========================================================*/
div#footer {
  text-align: center;
  font-size: 0.95em;
  color: #e5d9b7;
  padding: 15px 0 20px;
}

div#footer a, div#footer a:link, div#footer a:visited {
  color: #7e7458;
  margin: 0 7px;
}

div#footer a:hover {
  color: #595447;
}

