@import url(animate.min.css);
@import url(vegas.min.css);
@import url(main_2.css);
@import url(slick.css);
/*#d2b465*/
/*----------------------------------*\ 
	# common               
\*----------------------------------*/
* {
	margin: 0; 
	padding: 0;
	border: 0;	
	list-style:none;
	box-sizing: border-box;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
}
body {
	-moz-user-select : none;
	-webkit-user-select: none; 
	background: whitesmoke;
	color:#444;
	font-size: 20px;
	line-height: 1.5;
	font-family: Microsoft JhengHei; 
}
.clearfix:before,
.clearfix:after { content: " "; display: table; }
.clearfix:after { clear: both; }
.clearfix { *zoom: 1; }
a,a:visited,a:hover {
	text-decoration:none; 
  	color:inherit;  
}
img.pic1 {
	width:100%;
	max-height:100vh; 
}
@media (max-width: 1025px) {
	body { font-size: 16px; }
	img.pic1 { max-height:50vh; }
}

/*----------------------------------*\
   # 選單動畫                  
\*----------------------------------*/

@-webkit-keyframes openClose {
  from, 10% ,to {   
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);    
  }
  45%{    
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);   
  }
  100%{    
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);   
  }
}

@keyframes openClose {
  from, 10%, to {   
    -webkit-transform: translate3d(0, 0, 0);
    transform: translate3d(0, 0, 0);    
  }
  45%{    
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);   
  }
  100%{    
    visibility: hidden;
    -webkit-transform: translate3d(-100%, 0, 0);
    transform: translate3d(-100%, 0, 0);   
  }
}
.openClose {
  -webkit-animation-name: openClose;
  animation-name: openClose;
  /*-webkit-animation-iteration-count: infinite;*/
  /*animation-iteration-count: infinite;*/
}



/*----------------------------------*\
   # home_project ( 首頁-婚禮專案 )                  
\*----------------------------------*/
.home_project {
	width:100%;	
}
.home_project .left {
	float: left;
	width:42%;
	height: 100vh;
}
.home_project .right {
	float: right;
	width:58%;
	/*height: 100vh;*/
}
.home_project .right {	
	padding:20px 0 20px 20px; 	
}
.home_project .right li{
	display: inline-block;
	float: left;
	width: calc(100% / 2 );
	height: calc((100vh - 40px)/2);
	background: #444;
	color: whitesmoke;	
}
.home_project .right img { 
	height:100%;
	width: 100%;
}
.home_project .right li:nth-child(2),
.home_project .right li:nth-child(3) {
	padding:30px 6%; 
}
.home_project .right a:hover { 
	color:#c3b465; 
}
.home_project .right h2 {
	font-size: 1.5em;
	padding-bottom:1em;	
	border-bottom:1px dashed whitesmoke;
	margin-bottom: .5em;	
	height: 1.8em; 
	overflow: hidden;
}
.home_project .right .text{
	display: -webkit-box;
	-webkit-line-clamp: 7; 
	-webkit-box-orient: vertical;
	white-space: normal;
	font-size: 1em;	
	height: 10.5em; 
	overflow: hidden;
} 
@media (max-width: 1025px) {
	.home_project{}
	.home_project .left {
		width:100%;
		height: 50vh;
	}
	.home_project .right {
		width:100%;
		height: 50vh; 
	}	
	.home_project .right {	
		padding: 0; 	
	}
	.home_project .right li {	
		height: calc((50vh - 0px)/2);		
	}
	.home_project .right li:nth-child(2),
	.home_project .right li:nth-child(3){
		padding:10px 3% 10px; 
	}
	.home_project .right h2 {
		font-size: 1em;
		margin-top: 10px;
	}
	.home_project .right .text{
		font-size:.8em ;	
		-webkit-line-clamp: 5;	
		height: 7.5em;
	} 
 }
