@import url(//fonts.googleapis.com/css?family=Armata&subset=cyrillic);
@import url(//fonts.googleapis.com/css?family=Montserrat:400,700&display=swap);

* {
	margin: 0;
	padding: 0;
}
	
html {
	font-size: 100%;
	overflow-y: scroll; 
	-webkit-text-size-adjust: 100%; 
	-ms-text-size-adjust: 100%;
	-o-text-size-adjust: 100%;
	-khtml-text-size-adjust: 100%;
	text-size-adjust: 100%;
	-moz-text-size-adjust: 100%; 
	-moz-user-select: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    -o-user-select: none;
    user-select: none;
    -khtml-user-select: none;
}

body {
	font-family: 'Montserrat', 'Armata', Verdana, Arial, Helvetica, sans-serif;
	font-size: 11px;
	color: #333333;
	background-color: #000000; 
	background-position: center;
	background-repeat:repeat-y;
	margin-left: auto;
	margin-right: auto;
	-webkit-tap-highlight-color:transparent;
}

#wrapheader {
	min-height: 120px;
	height: auto !important;
	height: 120px;
/*	background-image: url('./images/background.gif');
	background-repeat: repeat-x;*/
/*	padding: 0 25px 15px 25px;*/
	padding: 0;
}

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

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

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

#logodesc {
	height: 110px;
	width: 808px;
	background-image: url("./images/top/random.php");
	margin-left: auto;
	margin-right: auto;
}

#logodesc2 {
	height: 117px;
	width: 860px;
	background-image: url("./images/top_depe/random.php");
	background-position: center;
	margin-left: auto;
	margin-right: auto;
}

#menubar {
	font-family: 'Montserrat', 'Armata', Verdana, Arial, Helvetica, sans-serif;
	text-transform: uppercase;
	line-height: 2em;
	background-color: #4C4C4C;
	margin: 0 25px 0 25px;
}

#menubar a:link{
	color: #CCFF00; 
	text-decoration: none;
	padding-bottom: 2px; 
	outline: 0 !important;
}

#menubar a:visited {
	color: #CCFF00; 
	text-decoration: none;
	outline: 0 !important;
}

#menubar a:hover {
	color: #FFFF00;
	border-bottom-width: 2px;
	border-bottom-color: #FFFF00;
	outline: 0 !important;
}

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

#findbar {
	margin: 12px 25px 0 25px;
}

.forumrules {
	background-color: #F9CC79;
	border-width: 1px;
	border-style: solid;
	border-color: #BB9860;
	padding: 4px;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.forumrules h3 {
	color: red;
}

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

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


/*  Text
 --------------------- */
h1 {
	color: #990000;
	font-family: 'Montserrat', 'Armata', Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.8em;
	text-decoration: none;
}

h2 {
	font-family: 'Montserrat', 'Armata', Verdana, Arial, Helvetica, sans-serif;
	font-weight: bold;
	font-size: 1.5em;
	text-decoration: none;
	line-height: 120%;
}

h3 {
	font-size: 1.3em;
	font-weight: bold;
	font-family: 'Montserrat', 'Armata', Verdana, Arial, Helvetica, sans-serif;
	line-height: 120%;
}

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

p {
	font-size: 1em;
}

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;
	outline: 0 !important;
}

.rtl p.linkmcp {
	float: left;
	outline: 0 !important;
}

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

.rtl p.breadcrumbs {
	float: right;
}

p.datetime {
	margin: 0;
	float: right;
	white-space: nowrap;
	font-weight: bold;
	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;
	font-size : 11px;
}

p.topicauthor {
	margin: 1px 0;
}

p.topicdetails {
	margin: 1px 0;
	font-size : 11px;
	max-width: 100%;
}

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

.postapprove, .postapprove a:visited, .postapprove a:hover, .postreported a:link, .postreported a:active {
	color: green;
	font-weight:bold;
	outline: 0 !important;
}

.postapprove img, .postreported img {
	vertical-align: bottom;
}

.postauthor {
	color: #000000;
}

.postdetails {
	color: #000000;
	font-weight: normal;
	text-align:center;
}

.postbody {
	font-size: 1.4em;
	line-height: 1.3em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
}

.postbody img {
	max-width: 100%;
}

.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: bold;
}

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

.cattitle {

}

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

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

.gensmall {
	margin: 1px 1px;
	font-size: 11px;
}

.copyright {
	color: #444;
	font-weight: normal;
	font-family: "Lucida Grande", Verdana, Arial, Helvetica, sans-serif;
}

.titles {
	font-family: "Lucida Grande", Helvetica, Arial, sans-serif;
	font-weight: bold;
	font-size: 1.3em;
	text-decoration: none;
}

.error {
	color: red;
}


/* Tables
 ------------ */
th {
	color: #757978;
	font-size: 11px;
	font-weight: bold;
	background-color: #E1E1E1;
	background-image: url('./images/cellpic3.gif');
	white-space: nowrap;
	padding: 7px 5px;
	height: 25px;
}

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

