/* Datepicker border styling */
.datepicker {
/*  background-color: #F7F7F7;*/
  border: 1px solid #CCCCCC;
  border-radius: 5px 5px 5px 5px;
/*  padding: 10px;*/
}

/* Tighten up the spacing between multiple calendars */
.datepickerSpace div {
  width:2px;
}

/* Grey background behind Month Name row, and blue text */
div.datepicker th {
/*  background-color:#DDDDDD;*/
}
div.datepicker th a.datepickerMonth {
  color:#008ED6;
/*  font-weight:normal;*/
}

/* style the day of week header cells */
div.datepicker th {
  color: #323c46;
  font-weight: bold;
}
/* grey underline beneath day of week row */
div.datepicker table thead tr.datepickerDoW th {
  border-bottom: 1px solid #CCCCCC;
}

/* Black text, white background, and grey borders around day cells */
div.datepicker a,
div.datepicker a:hover {
  color: black;
}
div.datepicker table.datepickerViewDays,
div.datepicker table.datepickerViewMonths,
div.datepicker table.datepickerViewYears {
  background-color:white;
}
div.datepicker table tbody.datepickerDays td {
  border: 1px solid #F7F7F7;
}

/* blue cell color for selected days */
tbody.datepickerDays td.datepickerSelected {
  background-color:#0077CC;
}

/* Grey out dates in the future */
div.datepicker td.datepickerFuture a {
  color:#DDDDDD;
}

/* yellow cell background on hover */
@media (min-width:768px) {
	div.datepicker tbody.datepickerDays td:hover {
		background-color: #4baaff;
	}
}

/* Bold today's date */
div.datepicker td.datepickerToday a {
  font-weight:bold;
}

/* cells are wider in the clean style */
.datepickerYears a, .datepickerMonths a {
  width: 42px;
}
.datepickerMonths td:first-child a,
.datepickerYears td:first-child a {
  width:39px;
}
div.datepicker th a.datepickerMonth {
  width:121px;
}

.datepickerDays a {
    line-height: 1;
    width: auto;
    height: auto;
    text-align: center;
    padding: 10px 0 9px;
}
/* ==================================
 Dsptスタイル追加
================================== */
.datepicker {
	border: none;
	border-radius: 0;
}
div.datepicker{
	width: auto !important;
	height: auto !important;
}
div.datepicker th{
	text-align: center;
}
.datepickerContainer{
	position: static;
	width: auto !important;
	height: auto !important;
}
div.datepicker table thead tr.datepickerDoW th{
	background-color: #F8F9F9;
	padding: 10px 10px;
	border: 1px solid #F7F7F7;
}
div.datepicker table tbody.datepickerDays td{
	vertical-align: middle;
}
.datepickerDays a{
	min-height: 14px;
	height: auto;
	line-height: 1;
	padding-right: 0;
	padding: 10px 0;
}
div.datepicker a{
	cursor: pointer;
}
div.datepicker td.datepickerToday{
	background-color: #F4F46E;
}
tbody.datepickerDays td.datepickerSelected{
	background-color: #679CAF;
}
div.datepicker .datepickerFirstView th a.datepickerMonth{
  margin-left: auto;
}
div.datepicker th a.datepickerMonth{
	color: #323c46;
	padding: 10px 0;
	cursor: default;
	display: inline-block;
	float: none;
	width: auto;
}
div.datepicker th a.datepickerGoPrev,
div.datepicker th a.datepickerGoNext{
	padding: 10px 0;
}
div.datepicker th a.datepickerGoPrev{
  padding-left: 10px;
}
div.datepicker th a.datepickerGoNext{
  padding-right: 10px;
	float: right;
}
div.datepicker td.datepickerFuture a{
	color: #323c46;
}

div.datepicker table thead tr.datepickerDoW th:first-of-type,
div.datepicker td.datepickerSunday a{
	color: #af2223;
}
div.datepicker table thead tr.datepickerDoW th:last-of-type,
div.datepicker td.datepickerSaturday a{
	color: #569db2;
}
div.datepicker tbody.datepickerDays td.datepickerDisabled a,
div.datepicker tbody.datepickerDays td.datepickerPast a{
	opacity: .25;
	filter: Alpha(Opacity=35);
	background-image: none;
	cursor: not-allowed;
	color: #2b2b2b;
}

@media screen and (max-width: 583px) {
	div.datepicker .datepickerContainer > table > tbody > tr > td{
		display: none;
	}
	div.datepicker .datepickerContainer > table > tbody > tr > td:first-of-type{
		display: block;
	}
	div.datepicker .datepickerContainer table,
	div.datepicker .datepickerContainer .datepickerBlock > table {
    width: 100%;
	}
	.datepickerDays a {
    padding: 14px 0 13px;
	}
	div.datepicker table table tbody a {
/*    min-height: 39px;*/
	}
	div.datepicker th a.datepickerGoNext,
	div.datepicker th a.datepickerGoPrev {
		display: block;
	}
	div.datepicker th a.datepickerMonth,
	div.datepicker th a.datepickerMonth:hover {
/*		padding: 15px 0 14px;*/
	}
	div.datepicker .datepickerLastView th a.datepickerMonth {
	  margin-left:0;
	}
	div.datepicker .datepickerGoPrev span,
	div.datepicker .datepickerGoNext span {
		width: 40px;
		height: 40px;
	}
}