/* Layout
 ------------ */
* {
  /* Reset browsers default margin, padding and font sizes */
  margin: 0;
  padding: 0;
}

html {
  font-size: 100%;
}

body {
  font-family: "Lucida Grande", Verdana, Helvetica, Arial, sans-serif;
  color: #98a5b1;
  background-color: #030c16;
  font-size: 12px; /* This sets the default font size to be equivalent to 10px */
  margin: 0;
}
img {
  border: none;
  vertical-align: top;
}

#main-bg {
  background: url('../images/hellgard/bg_repeat.jpg') 50% -25px repeat-y;
  min-width: 925px; 
}
#top-bg {
  background: url('../images/hellgard/hellgard.jpg') 50% 1px no-repeat;
  padding-top: 285px;
}
#bottom-bg {
  background: url('../images/hellgard/bg_bottom.jpg') 50% 100% no-repeat;
}
#main-wrapper {
  position: relative;
  width: 925px;
  margin: 0 auto;
  min-height:910px;
  height:auto !important;
  height:910px;
  padding-bottom: 1px;
}
.big-right-cols, .left-cols, .center-cols, .right-cols {
  float: left;
  margin: 0px
}
.big-right-cols {
  width: 701px;
  margin: 0 10px 0 6px;
}
.left-cols {
  width: 198px;
  margin-left: 10px;
}
.center-cols {
  width: 441px;
  margin: 0 6px;
}
.right-cols {
  width: 254px;
  margin-right: 10px;
}
#sblock {
  margin: 6px 10px 350px 10px;
  font-size: 9px;
}
#sblock h2, #sblock h3, #sblock h1 {
  display: inline;
}
#counts {
  position: absolute;
  bottom: 0;
  left: 39%;
  width: 180px;
  height: 40px;
  margin: 0 auto;
}
    /*Navigation
    -------------------*/
    #navigation {
      width: 100%;
      color: #7D8791;
      font-size: 12px;
    }
    #navigation td {
      padding: 0 !important;
      margin: 0 !important;
      font: bold 13px Tahoma;
      color: #73A4DC;
    }
    #navigation img {
      vertical-align: top !important;
      border: none !important;
    }
    #loc-en, #loc-ru {
      height: 80px;
      width: 380px;
    }
    #menu-left {
      height: 48px; 
    }
    #menu-right {
      height: 48px; 
    }
    #menu-left ul, #menu-right ul {     
      padding: 0;
      list-style: none;
    }
    #menu-left ul {
      margin: 0 0 9px 3px;
    }
    #menu-right ul {
      margin: 0 0 7px 18px;
    }
    #menu-left li, #menu-right li {
      display: inline;
    }
    #menu-left li {
      margin: 0 29px;
    }
    #menu-right li {
      margin: 0 30px;
    }
    #menu-left .last-item {
      margin: 0;
      margin-left: 13px;      
    }
    #menu-right .last-item  {
      margin: 0;
      margin-left: 20px;
    }
    #navigation a {
      color: inherit;
      text-decoration: none;
    }
    
    /*Registration
    ------------------------*/
    /*#fler {
      padding-top: 20px;
      height: 93px;
      display: table-cell;
      text-align: center;
      vertical-align: middle;
    }*/
    #reg-area {
      margin: 0 20px 0 10px;
    }
    #reg-fields-area {
      text-align: right;
      width: 100%;
    }
    .reg-inner {
      min-height:264px;
      height:auto !important;
      height:264px;
      margin: 67px 28px 0 0;
      
    }
    #Create {
      margin: 0px;
      background: url('../images/hellgard/inputs/create.png') 0 0 no-repeat !important;
    }
