/* Based on work by Eric Meyer: meyerweb.com/eric/thoughts/2007/05/01/reset-reloaded/ */
html, body, div, span, object, iframe, 
h1, h2, h3, h4, h5, h6, p, blockquote, pre, 
a, abbr, acronym, address, code, 
del, dfn, em, img, q, dl, dt, dd, ol, ul, li, 
fieldset, form, label, legend, 
table, caption, tbody, tfoot, thead, tr, th, td {
	margin: 0;
	padding: 0;
	border: 0;
	font-weight: inherit;
	font-style: inherit;
	font-size: 100%;
	font-family: inherit;
	vertical-align: baseline
}

/* Tables still need 'cellspacing="0"' in the markup. */
table {border-collapse: separate; border-spacing: 0}
caption, th, td {text-align: left; font-weight: 400}

/* Remove possible quote marks (") from <q>, <blockquote>. */
blockquote:before, blockquote:after, q:before, q:after {content: "";}
blockquote, q {quotes: "" "";}

a img {border: none}

/* --------------- */

body {
	background: #d9ce88 url(/gfx/bgs.png) repeat-y  ;
	line-height: 1.5;
	margin-bottom: 1.5em;
	text-align: justify
}


#bg {
	background: #d9ce88 url(/gfx/bg.png) no-repeat;
	width: 349px;
	height: 782px;
	position: absolute;
}

#content {
	position: relative;
	width: 500px;
	left: 355px;
	padding: 20px 50px 50px 20px;
	background: url(/gfx/belka.png) repeat-y right;
	border-bottom: 16px double #8d0000
}

#content p, ul {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 90%;
	color: #362700;
	margin-bottom: 1em
}

#content ul {
	margin-left: 3em
}

#content li {
	list-style: square
}


#content h1, h2 {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 177%;
	color: #553e00;
	font-weight: lighter;
	font-style: italic
}

.a {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 90%;
	color: #362700;
	text-decoration: none;
	border-bottom: 2px solid #362700;
	padding-bottom: 1px
}

#top {
	border-bottom: 16px double #8d0000;
	margin-bottom: 1em
}

/* galeria */
#g p {
	text-align: center
}
#g a img {	
	border: 3px solid #8d0000;
	padding: 1px
}


#menu {
	position: relative;
	top: -27px;
	text-align: center;
}
#menu ul {
	margin: 0;
	padding: 0
}

#menu li {
	display: inline
}

#menu li a {
	font-family: "Trebuchet MS", Verdana, Geneva, Helvetica, sans-serif;
	font-size: 90%;
	font-weight: bold;
	color: #eaddb8;
	padding: 7px 16px;
	text-decoration: none;
	background: #8d0000 url(menu.png) repeat-x bottom;
	letter-spacing: 1px;
	border-bottom: 2px solid #a49365
}
#menu li a:hover {
	color: #d9c99e
}

#mail a, #mail a:visited {
	color: #362700;
	font-size: 90%;
	font-family: "Trebuchet MS", Verdana, Geneva, Helvetica, sans-serif;
	text-decoration: none;
	border-bottom: 1px solid #362700
}
#mail a:hover {
	border-bottom: 2px solid #362700
}

#footer {
	position: relative;
	width: 500px;
	left: 355px;
	padding: 7px
}

#footer p {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 80%;
	color: #362700
}

#footer a {
	font-family: Georgia, Times New Roman, Times, serif;
	font-size: 90%;
	color: #362700;
	text-decoration: none;
	border-bottom: 1px solid #362700;
	padding-bottom: 1px
}

#footer a:hover {
	border-bottom: 2px solid #362700
}