body {
	font: 62.5%/2.2em "Segoe UI", Arial, Helvetica, sans-serif;
	background-color: #e7e4df;
	padding: 0;
	margin: 0;
}

/* Layout */



#header {
	background: #bdb4a6 url("http://www.terpilovsky.ru/gallery/images/backgrounds/top.gif") repeat-x ;
	border-bottom: 1px solid #aca08e;
	height: 60px;
}
#wrapper {
	font-size: 1.3em;
}
#sidebar {
	margin: 0 0 0 1em;
	padding: 10px;
	width: 16em;
	background-color: #fff;
	float: left;
}
#content {
	background-color: white;
	margin-left: 20em;
	padding: 5px 5px 5px 15px;
}

#footer {
	padding: 10px;
	color: #000;
	background-color: #e8d8bf;
	border-top: 2px solid #fff;
	text-align: center;
	font-size: 1.4em;
	line-height: 1.2em;
	clear: both
}
#footer a {
	color: #000;
}
#footer p {
	margin: 5px 0;
}



/*		SIDEBAR				*/

div.photo_thumb {
	text-align: center;
	
}
div.photo_thumb img {  }










/*		HENTRY				*/

	div.hfeed {
		margin-top: 30px;
	}

	div.hentry {
		/* margin-bottom: 60px; */
	}
	div.float {
		float: left;
		width: 250px;
		height: 300px;
		padding: 10px;
		background-color: #fff;
	}
	div.float div.entry-info {
		text-align: right;
		width: 150px;
		margin: 0 auto;
	}

	div.entry-info,
	div.hfeed-info {
		list-style: none;
		float: none;
		margin: 20px auto;
	}

	div.entry-add-info,
	div.hfeed-add-info {
		padding: 10px;
		margin: 20px;
		background-color: #ebf5ff;
	}

	div.entry-info a img, div.hfeed-info a img  { border: 0; text-decoration: none }

	div.hfeed-content {
		padding: 10px;
		margin: 20px;
		background-color: #fff0ff;
	}

	div.photo-info {
		padding: 10px;
		margin: 20px;
		background-color: #fff0ff;
	}

	div.entry-tags,
	div.entry-albums {
		padding: 10px;
		margin: 20px;
		background-color: #ffffe6;
	}

	div.entry-tags ul.tags,
	div.entry-albums ul.albums {
		list-style-image:none;
		list-style-position:outside;
		list-style-type:disc;
	}

	div.entry-tags ul.tags,
	div.entry-albums ul.albums  {
		display: inline;
	}

	div.entry-tags ul.tags li,
	div.entry-albums ul.albums li  {
		display: inline;
		margin: 0;
		padding: 0;
		padding-left: 1.5em;
	}

	div.entry-albums {
		background-color: #f0ffdc;
	}

	div.hfeed-photos {
		padding: 10px;
		background-color: #fafafa;
		margin: 40px 20px;
	}
	div.album-photo-thumbs {
		padding: 10px;
		margin: 10px 20px;
		border: 1px solid #dcdcdc;
		background-color: #fff;
		text-align: center;
		display: inline-block;
	}

	div.single-photo {
		text-align: center;
	}

	div.single-photo a  {
		cursor: url("http://terpilovsky.ru/gallery/images/zoom_in.cur");
		cursor: -moz-zoom-in;
	}







