﻿/* Layout Styles not in common
----------------------------------*/
.centered-content
{
    background-color: #FFFFFF;
    max-width: 900px;
    height: auto;
    border: 1px solid #CDCDCD;
    margin: 0 auto;
    border-radius: 5px;
}

    .centered-content > div
    {
        padding: 5px;
    }

.page-title {
    font-size: 1.5em;
    margin: 0;
    margin-bottom: 5px;
    padding: 0;
    font-weight: normal;
    color: #626262;
}

.page-title .title-addition {
    font-size: 0.6em;
}

.div-contents-centered
{
    text-align: center;
}

div.overflow
{
    overflow-x: auto;
}

.instruction-text {
    color: #707070;
}

.error-text
{
    color: red;
}

.success-text
{
    color: green;
}

.response-message
{
    display:inline-block;
}

/* Home Screen Dashboard
----------------------------------*/
.dash-max-width
{
    max-width: 900px;
    margin: 0 auto;
}

.dash-title
{
    text-align: center;
    padding: 20px 0;
    font-weight: normal;
    color: #626262;
}

    .dash-title .name
    {
        font-weight: bold;
    }

.dash-unread
{
    color: #D0021B;
}

.dash-tiny
{
    font-size: 10px;
}

.disabled-link
{
    color: #C7C3C3;
}

.dash-quick-links {
    margin-top: 30px;
    display: table;
    text-align: center;
}

    .dash-quick-links a {
        text-decoration: none;
        display: inline-block;
        margin: 5px;
    }

        .dash-quick-links a:not(:last-child) {
        }

        .dash-quick-links a > div {
            min-width: 150px;
            display: inline-block;
            text-align: center;
            border: 1px solid #d9d9d9;
            border-radius: 10px;
            background-color: #fff;
            cursor: pointer;
            color: #626262;
        }

            .dash-quick-links a > div:hover {
                -webkit-box-shadow: 0px 0px 9px 1px rgba(217,217,217,1);
                -moz-box-shadow: 0px 0px 9px 1px rgba(217,217,217,1);
                box-shadow: 0px 0px 9px 1px rgba(217,217,217,1);
            }

    .dash-quick-links div.holiday,
    .dash-quick-links div.shifts,
    .dash-quick-links div.personal,
    .dash-quick-links div.information,
    .dash-quick-links div.clocking,
    .dash-quick-links div.jobcosting,
    .dash-quick-links div.messages {
        height: 90px;
        background-size: 70px;
        background-repeat: no-repeat;
        background-position: center;
    }

    .dash-quick-links div.holiday {
        background-image: url(Images/book-holiday.png);
    }

    .dash-quick-links div.shifts {
        background-image: url(Images/swap-shifts.png);
    }

    .dash-quick-links div.personal {
        background-image: url(Images/personal.png);
    }

    .dash-quick-links div.information {
        background-image: url(Images/information-icon.png);
    }

    .dash-quick-links div.clocking {
        background-image: url(Images/clocking.png);
    }

    .dash-quick-links div.jobcosting {
        background-image: url(Images/jobcosting.png);
    }
    .dash-quick-links div.messages {
        background-image: url(Images/messages.png);
    }

/* Calendar Absence Booking Partial Form
----------------------------------*/
.absence-booking table
{
    width: 100%;
}

.absence-booking select
{
    background-color: transparent;
}

.absence-booking tr.day-spacer div
{
    border-bottom: solid 1px #d9d9d9;
    width: 100%;
    margin-top: 5px;
}

.absence-booking div
{
    float: left;
}

.absence-booking .absence-type
{
    float: none;
    padding-left: 75px;
}

.absence-booking label.day
{
    width: 75px;
    display: inline-block;
    height: 23px;
    line-height: 23px;
    margin-top: 5px;
}

label.day {
    width: 75px;
    display: inline-block;
    height: 23px;
    line-height: 23px;
    margin-top: 5px;
    font-weight: bold;
}

