/*  
    Administrative Panel CSS
    Sheau Jye Eng
*/
/*  reset */
body, form, h1, h2, h3, h4, h5, h6 {
	margin: 0;
	padding: 0;
}

/* == HTML Elements == */
a:link, a:visited, a:active {
  color: #333333;
  text-decoration: none;
}

a:hover {
  color: #000000;
  text-decoration: underline;
}

html {
  margin:0px;
  padding:0px;
  height:100%;
}

body {
  margin:0px; 
  height:100%;
  font-size: 12px;
  font-family: Arial, Helvetica, Verdana, sans-serif;
	color: #353535;
}

img {
  border: 0;
  vertical-align:bottom;
}

h1 {
	padding: 8px 0;
	font-size: 16px;
	font-weight: bold;
	border-bottom: 3px solid #E4E4E4;
}

h2 {
	font-size: 14px;
	color: #777777;
}

input, select, textarea { 
  font-size: 12px;
}
label
{ vertical-align: top; padding-top:3px; display:inline-block;}
/* == End of HTML Elements == */


/* == Notice / Error == */
.divFcErrorMsg {
  font-family: Arial;
  font-size: 12px;
  padding:4px 6px;
	padding-left:23px;
  color: #CE4141;
	border: 1px solid #CE4141;
	background: url(../imgs/tiny-icons/cross.gif) no-repeat 4px 3px #FFF1F1;
	margin: 4px 0;
}

.divFcNoticeMsg {
  font-family: Arial;
  font-size: 12px;
  padding:4px 6px;
	padding-left:23px;
  color: #2E6D29;
	border: 1px solid #2E6D29;
	background: url(../imgs/tiny-icons/tick.gif) no-repeat 4px 3px #E9FFE4;
	margin: 4px 0;
}

label.error
{
  font-family: Arial;
  font-size: 12px;
  padding:4px 6px;
	padding-left:23px;
  color: #CE4141;
	border: 1px solid #CE4141;
	background: url(../imgs/tiny-icons/cross.gif) no-repeat 4px 3px #FFF1F1;
	display:inline-block;
	margin: 2px 1px;
}
/* == End of Notice Error == */


/* == Modifiers == */
.label{
	color:#FFFFFF;
	background-color:#9BBBC5;
	text-align:right;
	vertical-align:top;
}

.label2{
	color:#333333;
	text-align:right;
	vertical-align:top;
    font-size: 10px;
}

.w30px {
	width: 30px;
}

.w60px {
	width: 60px;
}


.w80px {
	width: 80px;
}

.w100px {
	width: 100px;
}

.w125px {
	width: 125px;
}

.w150px {
	width: 150px;
}

.w200px {
	width: 200px;
}

.w250px {
	width: 250px;
}

.w260px {
	width: 260px;
}


.w300px {
	width: 300px;
}

.w350px {
	width: 350px;
}

.w400px {
	width: 400px;
}

.w450px {
	width: 450px;
}

.w500px {
	width: 500px;
}

.w550px {
	width: 550px;
}

.w600px {
	width: 600px;
}

.w700px {
	width: 700px;
}

.w800px {
	width: 800px;
}

.w850px {
	width: 850px;
}

.w1000px {
	width: 1000px;
}

.w50pc {
	width: 50%;
}

.w75pc {
	width: 75%;
}

.w100pc {
	width: 100%;
}

.left {
	float: left;
}

.right {
	float: right;
}

.bold {
	font-weight: bold;
}

.marginCenter {
	margin: 0 auto;
}

.yes{
  color:#00DC00;
  font-weight:bold;
}

.no{
  color:#DC0000;
  font-weight:bold;
}

.clearBoth{
  clear:both;
  font-size:0;
  height:0;
}

/* == End of Modifiers == */


/* == Tabular Table == */
.tabularTable {
	margin: 10px 0;
	color: #363A3D;
	border:1px solid #C0C0C0;
}

