/*** start template ***/
body, input, select, textarea, h1, h2, h3, h4 {
  margin: 0;
  padding: 0;
  font: 83%/1.4 arial, helvetica, sans-serif;
}
body {
  color: #000;
  padding: 0 20px;
  background: #d9eff4;
}
input, select, textarea {
  border: 1px solid #000;
}
input[type="submit"] {
  background: auto;
}
ul, li {
  margin: 0;
  padding: 0;
  list-style: none;
}
a {
  color: #004a8d;
  text-decoration: none;
  border-bottom: 1px solid transparent;
}
a:hover {
  color: #000;
  border-bottom: 1px solid #009ddc;
}
h1 {
  padding: 5px 0 0 10px;
  line-height: 1;
  color: #fff;
  font-size: 175%;
  letter-spacing: -1px;
  text-transform: lowercase;
}
h2 {
  padding: 0 0 5px 30px;
  line-height: 1;
  color: #c0c0c0;
  font-size: 125%;
  letter-spacing: -1px;
  text-transform: lowercase;
}
h3 {
  line-height: 1;
  font-size: 175%;
  letter-spacing: -1px;
  margin-bottom: 10px;
}
h3 span {
  border-bottom: 1px solid #009ddc;
}
h4 {
  line-height: 1.6em;
  font-size: 100%;
  font-weight: bold;
}
img {
  border: 0;
}

#container {
  margin: 0 auto;
  /*min-width: 700px;*/
  /*max-width: 1000px;*/
  width: 760px;
}
#header {
  position: relative;
  overflow: hidden;
  margin-bottom: 15px;
  background: #004a8d;
}
#header img {
  position: absolute;
  top: 10px;
  margin-right: 10px;
  right: -8px;
  /*height: 50%;*/
  height: 41px;
  width: 31px;
}
#menu {
  float: left;
  clear: both;
  background: #009ddc url(../img/curved-bottom.png) 100% 100% no-repeat;
  height: 33px;
  overflow: hidden;
  width: 100%;
}
#menu ul {
  float: left;
  background: transparent url(../img/curved-bottom.png) 0 100% no-repeat;
  margin: 1px 5px 0 0;
  height: 32px;
}
#menu li {
  float: left;
  padding: 5px 0 5px 0;
}
#menu li a {
  border-left: 1px solid #004a8d;
  color: #c0c0c0;
  display: block;
  float: left;
  padding-left: 10px;
  word-spacing: -0.1em;
  line-height: 22px;
  font-size: 85%;
  margin-right: 10px;
}
#menu li a:hover, #menu li.current a {
  color: #fff;
}
#menu li a:hover {

}
#menu li.current {
  background: transparent url(../img/current.png) 50% 100% no-repeat;
}
#menu li.current a {
  font-weight: bold;
}
#menu li:first-child a {
  border: 0;
}

#stats {
  float: right;
  color: #fff;
  font-size: 85%;
  line-height: 33px;
  margin-right: 10px;
}

.message {
  position: relative;
  padding-left: 5px;
  margin-top: 15px;
  margin-bottom: 15px;
  clear: both;
  background: #80c9e7 url(../img/curved-top-contents.png) 0 0 no-repeat;
}
.inner-message {
  padding: 5px 10px 5px 10px;
  background: transparent url(../img/curved-top-contents.png) 100% 0 no-repeat;
}
.bottom-message {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: transparent url(../img/curved-bottom-contents.png) 0 100% no-repeat;
}
.bottom-inner-message {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 6px;
  width: 100%;
  background: transparent url(../img/curved-bottom-contents.png) 100% 100% no-repeat;
}

#error.message {
  background-color: #e8adad;
  color: #8d2e2e;
}
#error h4 {
  border-bottom: 1px dotted #8d2e2e;
  margin-bottom: 5px;
}
.message ul, .message li {
  list-style: square;
  margin-left: 15px;
}
#welcome.message {
  background-color: #b4e8ad;
  color: #358d2e;
}
#welcome h4 {
  text-align: center;
}
#warning.message {
  background-color: #f6ff00;
  background-image: url(../img/curved-top.png);
  color: #000;
}
#warning h4 {
  padding-bottom: 5px;
  border-bottom: 1px dotted #000;
  margin-bottom: 5px;
}
#warning .inner-message {
  background-image: url(../img/curved-top.png);
}
#warning .bottom-message {
  background-image: url(../img/curved-bottom.png);
}
#warning .bottom-inner-message {
  background-image: url(../img/curved-bottom.png);
}

