.servicePENDING  { background-color: #ACACAC !important; }
.serviceOK       { background-color: #33FF00 !important; }

.serviceUNKNOWN  { background-color: #FF9900 !important; }
.serviceWARNING  { background-color: #FFFF00 !important; }
.serviceCRITICAL { background-color: #FA5858 !important; }

.hostUP          { background-color: #00FF80/*33FF00*/ !important; }
.hostDOWN        { background-color: #FA5858 !important; }
.hostUNREACHABLE { background-color: #FCC22A !important; }
.hostPENDING     { background-color: #ACACAC !important; }

/* fix for link box and infobox border */
table.infoBox {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  margin-top: 5px;
  margin-bottom: 0px;
  border-width: 1px;
  border-spacing: 2px;
  border-style: outset;
  border-color: #C4C2C2;
  border-collapse: separate;
  background-color: #C4C2C2;*/
}
table.infoBox td {
  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
/*  border-color: #C4C2C2;*/
/*  background-color: #C4C2C2;*/
}
table.linkBox {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
table.linkBox td {
  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
/*  border-color: #DBDBDB;
  background-color: #DBDBDB;*/
}

/* fix for bold perf data on tac page top right */
.perfValue {
  font-weight: normal;
}

/* fix for bold features on tac page */
td.featureEnabledFlapDetection {
    font-weight: normal;
}
td.featureEnabledNotifications {
    font-weight: normal;
}
td.featureEnabledHandlers {
    font-weight: normal;
}
td.featureDisabledActiveChecks {
    font-weight: normal;
}
td.featureEnabledPassiveChecks {
    font-weight: normal;
}

/* fix for commando description box */
table.commandDescription {
  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;
}
table.commandDescription td {
  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
  background-color: #DBDBDB;
}


/* fix for link box and infobox border */
body.cmd table.optBox {
  margin-top: 5px;
  margin-bottom: 0px;
  border-width: 1px;
  border-spacing: 2px;
  border-style: outset;
  border-color: #C4C2C2;
  border-collapse: separate;
  background-color: #C4C2C2;
}
body.cmd table.optBox > tbody > tr > td {
  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #C4C2C2;
  background-color: #C4C2C2;
}

/* fix for state info boxes box */
table.data {
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}

td.stateInfoTable1 {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
  background-color: #DBDBDB;*/
}
td.stateInfoTable2 {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #C4C4C4;
  background-color: #C4C4C4;*/
}

/* fix for extinfo command box */
table.command {
    border-collapse: collapse;
    empty-cells: show;
/*    background-image: url("../images/form_background.png"); */
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
table.command > tbody > tr > td {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
  background-color: #DBDBDB;*/
}

/* performance data table header */
th.data {
    font-weight: normal;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: #abb;
    padding: 0px 4px;
    text-align: center;
    font-size: 9pt;
    color: white;
/*
  padding-left: 8px;
  padding-right: 8px;
  background-color:#999797;
  color:#DCE5C1;
  font-family:arial,serif;
  font-size:10pt;
  text-align:left;*/
}

/* fix for filter box in status */
table.filter {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
table.filter > tbody > tr > td {
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
  background-color: #DBDBDB;*/
}


/* fix for host totals box */
table.hostTotals {
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
table.hostTotals td {
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;*/
}

/* fix for service totals box */
table.serviceTotals {
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}

/*table.serviceTotals td {*/
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;*/
/*}*/


/* fix for status box */
table.statusgroups {
    border-spacing: 0px;
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    empty-cells: show;
/*    width: 100%;*/
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
table.statusgroups > tbody > tr > td{
  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
}

table.statusgroups a{
    color : black;
}

/* fix for availability report boxes */
body.avail table.data {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
/*  border-spacing: 2px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;*/
}
body.avail table.data td {
/*  padding: 2px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;*/
}


/* fix for availability logs boxes */
body.avail table.logEntries {
  border-spacing: 1px;
  border-style: outset;
  border-color: #DBDBDB;
  border-collapse: separate;
  background-color: #DBDBDB;
}
body.avail table.logEntries td {
  padding: 1px;
  margin: 0px;
  border-width: 1px;
  border-style: inset;
  border-color: #DBDBDB;
}

div.logEntries {
  font-family:"Courier New",courier,monospace;
}


.dataOdd {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
} /* font-family: arial,serif;  font-size: 10pt;  background-color: #DBDBDB; }*/
.dataEven {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("../images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
}

.dataTitle {
    color : white;
    font-weight: bold;
    font-size: 14pt;
}

















/* ABOVE is from CHECK_MK, need clean it */





/* Generel styles */
td {
    vertical-align: top;
}
input, td, select {
    font-size: 9pt;
}
img {
    border-style: none;
}
/*
   __  __       _
  |  \/  | __ _(_)_ __
  | |\/| |/ _` | | '_ \
  | |  | | (_| | | | | |
  |_|  |_|\__,_|_|_| |_|

*/

body.main {
    background-attachment: fixed;
    background-image: url("../images/contentframe_background.jpg");
    background-repeat: repeat;
    font-family: arial, helvetica, sans-serif;
    font-size: 9pt;
    padding: 0px 10px 0px 10px;
    margin: 0px;
}

body.main table.header {
    width: 100%;
    margin-bottom: 10px;
    margin-left: 0px;
    padding: 8px 0px 10px 0px;
    border-spacing: 0px;
}

body.main hr.header {
    color: white;
    background-color: white;
    border-style: none;
    height: 1px;
    position: absolute;
    width: 100%;
    left: 0px;
    top: 35px;

}

body.main hr.hxeader {
    position: absolute;
    left: 50px;
    top: 70px;
    height: 1px;
    color: white;
    background-color: white;
border: none;
}

body.main table.header td.left {
    font-size: 15pt;
    font-weight: bold;
    color: #fff;
    vertical-align: bottom;
    padding-left: 0px;
    height: 31px;
}

body.main table.header td.right {
    text-align: right;
    vertical-align: bottom;
    color: #fff;
    font-size: 10pt;
}

body.main table.header td.right img {
    position: relative;
    top: 5px;
}


body.main table.footer {
    margin-top: 10px;
    width: 100%;
    color: white;
}

div.main {
    padding-left: 10px;
border-left: 1px solid red;
}

/*
    ____  _     _      _
   / ___|(_) __| | ___| |__   __ _ _ __
   \___ \| |/ _` |/ _ \ '_ \ / _` | '__|
    ___) | | (_| |  __/ |_) | (_| | |
   |____/|_|\__,_|\___|_.__/ \__,_|_|

*/

body.side {
    background-attachment: fixed;
    background-repeat: repeat;
    background-image: url("images/snapinframe_background.jpg");
    font-family: arial, helvetica, sans-serif;
    font-size: 9pt;
    padding: 0;
    margin: 0;
    width: 100%;
    height: 100%;
    overflow:hidden;
}

div#check_mk_sidebar {
    padding: 0;
    margin: 0;
}

/* Top logo part */
div#check_mk_sidebar div#side_header {
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    height: 55px;
    z-index: 10;
    background-repeat: no-repeat;
    background-image: url("images/sidebar_oben.png");
}

div#side_version {
    position: absolute;
    top: 24px;
    left: 54px;
    z-index: 54;
    color: white;
    text-align: right;
    width: 200px;
}
div#side_version a {
    text-decoration: none;
    color: #e8e8e8;
}
div#side_version a:hover {
    text-decoration: underline;
    color: #fff;
}

div#check_mk_sidebar div#side_header a.logo {
    display: block;
    height: 55px;
    width: 270px;
}

/* Scrolling part with snapins */
div#check_mk_sidebar div#side_content {
    z-index: 5;
    /*position: relative;
    top: -4px;
    left: 0px;*/
    width: 100%;
    height: 500px;
    overflow: hidden;
    color: #000000;
    padding-left: 5px;
    padding-top: 60px;
    padding-bottom: 5px;
}

div#check_mk_sidebar div#side_footer {
    position: absolute;
    bottom: 0;
    left: 0;
    margin: 0;
    padding: 0;
    height: 35px;
    width: 100%;
    z-index: 10;
    background-repeat: no-repeat;
    background-image: url("images/sidebar_unten.png");
}
div#check_mk_sidebar div#side_footer div.button {
    width: 75px;
    height: 20px;
    z-index: 20;
    position: absolute;
    /* background-attachment: fixed; */
    /* background-position: 15px 20px; */
    top: 10px;
    left: 15px;
    float: left;
padding: 0px;
}
div#check_mk_sidebar div#side_footer div.button a {
    width: 75px;
    height: 17px;
    display: block;
    color: #fff;
    text-align: center;
    vertical-align: middle;
    padding-top: 3px;
    text-decoration: none;
    background-repeat: repeat;
    background-image: url("images/sidebar_button_lo.png");
margin: 0px;
}
div#check_mk_sidebar div#side_footer div.button a:hover {
    background-image: url("images/sidebar_button_hi.png");
}
div#check_mk_sidebar div#side_footer div.copyright {
    color: white;
    position: relative;
    left: 130px;
    top: 12px;
    width: 122px;
    text-align: right;
}

div#side_footer a {
color: #eee;
}
div#side_footer a:hover {
color: white;
}

/* General layout of snapins */
div.snapin {
    /*width: 280px;*/
    width: 100%;
    margin: 0;
    padding: 0;
}


/* snapin header */
div.snapin div.head {
    width: 260px;
    text-align: center;
    color: white;
}

div.snapin div.head.open {
    background-image: url("images/snapin_header.png");
    height: 26px;
}

div.snapin div.head.closed {
    background-image: url("images/snapin_closed.png");
    height: 33px;
}

/* close button on header */
div.snapin div.closesnapin {
    float: right;
    margin-right: 10px;
    margin-top:   11px;
}

div.snapin div.head b.heading {
    position: relative;
    top:9px;
}

div.snapin div.content {
    background-image: url("images/snapin_background.png");
    background-repeat: repeat-y;
    background-position: left;
    padding-top: 10px;
    padding-left: 15px;
    padding-right: 12px;
    padding-bottom: 5px;
    width: 260px;
}

div.snapin div.foot {
    background-image: url("images/snapin_footer.png");
    background-repeat: no-repeat;
    width: 260px;
    height: 10px;
    line-height: 10px;
}

/* General styles for snapin contents */
div.snapin {
    font-family: arial, helvetica, sans-serif;
}

div.snapin td {
    color: #fff;
}
div.snapin h3 {
    margin: 2px 0px;
    color: #fff;
    font-size: 100%;
}

body.side li {
    padding-left: 1px;
    color: #274750;
    color: #478;
}


/* Normal link in sidebar */
div.snapin a {
    text-decoration: none;
    font-weight: normal;
    color: #fff;
}

div.snapin a:hover {
    text-decoration: underline;
    color: #fff;
}
li.sidebar {
    margin-left: 0px;
    padding-left: 1ex;
}
div.snapin ul.link {
    margin: 0px;
    padding-left: 32px;
}
div.snapin ul.link li {
    margin: 0px;
    padding: 0px;
}

div.snapin div.footnote {
    width: 100%;
    text-align: right;
}

div.snapin div.snapinexception {
    background-color: #f88;
    -moz-border-radius: 4px;
    padding: 3px;
    border: 1px solid #f00;
    width: 220px;
}
div.snapin div.snapinexception h2 {
    font-size: 9pt;
    color: #f00;
    margin-top: 0px;
}
div.snapin div.snapinexception p {
    color: #800;
}
div.snapin div.footnotelink {
    margin-top: 5px;
    text-align: right;
    padding-right: 31px;
}
div.snapin div.footnotelink a {
    border: 1px solid #ddd;
    font-size: 7pt;
    -moz-border-radius: 4px;
    padding: 1px 4px;
}
div.snapin div.footnotelink a:hover {
    background-image: url("images/form_background.png");
    background-repeat: repeat;
    text-decoration: none;
    border: 1px solid white;
}

/* Small iconbutton (e.g. at bookmarks) */
div.snapin img.iconbutton {
    margin: 0px 2px 0px 0px;
    border: none;
}

/* state bullets at problem host or all hosts snapin */
div.statebullet {
    margin-left: 0px;
    margin-right: 6px;
    width: 10px;
    height: 10px;
    border: 1px solid #eee;
    float: left;
}

table.sidebarconfig {
  margin-top: 1em;
  border-collapse: collapse;
  empty-cells: show;
}

table.sidebarconfig th {
    background-color: #830;
    text-align: left;
    color: white;
    border: 1px solid #c60;
    padding: 2px 5px;
}

table.sidebarconfig td {
    background-color: #d72;
    border: 1px solid #f84;
    padding: 0px 5px;
}


.footer td.left   { text-align: left; }
.footer td.middle { text-align: center; }
.footer td.right  { text-align: right; }
.footer a { color: #246; }

h1 {
    color: white;
    font-size: 17pt;
    margin-top: 0px;
    margin-bottom: 5px;
    margin-left: 5px;
}

table.heading {
    width: 100%;
    margin-bottom: 6px;
    border-bottom: 1px solid black;
    margin-top: 0px;
    padding-top: 3px;
}

table.heading td {
    vertical-align: bottom;
    padding: 0px;
}

table.heading td.right img {
    margin-left: 15px;
    margin-right: 8px;
}
table.heading b.headtime {
  color: black;
  font-size: 120%;
}
table.heading td.right {
    text-align: right;
    white-space: nowrap;
}

/* site header --------------------------------------------------------------- */
table.siteheader {
    margin-bottom: 0px;
    margin-top: 5px;
}

table.siteheader td img {
    vertical-align: middle;
}

table.siteheader td a {
    height: 18px;
    display: block;
    padding: 2px 1ex;
    border-style: solid;
    text-decoration: none;
    vertical-align: middle;
}

table.siteheader td.online a {
    border-width: 1px;
    background-color: #cfa;
    border-color: #222 #ccc #fff #555;
    color: #080;
}

table.siteheader td.offline a {
    border-width: 1px;
    background-color: #fca;
    border-color: #222 #ccc #fff #555;
    color: #800;
}

table.siteheader td.disabled a {
    border-width: 1px;
    background-color: #ccc;
    border-color: #ccc #777 #444 #aaa;
    color: #444;
}

/* navigation ---------------------------------------------------------------- */
table.contextlinks {
    margin-bottom: 10px;
}

div.contextlink {
    float: left;
    overflow: hidden;
    white-space: nowrap;
    text-align: center;
    vertical-align: middle;
    width: 158px;
    height: 25px;
    background-image: url("images/contextlink.png");
    background-repeat: no-repeat;
    background-position: center center;
    margin: 0px;
    position: relative;
    left: -4px;
}

div.contextlink.hot {
    background-image: url("images/contextlink_hot.png");
}

div.contextlink a {
    padding-top: 5px;
    color: white;
    text-decoration: none;
    font-weight: bold;
    display: block;
    width: 158px;
    height: 25px;
}

div.naviend {
    width: 0px;
    height: 0px;
    display: block;
    float: none;
    background-color: green;
    overflow: hidden;
}

table.navi {
    margin: 0px 0px 10px 5px;
    width: 100%;
    border-collapse: collapse;
    border-spacing: 0px;
position: relative;
left: -5px;
}

table.navi td {
    padding: 0px;
    margin: 0px;
/* border: 1px solid green; */
}
table.navi td.gap, table.navi td.minigap {
    border-bottom: 1px solid white;
}

table.navi td.left, table.navi td.right {
    vertical-align: middle;
    text-align: center;
    width: 155px;
    height: 21px;
    background-image: url("images/metanav_button.png");
    background-repeat: no-repeat;
    background-position: left;
    /* border: 1px solid transparent; */
    /* border-bottom: 1px solid white; */
    color: white;
    padding: 0px;
    margin: 0px;
    border: 1px dotted transparent;
}

table.navi td.left.open {
    border-bottom: none;
}

table.navi td.left.closed, table.navi td.right, table.navi td.w30, table.navi td.w40 {
    border-bottom: 1px solid white;
}

table.navi td.left.w30 {
    width: 30px;
    background-image: url("images/metanav_30.png");
}
table.navi td.left.w30.selected {
    background-image: url("images/metanav_30_hi.png");
}

table.navi td.left.w40 {
    width: 40px;
    background-image: url("images/metanav_40.png");
}

table.navi td.left.w40.selected {
    background-image: url("images/metanav_40_hi.png");
}

table.navi td.minigap {
     width: 3px;
}

table.navi td.left a, table.navi td.right a {
    vertical-align: middle;
    text-align: center;
    font-weight: normal;
    text-decoration: none;
    color: white;
    display: block;
}

a.viewoption {
    background-color: transparent;
}
a.viewoption.columns {
    width: 20px;
}
a.viewoption.refresh {
    width: 30px;
}
a.viewoption.selected, a.viewoption:hover {
    background-color: #ace;
}

table.navi tr.form td.form {
    margin: 0px;
    padding: 0px;
}

table.navi tr.form td.whiteborder {
    border-left: 1px solid white;
    border-right: 1px solid white;
    border-bottom: 1px solid white;
}

table.navi tr.form div.whiteborder, table.navi tr.form table.whiteborder {
    border-left: 1px solid white;
    border-right: 1px solid white;
    margin: 0px;
    padding: 0px;
    border-bottom: 1px solid white;
width: 100%;
}

/* FILTER and ACTIONS */

/* tabs ---------------------------------------------------------------------- */



/* table of services -------------------------------------------------------------- */

table.services {
    border-spacing: 0px;
    margin: 0px;
    padding: 0px;
    border-collapse: collapse;
    empty-cells: show;
    width: 100%;
}

table.services th {
    font-weight: normal;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
    background-color: #abb;
    padding: 0px 4px;
    text-align: center;
    font-size: 9pt;
    color: white;

}
table.services th.tablegap {
  background-image: url("images/background.jpg");
  background-repeat: repeat;
  background-position: center;
}

tr.odd0  { background-color: #eee; }
tr.even0 { background-color: #ddd; }

tr.odd1  { background-color: #ffc; }
tr.even1 { background-color: #ffa; }

tr.odd2  { background-color: #fcc; }
tr.even2 { background-color: #faa; }

tr.odd3  { background-color: #fdc; }
tr.even3 { background-color: #fea; }


/* HACK */
table.services tr.data td {
  border: 1px solid #bbb;
  padding: 3px 6px;
}

table.services td.host {
  border-style: none;
  font-weight: bold;
  padding-top: 1ex;
  padding-left: 0px;
  font-size: 120%;
}

table.services td.singleicon img {
    margin: 0px;
    padding: 0px;
    border-style: none;
}
table.services td.singleicon {
    width: 16px;
    text-align: center;
}

/* Group header used in table, box and tiled layout */
table.groupheader {
    margin: 0px;
    border: 0px;
    padding: 4px 0px 0px 0px;
}

tr.groupheader td {
    border-style: none;
    margin: 0px;
    padding-top: 2px;
    font-weight: bold;
}
tr.groupheader a {
   color: black;
   text-decoration: none;
}

tr.groupheader a:hover {
    text-decoration: underline;
}

/* state in group header must have fixed width */
.groupheader td.state {
  width: 50px;
  padding: 2px 5px;
  border: 1px solid white;
}

.services div.hostdown {
    background-color: #f22;
    -moz-border-radius: 4px;
    border: 2px solid #000;
    padding-left: 3px;
    padding-right: 3px;
}


/*
  ____       _       _
 |  _ \ __ _(_)_ __ | |_ ___ _ __ ___
 | |_) / _` | | '_ \| __/ _ \ '__/ __|
 |  __/ (_| | | | | | ||  __/ |  \__ \
 |_|   \__,_|_|_| |_|\__\___|_|  |___/

*/
table.services img {
    border-style: none;
}
table.services td.age {
  text-align: right;
  color: #666;
  white-space: nowrap;
  width: 40px;
}
table.services td.age.recent {
  font-weight: bold;
  color: #000;
}


table.services td.nowrap {
  white-space: nowrap;
}

td.badflag {
    font-weight: bold;
    background-color: #f64;
}
td.goodflag {
    color: #080;
}


td.state {
  text-align: center;
  font-weight: bold;
  font-family: sans-serif;
  width: 32px;
}

td.count {
  text-align: right;
  font-weight: bold;
  font-family: sans-serif;
}

table.services tr.data td.perfometer {
  padding: 1px 2px;
  width: 120px;
  height: 22px;
  vertical-align: middle;
}
td.perfometer div.title {
   height: 0px;
   position: relative;
   top: 3px;
   left: 0px;
   width: 120px;
   text-align: center;
   white-space: nowrap;
}

td.perfometer table {
  width: 120px;
  height: 22px;
  border-spacing: 0px;
  padding: 0px;
  margin: 0px;
  border: 1px solid #aaa;
  height: 100%;
}

table.services tr.data td.perfometer table td {
    padding: 0px;
    margin: 0px;
    border: none;
    height: 22px;
}

table.services tr.data td.perfometer a {
    color: black;
    text-decoration: none;
}

td.statex {  /* zero count */
  color: #ccc;
}

/* Colors of the five possible host and service states
  CRIT:    #e2001a
  UNKNOWN: #f79802
  WARN:    #e6c908
  OK:      #41a62a
*/

/* OK/UP */
.state0, .hstate0, .state0 a, .hstate0 a {
  background-color: #0b3; color: #fff;
}

.hstate {
    white-space: nowrap;
}
/* WARN */
.state1, .state1 a {
  background-color: #ff0; color: #000;
}

/* CRIT/DOWN */
.state2, .hstate1, .state2 a, .hstate2 a {
  background-color: #f00; color: #fff;
}

/* UNKNOWN / UNREACH */
.state3, .hstate2, .state3 a, .hstate2 a {
  background-color: #f80; color: #fff;
}

/* PENDING */
.statep, .hstatep, .statep a, .hstatep a {
  background-color: #888; color: #fff;
}

/* in DOWNTIME */
.stated, .hstated, .stated a, .hstated a {
  background-color: #0af; color: #fff;
}

/* *some* problem */
.states, .hstates {
    background-image: url("images/someproblem.png");
    background-position: center center;
    background-repeat: repeat;
    color: #000;
}
.states a, .hstates a {
    color: #000;
}
td.narrow {
    width: 10px;
}

td.icons {
    white-space: nowrap;
}
td.icons img {
 height: 20px;
 margin-right: 3px;
}

td.icon {
    width: 20px;
    background-image: url("images/whiteglass.png");
}
td.icon img {
  border-style: none;
}

img.icon {
   width: 20px;
   border-style: none;
}

/* Styles used by specific painters. These should be modularized later ... */
div.objectlist div {
  float: left;
  padding: 1px 3px;
  border-style: solid;
  border-width: 1px;
  margin: 1px;
}


table.services tr.data td.pnpgraph {
   padding: 0px;
   border-bottom: 1px solid #666;
   border-right: 1px solid #666;
}

/*
 _                            _
| |    __ _ _   _  ___  _   _| |_ ___
| |   / _` | | | |/ _ \| | | | __/ __|
| |__| (_| | |_| | (_) | |_| | |_\__ \
|_____\__,_|\__, |\___/ \__,_|\__|___/
            |___/
*/

div.tableshadow {
    background-image: url("images/tableshadow.png");
    background-repeat: repeat;
    padding: 1px 1px 1px 1px;
    border-style: none;
}

div.tableshadow.left {
    /* margin-left: 5px; */
}

td.shadowtop, td.shadowbottom {
    background-image: url("images/tableshadow.png");
    background-repeat: repeat;
    height: 1px;
    border-style: none;
    border-width: 0px;
    padding: 0px;
}
td.shadowleft, td.shadowright {
    background-image: url("images/tableshadow.png");
    background-repeat: repeat;
    width: 1px;
    border-style: none;
    border-width: 0px;
    padding: 0px;
}
td.shadowright {
  width: 1px;
}

td.tablegap {
    /* background-color: yellow; */
}
td.fillup {
    background-color: #eee;
}
td.groupheader {
    margin: 0px;
    padding: 0px;
}

/* boxed layout */
table.boxlayout {
    border-spacing: 0px;
}
table.boxlayout td.boxcolumn {
    vertical-align: top;
    padding-right: 20px;
}


.inputerror input {
  background-color: #f84;
}

/* table layout */

/* tiled layout */
table.tiled td {
    border-style: none;
}

.tile {
   width: 160px;
   border: 1px solid black;
   float: left;
   -moz-border-radius: 4px;
   margin-right: 3px;
   margin-bottom: 3px;
   border-right: 2px solid black;
   border-bottom: 2px solid black;
}

.tile table {
height: 70px;
}
.tile td {
    border-style: none;
   font-size: 7pt;
}
.tile.sstate0, .tile.hhstate0 {
    background-color: #afa;
}
.tile.sstate1 {
    background-color: #ff0;
}
.tile.sstate2, .tile.hhstate1 {
    background-color: #f42;
}
.tile.sstate3, .tile.hhstate2 {
    background-color: #f80;
}

.tile table {
width: 100%;
}
.tile td.tl, .tile td.bl {
    text-align: left;
}
.tile td.tr, .tile td.br {
    text-align: right;
}
.tile td.center {
    vertical-align: middle;
}
.tile td.center, .tile td.cont {
    text-align: center;
}
.tile td.bl, .tile td.br {
    vertical-align: bottom;
}

.tile td.bl, .tile td.br, .tile td.tl, .tile td.tr {
height: 20px;
}

/* forms in general */

h2.formcaption {
  font-size: 100%;
  margin-bottom: 0px;
}

table.form {
    border-collapse: collapse;
    empty-cells: show;
    background-image: url("images/form_background.png");
    background-repeat: repeat;
    border-spacing: 0px;
    margin: 10px;
}

table.form textarea {
    width: 30em;
    height: 4em;
}

table.form input {
    font-size: 9pt;
}
table.form td {
    vertical-align: top;
    padding: 4px 10px;
}
table.form th {
    border-width: 1px;
    border-color: #fff;
    border-style: solid solid none solid;
    padding: 4px 4px;
}

table.form b.toggleheader {
    cursor: auto;
    background-image: none;
}
table.form b.toggleheader.hover {
    cursor: pointer;
    color: white;
    /* background-image: url("images/form_background.png"); */
}

table.form td.legend {
    vertical-align: top;
    color: #274750;
    border: 1px solid white;
    border-right-style: none;
    /* white-space: nowrap; */
    height: 32px;
    vertical-align: top;
    padding-top: 10px;
}
table.form td.legend.border {
    border-right-style: solid;
}
table.form td.hilite {
    background-image: url("images/form_background.png");
    background-repeat: repeat;
    margin: 10px;
}

table.form td.legend.button {
    text-align: right;
    border-right: 1px solid white;
}

table.form td.content {
    padding-right: 2ex;
    border: 1px solid white;
    border-left-style: none;
    vertical-align: top;
}

table#displayoptions td.content {
  background-image: url("images/background-brown.jpg");
  background-repeat: repeat;
  background-position: center;
}
table#displayoptions td.legend,
input.tab#displayoptions,
input.tabactive#displayoptions    { background-color: #f84; }


input.tab#results, input.tabactive#results { background-color: #fe6; }


/* input elements in forms */

table.form input.text {
  width: 100%;
}

table.form input.number {
    text-align: right;
}

div.textinputlegend {
  font-size: 80%;
}

input.date, input.time {
  padding: 0ex 0.5ex;
  font-family: monospace;
}

/* actions */
div.really, div.success, div.error, div.message, div.warning {
  margin: 2em 2em 2em 2em;
  -moz-border-radius: 1ex;
  padding: 1em 2em;
  border-width: 2px;
  border-style: solid;
}

div.really h1, div.success h1, div.error h1, div.message h1, div.warning h1 {
     font-size: 12pt;
     font-weight: bold;
     margin-bottom: 5px;
color: black;
}

div.really {
  background-color: #f88;
  border-color: #800;
}

div.really input {
  font-weight: bold;
  margin-top: 1em;
  padding: 0.5ex 2em;
}

div.success {
  background-color: #8f8;
  border-color: #080;
}
div.message {
  background-color: #8cf;
  border-color: #048;
}

div.error {
  background-color: #f84;
  border-color: #e40;
}

div.warning {
  background-color: #ff4;
  border-color: #fc0;
}
/* -------------------------------------------------------------- */

img.siteicon {
width: 24px;
height: 24px;
border: 1px solid #666;
}

/* ---- site overview ------------------------------------------- */
table.siteoverview {
}

table.siteoverview td {
    vertical-align: bottom;
    padding-bottom: 13px;
}

table.siteoverview td.icon img {
    margin-right: 10px;
    border: 1px solid #666;
    margin-left: 20px;
}

table.siteoverview table {
    margin-top: 3px;
    border-collapse: collapse;
    empty-cells: show;
    border: 3px solid white;
    height: 64px;
}

table.siteoverview table td {
    border: 1px solid #666;
    text-align: center;
    width: 3em;
    padding-bottom: 0px;
}

table.siteoverview table th {
    background-color: #ddd;
    text-align: left;
    border-right: 1px solid #666;
    padding-left: 0.5ex;
}
table.siteoverview table td.legend {
    background-color: #ddd;
    text-align: left;
}
table.siteoverview table td.zero {
    background-color: #cbc;
}

/* ---- logwatch ------------------------------------------------ */
div#logwatch {
    margin-top: 1ex;
}

div#logwatch div.chunk {
  border-width: 1px;
  border-style: solid;
  margin-bottom: 1em;
  padding: 0.5ex;
  border-color: #bbb #555 #222 #bbb;
  background-color: white;
}

div#logwatch a {
  font-family: sans-serif;
  font-weight: bold;
  width: 4em;
  color: #008;
}

div#logwatch a b {
  color: #08f;
}

div#logwatch a.ack {
  background-color: #33c;
  color: #fff;
  text-decoration: none;
  border-width: 2px;
  border-style: solid;
  border-color: #ccc #888 #333 #777;
  padding: 0.3ex 1ex;
  -moz-border-radius: 6px;
}

div#logwatch p {
    font-family: courier, monospace;
    margin: 0px;
    padding: 0.2ex 0.5ex;
    border-left: 1px solid #888;
    border-right: 1px solid #888;
    font-size: 10pt;
    background-color: #ddd;
    text-indent: -1.0ex;
    padding-left: 1.5ex;
}


div#logwatch .WARN {
    background-color: #ff8;
    border-bottom: 1px solid #cc0;
}

div#logwatch .CRIT {
    background-color: #f88;
    border-bottom: 1px solid #c00;
}

div#logwatch td.WARN, td.CRIT {
  width: 5em;
  text-align: center;
  padding: 0em 0.5ex;
  margin: 0px;
  border: 1px solid black;
  font-weight: bold;
}