.tabularTable tr td,.tabularTable tr th {
	padding: 4px 5px;
	/*	background: #FEFEFE;	*/
	vertical-align:top;
}

.tabularTable tr.alt td,.tabularTable tr.alt th {
	background: #E7E7E7;
	vertical-align:top;
}

.tabularTable tr.titleRow td,.tabularTable tr.titleRow th {
	font-weight: bold;
	border-bottom: 1px solid #ffffff;
	background: #DDDEDF;
	vertical-align:top;
	padding: 6px 5px;
	font-size:13px;
}

.tabularTable tr.pagingRow td {
	border-top: 1px solid #ffffff;
	background: #DDDEDF;
	vertical-align:top;
}

.tabularTable tr.actionRow td {
	border-top: 1px solid #ffffff;
	border-bottom: 1px solid #ffffff;
	background: #DDDEDF;
	vertical-align:top;
}

.tabularTable td.label {
	color:#333333;
	background: #E7E7E7;
}

.tabularTable td a:link,.tabularTable td a:hover,.tabularTable td a:active,.tabularTable td a:visited
{
    text-decoration:none;
}
/* == End of Tabular Table == */

/* == Gridview SORT STYLE == */
/* @@ generate grid table	@@*/
.gv
{
	margin: 10px 0;
	color: #363A3D;    
  border-top:1px solid #C0C0C0;  
  border-left:1px solid #C0C0C0;  
  border-bottom:1px solid #C0C0C0; 
}

.gv td, .gv th{     
  border-right:1px solid #C0C0C0;
  vertical-align:top;  
  padding: 4px 5px;
}

.gvHeader th, .gvHeader td{   
  font-weight: bold;	
	border-right: 1px solid #C0C0C0;
	border-bottom: 1px solid #C0C0C0;
	background: #DDDEDF;
	vertical-align:top;
	padding: 6px 5px;
	font-size:13px;
	text-align:left;
}

.gvAlterRow td{
  background: #E7E7E7;
	vertical-align:top;
}

.gv td a:link,.gv td a:active,.gv td a:visited
{
  text-decoration:none;
}

.gv td a:hover
{
  text-decoration:underline;
  color: black;
}

.gv tr.pagingCol td {
  border-top: 1px solid #C0C0C0;
  background: #DDDEDF;
  padding:5px;  
}

.gv tr.pagingCol td a
{
  color:#363A3D;
  text-decoration:none;
  padding:0 2px;
}

.gv tr.pagingCol td a:hover
{
  color:#000000;
  text-decoration:underline;
  padding:0 2px;
}

span.gvLinkSel
{
  color:#000000;
  font-weight:bold;  
  padding:0 2px;
}

/*== gv	==*/

/*== seach table	==*/
.tblSearch
{
	border:1px solid #C0C0C0;	
}

.tblSearch td
{
	padding:7px 3px;
}

.tblSearch .trSearchBtnPnl td
{
	background-color:#ECECEC;
	border-top:1px solid #C0C0C0;
	text-align:right;
}


/* == Input Table == */
.compulsory{
    color: red;
    font-family: 'Times New Roman';
    font-size: 14px;
}

.inputTable {
	border-collapse: collapse;
	border: 1px solid #B7CBD8;
	margin: 5px 0;
	background: #E7EFF4;
}

.ddlError{
    display: none;
    margin-top: 8px;
}

.amsForm input[type=text], .amsForm textarea, .amsForm select{
    width: 300px;
    font-family: Arial;
}

.inputTable textarea{
    height: 100px;
}

.inputTable tr {
	padding:4px;
}

.inputTable td {
	padding:  4px;
	vertical-align:top;
}

.inputTable td .form_label{
	padding:  4px;
	vertical-align:middle;
    width: 150px;
}

.inputTable td .top {
    vertical-align:top;
}

.inputTable td .bottom {
    vertical-align:bottom;
}
/* == End of Input Table == */

/* == Input Table == */
.inputTable2 {
	border-collapse: collapse;
	border: 1px solid #B7CBD8;
	margin: 5px 0;
	background: #FFFFFF;
}

