﻿/* Global styles */
* {
    margin: 0;
    padding: 0;
}

html {
    height: 100%;
    background-color: #ebeef0;
}

body {
    height: 100%;
    font: normal 14px/24px Arial, Helvetica, sans-serif;
    color: #002340; /* black is not used */
    padding: 0 5% 0 8%;
    min-width: 420px;
}

header, footer, nav, section {
    display: block;
}

a, a:visited {
    color: #007aaa;
}

    a:hover, a:focus, a:active {
        color: #007aaa;
    }

.content-wrapper {
    margin: 0 auto;
    max-width: 960px;
    height: auto;
    position: relative;
}

.content {
    width: 90%;
    min-height: 500px;
    padding: 24px 24px 48px 24px;
    background: #fff;
    border: 1px solid #A9B2B7;
    margin: 0;
}

.block {
    display: block;
}

.float-right {
    float: right;
}

.float-left {
    float: left;
}

.clear-both {
    clear: both;
}

.nowrap {
    white-space: nowrap;
}

.wrap {
    white-space: normal;
}


/* Header styles */
.header-info button { /* TODO What Is This */
    position: relative;
    top: -1em;
    clear: left;
}

#logo {
    width: 250px;
    height: 32px;
    background: url("images/wave-3000-logo.png") no-repeat;
    text-indent: 100%;
    white-space: nowrap;
    overflow: hidden;
    position: relative;
    top: 20px;
}

.header-controls {
    display: block;
    width: 90%;
}

#login {
    display: block;
    width: 6em;
    position: relative;
    left: 95%;
}

form#logoutForm {
    display: inline;
}

#login a {
    display: block;
    position: relative;
    top: -5px;
    right: 0;
    text-align: center;
}

#loginTopSpacer {
    display: block;
    height: 39px;
}


/* Footer styles */
.footer {
    height: 48px;
    display: table;
    position: relative;
    z-index: 2;
    color: #3F484D;
    padding: 12px 0 0 24px;
    margin: 0;
    width: 90%;
    max-width: 960px;
}

.footer-copy {
    padding: 0 16px 0 0;
}

.footer .online-help {
    white-space: nowrap;
    float: right;
}

.footer-version {
    white-space: nowrap;
}


/* Tab navigation styles */
nav {
    width: 100%;
    margin: 10px 0 0 20px;
}

#menu {
    list-style: none;
    margin: 0;
    padding: 0;
    position: relative;
    top: 2px;
    white-space: nowrap;
}

    #menu li {
        display: inline;
        margin: 0;
        padding: 0;
    }

        /* for whatever reason, I needed to use a gif background to get the right color */
        #menu li a {
            display: inline-block;
            height: 20px;
            background: url("images/A9B2B7.gif") repeat;
            color: #FFFFFF;
            padding: 3px 24px;
            margin: 0 4px;
            border: 1px solid #A9B2B7;
            text-decoration: none;
            position: relative;
            z-index: 10;
            font: 16px Arial, Helvetica, sans-serif;
        }

            #menu li a.CurrentTab {
                background: #FFFFFF;
                color: #131B30;
                border-bottom: 2px solid #ffffff;
            }

/* Commit Changes */
.banner {
    background: #FDF698;
    border: 1px solid #A9B2B7;
    margin-bottom: 24px;
    padding: 12px 9px 6px 9px;
    vertical-align: top;
}

    .banner .cc-info-msg,
    .banner .cc-error-msg,
    .banner .cc-success-msg,
    .banner .cc-reminder-msg {
        line-height: 16px;
        position: relative;
    }

    .banner .cc-info-msg:before {
        content: url("images/Info-40x40.png");
        width: 46px;
        height: 44px;
        display: block;
        float: left;
        margin-bottom: 8px;
    }

    .banner .cc-error-msg:before {
        content: url("images/UpdateFailed-40x40.png");
        width: 46px;
        height: 44px;
        display: block;
        float: left;
        margin-bottom: 8px;
    }

    .banner .cc-success-msg:before {
        content: url("images/UpdateSuccess-40x40.png");
        width: 46px;
        height: 44px;
        display: block;
        float: left;
        margin-bottom: 8px;
    }

    .banner .cc-reminder-msg:before {
        content: url("images/Remember-30x30.png");
        width: 46px;
        height: 44px;
        display: block;
        float: left; /* margin not needed */
    }

