
/*******************************************************************
       start index content
*********************************************************************/
/*slider*/
#slider-m,
#slider-pc {
  	display: flex;
    justify-content: center;
	width: 100%;
    max-width: 1365px;
    margin: auto;
}
#slider-m {
  	display: flex;
    justify-content: center;
	width: 100%;
    max-width: 991px;
    margin: auto;
}
.item {
  padding-left: 0px;
}
.item button:hover {
  background: #fff;
}
.control-carousel {
  position: absolute;
  top: 35%;
  font-size: 8em;
  color: #fff;
}
.control-carousel:hover{
  color: #fff000 ;
}
.right {
  right: 0;
}
/*service*/
.service-box {
	padding-bottom: 75px;
	display: flex;
}
.service h2 {
	text-align: center;
	margin: 100px auto 75px;
}
.service h3 {
	margin: 40px auto 30px;
}
.service-item-box {
	display: flex;
}
.service-item {
	width: 20%;
	text-align: center;
}
.service-item p {
	font-size: 1em;
}
/*intro*/
.intro-box {
	/*background: #fff000;*/
	display: flex;
	    background-image: url(../img/about-bg.png);
		color:#fff;
}
.intro {
	padding: 0px 100px 100px;
}
.intro P {
    font-size: 1.5em;
	color:#fff;
}
.intro h2 {
	text-align: center;
	margin: 100px auto 50px;
}
/*case*/
.case-box {
	display: flex;
}
.case {
	padding: 0px 100px 150px;
	display: flex;
    flex-direction: column;
    align-items: center;
}
.case h2 {
	text-align: center;
	margin: 100px auto 75px;
}
.col-3-item {
	width: 1081px;
	display: flex;
    flex-direction: row;
}
.content-block-box {
	width: 360px;
}
.content-block {
	/*width: 1081px;*/
	width: 360px;
	height: 330px;
	overflow: hidden;
	display: flex;
}

