/* Defaults */
body {
  background: #efefef;
  font-family: Arial, sans-serif;
  margin: 0;
  padding: 0;
  font-size: small;
}

.errorMsg {
  display: inline; /*float: right;*/
  color: #FF4102;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
  font-style: normal;
  font-weight: bold;
}

hr {
  display: none;
}

a {
  color: #06c;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

p, li {
  line-height: 130%;
}

p {
  color: #333;
  line-height: 140%;
  margin: 0;
  margin: 0 0 15px 0;
  color: #000;
}

ul, li {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

h1 {
  letter-spacing: -1px;
  color: #01A8EC;
  font-size: 2.3em;
}

h2 {
  letter-spacing: -0.7px;
  color: #01A8EC;
  margin: 1em 0em;
}

h3 {
  letter-spacing: -0.5px;
  color: #01A8EC;
  margin: 0.7em 0em;
}

h1 a, h2 a {
  color: #0099CC;
  text-decoration: none;
}

h1 a:hover, h2 a:hover {
  color: #0099CC;
  text-decoration: underline;
}

/* --------- Clear */
div.clear {
  clear: both;
}

/* --------- Top Border */
#topborder {
  border-bottom: 1px solid #ccc;
  background-color: #333;
  height: 5px;
  width: 100%
}

#primary {
  border-top: 1px solid #fff;
  background: #fff url( ../images/BottomShadow.gif ) left bottom repeat-x;
}

#primary div.container {
  margin: 0 auto;
}

/* ---------- Header and Logo */
#header {
  padding: 0px 10px;
}


#logostuff {
  display: inline;
  float: left;
  margin-right: 30px;
  padding: 3px 0 0 0;
  width: 447px;
}

span.logo {
  background: url( ../images/peplogo.jpg ) left top no-repeat;
  display: block;
  text-decoration: none;
  text-indent: -9999px;
  position: relative;
  width: 750px;
  height: 110px;
}

/*-------------- Main content inside Primary */
#main_content {
  display: inline;
  float: left;
  margin: 0 30px 0 0;
}

/*------------ Footer */
#footer {
  display: block;
  clear: both;
  color: #666;
  font-size: .85em;
  margin: 10px auto 20px auto;
  padding: 10px 0 0 0;
  text-align: center;
}

/*--------- Positioning */
#primary div.container, #footer, #main_content {
  width: 750px;
}

/*----------- Forms */
form {
/*  margin: 10px 0;*/
  padding: 10px 10px 10px;
  width:100%;
}

.form label {
  width: 15%;
  float: left;
  display: block;
  margin-right: 1em;
  text-align: left;
  font-weight: bold;
  font-style: normal;
  color: #666666;
}

.form .submit input select {
  margin-left: 7em;
}

.colours input, select {
  /*border: 1px solid #eee;
}

.colours .submit input {
  /* color: #666666;
  font-weight: bold;
  font-size: small;
  border: 2px #eee outset;
  background: #EFEFDE;*/
}

.form fieldset {
  border-top: 1px solid #eee;
  border-bottom: 1px solid #eee;
  border-left: none;
  border-right: none;
  padding: 10px;
  background: #ffe;
}

.form legend {
  background: none;
  letter-spacing: 0.1em;
  font-size: 1.1em;
  font-weight: bold;
}

.form fieldset p {
  margin-top: 0;
}

input:focus, select:focus {
  border-top: 1px solid #999;
  border-left: 1px solid #999;
  border-bottom: 1px solid #ddd;
  border-right: 1px solid #ddd;
  background: #ffc;
  color: #000 !important;
}

/* Home page : links */
#rightLinks {
  vertical-align: text-top;
  display: block;
  float: right;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
}

#leftLinks {
  vertical-align: text-top;
  display: block;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
}

#links {
  margin: 0 0 1.5em 0;
}

/* Recipients on Compose & Authorise message page : */


/* float right */
#selectedStaffIds {
  vertical-align: text-top;
  display: block;
  float: right;
  width: 30%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
  margin-right:4px;
}

#divisions, #regions, #areas, #branches {

  vertical-align: text-top;
  display: block;
  float: left;
  width: 100%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
}

#division, #region, #area, #branch {
  float: left;
  width: 24%;
  padding:5px 2px 5px 5px;
}

#branchGroups {
  margin:5px;
  vertical-align: text-top;
  display: block;
  width: 97%;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
}

#inputBranchErrorMsg {
	height:33px;
}


#branchGroupBlock {
	background:white;
	border:1px solid #EEEEEE;
	float:left;
	margin-right:5px;
	width:49%;
	height:100px;
}

#inputBranchBlock {
	background:white;
	border:1px solid #EEEEEE;
	float:left;
	height:100px;
	width:49%;
}

#branchHierarchyBlock {
	background:white;
	border:1px solid #EEEEEE;
	height:95px;
	margin-bottom:5px;
	/*padding:1% 0% 1% 1%;*/
	width:99%;
}

