
#close-toggle-sidebar:before{
display:none;
}
#header-search-button{
	display:none;
}
#lhc_need_help_image img {
   box-shadow: 0 0 10px rgba(0,0,0,0.5);
}
#lhc_status_container{
	width:130px !important;
	right:-140px !important;
}
#lhc_status_container:hover{
	right:0 !important;
}
.lineicon{
	position:fixed;
	bottom: 180px;
	right:12px;
	width:60px;
	height:60px;
	margin: 0px 12px;
	z-index:9999;
}
.fbicon{
	position:fixed;
	bottom: 100px;
	right:12px;
	width:60px;
	height:60px;
	margin: 0px 12px;
	z-index:9999;
}
.fb_dialog_content>iframe,.fb_iframe_widget iframe {
    bottom: 100px!important;
} 

@media (min-width: 1200px){
.container {
    width: 1200px;
	}}

@media only screen and (max-width: 768px){
#masthead #header-menu-button {
    top: 50%;
    font-size: 0px !important;
	}}
#header-search-button{
background-image: url(http://download.seaicons.com/icons/icons8/ios7/512/Very-Basic-Search-icon.png)!important;
    background-size: contain!important;
    background-repeat: no-repeat!important;
    background-color: white!important;
}
/*

#header-menu-button{
background-image: url(https://upload.wikimedia.org/wikipedia/commons/thumb/b/b2/Hamburger_icon.svg/220px-Hamburger_icon.svg.png)!important;
    background-size: contain!important;
    background-repeat: no-repeat
!important;
    background-color: white!important;
}
*/


.overlay, .portfolio-grid .hentry .entry-header a:before {
    background: #2e120a;
    background-color: rgb(46, 18, 10);
}
hr{border:none;
	background:rgba(0,0,0,0.1);
	height:1px;
}
.long{
	margin:0 30px;	
}
.small{
	font-size:13px;	
}
.lbar a {
	    background: #575154 !important;
    color: #fff!important;
    padding: 6px 30px 6px 25px!important;
    border-radius: 30px;
}


.lbar li>a {
	border: 0 !important;
}
.lbar .arrow-icon {
    right: 8px;
    color: #fff;
}

.sub-menu li>a>img {
    width: 23px;
}
.post img {
	margin: 10px 0;
	padding: 10px;
	box-shadow: 0 0 15px rgba(0,0,0,0.2);
}
#front-blog-items .post  img {
	margin:  0;
	padding: 0px;
	box-shadow: none;
}

#toggle-sidebar .mobile-navigation ul .menu-item-has-children a, #toggle-sidebar .mobile-navigation ul .page_item_has_children a, #toggle-sidebar .mobile-navigation ul:first-child > li:last-child a {
    padding: 9px;
}
.blog .post img {
	margin: 0;
	padding: 0;
	box-shadow: 0 0 0 rgba(0,0,0,0);
}

@media screen and (min-width: 640px) {
	.post {
		text-align: center;
	}
}

@media screen and (max-width: 641px) {
	.post {
		text-align: left;
	}
	
	.post img {
		padding: 5px;
	}
}

img {
	width: 100%;
}

body {
	font-weight: 20;
	color:#331a00;
    padding-right: 0px!important;
    padding-left: 0px!important;
}

h1,h2,h3,h4,h5,h6,p {
	color: #331a00;
}

h4 {
	margin-top: 0 !important;
	padding: 0;
}

.page-header {margin:0;}
.front-block, .front-block.featured-page .hentry-inner {
	padding-top:30px;
	padding-bottom: 50px;
}

.hr {
	height:2px;
	background-color: #331a00;
	max-width: 300px;
	margin: 0;
	max-width: 100%;
	margin-bottom:20px;
}
 
#masthead.scroll-header {
	box-shadow: 0 0px 50px rgb(0 0 0 / 10%);
}

.hr2 {
	height: 4px;
	background-color: #331a00;
	max-width: 300px;
	box-shadow: 0 3px 2px rgba(0,0,0,0.3);
	margin: 0 auto 10px;
}

.hr3 {
	border-radius: 10px;
	background-color: rgba(0,0,0,0.05);
	padding: 5px 0;
	text-align: center;
}

.page .entry-content h4 {
	margin: 0;
}

.chooses {
	padding: 0 4px 40px;
	display: inline-block;
}

.chooses:hover .icon {
	opacity: .6;
	transition: all .3s;
}

.hide1 {
	display: none;
}