.case-item {
	width: 360px;
	height: 330px;
	/*flex: 0 0 33.333%;*/
	flex: 0 0 100%;
	padding: 0px 15px;
}
.case-item a {
	width: 100%;
    height: 330px;
    display: block;	
	color: transparent;
    background-repeat: no-repeat;
	background-position:50% 50%;
}
.case-item a:hover {
	color: #fff;
}
.case-item a i {
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
}
.case-item a:hover {
	content: "f002";
	font-size: 2em;
	background-position:50% 50%;
}
.case-item a img {
	width: 100%;
    height: auto;
}
.mfp-zoom-out-cur, .mfp-zoom-out-cur .mfp-image-holder .mfp-close {
    cursor: default !important;
    background-repeat: no-repeat;
	color: transparent;
	background-position-x: right;
}
.mfp-arrow:before, 
.mfp-arrow:after {
    border: none;
}
.mfp-arrow {
	margin-top: 45px;
}
.mfp-arrow:active {
    margin-top: 45px;
}
.mfp-close {
	height: 150px;
    margin-top: 40px;
    margin-right: 10px;
}
.mfp-arrow-right:after, .mfp-arrow-right .mfp-a {
    content: url(../img/icon-next.png);
	margin-left: 20px;
	top: -100%;
	margin-top: 0px;
}
.mfp-arrow-left:after, .mfp-arrow-left .mfp-a {
    content: url(../img/icon-pre.png);
	margin-left: 15px;
	top: -100%;
	margin-top: 0px;
}
.mfp-arrow-left {
    left: calc(50% - 500px);
}
.mfp-arrow-right {
    right: calc(50% - 500px);
}
.mfp-bottom-bar,
.mfp-counter {
    font-size: 1.25em;
    padding: 5px;
    margin-top: -15px;
}
/*info*/
.info-box {
	color: #fff;
	background-color: #231815;
	display: flex;
}
.info-box .logo {
	width: 380px;
    height: 42px;
	content: url(../img/logo-w.png);
}
.info p {
	color: #fff;
	margin: 0 0 5px;
	font-size: 1em;
}
.info {
	padding: 30px 100px 0px;
    letter-spacing: 1px;
    display: flex;
    flex-direction: row;
    align-content: center;
}
.info-content-box {
	width: 100%;
    display: flex;
    margin-top: 0px;
}
.info-content-item {
	width: 50%;
	padding: 0px 30px 0px 0px;
}
.info-title {
	font-weight: 600;
}
/*order*/
.order-box a {
	position: fixed;
	top: 210px;
	right: -82.5px;
	width: 165px;
	height: 165px;
	border-radius: 50%;
	background:#fff000;
	border: 5px solid #fff;
	content: url(../img/icon-car.png);
	padding-right: 70px;
}
.order-box a:hover {
	background:#000;
	content: url(../img/icon-car-on.png);
}
@media (max-width: 1280px) {
.content-block-box {
    width: 982px;
    display: flex;
    flex-direction: row;
}
.content-block {
	width: 982px;
    /*height: 234px;*/
	height: 297px;
	display: flex;
	margin-bottom: 60px;
}
.case-item {
	width: 234px;
	/*height: 234px;*/
	height: 100%;
	/*flex: 0 0 33.333%;*/
	flex: 0 0 100%;
	padding: 0px 15px;
}
.case-item a i.fa-search {
	height: 100%;
	display: flex;
    justify-content: center;
    align-items: center;
	margin-top: 0%;
}
.case-item a {
	width: 100%;
    /*height: 234px;*/
	height: 100%;
    display: block;	
	color: transparent;
    background-repeat: no-repeat;
	background-position: 50% 50%;
}
.case-item a:hover {
	content: "f002";
	font-size: 2em;
	background-position: 50% 50%;
}
.info-content-item {
	padding: 0px 15px 0px 0px;
}
}
@media (max-width: 1200px) {
.info-title {
	font-weight: 600;
}
}
@media (max-width: 991px) {
#slider-m {
  	margin: 0em 0px 0px;
}
.service {
	width: 750px;
}
.service-box {
    padding-bottom: 15px;
}
.service h2 {
    text-align: center;
    margin: 75px auto 75px;
}
.service-item-box {
    display: flex;
    flex-direction: row;
    flex: 0 0 33.333%;
    flex-wrap: wrap;
}
.service-item {
    width: 33.333%;
    text-align: center;
    margin-bottom: 60px;
}
.service-item p {
	font-size: 1.125em;
}
.info-box .logo {
	width: 570px;
    height: 63px;
	content: url(../img/logo-w.png);
}
.intro h2 {
    text-align: center;
    margin: 75px auto 75px;
}
.intro P {
    font-size: 1.25em;
}
.case h2 {
    text-align: center;
    margin: 75px auto 75px;
	font-size: 2em;
}
.content-block-box {
	width: 480px;
    display: flex;
    flex-direction: column;
}
.content-block {
    width: 480px;
    /*height: 324.5px;*/
	height: 450px;
}
.case-item {
	flex: 0 0 100%;
	width: 354.5px;
	height: 324.5px;
}
.case-item a {
	/*height: 324.5px;*/
	height: 450px;
}
.mfp-arrow-left {
    left: 0;
}
.mfp-arrow-right {
    right: 0;
}
.info p {
    font-size: 0.875em;
}
.info-content-box {
}
.info-content-item {
    padding: 0px 0px 40px 0px;
	align-items: center;
	    display: flex;
    flex-direction: column;
}
.info-content-item {
	width: 100%;
    padding: 0px 0px 40px 0px;
	text-align: center;
	align-items: center;
}
.info-item-name {
	margin-right: 10px;
}
/*order*/
.order-box a {
	position: fixed;
	top: 15vh;
	right: -4em;
	width: 8em;
	height: 8em;
	border-radius: 50%;
	background:#fff000;
	border: 5px solid #fff;
	content: url(../img/icon-car.png);
	padding-right: 3.5em;
}
.order-box a:hover {
	background:#000;
	content: url(../img/icon-car-on.png);
}
.info-content-box {
	width: 100%;
    flex-direction: column;
    align-items: center;
    margin-left: 0px;	
}
}
@media (max-width: 768px) {
.intro {
    padding: 0px 15px 75px;
}
.intro P {
    font-size: 1.25em;
}
.case {
    padding: 0px 15px 75px;
}
.content-block {
	width: 480px;
	height: 480px;
}
.case-item {
	flex: 0 0 100%;
	width: 480px;
	height: 480px;
	padding: 0px 0px;
}
.case-item a {
	height: 480px;
}
.info {
    align-items: center;
	padding: 30px 15px 0px;
}
.info {
    font-size: unset;
}
.info p {
    font-size: 0.875em;
}
footer {
	font-size: 0.65em;
}
}
@media (max-width: 640px) {
.service {
	width: 500px;
}
.service-item-box {
    display: flex;
    flex-direction: row;
}
.service-item {
	width: 50%;
	text-align: center;
	margin-bottom: 60px;
}
}
@media (max-width: 480px) {
.service-item-box {
    display: flex;
    flex-direction: column;
}
.service-item {
	width: 100%;
	text-align: center;
	margin-bottom: 60px;
}
.content-block-box {
    width: 320px;
}
.content-block {
	width: 320px;
	height: 320px;
}
.case-item {
	flex: 0 0 100%;
	width: 320px;
	height: 320px;
	padding: 0px 0px;
}
.case-item a {
	height: 320px;
}
}
/*******************************************************************
       start all-case
*********************************************************************/

