p{margin: 0;padding: 0;border: 0;outline: 0;font-size: 100%;vertical-align: baseline;background: transparent;}
img{max-width:100%;}
img { border: 0; -ms-interpolation-mode: bicubic; vertical-align: bottom;}
/* ======================
    Column Block
   ====================== */

.column-block { 
    float: left;
    margin-left: 5%; 
    margin-bottom: 60px;
}
.one-col.column-block {
    margin-left: 0px;
    float: none;
}

.one-third { 
    width:30%; 
}
.one-fourth { 
    width:21.25%; 
}
.one-fifth { 
    width:16%; 
}
.one-half { 
    width:47.5%; 
}
.two-third { 
    width:65%; 
}
.three-fourth { 
    width:73.75%; 
}

.be-no-space .one-third { 
    width:33.33%; 
}
.be-no-space .one-fourth { 
    width: 25%; 
}
.be-no-space .one-fifth { 
    width: 20%; 
}
.be-no-space .one-half { 
    width: 50%; 
}
.be-no-space .two-third { 
    width: 66.68%; 
}
.be-no-space .three-fourth { 
    width: 75%; 
}

.be-no-space { 
    display: table; 
    margin-bottom: 60px; 
}
.be-no-space.zero-bottom { 
    margin-bottom: 0; 
}
.be-no-space .column-block { 
    display: table-cell; 
    margin-left: 0px; 
    float: none; 
    vertical-align: top; 
}
.be-column-pad {
	padding: 100px 5%;
}
.one-third.be-column-pad, .one-fourth.be-column-pad, .one-col.be-column-pad, .two-third.be-column-pad, .three-fourth.be-column-pad {
    padding: 100px 5%;
}
.one-half.be-column-pad {
    padding: 100px 15% 100px 5%;
}
.one-half.be-column-pad:first-child {
    padding: 100px 5% 100px 15%;
}

.column-block *:last-child {
    margin-bottom: 0 !important;
}
.be-last-child {
    margin-bottom: 0 !important;
}

.be-row .column-block:first-child{
    margin-left: 0;
}
.be-row.zero-bottom .column-block {
    margin-bottom: 0;
}
.be-section .be-row:last-child .column-block {
    margin-bottom: 0;
}

.full-screen .element {
	width: 19.97%;
	margin: 0px;
}
.full-screen.three-col .element {
	width: 33.34%;
}
.full-screen.three-col .element.wide {
	width: 66.7%;
}
.full-screen.four-col .element {
	width: 25%;
}
.full-screen.four-col .element.wide {
	width: 50%;
}
.full-screen.five-col .element {
	width: 20%;
}
.full-screen.five-col .element.wide {
	width: 40%;
}

.full-screen-gutter  {
	margin-right: 45px;
}
.full-screen-gutter .element .element-inner{
	margin-left: 45px;
}
.full-screen-gutter .element {
	margin-bottom: 45px;
}

.element img {
	width: 100%;
}
.element-inner {
    overflow: hidden;
}
.element img {
    -webkit-transition: all 0.8s ease;
    -moz-transition: all 0.8s ease;
    -o-transition: all 0.8s ease;
    transition: all 0.8s ease;
}
.element:hover img {
    -webkit-transform: scale(1.2);
    -moz-transform: scale(1.2);
    -ms-transform: scale(1.2);
    -o-transform: scale(1.2);
    transform: scale(1.2);
}
.portfolio{
    margin-bottom: 50px;
    overflow: hidden;
}
.portfolio-archives .portfolio.full-screen {
    margin-bottom: 0px;
}
.portfolio-container {
	width: 100%;
	overflow: hidden;
}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {
	margin-bottom: 45px !important;
}
.full-screen .portfolio-container .element {
	margin-bottom: 0px !important;
}
.portfolio-container .thumb-overlay .thumb-icons i {
	line-height: 38px;
	display: block;
}
.portfolio-categories{
    list-style: none;
    padding: 0;
    margin-bottom: 10px;
}
.portfolio-categories li{
    float: left;
    margin-right: 10px;
    margin-bottom: 0;
}
.portfolio-title {
    margin-bottom: 0;
}
.portfolio-title h6 {
    margin-bottom: 5px;
}
.portfolio-title a {
    display: block;
}

