﻿/* 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 */
    font-family: "ヒラギノ角ゴ ProN W3", "Hiragino Kaku Gothic ProN", "メイリオ", Meiryo, sans-serif;
    margin-bottom: 60px;
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}

/* -------------------------------------------------- */
html {
    overflow-y: scroll;
}

/* 日曜日のカラー設定 */
td.ui-datepicker-week-end:first-child a.ui-state-default {
    background-color: #ffecec; /* 背景色を設定 */
    color: #f00 !important; /* 文字色を設定 */
}
/* 土曜日のカラー設定 */
td.ui-datepicker-week-end:last-child a.ui-state-default {
    background-color: #eaeaff; /* 背景色を設定 */
    color: #00f !important; /* 文字色を設定 */
}
/* ホバー時の動作 */
td.ui-datepicker-week-end a.ui-state-hover {
    opacity: 0.8;
}
/* 当日を示す色はそのまま */
td.ui-datepicker-week-end a.ui-state-highlight {
    background-color: #fffa90 !important;
}

.nav-item a:hover {
    text-decoration: underline;
}

.screen-title {
    padding-top: 5px;
    padding-left: 20px;
    border-left-width: 5px;
    border-left-style: solid;
    border-left-color: #6495ED;
    margin-bottom: 30px;
}

.float-right {
    float: right;
}

.text-align-right {
    text-align: right;
}

.processing-modal {
    text-align: center;
    padding: 50px;
}
.processing-spinner {
    width: 5rem;
    height: 5rem;
}
.processing-text {
    color: gray;
    font-weight: normal;
}
.submenu-item {
    display: block;
    width: 100%;
    height: 100%;
}
/* メニューリンクのテキスト部分にのみ下線を表示するためのスタイル(バッジなどには下線を表示させない) */
a.submenu-item {
    text-decoration: none;
}
a.submenu-item .line {
    text-decoration: underline;
}

/*
  【原価310】Bootstrapバージョンアップ (5.1.3 -> 5.3.3) #1758
  - readonlyのスタイルが設定されなくなったのでdisableと同じスタイルを設定する
 */
.form-control[readonly] {
  background-color: var(--bs-secondary-bg);
  opacity: 1;
}

.break-word {
  word-break: break-word;
}