@media screen and (min-width: 642px) {
	.hide1 {
		display: none;
	}
}

@media screen and (max-width: 641px) {
	.hide1 {
		display: inline-block;
	}
}

.link1 {
	color: white;
	position: relative;
	text-decoration: none;
	border: 0 solid;
	padding: 6px 13px;
	background: #331a00;
	font-weight: 500;
	margin: 10px;
	transition: all .3s;
	box-sizing: border-box;
	border-radius: 2px;
}

.choosed.link1 {
	background: rgba(200,200,200,0.3);
	color: #331a00;
	font-weight: 600;
}

.link1:hover {
	font-weight: 600;
	background: rgba(200,200,200,0.3);
	color: #331a00;
	transform: rotate(3.14159rad);
}

body {
/**/
	font-family: "serif";
}

/**/
#primary-header.has-background-cover .entry-title, #primary-header .entry-meta,.featured-page-content .entry-title,#masthead, #masthead a,.site-title,.item-menu {
	font-weight: 500;
}
.page {
    padding: 0 20px;
}

.page-template-regular-grid-page .grid-item .has-background-cover .entry-title,#primary-header.has-background-cover .entry-title, #primary-header .entry-meta,.featured-page-content .entry-title {
	
	text-align: center;
}

.overlay,.page-template-regular-grid-page .grid-item .hentry:hover .overlay, .portfolio-grid .hentry .entry-header a:before,.front-block .grid-row .hentry:hover .overlay, .front-blog-row .hentry:hover .overlay {
	opacity: .5;
}

.front-block .front-block-title {
	font-size: 46px;
	font-weight: 900;
	color: #331a00;
}

.front-block .front-block-title a {
	pointer-events: none;
	cursor: default;
}

.page-template-regular-grid-page .grid-item .has-background-cover .entry-title,.front-block-content {
	font-size: 20px;
	font-weight: 600;
}

.page-template-regular-grid-page .grid-item .entry-title a, .page-template-full-width-grid-page .grid-item .entry-title a {
	vertical-align: top;
	font-size: 30px;
	font-weight: 600;
}

/*精選文章 home*/

body.blog #content {
    margin-top: 0;
}
@media (min-width: 768px){
body.blog .site-header {
	margin-bottom:0px;
	}
}

.front-block.front-blog-posts .entry-header {
	vertical-align:top;	
	padding-top:0px;
}
.front-block.front-blog-posts .entry-header .entry-title{
	margin-bottom:0px;
}
.front-blog-row .hentry .entry-meta, .front-block.front-blog-posts .more-link {
	font-size: 20px;
	opacity:1;
}

.portfolio-grid .hentry.has-post-thumbnail .entry-header .entry-title {
	font-weight: 600;
}

.front-blog-row .hentry .entry-title {
	font-size: 25px;
}
#infinite-handle span{
	margin-top:30px;
		background-color:white;
	border-radius:20px;
}
figure.wp-block-gallery {
    margin-top: 50px;
}
/*去除大圖link*/
.featured-content .hentry a {
	pointer-events: none;
	cursor: default;
}

#primary-header {
	height: 43em;
	transition:all 300ms ease-in-out;
	    margin-bottom: 50px;
}
@media screen and (max-width:900px){
	#primary-header{
		height:30em;
		transition:all 300ms ease-in-out;
	}
}
@media screen and (max-width:500px){
	#primary-header{
		height:20em;
		transition:all 300ms ease-in-out;
	}
}
/*menubar*/
.mobile-navigation ul li a {
	font-size: 1rem;
}

.mobile-navigation > ul > * + * {
    margin-top: 1rem;
    padding-top: 1rem;
}

#content{
	margin-top:90px;
}
@media screen and (max-width:768px){
	#content{
	margin-top:70px;
}
}

#fullscreen-header{
	max-height:calc(100vh - 100px);
	min-height:auto;
}
.site-header {
    -webkit-transition: padding 200ms ease-in-out, opacity 200ms ease-in-out;
    background-color: transparent;
    left: 0;
    position: fixed;
    right: 0;
    text-shadow: 0 1px 1px rgba(0, 0, 0, 0.3);
    top: 0;
    transition: padding 200ms ease-in-out, opacity 200ms ease-in-out;
    z-index: 99998;
}
#masthead, #masthead a {
	color: black;
	opacity:1;
}
#masthead .sub-menu a{
	color:#fff;
}
header#masthead {
/*	background-color: rgba(33,10,00,0.5);*/
	background: rgba(255,255,255,1);
	box-shadow: 0 10px 70px rgb(0 0 0 / 30%);
}

