/* Reset */
.ui-datepicker,
.ui-datepicker tr,
.ui-datepicker td,
.ui-datepicker th {
	margin: 0;
	padding: 0;
	border: none;
}

.ui-datepicker table {
	width: 100%;
	margin: 0;
	padding: 0;
	border: none;
	border-collapse: separate;
    border-spacing: 0.25em;
}

/* Calendar Wrapper */
.ui-datepicker {
	display: none;
	padding: 1em 0;
	cursor: default;

	text-transform: uppercase;
	font-size: 1.4em;

	background: transparent;
}

/* Calendar Header */
.ui-datepicker-header {
	position: relative;
	padding: 1em auto;
	border-bottom: 2px solid #8d96b2;
	font-size: 1em;
}

.ui-datepicker-title { text-align: center; }

/* Month */
.ui-datepicker-month {
	position: relative;
	padding-right: 15px;
	color: #8d96b2;
}

.ui-datepicker-month:before {
	display: block;
	position: absolute;
	top: 5px;
	right: 0;
	width: 5px;
	height: 5px;
	content: '';

	background: #8d96b2;
	background: -moz-linear-gradient(top, #a5cd4e 0%, #6b8f1a 100%);
	background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#a5cd4e), color-stop(100%,#6b8f1a));
	background: -webkit-linear-gradient(top, #a5cd4e 0%,#6b8f1a 100%);
	background: -o-linear-gradient(top, #a5cd4e 0%,#6b8f1a 100%);
	background: -ms-linear-gradient(top, #a5cd4e 0%,#6b8f1a 100%);
	background: linear-gradient(top, #a5cd4e 0%,#6b8f1a 100%);

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}

/* Year */
.ui-datepicker-year {
	padding-left: 8px;
	color: #8d96b2;
}

/* Prev Next Month */
.ui-datepicker-prev,
.ui-datepicker-next {
	position: absolute;
	top: -2px;
	padding: 5px;
	cursor: pointer;
}

.ui-datepicker-prev {
	left: 0;
	padding-left: 0;
}

.ui-datepicker-next {
	right: 0;
	padding-right: 0;
}

.ui-datepicker-prev span,
.ui-datepicker-next span{
	display: block;
	width: 5px;
	height: 10px;
	text-indent: -9999px;

	background-image: url(../images/arrows.png);
}

.ui-datepicker-prev span { background-position: 0px 0px; }

.ui-datepicker-next span { background-position: -5px 0px; }

.ui-datepicker-prev-hover span { background-position: 0px -10px; }

.ui-datepicker-next-hover span { background-position: -5px -10px; }

/* Calendar "Days" */

.ui-datepicker-calendar th {
    padding-bottom: 10px;
    font-size: 0.8em;
    text-align: center;
    font-weight: normal;
}

.ui-datepicker-calendar td {
	line-height: 3em;
	border: solid 2px #8d96b2;
    border-radius: 10px;
	width: 10%;
}

.ui-datepicker-calendar .ui-state-default {
	display: block;
	width: 26px;
	outline: none;
	text-decoration: none;
	/*color: white;*/	
	text-align: center;
	margin: auto;
    font-size: 0.9em;
}

.ui-state-open .ui-state-default {
    color: white;
}
/* Day open State*/
.ui-datepicker-calendar .ui-state-open {
    color: white !important;
    background: #8d96b2;
    border-radius: 10px;
    /*width: auto;*/
    height: auto;
}

/* Day Active State*/
.ui-datepicker-calendar .ui-state-active {
    /*color: white;
    background: #69ACA2;*/
    color: #8d96b2;
    background: white;
    border-radius: 10px;
    width: auto;
    height: auto;
}

/* Other Months Days*/
.ui-datepicker-other-month { 
	background: white;
	width: auto;
	height: auto;
	color: white;    
    border: none !important;
}

.ui-state-desabilitado {
    background: #CCC;
    color: #8d96b2 !important;
}

/* ------------------------------- */
/*   TABLETS  1000 PX			   */
/* ------------------------------- */
@media screen and (max-width:1000px) {
    .ui-datepicker {
		font-size: 1.1em;
	}

	.ui-datepicker-calendar td { 
		line-height: 2.5em;
 		border: solid 2px #8d96b2;
 	}

	.ui-datepicker-calendar th {
		font-size: 0.7em;
	}
}

/* ------------------------------- */
/*   MOVIL - SMALL TABLET 640 PX   */
/* ------------------------------- */

@media screen and (max-width:640px) {
    .ui-datepicker-calendar .ui-state-default {
        font-size: 0.9em;
    }
}
