.subsection-Staff-en #dept-corpcomms::before {
    content: "Communications";
    font-weight: 700;
    font-family: NewsGothic, "Microsoft YaHei", 微软雅黑, STHeiti, 华文黑体, Arial, FreeSans, sans-serif;
    font-size: 24px;
}

.subsection-Staff-zh #dept-corpcomms::before {
    content: "传播";
    font-weight: 700;
    font-family: NewsGothic, "Microsoft YaHei", 微软雅黑, STHeiti, 华文黑体, Arial, FreeSans, sans-serif;
    font-size: 24px;
}


#dept-corpcomms {
    margin-top: 2em;
}

#dept-corpcomms .dept-title,
#dept-comms .dept-title {
    font-style: italic;
    font-size: 1.25em !important;
    color: grey;
}

#dept-corpcomms .staff-group-end.staff-row { 
    border-bottom: none;
}

/* css definition for each staff*/
body[class*='subsection-Staff'] #content h1.documentFirstHeading {
    font-weight: bold;
}

body[class*='section-About-Us'][class*='subsection-Staff'] #content h1.documentFirstHeading {
    display: block;
}

div.staff-row {
    border-bottom: 1px solid #e6e6e6;
    overflow: hidden /* this causes container to have height of all children div*/
}

div.dept-title {
    clear: both;
}

#staff {
    margin-bottom: 0;
    padding: 2em 2em 2em 0em;
}

#staff h4#staff-name-hire{
    padding-bottom: 5px;
    padding-top: 5px;
}

#staff h4#staff-name-hire a {
    color: #8D1D18 !important; 
}

#staff-zh table,
#staff-en table {
    width: 100%;
}

/*reset staff section content tbody to default display, tbody was not filling entire width*/
#staff-zh table tbody,
#staff-en table tbody{
    display: table-row-group !important;
}


/* top padding only works on div */
#portal-column-content-v2 div#content-core #staff-en .staff-group-start div,
#portal-column-content-v2 div#content-core #staff-zh .staff-group-start div {
    font-size: 24px;
    padding: 1em 0em 0em;
    font-weight: bold;
}

#staff-en div.staff-group-start,
#staff-zh div.staff-group-start {
    border-bottom: 0px !important;
    clear: both;    
}
/*migrating #staff style to .staff*/

#portal-column-content-v2 div#content-core div.staff {
    margin-bottom: 0;
    padding-top: 40px;
    padding-bottom: 30px;    
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
    vertical-align: top;
}
.subsection-Staff-en #portal-column-content-v2 div#content-core div.staff {
    min-height: 23.5em;
}

.staff h3.staff-name-hire a {
    color: #8D1D18 !important; 
}


.staff-img-container {
    max-width: 146px;
    margin-left: auto;
    margin-right: auto;
    padding-bottom: 24px;    
}

.subsection-Staff-en .staff-en div div,
.subsection-Staff-zh .staff-zh div div {
    border-bottom: 1px solid #e6e6e6; /*original color was #d7d7d7;*/
}

.subsection-Staff-en .staff-en div div div,
.subsection-Staff-zh .staff-zh div div div {
    vertical-align: top;
}

/* top padding only works on div */
#portal-column-content-v2.col-md-9 div#content-core .staff-en .staff-group-start div,
#portal-column-content-v2.col-md-9 div#content-core .staff-zh .staff-group-start div {
    font-size: 24px;
    padding: 1em 0em;
    font-weight: bold;
}

.staff-en div.staff-group-start,
.staff-zh div.staff-group-start {
    border-bottom: 0px !important;
}

/* #staff migration end*/
.staff-group-end {
    border-bottom: 1px solid #999999;
}

.staff-group-end-dark {
    border-bottom: 2px solid #008ec2 !important;
}

/*.staff style for mobile screens*/
@media (max-width: 992px) {
    #portal-columns-v2.container.redefine #content-core div#staff-zh div.staff,
    #portal-columns-v2.container.redefine #content-core div#staff-en div.staff  {
        display: inline-block !important;
    }
    #portal-columns-v2.container.redefine #content-core div#staff-en div div div:empty {
        display: none;
    }
    body[class*='subsection-Staff'] #portal-columns-v2.container.redefine .row {
        margin-left: 0px;
        margin-right: 0px;
    }
}
@media (min-width: 414px) and (max-width: 767px) {
/* 2 staff in a row for ipad screen*/
    body.subsection-Staff-zh div.staff {
        width:49%;
    }
    body.subsection-Staff-en div.staff {
        width:49%;
    }     
    div.staff-name {
        word-wrap: break-word;
    }
    .staff-title {
        word-wrap: break-word;
    }
}

/* staff page formatting for iphone 6 screen */
@media (min-width: 320px) and (max-width: 413px) {
/* 1 staff in a row for smaller screen*/
    body.subsection-Staff-zh div.staff,
    body.subsection-Staff-en div.staff {
        width:100%;
    }
    #portal-columns-v2.container.redefine #content-core div.staff-zh div.staff,
    #portal-columns-v2.container.redefine #content-core div.staff-en div.staff  {
        display: inline-block !important;
    }
    body[class*='subsection-Staff'] #portal-columns-v2.container.redefine .row {
        margin-left: 0px;
        margin-right: 0px;
    }
    body.subsection-Staff-en div.staff {
        width:23em;
    }    
}

/* for screen smaller than iphone 6 */
@media (max-width: 320px) {
/* 1 staff in a row for smaller screen*/
    body.subsection-Staff-zh div.staff,
    body.subsection-Staff-en div.staff {
        width:100%;
    }    
    #portal-columns-v2.container.redefine #content-core div.staff-zh div div div,
    #portal-columns-v2.container.redefine #content-core div.staff-en div div div  {
        display: inline-block !important;
    }
    body[class*='subsection-Staff'] #portal-columns-v2.container.redefine .row {
        margin-left: 0px;
        margin-right: 0px;
    }
}


/* 4 staff in a row for large screen */
@media (min-width: 1120px) {
    div.staff {
        width:20%;
        float: left;
    }   
    div.staff .staff-img-container {
        width: 80%;
    }
    h3.staff-name {
        font-szie: 80%;
    }
}

@media (min-width: 993px) and (max-width: 1119px) {
    div.staff {
        width: 20%;
        float: left;
    }  
    div.staff .staff-img-container {
        max-width: 80%;
    }
}

@media (min-width: 768px) and (max-width: 992px) {
    div.staff {
        width:20%;
        margin-right: 2em;        
    }  
}