/* Instructions page */

.instructions li {
    list-style-type: disc;
    margin-left: 2em;
}

.instructions h4 {
    border-bottom: 1px solid #ccc;
}

.instructions h4, .instructions p {
    font-size: 1.1em;
}

/* Filtered shifts page */

#filtered-shifts th {
    padding: 8px;
    cursor: pointer;
}

#filtered-shifts th span {
    position: relative;
}

#filtered-shifts th span:after {
    display: block;
    content: '';
    width: 0;
    height: 0;
    border-style: solid;
    border-width: 2px 7.5px 2px 7.5px;
    border-color: #888888;
    text-align: center;
    margin: 0 auto;
}

#filtered-shifts th.sorting-asc span:after {
    border-width: 10px 7.5px 0 7.5px;
    border-color: #888888 transparent transparent transparent;
}

#filtered-shifts th.sorting-desc span:after {
    border-width: 0 7.5px 10px 7.5px;
    border-color: transparent transparent #888888 transparent;
}

/* Confirming availability overlay */

#shiftee-confirm-availability {
    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);
}

/* About Shiftee page */

#about-shiftee h2.now-shiftee {
    font-size: 2.2em;
    text-align: center;
}

#about-shiftee h2.now-shiftee:after {
    display: block;
    content: '';
    margin: 30px auto;
    background: url('../partials/images/logo-2x.png');
    width: 94px;
    height: 39px;
    background-size: contain;
}

#about-shiftee p {
    font-size: 1.2em;
}

#about-shiftee li {
    font-size: 1.1em;
    margin-left: 2em;
    list-style-type: disc;
}

#about-shiftee .made-by {
    font-size: .9em;
    margin-top: 50px;
}

#about-shiftee .made-by a:after {
    display: block;
    content: '';
    background: url('../partials/images/range-logo.png');
    width: 92px;
    height: 20px;
    background-size: contain;
}

/* Sidebar */

@media screen and (min-width: 700px) {
    #shiftee-options-main {
        width: 60%;
        float: left;
    }
    #shiftee-admin-sidebar {
        width: 25%;
        float: right;
    }

}

#shiftee-admin-sidebar {
    background: #fff;
    padding: 5px 15px;
    border: 1px solid #483254;
    border-radius: 3px;
}

#shiftee-admin-sidebar img {
    display: block;
    margin: 0 auto;
}

#shiftee-admin-sidebar li {
    list-style-type: circle;
    margin-left: 2em;
}

.shiftee-bullets {
    list-style: disc inside;
    margin-left: 1em;
}

/* Shift history metabox */
#shift_history_metabox .cmb-remove-field-row,
#shift_history_metabox .cmb-add-group-row {
    display: none;
}

/* Shift details metabox */
/* This is a workaround because when you open a timepicker field and type into the input, the buttons lose their class */
#ui-datepicker-div button {
    padding: 0 10px 1px;
    border-radius: 3px;
    margin: 0 .6em .4em .4em;
    border-width: 1px;
    border-style: solid;
    height: 28px;
    line-height: 26px;
    vertical-align: top;
}

#ui-datepicker-div button.ui-priority-secondary {
    color: #555;
    border-color: #ccc;
    background: #f7f7f7;
    box-shadow: 0 1px 0 #ccc;

}

#ui-datepicker-div button.ui-priority-primary {
    color: #fff;
    border-color: #0073aa #006799 #006799;
    background: #0085ba;
    box-shadow:  0 1px 0 #006799;

}

/* On Demand Employee Profile */
.shiftee-od-form-name {
    border-bottom: 1px solid #afafaf;
}

.shiftee-od-form-name th {
    font-size: 1.1em;
}

/* Payroll report */

table#payroll-report th,
table#payroll-report td.name,
table#payroll-report td.total,
table#payroll-report td.label {
    border: 1px solid #ccc;
    font-size: 1.1em;
    background: #fff;
    padding: 4px;
}

table#payroll-report td.total,
table#payroll-report td.label {
    font-weight: bold;
}

table#payroll-report td {
    border: 1px solid #ccc;
    padding: 4px;
    text-align: center;
}

table#payroll-report td.workedhours,
table#payroll-report td.total,
table#payroll-report td.payment {
    font-weight: 700;
}

/* Wage grid */

.shiftee-wage-grid-template {
    border: 1px solid #ddd;
    padding: .5em;
    margin: .25em 0;
}

.shiftee-wage-grid {
    border-collapse: collapse;
    border: 1px solid #ccc;
    margin-bottom: 1em;
}

.shiftee-wage-grid th,
.shiftee-wage-grid td {
    border: 1px solid #ccc;
    padding: .25em;
    vertical-align: center;
}

.shiftee-highlighted {
    background: #74B6CE;
}
