/* CSS common rules */
* {
  font-family: Arial, Verdana, 'Geneva CY', sans-serif;
}

body {
  background: #fff;
  color: #000;
  margin: 0;
  padding: 0;
}

a {
  color: #333;
}

a:active {
  color: #c30;
}

a:visited {
  color: #555;
}

.clearer {
  clear: both;
}

.orange {
  color: #c30;
}

div#header {
  left: 0;
  top: 10px;
  position: relative;
  z-index: 2;
}

img#logo {
  border: 0 none;
  margin: 0 0 0 88px;
}

div#main {
  background: transparent url(../i/orange-border.png) repeat-y top right;
}

div#main-inner {
  background: transparent url(../i/sidebar-bg.png) repeat-y top left;
}

div#sidebar {
  background: transparent url(../i/grandma.jpg) no-repeat top right;
  float: left;
  padding-top: 240px; 
  width: 256px;
}

div#sidebar ul {
  list-style-type: none;
  margin: 0;
  padding: 20px 0 0 0;
}

div#sidebar ul li {
  margin: 0;
  padding: 0;
  text-align: right;
}

div#sidebar ul li a {
  color: #fff;
  display: block;
  height: 45px;
  overflow: hidden;
  text-align: right;
}

div#sidebar ul li a span {
  display: none;
}

a#mm-home {
/*  background: transparent url(../i/home.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% 0;
}

li.selected a#mm-home,
a#mm-home:hover {
/*  background: transparent url(../i/home-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -45px;
}

a#mm-works {
/*  background: transparent url(../i/works.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -90px;
}

li.selected a#mm-works,
a#mm-works:hover {
/*  background: transparent url(../i/works-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -135px;
}

a#mm-sounds {
/*  background: transparent url(../i/sounds.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -180px;
}

li.selected a#mm-sounds,
a#mm-sounds:hover {
/*  background: transparent url(../i/sounds-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -225px;

}

a#mm-photos {
/*  background: transparent url(../i/photos.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -270px;
}

li.selected a#mm-photos,
a#mm-photos:hover {
/*  background: transparent url(../i/photos-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -315px;

}

a#mm-blog {
/*  background: transparent url(../i/roads.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -360px;
}

li.selected a#mm-blog,
a#mm-blog:hover {
/*  background: transparent url(../i/roads-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -405px;
}

a#mm-spaces {
/*  background: transparent url(../i/spaces.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -450px;
}

li.selected a#mm-spaces,
a#mm-spaces:hover {
/*  background: transparent url(../i/spaces-over.gif) no-repeat center right;*/
  background: transparent url(../i/mm-items.gif) no-repeat 100% -495px;
}

a#mm-talks {
  background: transparent url(../i/talks.gif) no-repeat center right;
}
li.selected a#mm-talks,
a#mm-talks:hover {
  background: transparent url(../i/talks-over.gif) no-repeat center right;
}

div#sidebar ul li a:visited {
  color: #fff;
}

div#content {
  font-size: 80%;
  line-height: 140%;
  margin-left: 350px;
  margin-right: 90px;
}

/*div#content p span.first-letter {
  color: #c30;
  float: left;
  font-size: 251%;
  line-height: 100%;
  margin: 0 0.1em 0 0;
  padding: 0;
}*/

div#content h1 {
  color: #333;
  font-size: 124%;
  font-weight: bold;
  margin: 0 0 1em;
  text-transform: lowercase;
}

.thumbs-roller a img {
  border: 1px solid #ccc;
  -moz-box-shadow: 0 0 5px #ccc;
  -webkit-box-shadow: 0 0 5px #ccc;
  -o-box-shadow: 0 0 5px #ccc;
  box-shadow: 0 0 5px #ccc;
}

.thumbs-roller a img:hover {
  -moz-box-shadow: 0 0 7px #aaa;
  -webkit-box-shadow: 0 0 7px #aaa;
  -o-box-shadow: 0 0 7px #aaa;
  box-shadow: 0 0 7px #aaa;
}


div#contacts {
  background: transparent url(../i/orange-border.png) repeat-x bottom left;
  font-size: 75%;
  line-height: 140%;
  padding: 50px 0 20px 0;
  width: 256px;
}

div#contacts address {
  font-style: normal;
  padding: 12px;
  text-align: right;
}

div#contacts a,
div#contacts a:visited {
  color: #ccc;
}

div#contacts a:hover {
  color: #fff;
}

div.map div.map {
  margin-left: 1em;
}

table#thumbs {
  margin: 10px 0;
}

table#thumbs td.preview {
  background: #ccc;
}
table#thumbs td.preview img {
  border: 4px solid #999;
  margin: 10px;
}

table#thumbs td.preview a.selected img {
  border: 4px solid #c30;
}

div#photo,
div#description {
  margin-left: 24px;
}

div#comments {
  border-top: 1px dashed #c30;
}

div#comments h3 {
  color: #555;
  font-weight: normal;
}

div#comments ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

div#comments ul li {
  margin: 0 0 1em 2em;
  padding: 0;
 
}

div#comments ul li.comment span.date {
  float: right;
}

div#comments ul li.comment span.user {
  color: #cc3300;
  font-weight: bold;
}

div#comments ul li.comment div.comment-message {
  border-bottom: 1px dashed #c30;
  padding-bottom: 0.5em;
}

div#comments form table td {
  vertical-align: top;
}

div#comments form input,
div#comments form textarea {
  font: Menu;
}

div.pager {
  margin: 1em 2em;
}

div.pager b,
div.pager a {
  padding: 0 2px;
}
div.pager b {
  background: #c30;
  color: #fff;
}

div.art {
}
div.art div.date {
  float: right;
}
div.art div.description {
  border-bottom: 1px dashed #c30;
  padding-bottom: 0.5em;
}

div.art div.text {
  margin-top: 1em;
}

div.art div.comments {
  font-size: 90%;
  position: relative;
  text-align: right;
}

div.art div.comments a {
  color: #c30;
  bottom: 100%;
  position: absolute;
  right: 0;
  text-decoration: none;
}
