/*------------------------------------------------------------------ 
[Copyright]

Copyright (c) 2008, WebAlive Pty. Ltd.
 
[Table of contents]

1. Flash Message / .message
	1.1 Failure message / #failureMessage
	1.2 Success message / #successMessage
2. Calendar Styles / table.calendar
3. Jtip / #Jtip
4. JGrowl / div.jGrowl
------------------------------------------------------------------*/


/*------------------------------------------------------------------ 
[Message Styles]
------------------------------------------------------------------*/
.message {
	padding: 1em;
	font-weight: bold;
	margin-bottom: 1em;	
}

/*------------------------------------------------------------------ 
[Failure Styles]
------------------------------------------------------------------*/
#failureMessage, #authMessage {
	border: 1px solid #fe7d7d;
	background: #feebeb url(/img/icons/cross.png) no-repeat 15px 50%;
	color: red;
	padding-left: 40px;
}

/*------------------------------------------------------------------ 
[Success Styles]
------------------------------------------------------------------*/
#successMessage {
	border: 1px solid green;
	background: #E1FED6 url(/img/icons/tick.png) no-repeat 15px 50%;
	color: green;
	padding-left: 40px;	
}

/*------------------------------------------------------------------ 
[Calendar Styles]
------------------------------------------------------------------*/
div.calendarWrapper { position: relative; }

span.calendarLoader {
	position: absolute;
	top: 50%;
	left: 50%;
}

table.calendar {
	width: 100%; 
	border: 1px solid #cccccc; 
	border-collapse: collapse; 
	margin: 0px; 
	padding: 0px; 
	background-color: #ffffff;
}

table.calendar th {
	background-color: #eeeeee; 
	text-transform: none; 
	color: #444444; padding: 4px; 
	text-align: center; 
	border: 1px solid #eeeeee;
}
 
table.calendar th.cell-prev { text-align: left; }
table.calendar th.cell-next { text-align: right; }

table.calendar th.cell-header {
	width: 70px; 
	border-bottom: 1px solid #cccccc;
}

table.calendar td.cell-today { background-color: #e2e8f6; } /* today in the current month */
table.calendar td.cell-weekend { background-color: #F3F5EB; }

table.calendar td { 
	border: 1px solid #cccccc; 
	padding: 0.2em;
}

table.calendar td:hover { background: #FFFFCC; }

table.calendar td div.cell-number {
	text-align: right; 
	color: #444444; 
	display: block;
}

table.calendar td div {
	display: block; 
	font-size: 0.75em;
	text-align: left;
}

table.calendar thead th { border: 1px solid #cccccc; }


/*------------------------------------------------------------------ 
[Jtip]
------------------------------------------------------------------*/

#JT_arrow_left {
	background-image: url(/img/tooltip_arrow_left.gif);
	background-repeat: no-repeat;
	background-position: left top;
	position: absolute;
	z-index:101;
	left:-12px;
	height:23px;
	width:10px;
    top:-2px;
}

#JT_arrow_right {
	background-image: url(/img/tooltip_arrow_right.gif);
	background-repeat: no-repeat;
	background-position: left top;
	position: absolute;
	z-index:101;
	height:23px;
	width:11px;
    top:-2px;
}

#JT {
	position: absolute;
	z-index:100;
	border: 2px solid #CCCCCC;
	background-color: #fff;
}

#JT_copy {
	padding:10px 10px 10px 10px;
	color:#333333;
}

.JT_loader {
	background-image: url(/img/loader.gif);
	background-repeat: no-repeat;
	background-position: center center;
	width:100%;
	height:12px;
}

#JT_close_left {
	background-color: #CCCCCC;
	text-align: left;
	padding-left: 8px;
	padding-bottom: 5px;
	padding-top: 2px;
	font-weight:bold;
}

#JT_close_right {
	background-color: #CCCCCC;
	text-align: left;
	padding-left: 8px;
	padding-bottom: 5px;
	padding-top: 2px;
	font-weight:bold;
}

#JT_copy p {
	margin:3px 0;
}

#JT_copy img {
	padding: 1px;
	border: 1px solid #CCCCCC;
}

.jTip {
	cursor:help;
}

