/**
 * @title:  Military Style 
 * @site:   militaryhistoricalcenter.org
 * @author: Emanuele "Zuck" Bertoldi
 * @email:  zuck@fastwebnet.it
 */

body {
    margin: 0;
    padding: 0;
    background: #593100; 
    font-family: "Trebuchet MS", Arial, Helvetica, sans-serif;
    font-size: 100.01%;
    font-size: 62.5%; /* 1em == 10px, 1.2em == 12px */
    font-weight: normal;
    color: #333333;
}

/**
 * Headers.
 */

h1, h2, h3, h4, h5, h6 {
    margin: 0;
    text-align: left;
    font-family: Georgia, "Times New Roman", Times, serif;
    font-weight: normal;
    color: #3e3e3e;
}

h1 {
    letter-spacing: -0.05em;
    font-size: 3.4em;
    line-height: 1em;
}

h2 { font-size: 2.0em; }

h2.title {
    clear: both;
    margin-bottom: 10px;
    background: #4a7b23 url(images/bg_title.gif) repeat-x bottom;
    border-right: 12px solid #f6961d;
    padding: 4px 10px 6px;
    font-size: 1.4em;
    color: #f6f6f6;
    text-transform: lowercase;
}

h2.title span { 
    color: #f6961d;
    padding-left: 26px;
    background: url(icons/arrow_title.gif) no-repeat left 0.1em;
}

h3 { font-size: 1.1em; }

h4 { 
    clear: both;
    padding-left: 8px;
    margin-top: 5px;
    margin-bottom: 5px;
    background: url(images/dotted.gif) repeat-x bottom;
    border-left: 12px solid #f6961d;
    font-size: 0.9em;
    text-align: right;
    text-transform: uppercase;
    letter-spacing: 0.2em;
}

h5 { font-size: 1.0em; }

h6 { font-size: 0.9em; }

/**
 * Paragraphs, lists and text blocks.
 */
 
p, ul, ol, dl, table { 
    margin: 10px 0;
    padding: 0;
}

p { 
    font-size: 1.0em;
    line-height: 1.6em;
    text-align: justify;
}

dl dl, ul, ol { margin-left: 10px; }

ul, dl {
    padding: 0;
    list-style: none;
    text-align: left;
}

ul li, dt {
    margin: 0;
    padding: 0;
    padding-left: 10px;
    background: url(icons/bullet_arrow_green.gif) no-repeat left 0.4em;
}

ol { padding-left: 20px; }

dt { 
    float: left; 
    clear: both;
}

dd { 
    margin: 0;
    text-align: right;
    background: url(images/dotted.gif) repeat-x left bottom;
}

blockquote {
    margin: 10px 10%;
    padding: 15px 20px;
    font-size: 1.4em;
    background: #f6f6f6 url(images/quote.gif) no-repeat bottom right;
    border: 1px solid #e6e6e6;
}

/**
 * Links.
 */

a {
    text-decoration: none;
	color: #593000;
}

a:hover, a:active {
    text-decoration: underline;
    color: #f6961d;
}

