
@import url("../fonts/flaticon/flaticon.css");
@import url("../fonts/thin/thin.css");
@import url("../css/all.min.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


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

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
    color: #000;
}
.s-header h2 {
    display: inline-block;
    font-size: 2rem;
    font-weight: bold;
    font-family: 'Noto Serif TC', serif;
    margin: 0;
}
.s-header h2+p {
    font-size: 1rem;
    font-family: Arial, "微軟正黑體", Verdana, Helvetica, sans-serif;
    margin: 0;
}


.h3-title {
    font-weight: bold;
    margin-bottom: 30px;
    font-size: 1.6rem;
}
.h3-title i {
    color: #1d2877;
    display: inline-block;
    margin-right: 6px;
}
.h3-title span {
    display: inline-block;
    margin-left: 10px;
    font-weight: normal;
    color: #666;
}

.h4-title {
    color: #06457e;
    font-size: 1.3rem;
    margin-bottom: 20px;
    text-decoration: underline;
}
.h5-title {
    font-weight: bold;
    font-size: 1.2rem;
}
.h5-title i {
    color: #e96424;
    display: inline-block;
    margin-right: 6px;
    font-size: 0.9rem;
}


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

.content-wrap {
    padding-top: 100px;
    padding-bottom: 80px;
    min-height: 400px;
}

.img-100 {
    width: 100%;
    vertical-align: bottom;
}

/* 麵包屑 */
.breadcrumbs {
	text-align: center;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #FFF;
	background-color: #dc1721;
}
.breadcrumbs a {
	display: inline-block;
	color: #FFF;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    color: #FFF;
}
.breadcrumbs span {
    display: inline-block;
	margin: 0 7px;
	color: #FFF;
}


/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
    margin-top: 30px;
	margin-bottom: 30px;
}
.btn-back a {
    background-color: #d22630;
	padding: 5px 20px;
	border-radius: 0;
	color: #fff;
}
.btn-back a:hover {
    background-color: #1d2877;
    color: #fff;
	text-decoration: none;
}


/*========================================================
                      	 公司政策
=========================================================*/

.company-wrap .container {
    max-width: 1400px;
}
.company-wrap .company-item {
    padding-top: 60px;
    padding-bottom: 60px;
    border-bottom: 1px solid #adadad;
}
.company-wrap .company-item:first-of-type {
    padding-top: 0px;
}
.company-wrap .company-item:last-of-type {
    padding-bottom: 0px;
    border-bottom: none;
}
.company-item-info h3 {
    background: url("../img/index/company-info-bg.jpg") no-repeat left top;
    background-size: auto 70%; 
    font-weight: bold;
    padding: 10px 15px;
    margin-bottom: 20px;
}
.company-item-info p {
    font-size: 1.1rem;
    line-height: 40px;
}

.company-item-img {
    text-align: center;
    margin-bottom: 40px;
}

@media (min-width: 992px) {
    .company-item {
        margin-left: 5%;
        margin-right: 5%;
    }
    .company-item-img {
        margin-bottom: 0px;
    }
}

/*========================================================
                      	 營業項目
=========================================================*/

.service-item {
    background-color: #ededed;
    margin-bottom: 50px;
}
.service-item > p {
    padding: 20px 20px;
    text-align: center;
}
.service-item > div {
    position: relative;
    overflow: hidden;
}
.service-item > div img {
    width: 100%;
    vertical-align: bottom;
    transform: scale(1);
    transition: all 0.3s;
}
.service-item > div a {
    background: url("../img/index/service-item-bg.png") no-repeat right top;
    background-size: 30% 100%;
    position: absolute;
    right: 0;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 5;
    display: block;
    width: 100%;
    height: 100%;
    text-align: right;
}
.service-item > div a span {
    color: #fff;
    display: inline-block;
    margin: 15px;
    font-size: 0.7rem;
    border-bottom: 1px solid #fff;
}
.service-item > div:hover img {
    transform: scale(1.05);
}

