@import url(https://fonts.googleapis.com/css?family=Noto+Sans+TC:100,300,400,500,700,900&display=swap" rel="stylesheet);
*{
	margin: 0;
	padding: 0;
	list-style: none;
	font-family: "微軟正黑體","Helvetica Neue", Helvetica, Arial,'Noto Sans TC', sans-serif;
}


.txt-content{
	font-size: 1.2em;
	line-height: 1.8em;
}
.txt-in{
	text-indent: 3.3em;
}



			@media screen and (min-width:768px){
				.footer-menu2{
					text-align: right;
				}
			}


			.jumbotron{
				background-image: url(../img/bc01.jpg);
				background-size: cover;
				height: 300px;
				margin-bottom: 0;
			}
			.jumbotron img{
				position: absolute;
				left: 0;
			}

			@media screen and (min-width:1024px){
				.jumbotron img{
					width: 100%;
				}
			}

			.navbar-default{
				border: none;
				/*padding-top: 50px;	*/
				margin-bottom: 0px;
				background: linear-gradient(-20deg, #258,#00001e ,#036);
				font-size: 1.5em;
				border-radius: 0;
			}


			.navbar-default .navbar-collapse,
			.navbar-default .navbar-form {
			  border: none;
			  /*取消主題區與下拉選單之邊線*/
			} 
			
			.navbar-default img{
				width: 60%;
				margin-top: -20px;
				margin-left: -20px;
			}

			.carousel-control.left {
			  background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .0001) 100%);
			  background-image:      -o-linear-gradient(left, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .0001) 100%);
			  background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, .5)), to(rgba(255, 255, 255, .0001)));
			  background-image:         linear-gradient(to right, rgba(255, 255, 255, .5) 0%, rgba(255, 255, 255, .0001) 100%);
			}			
			.carousel-control.right {
			  right: 0;
			  left: auto;
			  background-image: -webkit-linear-gradient(left, rgba(255, 255, 255, .0001) 0%, rgba(255, 255, 255, .5) 100%);
			  background-image:      -o-linear-gradient(left, rgba(255, 255, 255, .0001) 0%, rgba(255, 255, 255, .5) 100%);
			  background-image: -webkit-gradient(linear, left top, right top, from(rgba(255, 255, 255, .0001)), to(rgba(255, 255, 255, .5)));
			  background-image:         linear-gradient(to right, rgba(255, 255, 255, .0001) 0%, rgba(255, 255, 255, .5) 100%);
			}
			.main-title{
				margin-bottom: 80px;
			}
			.main-title .h2{
				font-size: 2em;
				color: #258;
			}
			.painting .main-title .h2,.act .main-title .h2{
				font-size: 2em;
				color: #6cf;
			}
			.jd1 img,.jd2 img{
				width: 100%;
			}

			.main-txt img{
				width: 100%;
			}

			.literature{
				/*height: 100vh;*/
				background-color: #aaa;
			}


			.main-txt p,.literature p{
				text-align: justify;
				font-size: 1.25em;
				line-height: 2.5em;
			}

			.literature p,h1,h2,h3{
				text-align: justify;
				font-family:  "微軟正黑體","Helvetica Neue", Helvetica, Arial, sans-serif;				
			}

			.literature h3{
				border-left-style: solid;
				border-left-width: 10px;
				border-left-color: #abb88e;
				padding-left: 5px;
			}	
			.literature h4{
				font-size: 1.5em;
				margin-left: 20px;
				border-left-style: solid;
				border-left-width: 10px;
				border-left-color: #00334b;
				padding-left: 5px;	
				color: #005187;
				margin-top: 20px;
			}	
			.literature .t-indent p{
				margin-left: 60px;
				text-indent: -40px;
			}				
			.painting{
				background-color: #ccc;
				background-image: url(../img/bc04.jpg);
				background-size: cover;
				background-repeat: no-repeat;
				/*height: 100vh;*/
			}


			.painting .product-list{
				text-decoration: none;
				border: 0;
				padding: 0;
			}
			.painting nav{
				font-size: 1.5em;
			}
			.painting nav a{
				line-height: 1.4;
				text-decoration: none;
				padding: 5px 10px;		
				color: #fd8e2f;	
				border-radius: 25px;	
			}
			.painting nav a:hover{
				background-color: #000;
				color: #fff;				
			}
			.painting h1{
				display: block;
				color: #00001e;
				width: 350px;
				font-size: 2.5em;
				text-align: center;
				margin: auto;
				margin-bottom: 50px;
				margin-top: 100px;
				background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0), #258, #9cf, rgba(0, 0, 0, 0));
				background: -o-linear-gradient(left, rgba(0, 0, 0, 0), #258, #9cf, rgba(0, 0, 0, 0));
				background: linear-gradient(to right, rgba(0, 0, 0, 0), #258, #9cf, rgba(0, 0, 0, 0));				
			}
			.painting .thumbnail h2{
				font-size: 2em;
				
			}
			.painting .thumbnail h5{
				font-size: 1.25em;
				
			}			
			.painting .thumbnail .price{
				display: block;				
			}
			.painting .thumbnail .price .sale{
				font-size: 1.5em;
				color: #f01;
			}




			
			.mb-40 {
				margin-bottom: 40px;
			}
			.mt-40 {
				margin-top: 40px;
			}
			.txt-indent {
				text-indent: 60px;
			}			
			.pagination .active a,
			.pagination .active a:hover{
				background-color: #666;
				cursor: pointer;
			}
			.act h2,p{
				padding-left: 15px;
				padding-right: 15px;
			}


			.painting .product-list, .act .product-list,/*.commentary .product-list*/{
				display: flex; /*Flexbox 排版模式*/
				flex-wrap:wrap;	/*flex-wrap: wrap || no-wrap || wrap-reverse;*/	
			}

			.act {
				width: 100%;
				background-image: url(../img/bc04.jpg);
				background-size: cover;
			}



/*			.thumbnail {
				width: 300px;
				margin: 20px 20px;
			}	*/		

			.item {
/*				width: 0;
				flex-grow: 1; 在主軸上佔容器的多少部份
				margin: 0 20px;		*/		
				overflow: hidden;		
			}
			.item img{
				transform: scale(1,1);
				transition: all 1s ease-out;
			}
			.item img:hover{
				transform: scale(2,2);
			}






			.exhibition,.literature,.act{
				background-color: #fff;
			}
			.artist,.painting,.dvd{
				background-color: #ddd;
			}

			.tab{
				background-color: #003666;
				color: #fff;
				padding: 4px 30px 0px 30px;
				position: absolute;
				left: -5px;
				bottom: 60px;
				transform:rotate(-4deg);

			}
			.tab h4{
				margin-top: 5px;				
				font-size: 2em;
			}

			.tab h5{
				margin-top: -15px;
				margin-bottom: 15px;
				font-size: 1.2em;
			}

			.thumbnail h3,.thumbnail h5{
				margin-left: 10px;
				padding: 5px 10px;
			}

			.author-img img{
				width: auto;
				padding: 10px 10px 80px 10px;
			}


			.back-to-top {
				/*goto top*/
			    cursor: pointer;
			    position: fixed;
			    bottom: 80px;
			    right: 20px;
			    display:none;
			    width: 50px;
			}	
			.txt-color-g{
				margin-left: 20px;
				border-left-style: solid;
				border-left-width: 6px;
				border-left-color: #7b9966;
				padding-left: 5px;	
				color: #7b9966;
				margin-top: 20px;
			}				

			@media screen and (min-width:768px) and (max-width: 991px){
			.jumbotron img{
				width: 100%;				
			}				

				/* 漢堡選單與頁首 */
				.navbar-toggle{
					display: block;
					float: right;
					margin-right: 0;
				}
				.navbar-header{
					width: 100%;
				}
				/* 選單隱藏區 */
				.collapsing.navbar-collapse{
					margin-left: -15px;
					margin-right: -15px;
				}
				.collapse.navbar-collapse{
					/* padding: 0; */

					margin-left: -15px;
					margin-right: -15px;
					display: none!important;
				}
				.collapse.navbar-collapse.in{
					display: block!important;
				}
				/* 選單項目 */
				.navbar-nav{
					margin-left: -15px;
					margin-right: -15px;
					float: none;
				}
				.navbar-nav.navbar-right,
				.navbar-form.navbar-left{
					float: none!important;
					display: block;
					padding: 0;
				}
				.nav>li {
				    position: relative;
				    display: block;
				    width: 100%;
				}
				.nav>li>a {
				    position: relative;
				    display: block;
				    padding: 10px 15px;
				}
				.navbar-nav>li>a {
				    line-height: 20px;
				}
				.navbar-form{
					position: relative;
				}
				.navbar-form .form-group{
					display: block;
				}
				.navbar-form .btn{
					position: absolute;
					right: 0;
					top: 0;
					border-radius:0 6px 6px 0; 
				}
				.navbar-form .form-control{
					display: block;
					width: 100%;
				}
				
			}	

		.pic{width:400px; height:350px;overflow:hidden;/*隱藏在圖片放大時超出的部分*/}
		.pic img{transform:scale(1,1);/*圖片放大的倍率*/ transition: all 1s ease-out;/*圖片放大所需的時間和特效*/}
		.pic img:hover{transform:scale(1.2,1.2);}							

		.pic-zoom{
			height:300px;
			width:300px;
			overflow:hidden;
		}
		.pic-zoom-mar{
			margin: -7px -20px 0px -20px; /*上 右 下 左*/
		}
		.dm-img img{
			width: 100%;
			float: left;
			padding: 20px;
		}
		.exhibition{
			width: 100%;
			/*height: 100vh;*/
			background: 
				linear-gradient(90deg, transparent 20%,#aaa 20%) center center / 100% 100%,
				url("../img/bc04.jpg") left center / auto 100%;

		}
		.main-txt{
			height: 100%;
/*			display: flex;
			flex-direction: column;*/
			/*align-items: flex-start;*/

		}


@media (max-width: 767px) {
	/*當畫面小於767px時進行的設定*/
	.exhibition{
		width: 100%;
		/*height: 100vh;*/
		background-color: #aaa;
		background: 
		linear-gradient(90deg, transparent 0%,#aaa 0%) center center / 100% 100%,
		url("../img/bc04.jpg") left center / auto 100%;
	}

}		

/*==推廣教育活動============================*/
.wrap-act{
	width: 100%;
	margin: auto;
	display: flex; /*Flexbox 排版模式*/
	flex-wrap:wrap;	/*flex-wrap: wrap || no-wrap || wrap-reverse;*/	
}
.item-act{
	width: 360px;
	margin: 15px;
	background-color: #ccc;
	transform: translateY(0px);	
	transition: .5s;

}
.item-act img{
	width: 100%;
	vertical-align: middle;

}
.item-act h2{
	border-bottom: 1px solid #888;
	padding-bottom: .3em;	
	margin-bottom: .3em;
	font-weight: 900;
}
.item-act h5{
	background-color: #eee;
	color: #036;
	padding: 5px 10px;
	margin-left: -15px;
	font-weight: 700;
	display: inline-block;
	text-align: center;
	border-left: 15px solid #aaa;
}
.item-act p{
	line-height: 1.6;
	font-weight: 300;
	font-size: 1.1em;
	font-weight: 500;
}
.item-act .txt{
	padding: 20px;
	position: relative;
}
.item-act .txt:before{
	content: '';
	position: absolute;
	width: 0;
	height: 0;
	left: 0;
	top: 0;
	border-top: 50px solid transparent;
	border-left: 180px solid #ccc; /*.wrap-act寛度的一半*/
	border-right: 180px solid #ccc;	 /*.wrap-act寛度的一半*/
	transform: translateY(-100%);	
}

.item-act:hover{
	transform: translateY(-20px); /*item-act位移角度*/
}
.item-act:hover {
	filter: drop-shadow(2px 2px 5px #333);
	/*background-image: linear-gradient(0deg,#cd4236,#cc0);*/
}

/*.item-act:hover .txt:before {
	border-left: 135px solid #cc0;
	border-right: 135px solid #cc0;		
}*/
.item-act:hover h2{
color: #630;
border-bottom: 1px solid #630;
}
.item-act:hover p{
	color: #630;
}


@media (max-width: 767px) {
	/*當畫面小於767px時進行的設定*/
	.item-act .txt:before{
		content: '';
		position: absolute;
		width: 0;
		height: 0;
		left: 0;
		top: 0;
		border-top: 0px solid transparent;
		border-left: 0px solid #ccc;
		border-right: 0px solid #ccc;	
		transform: translateY(-100%);	
	}	
}

/*==展場實況／Exhibit Commentary============================*/


.commentary{
	/*background-image: url(../img/bc04.jpg);*/
}

.commentary .thumbnail{
	margin: 20px;
	height:220px;
	width:550px;
	overflow:hidden;
}							 
.commentary .thumbnail .item{
	margin: -30px -10px -10px -10px;
}	



@media screen and (min-width: 768px) and (max-width: 1024px) {
	/*當畫面介於768px~1024px時進行的設定*/
	.commentary .thumbnail{
		height: 180px;
		width: 450px;
		overflow:hidden;
	}	
}

@media (max-width: 767px) {
	/*當畫面小於767px時進行的設定*/
	.commentary .thumbnail{
		margin: 10px 0px;
		height: 110px;
		width: 300px;
		overflow:hidden;
	}	
}



/*======footer=================================*/
.mian-footer {
	padding: 80px 0 40px;
	background: linear-gradient(-20deg, #258 ,#9cf);
}
.mian-footer .container{
	display: flex;
	margin: auto;
}
.footer-item{
	width: 100%;
	flex-grow: 1; /*在主軸上佔容器的多少部份*/
	margin: 0 20px;
	font-size: 16px;
}
.footer-item h4{
	font-size: 24px;
	color: #fff;
	border-bottom: 1px dotted #fff;
	margin-bottom: .5em;
	padding-bottom: .5em;
}
.footer-item nav{
	display: flex;
	flex-direction: column; /*定義元素布局依垂直方式呈現*/

}
.footer-item nav a{
	color: #fff;
	line-height: 1.4;
	text-decoration: none;
	margin-left: 20px; 
	padding: 5px 0;
	text-indent: -8px;

}
.footer-item nav p{
	color: #fff;
	line-height: 1.4;
	text-decoration: none;
	padding: 0px 0px;
	margin-left: 20px; 
	text-indent: -8px;	

}

.footer-item nav a:hover{
	color: #fc0;
}
.copyright{
	width: 100%;	
	text-align: center;
	padding: 10px 0px;
	background: linear-gradient(50deg, #258,#00001e ,#036);
	color: #9cf;
}
