.active_bucket_gallery_w {
    display: none;
    width:40px;
    margin-right:10px;
    cursor:pointer;
    position: relative;
    padding: initial;
    border: initial;
    outline: initial;
    background: initial;
}

.active_bucket_gallery_w #active_bucket_gallery_no {
    display: none;
    position: absolute;
    top: 0px;
    right: -10px;
    background-color: #449d27;
    padding: 2px;
    border-radius: 100%;
    font-size: 11px;
    width: 20px;
    height: 20px;
    text-align: center;
}

.active_bucket_gallery_w #active_bucket_gallery_no.active {
    display: block;
}

.active_bucket_gallery_w.active {
    display: inline-block;
}

#bucket_gallery_modal_w {
    position: fixed;
    top: 100%;
    right: 0;
    bottom: 0;
    left: 0;
    max-width: 100vw;
    z-index: 999998;
    margin-top: 60px;
    background-color: #f5f6fa;
    overflow: hidden;
    transition: all .7s;
}

#bucket_gallery_modal_w.active {
    top: 0;
    overflow-x: hidden;
    overflow-y: scroll;
}

#bucket_gallery_modal_w .bgm_head_w {
    height: 60px;
    line-height: 60px;
    background-color: #FFFFFF;
    position: fixed;
    width: 100%;
    z-index: 99;
}

#bucket_gallery_modal_w .bgm_product_name_w {
    font-size: 25px;
    font-weight: 600;
    text-align: center;
    color: #000;
}

#bucket_gallery_modal_w .bgm_cancel_btn {
    background-color: #ddd;
    padding: 0 30px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
    color: #FF0000;
    margin-right: 12px;
}

#bucket_gallery_modal_w .bgm_cancel_btn:hover {
    background-color: #FF0000;
    color: #000;
}

#bucket_gallery_modal_w .bgm_save_btn {
    background-color: #aca49f;
    padding: 0 30px;
    height: 40px;
    line-height: 40px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 600;
}

#bucket_gallery_modal_w .bgm_save_btn:hover {
    background-color: #43A047;
}

#bucket_gallery_modal_w .bgm_close_btn {
    width: 60px;
    height: 60px;
    text-align: center;
    cursor: pointer;
}

#bucket_gallery_modal_w .bgm_close_btn svg {
    position: relative;
    width: 45px;
    top: 7px;
    transition: transform ease-in-out .2s;
}

#bucket_gallery_modal_w .bgm_close_btn:hover svg {
    transform: rotate(90deg);
}

#bucket_gallery_modal_w .bgm_close_btn:hover svg .path_round {
    fill: #ff0116;
}

#bucket_gallery_modal_w .grid-item {
    display: inline-block;
    margin: 10px;
    position: relative;
}

#bucket_gallery_modal_w .bgm_gallery_name_w {
    font-size: 50px;
    color: #666;
    text-align: center;
    margin: 90px 0 30px 0;
}

#bucket_gallery_modal_w .bgm_remove_file_btn {
    position: absolute;
    width: 30px;
    top: 10px;
    right: 10px;
    height: 30px;
    cursor: pointer;
    display: none;
}

#bucket_gallery_modal_w .grid-item:hover .bgm_remove_file_btn {
    display: block;
}

#bucket_gallery_modal_w .bgm_remove_file_btn_circle {
    border: #f00 2px solid;
    height: 100%;
    border-radius: 100%;
}

#bucket_gallery_modal_w .bgm_remove_file_btn_line {
    height: 3px;
    background-color: #FF0000;
    position: relative;
    top: 11px;
    width: 18px;
    left: 4px;
}