﻿html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, .btn-link.nav-link:focus, .form-control:focus, .form-check-input:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}
/*body {
    display: flex;
    position: relative;
    flex-direction: column;
    min-height: 100%;
    margin: 0;
    background: #F5F5F5 !important;
    color: #1A1A1A;
    font-weight: 400;
    font-size: 1em;
    font-family: "Noto Sans JP", sans-serif;
}
*/
body {
    margin-bottom: 60px;
}

/*
    ここから暫定 Style

*/

.form-label {
    display: block;
    margin-bottom: 0.6rem;
    font-weight: 700;
    font-size: 1em;
}

.form-input {
    padding: 0.95rem;
}

.form-group {
    margin-bottom: 1rem;
}

/*
    ここから暫定 Master Style

*/

.btn {
    height                 : 70px;
    display                : -webkit-flex;
    display                : inline-flex;
    -webkit-align-items    : center;        /* 縦方向中央揃え（Safari用） */
    align-items            : center;        /* 縦方向中央揃え */
    -webkit-justify-content: center;        /* 横方向中央揃え（Safari用） */
    justify-content        : center;        /* 横方向中央揃え */
}

.btn-info {
    color           : #fff;
    background-color: #17a2b8;
    border-color    : #17a2b8;
}

.btn-info:hover {
  color: #fff;
  background-color: #138496;
  border-color: #117a8b;

}


/* 戻るボタンのコントラスト対応 */
.btn-outline-secondary {
    color: #647177;
    border-color: #647177;
}

.btn-outline-secondary:hover {
    background-color: #647177;
    border-color: #647177;
}

.btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
    color: #647177;
}

.btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
.show > .btn-outline-secondary.dropdown-toggle {
    background-color: #647177;
    border-color: #647177;
}

.form-switch .form-check-input{
    transform:scale(2);
    margin-left:-1em;
}

input:-webkit-autofill {
    box-shadow: 0 0 0 1000px white inset;
}

.input-validation-error:-webkit-autofill {
    box-shadow: 0 0 0 1000px pink inset;
}

    input:-webkit-autofill:read-only {
        box-shadow: 0 0 0 1000px #F5F5F5 inset;
        filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
    }

.input-validation-error:-webkit-autofill:read-only {
    box-shadow: 0 0 0 1000px pink inset;
    filter: drop-shadow(0px 0px 0px rgba(0, 0, 0, 0));
}

.auto-style1 {
    height: 34px;
}

input[type='number'] {
    text-align: right;
}

.hasError {
    background-color: pink !important;
}

.hideScrollBar {
    -ms-overflow-style: none; /* IE, Edge 対応 */
}

    .hideScrollBar::-webkit-scrollbar { /* Chrome, Safari 対応 */
        display: none;
    }

.content {
    outline: 2px solid green;
}

.btn {
    margin-top: 0.5rem;
}

.fa,
.fab,
.fas,
.far,
.fal {
    text-align: center;
    width: 1.25em;
}

.dropdown-toggle::after {
    font-size: 1em;
}

/** 小テスト回答 選択 */
.user-choice {
    border: #00B0F0 3px solid;
    margin-left: -3px;
    margin-bottom: 5px;
}

/** 小テスト回答 正解 */
.correct-answer {
    border: #92D050 3px solid;
    margin-left: -3px;
    margin-bottom: 5px;
}

/** 小テスト回答 不正解 */
.incorrect-answer {
    border: #C00000 3px solid;
    margin-left: -3px;
    margin-bottom: 5px;
}

/*TOPメニュー*/
.navbar {
    border-radius: 0;
    border: none;
    background-color: #fff;
    /* ベース基調となる濃い青 */
}

.navbar-default {
    margin-bottom: 10px;
}

#logo-img {
    height: 30px;
}

.nav-link {
    color: black;
}

.nav-link-selected {
    color: #FFc107;
}

.modal-open {
    padding-right: 0px !important;
}

.modal {
    padding-right: 0px !important;
}

.footer-icon {
    visibility: visible;
    z-index: 5;
    position: fixed;
    right: 20px;
    bottom: 20px;
    cursor: pointer;
    opacity: 0;
    transition: opacity 1s;
    border-radius: 50%;
    text-align: center;
    vertical-align: middle;
    padding-top: 8px;
}

    .footer-icon:not(.d-none) {
        visibility: visible;
        opacity: 1;
    }

.footer-callcenter-icon {
    width: 40px;
    height: 40px;
}

@media print, screen and (min-width: 1160px) {
    .footer-callcenter-icon {
        width: 48px;
        height: 48px;
    }
}

