html, body{
	height:100%;
	min-height:100%;
	background:#520000 url('../img/background.gif') left top repeat-x;
	font-family:Arial,sans-serif;	
}

.white{
	color:white !important;
}

#msg { 
    display: none;
    position: fixed;
    width: 160px;
    top: 50%;
    left: 50%;
    margin-left: -150px; 
    background: #fc0;
    padding: 10px;
    z-index: 1;
   }
   
#page{
	width:1000px;
	margin: 0 auto;
	
	height:auto !important;
	min-height:100%;
	height:100%;
	background:#520000;
}
#header{
	height:589px;	
	background: url('../img/header.jpg') left top no-repeat;
	position:relative;
}
#logo{
	width:300px;
	height:124px;
	position:absolute;
	left:25px;
	top:10px;	
}
/* верхнее меню */
#menu{	
	position:absolute;
	left:35px;
	top:345px;	
	
}
#menu li{
	width:95px;
	margin-right:10px;
	display:block;
	float:left;
	cursor:default;
}
#menu li a{
	display:block;
	cursor:default;
}
#menu li a:link, #menu li a:visited{
	color:black;
	text-decoration:none;
	position:relative;
	text-align:center;
	padding-top:100px;
}
#menu li a:hover{
	color:white;
	cursor:default;
}
#menu li img{
	width:80px;
	vertical-align:top;
	position:absolute;
	top:10px;
	left:10px;
}
#menu li a p{	
	text-align:center;
	font-size:18px;
}

.shadow{
	width:130px;
	height:130px;
	position:absolute;	
	left:-15px;
	top:-15px;
	background: url('../img/shadow.png') left top no-repeat; 
}

#content{	
	padding:0 60px 0 220px;
	margin-top:-100px;
	position:relative;
	z-index:200;
	min-height:170px;
	height:auto !important;
	height:170px;
}

/* каталог */
#catalog{
	width:160px;
	margin-left:-190px;
	font-size:14px;
	color:white;
	cursor:default;
	line-height:24px;
	float:left;
	position:relative;
	z-index:200;
}
#catalog li{	
	list-style:none;
}
#catalog a:link, #catalog a:visited{
	color:white;
	text-decoration:none;
	cursor:default;
}
#catalog a:hover, #catalog a.hover{
	color:red;
	text-decoration:underline;
	cursor:default;
}
/* открытый пункт меню */
#catalog a.hover:hover{
	color:white;
	text-decoration:none;
}
/* вложенное меню */
#catalog_list ul{
	display:none;
}
#catalog_list ul a:link, #catalog_list ul a:visited{
	color:red;
}
#catalog_list li ul a:hover{
	color:#f60;
}
/* текущий подпунк меню */
#catalog_list li ul a.hover{
	color:#f60;
	text-decoration:underline;
}
#catalog_list li ul a.hover:hover{
	color:red;
	text-decoration:none;
}


#text{
	color:#fcc;
	line-height:18px;
}
#cur_page{
	 color:black;
	 font-size:14px;
		margin-bottom:20px;
}
#text p{
	text-align:justify;
	margin-top:18px;
}

#push{
	height:80px;
	clear:both;
}
#footer{
	width:1000px;
	margin: 0 auto;
	margin-top:-152px;
	clear:both;
	height:152px;
	position:relative;
	z-index:100;
	background: url('../img/footer.gif') left bottom repeat-x;	
} 

#phone{
	color:yellow;
	font-weight:bold;	
	text-align:center;
	margin:40px 0 30px 0;
}
#phone b{
	font-size:25px;
}

/* корзина */
#basket{
	margin:10px 0;
	color:red;
	line-height:18px;
}
#basket a{
	color:red !important;
	text-decoration:none;
}
#basket a:hover{
	color:white;
	text-decoration:underline;
	cursor:default;
}


#footer_right{
	width:267px;
	height:152px;
	position:absolute;
	right:0;
	top:0;
	background: url('../img/footer_right.gif') left top no-repeat;
}
#tochkaru{
	position:absolute;
	bottom:5px;
	left:30px;
	color:#fc9;
	text-decoration:none;
}
#tochkaru:hover{
	color:red;
	cursor:default;
}
#tochkaru img{
	margin:3px 0 0 5px;
	vertical-align:top;
}
textarea {
	color: #000000 !important;
}
.cap {
	display: none;
}

/* позиции */
.position{
	width:700px;
	height:168px;
	margin:5px 0 20px 0;
	overflow:hidden;
	position:relative;
	background:url(../img/catalog_bg.jpg) left top no-repeat;
	font-size:16px;
}
.position .add_basket{
	position:absolute;
	left:15px;
	top:50px;
	color:#fc0;
	display:block;
	float:left;
	text-decoration:none;
}
.position .add_basket:hover{
	color:white;
	cursor:default;
	text-decoration:underline;
}
.position .p_title{
	position:absolute;
	left:15px;
	top:10px;
	color:#f60;
	width: 400px;
}
.position .p_price{
	position:absolute;
	left:265px;
	bottom:8px;
	color:#900;
	font-weight:bold;
	cursor:default;
}
.position .p_price b{
	color:black;
}
.position .p_img{
	position:absolute;
	right:20px;
	top:10px;
/*	width:300px;*/
	cursor:pointer;
	padding:1px;
}
.position .p_img:hover{
	border:1px solid white;
	padding:0px;
}
#mask{
	position:absolute;
	left:0;
	top:0;
	background:black;
	width:100%;
	height:100%;
	cursor:pointer;
	z-index:400;
	display:none;
	opacity:0;
}
#mask{
	filter:alpha(opacity = 0);
}

#big_img{
	display:block;
	width:700px;
	color:white;
	background:black;
	position:absolute;
	left:20%;
	top:100px;	
	z-index:500;
	display:none;
	border:3px solid white;
}
.id {
	display: none;
}
.guest .item .who { font-weight: bold; }
.guest hr { width: 250px; }

.align_center{
	margin-bottom: 20px;
}

.align_center a{
	color: white;
}
#refer{
    height: 240px; 
    position: absolute;
    top: 325px;
    width: 160px;
	z-index:999;
}
