﻿/* Eric Meyer's Reset CSS v2.0 - http://cssreset.com */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, mark, audio, video {
    border: 0;
    font-size: 100%;
    font: inherit;
    vertical-align: baseline;
    margin: 0;
    padding: 0;
}

html * {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section {
    display: block;
}

strong {
    font-weight: 600;
}

/* remember to define focus styles! */
:focus {
    outline: 0;
}

body {
    background: #60504d url('Images/mssi-background.gif') repeat-y left;
    color: #333;
    line-height: 1;
    font-family: 'Roboto Condensed', sans-serif;
    font-size: 16px;
}



ol, ul {
    list-style: none;
}

b {
    font-weight: 600;
}

a {
    color: #005e62;
    text-decoration: none;
}

    a:hover {
        color: #007378;
    }

h1 {
    font-size: 2.2em;
    font-family: "Rokkitt", serif;
}

h2 {
    font-size: 1.4em;
}

h3, h4 {
    font-weight: 600;
}

p {
    margin: 10px 0 10px 0;
    font-size: 0.9em;
    line-height: 1.6em;
}

    p.standout:first-letter {
        font-size: 200%;
    }

    p.standout:first-line {
        font-weight: 600;
        font-size: 1.1em;
    }

.standout {
    font-weight: 600;
    font-style: italic;
    color: #005e62;
}

/* tables still need 'cellspacing="0"' in the markup */
table {
    border-collapse: collapse;
    border-spacing: 0;
}

caption, th, td {
    text-align: left;
    font-weight: normal;
}

blockquote:before, blockquote:after,
q:before, q:after {
    content: "";
}

blockquote, q {
    quotes: "" "";
}

input, select, textarea {
    padding: 3px;
    border: 1px solid #999;
    font-family: 'Roboto Condensed', sans-serif;
    max-width: 100%;
}

/* self-clear floats - if you need them, this is my (current) favourite technique. More info: http://nicolasgallagher.com/micro-clearfix-hack/ */

/* For modern browsers */
.cf:before,
.cf:after {
    content: "";
    display: table;
}

.cf:after {
    clear: both;
}

/* For IE 6/7 (trigger hasLayout) */
.cf {
    -ms-zoom: 1;
    zoom: 1;
}

/* wrap url's */
pre {
    white-space: pre; /* CSS 2.0 */
    white-space: pre-wrap; /* CSS 2.1 */
    white-space: pre-line; /* CSS 3.0 */
    white-space: -pre-wrap; /* Opera 4-6 */
    white-space: -o-pre-wrap; /* Opera 7 */
    white-space: -moz-pre-wrap; /* Mozilla */
    white-space: -hp-pre-wrap; /* HP Printers */
    -ms-word-wrap: break-word;
    word-wrap: break-word; /* IE 5+ */
}

/* This rule just sets a different selection color when you highlight text */

::selection {
    background: #005e62;
}

.need-input {
    border: 1px solid #FF0000 !important;
    background-color: #FFA4A4;
}

.requiredMessage {
    color: #f00;
}

#content-wrapper {
    float: left;
    width: 100%;
    padding-top: 188px;
}

#content-column {
    margin-left: 250px; /*Set left margin to LeftColumnWidth*/
}

#left-column {
    float: left;
    width: 250px; /*Width of left column*/
    margin-left: -100%;
    background: #a03123;
}

.inner-tube {
    margin: 10px; /*Margins for inner DIV inside each column (to provide padding)*/
    margin-top: 0;
}

nav[role=navigation] {
    margin-top: 190px;
}

    nav[role=navigation]#mobile-nav {
        display: none;
    }

#mobile-menu-button {
    display: none;
}

/* Navigation */
ul.nav-main {
    width: 250px;
}

    ul.nav-main li a {
        background-color: #912c20;
        border-bottom: 1px solid #a14026;
        color: #fff;
        display: block;
        padding: 8px 10px 8px 10px;
        width: 250px;
    }

    ul.nav-main li.new-section a {
    }

    ul.nav-main ul.sub-nav {
        display: none;
    }

        ul.nav-main ul.sub-nav li a {
            background-color: #80271c;
            padding: 8px 10px 8px 30px;
        }

    ul.nav-main li.has-sub-menu > a {
        background-image: url('Images/link-has-sub-items-arrow.png');
        background-position: 230px center;
        background-repeat: no-repeat;
    }

    ul.nav-main li.has-sub-menu.selected > a {
        background-image: url('Images/link-has-sub-items-showing-arrow.png');
        background-position: 222px center;
        background-repeat: no-repeat;
    }

    ul.nav-main li a:hover, ul.nav-main li a.hover, ul.nav-main ul.sub-nav li a:hover, ul.nav-main li.selected > a {
        background-color: #76241a;
        color: #ffb547;
    }

li.hidden {
    display: none;
}

header {
    position: absolute;
    top: 0;
    width: 100%;
    height: 169px;
}

