td.tcMainMenuTd {
  border-top: #b98c6f 1px solid; border-bottom: #b98c6f 1px solid;
  background-color: #dbb381;/* background:linear-gradient(#dbb381 70%, #cd9161);*/
}
td.tcMainMenuTd .tcSkip {width:1px; height:1px; position: absolute;}
td.tcMainMenuTd table {
  border: none;
  border-collapse: collapse;
  width: 100%;
}
td.tcMainMenuTd table td {
  padding: 0;
  text-align: center;
}

#tcMainMenuPanel {direction: ltr; white-space: nowrap; text-align: right; padding: 1px 5px; vertical-align: top;}
#tcMainMenuPanel[dir=rtl] {text-align: left;}
#tcMainMenuPanel b {display: inline-block; font-size: 8pt; margin: 0 1pt; color: #841; cursor: pointer;
  padding: 5px; vertical-align: top;}
#tcMainMenuPanel b:hover {background: #ec9;}
#tcMainMenuPanel b.norm {font-weight: normal;}
#tcMainMenuPanel b.user {font-weight: normal; padding-right: 30px;}
#tcMainMenuPanel b.user i {display: inline-block; font-style: normal; max-width: 250px; overflow: hidden; text-overflow: ellipsis;}
#tcMainMenuPanel b.user img {border: solid 1px #975; position: absolute; width: 19px; height: 19px;
  margin-top: -3px; margin-left: 5px;}
#tcMainMenuPanel b.user.alert img{border-left: solid 3px #e00;}
#tcMainMenuPanel b.login {background-color: #3a0; color: #fff; padding: 3px 5px;
  border-top: solid 2px #dbb381; border-bottom: solid 2px #cb975e;}
#tcMainMenuPanel b.login:hover {background-color: #3c0;}
#tcMainMenuPanel b.search {width: 16px; height: 12px;
  background-image:url(img/srch.png); background-repeat: no-repeat; background-position: center center;}
#tcMainMenuPanel b.uil i {background-color: #039; color: #fff;
  font-size: 6pt; font-style: normal; font-weight: bold; padding: 1pt 2pt; margin: 0 3pt;
  position: relative; top: -1px;}

/* Menu. */
#tcMainMenu, #tcMainMenuRtl {border: 0; border-collapse: separate; border-spacing: 0;
	margin: 0 7pt; width: auto;
}
#tcMainMenuRtl {float:right;}
#tcMainMenu em,
#tcMainMenuRtl em {font-style: normal; font-weight: normal;
  line-height: normal; display: block;
}

#tcMainMenu td,
#tcMainMenuRtl td {border-left: solid 1px #e3c39c; border-right: solid 1px #b98c6f;
	font-weight: bold; padding: 0 7px; vertical-align: middle;
}
#tcMainMenu td {font-size: 10px;}
#tcMainMenuRtl td {font-size: 10pt;}
#tcMainMenu td a:link, 
#tcMainMenu td a:visited,
#tcMainMenuRtl td a:link, 
#tcMainMenuRtl td a:visited {color:#630; font-weight: bold;
	padding:0; text-decoration:none;
	}
#tcMainMenu td.mainMenuHover a:link,
#tcMainMenu td.mainMenuHover a:visited,
#tcMainMenu td.mainMenuHover a:hover,
#tcMainMenuRtl td.mainMenuHover a:link,
#tcMainMenuRtl td.mainMenuHover a:visited,
#tcMainMenuRtl td.mainMenuHover a:hover {
  color: #fff;
}
#tcMainMenu td a img,
#tcMainMenuRtl td a img {border: none;
  margin-top: 7px; margin-bottom: 5px;
}
#tcMainMenu div.sm,
#tcMainMenuRtl div.sm {background: #dbb381;	border: 1px solid #963;
	display: none; margin: 0; padding: 0;
	position: absolute; width: 225px;
  box-shadow: 2px 2px 5px 0 rgba(0,0,0,0.3);	
	z-index: 750;
}
#tcMainMenu div.sm table,
#tcMainMenuRtl div.sm table {border: none; border-collapse: separate; border-spacing: 0; margin: 0;}
#tcMainMenu div.sm td,
#tcMainMenuRtl div.sm td {border-top: none; border-right: none; border-left: none;
  border-bottom: solid 1px #c1976a;
	display: block; margin: 0; padding: 1px 0; width: 225px;}
  