/*		HEADERS				*/

	h1,h2,h3,h4,h5,h6 {
		margin: 0px;
		margin-bottom: 5px;
	}

	h1 {font-size: 3.8em; color: white; margin: 0px; margin-left: 20px; line-height: 1.6em;}
	h2 {font-size: 1.8em }
	h3 {font-size: 1.6em }
	h4 {font-size: 1.4em;}
	div.photo h4, table.photos h4 {font-size: 1.0em;}
	h5 {font-size: 1.2em }
	h6 {font-size: 1.1em }
	h4#comments-title { margin-top: 50px; }

	.hfeed-title {
		text-align: center;
		margin: 20px 0;
		border-bottom: 1px solid #c0c0c0;
	}

	.entry-title {
		text-align: center;
	}

	.album-title,
	.photo-title {
		text-align: left;
		quotes: "«" "»";
	}

	.album-title:before,
	.photo-title:before { content: open-quote }
	.album-title:after,
	.photo-title:after { content: close-quote }

	.in-quotes { quotes: "«" "»"; }
	.in-quotes:before { content: open-quote }
	.in-quotes:after { content: close-quote }

	.top-offset {margin-top: 50px;}


	#single-photo-header {
		text-align: center;
		quotes: "«" "»";
	}


	#single-photo-header:before { content: open-quote }
	#single-photo-header:after  { content: close-quote }

	#single-album-header {
		text-align: center;
		quotes: "«" "»";
		margin: 20px 0 30px 0;
	}

	#single-album-header:before { content: "Альбом " open-quote }
	#single-album-header:after  { content: close-quote }


	#single-tag-header {
		text-align: center;
		quotes: "«" "»";
		margin: 20px 0 30px 0;
	}

	#single-tag-header:before { content: "Тег " open-quote }
	#single-tag-header:after  { content: close-quote }


	#tags-header {
		text-align: center;
		margin: 20px 0 30px 0;
	}








/*			TABLES			*/

table.albums {

}

td.album {
	padding: 10px;
	background-color: #fffaff;
}

td.album-thumb {
	text-align: center;
}

table.archive-photos td {
	background-color: #fafafa;
}
table.archive-photos {
	margin: 0 auto;
	width: 98%;
}
td.photo-thumb {
	padding: 10px;
	background-color: #fffaff;
	text-align: center;
}
td.photo {
	padding: 10px;
	background-color: #fffaff;
}

table.photos {
	margin-bottom: 10px;
	margin: auto auto;
}

table.photos td {
	text-align: center;
	padding: 15px;
	background-color: #fff;
}

table.photos address.vcard, table div.photo address.vcard {
	display: none;
}




/*		IMAGES				*/

img.album-thumb-img {
	padding: 5px;
	border: 1px solid #fff;
	background-color: #fff;
}




/*		LISTS				*/

	ul.entry-photos {
		list-style-image:none;
		list-style-position:outside;
		list-style-type:disc;
		display: inline;
	}


	ul.entry-photos li  {
		display: inline;
		margin: 0;
		padding: 0;
		padding-left: 1.5em;
	}

	dl.messages {
		font-size: 1.5em;
	}

	dl.messages dt a:link, dl.messages dt a:hover, dl.messages dt a:active { color: #83a81b }

	dl.messages dt a:visited { color: #678314 }

	dl.messages dd {
		font-size: 0.6em;
	}

	dd {
		color: #808080;
		font-size: 0.92em;
	}
	dt {
		margin-top: 1em;
	}

	dl.tags dt:before {
		content: url("http://terpilovsky.ru/gallery/images/tag.gif");
	}

	dl.tags dt {

		font-weight: bold;
		font-size: 1.1em;
	}

	ul#latest {
		padding: 0;
		margin: 0;
		list-style: none;
	}
	ul#latest li {
		display: inline-block;
		margin: 2px;
		padding: 0;
	}



/*			IMAGES				*/

img {
	vertical-align: middle;
}



/*			ANCHORS				*/

a:link, a:visited {
	color: #007ebb;
	text-decoration: none;
}
a:hover, a:active {
	color: #ff8000;
	text-decoration: underline;
}



/*			ANCHORS & IMAGES	*/

a img {
	padding: 1px;
	border: 1px solid #c0c0c0;
}

a:hover img {
	padding: 1px;
	border: 1px solid #808080;
}



/* PAGES */

div.pagenum {
	background-color: #f9edec;
	padding: 5px;
	border-top: 1px solid #ebc9c7;
	color: #c85c59;
	font-size: 1.2em
}
div.pagenum a {
	text-decoration: underline;
}