.commit-banner span.float-right {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    width: 180px;
    text-align: right;
}

.commit-banner .cc-info-msg,
.commit-banner .cc-error-msg,
.commit-banner .cc-success-msg,
.commit-banner .cc-reminder-msg {
    padding-right: 180px;
}


/* page title and subtitle */
.breadcrum-title, h1, h2, h3 {
    font-size: 24px;
    font-weight: normal;
}

    .breadcrum-title p {
        font-size: 14px;
    }

/* This places a quote after the breadcrumb title. Usage: class="breadcrum-title breadcrum-title-ellipse" */
.breadcrum-title-ellipse:after {
    content: '"';
    vertical-align: top;
}

.ellipse-page-title {
    max-width: 95%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    display: inline-block;
}

.header-info {
    font-size: 14px;
}


/* landing page links */
.home-links a,
.SystemLinkWrapper a {
    font-size: 18px;
    display: inline-block;
    padding-top: 14px;
}

.home-links div,
.SystemLinkWrapper div {
    line-height: 14px;
}


/* login page styles */
#loginForm {
    display: block;
    position: relative;
}

    #loginForm fieldset,
    #loginForm .fieldset-box {
        display: block;
        border: 1px solid #A9B2B7;
        margin: 40px 20px 20px 40px;
        padding: 30px 50px;
    }

    #loginForm .submit-container {
        margin: 0 0 5px 10px;
        text-align: right;
    }

    #loginForm .error-message {
        display: block;
        min-height: 2em;
        margin: 0;
    }


/* Hint text in forms or subtitles */
.hint {
    color: #525b60;
    font-size: 13px;
    line-height: 1.2em; 
    margin: 0.1em 0 0.75em 0;
    display: block;
}

.hint.show-as-disabled {
    color: #A9B2B7;
}

.no-hint {
    padding-bottom: .75em;
}

.field-validation-error ~ .hint { /* hide hints that follow visible validation text */
    display: none;
}

.hint-red {
    color: #b81a03;
    font-size: 13px;
    margin: -0.25em 0 0.75em 0;
    display: block;
}

.hint-subtitle {
    color: #131B30;
    margin: 0 0 .5em 0;
    display: block;
}

.hint-subtitle-with-space {
    color: #131B30;
    margin: 0 0 1em 0;
    display: block;
}

.hint-subtitle-with-space-red {
    color: #b81a03;
    margin: 0 0 1em 0;
    display: block;
}


/* Form controls */
.label-cell {
    vertical-align: top;
    padding-right: 0.25em;
}

.horizontal-radio-label {
    padding-right: 1em;
    white-space: nowrap;
}

.field-label {
    display: inline-block;
    margin: 0.25em 0.25em 0 0;
    text-align: right;
    width: 125px;
    vertical-align: top;
    line-height: 16px;
    white-space: normal;
}

.field-cell {
    word-wrap: break-word;
}

.form-header-cell {
    font-weight: bold;
    font-size: 15px;
    padding: 0.25em 0;
}

.required:before {
    content: "* "; /* no color change */
    font-weight: bold;
}

label.show-as-disabled {
    color: #A9B2B7;
}

textarea {
    border: 1px solid #a9b2b7;
    min-height: 75px;
    padding: 0.1em;
    background-color: #fff;
}

input[type="text"]:disabled {
    border: 0;
    background-color: #f0f0f0;
}

input[type="text"],
input[type="number"],
input[type="password"] {
    border: 1px solid #a9b2b7;
    width: 150px;
    padding: 0.1em;
    background-color: #fff;
}

#SimultaneousLogins {
    width: 75px;
}

.error-message {
    margin: 5px;
    color: #b81a03;
}

.success-message {
    margin: 5px;
    color: #268a16;
}

.backupConfig {
    width: 525px;
}

.inline-box {
    display: inline-block;
    margin: 5px;
    padding: 20px;
    border: 1px solid #A9B2B7;
}

    .inline-box button {
        margin-top: 1em;
    }

