.btn-edit {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

    --bs-btn-disabled-bg: #ffdccd;
    --bs-btn-disabled-border-color: #ffdccd;

    border-radius: 50% !important;
}

.btn-delete {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

    border-radius: 50% !important;
}

.btn-save {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

    border-radius: 50% !important;
    padding: 0.5rem;
}

.btn-remote {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

    border-radius: 50% !important;
}


.btn-cancelright {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

    border-radius: 50% !important;
}

.btn-mobile-cross {
    --bs-btn-bg: transparent;
    --bs-btn-color: #000;
    --bs-btn-border-color: transparent;
    --bs-btn-hover-color: #000;

    --bs-btn-hover-bg: #D9D9D9;

    --bs-btn-hover-border-color: transparent;

    --bs-btn-focus-shadow-rgb: 49, 132, 253;
    --bs-btn-active-color: #000;

    --bs-btn-active-bg: #D9D9D9;

    --bs-btn-active-border-color: transparent;

    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: #000;

}

/* avoid yhe black space on the background */
html,
body {
    padding-right: 0 !important;
}

.right_panel_divider {
    height: 1px;
    width: 90%;
    background-color: #2E739F;
    margin: 0 auto;
}


#rightPanelId {
    position: fixed;

    bottom: 0;
    width: 100%;
    /* the half of page height in mobile */
    /* height: 800px; */
    
    /* 破版 */
    height: calc(100vh*0.4); 

    background-color: #f8f9fa;
    box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);

    /* overflow-y: auto; */
    /* overflow-y: hidden; */
}


/* rightpanel shrink to cellphone */
.right_panel_shrink {
    display: none;
    /* height: 20px;
    width: 20px;
    top: -1%;
    left: 52%;
    transform: translate(-50%, -50%) rotate(90deg); */
}


.rightpanel-nav {
    display: flex;
    align-items: center;
}


.right_panel_shrink_arrow {
    top: 80%;
    left: 10%;
    cursor: pointer;
}

/* #layoutSidenav_content becomes to scroll container */
#layoutSidenav_content {
    height: calc(100vh - 56px);
    position: relative;
    overflow-y: auto;
}


.right_panel_shrink_mobile {
    display: block;
    position: absolute;
    top: 12px;
    right: 24px;
}

/* computer size */
@media (min-width: 992px) {

    /* 右側 panel：固定在畫面最右邊，一開始收起來 */
    #rightPanelId {
        position: fixed;
        top: 46px;
        right: 0;
        width: 320px;
        height: calc(100vh - 46px);

        background-color: #f8f9fa;
        box-shadow: -3px 0 10px rgba(0, 0, 0, 0.1);
        overflow-y: auto;
    }

    .right_panel_shrink {
        display: block;
        position: fixed;
        height: 20px;
        width: 20px;
        top: 50%;
        right: 316px;
        transform: translate(0%, -50%);
    }

    /* #layoutSidenav_content {
        position: relative;
        overflow-y: auto;
    } */

    .right_panel_shrink_arrow {
        top: 80%;
        left: 8%;
        cursor: pointer;
    }

    .right_panel_shrink_mobile {
        display: none;
    }
}


/* hide the scroll */
#layoutSidenav_content {
    scrollbar-width: none;
    -ms-overflow-style: none;

}

#layoutSidenav_content::-webkit-scrollbar {
    display: none;
    /* Chrome / Safari */
}

.screen_shot {
    /* width: 56%; */
    width: 176px;
    height: 100px;
    background-color: #6b6b6b;
    outline: 1px solid red;
    padding: 2rem !important;
}


@media (min-width: 992px) {
    .screen_shot {
        width: 176px;
        height: 100px;
        background-color: #6b6b6b;
        outline: 1px solid red;
        padding: 2rem !important;
    }

}