/* General layout */
/*
body {
  padding: 3px;
}
form { 
  margin: 0px; 
}

img {
  border: 0px;
}
*/

/* General decor */  
body {
  background-color: #F1EFE7; 
}

#main_header {
  font-weight: bold;
  font-family: 'Verdana', 'Arial';
  text-align: center;
  margin-top: 0px;
}

hr {
	clear: both;
}

/* Background color for most elements */
.msg_form_header, .middle_button_panel, 
#options_panel, #page_selector, .msg_quote, .msg_header {
  background: #E1DFD7;
}

.big_button {
  background-color: #F1EFE7; 
}

/* Message view */
.msg_header {
  padding: 4px;
  margin: 16px 8px 0;
}

div.msg_quote {
  color: #800;
  padding-left: 14px;
  margin: 3px;
  border-left: 1px solid #FFFFFF;
  border-top: 1px solid #FFFFFF;
  border-right: 1px solid #D0D0BF;
  border-bottom: 1px solid #D0D0BF;
}

/* Message tree */
.level_0 {
  list-style-type:disc; 
}
.level_0 > li {
  margin-bottom: 20px;
}
.level_1 {
  list-style-type:circle;
  margin-bottom: 20px;
}
.level_2 {
  list-style-type:square; 
  list-style-position:inside; 
}
.level_1, .level_2 {
  margin-left: 7px;
  padding-left: 7px;
}

li.last_top_thread {
  padding-bottom: 10px;
  border-bottom: 2px solid #E1DFD7;
}
p.last_top_thread {
  width: 50%;
  height: 2px;
  background: #E1DFD7;
  float: left;
}

p.no_messages {
  font-size: 150%;
  font-weight: bold;
  color: #000;
  margin-bottom: 10em;
}

/* Plain message view layout */
.thread_info {
  margin-top: 0;
  font-size: 80%;
  font-family: 'Verdana', 'Arial', sans-serif;
}

.thread_info, .thread_info a {
  color: #777;
}

/* Message form */
.msg_form_header
{
  margin: 0px;
  text-indent: 10px;
}
#msg_form {
  display: table;
  margin: 40px auto 0;
  width: 620px;
  background: #FFFFFF;
  border: 2px solid #E1DFD7;
}
#form_error {
  padding: 3px;
  margin-bottom: 10px;
  background: #FF0000;
  font-size: 150%;
  color: #FFFFFF;
}
#no_message_form {
  margin: 20px 0px;
  padding: 3px;
  background: #FC0;
  color: #000;
  font-weight: bold;
}

/* Preview facility */
.preview_msg {
  margin-bottom: 10px;
  margin-right: 100px;
  background: #FFFFFF;
  border: 1px solid #008000;
  
}
.preview_info_line {
  background:  #008000;
  color: #FFFFFF;
  font-size: 85%;
  min-height: 1em;
  padding: 2px;
}


/* Top button panel */
#top_button_panel {
  height: 75px;
  vertical-align: top;
  margin-top: 5px;
  margin-bottom: 16px;
}

.big_button, .big_red_button {
  float: left;
  margin: 2px 3px;
  padding: 32px 0 2px;
  width: 72px;
  height: 38px;
  font-size: 10pt;
  font-weight: bold;
  font-family: 'Verdana', 'Arial';
  text-align: center;
  border: 2px solid #F1EFE7;
  background-position: 50% 3px;
  background-repeat: no-repeat;
}

.big_red_button {
  background-color: #FFC0C0;
}

.big_button:hover, .big_red_button:hover {
  border-left-color: #FFF7F0;
  border-top-color: #FFF7F0;
  border-right-color: #E1DFD7;
  border-bottom-color: #E1DFD7;
  text-decoration: none;
}

#btn_new_msg {
  background-image: url('img/icon_new_message.png');
}
#btn_forum_rules {
  background-image: url('img/icon_forum_rules.png');
}
#btn_ateist_site {
  background-image: url('img/icon_site_ateist.png');
}
#btn_msg_tree {
  background-image: url('img/icon_message_tree.png');
}
#btn_admin_cp {
  background-image: url('img/icon_admin_cp.png');
}
#btn_admin_logout {
  background-image: url('img/icon_admin_logout.png');
}
#del_msg_button {
  background-image: url('img/icon_msg_delete.png');
}

/* Middle buttons panel */
.middle_button_panel {
  text-align: center;
  padding: 4px;
}
.long_text_button {
  display: inline-block;
  width: 150px;
  text-align: center;
  background: #F0F7FF;
  border: 2px solid #F1EFE7;
}
.long_text_button:hover {
  border-left-color: #FFF7F0;
  border-top-color: #FFF7F0;
  border-right-color: #E1DFD7;
  border-bottom-color: #E1DFD7;
  text-decoration: none;
}
#close_thread_form {
  display: none;
}

/* Options panel */
#options_panel {
  margin: 10px 0px 30px ;
  padding: 2px;
}

#options_panel p {
  margin: 0px;
}

/* Page selector */
#page_selector {
  padding: 3px;
}

/* Page footer */
#footer {
  margin-top: 10px;
  border-top: 2px solid #DFD7CF;
  overflow: hidden;
}

.container {
  width: 200px;
}

.container a {
  float: right;
  margin-left: 5px;
}

#footer p {
  float: left;
  margin: 3px 7px;
  vertical-align: top;
  font-size: 8pt;
  font-family: 'Verdana', 'Arial';
  text-align: right;
  color: #808080;
}

#footer img {
  border: 0;
}

/* Moderator controls */
.moderator_panel {
  margin: 3px 0px;
  background: #FF8080;
}

.moderator_controls {
  background: #FF8080;
}

/* Control panel */
#forum_ro_form {
  text-align: center;
  margin: 10px 0px;
  border-bottom: 2px solid #DFD7CF;
}

#add_ip_form {
  margin: 10px 0px;
  border-bottom: 2px solid #DFD7CF;
}  

#add_ip_form input {
  margin-left: 30px;
}

.block_ip_line, .old_block_ip_line {
  position: relative;
  width: 500px;
  height: 26px;
  margin: 6px;
  background: #DFD7CF;
}

.block_ip_line input, .old_block_ip_line input {
  position: absolute;
  right: 0px;
  height: 26px;
}

.block_ip_line {
  color: #A0A0A0;
}

/* External blocks */
#right_ext_blocks {
  float: right;
  /* overflow: hidden; */
  width: 470px;  
}

#rle_468x60 {
  float: right;
  width: 468px;
  height: 60px;
}

#google_search {
  float: right;
  clear: right;
  margin-top: 28px;
  width: 380px;
  height: 64px;
  overflow: hidden;
  
  background: #F1EFE7;
  border-style: solid;
  border-width: 2px;
  border-color: #E1DFD7 #FFF7F0 #FFF7F0 #E1DFD7;
}

#faq_link, #rss_link {
  display: block;
  float: right;
  clear: right;
  margin-top: 10px;
}

#faq_link {
  width: 160px;
  height: 64px;
}

#faq_link img {
  border: 0;
}

#rss_link {
  border: 1px solid #E1DFD7;
  background: #FFF url('img/rss.png') no-repeat 2px 50%;
  margin: 8px 0;
  padding: 2px 6px 2px 48px;
  white-space: nowrap;
}

