#footer, #footer2 {
    text-align: center;
}

div#footer {
    background-color: #403030;
    width: 100%;
    padding: 60px 0;
    line-height: 1.5em;
    letter-spacing: 3px;
}

div#footer:lang(en) {
    background-color: #403030;
    width: 100%;
    padding: 60px 0;
    line-height: 1.5em;
    letter-spacing: 0px;
}

#footer, #footer {
    color: #FFFFFF;
}

#footer > ul {
    display: inline-block;
    margin: 0;
    padding: 0;
    text-align: left;
    margin-right: 70px;
    position: relative;
    vertical-align: top;
}

#footer > ul > li {
    list-style-type: none;
}

#footer > ul > li:hover {
    cursor: pointer;
    color: #986A50;
}

#footer > ul:last-child {
    margin-right: 0;
}

#footer > ul > li:first-child {
    margin-bottom: 20px;
}

#footer2 {
    background-color: #403030;
    width: 100%;
    padding-bottom: 40px;
    color: #FFFFFF;
    line-height: 1.5em;
}

#footer2 {
    font-size: 13px;
}

/* body.fontsize_small #footer2{
	font-size: 11px;
}
body.fontsize_normal #footer2{
	font-size: 13px;
}
body.fontsize_large #footer2{
	font-size: 15px;
} */

ul#f2 > li {
    list-style-type: none;
    display: inline-block;
    margin-right: 20px;
    cursor: pointer;
}

ul#f2 > li:last-child {
    margin-right: 0;
}

.footer_popup_mask {
    background: #000;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0px;
    opacity: 0.7;
    z-index: 10;
}

.footer_popup {
    display: none;
    z-index: 9459;
    text-align: left;
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
}

.footer_popup.active {
    display: block;
}

.footer_popup_wrapper {
    position: relative;
    z-index: 12;
    background: #fff;
    width: 90%;
    /* margin: 0 auto; */
    left: 0;
    /* margin-left: -490px; */
    right: 0;
    margin: 0 auto;
    /* height: 80%; */
    /* top: 100px; */
    max-width: 960px;
}

.footer_popup_header {
    text-align: center;
    background: #986A50;
    color: #fff;
    letter-spacing: 0px;
    min-height: 20px;
    padding: 10px 40px;
    line-height: 1.25em;
}

.footer_popup_content {
    padding-top: 30px;
    padding-left: 20px;
    padding-right: 10px;
    padding-bottom: 20px;
    /* font-size: 12px; */
    color: #4C4C4E;
    overflow: auto;
    height: 500px;
    /* margin-top: 11px; */
    text-align: left;
    /* width: 96%; */
}

.footer_popup_footer {
    height: 40px;
    background-color: #986A50;
}

.footer_popup_content_text {
    color: #886f50;
    line-height: 20px;
    text-align: left;
}

.footer_popup_content_para {
    padding-bottom: 20px;
    text-align: left;
}

.footer_popup_content_text ul {
    list-style: inherit;
    padding-left: 20px;
}

.footer_popup_content_text ol {
    list-style: lower-roman;
    padding-left: 35px;
}

.map_close_btn {
    position: absolute;
    top: 5px;
    right: 10px;
    text-align: right;
    z-index: 9999;
    display: block;
    width: 25px;
    height: 25px;
}

.footer_contact {
    padding-top: 30px;
}

body.fontsize_small .footer_contact {
    font-size: 19px;
}

body.fontsize_normal .footer_contact {
    font-size: 21px;
}

body.fontsize_large .footer_contact {
    font-size: 23px;
}

span.map_close_btn_icon {
    background-image: url("../../../zh-hk/images/map/visit_point.png");
    background-repeat: no-repeat;
    display: inline-block;
    width: 25px;
    height: 25px;
    background-position: 0px -105px;
    cursor: pointer;
}


#tempCloseWrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 15;
    width: 100%;
    height: 100%;
}

#tempCloseWrapper #overlay {
    background-color: #FFF;
    width: 100%;
    height: 100%;
    opacity: 0.7;
    position: absolute;
}

#tempCloseContent {
    position: absolute;
    width: 500px;
    max-width: 960px;
    /* background-image: url(./../../images/gy_n.jpg); */
    /* height: 60vh; */
    /* min-height: 500px; */
    background-size: contain;
    background-position: right top;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /* padding-top: 25.9%; */
    background-repeat: no-repeat;
}

#tempCloseImg {
    display: none;
}

#tempCloseInnerWrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.tempCloseImg {
    width: 100%;
}

#tempCloseText {
    position: relative;
    width: 100%;
    padding: 25px 30px;
    /* height: auto; */
    box-sizing: border-box;
    color: #986A50;
    font-family: FangSong;
}

#tempCloseText:before {
    content: '';
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    background-color: #FFF;
    opacity: 0.8;
}

.tempCloseTitle {
    display: block;
    position: relative;
    font-weight: bold;
    text-align: left;
    margin-bottom: 40px;
}

.tempCloseTxt {
    position: relative;
    text-align: left;
    margin-bottom: 5px;
    /* font-family: FangSong; */
}

#btntempClose {
    background-position: 0 -130px;
    position: absolute;
    right: 10px;
    top: 10px;
    width: 25px;
    height: 25px;
    background-image: url("../../../zh-hk/images/map/visit_point.png");
    background-repeat: no-repeat;
    cursor: pointer;
    z-index: 1;
}

