.main-body {
    background-color: #F3EFEB;
}
.div-search #qSel,
.div-search #qSel-val,
.search-with-ico input {
	background-color: transparent;
}
.text-panel {
	position: relative;
}
.item-l-r {
	background-color: #fff;
} 
.item-l-r .item-left {
    width: calc(100% - 200px);
    padding: 15px;
}
.item-l-r .item-right {
    width: 200px;
    min-width: 200px;
    padding: 0;
}
.item-label {
	color: #1f695a;
    background-color: #D7F0EB;
    padding: 5px 12px;
    border-radius: 3px;
    display: inline-block;
    margin-bottom: 10px;
    font-size: 14px;
}
.text-panel .flex-item-title a {
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 3;
    white-space: normal;
    color: #505C66;
    font-weight: 400;
    font-size: 16px;
}
.text-panel .flex-item-summary {
	display: none;
}
.text-panel .flex-item-date {
	font-size: 14px;
	color: #9e9e9e;
	bottom: 15px;
}
.news-content-cont {
    margin: 30px 0;
    color: #1e695a;
    line-height: 2;
}
/* register page */
.register-container {
	
}
/* searchbyindex css */
.index-table-container {
	padding: 0;
	margin-top: 20px
}
.search-tr-title>td:nth-child(1),
.search-tr-title>td:nth-child(2) {
	min-width: 100px;
}

.search-tr-title>td:nth-child(1),
.search-tr-content>td:nth-child(1) {
	padding-left: 15px;
}
.search-tr-title>td:nth-child(3) {
	width: 100px;
}
.search-tr-title>td:nth-child(4),
.search-tr-content>td:nth-child(4) {
	width: 80px;
	padding-right: 15px;
}
.index-table>tbody>tr>td {
    border-top: 0;
    height: 56px;
    min-height: 56px;
    vertical-align: middle;
    padding: 15px 10px;
}
.search-tr-content:nth-child(odd) {
    background-color: #edf4f3;
}
/* exhibitions css */
.exhibitions-head-slider {
    aspect-ratio: 9 / 16;
    background: url(../images/exhibition-sp-bg.svg);
    overflow: hidden;
    background-repeat: no-repeat;
    background-size: cover;
    padding: 9vw 0;
}
.exhibitions-head-slider .main-container {
}
.exhibitions-head-slider .main-container,
.exhibitions-head-slider .swiper-container {
	height: 100%;
}
.exhibit-sum .exhibit-tab {
	text-align: center;
	color: #fff;
}
.exhibit-sum .exhibit-title {
	text-align: center;
	font-size: 26px;
	font-weight: bold;
	color: #fff;
}
.exhibitions-head-slider .exhibit-sum a:hover {
	color: #fff;
}
.exhibit-tab {
	color: #fff;
	font-size: 16px;
}
.exhibit-title {
	color: #fff;
	font-size: 40px;
	font-weight: 700;
}
.exhibit-summary {
	color: #fff;
	font-size: 14px;
	line-height: 2;
}
.sc-div {
    background-image: url(../images/sc-list-bg.png);
    background-size: cover;
    padding: 0 15px;
}
.sc-div .clh-title {
	color: #fff;
}
.sc-div .showallbtn-div a {
	color: #1f695a;
	background-color: #D7F0EB;
}
.sp-list .item-info-title,
.sc-list .item-info-title {
    font-size: 16px;
    font-weight: 700;
    color: #505c66;
    height: 38px;
}
.sp-list .item-info-summary {
    display: none;
    color: #9e9e9e;
}
.sp-list .item-info-date,
.sc-list .item-info-date {
    font-size: 13px;
    color: #9e9e9e;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
}
.exhibitions-head-slider .swiper-pagination-bullet {
    opacity: 1!important;
    background: transparent!important;
    border-color: #fff;
    border: 1px solid #fff;
}
.exhibitions-head-slider .swiper-pagination-bullet-active {
    background-color: #fff!important;
}
.exhibitions-head-slider .swiper-container-horizontal>.swiper-pagination-bullets {
    left: 20%;
    width: 60%;
}
.exhibitions-head-slider .swiper-button-prev,
.exhibitions-head-slider .swiper-button-next {
    bottom: 0;
    top: auto;
}
.exhibitions-head-slider .swiper-button-prev {
    background-image: url(../images/ico-left-o.svg);
    left: 10%;
}
.exhibitions-head-slider .swiper-button-next {
    background-image: url(../images/ico-right-o.svg);
    right: 10%;
}
.colldis {
	margin: 30px 0;
}
/* category */
.sub-category-next {
    padding: 20px 0;
    background-color: #added4;
}
.sub-category-nav {
    padding: 20px 0;
    background-color: #ddefeb;
}
.category-search {
    background-color: #17493f;
    font-size: 30px;
    color: #fff;
    width: 46px;
    height: 46px;
    line-height: 46px;
    display: inline-block;
    text-align: center;
    cursor: pointer;
    border-radius: 2px;
    margin-right: 20px;
}
.category-search:hover {
	opacity: .9;
}
.category-ul {
	margin: 0 -8px;
}
.category-ul li {
    background-color: #fff;
    border-radius: 3px;
    margin: 0 5px 10px;
    float: left;
    height: 46px;
    line-height: 46px;
    padding: 0 10px;
}
.category-ul li img {
    width: 32px;
    height: 32px;
    object-fit: cover;
    border-radius: 3px;
    margin-right: 5px;
}
.category-ul li a {
	font-family: "Noto Sans CJK TC";
    font-size: 16px;
    color: #17493f;
}
.cate-left-nav {
	width: 340px;
}
.cate-left-nav ul {
	padding-left: .5em;
	list-style: none;
}
.cate-left-nav ul li {
	line-height: 36px;
}
.cate-left-nav ul li a {
	padding: 0 5px;
	font-size: 14px;
	color: #000;
}
.cate-left-nav .cate-nav-root {
	padding-left: 0;
    margin-top: 20px;
    border: 1px solid #1F695A;
    border-radius: 3px;
}
.cate-nav-root li.cur>a {
    background-color: #1f695a;
    display: block;
    color: #fff;
}
.cate-nav-root>li {
	font-size: 18px;
}
.cate-nav-root .menu-ico {
	color: #000;
	margin-left: 0;
}
.cate-nav-child {
	display: none;
}
.cate-left-nav .menu-ico.expand+ul {
	background-color:transparent;
}
.category-item-list-container .flex-item-title {
	font-size: 18px;
	font-weight: 700;
	color: #505C66;
}
.category-item-list-container .flex-item-summary {
    color: #505C66;
}
/* 我的澳門記憶 */
.mymm-head {
	padding: 0;
}
.mymm-head .flex-container {
	background-color: #fff;
	flex-direction: column-reverse;
}
.mymm-head-content {
	padding: 0 15px;
}
.mymacaumemory-navigation {
	margin: 10px 0;
}
.mymacaumemory-navigation a {
	font-size: 14px;
	color: #1f695a;
}
.mymm-nav a {
	font-size: 14px;
}
.mymm-nav a i {
	font-size: 12px;
	margin-left: 2px;
}
.mymm-list .flex-item-title {
	font-size: 16px;
	font-weight: normal;
    white-space: normal;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}