#logo-wrapper {
    position: absolute;
    top: 18px;
    left: 186px;
    width: 128px;
    height: 151px;
}

    #logo-wrapper a {
        background-image: url('Images/moon-logo.png');
        display: block;
        height: 151px;
        outline: none;
        text-indent: -9999px;
        width: 128px;
        background-repeat: no-repeat;
    }

#title-wrapper {
    left: 334px;
    position: absolute;
    top: 50px;
    color: #fff;
    font-family: "Rokkitt", serif;
    font-weight: 600;
    font-size: 36px;
}

#main-title {
    width: 500px;
    height: 30px;
    color: #fff;
    /*
    text-indent: -9999px;
    background-image: url('Images/moon-security-text.png');
    background-repeat: no-repeat;
    */
}

#title-text {
    font-size: 14px;
    font-weight: normal;
    font-family: 'Roboto Condensed', sans-serif;
    margin-top: 10px;
}

    #title-text li {
        color: #ccc;
        float: left;
        padding: 0 10px 0 10px;
    }

        #title-text li.first {
            padding-left: 0;
            border-right: 1px solid #7a6a67;
        }

.message-box-container, .modal-loading-page {
    display: none;
}

.modal-loading-page {
    background-color: rgba(255,255,255,0.6);
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 9999;
}

.modal-loading-content {
    color: #fff;
    background-color: rgba(0,94,98,0.6);
    padding: 20px 60px 20px 60px;
    position: fixed;
    top: 50%;
    left: 50%;
    margin-left: -112px;
    margin-top: -28px;
}

.message-box-container {
    z-index: 2500;
    position: fixed;
    width: 100%;
    top: 0;
}

.message-box {
    padding: 10px 0 10px 0;
    background-color: rgba(0, 200, 0, 0.5);
    position: fixed;
    z-index: 1000;
    top: 0;
    width: 100%;
    text-align: center;
    color: #fff;
}

table td {
    padding: 3px;
    font-size: 0.8em;
}

/* MAIN CONTENT */
.main-content {
    width: 100%;
    min-height: 100px;
    background-color: #fff;
    padding: 10px;
}

/* FOOTER */
footer {
    width: 100%;
    max-width: 1000px;
}

/**/
.error-message {
    color: #a03123 !important;
    font-weight: 600;
}

.mobile-only {
    display: none;
}

.small-text {
    font-size: 0.85em;
}

.extra-small-text {
    font-size: 0.7em;
}

.ui-dialog {
    font-size: 0.9em !important;
}

.ui-widget-overlay.ui-front {
    background: #000;
}

/* CHILD NAV */
ul.child-nav {
    margin: 0;
    padding: 0;
}

    ul.child-nav li {
        margin-bottom: 4px;
        width: 250px;
        list-style: none;
        margin-left: 0;
        padding-left: 0;
    }

    ul.child-nav.no-max-width li {
        width: auto;
    }

    ul.child-nav li a {
        display: block;
        width: 100%;
        background-color: #005e62;
        margin: 6px;
        text-indent: 10px;
        padding: 6px;
        border: none;
        color: #fff;
        margin-left: 0;
        line-height: 1.0em;
    }

        ul.child-nav li a:hover {
            /*background-color: #544633;*/
            background-color: #95a496;
            text-indent: 20px;
            font-style: italic;
            letter-spacing: 0.05em;
        }

/* ADD EDIT TABLE */
.add-edit-table {
    border-collapse: collapse;
}

    .add-edit-table td {
        border: 1px solid #f0f0f0;
        vertical-align: middle;
    }

        .add-edit-table td.add-edit-title {
            background-color: #f9f9f9;
            width: 10px;
            padding-right: 10px;
            padding-left: 50px;
            color: #333;
            vertical-align: middle;
        }

    .add-edit-table.data td.add-edit-title {
        float: none;
        font-weight: 600;
        text-align: right;
        vertical-align: middle;
        padding: 5px;
    }

        .add-edit-table.data td.add-edit-title.full-width {
            text-align: left;
            background-color: #333;
            color: #fff;
            font-size: 1.4em;
            line-height: 0.8em;
        }

            .add-edit-table.data td.add-edit-title.full-width .small-text {
                font-size: 0.5em;
                color: #ddd;
            }

    .add-edit-table.data tr:nth-child(2n+1) td {
        border-bottom: 1px solid #eee;
        border-top: 1px solid #eee;
        background-color: #f3f3f3;
    }

    .add-edit-table.data td.add-edit-data {
        float: none;
        text-align: left;
        padding: 5px;
        padding-left: 20px;
    }

    .add-edit-table.data input, .add-edit-table.data textarea {
        width: 100%;
        min-width: 0;
        max-width: none;
    }

    .add-edit-table.data.shorter-titles .add-edit-title {
        width: 10%;
    }

    .add-edit-table.data.shorter-titles .add-edit-data {
        width: 90%;
    }


