/*  phpBB 3.0 Style Sheet
    --------------------------------------------------------------
	Style name:		subsilver2
	Based on style:	subSilver (the default phpBB 2 style)
	Original author:	subBlue ( http://www.subBlue.com/ )
	Modified by:		psoTFX and the phpBB team ( http://www.phpbb.com )
	
	This is an alternative style for phpBB3 for those wishing to stay with
	the familiar subSilver style of phpBB version 2.x
	
	Copyright 2006 phpBB Group ( http://www.phpbb.com/ )
    --------------------------------------------------------------
*/

/* Layout
 ------------ */
* {
	/* Reset browsers default margin, padding and font sizes */
	margin: 0;
	padding: 0;
	/* line-height: 1.6em; */
}

html {
	/* --font-size: 100%; */)
}

body {
	/* Text-Sizing with ems: http://www.clagnut.com/blog/348/ */
	/* --font-family: Tahoma, Verdana; */
	color: #000000;
	background-color: #E5E5E5;
	/* --font-size: 90%; /* This sets the default font size to be equivalent to 10px */
	/* --font-size: 1.0em; */
	margin: 0;
}

#wrapheader {
	height: auto !important;
	padding: 0;
}

#wrapcentre {
	margin:0px 10px 0 10px;
}

#wrapfooter {
	text-align: center;
	clear: both;
}

#wrapnav {
	width: 100%;
	margin: 0;
	background-color: #ECECEC;
	border-width: 1px;
	border-style: solid;
	border-color: #A9B8C2;
}

#logodesc {
	background-color: #C1CAD2;
	background-image: url('./images/background.gif');
	background-repeat: repeat-x;
	background-position: center bottom;
	padding: 0 25px 15px 25px;
}

#menubar {
	margin:10px 10px 0 10px;
}

#datebar {
	margin:0px 10px 0 10px;
}

#findbar {
	width: 100%;
	margin: 0;
	padding: 0;
	border: 0;
}

.forumrules {
	background-color: #ffe294;
	border-width: 1px;
	border-style: solid;
	border-color: #ffd155;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	margin-top: 10px;
	border-radius: 5px;
}

.forumrules h3 {
	color: red;
	font-size:1.6em;
	font-family: "Arial";
}

#pageheader { }
#pagecontent { }
#pagefooter { }

#poll { }
#postrow { }
#postdata { }


/*  Text
 --------------------- */
h1 {
	color: black;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	line-height: 120%;
}

h4 {
	margin: 0;
	font-size: 1.1em;
	font-weight: bold;
}

p {
	font-size: 1.2em;
}

p.moderators {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
}

.rtl p.moderators {
	float: right;
}

p.linkmcp {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.linkmcp {
	float: left;
}

p.breadcrumbs {
	margin: 0;
	float: left;
	color: black;
	font-weight: bold;
	white-space: normal;
	font-size: 1em;
}

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-size: 1em;
}

.rtl p.datetime {
	float: left;
}

p.searchbar {
	padding: 2px 0;
	white-space: nowrap;
} 

p.searchbarreg {
	margin: 0;
	float: right;
	white-space: nowrap;
}

.rtl p.searchbarreg {
	float: left;
}

p.forumdesc {
	padding-bottom: 4px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	font-size:9px;
	line-height:6px;
	color:gray;
	margin: 1px 0;
}

.postreported, .postreported a:visited, .postreported a:hover, .postreported a:link, .postreported a:active {
	margin: 1px 0;
	color: red;
	font-weight:bold;
}

.postapprove, .postapprove a:visited, .postapprove a:hover, .postapprove a:link, .postapprove a:active {
	color: green;
	font-weight:bold;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
	padding-top: 5px;
}

.postauthor {
	font-size: 1.5em;
	color: #000000;
	letter-spacing:-2;
}

.postdetails {
	color:#aaaaaa;
}

.postbody {
	font-size: 1.3em;
	1line-height: 1.4em;
}

.postbody li, ol, ul {
	margin: 0 0 0 1.5em;
}

