.ui-datepicker {
    padding: 20px;
    width: 562px !Important;
    z-index: 99999;
    background-color: #fff
}

@media all and (max-width:1500px) and (min-width:800px) {
    .ui-datepicker {
        width: 502px !Important
    }
}

@media all and (max-width:800px) and (min-width:650px) {
    .ui-datepicker {
        width: 502px !Important
    }

    #divHorarios, #divHorarios_title {
        width: 142px !important
    }

    #tdHorarios {
        display: table-cell;
        float: initial
    }
}

@media all and (max-width:650px) {
    .ui-datepicker {
        width: 502px !Important
    }
}

@media all and (max-width:540px) {
    #divCalendario, .ui-datepicker {
        width: 251px !Important;
        margin: 0 auto
    }
}

.ui-datepicker {
    height: auto;
    font: 9pt Arial,sans-serif;
    -webkit-box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    -moz-box-shadow: 0 0 10px 0 rgba(0,0,0,.5);
    box-shadow: 0 0 10px 0 rgba(0,0,0,.5)
}

.ui-datepicker-group {
    float: left !important
}

    .ui-datepicker-group:first-child {
        margin-right: 20px;
        padding:,0p;
    }

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

.ui-datepicker table {
    width: 50%;
}

.ui-datepicker-header {
    background-color: #595959;
    color: #fff;
    font-weight: 700;
    -webkit-box-shadow: inset 0 1px 1px 0 #fafafa;
    -moz-box-shadow: inset 0 1px 1px 0 rgba(250,250,250,.2);
    box-shadow: none;
    filter: dropshadow(color=#000, offx=1, offy=-1);
    line-height: 30px; /* border-width:1px 0 0; */ /* border-style:solid; */ /* border-color:#111; */
}

.ui-datepicker-title {
    text-align: center
}

.ui-datepicker-next, .ui-datepicker-prev {
    display: inline-block;
    width: 30px;
    height: 30px;
    text-align: center;
    cursor: pointer;
    background-image: url(/img/arrow.png);
    background-repeat: no-repeat;
    line-height: 600%;
    overflow: hidden;
    color: transparent !important
}

.ui-datepicker-prev {
    float: left;
    background-position: center -30px
}

.ui-datepicker-next {
    float: right;
    background-position: center 0
}

.ui-datepicker thead {
    background-color: #f7f7f7;
    background-image: -moz-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background-image: -webkit-gradient(linear,left top,left bottom,color-stop(0%,#f7f7f7),color-stop(100%,#f1f1f1));
    background-image: -webkit-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background-image: -o-linear-gradient(top,#f7f7f7 0,#f1f1f1 100%);
    background-image: -ms-linear-gradient(top,#f7f7f7 0%,#f1f1f1 100%);
    background-image: linear-gradient(top,#f7f7f7 0%,#f1f1f1 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f7f7f7', endColorstr='#f1f1f1',GradientType=0 );
    border-bottom: none;
}

.ui-datepicker th {
    text-transform: uppercase;
    font-size: 8pt;
    padding: 5px 0;
    color: #666;
    text-shadow: none;
    filter: dropshadow(color=#fff, offx=1, offy=0)
}

.ui-datepicker tbody td {
    padding: 0; /* border-right:1px solid #bbb; */
    border: none;
}

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

.ui-datepicker tbody tr { /* border-bottom:1px solid #bbb; */
}

    .ui-datepicker tbody tr:last-child {
        border-bottom: 0
    }

.ui-datepicker td a, .ui-datepicker td span {
    display: inline-block;
    font-weight: 700;
    text-align: center;
    width: 35px;
    height: 35px;
    line-height: 35px;
    color: #000; /* text-shadow:1px 1px 0 #fff; */
    filter: dropshadow(color=#fff, offx=1, offy=1)
}

.ui-datepicker-calendar .ui-state-default {
    background: #ddd;
}

.ui-datepicker-calendar .ui-state-hover {
    background: #f7f7f7
}

.ui-datepicker-calendar .ui-state-active {
    background: #ae1212;
    -webkit-box-shadow: inset 0 0 10px 0 rgba(0,0,0,.1);
    -moz-box-shadow: inset 0 0 10px 0 rgba(0,0,0,.1);
    box-shadow: none;
    color: #e0e0e0;
    text-shadow: none;
    filter: dropshadow(color=#4d7a85, offx=0, offy=1);
    border: none;
    position: relative;
    margin: -1px;
    border-radius: 25px;
}

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

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

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

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

.ui-datepicker-row-break {
    clear: both
}
