/*歡迎使用自訂 CSS！若要瞭解自訂 CSS 的運作方式，請參閱 http://wp.me/PEmnE-Bt
*/

img{
	width:100%;
	
}
.comment img{width:auto;}

/**title**/
img.site-logo{max-width:110px;
float:left;}

	#logo a{
		font-size:30px;
    line-height: 1.2em;
    letter-spacing: 1px;
	}


@media screen and (max-width:700px){
.site-title{
	font-size:20px!important;
	}
	img.site-logo{max-width:100px;}
	.site-description{display:none;}
	#logo{padding-bottom:70px;}

	.site-header{
		padding-top:20px;
		    padding-bottom: w0px;
	}
	.site-logo-link{margin-bottom:0px;}
}
@media only screen and (max-width: 980px){
#zilla-menu-dropdown {
	background:#2a93bc;
	right: 0;}
	.main-navigation {
		background: #78aabd;
	}
	#zilla-mobile-menu {
    padding: 0px 0;
}
	#zilla-menu-dropdown:hover{
 background: #c3ddeb;
	}
}

/******slider*****/
.flex-direction-nav {
    height: 0!important;
}

/*****navbar****/
.primary-menu > li > a:hover, .primary-menu .current-menu-item > a, .primary-menu > .sfHover > a, .primary-menu .current_page_item > a {
	border-top: 3px solid #65bdd3;
}
li.menu-item-has-children:before {
    content: "";
    position: absolute;
    top: 13px;
    right: 20px;
    color: #fff;
    padding: 3px;
    border-bottom: 1px solid #fff;
    border-right: 1px solid #fff;
    transform: rotate(45deg);
}
.primary-menu > li > a{
	font-weight:500;
}
.primary-menu .sub-menu a, .primary-menu .children a{
	margin:0;
}
#zilla-mobile-menu>li {
    border-bottom: 1px solid #ffffff2e!important;
}
@media only screen and (max-width: 980px){
ul#zilla-mobile-menu li:hover ul.sub-menu,#zilla-mobile-menu ul.sub-menu{
    margin: 0;
    padding:0 0 10px 10px;
}
}
.primary-menu .sub-menu a, .primary-menu .children a{
	font-size:14px
}
.primary-menu .current-menu-item > a,.primary-menu .current_page_item > a
{border:none}
/***********************/

.mobilehide{display:block;}
.mobileshow{display:none;}
.mobilehidein{display:inline-block;}
.mobileshowin{display:none;}
@media screen and (max-width:700px){
.mobilehide{display:none;}
.mobileshow{display:block;}
.mobilehidein{display:none;}
.mobileshowin{display:inline-block;}
}

/***********************/
body{
	font-family:微軟正黑體!important;
}

.contact-form input[type=email], .contact-form input[type=text], .contact-form input[type=url] {
  margin:0px 0px 12px!important;
}

@media only screen and (min-width: 600px){
.contact-form input[type=email], .contact-form input[type=tel], .contact-form input[type=text], .contact-form input[type=url] {
    width: 100%!important;
	max-width:300px;
}
}
@media only screen and (min-width: 980px){
div.sharedaddy div.sd-block,div.jetpack-likes-widget-wrapper,.comments-title, #reply-title, .pings-title,.page-template-template-full-width-php .comments-area ,#commentform,.comment-list{
	margin:0 auto;
    width: 100%;
    max-width:1000px;
}}
span.comment-count,
span.author, 
span.entry-categories,
span.entry-tags{display:none;}

.comment-list, .pinglist,#commentform{
	box-shadow:0 0 15px rgba(0,50,80,0.6);
}
.post, article.page, article.attachment{
	overflow:unset;
}
.entry-title{
	font-size:25px !important;
	margin-bottom:0px;
}

.entry-content{
	width:100%;	
}
hr{
	margin-bottom:10px;
}
a:hover {
	text-decoration: none;
}

h2 {
	font-size: 32px;
	margin: 0 ;
}

p {	font-size: 16px;    
	margin-bottom: 10px;}
.flexslider .slides>li {
    padding: 10px;
}
input{width:30px;}
.primary-nav {
	max-width:1030px;
	margin:auto;
  width: 100%;
}
.contact-form input[type=email], .contact-form input[type=text], .contact-form input[type=url]{
	margin:0 10px;
}
select{
	margin:0 10px;
	width:100%;
  max-width: 300px;
}

ul.wp-block-gallery{
	margin:0;
}

.header-inner, .site-content, .footer-inner {
	max-width: none;	
}

