/*== Chinese specific convention ==
 *
 * ex is not used as it is measured differently by
 * different browsers for Chinese ideographs. Some
 * measure 1ex as half of ideograph width
 * (1ex=1/2em), some measure 1ex as wide as an
 * ideograph (1ex=1em);
 *
 * There are not so much Chinese fonts to choose as
 * body font while maintain readability thanks to
 * complicated ideograph structure. Default font is
 * always recommended.
 *
 * Italic style and oblique style should always be
 * avoided. <em> is redefined with under-dots.
 *
 * line-wrap at 13th ideograph is still acceptable
 * and even appreciated, thus 3-column on SVGA as
 * liquid layout is still acceptable.
 *
 * Generally font size should be larger than in the
 * west. "small" is the smallest possible,
 * "x-small" is not allowed. DimGray as color and
 * larger line-height can be used to make the font
 * look smaller.
 */
/*== FONT SETTINGS                 ==*/
  body {
    font-family: "华文中黑";
    /* this is for Mac OS X, other OS have best
     * readable Chinese font as default */
    font-size: 75%;
  }
  /* emphasized large text */
  h1, h2, h3, h4 {
    font-family: "蘋果儷中黑", 
      "Droid Sans Fallback",
      "文泉驿正黑", "黑体", SimHei;
    font-weight: normal; 
      /* Chinese bold typeface rarely display well,
       * use a bolder font instead */
  }
  h5, h6, strong, th,
  h2 em, caption {
    font-weight: bold; 
  }
  .breadcrumb.navigation .caption {
    font-weight: normal !important; 
  }
  /* emphasized medium text */
  .emphasized, .context blockquote {
    /* "黑体" behave badly when applied at small
     * font size */
    font-family: "蘋果儷中黑", 
      "Droid Sans Fallback",
      "文泉驿正黑";
  }
/*== TEXT STYLES                 ==*/
  body {
    line-height: 130%;
    font-family: "Droid Sans Fallback", "Tahoma";
  }
  p, blockquote {
    line-height:150%;
    text-align: justify;
}
  p {text-align: justify;}
  
  body#frontpage .projectItem a  {
    color: #E8112D !important;
  }
  :link, 
  :visited {
    color: #E8112D;
    text-decoration: none;
  }
  :link:hover, 
  :visited:hover,
  :link:focus, 
  :visited:focus{
    color: black;
    text-decoration: none; 
  }
  #news_and_events .content :link,
  #news_and_events .content :visited,
  #tcg_news .content :link,
  #tcg_news .content :visited,
  #media_coverage .content :link,
  #media_coverage .content :visited,
  #changhua_blog .content :link,
  #changhua_blog .content :visited,
  #activities .content :link,
  #activities .content :visited,
  #newsletter .content :link,
  #newsletter .content :visited,
  #frontpage .context :link,
  #frontpage .context :visited,
  #frontpage .content :link,
  #frontpage .content :visited {
    color: black;
    text-decoration: none;
  }

  #news_and_events .content :link:hover,
  #news_and_events .content :visited:hover,
  #news_and_events .content :link:focus,
  #news_and_events .content :visited:focus,
  #tcg_news .content :link:hover,
  #tcg_news .content :visited:hover,
  #tcg_news .content :link:focus,
  #tcg_news .content :visited:focus,
  #media_coverage .content :link:hover,
  #media_coverage .content :visited:hover,
  #media_coverage .content :link:focus,
  #media_coverage .content :visited:focus,
  #changhua_blog .content :link:hover,
  #changhua_blog .content :visited:hover,
  #changhua_blog .content :link:focus,
  #changhua_blog .content :visited:focus,
  #activities .content :link:hover,
  #activities .content :visited:hover,
  #activities .content :link:focus,
  #activities .content :visited:focus,
  #newsletter .content :link:hover,
  #newsletter .content :visited:hover,
  #newsletter .content :link:focus,
  #newsletter .content :visited:focus,
  #frontpage .context :link:hover,
  #frontpage .context :visited:hover,
  #frontpage .context :link:focus,
  #frontpage .context :visited:focus {
    color: #E8112D;
    text-decoration: none;
  }
  .more, .more a {
    color: #E8112D !important;
    text-decoration: none !important;
    text-align: right !important;
  }
  :focus {
    outline: none;
  }
  dl.short dt {
    float: left;
  }
  dl.short dd {
    margin-top: 1em;
    margin-bottom: 1em;
  }
  dl.run-in dt:after {
    content: "：";
  }
  dl.run-out dt {
    font-weight: bold;
    padding-top: 8pt;
    padding-bottom: 5pt;
	}
  dl.run-in dt {
    float: left;
  }
  dl.run-in dd {
    margin: 10pt 0em; 
  }
  dt {
    font-weight:bold;
  }
  th, td {
    vertical-align: top;
  }  
  dl.short.author dt {
    font-weight: normal;
    margin-top: -3px;
  }
  dl.short.author dd p {
    line-height: 80%;
  }
    
  /*table.projects td {
    vertical-align: bottom;
  }*/
  table.projects td  p{
    margin: 0px;
  }

  body#city_and_technology table.projects td > a:first-child {
      float: left;
      margin-right: 0.5em;
    }
    body#city_and_technology table.projects th:first-child,
    body#city_and_technology table.projects th:last-child {
      width: 50%;
    }
    body#city_and_technology table.projects th {
      text-align: left;
    }
  span.speaker,
  span.iteam {
    font-weight: bold;
    padding-right: 5px;
  }
  span.speaker:after {
    content: "：";
  }
  img {
    border: none;
  }
  img.float.another {
    float: right;
    margin-left: 1em;
  }
  img.float, h1.float.image {
    float: left;
    margin-bottom: 0.5em;
  }
  h1.image {
    display: block;
    background: none;
    color: black;
  }
  h3 {font-size: 110%;  line-height: 110%; }
  #our-people h3 {color: #e8112d;}
  #partners h3 {margin-top: 2em;}

  h1 {
    font-size: 140%;  
    line-height: 140%; 
    margin-top: 14px;
    border-bottom:1px solid #7F7F7F;
  }
  #latestNews h1 {margin-top: 0; margin-bottom: 0}

   h2 em, .emphasized,
  .context .title {
    padding: 6px 4px;	
  }
   
  .context .caption {
  	  font-size: 120%;
  }
  .context h3 {
  	  border-bottom: 1px solid #7F7F7F;
  	  margin-top: 1.4em;
  	  line-height: 120%;
  }

	/* .context referring to both div.context and 
	 * <object> in div.context which refer to an HTML 
	 * file that has body.context
	 */
   #tcg_principles blockquote {
    width: 37.5%;
    margin: auto;
    margin-top: 2em;
    background-color: #e8112d; 
    color: white;
    font-size: 9pt;
    padding: 1em 1em 2em 1em;
    line-height: 160%;
    font-weight: bold;
   }
  .context blockquote {
    margin-left: 0em;
    margin-right: 0em;
    font-size: 10pt;
    padding: 1em 1em 2em 1em;
    line-height: 160%;
  }
  .context blockquote em {
    font-size: 280%;
    color: #e8112d;
    border: none;
  }
  .context blockquote .cite{
		text-align: right;
		font-size: small;
	}
  .context blockquote q:before {
    content: "“";
    font-size: xx-large; 
    color: #e8112d;
  }
  .context blockquote q:after {
    content: "”";
    font-size: xx-large;
    color: #e8112d;
  }
  .context .title {
    display: none;
  }
  .context p {
    padding-right: 5px;
    margin: 7px 0;
  }
  .project.context {
    border: thin solid #aaa;
  }

  .context hr {
    border-style: thin solid;
    border-color: white;
    margin-bottom: 1em;
  }
  .context .name {
    font-weight: bold;
    margin-top: 10pt;
  }
  .article ul, .article ol { padding-left: 1.5em;}
  
  
  ul.partner-logos  { padding-left: 0em;}
  .footnote {
    border-top: thin solid black;
  }
  .sidebar {
    float: right;
    width: 37.2%;
    border-left: thin solid gray;
    margin-left: 1em;
    background-color: whitesmoke;
    margin-top: 0.5em;
    padding-left: 5pt;
    padding-right: 1pt;
  }
  .wide.chawen {
    width: 62.8%;
  }
  .chawen .caption {
    color: #e8112d;
  }
  div.author {
    text-align: right;
  }
  /*.more {
    display: list-item;
    list-style-position: inside;
    text-align: right;
    margin-top: 0em;
    margin-bottom: 0em;
  }*/
   .find:before {
    content: "»";
    color: #e8112d;
    margin-left: 0.1em;
    margin-right: 2px;
  }
  :link.external, :visited.external {
    background-image: url(images/external.png);
    background-repeat: no-repeat;
    padding-left: 15px;
    background-position: left top;
    padding-right: 0;
    color: black;
  }
  .date, #latestNews span {
   color: #333333;
   font-style: italic;
  }
   .news_and_events span.date, 
   #publications-index span.date,
   #frontpage span.date {
   display: block;
  }
  p.news_title {
    color: dimgray;
  }
  p.news_bread {
    color: #444;
  }
  em {
    font-style: normal;
    border-bottom: thin dotted;
  }
  cite { 
  font-weight: bold;
  font-style: normal;
  }

  .partner-logos img {
    border-bottom: thin solid gray;
  }
  .partner-logos li {
    list-style-type: none;
    display: inline;
  }
  body.major_initiatives .context .go_to_hq {
    background-color: black;
    width: 202px;
    padding-top: 15px;
    padding-left: 8px;
    padding-right: 8px;
    padding-bottom: 25px;
    color: white;
    margin-bottom: 1em;
    line-height: 15pt;
  }

