/**
 * CSS styles for forms generated by yiic.
 *
 * The styles can be applied to the following form structure:
 *
 * <div class="form">
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 *     <div class="row buttons">
 *         <label for="inputid">xyz</label>
 *         <input name="inputid" id="inputid" type="text" />
 *         <p class="hint">hint text</p>
 *     </div>
 * </div>
 *
 * The above code will render the labels and input fields in separate lines.
 * In order to render them in the same line, please use the "wide" form as follows,
 *
 * <div class="wide form">
 *     ......
 * </div>
 *
 * @author Qiang Xue <qiang.xue@gmail.com>
 * @link http://www.yiiframework.com/
 * @copyright Copyright &copy; 2008-2010 Yii Software LLC
 * @license http://www.yiiframework.com/license/
 */


/*
** GENERAL FORM STYLES
*/

div.form,
{
	padding-left:14px;
}

div.form input,
div.form textarea,
div.form select
{
	margin: 0.2em 1em 0.5em 0;
	padding: 2px;
	border: 1px solid rgba(0, 0, 0, 0.8);
	outline: 0; 
	font: normal "Open Sans", Arial; 
	background: #FFFFFF; 
	box-shadow: inset 0px 0px 5px rgba(0,0,0, 0.3); 	
}

.form input:hover,
.form textarea:hover, 
.form input:focus, 
.form textarea:focus, 
.form select:hover,
.form select:focus
{ 
	background-color: white;
	box-shadow: inset 0px 0px 5px rgba(0, 0, 0, 0.9);
	border-color: #C9C9C9; 
} 


div.form .logOut, 
#header div.form .logOut a
{ 
	width: auto; 
	padding: 5px; 
	background-color: #4ac9df;  
	border: 0; 
	font-size: 10px;
	color: white; 
	font-weight: bold;
	text-decoration: none;
}

div.form .logOut:hover,
#header div.form .logOut a:hover,
div.form .logOut:focus,
#header div.form .logOut a:focus
{ 
	background-color: #2e7d8b; 
}


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

div.form.login label
{
	font-weight: bold;
	font-size: 0.9em;
	display: block;
	color: #f1f1f1;
}

div.form label
{
	font-weight: bold;
	font-size: 0.9em;
	display: block;
	color: #575757;
}

div.form .row
{
	margin: 5px;
}

div.form .compactRadioGroup LABEL,
div.form .compactRadioGroup INPUT
{
    display: inline;
}

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

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

div.form span.required,
.mainForm span.required
{
	color: #cc0001;
}

/* Different red for login form as it is displayed on gray background */
div.form.login div.error label:first-child,
div.form.login label.error,
div.form.login span.error,
div.form.login span.required,
div.form.login .errorMessage
{
	color: #e06667;
}

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

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, 
div.mainForm div.error input,
div.mainForm div.error textarea,
div.mainForm div.error select,
div.mainForm input.error,
div.mainForm textarea.error,
div.mainForm select.error
{
	background: #FEE;
	border-color: #cc0001;
}

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, 
div.mainForm div.success input,
div.mainForm div.success textarea,
div.mainForm div.success select,
div.mainForm input.success,
div.mainForm textarea.success,
div.mainForm select.success

{
	background: #fff1e6;
	border-color: #ff7600;
}


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

div.form .errorMessage,
div.mainForm .errorMessage
{
	color: #cc0001;
	font-size: 0.9em;
}

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

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

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

div.wide.form .row
{
	clear: left;
}

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

/*
** MAIN FORM STYLES - large input fields
*/

.mainForm input, 
.mainForm textarea, 
.mainForm select
{ 
	margin: 7px 5px 7px 5px;
	padding: 9px; 
	border: 1px solid rgba(45, 125, 139, 0.3);  /* constantin dark blue border */
	outline: 0; 
	font: normal 15px/100% Verdana, Tahoma, sans-serif; 
	background: #FFFFFF; 
	
	box-shadow: 0px 0px 5px rgba(0,0,0, 0.1); 
} 