.rtl .postbody li, .rtl ol, .rtl ul {
	margin: 0 1.5em 0 0;
}

.posthilit {
	background-color: yellow;
}

.nav {
	margin: 0;
	color: black;
	font-weight: normal;
}

.pagination {
	padding: 4px;
	color: black;
	font-size: 1.6em; 
	font-weight: bold;
}

.cattitle {

}

.gen {
	margin: 1px 1px;
	font-size: 1.2em;
}

.genmed {
	margin: 1px 1px;
	font-size: 1.2em;
}

.gensmall {
	color: #aaaaaa;
	margin: 1px 1px;
	font-size: 1.1em;
	font-weight: normal;
}

.copyright {
	color: #444;
	font-weight: normal;
}

.titles {
	font-weight: bold;
	font-size: 1.1em;
	line-height:1.0em !important;
	text-decoration: none;
	padding:10px 0px 0px 0px;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #ffd155;
	font-size: 1.5em;
	font-weight: bold;
	background-color: #006699;
	background-image: url('./images/cellpic3.gif');
	white-space: nowrap;
	padding: 7px 5px;
	letter-spacing:-2 !important;
}

td {
	padding: 2px;
}
td.profile {
	padding: 4px;
}

.tablebg {
	background-color: #dddddd;
}

.catdiv {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background: white url('./images/cellpic2.jpg') repeat-y scroll top left;
}
.rtl .catdiv {
	background: white url('./images/cellpic2_rtl.jpg') repeat-y scroll top right;
}

.cat {
	height: 28px;
	margin: 0;
	padding: 0;
	border: 0;
	background-color: #C7D0D7;
	background-image: url('./images/cellpic1.gif');
	text-indent: 4px;
}

.row1 {
	background-color: #ECECEC;
	padding: 4px;
}

.row2 {
	background-color: #DCE1E5;
	padding: 4px;
}

.row3 {
	background-color: #C0C8D0;
	padding: 4px;
}

.spacer {
	background-color: #D1D7DC;
}

hr {
	height: 1px;
	border-width: 0;
	background-color: #D1D7DC;
	color: #D1D7DC;
}

.legend {
	text-align:center;
	margin: 0 auto;
}

/* Links
 ------------ */

/* Links adjustment to correctly display an order of rtl/ltr mixed content */
.rtl a {
	direction: rtl;
	unicode-bidi: embed;
}

a:link {
	color: #006597;
	text-decoration: none;
}

a:active,
a:visited {
	color: #005784;
	text-decoration: none;
}

a:hover {
	color: #102856;
	text-decoration: underline;
}

a.forumlink {
	color: #069;
	font-weight: bold;
	font-size: 1.4em;
}

a.topictitle {
	margin: 1px 0;
	font-weight: 500;
	font-size: 1.3em;
}

a.topictitle:visited {
	color: #5493B4;
	text-decoration: none;
}

th a,
th a:visited {
	color: #ffd155 !important;
	text-decoration: none;
}

th a:hover {
	text-decoration: underline;
}


/* Form Elements
 ------------ */
form {
	margin: 0;
	padding: 0;
	border: 0;
}

input {
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	font-family: Tahoma, Verdana;
	border
}

textarea {
	background-color: #FAFAFA;
	font-family: Tahoma, Verdana;
	font-size: 1.1em; 
	line-height: 1.4em;
	font-weight: normal;
	padding: 2px;
	border-width:1;
}

select {
	color: #333333;
	1background-color: #FAFAFA;
	font-family: Tahoma, Verdana;
	font-size: 1.1em;
	font-weight: normal;
	1border: 1px solid #A9B8C2;
	padding: 1px;
}

option {
	padding: 0 1em 0 0;
}

option.disabled-option {
	color: graytext;
}

.rtl option {
	padding: 0 0 0 1em;
}

input.radio {
	border: none;
	background-color: transparent;
}

.post {
	background-color: white;
	1border-style: solid;
	border-width: 1px;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 0.9em;
	background-color: #EFEFEF;
	1border: 1px solid #666666;
	border-width:1;
}

