
@import url("../fonts/flaticon/flaticon.css");
@import url("revise.css");
@import url("header.css");
@import url("footer.css");
@import url("banner.css");


/*========================================================
                      	標題/文字設定
=========================================================*/

.s-header {
    text-align: center;
    overflow: hidden;
    margin-bottom: 40px;
}

.h2-title {
    color: #474547;
    text-align: left;
	font-size: 1.6rem;
	position: relative;
    z-index: 10;
}
.h2-title b {
    position: relative;
    z-index: 2;
    display: block;
}
.h2-title b:after {
    content: "";
    position: absolute;
    top: 50%;
    transform: translate(-0%,-40%);
    z-index: 1;
    width: 100%;
    height: 10px;
    margin-left: 14px;
    background-color: #ccc;
}
.h2-title b span {
    color: #006e4f;
}
.h2-title em {
	display: block;
    color: #333;
    text-align: left;
	font-size: 0.7rem;
    padding-left: 2px;
	margin-bottom: 4px;
	position: relative;
	font-style: normal;
	font-weight: bold;
}
.h2-title em span {
    color: #9f2323;
}

.h3-title {
    border-left: 7px solid #9f2323;
    padding-left: 10px;
    margin-bottom: 20px;
    font-size: 1.4rem;
    font-weight: bold;
}

.font-s1 {
    font-weight: bold;
    font-size: 1rem;
    color: #906;
    margin-bottom: 18px;
}


@media (min-width: 768px) {
	.h2-title {
		font-size: 1.8rem;
	}
    .h2-title em {
        font-size: 0.8rem;
    }
}
@media (min-width: 1200px) {
	.h2-title {
		font-size: 2rem;
	}	
    .h2-title em {
        font-size: 0.9rem;
    }
}


/*========================================================
                      	 內頁框架
=========================================================*/

.content-wrap {
    background: url("../img/content-bg.jpg") no-repeat center top fixed;
    background-size: cover;
    padding-top: 60px;
    padding-bottom: 60px;
    background-color: #fff;
}


/* 麵包屑 */
.breadcrumbs {
    background-color: #006e4f;
	text-align: left;
    font-size: 1rem;
    padding-top: 10px;
    padding-bottom: 10px;
    color: #fff;
}
.breadcrumbs a {
	display: inline-block;
	color: #fff;
}
.breadcrumbs a:hover {
	text-decoration: underline;
}
.breadcrumbs a.home i {
    display: inline-block;
    margin-right: 3px;
    color: #fff;
}
.breadcrumbs span {
	margin: 0 2px 0 4px;
	color: #7bc7b2;
	font-size: 1.4rem;
	font-weight: bold;
}


/*========================================================
                      	次選單設定
=========================================================*/

.navsub {
	margin-bottom: 40px;
	text-align: center;
    display: none;
}
.navsub-select {
    width: 100%;
    display: block;
}
.navsub-list {
	text-align: center;	
	margin-right: 30px;
	padding-bottom: 5px;
	background-color: #fff;
	border: 1px solid #ddd;
}
.navsub-list h2  {
	color: #fff;
	background-color: #3d89c9;
	padding: 12px 10px;
	text-align: center;
	margin: 0 0 10px 0;
    font-size: 2rem;
}
.navsub-list ul {
	list-style: none;
	margin: 20px 20px 40px 20px;
	padding: 0;
}
.navsub-list ul li {
}
.navsub-list ul li a {
	display: block;
	padding: 10px;
	color: #333;
	font-size: 18px;
	margin: 0 0 10px 0;
	background-color: #ededed;
}
.navsub-list ul li a:hover {
	color: #000;
	background-color: #d3d3d3;
}

.navsub-select {
    width: 100%;    
	margin-left: 15px;
	margin-right: 15px;
	}
.navsub-select h2 {
	text-align: center;
	}
.navsub-select .form-control {
	margin-bottom: 20px;
}


@media (min-width: 1200px) {
    .navsub {
        display: block;
    }
    .navsub-select {
        display: none;
    }
}