div#logwatch td.WARN {
  background-color: #ff0;
}

div#logwatch td.CRIT {
  background-color: #f00;
  color: white;
}

div#logwatch table.section {
  margin: 0ex 0ex 0.8ex 0ex;
  width: 100%
}

div#logwatch .date {
  font-weight: normal;
  padding-left: 1ex;
  color: #666;
}

div#logwatch td.button {
  text-align: right;
}

div#logwatch td.button a {
  background-color: #cca;
  color: #000;
  text-decoration: none;
  font-weight: normal;
  border-width: 1px;
  border-style: solid;
  border-color: #ddd #888 #333 #ddd;
  padding: 0.1ex 1ex;
  -moz-border-radius: 4px;
}

div#logwatch td.button a:active {
  background-color: #aa8;
}

/* --- navigation tabs in logwatch ------------------ */

div#logwatch a.tab, div#logwatch a.tabactive {
  -moz-border-radius: 12px 12px 0px 0px;
	display: block;
  margin-bottom: 0px;
  color: #000;
  padding: 0.4ex 1em;
  border-style: none;
  vertical-align: top;
  margin-right: 0.3ex;
	background-color: #fc0;
	border-bottom: 1px solid black;
	text-decoration: none;
	font-size: 100%;
	width: 140px;
}

