/**
 * TotalCoaching Main form components Layouts
 */

.BlueTC fieldset {
	margin: 10px 0;
	border: #67bbdc 2px solid; border-radius: 5px;
	background: #dfecf2;
}
	.BlueTC fieldset legend {
		display: block; padding: 4px 8px;
		font-size: 14px; color: white; font-weight: bold;
		background: #67bbdc;
		border-radius: 5px;
	}


/** Label styles */
.BlueTC label {
	display: inline-block;
	min-width: 40px; /* Makes some short checkbox options look much metter */
	color: #6d6d6d;
}
	.BlueTC label span {
		vertical-align: middle;
	}
	
	/** Label before form group blocks */
	.BlueTC label.section {
		display: inline-block;
		margin: 5px;
	}
	 
 
/** TEXT INPUT */
.BlueTC input[type="text"],
.BlueTC input[type="email"],
.BlueTC input[type="password"],
.BlueTC input[type="date"],
.BlueTC input[type="number"],
.BlueTC input[type="file"],
.BlueTC select {
	margin: 5px 5px; padding: 5px; background: #fcfcfc; height: 18px;

	font-size: 12px; font-weight: normal; color: #4d4d4d; vertical-align: middle;
	border: #d0d0d0 1px solid; border-radius: 2px;
}
	.BlueTC input.default {
		color: #a2a2a2; font-weight: bold;
	}
	
	/** Error border */
	.BlueTC input[type="text"].error,
	.BlueTC input[type="email"].error,
	.BlueTC input[type="password"].error,
	.BlueTC input[type="date"].error,
	.BlueTC input[type="number"].error,
	.BlueTC select.error {
		border: #F85F5F 2px solid;
	}

	/** OK border */
	.BlueTC input[type="text"].ok,
	.BlueTC input[type="email"].ok,
	.BlueTC input[type="password"].ok,
	.BlueTC input[type="date"].ok,
	.BlueTC input[type="number"].ok,
	.BlueTC select.ok {
		border: #84be3f 1px solid;
	}
	
	/** DISABLED border */
	.BlueTC input[type="text"][disabled],
	.BlueTC input[type="email"][disabled],
	.BlueTC input[type="password"][disabled],
	.BlueTC input[type="date"][disabled],
	.BlueTC input[type="number"][disabled],
	.BlueTC input[type="file"][disabled],
	.BlueTC select[disabled],
	
	.BlueTC input[type="text"][readonly],
	.BlueTC input[type="email"][readonly],
	.BlueTC input[type="password"][readonly],
	.BlueTC input[type="date"][readonly],
	.BlueTC input[type="number"][readonly],
	.BlueTC input[type="file"][readonly],
	.BlueTC select[readonly] {
		border: #cccccc 1px solid;
		background: #eeeeee;
	}
	
	
	/** Any input, followed by a unit marker */
	.BlueTC input + .unit {
		color: #979fa3; font-size: 12px; font-weight: bold;
	}
	
	.BlueTC select option[disabled] {
		color: #d0d0d0;
	}
	
	
	.BlueTC input[type="password"] {
		font-family: sans-serif !important;
	}
	
	.BlueTC input.fullwidth {
		margin: 5px 0 !important;
		width: 100%; box-sizing: border-box; -moz-box-sizing: border-box;
		height: 30px; /* Because of the sizing */
		display: block;
	}

/** DATE INPUT */
.BlueTC input[type="date"], .BlueTC input.datefield {
	background: #f7f7f7 url('images/input_date_picker.png') center right no-repeat;
}
	
/**
 * Custom checkboxex
 */
.BlueTC .customCheckbox {
	margin:  0 3px 3px 3px;
	display: inline-block; padding: 0;
	width: 18px; height: 18px; vertical-align: middle;
	background: url('images/customCheckbox.png') no-repeat 0 0;
}

	.BlueTC .customCheckbox.unchecked {
		background-position: 0 0;
	}

	.BlueTC .customCheckbox.checked {
		background-position: 0 100%;
	}


/** Seamless Text Input */
.BlueTC input.seamlessInput,
.BlueTC textarea.seamlessInput {
	background: transparent; margin: 0; padding: 0;
	border: transparent 1px solid; border-radius: 0; box-shadow: none;
}
	


/** Textarea */
.BlueTC textarea {
	margin: 5px; padding: 5px; background: #f7f7f7;
	font-size: 12px; font-weight: normal; color: #4e4e4e; vertical-align: middle;
	border: #d0d0d0 1px solid; border-radius: 2px;
}
	.BlueTC textarea.default {
		color: #a2a2a2; font-weight: bold;
	}
	
	.BlueTC div.textarea_container {
		padding-right: 10px; /* Compensate margins */
	}
		.BlueTC div.textarea_container textarea {
			width: 100%;
		}
	

