/*
Website: Sun Yat Sen University Chinese Language Centre
URI: http://www2.nsysu.edu.tw/CLC/
Description: Styles for the Language Centre website
Version: 0.1
Author: Dave Flynn
Author URI: http://twitter.com/analogue40
*/

* {
  padding: 0;
  margin: 0;
}

html, body{
	height: 100%;
}

body#home{
  font-family: Verdana, Arial, Verdana, Sans-Serif;
  font-size: 12px;
  background: #f4f4f4 url(images/bg.gif) top left repeat-x;
}

body#single{
  font-family: Verdana, Arial, Verdana, Sans-Serif;
  font-size: 12px;
  background: #f4f4f4 url(images/single_bg.gif) top left repeat-x;
}


#page {
	width: 875px;
	min-height: 100%;
	height: auto !important;
	height: 100%;
	margin: 0 auto -75px; /* the bottom margin is the negative value of the footer's height */

}

#langs {
	height: 22px;
	width: 875px;
}

#langs p{
	text-align: right;
	color: #fff;
	font-size: 10px;
	line-height: 22px;
	font-weight: 100;
}

#langs p a{
	color: #fff;
	text-decoration: none;
}

#langs p a:hover{
	color: #fff;
	text-decoration: underline;
}

#header{
	height: 126px;
	width: 875px;
	margin: 0 auto;
}

#logo{
	float: left;
	width: 395px;
	height: 126px;
}

#learn_chinese{
	height: 96px;
	padding: 15px;
	float: right;
	text-align: right;
	width: 300px;
}

#learn_chinese{
	line-height: 1.6;
}

#stripe{
	height: 222px;
}

#stripe #rotator{
	height: 221px;
	width: 620px;
	float: left;
	position: relative;
	background: url(images/home_strip.jpg) top left no-repeat;
	z-index: -500;
}

#rotator img {
	display: none;
	position: absolute;
}

#stripe #news{
	height: 201px;
	width: 245px;
	padding: 10px 0;
	float: right;
	color: #fff;
}

#stripe #news p{
	line-height: 1.2;
	margin-bottom: 10px;
}

#stripe #news p a{
	color: #fff;
	text-decoration: underline;
}

#stripe #news p a:hover{
	background-color: #b85952;
	text-decoration: underline;
}

#leaf{
	height: 171px;
}

#leaf .block{
	height: 151px;
	width: 198px;
	padding: 10px 0;
	float: left;
}

#leaf .block p{
	line-height: 1.4;
}

#leaf #block01{
}

#leaf #block02{
	margin: 0 10px;
}

#leaf #block03{
}

/************************/
/**     Content	   	 	 **/
/************************/


#wrapper{
	padding: 20px 0;
	z-index: -500;
}

#content {
	width: 610px;
	float: left;
	z-index: -500;
}

#content p{
	line-height: 1.6;
	margin-bottom: 5px;
	text-indent: 2em;
	z-index: -500;
}

#sidebar {
	width: 245px;
	float: right;
}

#sidebar p{
	line-height: 1.4;
	margin-bottom: 5px;
}

.gallery_icon{
	float: left;
	width: 180px;
	margin-right: 10px;
}


/************************/
/**     Headers	   	 	 **/
/************************/

#learn_chinese h1{
	color: #742819;
	font-size: 17px;
	font-family: Georgia,"Nimbus Roman No9 L",serif;
	margin-bottom: 5px;
}

#stripe #news h2{
	font-size: 18px;
	font-weight: normal;
	color: #fff;
	margin-bottom: 5px;
}

#leaf .block h3{
	font-size: 15px;
	color: #742819;
	margin-bottom: 5px;
	font-weight: normal;
}

#content h1{
	color: #742819;
	font-size: 18px;
	font-weight: normal;
	margin: 15px 0 10px 0;
	font-family: Georgia,"Nimbus Roman No9 L",serif;
	z-index: -500;
}