#tcMainMenu div.sm td.siteMenuGroup,
#tcMainMenuRtl div.sm td.siteMenuGroup {
  border-top: solid 1px #ffebcd;
}

#tcMainMenu td.mainMenuHover div.sm a:link,
#tcMainMenu td.mainMenuHover div.sm a:visited,
#tcMainMenuRtl td.mainMenuHover div.sm a:link,
#tcMainMenuRtl td.mainMenuHover div.sm a:visited {
  border: solid 1px #dbb381; color: #630;
	display:block; font-style:normal; line-height: normal; margin: 0;
}
#siteMenuCurrentItem {
	background-color: #eece96; background:linear-gradient(#eece96 70%, #e5ba8c);
}
#tcMainMenu td.mainMenuHover,
#tcMainMenuRtl td.mainMenuHover {
  background-color: #b66f26; background:linear-gradient(#b66f26 70%, #8b4513);
}
#tcMainMenu td.mainMenuHover div.sm a {
  font-size: 10px;
}	
#tcMainMenuRtl td.mainMenuHover div.sm a {
  font-size: 10pt;
}	
#tcMainMenu td.mainMenuHover div.sm a:link,
#tcMainMenu td.mainMenuHover div.sm a:visited,
#tcMainMenu td.mainMenuHover div.sm a:hover {text-align:left;
  padding: 3pt 3pt 3pt 25pt;
}
#tcMainMenuRtl td.mainMenuHover div.sm a:link,
#tcMainMenuRtl td.mainMenuHover div.sm a:visited,	
#tcMainMenuRtl td.mainMenuHover div.sm a:hover {text-align:right;
  padding: 3pt 25pt 3pt 3pt;
}
#tcMainMenu td.mainMenuHover div.sm a:hover,
#tcMainMenuRtl td.mainMenuHover div.sm a:hover {
  background: #e9c689;
  border: solid 1px #ca945a;
  color: #000;
}
#tcMainMenu td div.sm img,
#tcMainMenuRtl td div.sm img {
  margin-top: 0;
  margin-bottom: 0;
}
#tcMainMenu td div.sm img {
  float: left;
  margin-left: -25px;
}
#tcMainMenuRtl td div.sm img {
  float: right;
  margin-left: 5pt;
  margin-right: -25px;
}
#tcMainMenu div.sm div,
#tcMainMenuRtl div.sm div {
  color: #896d51;
	display:block;
	font-size:10px;
	font-style:normal;
	margin: 2px 0;
	}
#tcMainMenu div.sm div {
	padding: 2pt 3pt 2pt 25pt;
	text-align:left;
  }
#tcMainMenuRtl div.sm div {
	padding: 2pt 25pt 2pt 3pt;
	text-align:right;
  }

#tcMainMenu a.admin:link,
#tcMainMenu a.admin:visited,
#tcMainMenuRtl a.admin:link,
#tcMainMenuRtl a.admin:visited {color: #b00;
  }
#tcMainMenu td.mainMenuHover a.admin:hover,
#tcMainMenuRtl td.mainMenuHover a.admin:hover {
  color: #fff;
  }
#tcMainMenu td.mainMenuHover a.mod:link,
#tcMainMenu td.mainMenuHover a.mod:visited,
#tcMainMenuRtl td.mainMenuHover a.mod:link,
#tcMainMenuRtl td.mainMenuHover a.mod:visited {
  color: #005e99; /*#0072bc;*/
  }
#tcMainMenu td.mainMenuHover a.mod:hover,
#tcMainMenuRtl td.mainMenuHover a.mod:hover {
  color: #000;
}

/* Search Box and Magnifying Glass Button*/
#searchBtn {height: 16px; width:24px; cursor: pointer; border: none;}
#sc {background: #fff; border: solid 1px #693f1b; padding: 0; width: 150px;}
#sb {background: #986133;
     border-top: solid 1px #693f1b; border-right: solid 1px #693f1b; 
     border-bottom: solid 1px #693f1b; padding: 1pt;
     width: 24px;}
#sb img {border: 0; width: 24px; height: 16px;}
#searchForm {background: #fec; border: solid 1px #975;
  box-shadow: 0 0 5px 0 rgba(0,0,0,0.2); padding: 3pt; display:none; position: absolute;}
