/********************************************
   AUTHOR:  			Erwin Aligam 
   WEBSITE:   			http://www.styleshout.com/
	TEMPLATE NAME:		Envision
   TEMPLATE CODE: 	S-0013
   VERSION:          1.0          	
 *******************************************/
 
/********************************************
   HTML ELEMENTS
********************************************/ 

/* Top Elements */
* { margin: 0; padding: 0; }

body {
	background: #CCC;
	color: #555; 
	text-align: center;

}

/* links */
a, a:visited {
	text-decoration: none;
	color: #2180BC;
	background: inherit;
	outline: none;
	hlbr:expression(this.onFocus=this.blur());
}
a:focus { -moz-outline-style: none; }
a:hover {
	color: #88ac0b;
	background: inherit;
	text-decoration: underline;
}

/* headers */
h1, h2, h3 {
	font-family: 'Trebuchet MS', Tahoma, Sans-serif;
	font-weight: Bold; 		
}
h1 {
	font-size: 130%;	
}
h2 {
	font-size: 120%;
	text-transform: uppercase;
	color: #88ac0b;
}
h3 {
	font-size: 16px;
	color: #88ac0b;;
	text-align: center; 
}

/* images */
img {
	background: #FAFAFA;
   border: none;
 	padding: 2px;
}

h1, h2, h3, p {
	padding: 10px;		
	margin: 0;
}
ul, ol {
	margin: 5px 0px;
	padding: 0 20px;
}
ul li {
	list-style-image: url(images/bullet.gif);
}
.news li{
	padding: 5px 15px;
}
	
ol li{
	padding: 5px;
	}
code {
  margin: 5px 0;
  padding: 10px;
  text-align: left;
  display: block;
  overflow: auto;  
  font: 500 1em/1.5em 'Lucida Console', 'courier new', monospace ;
  /* white-space: pre; */
  background: #FAFAFA;
  border: 1px solid #f2f2f2;  
}
acronym {
  cursor: help;
  border-bottom: 1px solid #777;
}
blockquote {
	margin: 10px;
 	padding: 28px;  
   	border: 1px solid #f2f2f2;
   	font-size:12px;
	line-height: 20px;
  	/*background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;*/
	background: url(images/table_bg.gif) repeat-x;     
}
blockquote.notify {
	margin: 10px;
 	padding: 28px;  
   	border: 1px solid #f2f2f2;
   	font-size:20px;
	line-height: 20px;
  	/*background: #FAFAFA url(images/quote.gif) no-repeat 5px 5px;*/
	background: url(images/table_bg.gif) repeat-x;     
}
.emph{
	color:#FF0000;
}
.emph2{
	color:#FF0000;
	font-size:12px;
}
/* start - table */
table.login {
	border-collapse: collapse;
	margin: auto;
	border: solid 1px gray;	
}
.login td, th{
	border: solid 1px gray;	
	}
th {
	height: 29px;
	padding-left: 12px;
	padding-right: 4px;
	color: #000000;
	text-align: right;
}
table.login tr:hover {
	background: url("images/shimx.gif")  repeat-x top left;
}

tr {
	height: 30px;
}
td {
	padding: 11px;
	border-bottom: solid 2px #FFF;
}

tr.row-a {
	background:#F5FAFA;
	border: solid 1px gray;	
}
tr.row-b {
	background:#fff ;
	border: solid 1px gray;	
}
/* end - table */

/* start - submittable */
table.submit {
	border-collapse: collapse;
	margin: auto;	
	
}
table.submit th {
	text-align:center;
	border:solid 1px gray;
	}
table.submit td{
	border:solid 1px gray;
}
/* end - submittable */
/*toolbar table*/
table.toolbar {
	border-collapse: collapse; 
	font-size: 12px;
	text-align: center;
}
.toolbar td
{
	padding: 2px;
	color:#000000;
}
.toolbar tr{
	background: #FFFFFF; 
	}
