@charset "UTF-8";
body {
    background-color: rgb(255, 255, 255);
    margin: 0;
    height: 100%;
    overflow-y: auto;
}

body.home {
    background-color: rgb(47, 99, 171);
}

body.nav-main {
    background: rgb(51, 102, 153) url(../i/menu-background.png) no-repeat fixed bottom center;
}

body.nav-secondary {
    background-color: rgb(25, 25, 112);
}

body, form, input, option, p, select, textarea, ul, p, div, span, a {
    color: rgb(0, 0, 0);
    font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
    font-size: 11px;
    font-weight: normal;
}

a {
    color: rgb(0, 0, 255);
    text-decoration: none;
}

a.company-detail {
    background: url(../i/company_detail.gif) no-repeat left top;
    padding-left: 14px;
}

a.ticket-crm-detail {
    background: url(../i/ticket_crm_detail.gif) no-repeat left;
    padding-left: 14px;
    display: block;
    white-space: nowrap;
}

a.ticket-rt-detail {
    background: url(../i/ticket_rt_detail.gif) no-repeat left top;
    padding-left: 14px;
}

abbr {
    border-bottom: 1px dotted rgb(255, 0, 0);
}

dt, dd {
    margin-bottom: .25em;
}

dt {
    font-weight: bold;
}

dd {
    font-weight: normal;
}

fieldset {
    background-color: rgb(249, 249, 251);
    border: 1px solid rgb(197, 197, 219);
    padding: 5px;
}

legend {
    padding: 3px;
    font-size: 11px;
    font-weight: bold;
    background-color: rgb(255, 255, 255);
    border: 1px solid rgb(197, 197, 219);
}

hr {
    border: 0;
    color: rgb(197, 197, 219);
    background-color: rgb(197, 197, 219);
    height: 1px;
}

pre {
    font-family: "Courier New", Courier, monospace;
}

table {
    margin: 0;
}

table caption {
    text-align: left;
}

/* GENERAL */
.shell-tbl {
    border-collapse: separate !important;
    border-spacing: 0 !important;
    border-style: none !important;
    margin-left: auto;
    margin-right: auto;
}

.shell-tbl td, .shell-tbl th {
    padding: 0 !important;
}

/* FORM */
input[type = button], input[type = submit] {
    font-size: 11px;
    font-weight: bold;
    color: rgb(0, 0, 0);
    background-color: rgb(232, 232, 240);
    border: 1px solid rgb(197, 197, 219);
    text-transform: capitalize;
}

input:hover[type = button], input:hover[type = submit] {
    color: rgb(51, 102, 153);
}

form {
    margin: 0;
}

.form-tbl {
    /*
     background-color: rgb(232,232,240);
     */
    background-color: rgb(249, 249, 251);
    border: 1px solid rgb(197, 197, 219);
    border-collapse: separate;
    margin-left: auto;
    margin-right: auto;
    text-align: left;
}

.form-tbl td, .form-tbl th {
    padding: 2px;
}

.form-comment, .form-comment a, .comment, .comment a {
    font-size: 10px;
}

.form-comment a:hover, .comment a:hover {
    text-decoration: underline;
}

.form-comment, .form-comment a {
    text-align: left;
    vertical-align: top;
}

.form-label, .form-label a {
    font-size: 11px;
    font-weight: bold;
    text-align: left;
    vertical-align: top;
}

.form-label a:hover {
    text-decoration: underline;
}

.form-text, .form-text a {
    font-size: 11px;
    text-align: left;
    vertical-align: top;
}

.form-text a:hover {
    text-decoration: underline;
}

/* PAGE TITLE */
div.head, div.head a {
    font-size: 12px;
    font-weight: bold;
    text-align: center;
    margin: 0;
    margin-bottom: 5px;
}

/* LIST DISPLAY */
.list-tbl {
    border-collapse: separate;
    border-spacing: 2px;
    border-style: none;
    margin-left: auto;
    margin-right: auto;
}

.list-tbl td, .list-tbl th {
    text-align: left;
    padding: 2px;
}

.list-ftr, .list-ftr a, .list-ftr-top, .list-ftr-top a, .list-ftr-bot, .list-ftr-bot a {
    font-size: 11px;
    font-weight: normal;
}

.list-ftr a:hover, .list-ftr-top a:hover, .list-ftr-bot a:hover {
    text-decoration: underline;
}

/*
 .list-ftr-bot,
 .list-ftr-bot a {
 font-weight: bold;
 }
 */
.list-ftr-top td {
    border-top: 1px solid rgb(197, 197, 219);
    vertical-align: top;
}

.list-hdr td, .list-hdr-sub td {
    background-color: rgb(255, 255, 255);
    border-bottom: 1px solid rgb(197, 197, 219);
    vertical-align: bottom;
}

