* {
  font-family: Verdana;
  font-size: 11px;
  behavior: url('../iepngfix.htc');
}

body, form, fieldset, legend, label, input, textarea, select, hr, p,
a, br, h1, h2, h3, h4, h5, div, span, li, ol, ul, table, tr, th, td {
  margin: 0;
  padding: 0;
}

body {
  background-color: #fff;
  background-image: url('../images/body.jpg');
  background-repeat: repeat-x;
  text-align: center;
  margin: auto;
}

img {
  border: none;
}

form {
  background-color: transparent;
}

input {
  border: solid 1px #aaa;
  padding: 1px;
}

input[type=submit] {
  padding: 2px 5px;
  font-weight: bold;
  color: #000;
}

input[type=field] {
  border: solid 1px #aaa;
}

input[type=checkbox] {
  border: none;
}

select {
  border: solid 1px #aaa;
  padding: 1px;
}

textarea {
  border: solid 1px #aaa;
  padding: 1px;
}

hr {
  height: 0;
  border: dotted #036;
  border-width: 1px 0 0 0;
}

a {
  font-weight: bold;
  outline-style: none;
}

a:link {
  text-decoration: none;
}

a:active {
  text-decoration: none;
}

a:visited {
  text-decoration: none;
}

a:hover {
  color: #f90;
  text-decoration: none;
}

br {
  clear: both;
}

h1 {
  padding: 4px 10px;
  background-color: #eee;
  background-image: url('../images/button.jpg');
  color: #000;
  border: outset 1px #999;
  margin-bottom: 10px;
  font-size: 12px;
  font-weight: bold;
}

h2 {
  margin-top: 10px;
}

ol {
  margin-left: 25px;
}

li {
  margin-bottom: 10px;
}

li li {
  margin-left: 12px;
  list-style-type: square;
}

#content {
  overflow: hidden;
}

#base {
  width: 1000px;
  background-image: url('../images/base.jpg');
  background-repeat: repeat-y;
  margin: auto;
  overflow: hidden;
}

#header {
  height: 188px;
  background-image: url('../images/header.jpg');
  background-repeat: no-repeat;
  text-align: left;
  position: relative;
}

#news {
  float: left;
  width: 200px;
  min-height: 300px;
  padding: 0 10px 10px 30px;
  text-align: left;
  background-image: url('../images/main.jpg');
  background-repeat: no-repeat;
  overflow: hidden;
}

#news * {
  margin-bottom: 10px;
}

#main {
  float: left;
  width: 730px;
  min-height: 300px;
  background-image: url('../images/main.jpg');
  background-repeat: no-repeat;
  border: none;
  text-align: justify;
  padding: 0 10px 10px 30px;
  overflow: hidden;
  color: #036;
}

#main p {
  margin: 5px 0;
}

#main-small {
  float: left;
  width: 509px;
  min-height: 300px;
  padding: 0 10px 10px 10px;
  background-image: url('../images/main.jpg');
  background-repeat: no-repeat;
  background-position: -241px 0;
  border-left: dotted 1px #aaa;
  text-align: justify;
  overflow: hidden;
  color: #036;
}

#menu {
  float: left;
  width: 185px;
  margin-left: 10px;
  text-align: left;
  border: none;
  color: #fff !important;
  font-weight: bold;
}

#menu a:link {
  color: #ff9;
}

#menu a:active {
  color: #ff9;
}

#menu a:visited {
  color: #ff9;
}

#menu a:hover {
  color: #f90;
}

#menu p {
  margin: 0 0 8px 0;
}

#menu hr {
  border-color: #fff;
  margin-bottom: 10px;
}

#menu input {
  border: solid 1px #469;
}

#menu select {
  width: 180px;
  border: solid 1px #469;
}

#advert {
  clear: both;
  text-align: left;
  padding: 10px 0 5px 30px;
}

#footer {
  clear: both;
  height: 110px;
  background-color: #fff;
  background-image: url('../images/footer.jpg');
  background-repeat: no-repeat;
  text-align: center;
  font-weight: bold;
  padding-top: 50px;
  color: #fff;
}

#footer a:link {
  color: #ff9;
}

#footer a:active {
  color: #ff9;
}

#footer a:visited {
  color: #ff9;
}

#footer a:hover {
  color: #f90;
}

#footer .separator{
  margin: 0 10px !important;
}

.notice {
  color: #d22;
  font-weight: bold;
}

.msg {
  border: solid 1px #d22;
  padding: 10px;
  background-color: #fff !important;
  color: #d22;
  font-weight: bold;
  margin-bottom: 10px;
}

.msg li {
  margin: auto 10px;
}

.crud {
  float: left;
  min-width: 220px;
  padding-bottom: 11px;
  background-color: transparent !important;
  background-image: url('../images/shadow.png');
  background-repeat: no-repeat;
  background-position: bottom right;
}

