#dberror {
  padding-top: 100px;
  margin: auto;
  width: 500px;
}

body {
  margin: 0px;
  padding: 0px;
  background-color: #ffffff;
  text-align: center;
  min-width: 750px;
}

body, tr, td, caption {
  font-family: Tahoma, "Lucida Grande CE", Verdana, "Geneva CE", lucida, sans-serif;
  font-size: 10pt;
  color: #000000;
}

a {
  color: #F08700;
  text-decoration: none;
}

a:hover, a:active, a:focus {
  color: #D65400;
  text-decoration: underline;
}

a img {
	border: none;
}

blockquote {
	padding: 10px;
	border: 1px solid #e0e0e0;
	background: #f4f4f4;
}

#content ul { 
	list-style-image: url('../img/indexlist.png');
	margin-left: 2em;
	padding: 0px;
}

h1, h2, h3, h4, h5, h6 { 
  margin: 0px;
  margin-bottom: 1em;
  font-weight: bold;
  text-align: right;
  background-color: #F4F4F4;
  background-image: url('../img/hcorner.png');
  background-repeat: no-repeat;
  background-position: 0 0;
  border-bottom: 1px solid #476CB1;
  clear: both;
}

h1 {
  font-size: 14pt;
/*  padding-left: 100px;*/
}

h2 {
  font-size: 13pt;
}

h3 {
  font-size: 12pt;
}

h4 {
  font-size: 11pt;
}

h5 {
  font-size: 10pt;
}

h6 {
  font-size: 9pt;
}

hr { 
  color: #476CB1;
  background-color: #476CB1;
  height: 2px;
  border: 0px solid #476CB1;
}

p { 
  text-align: justify;
}

table {
  border-collapse: collapse;
  border: 1px solid #e0e0e0;
  clear: both;
}

td, th { 
  border: 1px solid #e0e0e0;
  border-top: none;
  border-bottom: none;
  padding-left: 3px;
  padding-right: 3px;
  text-align: left;
}

th, caption {
  font-size: 8pt;
  background-color: #e0e0e0;
  color: #476cb1;
  text-align: center;
}

th a {
	color: #476cb1;
}

th a:hover, th a:active, th a:focus {
	color: #476cb1;
}

caption { 
  caption-side: top;
  font-weight: bold;
}

.oddrow {
	background-color: #ffffff;
}

.evenrow {
	background-color: #f4f4f4;
}

.oddrow:hover, .evenrow:hover {
	background-color: #e9e9e9;
}

.clear {
	clear: both;
}

#allcontent  { 
  width: 750px;
  margin: auto;
  margin-top: 0px;
  text-align: left;
}

.hide {
	display: none;
}

.contexthelp, abbr { 
  border-bottom: 1px dashed #000000;
  cursor: help;
  font-weight: bold;
}

.listsortup, .listsortdown, label.hiddenhelp {
  padding-left: 13px;
  background-position: 0 50%;
  background-repeat: no-repeat;
}

label.hiddenhelp {
  background-image: url('../img/help.png');
}

.listsortup {
  background-image: url('../img/up.png');
}

.listsortdown {
  background-image: url('../img/down.png');
}

.oddrow input, .evenrow input {
  float: left;
  margin-right: 4px;
}

.listread, .listsend, .listedit, .listdelete, .listadduser, .listmail, .listuserdetails, .listdownload {
  width: 9px;
  overflow: hidden;
  display: block;
  float: left;
  background-repeat: no-repeat;
  margin-right: 4px;
  padding-top: 9px;
  height: 9px;
}

td>.listread, td>.listsend, td>.listedit, td>.listdelete, td>.listadduser, td>.listmail, td>.listuserdetails, td>.listdownload {
  height: 0px;
}

.listread {
  background-image: url('../img/read.png');
}

.listsend {
  background-image: url('../img/send.png');
}

.listedit {
  background-image: url('../img/edit.png');
}

.listdelete {
  background-image: url('../img/delete.png');
}

.listadduser {
  background-image: url('../img/edit.png');
}

.listmail {
  background-image: url('../img/send.png');
}

.listuserdetails {
  background-image: url('../img/forumnormal.png');
}

.listdownload {
  background-image: url('../img/dld.png');
}

.signature {
	border-top: 1px solid #476cb1;
	text-align: right;
	font-size: 8pt;
	clear: both;
	padding: 0px;
	margin: 0px;
	margin-bottom: 1em;
}