.allcase-box {
    display: flex;
	padding-bottom: 75px;
}
.allcase {
	padding: 0px 100px 75px;
    display: flex;
    flex-direction: column;
    align-items: center;
}
.allcase-banner-box {
	text-align: center;
}
.allcase-banner-box img {
	width: 100%;
	max-width: 1366px;
}
/*Panel tabs*/
.panel-heading {
	padding: 0px;
    border-bottom: none;
    border-top-left-radius: 0px;
    border-top-right-radius: 0px;
	width: 100%;
}
.panel-heading h3 {
	font-size: 1.5em;
}
.panel-heading > ul {
    display: flex;
    justify-content: center;
}
.panel-tabs > li {
	width: 18.5%;
}
.panel-tabs > li > a {
    color: #231815;
	text-align: center;
}
.panel-tabs > li > a:hover {
    border-color: transparent;
    color: #fff;
    background-color: #231815;
}
.panel-tabs > li.active > a,
.panel-tabs > li.active > a:hover,
.panel-tabs > li.active > a:focus {
    color: #231815;
    background-color: #eee;
}
.panel-tabs > li.active > a:active {
	border-bottom-color: #fff000;
}
.panel-tabs > li img {
	width: 100%;
}
.tab-content {
    width: 100%;
    line-height: 25px;
    border-top: 6px solid #231815;
    padding: 0px 0px;
	padding: 90px 0px;
}

.tab-content>.active {
    display: block;
	opacity: 1;
}
.allcase-list {
	display: flex;
    justify-content: center;
}
.allcase-list-box {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
    max-width: 1081px;
}
.allcase-list-item {
	height: auto;
    padding: 0px 15px 60px;
	flex: 0 0 33.333%;	
}
.allcase-list-item a {
    width: 100%;
    height: 330px;
    display: block;
    color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.allcase-list-item a:hover {
	content: "f002";
	font-size: 2em;
	color: #fff;
	background-position: 50% 50%;
}
.allcase-list-item a.allcase-list-img  i {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.allcase-title {
	font-size: 1.25em;
	line-height: 1.5em;
	font-weight: 600;
	margin-top: 30px;
}
.allcase-content {
	font-size: 1em;
	line-height: 1.25em;
}
.allcase-info-box {
	display: flex;
	flex-direction: column;
    justify-content: space-between;
}
.allcase-info p {
	font-size: 0.875em;
    line-height: 1.25em;
	margin-bottom: 0px;
}
/*modal*/
.modal-dialog div,
.modal-dialog p {
	color: #fff;
}
.modal-content {
    background-color: #231815;
    border-radius: 0px;
	display: flex;
    align-items: center;
	flex-direction: column;
	/*width: 1000px;*/
	    width: 70vw;
}
.modal-header {
	width: 100%;
    border-bottom: none;
	padding: 0px;
	margin-bottom: 15px;
}
.modal-dialog {
    width: 100vw;
    height: 100vh;
    padding: 10% 0px;
    margin: 0px;
    display: flex;
	justify-content: center;
    align-items: center;
}
.modal-header .close {
    width: 80px;
    height: 80px;
    top: 0;
    right: 0;
    color: #fff;
    font-weight: 600;
	background-image: url(../img/icon-close.png);
    background-size: 80px;
	margin: 0px;
}
.modal-body { 
    padding: 0px 40px 80px;
	    width: 100%;
}
.modal-dialog .row {
	display: flex;
	margin: 0px;
}
.modal-dialog .content-left {
	width: 70%;
	margin: 0px 30px 0px 0px;
}
.modal-dialog .content-right {
	width: calc(30% - 30px);
	max-width: 252.88px;
	padding: 0px 0px 15px 0px;
}
.allcase-modal .carousel {
	display: flex;
    align-items: center;
}
.allcase-modal .control-carousel {
	top: 0;
	height: 100%;
	display: flex!important;
	flex-direction: column;
    justify-content: center;
	font-size: inherit;
}
.modal-dialog .allcase-title {
	font-size: 1.125em;
	font-weight: 600;
	margin-top: 15px;
}
.modal-dialog .allcase-content {
	font-size: 0.875em;
    line-height: 1.25em;
    margin-top: 15px;
}
.allcase-modal .carousel-inner img {
	width: 100%;
}
.allcase-modal a:hover {
    color: #fff000;
}
.allcase-modal a:focus {
    color: #fff;
}
.allcase-modal .fa {
	opacity: 0.5;
}
.allcase-modal .fa:hover {
	opacity: 1;
}
.fa-angle-left:before {
	content: url(../img/icon-pre.png);
}
.fa-angle-right:before {
	content: url(../img/icon-next.png);
}
.allcase-modal .control-carousel a i {
	opacity: .5;
}
.allcase-modal .control-carousel a:hover i {
	opacity: 1;
}
@media (max-width: 1366px) {
.allcase {
    padding: 0px 15px 75px;
}
.allcase-list-box {
    max-width: 1170px;
}
.allcase-list-item a {
	height: 360px;
}
.modal-content {
	width: 1000px;
}
}
@media (max-width: 1200px) {

.allcase-list-box {
    max-width: 1050px;
}
.allcase-list-item a {
	height: 320px;
}
}
@media (max-width: 1080px) {
.allcase-list-box {
    max-width: 961px;
}
.allcase-list-item a {
	height: 290px;
}
}
@media (max-width: 991px) {
.allcase {
    padding: 0px 0px 75px;
}
.allcase-title {
	font-size: 1em;
	line-height: 1.25em;
}
.allcase-content {
	font-size: 0.875em;
	line-height: 1em;
}
/*nav*/
nav h3 {
	width: calc(100% - 260px);
    text-align: left;
    padding-left: 30px;
}
nav img {
	width: 96px;
}
nav > .nav.nav-tabs {
    flex-direction: column;
	align-items: center;
}
nav > div a.nav-item.nav-link {
	background-color: #eee;
	color: #231815;
}
nav > div a.nav-item.nav-link,
nav > div a.nav-item.nav-link.active {
	display: flex;
    align-items: center;
    width: 100%;
    justify-content: center;	
	padding: 0.5em 0em;
}
.tab-content {
    border-top: 0px solid #231815;
}
.panel-heading h3 {
	font-size: 1em;
}
.allcase-box {
    padding-bottom: 15px;
}
.allcase-banner-box {
	display: none;
}
.allcase-list-box {
	max-width: 850px;
}
.allcase-list-item {
	flex: 0 0 50%;
}
.allcase-list-item a {
    height: 395px;
}
.allcase-content {
    margin-top: 0.5em;
	line-height: 1.25em;
}
.modal-dialog {
    padding: 0px;
}
.modal-content {
	width: 100vw;
	height: 100vh;
}
.modal-dialog .row {
    display: flex;
    flex-direction: column;
    align-items: center;
}
.modal-dialog .content-left {
	width: 100%;
	margin: 90px 0px 0px;
	padding: 0px;
}
.modal-dialog .content-right {
	width: 100%;
	padding: 0px 0px 15px 0px;
}
.allcase-info {
	margin-top: 60px;
}
}
@media (max-width: 880px) {
.allcase-list-box {
	max-width: 738px;
}
.allcase-list-item a {
    height: 339px;
}
.panel-heading h3 {
	font-size: 0.85em;
}
}
@media (max-width: 768px) {
.wrap {
    margin: 80px 0px 0px;
}
.allcase-list-item {
    flex: 0 0 100%;
}
.allcase-list-box {
	max-width: 610px;
}
.allcase-list-item a {
    height: 580px;
}
.allcase-modal .modal-body {
    padding: 0px 0px 80px;
}
.modal-dialog .content-left {
    margin: 45px 0px 0px;
}
.modal-dialog .content-right {
    padding: 0px 15px;
}
.panel-heading > ul {
    display: flex;
    justify-content: center;
    flex-direction: column;
}
.panel-tabs > li {
	width: 100%;
}
.panel-tabs > li > a {
    display: flex;
    justify-content: center;
    align-items: center;
}
.panel-tabs > li img {
    width: 3em;
	margin-right: 30px;
}
.allcase-info {
    margin-top: 15px;
}
}
@media (max-width: 640px) {
nav h3 {
	width: calc(100% - 130px);
}
.allcase-list-box {
	max-width: 450px;
}
.allcase-list-item a {
    height: 420px;
}
.tab-content {
    padding: 45px 0px;
}
}
@media (max-width: 480px) {
nav h3 {
	width: calc(100% - 85px);
	font-size: 1.125em;
	padding-left: 15px;
}
nav img {
	width: 70px;
}
.allcase-list-box {
	max-width: 290px;
}
.allcase-list-item a {
    height: 260px;
}
.tab-content {
    padding: 30px 0px;
}
}



/*index 實蹟*/
.indexcase-list {
	display: flex;
    justify-content: center;
	width: 1081px;
    flex-direction: row;
}
.indexcase-list-box {
	display: flex;
	flex-direction: row;
	flex-wrap: wrap;
	width: 100%;
    max-width: 1081px;
}
.indexcase-list-item {
	height: auto;
    padding: 0px 15px 60px;
	flex: 0 0 33.333%;	
}
.indexcase-list-item a {
    width: 100%;
    height: 330px;
    display: block;
    color: transparent;
    background-repeat: no-repeat;
    background-position: 50% 50%;
}
.indexcase-list-item a:hover {
	content: "f002";
	font-size: 2em;
	color: #fff;
	background-position: 50% 50%;
}
.indexcase-list-item a.indexcase-list-img  i {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}
.indexcase-title {
	font-size: 1.25em;
	line-height: 1.5em;
	font-weight: 600;
	margin-top: 30px;
}
.indexcase-content {
	font-size: 1em;
	line-height: 1.25em;
}
.indexcase-info-box {
	display: flex;
	flex-direction: column;
    justify-content: space-between;
}
.indexcase-info p {
	font-size: 0.875em;
    line-height: 1.25em;
	margin-bottom: 0px;
}

/*index-model*/
.allcase-model .modal-body {
    display: flex;
    margin: 0px;
	flex-direction: column;
}
.allcase-model .content-imgbox{
    width: 100%;
    margin: 0px 30px 0px 0px;
}
.allcase-model .content-title-box {
    width: 100%;
    max-width: 100%;
    padding: 0px 0px 15px 0px;
}
@media (max-width: 1200px) {
.case {
    padding: 0px 20px 150px;
}
.indexcase-list {
	display: flex;
    justify-content: center;
	width: 100%;
    flex-direction: row;
}
}
@media (max-width: 991px) {
/*.indexcase-list {
	    display: flex;
    flex-direction: column;
}*/
.indexcase-list {
	width:100%;
	flex-direction: column;
}
.indexcase-list-box {
		    display: flex;
    flex-direction: column;
}
.indexcase-list-item {
	    text-align: center;
}
.indexcase-list-item a {
	height: 550px;
}
.allcase-modal .modal-content {
display: flex;
    flex-direction: column;
    justify-content: center;
}
}