/* /////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
//	DLib Date/Time CSS - copyright davidviner.com 2009-2020
//
//	13.10.2020	6.5.0	DJV		Mods for the minimum date on the calendar.
//
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////// */

#dlibpopcalendar
{
	display: none;
	background-color: white;
	color: #444;
	padding: 0 0 5px 0;
	font-size: 11px;
	width: 210px;
	border: 1px solid #555;
	border-radius: 4px;
	box-shadow: 3px 3px 5px rgba(0, 0, 0, 0.8);
	z-index: 9999;
	-webkit-user-select: none;
	-moz-user-select: none;
	user-select: none;
}

#dlibcaltitle
{
	background-color: #095c89;
	color: white;
	padding: 1px 2px 4px 4px;
	font-size: 12px;
	font-weight: bold;
	height: 20px;
	text-align: left;
	border-top-left-radius: 2px;
	border-top-right-radius: 2px;
	cursor: move;
}

#dlibcalclose
{
	float: right;
	margin: 2px 2px 0 0;
	width: 14px;
	height: 14px;
	background: url("/dlib/images/popcalclose.png") no-repeat;
}

#dlibcalclose:hover
{
	background: url("/dlib/images/popcalclosehover.png") no-repeat;
	cursor: pointer;
}

#dlibcaltable
{
	width: 200px;
	font-size: 12px;
	padding: 0;
	margin: 2px 5px 0 5px;
}

#dlibcaltable td, #dlibcaltable th
{
	margin: 0;
	padding: 0;
	border-radius: 0;
}

#dlibcaltable th
{
	font-size: 13px;
	background-color: #333;
	text-align: center;
	color: white;
	padding: 2px 0 3px 0;
	border-radius: 2px;
}

#dlibcaltable th a, #dlibcaltable th a:visited
{
	color: white;
	text-decoration: none;
}

#dlibcaltable th a:hover
{
	color: cyan;
	text-decoration: none;
	font-weight: bold;
}

#dlibcaltable td
{
	font-size: 12px;
	font-weight: bold;
	background-color: #f8f8f8;
	color: #111;
	text-align: center;
	border-right: 1px solid #f8f8f8;
	border-bottom: 1px solid #f8f8f8;
	padding: 3px 2px;
	border-radius: 2px;
}

#dlibcaltable td.ndt
{
	color: #aaa;
	background-color: #eee;
	border-right: 1px solid #ccc;
	border-bottom: 1px solid #ccc;
	box-shadow: inset 0 4px 3px rgba(240, 240, 240, .8);
}

#dlibcaltable td.hwe
{
	background-color: #322;
	color: white;
}

#dlibcaltable td.hday
{
	background-color: #445;
	color: white;
}

#dlibcaltable td.cbl
{
	background-color: #f4f4f4;
	border-right: 1px solid #f4f4f4;
	border-bottom: 1px solid #f4f4f4;
}

#dlibcaltable td.cwe
{
	background-color: #bbb;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	box-shadow: inset 0 4px 3px rgba(240, 240, 240, .8);
}

#dlibcaltable td.cday
{
	background-color: #e0e0e9;
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	box-shadow: inset 0 4px 3px rgba(240, 240, 240, .8);
}

#dlibcaltable td.ctoday
{
	background-color: #89d5f5;
	color: black;
	border-top: 0;
	border-left: 0;
	border-right: 1px solid #999;
	border-bottom: 1px solid #999;
	border-radius: 3px;
	box-shadow: inset 0 5px 4px rgba(240, 240, 240, .8);
}

#dlibcaltable td.cdayh
{
	background-color: #ff8;
	color: blue;
	font-weight: bold;
	border-top: 1px solid #999;
	border-left: 1px solid #999;
	border-right: 0;
	border-bottom: 0;
	cursor: pointer;
}

#dlibpcalmsg
{
	text-align: center;
	padding-top: 3px;
	font-size: 10px;
	margin: 0;
}

@media only screen and (max-width: 50em)
{
	#dlibpopcalendar
	{
		font-size: 14px;
		width: 230px;
	}

	#dlibcaltitle
	{
		font-size: 16px;
		height: 20px;
	}

	#dlibcaltable, #dlibcaltable th
	{
		font-size: 13px;
	}
}
