/********** MAIN STYLES **********/
/* fonts */
body, td, input, select, textarea, a {
  font-family: verdana, helvetica, arial, sans-serif;
  line-height: 130%;
}
body, td, table, h1, h2, h3, h4,
#category ul,
#menu ul {
  padding: 0;
  margin: 0;
}
body, td {
  color: #333;
}
body {
  font-size: 80%;
  background: #819fbe url("/images/common/bg_fade.jpg") repeat-x;
}
a img, table {
  border-width: 0;
}
table {
  width: 100%;
}

form {
  display: inline;
}
input,
select,
textarea {
  font-size: 11px;
}
a {
  font-size: 100%;
  text-decoration: underline;
}
a:link {
  color: #535140;
}
a:visited {
  color: #706d58;
}
a:hover {
  color: #333;
}
h1 {
  color: #3e5c80;
  font: bold 175% georgia, "times new roman", times, serif;
  margin-bottom: 15px;
}
h3 {
  color: #3e5c80;
  font: bold 135% georgia, "times new roman", times, serif;
}
h4 {
  color: #728CA7;
  font: bold 120% georgia, "times new roman", times, serif;
}
center .caption {
  margin-top: 7px;
}
.mid {
  vertical-align: middle;
}

/* clear float */
.clr:after {
  display: block;
  clear: both;
  height: 0;
  content: ".";
  visibility: hidden;
}
.clr { 
  display: inline-block; 
}

#wrap {
  position: relative;
  margin: 0 auto;
  padding: 0;
  text-align: left;
  width: 980px;
}

/* header */
#header_bar {
  height: 5px;
  margin-top: 12px;
}
#header {
  border-left: 4px solid #34454d;
  border-right: 4px solid #34454d;
  background: #faedcd;
}
#logo,
#tag {
  width: 100%;
  overflow: hidden;
}
#logo .left,
#tag .left {
  padding-left: 11px;
  text-align: left;
  float: left;
  width: 48%;
}
#logo .right,
#tag .right {
  padding-right: 11px;
  text-align: right;
  float: right;
  width: 48%;
}
#search {
  margin-top: 4px;
}
#search img,
#search input {
  vertical-align: middle;
}
#go {
  padding-left: 4px;
}

/* Categories */
#category {
  width: 100%;
  background: transparent url("/images/common/tab_line.gif") repeat-x bottom left;
  font-size: 99%;
}
#category ul {
  list-style: none;
  margin: 10px 0 0 13px
}
/* normal tab */
#category li {
  float: left;
  margin-left: 2px;
  background: transparent url("/images/common/tab_left.gif") no-repeat 0 0;
  voice-family: "\"}\"";
  voice-family: inherit;
  font-variant: small-caps;
}
#category a {
  float: left;
  display: block;
  margin-left: 4px;
  padding: 4px 20px 4px 16px;
  background: transparent url("/images/common/tab_right.gif") no-repeat right top;
  color: #535140;
  font-weight: bold;
  text-decoration: none;
  font-size: 110%;
}
/* ie wont read */
#category > ul a {width: auto;}
/* Commented Backslash Hack hides from IE5-Mac \*/
#category a {float: none;}
/* End IE5-Mac hack */

/* hover tab */
#category a:hover {
  color: #333;
}

/* line won't show up when no tabs are selected
   can fix in ff, but not ie... */
#category li.off {
  margin-bottom: 1px;
}
* html #category li.off {
  margin-bottom: 0;
}

/* active tab*/
#category li.on {
  color: #333;
  background-position: 0 -60px;
}
#category li.on a {
  color: #333;
  background-position: 100% -60px;
  padding-bottom: 5px;
}
#category li.on a:hover {
  color: #333;
}

