/*
	Copyright © Eleanor CMS
	URL: http://eleanor-cms.ru, http://eleanor-cms.com
	E-mail: support@eleanor-cms.ru
	Developing: Alexander Sunvas*
	Interface: Rumin Sergey
	=====
	*Pseudonym. See addons/copyrights/info.txt for more information.
*/

.small { color: #787878; font-size: 10px; font-weight: normal;}
.small td { color: #787878; font-size: 10px; font-weight: normal;}

.code {
	color: #ff7a01;
	background: #fbf5ed url("../images/code.gif") left top no-repeat;
	border: 1px solid #9ab3d5;
	padding: 7px;
	padding-top: 20px;
	clear: both;
	font-family: 'Courier New', monospace;
	}

.code a {
	color: #ff7a01;
	font-family: 'Courier New', monospace;
}

.quote {
	color: #a5a4a4;
	background: #f9f7f6 url("../images/quote.gif") left top no-repeat;
	border: 1px solid #f3f2f1;
	padding: 7px;
	padding-top: 20px;
	clear: both;
}

/*TABLE*/
table.blocktable th{
	height: 26px;
	color: #bb3000;
	background: #ffcaad url(../images/blocktable_th.png) left 1px repeat-x;
}

table.blocktable tr.tabletd1 { background: #ffffff; }
table.blocktable tr.tabletd2 { background: #fffaf2; }
table.blocktable th a{ color: #bb3000; }


/* ----- PAGENUMBER ----- */
div.numbers {}
div.numbers a,
div.numbers span { font-weight: bold; }

div.numbers span {
	padding: 4px 2px;
	background-color: #eeeeee;
}

div.numbers span.numbersmore {
	padding: 4px 2px;
	background: none;
	border: none;
}

div.numbers a { padding: 4px 2px; }
div.numbers a:hover {
	background-color: #ff8200;
	color: #ffffff;
	text-decoration: none;
}

/*рейтинг*/
.rate {
	cursor: pointer;
	float: right;
	text-align: left;
	padding-top: 2px;
	width: 105px;
}

.rate div { height:15px; }
.rate div.hover { background: transparent url("../images/rating.gif") no-repeat left -30px; }
.rate div.active { background: transparent url("../images/rating.gif") no-repeat left -15px; }
.rate div.noactive { background: transparent url("../images/rating.gif") no-repeat left 0; }

/*КАЛЕНДАРЬ*/
.blockcalendar hr { clear: both; }
.month span.selyears { float: right; padding-top: 3px; }
.month span.selyears a { padding-left: 2px; }
.month { clear: both; }
.blockcalendar h4 {
	float: left;
	color: #ae1201;
	margin-top: 0;
	margin-bottom: 2px;
}

.blockcalendar table {
	clear: both;
	width: 100%;
}

.blockcalendar td, .blockcalendar td.today {
	border-right: 1px solid #1d3d85; border-left: 1px solid #1d3d85;
	border-bottom: 1px solid #1d3d85;
	padding: 4px 2px;
	text-align: center;
}

tr.c_days td {
	background-color: #8eaee4;
	font-weight: bold;
	color: #1d3d85;
	padding: 0;
}

tr.c_days td.vday {
	font-weight: bold;
	color: #ca0202;
	border-right: 1px solid #1d3d85;
	border-bottom: 1px solid #1d3d85;
}

td.vday { color: #ff0000; }

.blockcalendar td.today { color: #9c2105; background-color: #e9b591; }

/*Переключение месяцов*/
.blockcalendar .arrows { height: 30px; }
.blockcalendar .arrows hr { border-color: #1d3d85; }
.blockcalendar .arrows a { padding: 4px; font-size: 10px; font-weight: bold; }
.blockcalendar .arrows .arrowleft { float: left; }
.blockcalendar .arrows .arrowright { float: right; }

/*FILESFULL*/
/*THUMB IMG*/
a.thumbimage {
	border: 1px solid #1d3d85;
	float: left;
	margin-right: 8px;
	margin-bottom: 6px;
}

a.thumbimage img {
	display: block;
	width: 160px; height: 100px;
	border: 1px solid #ffffff;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

a.thumbimage span {
	display: block;
	text-align: center;
	padding: 2px 0;
	font-weight: bold;
	background-color: #d9e2eb;
	font-size: 10px;
}

a.thumbimage:link span, a.thumbimage:visited span, a.thumbimage:hover span { color: #1d3d85; }
a.thumbimage:hover span { text-decoration: underline; }

/*VOTING*/
ul.votelist, ul.votelist li { margin: 0; padding: 0;  background: none; list-style-type: none; }
ul.votelist li { padding: 2px 0; }

ul.voteresult, ul.voteresult li { margin: 0; padding: 0;  background: none; list-style-type: none; }
ul.voteresult li { padding: 3px 0; }
ul.voteresult li span { color: #9c9c9c; font-size: 10px; }

/*VOTE ID ALL*/
ul.voteresult li div { height: 15px; background-image: url("../images/engine/vote_1.png"); }
ul.voteresult li div { background-repeat: repeat-x; background-position: left -15px; background-color: #ee6501; }
ul.voteresult li div div { background-repeat: no-repeat; background-position: left top; background-color: transparent !important; }
ul.voteresult li div div div { background-repeat: no-repeat; background-position: right -30px; background-color: transparent !important; }

/*VOTE-ID 2-10 UNI*/
/*ul.voteresult li.vote-id2 div {  background-color: #ea3c00; background-image: url(../images/voting/vote_2.png); }
ul.voteresult li.vote-id3 div {  background-color: #b63648; background-image: url(../images/voting/vote_3.png); }
ul.voteresult li.vote-id4 div {  background-color: #a630bc; background-image: url(../images/voting/vote_4.png); }
ul.voteresult li.vote-id5 div {  background-color: #4442aa; background-image: url(../images/voting/vote_5.png); }
ul.voteresult li.vote-id6 div {  background-color: #669d4d; background-image: url(../images/voting/vote_6.png); }
ul.voteresult li.vote-id7 div {  background-color: #61ca22; background-image: url(../images/voting/vote_7.png); }
ul.voteresult li.vote-id8 div {  background-color: #ec8800; background-image: url(../images/voting/vote_8.png); }*/


/*TABLE*/
.tableline tr { background: #ffffff url("../images/table_linebg.png") repeat-x left top; }

.formeditor { width: 100%; }

.formeditor td.label {
	font-weight: bold;
	text-align: right;
	vertical-align: top;
	width: 180px;
	padding-left: 0;
	color: #959595;
}

.formeditor td {
	padding: 5px;
	padding-left: 16px;
	vertical-align: top;
}

.formeditor tr { background: #ffffff url("../images/table_linebg.png") repeat-x left top; }

.formeditor tr td table tr { background: none; }
.formeditor tr td table td { padding: 0; }

.formeditor td.label .small { font-weight: normal; }

.formeditor td .select,
.formeditor td .inputText,
.formeditor td .textarea {
	padding: 2px;
	color: #777;
	border: 1px solid #bcbcbc;
}

.formeditor td .select { width: 180px; }
.formeditor td .inputText { width: 290px; }
.formeditor td .textarea { width: 320px; }

.formeditor td .impfields {
	color: #ffae00;
	font-weight: normal;
}

.formeditor_set td .select { width: 250px; }
.formeditor_set td .inputText { width: 250px; }
.formeditor_set td .textarea { width: 250px; }

.formeditor_set td.label {
	font-weight: normal;
	text-align: right;
	vertical-align: top;
	width: 250px;
	padding-left: 0;
	color: #959595;
}

tr.infolabel {
	background: #f7f7f7 url("../images/tabstyle_bgth.png") repeat-x left top;
	border-top: 1px solid #d6d6d6;
	text-align: center;
}

tr.infolabel td {
	padding: 5px;
	color: #ff9000;
	font-weight: bold;
	background: none;
	text-transform: uppercase;
	font-size: 10px;
}

/*COMMENTS*/
ul.com-list, li.com-tree-item, ul.com-tree { margin: 0; padding: 0; background: none; }
ul.com-tree li.com-tree-item { padding-left: 20px; background: none; }


/*BB EDITOR*/
div.bb_editor { padding-right: 8px; }
div.bb_editor .textarea { width: 100%; }
div.bb_editor .bb_panel {
	padding-bottom: 3px;
}

div.bb_editor .bb_panel a img {
	float: left;
	width: 20px; height: 22px;
}

div.bb_editor .bb_panel a {
	outline: none;
	float: left;
	background: transparent url("../images/bbeditor/bb_button_bg.gif") no-repeat left top;
}

div.bb_editor .bb_panel a:hover {
	background: transparent url("../images/bbeditor/bb_button_bg.gif") no-repeat left -22px;
}

div.bb_editor .bb_rpanel { float: right; width: 60px; margin-left: 20px; }
div.bb_editor .bb_rpanel a { background: transparent url("../images/bbeditor/bb_rbutton_bg.gif") no-repeat left top; }
div.bb_editor .bb_rpanel a:hover { background: transparent url("../images/bbeditor/bb_rbutton_bg.gif") no-repeat left -22px; }

.bb_fonts { border: 1px solid #cccccc; background-color: #f0f0f0; width: 170px; padding: 8px; }
.bb_smiles { border: 1px solid #cccccc; background-color: #f0f0f0; width: 170px; height: 200px; overflow: auto; }
.bb_smiles a { float: left; width: 51px; height: 42px; }

/*Загрузка*/
div.loading {
	position: absolute;
	width: 297px;
	height: 130px;
	margin-left: -70px;
	background: #ffffff url("../images/loading.gif") center center no-repeat;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=70);
	-moz-opacity: 0.7;
	-khtml-opacity: 0.7;
	opacity: 0.7;
}

div.loading span{
	margin-top: 106px;
	display: block;
	color: #787878;
	font-size: 10px;
}


/*MODULE FILES*/
ul.faisup { padding: 3px; margin: 0;}
ul.faisup li ul { padding: 0; margin: 0; float: left; width: 96%; }
ul.faisup li { border: 1px dotted #d6d6d6; padding: 4px; background: #ffffff url("../images/table_linebg.png") repeat-x left -3px; list-style-type: none;}
ul.faisup li ul li { border: none; background: none; padding: 1px 0; margin: 0; float: left; width: 98%; clear: both; list-style-type: none;}
ul.faisup li ul li span { float: left; width: 25%; }
ul.faisup li ul li div { float: left; width: 73.5%; }
ul.faisup li ul li div input, ul.faisup li ul li div textarea { width: 100% !important; }

ul.faisup a.faisup_btn { float: right; padding: 0 2px; }
ul.faisup a.faisup_btn img { width: 12px; height: 12px; }

/*CATECORIES*/
table.categories { width: 100%; }
table.categories td { padding: 4px; }
table.categories ul {margin: 2px 0;padding: 0 0 0 5px;}
table.categories ul li {
	margin: 2px 0; padding: 0 0 0 14px;
	list-style-type: none;
	background: url("../images/navi.gif") no-repeat left 4px;
}

/*Errors*/
.errorinput span {
	color: #9f9f9f;
}

.errorinput input, .errorinput textarea {
	border: 1px solid #bbbbbb;
	background-color: #ffffff;
}

.errorinput input { width: 200px; }
.errorinput textarea { width: 99%; }

a.button	{
	background: #ffb800 url("../images/buttons_type1.png") no-repeat left top;
	font-weight: bold;
	display: block;
	width: 107px; height: 28px;
	line-height: 26px;
	color: #ffffff;
	margin: auto;
	text-align: center;
}

a.button:hover	{ background: #ffb800 url("../images/buttons_type1.png") no-repeat left -28px; }

/*Перенос 11111111111111111111111111111111111111 */
span.wbr { display:inline-block; }
/*Перенос смайлов */
.smile { display:inline-block; }


/*ОШИБКИ*/
.warning {
	padding: 6px;
	text-align: left;
	color: #7e7e7e;
	margin: auto;
	margin-bottom: 16px;
	line-height: 140%;
	background-color: #fafafa;
	border: 1px solid #e7e7e7;
	font-family: Tahoma, Helvetica, sans-serif;
}

.warning h4 {
	font-size: 17px;
	color: #4e4e4e;
	font-weight: normal;
	margin-top: 0;
	margin-bottom: 2px;
	font-family: Tahoma, Helvetica, sans-serif;
}

.warning img { margin-right: 13px; }

/*Галерея аватаров*/
.galleryavatars a {
	float: left;
	padding: 1px;
	margin-right: 5px;
	background-color: #cbcbcb;
	cursor: pointer;
	text-decoration: none !important;
}

.galleryavatars a b {
	display: block;
	background-color: #ffffff;
	padding: 1px;
	width: 80px;
	font-weight: normal;
}

.galleryavatars a img { display: block; width: 80px; }

.galleryavatars a b span {
	display: block;
	color: #a2a2a2;
	text-transform: uppercase;
	font-size: 10px;
}

.galleryavatars a:hover { background-color: #858585; }
.galleryavatars a:hover b { background-color: #ececec; }
.galleryavatars a:hover b span { color: #5b5b5b; }

/*Шапка при уменьшении изображения*/
.resized-image-header {
	position: absolute;
	top: 0;
	left: 0;
	float: left;
	background-color: #000000;
	font-size: 10px;
	color: #ffffff;
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=0);
	filter:alpha(opacity=0);
	-moz-opacity: 0;
	-khtml-opacity: 0;
	opacity: 0;
}

div.posted-image { position: relative; display: inline-block; }

div.posted-image:hover .resized-image-header {
	filter:progid:DXImageTransform.Microsoft.Alpha(opacity=80);
	filter:alpha(opacity=80);
	-moz-opacity: 0.8;
	-khtml-opacity: 0.8;
	opacity: 0.8;
}