@charset "utf-8";

/**
 * @title       App Global CSS
 * @copyright   Copyright (C) 2010, Stuart Silvester
 * @package     Croshall Engineering Asset Manager 2
 * @author      Stuart Silvester
 * @version     1.0
 */

body {
    background-color: #FAFAFA;
    font-family: Verdana, Tahoma, Geneva, sans-serif;
    font-size:62.5%;
    margin: 0px;
    color:#333;
}
div#headerNav{
    height: 179px;
    background-repeat: repeat-x;
    background-image: url(../../public/template_images/full/header_bg.png);
}
.hide {
    display: none;
}
div#header, div#content_wrapper, div#footer, div#menu, div#footerEnd, div#navigation {
    margin-right: auto;
    margin-left: auto;
    width: 1000px;
}
#navigationBG {
    background-color: #000000;
}

#navigation { /*Main Nav bar*/
    /*clear: both;*/
    /*position:relative;*/
    background-color: #000000;
    text-align: center;
    font-weight: bold;
    padding-top: 8px;
    font-size: 1.1em;
    /*width: 100%;*/
}

#navigation ul {
    margin: 0;
    padding: 0;
}

* html #navigation ul li{
    display: inline;
    padding-bottom: 5px;
}

*:first-child+html #navigation ul li {
    display: inline;
    padding-bottom: 5px;
}

#navigation ul li {
    display: inline-block;
    margin-left: 10px;
}

#navigation ul li a {
    color: #FFFFFF;
    text-decoration: none;
}

#navigation ul li a:hover{
    color: #c40202;
    text-decoration: none;
}
#navigation #selected {
    background: url(../../public/template_images/full/tab_left.gif) no-repeat top left;
    padding: 5px 0 5px 5px;
}

#navigation #selected a {
    background: url(../../public/template_images/full/tab_right.gif) no-repeat top right;
    padding: 5px 5px 5px 0;
}

#navigation #selected a:hover {
    color: #FFF;
    text-decoration: underline;
}
#navigation ul li ul li a
{
    background: none !important;
}
#navigation ul li ul li
{
    text-align: center;
    font-weight: bold;
    padding-top: 0.5em;
    padding-bottom: 0.33em;
    height: 1.66em !important;
    font-size: 0.9em;
	position: relative;
}
#navigation ul li ul{
    position: absolute;
	left: 26%;
    top: 156px;
}
#navigation ul li ul {
    display: none;
}
#navigation #selected ul {
    display: inline-block !important;
}

