.ui-datepicker {
    width: 65%;
    height: auto;
    margin-top: -1px;
    /*font: 9pt Arial, sans-serif;*/

    float: right;
    /*border: 1px solid #b9babc;*/
    background: #fff;
}

.ui-datepicker table {
    width: 100%;
    border: 0;
}


.ui-datepicker-header {
    background: #fff;
    color: #365671;
    font: bold 22px "Ubuntu-Light";
    line-height: 75px;
}

.ui-datepicker-title {
    text-align: left;
    padding-left: 30px;
}


.ui-datepicker-prev, .ui-datepicker-next {
    display: inline-block;
    width: 64px;
    height: 50px;
    text-align: center;
    cursor: pointer;
    background-repeat: no-repeat;
    line-height: 600%;
    overflow: hidden;
    margin-top: 9px;
    color:#365671;
}


.ui-datepicker-prev {
    float: right;
    background: url('../images/new/arrow-back.png') no-repeat center center;
    position: relative;
    left: -70px;
}
.ui-datepicker-next {
    float: right;
    background: url('../images/new/arrow-forward.png') no-repeat center center;
    position: relative;
    left: 50px;
}


.ui-datepicker thead {
    background-color: #f7f7f7;
    /*border-bottom: 1px solid #bbb;*/
	font: 15px/45px "Ubuntu-Light";
	/*background-image: linear-gradient(top,  #f7f7f7 0%,#f1f1f1 100%);*/
}


.ui-datepicker th {
    text-transform: uppercase;
    color: #666666;
    text-shadow: 1px 0px 0px #fff;
    /*filter: dropshadow(color=#fff, offx=1, offy=0);*/
    background: #fff;
    text-align: center;
    width: 14.25%;
}


.ui-datepicker tbody td {
    padding: 12px 0 0 0;
    /*border-right: 1px solid #bbb;*/

     text-align: center;
    background: #fff;
    border-right: 0px;
}


.ui-datepicker tbody td:last-child {
    border-right: 0px;
    padding-bottom: 12px;
}

.ui-datepicker tbody tr {
    /*border-bottom: 1px solid #bbb;*/
}
.ui-datepicker tbody tr:last-child {
    border-bottom: 0px;
}



.ui-datepicker td span, .ui-datepicker td a {
    /*display: inline-block;*/
    font-weight: bold;
    text-align: center;
    color: #666666;
    text-shadow: 1px 1px 0px #fff;
    /*filter: dropshadow(color=#fff, offx=1, offy=1);*/

   /* display: block;
    width: 100%;*/
}


.ui-datepicker-calendar .ui-state-default {
    /*background: #ededed;
    background: -moz-linear-gradient(top,  #ededed 0%, #dedede 100%);
    background: -webkit-gradient(linear, left top, left bottombottom, color-stop(0%,#ededed), color-stop(100%,#dedede));
    background: -webkit-linear-gradient(top,  #ededed 0%,#dedede 100%);
    background: -o-linear-gradient(top,  #ededed 0%,#dedede 100%);
    background: -ms-linear-gradient(top,  #ededed 0%,#dedede 100%);
    background: linear-gradient(top,  #ededed 0%,#dedede 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
    -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
    box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);*/
    border-radius: 50px;
    display: inline-block;
    width: 50px;
    height: 50px;
    font: bold 19px/50px "Ubuntu-Light";
    border: 1px solid #fff;
}


.ui-datepicker-unselectable .ui-state-default {
    /*background: #f4f4f4;*/
    background: #fff;
    color: #b4b3b3;

}

.ui-datepicker-calendar .ui-state-hover {
    background: #fff;
    border: 1px solid #2d7c78;


}


.ui-datepicker-calendar .ui-state-active {
    background: #2d7c78;
    color: #fff;
    text-shadow: 0px 1px 0px #2d7c78;
    /*filter: dropshadow(color=#4d7a85, offx=0, offy=1);
    border: 1px solid #55838f;*/
    border: 1px solid #2d7c78;

    border-radius: 35px;
}



@media only screen and (max-width: 650px) {
    .ui-datepicker {
        width: 100%;
    }

    div.pre-cal {
        display: none;
    }

	.ui-datepicker-header {
    	font: bold 20px "Ubuntu-Light";
    	line-height: 85px;

	}

	.ui-datepicker thead {
		font: 12px/35px "Ubuntu-Light";
	}


	.ui-datepicker tbody td {
     	font: 11px/35px "Ubuntu-Light";
	}


    .ui-datepicker-calendar .ui-state-default {
        /*background: #ededed;
        background: -moz-linear-gradient(top,  #ededed 0%, #dedede 100%);
        background: -webkit-gradient(linear, left top, left bottombottom, color-stop(0%,#ededed), color-stop(100%,#dedede));
        background: -webkit-linear-gradient(top,  #ededed 0%,#dedede 100%);
        background: -o-linear-gradient(top,  #ededed 0%,#dedede 100%);
        background: -ms-linear-gradient(top,  #ededed 0%,#dedede 100%);
        background: linear-gradient(top,  #ededed 0%,#dedede 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#ededed', endColorstr='#dedede',GradientType=0 );
        -webkit-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
        -moz-box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);
        box-shadow: inset 1px 1px 0px 0px rgba(250, 250, 250, .5);*/
        border-radius: 30px;
        display: inline-block;
        width: 30px;
        height: 30px;
        font: bold 12px/30px "Ubuntu-Light";
        border: 1px solid #fff;
    }

}

@media only screen and (min-width: 651px) and (max-width: 900px) {
	.ui-datepicker tbody td {
     	font: 16px/65px "Ubuntu-Light";
	}
}