#masthead.default-view-header, #masthead {
	padding: 10px;
	text-shadow:none;
}

@media screen and (min-width: 770px) {
	body, #fullscreen-header, #primary-header {
		margin-top: 0px;
	}
}

/*關掉大圖陰影*/
.page-template-front-page .has-background-cover .overlay {
	opacity: .01;
}
.has-background-cover .overlay {
    opacity: 0.01;
}
.page-template-front-page #front-blog-items article.has-background-cover .overlay {
    opacity: 0.5;
}

/*
#page .has-background-cover {
background-position: top center;
}*/
/*關掉大圖title*/
.hentry-inner.container .entry-title {
	display: none;
}

/**/
.front-block .grid-row .featured-page-inner .featured-page-content {
	vertical-align: bottom;
}

/*關掉精選頁面內容*/
.front-block.featured-page .entry-content,.front-block.featured-page .entry-summary {
	display: none;
}

.front-block.featured-page {
	border: 5px solid white;
}

.entry-header.has-background-cover {
	border: 5px solid white;
}

/*手機版箭頭*/
.mobile-view #fullscreen-header .featured-mobile-tip span {
	display: none;
}

.mobile-view #fullscreen-header .skip-to-entry:before {
	display: none;
}

/*作品集*/
.portfolio-grid .hentry.has-post-thumbnail .entry-header .entry-title {
	top: 30%;
	visibility: visible;
}

.portfolio-grid .hentry.has-post-thumbnail .entry-header a {
	opacity: 0;
}

.portfolio-grid .hentry.has-post-thumbnail .entry-header a {
	background:rgba(33,10,00,0.6);
	
}

.inactive-sidebar.single .site-main {
	max-width: 1200px;
}

/*文章*/
#masthead.default-view-header {
	background: white !important;
}

#masthead.default-view-header a {
	color: black !important;
}

#masthead.default-view-header  .sub-menu a {
	color: white !important;
}
.blog .site-main {
	max-width: 1200px !important;
	text-align:center;	
    display: flex;
    align-items: stretch;
    flex-wrap: wrap;
	    justify-content: center;
}
.blog .site-main > header + .hentry {
    border-top: none;
    margin-top: 10px;
    padding-top: 2rem;
}

.wp-block-button.is-style-outline .wp-block-button__link, .wp-block-button__link.is-style-outline {
    margin: 30px 0 0px;
}

div#default-view.container {
	margin-top: 10px;
}
.blog .hentry .more-link:hover, .archive .hentry .more-link:hover, .search .hentry .more-link:hover, .front-block.front-testimonials .more-link:hover, .front-block.featured-page .hentry:hover .more-link{
	background:#331a00;	
}
.infinite-wrap .post,
 .blog .post {
	display: inline-block;
	max-width: 350px;
	background-color: white;
	border: 0 solid;
	box-sizing: border-box;	
    border-radius: 20px;
	margin: 10px 5px;
	vertical-align: top;
	filter: drop-shadow(2px 4px 4px rgba(0,0,0,0.4));
	text-align: center;
}
@media (min-width: 500px){
.sm\:th-text-3xl {
    font-size: 1.7rem;
	}
}
.infinite-wrap .entry-content,
.blog  .post .entry-content {
	min-height: 164px;
}

.infinite-wrap .entry-footer,
.hentry .entry-footer {
	padding-bottom: 0;
}

.infinite-wrap .entry-meta,
.infinite-wrap .entry-thumb,
.infinite-wrap .more-link-container,
.blog  .entry-meta,
.blog  .entry-thumb,
.blog  .more-link-container,p {
	margin-bottom: 0px !important;
}

.infinite-wrap .entry-meta,
.blog  .entry-meta {
	padding-top: 0 !important;
}

.infinite-wrap .entry-title,
.blog  .post .entry-title {
	margin: 0;
	padding: 10px 10px 0 !important;
}

.infinite-wrap .entry-title,
.infinite-wrap .entry-content,
.infinite-wrap .entry-meta,
.blog  .post .entry-title,
.blog  .post .entry-content,
.blog  .post .entry-meta {
	padding: 10px 20px;
}

.infinite-wrap img,
.blog  .post img {
	max-height: 100%;
	max-width: 100%;
	width: auto;
	height: auto;
}

