body {
  background: white url('../img/bg.jpg') top center no-repeat;
  min-width: 1000px;
  margin: 0;
	font: 12pt 'Garamond','Times New Roman', Times, serif;
	color: rgb(75,70,60);
}

/*---div---*/

div#header,div#footer {
  height: 130px;
  width: 100%;
}
div#header-wrapper{
	width:900px;
	margin:0 auto;
}
div#footer{
	height: 50px;
	text-align:right;
}
div#main,div#post,div#comments {
  background: url('../img/book.jpg') no-repeat;
  width: 740px;
  height: 493px;
  margin: 0 auto;
}
div#post,div#comments{
	height:auto;
	background:none;
}
div#page1,div#page2 {
	width: 260px;
}
div#page1 {
  height: 358px;
	padding-left: 90px;
	padding-top: 35px;
  float: left;
}
div#page2 {
  height: 349px;
	padding-left: 400px;
  padding-top: 24px;
}
div.gallery,div.catalogue{
  background: url('../img/gallery.png') center no-repeat;
  width: 104px;
	height:94px;
  float: left;
  padding: 0 13px 8px 11px;
  text-align: center;
}
div#prev {
  background: url('../img/prev.png') no-repeat;
  width: 87px;
  height: 32px;
  margin-left: 60px;
  margin-top: 28px;
  padding: 30px 0 0 10px;
  clear:left;
  float: left;
}
div#next {
  background: url('../img/next.png') no-repeat;
  width: 105px;
  margin-left: 574px;
  margin-top: 0;
  padding: 80px 0 8px 40px;
}
div#menu {
  background: url('../img/menu.png');
  width: 215px;
  position: absolute;
  top: 130px;
  right:0;
  padding-right:15px;
  min-height:493px;
}
div#bg{
  background: url('../img/ul_top.png') top right no-repeat;
  width: 100%;
  height: 100%;
  padding-top: 116px;
}
div#menu_button{
	background: url('../img/menu_button.png') center right no-repeat;
	width:30px;
	height:490px;
	position:absolute;
	top:130px;
	right:0;
}
div.big {
  background-color: white;
  border: 1px solid gray;
  position: absolute;
  top: 0;
  padding: 10px;
  z-index: 100;
}
div.close{
  position: absolute;
  top: 15px;
  right: 15px;
  width: 20px;
  height: 20px;
  background: url('../img/close.png') no-repeat;
  cursor:pointer;
}
div#ill{
  width:250px;
  margin-top: 15px;
}
div#ill_top,div#ill_bottom{
  width:100%;
  height:29px;
  background:url('../img/border.png') bottom center no-repeat;
}
div#ill_bottom{
  background:url('../img/border.png') top center no-repeat;
  margin-top:-14px;
}
div#ill_middle{
  background:url('../img/border_middle.png') repeat-y;
  text-align:center;
  margin-top:-14px;
}
div#comments{
	margin:20px auto 20px;
}
div#comments div{
	margin-bottom: 1em;
}

/*---img---*/

img {
	border: 0;
}
div#header-wrapper img{
	margin-top: 50px;
}
div.gallery img{
  margin-top: 10px;
}
div.catalogue img{
  margin-top: 13px;
}
div#menu_button img{
	position:absolute;
	top:50%;
	margin-top:-13px;
	right:0;
}
div#ill img{
	width:220px;
}

/*---h---*/

h1 {
	margin-top:0;
	font-size: 2.7em;
  color: rgb(120,110,100);
}
h2 {
	font-size: 1.5em;
  color: rgb(100,90,80);
	font-family:'Trebuchet MS',sans-serif;
}
h3 {
  font-size: 1.3em;
	font-family:'Trebuchet MS',sans-serif;
}
h4 {
  font-size: 1em;
}
div#main h2{
  background: url('../img/m_h2.png') 10% no-repeat;
	text-align: center;
	margin: 0;
  margin-bottom:0.7em;
}
div#comments h4,form#addcomment h4{
	margin:0.1em auto 0.1em;
}
div#post h2{
	margin:auto auto 0.5em;
}

/*---p---*/

p {
	font-size: 0.9em;
}
p.desc:first-letter {
	padding-left: 1em;
}
div#header-wrapper p{
	margin-top:0.5em;
	text-align:right;
  font: 7pt "Tahoma",sans-serif;
	width:180px;

}
div.gallery p{
  margin: 1px auto 0;
  font-size: 11px;
}
div.big p,.center{
  text-align: center;
}
div#comments p{
	margin:0.2em auto 0.1em;
	padding:0.5em 0.3em 0.5em 0.3em;
	border:1px dotted;
	background-color:rgb(240,240,200);
}
div#footer p{
	font-family:"Tahoma",sans-serif;
	text-align:center;
	margin:1em auto 0.5em;
}
p#tittonium{
	font-size:7pt;
}

/*---a---*/

a {
  color:rgb(120,110,100);
}
a:hover,a.order,div.big a,ul#submenu a {
  text-decoration: none;
}
a.order{
  font: 0.8em "Tahoma",sans-serif;
  margin-left: 0.5em;
}
a.order,div.big a{
  padding: 0 2px 0 2px;
  color:rgb(155,0,47);
}
a.order:hover,div.big a:hover{
  background-color: rgb(255,20,100);
  color:white;
}
div.big a{
  font-size: 1.1em;
}
ul#submenu a{
  color:rgb(100,90,80);
}
ul#submenu a:hover {
  border-bottom: 1px dashed;
}
a#prev{
	margin: auto 1em auto 0;
}

/*---Лисьи заморочки---*/
div.gallery a,div#next a{
  display:inline-block;
}

/*---ul---*/

ul {
  list-style-type: none;
}
ul#submenu {
  padding-bottom: 150px;
  padding-left:0;
  font-size: 1.6em;
	font-family:'Trebuchet MS',sans-serif;
  background: url('../img/ul_bottom.png') bottom right no-repeat;
  margin-bottom:0;
	margin-left:0;
	width:100%;
}
ul#submenu ul {
  font-size: 0.5em;
  background:none;
  display: none;
}

/*---li---*/

ul#submenu li{
	padding-left:22%;
}
ul#submenu ul li{
	padding:0;
	line-height:1.6em;
}

/*---form---*/

div#page1 form {
  margin-top:1.5em;
}
form#addcomment {
  width:740px;
	margin:0 auto;
}

/*---input---*/

input.text{
  background:none;
  border:none;
  border-bottom:1px dotted rgb(75,70,60);
  font-family:"Monotype Corsiva",cursive;
  text-align:center;
}
div#page1 input,div#page1 select{
  float:right;
  width:9em;
}
input#submit,div#page1 input#submit,div#page1 input.floatnone{
  float:none;
  display:block;
  width:10em;
  margin:10px auto;
}
div#page1 input.floatnone{
  width:15em;
}
form#addcoment input{
	margin-bottom: 0.1em;
}

/*---textarea---*/

textarea {
  border:1px dotted;
	background:none;
  padding: 5px;
  width:90%;
}
div#page1 textarea#about{
  height:20em;
}
form#addcomment textarea{
	width: 728px;
	margin:auto auto 10px;
	font-family:'Monotype Corsiva';
}

/*---em---*/

div#comments em, div#post em{
	font-size:0.8em;
	color: rgb(150,150,150);
}

/*---strong---*/

form#addcomment strong{
	font-size:1.1em;
}