body {
  margin: 0;
  padding: 0;
  font-family: Verdana, Arial, sans-serif;
  font-size: 10pt;
  background-color: #444444;
  background-image: url(http://sandbox.scpfoundation.ru/local--files/start/bg.png);
}

a, #footer .options a, #page-options-bottom a {
  color: #400000;
  font-weight: bold;
  text-decoration: none;
  font-size: 9pt;
}
#footer .options a, #page-options-bottom a { font-size: 8pt }

a:hover, #footer .options a:hover, #page-options-bottom a:hover {
  color: #800000;
  text-decoration: underline;
}

#footer .options a {
  font-size: 6pt;
}

img {
  border: 0;
}

#container {
  background:/*#F4F4F4*/ #FFF; 
  width:800px; 
  margin:0px auto 20px auto; 
  padding:none;
}

#page-title {
  padding-left: 20px;
  font-family: 'Courier New', monospace;
  font-size: 18px;
  text-align: center;
  border: none;
  margin-bottom: -20px;
  font-weight: bold;
}

#header { 
  margin-top: 0px; 
  background: #FFF;
  padding-left: 15px;
}

#header h1 a, #header h1 a:hover {
  display: block;
  width: 300px;
  background-image: url(http://sandbox.scpfoundation.ru/local--files/start/scp.png);
  background-position: left bottom;
  background-repeat: no-repeat;
  background-color: #FFF;
  padding-left: 50px;
  padding-top: 10px;
  font-size: 26px;
}

#header h2 {
  margin-top: -5px;
  padding-left: 15px;
}

#top-bar {
  position: absolute;
  top: 45px;
}

#top-bar ul {
  background: #FFF;
}

#top-bar .sfhover li, #top-bar .sfhover a {
}

#search-top-box {
  position: absolute;
  top: 30px; 
  height: 20px;
}


#main-content {
  margin: auto 0px auto 0px;
  padding: 1px 1px 1px 1px;
}

#page-content {
  margin: auto 0px auto 0px;
  padding: 30px 50px 30px 50px;
}

#main-content p, #main-content h1, #main-content h2, #main-content h3 {
  font-family: Verdana, Arial, sans-serif;
  font-size: 10pt;
}

#page-content h2 {
  font-size: 14pt;
}

#action-area {
  margin-left: 20px;
}

#action-area h1 {
  border: none;
}

#page-content h1 {
  font-size: 30px;
  border: none;
}

#page-content div h1 {
  font-size: 30pt;
  font-weight: bold;
}

#page-content div h1, #page-content div h2, #page-content div h3 {
  padding-top: 2px;
  margin-top: 2px;
  padding-bottom: 2px;
  margin-bottom: 2px;
}

#page-content h2 {
  border-bottom: solid 1px #400000;
  font-size: 12pt;
  font-weight: bold;
  color: #400000;
  margin-bottom: 5px;
}

textarea {
  font-family: monospace;
}

#page-options-container {
  margin-right: 15px;
}

.wiki-content-table {
  background: #FFF;
}

#footer {
  font-size: 7pt;
}

#header {
  border-bottom: dashed 1px #404000;
  padding-bottom: 20px;
}

#page-info, .page-watch-options a {
  font-size: 7pt;
}

#top-bar {
  right: 0px;
  width: 790px;
  float: right;
  margin: auto;
}

#top-bar li a {
  padding: 2px 4px;
  background-color: #EEE;
  border: 1px solid #BBB;
}

#top-bar li a {
  text-align: center;
  display: block;
  margin: 0;
  padding: 1px 3px;
  text-decoration: none;
}

#header h1 a {
  color: #222;
}

#page-options-bottom a {
  font-size: 11px;
}

@media screen and (min-width:1200px) { 
  #container { width: 1000px }
}

@media screen and (min-width:1400px) { 
  #container { width: 1200px }
}



.safe {
  color: #404000;
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  background-color: #F0FFF0;
  background-image: url(http://scpsandbox.wdfiles.com/local--files/start/bg.png);
  border-top: dashed 1px #004000;
  border-bottom: dashed 1px #004000;
  padding: 5px 50px 5px 50px;
  margin: auto -50px 20px -50px;
}

.euclid {
  color: #404000;
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  background-color: #FFFFF0;
  background-image: url(http://scpsandbox.wdfiles.com/local--files/start/bg.png);
  border-top: dashed 1px #404000;
  border-bottom: dashed 1px #404000;
  padding: 5px 50px 5px 50px;
  margin: auto -50px 20px -50px;
}

.keter {
  color: #404000;
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  background-color: #FFF0F0;
  background-image: url(http://scpsandbox.wdfiles.com/local--files/start/bg.png);
  border-top: dashed 1px #400000;
  border-bottom: dashed 1px #400000;
  padding: 5px 50px 5px 50px;
  margin: auto -50px 20px -50px;
}

.notice {
  color: #404040;
  font-size: 12pt;
  font-weight: bold;
  text-align: left;
  background-color: #F0F0F0;
  background-image: url(http://scpsandbox.wdfiles.com/local--files/start/bg.png);
  border-top: dashed 1px #404040;
  border-bottom: dashed 1px #404040;
  padding: 5px 50px 5px 50px;
  margin: auto -50px 20px -50px;
}

.safe h1 span, .euclid h1 span, .keter h1 span, .notice h1 span {
  font-size: 30pt;
  font-weight: bold;
  padding: 2px auto 2px auto;
}

.safe h2 span, .euclid h2 span, .keter h2 span, .notice h2 span {
  font-weight: bold;
  font-size: 20pt;
}

.safe h3 span, .euclid h3 span, .keter h3 span, .notice h3 span {
  font-weight: bold;
  font-size: 10pt;
}

.safe h1 span, .safe h2 span, .safe h3 span {
  color: #004000;
}

.euclid h1 span, .euclid h2 span, .euclid h3 span {
  color: #404000;
}

.keter h1 span, .keter h2 span, .keter h3 span {
  color: #400000;
}

.notice h1 span, .notice h2 span, .notice h3 span {
  color: #404040;
}

#page-content .safe h2, #page-content .euclid h2, #page-content .keter h2, #page-content .notice h2 {
  border: none;
}

.rimg {
  float: right;
  border: 1px solid #000;
  text-align: center;
  font-size: small;
  background:#EEE;
  margin: 10px auto 5px 5px;
}

.rimg img {
  border: none;
  width: 300px;
}


#top-bar {
	position: static;
	padding: 5px;
	}
	#top-bar ul {
		height: 20px;
		margin: 0; padding: 0px;
		background-color: #FFF;
		border: 0px solid #999;
		}
		#top-bar li {
			margin: 8px 5px auto auto;
			}
			#top-bar li a {
				font-size: 11px;
				color: #400000;
				font-weight: bold;
				line-height: 20px;
				padding: 0 5px;
				text-decoration: none;
				}
			#top-bar li a:hover {
				text-decoration: underline;
				background-color: #DDD;
				color: #400000;
				}
			#top-bar ul ul {
				margin-right: 0;
				}
			#top-bar li ul {
				border: none;
				left: 0;
				position: relative;
				top: 0;
				width: 1em;
				}
				#top-bar li ul li a {
					width: 18em;
					background-color: #EEE;
				}