.inputTable2 tr {
	padding:4px;
}

.inputTable2 td {
	padding:  4px;
	vertical-align:top;
}

/*** input 3	***/
.inputTable3 {
	border-collapse: collapse;	
	margin: 5px 0;	
}

.inputTable3 td {
	padding:  4px;
	vertical-align:top;
}

.bgForInputTable3
{
	background: #E7EFF4 !important;
}

/*	common tbl */
.divCommonWrapper{
	padding:0px 8px;
	background:#E7EFF4;
	border: 1px solid #B7CBD8;
}
/* == End of Input Table == */

/* == Action Table == */ 
.actionRow td{
	border-top:1px solid #FFFFFF;
	border-bottom:1px solid #FFFFFF;
	background: #DDDEDF;
}

.actionTable {
  width: 100%;
}

.actionCol {
  border: 0 !important;
}
/* == End of Action Table == */


/* == Paging == */


table tr.pagingCol2 td {
  border-top: 1px solid #FFFFFF;
  background: #DDDEDF;
  padding:4px 0px 4px 0px;
  /*padding:2px 0px 2px 0px;*/
}

table tr.pagingCol2 td a:link, table tr.pagingCol2 td a:active, table tr.pagingCol2 td a:visited {
  color: black;
  border:0px solid #FFFFFF;
}

table tr.pagingCol2 td table td
{
    border:0px solid #FFFFFF;
    padding:2px 2px 2px 2px;
    /*padding:1px 1px 1px 1px;*/
}

/* == End of Paging == */


/* == SORT STYLE == */
a.sortAsc:link,a.sortAsc:visited,a.sortAsc:active,a.sortAsc:hover{
   
   background-image:url(../imgs/ico-sortdesc.gif);
   background-repeat:no-repeat;
   background-position:right 2px;
   padding-right:12px;
   text-decoration:none;
   color:#363A3D;
}

a.sortDesc:link,a.sortDesc:visited,a.sortDesc:active,a.sortDesc:hover{
   background-image:url(../imgs/ico-sortasc.gif);
   background-repeat:no-repeat;
   background-position:right 2px;
   padding-right:12px;
   text-decoration:none;
   color:#363A3D;
}

a.sortNone:link,a.sortNone:visited,a.sortNone:active,a.sortNone:hover{
   background-image:url(../imgs/ico-sortnone.gif);
   background-repeat:no-repeat;
   background-position:right 2px;
   padding-right:12px;
   text-decoration:none;
   color:#363A3D;
}

/* == End of SORT STYLE == */

/* == Button Styles == */
.orangeBtn80 {
  background: url(../imgs/buttons/orange-80.gif);
	width: 80px;
	height: 22px;	
	border: 0;
	color: white;
	font-weight: bold;
	font-family: Tahoma;
	font-size: 11px;	
	line-height:18px; /*	for IE */	
	padding-bottom:3px;/*	for ff */
	margin:0 2px;
}

.orangeBtn105 {
  background: url(../imgs/buttons/orange-105.gif);
	width: 105px;
	height: 22px;
	border: 0;
	color: white;
	font-weight: bold;
	font-family: Tahoma;
	font-size: 11px;
	line-height:18px; /*	for IE */	
	padding-bottom:3px;/*	for ff */
	margin:0 2px;
}

.orangeBtn130 {
  background: url(../imgs/buttons/orange-130.gif);
	width: 130px;
	height: 22px;
	border: 0;
	color: white;
	font-weight: bold;
	font-family: Tahoma;
	font-size: 11px;
	line-height:18px; /*	for IE */	
	padding-bottom:3px;/*	for ff */
	margin:0 2px;
}

.orangeBtn180 {
  background: url(../imgs/buttons/orange-180.gif);
	width: 180px;
	height: 22px;
	border: 0;
	color: white;
	font-weight: bold;
	font-family: Tahoma;
	font-size: 11px;
	line-height:18px; /*	for IE */	
	padding-bottom:3px;/*	for ff */
	margin:0 2px;
}

