﻿html, body {
    height: 100%;
    margin: 0;
    padding: 0;
}

.pc-hidden {
    display: none;
}

.sm-hidden {
    display: block;
}

/* 表示非表示*/
.hide {
    display: none;
}

/* 必須ラベル */
.lbl-required {
    color: red;
    font-size: 10px;
}

/* メッセージ表示 */
.message-area {
    text-align: center;
    background: #11fff0;
    margin-top: 5px;
    margin-bottom: 5px;
}
.message-area-error {
    text-align: center;
    background: #c53d43;
    margin-top: 5px;
    margin-bottom: 5px;
}

/*selectbox ロック使用解除*/
select.form-control:read-only {
    background-color: inherit !important;
}

/* 入力の注釈 */
.lbl-description {
    color: blue;
    font-size: 12px;
}

/* 固定幅 */
.w50 {
    width: 50px !important;
}

.w100 {
    width: 100px !important;
}

.w150 {
    width: 150px !important;
}

.w160 {
    width: 160px !important;
}

.w200 {
    width: 200px !important;
}

.w-auto {
    width: auto !important;
}

.w-90 {
    width: 90% !important;
}

/*画面*/
.main-outline {
    overflow: hidden;
    position: relative;
    height: 100%;
    margin-top: 10px;
    padding: 0 30px !important;
}

/*画面タイトル*/
hr {
    margin-top: 0 !important;
}

/*タブ*/
.nav-common-tab.active {
    color: #fff !important;
    background-color: #EE869A;
    border-radius: 5px;
}

.nav-item .nav-sub-link {
    color: #c85179 !important;
}

.nav-item .nav-sub-link.active {
    background-color: #e95464 !important;
    color: #fff !important;
}

/*画面タブ*/
/* ラジオボタンを視覚的に隠す */
.radio-button-tab {
    position: absolute;
    opacity: 0;
}

/*ボタン*/
.btn-primary {
    background-color: #fdeff2 !important;
    border: 1px #fdeff2 solid !important;
    color: #000 !important;
}

.batu {
    color: #d58c8c;
}

.app-mg {
    background-color: #fff;
    color: #d0d0d0;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 0.7em;
    cursor: pointer;
    padding-left: 5px;
    padding-right: 5px;
}

.app-mg:hover {
    opacity: 0.6;
}

.invite-apr-selected input:checked + label.app-mg, 
.app-mg:has(input:checked) {
    background-color: #bb5561;
    color: #fff;
}

/*チェックボックスボタン*/
.checkbox-hidden {
    display: none;
}

/*円形シール*/
/*グループ*/
.g-lbl-group,
.tag-lbl-group {
    padding-left: 5px;
    padding-right: 5px;
    border-radius: 10px;
    margin-left: 5px;
    margin-top: 2px;
}

.g-lbl-group {
    background-color: #d6d6ff;
}

.tag-lbl-group {
    background-color: #eaffd6;
    border: none;
}

/*スクロール*/
.table-scrollable {
    overflow: auto;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.scrollable {
    overflow-x: hidden;
    overflow-y: auto;
    height: 100%;
    margin-top: 5px;
    margin-bottom: 5px;
}

.table-scrollable table {
    border-spacing: 0;
    border-collapse: separate;
    position: relative;
}

.table-scrollable::-webkit-scrollbar-track,
.scrollable::-webkit-scrollbar-track {
    background: #fff;
}

.table-scrollable::-webkit-scrollbar-thumb,
.scrollable::-webkit-scrollbar-thumb {
    background: #a52a2a;
}

.table-scrollable::-webkit-scrollbar,
.scrollable::-webkit-scrollbar {
    width: 5px;
    height: 5px;
}

.table-scrollable::-webkit-scrollbar-track,
.table-scrollable::-webkit-scrollbar-thumb,
.scrollable::-webkit-scrollbar-track,
.scrollable::-webkit-scrollbar-thumb {
    border-radius: 10px;
}

/*テーブル　ヘッダー固定*/
.table thead {
    position: sticky;
    top: 0;
    background-color: #fff;
}


/*エラーメッセージ*/
.delete-confirm {
    border: 1px solid #c53d43;
    text-align: center;
    color: #fff;
    border-radius: 5px;
    margin-top: 5px;
    background-color: #98605e;
}

/*フッター*/
.b-footer {
    margin: 0 30px 10px 30px;
    z-index: 0 !important;
}

/*招待ステイタス*/
.main-screen-invite.invite-status1::after,
.main-screen-invite.invite-status2::after {
    font-size: 0.8em;
    border-radius: 10px;
    padding: 0px 5px;
    margin-left: 80px;
}

.main-screen-invite.invite-status1::after {
    content: "招待中";
    color: #6495ed;
    border: 1px solid #6495ed;
}

.main-screen-invite.invite-status2::after {
    content: "期限切れ";
    color: #dc143c;
    border: 1px solid #dc143c;
}

.invite-expired-label {
    color: #dc143c;
    border: 1px solid #dc143c;
    font-size: 0.8em;
    border-radius: 10px;
    padding: 0px 5px;
    margin-left: 10px;
}

.loading {
    position: fixed;
    top: 50%;
    left: 50%;
    z-index: 10000;
}

.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url(./images/loading-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    z-index: 9999;
    display: none; 
    opacity: 0.5;
}

#station-header {
    min-height: 30px;
}



@media screen and (max-width: 600px) {

    #station-header {
        min-height: 30px;
    }

    .sm-hidden {
        display: none;
    }

    .pc-hidden {
        display: block;
    }

    /*タブ*/
    .navbar-collapse {
        position: absolute;
        top: 60px;
        background-color: #fff;
        z-index: 1000;
        left: 0;
        right: 0;
        padding: 0 10px;
    }

    .nav-item a.nav-common-tab {
        padding: 5px;
    }

    li.nav-item {
        margin-bottom: 0 !important;
    }

    /*画面*/
    .main-outline {
        padding: 0 10px !important;
    }

    /*スクロール*/
    .table-scrollable {
        max-height: 550px;
    }

    /*フッター*/
    .b-footer {
        margin: 0 10px 50px 10px;
        display: flex;
        justify-content: space-between;
    }

    /*アプリケーション管理画面*/
    .apr-side {
        background-color: inherit !important;
    }

    .apry-l-side {
        height: 40px !important;
    }

    .sm-apry-l-side {
        position: absolute;
        top: 80px;
        background-color: #f4b3c2;
        z-index: 900;
        left: 0;
        right: 0;
        padding: 0 10px;
        height: 280px;
    }

    .apry-r-side {
        height: 700px !important;
        margin-left: 3px;
    }

    .sm-apr-rh {
        max-height: 590px !important;
    }

    .sm-f-b {
        display: flex;
        justify-content: space-between;
    }

    .account-name {
        margin-left: 0 !important;
    }

    #selected-accounts {
        padding: 0 3px;
    }

}