main > .container {
    padding: 70px 15px 20px;
}

.footer {
    background-color: #f5f5f5;
    font-size: .9em;
    height: 60px;
}

.footer > .container {
    padding-right: 15px;
    padding-left: 15px;
}

.not-set {
    color: #c55;
    font-style: italic;
}

/* add sorting icons to gridview sort links */
a.asc:after, a.desc:after {
    content: '';
    left: 3px;
    display: inline-block;
    width: 0;
    height: 0;
    border: solid 5px transparent;
    margin: 4px 4px 2px 4px;
    background: transparent;
}

a.asc:after {
    border-bottom: solid 7px #212529;
    border-top-width: 0;
}

a.desc:after {
    border-top: solid 7px #212529;
    border-bottom-width: 0;
}

.grid-view th {
    white-space: nowrap;
}

.hint-block {
    display: block;
    margin-top: 5px;
    color: #999;
}

.error-summary {
    color: #a94442;
    background: #fdf7f7;
    border-left: 3px solid #eed3d7;
    padding: 10px 20px;
    margin: 0 0 15px 0;
}

/* align the logout "link" (button in form) of the navbar */
.nav li > form > button.logout {
    padding-top: 7px;
    color: rgba(255, 255, 255, 0.5);
}

@media(max-width:767px) {
    .nav li > form > button.logout {
        display:block;
        text-align: left;
        width: 100%;
        padding: 10px 0;
    }
}

.nav > li > form > button.logout:focus,
.nav > li > form > button.logout:hover {
    text-decoration: none;
    color: rgba(255, 255, 255, 0.75);
}

.nav > li > form > button.logout:focus {
    outline: none;
}

.form-group {
    margin-bottom: 1rem;
}

/* pagination */
.pagination {
    display: flex;
    justify-content: center; /* ページネーションを中央に配置 */
    padding: 10px 0; /* 上下の余白を追加 */
}

.pagination li {
    margin: 0 5px; /* 各項目の間に余白を追加 */
}

.pagination a, .pagination span {
    display: inline-block;
    padding: 10px 15px; /* 内側の余白を増やしてクリックしやすくする */
    font-size: 16px; /* フォントサイズを大きくする */
    border: 1px solid #ddd; /* 枠線を追加 */
    border-radius: 5px; /* 角を丸くする */
}

.pagination a:hover, .pagination span:hover {
    background-color: #e6e6e6; /* ホバー時の背景色を調整 */

}

.pagination .page-item.active .page-link {
    background-color: #f0f8ff ; /*  を追加して優先度を上げる */
    color: #000 ; /* テキスト色も必要に応じて変更 */
}

.pagination li.active a {
    background-color: yellow ; /* 背景色を黄色に変更 */
    color: #000 ; /* テキスト色も必要に応じて変更 */
}
/*-----------------------*/
.text-right {
    text-align: right;
}


/* 処理中スピナー（Dual Ring） */
.processing-overlay {
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(255, 255, 255, 0.85);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    z-index: 9999;
    font-size: 1.2rem;
    color: #333;
}

.loader {
    display: inline-block;
    width: 64px;
    height: 64px;
}
.loader:after {
    content: " ";
    display: block;
    width: 46px;
    height: 46px;
    margin: 1px;
    border-radius: 50%;
    border: 5px solid #007bff;
    border-color: #007bff transparent #007bff transparent;
    animation: loader-dual-ring 1.2s linear infinite;
}
@keyframes loader-dual-ring {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}
