Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
- <html xmlns="http://www.w3.org/1999/xhtml" dir="ltr" lang="en-US">
- <head><script src="/A2EB891D63C8/avg_ls_dom.js" type="text/javascript"></script>
- <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
- <title>Live the Language Mandarin School</title> <link rel="shortcut icon" href="http://livethelanguage.cn/wp-content/themes/atahualpa/images/favicon/ltl-favicon2.ico" />
- <link rel="profile" href="http://gmpg.org/xfn/11" />
- <link rel="pingback" href="http://livethelanguage.cn/xmlrpc.php" />
- <!-- This site is optimized with the Yoast WordPress SEO plugin v1.0.2.3 - http://yoast.com/wordpress/seo/ -->
- <meta name='description' content='Study in China with Live the Language Mandarin School. Programs in Beijing, Tianjin and Chengde include Chinese Culture classes and Chinese Study courses.'/>
- <link rel="canonical" href="http://livethelanguage.cn/" />
- <!-- / Yoast WordPress SEO plugin. -->
- <link rel="alternate" type="application/rss+xml" title="Live the Language » Feed" href="http://livethelanguage.cn/feed/" />
- <link rel="alternate" type="application/rss+xml" title="Live the Language » Comments Feed" href="http://livethelanguage.cn/comments/feed/" />
- <link rel="alternate" type="application/rss+xml" title="Live the Language » Home Comments Feed" href="http://livethelanguage.cn/home/feed/" />
- <link rel='stylesheet' id='contact-form-7-css' href='http://livethelanguage.cn/wp-content/plugins/contact-form-7/styles.css?ver=3.0' type='text/css' media='all' />
- <link rel='stylesheet' id='easy-fancybox.css-css' href='http://livethelanguage.cn/wp-content/plugins/easy-fancybox/easy-fancybox.css.php?ver=1.3.4' type='text/css' media='screen' />
- <script type='text/javascript' src='http://livethelanguage.cn/wp-includes/js/l10n.js?ver=20101110'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-includes/js/jquery/jquery.js?ver=1.6.1'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/themes/atahualpa/js/DD_roundies.js?ver=0.0.2a'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-includes/js/comment-reply.js?ver=20090102'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/easy-fancybox/fancybox/jquery.fancybox-1.3.4.pack.js?ver=1.3.4'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/google-analyticator/external-tracking.min.js?ver=6.2'></script>
- <link rel="EditURI" type="application/rsd+xml" title="RSD" href="http://livethelanguage.cn/xmlrpc.php?rsd" />
- <link rel="wlwmanifest" type="application/wlwmanifest+xml" href="http://livethelanguage.cn/wp-includes/wlwmanifest.xml" />
- <script type="text/javascript">
- //<![CDATA[
- var _wpcf7 = { cached: 1 };
- //]]>
- </script>
- <style type="text/css">/* ------------------------------------------------------------------
- ---------- BASE LAYOUT ----------------------------------------------
- ------------------------------------------------------------------ */
- body {
- text-align: center; /* centering the page container,
- text-align will be reset to left
- inside the container */
- margin: 0;
- padding: 0;
- font-family: tahoma, arial, sans-serif;
- font-size: 0.8em;
- color: #000000;
- background: #ffffff; }
- a:link, a:visited, a:active {
- color: #666666;
- font-weight: bold;
- text-decoration: none;
- }
- a:hover {
- color: #CC0000;
- font-weight: bold;
- text-decoration: underline;
- }
- ul, ol, dl, p, h1, h2, h3, h4, h5, h6 {
- margin-top: 10px;
- margin-bottom: 10px;
- padding-top: 0;
- padding-bottom: 0;
- }
- /* remove margins on sub-lists */
- ul ul, ul ol, ol ul, ol ol {
- margin-top: 0;
- margin-bottom: 0;
- }
- /*
- h1 { font-size: 34px; line-height: 1.2; margin: 0.3em 0 10px; }
- h2 { font-size: 28px; line-height: 1.3; margin: 1em 0 .2em; }
- h3 { font-size: 24px; line-height: 1.3; margin: 1em 0 .2em; }
- h4 { font-size: 19px; margin: 1.33em 0 .2em; }
- h5 { font-size: 1.3em; margin: 1.67em 0; font-weight: bold; }
- h6 { font-size: 1.15em; margin: 1.67em 0; font-weight: bold; }
- */
- code, pre {
- font-family: "Courier New", Courier, monospace;
- font-size: 1em;
- }
- pre {
- overflow: auto;
- word-wrap: normal;
- padding-bottom: 1.5em;
- overflow-y: hidden;
- width: 99%;
- }
- abbr[title], acronym[title] {
- border-bottom: 1px dotted;
- }
- hr {
- display: block;
- height: 2px;
- border: none;
- margin: 0.5em auto;
- color: #cccccc;
- background-color: #cccccc;
- }
- /* use the body's font size in tables, too: */
- table {
- font-size: 1em;
- }
- /* ------------------------------------------------------------------
- ---------- BREAK LONG STRINGS ---------------------------------------
- ------------------------------------------------------------------ */
- /* break long strings in IE6+ and Safari2+ in posts and comments: */
- div.post, ul.commentlist li, ol.commentlist li {
- word-wrap: break-word;
- }
- /* reset "break-word" for pre & wp-syntax: */
- pre, .wp_syntax {
- word-wrap: normal;
- }
- /* ------------------------------------------------------------------
- ---------- WRAPPER, CONTAINER & LAYOUT ------------------------------
- ------------------------------------------------------------------ */
- /*-------------------- WRAPPER for MIN / MAX width --------*/
- div#wrapper {
- text-align: center;
- margin-left: auto;
- margin-right: auto;
- display: block;
- width: 1263px;
- }
- /*-------------------- CONTAINER for VISUAL styles --------*/
- div#container {
- padding: 0; width: auto;
- margin-left: auto;
- margin-right: auto;
- text-align: left; /* resetting the "text-align: center" of "wrapper" */
- display: block;
- }
- /*-------------------- LAYOUT to keep it all together -----*/
- table#layout {
- font-size: 100%;
- width: 100%;
- table-layout: fixed;
- }
- .colone {width: 153px;}
- .colone-inner {width: 200px;}
- .coltwo { width: 100% }
- .colthree-inner {width: 200px;}
- .colthree {width: 153px;}
- /* ------------------------------------------------------------------
- ---------- HEADER ---------------------------------------------------
- ------------------------------------------------------------------ */
- /*-------------------- HEADER CONTAINER -------------------*/
- td#header {
- width: auto;
- padding: 0;
- }
- /*-------------------- LOGO AREA --------------------------*/
- table#logoarea,
- table#logoarea tr,
- table#logoarea td {
- margin: 0;
- padding: 0;
- background: none;
- border: 0;
- }
- table#logoarea {
- width: 100%;
- border-spacing: 0px;
- }
- /*-------------------- LOGO -------------------------------*/
- img.logo {
- display: block;
- margin: 0 10px 0 0; }
- td.logoarea-logo {
- width: 1%;
- }
- /*-------------------- BLOG TITLE -------------------------*/
- h1.blogtitle,
- h2.blogtitle {
- display: block;
- margin: 0;
- padding: 0;
- letter-spacing: -1px;
- line-height: 1.0em;
- font-family: tahoma, arial, sans-serif;
- font-size: 240%; font-smooth: always;
- }
- h1.blogtitle a:link,
- h1.blogtitle a:visited,
- h1.blogtitle a:active,
- h2.blogtitle a:link,
- h2.blogtitle a:visited,
- h2.blogtitle a:active {
- text-decoration: none;
- color: #666666;
- font-weight: bold;
- font-smooth: always;
- }
- h1.blogtitle a:hover,
- h2.blogtitle a:hover {
- text-decoration: none;
- color: #000000;
- font-weight: bold;
- }
- /*-------------------- BLOG TAGLINE -----------------------*/
- p.tagline {
- margin: 0;
- padding: 0;
- font-size: 1.2em;
- font-weight: bold;
- color: #666666; }
- td.feed-icons {
- white-space: nowrap;
- }
- div.rss-box {
- height: 1%;
- display: block;
- padding: 10px 0 10px 10px;
- margin: 0;
- width: 280px;
- }
- /*-------------------- COMMENTS FEED ICON -----------------*/
- a.comments-icon {
- height: 22px;
- line-height: 22px;
- margin: 0 5px 0 5px;
- padding-left: 22px;
- display: block;
- text-decoration: none;
- float: right;
- white-space: nowrap;
- }
- a.comments-icon:link,
- a.comments-icon:active,
- a.comments-icon:visited {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/comment-gray.png) no-repeat scroll center left;
- }
- a.comments-icon:hover {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/comment.png) no-repeat scroll center left;
- }
- /*-------------------- POSTS FEED ICON --------------------*/
- a.posts-icon {
- height: 22px;
- line-height: 22px;
- margin: 0 5px 0 0;
- padding-left: 20px;
- display: block;
- text-decoration: none;
- float: right;
- white-space: nowrap;
- }
- a.posts-icon:link,
- a.posts-icon:active,
- a.posts-icon:visited {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/rss-gray.png) no-repeat scroll center left;
- }
- a.posts-icon:hover {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/rss.png) no-repeat scroll center left;
- }
- /*-------------------- EMAIL SUBSCRIBE ICON ---------------*/
- a.email-icon {
- height: 22px;
- line-height: 22px;
- margin: 0 5px 0 5px;
- padding-left: 24px;
- display: block;
- text-decoration: none;
- float: right;
- white-space: nowrap;
- }
- a.email-icon:link,
- a.email-icon:active,
- a.email-icon:visited {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/email-gray.png) no-repeat scroll center left;
- }
- a.email-icon:hover {
- background: transparent url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/email.png) no-repeat scroll center left;
- }
- /*-------------------- SEARCH BOX IN HEADER ---------------*/
- td.search-box {
- height: 1%;
- }
- div.searchbox {
- height: 35px;
- border: 1px dashed #cccccc;
- border-bottom: 0;
- width: 200px;
- margin: 0;
- padding: 0; }
- div.searchbox-form {
- margin: 5px 10px 5px 10px;
- }
- /*-------------------- HORIZONTAL BARS --------------------*/
- div.horbar1,
- div.horbar2 {
- font-size: 1px;
- clear: both;
- display: block;
- position: relative;
- padding: 0;
- margin: 0;
- width: 100%;
- }
- div.horbar1 {
- height: 5px;
- background: #ffffff;
- border-top: dashed 1px #cccccc; }
- div.horbar2 {
- height: 5px;
- background: #ffffff;
- border-bottom: dashed 1px #cccccc; }
- div.header-image-container {
- position: relative;
- margin: 0;
- padding: 0;
- height: 75px;
- }
- a.divclick:link,
- a.divclick:visited,
- a.divclick:active,
- a.divclick:hover {
- width: 100%;
- height: 100%;
- display: block;
- text-decoration: none;
- }
- /* ------------------------------------------------------------------
- ---------- LEFT SIDEBARS ---------------------------------------------
- ------------------------------------------------------------------ */
- td#left {
- vertical-align: top;
- border-right: solid 1px #CCCCCC;
- padding: 10px 10px 10px 10px;
- background: #ffffff; }
- td#left-inner {
- vertical-align: top;
- border-right: solid 1px #CCCCCC;
- padding: 10px 10px 10px 10px;
- background: #ffffff; }
- /* ------------------------------------------------------------------
- ---------- RIGHT SIDEBARS --------------------------------------------
- ------------------------------------------------------------------ */
- td#right {
- vertical-align: top;
- border-left: solid 1px #CCCCCC;
- padding: 10px 10px 10px 10px;
- background: #ffffff; }
- td#right-inner {
- vertical-align: top;
- border-left: solid 1px #CCCCCC;
- padding: 10px 10px 10px 10px;
- background: #ffffff; }
- /* ------------------------------------------------------------------
- ---------- CENTER COLUMN --------------------------------------------
- ------------------------------------------------------------------ */
- td#middle {
- vertical-align: top;
- width: 100%;
- padding: 10px 15px; }
- /* ------------------------------------------------------------------
- ---------- FOOTER ---------------------------------------------------
- ------------------------------------------------------------------ */
- td#footer {
- width: auto;
- border-top: solid 1px white;
- padding: 10px;
- text-align: center;
- color: black;
- font-size: 95%; }
- td#footer a:link, td#footer a:visited, td#footer a:active {
- text-decoration: none;
- color: black;
- font-weight: normal; }
- td#footer a:hover {
- text-decoration: none;
- color: gray;
- font-weight: normal; }
- /* ------------------------------------------------------------------
- ---------- WIDGETS --------------------------------------------------
- ------------------------------------------------------------------ */
- div.widget {
- display: block;
- width: auto; /* without this IE will stretch too-wide select
- menus but not the other widgets. With 100% IE
- will remove sidebar borders if select menu is
- too wide */
- margin: 0 0 15px 0; }
- div.widget-title {
- display: block;
- width: auto;
- }
- div.widget-title h3,
- td#left h3.tw-widgettitle,
- td#right h3.tw-widgettitle,
- td#left ul.tw-nav-list,
- td#right ul.tw-nav-list {
- padding:0;
- margin:0;
- font-size: 1.6em;
- font-weight: bold; }
- /* Since 3.4 "div-widget-content" is gone for better plugin compatibility.
- Instead we'll try to mimick the feature by putting the styles on the following
- containers: */
- div.widget ul,
- div.textwidget {
- display: block;
- width: auto;
- }
- /* ------------------------------------------------------------------
- ---------- Select MENUS INSIDE OF WIDGETS -------------------------
- ------------------------------------------------------------------ */
- /* if a select menu is too wide to fit into the sidebar (because one
- or several of its option titles are too long) then it will be cut off
- in IE 6 & 7 */
- div.widget select {
- width: 98%; /* auto won't work in Safari */
- margin-top: 5px;
- }
- /* ------------------------------------------------------------------
- ---------- LISTS INSIDE OF WIDGETS ----------------------------------
- ------------------------------------------------------------------ */
- div.widget ul {
- list-style-type: none;
- margin: 0;
- padding: 0;
- width: auto;
- }
- /*------------- base styling for all widgets -----------*/
- div.widget ul li {
- display: block;
- margin: 2px 0 2px 0px;
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget ul li:hover,
- div.widget ul li.sfhover {
- display: block;
- width: auto;
- border-left: solid 7px #000000;
- }
- div.widget ul li ul li {
- margin: 2px 0 2px 5px;
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget ul li ul li:hover,
- div.widget ul li ul li.sfhover {
- border-left: solid 7px #000000;
- }
- div.widget ul li ul li ul li {
- margin: 2px 0 2px 5px;
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget ul li ul li ul li:hover,
- div.widget ul li ul li ul li.sfhover {
- border-left: solid 7px #000000;
- }
- div.widget a:link,
- div.widget a:visited,
- div.widget a:active,
- div.widget td a:link,
- div.widget td a:visited,
- div.widget td a:active,
- div.widget ul li a:link,
- div.widget ul li a:visited,
- div.widget ul li a:active {
- text-decoration: none;
- font-weight: normal;
- color: #666666;
- font-weight: normal;
- }
- div.widget ul li ul li a:link,
- div.widget ul li ul li a:visited,
- div.widget ul li ul li a:active {
- color: #666666;
- font-weight: normal;
- }
- div.widget ul li ul li ul li a:link,
- div.widget ul li ul li ul li a:visited,
- div.widget ul li ul li ul li a:active {
- color: #666666;
- font-weight: normal;
- }
- div.widget a:hover,
- div.widget ul li a:hover {
- color: #000000;
- }
- div.widget ul li ul li a:hover {
- color: #000000;
- }
- div.widget ul li ul li ul li a:hover {
- color: #000000;
- }
- div.widget ul li a:link,
- div.widget ul li a:visited,
- div.widget ul li a:active,
- div.widget ul li a:hover {
- display: inline;
- }
- * html div.widget ul li a:link,
- * html div.widget ul li a:visited,
- * html div.widget ul li a:active,
- * html div.widget ul li a:hover {
- height: 1%; /* IE6 needs this */
- }
- /*------------- styling for categories and pages widgets -----------*/
- /* Because they can have sub items, the categories and the pages
- widgets get the left border and padding on the <A> instead of the <LI>.
- Otherwise, sub items would have two left borders - their own left border
- and the left border of their parent (since the parent contains the sub item).
- You may actually like that, it looks interesting. To try it out, comment all the next
- rules up to "BFA SUBSCRIBE WIDGET" */
- /* First, remove the left border and padding from the <LI>. The margin stays on the <LI>'s
- because if the <A>'s of the cateories widget were set to display:inline (default setting)
- then margin would work there */
- div.widget_nav_menu ul li,
- div.widget_pages ul li,
- div.widget_categories ul li {
- border-left: 0 !important;
- padding: 0 !important;
- }
- /* Then, add left border and padding to the <A> */
- div.widget_nav_menu ul li a:link,
- div.widget_nav_menu ul li a:visited,
- div.widget_nav_menu ul li a:active,
- div.widget_pages ul li a:link,
- div.widget_pages ul li a:visited,
- div.widget_pages ul li a:active,
- div.widget_categories ul li a:link,
- div.widget_categories ul li a:visited,
- div.widget_categories ul li a:active {
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget_nav_menu ul li a:hover,
- div.widget_pages ul li a:hover,
- div.widget_categories ul li a:hover {
- border-left: solid 7px #000000;
- }
- div.widget_nav_menu ul li ul li a:link,
- div.widget_nav_menu ul li ul li a:visited,
- div.widget_nav_menu ul li ul li a:active,
- div.widget_pages ul li ul li a:link,
- div.widget_pages ul li ul li a:visited,
- div.widget_pages ul li ul li a:active,
- div.widget_categories ul li ul li a:link,
- div.widget_categories ul li ul li a:visited,
- div.widget_categories ul li ul li a:active {
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget_nav_menu ul li ul li a:hover,
- div.widget_pages ul li ul li a:hover,
- div.widget_categories ul li ul li a:hover {
- border-left: solid 7px #000000;
- }
- div.widget_nav_menu ul li ul li ul li a:link,
- div.widget_nav_menu ul li ul li ul li a:visited,
- div.widget_nav_menu ul li ul li ul li a:active,
- div.widget_pages ul li ul li ul li a:link,
- div.widget_pages ul li ul li ul li a:visited,
- div.widget_pages ul li ul li ul li a:active,
- div.widget_categories ul li ul li ul li a:link,
- div.widget_categories ul li ul li ul li a:visited,
- div.widget_categories ul li ul li ul li a:active {
- padding: 0 0 0 5px;
- border-left: solid 7px #cccccc;
- }
- div.widget_nav_menu ul li ul li ul li a:hover,
- div.widget_pages ul li ul li ul li a:hover,
- div.widget_categories ul li ul li ul li a:hover {
- border-left: solid 7px #000000;
- }
- /* The pages widget gets "block" because it usually has only
- one link per <LI> and no text */
- div.widget_nav_menu ul li a:link,
- div.widget_nav_menu ul li a:active,
- div.widget_nav_menu ul li a:visited,
- div.widget_nav_menu ul li a:hover,
- div.widget_pages ul li a:link,
- div.widget_pages ul li a:active,
- div.widget_pages ul li a:visited,
- div.widget_pages ul li a:hover {
- display: block !important;
- }
- /* The category widget gets "inline" per default or otherwise the
- post count would wrap into the next line. If no post count is displayed,
- "block" can be chosen at Theme Options -> Style Widgets -> Category Widget Display Type.
- With "block", links that don't fit into one line will align properly (as a block)
- on the left side. */
- div.widget_categories ul li a:link,
- div.widget_categories ul li a:active,
- div.widget_categories ul li a:visited,
- div.widget_categories ul li a:hover {
- display: inline !important;
- }
- /* ------------------------------------------------------------------
- ---------- BFA SUBSCRIBE WIDGET -------------------------------------
- ------------------------------------------------------------------ */
- table.subscribe {
- width: 100%;
- }
- table.subscribe td.email-text {
- padding: 0 0 5px 0;
- vertical-align: top;
- }
- table.subscribe td.email-field {
- padding: 0;
- width: 100%;
- }
- table.subscribe td.email-button {
- padding: 0 0 0 5px;
- }
- table.subscribe td.post-text {
- padding: 7px 0 0 0;
- vertical-align: top;
- }
- table.subscribe td.comment-text {
- padding: 7px 0 0 0;
- vertical-align: top;
- }
- /* ------------------------------------------------------------------
- ---------- POSTS ----------------------------------------------------
- ------------------------------------------------------------------ */
- /*-------------------- POST CONTAINER ---------------------*/
- div.post, div.page {
- display: block;
- margin: 0 0 30px 0; }
- /* additonal styles for sticky posts */
- div.sticky {
- background: #eee url('<?php bloginfo('template_directory'); ?>/images/sticky.gif') 99% 5% no-repeat;
- border: dashed 1px #cccccc;
- padding: 10px; }
- /*-------------------- POST KICKER ------------------------*/
- div.post-kicker {
- margin: 0 0 5px 0; }
- div.post-kicker a:link,
- div.post-kicker a:visited,
- div.post-kicker a:active {
- color: #000000;
- text-decoration: none;
- text-transform: uppercase; }
- div.post-kicker a:hover {
- color: #cc0000; }
- /*-------------------- POST HEADLINE ----------------------*/
- div.post-headline {
- color: #0078BD; }
- div.post-headline h1,
- div.post-headline h2 {
- margin: 0;
- padding: 0;
- padding: 0;
- margin: 0; }
- div.post-headline h2 a:link,
- div.post-headline h2 a:visited,
- div.post-headline h2 a:active,
- div.post-headline h1 a:link,
- div.post-headline h1 a:visited,
- div.post-headline h1 a:active {
- color: #666666;
- text-decoration: none; }
- div.post-headline h2 a:hover,
- div.post-headline h1 a:hover {
- color: #000000;
- text-decoration: none; }
- /*-------------------- POST BYLINE ------------------------*/
- div.post-byline {
- margin: 5px 0 10px 0; }
- div.post-byline a:link,
- div.post-byline a:visited,
- div.post-byline a:active {
- }
- div.post-byline a:hover {
- }
- /*-------------------- POST BODY COPY ---------------------*/
- div.post-bodycopy {
- }
- div.post-bodycopy p {
- margin: 1em 0;
- padding: 0;
- display: block;
- /* The rule below would create hor. scrollbars in Firefox,
- which would be better than overflowing long strings, but the
- downside is that text won't float around images anymore.
- Uncomment this if you don't float images anyway */
- /* overflow: auto; */
- }
- /*-------------------- POST PAGINATION --------------------*/
- div.post-pagination {
- /*border: solid 1px brown;*/
- }
- /*-------------------- POST FOOTER ------------------------*/
- div.post-footer {
- clear:both;
- display: block;
- margin: 0;
- padding: 5px;
- background: #eeeeee;
- color: #666;
- line-height: 18px; }
- div.post-footer a:link,
- div.post-footer a:visited,
- div.post-footer a:active {
- color: #333;
- font-weight: normal;
- text-decoration: none; }
- div.post-footer a:hover {
- color: #333;
- font-weight: normal;
- text-decoration: underline; }
- /*-------------------- ICONS in KICKER, BYLINE & FOOTER ---*/
- div.post-kicker img,
- div.post-byline img,
- div.post-footer img {
- border: 0;
- padding: 0;
- margin: 0 0 -1px 0;
- background: none;
- }
- span.post-ratings {
- display:inline-block; /* postratings set to "span" by the
- theme, instead of default "div", to
- make them display inline. Adding
- inline-block and nowrap to avoid
- line wrapping of single voting stars. */
- width: auto;
- white-space: nowrap;
- }
- /* ------------------------------------------------------------------
- ---------- PAGE NAVIGATION NEXT/PREVIOUS ----------------------------
- ------------------------------------------------------------------ */
- div.navigation-top {
- margin: 0 0 10px 0;
- padding: 0 0 10px 0;
- border-bottom: dashed 1px #cccccc; }
- div.navigation-middle {
- margin: 10px 0 20px 0;
- padding: 10px 0 10px 0;
- border-top: dashed 1px #cccccc;
- border-bottom: dashed 1px #cccccc; }
- div.navigation-bottom {
- margin: 20px 0 0 0;
- padding: 10px 0 0 0;
- border-top: dashed 1px #cccccc; }
- div.navigation-comments-above {
- margin: 0 0 10px 0;
- padding: 5px 0 5px 0; }
- div.navigation-comments-below {
- margin: 0 0 10px 0;
- padding: 5px 0 5px 0; }
- div.older {
- float: left;
- width: 48%;
- text-align: left;
- margin:0;
- padding:0;
- }
- div.newer {
- float:right;
- width: 48%;
- text-align: right;
- margin:0;
- padding:0;
- }
- div.older-home {
- float: left;
- width: 44%;
- text-align: left;
- margin:0;
- padding:0;
- }
- div.newer-home {
- float:right;
- width: 44%;
- text-align: right;
- margin:0;
- padding:0;
- }
- div.home {
- float: left;
- width: 8%;
- text-align: center;
- margin:0;
- padding:0;
- }
- /* ------------------------------------------------------------------
- ---------- FORMS ----------------------------------------------------
- ------------------------------------------------------------------ */
- form, .feedburner-email-form {
- margin: 0;
- padding: 0;
- }
- fieldset {
- border: 1px solid #cccccc;
- width: auto;
- padding: 0.35em 0.625em 0.75em;
- display: block;
- }
- legend {
- color: #000000;
- background: #f4f4f4;
- border: 1px solid #cccccc;
- padding: 2px 6px;
- margin-bottom: 15px;
- }
- form p {
- margin: 5px 0 0 0;
- padding: 0;
- }
- div.xhtml-tags p {
- margin: 0;
- }
- label {
- margin-right: 0.5em;
- font-family: arial;
- cursor: pointer;
- }
- /* input.TextField for WP-Email
- input.textbox for WPG2 */
- input.text,
- input.textbox,
- input.password,
- input.file,
- input.TextField,
- textarea {
- padding: 3px;
- color: #000000;
- border-top: solid 1px #333333;
- border-left: solid 1px #333333;
- border-right: solid 1px #999999;
- border-bottom: solid 1px #cccccc;
- background: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/inputbackgr.gif) top left no-repeat; }
- textarea {
- width: 96%;
- }
- input.inputblur {
- color: #777777;
- width: 95%;
- }
- input.inputfocus {
- color: #000000;
- width: 95%;
- }
- input.highlight, textarea.highlight {
- background: #e8eff7;
- border-color: #37699f; }
- /* .Button for WP-Email, input[type=submit] for comment submit button since 3.6.1 */
- .button, .Button, input[type=submit] {
- padding: 0 2px;
- height: 24px;
- line-height: 16px;
- background-color: #777777;
- color: #ffffff;
- border: solid 2px #555555;
- font-weight: bold; }
- /* changed from .buttonhover to input.buttonhover in 3.6.1 */
- input.buttonhover {
- padding: 0 2px;
- cursor: pointer;
- background-color: #6b9c6b;
- color: #ffffff;
- border: solid 2px #496d49; }
- /* comment submit button */
- /* IE button width/padding fix */
- form#commentform input#submit {
- padding: 0 .25em;
- /* Since 3.6: Using comment_form() */
- /* width: 0; */
- overflow:visible;
- }
- form#commentform input#submit[class] { /*ie ignores [class]*/
- width: auto;
- }
- form#commentform input#submit {
- padding: 4px 10px 4px 10px;
- font-size: 1.2em;
- line-height: 1.5em;
- height: 36px; }
- /* ------------------------------------------------------------------
- ---------- SEARCH FORM ----------------------------------------------
- ------------------------------------------------------------------ */
- table.searchform {
- width: 100%;
- }
- table.searchform td.searchfield {
- padding: 0;
- width: 100%;
- }
- table.searchform td.searchbutton {
- padding: 0 0 0 5px;
- }
- table.searchform td.searchbutton input{
- padding: 0 0 0 5px;
- }
- /* ------------------------------------------------------------------
- ---------- BLOCKQUOTES ----------------------------------------------
- ------------------------------------------------------------------ */
- blockquote {
- height: 1%;
- display: block;
- clear: both;
- color: #555555;
- padding: 1em 1em;
- background: #f4f4f4;
- border: solid 1px #e1e1e1; }
- blockquote blockquote {
- height: 1%;
- display: block;
- clear: both;
- color: #444444;
- padding: 1em 1em;
- background: #e1e1e1;
- border: solid 1px #d3d3d3; }
- /* ------------------------------------------------------------------
- ---------- TABLES & CALENDAR ----------------------------------------
- ------------------------------------------------------------------ */
- /*-------------------- TABLES IN POSTS --------------------*/
- div.post table {
- border-collapse: collapse;
- margin: 10px 0; }
- div.post table caption {
- width: auto;
- margin: 0 auto;
- background: #eeeeee;
- border: #999999;
- padding: 4px 8px;
- color: #666666; }
- div.post table th {
- background: #888888;
- color: #ffffff;
- font-weight: bold;
- font-size: 90%;
- padding: 4px 8px;
- border: solid 1px #ffffff;
- text-align: center; }
- div.post table td {
- padding: 4px 8px;
- background-color: #ffffff;
- border-bottom: 1px solid #dddddd;
- text-align: center; }
- div.post table tfoot td {
- }
- div.post table tr.alt td {
- background: #f4f4f4; }
- div.post table tr.over td {
- background: #e2e2e2; }
- /*-------------------- CALENDAR WIDGET --------------------*/
- #calendar_wrap {
- padding: 0;
- border: none;
- }
- table#wp-calendar {
- width: 100%;
- font-size:90%;
- border-collapse: collapse;
- background-color: #ffffff;
- margin: 0 auto;
- }
- table#wp-calendar caption {
- width: auto;
- background: #eeeeee;
- border: none;;
- padding: 3px;
- margin: 0 auto;
- font-size: 1em;
- }
- table#wp-calendar th {
- border: solid 1px #eeeeee;
- background-color: #999999;
- color: #ffffff;
- font-weight: bold;
- padding: 2px;
- text-align: center;
- }
- table#wp-calendar td {
- padding: 0;
- line-height: 18px;
- background-color: #ffffff;
- border: 1px solid #dddddd;
- text-align: center;
- }
- table#wp-calendar tfoot td {
- border: solid 1px #eeeeee;
- background-color: #eeeeee;
- }
- table#wp-calendar td a {
- display: block;
- background-color: #eeeeee;
- width: 100%;
- height: 100%;
- padding: 0;
- }
- /* ------------------------------------------------------------------
- ---------- COMMENTS -------------------------------------------------
- ------------------------------------------------------------------ */
- /* whole respond area */
- div#respond {
- margin: 25px 0;
- padding: 25px;
- background: #eee;
- -moz-border-radius: 8px;
- -khtml-border-radius: 8px;
- -webkit-border-radius: 8px;
- border-radius: 8px; }
- p.thesetags {
- margin: 10px 0;
- }
- /* Since 3.6.1: added h3#reply-title. class reply cannot be added to new comment_form() without hacks */
- h3.reply, h3#reply-title {
- margin: 0;
- padding: 0 0 10px 0;
- }
- ol.commentlist {
- margin: 15px 0 25px 0;
- list-style-type: none;
- padding: 0;
- display:block;
- border-top: dotted 1px #cccccc;
- }
- ol.commentlist li {
- padding: 15px 10px;
- display: block;
- height: 1%; /* for IE6 */
- margin: 0;
- background-color: #ffffff;
- border-bottom: dotted 1px #cccccc;
- }
- ol.commentlist li.alt {
- display: block;
- height: 1%; /* for IE6 */
- background-color: #eeeeee;
- border-bottom: dotted 1px #cccccc;
- }
- ol.commentlist li.authorcomment {
- display: block;
- height: 1%; /* for IE6 */
- background-color: #ffecec;
- }
- ol.commentlist span.authorname {
- font-weight: bold;
- font-size: 110%;
- }
- ol.commentlist span.commentdate {
- color: #666666;
- font-size: 90%;
- margin-bottom: 5px;
- display: block;
- }
- ol.commentlist span.editcomment {
- display: block;
- }
- ol.commentlist li p {
- margin: 2px 0 5px 0;
- }
- div.comment-number {
- float: right;
- font-size: 2em;
- line-height: 2em;
- font-family: georgia, serif;
- font-weight: bold;
- color: #ddd;
- margin: -10px 0 0 0;
- position: relative;
- height: 1%
- }
- div.comment-number a:link,
- div.comment-number a:visited,
- div.comment-number a:active {
- color: #ccc;
- }
- textarea#comment {
- width: 98%;
- margin: 10px 0;
- display: block;
- }
- /* ------------------------------------------------------------------
- ---------- COMMENTS WP 2.7 ------------------------------------------
- ------------------------------------------------------------------ */
- ul.commentlist {
- margin: 15px 0 15px 0;
- list-style-type: none;
- padding: 0;
- display:block;
- border-top: dotted 1px #cccccc;
- }
- ul.commentlist ul {
- margin: 0;
- border: none;
- list-style-type: none;
- padding: 0;
- }
- ul.commentlist li {
- padding: 0;
- margin: 0;
- display: block;
- clear: both;
- height: 1%; /* for IE */
- }
- /* indent children */
- ul.commentlist ul.children li {
- margin-left: 30px;
- }
- /* padding and bottom margin for all commment boxes */
- ul.commentlist div.comment-container {
- padding: 10px;
- margin: 0;
- }
- /* round corners for all children comment boxes */
- ul.children div.comment-container {
- background-color: transparent;
- border: dotted 1px #ccc;
- padding: 10px;
- margin: 0 10px 8px 0;
- -moz-border-radius: 5px;
- -khtml-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- }
- ul.children div.bypostauthor {
- /*margin: 10px 0 0 30px;*/
- /* more ... */
- }
- ul.commentlist li.thread-even {
- background-color: #ffffff;
- border-bottom: dotted 1px #cccccc;
- }
- ul.commentlist li.thread-odd {
- background-color: #eeeeee;
- border-bottom: dotted 1px #cccccc;
- }
- ul.commentlist div.bypostauthor {
- background-color: #ffecec;
- }
- ul.children div.bypostauthor {
- border: dotted 1px #ffbfbf;
- }
- ul.commentlist span.authorname {
- font-size: 110%;
- }
- div.comment-meta a:link,
- div.comment-meta a:visited,
- div.comment-meta a:active,
- div.comment-meta a:hover {
- font-weight: normal;
- }
- div#cancel-comment-reply {
- margin: -5px 0 10px 0;
- }
- div.comment-number {
- float: right;
- font-size: 2em;
- line-height: 2em;
- font-family: georgia, serif;
- font-weight: bold;
- color: #ddd;
- margin: -10px 0 0 0;
- position: relative;
- height: 1%
- }
- div.comment-number a:link,
- div.comment-number a:visited,
- div.comment-number a:active {
- color: #ccc;
- }
- /* paged comments navigation */
- .page-numbers {
- padding: 2px 6px;
- border: solid 1px #000000;
- -moz-border-radius: 6px;
- -khtml-border-radius: 6px;
- -webkit-border-radius: 6px;
- border-radius: 6px;
- }
- /* current page number */
- span.current {
- background: #ddd;
- }
- a.prev, a.next {
- border: none;
- }
- a.page-numbers:link,
- a.page-numbers:visited,
- a.page-numbers:active {
- text-decoration: none;
- color: #666666;
- border-color: #666666;
- }
- a.page-numbers:hover {
- text-decoration: none;
- color: #CC0000;
- border-color: #CC0000;
- }
- /* "you can use these xhtml tags" initially closed */
- div.xhtml-tags {
- display: none;
- }
- /* ------------------------------------------------------------------
- ---------- For CommentLuv ----------------------------------------
- ------------------------------------------------------------------ */
- abbr em {
- border: none !important;
- border-top: dashed 1px #aaa !important;
- display: -moz-inline-box !important; /* Firefox 2 doesn't know default "inline-block" */
- display: inline-block !important;
- background: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/commentluv.gif) 0% 90% no-repeat;
- margin-top: 8px;
- padding: 5px 5px 2px 20px !important;
- font-style: normal;
- }
- /* ------------------------------------------------------------------
- ---------- Subscribe to comments -----------------------------------
- ------------------------------------------------------------------ */
- p.subscribe-to-comments {
- margin-bottom: 10px;
- }
- /* ------------------------------------------------------------------
- ---------- For WPG2 Gallery Plugin ----------------------------------
- ------------------------------------------------------------------ */
- /* remove the gallery header with the "Gallery" logo */
- div#gsHeader {
- display: none;
- }
- /* change the formatting of the whole gallery container.
- Default settings: margin:0 1px 0 12px; width:738px; */
- div.g2_column {
- margin: 0 !important;
- width: 100% !important;
- font-size: 1.2em;
- }
- div#gsNavBar {
- border-top-width: 0 !important;
- }
- p.giDescription {
- font-size: 1.2em;
- line-height: 1 !important;
- }
- p.giTitle {
- margin: 0.3em 0 !important;
- font-size: 1em;
- font-weight: normal;
- color: #666;
- }
- /* ------------------------------------------------------------------
- ---------- For WP Email Plugin ----------------------------------
- ------------------------------------------------------------------ */
- div#wp-email img {
- border: 0;
- padding: 0;
- }
- div#wp-email input, div#wp-email textarea {
- margin-top: 5px;
- margin-bottom: 2px;
- }
- div#wp-email p {
- margin-bottom: 10px;
- }
- input#wp-email-submit {
- padding: 0;
- font-size: 30px;
- height: 50px;
- line-height: 50px;
- overflow: visible; /* for IE */
- }
- /* icon in post footer */
- img.WP-EmailIcon {
- vertical-align: text-bottom !important;
- }
- /* ------------------------------------------------------------------
- ---------- For Tabbed Widgets Plugin ---------------------------------
- ------------------------------------------------------------------ */
- /* For the accordion */
- .tw-accordion .tw-widgettitle,
- .tw-accordion .tw-widgettitle:hover,
- .tw-accordion .tw-hovered,
- .tw-accordion .selected,
- .tw-accordion .selected:hover {
- background: transparent !important;
- background-image: none !important;
- }
- .tw-accordion .tw-widgettitle span {
- padding-left: 0 !important;
- }
- .tw-accordion h3.tw-widgettitle {
- border-bottom: solid 1px #ccc;
- }
- .tw-accordion h3.selected {
- border-bottom: none;
- }
- /* For accordion & tabs*/
- td#left .without_title,
- td#right .without_title {
- margin-top: 0;
- margin-bottom: 0;
- }
- /* For tabs*/
- ul.tw-nav-list {
- border-bottom: solid 1px #999;
- display: block;
- margin-bottom: 5px !important;
- }
- td#left ul.tw-nav-list li,
- td#right ul.tw-nav-list li {
- padding: 0 0 1px 0;
- margin: 0 0 -1px 5px;
- border: solid 1px #ccc;
- border-bottom: none;
- -moz-border-radius: 5px;
- -khtml-border-radius: 5px;
- -webkit-border-radius: 5px;
- border-radius: 5px;
- -moz-border-radius-bottomright: 0;
- -moz-border-radius-bottomleft: 0;
- -webkit-border-bottom-right-radius: 0;
- -webkit-border-bottom-left-radius: 0;
- border-bottom-right-radius: 0;
- border-bottom-left-radius: 0;
- background: #eee;
- }
- td#left ul.tw-nav-list li.ui-tabs-selected,
- td#right ul.tw-nav-list li.ui-tabs-selected {
- background: none;
- border: solid 1px #999;
- border-bottom: solid 1px #fff !important;
- }
- ul.tw-nav-list li a:link,
- ul.tw-nav-list li a:visited,
- ul.tw-nav-list li a:active,
- ul.tw-nav-list li a:hover {
- padding: 0 8px !important;
- background: none;
- border-left: none !important;
- outline: none;
- }
- td#left ul.tw-nav-list li.ui-tabs-selected a,
- td#left li.ui-tabs-selected a:hover,
- td#right ul.tw-nav-list li.ui-tabs-selected a,
- td#right li.ui-tabs-selected a:hover {
- color: #000000;
- text-decoration: none;
- font-weight: bold;
- background: none !important;
- outline: none;
- }
- td#left .ui-tabs-panel,
- td#right .ui-tabs-panel {
- margin: 0;
- padding: 0;
- }
- /* ------------------------------------------------------------------
- ---------- IMAGES --------------------------------------------------
- ------------------------------------------------------------------ */
- img {
- border: 0;
- }
- /* For Events manager plugin Google Map */
- #dbem-location-map img {
- background: none !important;
- }
- .post img {
- padding: 5px;
- border: solid 1px #dddddd;
- background-color: #f3f3f3;
- -moz-border-radius: 3px;
- -khtml-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px; }
- .post img.size-full {
- margin: 5px 0 5px 0;
- }
- .post img.alignleft {
- float: left;
- margin: 10px 10px 5px 0;
- }
- .post img.alignright {
- float: right;
- margin: 10px 0 5px 10px;
- }
- .post img.aligncenter {
- display: block;
- margin: 10px auto;
- }
- .aligncenter,
- div.aligncenter {
- display: block;
- margin-left: auto;
- margin-right: auto;
- }
- .alignleft,
- div.alignleft {
- float: left;
- margin: 10px 10px 5px 0;
- }
- .alignright,
- div.alignright {
- float: right;
- margin: 10px 0 5px 10px;
- }
- /* feed icons on archives page */
- div.archives-page img {
- border: 0;
- padding: 0;
- background: none;
- margin-bottom: 0;
- vertical-align: -10%;
- }
- /* ------------------------------------------------------------------
- ---------- IMAGE CAPTION (WP 2.6 and newer) -----------------------
- ------------------------------------------------------------------ */
- .wp-caption {
- /*max-width: 100% auto;*/
- max-width: 96%; /* FF2, IE7, Opera9, Safari 3.0/3.1 will
- resize images in the main column if needed.
- 97% so images with padding and border don't touch
- the right sidebar while being resized. Change this
- to 100% if you want, if your images
- don't have padding and a border */
- width: auto 100%;
- height: auto; /* FF3 needs "auto", IE6 needs "100%", see next style*/
- display: block;
- border: 1px solid #dddddd;
- text-align: center;
- background-color: #f3f3f3;
- padding-top: 4px;
- margin: 10px 0 0 0;
- -moz-border-radius: 3px;
- -khtml-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px; }
- /* for imges inside a caption container IE6 does not
- stretch images vertically as it does with images without
- caption so we can leave this rule although it is probably not
- required as jQuery sets the height for caption'ed images too */
- * html .wp-caption {
- height: 100%;
- }
- .wp-caption img {
- margin: 0 !important;
- padding: 0 !important;
- border: 0 none !important;
- }
- .wp-caption p.wp-caption-text {
- font-size: 0.8em;
- line-height: 13px;
- padding: 2px 4px 5px;
- margin: 0;
- color: #666666; }
- /* ------------------------------------------------------------------
- ---------- POST THUMBNAILS (WP 2.9 and newer) -----------------------
- ------------------------------------------------------------------ */
- img.wp-post-image {
- float: left;
- border: 0;
- padding: 0;
- background: none;
- margin: 0 10px 5px 0;
- }
- /* ------------------------------------------------------------------
- ---------- SMILEYS -------------------------------------------------
- ------------------------------------------------------------------ */
- img.wp-smiley {
- float: none;
- border: none !important;
- margin: 0 1px -1px 1px;
- padding: 0 !important;
- background: none !important;
- }
- /* ------------------------------------------------------------------
- ---------- GRAVATARS ----------------------------------------------
- ------------------------------------------------------------------ */
- img.avatar {
- float: left;
- display: block;
- margin: 0 8px 1px 0;
- padding: 3px;
- border: solid 1px #ddd;
- background-color: #f3f3f3;
- -moz-border-radius: 3px;
- -khtml-border-radius: 3px;
- -webkit-border-radius: 3px;
- border-radius: 3px; }
- /* ------------------------------------------------------------------
- ---------- FOR THE QUICKTAGS PLUGIN ------------------------------
- ------------------------------------------------------------------ */
- /*--------------------COMMENTS QUCIKTAGS ------------------*/
- /* Main Span */
- #comment_quicktags {
- text-align: left;
- padding: 10px 0 2px 0;
- display: block;
- }
- /* Button Style */
- #comment_quicktags input.ed_button {
- background: #f4f4f4;
- border: 2px solid #cccccc;
- color: #444444;
- margin: 2px 4px 2px 0;
- width: auto;
- padding: 0 4px;
- height: 24px;
- line-height: 16px;
- }
- /* Button Style on focus/click */
- #comment_quicktags input.ed_button_hover {
- background: #dddddd;
- border: 2px solid #666666;
- color: #000000;
- margin: 2px 4px 2px 0;
- width: auto;
- padding: 0 4px;
- height: 24px;
- line-height: 16px;
- cursor: pointer;
- }
- /* Button Lable style */
- #comment_quicktags #ed_strong {
- font-weight: bold;
- }
- /* Button Lable style */
- #comment_quicktags #ed_em {
- font-style: italic;
- }
- /* ------------------------------------------------------------------
- ---------- PRINT STYLE ----------------------------------------------
- ------------------------------------------------------------------ */
- @media print {
- body {
- background: white;
- color: black;
- margin: 0;
- font-size: 10pt !important;
- font-family: arial, sans-serif;
- }
- div.post-footer {
- line-height: normal !important;
- color: #555 !important;
- font-size: 9pt !important;
- }
- a:link,
- a:visited,
- a:active,
- a:hover {
- text-decoration: underline !important;
- color: #000;
- }
- h2 {
- color: #000;
- font-size: 14pt !important;
- font-weight: normal !important;
- }
- h3 {
- color: #000;
- font-size: 12pt !important;
- }
- #header,
- #footer,
- .colone,
- .colthree,
- .navigation,
- .navigation-top,
- .navigation-middle,
- .navigation-bottom,
- .wp-pagenavi-navigation,
- #comment,
- #respond,
- .remove-for-print {
- display: none;
- }
- td#left, td#right, td#left-inner, td#right-inner {
- width: 0;
- }
- td#middle {
- width: 100%;
- }
- /* 8 hacks for display:none for all sidebars for all browsers except IE. */
- *:lang(en) td#left {
- display: none;
- }
- *:lang(en) td#right {
- display: none;
- }
- *:lang(en) td#left-inner {
- display: none;
- }
- *:lang(en) td#right-inner {
- display: none;
- }
- td#left:empty {
- display: none;
- }
- td#right:empty {
- display: none;
- }
- td#left-inner:empty {
- display: none;
- }
- td#right-inner:empty {
- display: none;
- }
- }
- /* ##################################################################
- ---------------------------------------------------------------------
- ---------- DROP DOWN / FLY OUT MENUS --------------------------------
- Ruthsarian's rMenu http://webhost.bridgew.edu/etribou/layouts/
- modified by Bytes For All http://wordpress.bytesforall.com/
- ---------------------------------------------------------------------
- ################################################################## */
- /* ------------------------------------------------------------------
- ---------- GENERAL MENU MECHANICS -----------------------------------
- ------------------------------------------------------------------ */
- ul.rMenu,
- ul.rMenu ul,
- ul.rMenu li,
- ul.rMenu a {
- display: block; /* make these objects blocks so they're easier to deal with */
- margin: 0;
- padding: 0; /* get rid of padding/margin values that these
- elements may have by default */
- }
- ul.rMenu, ul.rMenu li, ul.rMenu ul {
- list-style: none;
- }
- ul.rMenu ul {
- display: none; /* hide the sub-menus until needed */
- }
- ul.rMenu li {
- position: relative; /* so sub-menus position relative to their
- parent LI element */
- z-index: 1;
- }
- ul.rMenu li:hover {
- z-index: 999; /* make sure this and any sub-menus that pop
- appear above everything else on the page */
- }
- ul.rMenu li:hover > ul /* hide from IE5.0 because it gets confused
- by this selector */
- {
- display: block; /* show the sub-menu */
- position: absolute; /* remove the sub-menus from the flow of the
- layout so when they pop they don't cause any
- disfiguration of the layout. */
- }
- ul.rMenu li:hover {
- background-position: 0 0;
- }
- /* ------------------------------------------------------------------
- ---------- EXTENDED MENU MECHANICS ----------------------------------
- ------------------------------------------------------------------ */
- /* These rules exist only for specific menu types, such as horizontal
- or vertical menus, right or left aligned menus. */
- ul.rMenu-hor li {
- float: left;
- width: auto;
- }
- ul.rMenu-hRight li {
- float: right; /* horizontal, right menus need their LI
- elements floated to get them over there */
- }
- ul.sub-menu li,
- ul.rMenu-ver li {
- float: none; /* clear this so vertical sub-menus that are
- children of horizontal menus won't have
- their LI widths set to auto. */
- }
- div#menu1 ul.sub-menu,
- div#menu1 ul.sub-menu ul,
- div#menu1 ul.rMenu-ver,
- div#menu1 ul.rMenu-ver ul {
- width: 11em;
- }
- div#menu2 ul.sub-menu,
- div#menu2 ul.sub-menu ul,
- div#menu2 ul.rMenu-ver,
- div#menu2 ul.rMenu-ver ul {
- width: 11em;
- }
- ul.rMenu-wide
- {
- width: 100%; /* apply this rule if you want the top-level
- menu to go as wide as possible. this is
- something you might want if your top-level
- is a vertical menu that spans the width
- of a column which has its width
- pre-defined. IE/Win 5 seems to prefer
- a value of 100% over auto. */
- }
- ul.rMenu-vRight
- {
- float: right; /* use this to float a vertical menu right. */
- }
- ul.rMenu-lFloat
- {
- float: left; /* use this to float a vertical menu left. */
- }
- ul.rMenu-noFloat
- {
- float: none; /* this is to cover those cases where a menu
- is floated by default and you have a reason
- to not float it. such as a menu on the
- right side of the screen that you want
- to have drops going left but not floated.
- to be honest, i don't think this rule is
- needed. the clearfix hack will resolve
- renering issues associated with a floated
- menu anyways. */
- }
- /* ------------------------------------------------------------------
- ---------- EXTENDED MENU MECHANICS - Center Horizontal Menu ---------
- ------------------------------------------------------------------ */
- div.rMenu-center ul.rMenu {
- float: left;
- position: relative;
- left: 50%;
- }
- div.rMenu-center ul.rMenu li {
- position: relative;
- left: -50%;
- }
- div.rMenu-center ul.rMenu li li {
- left: auto;
- }
- /* ------------------------------------------------------------------
- ---------- DROP POSITIONS -------------------------------------------
- ------------------------------------------------------------------ */
- ul.rMenu-hor ul {
- top: auto; /* a value of 100% creates a problem in IE 5.0
- and Opera 7.23 */
- right: auto;
- left: auto; /* typically want a value of 0 here but set to
- auto for same reasons detailed above */
- margin-top: -1px; /* so the top border of the dropdown menu
- overlaps the bottom border of its parent
- horizontal menu. */
- }
- ul.rMenu-hor ul ul {
- margin-top: 0; /* reset the above for fly out menus */
- margin-left: 0px;
- }
- ul.sub-menu ul,
- ul.rMenu-ver ul {
- /*left: 60%;*/
- left: 100%;
- right: auto;
- top: auto;
- /*margin-top: -0.5em;*/ /* i prefer top: 80% but this creates a problem
- in iCab so negative top margin must be used.
- salt to taste. */
- top: 0;
- }
- ul.rMenu-vRight ul,
- ul.rMenu-hRight ul.sub-menu ul,
- ul.rMenu-hRight ul.rMenu-ver ul {
- left: -100%;
- right: auto;
- top: auto;
- /*margin-top: -0.5em;*/ /* i prefer top: 80% but this creates a problem
- in iCab so negative top margin must be used.
- salt to taste. */
- }
- ul.rMenu-hRight ul {
- left: auto;
- right: 0; /* this doesn't work in Opera 7.23 but 7.5 and
- beyond work fine. this means right-aligned
- horizontal menus break in Opera 7.23 and
- earlier. no workaround has been found. */
- top: auto;
- margin-top: -1px; /* so the top border of the dropdown menu
- overlaps the bottom border of its parent
- horizontal menu. */
- }
- /* ------------------------------------------------------------------
- ---------- PRESENTATION: General ------------------------------------
- ------------------------------------------------------------------ */
- div#menu1 ul.rMenu {
- background: #0078BD;
- border: solid 1px #0078BD;
- }
- div#menu2 ul.rMenu {
- background: #0078BD;
- border: solid 1px #0078BD ;
- }
- div#menu1 ul.rMenu li a {
- border: solid 1px #0078BD;
- }
- div#menu2 ul.rMenu li a {
- border: solid 1px #0078BD ;
- }
- ul.rMenu-hor li {
- margin-bottom: -1px; /* this is so if we apply a bottom border to
- the UL element it will render behind, but
- inline with the bottom border of the LI
- elements. Default: -1px */
- margin-top: -1px; /* this is so if we apply a top border to
- the UL element it will render behind, but
- inline with the bottom border of the LI
- elements. Default: -1px */
- margin-left: -1px; /* negative borders on LIs to make borders on
- child A elements overlap. they go here and
- not on the A element for compatibility
- reasons (IE6 and earlier). Default: -1px */
- }
- ul#rmenu li {
- /*margin-right: 3px;*/ /* set to 0 to remove the space between single,
- horizontal LI elements */
- }
- ul#rmenu li ul li {
- /*margin-right: 0;*/ /* without this, the 2nd level horizontal LI's would get
- a margin-right, too. This should always be 0 */
- }
- ul.rMenu-hor {
- padding-left: 1px ; /* compensate for the 1px left jog created by
- the above negative margin. */
- }
- ul.sub-menu li,
- ul.rMenu-ver li {
- margin-left: 0;
- margin-top: -1px; /* same thing above except for vertical
- menus */
- }
- div#menu1 ul.sub-menu,
- div#menu1 ul.rMenu-ver {
- border-top: solid 1px #0078BD;
- }
- div#menu2 ul.sub-menu,
- div#menu2 ul.rMenu-ver {
- border-top: solid 1px #0078BD ;
- }
- div#menu1 ul.rMenu li a {
- padding: 4px 5px;
- }
- div#menu2 ul.rMenu li a {
- padding: 4px 5px;
- }
- div#menu1 ul.rMenu li a:link,
- div#menu1 ul.rMenu li a:hover,
- div#menu1 ul.rMenu li a:visited,
- div#menu1 ul.rMenu li a:active {
- text-decoration: none;
- margin: 0;
- color: #FFFFFF;
- text-transform: none;
- font: 15px Arial, Verdana, sans-serif;
- }
- div#menu2 ul.rMenu li a:link,
- div#menu2 ul.rMenu li a:hover,
- div#menu2 ul.rMenu li a:visited,
- div#menu2 ul.rMenu li a:active {
- text-decoration: none;
- margin:0;
- color: #FFFFFF;
- text-transform: capitalize;
- font: 15px Arial, Verdana, sans-serif ;
- }
- /*
- ul.rMenu li.sfhover a:active,
- ul.rMenu li:hover a:active
- {
- color: #fff;
- background-color: #c00;
- }
- */
- div#menu1 ul.rMenu li {
- background-color: #0078BD;
- }
- div#menu2 ul.rMenu li {
- background-color: #0078BD;
- }
- div#menu1 ul.rMenu li:hover,
- div#menu1 ul.rMenu li.sfhover {
- /* background color for parent menu items of
- the current sub-menu. includes the sfhover
- class which is used in the suckerfish hack
- detailed later in this stylesheet. */
- background: #DDDDDD;
- }
- div#menu2 ul.rMenu li:hover,
- div#menu2 ul.rMenu li.sfhover {
- /* background color for parent menu items of
- the current sub-menu. includes the sfhover
- class which is used in the suckerfish hack
- detailed later in this stylesheet. */
- background: #DDDDDD;
- }
- /* "current" page and hover, first part old version */
- div#menu1 ul.rMenu li.current-menu-item > a:link,
- div#menu1 ul.rMenu li.current-menu-item > a:active,
- div#menu1 ul.rMenu li.current-menu-item > a:hover,
- div#menu1 ul.rMenu li.current-menu-item > a:visited,
- div#menu1 ul.rMenu li.current_page_item > a:link,
- div#menu1 ul.rMenu li.current_page_item > a:active,
- div#menu1 ul.rMenu li.current_page_item > a:hover,
- div#menu1 ul.rMenu li.current_page_item > a:visited {
- background-color: #EEEEEE;
- color: #000000;
- }
- /* First 4 lines For IE6:*/
- div#menu1 ul.rMenu li.current-menu-item a:link,
- div#menu1 ul.rMenu li.current-menu-item a:active,
- div#menu1 ul.rMenu li.current-menu-item a:hover,
- div#menu1 ul.rMenu li.current-menu-item a:visited,
- div#menu1 ul.rMenu li.current_page_item a:link,
- div#menu1 ul.rMenu li.current_page_item a:active,
- div#menu1 ul.rMenu li.current_page_item a:hover,
- div#menu1 ul.rMenu li.current_page_item a:visited,
- div#menu1 ul.rMenu li a:hover {
- background-color: #EEEEEE;
- color: #000000;
- }
- div#menu2 ul.rMenu li.current-menu-item > a:link,
- div#menu2 ul.rMenu li.current-menu-item > a:active,
- div#menu2 ul.rMenu li.current-menu-item > a:hover,
- div#menu2 ul.rMenu li.current-menu-item > a:visited,
- div#menu2 ul.rMenu li.current-cat > a:link,
- div#menu2 ul.rMenu li.current-cat > a:active,
- div#menu2 ul.rMenu li.current-cat > a:hover,
- div#menu2 ul.rMenu li.current-cat > a:visited {
- background-color: #EEEEEE;
- color: #000000;
- }
- /* First 4 lines For IE6:*/
- div#menu2 ul.rMenu li.current-menu-item a:link,
- div#menu2 ul.rMenu li.current-menu-item a:active,
- div#menu2 ul.rMenu li.current-menu-item a:hover,
- div#menu2 ul.rMenu li.current-menu-item a:visited,
- div#menu2 ul.rMenu li.current-cat a:link,
- div#menu2 ul.rMenu li.current-cat a:active,
- div#menu2 ul.rMenu li.current-cat a:hover,
- div#menu2 ul.rMenu li.current-cat a:visited,
- div#menu2 ul.rMenu li a:hover {
- background-color: #EEEEEE;
- color: #000000;
- }
- /* ------------------------------------------------------------------
- ---------- PRESENTATION: Expand -------------------------------------
- ------------------------------------------------------------------ */
- div#menu1 ul.rMenu li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a {
- padding-right: 15px;
- padding-left: 5px;
- background-repeat: no-repeat;
- background-position: 100% 50%;
- background-image: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/expand-right-white.gif);
- }
- div#menu2 ul.rMenu li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a {
- padding-right: 15px;
- padding-left: 5px;
- background-repeat: no-repeat;
- background-position: 100% 50%;
- background-image: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/expand-right-white.gif);
- }
- ul.rMenu-vRight li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-vRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a,
- ul.rMenu-hRight li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand a
- {
- padding-right: 5px;
- padding-left: 20px;
- background-image: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/expand-left.gif);
- background-repeat: no-repeat;
- background-position: -5px 50%;
- }
- /* divs added for "IE6 & 2 menu styles" */
- div#menu1 ul.rMenu-hor li.rMenu-expand a {
- padding-left: 5px; /* reset padding */
- padding-right: 15px !important;
- background-position: 100% 50%;
- background-image: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/expand-down-white.gif);
- }
- div#menu2 ul.rMenu-hor li.rMenu-expand a {
- padding-left: 5px; /* reset padding */
- padding-right: 15px !important;
- background-position: 100% 50%;
- background-image: url(http://livethelanguage.cn/wp-content/themes/atahualpa/images/expand-down-white.gif);
- }
- div#menu1 ul.rMenu li.rMenu-expand li a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li a,
- div#menu1 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li a {
- background-image: none;
- padding-right: 5px; /* reset padding */
- padding-left: 5px; /* reset padding */
- }
- div#menu2 ul.rMenu li.rMenu-expand li a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li a,
- div#menu2 ul.rMenu li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li.rMenu-expand li a {
- background-image: none;
- padding-right: 5px; /* reset padding */
- padding-left: 5px; /* reset padding */
- }
- /* For centered page menu */
- ul#rmenu2 {
- border: 0 !important;
- }
- ul#rmenu2 li a {
- white-space: nowrap; /* IE may wrap the link text of a first level item */
- }
- ul#rmenu2 li ul li a {
- white-space: normal; /* reset nowrap for sub levels. They should wrap if required */
- }
- ul#rmenu2 ul.sub-menu,
- ul#rmenu2 ul.rMenu-ver {
- text-align: left; /* because the parent container, the table's TD has align="center" */
- }
- div#menu1 {
- border: dashed 1px #ccc;
- }
- /*******************************************************************************
- * HACKS : General
- *
- * These are rules specifically targeted to resolve bugs/quirks that some
- * browser exhibit.
- *
- * REFERENCES:
- * http://www.webdevout.net/css-hacks
- * http://www.satzansatz.de/cssd/onhavinglayout.html
- * http://www.communis.co.uk/dithered/css_filters/css_only/index.html
- */
- * html ul.rMenu
- {
- display: inline-block; /* this is for IE/Mac. it forces IE/Mac to
- expand the element's dimensions to contain
- its floating child elements without a
- clearing element. */
- /* \*/ display: block; /* override above rule for every other
- browser using IE/Mac backslash hack */
- position: relative; /* IE 5.0/Mac needs this or it may clip the
- dropdown menus */
- /* \*/ position: static;/* reset position attribute for IE/Win as it
- causes z-index problems */
- }
- * html ul.rMenu ul
- {
- float: left; /* IE/Mac 5.0 needs this, otherwise hidden
- menus are not completely removed from the
- flow of the document. */
- /* \*/ float: none; /* reset the rule for non-Macs */
- }
- ul.rMenu ul
- {
- background-color: #fff; /* IE/Win (including 7) needs this on an object
- that hasLayout so that it doesn't "look through"
- the menu and let any object (text) below the
- menu to gain focus, causing the menu to
- disappear. application of this rule does not
- cause any rendering problems with other browsers
- as the background color his covered by the
- menu itself. */
- }
- * html ul.sub-menu li,
- * html ul.rMenu-ver li,
- * html ul.rMenu-hor li ul.sub-menu li,
- * html ul.rMenu-hor li ul.rMenu-ver li
- {
- /* the second selector above is there
- because of problems IE/Mac has with
- inheritance and what rules should take
- precedence. and to serve as a reminder on
- how to work around the issue if it's
- encountered again down the road. */
- width: 100%;
- float: left;
- clear: left; /* IE likes to stick space below any LI
- in :hover state with a sub-menu. floating
- the LIs seems to work around this issue. But
- note that this also triggers hasLayout
- because we need a width of 100% on floats. */
- }
- *:first-child+html ul.sub-menu > li:hover ul,
- *:first-child+html ul.rMenu-ver > li:hover ul /* hide from IE5.0 because it gets confused by this selector */
- {
- min-width: 0; /* this fixes a similar problem as described in the
- rule set that exists in IE7 (and later?). However
- the whitespace only appears when the LI element is
- in a :hover state. */
- }
- ul.rMenu li a
- {
- position: relative; /* trigger hasLayout for IE on anchor
- elements. without hasLayout on anchors
- they would not expand the full width
- of the menu. this rule may not trigger
- hasLayour in later versions of IE and
- if you find this system broken in new
- versions of IE, this is probably the
- source. */
- min-width: 0; /* triggers hasLayout for IE 7 */
- }
- * html ul.rMenu-hor li
- {
- width: 6em; /* IE Mac doesn't do auto widths so specify a width
- for the sake of IE/Mac. Salt to taste. */
- /* \*/ width: auto; /* now undo previous rule for non Macs by using
- the IE Mac backslash comment hack */
- }
- * html div.rMenu-center
- {
- position: relative;
- z-index: 1; /* IE 6 and earlier need a little help with
- z-indexes on centered menus */
- }
- html/* */:not([lang*=""]) div.rMenu-center ul.rMenu li a:hover {
- height: 100%; /* for Netscape 6 */
- }
- html:/* */not([lang*=""]) div.rMenu-center ul.rMenu li a:hover {
- height: auto; /* reset for Netscape 7 and better */
- }
- /*******************************************************************************
- * HACKS : Suckerfish w/Form Field Support (for IE 5.5 & 6.x)
- *
- * IE6 and earlier do not support the :hover pseudoclass and so javascript is
- * used to add the "sfhover" class of any LI element that the mouse is currently
- * over. This method is called suckerfish and you can read up on it at:
- * http://www.htmldog.com/articles/suckerfish/dropdowns/
- *
- * One problem with this approach is IE6 and earlier versions have a bug where
- * form fields appear over the dropdown menus regardless of z-index values.
- * The fix is to generate and stick an IFRAME element under the dropdown menus
- * as they pop. The JavaScript used to do this requires that we hide menus off
- * to the side of the screen ( left: -100000px; ), but normal rMenu operation
- * is to hide menus with the DISPLAY property ( display: none; ). So also
- * included in the set of rules below are rules to overwrite this original
- * functionality of rMenu and utilize the LEFT property to move menus off-
- * screen until needed. Any other rules that use the LEFT property in the
- * normal rMenu system will also have to be ovewriten here as well. This
- * includes the dropdown positions.
- *
- * NOTE: this allows for support of dropdown menus up to 3 levels deep. if you
- * want to support greather menu depth you need to alter these selectors.
- * read the above mentioned website for more info on how to do that.
- *
- * The fix to get dropdowns to appear over form fields requires we
- * position menus off screen rather than simply hiding them with
- * display:none. So you might think we should not be using the display
- * property in the fields below. However we can because these display
- * properties are only being set when a parent LI is being hovered, so
- * the JavaScript used to operate on these LIs will already have the
- * dimensions they need before these display rules are activated.
- */
- * html ul.rMenu ul
- {
- display: block;
- position: absolute; /* ovewrite original functionality of hiding
- element so we can hide these off screen */
- }
- * html ul.rMenu ul,
- * html ul.rMenu-hor ul,
- * html ul.sub-menu ul,
- * html ul.rMenu-ver ul,
- * html ul.rMenu-vRight ul,
- * html ul.rMenu-hRight ul.sub-menu ul,
- * html ul.rMenu-hRight ul.rMenu-ver ul,
- * html ul.rMenu-hRight ul
- {
- left: -10000px; /* move menus off screen. note we're ovewriting
- the dropdown position rules that use the
- LEFT property, thus all the selectors. */
- }
- * html ul.rMenu li.sfhover
- {
- z-index: 999; /* not totally needed, but keep the menu
- that pops above all other elements within
- it's parent menu system */
- }
- * html ul.rMenu li.sfhover ul
- {
- left: auto; /* pull the menus that were off-screen back
- onto the screen */
- }
- * html ul.rMenu li.sfhover ul ul,
- * html ul.rMenu li.sfhover ul ul ul
- {
- display: none; /* IE/Suckerfish alternative for browsers that
- don't support :hover state on LI elements */
- }
- * html ul.rMenu li.sfhover ul,
- * html ul.rMenu li li.sfhover ul,
- * html ul.rMenu li li li.sfhover ul
- {
- display: block; /* ^ ditto ^ */
- }
- * html ul.sub-menu li.sfhover ul,
- * html ul.rMenu-ver li.sfhover ul
- {
- left: 60%; /* dropdown positioning uses the left attribute
- for horizontal positioning. however we can't
- use this property until the menu is being
- displayed.
- note that all ULs beneath the menu item
- currently in the hover state will get this
- value through inheritance. however all sub-
- menus still won't display because
- two rule sets up we're setting the
- DISPLAY property to none.
- */
- }
- * html ul.rMenu-vRight li.sfhover ul,
- * html ul.rMenu-hRight ul.sub-menu li.sfhover ul
- * html ul.rMenu-hRight ul.rMenu-ver li.sfhover ul
- {
- left: -60%; /* ^ ditto ^ */
- }
- * html ul.rMenu iframe
- {
- /* filter:progid:DXImageTransform.Microsoft.Alpha(style=0,opacity=0); */
- /* the above rule is now applied in the
- javascript used to generate the IFRAME this
- is applied to. it allows the CSS to validate
- while keeping the original functionality. */
- position: absolute;
- left: 0;
- top: 0;
- z-index: -1; /* this is the IFRAME that's placed behind
- dropdown menus so that form elements don't
- show through the menus. they are not set
- programatically via javascript because
- doing so generates some lag in the display
- of the dropdown menu. */
- }
- /* ie6 fixes */
- * html ul.rMenu {
- margin-left: 1px;
- }
- * html ul.rMenu ul,
- * html ul.rMenu ul ul,
- * html ul.rMenu ul ul ul,
- * html ul.rMenu ul ul ul ul {
- margin-left: 0;
- }
- /* ------------------------------------------------------------------
- ---------- HACKS: Clearfix & others ---------------------------------
- ------------------------------------------------------------------ */
- .clearfix:after {
- content: ".";
- display: block;
- height: 0;
- clear: both;
- visibility: hidden;
- }
- .clearfix {
- min-width: 0; /* trigger hasLayout for IE7 */
- display: inline-block;
- /* \*/ display: block; /* Hide from IE Mac */
- }
- * html .clearfix {
- /* \*/ height: 1%; /* Hide from IE Mac */
- }
- /* Chrome and Safari don't like clearfix in some cases.
- Also, adding height and font-size for IE6 */
- .clearboth {
- clear: both;
- height: 1%;
- font-size: 1%;
- line-height: 1%;
- display: block;
- padding: 0;
- margin: 0;
- }
- h1 { font-size: 30px; line-height: 1.2; margin: 0.3em 0 10px; }
- h2 { font-size: 26px; line-height: 1.3; margin: 1em 0 .2em; }
- h3 { font-size: 23px; line-height: 1.3; margin: 1em 0 .2em; }
- h4 { font-size: 19px; margin: 1.33em 0 .2em; }
- h5 { font-size: 1.3em; margin: 1.67em 0; font-weight: bold; }
- h6 { font-size: 1.15em; margin: 1.67em 0; font-weight: bold; }
- div#menu1 { border: dashed 17px #0078bd; background: #0078bd;}
- div#bfa_page_menu{background: url('http://konfidi.net/ltl/wp-content/uploads/2011/07/topbar21.gif') top center no-repeat;}
- div.widget ul li {margin: 2px 0px 10px 0px;}
- div.post-headline {border-bottom: 1px #0078BD solid;}
- div#menu2 { border: dashed 17px #0078bd; background: #0078bd;text-align:left;}
- div#bfa_cat_menu{background: url('http://konfidi.net/ltl/wp-content/uploads/2011/07/topbar21.gif') top center no-repeat;}
- </style>
- <script type="text/javascript">
- //<![CDATA[
- /* JQUERY */
- jQuery(document).ready(function(){
- /* jQuery('ul#rmenu').superfish(); */
- /* jQuery('ul#rmenu').superfish().find('ul').bgIframe({opacity:false}); */
- /* For IE6 */
- if (jQuery.browser.msie && /MSIE 6\.0/i.test(window.navigator.userAgent) && !/MSIE 7\.0/i.test(window.navigator.userAgent) && !/MSIE 8\.0/i.test(window.navigator.userAgent)) {
- /* Max-width for images in IE6 */
- var centerwidth = jQuery("td#middle").width();
- /* Images without caption */
- jQuery(".post img").each(function() {
- var maxwidth = centerwidth - 10 + 'px';
- var imgwidth = jQuery(this).width();
- var imgheight = jQuery(this).height();
- var newimgheight = (centerwidth / imgwidth * imgheight) + 'px';
- if (imgwidth > centerwidth) {
- jQuery(this).css({width: maxwidth});
- jQuery(this).css({height: newimgheight});
- }
- });
- /* Images with caption */
- jQuery("div.wp-caption").each(function() {
- var captionwidth = jQuery(this).width();
- var maxcaptionwidth = centerwidth + 'px';
- var captionheight = jQuery(this).height();
- var captionimgwidth = jQuery("div.wp-caption img").width();
- var captionimgheight = jQuery("div.wp-caption img").height();
- if (captionwidth > centerwidth) {
- jQuery(this).css({width: maxcaptionwidth});
- var newcaptionheight = (centerwidth / captionwidth * captionheight) + 'px';
- var newcaptionimgheight = (centerwidth / captionimgwidth * captionimgheight) + 'px';
- jQuery(this).css({height: newcaptionheight});
- jQuery("div.wp-caption img").css({height: newcaptionimgheight});
- }
- });
- /* sfhover for LI:HOVER support in IE6: */
- jQuery("ul li").
- hover( function() {
- jQuery(this).addClass("sfhover")
- },
- function() {
- jQuery(this).removeClass("sfhover")
- }
- );
- /* End IE6 */
- }
- jQuery(".post table tr").
- mouseover(function() {
- jQuery(this).addClass("over");
- }).
- mouseout(function() {
- jQuery(this).removeClass("over");
- });
- jQuery(".post table tr:even").
- addClass("alt");
- jQuery("input.text, input.TextField, input.file, input.password, textarea").
- focus(function () {
- jQuery(this).addClass("highlight");
- }).
- blur(function () {
- jQuery(this).removeClass("highlight");
- })
- jQuery("input.inputblur").
- focus(function () {
- jQuery(this).addClass("inputfocus");
- }).
- blur(function () {
- jQuery(this).removeClass("inputfocus");
- })
- jQuery("input.button, input.Button, input#submit").
- mouseover(function() {
- jQuery(this).addClass("buttonhover");
- }).
- mouseout(function() {
- jQuery(this).removeClass("buttonhover");
- });
- /* toggle "you can use these xhtml tags" */
- jQuery("a.xhtmltags").
- click(function(){
- jQuery("div.xhtml-tags").slideToggle(300);
- });
- /* For the Tabbed Widgets plugin: */
- jQuery("ul.tw-nav-list").
- addClass("clearfix");
- /* Strech short pages to full height, keep footer at bottom. */
- /* Set a compensation value to fix browser differences and an overall
- misalignment with this method */
- if (jQuery.browser.msie || jQuery.browser.safari) {
- var bfacompensate = 41;
- } else {
- var bfacompensate = 21;
- }
- /* Fix a jQuery/Opera 9.5+ bug with determining the window height */
- var windowheight = jQuery.browser.opera && jQuery.browser.version > "9.5" &&
- jQuery.fn.jquery <= "1.2.6" ? document.documentElement["clientHeight"] : jQuery(window).height();
- /* Top and bottom padding may have been set on the BODY */
- var paddingtop = parseInt(jQuery("body").css("padding-top"));
- var paddingbottom = parseInt(jQuery("body").css("padding-bottom"));
- /* Get the height of the header, footer, and the layout as a whole */
- var headerheight = jQuery("td#header").height();
- var footerheight = jQuery("td#footer").height();
- var layoutheight = jQuery("div#wrapper").height();
- /* Adjust height of middle column if (layout height + body padding-top + body padding-bottom) is smaller than
- height of browser viewport */
- if ( windowheight > (layoutheight + paddingtop + paddingbottom) ) {
- var newmiddleheight = windowheight - paddingtop - headerheight - footerheight - paddingbottom - bfacompensate;
- jQuery("td#middle").css({height: newmiddleheight + "px"});
- }
- });
- //]]>
- </script>
- <!--[if IE 6]>
- <script type="text/javascript">DD_roundies.addRule("a.posts-icon, a.comments-icon, a.email-icon, img.logo");</script>
- <![endif]-->
- <style type="text/css">.broken_link, a.broken_link {
- text-decoration: line-through;
- }</style> <!-- Begin Easy Columns 1.0 by Pat Friedl http://www.affiliatetechhelp.com -->
- <link rel="stylesheet" href="http://livethelanguage.cn/wp-content/plugins/easy-columns/css/wp-ez-columns.css?1317983522" type="text/css" media="screen, projection" />
- <!-- End Easy Columns 1.0 -->
- <!-- Easy FancyBox 1.3.4.9 using FancyBox 1.3.4 - RavanH (http://4visions.nl/en/wordpress-plugins/easy-fancybox/) -->
- <script type="text/javascript">
- /* <![CDATA[ */
- jQuery(document).ready(function($){
- var fb_timeout = null;
- var fb_opts = { 'overlayShow' : true, 'centerOnScroll' : true, 'showCloseButton' : true, 'showNavArrows' : true, 'onCleanup' : function() { if(fb_timeout) { window.clearTimeout(fb_timeout); fb_timeout = null; } } };
- /* IMG */
- var fb_IMG_select = 'a[href$=".jpg"]:not(.nofancybox),a[href$=".JPG"]:not(.nofancybox),a[href$=".gif"]:not(.nofancybox),a[href$=".GIF"]:not(.nofancybox),a[href$=".png"]:not(.nofancybox),a[href$=".PNG"]:not(.nofancybox)';
- $(fb_IMG_select).addClass('fancybox').attr('rel', 'gallery');
- $('a.fancybox, area.fancybox').fancybox( $.extend({}, fb_opts, { 'transitionIn' : 'elastic', 'easingIn' : 'easeOutBack', 'transitionOut' : 'elastic', 'easingOut' : 'easeInBack', 'opacity' : false, 'titleShow' : true, 'titlePosition' : 'over', 'titleFromAlt' : true }) );
- /* Auto-click */
- $('#fancybox-auto').trigger('click');
- });
- /* ]]> */
- </script>
- <style type="text/css">.fancybox-hidden{display:none}</style>
- <!-- Google Analytics Tracking by Google Analyticator 6.2: http://ronaldheft.com/code/analyticator/ -->
- <script type="text/javascript">
- var analyticsFileTypes = [''];
- var analyticsEventTracking = 'enabled';
- </script>
- <script type="text/javascript">
- var _gaq = _gaq || [];
- _gaq.push(['_setAccount', 'UA-16750382-1']);
- _gaq.push(['_trackPageview']);
- _gaq.push(['_trackPageLoadTime']);
- (function() {
- var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
- ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
- var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
- })();
- </script>
- </head>
- <body class="home page page-id-165 page-template page-template-front-php">
- <div id="wrapper">
- <div id="container">
- <table id="layout" border="0" cellspacing="0" cellpadding="0">
- <colgroup>
- <col class="colone" /><col class="coltwo" />
- <col class="colthree-inner" /><col class="colthree" /></colgroup>
- <tr>
- <!-- Header -->
- <td id="header" colspan="4">
- <div style="height: 300px; width: 960px; margin: auto;"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,40,0" width="960" height="300"><param name="allowfullscreen" value="false" /><param name="movie" value="http://konfidi.net/ltl/wp-content/uploads/2011/07/main.swf" /><embed width="960" height="300" allowfullscreen="true" type="application/x-shockwave-flash" src="http://konfidi.net/ltl/wp-content/uploads/2011/07/main.swf" pluginspage="http://www.macromedia.com/go/getflashplayer" /></object></div>
- <div id="bfa_cat_menu" style="height:60px;"><table cellpadding="0" cellspacing="0" style="margin: 0px 153px;"><tr><td align="center"><div id="menu2" class="menu-home-page-container"><ul id="rmenu" class="clearfix rMenu-hor rMenu"><li id="menu-item-758" class="rMenu-expand menu-item menu-item-type-post_type menu-item-object-page menu-item-758"><a href="http://livethelanguage.cn/about/"><span>About Us</span></a>
- <ul class="rMenu-ver sub-menu">
- <li id="menu-item-768" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-768"><a href="http://livethelanguage.cn/about/philosophy/"><span>Philosophy</span></a></li>
- <li id="menu-item-770" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-770"><a href="http://livethelanguage.cn/about/about-ltl-staff/"><span>Staff</span></a></li>
- <li id="menu-item-764" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-764"><a href="http://livethelanguage.cn/about/about-ltl-faq/"><span>FAQ</span></a></li>
- <li id="menu-item-762" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-762"><a href="http://livethelanguage.cn/about/about-us-contact-us/"><span>Contact Us</span></a></li>
- <li id="menu-item-775" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-775"><a href="http://livethelanguage.cn/about/about-ltl-careers/"><span>Careers</span></a></li>
- </ul>
- </li>
- <li id="menu-item-771" class="rMenu-expand menu-item menu-item-type-post_type menu-item-object-page menu-item-771"><a href="http://livethelanguage.cn/chinese_classes/"><span>Classes</span></a>
- <ul class="rMenu-ver sub-menu">
- <li id="menu-item-767" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-767"><a href="http://livethelanguage.cn/chinese_classes/traveling-to-china/"><span>Traveling to China</span></a></li>
- <li id="menu-item-759" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-759"><a href="http://livethelanguage.cn/chinese_classes/already-in-beijing/"><span>Already in Beijing</span></a></li>
- <li id="menu-item-1225" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1225"><a href="http://livethelanguage.cn/already-in-tianjin/"><span>Already in Tianjin</span></a></li>
- <li id="menu-item-761" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-761"><a href="http://livethelanguage.cn/chinese_classes/chinese-culture-classes/"><span>Culture Classes</span></a></li>
- </ul>
- </li>
- <li id="menu-item-772" class="rMenu-expand menu-item menu-item-type-post_type menu-item-object-page menu-item-772"><a href="http://livethelanguage.cn/corporate-students-offer/"><span>Corporate</span></a>
- <ul class="rMenu-ver sub-menu">
- <li id="menu-item-769" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-769"><a href="http://livethelanguage.cn/corporate-students-offer/"><span>Services Offered</span></a></li>
- <li id="menu-item-766" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-766"><a href="http://livethelanguage.cn/corporate-students-testimonials/"><span>Testimonials</span></a></li>
- <li id="menu-item-763" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-763"><a href="http://livethelanguage.cn/corporate-faq/"><span>Corporate FAQ</span></a></li>
- </ul>
- </li>
- <li id="menu-item-776" class="rMenu-expand menu-item menu-item-type-post_type menu-item-object-page menu-item-776"><a href="http://livethelanguage.cn/internship/"><span>Internships</span></a>
- <ul class="rMenu-ver sub-menu">
- <li id="menu-item-962" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-962"><a href="http://livethelanguage.cn/volunteering-opportunities/"><span>Volunteering</span></a></li>
- <li id="menu-item-1090" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1090"><a href="http://livethelanguage.cn/internship/"><span>Internships</span></a></li>
- </ul>
- </li>
- <li id="menu-item-1406" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-1406"><a href="http://livethelanguage.cn/summer-camp/"><span>Summer Camp</span></a></li>
- <li id="menu-item-765" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-765"><a href="http://livethelanguage.cn/locations/"><span>Locations</span></a></li>
- <li id="menu-item-760" class="menu-item menu-item-type-post_type menu-item-object-page menu-item-760"><a href="http://livethelanguage.cn/blog/"><span>Blog</span></a></li>
- </ul></div></td></tr></table><div style="position:absolute;top: 327px;right: 151px;"><a href="http://livethelanguage.cn"><img src="http://livethelanguage.cn/wp-content/uploads/2011/07/transparent.png"></a></div></div>
- </td>
- <!-- / Header -->
- </tr>
- <!-- Main Body -->
- <tr id="bodyrow">
- <!-- Left Sidebar -->
- <td id="left">
- <div id="text-4" class="widget widget_text"> <div class="textwidget"></div>
- </div>
- </td>
- <!-- / Left Sidebar -->
- <!-- Main Column -->
- <td id="middle" style="background: #0078BD;width: 758px;">
- <div class="post-165 page type-page status-publish hentry post odd" id="post-165">
- <div class="post-bodycopy clearfix"><div>
- <p><div class="wpcol-one-third"><a href="http://livethelanguage.cn/chinese-classes/"><img class="alignnone size-full wp-image-232" title="chinese-classes" src="http://livethelanguage.cn/wp-content/uploads/2011/07/chinese-classes.gif" alt="" width="194" height="65" /></a></p>
- <p><a href="http://livethelanguage.cn/internship/"><img class="alignnone size-full wp-image-234" title="internships" src="http://livethelanguage.cn/wp-content/uploads/2011/07/internships.gif" alt="" width="194" height="65" /></a></p>
- <p><a href="http://livethelanguage.cn/chinese-culture-classes/"><img class="alignnone size-full wp-image-212" title="culture-classes" src="http://livethelanguage.cn/wp-content/uploads/2011/07/culture-classes.gif" alt="" width="194" height="65" /></a></p>
- <div id="content-text"><a href="mailto:info@livethelanguage.cn"><img class="alignleft" style="border-style: initial; border-color: initial; border-width: 0px;" src="http://livethelanguage.cn/images/mail.png" alt="" width="23" height="23" border="0" /></a></div>
- <div id="left-img"><a href="skype:ltlregistration?call"><img class="alignleft" style="border-style: initial; border-color: initial; border-width: 0px;" src="http://livethelanguage.cn/images/skype.png" alt="" width="23" height="23" border="0" /></a></div>
- <div id="left-img"><a href="https://www.facebook.com/pages/Live-the-Language-Mandarin-School/142237312508397?sk=wall"><img class="alignleft" style="border-style: initial; border-color: initial; border-width: 0px;" src="http://livethelanguage.cn/images/facebook.png" alt="" width="23" height="23" border="0" /></a></div>
- <div id="left-img"><a href="http://www.twitter.com/LivetheLanguage"><img class="alignleft" style="border-style: initial; border-color: initial; border-width: 0px;" src="http://twitter-badges.s3.amazonaws.com/t_small-c.png" alt="Follow LivetheLanguage on Twitter" width="23" height="23" border="0" /></a></div>
- <div id="left-img"><a href="http://www.linkedin.com/companies/live-the-language-ltl-mandarin-school" target="_blank"><img class="alignleft" style="border-style: initial; border-color: initial; border-width: 0px;" src="http://livethelanguage.cn/images/linkedin.jpg" alt="Live the Language (LtL) Mandarin School on LinkedIn" width="23" height="23" border="0" /></a></div>
- <p style="text-align: justify;"><span style="color: #888888;"> </div> <div class="wpcol-two-third wpcol-last"></span><span class="Apple-style-span" style="color: #ffffff;">Live the Language Mandarin School offers an alternative to stuffy Beijing University programs for people who are as passionate about Chinese culture as they are about Chinese study.</span></p>
- <p style="text-align: justify;"><span style="color: #ffffff;">Located in the heart of Beijing, Live the Language Mandarin School believes that Chinese study should not just be limited to the classroom. We feel that when you study in China you are also able to immerse yourself in Chinese culture, giving you a deeper understanding of the Chinese language.</span></p>
- <p style="text-align: justify;"><span style="color: #ffffff;">Whether you’re new to Chinese study or looking to try something different from your current routine, Live the Language Mandarin School has a variety of Mandarin courses and Chinese culture classes available.</span></p>
- <p><span style="color: #ffffff;"><span style="color: #ffcc00;"><strong>Notice</strong>:</span> <strong>Live the Language Mandarin School will be closed from October 1st until October 7th for the National Day holiday. The office will be open on Saturday, October 8th and Sunday, October 9th. Regular office hours resume on October 10th.</strong></span></p>
- <p style="text-align: justify;"><span style="color: #ffcc00;"><strong><em><a href="http://livethelanguage.cn/events/"><span style="color: #ffcc00;">Upcoming Events</span></a></em></strong></span></p>
- <p style="text-align: justify;"><span class="Apple-style-span" style="color: #ffffff;">Monday, October 10th: A new session of Group Classes for levels A1, A2 and B1</span></p>
- <p style="text-align: justify;"><span style="color: #ffffff;">Saturday, October 15th: Free Tai Chi, pronunciation and character classes at our Sunshine 100 campus.</span></p>
- <p style="text-align: justify;"><span style="color: #ffcc00;"><a href="http://livethelanguage.cn/events/"><span style="color: #ffcc00;">More details…</span></a></span></p>
- <p><span style="color: #888888;"></div><div class="wpcol-divider"></div></span></p>
- </div>
- </div> </div><!-- / Post -->
- </td>
- <!-- / Main Column -->
- <!-- Right Inner Sidebar -->
- <td id="right-inner" style="background: #fed501;">
- <div id="text-7" class="widget widget_text"> <div class="textwidget"><p>Beijing: + 86 (0) 10 5100 1269<br />
- Tianjin Hotline: 4007 065 883</p>
- <p>Sunshine 100, Guanghualu 2<br />
- Bldg. C #1611, Beijing</p>
- <p>info@livethelanguage.cn</p>
- <p><span style="color: #0078bd;">Office Hours</span><br />
- Monday-Friday: 9am-6pm</p>
- </div>
- </div><div id="text-8" class="widget widget_text"> <div class="textwidget"><!-- Begin MailChimp Signup Form -->
- <!--[if IE]>
- <style type="text/css" media="screen">
- #mc_embed_signup fieldset {position: relative;}
- #mc_embed_signup legend {position: absolute; top: -1em; left: .2em;}
- </style>
- <![endif]-->
- <!--[if IE 7]>
- <style type="text/css" media="screen">
- .mc-field-group {overflow:visible;}
- </style>
- <![endif]-->
- <div id="mc_embed_signup">
- <form action="http://livethelanguage.us2.list-manage.com/subscribe/post?u=de7055db0bad470e888379336&id=20ea792097" method="post" id="mc-embedded-subscribe-form" name="mc-embedded-subscribe-form" class="validate" target="_blank" style="font: normal 100% Arial, sans-serif;font-size: 10px;">
- <fieldset style="-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;border: 1px solid #ccc;padding-top: 1.5em;margin: .5em 0;background-color: #fff;color: #000;text-align: left;">
- <legend style="white-space: normal;text-transform: capitalize;font-weight: bold;color: #000;background: #fff;padding: .5em 1em;border: 1px solid #ccc;-moz-border-radius: 4px;border-radius: 4px;-webkit-border-radius: 4px;font-size: 1.2em;"><span>Newsletter Sign-up</span></legend>
- <div class="mc-field-group" style="margin: 1.3em 5%;clear: both;overflow: hidden;">
- <label for="mce-EMAIL" style="display: block;margin: .3em 0;line-height: 1em;font-weight: bold;">Email Address </label>
- <input type="text" value="" name="EMAIL" class="required email" id="mce-EMAIL" style="margin-right: 1.5em;padding: .2em .3em;width: 90%;float: left;z-index: 999;">
- </div>
- <div id="mce-responses" style="float: left;top: -1.4em;padding: 0em .5em 0em .5em;overflow: hidden;width: 90%;margin: 0 5%;clear: both;">
- <div class="response" id="mce-error-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: FBE3E4;color: #D12F19;"></div>
- <div class="response" id="mce-success-response" style="display: none;margin: 1em 0;padding: 1em .5em .5em 0;font-weight: bold;float: left;top: -1.5em;z-index: 1;width: 80%;background: #E3FBE4;color: #529214;"></div>
- </div>
- <div><input type="submit" value="Subscribe" name="subscribe" id="mc-embedded-subscribe" class="btn" style="clear: both;width: auto;display: block;margin: 1em 0 1em 5%;"></div>
- </fieldset>
- <a href="#" id="mc_embed_close" class="mc_embed_close" style="display: none;">Close</a>
- </form>
- </div>
- <script type="text/javascript">
- var fnames = new Array();var ftypes = new Array();fnames[0]='EMAIL';ftypes[0]='email';fnames[1]='FNAME';ftypes[1]='text';fnames[2]='LNAME';ftypes[2]='text';
- try {
- var jqueryLoaded=jQuery;
- jqueryLoaded=true;
- } catch(err) {
- var jqueryLoaded=false;
- }
- var head= document.getElementsByTagName('head')[0];
- if (!jqueryLoaded) {
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = 'http://ajax.googleapis.com/ajax/libs/jquery/1.4.4/jquery.min.js';
- head.appendChild(script);
- if (script.readyState && script.onload!==null){
- script.onreadystatechange= function () {
- if (this.readyState == 'complete') mce_preload_check();
- }
- }
- }
- var script = document.createElement('script');
- script.type = 'text/javascript';
- script.src = 'http://downloads.mailchimp.com/js/jquery.form-n-validate.js';
- head.appendChild(script);
- var err_style = '';
- try{
- err_style = mc_custom_error_style;
- } catch(e){
- err_style = 'margin: 1em 0 0 0; padding: 1em 0.5em 0.5em 0.5em; background: FFEEEE none repeat scroll 0% 0%; font-weight: bold; float: left; z-index: 1; width: 80%; -moz-background-clip: -moz-initial; -moz-background-origin: -moz-initial; -moz-background-inline-policy: -moz-initial; color: FF0000;';
- }
- var head= document.getElementsByTagName('head')[0];
- var style= document.createElement('style');
- style.type= 'text/css';
- if (style.styleSheet) {
- style.styleSheet.cssText = '.mce_inline_error {' + err_style + '}';
- } else {
- style.appendChild(document.createTextNode('.mce_inline_error {' + err_style + '}'));
- }
- head.appendChild(style);
- setTimeout('mce_preload_check();', 250);
- var mce_preload_checks = 0;
- function mce_preload_check(){
- if (mce_preload_checks>40) return;
- mce_preload_checks++;
- try {
- var jqueryLoaded=jQuery;
- } catch(err) {
- setTimeout('mce_preload_check();', 250);
- return;
- }
- try {
- var validatorLoaded=jQuery("#fake-form").validate({});
- } catch(err) {
- setTimeout('mce_preload_check();', 250);
- return;
- }
- mce_init_form();
- }
- function mce_init_form(){
- jQuery(document).ready( function($) {
- var options = { errorClass: 'mce_inline_error', errorElement: 'div', onkeyup: function(){}, onfocusout:function(){}, onblur:function(){} };
- var mce_validator = $("#mc-embedded-subscribe-form").validate(options);
- $("#mc-embedded-subscribe-form").unbind('submit');//remove the validator so we can get into beforeSubmit on the ajaxform, which then calls the validator
- options = { url: 'http://livethelanguage.us2.list-manage1.com/subscribe/post-json?u=de7055db0bad470e888379336&id=20ea792097&c=?', type: 'GET', dataType: 'json', contentType: "application/json; charset=utf-8",
- beforeSubmit: function(){
- $('#mce_tmp_error_msg').remove();
- $('.datefield','#mc_embed_signup').each(
- function(){
- var txt = 'filled';
- var fields = new Array();
- var i = 0;
- $(':text', this).each(
- function(){
- fields[i] = this;
- i++;
- });
- $(':hidden', this).each(
- function(){
- if (fields.length == 2) fields[2] = {'value':1970};//trick birthdays into having years
- if ( fields[0].value=='MM' && fields[1].value=='DD' && fields[2].value=='YYYY' ){
- this.value = '';
- } else if ( fields[0].value=='' && fields[1].value=='' && fields[2].value=='' ){
- this.value = '';
- } else {
- this.value = fields[0].value+'/'+fields[1].value+'/'+fields[2].value;
- }
- });
- });
- return mce_validator.form();
- },
- success: mce_success_cb
- };
- $('#mc-embedded-subscribe-form').ajaxForm(options);
- });
- }
- function mce_success_cb(resp){
- $('#mce-success-response').hide();
- $('#mce-error-response').hide();
- if (resp.result=="success"){
- $('#mce-'+resp.result+'-response').show();
- $('#mce-'+resp.result+'-response').html(resp.msg);
- $('#mc-embedded-subscribe-form').each(function(){
- this.reset();
- });
- } else {
- var index = -1;
- var msg;
- try {
- var parts = resp.msg.split(' - ',2);
- if (parts[1]==undefined){
- msg = resp.msg;
- } else {
- i = parseInt(parts[0]);
- if (i.toString() == parts[0]){
- index = parts[0];
- msg = parts[1];
- } else {
- index = -1;
- msg = resp.msg;
- }
- }
- } catch(e){
- index = -1;
- msg = resp.msg;
- }
- try{
- if (index== -1){
- $('#mce-'+resp.result+'-response').show();
- $('#mce-'+resp.result+'-response').html(msg);
- } else {
- err_id = 'mce_tmp_error_msg';
- html = '<div id="'+err_id+'" style="'+err_style+'"> '+msg+'</div>';
- var input_id = '#mc_embed_signup';
- var f = $(input_id);
- if (ftypes[index]=='address'){
- input_id = '#mce-'+fnames[index]+'-addr1';
- f = $(input_id).parent().parent().get(0);
- } else if (ftypes[index]=='date'){
- input_id = '#mce-'+fnames[index]+'-month';
- f = $(input_id).parent().parent().get(0);
- } else {
- input_id = '#mce-'+fnames[index];
- f = $().parent(input_id).get(0);
- }
- if (f){
- $(f).append(html);
- $(input_id).focus();
- } else {
- $('#mce-'+resp.result+'-response').show();
- $('#mce-'+resp.result+'-response').html(msg);
- }
- }
- } catch(e){
- $('#mce-'+resp.result+'-response').show();
- $('#mce-'+resp.result+'-response').html(msg);
- }
- }
- }
- </script>
- <!--End mc_embed_signup--></div>
- </div>
- </td>
- <!-- Right Sidebar -->
- <td id="right">
- <div id="text-3" class="widget widget_text"> <div class="textwidget"></div>
- </div>
- </td>
- <!-- / Right Sidebar -->
- </tr>
- <!-- / Main Body -->
- <tr>
- <!-- Footer -->
- <td id="footer" colspan="4">
- <p>
- Phone: +86 10 5100 1269 Email: <a href="mailto:info@livethelanguage.cn">info@livethelanguage.cn</a> <br /> </p>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/contact-form-7/jquery.form.js?ver=2.52'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/contact-form-7/scripts.js?ver=3.0'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/easy-fancybox/fancybox/jquery.easing-1.3.pack.js?ver=1.3'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/easy-fancybox/fancybox/jquery.mousewheel-3.0.4.pack.js?ver=3.0.4'></script>
- <script type='text/javascript' src='http://livethelanguage.cn/wp-content/plugins/easy-fancybox/jquery.metadata.pack.js?ver=2.1'></script>
- <style type="text/css">
- #banckleLiveChatButton{position: fixed;vertical-align: middle;text-align: center;z-index:999999999 !important;}
- .banckleLiveChatBottomLeft{bottom: 5px;left: 5px;}
- .banckleLiveChatBottomRight{bottom: 5px;right: 5px;}
- .banckleLiveChatTopLeft{top: 5px;left: 5px;}
- .banckleLiveChatTopRight{top: 5px;right: 5px;}
- #banckleLiveChatButton img{}
- </style>
- <div id='banckleLiveChatButton' class='banckleLiveChatBottomRight'>
- <!-- Banckle Live Chat Code Start -->
- <script type='text/javascript' src='https://apps.banckle.com/em/visitor.do?dep=b9951561-9b67-492f-824e-ea4b4c068f09'></script><a href='#' onclick='blc_startChat();return false;'><img style='border:0px;' src='https://apps.banckle.com/em/onlineImg.do?d=b9951561-9b67-492f-824e-ea4b4c068f09'></a>
- <!-- Banckle Live Chat Code End -->
- </div></td>
- </tr>
- </table><!-- / layout -->
- </div><!-- / container -->
- </div><!-- / wrapper -->
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement