#wrap_main p.sub {
	line-height: 29px;
}

/* Wrap From */
#wrap_form p.alert {
	color: #DC143C;
}

/* ---------------------------------- Creating Invoice Entry ---------------------------------- */

#wrap_form img.ico {
	margin-left: 10px;
}

/* ---------------------------------- Edit Departments ---------------------------------- */

#wrap_form .selel_ed {
	width: 220px;
	height: 95px;
}

#wrap_main #advanced_rules {
	width: 523px;
}

#wrap_main #advanced_rules p {
	padding: 10px 0;
}

#wrap_main #advanced_rules p.toggle {
	padding: 20px 0;
}

#advanced_rules .block {
	border: #E5E5E5 1px solid;
	margin-bottom: 15px;
}

#advanced_rules .block h2 {
	font-size: 11px;
	font-weight: bold;
	font-family: arial;
	background: #F4F4F4;
	padding: 10px;
}

#advanced_rules .block .body {
	padding: 0 10px;
}

#advanced_rules .block .body ul {
	padding-left: 30px;
	padding-bottom: 10px;
}

#advanced_rules .block .body li {
	list-style: disc;
	line-height: 17px;
}

#advanced_rules .block .bottom {
	padding: 10px 10px 5px 10px;
	text-align: right;
}

#advanced_rules .block .item {
	background: #FAFAFA;
	border: #F0F0F0 1px solid;
	padding: 0 10px;
	margin-bottom: 10px;
}

#advanced_rules .block .item .edit {
	float: right;
	margin-left: 10px;
}

/* ---------------------------------- Escalation Rules ---------------------------------- */

#wrap_form .size210s {
	width: 210px;
}

/* ---------------------------------- Knowledge Base (add article) ---------------------------------- */

#wrap_form ul.kb_addarticle {
	width: 610px;
}

#wrap_form .kb_size {
	width: 588px !important;
}

#wrap_form .kb_size_o {
	width: 600px !important;
}

/* ---------------------------------- Knowledge Base (search) ---------------------------------- */

#knowledge_base .search {
	width: 600px;
	background: url('../images/kb/search_bg.gif') no-repeat top;
	margin-top: 30px;
	min-height: 36px;
}

* html #knowledge_base .search {
	height: 36px;
}

#knowledge_base .search form {
	position: relative;
}

#knowledge_base .search a {
	color: #242729;
	text-decoration: none;
}

#knowledge_base .search a:hover {
   text-decoration: underline;
}

#knowledge_base .search label.s {
	font-weight: bold;
	display: block;
	height: 26px;
	padding-left: 55px;
	padding-top: 10px;
	color: #242729;
}

#knowledge_base .search label.a {
	margin-right: 5px;
}

#knowledge_base .search input.fl {
	width: 273px;
	padding: 4px 3px;
	background: #fff url('../images/input_bg.gif') repeat-x top;
	border: #A6A7A9 1px solid;
	position: absolute;
	left: 121px;
	top: 5px;
}

#knowledge_base .search .sbutton {
	position: absolute;
	left: 410px;
	top: 8px;
    color               : #1A659F;
    font                : bold 9px 'trebuchet ms',helvetica,Arial, Times, sans-serif;
    background-color    : white;
    background-image    : url("../images/button_small.gif");
    border              : none;
    background-repeat   : no-repeat;
    width               : 29px;
    height              : 17px;
    text-transform      : uppercase;
    cursor              : pointer;
}

#knowledge_base .search p.toggle {
	position: absolute;
	left: 450px;
	top: 5px;
}

#knowledge_base .search .advanced {
	width: 400px;
	margin: 0px auto;
	padding: 10px 0;
}

#knowledge_base .search .advanced select.a {
	width: 150px;
	height: 90px;
	font-size: 11px;
}

#knowledge_base .search label.d {
	display: block;
	padding: 20px 0 5px 0; 
}

#knowledge_base .search select.e {
	width: 150px;
}

#knowledge_base .search .s_left {
	float: left;
	padding-right: 30px;
}


/* ---------------------------------- Knowledge Base ---------------------------------- */

#knowledge_base .left {
	float: left;
	width: 630px;
	padding-right: 20px;
	padding-top: 10px;
}

#knowledge_base .right {
	float: left;
}

#knowledge_base h2 {
	padding: 0;
	margin: 0;
	border: 0;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 11px;
	font-weight: bold;
}

#knowledge_base h2.kb_title {
	font-family: Georgia;
	font-size: 21px;
	font-weight: normal;
	border-bottom: #E2E2E2 1px solid;
	padding-bottom: 5px;
	margin-bottom: 10px;
	margin-right: 30px;
}

