
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");

/*========================================================
                      	 內頁框架
=========================================================*/

.content-wrap {
	background: url("../img/content-bg.jpg") repeat center top;
    padding-top: 60px;
    padding-bottom: 80px;
}

.user {
    position: relative;
    top: -25px;
    left: 10px;
    text-align: left;
}


/*========================================================
                      	 標題設定
=========================================================*/

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 30px;
}

.h2-title {
    display: inline-block;
    font-size: 2rem;
    color: #000;
    text-transform: uppercase;
    position: relative;
    z-index: 1;
    font-weight: bold;
}
.h2-title:after {
    position: absolute;
    left: -20%;
    bottom: 0;
    height: 50%;
    width: 140%;
    background: #6b4428;
    opacity: 0.3;
    content: "";
    z-index: -1;
}
.h3-title {
    position: relative;
    border-left: 7px solid #6b4428;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.5rem;
    font-weight: bold;
}
.h3-title b {
    position: absolute;
    right: 0;
    top: 0 ;
    z-index: 2;
}
.h3-title b span {
    display: inline-block;
    color: #dc3545;
    padding: 0 5px;
}
@media (max-width: 767px) {
    .h3-title {
        padding-right: 120px;
    }
}

/*========================================================
                        顏色設定
=========================================================*/

.txt-blue {
	color: #0000FF;
	font-weight: bold;
} 
.txt-indigo {
	color: #00416A;
	font-weight: bold;
}  
.txt-purple {
	color: #800080;
	font-weight: bold;
}
.txt-pink {
	color: #FF69B4;
	font-weight: bold;
}
.txt-red {
	color: #FF0000;
	font-weight: bold;
}
.txt-orange {
	color: #FFA500;
	font-weight: bold;
}
.txt-yellow {
	color: #9c9326;
	font-weight: bold;
}
.txt-green {
	color: #239223;
	font-weight: bold;
}
.txt-brown {
	color: #964B00;
	font-weight: bold;
}
.txt-gray {
	color: #333;
	font-weight: bold;
}

.bg-red {
	background-color: #ffdbdb !important;
}


/*========================================================
                      	次選單設定
=========================================================*/

.navsub {
	text-align: left;
}
.navsub-main {
	font-size: 1.2rem;
	color: #fff;
    margin-bottom: 20px;
}
.navsub-main ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-main ul li {
	display: inline-block;
}
.navsub-main ul li a {
    display: inline-block;
	padding: 5px 25px;
    margin: 0 7px 10px;
    background-color: #ddd;
	color: #000;
    transition: all 0.2s;
}
.navsub-main ul li a:hover, 
.navsub-main ul li a.active {
	background-color: #90613f;
    color: #fff;
}
.navsub-main ul li a:hover span,
.navsub-main ul li a.active span {
	color: #fbd182;
}
.navsub-main ul li a span {
	color: #dc3545;
}

.navsub-sub {
	font-size: 1rem;
	color: #fff;
}
.navsub-sub ul {
	list-style: none;
    margin: 0;
    padding: 0;
}
.navsub-sub ul li {
	display: inline-block;
}
.navsub-sub ul li a {
    display: inline-block;
	padding: 0 15px;
    margin: 0;
	color: #000;
}
.navsub-sub ul li a:hover, .navsub-sub ul li a.active {
    background-color: #aac9eb;
}

@media (min-width: 1200px) {
    .navsub-main {
        font-size: 1.4rem;
    }
    .navsub-sub {
        font-size: 1.2rem;
    }
}


/*========================================================
                      	 按鈕設定
=========================================================*/

.btn-list button {
    margin: 0 5px 10px;
    padding-left: 20px;
    padding-right: 20px;
}
.more-btn a {
    background-color: rgba(107, 68, 40, 0.7);
    color: #fff;
    padding: 5px 20px;
}
.more-btn a:hover {
    background-color: rgba(0, 0, 0, 0.7);
}


/*========================================================
                         搜尋設定
=========================================================*/

.search-form {
	margin-top: 30px;
	margin-bottom: 30px;
}
.search-form .box {
	display: flex;
	flex-direction: row;
	align-items: center;
	margin-bottom: 10px;
}
.search-form .box input[type="text"], .search-form .box select, .search-form .box textarea {
	flex-grow: 1;
}
.search-form .box input[type="checkbox"] {
	margin-right: 5px;
}
.search-form .box b {
	padding-right: 10px;
}
.search-form .box span {
	flex-shrink: 0;
	margin-right: 5px;
}
.search-form .box span.t1 {
	width: 54px;
}
.search-form .box span.t2 {
	width: 72px;
}
.search-form .box span.t3 {
	width: 90px;
}
.search-form .box span.t4 {
	width: 110px;
}
.search-form .box button, .search-form .box a {
	flex-shrink: 0;
	width: 120px;
	margin-left: 10px;
	padding: 5px 5px;
}




/*========================================================
                      	 帳號登入
=========================================================*/

.membersLogin {
    width: 100%;
    max-width: 90%;
    padding: 20px;
    margin: auto;
	border: 1px dashed #adadad;
	background-color: #fff;
}

.membersLogin h2 {
    font-size: 1.8rem;
	padding-bottom: 10px;
	border-bottom: 3px solid #adadad;
	position: relative;
	text-align: center;
	margin-bottom: 30px;
    color: #6b4428;
}