/*bill table*/
table.bill {
	border-collapse: collapse; 
	font-size: 12px;
	margin: auto;
	width: 720px;
}
.bill input{
	border:1px solid #cccccc;
	}

.row-bill th{
	border: 1px solid gray;
	background-color:#0099cc;
	color:#FFFFFF;
	text-align:center;
}
.bill th{
	border: 1px solid gray;
	}
.bill td
{
	padding: 10px;
	border: 1px solid gray;
	color:#000000;
	text-align:left;
}
.bill tr{
	background: #FFFFFF; 
	}
/*cart table*/
#mycart table {
	border-collapse: collapse; 
	font-size: 12px;
	text-align: center;
}
#mycart th{
	border: 1px solid black;
	color: #ffffff;
	background-color: #0099cc;
	text-align:center;
	padding: 2px;
	}
#mycart td
{
	border: 1px solid black;
	padding: 1px;
	color:#000000;
}
#mycart tr{
	background:#D3E4E5; 
	}
#mycart .odd{
	background:#FFF;
	}

/*case table*/
table.list {
	border-collapse: collapse;
	margin: auto;
	font-size: 12px;
	line-height:20px;
}
table.list th {
	text-align:center;
	padding: 2px;
	border: 1px solid gray;
	color: #ffffff;
	background-color: #0099cc;
}

table.list tr{
	background: #FFFFFF;
	color: #000000;
}
table.list tr:hover {
	background-color: rgb(255,255,153);
	color: #000000;
}
table.list td {
	color: rgb(80,80,80);
	border: 1px solid gray;
	padding:6px;
}
table.list tr:hover {
	background-color: rgb(255,255,153);
	color: #000000;
}

table.list tr.view {
	border-bottom: 1px solid #0070a6;
	text-align: left;
}
.nav {
	font-family: Verdana, Arial;
	font-size: 12px;
	text-align:center;
}

.addToCartButton {
	font-family: Arial, Helvetica, sans-serif;
	font-size: 12px;
	color:#333333;
	font-weight:bold;
	border: 1px solid #336699;
	background-color:#FFCC00;
}

/*

#mycart .odd
{
	background: #e8edff; 
}
#mycart{ 	
	width: 90%;
	background: #FFFFFF;
    margin:20px 20px 20px 0px;	
	z-index:10;
}
#mycart table{
	width: 250px;
	border-collapse: collapse;
	border: 1px solid gray;
	font-size: 12px;
	text-align: center;
}*/
/* form elements */
form {
	margin:10px; padding: 0 5px;
	border: 1px solid #f2f2f2; 
	background: url(images/table_bg.gif) repeat-x; 
}
form.billform { 
	background: #FFFFFF;
	border: 0;  
}
label {
	display:block;
	font-weight:bold;
	margin:5px 0;
}
input {
	padding:2px;
	border:1px solid #eee;
	font: normal 1em Verdana, sans-serif;
	color:#777;
}
textarea {
	width:400px;
	padding:10px;
	font: normal 1em Verdana, sans-serif;
	border:1px solid #cccccc;
	height:100px;
	display:block;
	color:#777;
}
input.button { 
	height: 24px;
	margin: 0;
	padding: 2px 3px; 
	color: #FFF;
	background: #8EB50C url(images/button-bg.jpg) repeat-x 0 0;
	border: none;
}

/* search form */
.searchform {
	background-color: transparent;
	border: none;	
	margin: 0; padding: 5px 0 15px 0;	
	width: 190px;	
}
.searchform p { margin: 0; padding: 0; }
.searchform input.textbox { 
	width: 120px;
	color: #777; 
	height: 18px;
	padding: 2px;	
	border: 1px solid #E5E5E5;
	vertical-align: top;
}
.searchform input.button { 
	width: 60px;
	height: 24px;
	padding: 2px 5px;
	vertical-align: top;
}

