a,
.page-link {
    color: #024199;
}
.alert-warning a {
    color: #1f2d3d;
}
.btn-primary,
.page-item.active .page-link {
    background-color: #024199;
    border-color: #024199;
}
.btn-outline-primary {
    color: #024199;
    border-color: #024199;
}
.btn-outline-primary:hover {
    background-color: #0069d9;
    border-color: #0062cc;
}
.sidebar-dark-primary .nav-sidebar>.nav-item>.nav-link.active,
.sidebar-light-primary .nav-sidebar>.nav-item>.nav-link.active {
    background-color: #024199;
}

.nav-link.disabled {
    color: #6c757d !important;
}

.card-gr {
    background-color: #E1E6ED;
}

.col-pagetitle {
    display: flex;
    align-items: center;
    min-height: 38px;
}

.col-pagetitle sub {
    display: block;
    line-height: 1;
    margin-top: 0.25rem;
    font-weight: normal;
}

.swal2-confirm.btn-custom {
    background-color: #4CAF50 !important;
    color: white !important;
}

#loader {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    width: 100%;
    background: rgba(0,0,0,0.65) url(../img/loading.svg) no-repeat center center;
    background-size: 8%;
    z-index: 10000;
}

.login-logo {
    margin-top: 1.2rem;
}

.login-page {
    min-height: 780px;
    color: #fff;
    background-color: #343a40;
}

.login-page-ogp {
    min-height: 1050px;
}

.login-page footer {
    color: #CFD8E6;
}

.login-page footer a {
    color: #CFD8E6;
    text-decoration: underline;
}

.login-box {
    width: 400px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.bg-gray-light {
    background-color: #f7f7f7;
}

.page-title-box .page-title {
    font-size: 20px;
    margin: 0;
    line-height: 75px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    color: inherit;
}

.page-title-box .page-title-right {
    float: right;
    margin-top:20px
}

/* サイドバー */
.sidebar-divider {
    border-bottom: 1px solid #c2c7d0;
    margin: 10px 0;
}


/* ボトムナビ */
.bottom-nav {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: #024199;
    display: flex;
    flex-wrap: nowrap; /* prevent items from wrapping onto multiple lines */
    justify-content: space-evenly;
    align-items: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    padding: 10px 0 25px;
}

.bottom-nav .nav-item {
    text-decoration: none;
    color: #CFD8E6;
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    flex-grow: 1; /* allow the item to grow and fill the available space */
    flex-basis: 0; /* specify the minimum width of the item */
}
.bottom-nav .nav-item small {
    margin-top: .5vw;
    font-size: 80%;
}

.bottom-nav .nav-item small .lss {
    letter-spacing: -3px;
}
.bottom-nav .nav-item.active {
    color: #fff;
}
.bottom-nav .nav-item.active small {
    font-weight: bold;
}

/* テーブルth ジャストサイズ */
.just-w-th th:first-child {
    width: 10%; /* 幅を最小限に設定 */
    white-space: nowrap;
    padding-right: 1rem;
}

/* テーブルソート　矢印 */
.asc:before {
    content: "\2193";
}
.desc:before {
    content: "\2191";
}

/* 参加登録状況 */
.list-entries {
    line-height: 1.15;
}
select.form-control-sm~.select2-container--default {
    font-size: 100%;
}

/* お知らせ　 */
.announcements-image img {
    width: 100%;
    height: auto;
}

.announcements-image iframe {
    aspect-ratio: 4/3;
    width: 100%;
    height: auto;
    /*margin-bottom: 20px;*/
}

/* ホーム・ＱＲ */
.qr-block img {
    width: 100%;
    height: auto;
}

/* 個人スケジュール */
.schedule-container {
    height: calc(100vh - 280px);
    overflow-y: auto;
}

/* 参加登録 */
.select2-container--default .select2-results > .select2-results__options {
    max-height: 70vh;
}

@media (max-width: 575px) {
    .login-page,
    .login-page-ogp {
        height: auto;
    }
    .login-box,
    .register-box {
        margin-top: 0;
    }
    .login-box {
        width: 95%;
    }
    .login-box .card-body {
        padding: 15px;
    }
    .bottom-nav .nav-item small {
        font-size: 3.25vw;
    }
    .fixed-bottom,
    .main-footer {
        position: inherit;
        padding: 15px;
        font-size: 12px;
        text-align: center;
    }
}

div.required label:before {
    content: "必須 ";
    color: #fff;
    background-color: #dc3545;
    display: inline-block;
    margin-right: 5px;
    padding: 0.25em 0.4em;
    font-size: 75%;
    font-weight: 700;
    line-height: 1;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 0.25rem;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

/* メール配信 */
.emailDeliveries .insertion {
    color: red;
}

.emailDeliveries figure {
    margin: auto;
}
.emailDeliveries figure img {
    max-width: 100%;
    height: auto;
}

/* 当日参加　ゲスト登録など サイドバーなし画面 */
.content-wrapper-guest {
    margin: 10px !important;;
}
/* モバイルメニューあり */
.content-wrapper > .content-mobile-menu {
    padding-bottom: 5.5rem;
}

/* ユーザ一覧　仮ユーザ */
.card.tmp-user {
    border-color: red;
    border-width: 2px;
}

/* チェックイン操作 */
.container-checkin {
    display: flex;
    justify-content: center;
    align-items: center
}
.container-checkin .video-container {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    /*z-index: -100;*/
}
.container-checkin .video-container #video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    transform: translateX(calc((100% - 100vw)/2));
}
.container-checkin .overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 250px;
    z-index: 0;
    background: rgba(0,0,0,.25)
}

