/*
This is a temp jquery ui file before we make a real nice new theme */

/* no jquery images for now */

.ui-dialog {
    border: 3px solid #dfdfdf;
    border-radius: 10px;
    -webkit-border-radius: 10;
    -moz-border-radius: 10px;
}

.ui-dialog fieldset {
    border: 0;
}

.ui-dialog ul {
    list-style-type: none;
}

.ui-dialog ul li {
    padding: 2px 5px;
}

/* datepicker from mojeid */

#ui-datepicker-div {
    border: 1px solid #c5c5c3;
    background: none repeat scroll 0 0 #fff;
    border-radius: 10px;
    padding: 0;
    display: none;
}

#ui-datepicker-div .ui-widget-header {
    background-color: #f5fafe; /* Old browsers */
    background: -moz-linear-gradient(top, #f5fafe 0%, #def0fe 100%); /* FF3.6+ */
    background:
        -webkit-gradient(
            linear,
            left top,
            left bottom,
            color-stop(0%, #f5fafe),
            color-stop(100%, #def0fe)
        ); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top, #f5fafe 0%, #def0fe 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #f5fafe 0%, #def0fe 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #f5fafe 0%, #def0fe 100%); /* IE10+ */
    background: linear-gradient(to bottom, #f5fafe 0%, #def0fe 100%); /* W3C */
    filter:
        progid:DXImageTransform.Microsoft.gradient(
            startColorstr='#f5fafe',
            endColorstr='#def0fe',
            GradientType=0
        ); /* IE6-9 */

    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
}

#ui-datepicker-div a.ui-datepicker-prev {
    float: left;
    cursor: pointer;
}

#ui-datepicker-div a.ui-datepicker-next {
    float: right;
    cursor: pointer;
}

a.ui-datepicker-next span,
a.ui-datepicker-prev span {
    color: #999;
    text-decoration: none;
    display: block;
    margin: 0;
    padding: 5px;
}

#ui-datepicker-div div.ui-datepicker-title {
    text-align: center;
}

#ui-datepicker-div div.ui-datepicker-title select {
    margin: 2px;
    padding: 2px;
}

table.ui-datepicker-calendar tr th {
    background-color: #e7e9e8;
    background: -moz-linear-gradient(top, #fff 0%, #e7e9e8 100%); /* FF3.6+ */
    background:
        -webkit-gradient(
            linear,
            left top,
            left bottom,
            color-stop(0%, #fff),
            color-stop(100%, #e7e9e8)
        ); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top, #fff 0%, #e7e9e8 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #fff 0%, #e7e9e8 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #fff 0%, #e7e9e8 100%); /* IE10+ */
    background: linear-gradient(to bottom, #fff 0%, #e7e9e8 100%); /* W3C */
    filter:
        progid:
        DXImageTransform.Microsoft.gradient(
            startColorstr='#fff',
            endColorstr='#e7e9e8',
            GradientType=0
        ); /* IE6-9 */

    border: 1px solid #c5c5c3;
    font-size: 0.8em;
    text-align: center;
    padding: 2px 0;
}

table.ui-datepicker-calendar tr td {
    border: 1px solid #c5c5c3;
    text-align: center;
    padding: 0;
}

table.ui-datepicker-calendar tr td a,
table.ui-datepicker-calendar tr td span {
    color: #000;
    font-size: 0.9em;
    text-decoration: none;
    display: block;
    margin: 0 auto;
    padding: 0.5em 0.7em;
}

table.ui-datepicker-calendar tr td a {
    font-weight: bold;
}

table.ui-datepicker-calendar tr td a:hover {
    background-color: #c8e6fd;
    background: -moz-linear-gradient(top, #d8f6fd 0%, #c8e6fd 100%); /* FF3.6+ */
    background:
        -webkit-gradient(
            linear,
            left top,
            left bottom,
            color-stop(0%, #d8f6fd),
            color-stop(100%, #c8e6fd)
        ); /* Chrome,Safari4+ */

    background: -webkit-linear-gradient(top, #d8f6fd 0%, #c8e6fd 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, #d8f6fd 0%, #c8e6fd 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, #d8f6fd 0%, #c8e6fd 100%); /* IE10+ */
    background: linear-gradient(to bottom, #d8f6fd 0%, #c8e6fd 100%); /* W3C */
    filter:
        progid:
        DXImageTransform.Microsoft.gradient(
            startColorstr='#d8f6fd',
            endColorstr='#c8e6fd',
            GradientType=0
        ); /* IE6-9 */
}

table.ui-datepicker-calendar {
    border-radius: 10px;
    border-collapse: collapse;
}

table.ui-datepicker-calendar tr th:first-child,
table.ui-datepicker-calendar tr td:first-child {
    border: 1px solid #c5c5c3;
    border-left: 0;
}

table.ui-datepicker-calendar tr th:last-child,
table.ui-datepicker-calendar tr td:last-child {
    border: 1px solid #c5c5c3;
    border-right: 0;
}

table.ui-datepicker-calendar tr:last-child td {
    border: 1px solid #c5c5c3;
    border-bottom: 0;
}

table.ui-datepicker-calendar tr:last-child td:first-child,
table.ui-datepicker-calendar tr:last-child th:first-child {
    border: 1px solid #c5c5c3;
    border-bottom: 0;
    border-left: 0;
}

table.ui-datepicker-calendar tr:last-child td:last-child,
table.ui-datepicker-calendar tr:last-child th:last-child {
    border: 1px solid #c5c5c3;
    border-bottom: 0;
    border-right: 0;
}
