/* ---------------------------------------------------------------------------------------------------------

Colors:
  #d4d5e9: Background (Pale Purple)
  #000033: Body Text/Menu Highlight (Dark Blue)
	#o: Body Headings (Medium Purple)
  #333367: Bottom Banner (Dark Purple)
	#9898cc: Bottom Banner Text (Light Purple)

--------------------------------------------------------------------------------------------------------- */

body { 
	background: #d4d5e9 url("/images/bg-body.png") repeat-x top left;
}

body, p, ol, ul, td {
  font-family: verdana, helvetica, arial, sans-serif;
	color: #000033;
  font-size:   13px;
  line-height: 18px;
	margin: 0;
}

p {
	margin: 1em 0;
}
#content p {
	margin: 0 0 1em 0;
}
#content p.last {
	margin-bottom: 0;
}

img {
	border: 0;
}
pre {
  background-color: #eee;
  padding: 10px;
  font-size: 11px;
}

a:link, a:visited, a:active { color: #000033 }
#content a:link, #content a:visited, #content a:active { color: #000033; }

.tippable {
	cursor: help;
	border-bottom: 1px dotted #000;
}

.tooltip {
	width: 350px;
  background-color: #ddd;
  border: 3px solid #c24733;
	padding: 7px;
	text-align: left;
	color: #000;
	font-size: 93%;
}

img.in-text {
  margin:0 3px -3px 0 !important;
}

td {
	vertical-align: top;
}

.container {
	text-align: left;
	padding-bottom: 20px;
}

.container-fixed {
	width: 783px;
	margin: 0 auto;
}

.container-fluid {
	margin: 0 3%;
}

#header {
	position: relative;
	height: 100px;
}

#logo {
	position: absolute;
	top: 45px;
	left: 25px;
	width: 309px;
	height: 51px;
	background: transparent url("/images/sos-logo.png") no-repeat left top;
}
#logo h1#site-title , #logo span#site-title {
	margin: 0; padding: 0;
}
#logo h1#site-title a, #logo span#site-title a {
	display: block;
	width: 309px;
	height: 51px;
	text-indent: -9000px;
}

#menu {
	position: absolute;
	right: 10px;
	bottom: 0;
}
#menu li {
	padding: 0.5em 0;
	margin: 0 -1px;
}

#menu li.current {
	background-color: #000033;
}

#menu a {
	line-height: 1em;
	color: #fff;
	text-decoration: none;
	border-right: 1px solid #000033;
	padding: 0 15px;
}

#menu li.hover a {
	text-decoration: underline;
}

#menu li.current a {
	text-decoration: none;
}
#menu li.current a, #menu .last a {
	border: none;
}

#page {
	background-color: #fff;
}

#page .left {
	float: left;
	width: 365px;
}
#page .right {
	float: right;
	width: 418px;
}

#content {
	padding: 15px;
}
#app {
	padding: 10px;
}

#content h1 {
	margin: 0 0 .8em 0;
}

#content h2 {
	margin: .5em 0;
}

#content h3 {
	margin: .2em 0;
}


#account {
	position: absolute;
	right: 10px;
	top: 5px;
}
#account li {
}
#account li a {
	color: #fff;
}

#footer {
	border-top: 5px solid #000033;
	background-color: #333367;
	color: #9898cc;
	padding: 10px 25px;
}

table.list {
	width: 100%;
	margin: 5px 0;
  border: 0;
  border-spacing: 0;
  border: 1px solid #000033;
}

table.list tr.even {
  background-color: #ffffff;
}
table.list tr.odd {
  background-color: #efefef;
}

table.list th {
  color: #d4d5e9;
  background-color: #333367;
  border-bottom: 2px solid #000033;
  padding: 3px 10px;
  margin: 0;
	text-align: left;
	font-size: 11px;
}