div#logwatch a.tab:hover {
  padding-bottom: 10px;
}

div#logwatch a.tabactive {
  padding-bottom: 6px;
  border-bottom-style: none;
}

/* edit permissions */
table.permissions {
  border-collapse: collapse;
  empty-cells: show;
  border-spacing: 0px;
}

table.permissions td, table.permissions th {
    border: 1px solid white;
    padding: 3px 0.5ex;
    vertical-align: top;
}
table.permissions th {
    text-align: left;
    background-color: #98a;
    color: white;
}

table.permissions td i {
    font-size: 9pt;
}

table.permissions td.legend {
    background-color: #769;
    color: white;
}
table.permissions td.legend.sub {
    border-top-style: none;
    border-bottom-style: none;
    background-color: #87a;
    padding-left: 1em;
    font-size: 9pt;
    padding-top: 2px;
    padding-bottom: 0px;
}
table.permissions td.content {
    text-align: center;
    width: 6ex;
    vertical-align: middle;
}

table.permissions td.content.user {
    background-color: #b84;
}
table.permissions td.content.admin {
    background-color: #c85;
}
table.permissions td.content.guest {
    background-color: #d86;
}

/* view editor */
table.view {
    width: 100%;
    border-collapse: collapse;
    empty-cells: show;
}
td.legend, td.content {
   border: 1px solid #884;
   padding: 2px 0.5ex;
    vertical-align: top;
}
td.legend {
    padding-top: 3px;
    color: #884;
    vertical-align: top;
    white-space: nowrap;
    width: 150px;
}
div.viewdescription {
    color: #274750;
    font-size: 7pt;
}
td.content i {
    font-size: 8pt;
    color: #fff;
}

