/**
 * Styles für Kalendarwidget
 *
 * $Id$
 * @version $Revision: 1.13 $
 * @see DL.Widgets.Calendar
 */

/*/////////////////////////////////////////////////////////////////////////////
// Body
/////////////////////////////////////////////////////////////////////////////*/

.Calendar
{
	font-family: Arial;
}

.Calendar .Body.Popup
{
	position: absolute;
	z-index: 1000;
}

/*/////////////////////////////////////////////////////////////////////////////
// Buttons, ButtonContainer
/////////////////////////////////////////////////////////////////////////////*/

.Calendar .Body ul.Buttons
{
	list-style: none;
	margin: 0;
	padding: 0;
}
.Calendar .Body ul.Buttons li
{
	list-style: none;
	float: left;
}
.Calendar .Body ul.Buttons li.Last
{
	background: none;
}
.Calendar .Body ul.Buttons a
{
	margin: 0;
	padding: 0;
	border: 0;
	width: 47px;
	height: 16px;
	cursor: pointer;
	font-weight: bolder;
	display: block;
	background-repeat: no-repeat;
	background-position: center;
}
/*/////////////////////////////////////////////////////////////////////////////
// Calendar-Leaf-Table
/////////////////////////////////////////////////////////////////////////////*/

.Calendar .Body table
{
	padding: 2px;
	text-align: center;
}

.Calendar .Body table th.Header
{
	font-size: 12px;
	font-weight: bold;
}

.Calendar .Body table th,
.Calendar .Body table td
{
	width: 16px;
	height: 16px;
	line-height: 16px;
	padding: 0;
	margin: 0;
	border: 0;
	font-size: 12px;
}

.Calendar .Body table td.date
{
	cursor: pointer;
}

.Calendar .Body table td.date.today
{
	background-color: #000;
}

.Calendar .Body table td.empty,
.Calendar .Body table td.disabled
{
	cursor: default;
}

.Calendar .Body table td.selected,
.Calendar .Body table td.date.selected.hover
{
	background-color: #000;
	color: #FFF;
}

/*/////////////////////////////////////////////////////////////////////////////
// Daytime-Selector
/////////////////////////////////////////////////////////////////////////////*/

.Calendar .Body .Footer .Component.MaskInput,
.Calendar .Body .Footer .Component.TextInput
{
	margin: 0;
}

.Calendar .Body .Footer .Component.MaskInput .Label,
.Calendar .Body .Footer .Component.TextInput .Label
{
	position: relative;
	display: block;
	text-indent: 6px;
	height: 18px;
	line-height: 18px;
	/*font-weight: bolder;*/
}

.Calendar .Body .Footer .Component.MaskInput .Label .Input,
.Calendar .Body .Footer .Component.TextInput .Label .Input
{
	width: 90px;
	position: absolute;
	right: 3px;
	text-align: center;
	border: 0;
	padding: 1px;
	font-size: 12px;
	height: 16px;
}

/*/////////////////////////////////////////////////////////////////////////////
// INPUT-POPUP (INPUT)
/////////////////////////////////////////////////////////////////////////////*/

.Calendar .Inputs .Component.MaskInput.Date
{
	width: auto;
	background: 0;
	border: 0;
}

.Calendar .Inputs .Component.MaskInput.Date .Label
{
	/* ca. */
	width: 145px;
	display: block;
}

input.Widget-Calendar-Date,
div.Widget-Calendar-Date input
{
	cursor: pointer;
	border-width: 1px;
	width: 139px;
	margin: 0;
	background-image: url(/se_data/se_gfx/se4/icons/baseline-calendar_today-24px-green.svg);
	background-size: 24px;
	background-position: right center;
	background-repeat: no-repeat;
}

/*.Calendar .Inputs .Component.MaskInput.Date .Label.invalid .Input*/
input.Widget-Calendar-Date.invalid,
div.Widget-Calendar-Date .invalid .Input
{
}

input.Widget-Calendar-Date.invalid,
div.Widget-Calendar-Date .invalid .Input
{
	border-color: var(--eo-highlight-warning);
	/*
	background-color: red;
	color: white;
	*/
}

/*
.Widget.Calendar input.Widget-Calendar-Date,
.Widget.Calendar div.Widget-Calendar-Date .Input
{
	background-image: none;
}
*/

/*/////////////////////////////////////////////////////////////////////////////
// THEME DEFAULT
/////////////////////////////////////////////////////////////////////////////*/

/* HAUPTELEMENT */
.Calendar.ThemeDefault .Body
{
	background: #C8C8C8 url(/se_data/global/gfx/gui/widgets/calendar/theme-default/bg.png) repeat-x;
	background-position: 0px 16px;
	border: 1px solid #b2b2b2;
	cursor: default;
	width: 141px;
	color: black;
}

/* SCHALTFLÄCHEN */
.Calendar.ThemeDefault .Body ul.Buttons
{
	height: 16px;
	width: 141px;
	overflow: hidden;
}

.Calendar.ThemeDefault .Body ul.Buttons a.NextMonth
{
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-default/top.png) right top !important;
}

.Calendar.ThemeDefault .Body ul.Buttons a.PrevMonth
{
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-default/top.png) left top !important;
}
.Calendar.ThemeDefault .Body ul.Buttons a.Today
{
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-default/top.png) center top !important;
}

