/* Powermail */
/* Hide mandatory helper */
.powermail_mandatory_helper {
	visibility: hidden;
	height: 1px;
	position: absolute;
}

/* DIV container arround every field */
div.tx_powermail_pi1_fieldwrap_html {
	position: relative;
}

/* Description icon */
div.tx_powermail_pi1_fieldwrap_html img.icon_info {
	padding: 2px 2px 0 2px;
}

/* Description */
div.tx_powermail_pi1_fieldwrap_html label a dfn,
div.tx_powermail_pi1_fieldwrap_html p a dfn,
div.tx_powermail_pi1_fieldwrap_html fieldset legend.tx_powermail_pi1_fieldwrap_html_checkbox_title a dfn,
div.tx_powermail_pi1_fieldwrap_html fieldset legend.tx_powermail_pi1_fieldwrap_html_radio_title a dfn {
	display: none;
	text-decoration: none;
	position: absolute;
	z-index: 1;
	width: auto;
	padding: 3px 10px 5px 10px;
	background-color: #00559E;
	border: 1px solid #00559E;
	font-size: 11px;
	color: #fff;
	white-space: normal;
	/* CSS3 spicing for mozilla and webkit */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

	-moz-box-shadow: 0 0 6px #ddd;
	-webkit-box-shadow: 0 0 6px #ddd;
	box-shadow: 0 0 6px #ddd;
}

/* Description on mouseover */
div.tx_powermail_pi1_fieldwrap_html label a:hover dfn,
div.tx_powermail_pi1_fieldwrap_html p a:hover dfn,
div.tx_powermail_pi1_fieldwrap_html fieldset legend.tx_powermail_pi1_fieldwrap_html_checkbox_title a:hover dfn,
div.tx_powermail_pi1_fieldwrap_html fieldset legend.tx_powermail_pi1_fieldwrap_html_radio_title a:hover dfn {
	display: block;
}

/* For the details, see: http://flowplayer.org/tools/dateinput/index.html#skinning */
/* the input field */
.tx_powermail_pi1_fieldwrap_html_datetime .date {
	width: 237px !important;
}

/* date trigger icon */
a.caltrigger {
	position: absolute;
	background: url(../img/calendar.png) no-repeat 0 0;
	top: 2px;
	left: 450px;
	width: 16px;
	height: 16px;
}

.tx_powermail_pi1_fieldwrap_html_date a.caltrigger {
	left: 487px;
}

/* calendar root element */
#calroot {
	/* place on top of other elements. set a higher value if nessessary */
	z-index: 10000;

	margin-top: -1px;
	width: 198px;
	padding: 2px;
	background-color: #fff;
	font-size: 11px;
	border: 1px solid #ccc;

	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

	-moz-box-shadow: 0 0 15px #666;
	-webkit-box-shadow: 0 0 15px #666;
	box-shadow: 0 0 15px #666;
}

/* head. contains title, prev/next month controls and possible month/year selectors */
#calhead {
	padding: 2px 0;
	height: 22px;
}

#caltitle {
	font-size: 14px;
	color: #FA8800;
	float: left;
	text-align: center;
	width: 155px;
	line-height: 20px;
	text-shadow: 0 1px 0 #ddd;
}

#calnext, #calprev {
	display: block;
	width: 20px;
	height: 20px;
	background: transparent url(../img/prev.gif) no-repeat scroll center center;
	float: left;
	cursor: pointer;
}

#calnext {
	background-image: url(../img/next.gif);
	float: right;
}

#calprev.caldisabled, #calnext.caldisabled {
	visibility: hidden;
}

/* year/month selector */
#caltitle select {
	font-size: 10px;
}

/* names of the days */
#caldays {
	height: 18px;
	border-bottom: 1px solid #ddd;
}

#caldays span {
	display: block;
	float: left;
	width: 28px;
	text-align: center;
}

/* container for weeks */
#calweeks {
	background-color: #fff;
	margin-top: 4px;
}

/* single week */
.calweek {
	clear: left;
	height: 22px;
}

/* single day */
.calweek a {
	display: block;
	float: left;
	width: 27px;
	height: 20px;
	text-decoration: none;
	font-size: 11px;
	margin-left: 1px;
	text-align: center;
	line-height: 20px;
	color: #666;
	-moz-border-radius: 3px;
	-webkit-border-radius: 3px;
}

/* different states */
.calweek a:hover, .calfocus {
	background-color: #ddd;
}

/* sunday */
a.calsun {
	color: red;
}

/* offmonth day */
a.caloff {
	color: #ccc;
}

a.caloff:hover {
	background-color: rgb(245, 245, 250);
}

/* unselecteble day */
a.caldisabled {
	background-color: #efefef !important;
	color: #ccc !important;
	cursor: default;
}

/* current day */
#calcurrent {
	background-color: #498CE2;
	color: #fff;
}

/* today */
#caltoday {
	background-color: #333;
	color: #fff;
}

/* slider root element */
.slider {
	background: #3C72E6 url(../img/h30.png) repeat-x 0 0;
	height: 9px;
	position: relative;
	cursor: pointer;
	border: 1px solid #333;
	width: 300px;
	float: left;
	clear: right;
	margin-top: 10px;
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;
	-moz-box-shadow: inset 0 0 8px #000;
	box-shadow: inset 0 0 8px #000;
}

/* progress bar (enabled with progress: true) */
.progress {
	height: 9px;
	background-color: #C5FF00;
	display: none;
	opacity: 0.6;
}

/* drag handle */
.handle {
	background: #fff url(../img/h30.png) repeat-x 0 0;
	height: 28px;
	width: 28px;
	top: -12px;
	position: absolute;
	display: block;
	margin-top: 1px;
	border: 1px solid #000;
	cursor: move;
	-moz-box-shadow: 0 0 6px #000;
	-webkit-box-shadow: 0 0 6px #000;
	box-shadow: 0 0 6px #000;
	-moz-border-radius: 14px;
	-webkit-border-radius: 14px;
	border-radius: 14px;
}

/* the input field */
fieldset.tx-powermail-pi1_fieldset input.powermail_text.range {
	float: left;
	margin: 0 0 0 15px;
	padding: 3px 0;
	text-align: center;
	width: 50px;
}

/* error message */
.error {
	/* supply height to ensure consistent positioning for every browser */
	background-color: #FF0000;
	border: 1px solid #FF0000;
	font-size: 11px;
	color: #fff;
	padding: 3px 10px 5px 10px;
	margin-left: -2px;
	z-index: 10;
	text-align: left;
	height: auto;

	/* CSS3 spicing for mozilla and webkit */
	-moz-border-radius: 5px;
	-webkit-border-radius: 5px;
	border-radius: 5px;

	-moz-box-shadow: 0 0 6px #ddd;
	-webkit-box-shadow: 0 0 6px #ddd;
	box-shadow: 0 0 6px #ddd;
}

.error p {
	margin: 0;
	padding: 0;
	font-weight: bold;
}

/* pure CSS arrow */
html:root .error em {
	display: block;
	width: 0;
	height: 0;
	border: 10px solid;
	border-color: #FF0000 transparent transparent;

	/* positioning */
	position: absolute;
	bottom: -10px;
	left: 5px;
	border-bottom: 0 none;
}