.footer-lower .footer-inner {display:none}
.entry-title, .page.layout_2_col_sidebar .entry-title {
	text-align: center;
}

.single .site-main, .page .site-main {
	margin-left: 0;
}

.page-template-template-full-width-php .site-main {
	margin-right: 0;
}

article.page {
	background: none;
}

.home .site-content,.single .site-main, .page .site-main {
	width: 100%;
	margin-top: 1px;
}

.home .entry-title {
	display: none;
}

.home article.page,.home .entry-content, .home .entry-content img {
	margin: 0;
	padding: 0;
	text-align:center;
}
.post, article.page, article.attachment {
	box-shadow:none;
}
.home article.page {
	background-color: none;
	box-shadow: 0 0 0;
}
.site-content{
	width:95%;
}
.isotope-container{
	max-width:1000px;
	margin:auto;
}
.page .site-main{
	width:100%;
}
/*
.site-content {
	width: 100%;
	margin-top: 1px;
}*/
article.page, .entry-content,  .entry-content img {
	margin: 0;
	padding: 0;
}
.bg1,.bg2 {
	text-align: center;
	background: white;
	padding: 50px 0;
	margin-bottom: 0;
}

.bg2 {
	background: #F2F2F2;
}

.word {
	max-width: 800px;
	margin: auto;
	line-height: 1.5;
	padding: 20px;
}

.fit {
	max-width: 1200px;
	margin: auto;
}

.title {
	max-width: 300px;
	height: 2px;
	background: #0093BC;
}

.btn1 {
	padding: 5px 10px 6px;
	font-size: 14px;
	color: white;
	font-weight: 600;
	background: #0093BC;
	width: 100px;
	margin: 15px auto 5px;
	transition: all 200ms ease-in-out;
	text-align:center;
}

.btn1 a {
	color: white;
}

.btn1:hover {
	background: #00ABDB;
	transition: all 200ms ease-in-out;
}

.btn1:active {
	background: #0080A0;
}

.btn2 {
	text-align:center;
	vertical-align: bottom;
	padding: 2px 0 3px;
	width: 90px;
	margin: 20px auto;
	color: #0093BC;
	border-radius: 20px;
	border: 2px solid #0093BC;
	transition: all 200ms ease-in-out;
}

.btn2 a {
	color: #0093BC;
}

.btn2:hover {
	opacity: .7;
	border-color: #00ABDB;
	color:#00ABDB;
	transition: all 200ms ease-in-out;
}

.btn2:active {
	opacity: 1;
	border-color: #0080A0;
	color: #0080A0;
}
.bar2{
	max-width:470px;
	width:100%;
	min-height:330px;
	display:inline-block;
	padding:20px;
	margin:10px;
	box-shadow:0 0 10px rgba(0,80,120,0.7);	
	background:rgba(255,255,255,1);
	vertical-align:top;
}
.bar2>div{
	text-align:left;
	max-width:300px;
	margin:auto;
	font-size:15px;
	line-height:2;
}
@media screen and (max-width:500px) {
	.bg1,.bg2 {
		padding: 20px 0;
	}
	.bar2 h2{font-size:20px;}
	.bar2>div{font-size:12px;}
}
@media screen and (max-width:600px) {
.bar2{
	max-width:90%;
	}
}
/*-----熱門商品------*/
.prd {
	border: 1px solid #BBBBBB;
	height: 380px;
    vertical-align: top;
    padding-bottom: 20px;
    max-width: 280px;
    width: 100%;
    margin: 20px 5px;
	display: inline-block;
	border-radius: 10px;
	overflow: hidden;
	-webkit-filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
	-moz-filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
	-ms-filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
	filter: drop-shadow(0 0 3px rgba(0,0,0,0.4));
	background: white;
	transition: all 400ms ease-in-out;
}

.prd p {
	line-height: 2;
	margin:0;
	color:red;
}
.prd h3{ margin-top:20px;
	font-size:20px;
}

/*-----精選作品------*/
.album {
	max-width: 300px;
	display: inline-block;
	margin: 20px;
	overflow: hidden;
	position: relative;
	box-shadow: 0 0 4px rgba(0,0,0,0.4);

}

.album a{
	color: white;
	margin: 90px auto;
	font-weight: 600;
	font-size:20px;
}
.overlay {
	padding-top: 85px; 
	z-index: 10;
	position: absolute;
	top: 0px;
	left: 0;
	bottom: 0;
	right: 0;
	background: rgba(0,128,160,0.3);
	opacity: 0;
	transition: all 300ms ease-in-out;
	color: white;
		font-weight:600;
	font-size:25px;
	
}
@media screen and (max-width:600px){
	.overlay{opacity:1}
	
}

