﻿/*! ISYS Common Styles - v1 - 2014-10-20* 
* Includes styles for: Validation, Layout, Login, Buttons
* Author: Josh Pattie */

/* Resets and Overrides
----------------------------------*/
body
{
    font-size: 80%;
    font-family: arial, helvetica, verdana, sans-serif;
    background-color: #fff;
}

img
{
    border: none;
}

ul
{
    list-style: none;
}

a:link, a:active, a:visited
{
    text-decoration: none;
}

a:hover
{
    text-decoration: underline;
}

form input,
form textarea,
form select,
form button
{
    outline: none;
}

input[type=text],
input[type=password],
input[type=textarea]
{
    height: 20px;
    width: 200px;
    padding: 2px 5px;
    border: 1px solid #D9D9D9;
    border-top: 1px solid silver;
}

    input[type=text]:hover,
    input[type=password]:hover,
    textarea:hover
    {
        border-color: #B9B9B9;
    }

    input[type=text]:disabled:hover,
    input[type=password]:disabled:hover,
    textarea:disabled:hover
    {
        border: 1px solid #D9D9D9;
        border-top: 1px solid silver;
    }

    input[type=text]:focus,
    input[type=password]:focus,
    textarea:focus
    {
        border-color: #82A3E6;
        background-color: #EEF5FF;
    }

textarea
{
    padding: 2px 5px;
    border: 1px solid #D9D9D9;
    border-top: 1px solid silver;
}

select
{
    min-width: 160px;
    height: 23px;
    border: 1px solid #D9D9D9;
}

input.date-picker
{
    width: 75px;
    text-align: right;
    padding-right: 25px;
    cursor: pointer;
    background: url(isys-common-images/calendar-grey.png) no-repeat center right 5px;
}

input.time-picker
{
    width: 35px;
}

input.input-disabled
{
    padding: 0;
    border: none;
    cursor: auto;
}

    input.input-disabled:focus
    {
        background-color: transparent;
    }


/* Fonts and Types
----------------------------------*/
h1
{
    font-size: 2em;
    padding: 0;
    margin: 0;
}

.strong-title
{
    font-weight: bold;
    margin: 5px 0;
}

/* Useful Classes
----------------------------------*/
span.helper-tip
{
    display: inline-block;
    background: url(isys-common-images/tooltip.png) no-repeat center;
    width: 12px;
    height: 12px;
}

span.required-input:after {
    content: "*";
    display: inline-block;
    color: #ff0000;
    font-weight: bold;
    font-size: 16px;
}

.overflow
{
    overflow: auto;
}

.clear
{
    clear: both;
}

.ajax-loading
{
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #e2e7eb;
    opacity: 0.5;
    background-image: url(isys-common-images/spinner.gif);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
}

/* Primary Layout
----------------------------------*/
header
{
    background: none repeat scroll 0 0 #428BCA;
    height: 45px;
    width: 100%;
    color: #FFFFFF;
    position: fixed;
    top: 0;
    z-index: 1;
}

footer
{
    width: 100%;
    height: 35px;
    position: fixed;
    bottom: 0;
    background-color: #DDDDDD;
    border-top: 1px solid #CDCDCD;
}

    header .centered,
    footer .centered
    {
        min-width: 1006px;
        max-width: 1366px;
        height: 100%;
        margin: 0 auto;
        position: relative;
    }

header .centered
{
    background: none repeat scroll 0 0 #428BCA;
}

header .banner-left,
footer .banner-left
{
    width: 180px;
    padding: 5px 15px 5px 5px;
    float: left;
}

footer .form-controls
{
    height: 100%;
    line-height: 35px;
}

    footer .form-controls .site-button
    {
        margin-left: 10px;
    }

header .banner-left
{
    height: 35px;
}

    header .banner-left .logo
    {
        width: 45px;
        float: left;
    }

        header .banner-left .logo img
        {
            min-height: 35px;
            max-width: 100%;
            max-height: 35px;
        }

    header .banner-left .user-details
    {
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        margin-top: 3px;
    }

    header .banner-left .user-details span
    {
        display:block;
    }
        header .banner-left .user-details a
        {
            color: #FFFFFF;
            font-size: 10px;
            text-decoration: underline;
            cursor: pointer;
        }

header .navigation-left
{
    float: left;
}

header .navigation-right
{
    float: right;
}

footer .banner-left
{
    height: 25px;
    text-align: center;
    line-height: 25px;
    color: #626262;
    font-size: 10px;
}