/*TEMP*/
div#content {
    width: 880px;
    padding: 10px;
    margin-bottom: 10px;
    text-align: left;
    margin-left: 50px;
}
div#content_wrapper{
    font-size: 1.2em;
	line-height: 1.5em;
    background-image: url(../../public/template_images/full/body-bg.jpg);
    background-repeat: repeat-y;
    background-position: top;
}
div#content_wrapper li, div#content_wrapper ul{
    margin: 5px 5px 5px 10px; padding: 0px;
}
.status h1, .status h2, .status h3
{
    color: #000;
}
div#header{
    height: 125px;
    width: 923px
}
div#header span#links{
    float:right;
    line-height: 123px;
    color:#FFFFFF;
    font-size: 1.4em;
}
dt{
    font-weight: bold;
}
div#header span#links a{
    font-weight: bold;
    color: #FFFFFF;
    text-decoration: none;

}
div#header span#links a:hover{ text-decoration: underline; }
div#header img{
    display: block;
}
h1, h2, h3{
    font-weight: normal;
    margin-bottom: 5px;
    color:#690000;
}
h1{
    font-size: 1.7em;
    margin-top: 5px !important;
	margin-bottom: 10px;
}
h2{
    font-size: 1.4em;
}
h3{
    margin-top: 0px;
    font-size: 1.2em;
    color: #FFFFFF;
    padding: 2px;
    background-color: #800000;
    background-repeat: repeat-x;
    background-image: url(../../public/template_images/full/subnav-bg.png);
}
h3 a{
    color:#FFF !important;
	float: right;
	font-weight: normal !important;
	font-size: 0.85em;
	margin-right: 5px;
}
div#footer{
    text-align: center;
    background-color: #131212;
    color: #FFFFFF;
    width: 899px;
    padding: 10px;
    font-size: 0.8em;
}
div#footerEnd
{
    height: 43px;
    background-image: url(../../public/template_images/full/footer-bg.jpg);
    background-repeat: no-repeat;
    background-position: bottom;
}
div#map{
    width: 400px;
    height: 300px;
    float: right;
    border: 1px solid #333;
    margin-left: 5px;
}
div#content h2, div#content h3{
    text-transform: capitalize;
}
div#content_wrapper a{
    font-weight: bold;
    font-style: italic;
    color: #27343C;
    text-decoration: none;
}
div#content_wrapper a:hover{
    color: #000000;
    text-decoration: none;
}
div#content a:hover{
    color: #333;
    text-decoration: underline;
}
div#content .status{
    padding: 6px;
    border: 1px solid;
    padding-left: 40px;
    margin-bottom: 6px;
    margin-right: 5px;
    font-size: 1.2em;
    background-repeat: no-repeat;
    background-position: 13px center;
}
div#content .status ul{
    padding: 0px;
    margin: 0px;
    list-style-type:none;
}
div#content .status h2{
    margin: 0px;
    font-size: 1.2em;
}
label.error{
    display: block;
    color: #C00;
    background-image: url(../../public/icons/exclamation.png);
    background-repeat: no-repeat;
    background-position: 2px center;
    margin-left: 150px;
    padding-left: 20px;
    line-height: 20px;
    margin-bottom: 5px;
}
div#content div#announcement.status, div#content div#caution.status
{
    background-color: #F9F5E7;
    background-image: url(../../public/icons/error.png);
    border-color:#F4D346;
    color: #BC6004;
}
div#content .status li
{
    margin: 0px;
    padding: 0px;
}
p{
    margin-top: 0px;
    padding-top: 0px;
    margin-bottom: 10px;
}
div#announcement h2{
    font-weight: bold;
    color: #BC6004;
}
div#content div#warning.status {
    background-color: #FABCAD;
    background-image: url(../../public/icons/exclamation.png);
    border-color:#BB3B23;
}
div#content div#good.status {
	background-color: #E6F7DD;
	border-color: #9DD92F;
    background-image: url(../../public/icons/accept.png);
}
a img{
    border: 0px;
    vertical-align: middle;
}
div .cb{
    clear: both;
}
/* page numbers */
div#page_links{
    text-align: right;
    line-height: 2em;
}
div#page_links a {
    color: #690000;
    background-color:#E0DFDF;
    -moz-border-radius: 2px;
    line-height: 1.5em;
    padding-top: 2px;
    padding-right: 5px;
    padding-bottom: 2px;
    padding-left: 5px;
    margin-left: 1px;
    text-decoration: none;
}
div#page_links a:hover{
    color: #EBF5FE;
    background-color:#690000;
}
div#page_links a#selected{
    border: 1px solid #690000;
}
/* site-by info below */
div#site-by a{
   /*color: #496372;*/
   color: #999999;
   text-decoration: none;
}
div#site-by{
    text-align: center;
    margin-bottom: 5px;
    color: #496372;
}
div#site-by a:hover{
    color: #333333;
}
label.txt{
    font-weight:bold;
    float: left;
    width: 150px;
}
form {
    margin: 0px;
}
form ul {
    padding: 0px;
    margin: 0px;
    margin-left: 5px;
}
form li {
    list-style-type: none;
    clear:both;
}
legend{
    font-style: italic;
}
input.wide, textarea, select.wide{
    width: 75%;
    font-family: Verdana, Geneva, sans-serif;
}
input.error, textarea.error
{
    background-color: #FFECE6;
    color: #CC0000;
    border: 1px solid #CC0000 !important;
}
.halfWidth input.wide, .halfWidth textarea{
    width: 55%;
}
form{
    width: auto;
}
form div#submit
{
    margin: 4px;
    text-align: center;
}
form div#submit input{
    background-color: #690000;
    background-image: url(../../public/template_images/full/subnav-bg.png);
    color: #FFF;
    border: #000 1px solid;
    width: auto;
    padding: 2px;
    padding-left: 5px;
    padding-right: 5px;
}
/* debug */
#debug{
    background-color: #000;
    color: #FFF;
}
#debug-box{
    /* put time/ram details in top right */
    position:fixed;
    top:0px;
    right:0px;
    background-color:#000;
    color:#FFF;
    padding:2px;
}
h1#debug, h2#debug, h3#debug{
    font-weight: bold;
}
h1#debug, h2#debug, h3#debug, ol#debug, ul#debug{
    margin: 0px;
}
ul#debug
{
    padding-left: 40px;
}
ol#debug table{
    margin-bottom: 10px;
}
p .small
{
    font-size: 0.9em;
}
em a, em
{
    color: #999999 !important;
}
em{
    line-height: 1.5em;
}
table.gen td {
    background-color: #FAFAFA;
    vertical-align: top;
    padding: 2px;
    border-bottom: #CCCCCC 1px solid;
    vertical-align: middle;
}
table.gen {
    width: 100%;
}
table.gen th {
    background-color: #800000;
    background-repeat: repeat-x;
    background-image: url(../../public/template_images/full/subnav-bg.png);
    font-weight: bold;
    height: 22px;
    color: #FFF;
    padding-left: 2px;
    text-align: center;
}
table .center{
    text-align: center;
}
div.halfWidth
{
    width: 49%;
	overflow: hidden;
}
div.floatLeft
{
    float: left;
}
div.floatRight
{
    float: right;
}
/** autosuggest **/
.ac_results {
	padding: 0px;
	border: 1px solid black;
	background-color: white;
	overflow: hidden;
	z-index: 99999;
}