b {
    font-size: 1.2em;
}

.invisible {
    visibility: hidden;
}

div.centered {
    display: table;
    margin: 0 auto;
    text-align: center;
}

.delete-link {
    display: inline-block;
    margin-left: 2em;
}

fieldset {
    border: 1px solid #A9B2B7;
    margin: 0 0 1.5em 0;
    padding: 0 1.4em 1.4em 1.4em;
}

.help-text {
    margin: 0 0 1em 0;
}

.fieldset-box {
    display: inline;
    margin: 20px;
    padding: 20px;
}

legend {
    font-size: 15px;
    font-weight: bold;
    padding: 0 1em;
}

.field-container {
    margin: 5px;
}

.online-help {
    margin-left: 6px;
}

.submit-container {
    margin: 10px 5px 5px 10px;
    text-align: right;
}

form {
    display: inline-block;
}


    /* 
    Basic config page styles and overrides.
    3 cols: 125px / 175px / 150px see media queries for smaller viewports.
*/
    form.basic-config-form {
        display: block;
        width: 95%;
        margin: 0;
    }

        form.basic-config-form fieldset {
            padding-top: 1em;
        }

        form.basic-config-form fieldset.has-help-text {
            padding-top: 0;
        }

.basic-config-field-box { /* surrounds each label, field and current value collection */
    white-space: nowrap;
    clear: both;
}

    .basic-config-field-box .hint { 
        clear: left;
        width: 350px;
        white-space: normal;
        margin: 1.7em 0 .75em 0;
    }

    .field-cell .hint { 
        clear: left;
        width: 350px;
        white-space: normal;
    }

    .basic-config-field-box .field-validation-error { 
        clear: left;
        display: block;
        width: 350px;
        white-space: normal;
        margin: 1.7em 0 .75em 0;
    }

    .field-cell .field-validation-error { 
        clear: left;
        display: block;
        width: 350px;
        white-space: normal;
    }

    .basic-config-field-box .editor-label {
        margin: 1em 0 0 0;
    }

    .basic-config-field-box .editor-field {
        width: 150px;
        display: inline-block;
        position: relative;
    }

.system-current { /* matching network values */
    display: inline-block;
    width: 150px;
    margin-left: 0.5em;
    padding-left: 1em;
    color: #6f797e;
    vertical-align: top;
}

    .system-current.system-currentIsDifferent { /* new network value */
        color: #131B30;
    }

        .system-current.system-currentIsDifferent span { /* new network value highlighting */
            background: #FDF698;
            padding: 2px;
        }

.editor-field input {
    float: left;
}

.applied-during-next-commit { /* left side label at top of fieldsets */
    width: 285px;
    text-align: right;
    font-style: italic;
    display: inline-block;
    margin-bottom: 0.5em;
}

.in-effect-now { /* right side label at top of fieldset */
    display: inline-block;
    font-style: italic;
    padding-left: 20px;
    margin-bottom: 0.5em;
}


/* table styles */
table.grid {
    border-collapse: collapse;
    line-height: 17px;
    margin-bottom: 1em;
}

td {
    vertical-align: top;
}

    td.not-applicable {
        background-color: rgba(0,0,0,0.15);
    }

.empty-tr {
    height: 21px;
}