.mainForm select
{
	height: 40px; 
}
   
.mainForm textarea { 
    width: 400px; 
    max-width: 400px; 
    height: 150px; 
    line-height: 150%; 
    } 
   
.mainForm input:hover, 
.mainForm textarea:hover, 
.mainForm input:focus, 
.mainForm textarea:focus, 
.mainForm select:hover,
.mainForm select:focus
{ 
	background-color: rgba(74, 201, 223, 0.1);
	border-color: #C9C9C9; 
} 
   
.mainForm label 
{ 
	margin-left: 10px; 
	color: #575757; 
} 

/*
** BUTTONS
*/
div.button input
{
	width: auto; 
	padding: 9px 15px; 
	border: 0; 
	font-size: 14px; 
	cursor: pointer;
	-webkit-appearance: none;
}
div.sButton input
{
	width: auto; 
	padding: 4px 7px; 
	border: 0; 
	font-size: 12px; 
	cursor: pointer;
	-webkit-appearance: none;
}
/*orange button*/
div.orangeB input
{
	background: #ff7600; 
	color: #FFFFFF; 
}
div.orangeB input:hover,
div.orangeB input:focus
{ 
	background-color: #ff4400;
}
/*constantin dark blue button*/
div.cBlue1B input
{
	background: #2e7d8b; 
	color: #FFFFFF; 
}
div.cBlue1B input:hover,
div.cBlue1B input:focus
{ 
	background-color: #4ac9df;
}
/*constantin light blue button*/
div.blueB input
{
	//background: #4ac9df; 
	background: #00b5ff;
	color: #FFFFFF; 
}
div.blueB input:hover,
div.blueB input:focus
{ 
	//background-color: #2e7d8b;
	background-color: #389cdb;
}
/*dark red button*/
div.dRedB input
{
	background: #aa0000; 
	color: #FFFFFF; 
}
div.dRedB input:hover,
div.dRedB input:focus
{ 
	background-color: #ff0000;
}
/*beginner class button*/
div.beginnerB input
{
	background: #00c2ff; 
	color: #FFFFFF; 
}
div.beginnerB input:hover,
div.beginnerB input:focus
{ 
	background-color: #008ab5;
}

/*cardio class button*/
div.cardioB input
{
	background: #ff0099; 
	color: #FFFFFF; 
}
div.cardioB input:hover,
div.cardioB input:focus
{ 
	background-color: #c70a8b;
}

/*red button*/
div.redB input
{
	background: #ff0000; 
	color: #FFFFFF; 
}
div.redB input:hover,
div.redB input:focus
{ 
	background-color: #aa0000;
}
/*gray button*/
div.grayB input
{
	background: rgba(0, 0, 0, 0.4); 
	color: #FFFFFF; 
}
div.grayB input:hover,
div.grayB input:focus
{ 
	background-color: rgba(0, 0, 0, 0.6); 
}
.sSubmit input 
{ 
	width: auto; 
	padding: 4px 7px; 
	background: #2e7d8b; 
	border: 0; 
	font-size: 12px; 
	color: #FFFFFF; 
	cursor: pointer;
}

.sSubmit input:hover,
.sSubmit input:focus
{ 
	background-color: #4ac9df;
}
 
.submit input 
{ 
    width: auto; 
    padding: 9px 15px; 
    background: #2e7d8b; 
    border: 0; 
    font-size: 14px; 
    color: #FFFFFF; 
}

.submit input:hover,
.submit input:focus
{ 
	background-color: #4ac9df;
}

/*
div.form
{
	padding-left:14px;
}

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

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

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

div.form .rowF
{
	margin: 5px;
}

div.form .compactRadioGroup LABEL,
div.form .compactRadioGroup INPUT
{
    display: inline;
}

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: #FFFF99;
	border-color: #FFFF66;
}


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

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.wide.form label
{
	float: left;
	margin-right: 10px;
	position: relative;
	text-align: right;
	width: 100px;
}

div.wide.form .rowF
{
	clear: left;
}

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