/* form tables */

.form-row {
	width: auto;
	margin: 5px 0 15px 0;
}

.form-table {
	width: 100%;
	margin: 2px 0 10px 0;
	border-spacing: 3px;
	border: none;
}

.form-table th {
	text-align: left;	
}

.form-table td {
	vertical-align: top;
	width: 50%;
	border: none;
}

.form-table.columns3 td,
.form-table.cols3 td {
	width: 33%;	
}

.form-row input.text,
.form-table input.text,
.form-row textarea,
.form-table textarea,
.form-row select,
.form-table select,
textarea.common,
input.common.text,
select.common {
	margin-top: 2px;
	font-size: 16px;
	border: 1px solid #A7A7A7;
	width: 99%;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;
}

.form-row select,
.form-table select,
select.common {
	-moz-border-radius: 4px 0 0 4px;
	-webkit-border-radius: 4px 0 0 4px;
	border-radius: 4px 0 0 4px;	
}

.form-row .dateSelect select,
.form-table .dateSelect select {
	width: inherit;
}

.form-row .dateSelect a,
.form-table .dateSelect a {
	display: block;
}

.form-row textarea,
.form-table textarea {
	margin: 2px 0px 8px 0px;
	font-family: Arial, Helvetica, sans-serif;
}

.form-row label,
.form-table label {
	display: block;
	line-height: 1em;
	padding: 2px 5px 2px 0px;
}

.form-table button {
	margin-top: 1.3em;
}

.form-row .checkbox,
.form-table .checkbox,
.form-row .radio,
.form-table .radio,
span.inline-input input {
	vertical-align: middle;
}

.form-row label.required,
.form-table label.required {
	padding-left: 15px;
	background-image: url('../images/orange_star.gif');
	background-repeat: no-repeat;
}

.form-buttons,
.form-row.buttons {
	text-align: right;
	padding: 5px 0;
	display: block;
	/* Those styles don't belong in common. Put them in employers or students form.css */
}

.form-buttons button,
.form-row.buttons button {
	margin-left: 5px;
	margin-right: 0px;
}

label.inline {
	display: inline;
	vertical-align: middle;
	margin-left: 2px;
}

.form-field-description {
	margin: 3px 10px;
	font-style: italic;
}

.form-table .read-only-field,
.form-row .read-only-field {
	border: 1px solid #8F8F8F;
	line-height: 1.2em;
	height: auto;
	min-height: 1.2em;
	margin: 2px 0 0 0;
	padding: 1px 0 0 2px;
	color: Black;
	width: auto;
	float: none;
	font-size: 1.2em;
	background: #EEF0F2;
	word-wrap: break-word;
	word-break: hyphenate;
	
}

.form-table .read-only-field.textarea,
.form-row .read-only-field.textarea {
	padding: 10px 10px 5px;	
}

h5.section-header {
	margin: 0.5em 0 0.9em 0;
	padding: 3px 5px 3px 7px;
	border: none;
	width: auto;
	float: none;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;
}

.radio-items-container,
.checkboxlist-items {
	padding: 3px 0 3px 10px;
	margin: 3px 0 0 0;
	border-top: 1px dotted #CBC9C9;	
}

.radio-items-container label,
.checkboxlist-items label {
	font-weight: normal;	
}

.radio-items-container strong label,
.checkboxlist-items strong label {
	font-weight: bolder;	
}

/* TO BE REMOVED when all admin and student console styles have been updated */
.form-row .datePicker,
.form-table .datePicker,
.form-table .ui-datepicker-trigger,
.form-row .ui-datepicker-trigger {
	float: none;
}

.form-row .timeCol,
.form-table .timeCol {
	float: none;
	display: inline;	
}
/* END REMOVE SECTION

/* Note: Use the special class container for fieldgroups until we can redo the admin styles (just remove form-special) */

.form-special fieldset.fieldGroup {
	margin: 0 0 15px;
	padding: 0px;
	float: none;
	width: auto;
	-moz-border-radius: 4px;
	-webkit-border-radius: 4px;
	border-radius: 4px 4px 4px 4px;
}

.form-special fieldset.fieldGroup.open {
	border-width: 2px;
}

.form-special .fieldGroup .fieldGroup-header {
	padding: 0 5px 0 5px;
}

