
@import url("../fonts/flaticon/flaticon.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;
}

.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: #adadad;
    opacity: 0.3;
    content: "";
    z-index: -1;
}
.h3-title {
    border-left: 7px solid #315d9f;
    padding-left: 10px;
    margin-top: 4px;
    margin-bottom: 20px;
}
.h4-title {
    color: #0d375e;
    font-weight: bold;
    font-size: 1.3rem;
}




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


.content-wrap {
/*    background: url("../img/content-bg.jpg") no-repeat center bottom fixed;
    background-size: cover;*/
    padding-top: 80px;
    padding-bottom: 80px;
    background-color: #fff;
    position: relative;
}
.content-wrap .container {
    position: relative;
    z-index: 2;
}
#particles-js canvas {
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
}


/* 麵包屑 */
.breadcrumbs {
    background-color: #315d9f;
	text-align: left;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
}
.breadcrumbs a {
	display: inline-block;
	color: #fff;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #fff;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #fff;
	font-size: 1.4rem;
	font-weight: bold;
}


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

.navsub {
	margin-bottom: 40px;
	text-align: center;
    display: none;
}
.navsub-select {
    width: 100%;
    display: block;
}


.navsub-list {
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fff;
	border: 1px solid #ddd;
}

.navsub-list h2  {
	color: #fff;
	background-color: #264b86;
	padding: 8px 10px;
	text-align: center;
	margin: 0 0 10px 0;
    font-size: 1.8rem;
}
.navsub-list ul {
	list-style: none;
	margin: 20px 20px 40px 20px;
	padding: 0;
}
.navsub-list ul li {
}
.navsub-list ul li a {
	display: block;
	padding: 6px 10px;
	color: #333;
	font-size: 1rem;
	margin: 0 0 10px 0;
	background-color: #ededed;
}
.navsub-list ul li a:hover {
	color: #000;
	background-color: #d3d3d3;
}

.navsub-select {
    width: 100%;    
	margin-left: 15px;
	margin-right: 15px;
	}
.navsub-select h2 {
	text-align: center;
	}
.navsub-select .form-control {
	margin-bottom: 20px;
}


@media (min-width: 1200px) {
    .navsub {
        display: block;
    }
    .navsub-select {
        display: none;
    }
}


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

.btn-back {
	text-align: right;
	padding-top: 20px;
}
.btn-back a {
    background-color: #315ca1;
	padding: 7px 20px 7px;
	border-radius: 3px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #cd221f;
	color: #fff;
	text-decoration: none;
}


/*========================================================
                         軟體工具
=========================================================*/

.tool-down {
    
}

.tool-video {
}

.tool-video-item {
    margin-bottom: 40px;
}
.tool-video-item img {
    width: 100%;
    vertical-align: bottom;
}
.tool-video-item h5 {
    margin-top: 10px;
    font-size: 1.1rem;
    font-weight: bold;
}
.tool-video-item p {
    position: absolute;
    right: 20px;
    top: 20px;
    background-color: rgba(255,255,255,0.8);
    color: #000;
    padding: 2px 10px;
    line-height: 24px;
    font-size: 1rem;
}

.tool-video-item a {
    position: relative;
    display: block;
    overflow: hidden;
}
.tool-video-item a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(255, 255, 255, 0.2);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.tool-video-item a:hover:before {
	opacity: 1;
}

.tool-video-item a img {
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
    transform: scale(1);
}
.tool-video-item a i {
	position : absolute;
	top: 120%;
	left: 50%;
	transform: translate(-50%, -120%);
	z-index: 1;    
    font-size: 1rem;
    padding: 4px 15px;
    background-color: #e32e24;
    color: #fff;
    border-radius: 5px;
    opacity: 0;
    -webkit-transition: all 0.3s;
    transition: all 0.3s;
}
.tool-video-item:hover a img {
    transform: scale(1.1);
}
.tool-video-item:hover a i {
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
    opacity: 1;
}


.tool-video-item .links iframe {
    width: 100% !important;
}
.tool-video-item .links img  {
    object-fit: cover; 
    margin-bottom: 10px;
}
.tool-video-item .links iframe, .tool-video-item .links img {
    height: 240px !important;
}
@media (min-width: 576px) {
    .tool-video-item .links iframe, .tool-video-item .links img {
        height: 180px !important;
    }
}
@media (min-width: 768px) {
    .tool-video-item .links iframe, .tool-video-item .links img {
        height: 240px !important;
    }
}
@media (min-width: 992px) {
    .tool-video-item .links iframe, .tool-video-item .links img {
        height: 315px !important;
    }
}
@media (min-width: 1200px) {
    .tool-video-item .links iframe, .tool-video-item .links img {
        height: 180px !important;
    }
}
@media (min-width: 1600px) {
    .tool-video-item .links iframe, .tool-video-item .links img {
        height: 200px !important;
    }
}


/*========================================================
                         顧問服務
=========================================================*/

.service-wrap p span {
    display: block;
    font-weight: bold;
    color: #315d9f;
}

.service-info {
    margin-top: 40px;
    border: 3px dashed #adadad;
    padding: 30px;
    text-align: center;
    background-color: #ededed;
    font-weight: bold;
    font-size: 1.1rem;
}

.service-list {
    list-style: none;
    margin: 0;
    padding: 0;
}
.service-list li {
    position: relative;
    padding: 5px 10px 5px 28px;
    border-bottom: 1px solid #ddd;
}

.service-list li:before {
    font-family: 'Font Awesome 5 free';
    content: "\f101";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 5px;
    left: 8px;
    z-index: 9;
    color: #315d9f;
    opacity: 0.7;
}
.service-list li a:hover {
    color: #315d9f;
}

@media (max-width: 991px) {
    .service-list li:nth-of-type(2n+2) {
        background-color: #F5F5F5;
    }
}
@media (min-width: 992px) {
    .service-list {
        display: flex;
        flex-wrap: wrap;
    }
    .service-list li {
        flex: 0 0 50%;
        max-width: 50%;
        padding-right: 5%;
    }
    .service-list li:nth-of-type(4n+3),
    .service-list li:nth-of-type(4n+4) {
        background-color: #ededed;
    }
}



/*========================================================
                        優選案例
=========================================================*/

.case {
    padding-top: 20px;
    padding-bottom: 30px;
}
.case h2 {
    font-size: 2.2rem;
    font-weight: bold;
    text-align: center;
    position: relative;
    color: #000;
}
.case h2 + p {
    text-align: center;
    color: #000;
    font-weight: bold;
    
}

/* 框架 */
.case-item {
	margin-left: auto;
	margin-right: auto;
	text-align: left;
	transform: translateY(0);
	transition: .3s ease-out transform;
    box-shadow: 0px 0px 5px #adadad;
    margin-bottom: 30px;
}
.case-item:hover {
	transform: translateY(-5px);
}
.case-item + .case-item {
	margin-top: 35px;
}
.case-item-img img {
	object-fit: cover;   
    object-position: center center;
    height: 80% !important;
}

/* 內容 */
.case-item-info {
	padding: 0 20px 20px 20px;
	background-color: #fff;
    border: 1px solid #ddd;
	transition: .3s ease-out box-shadow;
}
.case-item-info > div {
	margin-top: 0;
	padding-top: 20px;
	border-top: 1px solid rgba(127, 127, 127, 0.2);
}
.case time {
    font-size: 0.8rem;
    margin-bottom: 10px;
}
.case-item-info h4 {
    font-weight: bold;
    border-left: 5px solid #315d9f;
    padding-left: 5px;
}
.case-item-info p {
    margin: 0;
    line-height: 28px;
}