table.list td {
  padding: 3px 10px;
  margin: 0;
  border-bottom: 1px solid #cccccc;
}
table.list td.icons, table.list th.icons {
	text-align: center;
}
table.info th {
	color: #000;
  background-color: #ccc;
}
table.payroll {
	border-collapse: collapse;
}
table.payroll tr.even th, table.payroll tr.even td {
	background-color: #fff;
}
table.payroll tr.odd th, table.payroll tr.odd td {
	background-color: #ddd;
}
table.payroll th, table.payroll td {
	padding: 4px 2px;
	font-size: 85%;
	font-weight: normal;
	text-align: center;
	border: 1px solid #999;
}
table.payroll td input {
	font-size: 93%;
	float: none;
	margin: 0 auto;
}
table.payroll th {
	border-bottom: 2px solid #c24733;
}
table.payroll th abbr {
	cursor: help;
}
table.payroll td.name, table.payroll th.name {
	text-align: left;
}
table.payroll td div {
	text-align: center;
	padding: 2px;
}
/*table.payroll tr.even td div.ih {
	background-color: #ddd;
}
table.payroll tr.even td div.ia {
	background-color: #d1e3d1;
}
table.payroll tr.even td div.dd {
	background-color: #eac3c3;
}
table.payroll tr.odd td div.ih {
	background-color: #aaa;
}
table.payroll tr.odd td div.ia {
	background-color: #b2d1b2;
}
table.payroll tr.odd td div.dd {
	background-color: #dc9b9b;
}*/
table.payroll tr.even td div.ih input{
	background-color: #ddd;
}
table.payroll tr.even td div.ia input{
	background-color: #d1e3d1;
}
table.payroll tr.even td div.dd input{
	background-color: #eac3c3;
}
table.payroll tr.odd td div.ih input{
	background-color: #aaa;
}
table.payroll tr.odd td div.ia input{
	background-color: #b2d1b2;
}
table.payroll tr.odd td div.dd input{
	background-color: #dc9b9b;
}

#errorExplanation {
  border-top: 2px solid #cc3333;
  border-bottom: 2px solid #cc3333;
  padding: 7px;
  margin-bottom: 20px;
  background-color: #ffcccc;
}

#errorExplanation h2 {
	background: transparent url("/images/icons/exclamation.png") no-repeat left top;
	padding-left: 20px;
  color: #cc3333;
	margin: 0;
	margin-bottom: 12px;
	font-size: 108%;
}

#errorExplanation ul {
	margin: 0
}

div.uploadStatus {
  margin: 5px;
}

div.progressBar {
  margin: 5px;
}

div.progressBar div.border {
  background-color: #fff;
  border: 1px solid gray;
  width: 100%;
}

div.progressBar div.background {
  background-color: #333;
  height: 18px;
  width: 0%;
}

.small {
	font-size: 77%;
}


/* BUTTONS */

.buttons a, .buttons button{
    display:block;
    float:left;
    margin:0 7px 0 0;
    background-color:#f5f5f5;
    border:1px solid #dedede;
    border-top:1px solid #eee;
    border-left:1px solid #eee;

    font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
    font-size:100%;
    line-height:130%;
    text-decoration:none;
    font-weight:bold;
    color:#565656;
    cursor:pointer;
    padding:5px 10px 6px 7px; /* Links */
}
.buttons button{
    width:auto;
    overflow:visible;
    padding:4px 10px 3px 7px; /* IE6 */
}
.buttons button[type]{
    padding:5px 10px 5px 7px; /* Firefox */
    line-height:17px; /* Safari */
}
*:first-child+html button[type]{
    padding:4px 10px 3px 7px; /* IE7 */
}
.buttons button img, .buttons a img{
    margin:0 3px -3px 0 !important;
    padding:0;
    border:none;
    width:16px;
    height:16px;
}

/* STANDARD */

button:hover, .buttons a:hover{
    background-color:#dff4ff;
    border:1px solid #c2e1ef;
    color:#336699;
}
.buttons a:active{
    background-color:#6299c5;
    border:1px solid #6299c5;
    color:#fff;
}

/* POSITIVE */

button.positive, .buttons a.positive{
    color:#529214;
}
.buttons a.positive:hover, button.positive:hover{
    background-color:#E6EFC2;
    border:1px solid #C6D880;
    color:#529214;
}
.buttons a.positive:active{
    background-color:#529214;
    border:1px solid #529214;
    color:#fff;
}

/* NEGATIVE */

.buttons a.negative, button.negative{
    color:#d12f19;
}
.buttons a.negative:hover, button.negative:hover{
    background:#fbe3e4;
    border:1px solid #fbc2c4;
    color:#d12f19;
}
.buttons a.negative:active{
    background-color:#d12f19;
    border:1px solid #d12f19;
    color:#fff;
}