.overlay:hover {
	opacity: 1;
	transition: all 400ms ease-in-out;
}

.album .wp-block-image,.album p{
    margin-bottom: 0;
}

/*-----禮服精選------*/
.dress {
	display: inline-block;
	max-width: 213px;
	margin: 20px;
}

.dress img {
	transition: all 400ms ease-in-out;
}

.dress img:hover {
	transform: scale(1.2);
	transition: all 400ms ease-in-out;
	opacity: .8;
}
@media screen and (max-width:600px){
	.dress{max-width:90%;}
	
}
/*-----婚紗攝影------*/
.pht1,.pht2,.pht3 {
	display: inline-block;
	width: 300px;
	height: 700px;
	margin: 20px;
	overflow: hidden;
	position: relative;
}

.pht {
	position: absolute;
	top: 0;
	bottom: 0;
	left: 0;
	right: 0;
	opacity: 0.4;
	background: #505050;
	transition: all 500ms ease-in-out;
	z-index: 10;
}

.pht:hover {
	opacity: 0;
	transition: all 500ms ease-in-out;
}

.pht1 img {
	transform: scale(3) translate(60px,-20px);
}

.pht2 img {
		object-fit:cover;
	object-position:31% center;
	width:100%;
	height:700px;
}

.pht3 img {
	transform: scale(1.8) translate(-28px,40px);
}

@media screen and (max-width:500px) {
	.pht1,.pht2,.pht3 {
		width: 30%;
		height: 200px;
		margin: 1%;
	}
	.pht1 img {
	transform: scale(4) translate(19px,-5px);
}

.pht2 img {
		object-fit:cover;
	object-position:31% center;
	width:100%;
	height:200px;
}

.pht3 img {
	transform: scale(2) translate(-8px,15px);
}
	
}

/*-----服務介紹------*/
.service {
	display: inline-block;
	width: 360px;
	margin: 30px 10px;
	padding: 10px;
	vertical-align: top;
}

.service h3 {
	font-size: 23px;
	color: #0093ba;
	margin: 0;
}

.service p {
	margin: 0 0 20px;
}

@media screen and (max-width:500px) {
	.service {
		width: 100%;
		margin: 0;
		padding: 0;
	}
}

/*-----精選文章------*/
.toppost {
	vertical-align: top;
	display: inline-block;
	margin: 20px;
	max-width: 300px;
	background: white;
	overflow: hidden;
	box-shadow: 0 0 10px rgba(0,0,0,0.4);
	font-size:14px;
}
.toppost img{
	width:100%;
}
.detail {
	height: 350px;
}

.toppost h3 {
	font-size: 18px;
	margin: 10px 0;
	padding:0 10px;
}

.toppost p {
	text-align: left;
	padding:0 10px;
	margin: 10px 0;
}
/********posts**********/
.post-thumb img {
	width:100%;
}
.post .entry-title{
	margin:30px auto ;
}
.post.type-post .entry-content{
	max-width:1000px;
	width:100%;	
	margin:auto;
}


/*--------album2--------*/
.frame {
	width:100%;
	max-width:1200px;
	margin:auto;
  padding:2px;
  display: flex;
  flex-wrap: wrap; 
}
 .frame::after {
      content: '';
      flex-grow: 999999999;
}

 .photos {
    margin: 5px;
    position: relative;
    height: 200px;
    flex-grow: 1;
	 box-shadow:0 0 5px rgba(0,0,0,0.2);
	}
.photos img{
      max-width: 100%;
      min-width: 100%;
      height: 200px;
	    width:auto;
      object-fit: cover;
      vertical-align: bottom;
    }

/*----accordion-------*/
.accordion h3,.toggle h3 {
	padding:10px 11px;
	font-size:25px;
	font-family:"微軟正黑體", Arial, Helvetica, sans-serif;
	margin:0 0 2px;
	line-height:18px;
	color:#606060;
	cursor:pointer;
	position:relative;
	text-transform:none;
	background:#f1f1f1;
	transition:all 300ms ease 0s;
	-webkit-transition:all 300ms ease 0s;
	font-weight:500;
}
.accordion h3 span,.toggle h3 span {
	line-height:18px;
	display:block;
	padding:0 0 0 17px;
}
.accordion h3.active,.toggle h3.active,.accordion h3:hover,.toggle h3:hover {
	padding:20px;
	background:#fff;
	color:#000;
		font-size:29px;
	font-weight:800;
}
.accordion .accord_cont,.toggle .toggle_cont {
	padding:5px 0 2px 0;
	display:none;
}
/*********masonry*************/
/*********流動排版***********/
.masonry {
	-moz-column-count: 4;
/* Firefox */
	-webkit-column-count: 4;
/* Safari 和 Chrome */
	column-count: 4;
	-moz-column-gap: 12px;
	-webkit-column-gap: 12px;
	column-gap: 12px;
	max-width: 1280px;
	margin: 20px auto 0;
}