#knowledge_base p.kb_sub {
	line-height: 20px;
}

/* Categories */

#knowledge_base_categories {
	width: 630px;
	padding-top: 20px;
}

#knowledge_base_categories .block {
	width: 285px;
	float: left;
	margin-right: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
	display: inline;
}

#knowledge_base_categories .block .top {
	width: 100%;
	background: url('../images/kb/categorie_top_bg.gif') no-repeat;
	height: 36px;
}

#knowledge_base_categories .block .top h2 {
	padding: 10px 0 0 50px !important;
	color: #4D6C85;
	border:none;
}

#knowledge_base_categories .block .top a {
	color: #4D6C85;
	text-decoration: none;
}

#knowledge_base_categories .block .top a:hover {
	text-decoration: underline;
}

#knowledge_base_categories .block .body {
	border-left: #DBE8F5 4px solid;
	border-right: #DBE8F5 4px solid;
	width: 247px;
	background: #F7FAFE url('../images/kb/categorie_body_bg.gif') repeat-x top;
	padding-left: 15px;
	padding-right: 15px;
	padding-bottom: 15px;
}

#knowledge_base_categories .block .body a {
	color: #242729;
	text-decoration: none;
}

#knowledge_base_categories .block .body a:hover {
	text-decoration: underline;
}

#knowledge_base_categories .block .body li {
	line-height: 21px;
	padding-left: 18px !important;
	background: url('../images/kb/page.gif') no-repeat 0 4px;
}

#knowledge_base_categories .block .body h3 {
	display:block;
	font-size: 11px;
	font-weight: 600;
	text-decoration: none;
	line-height: 16px;
	padding-left: 0px !important;
}
/* TODO need to add for draft and internal */

#knowledge_base_categories .block .bottom {
	background: url('../images/kb/categorie_bottom_bg.gif') no-repeat;
	height: 20px;
	text-align: right;
	padding-right: 20px;
	padding-top: 4px;
}

#knowledge_base_categories .block .bottom a {
	color: #242729;
}

#knowledge_base_categories .block .bottom a:hover {
	text-decoration: none;
}

/* Categories (single page) */

#knowledge_base_categories .block_long {
	width: 600px;
	margin-right: 30px;
	margin-top: 10px;
	margin-bottom: 10px;
}

#knowledge_base_categories .block_long .top {
	width: 100%;
	background: url('../images/kb/categorie_top_long_bg.gif') no-repeat;
	height: 36px;
}

#knowledge_base_categories .block_long .top h2 {
	padding: 10px 0 0 50px !important;
	color: #4D6C85;
}

#knowledge_base_categories .block_long .top a {
	color: #4D6C85;
	text-decoration: none;
}

#knowledge_base_categories .block_long .top a:hover {
	text-decoration: underline;
}

#knowledge_base_categories .block_long .body {
	border-left: #DBE8F5 4px solid;
	border-right: #DBE8F5 4px solid;
	width: 562px;
	background: #F7FAFE url('../images/kb/categorie_body_bg.gif') repeat-x top;
	padding: 15px;
	min-height: 50px;
}

#knowledge_base_categories .block_long .body a {
	color: #242729;
	text-decoration: none;
}

#knowledge_base_categories .block_long .body a:hover {
	text-decoration: underline;
}

#knowledge_base_categories .block_long .body li {
	line-height: 21px;
}

#knowledge_base_categories .block_long .body h2.title {
	line-height: 21px;
	padding: 0 0 10px 31px;
	background: url('../images/kb/icon_li.gif') no-repeat 0 4px;
}

#knowledge_base_categories .block_long .body h2.article {
	line-height: 21px;
	padding: 0 0 10px 31px;
	background: url('../images/kb/page.gif') no-repeat 0 4px;
}

#knowledge_base_categories .block_long .body h2.draft {
	line-height: 21px;
	padding: 0 0 10px 31px;
	background: url('../images/kb/draft.png') no-repeat 0 4px;
}

#knowledge_base_categories .block_long .body h2.internal {
	line-height: 21px;
	padding: 0 0 10px 31px;
	background: url('../images/kb/internal.png') no-repeat 0 4px;
}

#knowledge_base_categories .search_results {
	width: 100%;
}

#knowledge_base_categories .search_results h2 {
	padding: 15px 0 0 32px !important;
	background: url(../images/kb/page.gif) no-repeat 0 19px !important;
}

#knowledge_base_categories .search_results p {
	padding: 5px 0 8px 32px !important;
}

#knowledge_base_categories .search_results img {
	margin-left: 32px;
}


#knowledge_base_categories .block_long .body h2 span {
	font-weight: normal;
	padding-left: 10px;
}