.membersLogin .membersLogin-items {
	position: relative;
	padding: 0;
	margin-bottom: 15px;
}
.membersLogin .membersLogin-items .form-control {
    height: auto;
    font-size: 1rem;
    border-radius: 0;
    padding: 8px 10px 8px 40px;
    border: 1px dashed #c4c4c4;
    background-color: #f6f6f6;
}
.membersLogin .membersLogin-items i {
    display: block;
    font-size: 16px;
    color: #333;
    width: 28px;
    line-height: 28px;
    text-align: center;
    background-color: #f6f6f6;
    position: absolute;
    left: 6px;
    top: 8px;
    border-radius: 5px;
    transition: all 0.4s ease;
}

.membersLogin-forgotPassword {
    text-align: right;
    margin-bottom: 10px;
}
.membersLogin-forgotPassword a {
    display: inline-block;
    color: #333;
}
.membersLogin-forgotPassword a:hover {
    color: #E50000;
}

.bd-placeholder-img {
    font-size: 1.125rem;
    text-anchor: middle;
}

@media (min-width: 540px) {
    .membersLogin {
        max-width: 400px;
        padding: 30px;
    }
}
@media (min-width: 768px) {
    .membersLogin {
        max-width: 500px;
        padding: 50px;
    }
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}
@media (min-width: 1200px) {
    .membersLogin {
        max-width: 600px;
    }
    .bd-placeholder-img-lg {
        font-size: 3.5rem;
    }
}



/*========================================================
                     內頁資料設定
=========================================================*/

.info-main [class*="col-"] {
    border-bottom: 1px dashed #ccc;
}
.info-main dl {
    padding: 10px 0;
    margin: 0;
}
.info-main dt {
    width: 100%;
    font-weight: normal;
    margin-right: 10px;
    background-color: #ede2da;
    text-align: center;
    padding: 5px 5px;
}
.info-main dd {
    padding: 5px 5px;
    margin: 0;
}
.info-main2 dd {
    padding: 0;
    margin-top: 5px;
}
.info-main dd strong{
    color: #D00003;
}

/* 列印相關 */
.print-info {
    position: relative;
    padding-left: 10px;
    padding-right: 60px;
}
.print-info2 {
    position: relative;
    padding-left: 0px;
    padding-right: 0px;
}
.print-info .title h3 {
    font-size: 2rem;
    margin: 0;
}
.print-info .f1 {
    position: absolute;
    right: 0;
    top: 60px;
    z-index: 2;
    width: 30px;
    -webkit-writing-mode: vertical-lr;
    writing-mode: vertical-lr;  
    text-align: center;
    letter-spacing: 4px;
}
.print-info .f2 {
    font-size: 1.4rem;
}
.info-intro {
    margin-top: 50px;
}
.info-intro h4 {
    font-weight: bold;
    font-size: 1.4rem;
}
.info-intro ul {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.info-intro-time {
    border-top: 2px solid #111;
    border-bottom: 2px solid #111;
    padding: 15px 0;
    font-size: 1.4rem;
}
.info-intro-time span {
    display: inline-block;
    margin: 0 10px;
}




@media (min-width: 640px) {
    .info-main dl {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    .info-main dt {
        width: 200px;
    }
    .info-main dd {
        width: calc(100% - 210px);
    }
    .info-main2 dd {
        margin: 0;
    }
}



/*========================================================
                           表格
=========================================================*/

.table1 {
	background-color: #fff;
	border-width: 1px;
	border-color: #c1c1c1;
	border-style: solid;
	border-collapse: collapse;
	text-align: center;	
	margin: 0 0 30px 0;
}

.table1 tr:nth-of-type(2n+1){
	background-color: #f0f0f0;
}
.table1 tr.red-bg{
	background-color: #e96e6e;
}
.table1 th {
	background: #90613f;
	color: #fff;
	font-weight: bold;
	padding: 10px 15px !important;
	text-align: center;
	border-right: 1px solid #fff;
}
.table1 th:last-of-type {
	border-right: none;	
}
.table1 td {
	padding: 10px 15px !important;
	border-right: 1px solid #c1c1c1;	
    vertical-align: middle;
}
.table1 td:last-child{
	border-right: none;
}
.table1 td.left {
	text-align: left;	
}
.table1 td.c {
	text-align: center;	
}
.table1 td a {
    transition: all 0.2s;
    color: #111;
}
.table1 td a:hover {
    color: #6b4428;
}
.table1 td a.line {
    border-bottom: 1px solid #666;
}
.table1 td a.line:hover {
    border-bottom: 1px solid #fff;
}


.table2 {
	background-color: #fff;
	border-width: 1px;
	border-color: #999;
	border-style: solid;
	border-collapse: collapse;
	text-align: center;	
	margin: 0 0 30px 0;
}
.table2 th {
	background: #90613f;
	color: #fff;
	font-weight: bold;
	padding: 10px 15px !important;
	text-align: center;
	border-right: 1px solid #999;	
}
.table1 th:last-of-type {
	border-right: none;	
}

.table1 tfoot tr {
    background-color: #f2e7df !important;
}



.table2 td {
	padding: 10px 15px !important;
	border: 1px solid #999;		
}
.table2 td:last-child{
	border-right: none;
}
.table2 td.left {
	text-align: left;	
}
.table2 td.c {
	text-align: center;	
}



/*========================================================
                   	消息內頁
=========================================================*/

.news-detail {
	text-align: left;
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail time {
    font-weight: bold;
    font-size: 0.9rem;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #6b4428;
	font-weight: bold;
    font-size: 1.5rem;
}
.news-detail-content {
    margin-bottom: 40px;
}