#content h2, #sidebar h2{
	color: #742819;
	font-size: 16px;
	font-weight: normal;
	margin: 5px 0 5px 0;
	font-family: Georgia,"Nimbus Roman No9 L",serif;
	z-index: -500;
}

#content h3, #sidebar h3{
	color: #742819;
	font-size: 14px;
	font-weight: normal;
	margin: 5px 0 5px 0;
	font-family: Georgia,"Nimbus Roman No9 L",serif;
	z-index: -500;
}

/*** Links ***/

a img{
	border: none;
}

/***** Other *****/

.clear, .push{
	clear: both;
}


/************************/
/**      		Nav	   	 	 **/
/************************/

ul#nav{
  height: 39px;
  margin: 0;
  padding: 0;
  list-style: none;
  clear: left;
}

ul#nav li{
  margin: 0;
  list-style: none;
	float: left;	
	line-height: 38px;
}

ul#nav li a{
	color: #fff;
  float: left;
  text-decoration: none;
  padding: 0 10px;
}

ul#nav li a:hover{
	background: #4c0f0a;
}

ul#nav li ul li a:hover{
	background: none;
}

ul#nav li ul li, ul#nav li ul li a {
	float:none;
}

ul#nav li ul{
	padding: 10px;
	border-left: solid white 1px;
	border-right: solid white 1px;
	border-bottom: solid white 1px;
}

ul#nav li ul li a, ul#nav li ul li{
	line-height: 1.7;
	padding: 0;
}


#nav li .nav_ul {
	list-style: none;
  display: none; 
	background-color: #7f2f21;
	position: absolute;
	color: #fff;
	font-size: 12px;
	font-weight: normal;
	line-height: 1.6;
}

#nav li .nav_ul a, #nav li .nav_ul a:visited {
	color: #fff;
	text-decoration: none;
}

#nav li .nav_ul a:hover{
	text-decoration: underline;
}

#nav li div{
	clear: left;
	margin-top: -1px;
}

#nav li .nav_ul li{
	margin-right: 0px;
	display: block;
	float:none;
}

#nav li > .nav_ul {
	top: auto;
	left: auto;
}

#nav li:hover .nav_ul, #nav li.over .nav_ul{ 
	display: block; 
	z-index: 500;
}

/******************/

.jqueryslidemenu{
	font: normal 12px Verdana;
	width: 100%;
	height: 38px;
	position: relative;
	z-index: 1000;
}

.jqueryslidemenu ul{
	margin: 0;
	padding: 0;
	list-style-type: none;
	height: 39px;
}

/*Top level list items*/
.jqueryslidemenu ul li{
	position: relative;
	display: inline;
	float: left;
}

/*Top level menu link items style*/
.jqueryslidemenu ul li a{
	display: block;
	color: white;
	padding: 0 10px;
	line-height: 38px;
	/* border-right: 1px solid #778; */
	color: #2d2b2b;
	text-decoration: none;
}

* html .jqueryslidemenu ul li a{ /*IE6 hack to get sub menu links to behave correctly*/
	display: inline-block;
}

.jqueryslidemenu ul li a:link, .jqueryslidemenu ul li a:visited, .jqueryslidemenu ul li a{
	color: white;
}

.jqueryslidemenu ul li a:hover{
	background: #4c0f0a; /*tab link background during hover state*/
	color: white;
}
	
/*1st sub level menu*/
.jqueryslidemenu ul li ul{
	position: absolute;
	left: 0;
	display: block;
	visibility: hidden;
	background-color: #7f2f21;
}

/*Sub level menu list items (undo style from Top level List Items)*/
.jqueryslidemenu ul li ul li{
	display: list-item;
	float: none;
	line-height: 1.7;
	background-color: #7f2f21;
}


/*All subsequent sub menu levels vertical offset after 1st level sub menu */
.jqueryslidemenu ul li ul li ul{
top: 0;
}