.sheets {
	background-color: #F4F4F4;
	text-align: center;
	font-size: 8pt;
	padding: 3px;
	clear: both;
	margin: 0px;
	margin-top: 16px;
	margin-bottom: 16px;
	border: 1px solid #e0e0e0;
}

.sheets span {
	font-weight: bold;
}

.sheets a {
	padding: 3px;
	color: #476CB1;
}

.sheets a:hover, .sheets a:active, .sheets a:focus {
	background-color: #e0e0e0;
	color: #476CB1;
	text-decoration: none;
}

#tabnav {
	display: block;
	padding: 0px;
	padding-right: 5px;
	margin: 0px;
	margin-bottom: 2em;
	text-align: right;
	border-bottom: 1px solid #476cb1;
	font-size: 8pt;
}

#tabnav li {
  display: inline;
  margin: 0px;
  padding: 0px;
  white-space: nowrap;
}

#tabnav a {
  border: 1px solid #476cb1;
  padding: 0px;
  padding-right: 5px;
  padding-left: 5px;
  font-weight: bold;
  color: #476cb1;
  text-decoration: none;
  background-color: #f4f4f4;
}

#tabnav a:hover, #tabnav a:active, #tabnav a:focus {
  color: #476cb1;
  text-decoration: none;
  background-color: #e0e0e0;
}

#activetab {
  border: 1px solid #476cb1;
  border-bottom: 1px solid #ffffff;
  padding-bottom: 0px;
  padding-top: 3px;
  padding-right: 5px;
  padding-left: 5px;
  cursor: default;
  font-weight: bold;
}


#sparklets {
  margin: 0px;
  border-right: 2px solid #476CB1;
  border-left: 2px solid #476CB1;
  font-size: 8pt;
  padding-left: 3px;
  padding-right: 3px;
  padding-bottom: 1px;
  background-color: #F4F4F4;
}

#sparklets span {
	color: #476CB1;
    font-weight: bold;
}

#sparklets a {
	font-weight: normal;
}

/* hlavicka */
#logo { /* logo serveru, zcela v reii CSS stylu */
  text-align: left;
  height: 198px;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-image: url('../img/headbg.jpg');
	background-color: #476CB1;
  margin: 0px;
  position: relative;
  clear: both;
  border: 2px solid #476CB1;
}

#logoimage {
  position: absolute;
  left: 10px;
  top: 35px;
  width: 375px;
  overflow: hidden;
  display: block;
  height: 140px;
  text-indent: -200px;
}

#logoimage a {
  display: block;
  width: 100%;
  height: 100%;
}

.newmail {
  font-variant: small-caps;
  color: #D65400;
	font-weight: bold;
}

#regpanel, #searchpanel {
	margin: 0px;
	text-align: right;
	font-weight: bold;
	font-size: 8pt;
	padding: 2px;
	background-color: #F4F4F4;
}

#regpanel a {
  margin-right: 10px;
}

#searchpanel {
	background-repeat: repeat-y;
	background-image: url('../img/regback.png');
	background-position: 0 0;
}

#searchpanel {
  border-right: 2px solid #476CB1;
  border-left: 2px solid #476CB1;
}

#regpanel {
  border: 2px solid #476CB1;
  border-top: 1px solid #476CB1;
}

#regpanel strong, #searchpanel strong {
	display: none;
}

#regpanel ul, #searchpanel ul, #regpanel ul li, #searchpanel ul li {
  display: inline;
}

.reghide, .searchhide {
	color: #476CB1;
}

#usericon {
  position: absolute;
  bottom: 25px;
  right: 25px;
  border: 1px solid black;
}

.usericon {
	width: 40px;
	height: 50px;
	/*cursor: url('../../img/cursor_menu.ico'), default;*/
}

#loginform, #searchform {
	margin: 0px;
}

#loginform input, #searchform input {
	width: 100px;
	border: 1px solid #476cb1;
	font-family: Tahoma, "Lucida Grande CE", Verdana, "Geneva CE", lucida, sans-serif;
	font-weight: bold;
	font-size: 8pt;
	background-color: #ffffff;
}

#loginform input:focus, #searchform input:focus {
  border-style: inset;
}

#searchform input {
	width: 170px;
}

#loginform #loginbutton, #searchform #searchbutton {
	width: auto;
	background-color: #e0e0e0;
}