.blog .site-content::before {
	content: "";
	display: block;
	background-image: url('https://haopaiphoto.com/wp-content/uploads/2018/08/31.jpg');
	background-size: cover;
	background-repeat: no-repeat;
	background-position: center center;
	background-attachment: scroll;
	height: 70vh;
	margin-bottom: 70px;
}

#masthead.default-view-header,#masthead.default-view-header a {
	background: none;
	border: 0;
	color: white;
}

#masthead.scroll-header,#masthead.scroll-header a {
	color: black;
	background: white;
}
#masthead.scroll-header .sub-menu a{
	color:#fff;
} 

.main-navigation ul ul,.main-navigation ul ul a {
	background-color: #110403 !important;
}
.main-navigation ul:not(.sub-menu):not(.children) > li {
    margin: 5px 0 5px 22px;
}

#primary-header.has-background-cover .entry-meta, #primary-header.has-background-cover .entry-meta a {
	color: white;
}

#primary-header .entry-meta {
	font-size: 23px;
	border: 0;
	background-color: rgba(0,0,0,0) !important;
}
.read{
	color:grey;
	padding:10px 20px;
	border-radius:30px;
	border:2px solid #331a00;
  margin-top:20px;
	font-size:15px;
	font-weight:bold;
}
.read:hover{
	color:white;
	background:#331a00;
}
/*picturegallery01*/
.glry1,.glry2 {
	display: inline-block;
	max-width: 350px;
	margin: 5px 10px;
	transition: .3s all;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}
.glry2{max-width: calc(33% - 22px);}
@media screen and (max-width:1000px){
	.glry2{max-width: calc(50% - 23px);}
}
@media screen and (max-width:600px){
	.glry2{max-width: calc(100% - 22px);}
}

.glry1 a,.glry2 a{
	text-decoration:none;
}
.shadow {
	box-shadow: 3px -3px 0 1px rgba(10,10,10,0.2);
	background: rgba(0,0,0,0.2);
}

.shadow1 {
	box-shadow: 6px -6px 0 1px rgba(10,10,10,0.2);
}

.shadow2 {
	box-shadow: 9px -9px 0 1px rgba(10,10,10,0.1);
}

.shadow,.shadow1,.shadow2 {
	opacity: 1;
	transform: scale(1);
	transition: .3s all;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}

.glry3 {
	max-width: 1000px;
	margin: 30px auto;
}

