.body > .container > .row-fluid {
    display: flex;
}

#content {
    text-align: justify;
}

.breadcrumb {
    text-align: left;
}

.footer .links {
    text-align: left;
    width: 30%;
}
    .footer .links a {
        display: inline-block;
        margin-left: 7px;
    }
    .footer .mjswitcher > a {
        float: right;
        margin-right: 25px;
    }

.icon-publish::before {
    color: #51a351;
}
.icon-unpublish::before {
    color: #bd362f;
}

.pagination ul > .active > a, .pagination ul > .active > span {
    color: #fff;
}
.pagination ul > li.active > a:hover, .pagination ul > .active > a, .pagination ul > .active > span {
    background-color: #428bca;
}

.moduletable_slideshow {
    margin-top: 25px;
}

.content-category > h2 {
    background: url("../images/ccac/postheadericon.png") #aed92e no-repeat 0% 50%;
    border: 1px solid #acc77f;
    box-shadow: 0 4px 6px -6px;
    font-family: "Microsoft JhengHei","Microsoft YaHei","PMingLiU","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.2em;
    padding: 5px 10px 5px 30px;
}
.content-category table.table, .content-category table.table td {
    border: none !important;
}
.content-category td {
    font-size: 1em;
}
.content-category td.list-date {
    font-size: 1em;
    padding-left: 30px;
    vertical-align: top;
    width: 25%;
}
.content-category tr.cat-list-row0 td {
    background-color: #e3fecb !important;
}

.ccactab > table {
    margin-bottom: 3px;
}
.ccactab td img {
    min-width: 100px;
    width: 100%;
}
.ccactab td.header img {
    width: auto;
}
.ccactab ul[class*='menu_bar'] {
    width: 100%;
}
.ccactab ul[class*='menu_bar'] > li, .ccactab ul[class*='menu_bar'] > li a {
    height: 100%;
    width: auto;
}
.ccactab ul[class*='menu_bar'] > li {
    min-height: 40px;
}
.ccactab ul[class*='menu_bar'] > li.sm {
    font-size: 0.8em;
}
.ccactab ul[class*='menu_bar'] > li.sm > a {
    padding-top: 0 !important;
}
.ccactab ul[class*='menu_bar'] > li a {
    min-height: 30px;
}
.ccactab div[id*='mainjob'] ul {
    padding-left: 20px !important;
}
.ccactab div[id*='mainjob'] li, .ccactab div[id*='education'] li {
    padding: 5px 0;
}
.ccactab td.chinese-text, .ccactab td.portuguese-text {
    text-indent: 0 !important;
}
.ccac-nav-tabs .tab-content {
    margin-top: 15px;
}
.ccac-nav-tabs .nav-tabs td {
    text-align: center;
}

ul.chinese-ol {
    list-style: none;
    margin-left: 3px;
}
    ul.chinese-ol table {
        margin-left: 30px;
    }
    ul.chinese-ol td {
        vertical-align: top;
    }
    ul.chinese-ol > li > p {
        text-indent: 20px !important;
    }
        ul.chinese-ol > li > p:first-child {
            text-indent: 0 !important;
        }

/* Article - Category Custom filters */
.filters-container {
	margin-bottom: 10px;
}
.filters-container .filters {
	margin-bottom: 5px;
}
.filters-container .field-calendar {
	display: inline-block;
}
.filters-container input {
	width: auto;
}

/* override template.css */
a.image-link:hover, a.image-link:focus, a.image-link:visited {
    text-decoration: none;
}

/* Poster */
table.poster {
	width:95%;	
	margin:0px auto;
}

table.poster img {    
}

table.poster  tr > th {
	background-color : #e0e0e0;
	font-size: 1.2em;
	padding : 8px;
	text-align:center;
	width:100%;
}

table.poster tr td {	
	padding-bottom:15px;
	text-align:center;
}

/* Contact Us */
table.contact {
    margin: 0;
}
table.contact td {
    border: none;
    font-size: 12px;
    line-height: 1.5em;
    vertical-align: top;
}
table.contact td.outline {
    border: 3px solid #92b658;
    padding: 5px;
    height: 100%;   /* A hack for elements inside the td to auto fit the height */
}

