/*
Filename	: hd-main.css
Description	: this is the core css file
By	    	: SA
*/

@import "ieStyle.css";
@import "displaytag.css";

/*******************************************************************************
 HTML Tags
*******************************************************************************/
body
{
	font-family: trebuchet ms, verdana, arial, tahoma;
	font-size: 90%;
	color: #666;
	background-color: white;
	line-height: 180%;
	margin: 0;
	padding: 0;
	text-align: center;
}

label
{
	display: block;

	float: left;
	margin: 5px;
	text-align: right;
	width: 150px;
	padding-right: 20px;

	font-size: 0.9em;
	font-weight: bold;
	color: gray;
}

input, textarea, select
{
	border: 1px solid #DDDDDD;
}

input:hover, textarea:hover, select:hover
{
	border: 1px solid #6699CC;
}

input[type="text"],
input[type="password"],
input[type="file"],
textarea
{
	padding: 2px;
	margin: 2px;
	width: 200px;

        background-color: whitesmoke;

	/*background: transparent url("../img/txtfield.gif") no-repeat scroll center right;*/
}

input[type="submit"],
input[type="reset"],
input[type="button"]
{
	padding: 2px;
	margin: 2px;
	width: 99px;

	letter-spacing: 1px;
	font-size: 0.70em;
	color: #777;
	background-color: #EEEEEE;
}

input[type="submit"]:hover,
input[type="reset"]:hover,
input[type="button"]:hover
{
	cursor: pointer;
}


textarea.contact
{
    height: 40px;
    width: 300px;
    border: 0px solid white;
    background-color: white;
    overflow: hidden;

    float: left;
    margin: 5px;
    font-size: 1.0em;

    font-family: trebuchet ms, verdana, arial, tahoma;
    font-size: 90%;
    color: #666;
}

textarea.contact_chinese
{
    height: 35px;
    width: 290px;
    border: 0px solid white;
    background-color: white;
    overflow: hidden;

    float: left;
    margin: 5px;
    font-size: 1.0em;

    font-family: trebuchet ms, verdana, arial, tahoma;
    font-size: 90%;
    color: #666;
}

br
{
	clear: left;
}

h2
{
	font-size: 110%;
}

h3
{
	font-size: 100%;
}

a:link, a:visited
{
	color: #5b8fbe;
	text-decoration: none;
}

a:hover
{
	color: #666;
	text-decoration: none;
}

img
{
	vertical-align: absmiddle;
	border-width: 0px;
}

fieldset
{
	border-width: 1px 0px 0px 0px;
	border-color: #eee;
	border-style: solid;
	width: 75%;
	min-width: 450px;

	margin-bottom: 10px;
}

legend
{
	color: #ddd;
}

span.value,
span.value-small,
span.textarea
{
	float: left;
	margin: 5px;
	font-size: 1.0em;
}

span.value-small
{
    width: 30px;
}


/*******************************************************************************
 Div Tags
*******************************************************************************/


/* page width - web */
#menu-left-border, #image-banner, #content-left-border, #wrapper-footer
{
	width: 85%;
	margin: 0 auto;
	text-align: left;
}

/* page width - admin */
#menu-left-border-admin, #image-banner-admin, #content-left-border-admin, #wrapper-footer-admin
{
	width: 95%;
	margin: 0 auto;
	text-align: left;
}

/* the top left menu border */
#menu-left-border,
#menu-left-border-admin
{
	background: white url('../img/bg02-white-left.png') no-repeat left top;
        min-height: 39px;
}

/* the top right menu border */
#menu-right-border
{
	padding: 0 0 0 18px;
	background: transparent url('../img/bg02-white-right.png') no-repeat right top;

	/* this is a bug fix for ff */
	overflow: hidden;
	min-height:39px;
}

#menu-right-border ul
{
	margin: 0 20px;
	padding: 1em 0 0 0;
	list-style: none;
	font-size: 85%;

	/* bug fix - allows the top right menu border to be dispalyed in IE */
	/*float: left;*/
	height: 25px;
}

#menu-right-border li
{
	display: inline;
	float: left;
}

#menu-right-border a
{
	float: left;
	background: url(../img/menuleft.png) no-repeat left top;
	margin: 0;
	padding: 0 0 0 4px;
	text-decoration: none;
	line-height: 1.5em;
}

#menu-right-border a span
{
	background: transparent url(../img/menuright.png) no-repeat right top;
	padding: 5px 15px 4px 6px;
	color: #5b8fbe;
	display: block;
	float: left;
	cursor: pointer;
}

