/* Global */
html, body {
	font : 10pt font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	margin : 0; padding : 0;
	color: #505050;
	background-color: #F9F9F9;
}

/* Layout - Wrapper */
#wrapper {
	line-height : 1.2;
	background-color: #F9F9F9;
	width: 80%;
	margin: auto;
}

/* Layout - Logo */
#ilogo{
	color: White;
	padding-left: 12px;
	padding-right: 12px;	
	margin-right: 2px;
	font-weight: bolder;
	font-family: cursive;
	background: url(/design/i_logo3.gif) no-repeat 2px;
}
.logo{
	font-family: monospace;
	font-weight: bolder;
	font-size: 30px;
	height: 50px;
	padding-left: 20px;
	color: #505050;
}
div.logo a{
	color: #505050;
	text-decoration: none;
}
#logotext{
	font-size: 0.4em;
	font-family: Verdana;
	font-weight: lighter;
}
ul.topnavi{
	list-style: none;
	margin-left: 20px;
	padding-left: 0px;
}
ul.topnavi li{
	display: inline;
	font-size: 0.8em;
	margin-right: 5px;
}
ul.topnavi li{
	font-size: 0.7em;
	font-weight: bold;
	border-bottom: 1px solid;
	border-left: 8px solid #FF771E;
	margin-bottom: 3px;
	padding-left: 2px;
}
ul.topnavi li a{
	color: #505050;
	text-decoration:none;
}

ul.topnavi li a:hover{
	color: #FF771E;
}

/* Layout - Left Bar */
#leftbar {
	width: 20%;
	float: left;
	border: 0px solid;
	padding-left: 5px;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
}

/* Layout - Content Area */
#contentarea { 
	width: 75%;
	float: right;
	border: 0px solid;
	padding: 5px;
	margin-right: 0px;
	margin-bottom: 10px;
}

/* Left Bar - Categories */
#leftbar h2 { 
	font-size: smaller;
}

#leftbar .root_categories {
	margin : 0;
	padding : 0;
	list-style : none; 
}

#leftbar .root_categories li p { 
	font-size: 0.7em;
	font-weight: bold;
	border-bottom: 1px solid #525152;
	border-left: 8px solid #FF771E;
	margin-bottom: 3px;
	padding-left: 2px;
}
#leftbar .root_categories li p a:link, #leftbar .root_categories li p a:visited, #leftbar .root_categories li p a:active {
	text-decoration: none;
	color: #505050;
}
#leftbar .root_categories li p a:hover {
 	text-decoration: none;
	color: #FF771E; }
#leftbar .root_categories li p a.collapse {
	position: relative;
	right: 0;
	padding: 5px;
	color: #505050;
	font-size: 1.5em;	
}
#leftbar .root_categories li p a.collapse:hover {
	color: #505050;
}
#leftbar .root_categories li p>a.collapse {
	margin-top: -4px;
}
/*a.collapse:hover {
	background: #6FB8FF;
}*/
div.box h2 {
	padding: 4px;
	color: #1892FF;
}

/* Left Bar - Categories - Children */
.children { display:block; }
.children, .children li {
	margin: 0;
	padding: 0;
	list-style: none;
}
.children li { display : block; }
.children a:link, .children a:visited {
	font : 9pt verdana, arial, sans-serif;
	color : #505050;
	text-decoration : none;
	display : block;
	height : 20px;
	padding : 4px 4px 4px 20px;
	border-bottom : 1px dotted #B0BFDE;
	background : url(../images/bullet.gif) no-repeat 12px;
}
.children .nolink {
	color : #505050;
	text-decoration : none;
	display : block;
	height : 20px;
	padding : 4px 4px 4px 20px;
	border-bottom : 1px dotted #B0BFDE;
	background : url(../images/bullet.gif) no-repeat 12px;
}

ul.children{
	display: block;
}

ul.children_mirror{
	display: block;
}

.children .nolink a:link, .children .nolink a:visited {
	color : #2B4B8B;
	font-weight : normal;
	font : 10pt tahoma, arial, sans-serif;
	text-decoration : none;
	padding : 4px;
	display : inline;
	border : 0;
	background : white;
}
.children .nolink a:hover { color : #5B78B3; }
.children>li>a:link, .children>li>a:visited, .children>.nolink { height : auto }
.children a:hover {
	/*background: #C7DAF4 url(../images/wbullet.gif) no-repeat 12px;*/
	color: #FF771E;
}

/* Content Area - Menu */
#menu { 
	margin : 0; padding : 3px 0;	
}

#menu li {
	font-size: 0.8em;
	font-weight: bold;
	border-left: 8px solid #FF771E;
	border-bottom: 1px solid #525152;	
	margin-left : 5px;
	padding-left : 3px;
	display : inline;
	color : white;
	text-align : center;
	list-style : none;
}
#menu a:link, #menu a:visited {
	text-decoration: none;
	color: #505050;
}
#menu a:hover { 
	text-decoration: none;
	color: #FF771E; }

/* Content Area */
div.box {
	margin : 8px;
	border : 0px solid #899EC8; 
}
#contentarea h1 {
	margin : 0;
	font-size: 1.4em;
	color: #1E90FF;	
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	padding : 3px 4px;
	margin-top: 5px;

}
#contentarea>h1 { padding : 4px; }
#contentarea h1 a:link, #contentarea h1 a:visited {
	color : #0A2C70;
	text-decoration : none;
}
#contentarea h1 a:hover {
	text-decoration: underline;
}
#contentarea h2 {
	color : #525152;
	font-weight : bold;
	font-size : 1em;
	margin : 0;
	padding : 3px;
}
#contentarea h2 a:link, 
#contentarea h2 a:visited {
	color : #525152;
	font-weight : bold;	
	font-size : 10pt;
	text-decoration : none;
}
#contentarea h2 a:hover { color : #FF7518; }