.form-special .fieldGroup .fieldGroup-header input,
.form-special .fieldGroup .fieldGroup-header .read-only-field { 
	margin: 0 4px 0 0;
	border: 1px solid #8F8F8F;
	background: white;
	padding: 0px;
}

.form-special .fieldGroup .fieldGroup-header .read-only-field {
	padding: 0px 2px;
	float: left;
	margin: 4px 4px 0 0;
}

.form-special .fieldGroup-header label {
	font-weight: bold;
	padding: 0;
	margin: 0;
	cursor: pointer;
	line-height: 1.9em;
}

.form-special .fieldGroup .fieldGroup-header.basic {
	background-color: Transparent;	
}

.form-special .fieldGroup .fieldGroup-header.basic label {
	font-weight: normal;
}

.form-special fieldset.fieldGroup .fieldGroup-body {
	padding: 10px 15px 5px;
}

.form-special .message {
	width: auto;
	float: none;
	margin: 5px 0px 10px;
}

.form-special message.validation {
	float: none;
	width: auto;
}

/***** Actual FieldGroup styles ****/
.fieldGroup-read-only.fieldGroup-header label,
.fieldGroup-required.fieldGroup-header label {
	cursor: auto;
}

.fieldGroup-read-only.fieldGroup-header .read-only-field,
.fieldGroup-required.fieldGroup-header .read-only-field {
	color: black;
	font-weight: bold;
}

/* meta information */

.meta-info-container {
	width: auto;
	font-size: .9em;
	margin: 0 0 5px;
}
	
.meta-info-container table {
	border-collapse: collapse;
	border-spacing: 0px;
	border-color: #CFDEE6;
	border-style: solid;
	border-width: 1px 0;
	background: white;
	margin: 0 0 5px 0;
	width: 100%;
}
	
.meta-info-container table td {
	padding: 5px;
	border-color: #CFDEE6;
	border-style: solid;
	border-width: 0 1px;
	vertical-align: top;
}

.meta-info-container label {
	display: inline;
	font-weight: normal;
	color: #125D80;
}