/*========================================================
                         回目錄頁
=========================================================*/

.btn-back {
	text-align: right;
	padding-top: 20px;
}
.btn-back a {
    background-color: #006e4f;
	padding: 5px 20px 7px;
	border-radius: 3px;
	color: #fff;
}
.btn-back a:hover {
    background-color: #096048;
	color: #fff;
	text-decoration: none;
}


/*========================================================
                         共同設定
=========================================================*/

.commonStyle {
    margin-bottom: 80px;
}
.commonStyle-img {
    margin-top: 30px;
    position: relative;
}

/* 尺寸設定 */
@media (max-width: 767px) {
    .commonStyle-img img {
        width: 49%;
        margin-bottom: 20px;
    }
}
@media (min-width: 768px) {
    .commonStyle-img {
        margin-top: 30px;
        position: relative;
        height: 340px;
        overflow: hidden;
    }
    .commonStyle-img img {
        width: 30%;
        clip-path: polygon(20% 0%, 100% 0%, 80% 100%, 0% 100%);
    }
    .commonStyle-img img:nth-of-type(1) { 
        clip-path: polygon(0 0, 100% 0%, 80% 100%, 0% 100%);
        position: absolute;
        left: -3%;
    }
    .commonStyle-img img:nth-of-type(2) { 
        position: absolute;
        left: 22%;
    }
    .commonStyle-img img:nth-of-type(3) { 
        position: absolute;
        left: 47%;
    }
    .commonStyle-img img:nth-of-type(4) {
        position: absolute;
        left: 72%;
        clip-path: polygon(20% 0%, 100% 0%, 100% 100%, 0% 100%);
    }
    .commonStyle-img {
        height: 155px;
    }
}
@media (min-width: 992px) {
    .commonStyle-img {
        height: 210px;
    }
}
@media (min-width: 1200px) {
    .commonStyle-img {
        height: 250px;
    }
}
@media (min-width: 1600px) {
    .commonStyle-img {
        height: 300px;
    }
}


/*========================================================
                         服務流程
=========================================================*/

#service-process {
    list-style: none;
    margin: 30px 0 50px 0;
    padding: 0;
    width: 100%;
    font-size: 1rem;
}
#service-process li {
    width: 100%;
    margin-bottom: 10px;
}
#service-process li span {
    color: #000;
    display: block;
    background: #ddd;
    text-decoration: none;
    position: relative;
    height: 50px;
    line-height: 44px;
    padding: 0 10px 0 5px;
    text-align: center;
    margin-right: 0;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 86%, 52.5% 86%, 50% 100%, 47.5% 86%, 0 86%);   
    clip-path: polygon(0 0, 100% 0, 100% 86%, 52.5% 86%, 50% 100%, 47.5% 86%, 0 86%);     
}
/*
#service-process li:hover span, 
#service-process li.active span {
    color: #fff;
    background-color: #006e4f;
}
*/
#service-process li:last-of-type span {
    margin-right: 0;
    -webkit-clip-path: polygon(0 0, 100% 0, 100% 86%, 52.5% 86%, 50% 86%, 47.5% 86%, 0 86%);   
    clip-path: polygon(0 0, 100% 0, 100% 86%, 52.5% 86%, 50% 86%, 47.5% 86%, 0 86%);       
}

@media (min-width: 992px) {
    #service-process {
        display: -webkit-flex;
        display: -moz-flex;
        display: -ms-flex;
        display: -o-flex;
        display: flex;
    }
    #service-process li {
        width: 25%;
        margin-bottom: 0;
    }
    #service-process li span {
        height: 50px;
        line-height: 50px;
        margin-right: -3%;
        -webkit-clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%, 5% 50%);   
        clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%, 5% 50%);   
    }
    #service-process li:first-of-type span {
        -webkit-clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);   
        clip-path: polygon(0 0, 95% 0, 100% 50%, 95% 100%, 0 100%);    
    }
    #service-process li:last-of-type span {
        margin-right: 0;
        -webkit-clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 50%);   
        clip-path: polygon(0 0, 100% 0, 100% 100%, 0 100%, 5% 50%);     
    }
}

