.ui-datepicker {
    width: 16.9rem;
    height: auto;
    font-size: 1.1em;
    background: white;
}

.ui-datepicker a {
    text-decoration: none;
}

.ui-datepicker table {
    width: 100%;
    border: 1px solid #2bb0a7;
}

.ui-datepicker-header {
    background: #2bb0a7;
    color: white;
}

.ui-datepicker-title {
    padding: 1rem 0;
    text-align: center;
}

.ui-datepicker-next {
    display: inline-block;
    width: 16px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background: url('../img/calendar-next.png') no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    position: absolute;
    top: 1rem;
    right: 1rem;
    opacity: .8;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.ui-datepicker-prev {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background: url('../img/calendar-back.png') no-repeat;
    text-indent: -9999px;
    overflow: hidden;
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: .8;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}

.ui-datepicker-prev {
    float: left;
}
.ui-datepicker-next {
    float: right;
}

.ui-datepicker-prev:hover {
    opacity: 1;
    float: left;
}
.ui-datepicker-next:hover {
    opacity: 1;
    float: right;
}

.ui-datepicker thead {
    background-color: #f7f7f7;
    border-bottom: 1px solid #bbb;
}

.ui-datepicker th {
    text-transform: uppercase;
    font-size: 0.9rem;
    padding: .5rem 0;
    color: #666666;
}

.ui-datepicker tbody td:last-child {
    border-right: 0px;
}

.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;
    padding: 1rem;
    font-weight: bold;
    text-align: center;
    width: 38px;
    height: 30px;
    line-height: 3px;
    color: #666666;
    -webkit-transition: all .3s ease;
    -moz-transition: all .3s ease;
    -ms-transition: all .3s ease;
    -o-transition: all .3s ease;
    transition: all .3s ease;
}
.ui-datepicker-calendar .ui-state-default {
    background: #ededed;

}
.ui-datepicker-unselectable .ui-state-default {
    background: #f4f4f4;
    color: #b4b3b3;
}

.ui-datepicker-calendar .ui-state-hover {
    background: white;
}

.ui-datepicker-calendar td:first-child .ui-state-active {
    width: 29px;
    margin-left: 0;
}
.ui-datepicker-calendar td:last-child .ui-state-active {
    width: 29px;
    margin-right: 0;
}

.ui-datepicker-calendar tr:last-child .ui-state-active {
    height: 29px;
    margin-bottom: 0;
}