
/* ================== */
/* = Dynamic styles = */
/* ================== */

table.jCalendar td {
    background: #C1E5C4; /* dynamic */
}
table.jCalendar td.other-month {
  color: #57B962 !important; /* dynamic */
}

table.jCalendar td.today {
    border: solid 1px #4DB75B; /* dynamic */
}

table.jCalendar td.selected {
    background: #4EB85D; /* dynamic */
    color: #fff;
}

table.jCalendar td.selected.dp-hover {
    background: #57B962;
}

/* ================== */
/* = ////////////// = */
/* ================== */

table.jCalendar {
    border: 1px solid #D7D7D7;
    border-top: none;
    border-collapse: separate;
    border-spacing: 1px;
}
table.jCalendar th {
    padding: 3px 5px;
    font-weight: bold !important;
}

table.jCalendar td {
    color: #3F3F3F;
    padding: 3px 5px;
    text-align: center;
    font-weight: bold !important;
}
table.jCalendar td.other-month {
  background: #ffffff !important;
  border: solid 1px #EBEBEB;
}
table.jCalendar td.today {
}
table.jCalendar td.selected {
    color: #fff;
}

table.jCalendar td.dp-hover,
table.jCalendar tr.activeWeekHover td {
    background: #fff;
    color: #000;
}
table.jCalendar tr.selectedWeek td {
    background: #f66;
    color: #fff;
}
table.jCalendar td.disabled, table.jCalendar td.disabled.dp-hover {
    color: #949494;
}
table.jCalendar td.unselectable,
table.jCalendar td.unselectable:hover,
table.jCalendar td.unselectable.dp-hover {
    background: #bbb;
    color: #888;
}

/* For the popup */

/* NOTE - you will probably want to style a.dp-choose-date - see how I did it in demo.css */

div.dp-popup {
    position: relative;
    font-size: 10px;
    font-family: arial, sans-serif;
    padding: 2px;
    width: 149px;
    line-height: 1.2em;
}

div.dp-popup .dp-nav-prev-month{
  font-size: 0em;
  background-image: url('../../../img/widget/calendar/arrow-left.gif');
  background-repeat:no-repeat;
  background-position:  8px  8px;
  width: 20px;
  height: 20px;
  
}


div.dp-popup .dp-nav-next-month{
  font-size: 0em;
  background-image: url('../../../img/widget/calendar/arrow-right.gif');
  background-repeat:no-repeat;
  background-position:  9px  8px;
  width: 20px;
  height: 20px;
}

div#dp-popup {
    position: absolute;
    z-index: 199;
}
div.dp-popup h2 {
    font-size: 12px;
    text-align: center;
    margin: 2px 0;
    margin-bottom: 0px;
    padding: 5px;
    padding-top: 9px;
    padding-bottom: 6px;
    font-family: arial, helvetica, sans-serif;
}
a#dp-close {
    font-size: 11px;
    padding: 4px 0;
    text-align: center;
    display: block;
}
a#dp-close:hover {
    text-decoration: underline;
}
div.dp-popup a {
    color: #000;
    text-decoration: none;
    padding: 3px 2px 0;
}
div.dp-popup div.dp-nav-prev {
    position: absolute;
    top: 6px;
    left: 6px;
    width: 100px;
    
}

div.dp-popup div.dp-nav-prev .dp-nav-prev-year{
  display: none;
}

div.dp-popup div.dp-nav-prev a {
    float: left;
    color: white;
}
/* Opera needs the rules to be this specific otherwise it doesn't change the cursor back to pointer after you have disabled and re-enabled a link */
div.dp-popup div.dp-nav-prev a, div.dp-popup div.dp-nav-next a {
    cursor: pointer;
}
div.dp-popup div.dp-nav-prev a.disabled, div.dp-popup div.dp-nav-next a.disabled {
    cursor: default;
}
div.dp-popup div.dp-nav-next {
    position: absolute;
    top: 6px;
    right: 6px;
    width: 100px;
}


div.dp-popup div.dp-nav-next .dp-nav-next-year{
  display: none;
}


div.dp-popup div.dp-nav-next a {
    float: right;
    color: white;
}
div.dp-popup a.disabled {
    cursor: default;
    color: #aaa;
}
div.dp-popup td {
    cursor: pointer;
}
div.dp-popup td.disabled {
    cursor: default;
}


/* located in demo.css and creates a little calendar icon
 * instead of a text link for "Choose date"
 */
a.dp-choose-date {
	float: left;
	width: 16px;
	height: 16px;
	padding: 0;
	margin: 5px 3px 0;
	display: block;
	text-indent: -2000px;
	overflow: hidden;
	background: url(calendar.png) no-repeat;
}
a.dp-choose-date.dp-disabled {
	background-position: 0 -20px;
	cursor: default;
}
/* makes the input field shorter once the date picker code
 * has run (to allow space for the calendar icon
 */
input.dp-applied {
	width: 140px;
	float: left;
}

.date-pick h2 {
    font-size: 1em;
    background: #000000 url(/img/msgv/var_top.png) no-repeat;
    width: 139px;
    height: 15px;
    padding: 5px;
    color: #fff;
}

.dp-calendar td,
.dp-calendar th{
    height:20px;
    width:20px;
    padding: 0!important;
    text-align: center;
    font-size: 1em;
}
.dp-calendar td {
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
}
.dp-calendar th {
    background: #fff;
}
.dp-calendar tr {
    border-right: 1px solid #fff;
}
