.phpbb, th, td, p {
	font-size: 13px;
	font-family: Verdana, Arial, Helvetica, sans-serif;
	line-height: 130%;
}

/* General text */
.gensmall {
	font-size: 90%;
}

td.genmed, .genmed {
	font-size: 1em;
}

.sign {
	font-size: 90%;
	color:#00396a;
}

.explaintitle{
	font-size: 90%;
	font-weight:bold;
	color:#5c81b1;
}

/* General page style */
a:link,a:active,a:visited,a.postlink{color:#3F5385;text-decoration:none}
a:hover{text-decoration:underline}

/* titles for the topics:could specify viewed link colour too */
.topictitle {
	font-size: 105%;
	font-weight: bold;
}
.topictitle a:visited{color:#5493b4}
.topictitle a:hover{color:#dd6900}

/* Name of poster in viewmsg.php and viewtopic.php and other places */
.name{
	font-size: 110%;
	font-weight: bold;
}

.name.visible-xs {
	font-size: 120%;
	padding: 5px 0;
}

.name.visible-xs IMG {
	vertical-align: text-top;
}

.phpbb hr{border: 0 solid #9C9C9C;border-top-width:1px;height:0}

.cat{font-weight:bold;letter-spacing:1px;background:#BAD0E2; height:29px; text-indent:4px}

/*
//====================================================================== |
//==== Start Advanced BBCode Box MOD =================================== |
//==== v5.1.0 ========================================================== |
//====
*/
.postimage {
	cursor: pointer;
	width: 20px;
	height: 20px;
	border: 1px solid #EEEEEE;
}

.postimage:hover {
	background-color: #C2CFE5;
	cursor: pointer;
	cursor: hand;
	border: 1px solid black;
}

TEXTAREA {
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-ms-box-sizing: border-box;
	box-sizing: border-box;
}
/*
//====
//==== End Advanced BBCode Box MOD ==================================== |
//===================================================================== |
*/

/* Main table cell colours and backgrounds */
.row1{background:#EEEEEE}
.row2,.helpline{background:#E4E4E4}
.row3{background:#FFFFEE}
td.spacerow{background:#cad9ea}

/* This is for the table cell above the Topics,Post & Last posts on the index.php */
td.rowpic{background:url(images/cellpic2.jpg) #ffffff repeat-y}

/* Table Header cells */
/* th{background:#005eb2 url(images/cellpic3.gif);color:#deeef3;font-size:90%;
font-weight:bold;height:27px;white-space:nowrap;text-align:center;padding-left:8px;padding-right:8px} */

th {
	background:#7BA5C8;
	color:#FFFFEE;
	font-weight: bold;
	font-size: 90%;
	text-align:center;
	padding: 5px;
}

/* This is the border line & background colour round the entire page */
.bodyline{background:#9C9C9C;border:1px solid #9C9C9C}

/* This is the outline round the main forum tables */
.forumline{
	background:#9C9C9C;
	border:0 solid #9C9C9C;
}
.forumline TD {padding: 3px;}
.forumline IMG { vertical-align: baseline; }
.forumline HR { margin: 3px 0 0 0;}

.forumnav { margin-top: 5px; margin-bottom: 5px; }

.postbody HR { margin-bottom: 10px;}

/* The largest text used in the index page title and toptic title etc. */
.maintitle, h1 {
	font: bold 165% "Trebuchet MS",Verdana,Arial,Helvetica;
	color: #3F5385;
}

A.maintitle:link, A.maintitle:visited, A.maintitle:active {
	text-decoration: none;
	color: #3F5385;
}

/* The largest text used in the index page title and toptic title etc. */
.secondtitle, A.secondtitle:link, A.secondtitle:visited, A.secondtitle:active {
	font: bold 140% "Trebuchet MS", Verdana, Arial, Helvetica;
	text-decoration: none;
	color: #3F5385
}

A.indextitle {
	font: bold 140% "Trebuchet MS", Verdana, Arial, Helvetica;
	color: #3F5385;
}
a.indextitle:hover{color:#dd6900}

.indexshort {
	font-size: 80%;
}

.indexshort SPAN:after {
	content: ", "
}

.indexshort SPAN:last-child:after {
    content: "";
}


.subtitle, h2 {
	font: bold 110% "Trebuchet MS", Verdana, Arial,Helvetica,sans-serif;
	text-decoration:none;
}

/* Used for the navigation text,(Page 1,2,3 etc) and the navigation bar when in a forum */
.nav-paging {
	font-weight:bold;
	white-space: nowrap;
	line-height: 25px;
}
.postbody {
	font-size: 100%;
	line-height:125%
}

.postbody .video {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	height: 0;
}

.postbody .video object,
.postbody .video embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}

/* Location,number of posts,post date etc */
.postdetails {
	font-size:80%;
	color:#00396a;
}

/* Quote blocks */
.quote{
	background:#fafafa;
	border:1px solid #d1d7dc;
	color:#444444;
	font-size: 90%;
	line-height: 125%;
}

/* Code blocks */
.code{
	background:#fafafa;
	border:1px solid #d1d7dc;
	color:#006600;
	font-family: Courier, "Courier New", sans-serif;
	padding:5px;
}

/* This is for the error messages that pop up */
.errorline{background:#add8e6;border:1px solid #3F5385}

/* Form elements */
form { display:inline; }

input{
	font-size: 100%;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	background: #EEEEEE;
}

select{
	background:#ffffff;
	font-size: 110%;
	font-family:Verdana,Arial,Helvetica,sans-serif;
}

input.post,textarea.post{
	background:#ffffff;
	border:1px solid #000000;
	font-size: 100%;
	font-family: Verdana,Arial,Helvetica,sans-serif;
	padding-bottom: 2px;
	padding-left: 2px;
}

input.button, input.liteoption, .fakebut{border:1px solid #000000;background:#fafafa;font-size:90%;}
input.catbutton{border:1px solid #000000;background:#fafafa;font-size:85%}
input.mainoption{border:1px solid #000000;background:#fafafa;font-size:90%;font-weight:bold}

a.but,a.but:hover,a.but:visited{color:#000000;text-decoration:none}

/* This is the line in the posting page which shows the rollover
help line. Colour value in row2 */
.helpline{border:0 solid;font-size:85%;}

/* This is the gradient background at the top of the page */
/*.topbkg{background: #dbe3ee url(images/cellpic_bkg.jpg) repeat-x}
.topnav{font-size:85%;background: #e5ebf3 url(images/cellpic_nav.gif) repeat-x;color:#dd6900;
height:21px;white-space:nowrap;border: 0px solid #91a0ae;border-width: 1px 0px 1px 0px} */
.topnav {
	font-size:110%;
	color:#dd6900;
	margin-bottom: 1.5em;
}
.topnav .row DIV {
	white-space: nowrap;
	margin-bottom: 0.5em;
	height: 1.5em;
}

.topnav IMG {
	vertical-align: baseline;
}


/* Admin & Moderator Colours MODification */
.admin,.mod{font-size:90%;font-weight:bold}
.admin,a.admin,a.admin:visited{color:#ffa34f}
.mod,a.mod,a.mod:visited{color:#006600}
a.admin:hover,a.mod:hover{color:#dd6900}

/* Specify the space around images */
.imgtopic,.imgicon{margin-left:3px}
.imgspace{margin-left:1px;margin-right:2px}
.imgfolder{margin:1px 4px 1px 4px}

/* Gets rid of the need for border="0" on hyperlinked images */
img{border:0 solid;}


.postbody IMG {
	max-width: 100%; /* won't work in firefox in table cell unless table has table-layout: fixed; */
	display: inline-block;
	position: relative;
}
/* Fix Firefox - disabled because fixed layout produces more bugs than solves */
/* TABLE.fixed { table-layout: fixed; */

.imgfade{filter:alpha(opacity=70); opacity:0.70;margin-left:3px}
.imgfull{filter:alpha(opacity=100); opacity:1;margin-left:3px}

.pollresult IMG {
	max-width: none !important;
	height: 12px !important;
	border-image-width: 0 !important;
}

.pollresult TABLE {
	border-spacing: 0px !important;
	border-collapse: collapse;
}

.pollresult TD {
	padding: 0;
}

.socnet-icon {
	display: none;
	vertical-align: baseline !important;
	width:  16px;
	height: 16px;
	border: 0 !important;
	background: url(/images/socnet-icons.png) no-repeat -100px 0;
}

.socnet-icon.socnet-profile {
	margin-right: 5px;
	position: relative;
	top: 3px;
}


/* facebook */
.socnet-87468c07c02e370ef84d4b7e3a668589{
	display: inline;
	background-position: 0 -68px;
}

/* vk */
.socnet-5a1d9ba9013cc0b485f721c3f1b1274e{
	display: inline;
	background-position: 0 0;
}

/* twitter */

.socnet-1cc089548931c4fe0463e7a98ec6078e{
	display: inline;
	background-position: 0 -52px;
}

/* mailru */

.socnet-dc5a5f585e8e8f9e6bb2bd728a6a3b47{
	display: inline;
	background-position: 0 -426px;
}

/* yandex */

.socnet-9d2c0330ef68cfdb8958911904cf61cb{
	display: inline;
	background-position: 0 -17px;
}

/* odnoklassniki */

.socnet-6f1bd8290ef7cd360f478b617218a102{
	display: inline;
	background-position: 0 -169px;
}

.loginza {
	display: block;
	width: 40px;
	height: 40px;
	line-height: 40px;
	margin-bottom: 20px;
}

.clx {
	clear: both;
}

.lastpost_author {
	display: block;
	width: 120px;
	white-space: nowrap;
	overflow: hidden;
	text-overflow: ellipsis;
}

form.search .row1 { padding: 1em 2em;}
form.search INPUT.post, form.search SELECT { width: 100%; }
form.search .control-label { padding-top: 0;}
form.search .form-group { margin: 0;}
form.search hr { margin: 1em 0;}
form.search .radio { margin: 0; padding-top: 0;}

form.login hr { margin: 0.5em 0 2em 0; }
form.login .row1 { padding: 0 2em 1em 2em;}
form.login H5 { margin: 1em 0 0.5em 0;}

.yashare {
	font-size: 120%;
	position: relative;
	top: -0.4em;
}

.yashare .b-share__text {
	font-family: Verdana, Arial, Helvetica, sans-serif;
}

.yashare a.b-share__handle .b-share__text {
	text-decoration: none;
	color: #00396a;
}

.yashare a.b-share__handle:hover .b-share__text {
	text-decoration: underline;
	color: #00396a;
}

