/*

*/

* {
	margin: 0;
	padding: 0;
}

body {
	background: #FFFFFF url(../images/background.gif) repeat-x;
	font-family: Georgia, "Times New Roman", Times, serif;
	font-size: 13px;
	color: #666666;
}

h1, h2, h3 {
	color: #333333;
}

h1, h2 {
	margin-bottom: 20px;
	font-weight: normal;
}

h1 {
	font-size: 197%;
}

h2 {
	font-size: 152%;
}

h3 {
	font-size: 100%;
}

p, ul, ol {
	margin-bottom: 20px;
	line-height: 1.8em;
}

ul, ol {
	margin-left: 3em;
}

a:link, a:visited {
	color: #1953A7;
}

a:active {
	color: #ED5C0C;
}

a:hover {
	text-decoration: none;
	color: #067600;
}

img {
	border: none;
}

img.left {
	float: left;
	margin: 0 20px 10px 0;
}

.none {
	display: none;
}

/* Menu */

#menu {
	width: 770px;
	height: 65px;
	margin: 0 auto;
	border-right: 1px solid #EDEBD5;
}

#menu ul {
	margin: 0;
	padding: 0;
	list-style: none;
}

#menu li {
	display: inline;
}

#menu a {
	display: block;
	float: left;
	width: 109px;
	height: 45px;
	padding: 20px 0 0 0;
	border-left: 1px solid #EDEBD5;
	text-transform: lowercase;
	text-decoration: none;
	text-align: center;
	font-size: 144%;
	color: #BABABA;
}

#menu a:hover {
	background: #F7F7F4;
}

#menu .active a {
	background: #82BC2B;
	color: #FFFFFF;
}

/* Header */

#header {
	width: 770px;
	height: 170px;
	margin: 0 auto;
}

#header h1 {
	float: left;
	width: 220px;
	height: 100px;
	margin: 0;
	padding: 70px 0 0 0;
	background: url(../images/top-logo.jpg) no-repeat;
	text-align: center;
	font-size: 36px;
}

#header h1 .none {
	display: none;
}

#header h2 {
	float: right;
	width: 525px;
	height: 86px;
	margin: 0;
	background: url(../images/top-background.jpg) no-repeat;
	padding: 84px 25px 0 0;
	text-align: right;
	text-transform: lowercase;
	text-decoration: none;
	font-style: italic;
	font-weight: normal;
	color: #FFFFFF;
}

#header a {
	text-transform: lowercase;
	text-decoration: none;
	font-style: italic;
	font-weight: normal;
	color: #FFFFFF;
}

/* Page */

#page {
	width: 770px;
	margin: 0 auto;
	padding: 20px 0;
}

/* Content */

#content {
	float: left;
	width: 550px;
	padding-top: 10px;
}

#content h1 {
	margin-left: 20px;
}

#content #random {
	border-top: 1px solid #EDEBD5;
	border-bottom: 1px solid #EDEBD5;
	padding: 10px 20px 10px 20px;
	margin-bottom: 20px;
	text-align: center;
	height: 110px;
}

#content #random .image {
	margin: 0 4px 0 4px;
	width: 118px;
	height: 92px;
	float: left;
}

#content #random .image img {
	border: 1px solid #EDEBD5;
	padding: 5px;	
}

#content #random #loader {
	border: 0;
	margin-top: 27px;
}

#content #random #nextRandom {
	text-align: right;
	margin-right: 8px;
	margin-top: 5px;
	float: right;
}

#content #newPhotos #loader {
	border: 0;
	margin-left: 220px;
}

#content #newPhotos .image {
	margin-left: 4px;
	margin-right: 4px;
	width: 117px;
	height: 92px;
	float: left;	
}

#content #newPhotos .clear-left {
	clear: left;
	height: 5px;
}

#content .text {
	padding: 10px 20px 10px 30px;
	border-top: 1px solid #EDEBD5;
	line-height: 150%;
}

#content .error {
	font-weight: bold;
	text-align: center;
}

#content .error .errorSpan {
	background: url(../images/warning.gif) no-repeat left;
	padding-left: 20px;
}

#content .text form {
	width: 240px;
	margin-left: auto;
	margin-right: auto;
	text-align: right;
}

#content .text form input {
	color: #666666;
	width: 150px;
	border: 1px solid #EDEBD5;
	padding-left: 2px;
	margin: 2px 0 1px 10px;
}

#content .text form input.gray {
	border: 1px solid #EDEBD5;
}

#content .text form input.green {
	border: 1px solid #8DC737;
}

#content .text form fieldset legend {
	margin-left: 10px;
}

#content .text form fieldset {
	border: 1px solid #EDEBD5;
}

#content .text .image {
	float: left;
	width: 120px;
	font-size: 90%;
	text-align: center;
}

#content .text .image img.border {
	border: 1px solid #EDEBD5;
	padding: 5px;
}

#content .text #photoInfo, #content .text .photoInfo {
	float: right;
	width: 355px;
}

#content .text #photoBuy {
	margin-top: 4px;
}

#content .text table.order td.label {
	padding-right: 10px;
	width: 230px;
	text-align: right;
	font-weight: bold;
}

#content .next {
	padding: 0 30px 10px 30px;
	text-align: right;
	line-height: 150%;
}