.Calendar.ThemeDefault .Body ul.Buttons a.NextMonth:active
{
	background-position: right bottom;
}

.Calendar.ThemeDefault .Body ul.Buttons a.PrevMonth:active
{
	background-position: left bottom;
}
.Calendar.ThemeDefault .Body ul.Buttons a.Today:active
{
	background-position: center bottom;
}


.Calendar.ThemeDefault .Body ul.Buttons li.Last
{
	background: none;
}

/* KALENDARBLATT */
.Calendar.ThemeDefault .Body table td
{
	background: #e6e6e6;
}

/* ZELLEN IM KALENDARBLATT */
.Calendar.ThemeDefault .Body table td.empty,
.Calendar.ThemeDefault .Body table td.disabled
{
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-default/bg_empty.png) top left;
}

/* ZELLEN HOVER */
.Calendar.ThemeDefault .Body table td.date.hover
{
	background: white;
	color: black;
}

/* ZEITINPUT */
.Calendar.ThemeDefault .Body .Footer
{
	margin-top: 1px;
	margin-bottom: 3px;
}

/* AUSWAHL */
.Calendar.ThemeDefault .Body table td.selected,
.Calendar.ThemeDefault .Body table td.date.selected.hover
{
	background-color: #9e9e9e;
	color: white;
}

/*/////////////////////////////////////////////////////////////////////////////
// THEME ENIGMA
/////////////////////////////////////////////////////////////////////////////*/

.Calendar.ThemeEnigma div.Body
{
	font-size: 10px;
	border: none;
	padding-bottom: 16px;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/bottom.png) left bottom no-repeat;
	width: 153px;
	margin-left: -4px;
}

.Calendar.ThemeEnigma div.Body.disabled
{
	opacity: 0.80;
	filter: alpha(opacity=80);
}


* html .Calendar.ThemeEnigma div.Content
{
	/*
	behavior: url(/se_data/global/js/behaviors/pngfix.htc);
	filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='/se_data/global/gfx/gui/widgets/calendar/theme-enigma/bottom.png',sizingMethod='scale');
	*/
}

.Calendar.ThemeEnigma .MaskInput .Label .Input,
.Calendar.ThemeEnigma .TextInput .Label .Input
{
	width: 142px;
}

/* HAUPTELEMENT */
.Calendar.ThemeEnigma .Body .Content
{
	padding: 0 8px 0 8px;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/middle.png) repeat-y;
	background-position: 0px 16px;
	cursor: default;
	color: #FFF;
}

/* SCHALTFLÄCHEN */
.Calendar.ThemeEnigma .Body ul.Buttons li
{
}

.Calendar.ThemeEnigma .Body ul.Buttons li a.PrevMonth
{
	display: block;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/top.png) no-repeat left top;
	height: 21px;
	width: 52px;
}

.Calendar.ThemeEnigma .Body ul.Buttons li a.PrevMonth:active
{
	background-position: left bottom;
}

.Calendar.ThemeEnigma .Body ul.Buttons li a.Today
{
	display: block;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/top.png) no-repeat -52px 0px;
	height: 21px;
	width: 49px;
}

.Calendar.ThemeEnigma .Body ul.Buttons li a.Today:active
{
	background-position: -52px -21px;
}

.Calendar.ThemeEnigma .Body ul.Buttons li a.NextMonth
{
	display: block;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/top.png) no-repeat right top;
	height: 21px;
	width: 52px;
}
.Calendar.ThemeEnigma .Body ul.Buttons li a.NextMonth:active
{
	background-position: bottom right;
}

/* KALENDARBLATT */
.Calendar.ThemeEnigma .Body table td
{
	/*background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/bg_date.png) top left;*/
}

.Calendar.ThemeEnigma .Body table th
{
	color: #CCC;
}

/* ZELLEN IM KALENDARBLATT */
.Calendar.ThemeEnigma .Body table td.empty,
.Calendar.ThemeEnigma .Body table td.disabled
{
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/bg_empty.png) top left;
}

/* ZELLEN HOVER */
.Calendar.ThemeEnigma .Body table td.date.hover
{
	background: #777;
	color: #FFF;
	font-weight: bold;
}


.Calendar.ThemeEnigma .Body .Footer
{
	padding: 4px 8px 0px 8px;
	background: url(/se_data/global/gfx/gui/widgets/calendar/theme-enigma/middle.png) repeat-y;
}
.Calendar.ThemeEnigma .Body .Footer .Component.MaskInput .Label
{
	position: relative;
	color: #EEE;
}
/* ZEITINPUT */
.Calendar.ThemeEnigma .Body .Footer .Component.MaskInput .Label .Input
{
	color: white;
	background-color: #2F2F2F;
	width: 80px;
}

/* AUSWAHL */
.Calendar.ThemeEnigma .Body table td.selected/*,
.Calendar.ThemeEnigma .Body table td.date.selected.hover*/
{
	/*font-weight: bold;*/
	background: #999;
	color: #FFF;
}


.Calendar.ThemeEnigma .Body table td.selected.first,
.Calendar.ThemeEnigma .Body table td.selected.last,
.Calendar.ThemeEnigma .Body table td.selected.clicked
{
	background: #777;
	/*color: #333;*/
}

.Calendar.ThemeEnigma  .Body.hasInput
{
	margin-left: -5px;
}