.masonry img {
/*border: 1px solid #DCDCDC;
	padding: 2px;*/
	width: 100%;
	filter: drop-shadow(0px 0px 0px rgba(0,0,0,0.3));
	transition: all .5s ease 0;
	z-index: 999;
}

.masonry img:hover {
	-moz-transform: scale(1);
	-ms-transform: scale(1);
	-o-transform: scale(1);
	-webkit-transform: scale(1);
	transform: scale(1);
	opacity: .8;
}

.item {
	padding: 0;
	margin-bottom: 12px;
	break-inside: avoid;
}

.item_content {
	margin-bottom: 5px;
}

@media screen and (max-width: 1200px) {
	.masonry {
		column-count: 3;
	}
}

@media screen and (max-width: 800px) {
	.masonry {
		column-count: 2;
	}
}

@media screen and (max-width: 500px) {
	.masonry {
		column-count: 1;
	}
}

/*----test------------*/
/* Pure CSS3 Lightbox start */
a.button {
	background: #000;
}

.lightbox-target {
	z-index: 999;
	position: fixed;
	width: 100%;
	opacity: 0;
	top: 0;
	right: 0;
	background: rgba(0,0,0,0.3);
	-moz-transition: opacity .5s ease-in;
	-o-transition: opacity .5s ease-in;
	-webkit-transition: opacity .5s ease-in;
	transition: opacity .5s ease-in;
	overflow: hidden;
}

.lightbox-target .content {
	max-width: 950px !important;
	width: 100%;
	height: 60%;
	background: #fff;
	color: #333;
	margin: auto;
	position: fixed;
	top: 12%;
	left: 0;
	right: 0;
	bottom: 0;
	max-height: 0;
	max-width: 0;
	-moz-transition: ease-in .5s;
	-o-transition: ease-in .5s;
	-webkit-transition: ease-in .5s;
	transition: ease-in .5s;
}

.lightbox-target img {
	margin: auto;
	position: absolute;
	top: 80px;
	left: 0;
	right: 0;
	bottom: 0;
	max-width: 0;
	width: auto;
	height: auto;
	-moz-transition: ease-in .5s;
	-o-transition: ease-in .5s;
	-webkit-transition: ease-in .5s;
	transition: ease-in .5s;
	padding: 10px;
	background: white;
}

.lightbox-target:target {
	opacity: 1;
	top: 0;
	bottom: 0;
}

.lightbox-target:target .content, .lightbox-target:target img {
	max-height: 80%;
	max-width: 950px;
}

.lightbox-target:target .lightbox-close {
	opacity: 1;
	top: 0;
	bottom: 0;
	width: 100%;
	height: 100%;
}

.lightbox-close {
	position: fixed;
	height: 0;
	opacity: 0;
	top: 0;
	right: 0;
	background: rgba(0,0,0,0.7);
	-moz-transition: opacity .5s ease-in;
	-o-transition: opacity .5s ease-in;
	-webkit-transition: opacity .5s ease-in;
	transition: opacity .5s ease-in;
	overflow: hidden;
}

@media screen and (max-width: 46em) {
	.lightbox-target img {
		top: 0;
	}
	
	.lightbox-target:target .content, .lightbox-target:target img {
		max-width: 90% !important;
		max-height: 100%;
	}
	
	.lightbox-target img {
		width: 100%;
	}
}
/*********footer***********/
.tagcloud a {
    display: inline-block;
    font-size: 15px!important;
    color: #ccc;
    border: 1px solid;
    padding: 0 5px;
    margin: 2px 0;
}

/**gallery***/
@media (min-width: 600px){
.blocks-gallery-grid.columns-4 .blocks-gallery-image, .blocks-gallery-grid.columns-4 .blocks-gallery-item, .wp-block-gallery.columns-4 .blocks-gallery-image, .wp-block-gallery.columns-4 .blocks-gallery-item {
    width: calc((100% - 48px)/4);
    margin-right: 7px;
	}}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    margin: 0 0px 7px 0;
    display: flex;
    flex-grow: 1;
    flex-direction: column;
    justify-content: center;
    position: relative;
}

