.of_container {
    max-width: 768px;
    margin-left:auto;
    margin-right:auto
}

/* base.html */
.content {
    margin-left: 200px;
    margin-bottom: 60px;
    padding: 10px;
}

.sidebar {
    position: fixed;
    top: 0; /* Adjust this value based on the height of your navbar */
    bottom: 0;
    left: 0;
    width: 200px;
    padding-top: 20px;
    background-color: #343a40;
    color: white;
}
.sidebar a {
    color: white;
    padding: 10px 15px;
    display: block;
    text-decoration: none;
}
.sidebar a:hover {
    background-color: #495057;
}



.messages-overlay {
    position: fixed;
    top: 40px;
    right: 20px;
    z-index: 1900;
    width: auto;
    max-width: 300px;
}
.message {
    padding: 10px;
    margin-bottom: 10px;
    border-radius: 5px;
    color: white;
}
.message-success {
    background-color: #28a745;
}
.message-error {
    background-color: #dc3545;
}

/* スマホサイズ（幅768px以下）でナビゲーションバーを非表示にする */
@media (max-width: 768px) {
    .navbar.navbar-dark {
        display: none;
    }
    .sidebar {
        display: none; /* サイドバーも非表示に */
    }
    .content {
        margin-left: 0;
        padding: 0;
    }

    .navbar .nav-link i {
        font-size: 24px;  /* アイコンのサイズを24pxに設定 */
    }

    .navbar .nav-link {
        font-size: 12px;  /* テキストのサイズも少し大きくする場合 */
    }
}

/* 画面サイズが768pxより大きい場合は、下部のナビゲーションバーを非表示にする */
@media (min-width: 769px) {
    .navbar.fixed-bottom {
        display: none;
    }

    .content {
        margin-bottom: 0;
    }

}




/* その他 */
.social-icon {
    width: 32px; /* アイコンの幅 */
    height: 32px; /* アイコンの高さ */
    margin-right: 20px; /* ロゴと文字の間隔を広げる */
}

.btn-social-custom {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 10px 0; /* ボタン間のマージンを追加 */
    padding: 10px;
    background-color: #007bff; /* ボタンの背景を青くする */
    color: #fff; /* テキストの色を白にする */
    border: 1px solid #0056b3;
    border-radius: 5px;
    width: 280px;
    text-decoration: none; /* テキストの装飾を除去 */
    position: relative;
    white-space: nowrap; /* テキストの改行を防ぐ */
}

.btn-social-custom img {
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
}

.btn-social-custom span {
    flex: 1;
    text-align: center;
    margin-left: 40px; /* 文字とアイコンの間隔を調整 */
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-error {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}

.placeholder-image {
    width: 100%;
    height: 100%;
    background-color: #f0f0f0;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ccc;
}

.venue-logo {
    width: 100px;
    height: 100px;
    object-fit: cover;
    margin-right: 10px;
}

.venue-logo-placeholder {
    width: 100px;
    height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: #f0f0f0;
    margin-right: 10px;
}

/* スマホサイズで文字を左寄せにする */
@media (max-width: 768px) {

    .list-group-item {
        padding: 0.5rem 0.25rem;
    }

}

.time-table {
    position: relative;
    border: 1px solid #ccc;
    height: 1440px; /* 24 hours * 60 min */
    margin-bottom: 20px;
}

.time-table div {
    position: absolute;
    width: 100%;
    box-sizing: border-box;
}

.time-table .time-slot {
    border-top: 1px solid #ccc;
}

.time-table .half-hour-slot {
    border-top: 1px dashed #ccc;
}

.time-table .schedule-item {
    position: absolute;
    width: 100%;
    border: 1px solid #ccc;
    padding: 5px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.time-table .schedule-item .schedule-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.time-table .schedule-item .schedule-header .schedule-actions {
    display: flex;
    gap: 5px;
}

.time-table .schedule-item .schedule-performers {
    display: flex;
    flex-direction: column;
    justify-content: center;
    text-align: center;
}

.list-group-item {
    align-items: center;
}

.list-group-item i {
    font-size: 24px;
}

.list-group-item h5 {
    margin: 0;
}

.list-group-item p {
    margin: 0;
    color: #6c757d;
}

.navbar .nav-link {
    color: #fff;
}

.btn-link {
    font-size: 24px;
}


/* グレーアウト＆操作不可 */
.imported-row {
  background-color: #f5f5f5;
  opacity: 0.6;
}
.imported-row input,
.imported-row select,
.imported-row textarea,
.imported-row button {
  pointer-events: none;
  opacity: 0.6;
}