.service-item > div p {
    position: absolute;
    top: 15px;
    left: 15px;
    z-index: 7;
    font-size: 1.6rem;
    font-weight: bold;
    color: #fff;
    text-shadow: 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666,0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666, 0 0 2px #666;
}

@media (min-width: 540px) {
    .service-item > div a {
        background-size: 20% 100%;
    }
}
@media (min-width: 768px) {
    .service-item > div a {
        background-size: auto 100%;
    }
    .service-item > div a span {
        font-size: 0.9rem;
    }
    .service-item > div p {
        top: 20px;
        left: 20px;
    }
}
@media (min-width: 992px) {
    .service-item > div a {
        background-size: 25% 100%;
    }
    .service-item > div a span {
        font-size: 0.9rem;
    }
    .service-item > div p {
        top: 20px;
        left: 20px;
    }
}
@media (min-width: 1600px) {
    .service-item > div a {
        background-size: auto 100%;
    }
    .service-item > div p {
        top: 30px;
        left: 30px;
    }
}


/*========================================================
                      熱銷推案內頁
=========================================================*/

.service-list ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.service-list ul li {
    position: relative;
    padding: 15px 30px 15px 34px;
    border-top: 1px solid #dee2e6;
    color: #333;
}
.service-list ul li:after {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 15px;
    left: 20px;
    z-index: 9;
    color: #000;
}
.service-list ul li:nth-of-type(2n) {
    background-color: #ededed;   
}
.service-list ul li span {
    display: block;
    font-size: 0.9rem;
    color: #777;    
}
.service-list ul li a {
    display: block;
    padding: 0px 20px;
    border-radius: 5px;
    background-color: #d22630;
    color: #fff;
    text-align: center;
    margin-top: 10px;
    font-size: 0.9rem;
    line-height: 28px;
}
.service-list ul li a:hover {
    background-color: #1d2877;
}

@media (min-width: 640px) {
    .service-list ul li a {
        position: absolute;
        right: 30px;
        top: 50%;
        transform: translateY(-50%);
        z-index: 2;
        display: inline-block;
        margin-top: 0;
    }
}




/*========================================================
                         最新消息
=========================================================*/
.news-post {
    padding-top: 20px;
    text-align: center;
    font-size: 1rem;
}

.news-post .post-minimal {
	position: relative;
	overflow: hidden;
    padding-bottom: 30px;
	margin-bottom: 40px;
	text-align: left;
    border-bottom: 1px solid #e9e9e9;
}
.news-post .post-minimal .post-body {
	padding: 0 30px;
}
.news-post .post-minimal * + .post-text {
	margin-top: 8px;
}
.news-post .post-minimal .post-meta {
	font-size: 0.9rem;
}
.news-post .post-minimal .post-meta time {
    display: inline-block;
	color: #fff;
    margin-right: 10px;
    width: 100px;
    min-height: 26px;
    line-height: 26px;
    text-align: center;
    background-color: #0c3862;
    margin-bottom: 10px;
}
.news-post .post-minimal .post-meta span a {
	color: #333;
}
.news-post .post-minimal .post-meta span a:hover {
	color: #0c3862;
}
.news-post .post-minimal .post-body h2 a {
	font-size: 1.4rem;
	color: #333;
    font-weight: bold;
    margin: 10px 0;
}
.news-post .post-minimal .post-body h2 a:hover {
	color: #0c3862;
}
.news-post .post-minimal .more a {
	display: inline-block;
	margin-top: 10px;
	font-weight: bold;
	color: #0c3862;
}

