

@font-face {
    font-family: 'TradeGothicCondEighteen';
    src: url('../type/tradegothiccondeighteen-webfont.eot') format('eot'),
        url('../type/tradegothiccondeighteen-webfont.eot?#iefix') format('embedded-opentype'),
        url('../type/tradegothiccondeighteen-webfont.woff') format('woff'),
        url('../type/tradegothiccondeighteen-webfont.ttf') format('truetype'),
        url('../type/tradegothiccondeighteen-webfont.svg#TradeGothicCondEighteenMedium') format('svg');
    /*font-weight: normal;
    font-style: normal;*/
}

@font-face {
    font-family: 'TradeGothicBoldCondTwenty';
    src: url('../type/tradegothicboldcondtwenty-webfont.eot') format('eot'),
        url('../type/tradegothicboldcondtwenty-webfont.eot?#iefix') format('embedded-opentype'),
        url('../type/tradegothicboldcondtwenty-webfont.woff') format('woff'),
        url('../type/tradegothicre-webfont.ttf') format('truetype'),
        url('../type/tradegothicboldcondtwenty-webfont.svg#TradeGothicBoldCondTwentyBold') format('svg');
    /*font-weight: normal;
    font-style: normal;*/
}

@font-face {
    font-family: 'TradeGothicRe';
    src: url('../type/tradegothicre-webfont.eot') format('eot'),
        url('../type/tradegothicre-webfont.eot?#iefix') format('embedded-opentype'),
        url('../type/tradegothicre-webfont.woff') format('woff'),
        url('../type/tradegothicre-webfont.ttf') format('truetype'),
        url('../type/tradegothicre-webfont.svg#TradeGothicReMedium') format('svg');
    /*font-weight: normal;
    font-style: normal;*/
}


/* **************************************************************************/


html { 
    font: normal 87.5%/1.4 "TradeGothicRe", sans-serif;

} 

BODY {
    color: #556056;
    margin: 0;
    padding: 0;
    /*overflow-y: scroll;*/
}

h1, h2, h3, h4, h5 {
    font-family: "TradeGothicBoldCondTwenty", sans-serif;
    font-weight: normal;
    color: #333;
    margin: 0;
    padding: 10px 0 0 0px;
    line-height: 1;
}

h1 {
    padding: 4px 0px 10px 0px;  
    font-size: 42px;
    font-size: 2.625rem;        /* 42 / 16 */
}
h2 {
    padding: 4px 0px 10px 0px;  
    font-size: 32px;
    font-size: 2rem;        /* 32 / 16 */
}
h3 {
    margin: 2px 0 10px 0px;
    padding: 16px 0 0 0;
    font-size: 24px;
    font-size: 1.5rem;    /* 24 / 16 */
}
h4 {
    margin: 2px 0 6px;
    font-size: 18px;
    font-size: 1.125rem;    /* 18 / 16 */
}

h5 {
    margin: 4px 0;   
    font-size: 16px;
    font-size: 1rem;        /* 16 / 16 */
	line-height: 1.5em;	
}
h6 {
    font-size: 14px;
    font-size: 0.875rem;    /* 14 / 16 */
}

p {
    margin-top: 0;
}

input {
    font-family: "TradeGothicRe", sans-serif;
}

a { 
    text-decoration: none; 
    color: inherit;
}
a { color: expression(this.parentNode.currentStyle.color); }

a:link { 
    background-color: transparent; 
}

a:visited { 
    background-color: transparent; 
    text-decoration: none; 

}

a.hover { 
    background-color: transparent; 
    color: inherit;
}
   
.footer-menu a.hover {
    text-decoration: underline;
}
   
#content a.hover {
    text-decoration: underline;
}

a img { border:none; }

img{ max-width: 100%; }
img{ -ms-interpolation-mode: bicubic; }


menu, ol, ul {
    padding: 0 0 0 30px;
    overflow: auto;
}

code {
    font: normal 87.5%/1.4 "TradeGothicRe", sans-serif;
}


/* **************************************************************************/

#header-banner {
    position: absolute;
    top: 0px;   
    right: 0px;
    padding: 10px 10px 0 0;
    z-index: 100;
    
}
#HKU-logo {
    float: right;
    width: 34px;
    margin: 0.25em 0.5em 0;
}
#FacArch-logo {
    float: right;
    width: 205px;
}


#HKU-logo img, #FacArch-logo img {
    max-width:100%;
}

/* **************************************************************************/

    
#content-container {
    position: relative;
    margin: 0 auto;
    width: 90%;
    padding-bottom: 120px;
}

