/* Base settings */

* {
	font-family: Verdana;
	font-size: 8pt;
}

html{
		/*overflow-x: hidden;*/
}

form {
	margin: 0px;
}

body {
	background: #f3f3f3;
	margin-top: 0px;
	/*overflow-x: hidden;*/

}

img {
  border: none;
}

a {
  color: #1e3b5d;
  text-decoration: none;
}

a:hover {
  color: #373737;
  text-decoration: underline;
}

h1 {
  line-height: 1.5em;
  font-size: 10pt;
  margin: 0px;
  margin-top: 10px;
  margin-bottom: 10px;
}

h2 {
  line-height: 1.3em;
  font-size: 9pt;
  margin-top: 10px;
  margin-bottom: 10px;
}

h3 {
  line-height: 1.3em;
  font-size: 8pt;
  margin-top: 10px;
  margin-bottom: 10px;
}



/* Default classes */

.padded {
	margin: 10px
}

.italic {
	 font-style:italic;
}

.strong {
	 font-weight:bold;
}

.left {
	float: left;
}

.aleft {
	text-align: left;
}

.right {
	float: right;
}

.aright {
	text-align: right;
}

.clear {
	clear: both;
}

.center {
	text-align: center;
}

.noborder {
	border: none;
}

.bordered {
	margin-left: 10px;
	margin-right: 10px;
	margin-top: 0px;
	border: 1px solid #93a5b7;
}

.bordered div {
	padding: 2px;
}

.heading {
	padding: 0px;
	background: #93a5b7;
	font-weight: bold;
}



/* Body items */

#main {

	width: 950px;
	
	margin-left: auto;
	margin-right: auto;
	
	background: white;
	
	border: 1px solid black;
	
	
}



/* Content items */

#content_max {
	width: 936px;
	margin-top: 10px;
	padding-left: 14px;
	border-top: 1px solid #93a5b7;
}

#content_double {
	width: 723px;
	margin-top: 10px;
	padding-left: 14px;
	border-top: 1px solid #93a5b7;
}

#content_left {
	width: 500px;
	margin-top: 10px;
	padding-left: 14px;
	border-top: 1px solid #93a5b7;
}

#content_middle {
	width: 222px;
	margin-top: 10px;
	border-top: 1px solid #93a5b7;
	border-left: 1px solid #93a5b7;
}

#content_right {
	width: 212px;
	margin-top: 10px;
	border-left: 1px solid #93a5b7;
}

#content_right_top {
	width: 213px;
	margin-top: 10px;
	border-top: 1px solid #93a5b7;
}

.content_inside {
	margin: 5px;
}

.addblock {
	background: url('images/add-bg.gif');
	background-repeat: repeat-x;
	background-color: #e1e1e1;
	width: 210px;
	/*height: 135px;*/
	border-bottom: 2px solid #93a5b7; 
}



/* Block items */

.addblock_inside {
	margin: 5px;
}

.box_padding {
	margin: -1px;
}
.box_padding_text {
	margin: 2px;
}

.addblock_footer {
	margin: 3px;
	margin-left: 5px;
	margin-right: 6px;
	border-top: 1px dotted #93a5b7;
	line-height: 3em;
}

.addblock input {
	width: 130px;
}

.addblock select {
	width: 55px;
}



/* Header  items */

#header_top {
	background: url('images/header.jpg');
	background-repeat: no-repeat;
	margin-bottom: 0px;
	

}

#menu_top {
	margin-top: 105px;
	margin-right: 10px;
	border-left: 1px solid #93a5b7;
}

.menu_top_item {
	
	height: 20px;
	
	font-weight: bold;
	
	background: #dfe1e3;
	
	border-top: 1px solid white;
	border-left: 1px solid white;
	padding-top: 4px;
	padding-left: 4px;
	padding-right: 7px;
}

.menu_top_item_stroke {
	border-top: 1px solid #93a5b7;
	border-right: 1px solid #93a5b7;
	border-bottom: 1px solid #93a5b7;
}

.tabs_item {
	height: 20px;
	font-weight: bold;
	
	background: #c1c1bd; /*#dfe1e3;*/
	border-bottom: 1px solid black;
	border-left: 1px solid black;
	padding-top: 4px;
	padding-left: 4px;
	padding-right: 7px;
}

/* Footer items */

.foot_note {
	color: #878787;
	font-size: 7pt;
 	text-align: center;
 	margin: 5px;
}

.foot_note a {
	color: #878787;
	font-size: 7pt;
}

.foot_note a:hover {
	color: #474747;
  	text-decoration: underline;
}



/*Login Items*/

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

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



/*Style*/


/*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;
}*/


table {
  font-size: 1em;
}

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


.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: 200px;
  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
   
}

.spam_search {
	float:right;


}

/* drop down menu */




/*#sddm{
  margin-top: 130px;
  float:right;
  margin-right: 10px;
  _margin-right:5px;
  padding-left:0px;
  border-left:1px solid #93a5b7;
}

#sddm li{	
  height: 20px;
  margin: 0;
  padding-top: 5px;
  padding-bottom: 0px;
  padding-left: 0px;
  padding-right: 0px;
  list-style: none;
  float: left;
  border-left: 1px solid #93a5b7;
  border-top: 1px solid #93a5b7;
  border-right: 1px solid #93a5b7;
  border-bottom: 1px solid #93a5b7;

}

#sddm li a{	
  margin: 0;
  height: 20px;
  font-weight: bold;
  background: #dfe1e3;
  padding-top: 4px;
  padding-bottom: 7px;
  padding-left: 8px;
  padding-right: 8px;
  border-top: 1px solid white;
  border-left: 1px solid white;

}

#sddm li a:hover{	
  text-decoration: underline;
}

#sddm li div{	
  position: absolute;
  visibility: hidden;
  margin-top: 7px;
  _margin-top:25px;
  padding: 0;
  background: #dfe1e3;
  border: 1px solid #93a5b7;
  float:left;
  _left: 652px;
}

#sddm div a{	
  height: 10px;
  position: relative;
  display: block;
  margin: 0;

  width: auto;
  white-space: nowrap;
  text-align: left;
  text-decoration: none;
  background: #dfe1e3;
}*/

dl, dt, dd, ul, li {
margin: 0;
padding: 0;
list-style-type: none;
}
#menu {
height:27px;
margin-top: 105px;
margin-right:10px;
_margin-right:5px;
padding-left:0px;
border-left: 1px solid #93a5b7;
}
#menu dl {
float: left;
width: 85px;
border-top: 1px solid #93a5b7;
border-right: 1px solid #93a5b7;
border-bottom: 1px solid #93a5b7;
_background: #dfe1e3;
}
#menu dt {
font-weight: bold;
background: #dfe1e3;
height:20px;
border-top: 1px solid white;
border-left: 1px solid white;
padding-top: 4px;
}
#menu dd {
display: none;
border-top: 1px solid #93a5b7;
border-left: 1px solid #93a5b7;
border-right: 1px solid #93a5b7;
border-bottom: 1px solid #93a5b7;
position:absolute;
width:84px;

}
#menu li {
background: #dfe1e3;
border-top: 1px solid white;
border-left: 1px solid white;
height:20px;
padding-top: 4px;	
}
#menu li a, #menu dt a {
font-weight:bold;
text-decoration: none;
display: block;
height: 100%;
text-align:center;
}
#menu li a:hover, #menu dt a:hover {
  text-decoration: underline;
}


