/**
 * CSS styles for forms
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *   <div class="form-input-area">
 *     <div class="row">
 *       ... in various orders:
 *       <div class="form-label"></div>
 *       <div class="form-input"></div>   (possibly has form-view-only class)
 *       <div class="form-hint"></div>
 *       <div class="form-error"></div>
 *     </div>
 *   </div>
 * </div>
 */

div.form
{
  background: #EFEFEF;
	border: 1px solid #D7D7D7;
  padding: 15px 25px 5px;
  margin-top:70px;
}

div.form .row
{
	margin: 5px 0;
  clear: left;
}

div.form div.form-label {
	display: inline-block;
	margin-right: 10px;
	position: relative;
	width: 100px;
  float: left;
	text-align: right;
}

div.form div.form-input {
	display: inline-block;
	position: relative;
  float: left;
  text-align: left;
}

div.form div.form-hint {
  display: block;
  clear: both;
  margin-left: 110px; /* match to form-label width + margin right*/
}

div.form div.form-error {
  display: block;
  clear: both;
  margin-left: 110px; /* match to form-label width + margin right*/
}


div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 0 0.5em 0;
}

/* labels in the input area are checkbox labels */
div.form div.form-input label {
  display: inline;
}

div.form fieldset
{
	/*border: 1px solid #DDD;*/
	padding: 10px 10px 10px 0;
	margin: 0 0 10px 0;
    -moz-border-radius:7px;
	clear:left;

}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;
}

div.form .hint
{
	margin: 0;
	padding: 0;
	color: #999;
}

div.form .note
{
	font-style: italic;
}

div.form span.required
{
	color: red;
}

div.form div.error label:first-child,
div.form label.error,
div.form span.error
{
	color: #C00;
}

div.form div.error input,
div.form div.error textarea,
div.form div.error select,
div.form input.error,
div.form textarea.error,
div.form select.error
{
	background: #FEE;
	border-color: #C00;
}

div.form div.success input,
div.form div.success textarea,
div.form div.success select,
div.form input.success,
div.form textarea.success,
div.form select.success
{
	background: #E6EFC2;
	border-color: #C6D880;
}


div.form .errorSummary
{
	border: 2px solid #C00;
	padding: 7px 7px 12px 7px;
	margin: 0 0 20px 0;
	background: #FEE;
	font-size: 0.9em;
	clear:both;
}

div.form .errorMessage
{
	color: red;
	font-size: 0.9em;
}

div.form .errorSummary p
{
	margin: 0;
	padding: 5px;
}

div.form .errorSummary ul
{
	margin: 0;
	padding: 0 0 0 20px;
}

div.form .buttons, div.wide.form .hint, div.wide.form .errorMessage
{
	clear: left;
	padding-left: 110px;
}

div.skillnumber {
  display: inline-block;
  font-size: 1.3em;
}
div.skillbar {
  display: inline-block;
  /*background: #0F0;*/
  background: #009900;
  border: 1px solid #000000;
  margin-left: 10px;
  font-size: 1.3em;
  height: 1em;
}

h1.content-title {
  display: inline-block;
  float: left;
  /*margin-left: 10px;*/
  font-size: 30px;
}
div.crudButtons {
  float: right;
  margin-top: 10px;
  /*margin-right: 10px;*/
}

div.client-map-details-hidden {
	display:none;
}

div#locationMap {
  width: 512px;
  height: 512px;
}

div.ui-slider-horizontal { float:left; }
div.slider-value { float:left;  margin-left:20px; }

/*  css styles for employee cv  */
div.cv-wrap { margin-top:20px; margin-bottom:60px; float:left; }
div.cv-row { width:80%; margin-left:10%; margin-right:10%; float:left;}
div.cv-row-dir { width:80%; margin-left:10%; margin-right:10%; float:left; page-break-after: always; page-break-before: always;}
div.cv-label { width:30%; float:left; margin-bottom:8px; }
div.cv-label-value { width:70%; float:left; margin-bottom:8px; }
div.cv-wrap div.cv-row h1 { text-align:center; line-height:2em; margin-bottom:20px; }

/*  css styles for emergency plan  */
div.ep-wrap { margin-top:60px; margin-bottom:60px; float:left; }
div.ep-row { width:80%; margin-left:10%; margin-right:10%; float:left;}
div.ep-label { width:30%; float:left; margin-bottom:8px; font-weight: normal; }
div.ep-label-value { width:70%; float:left; margin-bottom:8px; font-weight:bold; }
div.ep-wrap div.ep-row h1 { text-align:center; line-height:2em; margin-bottom:20px; }

div.top-button-print { float:right; padding-right:30px; padding-top:10px; }
div.top-button-close { float:right; padding-right:10px; padding-top:10px; }

/* css styles for two column content (eg home page) */
div.content-two-col-left { width:500px; float:left; }
div.content-two-col-right { width:390px; margin-left:10px; float:left; }
h2.customh2 { font-size:20px; line-height:30px; }

/* css styles for whatever */
h1 { font-size:30px !important; font-family:"Arial" !important; color:#555 !important; }
.ui-widget-content { color:#555 !important; font: normal 10pt Arial,Helvetica,sans-serif !important; }
.navbar-inner { min-height:80px !important; }
div.container-fluid div.nav-collapse ul.nav { padding-top:40px !important; }
span.pulsar { margin-right:35px; vertical-align:bottom; letter-spacing:2px; }
.navbar .brand { padding:0px !important; margin-left:20px !important; }
ul.flashes { margin:20px 25px 0 25px; list-style-type:none; }

/* override for the Employee Form 'Type of Employment field' as requested by Callum */
textarea#EmployeeLongform_Employee_employmentType { height: 68px; }

.navbar-inverse { border-bottom: 0px solid #D7D7D7 !important; box-shadow: 1px 1px 10px #888888 !important; }

div#yw2_tab_1, div#yw2_tab_2 { margin-top:-70px;}
div.dialog div.form { margin-top:0px; }
h1.report-heading { margin-top:35px; }

/* css for footer */
p.copyright { margin-bottom:0px; text-align:right; }

/* Partial fix for google map controls */
#locationMap img {  max-width: none; }

/* keep ui-dialog from sliding up under menu bar */
div.ui-dialog {
 margin-top: 90px;
}

/* overide bootstrap css to increase font size on top menu */
.navbar .nav > li > a { font-size: 16px !important; }

div#chart_div { margin-left:20px; }

/* override for dropdown multi select list that was using inconsistent font*/
.ui-widget span {
	font-family: "Helvetica Neue",Helvetica,Arial,sans-serif;
	font-size: 14px;
}

/*client location wof dates report*/
table.cl-table { width:100%; border-bottom:1px solid #000; margin-top:20px; }
table.cl-table td p { margin:0; }

/*staff list report*/
table.sl-table { width:100%; border-bottom:1px solid #000; margin-top:20px; }
table.sl-table td p { margin:0; }
th.skill-headings { width:70px; }