/* Links */
table.links td {
    text-align: center;
}
table.links tr.caption td {
    padding-bottom: 20px;
}
table.links img {
    max-width: 190px;
}

/* 倡廉活動 */
div.ccactab div[id^="activity"] div[id^="Primary"] > table, div.ccactab div[id^="activity"] div[id^="Secondary"] > table, div.ccactab div[id^="activity"] div[id^="Teen"] > table {
    margin: 0 30px;
}

/* 社區推廣 */
.btn-comm {
    border: none;
    box-shadow: none;
    color: rgba(34, 34, 34, 0.84);
    font-family: "Microsoft YaHei","PMingLiU","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-weight: bold;
    height: 22px;
    line-height: 22px;
    min-width: 130px;
    text-shadow: none;
    transition: box-shadow 0.28s cubic-bezier(0.4, 0, 0.2, 1) 0s;
}
    .btn-comm:hover {
        background-position: 0 0;
        box-shadow: 0 6px 10px rgba(0, 0, 0, 0.23), 0 10px 30px rgba(0, 0, 0, 0.19);
        color: #222;
    }
    .btn-comm:focus {
        background-position: 0 0;
        color: #222;   
    }
.btn-taipa {
    background-color: #fcfac0;
    background-image: -webkit-linear-gradient(top, #fcfac0, #fcb140);
    background-image: -moz-linear-gradient(top, #fcfac0, #fcb140);
    background-image: -ms-linear-gradient(top, #fcfac0, #fcb140);
    background-image: -o-linear-gradient(top, #fcfac0, #fcb140);
    background-image: linear-gradient(to bottom, #fcfac0, #fcb140);
    float: right;
    margin-right: 30px;
}
    .btn-taipa:hover {
        background-color: #fcfac0;
        background-image: linear-gradient(to bottom, #fcfac0, #fcb140);
    }
.btn-areia {
    background-color: #fddfba;
    background-image: -webkit-linear-gradient(top, #fddfba, #f15a2a);
    background-image: -moz-linear-gradient(top, #fddfba, #f15a2a);
    background-image: -ms-linear-gradient(top, #fddfba, #f15a2a);
    background-image: -o-linear-gradient(top, #fddfba, #f15a2a);
    background-image: linear-gradient(to bottom, #fddfba, #f15a2a);
    float: left;
    margin-left: 30px;
}
    .btn-areia:hover {
        background-color: #fddfba;
        background-image: linear-gradient(to bottom, #fddfba, #f15a2a);
    }

/* 工作報告 */
table.working-report {
    text-align: center;
    width: 100%;
}
table.working-report td {
    border-top: dotted 1px #A0A0A4;
    padding: 30px;
    width: 50%;
}
table.working-report.primary tr:first-child td {
    border: none;
}
table.report-toc td {   /* table of content */
    vertical-align: top;
}

/* Requires the parent td to have a 100% height */
table.contact td.outline table {
    height: 100%;
}
table.contact td.small td.preview {
    vertical-align: bottom;
}
table.contact td.outline td.label-en {
    width: 65px;
}
table.contact td.outline td.label-cn {
    width: 65px;
}
table.contact td.splitter {
    margin: 0;
    padding: 0;
    line-height: 1em;
}
table.contact h4 {
    color: #0060AF;
    margin: 5px 0;
}
table.contact td.preview {
    vertical-align: middle;   
}
table.contact td.preview img {
    width: 100%;
}
table.contact div.wrapper {
    position: relative;
}
table.contact div.wrapper.small {
    height: 350px;
}

table.contact tr.row1 {
    background-color: #e3fecb;
}

/* 私隱聲明 */
.privacy h3 {
    color: #0000cc;
    margin-top: 20px;
    text-indent: 0;
	font-size : 1.2em;
}

.privacy h1 {
    color: #0066FF;
    margin-top: 20px;
    text-indent: 0;
	font-size : 1.1em;
}

/*FAQ*/
.faq {
	padding-left : 15px;
	padding-right: 15px;
}

.faq  p{
	text-align : justify;
}

.faq h3 {
    color: #0000cc;
    margin-top: 20px;
    text-indent: 0;
	font-size : 1.2em;
}

.faq h1 {
    color: #0066FF;
    margin-top: 20px;
    text-indent: 0;
	font-size : 1.1em;
}

.faq > .order {
	/* text-indent:-1.4em;
	margin-left:1.3em; */
}

/* 施政方針, 工作報告
-------------------------------------------*/
.policies, .annual-report {
    margin: 0 15px;
    text-align: center;
    width: 90%;
}
    .policies > div, .annual-report > div {
        border-bottom: 1px dotted #9e9e9e;
        float: left;
        width: 50%;
    }
        .policies > div.last, .annual-report > div.last {
            border-bottom: 0 none;        
        }
        .policies > div > a, .annual-report > div > a {
            display: block;
            margin: 40px 0;   
        }

.annual-report.pt > div {
    min-height: 135px;
}
/* 施政報告文章
-------------------------------------------*/
.policies-pt, .policies-zh {
    padding: 0 15px;
}
.policies-pt p, .policies-zh p {
    padding: 5px 0;
    text-indent: 30px;
}

.policies-pt h3 {
	font-size : 1.2em ;
}

.policies-pt h1 {
	font-size : 1.1em ;
}

.policies-pt span.marker {
    display: inline-block;
    text-indent: -30px;
}
.policies-zh > table {
    margin-left: 25px;
}
.policies-pt td, .policies-zh td {
    padding: 5px;
    vertical-align: top;
}
ol.roman {
    list-style-type: upper-roman;
}
    ol.roman tr > td:first-child {
        padding-right: 10px;
    }
.policies-and-measures {
    padding: 0 10px;}
    .policies-and-measures h3 {
    	font-family: "Noto Serif", "Microsoft JhengHei", "Microsoft YaHei", "新細明體", "Helvetica Neue", Helvetica, Arial, sans-serif;
    	text-align: left;}
    .policies-and-measures table {
    	margin-left: 15px;}
        .policies-and-measures td {
        	padding: 5px 0 5px 5px;
        	vertical-align: top;}
    .policies-and-measures .remark {
    	font-size: 0.75em;
    	margin: 20px 0;}
    .policies-and-measures .sub-title {
    	font-size: 15px;
        font-weight: bold;
    	padding-top: 10px;}
    .policies-and-measures p {
        padding-left: 0 !important;
        padding-right: 0 !important;}

/* 網站地圖
-------------------------------------------*/
.sitemap {
    padding: 15px 30px;
    text-align: left;
}
.sitemap ul {
    list-style-type: square;
    margin: 0 20px;
}
.sitemap .panel {
    margin-bottom: 15px;
}
.sitemap .panel-heading {
    color: #333;
    background-color: #f5f5f5;
    padding: 3px 10px;
}
.sitemap .panel-body {
    padding: 3px 5px;
}

/* 工作報告
-------------------------------------------*/
.report-toc {
    width: 90%;
}

/* 相關法例
-------------------------------------------*/
.related-laws {
    padding: 5px 15px;
}
.related-laws ul {
    list-style: url("../images/ccac/marker.png");
}
.related-laws li {
    padding: 5px 0;
}

/* 表格
-------------------------------------------*/
.Chronoform span.required {
	color: #a94442;
}
.Chronoform .fc-error {
	border: none;
	background-color: #f2dede;
	color: #a94442;
}

/* 相關法例
-------------------------------------------*/
#chronoform_commentform span.required {
    color: #a94442;
}

/* 文章編輯
-------------------------------------------*/
.f2cimages {
    text-align: center;
}
.f2cimages .image-container {
    display: table;
    margin: 5px 0;
    max-width: 280px;
}
.f2cimages .image-container > .image-holder {
    display: table-row;
    height: 220px;
    max-width: 280px;
}
.f2cimages .image-container > .image-holder > .thumb {
    display: table-cell;
    vertical-align: middle;
}
.f2cimages .image-wrapper {
    display: inline-block;
    margin: 0 5px;
    vertical-align: top;
}
.f2cimages .image-wrapper span.image-holder > a.thumb > img {
    box-shadow: 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px 1px rgba(0, 0, 0, 0.2), 0 2px 2px rgba(0, 0, 0, 0.2);
    max-height: 220px;
}
.f2cimages .image-wrapper > .image-container > span.details {
    display: block;
    font-size: 0.9em;
    text-align: center;
}

/* li of ol with right parenthesis */
/* Without this, the counter-increment won't increase */
ol.second-ordered {
    counter-reset: item;
}
/* Remove the original index */
ol.second-ordered li {
    display: block;
    margin-bottom: .5em;
    margin-left: 2em;
}
ol.second-ordered li:before {
    display: inline-block;
    content: counter(item) ") ";
    counter-increment: item;
    width: 2em;
    margin-left: -2em;
}

/* Single article header */
.item-page > .page-header h2 {
    background: url("../images/ccac/postheadericon.png") #aed92e no-repeat 0 4px;
    border: 1px solid #acc77f;
    box-shadow: 0 4px 6px -6px;
    font-family: "Microsoft JhengHei","Microsoft YaHei","PMingLiU","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.2em;
    min-height: 20px;
    padding: 5px 5px 5px 30px;
}

/* Language switcher */
.mod-languages {
    text-align: center;
}
    .mod-languages img.locale-disabled {
        zoom: 1;
        filter: alpha(opacity=50);
        opacity: 0.5;
    }
    .mod-languages span.locale-disabled {
        color: #888;
    }

/* Form2Content */
div.f2c_field input[type="text"], div.f2c_field textarea {
    width: 100%;
}

/* Category blog */
.blog > h2 {
    background: url("../images/ccac/postheadericon.png") #aed92e no-repeat 0 4px;
    border: 1px solid #acc77f;
    font-family: "Microsoft JhengHei","Microsoft YaHei","PMingLiU","Helvetica Neue",Helvetica,Arial,sans-serif;
    font-size: 1.2em;
    min-height: 24px;
    padding: 5px 0 5px 30px;   
}

/* gkHighlighterGK5 */
.gkHighlighterGK5 {
    font-size: 0.9em;
    height: 20px;
    overflow: hidden;
    padding: 3px;
}

/* ninja simple icon */
.nsi-container li {
    margin: 8px 0 !important;
    padding: 0 !important;
}
.nsi-iconhoriz-icontop div {
    padding: 0 !important;
}

/* swmenufree */
#swmenu a.item2 {
    font-family: "Microsoft JhengHei", "Microsoft YaHei", "PMingLiU", "Times New Roman",Times,serif !important;
}
.sw-sf li:hover ul, .sw-sf li.sfHover ul {
    box-shadow: 1px 1px 3px;
    width: auto !important;
}
#swmenu .sf-section li:first-child {
    border-top: medium none;
}
#swmenu .sf-section li:last-child {
    border-bottom: medium none;
}
#swmenu .sf-section li {
    border-bottom: 1px solid rgba(191, 185, 93, 0.8);
    border-top: 1px solid rgba(255, 255, 255, 0.9);
}

/* calendar */
.calendar thead .hilite {
    border: none;
    padding: 2px;
}
.category-list .filters.btn-toolbar {
    /* Override ProtoStar */
    font-size: 1em;
}

/*@media (max-width: 768px) {
    // for swmenufree
    #swmenu ul.sf-section {
        border: 3px solid #e6e2b8;
    }
    #swmenu > li.sfHover > ul.sf-section {
        left: 20%;
        position: absolute;
        top: 40px;
    }
}*/

/*@media (min-width: 980px) {*/
    div.mod-languages li {
        margin-right: 0 !important;
    }
    div.mod-languages img {
        max-width: 40px;
    }
/*}*/
/*@media (min-width: 1200px) {*/
    div.mod-languages img {
        max-width: 100%;
    }
/*}*/

/*@media (max-width: 979px) {
    // for swmenufree
    #swmenu ul.sf-section {
        border: 3px solid #aaa;
        // border-bottom: 1px solid #e6e2b8;
        box-shadow: none;
    }
    #swmenu li.sfHover > ul.sf-section {
        left: 0;
        position: absolute;
        top: 35px;
    }
    #swmenu .item2 {
        width: auto;
    }
    .sw-sf li:hover ul, .sw-sf li.sfHover ul {
        width: 95% !important;
    }
}*/

@media print {
    a[href]:after {
        content: "";
    }
}

/**
 * override sigplus's fancybox
 * fix mobile display issue
 ------------------------------------------------*/
#fancybox-overlay {
	position: fixed;
}

/* 發展史 */
#ccac-history ol {
    padding: 0 15px;
}
#ccac-history ol > li {
    line-height: 1.5em;
}

/* 紀監 */
table.discipline-committee {
	width: 60%;
	margin: 0 auto;
}
table.discipline-committee th {
	font-size: 20px;
	padding-top: 15px;
	padding-bottom: 15px;
	text-align: center;
}
table.discipline-committee > tbody > tr > td:first-child {
	text-align: right;
}
table.discipline-committee .badge {
	border-radius: 0;
	padding: 5px 15px;
	background-color: #1e439b;
}
table.discipline-committee th,
table.discipline-committee td {
	background-color: #c6eafa;
	width: 50%;
}

/* 中間宣傳 */
.flex-direction-nav a:before {
    font-size: 17px !important;
}

/* 測試標籤 */
.corner-ribbon {
    display: none;
}
body.uat .corner-ribbon{
    display: block;
  width: 200px;
  background: #e43;
  position: absolute;
  top: 25px;
  left: -50px;
  text-align: center;
  line-height: 50px;
  letter-spacing: 1px;
  color: #f0f0f0;
  transform: rotate(-45deg);
  -webkit-transform: rotate(-45deg);
  z-index: 9999;
}
body.uat .corner-ribbon.top-right{
  top: 25px;
  right: -50px;
  left: auto;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

/* 模擬 Bootstrap */
/* 開考通告 */
.panel {
	background-color: #fff;
	border: 1px solid transparent;
	box-shadow: 0 1px 1px rgba(0, 0, 0, 0.05);
	border-radius: 4px;
	margin-bottom: 10px;
}
.tab-pane .panel:last-child {
	margin-bottom: 0;
}
.panel-default {
	border-color: #ddd;
}
.panel-default > .panel-heading {
	color: #333;
	background-color: #f5f5f5;
	border-color: #ddd;
}
.panel-heading {
	padding: 10px 15px;
	border-bottom: 1px solid transparent;
	border-top-right-radius: 3px;
	border-top-left-radius: 3px;
}
.panel-body {
	padding: 15px;
}
.panel > .list-group {
	margin: 0;
}
.panel > .list-group .list-group-item {
    display: block;
	border: 1px solid #ddd;
	padding: 10px 15px;
	margin-bottom: -1px;
	background-color: #fff;
	border-width: 1px 0;
	border-radius: 0;
}
#recruitment .list-group-item {
  display: flex;
}
    #recruitment .list-group-item > span {
      margin-right: 10px;
    }

/* UAT Ribbon */
body.uat .ribbon {
	width: 200px;
	background-color: #e43;
	position: absolute;
	top: 0;
	right: 80px;
	color: #f0f0f0;
	line-height: 50px;
	letter-spacing: 2px;
	box-shadow: 0 0 3px rgba(0, 0, 0, 0.3);
	text-align: center;
	transform: rotate(45deg);
}

table.table-borderless > tbody > tr > th,
table.table-borderless > tbody > tr > td {
	border: none;
}

.list-unstyled {
	list-style: none;
	margin: 0;
	padding: 0;
}

/* 懶人包 */
.blog .row-fluid .span6 {
	width: 48.936170208%;
	*width: 48.882978718638%;
}
.blog .items-leading > div[class^=leading-] {
  border: 1px solid rgba(0, 0, 0, 0.125);
}
.blog .items-leading .ccac-article-title {
    padding: 10px;
}
.blog .items-row {
	margin: 4px 0;
	display: flex;
}
.blog .items-row > .span6 {
	display: flex;
}
.blog .items-row > .span6 > .item {
	flex-basis: 100%;	/* Required for IE11 */
}
.blog .items-row .item {
	border: 1px solid rgba(0, 0, 0, 0.125);
}
.blog .items-row .item:hover {
	box-shadow: 0 3px 8px 0 rgba(0, 0, 0, 0.2), 0 0 0 1px rgba(0, 0, 0, 0.01);
}
.blog .items-row .item h2 {
    font-size: 16px;
  padding-left: 9px;
}
.blog .items-row .item .article-info {
	font-size: 0.8em;
}
.blog .row-fluid {
	padding: 0;
}

/* 聯絡我們 */
.contact .hotline {
    font-weight: bold;
    color: red;
}