#contentarea h3 {
	color : #444;
	font-weight : normal;
	font-size : 10pt;
	margin : 0;
	padding : 2px;
	background : #FFF;
}
p {
	padding : 4px;
	font-size : 9pt;
	color : #222;
	border-bottom : 1px dotted #6FB8FF; 
	margin : 0;
}
.box p {
	border-top : 1px dotted #6FB8FF; 
}

#contentarea h3 a:link, #contentarea h3 a:visited {
	color : #222;
	font-weight : normal;
	font-size : 10pt;
	text-decoration : none;
}
#contentarea h3 a:hover { color : #666; }
a.downloads { margin-top : -2px; }
a.more:link, a.more:visited, a.downloads:link, a.downloads:visited {
	position : absolute;
	right : 14px;
}
a.downloads:hover { color : black; }
a.downloads { padding-top : 2px; }
.small { font-size : 8pt; }

/* Files - Toolbox */
#toolbox h2 { border-bottom : 1px solid #FF7518; text-align : center; }
#toolbox .comments { margin : 4px; border : 0px }
#toolbox .comments h3 { background : #6FB8FF; color : #1C315C; }
#toolbox_left {
	width : 100%;
}
#toolbox_left p { word-wrap : break-word; /* IE only fix :( */ }
#toolbox_right {

}
#toolbox_left #pages {
	margin : 4px;
}
#toolbox_left #pages p {
	border : 0;
}
#toolbox_left #pages h2 {
	text-align : left;
}

/* Footer */
#footer {
	position : relative;
	clear : both;
	border-top : 1px solid #6FB8FF;
	background : #6FB8FF;
	color : #EFEFEF;
	font-size : 12px;
	padding : 4px 5px 5px 5px;
}
#footer p {
	position : absolute;
	right : 5px;
	top : 4px;
	margin : 1px 0 0 0; 
	padding : 0;
	color : #EFEFEF;
	font-size : 10px;
	border : 0;

}
#footer>p { margin : 0; }

/* Global Links */
a:link, a:visited { color : #333; }
a:hover { text-decoration : none; }

/* Miscellaneous Fixes */
form { margin : 0; }

/* Admin CP - Forms */
table.form { font-size : 8pt; }
.align_top { vertical-align: top; }
.formleft { width : 18%; }
.formleft_small { width : 10%; }
input, select, textarea, option { font : 10pt verdana, arial, sans-serif; border : 1px solid #6FB8FF; background : #fff; padding : 1px; }
option { border : 0; }
#contentarea>#search_gap { display : none; }
#breaknote { display : none; }
#toolbox_right>#breaknote { display : block; }

/* Category/file listing styles */
#contentarea .box h2 .cat_head_options {
	display: inline;
	font-size: 8pt;
}

#contentarea .box h2 .cat_head_options a {
	font-size: 8pt;
}

/* IP RESTRICTION CLASSES */

.new_entry {
	text-align: center;
	padding: 5px;
}

.new_entry td {
	padding-left: 20px;
	padding-right: 20px;
}

.label {
	font-weight: bold;
}

.new_entry a {
	text-decoration: none;
}

.new_entry a img {
	border: 0;
	text-decoration: none;
}

.filter_mode label {
	cursor: pointer;
}

.ip_list {
	padding: 5px;
}

.ip_list td {
	padding: 5px;
}

.ip_list a img {
	border: 0;
}

.ip_restrict_row:hover, .ip_restrict_row_hover{
	background-color: #C7DAF4;
}


/* File details box styles */

.filebox_breadcrumb {
	color : #525152;
	font-weight : bold;
	font-size : 10pt;
	margin : 0;
	padding : 3px;
	border-bottom: 1px solid #525152;
	border-left: 8px solid #FF771E;	
}
/*по-моему эти вот стили ни на что не влияют*/
.filebox_breadcrumb a:active, 
.filebox_breadcrumb a:visited {
	color : #525152;
	font-weight : bold;	
	font-size : 10pt;
	text-decoration : none;
}
.filebox_breadcrumb a:hover { color : #FF7518; }

.filebox_links {
	color : #525152;
	font-size : 8pt;
	padding : 2px;
	margin: 0;
	line-height: 1.5;
}

.more_link a:link, .more_link a:visited {
	color : #222;
	font-weight : normal;
	font-size : 10pt;
	text-decoration : none;
	margin: 2px;
}

.download_link, .more_link {
	margin: 2px 4px 2px 2px;
	float: right;
}

.downloads a:hover { color : black; }
.downloads a { padding-top : 2px; }

ul.confirm_item_list {	
	padding-left: 20px;
}

/* WYSIWYG editor styles */
#contentarea .wysiwyg
{
	border-bottom : 1px solid #525152; 
	padding: 3px;
	text-align:justify;

}

#contentarea .wysiwyg h1, 
#contentarea .wysiwyg h2, 
#contentarea .wysiwyg h3
{
	background : white;
	color : black;
	border : 0;
	font-weight : bold;
}

#contentarea .wysiwyg h1 {
  font-size: 2em;
  margin: .67em 0;
}

#contentarea .wysiwyg h2 {
  font-size: 1.5em;
  margin: .83em 0;
}

#contentarea .wysiwyg h3 {
	font-size: 1.17em;
	margin: 1em 0;
}
.date{
	color: #FF771E;
	font-size: 1.5em;
	font-weight: bold;
	float: left;
	padding-top: 15px;
	width: 74px;
	height: 80px;
	background: url(../images/date_holder3.gif) no-repeat;
	text-align: center;
}