.absence-booking select.details
{
    margin-top: 5px;
    margin-right: 5px;
}

.absence-booking textarea
{
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    margin-top: 5px;
}

.absence-booking .cw-event-custom-duration
{
    display: none;
    float: none;
}

    .absence-booking .cw-event-custom-duration .from-to-time
    {
        width: 160px;
        margin-right: 5px;
    }

    .absence-booking .cw-event-custom-duration .time-picker
    {
        height: 18px;
        margin: 5px 0 0 0;
    }

/* Calendar Shift Request Form Styles
----------------------------------*/
.shift-list-controls
{
    position: relative;
    padding: 10px;
}
    
    .shift-list-controls .site-button
    {
        margin-bottom: 10px;
    }

    .shift-list-controls .quick-options
    {
        display: table;
        margin: 0 auto;
    }

        .shift-list-controls .quick-options button
        {
            float: left;
        }

    .shift-list-controls button.site-button
    {
        height: 28px;
    }

    .shift-list-controls button.today
    {
        width: 30px;
        background: #007FD0 url(Images/cal-today.png) no-repeat center center;
        margin: 0 10px;
    }

    .shift-list-controls .today
    {
        position: relative;
    }

        .shift-list-controls .today span
        {
            font-size: 10px;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 5px;
        }

    .shift-list-controls .next-week
    {
        width: 40px;
        margin-right: 10px;
        background: #007FD0 url(Images/cal-right.png) no-repeat center center;
    }

    .shift-list-controls .previous-week
    {
        width: 40px;
        margin-left: 10px;
        background: #007FD0 url(Images/cal-left.png) no-repeat center center;
    }

    .shift-list-controls .next-month
    {
        width: 40px;
        background: #007FD0 url(Images/next-month.png) no-repeat center center;
    }

    .shift-list-controls .previous-month
    {
        width: 40px;
        background: #007FD0 url(Images/previous-month.png) no-repeat center center;
    }

.available-shift {
    padding: 5px;
}

    .available-shift td {
        text-align: center;
    }

.availableShiftTable {
    width: 100%;
    border-spacing: 10px;
    border-collapse: separate;
}

.shiftinfoTable {
    width: 100%;
    border-spacing: 10px;
    border-collapse: collapse;
}

.shiftinfo td {
    text-align: center;
    padding: 5px;
}

.shiftinfo-legend td {
    text-align: center;
    padding: 0 5px;
}

.shiftinfo-holiday {
    background-color: #ffff00;
}

.shiftinfo-requested {
    background-color: #ff8080;
}

.shiftinfo-IsSick {
    background-color: #FF0000;
}

.shiftinfo-IsSickRequested {
    background-color: #0000FF;
}
shiftinfo-IsAbsence {
    background-color: #FF0000;
}

shiftinfo-IsAbsenceRequested {
    background-color: #0000FF;
}
#shiftSwapErrorOutput {
    color: red;
    width: 100%;
}

#shiftSwapErrorDiv {
    display: none;
}

#availableShiftSwapView {
    overflow: auto;
}

#targetEmpTable {
    height: 200px;
    width: 100%;
    overflow: auto;
}

    #targetEmpTable tr td {
        padding-left: 5px;
        padding-right: 5px;
        height: 40px;
    }

    #targetEmpTable tr:nth-child(even) {
        background: #e0e0e0;
    }

    #targetEmpTable tr td select {
        height: 100%;
    }

#selectShiftsTable {
    width: 100%;
}

    #selectShiftsTable tr:not(:first-child) td,
    #currentlySelectedShiftsTable tr:not(:first-child) td {
        text-align: center;
    }

#currentlySelectedShiftsTable {
    width: 100%;
}

#currentSelectedShiftsDiv {
    padding: 5px 0 5px 0;
    max-height: 200px;
}

.shiftSwapImage {
    height: 26px;
    width: 26px;
    cursor: pointer;
    border: 1px solid #428BCA;
    border-radius: 3px;
    background-color: #FFFFFF;
}

