/*  The original XFiles Theme for phpBB version 2+   Created by Scott Stubblefield  http://www.realdealstubblefield.com */

 /* General page style. The scroll bar colours only visible in IE5.5+ */
body   {
	background-image: url(main_back.gif); 
	scrollbar-3dlight-color: #D1D7DC;
	scrollbar-arrow-color: #006699;
	scrollbar-darkshadow-color: #98AAB1;
	scrollbar-face-color: #DEE3E7;
	scrollbar-highlight-color: #FFFFFF;
	scrollbar-shadow-color: #DEE3E7;
	scrollbar-track-color: #EFEFEF;
		color: #CCCCCC;
}

/* General font families for common tags */
font,th,td,p  {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 14px;
}
a:link,a:active,a:visited   {
	color: #D91401;
	text-decoration: none;
}
a:hover		 { color: #E8A500; text-decoration: none}
hr	 { border-style: solid; border-width: 1px 0px 0px 0px; border-color: #000000; height: 0px }

.forumline	  {
	background-color: #860000;
	border: solid 1px #000000;
}

/* Main table cell colours and backgrounds */
td.row1	  {
	background-color: #480100;
}
td.row2	   {
	background-color: #480100;
	border: none;
}
td.row3	  {
	background-color: #480100;
}


/*
  This is for the table cell above the Topics, Post & Last posts on the index.php page
  By default this is the fading out gradiated silver background.
  However, you could replace this with a bitmap specific for each forum
*/
td.rowpic  {
	background-image: url(cellpic2.jpg);
	background-repeat: repeat-y;
	background-color: #000000;
}

/* Header cells - the blue and silver gradient backgrounds */
th	  { color: #CCCCCC; font-weight: bold; font-size: 14px; background: #FFFFFF url(cellpic3.gif); height: 25px }

td.cat,td.catHead,td.catSides,td.catLeft,td.catRight,td.catBottom  { background: #860000url(cellpic1.gif);
	height: 26px;
	background-color: 860000;
}


/*
  Setting additional nice inner borders for the main table cells.
  The names indicate which sides the border will be on.
  Don't worry if you don't understand this, just ignore it :-)
*/
td.cat,td.catHead,td.catBottom {
	height: 29px;
	border-width: 0px 0px 0px 0px;
}
th.thHead,th.thSides,th.thTop,th.thLeft,th.thRight,th.thBottom,th.thCornerL,th.thCornerR  { font-weight: bold; height: 28px }
td.row3Right,td.spaceRow   {
	background-color: #480100;
}

th.thHead,td.catHead  { font-size: 14px }
th.thSides,td.catSides,td.spaceRow	  { }
th.thRight,td.catRight,td.row3Right	  { }
th.thLeft,td.catLeft	   { }
th.thBottom,td.catBottom   { }
th.thTop	  { }
th.thCornerL  { }
th.thCornerR  { }


/* The largest text used in the index page title and toptic title etc. */
.maintitle,h1,h2	 { color: #E8A500; font-weight: bold; font-size: 22px; font-family: Arial, Helvetica, sans-serif; text-decoration: none }


/* General text */
.gen {
	font-size : 14px;
	text-decoration: none;
}
.genmed {
	font-size : 13px;
	text-decoration: none;
}
.gensmall {
	font-size : 12px;
	text-decoration: none;
}
.gen,.genmed,.gensmall  {
	color: #CCCCCC;
	text-decoration: none;
}
a.gen,a.genmed,a.gensmall   { color: #D91401; text-decoration: none }
a.gen:hover,a.genmed:hover,a.gensmall:hover	  { color: #E8A500; text-decoration: none}


/* The register, login, search etc links at the top of the page */
.mainmenu		  {
	color: #CCCCCC;
	font-size: 12px;
	font-weight: bold;
}
a.mainmenu		  {
	color: #CC0000;
	text-decoration: none;
	font-weight: bold;
}
a.mainmenu:visited  {
	color: #CC0000;
	text-decoration: none;
	font-weight: bold;
}
a.mainmenu:hover  {
	color: #E8A500;
	text-decoration: none;
	font-weight: bold;
}


/* Forum category titles */
.cattitle		  {
	color: #CCCCCC;
	font-weight: bold;
	font-size: 14px;

}
a.cattitle		  { color: #CCCCCC; text-decoration: none }
a.cattitle:hover  {
	color: #E8A500;
	text-decoration: none;
}


/* Forum title: Text and link to the forums used in: index.php */
.forumlink		  { color: #CCCCCC; font-weight: bold; font-size: 14px }
a.forumlink 	  { color: #E8A500; text-decoration: none }
a.forumlink:hover  { color: #CCCCCC; text-decoration: none}


/* Used for the navigation text, (Page 1,2,3 etc) and the navigation bar when in a forum */
.nav			  { color: #CCCCCC; font-weight: bold; font-size: 13px }
a.nav			  { color: #CC0000; text-decoration: none }
a.nav:visited  { color: #B40C0C; text-decoration: none }
a.nav:hover		  { color: #E8A500; text-decoration: none}


/* titles for the topics: could specify viewed link colour too */
.topictitle			  { color: #CCCCCC; font-weight: bold; font-size: 13px }
a.topictitle:link     { color: #E8A500; text-decoration: none }
a.topictitle:visited   { color: #A54425; text-decoration: none }
a.topictitle:hover	  { color: #FFFFFF; text-decoration: none}


/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name			 {
	color: #E8A500;
	font-size: 14px;
	font-weight: bold;
}

/* Location, number of posts, post date etc */
.postdetails		 { color: #FFFFFF; font-size: 13px}


/* The content of the posts (body of text) */
.postbody { font-size : 14px;}
a.postlink:link	  { color: #E8A500; text-decoration: none }
a.postlink:visited   { color: #E8A500; text-decoration: none }
a.postlink:hover   { color: #FFCC00; text-decoration: none}


/* Quote & Code blocks */
.code   {
	color: #550000;
	font-size: 14px;
	background-color: #CCCCCC;
	border: solid 1px #ff0000;
}

.quote   {
	color: #FFFFFF;
	font-style: italic;
	font-size: 14px;
	line-height: 125%;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	border: solid 1px #cccccc;
	background-color: #000000;
}


/* Copyright and bottom info */
.copyright		 { color: #CCCCCC; font-size: 12px; font-family: Arial, Helvetica, sans-serif}
a.copyright		 {
	text-decoration: none;
	color: #CCCCCC;
}
a.copyright:hover  { color: #E8A500; text-decoration: none}


/* Form elements */
input,textarea, select {
	color : #000000;
	font: normal 14px Arial, Helvetica, sans-serif;
	border-color : #000000;
}

/* The text input fields background colour */
input.post, textarea.post, select  { background-color: #CFC7CA}

input { text-indent : 2px; }

/* The buttons used for bbCode styling in message post */
input.button  { color: #000000; font-size: 13px; font-family: Arial, Helvetica, sans-serif; background-color: #CCCCCC}

/* The main submit button option */
input.mainoption  { font-weight: bold; background-color: #8E8E8E}

/* None-bold submit button */
input.liteoption  { font-weight: normal; background-color: #8E8E8E}

/* This is the line in the posting page which shows the rollover
  help line. This is actually a text box, but if set to be the same
  colour as the background no one will know ;)
*/
.helpline  { background-color: #480100; border: none }


/* Import the fancy styles for IE only (NS4.x doesn't use the @import function) */
@import url("formIE.css");






/* 1) ИЗМЕНЕНИЕ ИМЕЮЩЕГОСЯ СТИЛЯ */
/* Здесь ниже задаётся стиль для ссылок - все ссылки в квадратиках обведённых нежным оттенком основного цвета */
.pgbutt a {font-family: Verdana; padding-top:2px;padding-bottom:2px;
text-decoration: none; border: 1px #FFFFFF solid; background: #242424; padding:1px 4px 1px 4px; margin: 5px 1 0 0;
 -moz-border-radius: 4px;
 -khtml-border-radius: 4px;
 -webkit-border-radius: 4px;
 border-radius: 4px;}

p { margin: 20px;} 
TD {font-size: 14px;} 
form { display: inline; margin: 2px; padding: 0px; border: 0px;}   
input,textarea,input.liteoption,.fakebut {color: #000000; border: 1px solid #000000; background: #fafafa; font-size: 13px; font-weight:bold;}


/* 2) QR-CODE */
#qr img{width:35px;height:35px;position: fixed;right: 10px;top: 10px;border: 1px solid #666;padding: 1px;background-color: white;}
#qr img:hover{width:200px;height:200px;z-index:100;padding: 2px;}

/* 3) Если нет аватара добавляем ЧУДО КВАДРАТ с первой буквой логина. border-radius 100% - это круг */
.guestavatar{width:120px;height:120px;text-align:center;background: #FFDEAD;color: #4E5754;font-size: 50px;
display: table-cell;border-radius: 20%;position: relative;vertical-align: middle;}

/* 4) навигационное МЕНЮ В АДМИНКЕ */
#nav8, #nav8 ul, #nav8 li {margin: 0;padding: 0;border: 0;}
#nav8, #nav8 ul {background: #000000;}
#nav8 {border-spacing: 0 0;position: relative;z-index: 50;width: 100%;}
#nav8 ul {position: absolute;display: none;}
#nav8 td:hover ul {display: block;}
#nav8 ul li {list-style: none;}
#nav8 .right {direction: rtl;}
#nav8 .right ul {right: 0;}
#nav8 .right li {direction: ltr;}
#nav8 a {display: block;padding: 7px 0;text-align: center;text-decoration: none;}
#nav8 ul a {padding: 7px 15px;text-align: left;}
#nav8 td:hover, #nav8 li:hover {background: #414141;}
#nav8 td {text-align: center;}

/* 5) Стиль для блока загрузки - ДАЛЕЕ >>> */
#cssbar-wrapper {width:300px; height:19px; position:absolute; left:50%;}
#cssbar-border {border:3px solid rgb(162,5,42); height:100%; width:100%; position:relative; left:-50%; top:-50%; padding:4px 3px;}
#cssbar-whitespace {overflow:hidden; height:100%; width:100%; margin:0 auto; overflow:hidden; position:relative;}
#cssbar-line {background-color:rgb(162,5,2); position:absolute; height:100%; width:100%; animation:cssbar-slide 4s steps(40) infinite;
 -o-animation:cssbar-slide 4s steps(40) infinite; -ms-animation:cssbar-slide 4s steps(40) infinite;
 -webkit-animation:cssbar-slide 4s steps(40) infinite; -moz-animation:cssbar-slide 4s steps(40) infinite;}
@keyframes cssbar-slide {0% {left:-100%;} 100% {left:100%;}} @-o-keyframes cssbar-slide {0% {left:-100%;} 100% {left:100%;}}
@-ms-keyframes cssbar-slide {0% {left:-100%;} 100% {left:100%;}} @-webkit-keyframes cssbar-slide {0% {left:-100%;} 100% {left:100%;}}
@-moz-keyframes cssbar-slide {0% {left:-100%;} 100% {left:100%;}}