#menu-right-border a:hover
{
	background-position: 0% -42px;
}

#menu-right-border a:hover span
{
	background-position: 100% -42px;
}

/* the top main blue row in the background */
#header-background
{
	background: transparent url('../img/bg.png') center center repeat-x;
}

/* the main image in the top banner */
#image-banner-admin
{
	/* please note that every main jsp has it's on image banner and
	   so they have all been placed in the respective jsp directories */
        background: transparent url('../img/home-banner-stripe.jpg') repeat left bottom;
        /*background: transparent url('../img/top_bkg.gif') repeat left top;*/
}

/* the left border of the main image */
#header-left-border
{
	background: transparent url('../img/bg02-blue-left.png') center left no-repeat;
}

/* the right border of the main image */
#header-right-border
{
	background: transparent url('../img/bg02-blue-right.png') center right no-repeat;
}

#image-banner h1,
#image-banner-admin h1
{
	margin: 0 20px;
	padding: 0;
	padding-left: 20px;
	line-height: 1em;
	font-size: 130%;
}

#image-banner h1
{
	color: white;
}

#image-banner-admin h1
{
	color: white;
}

#image-banner h1
{
	height: 132px;
	/* height: 192px; */
}

#image-banner-admin h1
{
	height: 80px;
}

#image-banner h2
{
	font-size: 100%;
}

/* the main content left border */
#content-left-border,
#content-left-border-admin
{
	background: white url('../img/bg02-white-left.png') no-repeat left top;
}



/* the main content right border */
#content,
#content-admin
{
	background: transparent url('../img/bg02-white-right.png') no-repeat right top;
	padding: 5px 245px 5px 40px;

        min-height: 287px;
}


#content-admin h2
{
	font-weight: normal;
}

#content-menu-page
{
	float: right;
	width: 180px;
	margin: 20px 30px 3em 2em;
	background: transparent url('../img/menu.png') no-repeat;
	text-align: center;
	line-height: 140%;
	font-family: "Lucida Grande","Lucida Sans Unicode",arial,sans-serif;

        min-height: 100px;
}

#menu-page
{
	padding-top: 5px;
        /*height: 150px; */
}

#main-logo
{
	padding-top: 70px;
}

#menu-page ul
{
	margin: 0;
	padding: 0;
	list-style: none;
	font-size: 90%;
}

#menu-page h3
{
	font-size: 75%;
	text-transform: uppercase;
	margin: 1em 0 0.3em 0;
	color: #5b8fbe;
	font-weight: normal;
	letter-spacing: 0.15em;
}

#menu-page #info
{
	font-size: 75%;
	margin: 1em 1em 1em 1em;
	font-weight: normal;
	letter-spacing: 0.15em;
        text-align: left;
        color: #bbb;
}

#menu-page a:link, #menu-page a:visited
{
	color: #888;
}

#menu-page a:hover
{
	color: #5b8fbe;
}

#wrapper-footer,
#wrapper-footer-admin
{
	margin-top: 1em;
	text-align: center;
}

#footer
{
	margin: 0 20px;
	background-color: #e5f0fc;
	border: 1px solid #ccc;
	border-bottom: 0;
	clear: both;

        font-size: 0.70em;
        letter-spacing: 0.15em;
}

#error
{
	padding: 0px 250px 0px 0px;
	font-size: 0.70em;
}

#error ul
{
	padding: 15px 0 15px 35px;
	margin: 0;
}

#error li
{
	margin-bottom: 5px;
}

#error h2
{
	color: darkred;
}


/*******************************************************************************
 Style Tags
*******************************************************************************/

.logout, .error, .error-hidden
{

    color: red;
}

.logout, .highlight
{
    font-weight: bold;
}

.error-hidden
{
    display: none;
}

.highlight
{
    /*color: #6699cc;*/
    color: #8eaecd;
}

.auto-form
{
    background-color: #F1F1F1;
    color: gray;

    font-weight: 100;
}

.no-border
{
    border-width: 1px 0px 0px 0px;
}

.column-icon
{
    text-align: center;
    width: 33px;
}

.column-date
{
    width: 80px;
}

.subscript
{
    font-size: 80%;
    font-weight: 100;
    font-style: italic;

    color: #ccc;

    text-align: left;
    vertical-align: bottom;
    height: 16px;
}

div #content .nopadding-top
{
    padding-top:0px;
    margin-top:0px;
}

div #content .nopadding-bottom
{
    padding-top:0px;
    margin-top:0px;
}