/*這隻控管內頁左側header*/

header{
	padding:0px;
}
#model-left{
	margin-left: 160px;
	width: 240px;
	margin-top: 28px;
	height: 68vh;
	position: fixed;
}
#model-right{
	border: none;
	width: calc(100% - 450px);
	min-height: calc(100vh - 190px);
}
.mobile-main-nav #cis{
	display: none;
}
.content-wrraper{
	margin: 0px 0;
}
header .innerLogo{
	padding-bottom: 21px;
	border-bottom: 1px solid #dedede;
}
header #mobile-menu{
}
header #mobile-menu >ul >li{
	padding: 0px;
}
header #mobile-menu .menu_head.c0 p a{
	padding: 11px 0px;
	color: #303131;
}
header #mobile-menu >ul >li.fbIcon,header #mobile-menu >ul >li.LineIcon{
	display: inline-block;
}
header #mobile-menu >ul >li.fbIcon{
	padding-right: 10px;
}



#side-nav{
	display: flex;
	flex-wrap: wrap;
	justify-content: flex-end;
    float: none;
    width: auto;
}
#side-nav .outside-set{
	padding-bottom: 21px;
	padding-right: 20px;
}
#side-nav .waylink{
	padding-right: 14px;
	padding-bottom: 10px;
	text-align: right;
	width: 100%;
}
#side-nav ul.Cate{
	display: flex;
}
#side-nav .outside-set .Cate >li h3{
	border: none;
	font-weight: 400;
}
#side-nav .outside-set .Cate >li h3 a{
	padding: 0px;
}
#side-nav ul.Cate li{
	position: relative;
	padding: 0 9px;
}
#side-nav ul.Cate li:first-child::after{
	border: none;
}
#side-nav ul.Cate li::after{
	content: "";
	height: 20px;
	position: absolute;
	left: 0px;
	top: 3px;
	border-right: 1px solid #929292;
}
.main-article{
	width: 100%;
}
.main-article .pagetitle{
	animation-delay: .5s;
	display: inline-block;
	font-size: 40px;
	font-weight: bold;
	position: relative;
	color: #19306c;
	margin-bottom: 66px;
}
.main-article .pagetitle::after{
    content: "";
    width: 26px;
    height: 8px;
    background-color: #dbb56d;
    position: absolute;
    right: -35px;
    top: 17px;
}
/*book---------------------*/
#album{
	display: flex;
	flex-wrap: wrap;
	justify-content:flex-start;
}
#album .photoItem{
	position: relative;
	padding: 10px;
	float: none;
	margin: 0px;
	width: 30.2%;
}
#album .photoItem .photo a img{
	max-width: 100%;
}
#album .photoItem .photo a{
	background-size: cover;
}


#album .photoItem .hover-content{
	transition: all .3s ease-in;
    bottom: 0px;
    left: 0px;
    width: 100%;
    height: 0px;
    position: absolute;
    background: #ffffffbd;
    overflow: hidden;
}
#album .photoItem:hover .hover-content{
	height: 94px;
}
#album .photoItem .hover-content p{
	letter-spacing: 1px;
    text-align: center;
    color: #163165;

}

#album .photoItem .hover-content p:first-child{
	letter-spacing: 1px;
	text-align: center;
	color: #163165;
	font-size: 18px;
	padding-top: 7px;
}
#album .photoItem .hover-content p:nth-child(2){
	font-weight: bold;
}
#album .photoItem .hover-content p:last-child{
	padding-bottom: 24px;
    font-size: 14px;
    color: #c7b084;
}
#pagenav{
	text-align: right;
	border: none;
	padding-right: 12px;
}
#pagenav a i {
	padding: 0 10px;
	font-size: 18px;
}

#pagenav a,#pagenav strong{

	border: none;
	background: none;
}
#pagenav a.next{
	border: none;
}
#pagenav a:hover{
	background: none;
}
/*------------------*/
/*book-detail---------------------*/
#describe{
	margin-bottom: 45px;
}
#describe #article{
	margin-bottom: 40px;
}

#bookmodelwidth{
	margin-bottom: 100px;
}

/*------------------*/

/*最新消息內頁*/

.news-main-article #article{
	margin-bottom: 100px;
}

#content{
	margin-bottom: 14px;
	margin-top: 67px;
}
/*-------------*/
/*文章編輯器樣式test*/
/* smallpic */
.index-title{

    padding-bottom: 40px;
    color: #19306c;
    width: 300px;
    margin: 0 auto;
}