.service-process-info dl {
    background-color: #f0f7f5;
    padding: 20px 30px;
    border-top: 1px dashed #62bba2;
    border-bottom: 1px dashed #62bba2;
    margin-bottom: 30px;
}

.service-process-info dl dt {
    display: inline-block;
    background-color: #006e4f;
    color: #fff;
    padding: 3px 10px;
    margin-bottom: 10px;
}
.service-process-info dl dt i {
    font-size: 0.9rem;
}


/*========================================================
                         作品實績
=========================================================*/

.performance-item {
    padding: 10px;
    box-shadow: 0 0 10px #adadad;
    margin-bottom: 40px;
}
.performance-item img {
    width: 100%;
    vertical-align: bottom;
}
.performance-item-info {
    padding: 20px 10px;
}
.performance-item-info h3 {
    font-weight: bold;
    font-size: 1.4rem;
    color: #006e4f;
    margin-bottom: 10px;
}
.performance-item-info p {
    margin: 0;
}



/*========================================================
                      作品實績內頁
=========================================================*/

/*

.performance-detail {
	max-width: 1170px;
	margin: 0 auto;
}
.performance-info h3 {
	font-size: 1.6rem;
	color: #9f2323;
    font-weight: bold;
    text-align: center;
}
.performance-info h4 {
	font-size: 24px;
	color: #fff;
	margin: 0 0 10px 0;
	font-weight: bold;
}

.performance-detail .slider-for > div {
	position: relative;
    margin-bottom: 20px;
}
.performance-detail .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.performance-detail .slider-for > div img {
	max-width: 100%;
	vertical-align: bottom;
    margin: 0 auto;
    max-height: 260px;
    border: 10px solid #ededed;  
}
.performance-detail .slider-nav {
	margin-bottom: 30px;
}
.performance-detail .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
}
.performance-detail .slider-nav > div img {
    vertical-align: bottom;
    cursor: pointer;
    height: 58px;
}


@media (min-width: 640px) {
    .performance-detail .slider-for > div img {
        max-height: 375px;
    }
    .performance-detail .slider-nav > div img {
        height: 56px;
    }
}
@media (min-width: 768px) {
    .performance-detail .slider-for > div img {
        max-height: 480px;
    }
    .performance-detail .slider-nav > div img {
        height: 79px;
    }
}
@media (min-width: 992px) {
	.performance-detail .slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
    .performance-detail .slider-for > div img {
        max-height: 500px;
    }
    .performance-detail .slider-nav > div img {
        height: 80px;
    }
}
@media (min-width: 1200px) {
    .performance-detail .slider-for > div img {
        max-height: 600px;
    }
    .performance-detail .slider-nav > div img {
        height: 97px;
    }
}
@media (min-width: 1600px) {
    .performance-detail .slider-for > div img {
        max-height: 600px;
    }
    .performance-detail .slider-nav > div img {
        height: 103px;
    }
}
*/



/*========================================================
                      商品購物內頁
=========================================================*/

.performance-detail {
	max-width: 1170px;
	margin: 0 auto;
}
.performance-detail h3 {
	font-size: 1.6rem;
	color: #9f2323;
    font-weight: bold;
    text-align: center;
}
/*圖片*/
.performance-detail .slider-for > div {
	position: relative;
	margin: 5px 5px 20px 5px;
}
.performance-detail .slider-for > div a:after {
	content: '';
	position: absolute;
	top: 10px;
	right: 10px;
	bottom: 10px;
	left: 10px;
}
.performance-detail .slider-for > div img {
	max-width: 100%;
	vertical-align: bottom;
    margin: 0 auto;
    max-height: 260px;
    border: 10px solid #ededed;  
}
.performance-detail .slider-nav {
	margin-bottom: 30px;
}
.performance-detail .slider-nav .slick-slide {
	margin: 0 5px 0 5px;
}
.performance-detail .slider-nav > div img {
    vertical-align: bottom;
    cursor: pointer;
    height: 58px;
    opacity: 0.7;
    border: 1px solid #fff;
}
.performance-detail .slider-nav .slick-current img {
    opacity: 1;
    border: 1px solid #999;
}