#selectedShiftsOuterDiv {
    overflow: auto;
    max-height: 200px;
    padding: 5px 0 5px 0;
}

#accept-shift-swap {
    margin-top: 5px;
}

.shift-cover-partial textarea {
    width: 100%;
    height: 70px;
    box-sizing: border-box;
    margin-top: 5px;
}

.selected-employee-swap {
    background-color: #e6e6e6;
}

.shift-incoming {
    width: 14px;
    background: url(Images/cal-right-grey.png) no-repeat center center;
}

/* New Shift Cover screen styles 
----------------------------------*/
.shift-cover-display {
    margin:5px 0;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #d9d9d9;
    background-color: #fff;
}

.shift-cover-display tr {
    border-bottom: 1px solid #d9d9d9;
}

.shift-cover-display tr.request-process-errors {
    color:red;
    text-align: center;
    line-height: 25px;
}

    .shift-cover-display th {
        padding: 5px 8px;
        background-color: #F2F2F2;
        border: 1px solid #d9d9d9;
        color: #666;
    }

.shift-cover-display label {
    font-weight:bold;
    color:#666;
}

.shift-cover-display .old-request {
    margin-right:10px;
    padding-left:25px;
    background: url(Images/sign_warning.png) no-repeat center left;
    background-size: 20px 20px;
}

.shift-cover-display tr > th {
    line-height:25px;
}

.shift-cover-display .shift-list table {
    width:100%;
    margin:5px;
}

.shift-cover-display .shift-list table tr{
    border:none;
}

.shift-cover-display .shift-list .removed,
.shift-cover-display .shift-list .added {
    display: inline-block;
    vertical-align: inherit;
    width: 20px;
    height: 20px;
}

.shift-cover-display .shift-list .removed {
    background: url(Images/fail.png) no-repeat center;
}

.shift-cover-display .shift-list .added {
    background: url(Images/success.png) no-repeat center;
}

    .shift-cover-display .request-type:before,
    .shift-cover-display .request-type:after {
        content: url(Images/cal-right-grey.png);
        position: relative;
        top: 5px;
    }

    .shift-cover-display .request-type:before {
        padding-right: 5px;
    }

    .shift-cover-display .request-type:after {
        padding-left: 5px;
    }

    .shift-cover-display .request-type.incoming:after {
        content: none;
    }

    .shift-cover-display .request-type.outgoing:before {
        content: none;
    }

button.view-projected-working-day {
    background: #f2f2f2 url(isys-common-images/view.png) no-repeat center;
    width:30px;
    height:27px;
    display:inline-block;
    vertical-align: inherit;
    border: 1px solid #d9d9d9;
    border-radius: 2px;
    outline:none;
    float: left;
    margin-right: 40px;
}

button.view-projected-working-day:hover {
    background-color: #f2f2f2;
    border-color: silver;
}

    button.view-projected-working-day:active {
        background-color: #f2f2f2;
        -moz-box-shadow: inset 0 1px 2px silver;
        -webkit-box-shadow: inset 0 1px 2px silver;
        box-shadow: inner 0 1px 2px silver;
    }

td.shift-cover-incoming-controls {
    padding: 0 5px 5px 5px;
}

td.shift-cover-incoming-controls button {
    margin-top: 5px;
}

table.projected-day-table {
    width:100%;
    min-width:320px;
}

table.projected-day-table tr.new-shft-for-day td:not(:first-child):not(:last-child) {
    background-color: #90ee90;
}

    table.projected-day-table tr.new-shft-for-day td:first-child, td:last-child{
        width: 35px;
        background-position: center;
        background-repeat: no-repeat;
    }

    table.projected-day-table tr.new-shft-for-day td:first-child {
        background-image: url(Images/cal-right-grey.png);
    }

    table.projected-day-table tr.new-shft-for-day td:last-child {
        background-image: url(Images/cal-left-grey.png);
    }

