﻿@charset "utf-8";
/* CSS Document */


/******************************

1. basic
2. header
3. footer
4. modal

******************************/





/*********************************
1. basic
*********************************/

::-webkit-input-placeholder {
    color:    #848484;
}

:-moz-placeholder {
    color:    #848484;
    opacity:  1;
}

::-moz-placeholder {
    color:    #848484;
    opacity:  1;
}

:-ms-input-placeholder {
    color:    #848484;
}

input:focus::-webkit-input-placeholder {
    color:transparent;
}

input:focus:-moz-placeholder {
	color:transparent;
}

input:focus::-moz-placeholder {
	color:transparent;
}

input:focus:-ms-input-placeholder {
	color:transparent;
}

button:focus {
	outline:0;
}

.disabled {
	pointer-events: none;
	cursor: default;
	text-decoration: none;
}

@keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Firefox < 16 */
@-moz-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Safari, Chrome and Opera > 12.1 */
@-webkit-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Internet Explorer */
@-ms-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

/* Opera < 12.1 */
@-o-keyframes fadein {
    from { opacity: 0; }
    to   { opacity: 1; }
}

hr {
	border: 1px dashed #858F9E;
}

body {
	/*background-color: #ececec;*/
}

/*上下一頁*/
.prevNextContent {
	float: left;
	height: 60px;
	width: 100%;
	margin-top: 40px;
	margin-bottom: 40px;
}

.prevNextContentBox {
	float: left;
	width: 50%;
	padding-left: 1%;
	padding-right: 1%;
}

.prevNextContent a {
	display: block;
	color: #000;
	text-align: center;
	background-color: rgb(228, 225, 225);
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	text-decoration: none;
	margin-top: 5px;
	margin-bottom: 5px;
}

.prevNextContent a:hover {
	background-color: rgb(161, 161, 161);
	color: #fff;;
}

.prevBox {
	float: left;
}

.nextBox {
	float: right;
}

/*********************************
2. header
*********************************/

#header-wrap {
	float: left;
	height: 60px;
	width: 100%;
	margin: 0px;
	padding: 0px;
	z-index: 9;
	top: 0;
	background-color: #434951;
	border-bottom: 1px solid #434951;
	box-shadow: -1px 8px 20px -10px rgba(0, 0, 0, 0.73);
	-webkit-box-shadow: -1px 8px 20px -10px rgba(0, 0, 0, 0.73);
	-moz-box-shadow: -1px 8px 20px -10px rgba(0, 0, 0, 0.73);
	position: fixed;
}

#header {
	margin-top: 0px;
	margin-right: auto;
	margin-bottom: 0px;
	margin-left: auto;
}

#header .logo {
	margin: auto;
    text-align: center;
	height: 33px;
	min-height: 33px;
	width: 240px;
	min-width: 240px;
	margin-top: 15px;
}

#header .logo a {
	color: #fff;
}

#header .logo a:hover {
	text-decoration: none;
}

#content-wrap {
	margin: 0px;
	padding: 0px;
	float: left;
	width: 100%;
	padding-top: 60px;
	min-height: calc(100vh - 51px);/*宋*/
}

/* scrollbar */
.leftBox::-webkit-scrollbar {
	width: 10px;
	height: 8px;
	background-color: #cddcec;
}

.leftBox::-webkit-scrollbar-thumb {
	background: #45ADFF;
}

/*手機版選單*/
@media only screen and (min-width: 1px) and (max-width: 800px) {

    .leftBox {
		z-index: 1000;
		position: fixed;
		width: 100%;
		height: calc(100% - 60px);
		overflow-y: auto;
		background: #6B7583;
	}

	#main.toggled .leftBox {
		width: 100%;
	}

	.rightBox {
		width: 100%;
		position: absolute;
		padding: 15px;
	}

	#main.toggled .rightBox {
		position: absolute;
	}

	#main {
	}

	#main.toggled {
		padding-left: 0px;
	}

	.leftBox {
		width: 100%;
	}

	#main.toggled .leftBox {
		width: 0px;
	}

	.rightBox {
		padding: 20px;
		position: relative;
	}

	#main.toggled .rightBox {
		position: relative;
		margin-right: 0;
	}

}

