/*
    Document   : Global Stylesheet
    Created on : 11-Oct-2010, 12:44:21
    Author     : Tom Hallam
    Description:
        Global styles for the Capital Services Application
*/

/*
    GLOBAL PAGE STYLES
*/

.ui-autocomplete-category {
    font-weight: bold;
    padding: .2em .4em;
    margin: .8em 0 .2em;
    line-height: 1.5;
}
.red {
	color:#ff0000;
}
.star { background-image: url(/common/images/icons/star_grey.png); width: 16px; height: 16px; display: block; }
.star:hover { background-image: url(/common/images/icons/star_hover.png); cursor: pointer; cursor: hand; }

.star.starred { background-image: url(/common/images/icons/star.png); }

.suggest_input {
    color: #B3B4BD;
}

.suggest_input.live {
    color: #333;
}

.small {
    font-size: 11px;
    color: #333;
}

.float_left { float: left; }
.float_right { float: right; }
.clear_both { clear: both; }
.info { margin-bottom: 1em; background-color: #fdf5ce; border: 1px solid yellow; padding: 0.5em; font-size: 77%; }

strong { font-weight: bold; }

h1, h2, h3 {
    color: #333;
    margin-bottom: 1em;
    font-weight: bold;
}

h1 {
    font-size: 170%;
}

h2 {
    font-size: 150%;
}

h3 {
    font-size: 130%;
}

h4{
    font-size: 100%;
    font-weight: bold;
}

input[type=button], input[type=submit] {
    padding: 0.5em;
}

input[type=submit] {
    font-weight: bold;
}

.color {
    width: 8px;
    height: 8px;
    border: 1px solid #000;
    display: inline-block;
    margin-right: 0.5em;
    -moz-border-radius: 4px;
}

/*
    Class for li containing buttons
*/
li.buttons {
    border-top: 1px solid #e7e7e7;
    padding-top: 1em;
}

/*
    DIALOG CLASSES
*/

.ui-dialog label {
    display: inline-block;
    width: 150px;
}

.ui-dialog form {
    font-size: 85%;
    width:350px;
    font-family: arial;
}
.ui-dialog form select,
.ui-dialog form input
{
    width:140px;
}

.ui-dialog form input[type=checkbox] {
    width: 30px;
}

.ui-dialog .error {
    padding: 0.5em;
    font-weight: bold;
    color: #f00;
}

/*
    GLOBAL TEMPLATE STYLES
*/

html {
  background-color: #e7e7e7;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 85%;
}

#wrapper {
    margin-top: 2em;
    margin-left: auto;
    margin-right: auto;
    margin-bottom: 2em;
    border: 1px solid #666;
    background-color: #fff;
    width: 950px;
    border-radius: 6px;
    min-height: 700px;
    box-shadow: 0 0px 10px #999;
}

#wrapper #header {

}

#wrapper #header #logostrip {
    padding: 2em;
}

#wrapper #header #logostrip #logo {
    float: left;
}

#wrapper #header #logostrip #user {
    float: right;
    margin-top: 0.8em;
    margin-left: 2em;
    margin-right: 3px;
}

#wrapper #header #logostrip #search {
    float: left;
    margin-left: 147px;
}

#wrapper #header #logostrip #top_panel {
    clear: both;
    float: right;
    width: 500px;
    padding: 1em;
    margin-bottom: -6.8em;
    background-color: #fff;
    font-size: 77%;
    border-left: 5px solid gold;
    border-top: 5px solid gold;
    border-right: 5px solid gold;
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#wrapper #header #logostrip #top_panel .ui-button {
    font-size: 85%;
}

#wrapper #header #logostrip #top_panel strong {
    font-weight: bold;
}

#wrapper #header #tabs {

}

#wrapper #header #tabs #tablist {

}

#wrapper #header #tabs #tablist ul {
    padding-left: 2em;
}

#wrapper #header #tabs #tablist ul li {
    float: left;
}

#wrapper #header #tabs #tablist ul li a {

    background-color: #e7e7e7;
    padding: 1em;
    margin-right: 0.5em;
    display: block;
    text-decoration: none;
    color: #333;
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    font-size: 14px;

}

#wrapper #header #tabs #tablist ul li a.selected {
    background-color: gold;
    color: #000;
    font-weight: bold;
}

#wrapper #header #tabs #tablist ul li.selected {

}

#wrapper #header #tabs #tabstrip {
    background-color: gold;
    height: 5px;
}

#wrapper #header #tabs #blackstrip {
    background-color: #000;
    padding: 0.5em;
    font-size: 14px;
    font-family: Tahoma, Arial, sans-serif;
    background-image: url(/common/images/tabstrip.png);
}

#wrapper #header #tabs #blackstrip ul {
    padding-left: 2em;
}

#wrapper #header #tabs #blackstrip ul li {
    float: left;
}

#wrapper #header #tabs #blackstrip ul li a {
    margin-right: 2em;
    color: #fff;
    text-decoration: none;
}

#wrapper #header #tabs #blackstrip ul li a.selected {
    font-weight: bold;
}

#wrapper #header #tabs #blackstrip ul li a:hover {
    color: gold;
}

#wrapper #content {
    padding: 2em;
}

#wrapper #footer {

}

#page_top {
    border-bottom: 1px solid #ccc; margin-bottom: 1em;
}

/*
    TABLESORTER STYLES
*/



/*
    GLOBAL FORM STYLES
*/

form {

}

form ul {

}

form ul li {
    margin-bottom: 1em;
}

form ul li label {
    display: block;
    font-weight: bold;
    margin-bottom: 0.3em;
}

#choose_resource_dialog td {
    border: 1px solid #E7E7E7;
}

#choose_resource_dialog td.off {
    background-color: #E7E7E7;
}

#calendar .contact .empty {
    background-color: #f7f7f7;
}

div.time-picker {
  position: absolute;
  height: 191px;
  width:4em; /* needed for IE */
  overflow: auto;
  background: #fff;
  border: 1px solid #aaa;
  z-index: 99;
  margin: 0;
}
div.time-picker-12hours {
  width:6em; /* needed for IE */
}

div.time-picker ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.time-picker li {
  cursor: pointer;
  height: 10px;
  font: 12px/1 Helvetica, Arial, sans-serif;
  padding: 4px 3px;
}
div.time-picker li.selected {
  background: #0063CE;
  color: #fff;
}

div.time-picker {
  position: absolute;
  height: 191px;
  width:4em; /* needed for IE */
  overflow: auto;
  background: #fff;
  border: 1px solid #aaa;
  z-index: 56456456644;
  margin: 0;
}
div.time-picker-12hours {
  width:6em; /* needed for IE */
}

div.time-picker ul {
  list-style-type: none;
  margin: 0;
  padding: 0;
}
div.time-picker li {
  cursor: pointer;
  height: 10px;
  font: 12px/1 Helvetica, Arial, sans-serif;
  padding: 4px 3px;
}
div.time-picker li.selected {
  background: #0063CE;
  color: #fff;
}

#wrapper #top_panel strong {
    display: block;
    width: 60px;
    float: left;
}

div.jGrowl {
	z-index: 			9999;
	color: 				#fff;
	font-size: 			12px;
}

/** Special IE6 Style Positioning **/
div.ie6 {
	position: 			absolute;
}

div.ie6.top-right {
	right: 				auto;
	bottom: 			auto;
	left: 				expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.top-left {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.bottom-right {
	left: 				expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.bottom-left {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.center {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 				100%;
}

/** Normal Style Positions **/
div.jGrowl {
	position:			absolute;
}

body > div.jGrowl {
	position:			fixed;
}

div.jGrowl.top-left {
	left: 				0px;
	top: 				0px;
}

div.jGrowl.top-right {
	right: 				0px;
	top: 				0px;
}

div.jGrowl.bottom-left {
	left: 				0px;
	bottom:				0px;
}

div.jGrowl.bottom-right {
	right: 				0px;
	bottom: 			0px;
}

div.jGrowl.center {
	top: 				0px;
	width: 				50%;
	left: 				25%;
}

/** Cross Browser Styling **/
div.center div.jGrowl-notification, div.center div.jGrowl-closer {
	margin-left: 		auto;
	margin-right: 		auto;
}

div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
	background-color: 		#000;
	opacity: 				.85;
	-ms-filter: 			"progid:DXImageTransform.Microsoft.Alpha(Opacity=85)";
	filter: 				progid:DXImageTransform.Microsoft.Alpha(Opacity=85);
	zoom: 					1;
	width: 					235px;
	padding: 				10px;
	margin-top: 			5px;
	margin-bottom: 			5px;
	font-family: 			Tahoma, Arial, Helvetica, sans-serif;
	font-size: 				1em;
	text-align: 			left;
	display: 				none;
	-moz-border-radius: 	5px;
	-webkit-border-radius:	5px;
}

div.jGrowl div.jGrowl-notification {
	min-height: 			40px;
}

div.jGrowl div.jGrowl-notification,
div.jGrowl div.jGrowl-closer {
	margin: 				10px;
}

div.jGrowl div.jGrowl-notification div.jGrowl-header {
	font-weight: 			bold;
	font-size:				.85em;
}

div.jGrowl div.jGrowl-notification div.jGrowl-close {
	z-index:				99;
	float: 					right;
	font-weight: 			bold;
	font-size: 				1em;
	cursor:					pointer;
}

div.jGrowl div.jGrowl-closer {
	padding-top: 			4px;
	padding-bottom: 		4px;
	cursor: 				pointer;
	font-size:				.9em;
	font-weight: 			bold;
	text-align: 			center;
}

/** Hide jGrowl when printing **/
@media print {
	div.jGrowl {
		display: 			none;
	}
}

.job_view_note_btn {
    float: left;
    width: 250px;
}

.job_view_surveyor {
    float: left;
    width: 400px;
}

.download_template {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #ccc;
}

.upload_form_div {
    background-color: #e7e7e7;
    padding: 1em;
    margin: 20px 0;
    border-radius: 3px;
    border: 1px solid #ccc;
}