a.JT_close_left_icon {
	display: block;
	float: right;
	margin-right: 2px;
	width: 19px;
	background: url(/css/jquery-ui-themeroller/images/454545_256x240_icons_icons.png) -95px -127px;
	height: 18px;
	border: none;
	cursor: pointer;	
}

a.JT_close_left_icon:hover {
	background: url(/css/jquery-ui-themeroller/images/222222_256x240_icons_icons.png) -95px -127px;
}


/*------------------------------------------------------------------ 
[JGrowl styles]
------------------------------------------------------------------*/

div.jGrowl {
	padding: 			10px;
	z-index: 			9999;
}

/** Special IE6 Style Positioning **/
div.ie6 {
	position: 			absolute;
}

div.ie6.top-right {
	right: 				auto;
	bottom: 			auto;
	left: 				expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
  	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.top-left {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.bottom-right {
	left: 				expression( ( 0 - jGrowl.offsetWidth + ( document.documentElement.clientWidth ? document.documentElement.clientWidth : document.body.clientWidth ) + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.bottom-left {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 - jGrowl.offsetHeight + ( document.documentElement.clientHeight ? document.documentElement.clientHeight : document.body.clientHeight ) + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
}

div.ie6.center {
	left: 				expression( ( 0 + ( ignoreMe2 = document.documentElement.scrollLeft ? document.documentElement.scrollLeft : document.body.scrollLeft ) ) + 'px' );
	top: 				expression( ( 0 + ( ignoreMe = document.documentElement.scrollTop ? document.documentElement.scrollTop : document.body.scrollTop ) ) + 'px' );
	width: 				100%;
}

/** Normal Style Positions **/
body > div.jGrowl {
	position:			fixed;
}

body > div.jGrowl.top-left {
	left: 				0px;
	top: 				0px;
}

body > div.jGrowl.top-right {
	right: 				0px;
	top: 				0px;
}

body > div.jGrowl.bottom-left {
	left: 				0px;
	bottom:				0px;
}

body > div.jGrowl.bottom-right {
	right: 				0px;
	bottom: 			0px;
}

body > div.jGrowl.center {
	top: 				0px;
	width: 				50%;
	left: 				25%;
}

/** Cross Browser Styling **/
div.center div.jGrowl-notification, div.center div.jGrowl-closer {
	margin-left: 		auto;
	margin-right: 		auto;
}

div.jGrowl div.jGrowl-notification, div.jGrowl div.jGrowl-closer {
	background-color: 		#000;
	color: 					#fff;
	opacity: 				.85;
	filter: 				alpha(opacity = 85);
	zoom: 					1;
	width: 					235px;
	padding: 				10px;
	margin-top: 			5px;
	margin-bottom: 			5px;
	font-family: 			Tahoma, Arial, Helvetica, sans-serif;
	font-size: 				12px;
	text-align: 			left;
	display: 				none;
	-moz-border-radius: 	5px;
	-webkit-border-radius:	5px;
}

div.jGrowl div.jGrowl-notification {
	min-height: 			40px;
}

div.jGrowl div.jGrowl-notification div.header {
	font-weight: 			bold;
	font-size:				10px;
}

div.jGrowl div.jGrowl-notification div.close {
	float: 					right;
	font-weight: 			bold;
	font-size: 				12px;
	cursor:					pointer;
}

div.jGrowl div.jGrowl-closer {
	height: 				15px;
	padding-top: 			4px;
	padding-bottom: 		4px;
	cursor: 				pointer;
	font-size:				11px;
	font-weight: 			bold;
	text-align: 			center;
}


#commentVoteForm label, .commentReplyForm label {
    font-weight:bold;
    display:block;
}

#commentVoteForm .text input, .commentReplyForm .text input {
    width: 200px;
    margin-bottom:2px;
    padding:4px;
}

.commentReplyForm textarea {
	width:98%;
}

#commentVoteForm .text, .commentReplyForm .text {
    margin-bottom:10px;
}

#commentVoteForm .form-error, .commentReplyForm .form-error {
    background:#FEEBEB;
    border:1px solid red;
}

#commentVoteForm .error-message, .commentReplyForm .error-message {
    color:red;
    background:url("/img/icons/cross_small.gif") no-repeat;
    padding-left:18px;
    height:18px;
    line-height:18px;
}

