/* *********************** NEUTRALIZE STYLING **************************** */
html, body, form, fieldset {
	font: 100%/120% Verdana, "Lucida Grande", Tahoma, Helvetica;
	margin: 0;
	padding: 0;
}

/* Neutralize styling: 
   Elements with a vertical margin: */
h1, h2, h3, h4, h5, h6, p, pre,
blockquote, ul, ol, dl, address {
	margin: 1em 0;
	padding: 0;
}

/* Apply left margin:
   Only to the few elements that need it: */
li, dd, blockquote {
	margin-left: 1em;
}

/* Miscellaneous conveniences: */
form label {
	cursor: pointer;
}
fieldset {
	border: none;
}

/* Form field text-scaling */
input, select, textarea {
	font-size: 100%;
}

/* *********************** COMMON ELEMENTS **************************** */

body
{
	background-color: #8b0f04;
}

p, blockquote, li, h3
{
	text-align: left;
}

blockquote
{
	margin-left: 20px;
	margin-right: 0px;
}

a
{
	border-bottom: solid 1px #8b0f04;
	color: #8b0f04;
	text-decoration: none;
	outline: none;
}
a:hover {
	color: #fff;
	background-color: #8b0f04;
}

h1
{
	color: #ba0e00;
	text-decoration:none;
	font-family: Georgia, Times, Serif;
	font-size: 2em;
	font-weight: normal;
}

h2
{
	color: #ba0e00;
	font-family: Georgia, Times, Serif;
	font-size: 1.5em;
	font-weight: normal;
	line-height: 1em;
}

h3
{
	color: #ba0e00;
	font-weight: normal;
}

h3 a
{
	border: 0px;
	font-weight: normal;
	font-family: Georgia, Times, Serif;
	font-size: 1.2em;
}

h1 a, h2 a
{
	border: 0px;
}

/* *********************** HEAD **************************** */
#head
{
	border-bottom: solid 4px #f7954a;
	position: relative;
	text-align: left;
	height: 86px;
}

#head h1#logo {
	float: left;
	margin: 0;
}

#head h1#logo a
{
	background: transparent url(common/images/datainmotion_logo.gif) no-repeat top left;
	display: block;
	height: 80px;
	margin-left: 20px;
	overflow: visible;
	text-indent: -9999px;
	width: 299px;
}
h1#logo a:hover
{
	text-decoration: none;
}

#accessibility
{
	position: absolute;
	top: -10000px;
}

#head-secondary
{
	font-size: .7em;
	line-height: 1em;
	position: absolute;
	right: 25px;
	text-align: right;
	top: 0;
}
#head-secondary form
{
	clear: both;
	position: relative;
}
#head-secondary form p
{
	position: absolute;
	right: 0;
	text-align: left;
}

/* *********************** SITE CONTAINTER **************************** */
#container
{
	border-top: solid 1px #fff;
	background: #fff url(common/images/content_bg.gif) bottom left no-repeat;
	margin-left: auto;
	margin-right: auto;
	width: 800px;
}


/* *********************** PRIMARY NAV **************************** */
ul#primary-nav
{
	float: left;
	list-style: none;
	margin: 63px 0 0 30px;
	overflow: visible;
	position:  relative;
	_position: absolute;  /* makes IE work */
}
ul#primary-nav li
{
	float: left;
	margin: 0 5px 0 0;
	overflow: visible;
	position: relative;
	_width: 1%;
	white-space: nowrap;
}
ul#primary-nav li a
{
	color: #f7954a;
	background-color: #ba0e00;
	font-size: .8em;
	border-bottom: none;
	display: block;
	padding: 2px 5px;
}
ul#primary-nav li a:hover
{
	color: #f2f2f2;
	border-bottom: none;
	display: block;
	text-decoration: underline;
}
body#default ul#primary-nav li a#nav-home { color: #f2f2f2; background-color: #f7954a; }
body#news ul#primary-nav li a#nav-news { color: #f2f2f2; background-color: #f7954a; }
body#services ul#primary-nav li a#nav-services { color: #f2f2f2; background-color: #f7954a; }
body#surveillance ul#primary-nav li a#nav-services { color:  #f2f2f2; background-color:  #f7954a; }