.listform {
  border: 2px dotted #e0e0e0;
  padding: 2px;
  background-color: #f4f4f4;
  text-align: right;
  margin-bottom: 16px;
}

.listform input, .listform textarea, .listform select {
	border: 1px solid #476cb1;
	font-family: Tahoma, "Lucida Grande CE", Verdana, "Geneva CE", lucida, sans-serif;
	font-weight: bold;
	font-size: 8pt;
	background-color: #e0e0e0;
}

.listform select {
	font-weight: normal;
}

/* menu */

#menu {
	float: left;
  width: 170px;
	font-weight: bold;
	margin-bottom: 16px;
}

#menu strong {
  	color: #476cb1;
	background-color: #476CB1;
	padding-left: 5px;
	margin-top: 0px;
	display: block;
	background-repeat: no-repeat;
	background-position: 100% 0;
	background-image: url('../img/corner.png');
}

#menu ul {
	padding: 0px;
	margin: 0px;
	border-bottom: 2px solid #476CB1;
	padding-top: 16px;
	padding-bottom: 16px;
	background-color: #F4F4F4;
}

#menu li {
  display: block;
  margin: 0px;
  padding: 0px;
}

#menu a {
	display: block;
	padding-left: 42px;
	padding-top: 10px;
	padding-bottom: 10px;
	height: 20px;
	background-repeat: no-repeat;
	background-position: 5px 50%;
	margin: 0px;
	color: #476CB1;
}

#menu a:hover, #menu a:active, #menu a:focus {
	background-color: #e0e0e0;
	color: #476CB1;
	text-decoration: none;
}

#menu_items a {
  background-image: url('../img/template.gif');
}

#menu_items>a {
  background-image: url('../img/template.png');
}

#menu_creatures a {
  background-image: url('../img/creatures.gif');
}

#menu_creatures>a {
  background-image: url('../img/creatures.png');
}

#menu_spells a {
  background-image: url('../img/spells.gif');
}

#menu_spells>a {
  background-image: url('../img/spells.png');
}

#menu_abilities a {
  background-image: url('../img/abilities.gif');
}

#menu_abilities>a {
  background-image: url('../img/abilities.png');
}

#menu_archive a {
  background-image: url('../img/template.gif');
}

#menu_archive>a {
  background-image: url('../img/template.png');
}

#menu_download a {
  background-image: url('../img/download.gif');
}

#menu_download>a {
  background-image: url('../img/download.png');
}

#menu_gallery a {
  background-image: url('../img/template.gif');
}

#menu_gallery>a {
  background-image: url('../img/template.png');
}

#menu_links a {
  background-image: url('../img/template.gif');
}

#menu_links>a {
  background-image: url('../img/template.png');
}

#menu_advertisments a {
  background-image: url('../img/advertisments.gif');
}

#menu_advertisments>a {
  background-image: url('../img/advertisments.png');
}

#menu_users a {
  background-image: url('../img/template.gif');
}

#menu_users>a {
  background-image: url('../img/template.png');
}

#reklama {
  margin-top: 16px;
  text-align: center;
}

#reklama a, #reklama a:hover {
  background-color: white;
  display: inline;
  padding: 0px;
}

#reklama img {
  border: 2px solid #e0e0e0;
}

#reklama img:hover {
  border: 2px solid #476cb1;
}

/* vlastn?bsah */

#middle {
  margin-top: 16px;
  clear: both;
}

#content {
  float: right;
  width: 564px;
	margin-bottom: 16px;
}

/* patieka */

#footer {
  border-top: 2px solid #476CB1;
	clear: both;
	font-size: 0.8em;
	background-color: #F4F4F4;
}

#footer p img {
	float: left;
	border: none;
}

#footer p {
	text-align: right;
	margin: 0px;
}

#footer a {
  font-weight: bold;
}

/* index */

.mainnew, .mainbest, .mainmostread {
	float: left;
	padding: 2px;
	margin: 0em;
	width: 184px;
}

.mainnew ul, .mainbest ul, .mainmostread ul {
  margin: 0px;
  margin-top: 0.5em;
  margin-left: 2em;
  padding-left: 16px;
}

.mainnew li, .mainbest li, .mainmostread li {
  margin: 0px;
  padding: 0px;
}

/* login */

.loginnews {
  float: left;
  width: 270px;
}

/* read */

#articlehead {
  background-color: #f4f4f4;
  padding: 3px;
  border: 1px solid #e0e0e0;
  margin-bottom: 16px;
  margin-left: 16px;
  float: right;
  width: 305px;
}