.grid {
    background-color: #fff;
    width: 100%;
    table-layout: fixed;
    margin-top: 0.5em;
}

    .grid tr:nth-child(odd) {
        background-color: #edf1f4;
    }

    /* headers dark blue with gray vertical borders only interior */
    .grid th {
        background-color: #131B30;
        color: #ffffff;
        text-align: left;
        padding: 0.5em;
        border-top: 1px solid #131b30;
        border-left: 1px solid #a9b2b7;
        word-wrap: break-word;
        hyphens: auto;
        vertical-align: bottom;
    }

        .grid th:first-child {
            border-left-color: #131b30;
        }

        .grid th:last-child {
            border-right-color: #131b30;
        }

    .grid td {
        color: #131b30;
        vertical-align: top;
        border: 1px solid #A9B2B7;
        word-wrap: break-word;
        hyphens: auto;
        padding: 0.5em;
    }

        /* darker links in tables with a bit of added clickable space */
        .grid td a,
        .grid td a:visited {
            color: #007aaa;
            display: inline-block;
            min-width: 30px;
            padding: 0 5px 10px 10px;
            position: relative;
            left: -10px;
        }

            .grid td a:hover,
            .grid td a:active {
                color: #007aaa;
            }

    /* Replace disabled checkboxes in grid with a check image */
    .grid input[type=checkbox]:disabled {
        position: absolute;
        width: 24px;
        height: 24px;
        overflow: hidden;
        margin: 0;
        padding: 0;
        border: 0;
        outline: 0;
        opacity: 0;
    }

    .grid input[type=checkbox]:checked:disabled + span:after {
        content: url(images/CheckDark-16x16.png);
    }

    .grid input[type=checkbox]:disabled + span:after {
        width: 24px;
        height: 24px;
        content: url(images/XRed-16x16.png);
        display: inline-block;
    }

    .grid textarea {
        border: 1px solid #A9B2B7;
        width: 98%;
        height: 3em;
    }

    .grid td input [type="text"],
    .grid td input[type="number"] {
        border: 1px solid #A9B2B7;
        width: 98%;
        height: 2em;
    }

#loading {
    display: none;
    z-index: 1000;
}

#loadingspinner {
    text-align: center;
    font-size: larger;
}



/* Styles for validation helpers */

/* positioned above hint text below fields */
.field-validation-error {
    clear: left;
    color: #b81a03;
    display: block;
    min-width: 200px;
    /* font, line and margins are all set to match hint so that they can live in the same space */
    font-size: 13px;
    line-height: 1.2em; 
    margin: 0.1em 0 0.75em 0;
}

.field-validation-valid {
    display: none;
}

input[type="text"].input-validation-error,
input[type="number"].input-validation-error,
input[type="password"].input-validation-error,
.input-validation-error {
    background-color: #fdfaca;
    border: 1px solid #b81a03;
}

.validation-summary-errors {
    color: #b81a03;
    font-weight: bold;
}

.validation-summary-valid {
    display: none;
}

.mtaDisplayed {
    display: table-row;
}

.mtaHidden {
    display: none;
}


.align-image-center {
    display: block;
    margin-right: auto;
    margin-left: auto;
}

.update-box { /* transfer licenses */
    border: 1px solid #A9B2B7;
    padding: 2em;
    display: inline-block;
    margin-top: 1em;
}

    .update-box p {
        margin-bottom: 0.5em;
    }

/* Please Wait page styles */
.wait-icon {
    margin-bottom: 1em;
    text-align: center;
}

.busy-wait-box {
    width: 450px;
    padding: 5em;
    background: #fff;
    border: 1px solid #A9B2B7;
    margin: 100px auto;
}

#busyWait {
    margin: auto;
    background-color: #FDF698;
    border: 1px solid #a9b2b7;
    padding: 1em;
}

.busy-wait-msg {
    font-size: 15px;
    font-weight: normal;
    text-align: center;
}

/** TableSorter **/
/* tables */
table.tablesorter thead tr .header {
    background-image: url(/Content/TableSort/bg.gif);
    background-repeat: no-repeat;
    background-position: 100% 1px;
    cursor: pointer;
}

table.tablesorter thead tr .headerSortUp {
    background-image: url(/Content/TableSort/asc.gif);
}

table.tablesorter thead tr .headerSortDown {
    background-image: url(/Content/TableSort/desc.gif);
}
/** /TableSorter **/


