@import 'reset.css';
@import 'layout.css';
@import 'fonts.css';
/*@import 'theme.css';*/
@import 'menu.css';
@import 'pagination.css';
@import 'legacy.css';
/*@import '../system/debug.css';*/

/* Global Style Rules */
body { background: #e2e2e2 url('/img/bg.gif') left top repeat; }

a,
a:active,
a:visited,
a:hover { text-decoration: none; color: #00E; }

/* Page Wrapper */
#wrapper { background-color: #f9f9f9; border-left: 1px groove #000; border-right: 1px groove #000; }

/* Site header */
#header { background-color: #FFF; }
#header img { float: left; margin-left: 10px; }
#header div { float: right; height: 100%; margin-right: 10px; }
#header div p { margin-top: 0; margin-bottom: 0; }

/* Main Page Content */
#page_content_body {}

/* Forms */
form {
	margin: 0 20px;
	padding: 0;
    min-width: 40%;
    max-width: 99%;
    width: 40%;
    width: auto !important;
}

fieldset {
    clear: both;
	border: 1px solid #ccc;
	margin-top: 30px;
	padding: 16px 20px;
}

fieldset legend { }

    fieldset fieldset {
    	margin-top: 0px;
    	margin-bottom: 20px;
    	padding: 16px 0;
    }
    
    fieldset fieldset legend { margin-left: 20px; }
    
    fieldset fieldset div { clear: left; margin: 0 20px; }

form div { clear: both; padding: .5em; vertical-align: text-top; }

    form div.input { color: #333; background-color: #eee; margin: 2px 0; }
    
    form div.required { color: #000; font-weight: bold; }
    
    form div.submit { border: 0; margin-left: 16em; }

label { float: left; text-align: right; }

label:after { content: ":"; }

div.checkbox label { float: none; text-align: left; }
div.checkbox label:after { content: ""; }

input,
textarea { margin-left: 10px; padding: 2px; width: auto; }

textarea { overflow: auto; }

select { vertical-align: text-bottom; margin-left: 10px; width: auto; }

select[multiple=multiple] { width: 78%; }

option { padding: 0 3px; }

input[type=checkbox] {
	clear: left;
	float: left;
	margin: 7px 6px 7px 2px;
	width: auto;
}

input[type=radio] { display: inline; width: 20px; }

input[type=button],
input[type=submit] {
	display: inline;
	padding: 2px 5px;
	width: auto;
	vertical-align: middle;
}

div.login div.submit input { width: 100px; }

input[type=hidden] { display: none; }



/* Tables */
table { background: #fff; border:1px solid #ccc; border-right:0; margin-bottom: 10px; width: auto; }
    th {
    	/*background: #f2f2f2 url('/img/box_header_bg.jpg') top left repeat-x;
    	border:1px solid #bbb;
    	border-top: 1px solid #fff;
    	border-left: 1px solid #fff;*/
        background-color: #86100E;
        color: #FFF;
        border-color: #FFF #BBB #BBB #FFF;
        border-style: solid;
        border-width: 1px;
    	text-align: center;
        /*vertical-align: middle;*/
        vertical-align: top;
        padding: 2px 4px;
        white-space: nowrap;
    }

        th a {
        	display: block;
            height: 100%;
            width: 100%;
        	text-decoration: none;
            color: #FFF;
        }
            th a:visited { text-decoration: none; color: #FFF; }
            th a:hover { text-decoration: underline; }

    table tr td {
    	background: #fff;
    	border-right: 1px solid #ccc;
    	padding: 4px;
    	text-align: left;
    	vertical-align: top;
    }
        table tr.altrow td { background: #e2e2e2; }

        td.actions { text-align: center; white-space: nowrap; }
            td.actions a { margin: 0px 2px; }
            td.actions a:hover { text-decoration: underline;}

/* Notices and Errors */
/* Session flash error messages */
div#flashError {
	clear: both;
    background-color: #e32;
    border: 1px solid #900;
    font-family: Courier, monospace;
	font-size: 140%;
	color: #fff;
    text-align: center;
}

/* Default session flash messages */
div.message {
	clear: both;
	color: #333;
    font-family: Courier, monospace;
	font-size: 140%;
	font-weight: bold;
	margin: 1em 0;
    text-align: center;
}

/* Error messages displayed on forms */
div.error-message {
	clear: both;
	color: #900;
    font-family: Courier, monospace;
	font-size: 120%;
	font-weight: bold;
    text-align: center;
}

.notice {
	background: #ffcc00;
	color: #000;
	display: block;
	font-family: Courier, monospace;
	font-size: 120%;
	line-height: 140%;
	padding: 0.8em;
	margin: 1em 0;
}

.success {
	background: green;
	color: #fff;
}

/* Site Footer */
div#footer { text-align: center; }
div#footer a { color: #000; }

/* Detail View Section */
div.view {}

/* Infobox Formatting */
div.infobox {
	display: block;
	margin: 10px;
	width: auto;
	border: 1px solid black;
	background-color: #fbeada;
}

div.infobox h3 {
	width: 100%;
	background: #f2f2f2 url('/img/box_header_bg.jpg') top left repeat-x;
	text-align: center;
    margin-bottom: 0;
}

div.infobox table { width: 100%; }

/*div.infobox ul { list-style-position: outside; list-style-type: disc; margin-left: 20px; }*/
