/** 
 * SilverStripe Black Candy Theme
 * http://www.silverstripe.com
 *
 * Form Styling
 */


/* FIELDSETS
---------------------------------------- */
fieldset {
	border: 0;
}

/* ACTION BUTTONS
---------------------------------------- */
input.action {
/*	padding: 2px;
	font-size: 1em;
	font-family: Verdana, Tahoma, Sans-serif;*/
}
input.action:hover,
input.action:focus {
	cursor: pointer;
}

/* FIELD FORMATING
---------------------------------------- */
form ul {
	list-style: none;
}
.middleColumn {
 	display: inline-block;
 
	/*width: 306px;*/
	clear: left;
}
	#Sidebar .middleColumn {
		margin: 0 0 0 8px;
		display: inline;
	}
	
	div.tab .field .middleColumn {
		clear: none !important;
 		margin: 0 !important;
		width: auto;
	}
	
	.middleColumn .middleColumn {
		margin-left: 0;
		margin-right: 0;
		padding: 0;
	}
	
	.middleColumn .message {
		margin: 0;
	}
/* INPUT BOXS
---------------------------------------- */

input.text, textarea, select {
	padding: 2px;
	color: #000;
/*	font-size: 1.1em;
	font-weight: bold;	
	width: 300px;     */
}

input.required, textarea.required {
	background: #fee;
	border: 1px solid #d23;
}

textarea {
	
}
input:focus span, textarea:focus span {
	border: 3px solid #000;
}

/* SELECT DROPDOWN
---------------------------------------- */

select {
	width: auto;
}

/* LABELS
---------------------------------------- */
.typography label {
 	display: block;
	margin: 10px 0 0px 0;
	color: #777;
	font-size: 1em;
}

/*---------- MainInfoPanel --------*/
.mainInfoPanelParegraphy label  {
	color: #000;
	display: inline-block;
	width: 200px;
}

.mainInfoPanelParegraphy label.required {
	color: #b32;
	display: block;
	width: auto;
	font-weight: bold;
}

.mainInfoPanelParegraphy .text .text {
	color: #000;
	width: 280px;
	margin-bottom: 3px;
}

.mainInfoPanelParegraphy #Code label  {
	width: 320px;
}

.mainInfoPanelParegraphy #Code.text .text {
	width: 150px;
}

.mainInfoPanelParegraphy .email .text {
	color: #000;
	width: 280px;
	margin-bottom: 3px;
}

.mainInfoPanelParegraphy .action {
	background: url("../images/mainminfopanelmiddlebuttonbg.png") no-repeat;
	cursor: pointer;
	border: none;
	width: 167px;
	height: 38px;
	margin: 15px 0 0 180px;
}

.mainInfoPanelParegraphy .action:hover {
	background-color: #fff; 
	color: #000;
	filter: alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;
}

.mainInfoPanelParegraphy select { width: 286px; }



/*------------ SidePanel Forms ---------------*/

.sidePanelContent form {margin-bottom: -4px;}
						
.sidePanelContent .middleColumn .text { margin-bottom: -10px; }

.sidePanelButton {
	background: url("../images/sidebuttonbg.png") no-repeat;
	height: 32px;
	font-size: 14px;
}

.sidePanel .sidePanelButton,
.sidePanel .sidePanelContent .sidePanelButton {
	margin-top: 16px;
	margin-left: -4px;
	padding-right: 5px;
	border: 0;
	width: 168px;
	text-align: right;
	color: #636363;
	font-weight: bold;
	letter-spacing: -1px;
	cursor: pointer;
	position:relative;							
}

.sidePanel .sidePanelButton { margin-top: 0;}

.sidePanel .sidePanelButton:hover,
.sidePanelContent .sidePanelButton:hover {
	background-color: #fff; 
	color: #000;
	filter: alpha(opacity=40);
	-moz-opacity: 0.4;
	opacity: 0.4;
}

label.right {
	display:inline;
}

#Form_PhoneBookSearchForm label {
	display: block;
}

#Form_PhoneBookSearchForm_DepartmentID {
	width: auto;
}

#Form_PhoneBookSearchForm_FacultyID {
	width: auto;
}
