@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;
    --bs-primary: #007bff;
    --bs-primary-rgb: 0, 123, 255;
}
.navbar {
    --bs-navbar-color: rgba(0, 0, 0, .5);
    --bs-navbar-hover-color: rgba(0, 0, 0, .7);
    --bs-navbar-active-color: rgba(0, 0, 0, .9);
    --bs-navbar-brand-color: rgba(0, 0, 0, .9);
    --bs-navbar-brand-hover-color: rgba(0, 0, 0, .9);
    --bs-navbar-toggler-border-color: rgba(0, 0, 0, .1);
}
.dropdown-menu {
    --bs-dropdown-item-padding-x: 1.5rem;
}
.btn-secondary {
    --bs-btn-hover-bg: #5a6268;
    --bs-btn-hover-border-color: #545b62;
    --bs-btn-active-bg: #545b62;
    --bs-btn-active-border-color: #4e555b;
}
.alert-warning {
    --bs-alert-color: #856404;
    --bs-alert-bg: #fff3cd;
    --bs-alert-border-color: #ffeeba;
}
a {
    text-decoration: none;
}
a:hover {
    text-decoration: underline;
}
.btn:hover, .nav-link:hover, .navbar-brand:hover, .page-link:hover, .dropdown-item:hover {
    text-decoration: none;
}
small, .small {
    font-size: 80%;
}
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;
}
.row.gx-2 {
    --bs-gutter-x: 10px;
}
@media (min-width: 1400px) {
    .container {
        max-width: 1140px;
    }
}
.btn {
    --bs-btn-disabled-border-color: transparent;
}
.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;
}
.main-inner {
    margin-left: 0.5rem;
    margin-top: 0.5rem;
}

/* ===== Menu ===== */
nav.navbar {
    background-color: #c8dae7;
}
.navbar-brand {
    margin-right: 2rem;
}
#notification-icon {
    position: relative;
}

.has-new:before{
    content: "";
    position: absolute;
    background: #ff0000;
    height: 6px;
    width: 6px;
    left: 20px;
    text-align: center;
    border-radius: 50%;
    color: #ff0000;
}
.right-nav-string {
    padding-left: 5px;
}

/* ===== Title ===== */
.title {
    display: inline-block;
    margin-bottom: 1rem;
    padding: 0.5rem 1rem;
    border: 1px solid #256da1;
    border-left: 4px solid #256da1;
    border-right: 4px solid #256da1;
    vertical-align: middle;
    width: 100%;
    font-size: 1.25rem;
    margin: 0.5rem 0;
}

/* ===== 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;
}

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

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

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

/* ===== Text ===== */
input[type="text"] {
    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;
}

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

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

/* ===== Tab ===== */
.nav-tabs .nav-link.active {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link.active:hover {
    border-color: #256da1 #256da1 #fff;
    background-color: #256da1;
    color: #fff;
}
.nav-tabs .nav-link {
    border-color: #256da1 #256da1 #fff;
    text-decoration: none;
    color: #000;
}
.nav-tabs .nav-link:hover {
    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;
}

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

.table td.invalid {
    background-color: pink;
}

@media screen and (max-width:991px) {
    .right-nav-string {
        display: none;
    }
}

/* ===== Responsive ==== */
@media screen and (max-width:767px) {
    .navbar-nav.float-end {
        flex-direction: row;
    }
    .navbar-nav.float-end li {
        margin-left: 20px;
    }
}
