#nav_control {
	position: relative;
	height: 50px;
	margin: 1em 0;
}

#nav_control ul {
	float: right;
	display: none;
	list-style: none;
	padding: 0;
}

#nav_control ul li {
	background: none;
	margin: 0;
	padding: 0;
	float: left;
	display: block;
}

#nav_control a {
	outline: none ! important;
	font-weight: normal;
	text-decoration: none;
	margin: 0;
}

#nav_control > ul {
	display: inline-block;
	font-size: 1.3em;
	height: 25px;
	line-height: 25px;
	margin: 15px 0 0 0;
	background: #fff url(../img/bg_shadow_reverse.png) right bottom no-repeat;
	border: 1px solid #ccc;
}

#nav_control li.active > ul {
	position: absolute;
	top: 41px;
	right: 0;
	margin: 0 auto;
	font-size: 0.9em;
	height: 28px;
	line-height: 28px;
	display: inline-block;
}

#nav_control li.active.noshowsub > ul {
	display: none;
}

#nav_control > ul > li {
	background: none;
	border-right: 1px solid #ccc;
}

#nav_control > ul > li.last {
	border-right: 0;
}
#nav_control > ul > li:last-child {
	border-right: 0;
}

/* Style for <a> of top-level active <li> */
#nav_control li.active > a {
	font-weight: bold;
	color: #000;
	cursor: default;
}

#nav_control li.active.nopage > a {
	font-weight: normal;
	color: #40596a;
	cursor: pointer;
}

/* Add generous padding per default. */
#nav_control > ul > li > a {
	padding: 10px 0.6em;
}

/* Wipe out the button shading for <li class="active">. */
#nav_control > ul > li.active > a {
	background: #fff;
	padding-top: 15px;
	padding-bottom: 15px;
}

#nav_control > ul > li.active.nopage > a {
	background: transparent;
}

/* Subnav styling */
#nav_control ul ul li a {
	padding: 0 0 0 0.3em;
}

#nav_control ul ul li a:after {
	font-weight: bold;
	color: #aaa;
	content: " \00B7";
}

#nav_control ul ul li.last a:after {
	content: '';
}
#nav_control ul ul li:last-child a:after {
	content: '';
}

.ui-widget-header, .ui-accordion-header {
  font-size: 8pt;
}

.ui-widget-content, .ui-accordian-content {
  font-size: 8pt;
}

#control-leftmenu .ui-accordion-content a:active,
    #control-leftmenu .ui-accordion-content a:focus,
    #control-leftmenu .ui-accordion-content a:hover,
    #control-leftmenu .ui-accordion-content a:link,
    #control-leftmenu .ui-accordion-content a:visited {
  text-decoration: none;
}

#control-leftmenu .ui-accordion-content a:hover {
  color: #222222;
}

#main table {
  margin: 0;
  border: 1px solid #BBCCCC;
}

#main table th {
  background-color: #BBCCCC;
}

#main table img {
  vertical-align: middle;
}

#main table a {
  text-decoration: none; 
  background: url(/img/underline.png) repeat-x 100% 100%;
  white-space: nowrap;
}

#main table a:hover {
  text-decoration: underline;
  background: none;
}

#control_leftmenu div a {
  text-decoration: none; 
  background: url(/img/underline.png) repeat-x 100% 100%;
  white-space: nowrap;
}

#control_leftmenu div a:hover {
  text-decoration: underline;
  background: none;
}

.highlight {
  background-color: #BBCCCC;
}

td.icon-forward {
  background: url(/img/icons/forward.png) no-repeat 5px center;
  padding-left: 25px;
}

td.icon-phone {
  background: url(/img/icons/phone.png) no-repeat 5px center;
  padding-left: 25px;
}

td.icon-fax {
  background: url(/img/icons/fax.png) no-repeat 5px center;
  padding-left: 25px;
}

td.icon-ringgroup {
  background: url(/img/icons/ringgroup.png) no-repeat 5px center;
  padding-left: 25px;
}

td.icon-email {
  background: url(/img/icons/email.png) no-repeat 5px center;
  padding-left: 25px;
}

td.icon-user {
  background: url(/img/icons/user.png) no-repeat 5px center;
  padding-left: 25px;
}