/********************************************
   LAYOUT
********************************************/ 
#wrap {
	width: 820px;
	background: #CCC url(images/content.jpg) repeat-y center top;
	margin: 0 auto;
	text-align: left;
}
#content-wrap {
	clear: both;
	width: 760px;
	padding: 0; 
	margin: 10px auto;
}
#header {
	width: 820px;
	position: relative;
	height: 103px;
	background: #CCC url(images/header.jpg) no-repeat center top;
	padding: 0;	
	color: #FFF;
	/* font-size: 14px; */
}
#header h1#logo-text {
	position: absolute;
	margin: 0; padding: 0;
	font: bolder 44px 'Trebuchet MS', Arial, Sans-serif;
	letter-spacing: -2px;
	color: #FFF;
	text-transform: none;
	
	/* change the values of top and left to adjust the position of the logo*/
	top: 25px; left: 47px;	
}
#header p#slogan {
	position: absolute;
	margin: 0; padding: 0;
/*	font: normal 12px 'Trebuchet MS', Arial, Sans-serif;
	text-transform: none;
	color: #FFF;
	
	/* change the values of top and left to adjust the position of the slogan*/
	top: 10px; left: 55px;		
}

/* header links */
#header #header-links {
	position: absolute;
	top: 20px; right: 30px;	
	color: #C6DDEE;
	font-size: 12px;	
}
#header #header-links a {	
	color: #FFF;
	text-decoration: none;	
}
#header #header-links a:hover {
	color: #D4E59F;	
}
/*drop down menu*/
#menu {	
	clear: both;	
	margin: 0 auto; padding: 0;
	background: url(images/menu.jpg) repeat-x 0 0;	
	font-size:14px;
	font-weight:bold;
	height: 37px;
	width: 780px;
}	
#menu li {	
	float: right;
	list-style: none;
}

#menu li a {	
	display: block;
	padding: 10px;
	color: #FFF;	
	text-decoration: none;
	white-space: nowrap;
	noFocusLine:expression(this.onFocus=this.blur());
}

#menu li a:focus {-moz-outline-style: none} /* For Firefox */
#menu li a:hover {
	color: #D4E59F;	
}
#menu li.last a {
	padding-right: 15px;	
}

#menu li ul {	
	margin: 0;
	padding: 0;
	position: absolute;
	visibility: hidden;
	border-top: 1px solid white;
	z-index:10;
}		
#menu li ul li {	
	float: none;
	display: inline;
}
#menu li ul li a { 
	width: auto;
	color: #FFFFFF;
	background: url("images/menu.jpg")  repeat-x;

}
#menu li ul li a:hover {	
	color: #000000;
}
/*end rop down menu*/



/* Main Column */
#main {
	float: left;
	width: 70%;
	padding: 0; margin: 0 0 0 5px;
	display: inline;
	font-size: 16px;
	font-family:"Times New Roman", Times, serif;
}
#main h1 {
	margin-top: 10px;
	font: Bold 18px '新細明體';
	color: #88ac0b; 
	padding: 5px 0 5px 25px; 	
	border-bottom: 1px solid #EFF0F1;
	background: #FFF url(images/square-green.png) no-repeat 3px 50%;	
}
#main h3 {
	margin-top: 10px;
	font: Bold 18px '新細明體';
	color: #88ac0b; 
	padding: 5px 0 5px 0; 	
}