/* == End of Button Styles == */




/* == Menu (Suckerfish) == */
#menu, #menu ul {
	padding: 0;
	margin: 0;
	list-style: none;
}

#menu li {
  float:left;
	margin-right: 1px;	
}

#menu li.break {
  border-top:2px solid #FF931F;
}

#menu li a {  
	display: block;
	color: white !important;
	font-size: 13px;
	line-height: 22px;
	text-decoration: none;
	padding: 0 14px;
	padding-top: 2px;
}

#menu li a:hover {
	padding-top: 2px;
}

#menu li:hover, #menu li.sfhover, #menu a.selected {
	background: url(../imgs/menu-item-bg.gif) repeat-x #FEA510;
}

#menu li ul {
	position: absolute;
	left: -999em;
	background: #FFF3DE;	
	border: 2px solid #FE8C13;
	z-index:100;
}

#menu li:hover ul, #menu li.sfhover ul {
	left: auto;
}

#menu li ul li {
	clear: left;
	margin: 0px;
}

#menu li ul li a {
	display: block;
	width: 140px;
	color: black !important;
	font-weight: normal;
	font-size: 12px;
	padding: 5px 13px;
	border: 0;
	border-bottom: 1px solid #FFD289;
	line-height: normal;
}

#menu li ul li a:hover {
	background: #FFD289;
	border: 0;
	border-bottom: 1px solid #FFD289;
	padding: 5px 13px;
}

/* ## IE 6 Fix ## */
* html ul.nav iframe {
	position: absolute;
	left: -0.25em;
	top: -0.25em;
	z-index: 0;
	filter: progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0);
}

/* - IE 5 Fix -
select.hide { visibility: hidden; }
/* ## End of IE 6 Fix ## */
/* == End of Menu (Suckerfish) == */


/* == Others == */
#breadcrumb {
	padding: 6px 0;
	border-bottom: 1px solid #E4E4E4;
}

#mainWrapper{
  margin:auto;
  min-height:100%;
  margin-bottom:-31px;
}

* html #mainWrapper{ /* IE6 and under treat height as min-height anyway*/
  height:100%;
}

#contentWrapper {
	background: #FFFFFF;
	padding: 0 30px;	
	padding-bottom:30px;	
}

#contentDiv {
  padding: 20px 0;
  margin-bottom:15px;  
}

#footerWrapper {
  /*
  position: relative;
  margin-top: -31px;
  */
	height: 31px;
	line-height: 31px;
	background: url(../imgs/footer-bg.gif) repeat-x #EAEAEA;
	padding: 0 30px;
	color: #454545;
	font-size: 12px;
}

#footerWrapper div {
	padding-top: 0px;
}

#footerWrapper #footerLeft {
	float: left;
	display:none;
}

#footerWrapper #footerLeft a {
	background: url(../imgs/forecepts-tiny.gif) no-repeat right top;
	padding-right: 26px;
}

#footerWrapper #footerRight {
	float: right;
}

#clearfooter { /*needed to make room for footer*/
  clear:both;
  height:50px;
}

#headerWrapper {
  height: 54px;
  background: url(../imgs/header-bg.gif) repeat-x left top;
  padding: 0px 30px 0px 0px;
}

#logo {
  float: left;	
  height:52px;  
  background-color:#FFFFFF;
  background: url(../imgs/header-bg.gif) repeat-x left top;
  padding-left:30px;  
  padding-top:5px;   
}

#menuWrapper {
	background: url(../imgs/menu-bg.gif) repeat-x #9BBBC5;
	height:24px;
	padding: 0 30px;
}

.thinLine {
	height: 1px;
	font-size: 0;
	background: #E4E4E4;
	margin: 3px 0;
}

.thickLine {
	height: 3px;
	font-size: 0;
	background: #E4E4E4;
	margin: 3px 0;
}


.orangeLine {
	background: #FEA510;
	height: 3px;
	font-size: 0px;
}

