  /* CSS Document */

.p-befor_after{
    margin: 0 1px;
}

.p-before_box,.p-after_box{
    flex: 0 0 auto;
    width: 470px;
}
.p-before_box{
    background-color: #e6e6e6;
}
.p-after_box{
    background-color: #cce9da;
}

.p-befor_after__img{
    position: relative;
    cursor: pointer;
}

.p-after_box .p-befor_after__img::before{
    content: "";
    display: block;
    position: absolute;
    box-sizing: border-box;
    background-color: rgba(0,146,69,0.2);
    border: rgba(0,146,69,0.5) 2px solid;
    border-radius: 6px;
    opacity: 0;
    width: 100%;
    height: 100%;
    top:0px; left: 0px;
    transition: all 0.3s;
}
.p-after_box .p-befor_after__img:hover::before{
    opacity: 1;
    transform: scale(1.06,1.06);
}

.p-befor_after__txt{
    padding: 0.875rem 0.9375rem;
    font-size: 0.875rem;
}
#main .p-befor_after__txt h4{
    margin: 0 0 0.5rem;
}


/*lightbox_before_after*/

.p-lightbox_layer{
	display: none;
	opacity: 0;
	background-color: rgba(0,0,0,0.7);
	transition: opacity 0.3s;
	position: fixed;
	top:0px; left: 0px;
	width: 100%;
	height: 100%;
	z-index: 999;
	box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.8);
	justify-content: center;
	align-items: center;
}
.p-lightbox_layer.is-open{
	opacity: 1;
}
.p-lb_content{
	flex: 0 0 auto;
	width: 900px;
	position: relative;
	background-color: #fff;
	box-sizing: border-box;
	padding: 0;
	height: 760px;
}

.p-lightbox_closeBtn{
	position: absolute;
	top:-20px; right: -20px;
	width: 44px; height:44px;
	background: #009245 url(/tech/green_infra/images/close_btn.svg) no-repeat 50% 50%;
	border-radius: 50%;
	border: #e0e0e0 2px solid;
	box-shadow: 1px 2px 18px -2px rgba(0,0,0,0.6);
	cursor: pointer;
	transition: background-color 0.2s;
}
.p-lightbox_closeBtn:hover{
	background-color: #006d31;
}

@media print{
    #body.no_print{
        display: none;
    }
    .p-lightbox_layer{
        background-color: rgba(0,0,0,0);
    }
    .p-lb_content{
        width: 80%;
        height: auto;
    }
    .p-lightbox_layer img{
        width: 100%;
        height: auto;
    }
    .p-lightbox_closeBtn{
        display: none;
    }
}