/* Sidebar */	
#sidebar {
	float: right;
	width: 26.5%;
	padding: 0; margin: 0;	
	color: #68774A;	
}	
#sidebar h1 {
	margin-top: 10px;
	padding: 5px 5px; 
	font: Bold 18px '新細明體';
	color: #728D26;	
	text-align:center;
}
#sidebar ul.sidemenu {
	list-style: none;
	text-align: left;
	font-size:12px;
	font-family:"Times New Roman", Times, serif;
	margin: 7px 4px 8px 0; padding: 0;
	text-decoration: none;		
	background: url(images/dots.jpg) repeat-x left top;
}
#sidebar ul.sidemenu li {
	list-style: none;
	font-size:12px;
	font-family:"Times New Roman", Times, serif;
	background: url(images/dots.jpg) repeat-x left bottom;
	padding: 4px 0 4px 5px;
	margin: 0 2px;	
	color: #68774A;	
}
* html body #sidebar ul.sidemenu li {
	height: 1%;
}
#sidebar ul.sidemenu li a {
	text-decoration: none;	
	background-image: none;	
	color: #666666;			
}
#sidebar ul.sidemenu li a:hover {	
	color: #1773BC;	
}
/* Footer */	
#footer {
	color: #C6DDEE;
	background: #CCC url(images/footer.jpg) no-repeat center top;
	clear: both;
	width: 820px;
	height: 65px;
	padding-top:5px;
	text-align: center;	
	font-size: 12px;
	font-family:Arial, Helvetica, sans-serif;	
}
#footer a { 
	color: #FFF;
	text-decoration: none; 
}

/* alignment classes */
.float-left  { float: left; }
.float-right { float: right; }
.align-left  { text-align: left; }
.align-right { text-align: right; }

/* display and additional classes */
.clear { clear: both; }

/*from old css*/

.username {
    	background-image: url(img/16m.png);
    	background-repeat: no-repeat;
    	background-position:left;
    	background-color:#FFFFFF;
    	font:normal 12px Arial;
    	padding:3px 5px 3px 19px;
		border:1px solid #3b6e22;
		-moz-border-radius: 5px;
		color:#666666;
		width:150px;
}
.username:focus, .username:hover {
	background-color:#F0FFE6;
}
 .password {
    	background-image: url(img/16s.png);
    	background-repeat: no-repeat;
   		background-position:left;
   		background-color:#FFFFFF;
    	font:normal 12px Arial;
    	color: #999999;
    	padding:3px 5px 3px 19px;
		border:1px solid #3b6e22;
				-moz-border-radius: 5px;
		color:#666666;
		width:150px;
}
.password:focus, .password:hover {
	background-color:#F0FFE6;
}  


.green{
	background:url(img/green.gif);

	border:1px solid #3b6e22;
	padding: 4px;
	color:#FFFFFF;
	font-size:12px;
	text-align:center;
	text-decoration:none;
			-moz-border-radius: 5px;
}
.LV_validation_message{
    font-weight:bold;
    margin:0 0 0 5px;
}

.LV_valid {
    color:#00CC00;
}
	
.LV_invalid {
    color:#CC0000;
}
    
.LV_valid_field,
input.LV_valid_field:hover, 
input.LV_valid_field:active,
textarea.LV_valid_field:hover, 
textarea.LV_valid_field:active {
    border: 1px solid #00CC00;
}
    
.LV_invalid_field, 
input.LV_invalid_field:hover, 
input.LV_invalid_field:active,
textarea.LV_invalid_field:hover, 
textarea.LV_invalid_field:active {
    border: 1px solid #CC0000;
}
INPUT.spinbox-active {
	background-repeat:no-repeat;
	background-position:right 0px;
	background-image:url(images/spinbox-sprite.png);
}
INPUT.spinbox-active.spinbox-up-hover {
	background-position:right -18px;
	cursor:pointer;
}
INPUT.spinbox-active.spinbox-down-hover {
	background-position:right -36px;
	cursor:pointer;
}
INPUT.spinbox-active.spinbox-up {
	background-position:right -72px;
	cursor:pointer;
}
INPUT.spinbox-active.spinbox-down {
	background-position:right -54px;
	cursor:pointer;
}
#hor-zebra
{
	text-align: center;
	border-collapse: collapse;
	border: 1px solid gray;
	margin:auto;
}
#hor-zebra th
{
	color: #039;
	text-align:right;
	border: 1px solid gray;
	padding:6px;
	font-family:"細明體";
	font-size:16px;
}
#hor-zebra td
{
	color: #039;
	border: 1px solid gray;
	padding:6px;
	font-family:"細明體";
	font-size:16px;

}
#hor-zebra .odd
{
	background:#fff2e3; 

}