/* DEFAULT TABLE */
.tbl-default thead th {
    background-color: #005e62;
    border: 1px solid #00767a;
    color: #fff;
    padding: 8px;
}

.tbl-default tbody tr:not(.ui-state-default) td {
    background-color: #fff;
    border: 1px solid #ececec;
    padding: 10px;
}

.tbl-default tbody tr:not(.ui-state-default):nth-child(2n+1) td {
    background-color: #f9f9f9;
}

.all100 {
    width: 100%;
}

.all100 input[type="text"],
.all100 textarea {
    width: 100%;
}

.tbl-suggested-sedona-parts tbody tr td,
.tbl-service-ticket-parts tbody tr td {
    cursor: pointer;
}

.tbl-suggested-sedona-parts tbody tr:not(.ui-state-default):hover td,
.tbl-service-ticket-parts tbody tr:not(.ui-state-default):hover td {
    background-color: #ffb547;
}

/* Commission Tables */
.justify-right {
    text-align: right;
}

.justify-center {
    text-align: center;
}

.vertical-middle {
    vertical-align: middle;
}

.vertical-top {
    vertical-align: top;
}

.commission-owed {
    color: #339933;
    font-weight: 600;
}

.query-content {
    border: 1px solid #7b6663;
    display: inline-block;
}

div.query table.query {
    width: 700px;
}

    div.query table.query .date-approved,
    div.query table.query .sold-date,
    div.query table.query .job-num {
        width: 12%;
    }

    div.query table.query .salesperson {
        width: 25%;
    }

    div.query table.query .customer {
        width: 32%;
    }

    div.query table.query .st {
        width: 4%;
    }

div.query h2 {
    display: block;
    padding: 10px;
    background-color: #005e62;
    color: #fff;
    width: 700px;
}

table.query {
    border-collapse: collapse;
    border: 1px solid #7b6663;
}

    table.query th {
        background-color: #60504d;
        color: #fff;
        font-size: 0.8em;
        padding: 3px;
        border: 1px solid #7b6663;
        font-weight: 600;
    }

    table.query.report th {
        cursor: pointer;
    }

    table.query td {
        border: 1px solid #f0f0f0;
        padding: 5px;
    }

    table.query tbody tr:nth-child(4n+1) td,
    table.query.report tbody tr:nth-child(2n+1) td {
        background-color: #f9f9f9;
    }

    table.query tr.hidden {
        display: none;
        background-color: #e6f2e6;
        border-bottom: 2px solid #869487;
    }

    table.query tr.hover td, table.query tr.hover td .commission-owed,
    table.query.salesmen-links tr.hover td.salesman-link-cell {
        background-color: #a03123 !important;
        color: #fff;
        cursor: pointer;
    }

    table.query.salesmen-links tr.hover td.salesman-link-cell:hover,
    table.query.salesmen-links tr.hover td.salesman-email-cell:hover {
        background-color: #b04538 !important;
        cursor: pointer;
    }

    table.query.salesmen-links tr.hover td {
        cursor: default;
    }

    table.query tr.selected td, table.query tr.selected td .commission-owed {
        background-color: #a03123 !important;
        color: #fff;
        font-weight: 600;
    }

    table.query > tbody > tr.faded > td {
        /*color: #999;*/
    }

table.query.salesmen-links tbody tr.hover td span.employee-code {
    color: #ffb547 !important;
}

.employee-email {
    color: #005e62;
}

table.query.salesmen-links tbody tr.hover td span.employee-email {
    color: #fff;
}

table.individual-commissions {
    font-size: 1.2em;
    border-collapse: collapse;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* Standard */
}

    table.individual-commissions td {
        border-color: #d0d0d0;
        background-color: #fff;
    }

.commission-type {
    background-color: #005e62 !important;
    color: #fff;
    font-weight: 600;
    padding-left: 20px !important;
    padding-right: 20px !important;
    border-left-color: #005e62 !important;
}

table.individual-commissions td.commission-payments {
    background-color: #ffb547 !important;
    color: #a03123;
    border-right-color: #f3a229;
    border-left-color: #f3a229;
}

table.individual-commissions th.filler {
    width: 1px;
    background-color: #b33727;
    padding: 0 !important;
    border-right: none;
    font-weight: normal;
}

table.individual-commissions td.filler {
    width: 2px;
    background-color: #b33727 !important;
    border-right: 1px solid #b33727;
    padding: 0 !important;
}

table.individual-commissions th {
    font-size: 0.8em;
    background-color: #a03123;
    color: #fff;
    border: 1px solid #b33727;
    border-bottom-width: 3px;
    padding-left: 10px;
    padding-right: 10px;
}

table.query tfoot td, table.query tfoot b, table.query tfoot {
    background-color: #60504d;
    color: #fff;
    font-weight: 600;
}

    table.query tfoot td {
        border-color: #7b6663;
    }

