@charset "utf-8";
/* CSS Document */
    nav {
	font:normal 18px "Nimbus Sans L", "Helvetica Neue", "Lucida Sans Unicode", Sans-serif;
	}
	nav a {
		display:block; 
		padding:10px 20px; 
		text-decoration:none;
		background-color:#4c0000; 
		/* for IE */
		filter:alpha(opacity=60);
		/* CSS3 standard */
		opacity:0.3;
		color:#ffffff; 
		border:1px solid #fff;
	}
	nav a:hover { 
		background-color:#9B0000; 
		color:#ffffff; 
		}
	nav ul {
		padding:0;  
		list-style-type:none;
		/*border:1px solid #666;*/
	}
	nav ul li { float:right; position:relative; /* border-bottom:1px solid #666; */}
	nav ul li:last-child { border-bottom:none; }
	nav ul li ul {
		display:none;
		position:absolute; 
		top:34px; 
		left:0px;
		z-index:999; 
		-moz-border-radius-bottomleft:7px; 
		-moz-border-radius-bottomright:7px;
		-webkit-border-bottom-left-radius:7px;
		-webkit-border-bottom-right-radius:7px;
		border-bottom-left-radius:7px; 
		border-bottom-left-radius:7px;
		/*-moz-box-shadow:0px 4px 10px #F0E8D5;
		-webkit-box-shadow:0px 4px 10px #F0E8D5;
		box-shadow:0px 4px 10px #F0E8D5;*/
	}
	nav ul li ul li a { white-space:pre; width:120px;}
	nav ul li ul li:last-child a {
		-moz-border-radius-bottomleft:7px;
		-moz-border-radius-bottomright:7px;
		-webkit-border-bottom-left-radius:7px;
		-webkit-border-bottom-right-radius:7px;
		border-bottom-left-radius:7px; border-bottom-left-radius:7px;
	}

#slideshow {
	margin:45px 0 45px auto;
	width:731px;
	height:263px;
	background:transparent url(img/bg_slideshow.png) no-repeat 0 0;
	position:relative;
}
#slideshow #slidesContainer {
  margin:0 auto;
  width:560px;
  height:263px;
  overflow:auto; /* allow scrollbar */
  position:relative;
}
#slideshow #slidesContainer .slide {
  margin:0 auto;
  width:560px; /* reduce by 20 pixels of #slidesContainer to avoid horizontal scroll */
  height:263px;
}

/** 
 * Slideshow controls style rules.
 */
.control {
  display:block;
  width:39px;
  height:263px;
  text-indent:-10000px;
  position:absolute;
  cursor: pointer;
}
#leftControl {
  top:120;
  left:-39px;
  background:transparent url(img/control_left.png) no-repeat 0 0;
}
#rightControl {
  top:120px;
  right:48px;
  background:transparent url(img/control_right.png) no-repeat 0 0;
}

/** 
 * Style rules for Demo page
 */
* {
  margin:0;
  padding:0;
  font:normal 11px Verdana, Geneva, sans-serif;
  color:#ccc;
}
a {
  color: #fff;
  font-weight:bold;
  text-decoration:none;
}
a:hover {
  text-decoration:underline;
}

#pageContainer {
  margin:0 auto;
  width:960px;
}
#pageContainer h1 {
  display:block;
  width:960px;
  height:114px;
  background:transparent url(img/bg_pagecontainer_h1.jpg) no-repeat top left;
  text-indent: -10000px;
}
.slide h2, .slide p {
  margin:15px;
}
.slide h2 {
  font:italic 24px Georgia, "Times New Roman", Times, serif;
  color:#ccc;
  letter-spacing:-1px;
}
.slide img {
  float:right;
  margin:0 15px;
}


/** 
 * Style for menue
 */

