﻿.ui-datepicker 
{
	height: auto;
	margin: 5px auto 0;
    .box-shadow(0px 0px 10px 0px rgba(0, 0, 0, .5));
	@pv-datepicker();

    a
	{
		text-decoration:none;
	}

    table
    {   
    	width:100%;
    }
}


.ui-datepicker-header
{
	background-color: @pv-datepicker-header-background; 
	color: #fff;
	font-weight: normal;
    .box-shadow(inset 0px 1px 1px 0px rgba(116, 174, 212, .2));
    .text-shadow(1px -1px 0px #74aed4);
	filter: dropshadow(color=#74aed4, offx=1, offy=-1);
	line-height: 24px;
	border-width: 1px 0 0 0;
	border-style: solid;
	border-color: #111;
	@pv-datepicker-header();
}

.ui-datepicker-title
{
	text-align:center;
}

select.ui-datepicker-month, 
select.ui-datepicker-year
{
	width:60px;
	background:#fff url(img/base/elements/pc/pull-down.png) no-repeat 38px 2px;
}

select.ui-datepicker-monthYear 
{
	@pv-datepicker-select-monthyear();
}

.ui-datepicker-prev, 
.ui-datepicker-next 
{
    @pv-datepicker-button();
}

.ui-datepicker-prev 
{
	float: left;
}
.ui-datepicker-next 
{
	float: right;
}

.ui-datepicker thead 
{
    .linear-gradient( 
        @origin: top; 
        @direction: to bottom;
        @start-color:#f7f7f7;
        @stops: #f7f7f7 0%,#f1f1f1 100%;
    );

	border-bottom: 1px solid #bbb;
}

.ui-datepicker th 
{
	text-transform: uppercase;
	font-size: 6pt;
	padding: 5px 0;
	color: #666666;
	text-shadow: 1px 0px 0px #fff;
	filter: dropshadow(color=#fff, offx=1, offy=0);
	text-align:center;
	font-weight:bold;
    @pv-datepicker-calendar-th();
}

.ui-datepicker tbody td 
{
	padding: 0;
	@pv-datepicker-calendar-cell();
	

    &:last-child 
    {
	    border-right: 0px;
    }
}

.ui-datepicker tbody tr 
{
	border-bottom: 1px solid #fff;

    &:last-child 
    {
	    border-bottom: 0px;
    }
}

.ui-datepicker td span, 
.ui-datepicker td a 
{
	display: inline-block;
	font-weight: bold;
	text-align: center;
	width: 25px;
	height: 25px;
	line-height: 25px;	
	@pv-datepicker-calendar-cell-span();
}

.ui-datepicker-calendar
{
	@pv-datepicker-calendar();
}

.ui-datepicker-calendar .ui-state-default 
{
	@pv-datepicker-calendar-default();
}

.ui-datepicker-calendar .ui-datepicker-other-month .ui-state-default
{	
	@pv-datepicker-calendar-other-month-default();
}

.ui-datepicker-calendar .ui-state-hover, 
.ui-datepicker-calendar .ui-datepicker-other-month .ui-state-hover 
{
	@pv-datepicker-calendar-hover();
}

.ui-datepicker-calendar .ui-state-active, 
.ui-datepicker-calendar .ui-datepicker-other-month .ui-state-active 
{
	.box-shadow(inset 0px 0px 10px 0px rgba(0, 0, 0, .1));
    .text-shadow(0px 1px 0px #fff);
	filter: dropshadow(color=#fff, offx=0, offy=1);
	position: relative;	
	font-weight:bold;
	@pv-datepicker-calendar-active();
}

.ui-datepicker-calendar .ui-datepicker-unselectable .ui-state-default, 
.ui-datepicker-other-month.ui-datepicker-unselectable .ui-state-default 
{
	background: #ededed;
	color: #b4b3b3;
	border-right: 1px solid #ededed;
	border-bottom: 1px solid #ededed;
    @pv-datepicker-calendar-unselectable();
}

.ui-datepicker-calendar td:first-child .ui-state-active 
{
	width: 25px;
	margin-left: 0;
}
.ui-datepicker-calendar td:last-child .ui-state-active 
{
	width: 25px;
	margin-right: 0;
}
.ui-datepicker-calendar tr:last-child .ui-state-active 
{
	height: 25px;
	margin-bottom: 0;
}

.ui-helper-hidden-accessible 
{
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

#ui-datepicker-div {
	z-index:6 !important;
}

#ui-datepicker-div.ui-datepicker-multi 
{
	float:left;
	background:#fff !important;
	width:auto !important;
}
.ui-datepicker-group { float:left; }
.ui-datepicker-group:not(.ui-datepicker-group-first) {  }

.box-header .header-option p.dropdown-label 
{ 
	line-height:28px;
	margin-right:5px; 
	color:@pv-dropdown-label-color;
}


.ui-datepicker-buttonpane 
{
	background-color:#fff;
	width:100%;
	float:left;
	
	.btn-rood 
    {
		height:24px;
		width:160px;
		padding-top:2px;
		margin:5px;
	}

	.flex-container 
    {
		padding:5px;
		
		input 
        {
			vertical-align:top;
			line-height:15px;
		}

		label 
        {
			margin-left:5px;
		}
    }
}
