#ajax_listOfOptions{
		position:absolute;	/* Never change this one */
		width:175px;	/* Width of box */
		height:250px;	/* Height of box */
		overflow:auto;	/* Scrolling features */
		border-left:1px solid #CCCCCC;
		border-bottom:1px solid #CCCCCC;
		border-right:1px solid #CCCCCC;
		border-top:1px solid #FFFFFF;
		background-color:#FFF;/* White background color */
		margin-top:-2px;/* отступ сверху */
		text-align:left;
		font-size:1.1em;
		z-index:100;
}
#ajax_listOfOptions div{	/* General rule for both .optionDiv and .optionDivSelected */
		margin:1px;	
		padding-left:5px;
		cursor:pointer;
		font-size:0.9em;
}
#ajax_listOfOptions .optionDiv{	/* Div for each item in list */
		
}
#ajax_listOfOptions .optionDivSelected{ /* Selected item in the list */
		background-color:orange;
		color:white;
		font-weight:bold;
}
#ajax_listOfOptions_iframe{
		background-color:#F00;
		position:absolute;
		z-index:5;
}
form{
		display:inline;
}
hr {
    height: 0;
    border: none;
    border-top: #404040 1px dotted;
    width: 75%;
}
/*------------------------*/
/*
a:link {
  color: #0000FF; 
  text-decoration: none; 
  background: #FFFFFF;}
a:visited {
  color: #FF9999; 
  text-decoration: none; 
  background: #FFFFFF;}
a:hover { 
  color: #999999; 
  text-decoration: underline; 
  background: #FFFFFF;}
a:active {
  color: #9999CC; 
  text-decoration: underline; 
  background: #FFFFFF;}*/
body{
	font-size:13px;
	font-family:"Trebuchet MS";
	/*background:#fffaed;*/
	background:white;
	color:#595f61;
}
a{
	color:#32839b;
	font-size:13px;
	font-family:"Trebuchet MS";
	/*text-decoration:underline;*/
	text-decoration:none;
}
.aa {
	TEXT-DECORATION: none;
	outline: none;
}

.aa:link {
	TEXT-DECORATION: none;
}

.aa:visited {
	TEXT-DECORATION: none;
}

.aa:hover {
/*	COLOR: rgb(128,128,128);*/
	text-decoration:none;
}
.aa:active {
	outline: none;
}
.cat_item{
	color:#32839b;
	font-size:15px;
	font-family:"Trebuchet MS";
	/*text-decoration:underline;*/
}
.errormes{
	font-size:15px;
	font-family:"Trebuchet MS";
}
.errormes a{
	font-size:15px;
	color:#32839b;
	font-family:"Trebuchet MS";
}
.bordered_img{	/* General rule for both .optionDiv and .optionDivSelected */
		background-color:white;
		border:solid 1px gray;
		padding:4px
}
.button2{
	border:solid 1px #cccccc;
	font-size:12px;
	vertical-align:top;
	cursor: pointer;
}
.button2:hover{
	border:solid 1px #32839b;
}
.grpbutton{
	background:none;
	border:none;
	cursor:pointer;
	font-size:12px;
	font-family:"Trebuchet MS";
	font-weight:bold;
	color:#595f61;
}
.grpbutton:hover{
	color:#32839b;
}
.tag2{
	line-height:1.3em;
}
.tag2:hover{
	color:#ff006c;
	border-bottom:dotted 1px #ff006c;
}
.page_number_current{
	border:solid 1px gray;
	padding:3px;
	background-color:#99CCFF;
}
.page_number{
	border:solid 1px gray;
	padding:3px;
}
.page_number:hover{
	background-color:#99CCFF;
}
.redbtn{
	color:red;
	border:solid 1px gray;
	background-color:white;
}
.greenbtn{
	color:green;
	border:solid 1px gray;
	background-color:white;
}
.votecontainer{
	position: relative;
}
.votepanel{
	position: absolute;
	cursor:pointer;
	color:#32839b;
}
.votepanel div/*span*/{ /*CSS for enlarged image*/
position: absolute;
left:-1000px;
visibility: hidden;
}
.votepanel:hover div/*span*/{ /*CSS for enlarged image*/
visibility: visible;
left:0px;
z-index: 50;
}

.editor {
	margin: 0px 0px 1px 0px;
	width: 100%;
	height: 21px;
	border: 1px #D1D8EC solid;
}