#content {
    margin: 70px 0px 0px 220px;
    padding: 10px 10px 120px;
    background-color: #fff;
    /*max-width: 960px;*/
    position: absolute;
    top: 0px;
}

#content > .post {
    /*min-width: 800px;*/
    min-height: 400px;
}

#content a {
    color: #000;
}

BODY.no-section #content {
    margin-left: 0px;
}


/* **************************************************************************/


#section-navigation {
    position: fixed;
    bottom: 120px;
    left: 5%;
    padding: 8px 4px 4px;
    display: block;
    clear: both;
    font-size: 24px;
    font-size: 1.25rem;  /* 20 / 16 */

}

#section-navigation .menu-container {
    float: left;
    background-color: #fff;
    width: 212px;
    
    /*border-top-left-radius: 0px;
    border-top-right-radius: 20px;
    border-bottom-right-radius: 00px;
    border-bottom-left-radius: 20px;*/
}


#section-navigation ul.menu {
    padding: 2px;
}
#section-navigation ul.menu > li {
    color: #333;
}
#section-navigation .menu-container > .menu.selected-menu {
    display: block;
}
ul.menu li.hover,
ul.sub-menu li.hover > a {
    color: #fff;
}


/* generic styles for menu and sub-menu */

ul.menu {
    position: relative; 
    margin: 0px;
    padding: 0px;
    font-family: "TradeGothicBoldCondTwenty", sans-serif;
}
ul.menu li {
    list-style: none;
    padding: 2px;
}
ul.menu li ul li a {
    display: block;
    color: #556056;
}

ul.sub-menu {
    background-color: #fff;
    margin: 0px;
    padding: 0px;
    font-family: "TradeGothicCondEighteen", sans-serif;
    font-size: 16px;
    font-size: 1rem;    /* 16 / 16 */
}
ul.sub-menu li {
    float: none !important;
    margin: 4px 0;
}
ul.sub-menu > li > a {
    display: none;
}


/* **************************************************************************/

#navigation {
    position: fixed;
    bottom: 80px;
    height: 40px;
    width: 100%;
    z-index: 80;
}
#navigation h5 {
    display: none;
}
#main-navigation {
    position: relative;
    top: 0px;
    width: 100%;
    color: #fff;
}
#main-navigation ul.menu {
    display: table;
    margin: auto;
    width: 90%;
}
#main-navigation > ul > li {
    /*display: table-cell;
    text-align: center;*/
    float: left;

    list-style: none;
    line-height: 1;
    padding: 2px 0px 2px 0px;
    margin: 0 12px 0px 0px;
    font-size: 16px;
    font-size: 1rem;    /* 16 / 16 */
}
#main-navigation .section-container > a {
    padding: 0px 6px;
}
#main-navigation ul.sub-menu {
    display: none;
    position: absolute;
    bottom: 2em;
    margin-bottom: 2px;
    width: 212px;
    padding: 4px;
}
#main-navigation ul li:last-child {
    margin-right: 0;
}

#main-navigation > ul > li.hover {
    background-color: #fff;
}


/* **************************************************************************/



.mini-navigation {
    float: right;
    margin: 4px;
    font-family: 'TradeGothicCondEighteen';
    text-transform: uppercase;
    color: #ccc;
}


/* **************************************************************************/

/* General Information / Faculty */
body #content {
    border-left: 1px solid #666;
}

body.no-section #content {
    border: none;
}


body #main-navigation, body #navigation h5,
body ul.menu li ul li.hover {
    background-color: #475245;
    color: #fff;
}
body #main-navigation > ul > li.hover {
    color: #475245;
}
body #main-navigation .sub-menu {
    border: 1px solid #475245;
}



/* Architecture */
body.arch-section #main-navigation, body.arch-section #navigation h5,
body.arch-section ul.menu li ul li.hover {
    background-color: #008C99;
}
body.arch-section #main-navigation li.hover {
    color: #008C99;
}
body.arch-section #main-navigation .sub-menu {
    border: 1px solid #008C99;
}


/* Real Estate and Construction */
body.rec-section #main-navigation, body.rec-section #navigation h5,
body.rec-section ul.menu li ul li.hover {
    background-color: #D18316;
}
body.rec-section #main-navigation li.hover {
    color: #D18316;
}
body.rec-section #main-navigation .sub-menu {
    border: 1px solid #D18316;
}


/* Urban Planning and Design */
body.upad-section #main-navigation, body.upad-section #navigation h5,
body.upad-section ul.menu li ul li.hover {
    background-color: #0073AE;
}
body.upad-section #main-navigation li.hover {
    color: #0073AE;
}
body.upad-section #main-navigation .sub-menu {
    border: 1px solid #0073AE;
}