/*== SECTION-SPECIFIC            ==*/
  body#major_initiatives .half.column {
    border-top: 2px solid gray;
  }
  body#business_alliance .half.column,
  body#policy .half.column {
    height: 16em;
    border-top: 2px solid gray;
  }
  
  body#publications-index .context {
    background-color: whitesmoke;
  }
   .context {
    padding-left: 6pt;
    margin-right: 0;
  }

  body#together .context,
  body#vcs .context,
  body#states_and_regions .context {
    background-color: white;
  }
  body#major_initiatives .context h2 {
    border-top: thin solid gray;
    font-size: small;
    text-align: center;
  }
  body#major_initiatives h2，
  body#business_alliance h2 {
    font-size: small;
  }

  body.sitemap .navigation .pageset {
		float: left;
    vertical-align: top;
    width: 20%;
    margin-left: 2%;
    margin-right: 2%;
    font-size: medium;
  }
  body.sitemap .navigation #sitemap_news_and_events.pageset {
		width: 62.8%;
	}
  body.sitemap > .navigation > #sitemap_news_and_events > ul > li {
    margin-bottom: 20px;
  }
  body.sitemap > .navigation .caption, body.sitemap h1 {
    font-weight: bold;
  }
  body.sitemap > .navigation > .pageset > ul > li {
    margin-bottom: 10px;
  }
  body.sitemap .pageset > ul ul > li {
    margin-top: 5px;
  }
  body.sitemap .navigation .pageset * ul {
    list-style-type: none;
    padding-left: 2em;
  }
  body.sitemap .navigation .pageset > ul {
    list-style-type: none;
    padding-left: 0em;
  }
  body.sitemap .navigation .pageset ul ul {
		font-size: smaller;
	}
  body.sitemap .navigation .pageset ul ul span.date {
		float: left;
		width: 11ex;
	}
  body.sitemap .navigation .pageset ul li {
		clear: left;
	}
  body.sitemap .navigation .pageset :link,
  body.sitemap .navigation .pageset :visited {	
    border-bottom: 1px solid #d3d3d3;
    display: block;
    color: #e8112d;
  }
  body.sitemap h1 {
    display: block;
    width: 4.5em;
    text-align: center;
    margin-left: 2%;
  }
  html>body.copyright, html>body.sitemap {
    background: white;
  }
  
  body.about .context_images {
    float: right;
  }
  body.members_and_partners .clearfix {
    display: inline-block;
    clear: both;
  }

  div.article { 
  padding-left: 0;
  clear: left;
  }
  div.content li, div.context li {
    }
  body#news_and_events .article ul {
    overflow: hidden;
    height: 12.8em;
  }  
  body#news_and_events > .content ul li + li + li + li {
    display: none;
  }
  body#news_and_events .context ul {
    overflow: hidden;
  }  

  body#news_and_events .article img.float {
    float: right; 
    width: 209px;
  }  
  body#news_and_events h1 {
    font-size: 130%;
  } 
  #news_photo {
    float: left;
  }

/*== PUBLICATIONS                 ==*/  
  body#publications-index img.thumbnail {
    border: none;
    float: left;
    margin-right: 1em;
    margin-left: 1em;
    margin-bottom: 1em;
    /* trying to not to trigger an IE bug */
    position: relative;
  }
  span#publication-EN-version {
    display: inline-block;
  }
  p.float {
    float: left;
    margin-right: 5em;
    margin-left: 1em;
    margin-top: 0em;
  }
  body#publications-index hr {
    clear: left;
    border: 1px solid #000000;
    border-bottom: none;
    height: 0px;
  }
  body#publications-index div.half.column {
    padding-top: 1em;
    padding-right: 1em;
    height: 220px;
  }
  body#publications-index div.half.column img {
    border: thin solid whitesmoke;
  }

  body.publications #preview img {
    vertical-align: middle;
		padding-right: 4em;
  }
  body.publications #preview button {
    cursor: pointer;
  }
  body.publications #preview button img {
    padding-right: 0em;
  }
  body.publications #preview :link,
  body.publications #preview :visited {
    text-decoration: none;
  }
  .moduleDate {
    float:right;
    font-size:1.2em;
    font-weight:normal;
    height:auto;
    line-height:32px;
    padding:0;
    color: #7f7f7f;
  }
/*== TABLESORTER            ==*/
  #chronicle caption {
    text-align: left;
    padding-top: 1em;
  }
  #chronicle td {
    padding: 5px;
    padding-top: 1px;
  }
  #chronicle th {
    white-space: nowrap;
    font-weight: normal;
  }

  h2.hr {
		border-top: thin solid black;
		padding-top: 1em;
	}

	.homeCol .publications {
	  padding-top:0;
} 

  .projectItem .thumbnail {
	border: 1px solid #E5E5E5 !important;
}

/*== FRONT PAGE ONLY           ==*/
#frontpage .blog img {
  float: right; 
  position: relative; 
  top: 6px;
}