.btn-pay-commission, .btn-hold-job, .btn-mark-job-paid, .btn-mark-job-unpaid {
    min-height: 1px;
    width: 100%;
    margin-bottom: 10px;
}

    .btn-hold-job.ui-button {
        border-color: #ffdf77;
        background-image: url('images/ui-bg_glass_85_yellow_1x400.png');
    }

    .btn-hold-job.ui-state-hover {
        border-color: #ffcf67;
        background-image: url('images/ui-bg_glass_75_yellow_1x400.png');
    }

    .btn-mark-job-paid.ui-button {
        border-color: #b6dba0;
        background-image: url('images/ui-bg_glass_85_green_1x400.png');
    }

    .btn-mark-job-paid.ui-state-hover {
        border-color: #b6cb90;
        background-image: url('images/ui-bg_glass_75_green_1x400.png');
    }

    .btn-mark-job-unpaid.ui-button {
        border-color: #dbdbdb;
        background-image: url('images/ui-bg_glass_85_gray_1x400.png');
    }

    .btn-mark-job-unpaid.ui-state-hover {
        border-color: #cbcbcb;
        background-image: url('images/ui-bg_glass_75_gray_1x400.png');
    }

th.paid, th.date {
    background-color: #006225 !important;
}

tr.hidden.loading td {
    padding: 0 !important;
}

.commission-loading-container {
    width: 100%;
    padding: 20px;
}

.commission-loading-content {
    width: 120px;
    font-size: 1.2em;
}

tr.need-more-info td {
    color: #a03123;
}

tr.on-hold > td {
    background-color: #ffb547 !important;
}

tr.hidden.on-hold > td {
    background-color: #ffffc1 !important;
}

tr.faded.need-more-info td {
    color: #be6f65 !important;
}

table.additional-info {
    width: 100%;
    font-size: 1.1em;
}

.ddl-account-types, .ddl-sub-items, .txt-paper-type {
    width: 600px;
}

table.add-edit-table.query-params {
    min-width: 520px;
}

table.add-edit-table td.add-edit-title {
    min-width: 150px;
    text-align: right;
}

#commission-splits-container table.add-edit-table td.add-edit-title {
    min-width: 250px;
}

#commission-splits-container table.add-edit-table td {
    vertical-align: middle;
}

.individual-commissions th.not-acknowledged {
    background-color: #ffb547;
    border-color: #ffb547;
    border-bottom-color: #ffce84;
    border-right-color: #ffce84;
}

.individual-commissions td.not-acknowledged {
    
}

/* SALESMEN MANAGEMENT */
#lb-sedona-salesmen, #lb-saved-salesmen {
    width: 100%;
    max-width: 300px;
}

.salesmen-button-container {
    vertical-align: middle;
}

.employee-code {
    font-weight: bold;
    color: #a03123 !important;
}

tr.hover .employee-code {
    color: #fff;
}

.modal-dialog {
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0,0,0,0.6);
}

.dialog-container {
    position: fixed;
    -webkit-box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* WebKit */
    -moz-box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* Firefox */
    box-shadow: 1px 1px 2px 2px rgba(0, 0, 0, 0.1); /* Standard */
}

.dialog-link-salesman {
    width: 400px;
    background-color: #fff;
    padding: 20px;
}

.dialog-service-ticket, .dialog-content {
    width: 600px;
    background-color: #fff;
    padding: 20px;
}

.dialog-title {
    width: 400px;
    background-color: #005e62;
    color: #fff;
    padding: 10px 20px 10px 20px;
}

    .dialog-container.service-ticket .dialog-title, .dialog-title.width600 {
        width: 600px;
    }

    .dialog-title h2 {
        color: #fff;
        float: left;
    }

.btn-dialog-close {
    position: absolute;
    float: right;
    right: 0;
    top: 0;
    font-size: 0.6em !important;
}

/* PAID COMMISSIONS */
td #ddl-employees {
    width: 100%;
}

table.paid-commissions-itemized {
    width: 100%;
}

table.paid-commissions-totals {
    width: 100%;
}

table.query.paid-commissions-itemized tbody tr:nth-child(2n+1) td,
table.query.paid-commissions-totals tbody tr:nth-child(2n+1) td,
table.query.salesmen-links tbody tr:nth-child(2n+1) td,
table.query.service-tickets tbody tr:nth-child(2n+1) td {
    background-color: #f9f9f9;
}

table.query.service-tickets th {
    padding: 10px;
    background-color: #005e62;
    border: 1px solid #00767a;
    border-bottom-width: 5px;

}

h2.cumul-total {
    display: block;
    background-color: #005e62;
    padding: 5px;
    color: #fff;
    text-align: right;
    border: 1px solid #7b6663;
    font-weight: 600;
    font-size: 1.0em;
}

.paid-commissions-itemized .date-approved {
    width: 15%;
}

.paid-commissions-itemized .salesperson {
    width: 22%;
}

.paid-commissions-itemized .job-num {
    width: 10%;
}

.paid-commissions-itemized .customer {
    width: 28%;
}

.paid-commissions-itemized .st {
    width: 2%;
}