/* tag */
.case .case-item-tag {
    margin-top: 10px;
    margin-bottom: 10px;
    text-align: left;
}
.case .case-item-tag a {
    display: inline-block;
    font-weight: bold;
    background-color: #315d9f;
    color: #fff;
    padding: 0 15px;
    border-radius: 5px;
    margin-bottom: 5px;
    line-height: 24px;
    font-size: 0.8rem;
}
.case .case-item-tag a:hover {
    background-color: #315ca1;
}

@media (min-width: 640px) {
	.case-item {
		display: flex;
		max-width: 1170px;
	}
	.case-item-img {
		display: flex;
		width: 200px;
		flex-shrink: 0;
	}
	.case-item-img img {
		object-fit: cover;
		width: 100%;
		height: 100% !important;
	}
    .case-item-info {
        width: calc(100% - 200px);
        border-left: none;
    }
    .case-item-info > div {
        width: 100%;
    }
}
@media (min-width: 992px) {
	.case-item-info {
		min-height: 235px;
	}
}
@media (min-width: 1600px) {
	.case-item-img {
		width: 270px;
	}
	.case-item-info {
		display: flex;
		padding: 20px 20px 20px 0;
        width: calc(100% - 270px);
        min-height: 223px;
	}
	.case-item-info > div {
        padding: 0 30px 0 40px;
		margin: 0;
		border-top: 0;
		border-left: 1px solid rgba(127, 127, 127, 0.2);
	}
	.case-item + .case-item {
		margin-top: 50px;
	}
}


/*========================================================
                         訊息中心
=========================================================*/

.news {
	padding-top: 60px;
    padding-bottom: 60px;
}
.news > div {
	box-shadow: 1px 1px 5px #adadad;
    padding: 20px 20px 0 20px;
    background-color: #fff;
    border-bottom: 10px solid #315d9f;
}
.news img {
    width: 100%;
    vertical-align: bottom;
}
.news-item {
    position: relative;
    margin-bottom: -10px;

}
.news-item-img {
    position: relative;
    margin: 0;
    display: block;
    width: 100%;
    text-decoration: none;
    color: #fff;
    background-color: #f0f4f8;
    overflow: hidden;
    border: 6px solid #fff;
    transition: all .3s
}
.news-item-img:hover {
    color: #fff;
    border-color: #315d9f;
}
.news-item-img:hover .news-item-mask {
    opacity: 1;
    visibility: visible
}
.news-item-img:hover .news-item-mask::after {
    height: 100%
}
.news-item-img img {
    display: block;
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}
.news-item-mask {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    padding: .625rem 1rem;
    text-align: center;
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    font-size: 1rem;
    font-weight: 700;
    transition: all .3s
}
.news-item-mask::after {
    content: "";
    position: absolute;
    left: 0;
    top: 50%;
    height: 50px;
    width: 100%;
    background-color: rgba(0, 0, 0, .3);
    transform: translateY(-50%);
    transition: all .3s
}
.news-item-mask span {
    position: relative;
    display: block;
    z-index: 2;
    padding: 5px 30px;
}
.news-item-info {
    position: relative;
    top: -50px;
    z-index: 4;
    background-color: #fff;
    width: 86%;
    text-align: left;
    padding: 20px 30px;
}
.news-item-info h3 {
    color: #0d375e;
    font-weight: bold;
    font-size: 1.3rem;
}
.news-item-info p {
    color: #4e4e4e;
    font-size: 0.8rem;
    line-height: 24px;
}
.news-item-btn {
    margin-top: 10px;
}
.news-item-btn a {
    display: inline-block;
    color: #111;
    border: 1px solid #111;
    padding: 2px 25px 2px 25px;
}
.news-item-btn a:hover {
    color: #fff;
    background-color: #315d9f;
    border-color: #315d9f;
}

@media (min-width: 992px) {
    .news {
        padding-bottom: 0;
        position: relative;
        top: -140px;
        z-index: 10;
    }
    .news > div {
        padding: 50px 50px 0 50px;
    }
}


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