/* PARAGRAPHS */
p.navigation {
	background: #e6e6e6;
	text-align: center;
	font-size: 1.1em;
	margin: 0 20px
}

p.navigation a { color: black }




/*			COMMENTS			*/

div.comment-0 {
	border-top: 1px solid #c8c8c8;
	border-bottom: 1px solid #f0f0f0;
	background-color: #f8f8f8;
	padding: 5px;
	margin-bottom: 20px;
}
div.comment-1 {
	border-top: 1px solid #c8c8c8;
	border-bottom: 1px solid #e6f0ff;
	background-color: #f0faff;
	padding: 5px;
	margin-bottom: 20px;
}

div.comment-1 div.entry-content,
div.comment-0 div.entry-content {
	background-color: transparent;
	padding: 0 10px;
	margin: 0;
}

div.comment-1 div.hentry,
div.comment-0 div.hentry {
	padding: 0;
	margin: 0;
}

div.chr0 , div.chr1 {
	margin: 4px auto;
	font-size: 0em;
}
div.chr0 {
	border-width: 0 0 1px 0;
	border-color: #dcdcdc;
	border-style: solid;
	height: 0; 
}
div.chr1 {
	border-width: 0 0 1px 0;
	border-color: #dcdcdc;
	border-style: solid;
	height: 0; 
}

cite.entry-title {
	margin-left: 20px;
}

span.com-meta {
	margin-left: 80px;
}

span.latest-photo {
	margin: 3px 0;
}









/*			QUOTES			*/

blockquote {
	border-left: 5px double #bce07d;
	padding: 3px;
	background: #fffffa;
	color: #335100;
}
blockquote p { margin: 0 }

blockquote p + p  { margin-top: 10px }

ins {
	color: #999999;
	text-decoration: none;
	font-size: 0.92em;
}





/*			FORMS			*/
div#wrapper-form {
	margin-top: 70px;
	background: #f5f5f5 url("images/backgrounds/form.gif") repeat-x bottom;
	padding: 10px;
	border-top: 1px solid #c0c0c0;
	border-bottom: 1px solid #c0c0c0;
}
div.form-label {
	font-style: italic;
	margin-top: 15px;
}

input, textarea {
	border: 1px solid #d2d2d2;
	background-color: #fff;
	font-family: Arial, Helvetica, sans-serif;
	padding: 2px;
	font-size: 1.0em;
	cursor: default;
}

button.bb {
	vertical-align: middle;
	padding: 2px;
	width: 30px;
	border: 1px solid #d2d2d2;
	background-color: #fff;
	cursor: pointer;
	margin-bottom: 5px;
}

button.bb:hover {
	border: 1px solid #027abb;
	background-color: #ceeeff;
}
input:focus, textarea:focus {
	border: 1px solid #a0a0a0;
	background-color: #fff;
}
input.submit {
	border: 1px solid #d2d2d2;
	background-color: #fff;
	cursor: pointer;
	font-size: 1.2em;
	padding: 5px;
}

input.submit:hover, input.submit:active {
	border-color: #b9e041;
	background-color: #f6fbe5;
}

form sup { color: red; cursor: help }

/* OTHER */

hr {
	border: 0;
	height: 0;
	border-top: 1px solid #c0c0c0;
	margin: 20px 0;

}

pre {
	font-family: "Lucida Console", "Courier New", Courier, monospaced;
	font-size: 0.75em;
	overflow: auto;
	padding: 3px;
	border: solid 1px #c8c8c8;
	border-left: 3px double #c8c8c8;
	background-color: #fcfcfc;
	max-height: 300px;
	margin: 15px auto;
	width: 98%;
}

small {
	font-size: 0.9em;
	color: grey;
}
abbr {
	border: none;
	cursor: help;
	color: #2d89b7;
}
code {
	background-color: #f4f7fb;
	border-bottom: solid 1px #a6b3f9;
	font-size: 0.8em;
	font-family: "Lucida Console", "Courier New", Courier, monospaced;
}

noscript {
	color: red
}