.paid-commissions-itemized .approved-commission {
    width: 23%;
}

.paid-commissions-itemized .payout-row td {
    background-color: #005e62;
}

.paid-commissions-itemized .service-ticket td {
    background-color: #fffae3;
}

.paid-commissions-itemized tr.service-ticket:nth-child(2n+1) td {
    background-color: #fff6d1 !important;
}

.unapproved-service-ticket {
    text-decoration: line-through;
    color: #a03123;
}

/* MISSING JOB DETAILS */
#txt-page {
    width: 40px;
}

.missing-job-details thead th, .service-tickets thead th {
    text-align: center;
    cursor: pointer;
}

    .missing-job-details thead th:hover, .service-tickets thead th:hover {
        background-color: #00767a;
    }

    .missing-job-details thead th.sold-date {
        min-width: 85px;
    }

    .missing-job-details thead th.job-num {
        min-width: 85px;
    }

    .missing-job-details thead th.customer-name {
        min-width: 135px;
    }

    .missing-job-details thead th.invoice-amount {
        min-width: 155px;
    }

    .missing-job-details thead th.pmts-crdts {
        min-width: 125px;
    }

    .missing-job-details thead th.bal-to-collect {
        min-width: 140px;
    }

    .missing-job-details thead th.pct-paid {
        min-width: 105px;
    }

    .missing-job-details thead th.selected, .service-tickets thead th.selected {
        background-color: #00767a;
        border-bottom-color: #008f94;
    }

    .missing-job-details thead th.asc, .service-tickets thead th.asc {
        background-image: url('images/white-asc.gif');
        background-repeat: no-repeat;
        background-position: 90%;
    }

    .missing-job-details thead th.desc, .service-tickets thead th.desc {
        background-image: url('images/white-desc.gif');
        background-repeat: no-repeat;
        background-position: 90%;
    }

/* JOB SEARCH */
#txt-job-search {
    width: 600px;
}

/* JOB DETAILS */

table.job-details {
    width: 600px;
    font-size: 1.1em;
}

    table.job-details td.add-edit-title {
        min-width: 220px;
    }

/* SERVICE TICKETS */
.add-edit-table.service-ticket {
    width: 100%;
}

    .add-edit-table.service-ticket td {
        padding: 10px;
    }

    .add-edit-table.service-ticket td.add-edit-title {
        width: 32%;
        padding-left: 10px;
    }

    .add-edit-table.service-ticket input, .add-edit-table.service-ticket select {
        width: 100%;
    }

tr.awaiting-approval td {
    font-weight: 600;
    color: #a03123;
}

/* HOLD UNHOLD TABLE */
.tbl-hold-unhold-dates {
    border-collapse: collapse;
    width: 100%;
    font-size: 1.2em;
}

    .tbl-hold-unhold-dates tr td {
        background-color: #fff;
        border: 1px solid #ced;
    }

    .tbl-hold-unhold-dates tr:hover td {
        background-color: #ffb547;
        cursor: help;
    }

    .tbl-hold-unhold-dates tr:nth-child(2n+1):hover td {
        background-color: #ffb547;
    }

/* MANUAL COMMISSION MANAGEMENT */
.individual-commissions th.not-approved, .individual-commissions td.not-approved {
    text-decoration: line-through;
    background-color: #999 !important;
    border-color: #ccc;
    color: #ccc;
}

.individual-commissions th.hover, .individual-commissions td.hover {
    cursor: pointer;
    background-color: #0072bc !important;
    color: #fff;
    border-color: #0081d5;
}

/* COMMISSION STATS */
.comm-stats-table {
    width: 100%;
    font-size: 0.8em;
}

    .comm-stats-table thead th {
        background-color: #005e62;
        color: #fff;
        padding: 10px;
        font-weight: 600;
        width: 11.11%;
    }

    .comm-stats-table tbody td {
        padding: 10px;
        font-size: 1.0em;
        border: 1px solid #f6f6f6;
    }

/* REPORT PAGES */
.main-content.reports h2 {
    padding: 10px;
    background-color: #005e62;
    color: #fff;
}

    .main-content.reports h2 a {
        display: inline-block;
        color: #ffb547;
        padding: 2px;
    }

        .main-content.reports h2 a:hover {
            text-decoration: underline;
        }

.main-content.reports .query {
    width: 100%;
}

    .main-content.reports .query tbody tr td {
        background-color: #fff;
        padding: 8px;
    }

    .main-content.reports .query tbody tr:nth-child(2n+1) td {
        background-color: #f9f9f9;
    }

    .main-content.reports .query thead th {
        background-color: #005e62;
        padding: 10px;
        border-color: #00767a;
    }

.main-content.reports .tablesorter thead th {
    border-bottom: 5px solid #00767a;
    cursor: pointer;
}

    .main-content.reports .tablesorter thead th:hover {
        background-color: #00767a;
    }

    .main-content.reports .tablesorter thead th.headerSortUp,
    .main-content.reports .tablesorter thead th.headerSortDown {
        border-bottom-color: #ffb547;
    }