/* ACTION LINKS */
.actions a {
	display:block;
	float:left;
	margin:0 7px 0 0;

	font-family:"Lucida Grande", Tahoma, Arial, Verdana, sans-serif;
	font-size:100%;
	line-height:130%;
	text-decoration:none;
	font-weight:bold;
	color:#565656;
  padding:2px 4px 3px 3px; /* Links */
	margin-top: 5px;
}
.actions a img{
	margin:0 3px -3px 0 !important;
  padding:0;
  border:none;
  width:16px;
  height:16px;
}

/* ACTION LINKS - Standard */
.actions a:hover{
	color:#336699;
	background-color:#dff4ff;
}

/* ACTION LINKS - Positive */
.actions a.positive{
	color:#529214;
}
.actions a.positive:hover {
	color:#529214;
	background-color:#E6EFC2;
}

/* ACTION LINKS - Negative */
.actions a.negative {
	color:#d12f19;
	background:#fbe3e4;
}
.actions a.negative:hover {
	color:#d12f19;
}
.actions a.negative:active{
	background-color:#d12f19;
  color:#fff;
}
/* END ACTION LINKS */


.buttons-bottom {
	margin-top: 1em;
}

.title-and-controls {
	margin-bottom: 1em;
}

.title-and-controls h1,
.title-and-controls h2,
.title-and-controls h3,
.title-and-controls h4 {
	float: left;
	margin: 0;
	margin-right: 12px;
	line-height: 30px;
}
.title-and-controls h1, h1 {
	color: #666698;
}
.title-and-controls h3, h3 {
	color: #9898cc;
}
.title-and-controls h1 a,
.title-and-controls h2 a,
.title-and-controls h3 a,
.title-and-controls h4 a {
  color: inherit;
  text-decoration: none;	
}

.title-and-controls h1 a:hover,
.title-and-controls h2 a:hover,
.title-and-controls h3 a:hover,
.title-and-controls h4 a:hover {
  color: inherit;
  text-decoration: underline;	
}

.title-and-controls .buttons,
.title-and-controls .controls,
.title-and-controls .actions {
	float: right;
}

span.subtle {
	color: #aaaaaa;
}

.buttons-right {
	float: right !important;
}
.buttons-left {
	float: left !important;
}

table.vertical {
	width: 100%;
	margin: 5px 0;
	border-spacing: 0;
	border-collapse: collapse;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-right: 1px solid #999;
}

table.vertical th, table.vertical td {
	padding: 5px 10px;
	border-bottom: 1px solid #999;
}
table.vertical th {
	text-align: right;
	padding-left: 30px;
	color: #000;
  background-color: #ccc;
}
table.vertical td {}

div.section {
	margin-top: 1em;
	margin-bottom: 3em;
	padding-bottom: 0.5em;
	border-bottom: 2px solid #eee;
}

.flash {
	border-top-width: 2px;
	border-top-style: solid;
	border-bottom-width: 2px;
	border-bottom-style: solid;
	padding: 3px;
	margin-bottom: 15px;
	font-weight: bold;
}

.flash p {
	margin: 3px 0;
}

.flash-success {
	background-color: #E6EFC2;
  border-color: #529214;
}
.flash-notice {
	background-color: #d4d5e9;
  border-color: #000033;
}
.flash-error {
	background-color: #fbe3e4;
  border-color: #d12f19;
}

ul.horizontal-menu {
	margin: 0;
	padding: 0;
	list-style: none;
	float: left;
}
ul.horizontal-menu li {
	margin: 0;
	list-style: none;
	float: left;
	margin-left: 7px;
}
ul.horizontal-menu li.first {
	margin-left: 0;
}
span.horizontal-menu-label {
	display: block;
	float: left;
	margin: 0 0 0 16px;
	font-weight: bold;
	padding: 4px 0 2px 0;
}

.toolbar {
	position: relative;
	border-bottom: 1px solid #999;
	margin-bottom: 1em;
}
.toolbar .inner {
	position: relative;
	top: 1px;
}

#client-toolbar {
	float: left;
}
#site-toolbar {
	margin: 0.7em 0;
}