#articlehead img {
  border: 1px solid #e0e0e0;
  float: right;
  margin-left: 4px;
}

#articlehead a {
  font-weight: bold;
}

#articlehead ul {
  margin: 0px;
  padding: 0px;
}

#articlehead ul li {
  display: block;
  list-style-image: none;
}

#articlebody {
  margin: 0px;
  text-align: justify;
}

#articlecomments {
  background-color: #f4f4f4;
  padding: 3px;
  border: 1px solid #e0e0e0;
  margin-top: 16px;
}

#articleaction {
  text-align: right;
}

#articlesend {
  background-image: url('../img/send.png');
  background-repeat: no-repeat;
  background-position: 0 50%;
  padding-left: 14px;
}

#articlerank {
  text-align: center;
  background-color: #f4f4f4;
  padding: 3px;
  border: 1px solid #e0e0e0;
  font-size: 8pt;
}

#articlerank a {
  padding: 3px;
  color: #476cb1;
  text-decoration: none;
  font-weight: bold;
}

#articlerank a:hover, #articlerank a:active, #articlerank a:focus {
  background-color: #e0e0e0;
}

#articlecorrect {
  clear: both;
}

/* galerie */

#gallery * {
  list-style-image: none;
}

#gallery li {
	float: left;
	padding: 1px;
	margin-right: 0.5em;
	margin-bottom: 1em;
	border: 1px solid #ffffff;
}

#gallery>li {
  width/* */: 100px;
  height/* */: 100px;
  text-align/* */: center;
}

#gallery li ul li {
  float: none;
  padding: 0px;
  margin: 0px;
  border: none;
}

#gallery>li>ul>li {
  width/* */: auto;
  height/* */: auto;
  text-align/* */: justify;
}

#gallery li ul {
  margin-left: -2px;
  margin-top: 1px;
  border: 1px solid #476CB1;
  background-color: #f4f4f4;
  color: #000000;
  visibility: hidden;
  position: absolute;
  padding: 3px;
  font-size: 8pt;
  width: 270px;
  z-index: 200;
}

#gallery>li>ul {
  width: auto;
  max-width: 400px;
  min-width: 200px;
}

#gallery, #gallery ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

#gallery p {
  margin: 0px;
  margin-top: 1em;
  padding: 0px;
}

#gallery #articlerank {
  padding: 3px;
  border: none;
  border-top: 1px solid #476CB1;
}

#gallery li:hover {
	border-color: #476CB1;
}

#gallery img {
  display: block;
  border: none;
  margin: 0px;
  margin-right: auto;
  margin-left: auto;
}

#gallery li:hover ul {
  visibility: visible;
}


.inputform div {
	text-align: right;
}

.inputform input, .inputform textarea, .inputform select {
/*	width: 300px;*/
  width: 330px;
	margin-bottom: 1px;
	border: 1px solid #476cb1;
	font-family: Tahoma, "Lucida Grande CE", Verdana, "Geneva CE", lucida, sans-serif;
	font-weight: bold;
	font-size: 8pt;
	background-color: #f4f4f4;
}

.inputform textarea {
	height: 150px;
}

.inputform select {
	font-weight: normal;
}

.inputbuttons {
	margin-top: 1em;
}

.inputbuttons input {
	width: auto;
	background-color: #e0e0e0;
}

.forumnormal {
  list-style-image: url('../img/forumnormal.png');
}

.forumforbidden {
  list-style-image: url('../img/forumforbidden.png');
  cursor: default;
  color: #999999;
}

.forumnormal strong {
  color: #D65400;
}

.unvisited {
  font-style: italic;
}

.unvisited a {
  color: #a0a0a0;
}

/* mail.php */

#mailhead {
  border: 1px solid #e0e0e0;
  background-color: #f4f4f4;
  padding: 3px;
  padding-top: 0px;
  padding-bottom: 0px;
}

#mailhead ul {
  margin: 0px;
  padding: 0px;
}

#mailhead ul li {
  display: block;
}

#mailbody {
  border: 1px solid #e0e0e0;
  border-top: none;
  padding: 16px;
  margin: 0px;
  overflow: auto;
}

#mailcontrol {
  margin-top: 16px;
  color: #476cb1;
  text-align: center;
}

#mailcontrol li {
  display: inline;
  padding-left: 10px;
}

/* room.php */