.btnmain {
	font-weight: bold;
	border-width:1;
	cursor: pointer;
	padding:3px 5px 3px 5px;
	font-size: 1.4em;
	1height:25px;
}

.btnlite {
	font-weight: normal;
	cursor: pointer;
	padding:2px 5px 2px 5px; 
	font-size: 0.9em;
	1height:25px;
}

.btnfile {
	font-weight: normal;
	1background-color: #ECECEC;
	1border: 2px solid #A9B8C2;
	padding:5px 5px 5px 5px;
	font-size: 1.1em;
}

.helpline {
	background-color: #DEE3E7;
	border-style: none;
	font-size:9px;
	margin:0px;
}


/* BBCode
 ------------ */
.quotetitle, .attachtitle {
	margin: 10px 5px 0 5px;
	padding: 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #333333;
	background-color: #A9B8C2;
	font-size: 0.85em;
	font-weight: bold;
}

.quotetitle .quotetitle {
	font-size: 1em;
}

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	background-color: #FAFAFA;
	color: #4B5C77;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	border-width: 1px 1px 0 1px;
	border-style: solid;
	border-color: #A9B8C2;
	color: #333333;
	background-color: #A9B8C2;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #A9B8C2;
	border-width: 0 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	color: #006600;
	font-size: 0.85em;
	font-family: Monaco, 'Courier New', monospace;
	background-color: #FAFAFA;
}

.syntaxbg {
	color: #FFFFFF;
}

.syntaxcomment {
	color: #FF8000;
}

.syntaxdefault {
	color: #0000BB;
}

.syntaxhtml {
	color: #000000;
}

.syntaxkeyword {
	color: #007700;
}

.syntaxstring {
	color: #DD0000;
}


/* Private messages
 ------------------ */
.pm_marked_colour {
	background-color: #000000;
}