/* 尺寸設定 */
@media (min-width: 640px) {
    .performance-detail .slider-for > div img {
        max-height: 375px;
    }
    .performance-detail .slider-nav > div img {
        height: 56px;
    }
}
@media (min-width: 768px) {
    .performance-detail.slider-for > div img {
        max-height: 480px;
    }
    .performance-detail .slider-nav > div img {
        height: 79px;
    }
}
@media (min-width: 992px) {
	.performance-detail.slider-nav .slick-slide {
		margin: 0 5px 10px 5px;
	}
    .performance-detail .slider-for > div img {
        max-height: 440px;
    }
    .performance-detail .slider-nav > div img {
        height: 80px;
    }
}
@media (min-width: 1200px) {
    .performance-detail .slider-for > div img {
        max-height: 500px;
    }
    .performance-detail .slider-nav > div img {
        height: 94px;
    }
}
@media (min-width: 1600px) {
    .performance-detail .slider-for > div img {
        max-height: 600px;
    }
    .performance-detail .slider-nav > div img {
        height: 103px;
    }
}



/*========================================================
                         聯絡我們
=========================================================*/

.contact-box {
	padding-bottom: 50px;
	position: relative;
}
.contact-box > .row > .col-md-6 {
	padding-bottom: 50px;
}

.contact-list h2 {
	border-left: 10px solid #ce4737;
	padding: 10px;
	margin-bottom: 20px;
	background-color: #f4f4f4;
	font-size: 24px;
}
.map ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.map ul li {
	list-style: none;
	margin: 0;
	padding: 5px 0 5px 50px;
	position: relative;
	min-height: 40px;
	margin-bottom: 10px;
}
.map ul li b {
	font-weight: bold;
	font-size: 20px;
	display: block;
	color: #476b89;
}
.map ul li i {
	list-style: none;
	margin: 0;
	padding: 5px 0;
}
.circle {
	width: 40px;
	height: 40px;
	border-radius: 20px;
	font-size: 20px;
	color: #fff;
	line-height: 40px;
	text-align: center;
	background: #476b89;
	position: absolute;
	left: 0;
	top: 10px;
	z-index: 9;
}
.map ul li [class^="flaticon-"]:before, 
.map ul li [class*=" flaticon-"]:before, 
.map ul li [class^="flaticon-"]:after, 
.map ul li [class*=" flaticon-"]:after {
    margin-right: 0px;
}




/* 尺寸設定 */

@media (min-width: 992px) {
	.contact-box > .row > .col-md-6:nth-of-type(1) {
		padding-right: 50px;
	}
	.contact-box > .row > .col-md-6:nth-of-type(2) {
		padding-top: 20px;
		padding-left: 50px;
	}
}




/*========================================================
                         各類表單
=========================================================*/

.contact-info {
    
}
.contact-info ul {
	list-style: none;
	margin: 0;
	padding: 0;
}
.contact-info ul li {
	list-style: none;
/*	padding: 5px 0 5px 60px;*/
	position: relative;
	margin-bottom: 10px;
}
.contact-info ul li i {
    display: inline-block;
    width: 20px;
    text-align: center;
	margin: 0 5px;
	padding: 5px 0;
}
.contact-info ul li:nth-of-type(1) i {
    color: #e71c30;
}
.contact-info ul li:nth-of-type(2) i {
    color: #028ad3;
}
.contact-info ul li:nth-of-type(3) i {
    color: #2e9876;
}
.contact-info ul li:nth-of-type(4) i {
    color: #cd7f0c;
}


/* 說明 */
.form-info {
	border: 2px dashed #adadad;
	padding: 20px 20px 20px 100px;
	background: #f7f7f7 url(../images/warning.png) no-repeat 20px center;
	margin-bottom: 20px;
	min-height: 60px;
}
.form-info p {
	margin-bottom: 6px;
}

