/* $Id: forms.css,v 1.3 2009/08/12 08:37:42 johnalbin Exp $ */

/**
 * @file
 * Form Styling
 */


.form-item,
.form-checkboxes,
.form-radios /* Wrapper for a form element (or group of form elements) and its label */ {
  margin: 1em 0;
}

.form-item input.error,
.form-item textarea.error,
.form-item select.error /* Highlight the form elements that caused a form submission error */ {
  border: 2px solid #c00;
}

.form-item label /* The label for a form element */ {
  /*display: block;*/
  font-weight: bold;
}

.form-item label.option /* The label for a radio button or checkbox */ {
  /*display: inline;*/
  font-weight: normal;
}

.form-required /* The part of the label that indicates a required field */ {
  color: #c00;
}

.form-item .description /* The descriptive help text (separate from the label) */ {
  font-size: 0.85em;
}

.form-checkboxes .form-item,
.form-radios .form-item /* Pack groups of checkboxes and radio buttons closer together */ {
  margin: 0.4em 0;
}

.form-submit /* The submit button */ {
}

.container-inline div,
.container-inline label /* Inline labels and form divs */ {
  display: inline;
}

.tips /* Tips for Drupal's input formats */ {
}


/*
 * Search (search-theme-form.tpl.php)
 */
#search-box /* Wrapper for the search form */ {
}

#edit-search-theme-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Search (search-block-form.tpl.php)
 */
#search-block-form /* Wrapper for the search form */ {
}

#edit-search-block-form-1-wrapper label /* Label that says "Search this site:" */ {
  display: none;
}


/*
 * Drupal's default login form block
 */
#user-login-form {
  text-align: left; /* LTR */
}


/*
 * OpenID
 *
 * The default styling for the OpenID login link seems to assume Garland's
 * styling of list items.
 */

#user-login-form ul /* OpenID creates a new ul above the login form's links. */ {
  margin-bottom: 0; /* Position OpenID's ul next to the rest of the links. */
}

#user-login-form li.openid-link /* The "Log in using OpenID" link. */ {
  margin-top: 1em;
  margin-left: -20px; /* LTR */ /* Un-do some of the padding on the ul list. */
}

#user-login-form li.user-link /* The "Cancel OpenID login" link. */ {
  margin-top: 1em;
}

#user-login ul {
  margin: 1em 0;
}

#user-login li.openid-link,
#user-login li.user-link /* The OpenID links on the /user form. */ {
  margin-left: -2em; /* LTR */ /* Un-do all of the padding on the ul list. */
}


/*
 * Drupal admin tables
 *
 * We overrode these styles in html-elements.css, but restore them for the admin
 * section of the site.
 */

form tbody {
  border-top: 1px solid #ccc;
}

form th,
form thead th {
  text-align: left; /* LTR */
  padding-right: 1em; /* LTR */
  border-bottom: 3px solid #ccc;
}

form tbody th {
  border-bottom: 1px solid #ccc;
}

/*
 * The form status message
 */
form .status {
	background-color: #DAF2DC;
	border: 1px solid #BBE0BF;
	padding: 5px;
}

/* Job application form  */

.node-type-jobapplication .webform-component-textarea label {
	max-width: 500px;
	/*margin: 0 auto;*/
}
.node-type-jobapplication fieldset {
	padding: 20px; /*30px; */
	background-color: white;
	border: 1px solid #CCC;
	display: block;
	width: 565px;
	margin: 0 auto;
}
.node-type-jobapplication .webform-component-table_element > .form-item > label,
.node-type-jobapplication legend {
	font-size: 16px;
	font-weight: bold;
}

.node-type-jobapplication #webform-component-declaration > .form-item > label,
.node-type-jobapplication .webform-component-table_element > .form-item > label {
	border-top: 1px solid #BBB;
	padding-top: 15px;
	margin-top: 40px;
	/*text-align: center;*/
	padding-bottom: 15px;
}

.node-type-jobapplication  .form-radios .form-item {
	display: inline;
}

.node-type-jobapplication  .form-radios  {
	clear: both;
	overflow: auto;
	margin-top: 0;
}

.node-type-jobapplication  .webform-component-radios {
	display: block;
	clear: both;
}

.node-type-jobapplication  table {
	margin: 0px auto;
}
.node-type-jobapplication .webform-component-table_element > .form-item > label {
	width: auto;
	text-align: center;
}
.node-type-jobapplication legend {
	text-align: center;
}
.node-type-jobapplication #webform-component-personal-information--disability-details,
.node-type-jobapplication #webform-component-qualifications,
.node-type-jobapplication #webform-component-personal-information--id-number,
.node-type-jobapplication #webform-component-personal-information--what-is-your-nationality, 
.node-type-jobapplication #webform-component-personal-information--work-permit, 
.node-type-jobapplication #webform-component-personal-information--passport-number,
.node-type-jobapplication #webform-component-personal-information--type-of-work-permit,
.node-type-jobapplication #webform-component-personal-information--work-permit-scan {
	display: none;
	background-color: #fffbc9;
	padding: 7px;
}

#webform-component-language-proficiency input {
	width: 200px;
}

/* RR neatening up the concertina sections to prevent the whitespace around radio options */
.node-type-jobapplication #webform-component-personal-information--please-indicate-race, 
.node-type-jobapplication #webform-component-personal-information--work-permit {
    margin: 0px !important;
}

/* #webform-component-education, */
#edit-submitted-current-study-list-institution-and-qualification-wrapper,
#webform-component-if-you-were-previously-employed-in-the-public-service-please-indicate-if-there-any-conditions-that-prevent-re-appointment {
   margin-top: 30px !important;
   padding: 20px;
  background-color: white;
  border: 1px solid #CCC;
  display: block;
  width: 565px;
  margin: 0 auto;
}

#webform-component-supporting-documentation {
   margin-top: 50px !important;
}
#edit-submitted-education .webform-component-file {
    width: 17em !important;
}
/* RR end */

.node-type-jobapplication table .webform-component-select {
	margin: 0;
}

.node-type-jobapplication .form-radios label.error {
	float: right;
}
.node-type-jobapplication  .form-radios input.error { border: 1px solid red; }


.node-type-jobapplication .qualification-obtained {
   width: 13em;
}

#edit-submitted-work-experience-row--work-experience--work1-row--work-experience--work1--27,
#edit-submitted-work-experience-row--work-experience--work1-row--work-experience--work1--28,
#edit-submitted-work-experience-row--work-experience--work1-row--work-experience--work1--32,
#edit-submitted-work-experience-row--work-experience--work1-row--work-experience--work1--33,
#edit-submitted-work-experience-row--work-experience--work1-row--work-experience--work1--31
{
   border: 1px solid red !important;
}