input.textfield {
  width: 114px;
  background: scroll url('../images/hellgard/inputs/input.png') 0 0 no-repeat;
  border: none;
  padding: 3px 5px;
  color: inherit;
}
.error-msg, span.reg-error-msg , #fler {
  color: red;
  font-size: 90%;
}
span.reg-error-msg {
  display: table-cell;
  width: 190px;
  height: 25px;
  text-align: right;
  vertical-align: middle;
}
.button {
  width: 138px;
  height: 20px;
  border: none;
  margin: 10px 0;
  cursor: pointer;
}
a.button {
  display: inline-block;
  text-decoration: none;
  color: inherit;
  border: none;
}
.center {
  text-align: center;
}
.clr {
  clear: both;
}
/*BARS
----------------*/
.left-bars, #news-bar, #right-bars, .big-right-bar, #profile-center, #profile-right {
  float: left;
}
.left-bars {
  margin-left: 10px;
  width: 198px;
}
#right-bars {
  width: 201px;
  margin-right: 0px;
}
#logo-wrapper {
  text-align: center;
}
.big-right-bar {
  width: 679px;
  margin: 0 20px 0 6px;
}
.main-bar {
  margin: 0 20px 0 12px;
}
.buttons-block {
  margin-top: 0 5px;
}
.wrapping {
  padding: 5px 3px 3px;
}
.bar {
  background-color: #213041;
  border: 1px solid #58758d;
  padding: 2px;
  margin: 6px 0;
}
span.bar-header-left, span.bar-header-right {
  position: absolute;
  width: 20px;
  height: 25px;
}
span.bar-header-text {
  position: relative;
  z-index: 2;
}
span.bar-header-left {
  background: url('../images/hellgard/bars/header/left.jpg') 0 0 no-repeat;
  top: 0; left: 0;
}
span.bar-header-right {
  background: url('../images/hellgard/bars/header/right.jpg') 0 0 no-repeat;
  top: 0; right: 0px;
}
div.bar-title {
  position: relative;
  height: 19px;
  background: url('../images/hellgard/bars/header/center.jpg') 0 0 repeat-x;
  text-align: center;
  padding-top: 6px;
  font-weight: bold;
  font-size: 12px;
  color: #FFFFFF;
}
a.title-in-bar {
  color: #73A4DC;
  font-weight: bold;
}
span.list-item  {
  display: inline-block;
  background: url('../images/hellgard/list_item.jpg') 0 0 no-repeat;
  width: 21px;
  height: 21px;
  vertical-align: middle;
}
div.logo {
  display: inline-block;
  width: 100px;
  height: 100px;
  margin: 5px;
}
.arm {
  width: 500px;
  margin: 5px auto;
  border-left: 1px solid;
  border-bottom: 1px solid;
  text-align: center;
}
.arm img {
  vertical-align: middle;
}
.arm td, .arm th {
  border-top: 1px solid;
  border-right: 1px solid;
  height: 25px;
}
.arm .param {
  font-style: italic;
}
    
    /*Login
    --------------------*/
    #login-bar {
    }
    #login-bottom-bar {
      min-height:105px;
      height:auto !important;
      height:105px;
    }
    /*#login-bottom-bar input {
      background: url('../images/hellgard/inputs/input.png') 0 0 no-repeat;
      border: none;
      padding: 3px;
      color: inherit;
    }*/
    #Submit {
      background: url('../images/hellgard/inputs/login.png') 0 0 no-repeat !important;
    }
    #reg-act {
      background: url('../images/hellgard/inputs/reg.png') 0 0 no-repeat;
    }
    #addPers-act {
      background: url('../images/hellgard/inputs/addPers.png') 0 0 no-repeat;
    }
    .login-inputs {
      text-align: right;
    }
    
    /*Last Posts
    --------------------*/
    #last-posts {
      margin-top: 6px;
      text-align: center;
    }
    /*Under last posts
    --------------------*/
    #under-last-posts {
      margin-top: 6px;
    }
    #under-last-posts-inner {
      min-height:68px;
      height:auto !important;
      height:68px;
    }
    
    /*News
    --------------------*/
    #news-bar {
      width: 488px;
      margin: 6px 6px;
    }
    #news-inner {
      min-height:185px;
      height:auto !important;
      height:185px;
    }
    #news-inner a {
      color: #73A4DC;
    }
    
    /*Comments
    --------------------*/
    /*#comments-bar {
    }*/
    #comments-inner {
      min-height:303px;
      height:auto !important;
      height:303px;
    }
    
    /*Under comments
    ----------------------*/
    #under-comments {
      margin-top: 6px;
    }
    #under-comments-inner {
      min-height:224px;
      height:auto !important;
      height:224px;
    }
    
    /*Profile
    -----------------------*/
    #Logout {
      background: url('../images/hellgard/inputs/logout.png') 0 0 no-repeat !important;
    }
    #play-act {
      display: inline-block;
      background: url('../images/hellgard/inputs/play.png') 0 0 no-repeat !important;
    } 
    /* Profile menu
    ------------------------*/
    #profile-menu  ul {
      list-style: none;
    }
    


