/* id=popupDiv 的區塊代入設定 */
#popupDiv {
    font-family: HelveticaNeue-Light, "Helvetica Neue Light", "Helvetica Neue", Helvetica, Arial, "微軟正黑體", "新細明體", "蘋果儷黑體", Verdana, sans-serif;
    font-size: medium;
    line-height: normal;
    left: auto;
    margin: 0px;
    padding: 0px;
    overflow-x: hidden;
}
/*popup*/
.member_overlay {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(229, 246, 249, 0.7);
    transition: opacity 500ms;
    visibility: hidden;
    opacity: 0;
    z-index: 1099;
    width: 100vw;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
}
.member_overlay:target {
    visibility: visible;
    opacity: 1;
}
.member_popup {
    margin: 70px auto;
    background-color: #fff;
    border-radius: 12px;
    width: 30%;
    position: relative;
    transition: all 2s ease-in-out;
    box-shadow: 6px 6px 5px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding-bottom: 20px;
    background-image: url(../images/popup/popup_bg.png);
    background-repeat: no-repeat;
    background-position: left top;
}

.member_popup .content {
    font-size: 1em;
    color: #090909;
    display: flex;
    justify-content: flex-end;
    flex-wrap: wrap;
    align-items: center;
    margin-top: 1em;
    width: 95%;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin-left: auto;
    margin-right: auto;
}
.member_popup .content ul li{
    padding-bottom: 20px;
    font-size: 1.25em;
    line-height: 30px;
    padding-left: -0.9em;
}

.member_popup_title{
    display: flex;
    justify-content: flex-end;
    align-items: center;
    background-image: -webkit-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
    background-image: -moz-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
    background-image: -o-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
    background-image: linear-gradient(270deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    color: #FFFFFF;
    font-size: 1.2em;
    padding-left: 0.8em;
    padding-right: 0.8em;
    line-height: 2.2em;
}
.tw_close {
    transition: all 200ms;
    font-size: 1.8em;
    font-weight: bold;
    text-decoration: none;
    color: #FFFFFF;
}
.member_popup_div{
    margin-top: 1em;
}
.member_popup_img{
    width: 20%;
    text-align: right;
    margin-bottom: -25px;
}
/* popup end*/

/*popup button*/
.popup_btdiv{
    display: flex;
    flex-wrap: wrap;
    /*margin-top: 0em;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 80%;
    font-size: 1em;
    justify-content:space-between;
}

.popup_btdiv a{
    text-decoration: none;	
}
.popup_btdiv a:hover {
    transition: background-color 0.4s;
    background-color: #FFA600;
}
/* popup畫面下方兩顆按鈕 */
.popup_btdiv div{
    text-decoration: none;	
}
/* popup畫面下方兩顆按鈕滑入 */
.popup_btdiv div:hover {
    transition: background-color 0.4s;
    background-color: #FFA600;
}
.popup_bt1{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    flex-grow : 1;
    margin: 0 2%;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    text-align: center;	
}
.popup_bt2{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content:center;
    flex-grow : 1;
    margin: 0 2%;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
    text-align: center;	
}
.popup_bt_img{
    width: 20%;
    text-align: right;
    margin-bottom: -25px;
}


.popup_buttondiv{
    display: inline-flex;
    /*margin-top: 1em;*/
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    width: 80%;
    font-size: 1em;
}
.popup_buttondiv a{
    text-decoration: none;	
    margin: 0 2%;
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}
.popup_buttondiv a:hover {
    -webkit-filter: grayscale(50%); /* Safari */
    filter: grayscale(50%);
}
.popup_button_stay{
    background-color: #00aad0;
    color: #fff;
    padding: 0.6em;
    text-align: center;
    flex: 1;
}
.popup_button_leave{	
    background-color: #607d8b;
    padding: 0.6em;
    color: #FFFFFF;
    text-align: center;
    flex: 1;
}
/*popup button end*/
@media screen and (max-width:1024px){
    .member_popup {
        margin: 70px auto;
        background: #fff;
        border-radius: 12px;
        width: 60%;
        position: relative;
        transition: all 2s ease-in-out;
        padding-bottom: 20px;
        overflow: hidden;
    }	
}
@media screen and (max-width:768px){
    /*popup*/
    .member_popup {
        margin: 70px auto;
        background: #fff;
        border-radius: 12px;
        width: 70%;
        position: relative;
        transition: all 2s ease-in-out;
        padding-bottom: 20px;
        overflow: hidden;
    }
    /* popup end*/
}
@media screen and (max-width:480px){
    /*popup*/
    .member_popup {
        margin: 30px auto;
        background: #fff;
        border-radius: 12px;
        width: 70vw;
        position: relative;
        transition: all 2s ease-in-out;
        max-height: none;
        padding-bottom: 20px;
        overflow: hidden;
    }

    .member_popup .content {
        font-size: 0.875em;
        color: #090909;
        display: flex;
        justify-content: flex-end;
        flex-wrap: wrap;
        align-items:center;
        margin-top: 1em;
        width: 95%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        margin-left: auto;
        margin-right: auto;
    }
    .member_popup_title{
        display: flex;
        justify-content: flex-end;
        align-items: center;
        background-image: -webkit-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
        background-image: -moz-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
        background-image: -o-linear-gradient(180deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
        background-image: linear-gradient(270deg,rgba(0,125,195,1.00) 0%,rgba(0,161,153,1.00) 100%);
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        color: #FFFFFF;
        font-size: 1em;
        padding-left: 0.8em;
        padding-right: 0.8em;
        line-height: 2.2em;
    }

    /* popup end*/

    /*popup button*/
    .popup_btdiv{
        display: flex;
        flex-wrap: wrap;
        /*margin-top: 0em;*/
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        font-size: 1em;
        justify-content:space-between;
        flex-direction: column;
    }
    .popup_bt2{
        display: flex;
        flex-direction: row;
        align-items: center;
        justify-content:center;
        flex-grow : 1;
        margin: 10px 2%;
        -webkit-border-radius: 6px;
        -moz-border-radius: 6px;
        border-radius: 6px;
        text-align: center;	
    }
    .popup_bt_img{
        width: 100%;
        text-align: center;
        margin-bottom: -25px;
    }



    .popup_buttondiv{
        display: flex;
        flex-wrap: wrap;
        /*margin-top: 0em;*/
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        width: 100%;
        font-size: 1em;
        flex-direction: column;
    }
    .popup_buttondiv a{
        text-decoration: none;
        margin-top: 10px;
    }
    /*popup button end*/	
}