@media (max-width: 991px) {
	.news-post .post-minimal {
		display: inline-block;
		width: 100%;
		max-width: 600px;
        background-color: #f1f1f1;
	}
    .news-post .post-minimal .post-body {
        padding: 10px 30px 0;
    }
	.news-post .post-minimal .post-image img {
		width: 100%;
		vertical-align: bottom;
	}
}
@media (min-width: 992px) {
	.news-post .post-minimal {
		display: -ms-flexbox;
		display: -webkit-flex;
		display: flex;
		-webkit-flex-direction: row;
		-ms-flex-direction: row;
		flex-direction: row;
		-webkit-flex-wrap: nowrap;
		-ms-flex-wrap: nowrap;
		flex-wrap: nowrap;
		-webkit-align-items: top;
		-ms-flex-align: top;
		align-items: top;
		-webkit-justify-content: center;
		-ms-flex-pack: center;
		justify-content: center;
	}
    .news-post .post-minimal .post-left img {
        width: 280px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
		-webkit-flex-grow: 1;
		-ms-flex-positive: 1;
		flex-grow: 1;
	}
	.news-post .post-minimal .post-left img {
		width: 320px;
	}
	.news-post .post-minimal .post-body {
		padding: 0 30px;
	}
}
@media (min-width: 1200px) {
	.news-post .post-minimal {
		-webkit-align-items: center;
		-ms-flex-align: center;
		/* align-items: center; */
	}
}
@media (min-width: 1600px) {
	.news-post .post-minimal .post-left img {
		width: 260px;
	}
}


/*========================================================
                   	最新消息內頁
=========================================================*/

.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail .sort {
    margin-bottom: 20px;
}
.news-detail .sort time {
    font-weight: bold;
}
.news-detail .sort span {
    display: inline-block;
    background-color: #769511;
    color: #fff;
    margin-right: 10px;
    border-radius: 15px;
    line-height: 28px;
    padding: 1px 20px;
    font-size: 0.9rem;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #333;
	font-weight: bold;
    font-size: 1.8rem;
}
.news-detail-content {
    margin-bottom: 40px;
}
.news-detail-link {
    border-top: 2px dashed #adadad;
    padding: 1rem;
    font-size: 0.9rem;
    background-color: #ededed;
}
.news-detail-link h4 {
    font-size: 1.1rem;
    font-weight: bold;
}
.news-detail-link a {
    display: inline-block;
    color: #333;
    text-decoration: underline;
    margin-left: 10px;
}
.news-detail-link a:hover {
    text-decoration: none;
}


/* 分類+外連 */
.news .news-detail-row {
    display: flex;
    font-size: 1rem;
    color: #63636b;
    margin: 0 2px 6px 2px;
}
.news .news-detail-row a {
    color: #63636b;
}
.news .news-detail-row a:hover {
    text-decoration: underline;
}
.news .news-detail-row {
    line-height: 24px;
    margin-bottom: 14px;
}
.news .news-detail-row .news-detail-sort {
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 0.8rem;
}
.news .news-detail-row .news-detail-date {
    background-color: #c5880d;
    color: #fff;
    padding: 0 10px;
    border-radius: 3px;
    font-size: 1rem;
}
.news .news-detail-row .news-detail-date i {
    margin-right: 6px;
}







/*========================================================
                   	    影音專區
=========================================================*/


.video-item {
    position: relative;
    margin-bottom: 3rem;
}
.video-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
}
.video-item-img h3 {
    position: absolute;
    left: 0;
    bottom: -20px;
    z-index: 2;
    display: inline-block;
    color: #fff;
    width: 20%;
    min-width: 100px;
    text-align: center;
    padding: 5px 15px;
    font-size: 0.9rem;
    background-color: #d0a57f;
}
.video-item-img:hover {
    color: #fff
}
.video-item-img:hover .video-item-mask {
    opacity: 1;
    visibility: visible
}
.video-item-img:hover .video-item-mask::after {
    height: 100%
}
.video-item-img img {
    display: block;
    width: 100%;
/*    height: 100%;*/
    -o-object-fit: cover;
    object-fit: cover
}
.video-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #111;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.video-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(255,255,255,0.2);
    transform: translateY(-50%);
    transition: all .3s
}
.video-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 6px 30px 4px;
}
.video-item-mask span i {
    display: block;
    font-size: 2.4rem;
    color: #D30003;
}
.video-item-info {
    padding: 20px 40px 10px;
    background-color: #fff;
    border: 1px solid #d6d6d6;
    color: #111;
}
.video-item-info h4 {
    font-weight: bold;
    font-size: 1.4rem;
}
.video-item-info p {
    font-size: 0.9rem;
    line-height: 24px;
}
.video-item-info time {
    color: #d22630;
    font-weight: bold;
}