.index-title::after{
    display: block;
    content: "";
    width: 183px;
    border-bottom: 2px solid #c7b084;
    margin: 0 auto;

}
.index-title h2{
    text-align: center; 
    line-height: 110%;
    font-weight: bold;
    padding-bottom: 10px;
    font-size: 38px;
}
.index-title p{text-align: center;
}
#smallPic .modelwidth{
    width: 70%;
}

#smallPic .modelwidth ul{
    display: flex;
    justify-content: space-around;
}
#smallPic .modelwidth ul li{
    width: 25%;
}
#smallPic .modelwidth ul li .smallTitle p{
    font-size: 18px;
    text-align: center;
}
#smallPic .modelwidth ul li .smallTitle{
    padding-top: 30px;
    font-weight: bold;
    width: 80%;
}
#smallPic .modelwidth ul li .smallTitle p:last-child{
    padding-top: 5px;
    font-weight: normal;
    color:#c7b084;
    font-size: 16px;
}

.smallBox a{
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    display: block;
}
/*--------------*/

@media screen and (min-width: 1366px) {
#album .photoItem {
    width: 30.6%;
    margin: -1px;
	}
#model-left {
    margin-left: 105px;
    width: 240px;
    margin-top: 43px;
    height: 100vh;
    position: fixed;
    margin-bottom: 0px;
    top: -10px;
}
#model-right {
    border: none;
    width: calc(100% - 360px);
}
}
@media screen and (min-width: 1280px) {
#album .photoItem {
    width: 31.5%;
    margin: -4px;
}
}
@media screen and (min-width: 1181px) {
	#model-left.clearFix{
		position: fixed;
		/* top: -36px; */
		bottom: 20px;
		/* left: 0px; */
	}
}
@media screen and (max-width: 1180px) {
	#album .photoItem .hover-content{
		height: 96px;
	}
	#side-nav .outside-set .Cate >li h3 a{
		font-weight: normal;
	}
	#pagenav{
		text-align: center;
	}
	header #mobile-menu >ul{
		display: flex;
    	flex-wrap: wrap;
    	justify-content: center;
    	align-items: flex-end;
    	height: 100%;
	}
	header #mobile-menu >ul >li{
		padding: 0px 20px;
		/*box-sizing: border-box;*/
		width: 100%;
	}
	header #mobile-menu {
     padding-top: 0px; 
	}
	header #mobile-menu .menu_head.c0 p a{
		font-size: 16px;
		padding: 10px 20px;
		color: #19306c;
	}
	header #mobile-menu >ul >li:last-child{
		width: 50%;
		padding: 20px 7px;
	}
	header #mobile-menu >ul >li.fbIcon{
		padding-right: 0px;
		width: 18%;
    	padding: 20px 0px;
	}
	header .innerLogo{
		display: none;
	}
	#model-left {
	    margin-left: 0px;
	    width: 0px;
	    margin-top: 0px;
	    height: 0vh;
	    z-index: 9999;
	}
	.mobile-main-nav #cis{
		display: block;
	}
	header {
	    padding: 10px 2.5%;
	    position: fixed;
	    width: 95%;
	    box-shadow: 0 0 5px rgba(80, 80, 80, 0.39);
	    z-index: 89;
	}
	#model-right{
		width: 100%;
		min-height: calc(100vh - 329px);
	}
	
}
@media screen and (max-width: 840px){
	#album .photoItem{
		width: 45%;
	}
	#content {
		margin-bottom: 14px;
		margin-top: 46px;
	}
	#model-right{min-height: inherit;}
}
@media screen and (max-width: 580px){
	.main-article .pagetitle{
		font-size: 32px;
	}
	.main-article .pagetitle::after{
		top: 16px;
		height: 5px;
		width: 24px;
	}
	#album .photoItem{
		width: 100%;
	}
	#side-nav ul.Cate{
		flex-wrap: nowrap;
	}
	#side-nav ul.Cate li{
		width: 61%;
	}
	#side-nav ul.Cate li::after{
		/* border: none; */
	}
	.main-article .pagetitle{
		margin-bottom: 0px;
	}
	#side-nav{
		margin-top: 30px;
	}

}
@media screen and (max-width: 374px){
	#side-nav ul.Cate li{
		padding: 0 14px;
	}
}