a:visited { color: #537731; }

hr { display: none;}

/**
 * Forms and input widgets.
 */

form, pre {
    margin: 0;
    padding: 12px;
    background: #f6f6f6 url(images/bg_menu_a.gif) repeat-x bottom;
    border: 1px solid #c6c6c6;
}

fieldset {
    margin: 0 0 10px;
    padding: 0 0 10px;
    border: none;
    border-bottom: 2px solid #593000;
    text-align: left;
} 

legend {
    padding-left: 8px;
    margin-bottom: 10px;
    background: url(images/dotted.gif) repeat-x bottom;
    border-left: 12px solid #f6961d;
    font-size: 1.0em;
    text-align: right;
    letter-spacing: 0.2em;
}

input, textarea, select, pre {
    font-size: 1.2em;
    color: #333333;
}

input, textarea, select { font-family: "Trebuchet MS", Arial, Helvetica, sans-serif; }

input { display: inline; }

input.text, input.password {
    width: 80%; 
    height: 1.4em; 
}

input.file { height: 2em; }

input.submit {
    padding: 0 5px 0 3px;
    cursor: pointer;
}

textarea { 
    width: 90%;
    height: 20em; 
}

select { height: 1.8em; }

/**
 * Tables and images. 
 */

table, img { 
    display: block;
    margin: 5px auto 10px;
    padding: 1px;
    border: 1px solid;
}

table { border-color: #1a2f04; }

tr { background: #f6f6f6 url(images/bg_menu_a.gif) repeat-x bottom; }

td { padding: 5px 10px; }

img { border-color: #c6c6c6; }

img.special { border: none; }

/**
 * Layout helping classes.
 */

.left {
    float: left;
    margin-right: 15px;
}

.right {
    float: right;
    margin-left: 15px;
}

/**
 * Generic info containers.
 */

.box, form {
    clear: both;
    margin-bottom: 15px;
    text-align: right;
}

/**
 * System messages.
 */

.warning, .info, .question, .error, .ok {
    padding: 5px 10px;
    border: 1px solid;
    border-left-width: 10px;
    background: repeat-x bottom;
}

.icon { display: none; }

.message {
    display: block;
    padding-left: 20px;
    background: no-repeat left 0.2em;
    text-align: left;
}

.warning {
    background-color: #fcfdbf;
    border-color: #f4ad25;
}

.warning .message { background-image: url(icons/icon_alert.gif); }

.error {
    background-color: #fde2da;
    border-color: #f42525;
}

.error .message { background-image: url(icons/action_stop.gif); }

.question, .info {
    background-color: #dce4f9;
    border-color: #23469d;
}

.question .message { background-image: url(icons/icon_info.gif); }

.info .message { background-image: url(icons/comment.gif); }

.ok {
    background-color: #eaffcb;
    border-color: #7baa0f;
}

.ok .message { background-image: url(icons/icon_accept.gif); }

/**
 * Special link elements.
 */
 
 input.submit, .go a, .navigator {
    background: #f6961d url(images/bg_menu_hover.gif) repeat-x bottom;
    border: 1px solid #593000;
    border-left-width: 12px;
    font-size: 1.1em;
 }

.go {
    float: left;
    width: 100%;
    border-top: 2px solid #593000;
    margin-bottom: 15px;
}

.go a {
    float: right;
    margin: 5px 0 0;
    padding: 1px 5px;
}

.highlight {
    display: block;
    margin: 5px 0;
}

.highlight a {
    margin: 0;
    padding-left: 8px;
    background: url(icons/bullet_arrow_green.gif) no-repeat left 0.5em;
}

/**
 * Text color for sub info.
 */

.meta, .tags { color: #868686; }

/**
 * Widget for a page navigation bar.
 */

.paginator { 
	clear: both;
	display: block;
	margin-top: 10px;
	padding-top: 5px;
	border-top: 2px solid #593000;
	text-align: center; 
}

.navigator {
	display: inline;
	float: left; 
}

.back { float: left; }

.forward { float: right; }

.first, .prev, .last, .next { padding: 1px 5px; }

.first, .prev {
    border-left-width: 1px;
    border-right-width: 12px;
}

.first a, .prev a {
    padding-left: 12px;
    background: url(icons/double_arrows_left.gif) no-repeat left 50%;
}

.last a, .next a {
    padding-right: 12px;
    background: url(icons/double_arrows_right.gif) no-repeat right 50%;
}

.first { margin-right: 5px; }

.last { margin-left: 5px; }

.counter { text-align: center; }

/**
 * Special link text color.
 */
 
.go a, .go a:hover, .go a:visited,
.navigator a, .navigator a:hover, .navigator a:visited,
#links a, #links a:hover, input.submit
{ color: white; }

/**
 * Image gallery widget.
 */

.gallery { 
    float: left;
    width: 100%;
}

.gallery table { 
    float: left;
    margin: 5px;
    margin-left: 0;
    margin-top: 0;
}

.gallery td, .gallery tr { padding: 0; }

.gallery tr { background: none; }

.gallery tfoot td { text-align: center; }

.gallery img { margin: 0 auto; }

/**
 * Special images.
 */
 
img.special {
    text-align: center;
    border: none; 
}

/**
 * Container.
 */
 
#container {
    float: left;
    width: 100%;    
    margin-bottom: 20px;
    background: #283814 url(images/bg_container.gif) repeat-x top;
    overflow: hidden;
    font-size: 1.1em;
}

#navigation, #content, #links, #legal {
    clear: both;
    float: left;
    width: 90%;
    padding: 0 5%;
}

/**
* Header.
*/

#header {
    float: left;
    width: 100%;
} 

#logo { 
    display: none; /*
    width: 800px;
    height: 140px;
    margin-bottom: -140px;
    margin-left: 5%;
    background: url(images/bg_logo.jpg) no-repeat top;*/
}

#logo img { display: none; }

/**
 * Navigation (menu and search widget).
 */

#navigation { 
    float: left;
    border-bottom: 10px solid #4a7b23;
    background: url(images/bg_logo.jpg) no-repeat center top;
}