/* Table of filters in edit view page */
table.filters {
    border-collapse: collapse;
    empty-cells: show;
    margin-bottom: 6px;
    margin-left: 3px;
    width: 100%;
}
div.filtercomment {
    margin-left: 0px;
    font-size: 8pt;
    width: 300px;
    font-style: italic;
    color: #478;
    padding-bottom: 6px;
}


table.filters td
{
   border-style: none;
   border-bottom: 1px dotted #fff;
   vertical-align: middle;
   height: 36px;
padding: 4px 8px;
}


table.filters th
{
    text-align: left;
    padding-bottom: 3px;
    padding-left: 8px;
    font-weight: normal;
    color: white;
    border-bottom: 1px solid #fff;
}

table.filters td.usageshow
{
    background-color: #ff0;
}
table.filters td.usagehide
{
    background-color: #f0f;
}
table.filters td.usagehard
{
    background-color: #89f;
}
table.filters td.usageoff
{
    background-image: url("images/tableshadow.png");
    background-repeat: repeat;
}

table.filters td.usageshow select
{
    background-color: #cc0;
}
table.filters td.usagehide select
{
    background-color: #f6f;
}
table.filters td.usagehard select
{
    background-color: #67c;
}

table.filters td.widgetshow
{
    background-image: url("images/background-gold.jpg");
    background-repeat: repeat;
    background-position: center;
    background-color: transparent;
    color: #000;
}
table.filters td.widgetoff
{
    background-image: none;
    color: #aa6;
}
table.filters td.widgethard
{
    background-image: none;
    background-color: #abf;
    color: #000;
}
table.filters td.widgethide
{
    background-image: none;
    background-color: #e8e;
    color: #000;
}