.main-content.reports .query tfoot td {
    padding: 10px;
}

.main-content.reports .query tbody tr:hover td {
    background-color: #ffb547;
}

.table-wrapper {
    overflow: auto;
    width: 100%;
    max-height: 300px;
    border: 1px solid #005e62;
}

.main-content.reports .query tr.selected td {
    background-color: #84b587 !important;
    border-color: #97cf9b;
    color: #fff;
}

table.total-approved {
    width: 100%;
}

table.total-approved td {
    background-color: #ffb547;
    padding: 10px;
    font-size: 1.4em;
}

table.total-approved td#total-approved {
    color: #692a00;
    font-weight: 700;
}

.st-table-container {
    padding: 20px;
    margin-bottom: 10px;
    background-color: #f9f9f9;
    border: 1px solid #e0e0e0;
}

.st-table-container.approved {
    background-color: #eefaed;
    border-color: #d6e0d5;
}

.st-table-container.denied {
    background-color: #faeded;
    border-color: #e0d5d5;
}

.ui-dialog table td {
    font-size: 1.0em;
}

.service-ticket-details td {
    vertical-align: top;
}

.service-ticket-details .service-ticket-fields {
    width: 60%;
}

.service-ticket-details .service-ticket-sedona-details {
    width: 38%;
}

.service-ticket-details .service-ticket-sep {
    width: 2%;
}

.tbl-service-tickets {
    width: 100%;
}

.add-edit-table.service-ticket td.sedona-customer-notes {
    padding: 0;
}

    .add-edit-table.service-ticket td.sedona-customer-notes div {
        max-height: 300px;
        overflow: auto;
        width: 100%;
    }

.tbl-sedona-notes {
    width: 100%;
}

.ui-dialog table.service-ticket-details td.service-ticket-sedona-details table td .tbl-sedona-notes td {
    font-size: 1.0em;
}

.tbl-sedona-notes td.sedona-notes-date {
    min-width: 150px;
    font-weight: 700;
}

.tbl-sedona-notes tr:nth-child(2n+1) td {
    background-color: #f9f9f9;
}

.service-ticket a {
    color: #005e62 !important;
}

.service-ticket a:hover {
    color: #00767a !important;
    text-decoration: underline;
}

.tbl-service-tickets thead tr.main-header th {
    padding: 8px;
    background-color: #005e62;
    border: 1px solid #00767a;
    border-bottom-width: 4px;
    color: #fff;
    cursor: pointer;
}

.tbl-service-tickets thead tr.main-header th:hover {
    background-color: #00767a;
}

.tbl-service-tickets thead tr.main-header th.selected {
    border-bottom-color: #ffb547;
    background-image: url('images/white-asc.gif');
    background-repeat: no-repeat;
    background-position: 95% center;
}

.tbl-service-tickets thead tr.main-header th.selected.desc {
    background-image: url('images/white-desc.gif');
}

.tbl-service-tickets thead tr.main-header th.selected.justify-right {
    padding-right: 2%;
}

.tbl-service-tickets thead tr.table-filter th {
    background-color: #cae5e5;
    border-bottom: 2px solid #b4cbcc;
    padding: 10px;
}

.tbl-service-tickets tbody tr td {
    background-color: #fff;
    border: 1px solid #ececec;
    padding: 10px;
    cursor: pointer;
}

.tbl-service-tickets tbody tr.split-comm-row td {
    background-color: #f7f0ec;
    border-color: #ede3dd;
    color: #666;
}

.tbl-service-tickets tbody tr:nth-child(2n+1) td {
    background-color: #f9f9f9;
}

.tbl-service-tickets tbody tr.split-comm-row:nth-child(2n+1) td {
    background-color: #f3ebe6;
}

.tbl-service-tickets tbody tr:hover td,
.tbl-service-tickets tbody tr.split-comm-row:hover td,
.tbl-service-tickets tbody tr.selected td,
.tbl-service-tickets tbody tr.split-comm-row.selected td {
    background-color: #005e62;
    color: #fff;
}

.tbl-service-tickets tbody tr:hover td a,
.tbl-service-tickets tbody tr.selected td a {
    color: #fff;
}

.tbl-service-tickets tbody tr:hover td a:hover {
    text-decoration: underline;
}

.tbl-service-tickets tfoot tr {
    
}

.tbl-service-tickets tfoot td {
    background-color: #666;
    border-top: 4px solid #555;
    color: #fff;
    padding: 10px;
}

.add-edit-data.documents a {
    color: #005e62;
}

.add-edit-data.documents a:hover {
    text-decoration: underline;
}

.add-edit-data textarea {
    width: 100%;
}

.row-title.ui-state-default {
    font-size: 1.2em;
    font-weight: 700;
}

hr.st-split {
    border: none;
    padding: 2px;
    background-color: #ccc;
}