/*----------------------------------*\
	# home-about ( 首頁-關於我們 )                     
\*----------------------------------*/
.home_about{
	width:100%;
	height: auto;
	padding: 2em 10%;
	background:#435776;
	color: white; 
}
.home_about a:hover { 
	text-decoration: underline; 
}
/*----------------------------------*\
	# header & menu                     
\*----------------------------------*/
#header {
	position: relative;    
	height: 100vh;    
	width: 100%;
	overflow: hidden; 
}
.burg {
	position: fixed;
	top: 50px; left:50px; 
	z-index: 99;
	height: 60px; width: 60px;
	border-radius: 50%;	   
	cursor: pointer; 
	background: rgba(29,235,204,.7);
	box-shadow:  0 1px 2px 0 rgba(0, 0, 0, 0.24); 
	-webkit-transition: all ease 0.4s;
	transition: all ease 0.4s;	
}
.burg span {   
   margin:29px 12px 0
}
.burg span,
.burg span::after,
.burg span::before {
   content: "";
   position: absolute;
   width: 36px;
   height: 3px;   
   background-color: #e9e9e9;    
   left:0;
   transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
   -webkit-transition: all 500ms cubic-bezier(0.77, 0, 0.175, 1);
}
.burg span::before {
   width: 36px;
   top: -8px;
}
.burg span {
   width: 26px;
}
.burg span::after {
   width: 16px;
   top: 8px;
}
.burg:hover span,
.burg:hover span::after,
.burg:hover span::before {
   background-color: white;
}
.burg:hover span {
   width: 30px;
}
.burg:hover span::before {
   width: 40px;
}
.burg:hover span::after {
   width: 20px;
}
.burg.active > span {
   background-color: transparent;
}
.burg.active > span::after,
.burg.active > span::before {   
   top: 0px;
   right: 0px;
   width: 36px;
}
.burg.active:hover > span::after,
.burg.active:hover > span::before {
   background-color: white;
}
.burg.active > span::before {
   -webkit-transform: rotate(-225deg);
   transform: rotate(-225deg);
}
.burg.active > span::after {
  -webkit-transform: rotate(225deg);
  transform: rotate(225deg);
}
.offcanvas, .panel {
	position: fixed;
	z-index: 98;  
	left: -50%; top: 0px;  
	background: white;
	height: 100vh; width: 25vw;  
	-webkit-clip-path: polygon(0 0,100% 0, 75% 100%, 0 100%);
	clip-path: polygon(0 0, 100% 0, 75% 100%, 0 100%);
	display: flex;   
	flex-direction: column;  
	justify-content: center;  
	-webkit-transition: 300ms left cubic-bezier(0.77, 0, 0.175, 1);
	transition: 300ms left cubic-bezier(0.77, 0, 0.175, 1);		
	text-align: center;   
}
.panel{z-index: 100;
   transform:translateX(-50vw); 
   left: 0;   
}
.offcanvas a img,
.panel a img {
   width: 220px;
}
.offcanvas a:first-child,
.panel a:first-child{
   margin-bottom:40px ;
}
.offcanvas a:first-child:hover,
.panel a:first-child:hover{
   background: transparent;
}
.offcanvas.active,
.panel.active {  
   left:0;
}
.offcanvas a,
.panel a {
	margin-bottom: 0px; 
	padding: 10px; 
}
.offcanvas a:hover,
.panel a:hover {
	color: white;  
	background: #1cc;  
}
@media (max-width: 1025px) { 
	.burg {	
		top: 10px; left:10px; 		
	}
	.offcanvas, .panel  {
		left: -110%;  
		width: 100vw;
		-webkit-clip-path: polygon(0 0,100% 0, 100% 100%, 0 100%);
		clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%); 
		background: rgba(255,255,255,.86);		  
		flex-direction: none;  
		justify-content: flex-start; 
		padding: 2em 0;		     
	}
	.offcanvas a img,
	.panel a img {
		width: 140px;
	}
	.offcanvas a:first-child,
	.panel a:first-child{
	   margin-bottom:0 ;
	}
}