#content .detail-text {	
	padding: 10px 20px 0 0;
	line-height: 150%;
}

#content .detail-text .detail-image {
	float: left;
	width: 120px;
	font-size: 90%;
	text-align: center;
}

#content .detail-text .detail-image img.detail-border {
	border: 1px solid #EDEBD5;
	padding: 5px;
}

#content .detail-text #detail-photoInfo, #content .detail-text .detail-photoInfo {
	float: right;
	width: 305px;
	margin-bottom: 10px;
}

#content .categories {
	float: left;
	width: 235px;
	margin-left: 10px;
	margin-right: 10px;
}

#content .categories h2 {
	margin-bottom: 10px;
}

#content .subcategories {
	line-height: 150%;
	margin-bottom: 10px;
}

#content .subcategories a {
	color: #666666;
}

#content .subcategories a:hover {
	color: #067600;
}

#content h3 {
	margin-bottom: 10px;
}

#content .subcategories h3 a, #content .subcategories h3 a:visited {
	color: #1953A7;
}

#content #newPhotos {
	padding-bottom: 5px;
}

#content #newPhotos img {
	border: 1px solid #EDEBD5;
	padding: 5px;
	margin-left: 4px;
	margin-right: 4px;
}

#content #showPhotos img {
	border: 1px solid #EDEBD5;
	padding: 5px;
	margin-left: 4px;
	margin-right: 4px;
}

#content .photosList {
	height: 100px;
}

#content .photosList .image {
	float: left;
	width: 125px;
	height: 92px;
}

#content #list {
	margin-top: 2px;
	padding-top: 10px;
	padding-right: 20px;
	border-top: 1px solid #EDEBD5;
	text-align: right;
}

.post {
	margin-bottom: 20px;
	padding: 0 20px;
}

.hr {
	border-bottom: 1px solid #EDEBD5;
}

table.basket tr.suma td {
	border-top: 1px solid #EDEBD5;
}

table.basket td.btn {
	width: 20px;
}

table.basket td.name {
	width: 260px;
	font-weight: bold;
}

table.basket td.cost {
	width: 70px;
	text-align: right;
}

table.basket td.del {
	width: 18px;
	text-align: right;
}

table.basket td .select {
	width: 95px;
	border: 1px solid #EDEBD5;
	color: #666666;
}

table.basket td.tdTopBorder {
	border-top: 1px solid #EDEBD5;
}

table.suma td.name {
	font-weight: bold;
	padding-left: 20px;
	width: 355px;
}

table.suma td.cost {
	text-align: right;
	width: 50px;
}

table.suma td.free {
	width: 20px;
}

table.suma tr.suma td {
	border-top: 1px solid #EDEBD5;
}

/* Sidebar */

#sidebar {
	float: right;
	width: 210px;
	padding: 5px;
	background: #EDEBD5;
}

#sidebar h2 {
	margin: 0;
	padding: 5px 15px;
	color: #FFFFFF;
}

#sidebar h3 {
	font-size: 85%;
	color: #FFFFFF;
}

#sidebar ul {
	margin: 0;
	padding: 15px;
	list-style: none;
}

#sidebar li {
	color: #FFFFFF;
}

#sidebar a {
	color: #FFFFFF;
}

.bluebox {
	background: url(../images/bluebox-background.gif) repeat-y;
}

.bluebox h2 {
	background: url(../images/bluebox-h2-background.gif) repeat-y;
}

/* Search */

#search {
	float: right;
	width: 210px;
	padding: 5px;
	background: #EDEBD5;
	margin-bottom: 10px;
}

#search h2 {
	margin: 0;
	padding: 5px 15px;
	color: #FFFFFF;
}

#search h3 {
	font-size: 85%;
	color: #FFFFFF;
}

#search form input.input {
	width: 129px;
	margin: 5px 5px 5px 6px;
}

#search form input.submit {
	width: 60px;
	margin: 5px 0 5px 0;
}

/* Footer */

#footer {
	clear: both;
	height: 40px;
	padding: 25px 0;
	background: #EDEBD5 url(../images/footer-background.gif) repeat-x;
}

#footer p {
	margin: 0;
	text-align: center;
	font-size: 77%;
}

#footer a {
	color: #666666;
}

.toolTip {
	font-size: 80%;
	border: 1px solid #EDEBD5;
	background-color: #FFFFFF;
	padding-bottom: 2px;
}

.toolTip td  {
	padding: 2px;
	padding-bottom: 0px;
}

.toolTip td.title, #photoInfo td.title, .photoInfo td.title, #detail-photoInfo td.title  {
	font-weight: bold;
	color: #1953A7;
}

#photoInfo td.title, .photoInfo td.title, #detail-photoInfo td.title {
	padding-right: 10px;
	vertical-align: top;
}

table.cost {
	width: 100%;
	border-top: 1px solid #EDEBD5;
	border-left: 1px solid #EDEBD5;
}

table.cost td {
	border-bottom: 1px solid #EDEBD5;
	border-right: 1px solid #EDEBD5;
	padding: 2px 5px 2px 5px;
}

table.cost td.title {
	font-weight: bold;
	text-align: center;
}

table.cost td.size {
	text-align: right;
	width: 100px;
}

table.cost td.mpix, table.cost td.cost {
	text-align: right;
}

div.clear {
	clear: right;
	height: 15px;
}
