/*移除Scroll & 禁止選擇 */
/* flex-shrink-0 防止safari畫面重疊*/
body {
    -moz-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    -ms-overflow-style: none;
    overflow: -moz-scrollbars-none;
    width: 100%;
    height: 100%;
}

html {
    scroll-behavior: smooth; /*平滑移動*/
    overflow: -moz-hidden-unscrollable;
}

div {
    -webkit-overflow-scrolling: touch;
    -ms-overflow-style: none;
    scroll-behavior: smooth; /*平滑移動*/
    overflow: -moz-scrollbars-none;
}

div::-webkit-scrollbar {
    width: 0 !important;
    display: none;
}

/*移除Focus外框*/
input:focus,
select:focus,
textarea:focus,
button:focus {
    outline: none;
}

/*移除Input數字箭頭*/
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 允許選擇 */
.enableSelect {
    -moz-user-select: text;
    -webkit-user-select: text;
    user-select: text;
}

/* 選擇器 */
.selectRound {
    height: 34px;
    border-radius: 4px;
    display: inline-block;
    overflow: hidden;
    border: 1px solid #555555;
}

/*Fade*/
.fade-in {
    animation: fadeIn linear 500ms;
    -webkit-animation: fadeIn linear 500ms;
    -moz-animation: fadeIn linear 500ms;
    -o-animation: fadeIn linear 500ms;
    -ms-animation: fadeIn linear 500ms;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-moz-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-webkit-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-o-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

@-ms-keyframes fadeIn {
    0% {
        opacity: 0;
    }
    100% {
        opacity: 1;
    }
}

.tooltip {
    position: relative;
    display: inline-block;
    border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
    visibility: hidden;
    width: 120px;
    background-color: #333;
    color: #fff;
    text-align: center;
    border-radius: 6px;
    padding: 5px 0;
    position: absolute;
    z-index: 1;
    top: 125%;
    left: 50%;
    margin-left: -60px;
    opacity: 0;
    transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
    content: "";
    position: absolute;
    bottom: 100%;
    left: 50%;
    margin-left: -5px;
    border-width: 5px;
    border-style: solid;
    border-color: transparent transparent #333 transparent;
}

.tooltip:hover .tooltiptext {
    visibility: visible;
    opacity: 1;
}