@media (min-width: 1600px) {
    .video-item {
        padding: 0 20px;
    }
}







/*========================================================
                         合作夥伴
=========================================================*/

.partner-wrap {
    
}
.partner-wrap [class*="col-"] {
    margin-bottom: 30px;
}

.partner-item {
    overflow: hidden;
    border: 1px solid #d7d7d7;
    padding: 10px;
}
.partner-item a img {
    width: 100%;
    vertical-align: bottom;
    transform: scale(1);
    transition: all 0.3s;
}
.partner-item a:hover img {
    transform: scale(1.05);
}

/*========================================================
                         聯絡我們
=========================================================*/

.contact-wrap h2 {
    font-weight: 600;
}
.contact-info h4 {
    color: #144a95;
    font-weight: bold;
    font-size: 1.4rem;
    margin-bottom: 20px;
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
	position: relative;
	margin-bottom: 2px;
	padding-left: 24px;
}
.contact-info ul li i {
	position: absolute;
	top: 6px;
	left: 0;
	z-index: 2;
    display: inline-block;
    width: 20px;
    text-align: center;
}
.contact-info ul li:nth-of-type(4n+1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(4n+2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(4n+3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4n+4) i {
    color: #cd7f0c;
}

.contact-info ul li [class^="flaticon-"]:before, 
.contact-info ul li [class*=" flaticon-"]:before, 
.contact-info ul li [class^="flaticon-"]:after, 
.contact-info ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}


@media (min-width: 1200px) {
    .contact-info {
        min-height: 210px;
    }
}
@media (min-width: 1600px) {
    .contact-info {
        min-height: 147px;
    }
}


/*========================================================
                         各類表單
=========================================================*/

.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal label {
	margin-bottom: 0;
    font-weight: bold;
    color: #666;
}
.form-horizontal label:before {
    font-family: 'Font Awesome 5 free';
    content: "\f044";
    font-weight: 900;
    display: inline-block;
    margin-right: 5px;
    color: #111;
}
.form-horizontal .form-control {
	border: 1px solid #ededed;
	background-color: #ddd;
}

.form-control::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #666;
}
.form-control::-webkit-input-placeholder {
	  color: #666;
}

.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}

.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
		background: #f7f7f7 url(../images/warning2.png) no-repeat 20px center;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}



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

.table1 {
	border-collapse: collapse;
	text-align: left;
	margin: 0 0 20px 0;
	font-size: 15px;
}
.table1 tr:nth-child(2n+1) {
	background-color: #e5f3f6;
}

.table1 th {
	background-color: #0da4bf;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
}
.table1 td {
	padding: 5px 15px !important;
    border: none;
}
.table1 td:first-of-type {
    text-align: center;
}



/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 20px 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 10px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #9abdd2;
    position: absolute; 
    left: 0; 
    top: 2px; 
    z-index: 9; 
}

.ul-s2 {
    list-style: none;
    margin: 0 0 30px 0;
    padding: 0;
}
.ul-s2 li {
    border-bottom: 1px solid #ddd;
    padding: 3px 10px;
}
.ul-s2 li span {
    font-weight: bold;
    color: #548235;
}
.ul-s2 li:before {
    font-family: 'Font Awesome 5 free';
    content: "\f0da";
    font-weight: 900;
    display: inline-block;
    margin-right: 6px;
}








/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}


.picture-effect {
	position: relative;
	overflow: hidden;
	z-index: 1;
}
.picture-effect img {
	transform: scale(1);
	transition: .3s ease-out all;
}
.picture-effect a {
	display: inline-block;
	position: relative;
}
.picture-effect a:before {
	content: '了解更多';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(206, 26, 26, 0.4);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
    color: #fff;
    text-align: center;
    vertical-align: middle;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}


