
/*
---------------------------------------------------------------------------------------------------
| CALENDAR
---------------------------------------------------------------------------------------------------
*/

	/* Button.
	 * ---------------------------------------------------------------- */

		button.ifab_calendar {
			margin    : 1px 5px 10px 2px;
			padding   : 0;
			float     : left;
			width     : 29px;
			height    : 20px;
			font-size : .2em;
			border    : 0 none transparent;
			text-align: center;
			background: transparent url(../images/ifab_calendar/sy.gif) no-repeat center;
			cursor    : pointer; }

		button.ifab_calendar:hover, button.ifab_calendar.active {}


	/* Main element.
	 * ---------------------------------------------------------------- */

		div.ifab_calendar, div.ifab_calendar * {
			margin : 0;
			padding: 0; }

		div.ifab_calendar {
			padding   : 0;
			width     : 163px;
			height    : 180px;
			text-align: center;
			background: transparent url(../images/ifab_calendar/bg.gif) no-repeat top left; }

		div.ifab_calendar div {
			position   : relative;
			margin-left: 4px;
			padding-top: 21px;
			width      : 154px;
			height     : 158px;
			background-color: transparent;
			cursor     : move;
			overflow   : hidden; }

		div.ifab_calendar table {
			margin          : 0;
			padding         : 0;
			width           : 154px;
			table-layout    : fixed;
			border          : 1px solid #fff !important;
			border-right    : 0px none transparent !important;
			border-bottom   : 0px none transparent !important;
			font-size       : 11px;
			overflow        : hidden;
			cursor          : default;
			background-color: #fff !important; }


	/* Navigation
	 * ---------------------------------------------------------------- */

		div.ifab_calendar table caption {
			padding     : 0;
			width       : 154px;
			height      : 20px;
			caption-side: top;
			border      : 0 none;
			text-align  : center;
			color       : #444;
			line-height : 21px; }

		div.ifab_calendar table caption a {
			position   : absolute;
			display    : block;
			top        : 21px;
			width      : 12px;
			height     : 20px;
			text-indent: -100px;
			overflow   : hidden;
			cursor     : pointer; }

		div.ifab_calendar table caption a.prev {
			left      : 0;
			background: transparent url(../images/ifab_calendar/nav.gif) no-repeat 0 0; }
		div.ifab_calendar table caption a.prev:hover, div.ifab_calendar table caption a.prev:focus {
			background: transparent url(../images/ifab_calendar/nav.gif) no-repeat 0 -20px; }

		div.ifab_calendar table caption a.next {
			right           : 0;
			background: transparent url(../images/ifab_calendar/nav.gif) no-repeat -12px 0; }
		div.ifab_calendar table caption a.next:hover, div.ifab_calendar table caption a.next:focus {
			background: transparent url(../images/ifab_calendar/nav.gif) no-repeat -12px -20px; }

		div.ifab_calendar table caption span {
			position   : relative;
			text-align : center;
			line-height: 20px; }

		div.ifab_calendar table caption span.month {
			padding-right: 5px; }

		div.ifab_calendar table caption span.month:after {
			content: ','; }


	/* Weekday
	 * ---------------------------------------------------------------- */

		div.ifab_calendar table thead, div.ifab_calendar table thead th {
			height: 19px; }

		/*body div.ifab_calendar div table thead tr th {*/
		div.ifab_calendar table th {
			border-color    : #fff;
			border-right    : 0px none transparent !important;
			color           : #555;
			font-weight     : normal;
			text-align      : center;
			background-color: #d9e9f0; }


	/* Day
	 * ---------------------------------------------------------------- */

		/*body div.ifab_calendar div table tbody tr td {*/
		div.ifab_calendar table tbody td {
			height      : 19px;
			border-color: #fff; }

		div.ifab_calendar table body td {
			color           : #aeaeae;
			font-weight     : normal;
			text-align      : center;
			background-color: transparent;
			border          : 0 none transparent !important; }

		div.ifab_calendar table td {
			color       : #ededed;
			background  : #fff url(../images/ifab_calendar/bg_days.gif) no-repeat 0 0;
			border-color: #fff; }

		div.ifab_calendar table td.invalid {
			color              : #b7b7b7;
			background-position: -50px 0; }

		div.ifab_calendar table td.valid {
			color              : #444;
			cursor             : pointer;
			background-color   : #f5f5f5;
			background-position: 0 0; }

		div.ifab_calendar td.hilite {}

		div.ifab_calendar td.inactive {}

		div.ifab_calendar table td.today {
			color           : #222 !important;
			background-color: #b6d4e3 !important; }

		div.ifab_calendar td.active, div.ifab_calendar td.hover {
			color              : #222 !important;
			background-color   : #b6d4e3 !important;
			background-position: 0 0 !important;
			cursor             : pointer; }