/*Gallery
------------------*/
#gl-layer-block, #gl-layer-pop {
  position: fixed;
  left: 0; top: 0;
  z-index: 3000;
  cursor: pointer;
}
#gl-layer-pop, .gl-layer-bg {
  width: 100%;
  height: 100%;
}
.gl-layer-bg {
  display: block;
  position: absolute;
  left: 0; top: 0;
  z-index: 30;
  background-color: #666666;
  opacity: 0.3;
}
.gl-layer-wrap {
  display: block;
  position: absolute;
  left: 0;
  width: 100%;
  z-index: 31;
}
.gl-layer-wimg  {
  margin: 0 auto;
  padding: 5px;
  background-color: #FFFFFF;
  border: 2px solid #000000;
}
.gallery-item {
  display: inline-block;
  text-align: center;
  margin: 18px;
}
/*Bible
----------------*/
span.legend-title {
  display: block;
  margin: 17px 0 7px;
  text-align: center;
  font-size: 18px;
  font-style: italic;
  font-weight: bold;
}
p.legend-paragraph {
  margin: 0; padding: 0;
  text-indent: 30px;
}
.legend ul {
  margin: 0;
  padding: 0;
}
ul.legend-menu {
  padding-left: 155px;
  background: url('../images/library/legend/no_image.png') 0 0 no-repeat;
}
.legend {
  margin: 0 45px;
  text-align: justify;
}
td.potion-price {
  width: 15%;
}
td.potion-description {
  width: 70%;
}
td.magic-description {
  width: 55%;
}
.bible-item, .bible-title, .bible-text {
  position: relative;
}

.bible-item {
  margin: 20px 0;
}
.bible-title {
  font-weight: bold;
  height: 21px;
  padding-top: 7px;
  text-align: center;
  background: url('/images/hellgard/bars/bible/title_bg.jpg') 0 0 repeat-x;
}

.bible-text {
  padding: 14px;
  padding-top: 10px;
  background-color: #34455e;
  border: 2px solid #376792; 
  border-top: none;
}

.bible-title span {
  position: absolute;
  top: 0;
  width: 33px;
  height: 28px;
  background-position: 0 0;
  background-repeat: no-repeat;
}

span.bible-title-right {
  right: 0;
  background-image: url('/images/hellgard/bars/bible/right.jpg');
}

span.bible-title-left {
  left: 0;
  background-image: url('/images/hellgard/bars/bible/left.jpg');
}

span.bible-text-left, span.bible-text-right {
  position: absolute;
  bottom: 0;
  width: 15px;
  height: 16px;
  background-position: 0 0;
  background-repeat: no-repeat;
}

span.bible-text-left {
  left: 0;
  background-image: url('/images/hellgard/bars/bible/leftb.jpg');
}