.editorinput {
	background: #FAFAFA;
	color: #000000;
	border: 1px #D1D8EC solid;
	font-size: 11px; font-family: Verdana, Helvetica; text-decoration: none;
}

.editorbutton {
	float: left;
	cursor: pointer;
	padding: 2px 1px 0px 5px;
}
.spoiler {
font-family: "arial";
font-size: 10px;
}
p.sub {
  margin-bottom: 4pt;
}
code {
	background: none;
	color: #0000FF;
	font-size: 11px;
	font-family: Verdana, Helvetica;
}

.code {
	color: #0000BB;
	font-size: 11px;
	font-family: Verdana, Helvetica;
}
.submenuitem {
	font-size:12px;
	cursor:pointer;
}
.submenuitem:hover {
	background:#cccccc;
}
.submenu {
	padding-left: 25px;
	display: block 
}
.menu {
	color:#32839b;
	font-weight:bold;
	cursor: pointer;
	display: block 
}
td a{
	font-size:12px;
	text-decoration:none;
}
.delfrombasketbtn{
	border:solid 0px gray;
	color:red;
	background:white;
	width:102px;
	height:18px;
	font-size:9px
}
.delfrombasketbtn:hover{
	color:white;
	background:red;
}
/* + UnderImg MENU*/
/*панель с кнопками*/
#MainMenu{height:30px;margin:0 auto;position:relative;z-index:40;width:auto}
/*списки и пункты списков меню*/
#MainMenu ul,#MainMenu li{list-style:none;margin:0;padding:0;}
#MainMenu ul li{float:left;position:relative;height:30px;}

#MainMenu ul li ul{display:none;height:80px;left:0;padding:10px 0 15px 3px;position:absolute;top:30px;}
#MainMenu ul li a.main{color:#797a81;display:block;font-size:10px;height:23px;line-height:10px;padding-top:3px;text-decoration:none;width:72px;text-align:center}
/*цвет ссылок на кнопках меню*/
#MainMenu ul li a.main:hover{color:orange}
/*кнопка меню*/
#MainMenu ul li.m1,#MainMenu ul li.m2,#MainMenu ul li.m3,#MainMenu ul li.m4,#MainMenu ul li.m5{text-align:center}
/*кнопка при наведении или "открытая"*/
#MainMenu ul li.m2:hover,#MainMenu ul li.m3:hover,
#MainMenu ul li.m2-opened,#MainMenu ul li.m3-opened{background:transparent url(http://i.spark-media.ru/gallery/menu_item_up.png) no-repeat;}
#MainMenu ul li.m4:hover,#MainMenu ul li.m1:hover,
#MainMenu ul li.m4-opened,#MainMenu ul li.m1-opened{background:transparent url(http://i.spark-media.ru/gallery/menu_item_up.png) no-repeat;}

#MainMenu ul li:hover ul{display:block}
/*всплывающая панель */
#MainMenu ul li.m1 ul,#MainMenu ul li.m2 ul,#MainMenu ul li.m3 ul,
#MainMenu ul li.m1-opened ul,#MainMenu ul li.m2-opened ul,#MainMenu ul li.m3-opened ul{background:transparent url(http://i.spark-media.ru/gallery/menu_item_down.png) no-repeat;width:166px;}
#MainMenu ul li.m4 ul,
#MainMenu ul li.m4-opened ul{background:transparent url(http://i.spark-media.ru/gallery/down.gif) no-repeat;width:166px;}
/*подпункты списка на всплывающей панели*/
#MainMenu ul li ul li{float:none;height:20px;margin:0;padding:2px;text-align:left;}
#MainMenu ul li ul li span{border-bottom:dashed 1px;}
#MainMenu ul li ul li a.sub{color:#0857a6;font-size:9px}
#MainMenu ul li ul li img{margin-right:3px;vertical-align:-2px;}
#MainMenu ul li ul li a.sub:hover{color:#f26d00;}
#toFriend input{font-size:100%}
#toAlbum input{font-size:100%}
#toModer input{font-size:100%}
#imgCode,#toFriend,#toAlbum,#toModer{display:none;position:absolute;width:298px;background:white;border:solid 1px gray}
#imgCode input{font-size:9px;height:11px;margin-bottom:3px;width:290px}
#toFriend,#toAlbum,#toModer input{font-size:9px;margin-bottom:2px; padding-top:0px;padding-bottom:2px;padding-left:2px;padding-right:2px}
#imgCode form{width:300px}
.submenu{font-size:70%;padding:7px;}
/* - UnderImg MENU*/

