/*
	Stylesheet for Tigra Calendar v5.0
	Product is Public Domain (Free for any kind of applicaiton, customization and derivative works are allowed) 
	URL: http://www.softcomplex.com/products/tigra_calendar/

	- all image paths are relative to path of stylesheet
	- the styles below can be moved into the document or in existing stylesheet

*/

/* input box in default state */ 
.tcalInput {
	padding-right: 20px;
	cursor: pointer;
}

/* additional properties for input boxe in activated state, above still applies unless in conflict */
.tcalActive {
	background-image: url('img/no_cal.gif');
}
/* container of calendar's pop-up */
#tcal {
	position: absolute;
	visibility: hidden;
	z-index: 100;
	background-color: white;
	border: 1px solid silver;
	-moz-box-shadow: 3px 3px 4px silver;
	-webkit-box-shadow: 3px 3px 4px silver;
	box-shadow: 3px 3px 4px silver;
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver')";
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='silver');
}

/* table containing navigation and current month */
#tcalControls {
	border-collapse: collapse;
	border: 0;
	width: 100%;
}
#tcalControls td {
	border-collapse: collapse;
	border: 0;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: pointer;
}
#tcalControls th {
	border-collapse: collapse;
	border: 0;
	padding: 0;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	font-weight: bold;
	white-space: nowrap;
}
#tcalPrevYear { background-image: url('img/prev_year.gif'); }
#tcalPrevMonth { background-image: url('img/prev_mon.gif'); }
#tcalNextMonth { background-image: url('img/next_mon.gif'); }
#tcalNextYear { background-image: url('img/next_year.gif'); }

/* table containing week days header and calendar grid */
#tcalGrid {
	border-collapse: collapse;
	border: 1px solid silver;
	width: 100%;
}
#tcalGrid th {
	border: 1px solid silver;
	border-collapse: collapse;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	background-color: gray;
	color: white;
}
#tcalGrid td {
	border: 0;
	border-collapse: collapse;
	text-align: center;
	font-family: Tahoma, Geneva, sans-serif;
	cursor: pointer;
}		


@media only screen and (min-width : 1024px) {
	#tcal {
		width: 150px;
		margin-top: 2px;
		padding: 0 2px 2px 2px;
	}

	#tcalControls th {
		line-height: 25px;
		font-size: 10px;
	}

	#tcalGrid th {
		padding: 3px 0;
		font-size: 10px;
	}
	#tcalGrid td {
		padding: 2px 0;
		width: 14%;
		font-size: 11px;
	}

	#tcalControls td {
		width: 16px;
		padding: 0;
	}

	#tcalPrevYear { background-image: url('img/prev_year.gif'); }
	#tcalPrevMonth { background-image: url('img/prev_mon.gif'); }
	#tcalNextMonth { background-image: url('img/next_mon.gif'); }
	#tcalNextYear { background-image: url('img/next_year.gif'); }

	.tcalInput {
		background: white url('img/cal.gif') 100% 50% no-repeat;
	}
}


@media only screen and (max-width : 1023px) {
	#tcal {
		width: 350px;
		margin-top: 2px;
		padding: 0 2px 2px 2px;
	}

	#tcalControls th {
		line-height: 1.2;
		font-size: 22px;
	}

	#tcalGrid th {
		padding: 3px 0;
		font-size: 22px;
	}
	#tcalGrid td {
		padding: 4px 0;
		width: 18%;
		font-size: 22px;
	}

	#tcalControls td {
		width: 40px;
		padding: 10px;
	}

	#tcalPrevYear { background-image: url('img/prev_year.gif'); background-size: 10px;}
	#tcalPrevMonth { background-image: url('img/prev_mon.gif'); background-size: 10px;}
	#tcalNextMonth { background-image: url('img/next_mon.gif'); background-size: 10px;}
	#tcalNextYear { background-image: url('img/next_year.gif'); background-size: 10px;}

	.tcalInput {
		background-image: url('img/cal.gif');
		background-repeat: no-repeat;
		background-position: 100% 50%;
		background-size: 30px;
		background-color: white;
	}
}		