.container-checkin .overlay .container {
    /*display: flex;*/
    flex-direction: column;
    color: #fff;
    padding-top: calc(1.5rem + 56px);
    padding-bottom: 1.5rem;
    height: 100%;
}

.container-checkin .overlay .container .h1,.container-checkin .overlay .container .h2,.container-checkin .overlay .container .h3,.container-checkin .overlay .container .h4,.container-checkin .overlay .container .h5,.container-checkin .overlay .container .h6,.container-checkin .overlay .container h1,.container-checkin .overlay .container h2,.container-checkin .overlay .container h3,.container-checkin .overlay .container h4,.container-checkin .overlay .container h5,.container-checkin .overlay .container h6 {
    margin-bottom: 1rem
}

.container-checkin .overlay .container .marker {
    width: 50vh;
    height: 50vh;
    max-width: 80vw;
    max-height: 80vh;
    background: hsla(0,0%,100%,.35);
    margin: 0 auto 1rem;
    flex-shrink: 0
}

.container-checkin .overlay .container .operations {
    margin-top: auto
}

.container-checkin .overlay .container .operations .card-manual-checkin {
    background-color: rgba(0,0,0,.5);
    border: none;
    margin-top: 1rem
}

body.is_self .container-checkin .overlay .container {
    padding-top: 1.5rem
}

body.is_self .container-checkin .overlay .container .h1,body.is_self .container-checkin .overlay .container h1 {
    margin-bottom: .5rem
}
.main-footer-checkin {
    position: relative;
    z-index: -10;
}
@media screen and (max-width: 1199px) {
    .container-checkin .overlay .container h1 {
        font-size:1.5rem
    }

    .container-checkin .overlay .container h2 {
        font-size: 1.1rem
    }

    .container-checkin .overlay .container .camera-switch button {
        font-size: .75rem
    }

    body.is_self .container-checkin .overlay .container .alert {
        padding: .45rem 1rem
    }
}

@media screen and (max-width: 992px) {
    .container-checkin .overlay {
        left: 0;
    }
}
@media screen and (max-width: 767px) {
    .table-res-ver,
    .table-res-ver > tbody,
    .table-res-ver > tbody > tr,
    .table-res-ver > tbody > tr > th,
    .table-res-ver > tbody > tr > td {
        display: block;
        width: 100% !important;
    }
    .table-res-ver > tbody > tr {
        border-top: 3px solid #dee2e6;
        /* &:last-of-type {
            border-bottom: 0;
        } */
    }
    .table-res-ver > tbody > tr > th,
    .table-res-ver > tbody > tr > td {
        min-height: 2rem;
    }
    .table-res-ver .table-res-ver {
        border-left: 8px solid #ccc;
    }
}
@media screen and (min-width: 768px) {
    .container-checkin .overlay .container .camera-switch {
        position:absolute;
        top: calc(1rem + 56px);
        right: 1rem
    }

    body.is_self .container-checkin .overlay .container .camera-switch {
        top: 1rem
    }

    .table-fixed {
        word-wrap: break-word;
        table-layout: fixed
    }

    .th-func,.th-id {
        width: 5pc!important
    }

    .th-date,.th-email,.th-group,.th-name {
        width: 12%!important
    }

    .th-checkins,.th-email {
        width: auto!important
    }
}
.table th,
.table td {
    table:last-of-type,
    p:last-of-type {
        margin-bottom: 0;
    }
}
tr.checkedin td,tr.checkedin th {
    background-color: #daead3
}
.nowrap-table th,
.nowrap-table td {
    white-space: nowrap;
}

/* 請求書 PDF用に bill_style.cssにも記述必要 */
.bill table {
    width: 100%;
    border-collapse: collapse;
}

.right-aligned-cell {
    width: 1px; /* 最小限の幅を設定して右に寄せる */
    height: 85px;
    text-align: left;
    white-space: nowrap;
    background-repeat: no-repeat;
    background-position: 70% 0;
}

.bill-total-amount {
    height: 60px;
    line-height: 60px;
    border: 3px solid black;
    font-size: x-large;
    background-color: #ffffe0;
    margin: 15px 110px;
    text-align: center;
}

.bill-detail-table th {
    font-weight: normal;
    border: 1px solid #dee2e6;
}
.bill-detail-table td {
    border: 1px solid #dee2e6;
    padding: 0.3rem;
    white-space: nowrap;
}


.sort-handle {
    cursor: grab;
}

.show-hint {
    cursor: pointer;
}

.rounded-border-black {
    border: 1px solid #000;
    border-radius: 10px;
    padding: 10px;
}
.rounded-border-red {
    border: 1px solid red;
    border-radius: 10px;
    padding: 10px;
}
.border-2{
    border-width:2px !important;
}
.border-3{
    border-width:3px !important;
}
.th-min-w th {
    min-width: 5rem;
}

.ul-confort li,
.ol-confort li {
    margin-bottom: 0.5rem;
}

/* DataTables fix */

div.dt-container div.dt-layout-row {
    margin: 0;
}
table.dataTable.table-sm > thead > tr > th,
table.dataTable.table-sm > thead > tr > td,
table.dataTable.table-sm > tbody > tr > th,
table.dataTable.table-sm > tbody > tr > td {
    padding: .3rem;
}

html {
    overflow-y: scroll;
}

table.dataTable.table-sm > thead > tr > th,
table.dataTable.table-sm > tbody > tr > td.dt-type-numeric {
    min-width: 41px;
}

table.dataTable.table-sm > thead > tr > th {
    text-align: left;
}