.float_menu a{
	cursor: pointer;
}

.float_menu a[href*='#'] {
	cursor: pointer;
}


/* 馬來寫法 */
/*right*/
/*
.ruFloat {
	line-height: 0;
    right: -275px;
    position: fixed;
    transition: 0.5s;
    overflow: unset;
    top: 42vh!important;
    z-index: 1000;
}

.ruFloat:hover {
    right: 0;
}

.ruFloat .float_menu:first-child {
    display: block;
    position: absolute;
    right: 274px;
    top: calc(50% - 90px);
}

.ruFloat > .float_menu {
    display: block;
    float: none;
}
 */


/*left*/
/*
.luFloat {
	line-height: 0;
    left: -130px;
    position: fixed;
    transition: 0.5s;
    overflow: unset;
    top: 25vh!important;
}

.luFloat .float_menu:first-child {
    position: absolute;
    left: 130px;
    top: calc(50% - 86px);
}

.luFloat:hover {
    left: 0;
}

.luFloat > .float_menu {
    display: block;
    float: none;
}

.ui-dialog.ui-widget.ui-widget-content{
    padding: 0;
}

#pop_img{
    display: block;
}
 */


/* 飄窗寫法 - 不限制圖片size */
/* 左飄 */
.luFloat, .ruFloat{
    left: unset;
    right: unset;
    float: none;
    width: auto;

    overflow: visible;
    transition: .3s linear;
    position: fixed;
}
.luFloat{
    /* right: 100%; */
    top: unset !important;
    bottom: 13% !important;
}
/* .luFloat:hover{
    -webkit-transform: translateX(100%);
        -ms-transform: translateX(100%);
            transform: translateX(100%);
} */
.luFloat .float_menu{
    margin-right: 1px;
    float: none;
    text-align: left;
}
.luFloat aside.float_menu:first-child{
    position: relative;
    top: 0;
    width: 100%;
}
/* .luFloat aside.float_menu:first-child a{
    position: absolute;
    left: 100%;
    top: 0;
} */

/* 右飄 */
.ruFloat{
    left: 100%;
    top: 42vh!important;
}
.ruFloat:hover{
    -webkit-transform: translateX(-100%);
        -ms-transform: translateX(-100%);
            transform: translateX(-100%);
}
.ruFloat .float_menu{
    margin-left: 1px;
    float: none;
    text-align: right;
    line-height: 0; /* 取消4px空白 */
}
.ruFloat aside.float_menu:first-child{
    position: relative;
    top: 0;
    width: 100%;
}
.ruFloat aside.float_menu:first-child a{
    position: absolute;
    right: 100%;
    top: 0;
}