span.bible-text-right {
  right: 0;
  background-image: url('/images/hellgard/bars/bible/rightb.jpg');
}
a.bible-toup {
  display: inline-block;
  width: 25px;
  height: 25px;
  background-image: url('/images/hellgard/bars/bible/up.png');
  margin-bottom: -10px;
}
/*Statistics
 --------------------*/
.stat-row {
  width: 75%;
  margin: 3px auto;
}
.stat-label, .stat-val{
  display: inline-block;
  width: 50%;
}
.stat-val {
  text-align: right;
}
/*PersImg
 -----------------*/
#pers-body, #pers-pants, #pers-boots, #pers-chest, #pers-hair, #pers-head, #pers-weapon,
#pr-body, #pr-face, #pr-hair, #race-sel, #face-sel, #hair-sel, #sex-sel, .reg-sel-left, .reg-sel-right {
  background-repeat: no-repeat;
}
#pers-body, #pers-weapon, #pr-body, #pr-hair {
  width: 150px;
  height: 250px;
}
#pers-body {
  margin: 0 auto;
  background-position: 50% 0; 
}
#pers-pants {
  background-position: 50% 0;
}
#pers-boots {
  background-position: 50% 0;
}
#pers-chest {
  background-position: 50% 0;
}
#pers-face {
  background-position: 50% 0;
}
#pers-hair {
  background-position: 50% 0;
}
#pers-head {
  background-position: 50% 0;
}
#pers-weapon {
  background-position: 50% 0;
}
#pr-body {
  margin: 0 auto;
  background-image: url('/images/createpers/male/pers/Inqusitor.png');
}
#pr-face, #face-sel {
  background-image: url('/images/createpers/male/face/face_m_1.png');
}
#pr-hair, #hair-sel {
  background-image: url('/images/createpers/male/hair/Hair_01.png');
}
#race-sel {
  background-image: url('/images/createpers/interface/Inqusitor.png');
  background-position: 23px 4px;
  top: 0;
  left: 0;
}
#sex-sel {
  background-image: url('/images/createpers/interface/Male.png');
  background-position: 24px 7px;
  bottom: 0;
  left: 0;
}
#hair-sel {
  background-position:-43px -10px;
  top: 0;
  right: 0;
}
#face-sel {
  background-position:-43px -18px;
  bottom: 0;
  right: 0;
}
.reg-selector {
  position: absolute;
  width: 79px;
  height: 44px;
}
.reg-sel-left, .reg-sel-right {
  width: 15px;
  height: 24px;
  position: absolute; 
  top: 10px;
}
.reg-sel-left {
  left: 0;
  background-image: url('/images/createpers/interface/but_lu.png');
}
.reg-sel-right {
  right: 0;
  background-image: url('/images/createpers/interface/but_ru.png');
}
.link-menu {
  position: relative;
  padding-left: 20px;
  font-weight: bold;
  margin: 5px 0 2px;
  color: #FFFFFF;
  height: 14px;
  background: url("/images/hellgard/bars/menu/bg.jpg") 0 0 repeat-x;
}
.link-menu-left, .link-menu-right {
  position: absolute;
  top: 0;
  width: 20px;
  height: 14px;
  background-position: 0 0;
  background-repeat: no-repeat;
}
.link-menu-left {
  left: 0;
  background-image: url("/images/hellgard/bars/menu/left.jpg");
}
.link-menu-right {
  right: 0;
  background-image: url("/images/hellgard/bars/menu/right.jpg");
}
.menu-item {
  display: block;
  border: 1px solid #376792;
  background: url("/images/hellgard/bars/menu/subbg.jpg") 0 0 repeat-x;
  margin: 2px 0;
  padding-left: 25px;
  text-decoration: none;
  
}
/*Text
--------------*/
#Vampire-text, #Werewolf-text, #Inqusitor-text {
  text-align: left;
  padding: 3px;
}
#Vampire-text, #Werewolf-text {
  display: none; 
}
.label {
  font-weight: bold;
}