body {
    background-color: #000;
    font-family: 'Arial', "微軟正黑體", Microsoft JhengHei, "微軟雅黑體", Microsoft YaHei, SimHei, "メイリオ", Meiryo, "ヒラギノ角ゴ Pro W3", "Hiragino Kaku Gothic Pro", "新細明體", Arial, Verdana, Helvetica, sans-serif;
}

::-webkit-scrollbar {
    width: 2px;
}

.inside-mouse {
    margin: 0;
    padding: 2% 0 5% 0;
    width: 100%;
}

.mouse-gallery {
    margin: 0;
    padding: 0;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: flex-start;
}

.mouse-gallery-photo {
    max-width: 900px;
    width: 100%;
    padding: 0 5% 0 0;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.gallery-big-jpg {
    padding: 0;
    margin: 0;
    width: 100%;
}

.mouse-gallery-item {
    margin-top: 80px;
    max-width: 600px;
    width: 100%;
    padding: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.img_ul {
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    overflow-y: scroll;
    overflow-y: -moz-hidden-unscrollable;
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-start;
    height: 500px;


}

.img_ul::-webkit-scrollbar {
    width: 2px;
}

.img_ul::-webkit-scrollbar-track {
    box-shadow: inset 0 0 5px #323232;
    border-radius: 3px;
}

.img_ul::-webkit-scrollbar-thumb {
    background: #797979;
    border-radius: 3px;
}

.mouse-gallery .mouse-gallery-item>ul>li {
    margin: 0;
    padding: 5px;
    width: calc(100% / 3);
    cursor: pointer;
    transition: .2s opacity;
    opacity: .6;
    list-style-type: none;
    position: relative;
    box-sizing: border-box;
}

.mouse-gallery .mouse-gallery-item>ul>li:hover {
    opacity: 1;
    transition: .2s opacity;
    list-style-type: none;
}

.mouse-gallery .mouse-gallery-item>ul>li.photo-active {
    opacity: 1;
}

.gallery-jpg img {
    width: 100%;
}

.gallery-jpg.thumbChecked div.tick {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 999;
    background-image: url(../img/tick.png);
    background-position: bottom right;
    background-repeat: no-repeat;
    background-color: rgba(255, 255, 255, 0.1);
}

.gallery-jpg.thumb div.tick {
    display: none;
}

.btns {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0;
    margin: 2vh 0 0 0;
    position: relative;
}

.selectAll,
.download {
    color: #ddd;
    background: rgba(85, 85, 85, 0.5);
    font-size: small;
    font-weight: bold;
    cursor: pointer;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all .5s;
    border-radius: 5px;
}

.selectAll:hover,
.download:hover {
    filter: brightness(1.2);
}

.selectAll {
    margin: 0;
}

.download {
    margin: 0;
    width: 0;
    opacity: 0;
}

.download.show {
    width: 100%;
    opacity: 1;
}

.selectAll.cancel {
    background: rgba(85, 85, 85, 0.5);
    margin: 0 1vw 0 0;
}

.selectAll img,
.download img {
    margin: 0 .5vw 0 0;
}

@media screen and (max-width: 1920px) and (min-width: 500px) {
    .mouse-gallery-item {
        margin-top: 30px;
        max-width: 450px;
        width: 100%;
        padding: 0;
        display: flex;
        justify-content: center;
        align-items: center;
        flex-direction: column;
        position: relative;
    }

    .mouse-gallery-photo {
        max-width: 600px;
        width: 100%;
        padding: 0 5% 0 0;
        display: flex;
        justify-content: center;
        align-items: center;
        position: relative;
        overflow: hidden;
    }
}