/*電腦版選單*/
@media only screen and (min-width: 801px) {

	.leftBox {
		z-index: 1000;
		position: fixed;
		left: 300px;
		width: 0;
		height: calc(100% - 60px);
		margin-left: -300px;
		overflow-y: auto;
		background: #6B7583;
	}

	#main.toggled .leftBox {
		width: 300px;
	}

	.rightBox {
		width: 100%;
		position: absolute;
		padding: 15px;
	}

	#main.toggled .rightBox {
		position: absolute;
		margin-right: -300px;
	}

	#main {
		padding-left: 300px;
	}

	#main.toggled {
		padding-left: 0;
	}

	.leftBox {
		width: 300px;
	}

	#main.toggled .leftBox {
		width: 0;
	}

	.rightBox {
		padding: 20px;
		position: relative;
	}

	#main.toggled .rightBox {
		position: relative;
		margin-right: 0;
	}

}

#menu-toggle {
	float: left;
	position: fixed;
	left:15px;
	top:18px;
	width: 26px;
	height: 26px;
}

#search-toggle {
	float: right;
	position: fixed;
	right: 15px;
	top: 18px;
	width: 26px;
	height: 26px;
}

#selectManual {
	float: left;
	width: calc(100% - 40px);
	height: 40px;
	line-height: 40px;
	background-color: #AABDD6;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
	-webkit-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
	-moz-box-shadow: 0px 2px 4px 0px rgba(0, 0, 0, 0.5);
	margin-top: 10px;
	margin-bottom: 10px;
	margin-left: 20px;
	margin-right: 20px;
	background-image: url("../images/basic/icon3.png");
	background-repeat: no-repeat;
	background-position: 20px center;
	background-size: contain;
}

#selectManual:hover, #selectManual:active {
	background-color: #45ADFF;
}

#selectManual a {
	display: block;
	font-weight: 500;
	color: #000000;
	padding-left: 70px;
	font-size: 0.8em;
}

#selectManual a:hover, #selectManual a:active {
	text-decoration: none;
}

#sidebar-wrapper {
	float: left;
	width: 100%;
}

/*tree*/
.tree,
.tree ul {
	float: left;
	width: 100%;
	margin: 0;
	padding: 0;
	list-style: none;
	color: #fff;
	font-size: 0.95em;
}

.tree li {
	border-bottom: 1px solid #b1b1b1;
	margin: 0;
	padding: 0;
	float: left;
	width: 100%;
}

.tree a, .tree span {
	padding-top: 4px;
	padding-bottom: 4px;
}

.tree li a {
	text-decoration: none;
	color: #fff;
}

.tree li span {
	text-decoration: none;
	color: #fff;
}

.tree .first {
	color: #fff;
	background-image: url("../images/basic/bg_menu.png");
	background-repeat: repeat-y;
}

.tree .first>a,
.tree .first>span {
	display: block;
	width: 100%;
	padding-left: 30px;
	padding-right: 50px;
}

.tree .second {
	background-color: #4E555F;
}

.tree .second>a {
	float: left;
	display: block;
	width: 100%;
	padding-left: 50px;
	/*padding-right: 50px;*/
}

.tree .second>span a {
	float: left;
	/*display: block;*/
	width: calc(100% - 60px);
	/*padding-right: 50px;*/
}

.tree .second>span {
	float: left;
	/*display: block;*/
	width: 100%;
	padding-top: 0;
	padding-bottom: 0;
	padding-left: 50px;
	/*padding-right: 50px;*/
}

.tree .third {
	background-color: #2A2F36;
}

.tree .third>a,
.tree .third>span {
	display: block;
	width: 100%;
	padding-left: 70px;
	padding-right: 50px;
}

.tree .branch {
	float: left;
	width: 100%;
	/*position: relative;*/
	display: block;
}

.tree .treeIcon {
	float: right;
	display: block;
	cursor: pointer;
	/*position: absolute;
	top: 50%;
	transform: translate(0, -50%);*/
 }

/*.tree .active {
	display: block;
	background-color: #2c353e;
}*/

.tree .now { /*目前頁面*/
	display: block;
	color: #45ADFF;
}

.tree a:hover {
	color: #45ADFF;
}

.plus-icon {
	content: "";
	display: block;
	width: 36px;
	height: 36px;
	position: absolute;
	right: 20px;
	background-image: url("../images/basic/arrow2.png");
	background-size: 26px 26px;
	background-position: center center;
	background-repeat: no-repeat;
 }