.glry3 img {
	border: 1px solid rgba(0,0,0,0.2);
	padding: 10px;
	background: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.glry1 img,.glry2 img {
	opacity: 1;
	transform: scale(1);
	transition: .3s all;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
	border: 1px solid rgba(0,0,0,0.2);
	padding: 5px;
	background: white;
	box-shadow: 0 0 10px rgba(0,0,0,0.3);
}

.glry1 img:hover, .glry2 img:hover {
	opacity: .8;
	transform: scale(1.04);
	transition: .3s all;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}

.shadow:hover,.shadow1:hover,.shadow2:hover {
	box-shadow: 0 0 0 0 rgba(10,10,10,0.2);
	transform: scale(1.01);
	transition: .3s all;
	-o-transition: .3s all;
	-ms-transition: .3s all;
	-moz-transition: .3s all;
	-webkit-transition: .3s all;
	background: white;
}

.glry1 span, .glry2 span {
	color: #331a00;
	font-size: 30px;
	font-weight: 600;
	opacity: .7;
	position: relative;
}

.glry2 span {
	font-size: 25px;
}

.glry1 span:hover, .glry2 span:hover {
	opacity: 1;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}

.glry2 span:before {
	content: "";
	position: absolute;
	left: 0;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: black;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}

.glry1 span:before {
	content: "";
	position: absolute;
	left: 50%;
	bottom: -2px;
	width: 0;
	height: 2px;
	background: black;
	-o-transition: .3s all;
/* opera */
	-ms-transition: .3s all;
/* IE 10 */
	-moz-transition: .3s all;
/* Firefox */
	-webkit-transition: .3s all;
/*safari and chrome */
}

.glry1 span:hover:before, .glry2 span:hover:before {
	width: 100%;
	left: 0;
	right: 0;
}

.prd1 {
	margin: 20px;
	display: inline-block;
	max-width: 458px;
	vertical-align: middle;
	width: 100%;
}

.prd1 .price strong{
	color: #000;
	font-size: 14px;
	margin:0px;
}
.price{
	text-align:right;
	margin-right:10px;
	margin-bottom:20px;
	padding:8px;
	border-radius: 5px;
	background:white;
	font-size:20px;
	color:red;
	font-weight:bold;
}
.price>div>div{
  display:inline-block;
	vertical-align:top;	
	margin:0 9px;
}
.price>div{

	margin:auto;
}
.title{
	font-size: 30px;
	font-weight:600;
	position:relative;
	margin-bottom:20px;
}
.title:before{
	content:'';
  position:absolute;
	bottom:0;
	left:10%;
	right:10%;
	background:black;
	height:2px;
}

.prd2 {
	margin: 10px;
	display: inline-block;
	max-width: 333px;
	vertical-align: top;
	width: 100%;
	padding-bottom: 20px;
	min-height: 380px;
	background-color: white;
	border: 0 solid;
	border-radius: 10px;
    filter: drop-shadow(0px 0px 6px rgba(0,0,0,0.2));
}

.single .entry-content .prd2 h2 {
	margin-top: 0;
}

.prd2 p, .prd2 ul {
	text-align: left;
	padding: 20px;
}

.prd2 ul {
	padding-left: 40px;
}
.prd2 ul li {
    line-height: 1.8;
}

.single .entry-content .prd2 h2.hr3{
border-radius:10px 10px 0 0 ;
        font-size: 25px;
    padding:10px;
    margin-bottom: 0;
}
@media screen and (max-width:450px){
	.prd1,.prd2{
		margin:10px 0;
	}
	.price>div>div{
		display:block;
	}
	.price>div{
		width:135px;
	}
}

.btn {
	display: inline-block;
	color: white;
	font-size: 16px;
	border: 0;
	border-radius: 5px;
	background-color: rgba(50,10,0,0.9);
	margin: 7px;	
    text-decoration: none;   
    transition: all 600ms;
        padding: 9px 25px;
}

.btn2 {
	color: white;
	border: 1px solid black;
	box-sizing: border-box;
	border-radius: 20px;
	padding: 0 10px 1px;
	background-color: #331a00;
	margin-top: 7px;
	text-decoration: none;
}

.btn2:hover ,.btn2:focus{
	color: #331a00;
	border-color: rgba(0,0,0,0);
	background-color: rgba(0,0,0,0.1);
	text-decoration: none;
}

.btn:hover {
	border-color: rgba(0,0,0,0);
	background-color: rgba(100,50,0,0.3);    
    transition: all 600ms;
}

@media screen and (min-width: 1300px) {
	.map {
		position: absolute;
		width: 100%;
		left: 0;
	}
	
	.map0 {
		height: 800px;
	}
}

@media screen and (min-width: 1600px) {
	.map0 {
		height: 900px;
	}
}

.imgbox {
	display: inline-block;
	max-width: 48%;
	padding: 5px;
	width: 100%;
}

@media screen and (min-width:660px) {
	.imgbox {
		max-width: 24%;
	}
}

/*********流動排版***********/
.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%;
	}
}

/*totop*/
.totop {
	display: scroll;
	position: fixed;
	right: 24px;
	bottom: 24px;
	background-color: #330100;
	padding: 1%;
	font-size: 15px;
	border-radius: 5px;
	color: white !important;
	opacity: .7;
	-webkit-transition: all .5s;
	-moz-transition: all .5s;
	-o-transition: all .5s;
	-ms-transition: all .5s;
	transition: all .5s;
	z-index: 100;
}

/*footer*/
.widget .widget-title {
	font-size: 22px;
	font-weight: 600;
	text-align: center;
}
.widget.widget_authors > ul > li, .widget.widget_author_grid li, .widget.widget_jetpack_posts_i_like li, .widget.widget_top-posts li {
    padding: 0 0 20px;
}

.widget {
	text-align: center;
}

.widget.widget_tag_cloud a {
	font-size: 14px !important;
    text-decoration: none;
    color: #fff;
    background: #818181;
}

.widget.widget_tag_cloud  a:hover {
	color: white !important;
	background:#331a00;
}

#colophon .site-info {
	display: none;
}
@media (min-width: 992px){
.footer-widget {
    width: 33%;
}
}

.site-footer.th-py-lg {
    padding: 2rem 20px;
}
.site-footer a {
    text-decoration: none;
}
.widgets-list-layout-links {
    width: calc(100% - 53px);
}
ul.widgets-list-layout.no-grav li {
    border: 1px solid #ddd;
    padding: 10px;
    border-radius: 5px;
    text-align: left;
}