/* 表單設定 */
.form-horizontal {
	margin-bottom: 40px;
}
.form-horizontal .control-label {
	color: #333;
}
.form-horizontal .form-control {
	border-radius: 0;
	padding: 5px 20px 5px 40px;
	border: 1px dashed #c4c4c4;
	background-color: #f6f6f6;
}
.form-control {
    background-color: #f6f6f6;
	height: 40px;
}	
.form-control::-moz-placeholder {
	color: #666;
	opacity: 1;
	font-size: 16px;
	font-weight: bold;
}
.form-control:-ms-input-placeholder {
	  color: #666;
}
.form-control::-webkit-input-placeholder {
	  color: #666;
}

/* 意見表單 */
.contact-form {
	margin-bottom: 20px;
}
.contact-form [class *= col-] {
	position: relative;
	margin-bottom: 10px;
}
.contact-form [class *= col-] i {
    display: block;
    font-size: 1rem;
    color: #666;
    width: 28px;
    line-height: 28px;
    text-align: center;
    background-color: #f6f6f6;
    position: absolute;
    left: 24px;
    top: 6px;
    border-radius: 5px;
    transition: all 0.4s ease;
}
.contact-form [class *= col-] i.text-red {
    color: #333;
}

.form_out .col-md-2 {
	text-align: left;
	font-weight: bold;
}
.form-group {
	padding: 10px 15px;
	margin-bottom: 0 !important;
}
.form-group:nth-of-type(2n+2) {
	background-color: #ededed;
}
.form-group b {
	display: block;
	font-size: 15px;
}
.input {
	text-decoration: none;
	border: 1px solid #c7c7c7;
	width: 100%;
	padding: 2px 2px;
}

/* 尺寸設定 */
@media (min-width: 768px) {
	.form-info {
		padding: 20px 20px 20px 70px;
	}
	.form-info {
		margin-right: 15px;
	}
	.input {
		width: 40%;
	}
	.form-group b {
		display: inline-block;
	}
}

/*========================================================
                           表格
=========================================================*/

.table1 {
	border-collapse: collapse;
	text-align: center;
	margin: 0 0 20px 0;
	font-size: 15px;
	border: 1px solid #c0bebe;
}
.table1 th {
	background-color: #1f6dae;
	color: #fff;
    font-size: 1.1rem;
	font-weight: bold;
	padding: 10px 10px !important;
	text-align: center;	
	border-top: 0 !important;
	border-bottom: 1px solid #c0bebe;
    border-right: 1px solid #fff;
}
.table1 th:last-of-type {
    border-right: 1px solid #c0bebe;
}
.table1 td {
	padding: 5px 5px !important;
	border: 1px solid #c0bebe;
    vertical-align: middle;
}
.table1 td.left {
	text-align: left;
}

.table1 td.img img {
	width: 80px;
	}


/*========================================================
                         ul設定
=========================================================*/

.ul-s1 {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: left;
}
.ul-s1 > li {
    padding: 0 0 0 40px;
    margin-bottom: 20px;
    position: relative;
}
.ul-s1 > li span {
	width: 30px;
	height: 30px;
	border-radius: 15px;
	font-size: 1rem;
	color: #000;
	line-height: 30px;
	text-align: center;
	background-color: #a4ce5c;
    position: absolute; 
    left: 0; 
    top: 0; 
    z-index: 9; 
    font-weight: bold;
}


/*========================================================
                         圖片效果
=========================================================*/

a.figure {
	display: block;
	position: relative;
}
a.figure:hover:before {
    opacity: 1;
    -webkit-transform: scale(1);
    transform: scale(1);
}
a.figure:before {
    position: absolute;
    top: 10px;
    bottom: 10px;
    left: 10px;
    right: 10px;
    content: '';
    display: inline-block;
    background: rgba(255,255,255,0.15) url(../img/magnifier.png) no-repeat center center;
    opacity: 0;
    -webkit-transform: scale(0.5);
    transform: scale(0.5);
    transition: .3s;
}



