@charset "utf-8";
/* CSS Document */
/*【default】*/
/*---------------------------------------------------header---------------------------------------*/
/*----------------------------title(標題)---------------------------*/
	.title {
		margin: 30px auto;
	}
	.title h1{
		color: #737373;
		font-style: normal
	}

/*----------------------------banner--------------------------------*/
	#banner {
		background-size:cover;
		background-position: center;
		background-attachment: fixed;
		height: 400px;
		max-height: calc(100vh - 80px);
		margin-top: 70px;
	}
	#banner .mask{
		position: absolute;
		top:0;
		left: 0;
		width: 100%;
		height: 100%;
		background-color: rgba(0,0,0,0.5);
	}
/*---------------------------------------------------main-----------------------------------------*/
/*--------------------------content---------------------------------*/
	#content {
		width: 80%;
		max-width: 1000px;
		margin: 0 auto;
	}
	#content img{
		max-width: 100%;
	}

	#content .news_date {
		display: block;
		text-align: left;
		color: #666;
	}

/*熒幕尺寸【小於】1025時頁面顯示---平板*/
@media (max-width: 1024px) {
/*----------------------------banner--------------------------------*/
	#banner {
		background-attachment: initial;
		background-size:cover;
		height: 300px;
		margin-top: 0px;
	}
}

/*熒幕尺寸【小於】481時頁面顯示---手機*/
@media (max-width: 480px) {
/*----------------------------banner--------------------------------*/
	#banner {
		height: 200px;
	}
/*---------------------------------------------------main-----------------------------------------*/
/*--------------------------content---------------------------------*/
	#content {
		width:90%;
	}
}


/* wysiwyg 所見即所得編輯區 */

.wysiwyg {
    text-align: justify;
}
.wysiwyg table {
	border-collapse: collapse;
	margin: 10px auto;
}
.wysiwyg table th,
.wysiwyg table td {
	border: 1px solid gray;
	padding: 2px 5px;
}
.wysiwyg table th {
	font-weight: normal;
}
.wysiwyg table.none,
.wysiwyg table.none tr,
.wysiwyg table.none th,
.wysiwyg table.none td {
    border: none;
}
.wysiwyg table.close th,
.wysiwyg table.close td {
    padding: 0;
}
.wysiwyg table.close img {
    display: block;
}
.wysiwyg img {
    width: auto;
    max-width: 100%;
    display: initial;
}
.wysiwyg img.photo_full {
	width: 100%; }
.wysiwyg img.photo_half {
    width: 48%;
    margin: 2% 1%;
	display: inline-block;
	box-sizing: border-box; }
.wysiwyg img.photo_tri {
    width: 31%;
    margin: 2% 1%;
    display: inline-block;
    box-sizing: border-box; }
.wysiwyg img.photo_shadow {
	-moz-box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.5);
	-o-box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.5);
	box-shadow: 1px 3px 3px rgba(0, 0, 0, 0.5); }
.wysiwyg img.inline {
    display: inline;
}
.wysiwyg object,
.wysiwyg iframe {
    width: 100%;
    height: 53vw;
}
.wysiwyg blockquote {
	border: 2px solid #ccc;
    border-style: dashed;
    margin: 1em;
    padding: 0 1em;
}

@media (min-width: 992px) {
    .wysiwyg object,
    .wysiwyg iframe {
        height: 520px;
    }
}
/*
@media (max-width: 1024px) {
    .wysiwyg {
        font-size: 13px;
    }
}
*/

/*--------------------btn----------------------*/
#btn_list{
	clear: both;
	margin: 3em 0 2em;
}
#btn_list > a {
    display: block;
	float: left;
	box-sizing: border-box;
	padding: 5px 2%;
	background-color: transparent;
	border: 1px solid #696666;
	text-align: center;
	transition:  all 0.3s ease ;
    color: #333;
}
#btn_list > a:first-child {
	width: 49%;
	margin-right: 1%;
	margin-bottom: 1%;
}
#btn_list > a:nth-child(3) {
	width: 49%;
	margin-left: 1%;
	margin-bottom: 1%;
}
#btn_list > a:last-child {
	width: 100%;
	margin-top: 1%;
}
#btn_list > a.disabled {
    visibility: hidden;
}
#btn_list > a:nth-child(2) {
	background-color: #696666;
	border: 1px solid #696666;
	transition: all 0.3s ease ;
	color: #fff;
}
#btn_list > a:hover,
#btn_list > a:nth-child(2):hover {
	background-color: #54483f;
	border: 1px solid #54483f;
	text-decoration: none;
}
#btn_list > a:hover,
#btn_list > a:nth-child(2):hover {
	color: #fff;
}
#btn_list:after {
    display: table;
    content: " ";
    clear: both;
}

@media (max-width: 767px) {
    .wysiwyg .hidden-sm-down {
        display: none;
    }
}
@media (min-width: 768px) {
    .wysiwyg .hidden-md-up {
        display: none;
    }
}
@media (min-width: 576px) {
	#btn_list > a:first-child {
		width: 32%;
		margin-right: 1%;
	}
	#btn_list > a:nth-child(2) {
		width: 31%;
		margin: 0 1%;
	}
	#btn_list > a:nth-child(3) {
		width: 32%;
		margin-left: 1%;
	}
}