/* main page */
#main {
  width: 978px;
  background: #f4e4da url("/images/common/main_fade.jpg") repeat-x;
  border-left: 1px solid #34454d;
  border-right: 1px solid #34454d;
  margin: 0;
}
/* main menu */
#menu,
#img_edit, 
#flash {
  float: left;
  display: inline;
  margin: 7px 5px 16px 2px;
  padding: 4px;
  voice-family: "\"}\"";
  voice-family: inherit;
  width: 214px;
}
#menu img {
  vertical-align: bottom;
}

#menu ul {
  float: left;
  list-style: none;
}
#menu li {
  float: left;
  padding-left: 0px;
  background: url("/images/common/menu_center.gif") 0 0 no-repeat;
}
#menu li.on {
  padding-left: 0px;
  background: url("/images/common/menu_center_hl.gif") 0 0 no-repeat;
}

#menu li.item .arrow {
  float: left;
  display: inline;
  height: 26px;
  width: 18px;
}
#menu li.parent .arrow {
  background: url("/images/common/arrows.png") 4px 0 no-repeat;
  cursor: pointer;
  outline: none;
}
#menu li.open .arrow {
  background: url("/images/common/arrows.png") 4px -28px no-repeat;
}
#menu li.item a {
  float: left;
  display: inline;
  width: 190px;
}
#menu li.cap {
  background-image: none;
}

#menu li a, 
#menu li a:visited {
  margin: 0;
  height: 16px;
  text-decoration: none;
  padding: 6px 6px 6px 0;
}

#menu li.child_menu {
  display: none;
}
#menu li.child_menu a, 
#menu li.child_menu a:visited {
  padding-left: 16px;
  width: 174px;
}


/* main content */
#content {
  float: left;
  display: inline;
  width: 735px;
  margin: 16px 11px 30px 0;
  background: #f9f5eb url("/images/common/content_fade_t.jpg") no-repeat;
}
#content_in {
  background: transparent url("/images/common/content_fade_b.jpg") bottom left no-repeat;
}
#content_dp {
  width: 695px;
  padding: 14px 20px;
  background: transparent url("/images/common/drop_shadow.gif") top right repeat-y;
}
.images #content_dp {
  width: 715px;
  padding: 14px 10px;
}
#main .full {
  margin: 16px 100px 30px 120px;
}

/* image view content varies */
#content_entire {
  text-align: center;
  margin: 12px 11px;
  background: #f9f5eb url("/images/common/content_fade_e.jpg") top left repeat-x;
  border: 2px solid #D9C497;
}
#content_entire h1 {
  margin-top: 12px;
  text-align: center;
}
#content_entire img {
  border: 1px solid #34454D;
  max-width: 900px;
}
#content_entire .paging img {
  border: 0;
}

/* proper content spacing */
#content p {
  margin-top: 10px;
}
#content ul {
  margin-left: 30px;
}
#content li {
  padding-bottom: 9px;
}
#content dl {
  margin-top: 10px;
}
#content dd {
  margin-left: 16px;
  padding-bottom: 7px;
}
#content .right {
  margin-left: 270px;
  list-style: none;
}
#content .right li {
  padding: 15px 0;
  border-bottom: 1px solid #ccd;
}
#content blockquote {
  margin-left: 15px;
}
#content cite {
  display: block;
  margin-left: 15px;
  font-weight: bold;
  font-size: 90%;
}

/* img/highlight class */
.highlight {
  color: #728CA7;
}
.center {
  text-align: center;
}
.img_border {
  border: 1px solid #34454D;
}
.img_left {
  float: left;
  margin: 10px 20px 10px 0;
}
.img_right {
  float: right;
  margin: 10px 0 10px 20px;
}
.img_pad {
  margin: 10px 0;
}
.pullquote {
  display: block;
  width: 260px;
  margin: 10px 0 10px 10px;
  padding: 8px 8px 8px 12px;
  float: right;
  background-color: #E0DEC7;
  color: #666;
  font: bold 95% georgia, arial, verdana, helvetica, sans-serif;
  border-left: 1px dashed #666;
}
.caption {
  color: #728CA7;
  font-variant: small-caps;
}
.underline {
  text-decoration: underline;
}