#searchForm table {width: 181px; border-collapse: collapse; border-spacing: 0;}
.sfActive, .sfInactive {border-width: 0;
  font-family: Trebuchet MS, Arial; font-size: 11px; width: 170px; height: 18px;}
.sfActive {color: #000; font-style: normal;}
.sfInactive {color: #aaa; font-style: italic;}
.top-search-note {color:#765; font-size: 7pt; margin: 4pt 0; white-space: normal; width: 181px; text-align: left;}

/* Login panel */
#tcUserPanel {display: none; position: absolute;
  background: #fec; border: solid 1px #975; box-shadow: 0 0 5px 0 rgba(0,0,0,0.2); padding: 7pt;}
#tcUserPanel.login {width: 175px;}
#tcUserPanel.login .lf {color: #765; font-size: 8pt; margin-top: 5pt;}
#tcUserPanel.login .btns {margin: 8pt 0; text-align: center;}
#tcUserPanel.login .btns input {font-size: 10px; font-weight: bold; width: 135px; margin: 0;}
.lgnFld {font-size: 8pt; width: 165px;}
#tcUserPanel.login label {display: block; font-size: 8pt; color: #765; margin: 5pt 0;}

#tcUserPanel.profile {width: 275px;}
#tcUserPanel h3 {color: #765; font-size: 9pt; font-weight: normal; margin: 0 0 8pt 0;}
#tcUserPanel.profile img.photo {float: left; border: solid 1px #876; width: 55px;}
#tcUserPanel.profile .data {margin-left: 65px;}
#tcUserPanel.profile .data div {font-size: 8pt;}
#tcUserPanel.profile .mi {margin-top: 8pt; padding-left: 15pt;
  background-repeat: no-repeat; background-position: left top;}
#tcUserPanel.profile .mi a:link, #tcUserPanel.profile .mi a:visited {text-decoration: none;}
#tcUserPanel.profile .mi a:hover {text-decoration: underline;}
#tcUserPanel.profile .prf {background-image:url(img/profIco.gif);}
#tcUserPanel.profile .inbox {background-image:url(img/inbox.gif);}
#tcUserPanel.profile .invite {background-image:url(img/invite.gif);}
#tcUserPanel.profile .mygroup {background-image:url(img/grpIco.gif);}
#tcUserPanel.profile b.em {background: #c00; color: #fff; padding: 0 3pt;}
#tcUserPanel.profile .inbox img {margin-left: 8pt;}
#tcUserPanel.profile .logoff {background-image:url(img/off.gif);}
#tcUserPanel.profile .logoff b {color: #841; cursor: pointer;}
#tcUserPanel.profile .logoff b:hover {color: #d61; text-decoration: underline;}

#tcUserPanel[dir=rtl].profile img.photo {float: right;}
#tcUserPanel[dir=rtl].profile .data {margin-right: 65px; margin-left: 0;}
#tcUserPanel[dir=rtl].profile .mi {padding-right: 15pt; padding-left: 0; background-position: right top;}
#tcUserPanel[dir=rtl].profile .inbox img {margin-left: 0; margin-right: 8pt;}

.lgnReg {font-size: 10px; margin-top: 5pt;}
.lgnRole {color: #e30; font-weight: bold;}
.lgnRoleMaster {color: #900; font-weight: bold;}
.lgnMsWarn {background: #fde8b3; border: 1px solid #e6ca7f; font-size: 10px; padding: 2pt; margin: 5pt 0;}
.lgnMsWarn div {font-size: 10px; margin: 3pt 0 0 0; text-align: center;}
.lgnMsWarn div b {font-weight: normal; padding-top: 5pt; color: #8b4513; cursor: pointer;}
.lgnMsWarn div b:hover {color: #d61; text-decoration: underline;}
.lgnLst {font-size: 10px; color: #960;}

/* UI language panel */
#tcUILanguage {display: none; position: absolute; box-shadow: 0 0 5px 0 rgba(0,0,0,0.2);
  background: #fec; border: solid 1px #975; width: 210px; padding: 7pt;}
#tcUILanguage h3 {color: #765; font-weight: normal; margin: 0 0 8pt 0;}