ul.topnav {
	list-style: none;
	padding: 0 20px;
	margin: 0;
	float: left;
	width: 920px;
	background: #222;
	font-size: 1.2em;
	background: url(topnav_bg.gif) repeat-x;
}
ul.topnav li {
	float: left;
	margin: 0;
	padding: 0 15px 0 0;
	position: relative; /*--Declare X and Y axis base for sub navigation--*/
}
ul.topnav li a{
	padding: 10px 5px;
	color: #fff;
	display: block;
	text-decoration: none;
	float: left;
}
ul.topnav li a:hover{
	background: url(topnav_hover.gif) no-repeat center top;
}
ul.topnav li span { /*--Drop down trigger styles--*/
	width: 17px;
	height: 35px;
	float: left;
	background: url(subnav_btn.gif) no-repeat center top;
}
ul.topnav li span.subhover {background-position: center bottom; cursor: pointer;} /*--Hover effect for trigger--*/
ul.topnav li ul.subnav {
	list-style: none;
	position: absolute; /*--Important - Keeps subnav from affecting main navigation flow--*/
	left: 0; top: 35px;
	background: #333;
	margin: 0; padding: 0;
	display: none;
	float: left;
	width: 170px;
	border: 1px solid #111;
}
ul.topnav li ul.subnav li{
	margin: 0; padding: 0;
	border-top: 1px solid #252525; /*--Create bevel effect--*/
	border-bottom: 1px solid #444; /*--Create bevel effect--*/
	clear: both;
	width: 170px;
}
html ul.topnav li ul.subnav li a {
	float: left;
	width: 145px;
	background: #333 url(dropdown_linkbg.gif) no-repeat 10px center;
	padding-left: 20px;
}
html ul.topnav li ul.subnav li a:hover { /*--Hover effect for subnav links--*/
	background: #222 url(dropdown_linkbg.gif) no-repeat 10px center;
}

/*for twitter*/

.twt {
	position:fixed;
	top:245px;
	right:0px;	
}

.copyright {
	position:fixed;
	bottom:10px;
	left:15px;
}

.copyright a:hover{
	color: #540002;
	text-decoration:none;
	
}
/*broken slide*/


body {
	font-family:arial;	
}

.qitem {
	width:195px;
	height:195px;	
	border:0px solid #222;	
	margin:5px 5px 5px 0;
	
	
	
	/* required to hide the image after resized */
	overflow:hidden;
	
	/* for child absolute position */
	position:relative;
	
	/* display div in line */
	float:left;
	cursor:hand; cursor:pointer;
}

	.qitem img {
		border:0;
	
		/* allow javascript moves the img position*/
		position:absolute;
		z-index:200;
	}




/* Setting for corners */

.topLeft, .topRight, .bottomLeft, .bottomRight {
	position:absolute;
	background-repeat: no-repeat; 
	float:left;
}

.topLeft {
	background-position: top left; 	
} 

.topRight {
	background-position: top right; 
} 

.bottomLeft {
	background-position: bottom left; 
} 

.bottomRight {
	background-position: bottom right; 
}

.clear {
	clear:both;	
}

/*slide_project*/

	.clear {
		clear:both
	}

	#gallery {
		float:left;
		position:relative;
		height:190px;
	}
	#gallery a {
		float:left;
		margin:5px;
		width:480px;
		text-decoration:none;
		position:absolute;
		background: url(img/back_project.png);
	}
	
	#gallery .descrip{
		float:right;
		padding:90px 0px 0px 0px;
		color:#585858;
		width:190px;
		font-weight:bold;
		text-align:left;
	}
	
	#gallery a img {
		padding: 15px 10px 10px 15px;
		border:none;
	}
	
	#gallery a.show {
		z-index:500
	}

	#gallery .caption {
		z-index:600; 
		background-color:#000; 
		color:#ffffff; 
		height:100px; 
		width:100%; 
		position:absolute;
		bottom:0;
	}

	#gallery .caption .content {
		margin:5px
	}
	
	#gallery .caption .content h3 {
		margin:0;
		padding:0;
		color:#1DCCEF;
	}
	
/* for footer block */

.footerBlock{
	float:left;
	margin:8px;
	width:240px;
	padding:5px;
	color:#000000;
	font-family:arial;
	font-size:12px;
	background-color:#FFFFFF;
	min-height:240px;
}

.footerBlock a{
	color:#0066CC;
	font-variant: inherit;
	font-family:arial;
	font-size:12px;
}

/* for domain form */

.inputbox{
	padding:5px;
	color:#000000;
}

.selOption{
	color:#000000;
}