/*----------------------------------*\
	# social-icons (sidenav)                   
\*----------------------------------*/
.sidenav{
	width: 60px;
	height:auto; 
	position: fixed;
	z-index: 99;
	top: 4em;
	right: 0;	
	font-size: 2.5em;
}
.sidenav i {
	display: block;
	margin: .2em 0;
}
.sidenav a,
.sidenav a:visited {	 
  	color: #1cc;  
}
.sidenav a:hover { color:#1debcc; }
/*-----popUp-----*/
.popup_btn {
	display: block;    
}
.popup { 
	position: fixed;
	left: 0;
	top: 0;
	height: 100%;      
	width: 100%;
	z-index: 100;
	background-color: rgba(0, 0, 0, 0.6);   
	visibility: hidden;    
}
.popup.is-visible {
	opacity: 1;
	visibility: visible;
	transition:1s all;
}
.popup_cnt {      
	position: relative;
	width: 600px;
	padding:20px; 
	background: #FFF;      
	text-align: center;
	top: 50%; left: 50%;
	transform: translate(-50%, -50%);
	-ms-transform: translate(-50%, -50%);
}
.popup_cnt .popup-close {
	position: absolute;
	top: 10px;
	right: 10px; 
	font-size:1em;       
	color: #444;
}
@media (max-width: 1025px) { 
	.sidenav{
		width: 40px;		
		top: .5em;
		right: 0;	
		font-size: 1.5em;
	}	
}
@media (max-width: 541px) {
	.popup_cnt {
		width: 80%;
		padding:30px 10px;	
	}	
}
@media (max-width: 321px) {
	.popup_cnt {
		width: 94%;		
	}	
}
/*----------------------------------*\
    # slide (home)                     
\*----------------------------------*/
.wrapper{
	position: relative;
}
#slider {
	width: 100%;
	height: 100vh;
}
.slide_logo {
	width: 430px;
	height: 80px;
	position: absolute;
	z-index: 2;
	top: 50%;
	left: 50%;
	transform: translate(-50%, -50%);
	background: url(../images/logo_white.png);
	background-size: cover; 
	background-position: center;  
}

@media (max-width: 1025px) {
	.slide_logo {
		width: 280px;
		height: 52px;	  
	}
}