.eventlightboxWrapper {
    display: block;
    position: absolute;
    top: 0;
    left: 0;
    z-index: 13;
    width: 100%;
    height: 100%;
    visibility: hidden;

}

.eventlightboxWrapper.active {
    visibility: visible;
}

.eventlightboxWrapper .overlay {
    display: block;
    position: absolute;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    -ms-filter: "progid:DXImageTransform.Microsoft.Alpha(Opacity=80)";
    filter: alpha(opacity=80);
    -moz-opacity: 0.8;
    -khtml-opacity: 0.8;
    opacity: 0.8;
}

.eventlightboxWrapper .lightbox {
    background: #F0EBE1;
    position: absolute;
    width: 90%;
    max-width: 600px;
    left: 50%;
    top: 50%;
    padding: 35px 20px;
    background-repeat: no-repeat;
    transform: translate(-50%, -50%);
    box-sizing: border-box;
}

.eventlightboxWrapper .grid_popup_pic_wrapper {
    position: relative;
}

.eventlightboxWrapper .eventpopImg {
    /*    width: 100%;*/
    width: auto !important;
    max-width: 100%;
    left: 0;
    right: 0;
    margin: 0 auto;
    display: block;
    max-height: 400px;
}

.eventlightboxWrapper .eventlightbox_close_btn {
    position: absolute;
    right: 5px;
    top: 5px;
    cursor: pointer;
}

.eventlightboxWrapper span.map_close_btn_icon {
    background-position: 0 -130px;
}

.eventlightboxWrapper .slick-arrow {
    position: absolute;
    top: 50%;
    width: 44px;
    height: 44px;
    border: none;
    border-radius: 50%;
    background: white;
    background: hsla(0, 0%, 100%, 0.75);
    cursor: pointer;
    -webkit-transform: translateY(-50%);
    -ms-transform: translateY(-50%);
    transform: translateY(-50%);
    z-index: 1;
    outline: none;
}

.eventlightboxWrapper .slick-arrow.slick-disabled {
    display: none !important;
}

.eventlightboxWrapper .navBtn svg {
    position: absolute;
    left: 20%;
    top: 20%;
    width: 60%;
    height: 60%;
}

.eventlightboxWrapper .navBtn.previous {
    left: 10px;
}

.eventlightboxWrapper .navBtn.next {
    right: 5px;
}

.eventlightboxWrapper .grid_popup_content_main_wrapper {
    margin-top: 20px;
    position: relative;
    width: 100%;
}

.eventlightboxWrapper .grid_popup_content_list {
    position: relative;
    width: 100%;
}

.eventlightboxWrapper .eventpopcontent {
    /* text-align: left; */
    position: relative;
    width: 100%;
}

.eventlightboxWrapper .eventpopcontent .title {
    color: #403130;
    font-size: 26px;
    text-align: center;
}


.eventpopcontent .btneventpoplink {
    position: relative;
    color: #FFFFFF;
    border: 1px solid #986A50;
    padding: 10px 40px;
    opacity: 1;
    /* margin-bottom: 30px; */
    background-color: #986A50;
    width: auto;
    left: 0;
    /* right: 0; */
    /* margin: 0 auto; */
    /* margin-bottom: 30px; */
    font-size: 13px;
    display: inline-block;
    margin-top: 30px;
}

.eventpopcontent .content_wrapper {
    height: auto;
    max-height: 150px;
    margin-top: 15px;
}

.eventpopcontent .content_wrapper .content {
    text-align: left;
    margin-bottom: 10px;
}

@media screen and (max-width: 768px) {
    #tempCloseContent {
        /* background-image: none; */
        /* top: 50px; */
        /* transform: translateX(-50%); */
        height: auto;
        min-height: initial;
        /* max-height: calc(100vh - 130px); */
        overflow: hidden;
        /* width: 85%; */
        /* padding-bottom: 20px; */
        box-sizing: border-box;
        /* padding-top: 28%; */
        /* background-position: center top; */
        /* background-size: contain; */
        /* background-repeat: no-repeat; */
        /* height: calc(100vh - 130px); */
    }

    #tempCloseContent:after {
        /* content: ''; */
        /* width: 100%; */
        /* position: absolute; */
        /* left: 0; */
        /* bottom: 0; */
        /* height: 20px; */
        /* background-color: #FFF; */
    }

    #tempCloseImg {
        display: block;
        width: 100%;
        /* margin-bottom: 30px; */
    }

    #tempCloseText {
        width: 100%;
        padding: 20px;
        /* height: 300px; */
    }

    .tempCloseTitle {
        margin-bottom: 25px;
    }

    #btntempClose {
        /* top: -95%; */
        /* right: 10px; */
        /* width: 10px; */
        /* height: 10px; */
    }
}

@media screen and (max-width: 500px) {
    #tempCloseContent, .eventlightboxWrapper .lightbox {
        width: 90%;
        /* padding-top: 38.5%; */
        top: 70px;
        transform: translateX(-50%);
    }

    #tempCloseText {

        height: 330px;
    }

    #tempCloseWrapper #close {
        top: -110%;
    }
}

@media screen and (max-width: 767px) {
    #footer {
        display: none;
    }

    #footer2 {
        padding-top: 20px;
    }
}

@media screen and (max-width: 1024px) {
    #footer > ul {
        display: inline-block;
        margin: 0;
        padding: 0;
        text-align: left;
        margin-right: 20px;
        position: relative;
        vertical-align: top;
    }
}