table.filters td.title {
    /* border-style: none; */
    padding-right: 1em;
}

/* TABLE OF ALL VIEWS */
table.views {
    border-collapse: collapse;
    empty-cells: show;
    margin-bottom: 1ex;
}

table.views td, table.views th{
    border: 1px solid #444;
    padding: 2px 1ex;
}

table.views td {
height: 25px;
        padding-top: 3px;
color: white;
}

table.views th {
    background-color: #709aa5;
    color: white;
}

table.views td.legend {
    background-color: #8eaeb8;
    color: white;

}

table.views td.content {
    background-color: #9ebec8;
    color: white;
}

table.views td.edit {
    background-color: #6ab;
    text-align: center;
}

table.views td.buttons {
    padding: 3px;
    vertical-align: middle;
    background-color: #8EAEB8;
}

a.button {
    background-color: #cca;
    color: #000;
    text-decoration: none;
    font-weight: normal;
    border-width: 1px;
    border-style: solid;
    border-color: #ddd #888 #333 #ddd;
    padding: 0.1ex 1ex;
    height: 24px;
    -moz-border-radius: 4px;
    margin: 2px;
    font-size: 9pt;
}


/* layout dataset */
table.dataset {
    border-spacing: 1px;
    padding: 0px;
    border-collapse: collapse;
    empty-cells: show;
    width: 100%;
}