/*----------------------------------*\
	# footer                   
\*----------------------------------*/
/*footer+copyright=250px(高)*/
footer{/*高200px*/ 
	width:100%; 
	padding: 50px 0;
	background: #435776;
	color: white;
}
footer a:hover { color:#1cc; }
.img_wedding{
	position: absolute;
	right:0; top:calc(100vh - 200px);
	height:200px; 
	width: 200px;  
	background: url(../images/11.png) no-repeat center center/100% auto;  
}
.content {
	width:80%;
	margin:0 auto;	
	text-align: center;	
}
.boxA,.boxB,.boxC {
	display: flex;
  	float:left;   	
	height: 100px;
}
.boxA { width: 25%; }   
.boxB { width: 50%; }   
.boxC { width: 25%; }
.boxA > div,.boxB > div,.boxC > div {	
  	margin: auto;
}
.boxA p {
	font-size: .8em;
	text-align: left;
}
.boxB li {
	display: inline-block;
	float:left;
	font-size:.8em; 
	border-right:1px solid white;
	line-height:.8em; 
	padding: 0 10px;   
}
.boxB a {	
	font-size:.8em; 
	border-right:1px solid white;
	line-height:.8em; 
	padding: 0 10px;   
}
.boxB a:nth-last-of-type(1) {border-right:0px;}
.boxC i { 
	font-size: 1.5em; 
	margin: 0 6px; 
}
.copyright {/*高50px*/
	width:100%;
	text-align: center;
	font-size:.65em;	
	line-height: 50px;
	background: #131313;
	color: #666;
	letter-spacing:2px; 
}

@media (max-width: 1025px) {
	footer{
		padding:  0;	
	}
	.img_wedding{
		display: none;
	}
	.content {
		width:100%;	
	}
	.boxA,.boxB,.boxC {			
		height: 80px;
	}
	.boxA { width: 100%; }   
	.boxB { display: none;}   
	.boxC { display: none; }
}

/*----------------------------------*\
    # back to top                     
\*----------------------------------*/
.cd-top {
  cursor: pointer;
  display: inline-block;
  height: 50px;
  width: 50px;
  border-radius: 50px; 
  position: fixed;
  bottom: 40px;
  right: 10px;
  -webkit-box-shadow: 0 0 10px rgba(0, 0, 0, 0.05);
          box-shadow: 0 0 10px rgba(0, 0, 0, 0.05); 
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap; 
  background: black url(../images/cd-top-arrow.svg) no-repeat center 50%;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s .3s, background-color .3s 0s;
}
.cd-top.cd-top--show,
.cd-top.cd-top--fade-out,
.cd-top:hover {
  -webkit-transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
  transition: opacity .3s 0s, visibility 0s 0s, background-color .3s 0s;
}
.cd-top.cd-top--show {  
  visibility: visible;
  opacity: 1;
}
.cd-top.cd-top--fade-out {  
  opacity: .5;
}
.cd-top:hover {  
  background-color: #000;
  opacity: 1;
} 


/*----------------------------------*\
    # loading                    
\*----------------------------------*/
.loading_wrap {
	display: flex;
	position: fixed;
	background: black;
	background: #11cccc;	
	top:0;left:0;
	width:100%;height:100%;
	z-index: 999;
}			
.atCenter { 
	position: absolute;
	margin: auto;
} 
.la-timer,
.la-timer > div {
    position: relative;
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
.la-timer {
    display: block;
    font-size: 0;
    color: #ffffff;
}
.la-timer > div {
    display: inline-block;
    float: none;
    background-color: currentColor;
    border: 0 solid currentColor;
}
.la-timer {
    width: 64px;
    height: 64px;
}
.la-timer > div {
    width: 64px;
    height: 64px;
    background: transparent;
    border-width: 2px;
    border-radius: 100%;
}
.la-timer > div:before,
.la-timer > div:after { 
    position: absolute;
    top: 32px;
    left: 32px;
    display: block;
    width: 2px;
    margin-top: 0px;
    margin-left: 0px;
    content: "";
    background: currentColor;
    border-radius: 2px;
    -webkit-transform-origin: 1px 1px 0;
       -moz-transform-origin: 1px 1px 0;
        -ms-transform-origin: 1px 1px 0;
         -o-transform-origin: 1px 1px 0;
            transform-origin: 1px 1px 0;
    -webkit-animation: timer-loader 1250ms infinite linear;
       -moz-animation: timer-loader 1250ms infinite linear;
         -o-animation: timer-loader 1250ms infinite linear;
            animation: timer-loader 1250ms infinite linear;
    -webkit-animation-delay: -625ms;
       -moz-animation-delay: -625ms;
         -o-animation-delay: -625ms;
            animation-delay: -625ms;
}
.la-timer > div:before {
    height: 16px;
}
.la-timer > div:after {
    height: 8px;
    -webkit-animation-duration: 15s;
       -moz-animation-duration: 15s;
         -o-animation-duration: 15s;
            animation-duration: 15s;
    -webkit-animation-delay: -7.5s;
       -moz-animation-delay: -7.5s;
         -o-animation-delay: -7.5s;
            animation-delay: -7.5s;
}
@-webkit-keyframes timer-loader {
    0% {
        -webkit-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
@-moz-keyframes timer-loader {
    0% {
        -moz-transform: rotate(0deg);
             transform: rotate(0deg);
    }
    100% {
        -moz-transform: rotate(360deg);
             transform: rotate(360deg);
    }
}
@-o-keyframes timer-loader {
    0% {
        -o-transform: rotate(0deg);
           transform: rotate(0deg);
    }
    100% {
        -o-transform: rotate(360deg);
           transform: rotate(360deg);
    }
}
@keyframes timer-loader {
    0% {
        -webkit-transform: rotate(0deg);
           -moz-transform: rotate(0deg);
             -o-transform: rotate(0deg);
                transform: rotate(0deg);
    }
    100% {
        -webkit-transform: rotate(360deg);
           -moz-transform: rotate(360deg);
             -o-transform: rotate(360deg);
                transform: rotate(360deg);
    }
}