/* Buttons */
/* standard gray button */
button,
input[type=button],
input[type=submit] {
    cursor: pointer;
    -moz-box-shadow: inset 0px 1px 0px 0px #f6fafb;
    -webkit-box-shadow: inset 0px 1px 0px 0px #f6fafb;
    box-shadow: inset 0px 1px 0px 0px #f6fafb;
    background: rgb(246,250,251); /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2Y2ZmFmYiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYWRkZGYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(246,250,251,1) 0%, rgba(218,221,223,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(246,250,251,1)), color-stop(100%,rgba(218,221,223,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(246,250,251,1) 0%,rgba(218,221,223,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(246,250,251,1) 0%,rgba(218,221,223,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(246,250,251,1) 0%,rgba(218,221,223,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(246,250,251,1) 0%,rgba(218,221,223,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f6fafb', endColorstr='#dadddf',GradientType=0 ); /* IE6-8 */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #a9b2b7;
    display: inline-block;
    color: #131b30;
    font-weight: bold;
    line-height: 16px;
    vertical-align: middle;
    padding: 5px 9px 6px 9px;
    text-decoration: none;
    text-shadow: 1px 1px 0px #e3e5e6;
    white-space: nowrap;
}

.field-cell button,
.field-cell input[type=button],
.field-cell input[type=submit] {
    margin: 0.5em 0; /* A bit of breathing room top and bottom for buttons in form cells */
}

button:hover,
button:active,
input[type=button]:hover,
input[type=button]:active,
input[type=submit]:active,
input[type=submit]:hover {
    cursor: pointer;
    background: rgb(218,221,223); /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RhZGRkZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNmNmZhZmIiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(218,221,223,1) 0%, rgba(246,250,251,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(218,221,223,1)), color-stop(100%,rgba(246,250,251,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(246,250,251,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(246,250,251,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(246,250,251,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(218,221,223,1) 0%,rgba(246,250,251,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dadddf', endColorstr='#f6fafb',GradientType=0 ); /* IE6-8 */
}

/* green buttons */
button.green-button,
input[type=button].green-button,
input[type=submit].green-button {
    cursor: pointer;
    -moz-box-shadow: inset 0px 1px 0px 0px #caefab;
    -webkit-box-shadow: inset 0px 1px 0px 0px #caefab;
    box-shadow: inset 0px 1px 0px 0px #caefab;
    background: rgb(193,237,137); /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2MxZWQ4OSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiM4N2Q4MzYiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(193,237,137,1) 0%, rgba(135,216,54,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(193,237,137,1)), color-stop(100%,rgba(135,216,54,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(193,237,137,1) 0%,rgba(135,216,54,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(193,237,137,1) 0%,rgba(135,216,54,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(193,237,137,1) 0%,rgba(135,216,54,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(193,237,137,1) 0%,rgba(135,216,54,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#c1ed89', endColorstr='#87d836',GradientType=0 ); /* IE6-8 */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #268a16;
    display: inline-block;
    color: #131b30;
    font-weight: bold;
    line-height: 16px;
    vertical-align: middle;
    padding: 5px 9px 6px 9px;
    text-decoration: none;
    text-shadow: none;
}

    button.green-button:hover,
    button.green-button:active,
    input[type=button].green-button:hover,
    input[type=button].green-button:active,
    input[type=submit].green-button:hover,
    input[type=submit].green-button:active {
        cursor: pointer;
        background: rgb(145,242,60); /* Old browsers */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iIzkxZjIzYyIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk4JSIgc3RvcC1jb2xvcj0iI2I2ZjI3MSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
        background: -moz-linear-gradient(top, rgba(145,242,60,1) 0%, rgba(182,242,113,1) 98%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(145,242,60,1)), color-stop(98%,rgba(182,242,113,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(145,242,60,1) 0%,rgba(182,242,113,1) 98%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(145,242,60,1) 0%,rgba(182,242,113,1) 98%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(145,242,60,1) 0%,rgba(182,242,113,1) 98%); /* IE10+ */
        background: linear-gradient(to bottom, rgba(145,242,60,1) 0%,rgba(182,242,113,1) 98%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#91f23c', endColorstr='#b6f271',GradientType=0 ); /* IE6-8 */
    }

/* red buttons */
button.red-button,
input[type=button].red-button,
input[type=submit].red-button {
    cursor: pointer;
    -moz-box-shadow: inset 0px 1px 0px 0px #f9dad6;
    -webkit-box-shadow: inset 0px 1px 0px 0px #f9dad6;
    box-shadow: inset 0px 1px 0px 0px #f9dad6;
    background: rgb(244,101,85); /* Old browsers */
    /* IE9 SVG, needs conditional override of 'filter' to 'none' */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIyJSIgc3RvcC1jb2xvcj0iI2Y0NjU1NSIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNkYjMzMjAiIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(244,101,85,1) 2%, rgba(219,51,32,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(2%,rgba(244,101,85,1)), color-stop(100%,rgba(219,51,32,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(244,101,85,1) 2%,rgba(219,51,32,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(244,101,85,1) 2%,rgba(219,51,32,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(244,101,85,1) 2%,rgba(219,51,32,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(244,101,85,1) 2%,rgba(219,51,32,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#f46555', endColorstr='#db3320',GradientType=0 ); /* IE6-8 */
    -moz-border-radius: 2px;
    -webkit-border-radius: 2px;
    border-radius: 2px;
    border: 1px solid #550003;
    display: inline-block;
    color: #131b30;
    font-weight: bold;
    line-height: 16px;
    vertical-align: middle;
    padding: 5px 9px 6px 9px;
    text-decoration: none;
    text-shadow: none;
}

    button.red-button:hover,
    button.red-button:active,
    input[type=button].red-button:hover,
    input[type=button].red-button:active,
    input[type=submit].red-button:hover,
    input[type=submit].red-button:active {
        cursor: pointer;
        background: rgb(224,30,4); /* Old browsers */
        background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2UwMWUwNCIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9Ijk4JSIgc3RvcC1jb2xvcj0iI2Y5NGQzNiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgPC9saW5lYXJHcmFkaWVudD4KICA8cmVjdCB4PSIwIiB5PSIwIiB3aWR0aD0iMSIgaGVpZ2h0PSIxIiBmaWxsPSJ1cmwoI2dyYWQtdWNnZy1nZW5lcmF0ZWQpIiAvPgo8L3N2Zz4=);
        background: -moz-linear-gradient(top, rgba(224,30,4,1) 0%, rgba(249,77,54,1) 98%); /* FF3.6+ */
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(224,30,4,1)), color-stop(98%,rgba(249,77,54,1))); /* Chrome,Safari4+ */
        background: -webkit-linear-gradient(top, rgba(224,30,4,1) 0%,rgba(249,77,54,1) 98%); /* Chrome10+,Safari5.1+ */
        background: -o-linear-gradient(top, rgba(224,30,4,1) 0%,rgba(249,77,54,1) 98%); /* Opera 11.10+ */
        background: -ms-linear-gradient(top, rgba(224,30,4,1) 0%,rgba(249,77,54,1) 98%); /* IE10+ */
        background: linear-gradient(to bottom, rgba(224,30,4,1) 0%,rgba(249,77,54,1) 98%); /* W3C */
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#e01e04', endColorstr='#f94d36',GradientType=0 ); /* IE6-8 */
    }

#RestartButton {
    padding: 9px 26px 10px 26px;
    margin-top: 1em;
}

/* All disabled buttons, regardless of other classes, have the same appearance */
button[disabled],
input[type=button][disabled],
button[disabled]:hover,
input[type=submit][disabled] {
    cursor: not-allowed;
    color: #6f797e;
    -moz-box-shadow: inset 0px 1px 0px 0px #f6fafb;
    -webkit-box-shadow: inset 0px 1px 0px 0px #f6fafb;
    box-shadow: inset 0px 1px 0px 0px #f6fafb;
    text-shadow: none;
    border: 1px solid #a9b2b7;
    background: rgb(218,221,223); /* Old browsers */
    background: url(data:image/svg+xml;base64,PD94bWwgdmVyc2lvbj0iMS4wIiA/Pgo8c3ZnIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyIgd2lkdGg9IjEwMCUiIGhlaWdodD0iMTAwJSIgdmlld0JveD0iMCAwIDEgMSIgcHJlc2VydmVBc3BlY3RSYXRpbz0ibm9uZSI+CiAgPGxpbmVhckdyYWRpZW50IGlkPSJncmFkLXVjZ2ctZ2VuZXJhdGVkIiBncmFkaWVudFVuaXRzPSJ1c2VyU3BhY2VPblVzZSIgeDE9IjAlIiB5MT0iMCUiIHgyPSIwJSIgeTI9IjEwMCUiPgogICAgPHN0b3Agb2Zmc2V0PSIwJSIgc3RvcC1jb2xvcj0iI2RhZGRkZiIgc3RvcC1vcGFjaXR5PSIxIi8+CiAgICA8c3RvcCBvZmZzZXQ9IjEwMCUiIHN0b3AtY29sb3I9IiNhOWIyYjciIHN0b3Atb3BhY2l0eT0iMSIvPgogIDwvbGluZWFyR3JhZGllbnQ+CiAgPHJlY3QgeD0iMCIgeT0iMCIgd2lkdGg9IjEiIGhlaWdodD0iMSIgZmlsbD0idXJsKCNncmFkLXVjZ2ctZ2VuZXJhdGVkKSIgLz4KPC9zdmc+);
    background: -moz-linear-gradient(top, rgba(218,221,223,1) 0%, rgba(169,178,183,1) 100%); /* FF3.6+ */
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,rgba(218,221,223,1)), color-stop(100%,rgba(169,178,183,1))); /* Chrome,Safari4+ */
    background: -webkit-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(169,178,183,1) 100%); /* Chrome10+,Safari5.1+ */
    background: -o-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(169,178,183,1) 100%); /* Opera 11.10+ */
    background: -ms-linear-gradient(top, rgba(218,221,223,1) 0%,rgba(169,178,183,1) 100%); /* IE10+ */
    background: linear-gradient(to bottom, rgba(218,221,223,1) 0%,rgba(169,178,183,1) 100%); /* W3C */
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#dadddf', endColorstr='#a9b2b7',GradientType=0 ); /* IE6-8 */
    position: relative;
    top: 0px;
}


/* Button Icons */
.add-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/PlusDark-16x16.png") no-repeat;
}

.add-button[disabled] span {
    background: url("images/PlusDisabled-16x16.png") no-repeat;
}

.commit-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Commit-16x16.png") no-repeat;
}

.commit-button[disabled] span {
    background: url("images/CommitDisabled-16x16.png") no-repeat;
}

.lock-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Lock-16x16.png") no-repeat;
}

.lock-button[disabled] span {
    background: url("images/LockDisabled-16x16.png") no-repeat;
}

.save-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Save-16x16.png") no-repeat;
}

.save-button[disabled] span {
    background: url("images/SaveDisabled-16x16.png") no-repeat;
}

.cancel-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Cancel-16x16.png") no-repeat;
}

.cancel-button[disabled] span {
    background: url("images/CancelDisabled-16x16.png") no-repeat;
}

.download-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Download-16x16.png") no-repeat;
}

.download-button[disabled] span {
    background: url("images/DownloadDisabled-16x16.png") no-repeat;
}

.usethis-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/UseThis-16x16.png") no-repeat;
}

.usethis-button[disabled] span {
    background: url("images/UseThisDisabled-16x16.png") no-repeat;
}

.transfer-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Transfer-16x16.png") no-repeat;
}

.transfer-button[disabled] span {
    background: url("images/TransferDisabled-16x16.png") no-repeat;
}

.upload-button span {
    display: inline-block;
    height: 16px;
    width: 16px;
    padding-right: 0.33em;
    position: relative;
    top: 2px;
    background: url("images/Upload-16x16.png") no-repeat;
}

.upload-button[disabled] span {
    background: url("images/UploadDisabled-16x16.png") no-repeat;
}


/* Table-free edit screen layout, see edit cals */
#container {
    display: table;
    margin: 1.2em;
}

.row {
    display: table-row;
}

.left {
    display: table-cell;
    text-align: right;
    padding-right:.8em;
}

.right {
    display: table-cell;
     
}

.middle {
    display: table-cell;
    padding-right:.8em;
     
}

.italic {
    font-style: italic;
}

.timezone-mismatch {
    background: #FDF698;
}    

/*** System Logs Accordion Styling ***/
#accordion {
    margin-top: 0.75em;
}

/* Unselected */
h4.ui-accordion-header.ui-state-default {
    height: 2.5em;
    cursor: pointer;
    outline: none;
}

    h4.ui-accordion-header.ui-state-default:hover {
        text-decoration: underline;
    }

.ui-icon-triangle-1-e {
    height: 16px;
    width: 16px;
    margin-right: 0.5em;
    position: relative;
    top: 3px;
    display: inline-block;
    background: url("images/Triangle-Right-16x16.png") no-repeat;
}

/* Selected */
h4.ui-accordion-header.ui-state-active {
    height: 2.5em;
    cursor: pointer;
    outline: none;
}

    h4.ui-accordion-header.ui-state-active:hover {
        text-decoration: underline;
    }

.ui-icon-triangle-1-s {
    height: 16px;
    width: 16px;
    margin-right: 0.5em;
    position: relative;
    top: 3px;
    display: inline-block;
    background: url("images/Triangle-Down-16x16.png") no-repeat;
}

/* System Health */
#SysHealthTable {
    margin: 1.5em 0 1em 0;
    color: #131b30;
    text-align: left;
    font: normal 14px/22px Arial, Helvetica, sans-serif;
    border-collapse: collapse;
}
#SysHealthTable tbody {
    border: 1px solid #A9B2B7;
    display: block;
}
#SysHealthTable tr { background-color: #ffffff; }
#SysHealthTable tbody tr:nth-child(odd) { background-color: #f0f4f7; } /* alternating rows */
#SysHealthTable th { font-weight: bold; text-align: left; }
#SysHealthTable td {
    padding: 1px 7px;
    vertical-align: top;
}
#SysHealthTable td img { float: right; }
#SysHealthTable td.statusImage { min-width: 20px; }
#SysHealthTable tr > .description { display: inline-block; min-width: 130px;}
#SysHealthTable tr.healthy > .description { color: #229900; }
#SysHealthTable tr.unhealthy > .description { color: #B81A03; }



/*** smaller screen widths ***/
@media (max-width: 800px) {
    body {
        padding: 0 0 0 1%;
    }
    /* reduce margins left and right of content */
    .footer {
        padding: 12px 0 0 12px;
    }
}

@media (max-width: 700px) {
    /* Basic Config width mods */
    form.basic-config-form {
        width: 100%;
    }

    .basic-config-field-box .hint,
    .basic-config-field-box .field-validation-error {
        width: 350px;
    }

    .basic-config-field-box .field-label {
        width: 100px;
    }

    .basic-config-field-box .editor-field {
        width: 150px;
    }

    .system-current {
        width: 150px;
    }

    .applied-during-next-commit {
        width: 260px;
    }

    #SelectedTimeZone {
        width: 300px;
    }
}

@media (max-width: 650px) {
    #menu li a { padding: 3px 12px; } /* Reduce padding width on top tabs. */
    #login { left: 90%; } 
}

@media (max-width: 600px) {
    nav {
        margin-left: 10px;
    }
    /* move tabs more to the left */
    #menu li a { /* make tabs take less horizontal space */
        padding: 3px 6px;
        margin: 0 1px;
    }

    .content {
        padding: 25px 12px 50px 12px;
    }

    #loginForm fieldset,
    #loginForm .fieldset-box {
        margin: 10px;
    }

    .delete-link { /* move delete link down below buttons on smaller screens */
        display: block;
        margin: 1.5em 0 0 0;
    }

    .field-label {
        min-width: 100px;
    }
    /* reduce field label width req on smaller screens */
    .busy-wait-box {
        width: 350px;
        padding: 3em;
    }

    .backupConfig {
        width: 380px;
    }

    /* Basic Config width mods */
    .basic-config-field-box .hint,
    .basic-config-field-box .field-validation-error {
        width: 250px;
    }

    .basic-config-field-box .field-label {
        width: 90px;
    }

    .basic-config-field-box .editor-field {
        width: 110px;
    }

    .basic-config-field-box input {
        width: 110px;
    }

    .system-current {
        width: 110px;
    }

    .applied-during-next-commit {
        width: 220px;
        white-space: nowrap;
        position: relative;
        left: -10px;
    }

    #SelectedTimeZone {
        width: 240px;
    }
}

@media (max-width: 500px) {
    nav { margin-left: 5px; }
    #menu li a { padding: 3px; }
    #login { left: 85%; }
}