/** Selects */
.BlueTC select {
	/*background: #f7f7f7 url('images/select_arrow.png') center right no-repeat; dang ugly */
	height: 30px; padding: 2px 5px;
}

/******
 * BUTTONS 
 */
 
 
/** Standard default button */
.BlueTC button, .BlueTC input[type="button"], .BlueTC input[type="submit"], .BlueTC .button-sim {
	margin: 2px 0;
	border: #a4a5a6 1px solid; border-radius: 2px; padding: 0 5px; min-height: 20px;
	font-size: 12px; font-weight: bold; color: #4d4d4d;
	background: #b6b6b6 url('images/button_background.png') repeat-x;
	cursor: pointer;
}
	.BlueTC .button-sim {
		text-shadow: none; padding-top: 2px; padding-bottom: 2px; height: 15px; display: inline-block; min-height: 16px;
	}
	
	.BlueTC button:hover, .BlueTC input[type="button"]:hover, .BlueTC input[type="submit"]:hover, .BlueTC .button-sim:hover {
		background: #b6b6b6;
	}
	
	.BlueTC button > span {
		vertical-align: middle;
	}

	.BlueTC button {
		white-space: nowrap;
	}
	
	.BlueTC .button_list {
	}
		.BlueTC .button_list button, .BlueTC .button-sim {
			display: block;
			width: 100%;
			box-sizing: border-box;
			-moz-box-sizing: border-box;
			
			text-align: left;
		}


/***
 * Colored buttons
 * Required additional properties:
 * 	background: Background color of the button
 * 	Color: The color of the text
 * 	border-color: the color of the border (best result: same as text color)
 ***/
.BlueTC span.colorButton,
.BlueTC a.colorButton {
	display: inline-block; line-height: 25px; text-decoration: none;
}

.BlueTC div.colorButton {
	line-height: 25px; text-decoration: none;
}

.BlueTC .colorButton {
	margin: 5px; padding: 0 8px 0 8px;
	
	font-family: 'Helvetica Neue', Verdana, Arial, sans-serif;
	font-weight: bold; font-size: 10px !important;
	border-radius: 2px; border: black 1px solid;
	
	min-height: 25px;
	
	background: #999999; color: #222222;

	cursor: pointer;
}
	
	.BlueTC .colorButton:hover,
	.BlueTC .colorButton.hover,
	.BlueTC .colorButton.active {
		background-image: none !important;
	}

	.BlueTC .colorButton > img {
		vertical-align: middle; margin: 0 5px; vertical-align: middle;
	}
	
	.BlueTC .colorButton > span {
		display: inline-block; vertical-align: middle; 
	}
	
	.BlueTC .colorButton > span.picto {
		font-family: "ModernPictogramsNormal"; font-size: 24px; vertical-align: middle;
	}
	
	.BlueTC .colorButton.blue {
		text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
		border: #98cfe1 1px solid;
		background: #a3dbf1 url('images/colorbutton_blue.png') repeat-x top left; color: #177195;
	}
	
	.BlueTC .colorButton.orange {
		text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
		border: #d2b37e 1px solid;
		background: #ffc444 url('images/colorbutton_orange.png') repeat-x top left; color: #7e5c1a;
	}
	
	.BlueTC .colorButton.red {
		text-shadow: 0px 1px 1px rgba(210, 137, 126, 0.75);
		border: #C58076 1px solid;
		background: #FF5D44 url('images/colorbutton_red.png') repeat-x top left; color: #992F1F;
	}
	
	.BlueTC .colorButton.green {
		text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
		border: #9dbf52 1px solid;
		color: #3f8606;
		background: #99d041 url('images/colorbutton_green.png') repeat-x top left;
	}
	
	.BlueTC .colorButton.gray {
		text-shadow: 0px 1px 1px rgba(255, 255, 255, 0.75);
		border: #dadada 1px solid;
		color: #4d4d4d;
		background: #e9e9e9 url('images/colorbutton_gray.png') repeat-x top left;
	}
	
	.BlueTC .colorButton.text_only {
		height: 25px;
		line-height: 25px;
		text-align: center;
	}
	
	.BlueTC .toolbar .colorButton {
		height: 30px;
	}
	
	
	
	.BlueTC .colorButton.button-favorite.enabled span.icon {
		color: #FFB100;
	}

/**
 * Second flavor of buttons, flat white (messaging-like)
 */
.BlueTC .button2 {
	height: 32px;
	background: #efefef; color: #4d4d4d; font-size: 12px; font-weight: bold;
	text-transform: uppercase;
	overflow: hidden;
}
	.BlueTC .button2 img {
		margin-top: -3px;
	}
	