/* popups */
.vp-popup {
	padding: 2px 5px 1px 5px;
	color: #FFF;
	font-weight: bold;
}
.vp-good { background-color: #8FBF77; }
.vp-warning { background-color: #DF8B29; }
.vp-bad { background-color: #FF4F4F; }

/* property builder */

.pb-table {
}

.pb-table th {
	text-align: left;
	padding-left: 1px;
	font-weight: normal;
	color: #666666;
}

.pb-button {
	background-color: transparent;
	background-repeat: no-repeat;
	background-position: left center;
	border: none;
	font-size: 1.2em;
	padding: 1px 1px 1px 15px;
	color: #0E6D96;
	cursor: pointer;
}

.pb-button:hover {
	color: #FF9900;
}

.pb-remove {
	background-image: url(../images/silk/delete.png);
}

.pb-add {
	background-image: url(../images/silk/add.png);
}

/* graphical-background buttons */
.gbutton {
	background: #FF8100 url(../images/buttons/gbutton-over.gif) repeat-x;
	border: solid 1px #D2891D;
    border-bottom-color: #AF6700;
	color: #fff;
	font-family: Arial;
	font-size: 1.2em;
	/*font-weight: bold;*/
	cursor: pointer;
	margin-right: 5px;
	-moz-border-radius: 2px;
	-webkit-border-radius: 2px;
	padding: 2px 6px;
	text-decoration: none;
	text-shadow: 1px 1px 5px #696969;
	font-weight: normal;
}

a.gbutton {
	color: White;
	text-decoration: none;
}

.gbutton:hover {
    background: #FE9900 url(../images/buttons/gbutton.gif) repeat-x;
    border-color: rgb(230,150,120);
	border-bottom-color: #D07C00;
}

.gbutton.neg {
    background: #ED3101 url(../images/buttons/gbutton-neg-over.gif) repeat-x;
    border-color: rgb(219,100,80);
}

.gbutton.neg:hover {
    background: #FA592D url(../images/buttons/gbutton-neg.gif) repeat-x;
    border-color: rgb(219,150,120);
}

.gbutton.pos {
	background: #5BC700 url(../images/buttons/gbutton-pos-over.gif) repeat-x;
	border-color: rgb(78,168,0);
}

.gbutton.pos:hover {
	background: #90D463 url(../images/buttons/gbutton-pos.gif) repeat-x;
    border-color: rgb(137,198,93);
}

.gbutton.disabled {
    background: #CCCCCC url(../images/buttons/gbutton-disabled.gif) repeat-x;
    border : solid 1px #d6d6d6;
    cursor: progress;
	color: white;
}

.gbutton.disabled:hover {
    background: #CCCCCC url(../images/buttons/gbutton-disabled.gif) repeat-x;
}

.gbutton.neutral { 
  background: #C2C2C2;
  border-color: #919191;

} 

.gbutton.neutral:hover {
	background: #919191;
}

.gbutton.de-emphasise {
    background: #ccc url(../images/buttons/gbutton-deemph.gif) repeat-x;
    border : solid 1px #aaa;
    color: #555;
    text-shadow: none;
}

.gbutton.de-emphasise:hover {
    background: #CCCCCC url(../images/buttons/gbutton-deemph-over.gif) repeat-x;
}

/******** Messages ***********/
div.message {
	background-repeat: no-repeat;
	background-position: 5px 5px;
	padding: 10px;
}

div.message h3 {
	margin: 0px 0 5px;
	padding: 0px;
}

div.message.info,
div.message.quiz,
div.message.alert,
div.message.validation,
div.message.locked {
	padding: 8px 10px 10px 30px;
}

div.message.message-required {
	background-image: url(../images/orange_star.gif);
	background-position: 5px 3px;
	margin-bottom: 0;
	padding: 5px 5px 5px 20px;
}

div.message-required-invalid {
	color: Red;
}

/*
*******************************
Dextra
*******************************
*/

.dextra-container {
	background: #F7F8F1;
	border: solid 1px #A7A7A7;
	/*border: solid 1px #CCCCCC;*/
	padding: 0px;
	margin-right: 10px;
	
	-moz-box-shadow: 0 3px 15px -5px #333333;
	-webkit-box-shadow: 0 3px 15px -5px #333333;
	box-shadow: 0 3px 15px -5px #333333;
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#C6C6C6')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#C6C6C6');
}

.dextra-container div.dextra-body {
	padding: 5px 7px;	
}

.dextra-container div.dextra-body.list {
	padding: 0px;	
}

.dextra-container div.dextra-body.list ul {
	margin: 0px;
	padding: 0 0 0 0px;
	list-style-type: none;
}

.dextra-container div.dextra-body.list ul li {
	padding: 2px 7px;
	border-bottom: solid 1px #DEDEDE;
	border-top: solid 1px transparent;
}

.dextra-container div.dextra-body.list ul li.alt {
	background: #EFEFEF;
	border-top: solid 1px white;
	border-bottom: solid 1px #D5D5D5;
}

/****** Questions ********/

.question-responses .response-body {
	padding: 5px 10px 10px; 
	border: solid 1px #E3CA91; 
	background: #FEF1D5;
}
	
.question-responses .response-admin {
	background: #E1FEE3;
	border-color: #99BF9B;	
}

.respond-invalid {
	padding: 10px;
	border: solid 1px;
}

.question-responses .response-invalid .response-body, .respond-invalid {
	background: #FFEDE7;
	border-color: #F09797;	
}

.question-responses .response-new {
	border-width: 2px;
}
		
.question-responses .response-info {
	margin: 0 0 10px; 
	font-size: .9em
}

.question-responses .response-info-new {
	margin: 0 0 5px;
	font-weight: bold;
	color: Orange;
	font-size: 1.1em;
}
		
.question-responses .response-delete {
	display: inline-block;
	background: url(../images/silk/cross.png) no-repeat left center;
	padding-left: 20px;
	margin: 5px 0 0 5px;		
}
		
.question-responses .response-delete.response-undo {
	background: url(../images/silk/delete.png) no-repeat left center;
}

.question-responses .response-edit {
	display: inline-block;
	background: url(../images/silk/exec.png) no-repeat left center;
	padding-left: 20px;
	margin-top: 5px;		
}

.question-responses .response-edit.response-undo {
	background: url(../images/silk/delete.png) no-repeat left center;
}
	
#question-suggestions .response-insert {
	background: url(../images/silk/add.png) no-repeat left center;
	padding-left: 20px;
	text-decoration: none;
}
	
#question-suggestions-container {
	padding: 10px 0;
}
	
#question-suggestions li {
	margin: 0 0 5px;
}