#siteswitcher {
	position: relative;
	margin: 0;
	margin-top: 2px;
	padding: 0;
	list-style: none;
}
#siteswitcher li {
	list-style: none;
}

#siteswitcher li span.wrapper {
	display: block;
	padding: 3px 20px 3px 5px;
	background: transparent url("/images/icons/bullet_arrow_down.png") no-repeat right center;
	border: 1px solid #ccc;
	cursor: default;
}
#siteswitcher li span.wrapper  span {
	padding-left: 22px;
	background: transparent url("/images/icons/sitemap_color.png") no-repeat left top;
}
#siteswitcher li ul {
	float: none;
	position: absolute;
	display: none;
	z-index: 999;
	width: 22em; 
	margin: 0;
	padding: 0;
	list-style: none;
	background-color: #fff;
	border-top: 1px solid #ccc;
}
#siteswitcher li.hover ul {
	display: block;
}

#siteswitcher ul li {
	float: none;
	border-bottom: 1px solid #ccc;
	border-left: 1px solid #ccc;
	border-right: 1px solid #ccc;
}
#siteswitcher ul li a {
	display: block;
	padding: 3px 5px;
}
#siteswitcher li.other-site a {
	background: transparent url("/images/icons/arrow_right.png") no-repeat 5px 3px;
	padding: 3px 5px 3px 27px;
}

#siteswitcher ul li a:hover {
	background-color: #eee;
}

ul.tabs {}
ul.tabs li a {
	display: block;
	float: left;
	padding: 3px 5px;
	border: 1px solid #999;
	text-decoration: none;
	background-color: #ddd;
}
ul.admin-tabs li a, ul.tabs li.admin-tab a {
	background-color: #d4d5e9;
}
ul.tabs li.current a, ul.tabs li a:hover {
	border-bottom: 1px solid #fff;
	background-color: #fff;
}
ul.tabs li.first-admin {
	margin-left: 30px;
}

ul.sortable {
	margin: 1em 0;
	list-style: none;
	padding: 0;
}
ul.sortable li {
	margin: 0;
	list-style: none;
	padding-left: 22px;
	background: transparent url("/images/icons/bullet_arrow_updown.png") no-repeat left top;
	cursor: -moz-grab; 
}

div#fields-draggable-container {
	width: 620px;
}
div#fields-draggable-container h4 {
	margin-top: 0;
	margin-bottom: 5px;
}

div#fields-draggable-container .left-col,
div#fields-draggable-container .center-col,
div#fields-draggable-container .right-col {
	float: left;
}


div#fields-draggable-container .center-col {
	width: 20px;
	height: 100px;
	text-align: center;
}
div#fields-draggable-container .left-col,
div#fields-draggable-container .right-col {
	width: 300px;
}

div.draggable-container {
	border: 1px solid #ccc;
	padding: 10px;
}
ul.draggable {
	margin: 0;
	padding: 5px;
	list-style: none;
}
ul.draggable li {
	margin: 0;
	list-style: none; 
	cursor: -moz-grab; 
}
ul.draggable .hover { 
background-color: #888888; 
} 

#special_instructions_list {
	margin: 0;
	padding: 0;
}
#special_instructions_list li {
	margin: 0;
	padding: 0;
	margin-bottom: 4px;
	list-style-position: outside;
}
#special_instructions_list li input{
  float: none;
	display: inline;
}

.vertical-table {
	border: 2px solid #999;
	border-collapse: collapse;
	border-spacing: 0;
}
.vertical-table th {
	background-color: #ccc;
}
.vertical-table th, .vertical-table td {
	border: 1px solid #999;
	padding: 3px 5px;
}

tr.nonimport th, span.nonimport {
	color: #0033cc;
	font-weight: bold;
}

.pagination {
  padding: 0px;
  margin: 1em 0;
}
.pagination a {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #565656;
  text-decoration: none;
  color: #565656;
}
.pagination a:hover, .pagination a:active {
  border: 1px solid #2932aa;
  color: #2932aa;
}
.pagination span.current {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #2932aa;
  font-weight: bold;
  background-color: #2932aa;
  color: #ffffff;
}
.pagination span.disabled {
  padding: 2px 5px 2px 5px;
  margin: 2px;
  border: 1px solid #eee;
  color: #ddd;
}


