body {
  font-family: tahoma, verdana, arial, helvetica;
  font-size: 9pt;
  padding: 0;
  margin: 0;
}

h1, h2, h3, h4, h5, h6 {
  font-family: Georgia, Times New Roman, serif;
  color: #336699;
}

textarea, select, input.text {
  border: 1px solid #c0c0c0;
  font-family: tahoma, verdana, arial, helvetica;
  font-size: 9pt;
  padding: 2px;
}

textarea {
  height: 100px;
}



#nav {
  padding: 0;
  margin: 0;
  width: 100%;
  background-color: #404040;
  color: white;
}

#nav ul {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 100%;
}

#nav li {
  float: left;
}

#nav li a {
  display: block;
  padding: 3px 5px;
  width: 100px;
  color: white;
  text-decoration: none;
  font-weight: bold;
}

#nav li a:hover {
  background-color: #d0d0d0;
  color: black;
}

#nav li ul {
  position: absolute;
  display: none;
}

#nav li:hover ul {
  width: 110px;
  display: block;
  background-color: #404040;
}

#nav div {
  clear: both;
}

#main {
  padding: 20px;
}

table {
  font-size: 1em;
}

th {
  text-align: left;
  background-color: #336699;
  color: white;
}

a {
  color: #880000;
}

a:hover {
  color: red;
}

.ticket_description {
  background-color: #e0e0e0;
  background-image: url(/img/td.gif);
  background-repeat: no-repeat;
  background-position: bottom right;
}

.ticket_description * {
  padding: 0;
  margin: 0;
  line-height: 1em;
}

.ticket_description h4 {
  background-color: #404040;
  color: white;
  padding: .5em;
  font-size: 1.2em;
}

.ticket_description p {
  padding: 20px;
}

#newjournaldiv, #newfilediv {
  display: none;
  padding-bottom: 10px;
  width: 300px;
}

#newjournaldiv, #newfilediv div {
  text-align: right;
}

#newjournaldiv textarea, #newfilediv textarea {
  width: 100%;
  clear: both;
}

tr.odd td {
  background-color: #e0e0e0;
}

.custtable tr {
  height: 24px;
}

.custtable td {
  vertical-align: middle;
}

.nt {
  width: 400px;
}

td {
  vertical-align: top;
}

#sliderbg {
  background-image: url(/img/sliderbg.gif);
  width: 215px;
  height: 15px;
  position: relative;
  border: 1px solid grey;
  clear: none;
  float: left;
  margin-right: 10px;
}

#sliderthumb {
  width: 15px;
  height: 15px;
}

#prio_value {
  margin-left: 10px;
  clear: right;
}

.progressbar {
  vertical-align: middle;
}

tr.critical td {
  color: red;
}

#customerlist {
  list-style: none;
  width: 400px;
  height: 160px;
  border: 1px solid #c0c0c0;
  padding: 2px;
  margin: 0;
  overflow: auto;
}

#customerlist input {
  vertical-align: middle;
}

.autocomplete {
  background-color: white;
}

.autocomplete ul {
  list-style: none;
  padding: 0;
  margin: 0;
  border: 1px solid #888888;
}

.autocomplete li {
  padding: 2px;
  background-color: white;
}

.autocomplete .selected {
  background-color: #ffff88;
}

.s_mail {
  background-color:#CAE1FF;
}

thead input {
  width: 300px;
  border: 1px solid #c0c0c0;
}

#addnewcustomerp {
  display: none;
}

#loginform label {
  display: block;
  clear: none;
  float: left;
  width: 80px;
}

#loginform #i_password {
  margin-bottom: 1em;
}

.aleft {
  text-align: left;
}

.w2em {
  width: 2em;
}

.w4em {
  width: 4em;
}

#form_newvisit label, #form_newcontact label {
  display: block;
  float: left;
  width: 80px;
}

#contact_list {
  list-style: none;
  padding: 0;
  margin: 0;
  width: 300px;
  height: 150px;
  overflow: auto;
  border: 1px solid grey;
}

#contact_list li a {
  display: block;
  padding: 3px 5px;
  color: black;
  text-decoration: none;
  outline: none;
}

#contact_list li a:hover, #contact_list li a.on {
  color: white;
  background-color: #336699;
}

#contact_list li input {
  vertical-align: middle;
}

.wide {
  width: 300px;
}

#search {
  position: absolute;
  width: 350px;
  right: 20px;
  top: 50px;
  text-align: right;
}

.contactsub {
  position: absolute;
  width: 390px;
  height: 280px;
  display: none;
  border: 1px solid #000000;
  z-index: 0;
}

.notes {
  position: absolute;
  width: 350px;
  height: 175px;
  display: none;
  border: 1px solid #000000;
  background-color: #ffffff;
  z-index: 0;
}

.name {
  width: 110px;
}

.middle {
  width: 68px;
}

.width147 {
  width:147px;
}

.message {
 width: 100%;
 height: 400px;
}

.unselectable {
   -moz-user-select: none;
   -khtml-user-select: none;
   user-select: none;
   
}