.ac_results ul {
	width: 100%;
	list-style-position: outside;
	list-style: none;
	padding: 0;
	margin: 0;
}

.ac_results li {
	margin: 0px;
	padding: 2px 5px;
	cursor: default;
	display: block;
	/*
	if width will be 100% horizontal scrollbar will apear
	when scroll mode will be used
	*/
	/*width: 100%;*/
	font: menu;
	font-size: 12px;
	/*
	it is very important, if line-height not setted or setted
	in relative units scroll will be broken in firefox
	*/
	line-height: 16px;
	overflow: hidden;
}

.ac_loading {
	background: white url('../../public/template_images/full/ajax-loader.gif') right center no-repeat;
}

.ac_odd {
	background-color: #eee;
}

.ac_over {
	background-color: #6A0000;
	color: white;
}
.searchToolbar{
    line-height: 22px;
}
.searchToolbar a{
    margin-right: 10px;
}
/* Sidebar */
div.sidewrap
{
    float: left;
    clear: left;
	display: none;
	margin-left: 50px;
	margin-bottom: 10px;
	width: 160px;
}
div.sidewrap ul, div.sidewrap li{
    margin: 0px !important;
    padding: 0px !important;
}
div.sidewrap li{
    list-style-type:none;
    line-height: 1.5em;
    margin-bottom: 5px !important;
}
abbr{
	cursor: help;
	border-bottom: 1px dashed grey;
}

/*
ON page help
*/
#onPageHelp
{
	padding: 2px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #E6F7DD;
	border: 1px solid #9DD92F;
	margin-bottom: 3px;
	-moz-border-radius: 5px;
}
#onPageHelp img
{
	vertical-align: middle;
}
div#onPageHelp a:hover
{
	text-decoration: none;
}
.help
{
	padding: 2px;
	padding-left: 5px;
	padding-right: 5px;
	background-color: #E6F7DD;
	border: 1px solid #9DD92F;
	margin-bottom: 3px;
	-moz-border-radius: 5px;
}

/* New Company Selector */
.companySelect{
	display: block;
	width: 194px;
	height: 25px;
	float:right;
	position: fixed;
	top: 20px;
	right: 20px;
}
.companySelect li{
	display: inline-block;
	list-style:none;
	margin: 0 !important;
	position: relative;
}
.companySelect ul{
	margin: 0 !important;
}
.companySelect a
{
	height: 25px;
	text-align: left;
}
.companySelect li.company, .companySelect a.openMenu{
	overflow: hidden;
	background: url(../template_images/full/company_select.png) left top no-repeat;
	display: inline-block;
	float: left;
	height: 25px;
}

.companySelect li.company{
	background-position:-0px -0px;
	width: 167px;
	line-height: 24px;
	padding-left: 5px !important;
	color: #690000;
	font-weight: bold;
}

.companySelect a.openMenu{
	width: 22px;
	background-position:-172px -0px;
	text-indent: -200px;
}

.companySelect a.openMenu:hover{
	background-position:-172px -25px;
}
.companySelect .hiddenMenu{
	border: 1px solid #787878;
	border-radius: 4px;
	position: absolute;
	top: 26px;
	left: -172px;
	width: 182px;
	-moz-border-radius: 4px;
	background-image: none;
	background-color: White;
	padding: 5px !important;
	padding-top: 0px !important;
	margin: 1px;
	display: block;
	float: left;
   -moz-box-shadow: 0 0 4px #000;
   -webkit-box-shadow: 0 0 4px #000;
   box-shadow:0 0 4px #000;
}

.companySelect .hiddenMenu li{
	font-size: 0.9em;
	height: 1.9em;
	line-height: 1.9em;
	display: block;
	list-style:none;
}
.companySelect .hiddenMenu li a{
	color: #3669B5;
	text-decoration: none;
	display: block !important;
}
.companySelect .hiddenMenu li a:hover{ color: #1D3861; }
.companySelect .hiddenMenu li{
	border-bottom-width: 1px;
	border-bottom-style: solid;
	border-bottom-color: #D9D9D9;
}