.effect-julia {
    background-color: #2f3238;
    overflow: hidden;
    position: relative
}
.effect-julia > a {
    width: 100%;
    height: 100%;
    display: block
}
.effect-julia > a img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    backface-visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: opacity 1s ease 0s, transform 1s ease 0s;
    -o-transition: opacity 1s ease 0s, transform 1s ease 0s;
    transition: opacity 1s ease 0s, transform 1s ease 0s
}
.effect-julia:hover > a img {
    opacity: .4;
    filter: alpha(opacity=40);
    -webkit-transform: scale3d(1.1, 1.1, 1);
    -moz-transform: scale3d(1.1, 1.1, 1);
    -ms-transform: scale3d(1.1, 1.1, 1);
    -o-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1)
}

.effect-overlay {
    position: relative;
    overflow: hidden
}
.effect-overlay > a:before {
    background: none repeat scroll 0 0 rgba(0, 0, 0, .1);
    height: 100%;
    content: "";
    display: block;
    left: -100%;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    -webkit-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
    width: 100%
}
.effect-overlay > a:after {
    background: none repeat scroll 0 0 rgba(0, 0, 0, .1);
    height: 100%;
    content: "";
    display: block;
    right: -100%;
    opacity: 0;
    filter: alpha(opacity=0);
    position: absolute;
    top: 0;
    -webkit-transition: all 0.6s ease 0s;
    -o-transition: all 0.6s ease 0s;
    transition: all 0.6s ease 0s;
    width: 100%
}
.effect-overlay > a:hover:before {
    left: 0;
    opacity: 1;
    filter: alpha(opacity=100)
}
.effect-overlay > a:hover:after {
    right: 0;
    opacity: 1;
    filter: alpha(opacity=100)
}

.effect-layla > a {
    position: relative;
    display: inline-block;
    overflow: hidden
}
.effect-layla > a img {
    position: relative;
    width: 100%;
    height: 100%;
    display: block;
    backface-visibility: visible;
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out
}
.effect-layla > a:before, .effect-layla > a:after {
    position: absolute;
    z-index: 9;
    content: "";
    opacity: 0;
    filter: alpha(opacity=0);
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out
}
.effect-layla > a:before {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
    -webkit-transform: scale(0, 1);
    -moz-transform: scale(0, 1);
    -ms-transform: scale(0, 1);
    -o-transform: scale(0, 1);
    transform: scale(0, 1);
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center
}
.effect-layla > a:after {
    top: 10px;
    right: 10px;
    bottom: 10px;
    left: 10px;
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
    -webkit-transform: scale(1, 0);
    -moz-transform: scale(1, 0);
    -ms-transform: scale(1, 0);
    -o-transform: scale(1, 0);
    transform: scale(1, 0);
    -webkit-transform-origin: center;
    -moz-transform-origin: center;
    -ms-transform-origin: center;
    -o-transform-origin: center;
    transform-origin: center
}
.effect-layla:hover > a img {
    -webkit-transform: scale3d(1.1, 1.1, 1);
    -moz-transform: scale3d(1.1, 1.1, 1);
    -ms-transform: scale3d(1.1, 1.1, 1);
    -o-transform: scale3d(1.1, 1.1, 1);
    transform: scale3d(1.1, 1.1, 1)
}
.effect-layla:hover > a:before, .effect-layla:hover > a:after {
    opacity: 1;
    filter: alpha(opacity=100);
    -webkit-transform: scale(1);
    -moz-transform: scale(1);
    -ms-transform: scale(1);
    -o-transform: scale(1);
    transform: scale(1)
}
.effect-layla a div {
	position : absolute;
	top: 50%;
	left: 50%;
	transform: translate(-50%,-50%);
	z-index: 9;
    color: #fff;
    font-size: 2rem;
    text-shadow: 1px 1px 5px #333;
    opacity: 0;
    -webkit-transition: all 0.5s ease-in-out;
    -o-transition: all 0.5s ease-in-out;
    transition: all 0.5s ease-in-out
}
.effect-layla a:hover div {
	opacity: 1;
}