ul#primary-nav li ul
{
	background-color: #ba0e00;
	border-bottom: 1px solid #f7954a;
	display: none;
	left: -1px;
	position:  absolute;
	top: 6px;
	}
	ul#primary-nav li ul li
	{
		background: transparent;
		border-right: 1px solid #f7854a;
		display: block;
		float: none;
		list-style:  none;
		margin: 0;
		padding: 0;
		position: relative;
		width: auto;
		}
		ul#primary-nav li ul li a
		{
			color: #f7954a;
			background-color: #ba0e00;
			border-bottom: none;
			display: block;
			float: none;
			font-size: .8em;
			_height: 1%;
			line-height: 1.6em;
			margin:  0;
			padding: 0 10px;
			width: auto;
			}
			ul#primary-nav li ul li a:hover {
				border: none;
				background-color: #f7954a;
				color: #f2f2f2;
				line-height: 1.6em;
				}
	/* display dropdown */
	ul#primary-nav li:hover ul,
	ul#primary-nav li.over ul {
		display: block;
		}

/* *********************** SECONDARY NAV **************************** */
ul#secondary-nav
{
	list-style: none;
}
ul#secondary-nav li
{
	float: left;
	margin: 2px 0 2px 10px;
}
ul#secondary-nav li a
{
	display: block;
}


/* *********************** PRIMARY CONTENT **************************** */
#content
{
	background-color: transparent;
	background-image: url(common/images/overlay.png);
	_background-image: url(common/images/blank.gif);
	_filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="common/images/overlay.png", sizingMethod="scale");
	_height: 1px; /* because IE needs this to display transparency */
	margin-left: 25px;
	margin-right: 355px;
	margin-bottom: 60px;
	padding: 15px 10px;
}
body#contact #content {
	_filter: none;
}
#content a {
	position: relative; /* allows IE to have clickable links when using transparent PNGs */
}
body#about #content,
body#news #content, 
body#services #content, 
body#search #content, 
body#faq #content, 
body#jobs #content, 
body#contact #content,
body#surveillance #content {
	font-size: .8em;
	margin-right: 225px;
}
body#privacy #content {
	font-size:  .8em;
	margin-right: 35px;
}

#content li, #sidebar li {
	list-style-image: url(common/images/bullet_li.gif);	
}

/* *********************** SECONDARY CONTENT **************************** */
#sidebar
{
	float: right;
	margin-left: 5px;
	padding-right: 20px;
	padding-top: 15px;
	width: 305px;
	\width: 325px;
	w\idth: 305px;
}
body#about #sidebar, 
body#news #sidebar, 
body#services #sidebar, 
body#search #sidebar, 
body#faq #sidebar, 
body#jobs #sidebar, 
body#contact #sidebar,
body#surveillance #sidebar {
	width: 160px;
	\width: 180px;
	w\idth: 160px;
}

#sidebar p, #sidebar a {
	font-size: .8em;
}

#sidebar a
{
	border: 0px;
	color: #ba0e00;
}
#sidebar a:hover 
{
	background-color: transparent;
	border-bottom: solid 1px #ba0e00;
	color: #ba0e00;
}

/* *********************** FOOTER **************************** */
#foot
{
	background-color: #ba0e00;
	clear: both;
	color: #f2f2f2;
	font-family: "Lucida Grande", "Lucida Sans Unicode", Tahoma, Helvetica;
	font-size: .7em;
	margin-top: 10px;
	padding: 5px 0;
}
#foot p
{
	text-align: center;
	margin: 0;
	padding: 0;
}
#foot a:link, #foot a:active, #foot a:visited {
	border-bottom-color: #f2f2f2;
	color: #f2f2f2;
}
#foot a:hover {
	background-color: #f7954a;
	border-bottom-color: #f7954a;
	color: #8b0f04;
}

/* *********************** GLOBAL ELEMENTS **************************** */
.posted-on {
	color: #999;
	font-size: .8em;
	font-style: italic;
	margin-top: 0;
}
.right {
	float: right;
	margin: 5px;
}
.left {
	float: left;
	margin: 5px;
}
.full-scoop {
	font-size: .8em;
	margin-top: 0;
	margin-bottom: 20px;
}
div.separator
{
	background: transparent url(common/images/dotted-line.gif) repeat-x 0 0;
	clear: left;
	height: 1px;
}

/* *********************** SERVICES AND surveillance **************************** */
body#services div#content h2,
body#surveillance div#content h2 {
	font-size: 1.8em;
}
body#services div#content h3,
body#surveillance div#content h3 {
	font-size: 1.4em;
	font-weight: bold;
	padding-top: 10px;
}

/* *********************** CLEARFIX **************************** */
.clearfix:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}

.clearfix {display: inline-table;}

/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */