﻿/* global */

body
{
	margin: 0px;
	padding: 10px;
	cursor: default;
	font-family: Arial, Tahoma, Verdana, Sans-Serif;
	font-size: small;
	color: black;
	background-color: white;
}

form
{
	padding: 0px;
	margin: 0px;
}

div#body .left
{
	float: left;
}

div#body .right
{
	float: right;
}

.bold
{
	font-weight: bold;
}

.help
{
	display: inline-block;
	border-bottom: dotted 1px gray;
	cursor: help;
}

div#body div.form
{
	/*border: solid 1px #ddd;*/
	padding: 4px;
	margin-bottom: 5px;
}

div#body img.thumb
{
	padding-right: 10px;
}

/* dialog */

body.dialog,
div.dialog
{
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	background-color: #ECE9D8;
	font-size: 0.9em;
}

input, /*body.dialog */select, /*body.dialog */textarea
{
	font-family: Tahoma, Verdana, Arial, Sans-Serif;
	font-size: 1.0em;
}

body.dialog input.button,
div.dialog input.button 
{
	width: 60px;
	height: 20px;
}

/* header */

div#header 
{
	height: 70px;
	width: 100%;
    background-image:url(http://www.torbay.gov.uk/wave.gif);
    background-color:#004990;
    background-position: right top;
    background-repeat: no-repeat;
    min-width: 480px;
}

div#header div#logo
{
	float: left;
	width: 250px;
	margin-top: 10px;
}

div#header div#content
{
	float: left;
	padding-left: 20px;
	margin-top: 2px;
    position: absolute;
    left: 250px;  
}

div#header.dialog div#content
{
	left: 20px;
}

div#header h1.title
{
	font-size: 1.2em;
	font-weight: bold;
	margin: 15px 0px 0px 0px;
	color: #FFFFFF;
	overflow: hidden;
	white-space: nowrap;
}

div#header.dialog h1.title
{
	font-size: 1.3em;
}

div#header p.breadcrumbs
{
	color: #F5DEB3;
	font-size: 0.8em;
	margin: 4px 0px 0px 0px;
	overflow: hidden;
	white-space: nowrap;
}

div#header.dialog p.breadcrumbs
{
	font-size: 1.0em;
}

div#header p.breadcrumbs a
{
	color: #F5DEB3;
}

div#header p.breadcrumbs a:hover
{
	color: #F5DEB3;
	text-decoration: underline;
}

div#header p.breadcrumbs a:active
{
	text-decoration: underline;
	color: red;
}

div#header div#buttons
{
	float: right;
}

div#header div#logon
{
	background-color: white;
	clear: right;
	float: right;
	font-size: 0.8em;
	margin-top: 11px;
	width: 355px;
}

div#header div#logon input.text
{
	width: 80px;
	border: solid 1px gray;
}

/* header menu */

.headerMenu
{
	background-color: #004990;
	cursor: default;
	font-size: x-small;
	font-family: MS Sans Serif, Tahoma, Verdana, Arial;
	padding: 5px;
}

.headerMenuGroup
{
	background-color: #fff;
	border: solid 1px gray;
	cursor: default;
	font-size: x-small;
	font-family: MS Sans Serif, Tahoma, Verdana, Arial;
}

.headerMenuTopItem
{
	padding: 3px;
	cursor: pointer;
	color: #fff;
}

.headerMenuTopItemHover
{
	padding: 3px;
	cursor: pointer;
	color: #f5deb3;
}

.headerMenuItem
{
	color: black;
	font-size: 1.1em;
}

.headerMenuItemHover
{
	color: #000; 
	font-size: 1.1em;
}

/* footer */

div#footer
{
	/*border-top: solid 1px #eee;*/
	margin-top: 15px;
	padding: 8px;
	font-size: 0.9em;
	color: #fff;
	background-color: #004990;
}

div#footer p
{
	margin: 0px;
	text-align: left;
}

div#footer p.right
{
	text-align: right;
}

div#footer a:hover
{
	text-decoration: underline;
	color: #F5DEB3;
}

div#footer a
{
	color: #fff;
}

/* tab pages */

.web-tabPage
{
	border: 1px solid #919B9C;
	border-top: none;
	padding: 10px;
}

/* body/content */

div#body
{
	width: 100%;
	margin-top: 5px;
}

div#body h2
{
	font-weight: bold;
	font-size: 1.2em;
	clear: left;
}

div#body h3
{
	font-weight: bold;
	font-size: 1.0em;
	margin-bottom: 10px;
	clear: left;
}

div#body h2.section, div#body h3.section
{
	border-bottom: solid 1px #ddd;
	padding-bottom: 2px;
	margin-bottom: -10px;
}

div#body .inline
{
	display: inline;
}

div#body a, div#body a:hover
{
	color: #004990;
}

div#body a:hover
{
	text-decoration: underline;
}

div#body a:active
{
	text-decoration: underline;
	color: red;
}

/* lists */

li
{
	clear: left;
}

div#body ul
{
	padding: 0px;
	margin: 0px;
	color: #333;
	line-height: 1.3em;
	display: block;
	list-style: none;
}

div#body ol
{
	padding: 0px;
	margin: 0px;
	color: #333;
	line-height: 1.3em;
	display: block;
}

div#body dl
{
	padding: 0px;
	margin: 0px;
	color: #333;
	line-height: 1.3em;
	display: block;
}

div#body ul.list
{
	margin-left: -25px;
	margin: 10px 0px 14px;
}

div#body ul.list li
{
	padding-left: 15px;
	margin-bottom: 3px;
	margin-left: 0px;
	line-height: 1.2em;
	background-image: url(../images/list_arrow.gif);
	background-repeat: no-repeat;
	list-style-type: none;
}

div#body ul.list li p.description
{
	font-size: 0.9em;
	margin-top: 0px;
	margin-bottom: 10px;
}

div#body .important ul.list
{
	color: red;
}

div#body .important ul.list li
{
	padding-left: 15px;
	margin-bottom: 3px;
	margin-left: 0px;
	line-height: 1.2em;
	background-image: url(../images/list_arrow_important.gif);
	background-repeat: no-repeat;
	list-style-type: none;
}

/* notes, etc */

div#body .note
{
	padding: 6px;
	border: solid 1px #ddd;
	background: #fcfcfc;
	line-height: 1.3em;
	font-size: 0.9em;
}

div#body .important
{
	color: red;
}

/* input fields */

div#body textarea, div#body input
{
	font-family: Arial, Tahoma, Verdana, Sans-Serif;
	font-size: small;
}

/* tables */

div#body table.form, div#body table.innerTable
{
	border: none;
	margin: 0px;
	width: 100%;
}

div#body table.form td, div#body table.innerTable th
{
	text-align: left;
	padding: 2px;
	padding-right: 4px;
}

div#body table.innerTable th
{
	border-bottom: solid 1px black;
}

div#body table.form td, div#body table.innerTable td
{
	padding: 2px;
	padding-right: 4px;
}

div#body table.form td label, div#body table.innerTable td label
{
	font-weight: bold;
}

/* div listbox */

div#body div.listBox
{
	overflow: auto;
	padding: 0px;
	border: solid 1px black;
	background-color: white;
	color: black;
}

div#body div.listBox div.item
{
	width: 100%;
	height: 18px;
	vertical-align: top;
	text-align: left;
	cursor: default;
}

div#body div.listBox div.item.selected
{
	background-color: #000080;
	color: white;
}

div#body div.mapPopup,
div#body div.roadworksMapPopup
{
	position: absolute;
	left: 348px;
	top: 184px;
	z-index: 999;
	width: 396px;
}

div#body div.roadworksMapPopup
{
	top: 168px;
}

/* fault summary divs */

div#body div.faultSummary
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	height: 50px;
}

div#body div.faultSummary select,
div#body div.faultSummary input,
div#body div.defectSummary input,
div#body div.vehicleSummary input,
div#body div.itemSummary input
{
	font-size: 0.8em;
}

div#body div.faultSummary input,
div#body div.defectSummary input,
div#body div.itemSummary input,
div#body div.vehicleSummary input
{
	width: 70px;
}

/* defect summary divs */

div#body div.defectSummary
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	font-size: 0.8em;
	height: 65px;
}

div#body div.roadworks div.streetName,
div#body div.streets div.streetName,
div#body div.defectSummary div.streetName,
div#body div.faultSummary div.streetName,
div#body div.vehicleSummary div.streetName
{
	font-size: 1.1em;
	font-weight: bold;
}

div#body div.defectSummary div.location,
div#body div.faultSummary div.location,
div#body div.vehicleSummary div.location
{
	font-size: 0.9em;
	font-style: italic;
}

div#body div.defectSummary div.defect,
div#body div.faultSummary div.defect
{
	margin-top: 4px;
}

div#body div.streets div.left img,
div#body div.roadworks div.left img,
div#body div.defectSummary div.left img,
div#body div.faultSummary div.left img,
div#body div.vehicleSummary div.left img,
div#body div.units div.left img
{
	margin-right: 4px;
}

div#body div.streets div.right,
div#body div.roadworks div.right,
div#body div.defectSummary div.right,
div#body div.faultSummary div.right,
div#body div.vehicleSummary div.right,
div#body div.units div.right
{
	text-align: right;
}

/* vehicle summary divs */

div#body div.vehicleSummary
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	font-size: 0.8em;
	height: 50px;
}

div#body div.vehicleSummary div.vehicle
{
	margin-top: 4px;
}

/* bulky item summary divs */

div#body div.itemSummary
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	font-size: 0.8em;
	height: 36px;
}

div#body div.itemSummary select,
div#body div.itemSummary textarea
{
	font-size: 1.0em;
	vertical-align: top;
}


div#body div.itemSummary textarea
{
	width: 50%;
}

/* unit list divs */

div#body div.units
{
	padding: 4px;
	clear: both;
	height: 22px;
}

div#body div.units div.unitName
{
	font-size: 1.0em;
}

div#body div#selectedUnits
{
	border: solid 1px #666;
	border-top: none;
	background-color: #fcfcfc;
	padding: 10px;
	width: 250px;
	margin-top: -5px;
	font-size: 0.9em;
}

div#body div#selectedUnits input.selectAll
{
	font-size: 0.9em;
	width: 100px;
}

div#body div#selectedUnits input.reportFault
{
	font-size: 0.9em;
	font-weight: bold;
	width: 85px;
}

/* street list divs */

div#body div.streets
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	height: 20px;
}

div#body div.streets input
{
	font-size: 0.8em;
	width: 80px;
}

div#body div.streets input.differentStreet
{
	width: 170px;
}

/* roadworks list divs */

div#body div.roadworks
{
	border: solid 1px #666;
	background-color: #fcfcfc;
	padding: 4px;
	margin-bottom: 4px;
	clear: both;
	height: 55px;
}

div#body div.roadworks input
{
	font-size: 0.8em;
	width: 80px;
}

div#body div.roadworks div.description
{
	font-size: 0.9em;
}

div#body div.roadworks div.type
{
	margin-top: 4px;
}

/* roadwork details window */

div#RoadworkDetails_content div
{
	cursor: default;
	background-color: InfoBackground;
	color: InfoText;
	height: 100%;
	padding: 0px;
}

div#RoadworkDetails_content div table,
div#RoadworkDetails_content div p
{
	margin: 8px;
}

div#RoadworkDetails_content div table th
{
	font-weight: bold;
	text-align: left;
	vertical-align: top;
}

div#RoadworkDetails_content div table td
{
	text-align: left;
	vertical-align: top;
}