.pm_replied_colour {
	background-color: #A9B8C2;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


/* Misc
 ------------ */
img {
	border: none;
}

.sep {
	color: black;
	background-color: #ffd155;
}

table.colortable td {
	padding: 0;
}

pre {
	font-size: 1.1em;
	font-family: Monaco, 'Courier New', monospace;
}

.nowrap {
	white-space: nowrap;
}

.username-coloured {
	font-weight: bold;
}

/* ======================= */
body	{	font-size: 1.0rem;	}
p			{	font-size: initial;	}

html, body, #pageheader .titles	{ font-family: Roboto, Tahoma, Verdana, sans-serif !important; }

.logo 			{ position:absolute; top:0px; border:0px solid; z-index:0; }
html>body .logo 	{ width:100%; } /* css-хак: Opera,FF */
* .logo 		{ left:0px; } /* css-хак: IE */

.alpha			{ filter:progid:DXImageTransform.Microsoft.Alpha('opacity=10'); -moz-opacity:0.1; opacity:0.1; }

#bottom	.portic		{ background:url('http://www.swkotor.ru/wp-content/themes/SWKotorBS4/images/border_bg.gif') repeat-x; background-position:top right; text-align:center; }

.new								{ color:#ffffff; font-weight:normal; font-size:10px; background:#ff0000; padding:0 3 0 3; white-space:nowrap; }
#pageheader .titles	{ font-size:1.0em !important; --line-height:1.2em !important; text-shadow:0px 1px 0px #ffffff; --letter-spacing:-1px !important; }
#forumTop						{ background:url('http://www.swkotor.ru/wp-content/themes/SWKotorBS4/images/title_bg05.jpg') no-repeat #111; background-position-y: 30%; background-size: cover; }

#menubar table td a 	{ font-weight:bold; text-shadow:0px 1px 0px #ffffff; }
a.forumlink						{ font-size:1.2em; text-shadow:0px 1px 0px #ffffff; }
.cat									{ --font-size:1.2em !important; }
.1btnmain, .1btnlite	{ border-width:0 !important; background:#eeeeee; border-left:1 solid #ffffff; border-right:1 solid #ffffff; border-radius:5px !important; }

.tfn				{ width:380px; border:0px solid; display:block; text-align:right; position:absolute; top: 25px; right: 25px; }

.sample			{ text-decoration:none; cursor:pointer; border-bottom:dashed 1px #006597; line-height:140%; }
.sample:link		{ text-decoration:none; border-bottom:dashed 1px #aaa; }
.sample:visited		{ text-decoration:none; border-bottom:dashed 1px #006597; }
.sample:hover		{ text-decoration:none; border-bottom:dashed 1px #102856; }

.avatar img		{ border-radius:10px !important; -webkit-border-radius:10px; }

.postdetails a	{ color:#aaaaaa; }
.gensmall 			{ font-size: 0.8em; font-weight: normal !important; }
.genmed 				{ font-size: 1.0em; font-weight: normal !important; }
p.topicdetails 	{ font-size: 0.8em; line-height: normal; }
p.forumdesc 		{ font-size: 0.8em; padding-bottom: 10px; }

a.topictitle 		{ margin: 1px 0; font-size: 1.0em; font-weight: 400; }
th 							{ font-size: initial; background-image: none; }
.cat, .catdiv		{ background-image: none; background-color: #C7D0D7; }
.row1						{ padding: 0px 10px; }
.postbody				{ font-size: initial; }
.postauthor			{ font-size: initial; }
.pagination			{ font-size: initial; }
.postdetails		{ font-size: 0.8em; }

input, select, textarea {
	padding: .375rem .75rem;
	border: 1px solid #ccc;
	border-radius: .25rem; 
	max-width: 98% !important;
}
input:focus, select:focus, textarea:focus {
	outline: 0;
	border-color: #86b7fe;
	box-shadow: 0 0 0 0.25rem rgb(13 110 253 / 25%);
}
input[type=submit], input[type=reset], input[type=button] {
	cursor: pointer;
}
input[type=submit] { 
	font-size: 1.0em;
	padding: .375rem .75rem;
  border-radius: .25rem;
	color: #fff;
	background-color: #0d6efd;
	border: 1px solid transparent;
}
input[type=submit]:focus	{
	outline: 0;
	background-color: #0b5ed7;
  border-color: #0a58ca;
	box-shadow: 0 0 0 0.25rem rgb(49 132 253 / 50%);
}
input[name='preview'], input[name='sort'], form[name='search'] input[type='submit']		{ 
	color: #000;
	background-color: buttonface;
}
input.btnbbcode {
	padding: 3px 5px;
	border: 1px solid #999;
}

/* ---------------- */

@media (max-width: 640px) {
	#menubar { margin-top: 30px; }
	#menubar table td { display: inline-block; }
	p.searchbar 				{ white-space: normal; }
	p.forumdesc				{ display: none; }
	.searchbar span 	{ float: none !important; }
	
	table.tablebg td  { display: contents; }
	#pagecontent > table:nth-child(1) > tbody > tr > td  { display: contents; }
	#pagecontent > table:nth-child(3) > tbody > tr > td  { display: contents; }
	
	table.tablebg th 	{ display: none; }
	table.tablebg > tbody > tr > td.cat[colspan="6"] { display: none; }
	table.tablebg tr td.row1[width="25"], table.tablebg tr td.row2[width="130"], table.tablebg tr td.row1[width="50"], table.tablebg tr td.row2[width="50"] { display: none; } 
	table.tablebg tr td.row1[width="140"] { width: -webkit-fill-available; text-align: right; }
	#viewforum-info, #viewtopic-bookmark { display: none; } 
	
	.genmed 		{ } 
	.genmed img { width: 15px; }
	
	#postform input[type="reset"], #postform input[name="preview"] { display: none; }
	#postform input[name="subject"], #postform textarea[name="message"] { width: 92% !important; }
	#postform input[type=submit]	{ width: 100% !important; } 
	
	.tfn { display: none; }
}

/*
#006597- синий, ссылки 
#102856- тем. синий, ссылки при наведении
*/