.query-container h2.fixed {
    left: 0;
    position: fixed;
    right: 0;
    padding-left: 15.05em;
    top: 0;
    z-index: 1010;
}

.query-container h2.fixed div.scroll-top {
    margin-right: 2.15em;
}

/* DEPARTMENTS */
.page-links ul li {
    display: block;
    float: left;
}

.page-links ul li a {
    display: block;
    padding: 10px;
    background-color: #005e62;
    border: none;
    border-right: 1px solid #00767a;
    color: #fff;
}

.page-links ul li a:hover {
    background-color: #00767a;
}

.page-links ul li a:active {
    background-color: #ffb547;
}

.tbl-department-managers td.manager,
.tbl-department-employees td.employee {
    width: 99%;
}

.tbl-departments tbody tr:hover td,
.tbl-departments tbody tr:nth-child(2n+1):hover td {
    background-color: #005e62;
    border-color: #00767a;
    color: #fff;
    cursor: pointer;
}

/* JQUERYUI ADJUSTMENTS */
div.ui-datepicker {
    
}

.ui-widget,
.ui-widget input,
.ui-widget select,
.ui-widget textarea,
.ui-widget button {
    font-family: 'Roboto Condensed', sans-serif !important;
}

/* OTHER */
.query td.remove {
    text-align: center;
    background-color: #a03123 !important;
    color: #fff !important;
    vertical-align: middle;
    font-weight: 600;
    cursor: pointer;
}

.query.finalize-commissions th.col-1 {
    width: 15%;
}

.query.finalize-commissions th.col-2 {
    width: 30%;
}

.query.finalize-commissions th.col-3 {
    width: 15%;
}

.query.finalize-commissions th.col-4 {
    width: 20%;
}

.query.finalize-commissions th.col-5 {
    width: 20%;
}

.query.finalize-service-ticket-commissions th.col-0 {
    width: 5%;
}

.query.finalize-service-ticket-commissions th.col-1 {
    width: 10%;
}

.query.finalize-service-ticket-commissions th.col-2 {
    width: 10%;
}

.query.finalize-service-ticket-commissions th.col-3 {
    width: 45%;
}

.query.finalize-service-ticket-commissions th.col-4 {
    width: 15%;
}

.query.finalize-service-ticket-commissions th.col-5 {
    width: 15%;
}

.query.finalize-service-ticket-commissions.oc th.col-0 {
    width: 3%;
}

.query.finalize-service-ticket-commissions.oc th.col-1 {
    width: 8%;
}

.query.finalize-service-ticket-commissions.oc th.col-2 {
    width: 8%;
}

.query.finalize-service-ticket-commissions.oc th.col-3 {
    width: 25%;
}

.query.finalize-service-ticket-commissions.oc th.col-4 {
    width: 10%;
}

.query.finalize-service-ticket-commissions.oc th.col-5 {
    width: 10%;
}

.query.finalize-service-ticket-commissions.oc th.col-6 {
    width: 26%;
}

.query.finalize-service-ticket-commissions.oc th.col-7 {
    width: 10%;
}


div.ui-datepicker-title span {
    color: #fff;
}

.query.finalize-commissions tr.different-pay-date td {
    background-color: #a03123 !important;
    border-color: #ba3a29 !important;
    color: #ffb547;
}

.query.finalize-commissions tr.different-pay-date:hover td {
    background-color: #ad3626 !important;
    color: #fff;
}

/* ALL COMMS REPORTS */
.all-comms-section table {
    margin-bottom: 30px;
    width: 100%;
}

.all-comms-section table thead th {
    background-color: #777;
    border: 1px solid #999;
    color: #fff;
    padding: 4px;
}

.all-comms-section table tbody tr td {
    border: 1px solid #e9e9e9;
    padding: 4px;
}

.all-comms-section table tbody tr:nth-child(2n+1) td {
    background-color: #f4f4f4;
}

.all-comms-section table tfoot td {
    background-color: #777;
    color: #fff;
    font-size: 16px;
    padding: 4px;
}

.all-comms-section table tfoot td.total-col {
    font-weight: 600;
    border-right: 2px solid #999;
}

.ui-widget-header .ui-state-active .employee-code {
    color: #ffb547 !important;
}

.comm-section {
    box-shadow: 0 0 16px 0 rgba(12, 12, 13, 0.35);
    margin-bottom: 1.0em;
}

.section-scroll-links {
    transition: all ease-out 0.2s;
}

.section-scroll-links a {
    transition: all ease-out 0.2s;
    display: inline-block;
    padding: 0.4em;
    margin: 0 0.4em 0.4em 0;
    background-color: #ffb547;
    border: 1px solid #e38533;
    color: #005e62;
    border-radius: 0.4em;
}

.section-scroll-links a:hover {
    background-color: #fec36b;
    box-shadow: 0 0 4px 0 rgba(12, 12, 13, 0.35);
}

.section-scroll-links a:active {
    background-color: #ef9b1f;
    box-shadow: 0 0 3px 0 rgba(12, 12, 13, 0.35);
}