.portfolio-content{ margin-bottom: 20px; }

.element .one-half , .element .be-button, .element img {
    margin-bottom: 0;
}
.element .be-row, .portfolio.one-col .element{
    margin-bottom: 50px;
}
 .three-col .portfolio-title , .four-col .portfolio-title, .two-col .portfolio-title, .related-items .portfolio-title{
    padding: 5px 5px 5px 0;
    margin: 12px 1px 1px !important;
}
.portfolio-content-wrap{
    padding-left: 10px;
}


.thumb-wrap {
    display: block;
}
.thumb-wrap, .thumb-bg{
    position: relative;
}
.thumb-overlay {
    position: absolute;
    overflow: hidden;
    width: 100%;
    height: 100%;
    top:0;
    left:0;
    display: none;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 0px;
}
.thumb-bg {
    width: 100%;
    height: 100%;
	display: table;
}
.thumb-bg .thumb-icons {
	display: table-cell;
	vertical-align: middle;
	text-align: center;
}
.thumb-title {
    text-align: center;
	display: table-cell;
	vertical-align: middle;
	font-size: 16px;
	color: #fff;
}
.thumb-titles {font-family:"微軟正黑體","Microsoft JhengHei","Arial", "Helvetica", "sans-serif"; font-size:12px; color: #ffffff; margin-top:30px;}

.popup-gallery {
    display: none;
}

.thumb-bg.act-table {
    display: table
}

.thumb-icons a{
    margin-right: 10px;
    padding: 6px 5px 4px 5px;
    display: inline-block;
    border-radius: 50%;
}
.thumb-icons .font-icon {
    font-size: 16px;
}

/* 行動版面: 480px 以下。 */
@media only screen and (max-width: 480px) {
.be-section-pad {padding: 30px 0 0 0;}

.full-screen-gutter  {margin-right:0;margin-left:0}
.full-screen-gutter .element .element-inner{margin-left: 20px; margin-right: 20px;}
.full-screen-gutter .element {margin-bottom: 20px;}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {margin-bottom: 30px !important;}

}

/* 表格版面: 481px 到 767px。樣式繼承自: 行動版面。 */
@media only screen and (min-width: 481px) {
.be-section-pad {padding: 30px 0 0 0;}

.full-screen-gutter  {margin-right:0; margin-left:0}
.full-screen-gutter .element .element-inner{margin-left: 20px; margin-right: 20px;}
.full-screen-gutter .element {margin-bottom: 20px;}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {margin-bottom: 30px !important;}

}

/* 表格版面: 768px 到 980px。樣式繼承自: 行動版面。 */
@media only screen and (min-width: 768px) {
.be-section-pad {padding: 30px 0 0 0;}

.full-screen-gutter  {margin-right:22px; margin-left:23px}
.full-screen-gutter .element .element-inner{margin-left:20px;margin-right:20px}
.full-screen-gutter .element {margin-bottom: 45px;}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {margin-bottom: 30px !important;}
}  

/* 表格版面: 981px 到 1280px。樣式繼承自: 行動版面。 */
@media only screen and (min-width: 981px) {
.be-section-pad {padding: 50px 2% 0 2%;}

.full-screen-gutter  {margin-right:0; margin-left:0}
.full-screen-gutter .element .element-inner{margin-left:22px; margin-right:22px}
.full-screen-gutter .element {margin-bottom: 45px;}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {margin-bottom: 30px !important;}

}

/* 桌面版面: 1281px 到最大 1824px。樣式繼承自: 行動版面和表格版面。 */
@media only screen and (min-width: 1281px) {
.be-section-pad {padding: 50px 5% 0 5%;}

.full-screen-gutter  {margin-right:0;margin-left:0}
.full-screen-gutter .element .element-inner{margin-left:22px; margin-right:22px}
.full-screen-gutter .element {margin-bottom: 45px;}
.portfolio-container .element:last-child,
.full-screen.full-screen-gutter .portfolio-container .element {margin-bottom: 45px !important;}



}

