:focus {outline: 0;}

html,body{
 background: #ffffff;
 color:#555;
 padding: 0px;
 margin: 0px;
 font-family:  Verdana, Arial, Tahoma, Sans-serif;
 font-size: 10px;
 text-align: justify;
}

/* General font families for common tags */
a:link,a:active,a:visited { color : #006699; }
a:hover		{ text-decoration: underline;}
img{border:none;}

hr	{ height: 0px; border: solid #D1D7DC 0px; border-top-width: 1px;}
span.red{color:red;}

.tl{text-align:left;}
.tr{text-align:right;}
.fl{float:left;}
.fr{float:right;}
.tbl_l tr{border-bottom:1px solid #006699}
tr.tbl_t {border-top:2px solid #006699}
span.but, a.but, a.but:visited, a.but:hover{
	font-weight:bold;
	font-size:11px;
	color:#006699;
	text-decoration:none;
	width:auto;
	display:block;
	margin: 3px 5px;
}
a.but:hover{text-decoration:underline;}
/* pgination*/

.pages {margin:3px 0;color:#000;}
.pages a,.pages a:visited,.pages a:hover{font-weight:bold;text-decoration:none;color:#327aa5;padding-left:2px;padding-right:2px;border:1px solid #327aa5;margin-right:2px;}


/*index*/
a.category, a.category:visited, a.category:hover{
   display:block;
   font-family: Georgia, Palatino, Times New Roman;
   margin:9px 0 0px 17px;
   padding:2px;
   text-align:left;
   color: #333;
   text-decoration:none;
   text-transform:lowercase;
   font-weight:normal;
   font-size:18px;
   line-height:18px;
   border-bottom:1px solid #aaa;
   width:90%;
}

ul.forum{
   text-align:left;
   margin: 0;
   padding:0 0 0 17px;

}

ul.forum li{
	font-size: 12px;
	margin: 0 0 15px 0;
	list-style-type: none;
	padding:6px 0 0 4px;
	border-left:2px solid #fff;
    color:#333;
}
ul.forum li.unr{
	border-left:3px solid #e77817;
}

ul.forum li.unr span.title a, ul.forum li.unr span.title a:visited, ul.forum li.unr span.title a:hover {
	color:#e77817;
}

a.unr, a.unr:visited, a.unr:visited{
	color:#e77817;
}

ul.forum li.unr span.title a.rdd, ul.forum li.unr span.title a.rdd:visited, ul.forum li.unr span.title a.rdd:hover{color: #006699;}

.forumtitle{
	padding:0 0 5px 0;
	display:block;
}

.forum li a,  .forum li a:visited, .forum li a:hover{
	font-weight:bold;
	line-height:14px;
	text-decoration:none;
}
.forum li a:hover{
	text-decoration:underline;
}
span.title a, span.title a:visited,span.title a:hover{
	font-weight:normal;
}



div.hr{border-bottom:1px solid #aaa;width:95%;margin-top:5px;}

div.unr{
	width:auto;
	margin-top:10px;
	padding-top:10px;
}

/* T */
div#topics{
	clear:both;
	border-top:2px solid #1476a7;
	color:#555;
}
div.topic{
	border-bottom:2px solid #1476a7;
}
div.t_t{
	clear:both;
	height:15px;
	color: #1476a7;
	font-size:12px;
	padding:3px 5px;
	text-align:left;
	text-transform:lowercase;
	background:#f5f5f5;
    border-top:1px dotted #1476a7;

    margin-top:1px;


}
div.t_t a, div.t_t a:visited, div.t_t a:hover{
  text-decoration:none;
  color: #e77817;
  font-size:14px;
  font-weight:bold;

}
a.tu, a.tu:visited, a.tu:hover{
  text-decoration:none;
  color: #1476a7;
  font-size:14px;
  font-weight:bold;
}

div.t_t  .rdd a, div.t_t  .rdd a:visited, div.t_t  .rdd a:hover{
  color: #1476a7;
}
div.t_tb{
	clear:both;
	height:15px;
	color: #000;
	font-size:11px;
	padding:3px 0 0 5px;
	text-align:justify;
}

div.t_tb a, div.t_tb a:visited, div.t_tb a:hover{
  text-decoration:none;
  font-weight:bold;
  color: #000;
}


.t_b{
	text-align:left;
	font-size:12px;
	padding:7px 15px;
	clear:both;
}

.t_b fieldset{
	border:1px solid  #aaaaaa;
	margin:5px 0 0 30px;
	padding:10px 20px;
}

.t_b fieldset fieldset{
	color:#999999;
	background-color:#f2f2f2;
	font-weight:normal;
	margin:0;

}
.t_b legend{font-weight:bold;color:#000000;}
.t_b fieldset fieldset  legend {font-weight:normal;}

div.tbtm{
	padding:3px 3px;
    border-bottom:1px dotted #1476a7;
   //    border-bottom:none;
    margin-bottom:1px;
}
div.tbtm a, div.tbtm a:visited, div.tbtm a:hover{
  text-decoration:none;
  font-weight:bold;
  color: #1476a7;
}
/* userinfo*/
.userinfo{
		background:#ffffff;
		padding:8px;
		border:1px solid #e77817;
		float:left;
		position:absolute;
		color:#006699;
		font-weight:normal;
		font-size:10px;
}
.userinfo a, .userinfo a:visited{
		padding:0 3px;
		color:#006699;
		font-weight:bold;
		text-decoration:none;
		font-size:10px;
}
.userinfo a:hover{
	color:#e77817 !important;
	font-size:10px;
}



/* ::::::::::::::::::::::::::::::::::::::::: new ::::::::::::::::::::::::::::::::::::::::: */
/* */
div#top1{background:#ffffff;height:28px;color: #e77817;padding:0px;margin:0;border:1px solid #ffffff;}


div#top2{background:#bbbbbf;height:15px;color: #ffffff;padding:0 8px;line-height:15px;font-weight:bold;font-size:12px;
		border-bottom:2px solid #bbbbbf;
		margin:0 0 17px 0;clear:both;}

div#bottom{height:15px;color: #ccc;padding:20px 8px;line-height:15px;font-weight:normal;font-size:12px;
					line-height:15px;font-size:12px;margin:10px 0 ;text-align:center;}

div#bottom a:link,div#bottom a:visited,div#bottom a:hover{color: #ccc;}
div#bottom a:hover{text-decoration:underline;}



div#top2 a, div#top2 a:visited, div#top2 a:hover{
	margin:0 5px;
	text-decoration:none;
	color: #ffffff;
}
div#top2 a:hover{text-decoration:underline;}

div#top1 div.t1{
		margin:5px 8px;
		font-weight:bold;
		font-size:11px;
		text-transform:lowercase;
		vertical-align:top;
		height:18px;
		color: #1476a7;
}
.t1 a,  .t1 a:visited,.t1 a:hover{
		margin:0 10px;
		text-decoration:none;
		text-transform:lowercase;
		color: #1476a7;
		white-space:nowrap;
}
.t1 a:hover{text-decoration:underline;}
.t1 a.pl,
.t1 a.pl:visited,
.t1 a.pl:hover{
	margin:0;
	text-decoration:none;
}



div#body{margin:0 auto;width:98%;}


div#logo{width:141px;height:37px;position:absolute;top:0;right:0;background: transparent url('/forum/templates/legio_test/images/flogo2.gif');}
div#a{width:206px;height:258px;background: transparent url('/forum/templates/legio_test/images/a.gif');margin:20px;}

div#utils{background:#ffffff;padding:8px;border:1px solid #999; float:left;position:absolute;color:#006699;font-weight:normal;}
div#utils a, div.utils a:visited {padding:0 3px;color:#006699;font-weight:bold;text-decoration:none;}
div#utils a:hover{color:#e77817;}


div#submenu{
		height:15px;
		background:#1476a7;
		color: #ffffff;
		padding:0 8px;
		line-height:15px;
		font-weight:bold;
		font-size:12px;
		margin:0px 0;
		text-align:center;}

div#submenu a:link,div#submenu a:visited,div#submenu a:hover{color: #aaaaaa;margin:0 15px;text-decoration:none;}
div#submenu a:hover{text-decoration:underline;}

/* Form elements */
.t1 form{
 margin: 0 5px;
 display:inline;
}
.t1 input{margin:0 5px 0 0;padding:0;line-height:11px;
				border:1px solid #555;color: #333;}
/* The main submit button option */
input.ok {
	background-color : #ffffff;
	color: #333;
	border:none;
	border-bottom:1px solid #333;
	text-transform:lowercase;
	float: none;
	display: inline;
	margin:0;
	padding:0;
}

/*-------------------------------------------------------------------*/
.forumline{
	width:100%;
	border-collapse:collapse;
    border-top:1px solid #aaa;
	border-bottom:2px solid #aaa;
	color:#333;
}
.forumline th{
	color: #1476a7;
	line-height:15px;
	font-size:12px;
	font-weight:bold;
	padding:2px 10px;
	border-bottom:2px solid #1476a7;
}

.forumline td{
	padding:5px 0 5px 7px;
	font-size:12px;
	vertical-align:top;
}
.forumline td a,
.forumline td a:visited,
.forumline td a:hover{
		font-weight:normal;
		font-size:12px;
}
.forumline th a,
.forumline th a:visited,
.forumline th a:hover{
	color:#ffffff;
	font-size:14px;
	font-weight:bold;
	text-decoration:none;
}
.forumline tr.titles th{
	background-color : #006699;
	color: #ffffff;
	border-left:3px solid #006699;
}


.forumline td.list{border-left:3px solid #ffffff;}
.forumline td.main{
		text-align:left;
		vertical-align:top;
}
.forumline .n{
	display:block;
	margin:0 0 4px 0;
}
.forumline .n a,
.forumline .n a:visited,
.forumline .n a:hover{
	font-weight:bold;
	font-size:12px
}

.forumline tr.unr td.list{
	border-left:3px solid #e77817;
}
.forumline tr.unr a,
.forumline tr.unr a:visited,
.forumline tr.unr a:hover{
		color:#e77817;
}


/* разделение */
.indext td{
	padding:8px 0 8px 5px;
}
.indext td.category a, .indext td.category a:visited{
	font-size:16px;
}
.prvmsg td{
	padding:0;
}
.prvmsg td a,.prvmsg td a:visited,.prvmsg td a:hover{display:block;text-decoration:none;padding:3px 7px;;}
.prvmsg td a:hover{color:#e77817;text-decoration:underline;}
.frm td{
	padding:8px 0 8px 5px;
}
.prvmsg{border-bottom:2px solid #006699;}
.faq td{text-align:left;}


.stopics{border-collapse:separate;border-spacing: 0px 5px;}
.stopics td{padding:3px 3px;}


.forumline tr.sticky td.list{border-left:3px solid #000000;}
.forumline tr.closed td.list{border-left:3px solid #ff0000;}
.forumline tr.annonce td.list{border-left:3px solid #00ff00;}

.forumline tr.row1  th a,
.forumline  tr.row1 th a:visited,
.forumline  tr.row1 th a:hover,
.forumline tr.row2  th a,
.forumline  tr.row2 th a:visited,
.forumline  tr.row2 th a:hover{
		color:#000000;
		font-size:12px;
		font-weight:bold;
		text-decoration:none;
}


.forumline td a.rdd,
.forumline td a.rdd:active,
.forumline td a.rdd:visited { color : #aaaaaa; }

.forumline td a.but,
.forumline td a.but:active,
.forumline td a.but:visited,
.forumline td a.but:hover  { 	display:inline; }


/*-----------------------*/
td.buts{
		text-align:right;
		padding:0 0 7px 0;
}
td.buts a,
td.buts a:visited,
td.buts a:hover{
	font-weight:normal;
	font-size:11px;
	color:#e77817;
	text-decoration:none;
	margin: 0 5px;
}

span.user a, span.user a:visited, span.user a:hover,
.notreaded  td .user a, .notreaded  td .user a.visited, .notreaded td .user a:hover{
	font-weight:bold;
	color:#000000;
	text-decoration:none;
}

span.user a:hover,.notreaded td .user a:hover{text-decoration:underline;}



span.pagin a,
span.pagin a:visited,
span.pagin a:hover,
.notreaded span.pagin a,
.notreaded span.pagin a:visited,
.notreaded span.pagin a:hover{
	color:#006699;
	font-weight:bold;
	text-decoration:none;
}


/*комменты*/
.forumline td fieldset{
		border:none;
		border:1px solid  #aaaaaa;
		width:85%;
		margin:0 0 0 55px;
}
.forumline td fieldset fieldset{
	color:#999999;
	background-color:#f2f2f2;
	font-weight:normal;
	margin:0;
	width:95%;
}
legend{font-weight:bold;color:#000000;}
fieldset fieldset  legend {font-weight:normal;}

/*голосование*/

table.votes{width:auto;margin:5px auto;border-collapse:collapse;font-size:12px;clear:both;}
table.votes th{padding:2px 10px;color:#ffffff;background:#006699;}
table.votes td{padding:5px 15px;color:#006699;border-bottom:1px solid #006699;}
table.votes td.dizz{text-align:left;}
table.votes td.buts{padding:0;border:none;text-align:center;}
table.votes td.buts a.but,table.votes td.buts a.but:visited{display:block;font-size:14px;margin:7px;}
table.votes td.buts a.but:hover{text-decoration:underline;}
table.votes label{font-size:12px;}
table.votes input{border:none;}
table.votes input.ok{border:none;width:100%;color:#ffffff;background:#006699;}


/* логи */
.logs_date, .ld {color:#0000ff;}
.logs_who, .lw{font-weight:bold;}


/*итоги*/
table.st{border:none;font-size:12px; border-collapse:separate;text-align:center;border:1px solid #006699;background:#ffffff;}
table.st td{border:none;background:#EFEFEF;padding:1px 3px;}
table.st th{border:none;text-align:left;background:#EFEFEF;padding:2px 7px;color:#000000;}
table.st .row th, table.st .row td{background:#DEE3E7;}
table.st .our th, table.st .our td{background:#006699;color:#ffffff;}
table.st thead td{color:#ffffff;background:#FFA34F;text-align:center;padding:1px 7px;}
.best {color:red;}
table.st .our td.best{background:#DEE3E7;color:red;}

/*фотогаллерея*/
.gal a {display:block;padding:5px;float:left;line-height:0px;}
.gal div {clear:both;}


/*posting*/
div#posting {width:100%;}

div#posting table {width:auto;}
div#posting table td{text-align:left;}

div#posting label{
    font-weight:bold;
    font-size:14px;
    display:block;
    margin:8px 7px;
    text-align:left;
}

.box{width:100%;	border:1px solid  #006699;}
.userbox{border:1px solid  #006699;width:30%;}
.area{width:100%;	border:1px solid  #006699;}

.bbbuts input.button{width:50px;background:#006699;color:#ffffff;border:none;font-weight:bold;}
.bbbuts select{width:200px;border:1px solid #006699;margin:3px 0;}
.helpline{ background-color: transparent; border-style: none; color:#006699;font-weight:normal;}

div#posting  .bbbuts label{
		display:inline;
		font-weight:bold;
		color:#e77817;
		font-size:12px;
		line-height:14px;
		margin:3px 0;
		width:150px;
		float:left;
}

.smiles{margin:4px;}
.smiles a, .smiles a:visited {margin:2px;}

.opt{border:1px solid  #aaa;padding:10px;background:#f2f2f2;}
.attach {border:1px solid  #aaa;padding:10px;background:#f2f2f2;}
.bbbuts{border:1px solid  #aaa;padding:10px;background:#f2f2f2;}
.opt table td{font-size:10px;vertical-align:top;}

.attach input.button{
		background:#006699;
		color:#ffffff;
		border:none;
		font-weight:bold;
		padding:3px 7px;
		margin:0 0 0 8px;
}
.posted input.button{width:180px;margin:0 0 5px 0;}

.mainbuts {width:95%;text-align:right;padding:10px;}
.attach input.button, .mainbuts  input.button{
		background:#ffffff;
		color:#006699;
		border:1px solid #006699;;
		font-weight:normal;
		padding:3px 5px;
		margin:0 0 0 8px;
		font-size:12px;
}

.attach input{border:1px solid  #006699;}
.attach textarea{border:1px solid  #006699;}

.togl{font-size:12px;color: #e77817;font-weight:bold;}
div#posting .opt label{font-weight:normal;    font-size:10px;}
div#posting .attach label{font-weight:normal;    font-size:12px;}




/*profile*/
table.profiles{
	width:auto;
}

table.profiles td, table.profiles th {
	text-align:left;
	font-size:12px;
	padding:5px;
   vertical-align:top;
}
table.profiles th.big{
  height:15px;
		border-bottom:1px solid #e77817;
		padding:10px 0 0 5px;
		text-align:left;
		font-family:Verdana, Arial,  Sans-serif;
		color: #e77817;
		text-decoration:none;
		text-transform:lowercase;
		font-weight:bold;
		font-size:16px;
}
table.profiles td.row1{width:33%;}
table.profiles td input.post, table.profiles textarea, table.profiles select{border:1px solid  #006699;}



/* forms*/

form.t2{
 width:250px;
 margin: 0 5px;
 display:block;
 text-align:left;
}
.t2 input{margin:0 5px 0 0;padding:0;line-height:11px;
				border:1px solid #006699;color: #006699;}
/* The main submit button option */
.t2  input.button {
		background:#006699;color:#ffffff;border:none;font-weight:bold;padding:3px 7px;width:250px;
}
.t2 label{	display:block;font-weight:bold;    font-size:12px;margin:10px 0;color: #e77817}

/*prv*/
.prv,
.prv th,
.prv td{
		font-size:12px;
		text-align:left;
}
.prv td.msg{border:1px solid #006699; padding: 10px;width:500px;}
.l{	text-align:left;}
.r{	text-align:right;}
.prv span.info{	font-weight:normal;	font-size:10px;}

/* confirm */
form.info{
	margin:10px;
	font-size:12px;
	color: #e77817;
	font-weight:bold;
}

form.info input.ok{width:50px;background:#006699;color:#ffffff;border:none;font-weight:bold;padding:2px;}



a.empty1,a.empty1:hover,a.empty1:visited{text-decoration:none;color:#fff;}