/* Landscape Architecture */
body.la-section #main-navigation, body.la-section #navigation h5,
body.la-section ul.menu li ul li.hover {
    background-color: #78A22F;
}
body.la-section #main-navigation li.hover {
    color: #78A22F !important;
}
body.la-section #main-navigation .sub-menu {
    border: 1px solid #78A22F;
}


/* Shanghai Study Centre */
body.ssc-section #main-navigation, body.ssc-section #navigation h5,
body.ssc-section ul.menu li ul li.hover {
    background-color: #AB585F;
}
body.ssc-section #main-navigation li.hover {
    color: #AB585F;
}
body.ssc-section #main-navigation .sub-menu {
    border: 1px solid #AB585F;
}


/* **************************************************************************/



header .entry-meta {
    padding: 0 0 18px;
    font-style: italic;
    font-size: smaller;
}


/* **************************************************************************/


#footer {
    position: fixed;
    bottom: 0;
    background-color: #FCFAF5;
    width: 100%;
    height: 103px;
    z-index: 50; 
}

#footer-container {
    position: relative;
    margin: 20px auto;
    width: 90%;
    font-family: "TradeGothicCondEighteen";
    font-size: 13px;
    font-size: 0.8125rem;     /* 13 / 16 */
    color: #000;
}
#footer-container .footer-menus {
    margin: 10px 12px 0 0;
    padding: 0;
}
#footer-container .footer-menus {
    color: #666;
}  
#footer-container .footer-menus li.featured-link {
    color: #000;
}
    
#footer-container ul.footer-menu {
    float: left;
    margin: 0px 10px 0px 8px;
    padding: 0px;
}
#footer-container ul {
    list-style: none;
}

#searchform {
    position: absolute;
    right: 10px;
}

#searchform input {
    font-family: "TradeGothicCondEighteen";
}
#searchform label {
    display: none;
}

.search-term {
    font-weight: 600;
}

/* **************************************************************************/

.simple-submenu-trigger {
    display: none;
}
.simple-submenu {
    font-family: "TradeGothicCondEighteen";
    margin: 0 0 10px;
    padding: 4px 4px 4px 0;
    list-style: none;
    clear: both;
    display: block;
    font-size: 16px;
    font-size: 1rem;  /* 16 / 16 */
}
.simple-submenu li {
    float: left;
    margin: 0 4px 0 0;
}
#content .simple-submenu li a {
    color: #556056;
}
#content .simple-submenu li.current_page_item a {
    color: #000000;
}
.simple-submenu li:before {
    content: ' | ';
}
.simple-submenu li:first-child:before {
    content: ' ';
}


/* **************************************************************************/



/*BODY.background-image {
    background-attachment: fixed;
    background-position: center center;
    background-repeat: no-repeat;
    -webkit-background-size: cover;
    -moz-background-size: cover;
    -o-background-size: cover;
    background-size: cover;
}
BODY.background-image .post > .entry-content {
    border: none;
}
    
BODY.background-image.arch-section { 
    background-image: url('../images/IMG_0500.jpg');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0500.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0500.jpg', sizingMethod='scale')";
}
BODY.background-image.rec-section { 
    background-image: url('../images/IMG_3400.jpg');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_3400.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_3400.jpg', sizingMethod='scale')";
}
BODY.background-image.upad-section { 
    background-image: url('../images/DSC_0078.jpg');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/DSC_0078.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/DSC_0078.jpg', sizingMethod='scale')";
}
BODY.background-image.la-section { 
    background-image: url('../images/IMG_0455.jpg');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0455.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0455.jpg', sizingMethod='scale')";
}
BODY.background-image.ssc-section { 
    background-image: url('../images/IMG_0560.jpg');
    filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0560.jpg', sizingMethod='scale');
    -ms-filter: "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='../images/IMG_0560.jpg', sizingMethod='scale')";
}*/


.navlink {
    font-size: 0.8em;
}



/* Staff */

.chinese-name {
    font-size: 0.9em;
}
.staff-credentials {
    display: block;
    font-size: 0.6em;
    margin-left: 4px;
}
.staff-details {
    margin: 0 0 20px 0px;    
}
.staff-details a {
}

.staff-photo {
    float: right;
    margin-left: 10px;
    margin-bottom: 10px;
}

.staff {
    clear: left;
}
.staff .link-icon {
    visibility: hidden;
    margin-right: 4px;
    width: 12px;
}
.staff:hover .link-icon {
    visibility: visible;
}
.staff:hover .icon-star-empty {
    visibility: hidden;
}
.staff > .link-icon, .staff > a {
    float: left;
}


