/* Shiftee Styles */

nav.shiftee-schedule {
    text-align:center;
}

nav.shiftee-schedule li {
    display: inline-block;
    margin: 0 2em;
    text-align: center;
}

#shiftee-calendar .shiftee-staff {
    display: block;
    margin: .35em 0;
}

#shiftee-calendar .fc-day-grid-event .fc-content {
    white-space: normal;
}

#shiftee-calendar .past-event .shiftee-take-shift {
    display: none;
}

#shiftee-calendar {
    position: relative;
}

#shiftee-calendar a {
    color: #fff;
}

#shiftee-calendar-loader {
    position: absolute;
    width: 100%;
    height: 100%;
    background: rgba( 255, 255, 255, .7 );
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    z-index: 50;
    display: flex;
    justify-content: center;
    align-items: center;
}

#extra-work label,
#expense label,
#shift-status label,
#shift-note label {
    display: block;
}

#shift-status input[type='submit'],
#shift-note input[type='submit'] {
    display: block;
    margin: 10px 0 20px 0;
}

#shiftee-calendar-filter p {
    margin: 0;
    padding: 0;
}

#shiftee-calendar-filter ul {
    margin: 0;
    padding: 0;
    display: flex;
    justify-content: space-between;
    flex-flow: row wrap;
}

#shiftee-calendar-filter ul li {
    list-style-type: none;
    margin: 0;
    padding: 0;
}

#shiftee-calendar-filter ul li label {
    display: block;
}

.shiftee-success {
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    color: #4f8a10;
    background-color: #DFF2BF;
    border: 1px solid #4F8A10;
}

.shiftee-failure {
    border: 1px solid;
    margin: 10px 0px;
    padding:15px 10px 15px 50px;
    color: #D8000C;
    background-color: #FFBABA;
}

.shiftee-error {
    color: #D8000C;
    background-color: #FFBABA;
    border: 1px solid #D8000C;
    padding: 6px;
}

.shiftee-field-label,
#shiftee-od-customer-work-request .shiftee-field-label
#shiftee-od-employee-work-qualifications .shiftee-field-label {
    display: block;
    font-weight: bold;
}

#shiftee-od-customer-work-request label,
#shiftee-od-employee-work-qualifications label {
    display: inline;
}

.shiftee-field-description {
    display: block;
    font-style: italic;
}

#shiftee-employee-work-criteria input[type="text"] {
    width: 100%;
}

.shiftee-fourth {
    width: 24%;
    float: left;
}

.shiftee-fourth input {
    width: 6em;
}

.clearfix:after {
    display: table;
    content: '';
    clear: both;
}

#shiftee-employer-work-request textarea {
    width: 100%;
}

#shiftee-loading {
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: rgba( 255, 255, 255, .5 );
    font-size: 24px;
    text-align: center;
    padding-top: 20%;
    z-index: 10000;
    text-shadow: 0px -1px 8px rgba(255, 255, 255, 1);
}

.shiftee-pick-up-shift input[type=submit] {
    white-space: normal;
}

.shiftee-show-more-unassigned {
    white-space: normal;
}


/* JQuery Datepicker CSS thanks to https://gist.github.com/miwahall/7028640 */
.ui-datepicker {
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,0,0,.6);
    display: none;
    margin-top: 4px;
    padding: 10px;
    width: 240px;
}
.ui-datepicker a,
.ui-datepicker a:hover {
    text-decoration: none;
}
.ui-datepicker a:hover,
.ui-datepicker td:hover a {
    color: #2A6496;
    -webkit-transition: color 0.1s ease-in-out;
    -moz-transition: color 0.1s ease-in-out;
    -o-transition: color 0.1s ease-in-out;
    transition: color 0.1s ease-in-out;
}
.ui-datepicker .ui-datepicker-header {
    margin-bottom: 4px;
    text-align: center;
}
.ui-datepicker .ui-datepicker-title {
    font-weight: 700;
}
.ui-datepicker .ui-datepicker-prev,
.ui-datepicker .ui-datepicker-next {
    cursor: default;
    -webkit-font-smoothing: antialiased;
    font-style: normal;
    font-weight: normal;
    height: 20px;
    line-height: 1;
    margin-top: 2px;
    width: 30px;
    font-size: 26px;
}
.ui-datepicker .ui-datepicker-prev {
    float: left;
    text-align: left;
}
.ui-datepicker .ui-datepicker-next {
    float: right;
    text-align: right;
}
.ui-datepicker .ui-datepicker-prev:before {
    content: "\2039";
}
.ui-datepicker .ui-datepicker-next:before {
    content: "\203A";
}
.ui-datepicker .ui-icon {
    display: none;
}
.ui-datepicker .ui-datepicker-calendar {
    table-layout: fixed;
    width: 100%;
}
.ui-datepicker .ui-datepicker-calendar th,
.ui-datepicker .ui-datepicker-calendar td {
    text-align: center;
    padding: 4px 0;
}
.ui-datepicker .ui-datepicker-calendar td {
    border-radius: 4px;
    -webkit-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    -moz-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    -o-transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
    transition: background-color 0.1s ease-in-out, color 0.1s ease-in-out;
}
.ui-datepicker .ui-datepicker-calendar td:hover {
    background-color: #eee;
    cursor: pointer;
}
.ui-datepicker .ui-datepicker-calendar td a {
    text-decoration: none;
}
.ui-datepicker .ui-datepicker-current-day,
.ui-datepicker .ui-datepicker-today {
    background-color: #4289cc;
}
.ui-datepicker .ui-datepicker-current-day a,
.ui-datepicker .ui-datepicker-today a{
    color: #fff
}
.ui-datepicker .ui-datepicker-calendar .ui-datepicker-unselectable:hover {
    background-color: #fff;
    cursor: default;
}
.ui-timepicker-div .ui-widget-header { margin-bottom: 8px; }
.ui-timepicker-div dl { text-align: left; }
.ui-timepicker-div dl dt { float: left; clear:left; padding: 0 0 0 5px; }
.ui-timepicker-div dl dd { margin: 0 10px 10px 40%; }
.ui-timepicker-div td { font-size: 90%; }
.ui-tpicker-grid-label { background: none; border: none; margin: 0; padding: 0; }
.ui-timepicker-div .ui_tpicker_unit_hide{ display: none; }

.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input { background: none; color: inherit; border: none; outline: none; border-bottom: solid 1px #555; width: 95%; }
.ui-timepicker-div .ui_tpicker_time .ui_tpicker_time_input:focus { border-bottom-color: #aaa; }

.ui-timepicker-rtl{ direction: rtl; }
.ui-timepicker-rtl dl { text-align: right; padding: 0 5px 0 0; }
.ui-timepicker-rtl dl dt{ float: right; clear: right; }
.ui-timepicker-rtl dl dd { margin: 0 40% 10px 10px; }

.ui-datepicker-close {
    float: right;
}