.blocks-gallery-grid .blocks-gallery-image, .blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-image, .wp-block-gallery .blocks-gallery-item {
    width: calc((100% - 16px));
}
@media screen and (max-width:600px){
	.blocks-gallery-grid .blocks-gallery-item, .wp-block-gallery .blocks-gallery-item {
    width: calc((50% - 20px));
		    padding: 0 4px;
	}
	.wp-block-gallery {
		padding: 0 4px;}
}
/*******newform*******/
.span4-wrap,.jp-contact-form-date-wrap{
    max-width: 290px;
    display: inline-block;
    width: calc(100% - 20px);
    margin: 10px;
}
.span4-wrap select{
	margin:0px 0px 12px!important;
}
.contact-form .clear-form {
    clear: both;
    display: inline-block;
}
.selectbox-wrap label {
    width: 100%;
    max-width: 210px;
    text-align: left;
}
.selectbox-wrap label:nth-child(1) {
    text-align: center;
}
.selectbox-wrap {
    border: 1px solid #ddd;
    padding: 20px;
    margin: 20px 0;
}
.wp-block-columns{
	margin-bottom:0;
}
p {
	padding: 0px 20px 20px;
}
/*****group******/
.wp-block-group {
    display: inline-block;
}
/********slider2*********/
/**/
#slide {
  position: relative;
  max-width: 100%;
}
#slide .sbox {
  position: absolute;
  top: 0;
  left: 0;
  display: block;
  width: 100%;
  opacity: 0;
  visibility: hidden;
  transition: 0.8s;
}
#slide .sbox:first-child {
  position: static;
}
#slide .sbox.show{
  opacity: 1;
  visibility: visible;
}
#slide .sbox img{width:100%}
#slide .prev2, #slide .next2 {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  cursor: pointer;
  transition: 0.4s;
  background-color: rgba(0, 0, 0, 0.12);
  padding: 14px 12px;
}
#slide .prev2:hover, #slide .next2:hover {
  background-color: rgba(0, 0, 0, 0.24);
}
#slide .prev2:after, #slide .next2:after  {
  display: block;
  content: "";
  width: 10px;
  height: 10px;
  border-top: 2px solid #fff;
  border-right: 2px solid #fff;
}
#slide .prev2  {
  left: 0;
}
#slide .prev2:after{
  transform: rotate(-135deg);
  margin-left: 4px;
}
#slide .next2 {
  right: 0;
}
#slide .next2:after {
  transform: rotate(45deg);
  margin-right: 4px;
}
@media screen and (min-width:700px){
.topbanner{
    position: relative;
    max-width: 100%;
    height: calc(100vh - 200px);
    overflow: hidden;
}
	
.topbanner>div{
    position: absolute;
    height: 100%;
}


.topbanner>div img{
    object-position: center;
    object-fit: cover;
     height: calc(100vh - 200px);
}
.topbanner>img	{
	object-fit: cover;
    width: 100%;
    height: 100%;
    object-position: center;
	}
}

/************form*****************/
input{    overflow-x: auto;}
.formborder{
	background-color:#fff;
	max-width: 1000px;
	margin-bottom: 50px; 
	line-height: 1.5; 
	padding:40px 20px;
}
.formborder input,.formborder select{
    padding: 5px 5px;
		font-size: 15px;
	}
	.formborder form{padding: 20px;}
	.formborder .per3{
		width:30%;
		display: inline-block;
		min-width: 285px;
		margin:0 10px 20px;
		vertical-align:top;
	}
	.formborder .per2{
		width:46%;
		display: inline-block;
		min-width: 300px;
		margin-bottom: 20px;
		vertical-align:top;
	}


	.formborder .radio, .formborder .checkbox {
    display: inline-block;
	padding:5px 10px 5px 0px;
    margin-bottom: 0;
		margin-top: 0;
    min-height: 20px;
		width: 130px;
		vertical-align:top;
}
	.formborder .radio input, .formborder .checkbox input{
		min-width: auto;
	}

.formborder input[type="checkbox"] {
    margin-left: -20px;
    margin-top: 5px;
}
.formborder 	#visitDate{min-width: 188px;
}

input#btnSubmit {
    width: 100px;
    color: #fff;
	background: #494949;
	transition:all 500ms;
}
input#btnSubmit:hover{
	border-color:#888;
	background: #888;
}

/* fb洽談外掛程式 */
.fbicon{
	position:fixed;
	bottom: 80px;
	right:8px;
	width:60px;
	height:60px;
	margin: 0px 12px;
	z-index:9999;
}
