﻿/* 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 */
}
/* Set padding to keep content from hitting the edges */
/*
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}
*/

/* -- ここまでテンプレート -- */
.form-control {
    padding: 0.25rem 0.5rem;
}

input[type="text"].date,
input[type="text"].date-in-modal {
    width: 100px;
}
input[type="text"].date[readonly],
input[type="text"].date-in-modal[readonly] {
    background-color: white;
}
input[type="text"].time,
input[type="text"].time-bottom {
    width: 60px;
}

select.form-control {
    /*width: auto;*/
}

.table th, .table td {
    padding: 0.25em;
}
legend {
    font-size: 1.2em;
}
.multi-input-area > div.input-row {
    margin: 0px 0;
}
.multi-input-area > div.input-row input.form-control {
}
.multi-input-area > div.input-row div.cell {
    /*border: 1px solid;*/
}
.multi-input-area > div.input-row button {
    width: 38px;
    /*height: 30px;*/
    border: 1px solid #ccc;
    background: #fff;
    border-radius: 5px;
    padding: 6px 0px;
    margin: 0;
}
/* 行の選択色 */
tr.selected {
    background: #80ffff80 !important;
    background: #c4e2ff !important; 
}

legend.input-area-group {
    width: auto;
    padding: 0 10px;
    border-bottom: none;
    font-size: 1em;
}
div.tab-content {
    max-height: 600px;
    overflow-y: auto;
}
textarea.multi-line {
    font-size: 0.75rem;
}
select.select2-single,
select.select2-multiple,
select.select2-tag {
    width: 168px;
}

.select2-container {
    margin-left: 0.5rem;
}

.ellipsis-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.form-control-plaintext {
    width: auto;
    padding: 0.25rem 0.5rem;
    resize: none;
   /* border: 1px solid #808080;
    border-radius: 5px;*/
}
.card-body {
    padding: 0.5rem 1.0rem;
}
/* 必須項目ラベル */
span.required,
label.required {
    display: block;
}
span.required:after,
label.required:after {
    margin-left: .2em;
    padding: 0px 4px 0px 4px;
    border-radius: 4px;
    font-size: 0.6em;
    color: white;
    background-color: #C44;
    content: "必須";
    vertical-align: top;
}
/* 承認フロー制御用ボタン */
.btn-flow {
    padding-left: .3rem;
    padding-right: .3rem;
}

/*
    input type="number" のスピンボタンを消す。 
    FireFoxの場合はreadonly でも表示されるため適用。
    Chromeはreadonlyだと出ない。
*/
/*Chrome, Safari*/
/*input[type="number"][readonly]::-webkit-outer-spin-button,
input[type="number"][readonly]::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}*/
/*FireFox， IE*/
input[type="number"][readonly] {
    -moz-appearance: textfield;
}
div.header-work-date {
    margin-bottom: .25rem;
}
@media (max-width:575px) {
    html {
        font-size: 2.4vw;
    }
    /*　X-Smallの場合読み込む　*/
    .btn {
        padding: .375rem .5rem;
    }
    .form-inline label {
        margin-bottom: 0;
    }
    .nav-link {
        padding: .5rem .75rem
    }
}