#contents {
  position: relative;
  padding-left: 5px;
  margin-top: 15px;
  clear: both;
  background: #fff url(../img/curved-top.png) 0 0 no-repeat;
}
#inner-contents {
  overflow: auto;
  padding: 10px 15px 15px 10px;
  background: transparent url(../img/curved-top.png) 100% 0 no-repeat;
}
#contents-bottom-left {
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  width: 100%;
  background: transparent url(../img/curved-bottom.png) 0 100% no-repeat;
}
#contents-bottom-right {
  position: absolute;
  bottom: 0;
  right: 0;
  height: 6px;
  width: 100%;
  background: transparent url(../img/curved-bottom.png) 100% 100% no-repeat;
}

#footer {
  margin-top: 10px;
  font-size: 85%;
}
#footer a {
  font-size: 100%;
}
#footer .author {
  float: left;
}
#footer .powered {
  float: right;
}
#footer .powered .php {
  color: #5a6ba5;
}
#footer .powered .php span {
  position: relative;
  top: -3px;
  font-size: 85%;
}
#footer .powered .mysql {
  color: #006699;
}
#footer .powered .mysql span {
  color: #ff9900;
}
/*** end template ***/




.form {
  clear: both;
  position: relative;
  background: #dae5f4 url(../img/curved-top-contents.png) 0 0 no-repeat;
  margin: 25px auto;
  width: 350px;
}
.form-inner {
  margin-left: 5px;
  background: transparent url(../img/curved-top-contents.png) 100% 0 no-repeat;
  padding: 25px;
}
.form-bottom {
  width: 100%;
  position: absolute;
  bottom: 0;
  left: 0;
  height: 6px;
  background: transparent url(../img/curved-bottom-contents.png) 0 100% no-repeat;
}
.form-inner-bottom {
  width: 15px;
  position: absolute;
  height: 6px;
  right: 0;
  background: transparent url(../img/curved-bottom-contents.png) 100% 100% no-repeat;
}
.form label {
  font-weight: bold;
  float: left;
}
.form input, .form select {
  padding: 2px;
  width: 180px;
  float: right;
  border-color: #a1a1a1;
  color: #a1a1a1;
}
.form input:hover, .form select:hover, .form textarea:hover {
  border-color: #000;
}
.form input:focus, .form select:focus, .form textarea:focus {
  border-color: #009ddc;
  color: #000;
}
.form select {
  width: 186px;
}
.form textarea {
  margin-top: 5px;
  border-color: #a1a1a1;
  color: #a1a1a1;
  width: 280px;
  height: 150px;
}
.form .row {
  margin: 5px auto;
  padding: 5px;
  overflow: auto;
  clear: both;
}
.form .error {
  background: #e8adad;
  border: 1px solid #8d2e2e;
  color: #8d2e2e;
}
.form .error input, .form .error select, .form .error textarea {
  border-color: #8d2e2e
}
.form .checkbox input {
  margin-left: 20px;
  margin-top: 2px;
  float: left;
  width: auto;
  border: 0;
}
.form .submit {
  text-align: center;
}
.form .submit input {
  padding: 3px 7px;
  border-color: #009ddc;
  color: #000;
  width: auto;
  float: none;
}



#forum {
  clear: both;
  margin: 0 auto;
  background: #dae5f4 url(../img/curved-top-contents.png) 0 0 no-repeat;
  width: 100%;
  overflow: auto;
}
#forum li {
  clear: both;
  border-top: 1px dotted #0f4073;
  border-top: 1px dotted #009ddc;
  padding: 5px 10px;
  overflow: auto;
}
#forum li.empty {
  padding: 10px 0;
  text-align: center;
  font-style: italic;
}
#forum li.odd {
  background: transparent;
}
#forum li.even {
  background: #e8f2ff;
  background: #e0edff;
}
#forum li:first-child {
  background: transparent url(../img/curved-top-contents.png) 100% 0 no-repeat;
  border: 0;
}
#forum div {
  float: left;
}
#forum .info {
  line-height: 15px;
  width: 50%;
  border-right: 1px dotted #009ddc;
}
#forum .info .jump {
  display: block;
  float: left;
  color: #0f4073;
  border: 0;
  border: 1px solid #0f4073;
  height: 15px;
  padding: 0 4px;
  margin-right: 5px;
  line-height: 10px;
}
#forum .info .jump:hover {
  color: #000;
  border-color: #009ddc;
}
#forum .info .title {
  float: left;
}
#forum .info strong {
  float: left;
  line-height: 14px;
  margin-right: 5px;
}
#forum .info .unread {
  font-weight: bold;
}
#forum .info small {
  position: relative;
  top: 9px;
  display: block;
  float: right;
  margin-right: 1%;
}
#forum .info small a {
  display: block;
  float: left;
  padding: 0 5px;
}
#forum .info small a:hover {
  border: 0;
  color: #000;
}
#forum .info small a:first-child {
  border-right: 1px solid #0f4073;
}
#forum .info small a:hover span {
  border-bottom: 1px solid #009ddc;
}
#forum .info em {
  clear: both;
  display: block;
  font-size: 11px;
  line-height: 20px;
}
#forum .info em span {
  font-style: normal;
}
#forum .stats {
  border-right: 1px dotted #009ddc;
  line-height: 35px;
  font-size: 85%;
  padding-left: 1%;
  width: 10%;
}
#forum .lastpost {
  line-height: 17px;
  float: right;
  text-align: right;
  font-size: 11px;
}

