/* Base Rules */

/* * { margin: 0; padding: 0; } */



html, body {margin: 0;
            padding: 0;
			background: #999;
            font-family: Verdana, sans-serif;
            background-image: url('https://sonic.org.ru/vex/img/back.png');
            background-size: contain;
            background-repeat: no-repeat;
            background-position: bottom 0px left 3%;;
            background-attachment: fixed; }

@media screen and (max-width: 1400px) {
  html, body {
            margin: 0;
            padding: 0;
			background: #999;
            font-family: Verdana, sans-serif;
  }
}

#wrapper { min-width: 570px; width: 65%; max-width: 1020px; margin: 0 auto; padding: 0 10px 0 2px;
	   height: auto !important; height: 100%; min-height: 100%; }

#clear { padding: 0 0 55px 0; }

a { text-decoration: none; }
	a:link { color: #0c0; }
	a.active { color: #06c; }
	a:visited { color: #0c0; }
	a:hover { text-decoration: underline; }

	a.flat:link { color: #000; }
	a.flat:active { color: #090; }
	a.flat:visited { color: #000; }


/* Header */

#header { display: table; width: 100%; height: 110px; /* margin: 0px 0px 5px; */ margin: 0 0 5px; padding: 10px 5px 5px; }

#header div.headwrap { display: inline-block; /* margin-top: 32px; */ }

#header h1 { display: table-cell; /* width: 440px; */ vertical-align: middle; margin: 0; -webkit-text-stroke: 1px rgb(255, 255, 255);	text-stroke: 1px rgb(255, 255, 255); }

/*  #header h1 small { font-size: 13px; } */

#header .quote { font-family: Times New Roman, serif; font-size: 1.3em /* 10.5pt */; text-align: right;
		 display: table-cell; width: /* 330px; */ 50%; vertical-align: middle; padding: 0px 15px 0px 15px; text-shadow: 0px 2px 0px #444; color: #fff; font-weight: bold;
		/* display: inline-block; float: right; 
		margin: 20px 15px 20px 15px; padding: 8px 14px 0px 35px; */ }

#header .quotetxt { /* font-style: italic; */ }
#header .quotetxt:before { content: "«"; }
#header .quotetxt:after { content: "»"; }


/* Navigation Menu */

#sidebar { font-family: Georgia, serif; font-size: 1.5em; color: #fff; background: #444;
        border: 5px #555 solid; border-radius: 20px 0 0 20px; border-right: 0px;
		float: left; width: 120px; padding: 10px 5px 10px 10px; }


ul { list-style: none; margin: 0; padding: 0; }
li { margin: 0; padding: 0; }

#sidebar a { text-decoration: none; }
	#sidebar a:link { color: #fff; }
	#sidebar a:active { color: #ccc; }
	#sidebar a:visited { color: #fff; }
	#sidebar a:hover { background: #999; }

	#sidebar ul.menu li ul { display: none; list-style: none; margin-left: 15px; padding: 0; }
	#sidebar ul.menu li:hover ul { display: block; }


/* Content */

#content { color: #fff; background: #444; border: 5px #555 solid; text-align: justify;
	   border-radius: 0 20px 20px 20px; box-shadow: 4px 4px 0px 3px #444;
	   padding: 10px 15px 30px 20px; margin-left: 135px; }
	   
ul, ol, dl { margin: 0; padding: 0; }
	ul.mrgtb, ol.mrgtb, dl.mrgtb { margin: 10px 0; }
	ul.xtrmrg, ol.xtrmrg, dl.xtrmrg { margin-left: 20px; }
	dl dt { margin: 5px 0 2px; }
	ul li, ol li, dl dd { margin-left: 20px; }
	ul.noxtrmrg li, ol.noxtrmrg li, dl.noxtrmrg dd { margin-left: 0px; }
	dl.list dt:before { content: "» "; }
	dl.list dd:before { content: "– "; }

	
	
.dlwrapper { border: 2px #555 solid; background: #333; padding: 8px;  margin: 10px 0; }
.dlheader { text-align: center; padding: 8px; border: 1px #555 dashed; }


dl.downloads { margin: 10px 0; }
	dl.downloads dd { margin-left: 15px; font-size: 0.7em; }
	dl.downloads dt:first-child { font-size: 1.3em; }
	dl.downloads dt:first-child::after { content: "самая свежая сборка"; font-size: x-small; color: #f33; font-weight: bold; padding: 5px; }
	dl.downloads div.spoiler { font-size: 1.4em; margin: 5px; }
	
	div.spoiler dl.downloads dt:first-child { font-size: 1.3em; }
	
	div.spoiler dl.downloads dt:first-child::after { content: none; }
	
	
.contentlist ul li { padding-left:  }

dl.qna dd:first-line { }
	dl.qna dt { font-style: italic; }
	dl.qna dd { margin-left: 40px; padding-left: 10px; }
	dl.qna dt:before { content: "Q: "; font-weight: bold; }
	dl.qna dd:before { content: "A: "; font-weight: bold; margin-left: -20px; }


.eztopic { color: #ff0; background: #000; }


h3, h4 { margin: 10px 15px 0; padding: 0; font-size: 1.2em; line-height: 1.5em; }
h3:before, h4:before { content: ""; }

p { margin: 5px 0 0; padding: 0; }

div.shdsc,div.shdsc2 { margin: 5px 15px 7px 20px; }
div.shdsc2 { margin-top: 7px; padding: 5px; border: 2px #630 solid; background: #743;
/* 
border: 2px #600 solid; background: #733; 
border: 2px #630 solid; background: #743; 
border: 2px #750 solid; background: #860;
*/ }

/* Footer */

#footer { text-align: center; margin: -45px 0 0 0px; padding: 5px 0 5px; clear: both; }

#footershit { color: #fff; background: #555 /* rgba(204, 204, 204, 0.2) */;	border-radius: 5px;
	      font-family: Georgia, serif; font-size: 1.2em;
	      display: inline-block; border-radius: 10px 10px 0 0; box-shadow: 4px 4px 0px 3px #444;
		  padding: 5px; margin-left: 130px; }


/* Random Shit */

hr.flat { height: 2px; background-color: #333; border-width: 0; margin: 15px 10px ; padding: 0; }

blockquote { border-left: 3px solid #333; margin: 7px 0 7px 0; padding: 5px 0 5px 10px; }