/* Historical Requests Control styles
----------------------------------*/
.shift-cover-search-controls
{
    position: relative;
}

    .shift-cover-search-controls .date-picker,
    .shift-cover-search-controls .site-button
    {
        margin-bottom: 10px;
    }

    .shift-cover-search-controls .quick-options
    {
        display: table;
        margin: 0 auto;
    }

        .shift-cover-search-controls .quick-options button
        {
            float: left;
        }

    .shift-cover-search-controls button.site-button
    {
        height: 28px;
    }

    .shift-cover-search-controls button.today
    {
        width: 30px;
        background: #007FD0 url(Images/cal-today.png) no-repeat center center;
        margin: 0 10px;
    }

    .shift-cover-search-controls .today
    {
        position: relative;
    }

        .shift-cover-search-controls .today span
        {
            font-size: 10px;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 5px;
        }

    .shift-cover-search-controls .next-week
    {
        width: 40px;
        margin-right: 10px;
        background: #007FD0 url(Images/cal-right.png) no-repeat center center;
    }

    .shift-cover-search-controls .previous-week
    {
        width: 40px;
        margin-left: 10px;
        background: #007FD0 url(Images/cal-left.png) no-repeat center center;
    }

    .shift-cover-search-controls .next-month
    {
        width: 40px;
        background: #007FD0 url(Images/next-month.png) no-repeat center center;
    }

    .shift-cover-search-controls .previous-month
    {
        width: 40px;
        background: #007FD0 url(Images/previous-month.png) no-repeat center center;
    }

/* Standard Calendar Partial Styles
----------------------------------*/
tr.request-date-error
{
    height: 0px;
}

.request-date-error label
{
    margin-top: 5px;
    color: #ff0000;
}

.errors
{
    color: #ff0000;
    margin: 0;
    text-align: center;
    width: 100%;
}

/* Personal Screen
----------------------------------*/
.personal-details
{
    max-width: 900px;
    margin: 0 auto;
}

    .personal-details .inner
    {
        padding: 10px 0;
    }

    .personal-details .container
    {
        overflow: hidden;
    }

    .personal-details .section-left,
    .personal-details .section-right
    {
        width: 50%;
    }

    .personal-details .section-left
    {
        float: left;
    }

    .personal-details .section-right
    {
        float: right;
    }

    .personal-details table.form-table
    {
        margin: 0 auto;
    }

        .personal-details table.form-table label
        {
            font-weight: bold;
            width: 100px;
            float: left;
        }

        .personal-details table.form-table tr.error-response td
        {
            text-align:center;
        }

@media all and (max-width: 680px)
{
    .personal-details .container
    {
        padding: 5px;
    }

    .personal-details .section-left,
    .personal-details .section-right
    {
        width: initial;
        float: none;
        margin: 0 auto;
    }
}

.entitlements-table-wrapper tr td {
    text-align: center;
}
.entitlements-table-wrapper th.sticky-head {
    position: -webkit-sticky;
    position: sticky;
    left: -1px;
    text-align: left;
    padding: 5px;
}

/* Information Screen
----------------------------------*/
.information-search-controls {
    position: relative;
}

    .information-search-controls .date-picker,
    .information-search-controls .site-button
    {
        margin-bottom: 10px;
    }

    .information-search-controls .quick-options
    {
        display: table;
        margin: 0 auto;
    }

        .information-search-controls .quick-options button
        {
            float: left;
        }

    .information-search-controls button.site-button
    {
        height: 28px;
    }

    .information-search-controls button.today
    {
        width: 30px;
        background: #007FD0 url(Images/cal-today.png) no-repeat center center;
        margin: 0 10px;
    }

    .information-search-controls .today
    {
        position: relative;
    }

        .information-search-controls .today span
        {
            font-size: 10px;
            position: absolute;
            left: 0;
            right: 0;
            bottom: 5px;
        }

    .information-search-controls .next-week
    {
        width: 40px;
        margin-right: 10px;
        background: #007FD0 url(Images/cal-right.png) no-repeat center center;
    }

    .information-search-controls .previous-week
    {
        width: 40px;
        margin-left: 10px;
        background: #007FD0 url(Images/cal-left.png) no-repeat center center;
    }

    .information-search-controls .next-month
    {
        width: 40px;
        background: #007FD0 url(Images/next-month.png) no-repeat center center;
    }

    .information-search-controls .previous-month
    {
        width: 40px;
        background: #007FD0 url(Images/previous-month.png) no-repeat center center;
    }

