:root {
    --bs-success-rgb: 71, 222, 152 !important;
}

html,
body {
    margin: 0;
    padding: 0;    
    height: 100%;
    width: 100%;
    overflow-x: hidden;
    font-family: "游ゴシック体", "Yu Gothic UI", "Yu Gothic", "ヒラギノ角ゴ ProN", "Hiragino Kaku Gothic ProN", Meiryo, sans-serif;
}

main {
    min-height: 100vh;    
    display: flex;
    flex-flow: column;
}

#page-container {
    flex: 1 1 auto;
    overflow: auto;
}

#topNavBar {
    flex: 0 1 auto;
}

.thumbnail-img {
    width: 50px;
    height: 50px;
    margin: 2px
}

.truncate-1 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
}

.truncate-3 {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
}

.modal-dialog.large {
    width: 80% !important;
    max-width: unset;
}

.modal-dialog.mid-large {
    width: 50% !important;
    max-width: unset;
}

@media (max-width:720px) {
    .modal-dialog.large {
        width: 100% !important;
        max-width: unset;
    }
    .modal-dialog.mid-large {
        width: 100% !important;
        max-width: unset;
    }
}

.display-select-image {
    width: 75px;
    height: 75px;
    margin: 2px;
    object-fit: cover;
    object-position: center;
    cursor: pointer;    
}

.display-image {
    width: 80%;
    max-width: 100%;
    height: 400px; /* 必要に応じて調整 */
    object-fit: cover;
    object-position: center;
}

.img-top {
    width: 100%;
    height: 300px; /* 任意の高さ。カードのサイズに合わせて調整可 */
    object-fit: cover;
    object-position: center;
}

/* width */

::-webkit-scrollbar {
    width: 5px;
}


/* Track */

::-webkit-scrollbar-track {
    background: #f1f1f1;
}


/* Handle */

::-webkit-scrollbar-thumb {
    background: #888;
}


/* Handle on hover */

::-webkit-scrollbar-thumb:hover {
    background: #555;
}

.img-del-btn {
    right: 2px;
    top: -3px;
}

.img-del-btn>.btn {
    font-size: 10px;
    padding: 0px 2px !important;
}