#roomcontrol {
	display: block;
	text-align: left;
	font-size: 9pt;
    list-style-image: none;
	margin-left: 0;
	padding: 0;
}

#roomcontrol li {
  display: inline;
  margin: 0px;
  padding: 0px;
  white-space: nowrap;
  padding-left: 10px;
}

#roomdesc {
  border: 1px solid #e0e0e0;
  background-color: #f4f4f4;
  margin-top: 16px;
  margin-bottom: 16px;
  padding: 5px;
}

#roomdesc p, .roommessage p, #mailbody p {
  margin: 0;
  margin-bottom: 1em;
}

#roomdesc>p, .roommessage>p, #mailbody>p {
  margin: 0;
}

#roomdesc p+p, .roommessage p+p, #mailbody p+p {
  margin-bottom: 0;
  margin-top: 1em;
}

.roommessage {
	border: 1px solid #e0e0e0;
  clear: both;
	margin: 1em 0 1em 0;
}

.rmheader {
	padding: 0;
	background: #F4F4F4;
}

.rmheader img {
	float: left;
  display: block;
	margin: 1px 5px 1px 1px;
	border: 1px solid #E0E0E0;
}

.rmheader a {
	color: #476CB1;
	font-weight: bold;
}

.rmbody {
	float: right;
	width: 509px;
  overflow: auto;
	margin: 5px 5px 0 0;
}

.rmbody .reply {
	color: #D65400;
	text-decoration: none;
}

.spacer {
  clear: both;
	height: 0;
	padding: 1px 0 0 0;
	overflow: hidden;
}

.rmnewmsg {
  border-color: #c0c0c0;
	background: #f4f4f4;
}

.rmnewmsg .rmheader, .rmnewmsg .rmheader .roomanchor {
  color: #D65400;
	background: #d4d4d4;
}

.rmnewmsg .rmheader img {
  border-color: #c0c0c0;
}

#usrdetails img {
  float: right;
}

#usrdetails div {
  border: 1px solid #e0e0e0;
  background-color: #f4f4f4;
  padding: 3px;
  margin: 0;
  margin-top: 1em;
  margin-bottom: 1em;
}

#usrdetails div p {
  margin: 0;
  margin-bottom: 1em;
}

#usrdetails>div>p {
  margin: 0;
}

#usrdetails div p+p {
  margin-bottom: 0;
  margin-top: 1em;
}

#usrdetails div img {
  float: none;
}

.rmheader .roomanchor {
	text-decoration: none;
	color: #000;
	font-weight: normal;
}

.tooltip {
	border: 1px solid #000;
	background: #ffffe1;
	padding: 3px;
	max-width: 200px;
	min-width: 150px;
	text-align: left;
}

.replytooltip {
	width: 564px;
	background: #fff;
}
.replytooltip .roommessage {
	text-align: left;
	margin: 0;
}

/* prototip.css : http://www.nickstakenburg.com/projects/prototip */
.prototip { position: absolute; text-align: left; }
.prototip .effectWrapper { position: relative; }
.prototip .tooltip { position: relative; }
.prototip .toolbar {
	position: relative;
	display: block;
	}
.prototip .toolbar .title {
	display: block;
	position: relative;
	}
.prototip .content { clear: both; }
.prototip .toolbar a.close {
	position: relative;
	text-decoration: none;
	float: right;
	width: 15px;
	height: 15px;
	background: transparent url(close.gif);
	display: block;
	line-height: 0;
	font-size: 0px;
	border: 0;
	}
.prototip .toolbar a.close:hover { background: transparent url(close_hover.gif); }

.iframeShim { 
	position: absolute;
	border: 0;
	margin: 0;	
    padding: 0;
    background: none;
}

.prototip .default { max-width: 150px; color: #000; }
.prototip .default .toolbar { background: #0F6788; font: italic 17px Georgia, serif; }
.prototip .default .title { padding: 5px; }
.prototip .default .content { background: #ffffe1; font: 11px Arial, Helvetica, sans-serif; padding: 5px; border: 1px solid #000;}
.clickmenu {
	position: absolute;
	border: 1px solid #000;
	background: #fff;
	text-align: left;
}
.clickmenu ul, .clickmenu li {
	display: block;
	margin: 0;
	padding: 0;
}
.clickmenu a {
	display: block;
	padding: 2px;
	text-decoration: none;
	color: #000;
}
.clickmenu a:hover {
	background: #476CB1;
	color: #F4F4F4;
}