.tbl-service-tickets.tbl-comms-query-results tr.denied td {
    background-color: #ffcccc;
    border-color: #ff9999;
    color: #ff4444;
}

@media screen and (max-width: 910px) {
    #left-column {
        visibility: hidden;
    }

    #content-column {
        margin-left: 0;
    }

    #logo-wrapper {
        left: 20px;
    }

    #title-wrapper {
        left: 168px;
    }

    body {
        background: none;
        background-color: #60504d;
    }

    #mobile-menu-button {
        display: block;
        width: 50px;
        height: 40px;
        position: absolute;
        right: 20px;
        top: 0;
        background-color: #a03123;
        color: #fff;
        background-image: url('Images/menu-button.gif');
        text-indent: -9999px;
        outline: none;
        -webkit-box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.2); /* WebKit */
        -moz-box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.2); /* Firefox */
        box-shadow: 0px 2px 5px 2px rgba(0, 0, 0, 0.2); /* Standard */
        z-index: 110;
    }

        #mobile-menu-button:hover {
            -webkit-box-shadow: 2px 4px 5px 2px rgba(0, 0, 0, 0.2); /* WebKit */
            -moz-box-shadow: 2px 4px 5px 2px rgba(0, 0, 0, 0.2); /* Firefox */
            box-shadow: 2px 4px 5px 2px rgba(0, 0, 0, 0.2); /* Standard */
        }

    /* NAVIGATION */

    nav[role=navigation]#mobile-nav {
        width: 100%;
        position: absolute;
        top: 0;
        left: 0;
        margin: 0;
        background-color: #a03123;
        padding-top: 20px;
        -webkit-box-shadow: 0px 10px 32px 5px #000000; /* WebKit */
        -moz-box-shadow: 0px 10px 32px 5px #000000; /* Firefox */
        box-shadow: 0px 10px 32px 5px #000000; /* Standard */
        display: none;
        z-index: 99;
    }

    ul.nav-main {
        width: 100%;
    }

        ul.nav-main li a {
            padding: 20px 10px 20px 10px;
            width: 100%;
        }

        ul.nav-main ul.sub-nav {
            display: none;
        }

            ul.nav-main ul.sub-nav li a {
                background-color: #80271c;
                padding: 20px 10px 20px 30px;
            }

        ul.nav-main li.has-sub-menu > a {
            background-image: url('Images/link-has-sub-items-arrow.png');
            background-position: 230px center;
            background-repeat: no-repeat;
        }

        ul.nav-main li.has-sub-menu.selected > a {
            background-image: url('Images/link-has-sub-items-showing-arrow.png');
            background-position: 222px center;
            background-repeat: no-repeat;
        }

        ul.nav-main li a:hover, ul.nav-main li a.hover, ul.nav-main ul.sub-nav li a:hover, ul.nav-main li.selected > a {
            background-color: #76241a;
            color: #ffb547;
        }

    .nav-modal {
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        width: 100%;
        height: 100%;
        background-color: rgba(0,0,0,0.5);
        display: none;
    }
}

@media screen and (max-width: 760px) {
    
}

@media screen and (max-width: 510px) {
    header {
        height: 149px;
    }

    #content-wrapper {
        padding-top: 149px;
    }

    #logo-wrapper {
        position: absolute;
        top: 18px;
        width: 93px;
        height: 110px;
    }

        #logo-wrapper a {
            background-image: url('Images/moon-logo.png');
            display: block;
            height: 110px;
            outline: none;
            text-indent: -9999px;
            width: 93px;
            -moz-background-size: contain;
            -o-background-size: contain;
            -webkit-background-size: contain;
            background-size: contain;
        }

    #title-wrapper {
        left: 122px;
        position: absolute;
        top: 42px;
        color: #fff;
        font-family: "Rokkitt", serif;
        font-weight: 600;
        font-size: 36px;
    }

    #main-title {
        width: 154px;
        height: 22px;
        text-indent: -9999px;
        background-image: url('Images/moon-security-text.png');
        -moz-background-size: contain;
        -o-background-size: contain;
        -webkit-background-size: contain;
        background-size: contain;
    }

    #title-text {
        font-size: 13px;
        font-weight: normal;
        font-family: 'Roboto Condensed', sans-serif;
        margin-top: 5px;
    }

        #title-text li {
            color: #ccc;
            float: left;
            padding: 0 10px 0 10px;
        }

            #title-text li.first {
                padding-left: 0;
                border-right: 1px solid #7a6a67;
            }

    .mobile-only {
        display: inline-block;
    }

    .desktop-only {
        display: none;
    }
}

@media screen and (max-width: 420px) {
    #title-text li {
        float: none;
        border: none;
        padding-left: 0;
        text-align: center;
    }

        #title-text li.first {
            border: none;
        }
}

@media screen and (max-width: 335px) {
    nav[role=navigation] {
        padding-top: 50px;
    }
}