.none{
  border:0px;
  margin:0px;
  padding:0px;
}

#pageTitle {
  float: left;
  font-size: 22px;
  font-family: Verdana;
  padding-top: 16px;
  color: #FFFFFF;
  padding-left: 15px;
}

#welcomeWrapper {
  float: right;
  font-size: 11px;
	line-height: 54px;
  font-family: Tahoma;
  color: white;
}

#welcomeWrapper a:link, #welcomeWrapper a:active, #welcomeWrapper a:visited {
	color: #FEA510;
}

#welcomeWrapper span {
	color: #FEA510;
	padding-left: 10px;
}
/* == End of Others == */

div.leftpanel
{
    width:220px;
    float:left;
    overflow:auto;
}

div.rightpanel
{
    width:746px;  
    float:left;
    padding-left:10px;
    padding-bottom:20px;
    background-image:url(../imgs/dot-ver.gif);
    background-repeat:repeat-y;
    background-position:top left;
}
div.rightpanel div.rightTitle
{ height:32px; line-height:32px; font-size:16px; font-weight:bold;  }

div.hrline
{
    background-image:url(../imgs/dot-hor.gif);
    background-repeat:repeat-x;
    background-position:top left;
    height:3px;
    font-size:3px;
}

div#divTree table td
{ vertical-align:top;  }
div#divTree img
{ vertical-align:middle; border:0; }
div#divTree a
{ text-decoration:none; padding-top:2px; display:inline-block; }
div#divTree a:hover
{ text-decoration:underline; }
div#divTree td.selected
{ background: #f0a030; padding-left:3px; padding-right:3px; }
div#divTree td.selected a
{ color: #ffffff;}

/*
div.tree a
{
    display:block;
    margin:0px 0px 0px 0px;
    padding:0px 0px 0px 0px
}

div.tree img
{
    padding:0px 3px 0px 3px;
}

a.treesel:link,a.treesel:visited,a.treesel:active,a.treesel:hover
{
    display:block;
    margin:0px 0px 0px 0px;
    background-color:#FEA510;
}
*/

.pnlTools
{ padding-top:10px; }

.icon_folder
{
    background-image:url(../imgs/icons/folder-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_pfolder
{
    background-image:url(../imgs/icons/pfolder-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_page
{
    background-image:url(../imgs/icons/page-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_page_r
{
    background-image:url(../imgs/icons/redirect-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_document
{
    background-image:url(../imgs/icons/document-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_picture
{
    background-image:url(../imgs/icons/picture-s.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.icon_download
{
    background-image:url(../imgs/icons/download.gif);
    background-repeat:no-repeat;
    padding-left:25px;
    display:block;
}

.nopadmar
{
     padding:0px;
     margin:0px;
}

a.breadcrumlb:active,a.breadcrumlb:link,a.breadcrumlb:visited
{
    text-decoration:none;
}

a.breadcrumlb:hover
{
    text-decoration:underline;
}

a.imgBrowse:active,a.imgBrowse:link,a.imgBrowse:visited
{
    width:100px;
    float:left;   
    text-decoration:none;
    display:block;
    text-align:center;    
    padding:5px;
    margin:5px;    
    border:1px solid #c1c1c1;
}

a.imgBrowse:hover
{    
  border:1px solid #FE9D10;  
  background-color: #FFF0DB;       
}

img.imgBrowseImg
{
    border:0px;
    vertical-align:top;
    display:block;
    margin:auto;
    text-align:center;
    padding-bottom:3px;
}

.margint5px
{
    margin-top:5px;
}

.trBtnPanel td
{
	padding-top:10px;
	padding-bottom:10px;
}

.divPanel
{
	text-align:right;
	padding-top:8px;
}

.trHeader
{
	background:#77969F;
	color:#ffffff;
	font-weight:bold;
	font-size:13px;
	border:1px solid #B7CBD8;
}

.spNew{
	color:#CF0000;
	font-weight:bold;
}

.spRejected{
	color:#787878;
	font-weight:bold;
}

.spInProcess{
	color:#017F00;
	font-weight:bold;
}

.spApproved{
	color:#01DF00;
	font-weight:bold;
}

.divLog
{ height:300px; overflow:auto; border:1px solid #AFAFAF; margin:5px 0; padding:3px; border:3px solid #e0e0e0; }

.divPreview
{ padding:5px 0; }

.divPreview iframe
{ width:99%; height:350px; border:3px solid #e0e0e0;}

.readOnly
{ background-color: #efefef; border: 1px solid #C1C1C1; padding:3px 2px;}
/*  overwrite jquery ui css */
div.ui-tabs
{ background:none; } 

/*  img broswe  */
#divBrowseBreadcrumbWrapper
{ font-size:14px; padding:10px 0; }

h1#h1Browse span
{ cursor:pointer; display:inline-block; }
h1#h1Browse span
{ margin-left:10px; }
h1#h1Browse span:first-child
{ margin-left:50px; }

#divNewFolder, #divNewFile
{ border-left:3px solid #E4E4E4; border-bottom:3px solid #E4E4E4; border-right:3px solid #E4E4E4; padding:15px 10px; margin-bottom:10px; }
#divNewFolder h2, #divNewFile h2
{ padding-bottom:10px; }












/****ShiHua****/
/**** Sortable ***/
ul#ulImage{
 list-style-type: none;
 padding:0px;
 margin:0px;
}

ul#ulImage li{
 float:left;
 margin:0px 20px 20px 0px;
 width:auto;
 border:1px solid #C0C0C0;
}

ul#ulImage .imageWrapper{
 background:#303030;
 border:5px solid #cfcfcf;
 border-bottom:0px;
 width:auto;
 height:109px;
}

ul#ulImage .ctrlPn{
 border:5px solid #cfcfcf;
 border-bottom:0px;
 background:#cfcfcf;
 padding:2px 0px;
 width: auto;
}

ul#ulImage .imageCaption{
 min-width:145px;
 border:5px solid #cfcfcf;
 border-right:0px;
 border-left:0px;
}

/**VIDEO***/
ul#ulVideo{
 list-style-type: none;
 padding:0px;
 margin:0px;
}

ul#ulVideo li{
 float:left;
 margin:0px 20px 20px 0px;
 width:auto;
 border:1px solid #C0C0C0;
}

ul#ulVideo .videoWrapper{
 background:#303030;
 border:5px solid #cfcfcf;
 width:auto;
 height:90px;
}

ul#ulVideo .ctrlPn{
 border:5px solid #cfcfcf;
 border-bottom:0px;
 background:#cfcfcf;
 padding:2px 0px;
 width: auto;
}

ul#ulVideo .imageCaption {
 width:120px;
 border:5px solid #cfcfcf;
 border-right:0px;
 border-left:0px;
 
}

ul#ulVideo textarea
{
  resize: none
}


#tabPhotoWrapper
{
  margin-top:10px;
}

#tabPhotoWrapper.ui-widget-content
{
  border:none !important;
}

/*
************************
*** MARS ***************
************************
*/

#programme_application > table 
{
}
#programme_application span.container 
{
    display: inline-table;
    width: 36px;
}
#programme_application table.rdoList 
{
    margin-top: -8px;
    border-collapse: collapse;
}
.displayTbl 
{
    width: 700px;    
}

/* Photo Gallery*/
.photoGalleryInstructions, .photoGalleryUpload{
    display: none;
}

.photoGalleryInstructions{
    width:280px;
    float: left;    
}

.photoGalleryUpload{
    width: 750px;
}

/* Folder Permission Error */
.noPermission, .folderPermissionError{
    display: none;
}

/*begin - AMS*/
.pageSubHeader{
    font-size: 14px;
    font-weight: bold;
}
/*end - AMS*/

.viewallnews{
position: absolute;
float: right;
margin-top: -202px;
font-size: 11px;
margin-left: 648px;
color: #333333;
}