/* Sub level menu links style */
.jqueryslidemenu ul li ul li a{
	font: normal 13px Verdana;
	width: 160px; /*width of sub menus*/
	padding: 5px;
	margin: 0;
	line-height: 1.7;
	border-top-width: 0;
	border-bottom: 1px solid gray;
}

.jqueryslidemenuz ul li ul li a:hover{ /*sub menus hover style*/
	background: #eff9ff;
	color: black;
}

/* ######### CSS classes applied to down and right arrow images  ######### */

.downarrowclass{
	position: absolute;
	top: 15px;
	right: 7px;
}

.rightarrowclass{
	position: absolute;
	top: 6px;
	right: 5px;
}


/**********************/
/**      Footer      **/
/**********************/

#footer_holder {
	background-color: #333333;
	width:100%;
}

#footer_holder, .push {	
	height:55px;			/* Height of the footer */
	padding: 10px 0;
}

#footer{
	width: 875px;
	margin: 0 auto;
	color: #fff;
}

#footer_stats{
	width: 875px;
	margin: 0 auto;
	color: #fff;
}

#footer a, #footer a:visited{
	color: #fff;
	text-decoration: none;
}

#footer a:hover{
	text-decoration: underline;
}

/**********************/
/**      Lists      **/
/**********************/

#content ul, #content ol{
	margin: 15px 0;
	padding-left: 35px;
}

#content ul li {
	list-style: disc;
	margin-bottom: 4px;
}

#content ol li{
	margin-bottom: 4px;
}

/**********************/
/**      Tables      **/
/**********************/


table  a {
	color: #c75f3e;
}

table {
	width: 580px;
	padding: 0;
	margin: 10px auto;
	display: block;
	border-left: 1px solid #380d05;
}

table caption {
	padding: 0 0 5px 0;
	width: 600px;	 
	margin: 0 auto;
	display: block;
	font: italic 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	text-align: right;
}

table th {
	font: normal 13px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #fff;
	border-right: 1px solid #380d05;
	border-bottom: 1px solid #380d05;
	border-top: 1px solid #380d05;
	letter-spacing: 2px;
	text-transform: uppercase;
	text-align: center;
	padding: 6px 6px 6px 12px;
	background: #853224 url(images/bg_header.jpg) no-repeat;
}

table td {
	border-right: 1px solid #380d05;
	border-bottom: 1px solid #380d05;
	background: #fff;
	padding: 6px 6px 6px 12px;
	color: #380d05;
	text-align: center;
}


table tr.alt td {
	background: #F5FAFA;
	color: #797268;
}

table th.spec {
	border-left: 1px solid #380d05;
	border-top: 0;
	background: #fff url(images/bullet1.gif) no-repeat;
	font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
}

table th.specalt {
	border-left: 1px solid #380d05;
	border-top: 0;
	background: #f5fafa url(images/bullet2.gif) no-repeat;
	font: bold 12px "Trebuchet MS", Verdana, Arial, Helvetica, sans-serif;
	color: #797268;
}

table .action, table .action img{
	padding: 0 3px;
	display: inline;
}


/* Google Map */

/* Generic map, side bar holder styles */
      .MapBuilder {font: normal small verdana, arial, helvetica, sans-serif; font-size: 10pt; margin: 0px;}
      .MapBuilder a {text-decoration: none; color: #0066CC; background-color: transparent;}
      .MapBuilder a:hover {color: #F60; background-color: transparent;}
      .MapBuilder h1 {font-weight: bold; font-size: 16pt; color: #369; border-bottom: 2px solid #369;}
      
      /* Info Window styles */
      .IW { width: 350px;}
      .IWContent {height: 120px; overflow:auto;}
      .IWCaption {font-weight: bold; font-size: 12pt; color: #369; border-bottom: 2px solid #369;}
      .IWFooter {margin-top: 5px; font-size: 8pt; }
      .IWFooterZoom {}
      .IWDirections{background-color:#FFF;}