.crud fieldset {
  background-color: #f5f5f5;
  padding: 10px 10px 0 10px;
  margin-bottom: 10px;
  border: solid 1px #777;
}

.crud legend {
  padding: 5px 25px;
  background-color: #214786;
  background-image: url('../images/legend.jpg');
  font-weight: bold;
  color: #fff;
}

.crud p {
  margin: 0 0 15px 0 !important;
  vertical-align: middle;
}

.crud p label {
  display: block;
  float: left;
  width: 155px;
  text-align: right;
  margin-right: 5px;
  font-weight: bold;
}

.crud p select {
  max-width: 300px;
}

.min-300 {
  width: 300px;  
}

.crud p img {
  margin: 0 5px 0 0;
}

.crud hr {
  margin-bottom: 15px;
}

.crud ul {
  margin-left: 15px;
  list-style-type: square;
}

.crud li {
  margin-bottom: 10px;
}

.admin {
  float: left;
  margin: auto auto 10px auto;
}

.admin a {
  float: left;
  display: block;
  width: 200px;
  height: 14px;
  border: solid 1px #777;
  background-color: #d4d0c8;
  background-image: url('../images/button.jpg');
  background-position: top;
  color: #000;
  padding: 10px;
  margin: 5px;
  text-align: center;
}

.admin a:hover {
  border: solid 1px #5c78a5;
  background-image: url('../images/buttonh.jpg');
  color: #ff9;
}

.shadow {
  float: left;
  padding-bottom: 21px;
  background-image: url('../images/shadow.png');
  background-repeat: no-repeat;
  background-position: bottom right;
}

.list {
  min-width: 500px;
  border-collapse: collapse;
  border: solid 1px #469 !important;
  background-color: #fff;
}

.list th {
  padding: 5px;
  border-left: dotted 1px #ddd;
  background-color: #469;
  background-image: url('../images/buttonh.jpg');
  color: #fff;
  white-space: nowrap;
}

.list td {
  padding: 5px;
  border-left: dotted 1px #ddd;
  text-align: left;
  vertical-align: top;
}

.number {
  text-align: right !important;
}

.center {
  text-align: center;
}

.separator {
  margin: 0 25px;
}

.working {
  margin: 100px 60px 0 60px;
  text-align: center;
}

.working h3 {
  font-size: 24px;
}

.working p {
  font-size: 12px;
  font-weight: bold;
}

.even {
  background-color: #f5f5f5 !important;
}

.paged {
  clear: both;
  margin-bottom: 10px;
}

.paged * {
  float: left;
}

.paged span {
  padding: 1px 6px 3px 6px;
  font-weight: bold;
}

.clean {
  clear: both;
}

.adv {
  overflow: hidden;
  border: dotted 1px #fff;
  text-align: center;
  padding: 6px 0;
}

.date {
  text-align: center !important;
  white-space: nowrap;
  width: 72px;
}

.detail {
  background-color: transparent;
}

.detail th {
  text-align: right;
  padding: 7px;
  vertical-align: top;
}

.detail td {
  padding: 7px;
  vertical-align: top;
}

.adv-head {
  position: absolute;
  top: 0;
  left: 30px;
  z-index: 99;
}

.paper {
  border: solid 1px #aaa;
  background-color: #fff;
  padding: 10px;
}

.paper p {
  margin-bottom: 10px;
}

.photo {
  max-width: 400px;
  height: 110px;
  border: solid 1px #aaa;
}

.calendar {
  position: absolute;
  top: 200px;
  left: 200px;
  z-index: 99;
  padding-bottom: 19px;
  background-image: url('../images/small_shadow.png');
  background-repeat: no-repeat;
  background-position: bottom right;
}

.calendar div {
  border: outset 1px #000;
  background-color: #ccc;
  text-align: center;
  padding: 5px;
}

.calendar * {
  font-family: Verdana;
  font-size: 10px;
  margin: 0;
  padding: 0;
}

.calendar a {
  font-weight: normal;
}

.calendar input {
  border: solid 1px #aaa;
  font-weight: bold;
}

.calendar select {
  border: solid 1px #aaa;
  margin-left: 5px;
}

.calendar table {
  border-collapse: collapse;
  margin: 5px auto;
  background-color: #fff;
}

.calendar th {
  width: 20px;
  text-align: center;
  background-color: #069;
  color: #fff;
  padding: 3px 1px;
}

.calendar td {
  width: 13px;
  text-align: right;
  border: solid 1px #ddd;
  padding: 2px 3px;
}

.calendar td:hover {
  background-color: #eee;
}

.calendar a {
  font-weight: bold;
  text-decoration: none;
}

.inverse {
  background-color: #555;
}

.inverse * {
  color: #fff;
}

.category td {
  vertical-align: top;
  text-align: left;
  padding: 1px 2px 6px 2px;
}

.logo {
  width: 120px;
  margin: 0 5px 5px 0;
}

.row * {
  float: left;
}