/**
 * Menu.
 */

#menu {
    position: relative;  
    padding-top: 150px;
}

#menu ul { 
    position: absolute; 
    bottom: -10px; 
}

#menu li {
    display: inline;
    margin: 0;
    padding: 0;
    background: none;
}

#menu  li a {
    display: inline;
    float: left;
    margin-right: 5px;
    padding: 10px 20px;
    background: #f6f6f6 url(images/bg_menu_a.gif) repeat-x bottom;
    font-family: Georgia, "Times New Roman", Times, serif;
}

#menu li.active a, #menu li.active a:hover, #menu li.active a:visited { 
    background: #4a7b23 url(images/bg_menu_active.gif) repeat-x top;
    color: white;
}

#menu li a, #menu li a:hover { color: #333333; }

#menu li a:hover {
    background: #f6961d url(images/bg_menu_hover.gif) repeat-x bottom; 
    text-decoration: none; 
}

#menu li a:visited { border-color: #537731; }

#menu li a b {
    font-weight: normal;
    text-decoration: underline;
}

/**
 * Search.
 */

#search {
    display: inline;
    float: right;
    /*width: 19.5%;*/
    width: 30%;
    padding: 0;
}

#search form {
    padding: 20px 0 0;
    margin: 0 auto;
    background: none;
    border: none;
    /*text-align: center;*/
}

/**
* Content
*/

#content {
    clear: both;
    background: white url(images/bg_content.gif) repeat-x bottom; 
    border-bottom: 10px solid #f6961d; 
}

.sub {
    display: inline;
    float: left;
    padding: 30px 0;
    /*background: url(images/spacer.jpg) no-repeat top left;*/
}

/**
 * Main.
 */

#main {
    display: inline;
    float: left; 
    width: 53%;
    padding: 30px 0;
    margin-right: -77.5%;
    margin-left: 24.5%;
}

#main input.text, #main input.password { width: 40%; }

#main .entry { margin: 20px 0; }

/* Highlights */

#highlights { margin-top: 10px; }

#highlights .entry { margin: 10px 0; }

#highlights .events, #highlights .activities { width: 47.5%; }

#highlights .events { 
    display: inline;
    float: left;
}

#highlights .activities {
    display: inline; 
    float: right;
}

/**
 * Sub contents.
 */

#news { width: 21.5%; }

#quickbar { 
    width: 19.5%;
    margin-left: 59%;
}

/**
* Footer.
*/

#footer {
    float: left; 
    width: 100%;
    background: #593100 url(images/bg_footer.gif) repeat-x top;
}

#links { float: left; }

#links ul { 
    float: right;
    margin-top: 0;
    padding: 5px 20px 18px;
    background: #f6961d url(images/bg_links.gif) repeat-x bottom;
}

#links li { 
    display: inline;
    margin-right: 12px;
    background-image: url(icons/bullet_arrow_brown.gif);
}

#legal { 
    clear: both;
    font-family: Georgia, "Times New Roman", Times, serif;
    color: #e6e6e6;
}

#legal a { color: #f6961d; }

/**
* Debug only.
*/

.cake-sql-log { 
clear: both;
width: 100%;
}