
/*
================================
= MODULE
================================
*/

.-pd-maintenance-mode {
    position:absolute;
    top:0;
    left:0;
    bottom:0;
    right:0;
    overflow:hidden;
}

/*
================================
= STATUS AND SCHEDULER CONTROL
================================
*/

.-pd-maintenance-mode .maintenance-status {
    position:absolute;
    top:10px;
    left:10px;
    height:115px;
    width:300px;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=status] {
    position:absolute;
    top:0;
    left:0;
    height:70px;
    width:100%;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=status] > div[data-id=status-icon] {
    position:absolute;
    top:0;
    left:0;
    width:60px;
    bottom:0;
    background-repeat:no-repeat;
    background-position:center center;
    background-color:#FFFFFF;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=status] > div[data-id=status-text] {
    position:absolute;
    top:0;
    left:60px;
    right:0;
    bottom:0;
    text-align:center;
    padding:10px;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=status] > div[data-id=status-text] > div[data-id=status-text-label] {
    font-weight: bold;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=status] > div[data-id=status-text] > div[data-id=status-text-timer] {
    margin-top:0;
    font-size:12px;
    padding: 0;
    line-height: 18px;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=button-deck] {
    position:absolute;
    top:70px;
    left:0;
    height:35px;
    width:100%;
    border:0 solid transparent;
    text-align:center;
    box-sizing:border-box;
    padding:5px;
}

.-pd-maintenance-mode .maintenance-status > div[data-id=button-deck] > button {
    font-size:12px;
    height:30px;
    width:120px;
    box-sizing:border-box;
    margin: 0 5px 0 5px;
}

/* No Maintenance */

.-pd-maintenance-mode .maintenance-status.no-maintenance {
    border:5px solid #00AA00;
}

.-pd-maintenance-mode .maintenance-status.no-maintenance > div[data-id=status] > div[data-id=status-icon] {
    border-right:1px solid #00AA00;
    background-image: url(../Areas/Shared/Assets/Internal/Icons/32x32/checkbox.png);
}

.-pd-maintenance-mode .maintenance-status.no-maintenance > div[data-id=status] > div[data-id=status-text] {
    background-color:#C6F5C6;
}

.-pd-maintenance-mode .maintenance-status.no-maintenance > div[data-id=button-deck] {
    background-color:#00AA00;
}

/* Scheduled */

.-pd-maintenance-mode .maintenance-status.scheduled {
    border:5px solid #F2D200;
}

.-pd-maintenance-mode .maintenance-status.scheduled > div[data-id=status] > div[data-id=status-icon] {
    border-right:1px solid #F2D200;
    background-image: url(../Areas/Shared/Assets/Internal/Icons/32x32/calendar_clock.png);
}

.-pd-maintenance-mode .maintenance-status.scheduled > div[data-id=status] > div[data-id=status-text] {
    background-color:#FFF5B8;
}

.-pd-maintenance-mode .maintenance-status.scheduled > div[data-id=button-deck] {
    background-color:#F2D200;
}

/* In Maintenance */

.-pd-maintenance-mode .maintenance-status.in-maintenance {
    border:5px solid #AA0000;
}

.-pd-maintenance-mode .maintenance-status.in-maintenance > div[data-id=status] > div[data-id=status-icon] {
    border-right:1px solid #AA0000;
    background-image: url(../Areas/Shared/Assets/Internal/Icons/32x32/construction_barrier.png);
}

.-pd-maintenance-mode .maintenance-status.in-maintenance > div[data-id=status] > div[data-id=status-text] {
    background-color:#F5D7D7;
}

.-pd-maintenance-mode .maintenance-status.in-maintenance > div[data-id=button-deck] {
    background-color:#AA0000;
}

/*
================================
= USERS CONTROL
================================
*/

.-pd-maintenance-mode .maintenance-users {
    position:absolute;
    top:135px;
    left:10px;
    width: 300px;
    bottom: 10px;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-users [data-id=users-title] {
    position:absolute;
    top:0;
    left:0;
    height:30px;
    width:300px;
    border-bottom-width:0;
    box-sizing:border-box;
}

.-pd-maintenance-mode .maintenance-users [data-id=users-list] {
    position:absolute;
    top:30px;
    left:0;
    bottom:40px;
    width:300px;
    border:1px solid #DDDDDD;
    box-sizing:border-box;
    overflow: hidden;
}

.-pd-maintenance-mode .maintenance-users [data-id=users-grid] {
    border: 0;
}

.-pd-maintenance-mode .maintenance-users [data-id=users-button-deck] {
    position:absolute;
    height:30px;
    left:0;
    bottom:0;
    width:300px;
    box-sizing:border-box;
    text-align: center;
}

.-pd-maintenance-mode .maintenance-users [data-id=users-button-deck] > button {
    width:120px;
    box-sizing:border-box;
    font-size:12px;
    margin: 0 5px 0 5px;
    height: 30px;
}

/*
================================
= SCHEDULER DIALOG
================================
*/


.-pd-maintenance-mode-scheduler-dialog {
    position: absolute;
    top:10px;
    left:10px;
    right:10px;
    bottom:10px;
    overflow: hidden;
    padding:10px;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options]{
    position: absolute;
    top: 0;
    bottom: 34px;
    left: 0;
    right: 0;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div {
    margin-bottom:10px;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div > label {
    box-sizing: border-box;
    vertical-align: top;
    white-space: nowrap;
    display: block;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div > label > input[type=radio] {
    margin-right: 6px;
    vertical-align: top;
    display: inline-block;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div > label > div {
    display: inline-block;
    white-space:normal;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div > label > div > span {
    font-weight: bold;
    position: relative;
    display: inline-block;
    margin-bottom: 5px;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div > div {
    box-sizing: border-box;
    width:100%;
    white-space: nowrap;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=maintenance-schedule-options] > div[data-id=maintenance-cancel]{
    width:100%;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=button-deck]{
    height: 24px;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-align: right;
}

.-pd-maintenance-mode-scheduler-dialog > div[data-id=button-deck] > button:first-child {
    margin-right:10px;
}