html {
  margin: 0px;
  padding: 0px;
  font-family: Arial;
  font-size: 14px;
  background-image: url('img/bg.jpg');
}

a {
  color: #0011A2;
  text-decoration: none;
}

a:hover {
  text-decoration: underline;
}

input {
  width: 200px;
  border: 1px #AAAAAA solid;
}

input:hover {
  border: 1px #1010AA solid;
}

.textareaclass{
  border: 1px #AAAAAA solid;
}

.textareaclass:hover {
  border: 1px #1010AA solid;
}


form {
  margin: 0px;
  padding: 0px;
}

#container {
  position: relative;
  width: 829px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  background-image: url('img/bgmid.png');
}

#container_head {
  position: absolute;
  left: 0px;
  top: -21px;
  width: 829px;
  height: 21px;
  background-image: url('img/bghead.png');  
}

#container_bottom {
  position: absolute;
  left: 0px;
  bottom: -21px;
  width: 829px;
  height: 21px;
  background-image: url('img/bgbottom.png');  
}

#menu {
  position: relative;
  width: 182px;
  min-height: 200px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 50px;
  background-image: url('img/menumid.png');
  font-size: 14px;
}

#menu_head {
  position: absolute;
  left: 0px;
  top: -40px;
  width: 182px;
  height: 40px;
  background-image: url('img/menuhead.png');  
}

#menu_bottom {
  position: absolute;
  left: 0px;
  bottom: -50px;
  width: 182px;
  height: 50px;
  background-image: url('img/menubottom.png');  
}

#menu a {
  display: block;
  height: 17px;
  color: #000000;
  text-align: right;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 2px;
  padding-right: 10px;
}

#menu a:hover {
  color: #FFFFFF;
  background-image: url('img/menusplash.jpg');
  background-position: right;
  background-repeat: no-repeat;
}

#eventstitle {
  color: #FFFFFF;
  background-color: #0011A2;
  padding-left: 10px;
  font-weight: bold;
  padding-top: 2px;
  padding-bottom: 2px;
}

#events {
  text-align: right;
}

#events a {
  color: #FF0000;
  font-weight: bold;
  text-decoration: none;
  margin-bottom: 2px;
  padding-right: 10px;
  font-size: 16px;
}

#events a:hover {
  color: #AA0000;
  background-image: none;
  text-decoration: underline;
}

#content {
  position: relative;
  width: 584px;
  min-height: 205px;
  padding-left: 10px;
  padding-right: 10px;
  margin-left: auto;
  margin-right: auto;
  margin-top: 40px;
  margin-bottom: 45px;
  font-size: 12px;
  background-image: url('img/contentmid.png');
}

#content_head {
  position: absolute;
  left: 0px;
  top: -40px;
  width: 604px;
  height: 40px;
  background-image: url('img/contenthead.png');  
}

#content_bottom {
  position: absolute;
  left: 0px;
  bottom: -45px;
  width: 604px;
  height: 45px;
  background-image: url('img/contentbottom.png');  
}


#header {
  position: relative;
  margin: auto;
  padding-top: 102px;
  padding-right: 20px;
  border: 2px #FFFFFF solid;
  width: 769px;
  height: 70px;
  background-image: url('img/header.jpg');
}


#header p {
  text-align: right;
  font-size: 34px;
}

#content table tr td {
  font-size: 12px;
}

.navigation {
  display: block;
  position: absolute;
  left: 10px;
  top: -20px;
  font-size: 12px;
}

.title {
  display: block;
  text-align: right;
  height: 22px;
  margin-right: -10px;
  padding-left: 50px;
  padding-right: 20px;
  float: right;
  color: #FFFFFF;
  font-size: 18px;
  font-weight: bold;
  background-image: url('img/headsplash.jpg');
  background-position: left;
  background-repeat: no-repeat;
  background-color: #0011A2;
}


.footer_bar {
  margin-left: 0px;
  margin-right: 0px;
  margin-top: 10px;
  padding: 0px;
  display: block;
  text-align: center;
}

.msg {
  margin-top: 20px;
  padding: 10px;
  border: 1px #0011A2 solid;
}
.avatardiv {
  float: left;
  padding: 5px;
  margin-top: 5px;
  margin-bottom: 5px;
  margin-left: 8px;
  margin-right: 8px;
  width: 90px;
  border: 1px #000000 solid;
}

.tablehead {
  margin-top: 25px;
  margin-left: -10px;
  margin-right: -10px;
  background-color: #2f46ff;
  color: #FFFFFF;
  position: relative;
  height: 18px;
}
.tablefoot {
  height: 2px;
  margin-left: -10px;
  margin-right: -10px;  
  background-color: #0011A2;
}

.tablefoot2 {
  height: 2px;
  margin-left: -10px;
  margin-right: -10px;  
  background-color: #AAAAAA;
}

.tabletitle {
  position: absolute;
  top: 2px;
  left: 20px;
  width: 400px;
  font-weight: bold;
  display: block;
}

.tabletitle2 {
  position: absolute;
  top: 2px;
  right: 20px;
  font-weight: bold;
  display: block;
}

.autorname {
  font-weight: bold;
  color: #0011A2;
}

.comments {
  text-align: right;
}

.newstable {
  position: relative;
}
.vote_1 {
  background-color: #2f46ff;
}
.vote_2 {
  background-color: #DDDDDD;
}