#forum .post-info {
  width: 100px;
  font-size: 85%;
}
#forum .post-info div {
  float: none;
  line-height: 20px;
}
#forum .post-info em {
  display: block;
  font-size: 85%;
  margin-bottom: 10px;
}
#forum .post-info strong {
  border-bottom: 1px solid #009ddc;
}
#forum .post-container {
  padding-left: 10px;
  border-left: 1px dotted #009ddc;
  float: left;
  width: 595px;
  min-height: 75px;
}
#forum .post-header {
  font-size: 85%;
  float: none;
  border-bottom: 1px dotted #009ddc;
  line-height: 20px;
}
#forum .post-header small {
  display: block;
  float: right;
}
#forum .post-header small a {
  border-left: 1px solid #0f4073;
  padding: 0 4px 0 6px;
}
#forum .post-header small a:hover {
  border-bottom: 0;
}
#forum .post-header small a:hover span {
  border-bottom: 1px solid #009ddc;
}
#forum .post-header small a:first-child {
  border: 0;
}
#forum .post-contents {
  clear: both;
  font-size: 90%;
  padding-top: 5px;
}


#forum-bottom {
  position: relative;
  top: -6px;
}
#forum-bottom .forum-bottom {
  height: 6px;
  padding-left: 10px;
  background: transparent url(../img/curved-bottom-contents.png) 0 0 no-repeat;
}
#forum-bottom .forum-bottom div {
  height: 6px;
  background: transparent url(../img/curved-bottom-contents.png) 100% 0 no-repeat;
}

.forum-locator {
  line-height: 16px;
  margin-bottom: 10px;
  list-style: none;
  padding: 2px 7px 2px 0;
  float: left;
}
.forum-locator li {
  color: #0f4073;
  float: left;
  padding-left: 5px;
}
.forum-locator li a {
  color: #0f4073;
  border: 0;
  margin-left: 5px;
}
.forum-locator li.current a {
  color: #000;
  font-size: 1em;
  border-bottom: 1px solid #009ddc;
  font-weight: bold;
}
.forum-locator li a:hover {
  color: #000;
  border-bottom: 1px solid #009ddc;
}
.forum-locator li:first-child {
  padding: 0;
}
.forum-locator li:first-child a {
  margin: 0;
}
.forum-locator li:first-child:before {
  content: "";
}
.forum-locator li:before {
  position: relative;
  top: -1px;
  content: "»";
  font-weight: bold;
}


#forum-options {
  float: right;
  margin-bottom: 10px;
}
#forum-options li {
  float: left;
}
#forum-options li a {
  font-size: 11px;
  display: block;
  margin: 0 2px;
  padding: 2px 5px;
  border: 1px solid #0f4073;
}
#forum-options li a:hover {
  color: #000;
  border-color: #009ddc;
}

#pages {
  float: right;
  margin-top: 5px;
}
#pages * {
  font-size: 10px;
}
#pages li {
  float: left;
}
#pages li a, #pages li span {
  display: block;
  margin: 0 2px;
  padding: 2px 5px;
  border: 1px solid #0f4073;
}
#pages li a:hover {
  color: #000;
  border-color: #009ddc;
}
#pages li.ellipses span {
  font-size: 14px;
  border: 0;
  color: #000;
}
#pages li.nextprev a {
  font-weight: bold;
}
#pages li.disabled span {
  border-color: #a1a1a1;
  color: #a1a1a1;
}
#pages li.current span {
  background: #0f4073;
}
#pages li.current span {
  color: #fff;
}