/* Clear fix stuff */
.clearfix:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.clearfix {display: inline-block;}
/* Hides from IE-mac \*/
* html .clearfix {height: 1%;}
.clearfix {display: block;}
/* End hide from IE-mac */

.webadvocate-form {
}

.webadvocate-form label {
	display: block;
	float: left;
	font-weight: bold;
	width: 240px;
	text-align: right;
	margin-right: 7px;
}
.webadvocate-form fieldset label {
}
.webadvocate-form td label {
	text-align: left;
	float: none;
	width: auto;
	margin: 0;
}

.webadvocate-form label:after { content: ":"; }

.webadvocate-form .form-control-check label {
	display: inline;
	float: none;
	width: auto;
	margin: 0;
	margin-left: 7px;
	text-align: left;
	font-weight: normal;
}
.webadvocate-form .form-control-check label:after { content: "";}

.webadvocate-form .form-control-check input, .webadvocate-form input.freewidth {
	width: auto;
}

.webadvocate-form input,
.webadvocate-form div.input,
.webadvocate-form textarea {
	width: 400px;
	display: block;
	float: left;
	margin-right: 5px;
}
.webadvocate-form div.input {
	width: auto;
}

.webadvocate-form .tabular-form {
	border-collapse: separate;
	border-spacing: 2px;
}

.webadvocate-form .tabular-form td {
	padding: 5px;
	text-align: center;
}
.webadvocate-form .tabular-form th {
	background-color: #f0f0f0;
	border-bottom: 2px solid #999;
	padding: 5px;
}

.webadvocate-form .tabular-form input, .webadvocate-form  .tabular-form textarea {
	width: auto;
	display: inline;
	float: none;
	margin: 0;
}

.webadvocate-form fieldset input,
.webadvocate-form fieldset textarea {
	width: auto;
}

.webadvocate-form fieldset {
	border: 0;
	border-top: 1px solid #aaaaaa;
	border-bottom: 1px solid #aaaaaa;
	padding: 1em 0;
	margin: 1em 0;
}

.webadvocate-form legend {
	font-size: 100%;
	font-weight: bold;
	border: 1px solid #aaaaaa;
	padding: 2px 5px;
	margin-left: 5px;
}

.webadvocate-form fieldset .description {
	color: #666;
	margin-top: 1em;
	margin-bottom: 1.5em;
}

.webadvocate-form ol.form,
.webadvocate-form ul.form,
.webadvocate-form ol.form li,
.webadvocate-form ul.form li {
	margin: 0;
	padding: 0;
	list-style: none;
}

.webadvocate-form ol.form li,
.webadvocate-form ul.form li {
	display: block;
}

.webadvocate-form ol li,
.webadvocate-form ul li {
	display: list-item;
}

.webadvocate-form .form-control {
	margin-bottom: 12px;
}
.webadvocate-form .form-control-check {
	margin-bottom: 3px;
}

.webadvocate-form .large input {
	font-size: 175%;
}

.webadvocate-form .form-actions {
	clear: both;
	margin-top: 15px;
	padding: 5px 0;
	padding-left: 247px;
}

.webadvocate-form .form-actions input {
	width: auto;
}

.webadvocate-form .tip {
	margin: 0;
	color: #aaa;
	font-size: 85%;
	clear: both;
	margin-left: 247px;
}
.webadvocate-form .tabular-form .tip {
	margin: 0;
	font-weight: normal;
}


.webadvocate-form .small {
	font-size: 85%;
}

.webadvocate-form .required {
	color: #cc3333;
	font-size: 77%;
	vertical-align: top;
}

/* Errors */
.webadvocate-form .has-errors label, .webadvocate-form span.has-errors {
	color: #cc3333;
}
.webadvocate-form .has-errors input, .webadvocate-form .has-errors textarea {
	background-color: #fcaaaa;
}

/* Clear fix stuff */
.webadvocate-form .form-control:after {content: "."; display: block; height: 0; clear: both; visibility: hidden;}
.webadvocate-form .form-control {display: inline-block;}
/* Hides from IE-mac \*/
* html .webadvocate-form .form-control {height: 1%;}
.webadvocate-form .form-control {display: block;}
/* End hide from IE-mac */
