﻿body {
    padding: 0!important;
    font-size: .875rem;
    /*background-color: #f5f5f5;*/
}
h1, .h1, h2, .h2, h3, .h3 {
    margin-top: 10px;
    margin-bottom: 10px;
}
.col-sm-1, .col-sm-2, .col-sm-3, .col-sm-4, .col-sm-5, .col-sm-6, .col-sm-7, .col-sm-8, .col-sm-9, .col-sm-10, .col-sm-11, .col-sm-12 {
    float: left;
}
/*水平線の基本幅*/
hr{
    margin-top: 0.5em;
    margin-bottom: 0.5em;
}
th{
    white-space: nowrap;
}
td{
    white-space: nowrap;
}
/* オーバーフロー設定 widthは実装先で好きに変えて良い */
.overflow{
    width : 200px;
    max-width: 200px;       /* td要素はmax指定が必要 */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.feather {
    width: 16px;
    height: 16px;
    vertical-align: text-bottom;
}

[role="main"] {
    padding-top: 10px; /* Space for fixed navbar */
}
.navbar-brand {
    padding-top: .75rem;
    padding-bottom: .75rem;
    font-size: 1rem;
    background-color: rgba(0, 0, 0, .25);
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .25);
}
.navbar .form-control {
    padding: .75rem 1rem;
    border-width: 0;
    border-radius: 0;
}
            
.form-control-dark {
    color: #fff;
    background-color: rgba(255, 255, 255, .1);
    border-color: rgba(255, 255, 255, .1);
}
            
.form-control-dark:focus {
    border-color: transparent;
    box-shadow: 0 0 0 3px rgba(255, 255, 255, .25);
}
.form-control-menu {
    padding-top: .75rem;
    padding-bottom: .75rem;
    padding-left: .75rem;
    font-size: 1rem;
    color: #fff;
}
.form-control-user {
    padding-left: .75rem;
    padding-right: .75rem;
    font-size: 1rem;
    color: #fff;
}
.modal{
    font-size: .8rem;
}
.calendar-row{
    height: 80px;
}
/* jquery-validater検証エラー時の項目 */
.input-validation-error{
    border-color: #dc3545!important;
}
/* jquery-validaterの検証メッセージ */
.field-validation-error{
    color: #dc3545;/* text-danger */
}
/* [Required]属性の項目 */
[data-val-required]{
    background-color: #fff3cd;/* alert-warning */
}
/* 必須チェックボタン用 */
.required-labelbtn{
    background-color: #fff3cd!important;/* alert-warning */
}
.required-labelbtn.active{
    background-color: khaki!important;
}

.required-labelbtn:hover{
    background-color: khaki!important;
}

#info-msg-list:empty{
    display: none;
}
#err-msg-list:empty{
    display: none;
}
/* DB操作結果の表示用スタイル */
.inserted{
    color : blue
}
.updated{
    color : blue
}
.no-changed{

}
/* datepiker表示調整 */
.ui-datepicker-year{
    border-radius: 3px;
    margin-right: 1px;
}
/* datepiker表示調整 */
.ui-datepicker-month{
    border-radius: 3px;
    margin-left: 1px;
}
/* sticky table */
.sticky_table thead th {
    /* 縦スクロール時に固定する */
    position: -webkit-sticky;
    position: sticky;
    top: -1px;
    /* tbody内のセルより手前に表示する */
    z-index: 1;
}
.sticky_table thead th:first-child {
    /* 行内の他のセルより手前に表示する */
    z-index: 2;
}
.sticky_table th:first-child {
    /* 横スクロール時に固定する */
    position: -webkit-sticky;
    position: sticky;
    left: 0;
}
.sticky_table_wrapper {
  overflow: scroll;
  height: 75vh;
}

/*ロード画面*/
#loading {
  display: table;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #000;
  opacity: 0.3;
  z-index: 9998;
}

#screen_lock {
  z-index: 9999;
  position: absolute;
  top: calc(50% - 50px);
  left: calc(50% - 50px);
  width: 100px;
  height: 100px;
  font-size: 50px;
}

/* input-group-sm row配下のinput-group-appendが小さくならないので、input-group-smに合わせて小さくする */
.form-group.row .input-group-sm .input-group-append {
    height: calc(1.5em + 0.5rem + 2px);
}

/*form-groupのmargine-bottomを0にする*/
.form-group{
    margin-bottom: 0!important;
}

.sidebar {
    position: fixed;
    top: 0;
    bottom: 0;
    left: 0;
    z-index: 100; /* Behind the navbar */
    padding-top: 48px; /* Height of navbar */
    box-shadow: inset -1px 0 0 rgba(0, 0, 0, .1);
}

.sidebar-sticky {
    position: relative;
    top: 0;
    height: calc(100vh - 48px);
    padding-top: .5rem;
    overflow-x: hidden;
    overflow-y: auto; /* Scrollable contents if viewport is shorter than content. */
}

@supports ((position: -webkit-sticky) or (position: sticky)) {
    .sidebar-sticky {
        position: -webkit-sticky;
        position: sticky;
    }
}

.sidebar .nav-link {
    font-weight: 500;
    color: #333;
}

.sidebar .nav-link .feather {
    margin-right: 4px;
    color: #999;
}

.sidebar .nav-link.active {
    color: #007bff;
}

.sidebar .nav-link:hover .feather,
.sidebar .nav-link.active .feather {
    color: inherit;
}

.sidebar-heading {
    font-size: .80rem;
    text-transform: uppercase;
}

.sidebar-sub {
    font-size: .80rem;
    padding-bottom: .25rem;
}

#sidenav-open {
    position: fixed;
    top: 58px;
    left: -100px;
    z-index: 100;
    display: none;
}

#sidenav-close > i{
    cursor:pointer;
}

.btn-sm{
    min-width:100px;
}