.news-detail {
	text-align: left;
    border-bottom: 2px dashed #adadad;  
}
.news-detail img {
    max-width: 100%;
    height: auto;
    margin-bottom: 20px;
}
.news-detail time {
    font-family: "Oswald", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
	font-size: 1rem;
	font-weight: 300;
	letter-spacing: 0;
	text-transform: uppercase;
}
.news-detail-title {
	text-align: left;
	margin: 0 0 20px 0;
	color: #315d9f;
	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;
}


/*========================================================
                        常見問題
=========================================================*/

.faq-wrap ul {
    list-style: none;
    margin: 0;
    padding: 0;
}
.faq-wrap ul li {
    position: relative;
}
.faq-wrap ul li a {
	display: block;
	margin: 0;
	padding: 20px 20px 20px 50px;
	border-bottom: 1px dashed #adadad;
    font-size: 1.2rem;
    color: #333;
}
.faq-wrap ul li:after {
    font-family: 'Font Awesome 5 free';
    content: "\f059";
    font-weight: 900;
    display: block;
    position: absolute;
    top: 20px;
    left: 15px;
    z-index: 2;
    color: #315d9f;
	font-size: 1.6rem;
    margin-right: 10px;
}
.faq-wrap ul li:nth-of-type(2n) a {
	background-color: #f6f6f6;
}
.faq-wrap ul li:last-of-type {
	margin-bottom: 30px;
}
.faq-wrap ul li a:hover {
	background-color: #f8ebea;
}


/* 尺寸設定 */
@media (min-width: 640px) {
	.faq-wrap dl dt {
		float: left;
		margin-right: 10px;
	}
}

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


.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
/*	padding: 5px 0 5px 60px;*/
	position: relative;
	margin-bottom: 10px;
}
.contact-info ul li i {
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0 5px;
	padding: 5px 0;
}
.contact-info ul li:nth-of-type(1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(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;
}



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



/* 表單設定 */
.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;
}

.contact-map {
    border: 1px solid #ddd;
    margin-bottom: 10px;
    height: 500px;
    overflow: hidden;
}
.contact-info h4 {
	font-weight: bold;
    color: #3d89c9;
}





.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+1) {
	background-color: #e3eef2;
}
.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;
	}
}

/*========================================================
                      	 搜尋結果
=========================================================*/

.search-results-info a dl {
    box-shadow: 0px 0px 5px #adadad;
    background-color: #fff;
    padding: 20px;
    margin: 0 0 30px 0;
}
.search-results-info a dt,
.search-results-info a dd {
    margin: 0;
    padding: 0;
}
.search-results-info a dt {
    font-weight: bold;
/*    border-left: 5px solid #315d9f;*/
    padding-left: 14px;
    font-size: 1.2rem;
    position: relative;
}
.search-results-info a dt:before {
    content: '';
    width: 5px;
    height: 70%;
    background-color: #315d9f;
    position: absolute;
    left: 0;
    top: 15%;
    z-index: 2;
}


.search-results-info a:hover dl {
    background-color: #315d9f;
    color: #fff;
}
.search-results-info a:hover dt:before {
    background-color: #fff;
}
.search-results-info a:hover dl span.text-danger {
    color: #fff !important;
}



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

.table1 {
	border-collapse: collapse;
	text-align: center;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 th {
	background-color: #1f6dae;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
    vertical-align: middle;
}
.table1 td.left {
	text-align: left;
}

.table1 td.img img {
	width: 80px;
	}


/*========================================================
                         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; 
}


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

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: block;
	position: relative;
}
.picture-effect a:before {
	content: '';
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	background-color: rgba(61, 137, 201, 0.6);
	pointer-events: none;
	z-index: 1;
	opacity: 0;
	transition: .3s ease-out all;
}
.picture-effect a:hover:before {
	opacity: 1;
}
.picture-effect a:hover img {
	transform: scale(1.1);
}