/******masonary'******/
.isotope-item {
z-index:2
}
.isotope-hidden.isotope-item {
pointer-events:none;
z-index:1;
}
.isotope,.isotope .isotope-item {
/* change duration value to whatever you like */ -webkit-transition-duration:0.8s;
-moz-transition-duration:0.8s;
transition-duration:0.8s;
}
.isotope {
-webkit-transition-property:height,width;
-moz-transition-property:height,width;
transition-property:height,width;
}
.isotope .isotope-item {
-webkit-transition-property:-webkit-transform,opacity;
-moz-transition-property:-moz-transform,opacity;
transition-property:transform,opacity;
}
#content2 {
max-width:1200px;
z-index:0;
margin-left:0px;
	margin:auto
overflow:hidden;
}
#filter ul {
margin-left:0px;
font-size:104%;
}
#filter {
margin-top:5px;
}
#filter ul li {
list-style:none;
float:left;
margin-right:15px;
padding:3px 10px;
margin-bottom:30px;
background:#f5f5f5;
display:initial;
box-shadow: inset 0 -1px 0 0 rgba(0,0,0,0.1);
}
#filter ul li a {
color:#333;
margin-bottom:20px;
}
#filter ul li .selected {
color: #e7402f !Important;
}
/* MASONRY */
.boxportfolio4 {
float:left;
width:calc(25% - 10px);
display:inline-block;
margin:0 4px 10px;
position:relative;
z-index:0;
}

@media screen and (max-width:900px){
.boxportfolio4 {
width:calc(50% - 5px);
margin:0 2px 4px;
}
	
}
@media screen and (max-width:500px){
.boxportfolio4 {
width:100%;
margin:0px 0 4px;
}	
	.container{
		padding-top: 40px;
	}
	.hentry-inner.container{
		padding-top:200px;
	}
}

.boxportfolio3 {
float:left;
	display:inline-block;
	margin-bottom:20px;
position:relative;
z-index:0;
width:31.23%;
margin-left:20px;
}
.boxportfolio2 {
float:left;
margin-left:20px;
width:47.90%;
display:inline-block;
margin-bottom:20px;
position:relative;
z-index:0;
}
.roll {
position:absolute;
font-size:30px;
width:100%;
margin:0px auto;
height:100%;
top:0px;
display:table-cell;
vertical-align:middle;
    background: #fff;
z-index:10;
    
opacity:0;
-ms-filter:progid:DXImageTransform.Microsoft.Alpha(Opacity=0);
filter:alpha(opacity=0);
zoom:1;
}
.boxcontainer {
border:1px solid #ededed;
background:#fff;
font-size:13px;
text-align:center;
transition:border 500ms ease-out;
-webkit-transition:border 500ms ease-out;
-moz-transition:border 500ms ease-out;
-o-transition:border 500ms ease-out;
/*border-bottom:medium double #ddd;*/
position:relative;
overflow:hidden;
}
.boxcontainer:hover {
/*border-bottom:medium double #ccc;*/
}
.boxcontainer p {
margin-bottom:10px;
color:#666;
}
.boxcontainer h1 {
font-size:13px;
line-height:1;
font-weight:bold; 
padding-left:10px;
padding-right:10px;
}
.boxcontainer h1 a {
padding-bottom:10px;
border-bottom:1px solid #eee;
display:block;
color:#666;
line-height:20px;
}
.boxcontainer img {
position:relative;
}
.wrapcaption {
position:absolute;
font-size:30px;
background:transparent;
width:100%;
margin:0px auto;
display:table-cell;
vertical-align:middle;
top: calc(50% - 26px);
}

.captionicons {
font-size:20px;
padding:4px 13px 8px;
background:#575154;
border-radius:50%;
color:#fff;
position:relative;
top:55%;
vertical-align:middle;
margin:0 auto;
}
.icon-zoom-in:before {
    content: "+";
}
.captionicons:hover {
opacity:0.9;
}
.wrapcaption a {
    text-decoration: none;
}
.wrapcaption a:hover{
	text-decoration:none;
	opacity:0.7;
}
.boxportfolio2 .captionicons {
top:57%;
}

/*****form*****/
button.swiper-pagination-bullet{
	min-height:0;
}
button, input, select, optgroup, textarea {
    min-height: 40px;
}
.contact-form select{padding: 7px ;}