#modify_links {
  width: 100%;
}
#modify_links .left, 
#modify_links .right {
  width: 48%;
  margin: 0;
}
#modify_links .right {
  float: right;
  text-align: right;
}

/* document modify */
#doc_modify textarea,
#doc_modify .wide_field {
  width: 95%;
  margin-bottom: 7px;
}
#doc_modify input {
  vertical-align: middle;
  margin-right: 5px;
}
#doc_modify {
  margin-top: 4px;
}

#content ul,
#content ol {
  margin-top: 6px;
}

/* ration tables */
#rations th {
  background-color: #E6D2B7;
}
#rations td {
  background-color: #F9EBCE;
}
#rations td, th {
  padding: 6px;
}

/* login */
#login_form {
  margin: 20px 0;
}

/* medals table */
#medals td,
#medals tr {
  background-color: transparent;
  padding: 0;
  margin: 0;
}

/* trench journal */
#pilule h3 {
  margin-top: 10px;
}
#pilule h4 {
  margin: 5px 0 0 15px;
}
#pilule dl {
  margin: 5px 0 0 35px;
}
#pilule dt {
  font-weight: bold;
}

/* images */
.lbl {
  padding-right: 4px;
  text-align: right;
}
.submit {
  padding-top: 8px;
}
#submit_img div {
  padding: 10px;
}
.thumb {
  width: 133px;
  height: 143px;
  text-align: center;
  float: left;
  padding: 0 5px 10px 5px;
}
.thumb img {
  width: 130px;
  height: 98px;
  border: 1px solid #34454D;
}
#content .thumb p {
  margin: 4px;
  font-size: 85%;
}

/* editing images */
#img_edit {
  margin-top: 15px;
}
#img_edit div {
  background: #f9f5eb url("/images/common/content_fade_e.jpg") top left repeat-x;
  border: 1px solid #D9C497;
  padding: 7px;
}
#flash {
  margin-bottom: 0;
  padding-bottom: 0;
}
#flash div {
  background: #f9f5eb url("/images/common/content_fade_e.jpg") top left repeat-x;
  border: 1px solid #D9C497;
  padding: 7px;
  margin-bottom: 0;  
  font-weight: bold;
  color: #3e5c80;
} 

#img_title, 
#img_desc, 
#img_year {
  width: 97%;
}
.small {
  font-size: 90%;
}

/* site map */
#sitemap ul {
  margin: 3px 0 10px 15px;
}
#sitemap ul li ul {
  margin: 2px;
}

/* html tutorial */
.code {
  color: red;
}

/* search page */
#srch {
  margin: 15px 0 30px 0;
}
#srch table {
  margin: 15px 0;
}
.term {
  width: 370px;
}
#srch_tips {
  padding-top: 20px;
}
#srch_stops {
  font-style: italic;
  padding: 8px 0;
  color: #777;
}
#srch_cnt {
  padding: 4px;
  background-color: #fbeece;
  border: 1px solid #d9c497;
  border-width: 1px 0;
}
.srch_box {
  background: #f9f5eb url("/images/common/content_fade_e.jpg") top left repeat-x;
  border: 1px solid #D9C497;
  padding: 7px;
  margin-bottom: 8px;
}
.srch_num {
  text-align: right;
  padding-right: 4px;
}
.srch_context td {
  padding-bottom: 15px;
}
.srch_url {
  font-size: 90%;
}
/* search highlighing */
.srch_hl {
  background-color: #dae1e7;
}

/* footer */
#footer {
  width: 976px;
  padding: 1px;
  background-color: #f4e4da;
  border: 1px solid #34454d;
  border-top-width: 0;
}
#footer_in {
  display: block;
  padding: 6px;
  text-align: right;
  background-color: #e3d0b1;
  margin: 2px 3px;
}
