/*

thumbnail
Theme Name: Final Mramor design Theme
Description: Mramor design Theme
Version: 1.1
Author: dpetroff.ru

*/

body {
	padding: 0px;
	margin: 0px;
	color: #FFCC66;
	background-color: #000;
	font-family: Verdana, Tahoma, Arial;
	font-size: 16px;
}

a {
	color: #FFCC66;
	text-decoration: none;
}

img {
	border: 0px;
}

/* common styles */
* html body{
	padding: 0;
	margin: 0;
}


#wrap {
	background: scroll #000 url(img/bg.jpg) top left no-repeat;
	width: expression(document.body.clientWidth < 971 ? "970px" : "100%" );
	min-width: 970px;
	padding-bottom: 40px;
	position: relative;
}

#main {
	margin: 50px 15px 0px 380px;
	width:auto;
}

#main p {
	text-indent:30px;
}

#sidebar {
	width: 219px;
	float:left;
}

#footer {
	background : url(img/copyright.gif) center left no-repeat;
	padding-left: 45px;
	margin-left: 25px;
	clear: both;
	width:219px;
	font-size: 14px;
	line-height: 1.5;
}

.address p{
	margin: 40px 0 40px 25px; 
	font-size: 17px;
}

/* stone categories styling */
#stone_types {
	margin: 0px 0px 70px 30px;
	text-align: center;
	font-size: 18px;
	overflow:hidden;
	zoom: 1;
}

#buttons{
/*	width: 500px;*/
	float:left;
	position:relative;
	left:50%;
	text-align:left;
}
#buttons ul{
list-style:none;
position:relative;
left:-50%;
}

#buttons li{
	float:left;
	border-color: #e3a737;
	border-style: solid;
	border-width: 0px 2px 0px 2px;
	margin-right: -2px;
	position:relative;
}/* ie needs position:relative here*/

#buttons a{
	text-decoration:none;
	float:left;
	text-align:center;
	white-space:nowrap;
	padding: 0 5px;
}

#stone_types .selected, #stone_types a:hover {
	background-color: #323232;
}


/* menu style */
#menu_wrapper {
	margin-top: 311px;
	margin-bottom: 65px;
}

#menu {
	list-style: none;
	padding: 0;
	margin:0;
}

#menu li {
	display: block;
	margin: 0;
	padding: 0px;
}

#menu li a {
	display: block;
	margin: 0px 0px;
	padding: 0;
	width: 219px;
	height: 34px;
	font-size: 0px;
	line-height: 0px;
}

* html #menu li a {
	height: 31px;
}

/* item styling */
#menu .page-item-2 a{
	background: url(img/item2.jpg) no-repeat;
}

#menu .page-item-2 a:hover, #menu .page-item-2 a.selected {
	background: url(img/item2_h.jpg) no-repeat;
}

#menu .page-item-574 a{
	background: url(img/item99.jpg) no-repeat;
}

#menu .page-item-574 a:hover, #menu .page-item-574 a.selected  {
	background: url(img/item99_h.jpg) no-repeat;
}

#menu .page-item-92 a{
	background: url(img/item92.jpg) no-repeat;
}

#menu .page-item-92 a:hover, #menu .page-item-92 a.selected {
	background: url(img/item92_h.jpg) no-repeat;
}

#menu .page-item-103 a{
	background: url(img/item103.jpg) no-repeat;
}

#menu .page-item-103 a:hover, #menu .page-item-103 a.selected  {
	background: url(img/item103_h.jpg) no-repeat;
}

#menu .page-item-44 a{
	background: url(img/item44.jpg) no-repeat;
	height: 58px;
}

#menu .page-item-44 a:hover, #menu .page-item-44 a.selected {
	background: url(img/item44_h.jpg) no-repeat;
	height: 58px;
}

#menu .page-item-106 a {
	background: url(img/item106.jpg) no-repeat;
}

#menu .page-item-106 a:hover, #menu .page-item-106 a.selected {
	background: url(img/item106_h.jpg) no-repeat;
}

#menu .page-item-10 a{
	background: url(img/item10.jpg) no-repeat;
}

#menu .page-item-10 a:hover, #menu .page-item-10 a.selected {
	background: url(img/item10_h.jpg) no-repeat;
}


/* logo position */
#logo {
	margin: 0px 0px 0px 440px;
	text-align: center;
	width:auto;
}


#logo .text {
	position: relative;
	text-align: left;
	font-weight: bold;
	margin: 0 auto;
	width: 250px;
	left: 125px;
	padding: 20px 0 15px;
   font-size: 13px;
}

#logo .logo_img {
	height: 131px;
	width: 300px;
	margin: 0 auto;
}

/* gallery and stones previews */
.thumb {
	text-align: center;
	font-size: 12px;
/*	margin: 25px 0px; */
	float: left;
	font-weight: bold;
}

.thumb img{
	border: 1px solid #999e9a;
}

/* price table */
#prices {
	padding: 0px;
	empty-cells: show;
	border-spacing: 0px;
	width: 570px;
	vertical-align: top;
	margin: 0px auto;
}
#prices td
{
	vertical-align: middle;
	padding-top: 5px;
	padding-bottom: 5px;
}

.zh, .zh a
{
	font-weight: bold;
}

.num {
	text-align: right;
}

#prices img {
	border: 1px solid #999e9a;
}

.border {
	background: url(img/price_border.gif) repeat-x;
}

.popup {	
}

.popup h2{
	font-weight: normal;	
}

.popup td {
	vertical-align:top;
}

.back {
	font-size: 12px;
}

.list_articles {
	font-weight: bold;
}

.alignright { 
	float: right !important; 
	margin:0 0 15px 15px !important; 
}

.alignleft { 
	float: left !important; 
	margin:0 15px 15px 0px !important; 
}


.aligncenter
{
	display: block;
	margin: 0px auto 0px auto;
}