.tablebg {
	background-color: #FFFFFF;
	border: 1px solid #CCCCCC;
}

.tablebg3 {
	background-color: #000000;
	border: 0px solid #ffffff;
}

.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: #EFEFEF;
	padding: 10px;
}

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

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

.row4 {
	background-color: #C0C8D0;
	font-size : 8px
}

.breadcrumbs {
	background-color: #EFEFEF;
}

.breadcrumbs a:link, .breadcrumbs a:visited {
	color: #990000;
	text-decoration: none;
	outline: 0 !important;
}

.breadcrumbs a:hover {
	color: #990000;
	text-decoration: underline;
	outline: 0 !important;
}

.foldersline {
	background-color: #EFEFEF;
	border: 1px #cccccc solid;
}

.spacer {
	background-color: #D1D7DC;
}

hr {
	
	height: 1px;
	width: 600px;
	border-width: 0;
	background-color: #b5b5b5;
	background-position: center;
}

.legend {
	text-align: center;
	margin: 0 auto;
	background-color: #EFEFEF;
	border: 1px #cccccc solid;
}

/* Links
 ------------ */
a:link {
	color: #7a7a7a;
	text-decoration: none;
	outline: 0 !important;
}

a:active,
a:visited {
	color: #7a7a7a;
	text-decoration: none;
	outline: 0 !important;
}

a:hover {
	color: #167487;
	text-decoration: none;
	outline: 0 !important;
}

a.forumlink {
	color: #c65c0f;
	font-family: Helvetica, "Lucida Grande", Arial, Verdana, sans-serif;
	font-weight: bold;
	font-size: 18px;
	outline: 0 !important;
}

a.forumlink:hover {
	color: #333333;
	font-weight: bold;
	font-size: 18px;
	text-decoration: none;
	outline: 0 !important;
}

a.topictitle {
	margin: 1px 0;
	font-family: Helvetica, "Lucida Grande", Arial, Verdana, sans-serif;
	font-weight: bold;
	font-size: 14px;
	color: #D2691E;
	text-decoration: none;
	outline: 0 !important;
}

a.topictitle:visited {
	color: #c65c0f;
	text-decoration: none;
	outline: 0 !important;
}

a.topictitle:hover {
	color: #333333;
	text-decoration: none;
	outline: 0 !important;
}

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

th a:hover {
	text-decoration: none;
	outline: 0 !important;
}


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

input {
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	padding: 1px;
	border: 1px solid #FFFFFF;
	background-color: #FAFAFA;
	outline: 0 !important;
}

textarea {
	background-color: #FAFAFA;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 1.3em; 
	line-height: 1.4em;
	font-weight: normal;
	border: 1px solid #FFFFFF;
	padding: 2px;
}

select {
	color: #333333;
	background-color: #FAFAFA;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	font-size: 1.1em;
	font-weight: normal;
	border: 1px solid #999999;
	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;
	border-style: solid;
	border-width: 1px;
	border-color: #999999;
}

.btnbbcode {
	color: #000000;
	font-weight: normal;
	font-size: 1.1em;
	font-family: "Lucida Grande", Verdana, Helvetica, sans-serif;
	background-color: #EFEFEF;
	border: 1px solid #999999;
}

.btnmain {
	font-weight: bold;
	background-color: #FAFAFA;
	border: 1px solid #999999;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

.btnlite {
	font-weight: normal;
	background-color: #FAFAFA;
	border: 1px solid #999999;
	cursor: pointer;
	padding: 1px 5px;
	font-size: 1.1em;
}

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

.helpline {
	background-color: #DEE3E7;
	border-style: none;
}


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

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

.quotecontent, .attachcontent {
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #D1D7DC;
	border-width: 1px 1px 1px 1px;
	border-style: solid;
	font-weight: normal;
	font-size: 1em;
	line-height: 1.4em;
	font-family: "Lucida Grande", "Trebuchet MS", Helvetica, Arial, sans-serif;
	background-color: #FAFAFA;
	color: #444444;
}

.attachcontent {
	font-size: 0.85em;
}

.codetitle {
	margin: 10px 5px 0 5px;
	padding: 2px 4px;
	color: #333333;
	font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
	font-size: 0.8em;
}

.codecontent {
	direction: ltr;
	margin: 0 5px 10px 5px;
	padding: 5px;
	border-color: #D1D7DC;
	border-width: 1px 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: #FFFFFF;
}

.pm_friend_colour {
	background-color: #007700;
}

.pm_foe_colour {
	background-color: #DD0000;
}


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



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

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;
}
.myButton {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #dcdcdc;
	display:inline-block;
	cursor:pointer;
	color:#777777;
	font-family:Helvetica, Arial, sans-serif;
	font-size:18px;
	font-weight:bold;
	padding:6px 24px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
	outline: 0 !important;
}
.myButton:active {
	position:relative;
	top:1px;
	outline: 0 !important;
}