.BlueTC .button2_list  button,
.BlueTC .button2_list  div.button {
	margin: 2px; padding-left: 8px;
	width: 98%; height: 28px; line-height: 26px;
	background: #efefef url('images/button2.png'); color: #4d4d4d; font-size: 12px; font-weight: bold;
	text-transform: uppercase; text-align: left;
	overflow: hidden;
	
	border: #cfcfcf 1px solid; border-radius: 2px;
	box-shadow: 0 0 2px rgba(0, 0, 0, 0.2), 0 1px 1px rgba(255, 255, 255, 0.5) inset;
	text-shadow: none;
	box-sizing: border-box; -moz-box-sizing: border-box;
}
	.BlueTC .button2_list.no-upper button,
	.BlueTC .button2_list.no-upper  div.button {
		text-transform: none;
	}
	
	.BlueTC .button2_list button:hover,
	.BlueTC .button2_list div.button:hover {
		background: #fefefe;
	}
	
	.BlueTC .button2_list button.drop,
	.BlueTC .button2_list div.button.drop {
		background: #bbbbbb;
	}
	
	
	
/**
 * Flat style button
 */
.BlueTC .flatButton {
	display: inline-block; vertical-align: middle; line-height: 30px;
	border: none; margin: 5px; padding: 0 10px; height: 30px;
	background: #84be3f; border-radius: 15px; color: white !important; font-size: 15px !important; font-weight: normal;
	text-decoration: none;
}
	.BlueTC .flatButton.big {
		height: 40px; border-radius: 20px; font-size: 21px !important;
	}
	
	
	.BlueTC .flatButton.green {
		background: #84be3f;
	}
	
	.BlueTC .flatButton.orange {
		background: #ef8b1e;
	}
	

/**
 * Form formatting table
 */
.BlueTC table.form {
	margin: 5px; padding: 0; border-spacing: 0; border-collapse: collapse; background: none;
	width: 100%;
}
	
	.BlueTC table.form th {
		font-size: 12px; color: #6d6d6d; font-weight: bold; text-align: right; vertical-align: middle; padding: 5px; padding-right: 10px;
	}
		.BlueTC table.form tr.bigline th {
			vertical-align: top; padding-top: 15px;
		}
		.BlueTC table.form tr.bigline td {
			vertical-align: top;
		}
		
	.BlueTC table.form td.left,
	.BlueTC table.form th.left {
		text-align: left;
	}
	
	.BlueTC table.form td {
		font-size: 12px; color: #6d6d6d; font-weight: normal; vertical-align: middle; padding: 2px;
	}
		.BlueTC .form td input[type="text"],
		.BlueTC .form td input[type="email"],
		.BlueTC .form td input[type="password"],
		.BlueTC .form td input.datefield,
		.BlueTC .form td input[type="number"]
		.BlueTC .form td select {
			width: 100%;
			box-sizing: border-box; -moz-box-sizing: border-box; height: 30px;
		}
		
		.BlueTC table.form td p.hint {
			font-size: 12px;
			font-style: italic;
		}
		
	.BlueTC table.form td.status {
		width: 80px;
	}
	
	.BlueTC table.form.nomargin {
		margin: 0;
	}
		.BlueTC table.form.nomargin td {
			padding: 0;
		}
		
		.BlueTC table.form.nomargin th {
			padding: 0;
		}
		
		.BlueTC .form.nomargin td input[type="text"],
		.BlueTC .form.nomargin td input[type="email"],
		.BlueTC .form.nomargin td input[type="password"],
		.BlueTC .form.nomargin td input.datefield,
		.BlueTC .form.nomargin td input[type="number"]
		.BlueTC .form.nomargin td select {
			width: 95%; margin: 5px 0;
		}
.BlueTC table.form.autowidth {
	width: auto;
}
	.BlueTC .form.autowidth td input[type="text"],
	.BlueTC .form.autowidth td input[type="email"],
	.BlueTC .form.autowidth td input[type="password"],
	.BlueTC .form.autowidth td input.datefield,
	.BlueTC .form.autowidth td input[type="number"]
	.BlueTC .form.autowidth td select {
		width: 200px; margin: 5px 0;
	}
	
	
	
	
/** Dashed "Add item here" button */

.dashedButton {
	margin: 10px; padding: 10px;
	background: #f4f4f4;
	border: #dbdbdb 2px dashed; border-radius: 5px;
	font-size: 13px; color: #85b2c4; font-weight: bold;
	text-align: center;
	
	cursor: pointer;
}
	.dashedButton:hover {
		background: #eeeeee; color: #487f95;
	}