.plus-icon:hover {
	background-color: rgba(0, 0, 0, 0.2);
 }

.minus-icon {
 	content: "";
 	display: block;
	width: 36px;
	height: 36px;
 	position: absolute;
 	right: 20px;
 	background-image: url("../images/basic/arrow1.png");
	background-size: 26px 26px;
 	background-position: center center;
	background-repeat: no-repeat;
 }

.minus-icon:hover {
	background-color: rgba(0, 0, 0, 0.2);
}


/*********************************
3. footer
*********************************/

#footer-wrap {
	float: left;
	margin: 0px;
	padding: 0px;
	width: 100%;
	border-top: 1px solid #ccc;
	/*position: fixed;*/ /*宋*/
	bottom: 0px;
	background-color: #fff;
}

#footer-wrap #footer {
	text-align: center;
	margin-top: 0;
	margin-right: auto;
	margin-bottom: 0;
	margin-left: auto;
}

#footer .copyright {
	float: left;
	width: 100%;
	padding-top: 10px;
	padding-bottom: 10px;
}

#footer .copyright {
	color: #A7A7A7;
	text-decoration: none;
 }


/*********************************
4. modal
*********************************/

.modal-header {
	padding-top: 40px;
	padding-left: 40px;
	padding-right: 40px;
	padding-bottom: 10px;
}

.modal-body {
	padding-top: 10px;
	padding-bottom: 40px;
	padding-left: 40px;
	padding-right: 40px;
}

.modal-open .modal {
	overflow-y: hidden;
}

.modal-fullscreen-xl {
	padding: 0 !important;
}

@media only screen and (min-width: 1px) and (max-width: 800px) {

	.modal-fullscreen-xl .modal-dialog {
		width: 90%;
		max-width: none;
		height: 90%;
		margin: 5%;
	}

}

@media only screen and (min-width: 801px) {

	.modal-fullscreen-xl .modal-dialog {
		width: 90%;
		max-width: none;
		height: 80%;
		margin: 5%;
	}

}

.modal-fullscreen-xl .modal-content {
	/*height: 100%;*/
	border: 0;
	border-radius: 0;
}

.modal-fullscreen-xl .modal-body {
	overflow-y: auto;
}

/*modal上一頁下一頁*/
.modal-header .toolBox {
	float: left;
 	height: 40px;
	margin-right: 5px;
 }

 .toolBox .toolBox-prev,  .toolBox .toolBox-next {
 	float: left;
 	height: 40px;
	width: 40px;
	padding: 0;
	margin: 0;
	outline: none;
	border: 1px solid #ececec;
	margin-right: 5px;
 }

.toolBox .toolBox-prev:hover,
.toolBox .toolBox-next:hover {
	border: 1px solid #45ADFF;
}

.toolBox img {
	float: left;
	height: 40px;
	width: 40px;
	padding: 8px;
}

/*modal搜尋框*/
.modal-header .searchBox {
	float: left;
	width: 220px;
	height: 40px;
}

.searchBox .searchInput {
	float: left;
	width: 180px;
	height: 40px;
	border: 1px solid #999999;
	padding: 2px 15px 2px 15px;
	-webkit-box-shadow: inset 0px 1px 2px 0px rgba(214, 214, 214, .5);
	-moz-box-shadow: inset 0px 1px 2px 0px rgba(214, 214, 214, .5);
	box-shadow: inset 0px 1px 2px 0px rgba(214, 214, 214, .5);
	background-color: #ececec;
}

.modal-header form {
	float: left;
}

.searchBox .searchInput:focus {
	border: 1px solid #45ADFF;
	outline: none;
}

.searchBox .searchButton {
	float: left;
	width: 40px;
	height: 40px;
	outline: none;
	border: 1px solid #999999;
	background-color: #949599;
}

.searchBox .searchButton img {
	padding: 3px;
}

.searchBox .searchInput:focus~.searchButton {
	border: 1px solid #45ADFF;
	background-color: #45ADFF;
}

/*modal關閉鈕*/
.modal-header .modal-close {
	background-color: transparent;
 	outline: none;
	border: none;
	width: 60px;
	position: absolute;
	top: -30px;
	right: -30px;
	cursor: pointer;
 }