.list-hdr, .list-hdr a, .list-hdr-sub, .list-hdr-sub a {
    font-size: 11px;
    font-weight: bold;
}

.list-hdr a:hover, .list-hdr-sub a:hover {
    text-decoration: underline;
}

/*
 .list-hdr-sub,
 .list-hdr-sub a {
 background-color: rgb(220,220,233);
 }*/
.list-item, .list-item a {
    font-size: 11px;
    vertical-align: top;
}

.list-item a:hover {
    text-decoration: underline;
}

/* MESSAGES */
div.msg {
    font-size: 11px;
    color: rgb(0, 0, 0);
    text-align: center;
    background-color: rgb(245, 245, 245);
    border: 1px solid rgb(233, 233, 233);
    padding: 2px;
    width: 94%;
    margin: 0;
    margin-bottom: 1ex;
}

div.msg ul {
    color: inherit;
    font-family: inherit;
    font-size: inherit;
    list-style: none;
    margin: 0;
    padding: 0;
}

div.msg ul li {
    margin: 0;
    padding: 0;
}

.good, .good * {
    color: rgb(0, 0, 255);
}

.bad, .bad * {
    color: rgb(255, 0, 0);
}

#page-stats {
    color: rgb(209, 209, 226);
    font-size: 10px;
    text-align: center;
}

/* MENUS */
#top-nav-tbl {
    height: 30px;
    margin: 0;
    padding: 0 10px 0 10px;
    width: 100%;
}

#top-nav-tbl td, #top-nav-tbl td a {
    font-size: 12px;
    font-weight: bold;
    color: rgb(209, 209, 226);
}

#top-nav-tbl td a:visited, #top-nav-tbl td a:hover, #top-nav-tbl td a:active {
    color: rgb(255, 255, 255);
}

.nav, .nav a {
    font-size: 12px;
    font-weight: bold;
    color: rgb(255, 255, 255);
}

.nav a:hover {
    color: rgb(209, 209, 226);
}

.nav-clock {
    font-size: 11px;
    line-height: 30px;
    background-color: rgb(38, 63, 132);
    color: rgb(255, 255, 255);
    text-align: center;
    vertical-align: middle;
}

div#body-main-reload {
    position: absolute;
    bottom: 10px;
    right: 10px;
}

div#body-main-reload a {
    font-size: 11px;
    font-weight: lighter;
}

/* MISCELLANEOUS */
.bold {
    font-weight: bold !important;
}

.highlight {
    background-color: yellow;
}

option.inactive {
    color: rgb(153, 153, 153) !important;
}

.nowrap {
    white-space: nowrap;
}

#print-link {
    border: 1px dotted rgb(145, 145, 145);
    display: inline;
    float: right;
    margin: 4px;
    padding: 4px;
}

#print-link a {
    background-image: url(../i/printer.gif);
    background-repeat: no-repeat;
    color: rgb(0, 0, 0);
    font-family: Arial, Helvetica, sans-serif;
    font-size: 10px;
    padding: 0 0 3px 20px;
    text-decoration: none;
    text-transform: uppercase;
}

.row-alt * {
    /* background-color: rgb(249,249,251); */
    background-color: rgb(243, 243, 247);
}

.row-over * {
    /* background-color: rgb(232,232,240) !important; */
    background-color: rgb(220, 220, 233) !important;
}

.row-em {
    font-style: italic;
}

.toggle {
    font-family: monospace;
    font-size: inherit;
}

.transparent {
    background-color: transparent;
}

/* applied to elements containing content to be aligned */
.center {
    text-align: center !important;
}

.left {
    text-align: left !important;
}

.right {
    text-align: right !important;
}

.top {
    vertical-align: top !important;
}

.middle {
    vertical-align: middle !important;
}

.bottom {
    vertical-align: bottom !important;
}

/* applied directly to block-level elements */
.float-center {
    margin-left: auto;
    margin-right: auto;
}

.float-left {
    margin-left: 1px;
    margin-right: auto;
}

.float-right {
    margin-left: auto;
    margin-right: 1px;
}

.width-narrow {
    width: 250px !important;
}

.width-medium {
    width: 450px !important;
}

.width-wide {
    width: 600px !important;
}

.width-almost-max {
    width: 98% !important;
}

.width-max {
    width: 100% !important;
}

/*
  Removes the number stepper for html5 input['number']
 */
input[type=date]::-webkit-inner-spin-button,
input[type=date]::-webkit-outer-spin-button 
input[type=number]::-webkit-inner-spin-button,
input[type=number]::-webkit-outer-spin-button {
    /* display: none; <- Crashes Chrome on hover */
    -webkit-appearance: none;
    margin: 0; /* <-- Apparently some margin are still there even though it's hidden */
}

/* FIN */