.branchHeading {
	font-weight:bold;
	color:#666666;
	padding-left:5px;
}

#recipientStaffNames, #toStores {
  overflow: auto;
	border: 1px solid #eeeeee;
	background-color: #fff;
	padding: 2px;
  	font-family: Helvetica, Arial, sans-serif;
  	font-size: small;
  	
}

/* Set width of left hand items */
#toStores {
  vertical-align: text-top;
  width: 81%;
  margin-bottom:1em;
  height:6em;
  overflow-y:auto;
  
}

#subject {
	width:80%;
}

#recipientStaffNames {
  vertical-align: text-top;
  width: 50%;
}

/* Recipients on View Message page : */
#viewRecipientStoreNames, #viewRecipientStaffNames {
  height: 45px;
  width:80%;
  overflow: auto;
	border: 1px solid #eeeeee;
	background-color: #fff;
	padding: 2px;
  font-family: Helvetica, Arial, sans-serif;
  font-size: small;
}

#viewBody {
	height: 20em;
	width: 55em;
	overflow: auto;
	border: 1px solid #eeeeee;
	background-color: #fff;
	padding: 8px;
}

#authoriseDetails {
  background-color: #FFFFD7;
}

/*------------- Display Tag Tables */
column.statusCol {
  text-align: center;
  margin-top: 0px;
  margin-bottom: 0px;
  padding: 0px;
}

table.display {
  width: 98%;
  padding: 2px;
  border-color: silver;
  border-style: solid;
  border-width: 1px;
  margin-bottom: 2px;
  margin-top: 2px;
  font-family: verdana, geneva, arial, helvetica, sans-serif;
  font-size: small;
}

thead th {
  background-color: #EBEBEB;
  padding: 4px;
}

th.sorted {
  background-color: green;
}

th a, th a:visited {
  color: black;
}

th a:hover {
  text-decoration: underline;
  color: black;
}

th.sorted a, th.sortable a {
  background-position: right;
  display: block;
  width: 100%;
}

th.sortable a {
  background-repeat: no-repeat;
  background-image: url( ../images/arrow_off.png );
}

th.order1 a {
  background-repeat: no-repeat;
  background-image: url( ../images/arrow_down.png );
}

th.order2 a {
  background-repeat: no-repeat;
  background-image: url( ../images/arrow_up.png );
}

tr.odd {
  background-color: #fff
}

tr.even {
  background-color: #FFFFCC
}

tr.selected {
  background-color: purple
}

td.center {
  text-align: center
}

tr.read td {
  font-weight: lighter;
}

tr.unread td {
  font-weight: bolder;
}

div.exportlinks {
  background-color: #eee;
  border: 1px dotted #999;
  padding: 2px 4px 2px 4px;
  margin: -10px 0 10px 0;
  width: 95%;
}

span.export {
  padding: 0 4px 1px 20px;
  display: inline;
  display: inline;
  cursor: pointer;
}

span.excel {
  background-repeat: no-repeat;
  background-image: url( ../images/ico_file_excel.png );
}

span.csv {
  background-image: url( ../images/ico_file_csv.png );
}

span.xml {
  background-image: url( ../images/ico_file_xml.png );
}

.grid {
  background-color: #f7f7f7;
  border-color: silver;
  border-style: solid;
  border-width: 1px;
  width: 98%;
}

.gridTitle {
  font-family: verdana, geneva, arial, helvetica, sans-serif;
  font-size: 10pt;
  font-weight: bold;
  background-color: #f7f7f7;
  color: #ff9900;
  padding: 4px;
}

.gridActions {
  background-color: #f7f7f7;
  padding: 4px;
  text-align: right;
}

.gridActions a, .gridActions a:visited {
  color: #ff9900;
  text-decoration: none;
}

.gridActions a:hover {
  color: #ff9900;
  text-decoration: underline;
}

.gridFooter {
  margin: 0px 0px 10px 0px;
  font-family: verdana, geneva, arial, helvetica, sans-serif;
  font-size: 10pt;
  background-color: #f7f7f7;
  padding: 4px;
}

.checkbox {
  width: 5px
}

.tableInput {
  font-size: 11px;
  color: #004;
  width: 100%
}

.editable {
  color: #000;
  background-color: #ffffd3;
}

div.autocompletionList {
  background-color: #ffc;
}

#inputBranchErrorMsg .result {
	display:none;
}

#recipientBranchNumbers .errorMsg {
	display:none;
}

#inputBranch {
	margin:5px;
	padding-top:1em;
}

#inputBranches {
	width:79%;
}

#pannel {
	background:lightGrey none repeat scroll 0%;
	height:100%;
	left:0px;
	opacity:0.3;
	right:0px;
	top:0px;
	width:100%;
	text-align:center;
}

#message {
	background:white none repeat scroll 0% 50%;
	border:1px outset black;
	display:block;
	height:150px;
	margin-left:-50%;
	margin-top:-25%;
	position:relative;
	text-align:left;
	width:250px;
}