/* tableレイアウト */
table {
    border-collapse: separate;
    border-spacing: 0;
    color: black;
    text-align: center;
}

    table th:first-child {
        border-radius: 5px 0 0 0;
    }

    table th:last-child {
        border-radius: 0 5px 0 0;
        border-right: 1px solid #3c6690;
    }

    table th {
        text-align: center;
        color: white;
        background: #225588;
        border-left: 1px solid #3c6690;
        border-top: 1px solid #3c6690;
        border-bottom: 1px solid #3c6690;
        /*        box-shadow: 0px 1px 1px rgba(255, 255, 255, 0.3) inset;*/
        width: 25%;
        padding: 10px 0;
    }

    table td:last-child {
        border-right: 1px solid #a8b7c5;
    }

    table td {
        text-align: center;
        border-left: 1px solid #a8b7c5;
        border-bottom: 1px solid #a8b7c5;
        border-top: none;
        /*        box-shadow: 0px -3px 5px 1px #eee inset;*/
        width: 25%;
        padding: 10px 0;
        overflow-x: hidden;
    }

.table-stripe tr:nth-child(odd) {
    background-color: #ffffff !important; /* 奇数行の背景色 */
}

.table-stripe tr:nth-child(even) {
    background-color: #f2f2ff !important; /* 偶数行の背景色 */
}

/* miChecker 背景色をシステム標準色　色を黒 ロービジョン対応*/
.color-black {
    background-color: #F5F5F5;
    color: black;
}

/* ToolTip Color  */
.tooltip-inner {
    color: black;
    font-size: small;
    font-weight: bold;
    background-color: #ffc107;
}

.tooltip.bs-tooltip-right .arrow:before {
    border-right-color: #ffc107 !important;
}

.tooltip.bs-tooltip-left .arrow:before {
    border-left-color: #ffc107 !important;
}

.tooltip.bs-tooltip-bottom .arrow:before {
    border-bottom-color: #ffc107 !important;
}

.tooltip.bs-tooltip-top .arrow:before {
    border-top-color: #ffc107 !important;
}

/* progress */
#loading {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: white;
    z-index: 1;
}

#spinner {
    display: none;
    color: #fff;
    z-index: 2;
}

#loadingMsg {
    display: none;
    background: transparent;
    width: 100%;
    height: 100%;
    text-align: center;
    vertical-align: middle;
    position: absolute;
    color: black;
    z-index: 3;
}

/* GoTop */
.back-to-top {
    position: fixed;
    bottom: 25px;
    right: 25px;
    display: none;
}

/* PIC シンボル */
img.pic {
    width: 70px;
    background-color: white;
    max-width: none;
}

/* ラベルっぽく見せる input type text */
input[type='text'].fake-label {
    border: none;
    background: none;
}

/* ラベルっぽく見せる input type number */
input[type='number'].fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる input type email */
input[type='email'].fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる input type password */
input[type='password'].fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる textarea */
textarea.fake-label {
    background: none;
}

/* textarea の行間を開ける */
textarea {
    line-height: 1.5 !important;
}


/* ラベルっぽく見せる ベース用 input type text */
input[type='text'].base-fake-label {
    border: none;
    background: none;
}

/* ラベルっぽく見せる ベース用 input type number */
input[type='number'].base-fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる ベース用 input type email */
input[type='email'].base-fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる ベース用 input type password */
input[type='password'].base-fake-label {
    border: none;
    text-align: left;
    background: none;
}

/* ラベルっぽく見せる ベース用 textarea */
textarea.base-fake-label {
    background: none;
}

/* ボタンの高さを調整 */
.btn {
    height: 70px;
    display: -webkit-flex;
    display: inline-flex;
    -webkit-align-items: center; /* 縦方向中央揃え（Safari用） */
    align-items: center; /* 縦方向中央揃え */
    -webkit-justify-content: center; /* 横方向中央揃え（Safari用） */
    justify-content: center; /* 横方向中央揃え */
}

/* pic が表示されているときのボタンの高さ */
.pic-btn {
    height: 120px;
}

/* 戻るボタンのコントラスト対応 */
.btn-outline-secondary {
    color: #647177;
    border-color: #647177;
}

    .btn-outline-secondary:hover {
        background-color: #647177;
        border-color: #647177;
    }

    .btn-outline-secondary.disabled, .btn-outline-secondary:disabled {
        color: #647177;
    }

    .btn-outline-secondary:not(:disabled):not(.disabled):active, .btn-outline-secondary:not(:disabled):not(.disabled).active,
    .show > .btn-outline-secondary.dropdown-toggle {
        background-color: #647177;
        border-color: #647177;
    }

/* 現在日時を設定ボタンの余白調整 */
.btn.btn-current-datetime {
    margin: 0 .25rem 0 0 !important;
    height: auto;
}

