@charset "utf-8";

/* ===== Base, Frame Style ============================== */
html {
    padding:0;
    margin:0;
    height:100%;
    font-size: 14px;
}

body {
    padding:0;
    margin:0;
    height:100%;
}

/* ===== Bootstrap 4 の見た目に合わせる ===== */
:root {
    --bs-font-sans-serif: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
    --bs-link-color-rgb: 0, 123, 255;
    --bs-link-hover-color-rgb: 0, 86, 179;
    --bs-border-radius: .25rem;
    --bs-border-radius-sm: .2rem;
    --bs-border-radius-lg: .3rem;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.btn:hover, .nav-link:hover, .page-link:hover, .dropdown-item:hover {
    text-decoration: none;
}
label {
    margin-bottom: .5rem;
}
.form-check-label {
    margin-bottom: 0;
}
.table {
    --bs-table-bg: transparent;
    --bs-table-color: var(--bs-body-color);
    --bs-table-striped-color: var(--bs-body-color);
    --bs-table-hover-color: var(--bs-body-color);
    --bs-table-active-color: var(--bs-body-color);
}
.table > :not(caption) > * > * {
    padding: .75rem;
}
.table-sm > :not(caption) > * > * {
    padding: .3rem;
}
.table-bordered {
    border: 1px solid var(--bs-border-color);
}
.table-bordered > :not(caption) > * {
    border-width: 0;
}
.table-bordered > :not(caption) > * > * {
    border-width: 1px;
}
.table-bordered > thead > tr > th {
    border-bottom-width: 2px;
}
.table-hover > tbody > tr:hover {
    background-color: rgba(0, 0, 0, .075);
}
.table-hover > tbody > tr:hover > * {
    --bs-table-bg-state: transparent;
}
.form-check-input {
    appearance: auto;
    width: auto;
    height: auto;
    border: 0;
    background: none;
}
.form-check-input:focus {
    box-shadow: none;
}
.container, .row {
    --bs-gutter-x: 30px;
}
.btn {
    --bs-btn-disabled-border-color: transparent;
}
.btn.disabled:not(a) {
    pointer-events: auto;
}
.page-item:not(.disabled) > .page-link.disabled {
    pointer-events: auto;
}
.page-item.disabled .page-link {
    color: #6c757d;
    background-color: #fff;
    border-color: #dee2e6;
}
.form-control, .form-select {
    color: #495057;
}
.input-group-text {
    color: #495057;
    background-color: #e9ecef;
}
.card {
    --bs-card-spacer-y: 1.25rem;
    --bs-card-border-color: rgba(0, 0, 0, .125);
    --bs-card-spacer-x: 1.25rem;
    --bs-card-cap-padding-y: .75rem;
    --bs-card-cap-padding-x: 1.25rem;
}
.badge {
    --bs-badge-padding-x: .4em;
    --bs-badge-padding-y: .25em;
}
.badge.rounded-pill {
    --bs-badge-padding-x: .6em;
}
.row.gx-2 {
    --bs-gutter-x: 10px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}
.main-inner {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

/* ===== Side Bar ===== */
.nopad {
    padding: 0;
}
.sidebar {
    height:100%;
    border-right: solid 1px #ccc;
    position:fixed;
    top:0;
    width: 145px;
}
.userinfo {
    border: 1px solid #dfdfdf;
    background-color: #35699b;
    color: #fff;
    padding: 5px;
}
.userinfo p {
    padding-left: 0.5rem;
    margin: 0;
}
.left_menu_area ol {
    margin: 0;
    padding: 0;
    text-align: left;
}
.left_menu_area li {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
}
.left_menu_area li.current {
    background-color: #c8dae7;
}
.left_menu_area li:hover {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
    background-color: #256da1;
}
.left_menu_area li.disabled:hover {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
    background-color: initial;
}
.left_menu_area p.expander {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
    display: block;
    padding: .5rem 1rem;
    margin: 0;
}
.left_menu_area picture.expander.current {
    background-color: #c8dae7;
}
.left_menu_area p.expander:hover {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
    background-color: #256da1;
    display: block;
    padding: .5rem 1rem;
    margin: 0;
    color: #fff;
}
.left_menu_area p.expander.disabled:hover {
    list-style: none;
    border: 1px solid #dfdfdf;
    border-width: 0 1px 1px;
    padding: 1px;
    background-color: initial;
    display: block;
    padding: .5rem 1rem;
    margin: 0;
}
.left_menu_area a {
    display: block;
    color: #383838;
    padding: .5rem 1rem;
    text-decoration: none;
}
.left_menu_area a:hover {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: .5rem 1rem;
}
.left_menu_area li.current a {
    color: #256da1;
}
.left_menu_area li.current a:hover {
    color: #fff;
}
.left_menu_area div.expander_body div {
    display: block;
    color: #383838;
    padding: .5rem 1rem .5rem 2rem;
    text-decoration: none;
}
.left_menu_area div.expander_body div:hover {
    display: block;
    color: #fff;
    text-decoration: none;
    padding: .5rem 1rem .5rem 2rem;
}
.left_menu_area li.current div.expander_body div {
    color: #256da1;
}
.left_menu_area li.current div.expander_body div:hover {
    color: #fff;
}
.left_menu_area div.btn-group {
    border-top: 2px double #dfdfdf;
}
.left_menu_area a.btn {
    padding: .5rem .5rem;
    width: 44px;
}

/* ====== Main Contents ===== */
main.contents {
    margin-left: 145px;
}

/* ===== Group box ===== */
.border-group {
    border-color: #256da1;
}

/* ===== Calender ===== */
.tempus-dominus-widget {
    --td-active-bg: #c8dae7;
    --td-active-color: #256da1;
    --td-active-border-color: #fff;
    --td-text-shadow: none;
    --td-border-radius: 0;
    --td-dow-color: #212529;
    --td-font-color: #212529;
    width: 14rem;
    font-size: 14px;
    border: 1px solid rgba(0, 0, 0, 0.15);
    border-radius: 0.25rem;
    box-shadow: none;
}

.tempus-dominus-widget :focus {
    box-shadow: none;
}

.tempus-dominus-widget .calendar-header {
    grid-template-columns: 1fr 5fr 1fr;
    grid-template-areas: none;
    margin-bottom: 0;
    border-top: 1px solid #256da1;
    border-left: 1px solid #256da1;
}

.tempus-dominus-widget .calendar-header > div {
    padding: 4.2px;
    text-align: center;
    background-color: #c8dae7;
    border-right: 1px solid #256da1;
    border-bottom: 1px solid #256da1;
}

.tempus-dominus-widget .calendar-header .previous,
.tempus-dominus-widget .calendar-header .next {
    padding: 4.2px;
    text-align: center;
}

.tempus-dominus-widget .date-container-days {
    grid-auto-rows: 29.4px;
    border-left: 1px solid #256da1;
}

.tempus-dominus-widget .date-container-days > div,
.tempus-dominus-widget .date-container-days > div:not(.no-highlight) {
    width: 100%;
    height: 100%;
    border-right: 1px solid #256da1;
    border-bottom: 1px solid #256da1;
}

.tempus-dominus-widget .date-container-days .dow {
    display: flex;
    font-weight: bold;
    background-color: #c8dae7;
}

.tempus-dominus-widget .date-container-days > div:nth-child(7n + 1),
.tempus-dominus-widget.light .date-container-days > div.dow:nth-child(1) {
    color: #f00;
}

.tempus-dominus-widget .date-container-days > div:nth-child(7n),
.tempus-dominus-widget.light .date-container-days > div.dow:nth-child(7) {
    color: #00f;
}

.tempus-dominus-widget .date-container-days > div.old,
.tempus-dominus-widget .date-container-days > div.new {
    color: #6c757d;
}

.tempus-dominus-widget.light .date-container-days > div.active {
    color: #256da1;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).today:before {
    border-bottom-color: #007bff;
    bottom: 4px;
    right: 4px;
}

.tempus-dominus-widget.light .date-container-days div:not(.no-highlight).active.today:before {
    border-bottom-color: #fff;
}

.tempus-dominus-widget .toolbar {
    grid-auto-rows: 29.4px;
}

.tempus-dominus-widget .time-container-clock {
    grid-auto-rows: 54px;
}

.tempus-dominus-widget .time-container-clock [data-action="showHours"],
.tempus-dominus-widget .time-container-clock [data-action="showMinutes"] {
    font-size: 16.8px;
    font-weight: bold;
}

/* ===== Place Holder ===== */
.form-control::placeholder{
    color: #ccc;
}

/* ===== Tooltip ===== */
.tooltip {
    --bs-tooltip-bg: #256da1;
}

/* ===== Text ===== */
input[type="text"] {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 4rem;
}

/* ===== Number ===== */
input[type="number"] {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 4rem;
}

/* ===== Password ===== */
input[type="password"] {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 8rem;
}

/* ===== Button ===== */
/* ----- type A ---- */
.btn-typeA {
    background-color:#256da1;
    border-color: #256da1;
    color:#FFF;
}

.btn-typeA:hover {
    background-color: #99b3d4;
    border-color: #99b3d4;
    color:#FFF;
}

.btn-typeA:disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

.btn-typeA.disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

/* ----- type B ---- */
.btn-typeB {
    background-color:#944e3b;
    border-color: #944e3b;
    color:#FFF;
}

.btn-typeB:hover {
    background-color: #c49c91;
    border-color: #c49c91;
    color:#FFF;
}

.btn-typeB:disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

.btn-typeB.disabled {
    background-color: #808080;
    border-color: #808080;
    color:#000;
}

/* ===== Text ===== */
select, select.form-select {
    border:solid 1px #256da1;
    font-weight: normal;
    border-radius:2px;
    min-width: 8rem;
}

/* ===== Table ==== */
.table > thead > tr > th{
    border:1px solid #256da1;
    background-color: #c8dae7;
    text-align: center;
}
.table > tbody > tr > td{
    border:1px solid #256da1;
}
.table .table-striped > tbody > tr:nth-child(odd) td {
	background: #f0f7ff;
}

/* ===== Tab ===== */
.nav-tabs .nav-link.active {
    border: 1px solid;
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link.active:hover {
    border: 1px solid;
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link {
    border: 1px solid;
    border-color: #256da1 #256da1 #fff;
    text-decoration: none;
    color: #000;
}
.nav-tabs .nav-link:hover {
    border: 1px solid;
    background-color: #99b3d4;
    border-color: #256da1 #256da1 #fff;
    text-decoration: none;
    color: #000;
}

/* ===== Pagenation ===== */
.page-item.active .page-link {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.page-item.active .page-link:hover {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}

.page-item .page-link {
    border-color: #256da1;
    text-decoration: none;
    color: #000;
}
.page-item .page-link:hover {
    background-color: #99b3d4;
    border-color: #256da1;
    text-decoration: none;
    color: #000;
}

/* ===== Breadcrumbs ===== */
.breadcrumbs {
    position: relative;
    border-bottom: 1px solid #256da1;
    background-color: #c8dae7;
    min-height: 41px;
    line-height: 40px;
    padding: 0 12px 0 0;
}
.breadcrumbs.breadcrumbs-fixed {
    position: fixed;
    right: 0;
    left: 190px;
    top: 0;
    z-index: 1028;
}
.breadcrumb {
    list-style: none;
    background-color: transparent;
    display: inline-block;
    line-height: 24px;
    margin: 0 22px 0 12px;
    padding: 0;
    font-size: 1rem;
    color: #256da1;
    border-radius: 0;
}

/* ===== Card ==== */
.card-typeA {
    padding: 1rem 1rem 0 1rem;
    margin-bottom: 1rem;
    border-color: #256da1;
}

/* ===== Busy Indicator ===== */
#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #888;
    opacity: 0.8;
    z-index: 3000;
}

#loading .loadingMsg {
    display: table-cell;
    text-align: center;
    vertical-align: middle;
    padding-top: 140px;
    background: url("../img/loader.gif") center center no-repeat;
}

.collapsing {
    -webkit-transition: height 0.15s ease;
    transition: height 0.15s ease;
}

/* ===== Modal ===== */
.modal-header {
	background-color:#c8dae7;
}
div.printmodalsearcharea {
	margin-bottom:5px;
	padding-bottom:5px;
}
div.printmodalsearcharea table {
    width: 100%;
}

/* ----- Confirm Modal ----- */
.modal-body {
    font-size: 1.25rem;
}
.modal-body button {
    min-width: 6rem;
}

/* ===== Notification Badge ===== */
span#notification_count {
    margin-left: 3px;
}
span#notification_count.text-bg-success {
    background-color: #28a745 !important;
}

.select2 {
    width: auto !important;
    border: solid 1px #256da1;
    border-radius: 2px;
}
.select2-container--bootstrap-5 .select2-selection {
    border: none;
}