body {
	background-color: #e6f29e;
	
	padding: 0;
	margin: 0;
	
	font-family: Tahoma, Arial, Verdana, sans-serif;
}

.line {
	background: url('pics/black-line.png') no-repeat;
	width: 970px;
	height: 19px;
}

.invisible, #menu li span {
	display: none;
}

#logo {
	display: block;
	width: 258px;
	height: 36px;
	margin-left: 38px;
	margin-right: 57px;	

	background: url('pics/logo.png') no-repeat;
}

#contacts {
	text-align: right;
	font-size: 13px;
	color: #697529;
	margin-right: 57px;
	margin-top: 17px;
}

#main {
	background: url('pics/body-back.png') repeat-y;
	width: 970px;
}

#menu {
	margin: 0;
	padding: 0;
}

#menu li {
	display: block;
	list-style-type: none;
	float: left;
}

#menu li a {
	display: block;
	width: 121px;
	height: 113px;
	margin-right: 24px;
}

#menu a#about {
	background: url('pics/m-about.png') no-repeat;
}

#menu a#about:hover {
	background: url('pics/m-about.png') no-repeat 0 -113px;
}

#menu a#work {
	background: url('pics/m-work.png') no-repeat;
}

#menu a#work:hover {
	background: url('pics/m-work.png') no-repeat 0 -113px;
}

#menu a#media {
	background: url('pics/m-media.png') no-repeat;
}

#menu a#media:hover {
	background: url('pics/m-media.png') no-repeat 0 -113px;
}

#menu a#miniblog {
	background: url('pics/m-miniblog.png') no-repeat;
}

#menu a#miniblog:hover {
	background: url('pics/m-miniblog.png') no-repeat 0 -113px;
}

.fl-left {
	float: left;
}

.fl-right {
	float: right;
}

img.fl-right {
	margin-left: 1em;
	margin-bottom: 1em;
}

img.fl-left {
	margin-right: 1em;
	margin-bottom: 1em;
}


.sec-pic {
	width: 191px;
	height: 341px;
	float: left;
	margin-left: 98px;
}

#text {
	width: 642px;
	float: left;
	font-size: 0.75em;
	color: #232;
	line-height: 1.5em;
	margin-top: -1.5em;
	margin-left: 38px;
	display: inline;
}

#sec-pic-about {
	background: url('pics/pic-about.png') no-repeat;
}

#sec-pic-work {
	background: url('pics/pic-work.png') no-repeat;
}

#sec-pic-media {
	background: url('pics/pic-media.png') no-repeat;
}

#sec-pic-miniblog {
	background: url('pics/pic-miniblog.png') no-repeat;
}


#content {
	margin-top: 40px;
}

hr.cleaner {
  clear: both;
  font-size: 1px;
  height: 1px;
  margin: -1px 0 0 0;
  padding: 0;
  border: none;
  visibility: hidden;
  display: block;
  width: 100%;
}

div.cleaner {
  width: 100%;
  height: 1px;
  clear: both;
}

#text ul, #text il, #text table {
	margin: 0;
	padding: 0;
	margin-bottom: 0.5em;

}

#text ul {
	list-style-type: none;	
}

#text ul * ul, #text il * il {
	padding-left: 1.1em;
}

#text ul li {
	padding-left: 1.1em;
	background: url('pics/li.png') no-repeat 0 0.3em;
}

h2 {
	float: left;
	padding-left: 38px;
	padding-right: 10px;
	font-size: 1.4em;
	clear: both;
	color: black;
	margin-top: 0.85em;
	margin-bottom: 0.85em;
	position: relative;
	left: -38px;
	padding-bottom: 0.45em; 
	#padding-bottom: 0.4em; 
	background: url('pics/underline.png') repeat-x 0 100%;
}

h2 span {
}

h2 span.date {
  color: #6c7735;
}

h3 {
	text-transform: uppercase;
	font-size: 1.2em;
}

#footer {
	background: url('pics/th.png');
	width: 69px;
	height: 42px;
	float: right;
	margin-right: 62px;
	position: relative;
	top: 1px;
	#top: 14px;
	display: inline;
}

#copy {
  float: left;
  font-size: 11px;
  font-weight: bold;
  position: relative;
  top: 32px;
  #top: 45px;
  margin-left: 38px;
  margin-right: 20px;
  text-transform: uppercase;
  display: inline;
}

#text a {
	background-color: #daec74;
	padding: 0.1em 0.35em;
	border-bottom: 1px solid transparent;
	text-decoration: none;
	color: #446601;
	font-weight: bold;
}

#text a.pic {
  border-bottom: none;
	background-color: transparent;
	padding: 0;
}

#text a img {
	border: none;
	padding: 0;
}

#text img {
  background-color: #daec74;
  padding: 5px;
} 

#text a.pic img {
  border-bottom: 1px solid transparent;
  padding: 5px;
}

#text a.pic:hover img {
	color: black;
	border-bottom: 1px solid black;
}

#text a:hover {
	border-bottom: 1px solid black;
}

#text a.pic:hover {
	border-bottom: 1px solid transparent;
}

#text a.navig {
	border: none;
	margin: 0;
	padding: 0;
}

#text dt {
	font-weight: bold;
	font-size: 1.2em;	
	margin: 0;
	padding: 0;
	
	clear: both;
	padding-top: 1em;
}

#text dl {
	margin: 0;
	padding: 0;
}

#text > code {
	display: block;
	border-left: 10px solid #6c7735;
	padding: 5px 0px 5px 14px;
	margin-left: 38px;
	font-size: 0.9em;
	background-color: #bfd741;
}

#text ul, #text il, #text table {
	padding-left: 24px;
}

#text p, #text code, #text table {
	margin-top: 0;
	margin-bottom: 1em;
}

#text p, #text dl {
}

#text dd {
	margin-left: 20px;
	margin-top: 0.5em;
	clear: both;
}

#text dd a img {
	float: left;
	margin-right: 10px;
}

#text table {
	border-collapse: collapse;
	display: block;
}

#text table td, #text table th {
	padding: 5px 10px;
	margin: 0;
}

#text table td {
	background-color: #bfd741;
}

#text table th {
	border-bottom: 10px solid #6c7735;
	text-align: left;
	padding: 0px 10px;
}

#text table.files td {
	background-color: transparent;
	text-align: center;
	padding: 2px;
}

#text table.files td img {
  margin-left: auto;
  margin-right: auto;
}

.navig-prev, .navig-next, .navig-parent {
  width: 33%;
  float: left;
  aborder: 1px solid red;
}

.navig-next {
  text-align: right;
  clear: right;
}

.navig-parent {
  text-align: center;
}

.image {
  margin-top: 10px;
}

.navig-page-prev, .navig-pages, .navig-page-next {
    display: inline;
    padding-left: 5px;
}

.navig-pages {
    _position: relative;
    _top: -3px;
}

.page-navigation {
    text-align: center;
    padding-bottom: 10px;
}

.images td {
    text-align: center;
}