.helphintcontaner{
	position: relative;
}
.helphint{
	position: absolute;
	cursor:pointer;
}
.helphint div/*span*/{ /*CSS for enlarged image*/
position: absolute;
left:-1000px;
visibility: hidden;
}
.helphint:hover div/*span*/{ /*CSS for enlarged image*/
visibility: visible;
left:0px;
z-index: 50;
}
.sitepathcontainer{
	padding-left:20px;
	padding-top:5px;
	font-size:20px;
	color:#a7a7a7;
}
.sitepathcontainer a{
	font-size:20px;
	font-family:"Trebuchet MS";
	padding:2px;
	color:#00aed9;
}
.sitepathcontainer a:hover{
	text-decoration:underline;
	color:#ff006c;
}
.sitepathcontainer span{
	color:#ff006c;
}
.underdotted{
	border-bottom: #404040 1px dotted;
}
blockquote.bb_quote {
    border: #d0d0d0 1px solid;
    background-color: #f6f6f6;
    padding: 5px;
    margin: 1em 0 0 .75em;
}
div.bb_quote_author {
    border: #d0d0d0 1px solid;
    border-width: 1px 2px 2px 1px;
    margin-top: -1.2em;
    background-color: #f6f6f6;
    width: 150px;
    white-space: nowrap;
    font-weight: bold;
    text-align: center;
}
div.bb_quote_author:after {
    content: " писал(а):";
}

.photogal {
	clear:both;
	float:left;
	overflow:hidden;
	text-align:center;
	width:100%;
}
.itemList{
	display:block;
	float:left;
	text-align:center;
}
.album_item{
	width:inherit;
	height:inherit;
	/*border:1px solid #ffaaaa;*/
	display:block;
	/*float:left;*/
	margin:5px;
	text-align:center;
	vertical-align:middle;
}
.next_prev_btn:hover{
	background:#dddddd;
}
.album_title{
	font-size:18px;
	font-family:"Trebuchet MS";
	color:#00aed9;
}
.album_item_mini{
	width:inherit;
	height:inherit;
	display:block;
	margin:-1px;
	text-align:center;
	vertical-align:middle;
}
/* Лента эскизов со скроллом*/
/* root element for scrollable */
div.scrollable {  
	
	/* required settings */
	position:relative;
	overflow:hidden;
	vertical-align:top;
	top:0px;	

	/* vertical scrollers have typically larger height than width */	
	height: 340px;	 
	width: 182px;	
}

/* root element for scrollable items */
div.scrollable div.items {	
	position:absolute;
	
	/* this time we have very large space for height */	
	height:340px;	
}

/* 
	same settings as in horizontal scroller except that these items 
	are not floated
*/
div.scrollable div.items div {
	text-align:center;
	width:84px;
	background-color: #ddd;
	padding:2px 0px 2px 0px;
}

/* active item */
div.scrollable div.items div.active {
	border:1px;		
	background-color:#fff;
}
/*-------------------------*/
/* prev, next, prevPage and nextPage buttons */
a.prev, a.next, a.prevPage, a.nextPage {
	display:block;
	cursor:pointer;
	width:82px;
	vertical-align:middle;
	margin-top:5px;
	margin-bottom:5px;
}

/* mouseover state */
a.prev:hover, a.next:hover, a.prevPage:hover, a.nextPage:hover {
}

/* disabled navigational button */
a.disabled {
	visibility:hidden !important;		
}

/* next button uses another background image */
a.next, a.nextPage {
	clear:right;
}
/* всплывающая подсказка на jquery*/
.hint {
	position: relative;
}

.hint .word {
	display: block;
	color: #000000;
}
.hint .descr {
	/*background-attachment: fixed;
	background: url(img/hover.png) no-repeat;
	background-repeat: no-repeat;
	background-position: center top bottom;*/
	background-color:#ffffff;
	border:dashed 1px gray;
	height:inherit;
	width: 180px;
	position: absolute;
	left: -95px;
	text-align: left;
	/*padding: 20px 12px 10px;*/
	padding: 10px 12px 10px;
	font-size:10px;
	z-index: 50;
	display: none;
}
/*--------------------------------*/
.help-page{
	font-size:13px;	
}
.help-page a{
	font-size:13px;		
}