.mymm-list .flex-item-icons > span {
	display: block;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.mymm-list .flex-item-icons > span i {
	padding-right: 5px;
}
.ico-view {
	color: #9e9e9e;
}
.tab-attrs {
    gap: 10px;
    margin-bottom: 20px;
}
.tab-attrs .flex-item a {
	display: block;
    border: 1px solid #1e695a;
    color: #1e695a;
    padding: 6px 20px;
    border-radius: 4px;
    margin-bottom: 0;
    cursor: pointer;
}
.tab-attrs .flex-item .cur,
.tab-attrs .flex-item:hover a {
	color: #fff;
	background-color: #1e695a;
}
.t-title {
    font-size: 24px;
    font-weight: bold;
    color: #151719;
    margin: 30px 0 15px;
}
.t-content {
    color: #808080;
    margin-bottom: 10px;
    padding-right: 10px;
}
.t-content p {
    font-size: 18px;
}
.t-content ul li {
    margin-bottom: 10px;
    line-height: 1.5;
}
.t-content ul {
    padding-left: 20px !important;
}
/* 詞條詳情頁 */
.entry-container {
	display: flex;
	flex-wrap: wrap;
}
.entry-main {
	flex: 1;
}
.entry-sum {
	padding: 0;
	width: 100%;
}
.entry-main .common-head {
	margin: 0 -15px;
}
.entry-main .common-head .navigation {
	padding: 0 15px;
}
.entry-sum .rel-summary {
	padding-top: 10px;
}
.entry-sum .sub-title {
	color: #505C66;
	font-size: 18px;
	font-weight: bold;
    border-bottom: 1px solid #ccc;
    padding-bottom: 20px;
    margin-top: 50px;
    margin-bottom: 10px;
}
.rel-row {
	margin-bottom: 15px;
}
.rel-lb {
	float: left;
	width: 130px;
}
.rel-cont {
	float: right;
	width: calc(100% - 130px);
	font-size: 14px;
}
.rel-cont>a {
	font-family: "Noto Sans CJK TC";
    color: #1F695A;
    font-size: 14px;
    text-decoration: underline;
}
.rel-category p, 
.rel-category a {
    font-size: 14px;
}
/* 自適應樣式 */
@media (max-width: 767px) {
	.exhibit-sum .exhibit-tab,
	.exhibit-sum .exhibit-title {
	    margin-bottom: 8vw;
	}
	.exhibit-summary {
	    margin-top: 8vw;
	}
	.exhibitions-head-slider .exhibit-img {
	    display: none;
	}
}

@media (min-width: 768px) {
	.search-tr-title>td:nth-child(1) {
	    width: 45%;
	}
	.search-tr-title>td:nth-child(3) {
	    width: 100px;
	}
	.search-tr-title>td:nth-child(4) {
	    width: 80px;
	}
	.sp-list .item-info-title,
	.sc-list .item-info-title {
	    font-size: 20px;
	    line-height: 1.1;
	    height: 46px;
	}
	.sp-list .item-info-summary {
	    font-size: 14px;
	    -webkit-line-clamp: 3;
        height: 50px;
	}
	.sp-list .item-info-date,
	.sc-list .item-info-date {
	    font-size: 14px;
	}
	.exhibitions-head-slider {
		display: flex;
	    aspect-ratio: 2 / 1;
	    background-image: url(../images/exhibition-sp-bg.svg);
	    overflow: hidden;
	    padding: 0;
	}
	.exhibitions-head-slider .swiper-slide {
	    display: flex;
	    align-content: center;
	    justify-items: center;
	    flex-wrap: wrap;
	    justify-content: space-around;
	    align-items: stretch;
	}
	.exhibitions-head-slider .exhibit-img {
		display: block;
	    width: 50%;
	}
	.exhibitions-head-slider .exhibit-sum {
        width: 50%;
	    padding-left: 50px;
	    display: flex;
	    flex-direction: column;
	    justify-content: space-evenly;
	}
	.exhibitions-head-slider .swiper-container-horizontal>.swiper-pagination-bullets {
        width: calc(50% - 50px); /* .exhibitions-head-slider .exhibit-sum 的 width 和  padding-left */
	    bottom: 50px;
	    text-align: left;
	    left: auto;
	    right: 0;
	}
	.exhibit-sum .exhibit-tab,
	.exhibit-sum .exhibit-title,
	.exhibit-sum .exhibit-summary {
	   text-align: left;
	   margin-bottom: 0;
	}
	.exhibitions-head-slider .swiper-button-prev {
	    right: 24px;
	    bottom: 40px;
	    left: auto;
	}
	.exhibitions-head-slider .swiper-button-next {
	    right: 0;
	    bottom: 40px;
	}
	.mymm-head {
	    padding: 0 15px;
	}
	.mymm-head .flex-container {
	    margin-top: 30px;
	    margin-bottom: 30px;
	    flex-direction: row;
	}
	.mymm-head .flex-item {
	    margin-bottom: 0;
	    padding: 0;
	}
	.mymm-head .mymm-head-content {
	    padding: 25px 50px;
	}
	.mymm-list .flex-item-icons > span {
	    display: inline-block;
	}
	.mymm-list .flex-item-icons > span:nth-child(1) {
	    width: 100px;
	}
	.mymm-list .flex-item-icons > span:nth-child(2) {
	    float: right;
	    width: calc(100% - 100px);
	}
}
@media (min-width: 1024px) {
    .item-l-r .item-left {
        padding: 36px;
    }
	.item-l-r .item-right {
	    width: 280px;
	    min-width: 280px;
	}
	.text-panel .flex-item-title {
        margin-top: 10px;
        margin-bottom: 20px;
	}
	.text-panel .flex-item-title a {
        font-size: 20px;
        -webkit-line-clamp: 1;
        font-weight: 700;
	}
	.text-panel .flex-item-summary {
	    display: -webkit-box;
	}
	.text-panel .flex-item-date {
	   bottom: 30px;
	}
	.news-cover-cont {
	   width: 640px;
	}
	.news-cover-cont img {
	   border-radius: 3px;
	}
	.news-date-cont {
	   color: #9e9e9e;
	   margin-bottom: 60px;
	}
    .exhibitions-head-slider .exhibit-img {
        width: 55%;
    }
    .exhibitions-head-slider .exhibit-sum {
        width: 45%;
    }
    .exhibitions-head-slider .swiper-container-horizontal>.swiper-pagination-bullets {
        width: calc(45% - 50px);
    }
	.entry-sum {
	    width: 230px;
	    margin-left: 30px;
	}
    .rel-lb,
    .rel-cont {
        width: 100%;
        float: none;
    }
    .rel-cont>a {
        color: #1F695A;
        font-size: 14px;
    }
}

@media (min-width: 1280px) {
	.exhibitions-head-slider {
	    margin-top: -72px;
	    padding-top: 72px;
	}
	.exhibitions-head-slider .swiper-container-horizontal>.swiper-pagination-bullets {
	   bottom: 20%;
	}
	.exhibitions-head-slider .swiper-button-prev, 
	.exhibitions-head-slider .swiper-button-next {
	    bottom: calc(20% - 10px);
	}
}














.overflow-container {
    display: flex;
}
.overflow-main {
    max-height: 56px;/* 显示高度（包括margin），超过此高度显示更多按钮 */
    overflow: hidden;
    position: relative;
}
.overflow-main.expand {
	max-height: initial;
} 
.overflow-main::before{
    content: '';
    width: 100px;
    height: 100%;
    float: left;
}
.overflow-content {
    box-sizing: border-box;
    width: 100%;
    float: right;
    line-height: 1.5;
    margin: 0;
    margin-left: -100px;
    padding-right: 46px;/* 留位置给更多按钮，防止重叠 */
}
.overflow-btn {
    float: right;
    width: 46px;
    height: 46px;
    line-height: 46px;
    text-align: center;
    position: relative;
    left: calc(100% - 100px);
    cursor: pointer;
    top: -100%;
    background-color: #fff;
    color: #17493f;
    border-radius: 3px;
}
.overflow-btn::before{
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
}
.overflow-btn::after{
    content: '';
    display: block;
    background-color: #666;
    transition: .2s background-color;
}
.overflow-main.expand .overflow-btn {
    position: absolute;
    bottom: 0;
    right: 0;
    left: auto;
    top: auto;
}
.sub-category-title {
	font-size: 24px;
	font-weight: bold;
	color: #17493f;
}
.sub-category-sum {
    font-size: 14px;
    color: #17493f;
}
.category-nav-main {
	margin: 30px 0;
}
.category-nav-main .category-ul {
	margin-bottom: 20px;
}
.category-nav-main .category-ul li {
	font-family: "Noto Sans CJK TC";
	cursor: pointer;
	color: #17493f;
}
.category-nav-main .category-ul .cur {
	background-color: #17493f;
	color: #fff;
}
.goto-category {
    display: inline-block;
	background-color: #1e695a;
    color: #fff;
    border-radius: 4px;
    padding: 10px 30px;
    margin: 50px 0 0;
    cursor: pointer;
}
.mem-expert {
	margin-left: -10px;
	margin-right: -10px;
}
.mem-expert .list-item {
    padding-left: 10px;
    padding-right: 10px;
}
.mem-expert-info {
	border: 1px solid #ccc;
	padding: 2px;
	border-radius: 3px;
}
.expert-works>div {
	width: 33.3333333%;
	float: left;
}
.expert-works>div img {
	border-left: 1px solid #fff;
}
.expert-works {
    position: relative;
}
.expert-avatar {
    position: relative;
    align-items: center;
    justify-content: space-between;
}
.expert-avatar.style-2 {
    height: 60px;
}
.expert-avatar.style-3 {
    height: 40px;
}
.expert-avatar span {
    color: #999;
}
.expert-avatar img {
    border-radius: 50%;
    border: 2px solid #fff;
}
.expert-avatar.style-2 img {
    width: 40px;
    height: 40px;
}
.expert-avatar.style-3 img {
    width: 30px;
    height: 30px;
}
.expert-avatar img.err {
    line-height: 10;
}
.expert-info {
	margin-top: 30px;
}
.expert-info h4 {
	text-align: center;
	font-weight: bold;
}
.expert-ico {
    text-align: center;
    line-height: 1;
}
.expert-ico i {
	font-size: 40px;
}
.df-avatar {
    background: #1e695a url(../images/banner-logo.png) center no-repeat;
    background-size: 50%;
}