/* 日付入力項目の固定長設定 */
.col-datetime-fixed {
    width: 25rem !important;
}

/* 印刷時非表示 */
@media print {
    .no-print {
        display: none;
    }
}

.no-outline {
    outline: none;
}

#divInfo {
    border: 1px solid gray;
}

/*MSCaptcha表示*/
.MSCaptcha {
    position: absolute;
    width: 200px;
    max-width: 100%;
    left: 50%;
    transform: translate(-50%, 0);
    position: relative;
    z-index: 1502;
}

/* DataTableの代替品 */
/*　スクロールバーの実装 高さ設定あり */
.table-sticky {
    display: block;
    overflow-y: scroll;
    max-height: 85vh;
/*    border: 1px solid;
    border-collapse: collapse;*/
}

    .table-sticky thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #225588;
/*        border-top: #FFFFFF;*/
    }

    .table-sticky th,
    .table-sticky td {
        padding-left: 0.4em;
        padding-right: 0.4em;
    }

    .table-sticky table {
        width: 100%;
    }

/*　スクロールバーの実装 高さ設定なし */
.table-sticky-noscroll {
    display: block;
    overflow-x: scroll;
    overflow-y: hidden;
    max-width: 100%;
    border: 1px solid;
    border-collapse: collapse;
}

    .table-sticky-noscroll thead th {
        position: sticky;
        top: 0;
        z-index: 1;
        background: #225588;
       /* border-top: #FFFFFF;*/
    }

    .table-sticky-noscroll th,
    .table-sticky-noscroll td {
        padding-left: 0.4em;
        padding-right: 0.4em;
    }

    .table-sticky-noscroll table {
        width: 100%;
    }

/*  確認ボタン*/
.btn-kakunin {
    background-color: lightgreen;
    color: black;
    border-color: black;
}

    .btn-kakunin:hover {
        color: white;
        background-color: green;
        border-color: black;
    }
/*  確定ボタン*/
.btn-kakutei {
    background-color: lightyellow;
    color: black;
    border-color: black;
}

    .btn-kakutei:hover {
        color: black;
        background-color: yellow;
        border-color: black;
    }

/*  テキストボックスの右にユーザ検索ボタンを置く用 divタグ*/
.search-user-div {
    display: flex;
    justify-content: space-between;
}

/*  テキストボックスの右にユーザ検索ボタンを置く用  aタグ*/
.search-user-a {
    display: -webkit-box;
    display: -ms-flexbox;
    -webkit-box-align: center;
    -ms-flex-align: center;
    align-items: center;
    -webkit-box-pack: center;
    -ms-flex-pack: center;
    justify-content: center;
}


/* エラーメッセージ用*/
.input-validation-error {
    background-color: pink !important;
}

/* 必須 */
.required::after {
    content: " *必須";
    color: #e30000; /* 志と同様 */
}

/* 必須 */
.either-required::after {
    content: " *いずれか必須";
    color: #e30000; /* 志と同様 */
}


/* 未読件数表示 */
.inquiry-number {
    position: absolute;
    top: -1px;
    /*left: calc(100% - 16px);*/
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    min-height: 20px;
    text-align: center;
    background: #EE4444;
    border-radius: 50%;
    min-width: 20px;
    padding: 0 3px;
    box-sizing: border-box;
    margin-left: -16px;
}

/* オンラインユーザ人数 */
.online-user-count {
    position: absolute;
    top: -1px;
    /*left: calc(100% - 16px);*/
    color: #FFF;
    font-size: 16px;
    font-weight: bold;
    min-height: 20px;
    text-align: center;
    background: #EE4444;
    border-radius: 50%;
    min-width: 20px;
    padding: 0 3px;
    box-sizing: border-box;
    margin-left: -16px;
}

/* ダイアログ時のボタンの横幅 */
.btn-modal-width{
    width:5em;
}

.search-block-padding {
    padding: 1.3rem 1rem;
}

/* ↓音声認識状態表示↓ */

/* 音声認識中, 受信中 */
.amivoice-recording,
.signalr-receiving {
    border: 3px solid #000000;
    background-color: #fcd5b5;
}

/* 音声認識停止 */
.amivoice-stop {
    border: 3px solid #000000;
    background-color: #ccecff;
}

/* 音声認識終了 */
.amivoice-end,
.amivoice-wait,
.signalr-end {
    border: 3px solid #000000;
    background-color: #ffffff;
}

/* ↑音声認識状態表示↑ */

/* Header Logo style */
.header-logo {
    width:50px;
}

.form-range {
    width: 100%;
    height: 1.5rem;
    appearance: auto;
    padding: 0px;
}