/* Messaging Popup
----------------------------------*/
.message-popup
{
    width: 100%;
}

    .message-popup td.subject
    {
        border-bottom: solid 1px #d9d9d9;
        padding-bottom: 5px;
    }

        .message-popup td.subject h1
        {
            font-size: 1.4em;
            font-weight: initial;
        }

    .message-popup tr.detail td
    {
        padding: 5px 0 10px 0;
    }

    .message-popup td.sender
    {
        font-weight: bold;
    }

    .message-popup td.send-date
    {
        width: 100px;
    }

/* Configuration Screen
----------------------------------*/
.configuration-password .form-table
{
    margin: 10px 0;
}

    .configuration-password .form-table tr.error-response td
    {
        text-align: left;
        padding-left: 10px;
    }

.configuration-api-response
{
    margin-bottom: 10px;
    color: green;
}

/* Message sending popup
-----------------------------------*/
.new-message #popup
{
}

@media all and (max-width: 980px)
{
    .new-message-body
    {
        width: 95%;
        height: 100%;
        display: block;
    }

    .new-message-subject
    {
        width: 200px;
    }
}

@media all and (min-width: 980px)
{
    .new-message-body
    {
        min-width: 600px;
        min-height: 300px;
        display: block;
    }

    .new-message-subject
    {
        width: 400px;
    }
}
/* Changes made for iPhone SE */
@media (max-height: 668px) {
    .dash-quick-links div.holiday,
    .dash-quick-links div.shifts,
    .dash-quick-links div.personal,
    .dash-quick-links div.information,
    .dash-quick-links div.clocking,
    .dash-quick-links div.jobcosting,
    .dash-quick-links div.messages {
        height: 70px;
        background-size: 50px;
    }
}

.shiftinfo-legend dl {
    text-align: center;
}
.shiftinfo-legend dl dt {
    display: inline-block;
    width: 20px;
    height: 20px;
    vertical-align: middle;
}

.shiftinfo-legend dl dd {
    display: inline-block;
    margin: 0 5px 0px 0px;
    padding-bottom: 0;
    vertical-align: middle;
}

.shiftinfo-legend .b-inline {
    display: inline-block;
    margin-bottom: 5px;
}

.bgcolor-holiday {
    background: #FFFF00;
}
.bgcolor-sick {
    background: #00FFFF;
}
.bgcolor-absence {
    background: #FF00FF;
}
.bgcolor-requested {
    background: #ff8080;
}

.new-message-recipient {
    margin-left: 10px;
}

.new-message-subject
{
    margin-left: 10px;
}

/* Clocking Module Styles
----------------------------------*/
.clock-module {
    width:180px;
    margin: 0 auto;
}

.clock-module h2 {
    text-align:center;
    margin:5px 0;
    color: #626262;
}

.clock-module table {
    width:100%;
}

.clock-module button {
    width:100%;
    margin:2px 0;
}

.clock-module button.disabled {
    background-color:#e6e6e6;
    color:#626262;
    border-color:#d9d9d9;
}

.clock-module select {
    width:100%;
    margin:5px 0;
}

.clock-module .working-task-response {
    margin:5px 0;
    height:15px;
    text-align:center;
}

.clock-module .error {
    color:red;
}

.clock-module .success {
    color: green;
}