#linkpopup {
    background-color: #C3D9FF;
    padding: 5px;
    vertical-align: middle;
}

#linkpopup img {
    margin-left: 5px;
}

/******** File Lists **********/

table.file-list {
	padding: 0;
	margin: 5px 0 10px;
	width: 100%;
	border-spacing: 0;
}

table.file-list td {
	border-bottom: 1px dotted #A6A6A6;
	padding: 2px 0;
}

table.file-list td.file-options {
	text-align: right;
}

a.file-download, 
a.file-delete, 
a.file-view,
a.file-undo, 
a.file-add {
	padding: 2px 0 2px 20px;
	background-repeat: no-repeat;
	background-position: 0px center;
	margin: 0 0 0 10px;
}

a.file-download {
	background-image: url(../images/silk/arrow_down.png);
}

a.file-view {
	background-image: url(../images/silk/page_link.png);
}

a.file-delete {
	background-image: url(../images/silk/cross.png);
}

a.file-undo {
	background-image: url(../images/silk/delete.png);
}

/*
*************************************
Info Box
*************************************
*/

div.info-box {
	margin: 10px 0 15px 0;
	padding: 0;
	display: block;
}

div.info-box a.info-box-title {
	font-style: italic;
	padding-left: 18px;
	padding-bottom: 2px;
	background-image: url(../images/info.png);
	background-repeat: no-repeat;
}

div.info-box.alert a.info-box-title {
	background-image: url(../images/alert.gif);
	padding-left: 25px;
}

div.info-box div.info-box-body {
	margin-top: 5px;
}

div.info-box table {
	border: outset 1px #666;
	border-collapse: collapse;
	margin-left: 10px;
	margin-top: 10px;
}

div.info-box thead {
	font-weight: bold;
}

div.info-box tr, 
div.info-box td {
	border: inset 1px #666;
	padding: 3px 8px 3px 3px;
}

div.message.info div.info-box {
	margin-bottom: 5px;	
}

div.message.info div.info-box a.info-box-title {
	background: none;
	padding-left: 0;
}

div.message.info div.info-box div.message {
	border: none;
}

span.processing {
	padding-left: 20px;
	background: url(../images/ajax_loader.gif) no-repeat left center;
	color: #828080;
}

.categoryTree > ul {
	padding-left: 10px;
}

.categoryTree li {
	list-style: none;
	line-height: 20px;
}

.categoryTree .expand {
    background-image: url('../images/silk/add.png');
    background-repeat: no-repeat;
    background-position: left;
    padding: 7px;
}

    .categoryTree .expand.open {
        background-image: url('../images/silk/delete.png');
    }

.categoryTree .item.selected .icon {
    background-image: url('../images/silk/tick.png');
    background-repeat: no-repeat;
    background-position: right;
    padding-left: 17px;
}

/*
=================================================================
 file types
=================================================================
*/

.fileType {
	background-position: left top;
	background-repeat: no-repeat;
	padding: 0px 0 5px 22px;
	background-image: url(../images/file_icons/unknown.gif); /* unknown type by default */
}

/* ======== FILE TYPE ICONS ============= */
.fileType.bmp {	background-image: url(../images/file_icons/bmp.gif); }
.fileType.dir {	background-image: url(../images/file_icons/dir.gif); }
.fileType.doc {	background-image: url(../images/file_icons/doc.gif); }
.fileType.gif {	background-image: url(../images/file_icons/gif.gif); }
.fileType.image { background-image: url(../images/file_icons/image.gif); }
.fileType.jpg {	background-image: url(../images/file_icons/jpg.gif); }
.fileType.pdf {	background-image: url(../images/file_icons/pdf.gif); }
.fileType.png {	background-image: url(../images/file_icons/png.gif); }
.fileType.psd {	background-image: url(../images/file_icons/psd.gif); }
.fileType.txt {	background-image: url(../images/file_icons/txt.gif); }
.fileType.wmv {	background-image: url(../images/file_icons/wmv.gif); }
.fileType.xls {	background-image: url(../images/file_icons/xls.gif); }
.fileType.zip {	background-image: url(../images/file_icons/zip.gif); }