div.wrapper
{
    width: 100%;
    bottom: 0;
    position: absolute;
    top: 45px;
}

    div.wrapper .centered
    {
        min-width: 1006px;
        max-width: 1366px;
        height: 100%;
        margin: 0 auto;
        position: relative;
        background-color: #EDEDED;
        border: 1px solid #CDCDCD;
        border-top: none;
        border-bottom: none;
        overflow: auto;
    }

        div.wrapper .centered .padded
        {
            position: absolute;
            top: 5px;
            bottom: 5px;
            right: 5px;
            left: 5px;
        }

/* Navigation
----------------------------------*/
header .primary-navigation
{
    display: block;
}

    header .primary-navigation ul
    {
        padding: 0;
        margin: 0;
        list-style: none;
        line-height: 45px;
    }

    header .primary-navigation li
    {
        display: inline;
        float: left;
    }

        header .primary-navigation li a
        {
            color: #FFFFFF;
            text-decoration: none;
            cursor: pointer;
            float: left;
            display: inline-block;
            padding: 0 20px 0 20px;
        }

            header .primary-navigation li a.selected
            {
                color: #000000;
            }

    header .primary-navigation a:hover
    {
        -webkit-transition: .3s ease;
        -moz-transition: .3s ease;
        -o-transition: .3s ease;
        -ms-transition: .3s ease;
        transition: .3s ease;
        background-color: #00508F;
    }

    header .primary-navigation a.current
    {
        color: #000000;
        background-color: #EDEDED;
        background-color: -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-color: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-color: -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
    }

    header .primary-navigation a.image-link
    {
        color: transparent;
        font-size: smaller;
        width: 32px;
        height: 100%;
        padding: 0 4px;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center center;
    }

    header .primary-navigation a.home
    {
        background-image: url(isys-common-images/home.png);
    }

    header .primary-navigation a.home-current
    {
        background-image: url(isys-common-images/home-grey.png), -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-image: url(isys-common-images/home-grey.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-image: url(isys-common-images/home-grey.png), -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: url(isys-common-images/home-grey.png), linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
    }

    header .primary-navigation a.shiftswap
    {
        background-image: url(isys-common-images/swap.png);
        color: transparent;
        font-size: smaller;
        width: 32px;
        height: 45px;
        padding: 0 2px;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center center;
    }

    header .primary-navigation a.shiftswap-current
    {
        background-image: url(isys-common-images/swap-grey.png), -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-image: url(isys-common-images/swap-grey.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-image: url(isys-common-images/swap-grey.png), -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: url(isys-common-images/swap-grey.png), linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
    }

    header .primary-navigation a.send-message
    {
        background-image: url(isys-common-images/send-message.png);
        color: transparent;
        font-size: smaller;
        width: 32px;
        height: 100%;
        padding: 0 12px;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center center;
    }

    header .primary-navigation a.send-message-current
    {
        background-image: url(isys-common-images/send-message-grey.png), -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-image: url(isys-common-images/send-message-grey.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-image: url(isys-common-images/send-message-grey.png), -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: url(isys-common-images/send-message-grey.png), linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
        background-repeat: no-repeat;
        color: transparent;
        font-size: smaller;
        width: 32px;
        height: 100%;
        padding: 0 12px;
        display: inline-block;
        background-repeat: no-repeat;
        background-position: center center;
    }

    header .primary-navigation a.messaging
    {
        background-image: url(isys-common-images/messaging.png);
    }

    header .primary-navigation a.messaging-current
    {
        background-image: url(isys-common-images/messaging-grey.png), -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-image: url(isys-common-images/messaging-grey.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-image: url(isys-common-images/messaging-grey.png), -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: url(isys-common-images/messaging-grey.png), linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
    }

    header .primary-navigation a.settings
    {
        background-image: url(isys-common-images/settings.png);
    }

    header .primary-navigation a.settings-current
    {
        background-image: url(isys-common-images/settings-grey.png), -moz-linear-gradient(top, #F6F6F6 0%, #EDEDED 100%);
        background-image: url(isys-common-images/settings-grey.png), -webkit-gradient(linear, left top, left bottom, color-stop(0%,#F6F6F6 ), color-stop(100%,#EDEDED));
        background-image: url(isys-common-images/settings-grey.png), -webkit-linear-gradient(top, #F6F6F6 0%,#EDEDED 100%);
        background-image: url(isys-common-images/settings-grey.png), linear-gradient(to bottom, #F6F6F6 0%,#EDEDED 100%);
    }

    header .primary-navigation .message-counter-outer
    {
        background-color: white;
        position: absolute;
        top: 5px;
        right: -5px;
        height: 15px;
        z-index: 1;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        min-width: 5px;
        /*padding: 2px;*/ /*Add padding back for cool ios looking icon*/
        box-shadow: -1px 1px 1px #888888;
        pointer-events: none;
    }

    header .primary-navigation .message-counter-inner
    {
        position: relative;
        font-size: 11px;
        line-height: 15px;
        height: 15px;
        float: left;
        color: white;
        text-align: center;
        -webkit-border-radius: 10px;
        -moz-border-radius: 10px;
        border-radius: 10px;
        padding: 0 5px;
        background: -webkit-linear-gradient(#D0021B, #D0021B); /* For Safari 5.1 to 6.0 */
        background: -o-linear-gradient(#D0021B, #D0021B); /* For Opera 11.1 to 12.0 */
        background: -moz-linear-gradient(#D0021B, #D0021B); /* For Firefox 3.6 to 15 */
        background: linear-gradient(#D0021B, #D0021B);
        pointer-events: none;
    }

/* Login Layout
----------------------------------*/
body.login-layout-body
{
    background-color: #DDDDDD;
}

.login-wrapper
{
    width: 580px;
    height: auto;
    margin: 13% auto 0 auto;
    background-color: #ffffff;
    border-radius: 12px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    color: #626262;
}

.site-image {
    width: 360px;
    height: 30px;
    padding: 10px;
    /*background-image: url(isys-common-images/Capita-Workforce-Managment-Logo.png);*/
    background: url(isys-common-images/Advanced-ADVT-Secure-Information-Solutions-Logo.png) no-repeat 10px center;
    background-size: 180px 35px;
}

.inner-heading
{
    height: 30px;
    line-height: 30px;
    background: #428BCA;
    padding: 2px 2px 2px 10px;
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.1);
}

    .inner-heading h1
    {
        display: inline-block;
        color: #FFFFFF;
        font-size: 1.5em;
        padding-left: 5px;
    }

    .inner-heading a
    {
        color: #FFF;
        line-height: 30px;
        float: right;
        margin-right: 10px;
    }

.login-version
{
    font-weight: bold;
    margin: 5px 0;
    padding: 10px;
}

.login-body
{
    display: table;
    width: 100%;
    position: relative;
    min-height: 150px;
    height: auto;
}

    .login-body .helper
    {
        width: 200px;
        float: left;
        margin: 15px 0 15px 15px;
        padding: 1px 5px 10px 5px;
        background-color: #EEE;
        border-radius: 4px;
        line-height: 18px;
    }

        .login-body .helper .helper-button
        {
            display: inline-block;
        }

    .login-body .app-helper
    {
        text-align: center;
    }

    .login-body .input-form
    {
        right: 15px;
        width: 315px;
        padding-top: 10px;
        margin-left: 15px;
        float: right;
        position: relative;
        margin-bottom: 15px;
        text-align: right;
    }

        .login-body .input-form .message
        {
            text-align: center;
            display: block;
            margin-top: 5px;
        }

        .login-body .input-form label
        {
            font-weight: bold;
            display: block;
            margin-top: 5px;
            text-align: left;
        }

        .login-body .input-form .field-validation-error
        {
            display: block;
            margin-top: 5px;
            text-align: left;
        }

        .login-body .input-form input[type=text],
        .login-body .input-form input[type=password]
        {
            margin: 5px 0 0 0;
            width: 96%;
            height: 20px;
            padding: 2px 5px;
            border: 1px solid #D9D9D9;
            border-top: 1px solid silver;
        }

            .login-body .input-form input[type=text]:hover,
            .login-body .input-form input[type=password]:hover
            {
                border-color: #B9B9B9;
            }

            .login-body .input-form input[type=text]:focus,
            .login-body .input-form input[type=password]:focus
            {
                border-color: #007FD0;
            }

        .login-body .input-form a
        {
            float: left;
            margin-top: 5px;
        }

            .login-body .input-form a.reset-link
            {
                line-height: 2;
            }

.login-button
{
    margin-top: 5px;
}

.session-partial-popup
{
    width: 100%;
    color: #626262;
}

    .session-partial-popup table
    {
        margin: 0 auto;
    }

    .session-partial-popup label
    {
        color: #626262;
        font-weight: bold;
        display: block;
        margin: 5px 0 5px 10px;
    }

/* Buttons
----------------------------------*/
button.btn-navbar-collapsed
{
    display: none;
}

.site-button
{
    padding: 5px 12px;
    color: #FFFFFF;
    text-shadow: 0px -1px 0px #318b9a;
    background-color: #007FD0;
    border: 1px solid #007FD0;
    border-radius: 2px;
    cursor: pointer;
    outline: none;
    text-decoration: none;
    line-height: normal;
}

    .site-button:hover
    {
        text-decoration: none;
        background-color: #006BB7;
        text-shadow: 0px -1px 0px #136d7c;
    }

    .site-button:active
    {
        background-color: #095B99;
        -moz-box-shadow: inset 0 1px 2px #042D4C;
        -webkit-box-shadow: inset 0 1px 2px #042D4C;
        box-shadow: inner 0 1px 2px #042D4C;
    }

.site-button-disabled:hover
{
    background-color: #007FD0;
    text-shadow: 0px -1px 0px #318b9a;
}

.site-button-disabled:active
{
    background-color: #007FD0;
    -moz-box-shadow: none;
    -webkit-box-shadow: none;
    box-shadow: none;
}

.button-margin
{
    margin-right: 5px;
}

input[type="button"].site-button-disabled
{
    opacity: 0.5;
    cursor: default;
}

.refresh-button
{
    padding-left: 24px;
    background: url("isys-common-images/refresh-white-18.png") #626262 no-repeat left 3px center;
    background-size: 18px 18px;
    border: 1px solid #626262;
}

    .refresh-button:hover
    {
        background-color: #494949;
    }

    .refresh-button:active
    {
        background-color: #3D3D3D;
        -moz-box-shadow: inset 0 1px 2px #353535;
        -webkit-box-shadow: inset 0 1px 2px #353535;
        box-shadow: inner 0 1px 2px #353535;
    }

.button-highlight
{
    text-shadow: none;
    background-color: #f8981D;
    border-color: #f8981D;
}

.form-button
{
    display: block;
    border: none;
    width: 25px;
    height: 25px;
    margin: 0 auto;
    outline: none;
    cursor: pointer;
}

    .form-button:hover
    {
        opacity: 0.5;
    }

.edit-button
{
    background: url(isys-common-images/edit.png) no-repeat center;
}

.add-button
{
    background: url(isys-common-images/add.png) no-repeat center;
}

.view-button
{
    background: url(isys-common-images/view.png) no-repeat center;
}

.delete-button
{
    background: url(isys-common-images/delete-small.png) no-repeat center;
}

.attention
{
    background: url(isys-common-images/attention.png) no-repeat center;
}

/* List Tables
----------------------------------*/
.list-table
{
    width: 100%;
    margin: 0 auto;
    border-collapse: collapse;
    border-spacing: 0;
    border: 1px solid #d9d9d9;
    background-color: #FFFFFF;
}

.border-none
{
    border: none;
}

.list-table th
{
    padding: 5px 8px;
    background-color: #F2F2F2;
    border: 1px solid #d9d9d9;
    color: #666;
}

    .list-table th.hidden-header
    {
        background-color: #EDEDED;
        border-bottom: none;
        border-top: none;
        border-left: none;
    }

.list-table tr
{
    height: 25px;
}

    .list-table tr.no-hover:hover
    {
        background-color: transparent;
    }

    .list-table tr:hover
    {
        background-color: #ebf4fe;
    }

.list-table td
{
    padding: 3px 5px;
}

.list-table .button-cell
{
    width: 20px;
}

.list-table .date-cell
{
    width: 110px;
}

.list-table .datetime-cell
{
    width: 120px;
}

.list-table .row-icon
{
    display: block;
    width: 25px;
    height: 25px;
}

td.center
{
    text-align: center;
}

tr.zebra-odd
{
    background-color: #FFF;
}

tr.zebra-even
{
    background-color: #F0F0F0;
}

/* Form elements
----------------------------------*/
.form-table
{
    margin-top: 0px;
}

    .form-table tr.error-response
    {
        height: auto;
    }

        .form-table tr.error-response td
        {
            text-align: right;
        }

    .form-table tr
    {
        height: 30px;
    }

    .form-table td.padd-left
    {
        padding-left: 10px;
    }

    .form-table label
    {
        font-weight: bold;
        text-align: left;
    }

    .form-table td input,
    .form-table td select
    {
        margin-left: 10px;
    }

    .form-table td select
    {
        width: 212px;
        height: 26px;
    }

    .form-table input[type="checkbox"]
    {
        margin: 5px 0 0 10px;
    }

    .form-table input[type="file"]
    {
        width: 210px;
    }

/* Validation
----------------------------------*/
.field-validation-error
{
    color: #ff0000;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    border: 1px solid #ff0000;
    background-color: #ffeeee;
}

.validation-summary-errors
{
    font-weight: bold;
    color: #ff0000;
}

.validation-summary-valid
{
    display: none;
}

.field-validation-success
{
    color: green;
}

.error
{
    color: #ff0000;
}

.success
{
    color: green;
}

.error-response
{
    color: #ff0000;
    text-align: center;
}
