﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
    color: #fff;
    background-color: #1b6ec2;
    border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

@media (min-width: 768px) {
    html {
        font-size: 16px;
    }
}

.border-top {
    border-top: 1px solid #e5e5e5;
}

.border-bottom {
    border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
    box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
    font-size: 1rem;
    line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    position: relative;
    min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    /*    margin-bottom: 60px;*/
}

.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    line-height: 60px; /* Vertically center the text there */
}

/* ここから上はほとんど初期状態
-------------------------------------------------- */

/* ボディのスタイル */
body {
    font-family: 'Meiryo', 'Noto Sans Japanese', serif;
    color: #444;
}

/* 固定幅のテーブル用 */
.table-fixed {
    table-layout: fixed;
}
/*    .table-fixed th {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }*/
    .table-fixed td {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }


/* 画面名に使ってください */
.title-label {
    font-size: 1.25rem;
    font-weight: bold;
    margin-bottom: 16px;
}

/* 入力項目のグループ名に使ってください */
.form-group-label {
    font-size: 1em;
    display: inline-flex;
    width: 100%;
    margin-bottom: 10px;
    border-bottom: 1px solid #ddd;
    font-weight: bold;
}

/* 入力項目名に使ってください */
.form-label {
    padding: 4px;
    display: block;
    /*    width: 120px;*/
    color: #666;
    font-size: 0.8em;
    margin: 0px;
    padding: 0px;
}

/* そのままだとチェックボックスの位置に違和感あるので調整 */
.custom-checkbox {
    padding-top: 3px;
}

/* チェックボックスのラベルに使ってください */
.check-label {
    font-size: 0.8em;
    padding-top: 3.5px;
}

/* 一覧用 ボタンセル */
.button-cell {
    background-color: white !important;
    border-top-color: white !important;
    border-bottom-color: white !important;
    border-left-color: white !important;
    text-align: center;
    min-width: 66px !important;
    max-width: 66px !important;
    width: 66px !important;
}

/* 一覧用 ボタンヘッダー */
.button-header {
    position: sticky;
    top: 0;
}

    .button-header:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: calc(100% + 1px);
        height: 20px;
        border-top: 1px solid;
        border-bottom: 1px solid;
        border-color: white;
    }

/* 一覧用　テキストヘッダー */
.text-header {
    position: sticky;
    top: 0;
    /*overflow: hidden;
    text-overflow: ellipsis;*/
    white-space: nowrap;
}

    .text-header:before {
        content: "";
        position: absolute;
        top: -1px;
        left: -1px;
        width: calc(100% + 1px);
        height: 20px;
        border-top: 1px solid #dee2e6;
    }

/* 一覧用 編集ボタン パディング分行が太くなってたので0にしました */
.edit-button {
    padding-top: 0px;
    padding-bottom: 0px;
}

/* プレースホルダーに使いたいときはこれを追加して、アイコンのunicodeを書く */
input.font-awesome {
    font-family: FontAwesome;
    font-style: normal;
    font-weight: normal;
    text-decoration: inherit;
}

/* 注意事項みたいなの書く時用 フォント小さ目 */
.bikou-label {
    font-size: 0.8rem;
    color: #6c757d !important;
}

/* 改行無し */
.nowrap {
    white-space: nowrap;
}

/* セレクトボックスの表示切替で使います */
.hidden-row {
    display: none;
}

.input-date {
    position: relative;
}

    .input-date::-webkit-calendar-picker-indicator {
        position: absolute;
        left:-30px;
        width: 100%;
        height: 100%;
        opacity: 0;
    }

.list-group-item {
    padding: 8px;
}


.FlexTextarea {
    position: relative;
    font-size: 1rem;
    line-height: 1.8;
}

.FlexTextarea__dummy {
    overflow: hidden;
    visibility: hidden;
    box-sizing: border-box;
    padding: 5px 15px;
    min-height: 120px;
    white-space: pre-wrap;
    word-wrap: break-word;
    overflow-wrap: break-word;
    border: 1px solid;
}

.FlexTextarea__textarea {
    position: absolute;
    top: 0;
    left: 0;
    display: block;
    overflow: hidden;
    box-sizing: border-box;
    padding: 5px 15px;
    width: 100% !important;
    height: 100% !important;
    background-color: transparent;
    border: 1px solid #b6c3c6;
    border-radius: 4px;
    color: inherit;
    font: inherit;
    letter-spacing: inherit;
    resize: none;
}
