#page4 > div {
    width: 46%;
    margin: 5% 2%;
    min-height: 50px;
    float: left;
}
#page4 > div > a {
    display: block;
    width: 60%;
    font-weight: bold;
    text-align: center;
    text-decoration: none;
    margin: auto;
}
#page4 > div > a > * {
    display: block;
    width: 100%;
    text-align: center;
}
#page4 > div > a > h1 {
    font-size: 30px;
    margin-bottom: 15px;
    line-height: 30px;
    color: #BA6800;
}
#page4 > div > a.bef-aft-gal > img, #page4 > div > a.bef-aft-gal > span
{
    cursor: pointer;
}
#popup-bg {
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    top: 0;
    position: fixed;
    display: none;
    z-index: 999999;
}
#popup-gal-img {
    margin: auto;
    display: block;
    box-shadow: 0 0 20px #000;
    position: relative;
    top: 20px;
}
#close-popup {
    padding: 15px 10px 27px 25px;
    border-bottom-left-radius: 100%;
    position: absolute;
    cursor: pointer;
    top: 0;
    background-color: rgba(0, 0, 0, 0.5);
    color: #fff;
    right: 0;
    z-index: 9999;
}
#popup-img-list {
    max-height: 110px;
    min-height: 110px;
    background-color: #fff;
    position: absolute;
    width: 100%;
}
#popup-img-list > div > div {
    display: inline-flex;
    position: absolute;
    top: 110px;
    left: 30px;
}
#popup-img-list > div > .current-list {
    -webkit-transition: all linear 0.1s;
    -moz-transition: all linear 0.1s;
    -o-transition: all linear 0.1s;
    transition: all linear 0.1s;
    top: 0;
}
#popup-img-list > div > div > img {
    max-height: 100px;
    min-width: 140px;
    margin: 5px;
}
#popup-img-list span {
    width: 0px;
    height: 0px;
    position: absolute;
    top: 0;
    z-index: 999999;
    border-top: 55px solid #fff;
    border-bottom: 55px solid #fff;
    border-right: 30px solid rgb(252, 81, 81);
    border-left: none;
    cursor: pointer;
    -webkit-transition: all linear 0.3s;
    -moz-transition: all linear 0.3s;
    -o-transition: all linear 0.3s;
    transition: all linear 0.3s;
}
#popup-img-list span:nth-child(2) {
    right: 0;
    border-right: none;
    border-left: 30px solid rgb(107, 223, 101);
}
#before-btn, #after-btn {
    display: block;
    padding: 0px 10px;
    position: absolute;
    border-radius: 0 0 20px 20px;
    width: 100px;
    text-align: center;
    background-color: rgba(0, 0, 0, 0.7);
    line-height: 30px;
    color: #fff;
    right: 10px;
    bottom: 120px;
    cursor: pointer;
}
#before-btn {
    bottom: 150px;
    border-radius: 20px 20px 0 0;
    border-bottom: 2px solid #FFF;
}
#after-btn, #before-btn {
    -webkit-transition: all linear 1s;
    -moz-transition: all linear 1s;
    -o-transition: all linear 1s;
    transition: all linear 1s;
    background-color: rgba(0, 0, 0, 0.7);
}
.bef-aft-active {
    background-color: rgba(74, 247, 63, 0.7) !important;
}