#knowledge_base_categories .block_long .body h2 {
	padding: 10px 0 5px 0;
}

#knowledge_base_categories .block_long .top h2 
{
	border:none;
}

#knowledge_base_categories .block_long .body p {
	padding: 10px 0;
}

#knowledge_base_categories .block_long .body .article_inside {
	padding: 0 32px;
}

#knowledge_base_categories .block_long .bottom {
	background: url('../images/kb/categorie_bottom_long_bg.gif') no-repeat;
	height: 20px;
	text-align: right;
	padding-right: 20px;
	padding-top: 4px;
}

#knowledge_base_categories .block_long .bottom a {
	color: #fff;
}

#knowledge_base_categories .block_long .bottom a:hover {
	text-decoration: none;
}

#knowledge_base_categories .block_long label {
	display: block;
	padding: 5px 0;
}

#knowledge_base_categories .block_long input.fl {
	padding: 3px;
	background: #fff url('../images/input_bg.gif') repeat-x top;
	border: #9D9D9D 1px solid;
}

#knowledge_base_categories .block_long textarea {
	padding: 3px;
	background: #fff url('../images/input_bg.gif') repeat-x top;
	border: #9D9D9D 1px solid;
	margin-bottom: 10px;
}

#knowledge_base_categories .block_long .sbutton {
	margin: 10px 0;
	padding: 0 10px;
}

#knowledge_base_categories .block_long .comment {
	background: #ECF3FD;
	border: #D2E2FB 1px solid;
	padding: 10px;
	margin-bottom: 10px;
}

#knowledge_base_categories .block_long .comment .ctitle {
	padding: 0;
}

/* Articles (latest, most popular) */

#knowledge_base_articles {
	width: 330px;
}

#knowledge_base_articles li a {
	text-decoration: underline !important;
}

#knowledge_base_articles li a:hover {
	text-decoration: none !important;
}

#knowledge_base_articles .block {
	width: 330px;
	float: left;
	margin-top: 10px;
	margin-bottom: 10px;
}

#knowledge_base_articles .block .top {
	width: 100%;
	background: url('../images/kb/articles_top_bg.gif') no-repeat;
	height: 36px;
	border:none;	
}

#knowledge_base_articles .block .top h2 {
	padding: 10px 0 0 50px !important;
	color: #4D6C85;
	border:none;	
}

#knowledge_base_articles .block .top a {
	color: #4D6C85;
	text-decoration: none;
	border:none;
}

#knowledge_base_articles .block .top a:hover {
	text-decoration: underline;
}

#knowledge_base_articles .block .body {
	border-left: #DBE8F5 4px solid;
	border-right: #DBE8F5 4px solid;
	width: 292px;
	background: #F7FAFE url('../images/kb/categorie_body_bg.gif') repeat-x top;
	padding: 15px;
}

#knowledge_base_articles .block .body a {
	color: #242729;
	text-decoration: none;
}

#knowledge_base_articles .block .body a:hover {
	text-decoration: underline;
}

#knowledge_base_articles .block .body li {
	line-height: 21px;
	padding-left: 31px !important;
	background: url('../images/kb/icon_li.gif') no-repeat 0 4px;
	padding-bottom: 10px;
}

#knowledge_base_articles .block .body li .stars {
	margin-top: -5px;
}

#knowledge_base_articles .block .body h3, #knowledge_base_articles .block .body h4 {
	font-size: 11px;
	font-weight: normal;
	padding: 0;
	margin: 0;
}

#knowledge_base_articles .block .body h3 {
	line-height: 14px;
	padding-top: 3px;
	width: 100%;
}

#knowledge_base_articles .block .body h3 a {
	text-decoration: underline;
}

#knowledge_base_articles .block .body h3 a:hover {
	text-decoration: none;
}

#knowledge_base_articles .block .body h4 {
	color: #777777;
	margin-top: 0px;
	width: 100%;
}

#knowledge_base_articles .block .body p {
	padding: 3px 0;
	line-height: 15px;
}

#knowledge_base_articles .block .bottom {
	background: url('../images/kb/articles_bottom_bg.gif') no-repeat;
	height: 20px;
	text-align: right;
	padding-right: 20px;
	padding-top: 4px;
}

#knowledge_base_articles .block .bottom a {
	color: #4D6C85;
}

#knowledge_base_articles .block .bottom a:hover {
	text-decoration: none;
}



/* Fix */

#knowledge_base_categories:after,
#knowledge_base .search .advanced:after {
    content: "."; 
    display: block; 
    height: 0; 
    clear: both; 
    visibility: hidden;
}