div.staff {
    padding: 6px;
}
.staff-name {
    display: table-cell;
    width: 240px;
}
.staff-name .link-icon {
    padding-left: 6px;
    font-size: 11px;
}
.staff-position {
    display: table-cell;
    width: 400px;
    clear: right;
    color: #000;
    font-style: italic;
    font-size: smaller;
    margin-left: 10px;
}
.staff-contract {
    display: table-cell;
    font-style: italic;
    font-size: smaller;
    margin-left: 20px;
}

.part-time-key {
    display: block;
    padding: 30px 0;
    font-size: 10px;
    font-style: italic;
    
}

.navigation-links {
    position: fixed;
    bottom: 130px;
    right: 12%;
}






.single-entry-meta {
    position: absolute;
    top: 12px;
    right: 4px;
    display: none;
}

#content:hover > .single-entry-meta, article:hover > .single-entry-meta {
    display: block;
}

.quick-edit {
    margin: 0 0 0 10px;
}
.quick-edit img {
    width: 14px;
    height: 14px;
}


blockquote.quotation {
    padding: 20px 50px;
    font-size: 2em;
    font-style: italic;
}

blockquote.quotation span.attributed {
    font-size: 0.5em;
}

article {
    margin: 2px 0 4px;
    padding: 10px;
    /*clear: both;*/
    position: relative;
}
article.box {
    width: 160px;
}
article.box:hover {
    color: #fff !important;
    background-color: #556056;
}
article h3.article-title {
    font-size: 1.4em;
    padding: 0;
}
#content article.box:hover a, #content article.box:hover a h3 {
    color: #fff !important;
    text-decoration: none;
}
#content article.box .year {
    display: none;
}
#content article.box:hover .year {
    display: inline;
}
article.box .single-entry-meta {
    top: 0px;
    right: 2px;
}

article .entry {
    padding: 10px;
}

article footer {
    float: right;
    font-size: 0.8em;
}

#top-nav {
    margin-top: -24px;
}

.loop-navigation {
    float: right;
    padding: 0px;
    position: relative;
    z-index: 50;
}
.loop-navigation .nav-previous, 
.loop-navigation .nav-up, 
.loop-navigation .nav-next {
    float: left;
    line-height: 1em;
    margin: 0 4px;
    width: 60px;
}
.loop-navigation .nav-up {
    width: 36px;
}



/**
 * News seection
 */
 /*.featured-image img {
     max-width: 100%;
 }*/




/**
 * Simple Styles for built-in Gallery
 */
 
.gallery { 
    margin: 0 auto 18px; 
    padding: 20px;
    width: 100%;
}
.gallery .gallery-item {
	float: left;
	margin-top: 0;
	text-align: center;
	width: 200px;
        height: 220px;
}
.gallery img {
	box-shadow: 0px 0px 4px #999;
	border: 1px solid white;
	padding: 4px;
	background: #f2f2f2;
}
.gallery img:hover {
	background: white;
}
.gallery .gallery-caption {
	color: #888;
	font-size: 12px;
	margin: 0 0 12px;
}
.gallery dl, .gallery dt { margin: 0; }
.gallery br { display: none; }


/**
 *
 */
 
h3.galleries-title {
    display: block;
    clear: both;
}
 
 ul.galleries-list {
     list-style: none;  
     float: left;
     clear: both;
 }
 ul.galleries-list li {
     float: left;
     padding: 10px;
     width: 200px;
 }
 ul.galleries-list li img {
     max-width: 100%;
 }

/* The Events Calendar */

/* List */

.tribe-events-events .tribe-events-event-entry {
    width: 100%;
    float: none;
}

.tribe-events-events .tribe-events-event-list-meta {
    float: none;
    margin-left: 20px;
    padding-left: 20px;
    font-size: smaller;
}


/* Single */

.tribe-events-event .entry {
    margin-bottom: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid #BBBBBB;
}
.tribe-events-tooltip .tribe-events-event-title {
    line-height: 1.4em !important;
}

.tribe-events-calendar .tribe-events-event i {
    float: left;
    font-size: 1.5em;
}
.tribe-events-calendar .tribe_events {
    display: block;
    clear: both;
}
.tribe-events-calendar .tribe-events-real-event.cat_all-day:not(.icon-display) {
    width: 100%;
    font-size: 0.7em;
    margin: 0;
    padding: 0px !important;
    background-color: #D18316;
    border-bottom: none;
}
.tribe-events-calendar .tribe-events-real-event.cat_all-day:not(.icon-display) a {
    height: 1em;
    overflow: hidden;
    padding: 4px;
    display: block;
}
.tribe-events-calendar .tribe-events-event.icon-display {
    float: left;
    clear: right;
    padding-left: 4px !important;
    padding-right: 4px !important;
}