.myButton2 {
	-moz-box-shadow:inset 0px 1px 0px 0px #ffffff;
	-webkit-box-shadow:inset 0px 1px 0px 0px #ffffff;
	box-shadow:inset 0px 1px 0px 0px #ffffff;
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #ededed), color-stop(1, #dfdfdf));
	background:-moz-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-webkit-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-o-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:-ms-linear-gradient(top, #ededed 5%, #dfdfdf 100%);
	background:linear-gradient(to bottom, #ededed 5%, #dfdfdf 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#ededed', endColorstr='#dfdfdf',GradientType=0);
	background-color:#ededed;
	-moz-border-radius:6px;
	-webkit-border-radius:6px;
	border-radius:6px;
	border:1px solid #cccccc;
	display:inline-block;
	cursor:pointer;
	color:#777777;
	font-family:Helvetica, Verdana, Arial, sans-serif;
	font-size:14px;
	font-weight:bold;
	padding:6px 18px;
	text-decoration:none;
	text-shadow:0px 1px 0px #ffffff;
}
.myButton2:hover {
	background:-webkit-gradient(linear, left top, left bottom, color-stop(0.05, #dfdfdf), color-stop(1, #ededed));
	background:-moz-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-webkit-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-o-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:-ms-linear-gradient(top, #dfdfdf 5%, #ededed 100%);
	background:linear-gradient(to bottom, #dfdfdf 5%, #ededed 100%);
	filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#dfdfdf', endColorstr='#ededed',GradientType=0);
	background-color:#dfdfdf;
	outline: 0 !important;
}
.myButton2:active {
	position:relative;
	top:1px;
	outline: 0 !important;
}

a.button3 {
    border: 1px solid #555555;
	color: #000000;
	padding: 2px 2px;
	text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 18px;
	margin: 2px 2px;
	font-weight:bold;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
	outline: 0 !important;
}

a.button3:hover {
	color: #ffffff;
	background-color: #000000;
	outline: 0 !important;
}

a.menu {
	box-shadow:inset 0px 0px 0px 0px #ffffff;
    border: 1px solid #cccccc;
	color: #000000;
	padding: 2px 2px;
	text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 16px;
	margin: 2px 2px;
	font-weight:bold;
    -webkit-transition-duration: 0.4s; /* Safari */
    transition-duration: 0.4s;
    cursor: pointer;
	outline: 0 !important;
}

a.menu:hover {
	color: #ffffff;
	background-color: #000000;
	outline: 0 !important;
}

#maket {
	width: 100%;
}
			    
.TD {
	vertical-align: top;
	padding: 0px;
}
.TD-leftcol {
	width: 300px;
}
.TD-rightcol {
    width: 300px;
}

.TD1 {
	vertical-align: top;
	padding: 0px;
}
.TD1-leftcol {
	width: 295px;
}
.TD1-rightcol {
    width: 295px;
}

.frame {
	border: 1px solid #000000;
}		

.frame2 {
	border: 1px solid #ffffff;
}

fieldset {
  border: 1px solid #000000;
  /* Чтобы подстраивался под контент */
  display: inline-block;
 }

legend {
  color: #000000;
}

.title {    
  position:relative;
  z-index:1;
  overflow:hidden;
  text-align:center;
  font-size: 16px;
}

.title:before,
.title:after {
  content:'';
  display:inline-block;
  width:40%;
  height:2px;
  background:#666666;
  z-index:-1;
  position:relative;
  vertical-align:middle;
}

.title:before {
  right:5px;
  margin:0 0 0 -20%;
}

.title:after {
  left:5px;
  margin:0 -20% 0 0;
}

small, .small {
	font-size:11px; 
	font-weight:bold;
	font-family:Arial, Helvetica, sans-serif;
}

/* Container for sub-navigation list */
#navigation {
	padding-top: 0px;
	font-size: 1.1em;
}

/* Link styles for the sub-section links */
#navigation a {
	color: #000000;
	font-weight: normal;
	padding: 1px;
	display:block;
}

#navigation a:hover {
	color: #ffffff;
}

.title2 {    
  position:relative;
  z-index:1;
  overflow:hidden;
  text-align:center;
  font-size: 24px;
}

.title2:before,
.title2:after {
  content:'';
  display:inline-block;
  width:10%;
  height:2px;
  background:#000000;
  z-index:-1;
  position:relative;
  vertical-align:middle;
}

.title2:before {
  right:5px;
  margin:0 0 0 -20%;
}

.title2:after {
  left:5px;
  margin:0 -20% 0 0;
}

.form-title-little {
  padding-top: 50px;
  font-size: 14px;
 }

.form-title-little {
  box-sizing: border-box;
  padding: 10px 5px;
  display: inline-block;
  line-height: 0px;
  border: 1px solid #000000;
  border-radius: 2px;
}

details {
  margin-bottom: 20px;
  display: block;
}
	
summary {
  cursor: pointer;
  display: block;
}

details summary:before {
  content: " ⚪ ";
}
  details[open] summary:before {
  content: " ⚫ ";
}

details summary::-webkit-details-marker { 
  display: none;
}

:focus {
  outline: none;
}	

@media screen and (max-width: 860px) {
…
}