table.dataset tr.data {
    background-color: #eee;
}
table.dataset tr.gap {
    background-color: transparent;
}

table.dataset td {
    padding-bottom: 4px;
    padding: 1px 10px 5px 10px;
    text-align: left;
    vertical-align: middle;
    border: 1px solid #bbb;
}
table.dataset td.left {
    padding-right: 10px;
    color: white;
    background-color: #888;
    width: 10%;
    white-space: nowrap;
    vertical-align: top;
}
table.dataset td.gap {
    background-color: transparent;
    border-left-style: none;
    border-right-style: none;
}

/* page for adding snapins */

table.add_snapin {
    margin: 0px;
    padding: 0px;
    border-spacing: 5px;
    empty-cells: hide;
    width: 100%;
}

table.add_snapin td {
    padding: 8px;
    background-color: #9bc;
    width: 33%;
    -moz-border-radius: 8px;
    border-bottom: 1px solid #9ab;
    border-right: 1px solid #89a;
    height: 90px;
    color: #369;
}
table.add_snapin b {
    color: black;
}
table.add_snapin i {
    color: white;
}

body.businessview TABLE.data {
    background-image: url("../images/form_background.png");
}
body.businessview TABLE.data TR.dataOdd {
    background-image: none;
}


select#quick_command option {
  background-repeat:no-repeat;
  background-position:center left;
  padding-left:22px;
  height: 22px;
}
select#quick_command {
  height: inherit !important;
}

.ui-button SPAN.ui-button-text {
  white-space: nowrap;
  line-height: 1.1;
  font-size: 1.0em;
}