/* adjust the tooltips */
.tribe-events-calendar .tribe-events-tooltip {
	left:-13px;
}
.tribe-events-tooltip .tribe-events-arrow {
	left:13px;
}
.tribe-events-calendar .tribe-events-right .tribe-events-tooltip {
	left:auto;
	right:-13px;
}
.tribe-events-right .tribe-events-tooltip .tribe-events-arrow {
	left:auto;
	right:13px;
}

.featured-thumbnail {
    float: right;
    margin: 0 0 10px 10px;
}

.tribe-events-event.passed-event #tribe-events-event-meta {
    border-bottom: none;
    margin-bottom: 0;
}
.tribe-events-event.passed-event #tribe-events-event-meta .column {
    display: none;
}

.tribe-events-event .event-passed {
    display: none;
}


/* Staff */


.filter-link {
    float: right;
}

#staff-taxonomies {
    display: none;
    clear: both;
    padding: 10px;
    background-color: #CCC;
}

.taxonomy-filters {
    float: left;
    width: 50%;
    margin: 0 0 10px;
}
.taxonomy-filters li {
    float: left;
    margin: 0px;
    padding: 0 14px;
    list-style: none;
}
.category-filters {
    float: left;
    margin: 0 10px 20px;
}
.category-filters ul {
    padding: 0 30px;
}
.category-filters li {
    float: left;
    margin: 0 8px 0 0px;
    padding: 0px;
    list-style: none;
    /*border: 1px solid red;*/
}
.category-filters li i {
    font-size: 9px;
    padding-left: 6px;
    color: #999;
}
.category-filters li:last-child i {
    display: none;
}
.display-category-filters {
    margin-top: -20px;
    width: 100%;
    text-align: center;
}
.display-category-filters span {
    font-family: "TradeGothicCondEighteen", sans-serif;
    font-weight: normal;
    color: #333;
}
.display-category-filters > span {
    color: #999;
}


#staff-list {
    display: block;
    clear: both;
    width: auto;
    padding: 10px;    
    -moz-column-count: 4;
    -moz-column-gap: 20px;    
    -webkit-column-count: 4;
    -webkit-column-gap: 20px;
    column-count: 4;
    column-gap: 20px;
}

#staff-list ul {
    overflow: visible;
}

BODY.no-section #content {
    width: 98%;
}
    

/* Alignment */
.alignleft {
    display: inline;
    float: left;
    margin-right: 1em;
    margin-bottom: 1em;
}
.alignright {
    display: inline;
    float: right;
    margin-left: 1em;
    margin-bottom: 1em;
}
.aligncenter {
    clear: both;
    display: block;
    margin-left: auto;
    margin-right: auto;
}


#content-overlay {
    z-index: 50;
    background-color: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=50)";
    filter: alpha(opacity=50);
    opacity: 0.5;
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 102px;
}



.gallery {
    float: left;
}

.gallery-list li {
    float: left;
    padding: 10px;
    list-style: none;
}

.gallery .gallery-item {
    height: 200px;
}

.gallery-image{
    width: 30%;
    display: inline;
    float: left;
    margin-top: 1em;
    margin-right: 1em;
    margin-bottom: 0.1em;
    margin-left: 0.6em;
}

.gallery-description {
    display: block;
    margin-left: 0.6em;
    margin-top: 0.6em;
}

#gyear{
    background: white;
    float: left;
    margin-top:15px;

}
#galleryicon{
    background: white;
    float: left;
    margin-top:15px;	
    padding-left: 1em;
    padding-bottom: 1.5em;
}


.social-button {
    float: left;
    padding: 10px;
}

.hidden {
    display: none;
}
.jump-to-top {
    float: right;
    font-family: TradeGothicCondEighteen;
    font-size: 9px;
    font-size: 0.5625rem;    /* 9 / 16 */
    margin: 0 6px 2px 0;
}


/* gmap css */
#content {
	position: relative;
}

#map {
    position: absolute;
    width: 100%;
    height: 500px;
}

#map img { max-width: none; }

}

/* Sitemap */

#wp-realtime-sitemap-ps_promotion, #wp-realtime-sitemap-tribe_venue, #wp-realtime-sitemap-tribe_organizer {
    display: none;
} 