﻿.main-header {
    background-color: #FFA0B0;
    color: #fff
}
.top_system_name1 {
    color: #dc3545;
    text-shadow:
        1px  1px 0 white, 0px  1px 0 white, -1px  1px 0 white,
        1px  0px 0 white, 0px  0px 0 white, -1px  0px 0 white,
        1px -1px 0 white, 0px -1px 0 white, -1px -1px 0 white
    ;
    font-size:30px;
    font-weight:bold;
    padding-bottom:0;
    margin:10px 0 0;
}
.top_system_name2 {
    color: #222;
    text-shadow:
        1px  1px 0 white, 0px  1px 0 white, -1px  1px 0 white,
        1px  0px 0 white, 0px  0px 0 white, -1px  0px 0 white,
        1px -1px 0 white, 0px -1px 0 white, -1px -1px 0 white
    ;
    font-size:20px;
    font-weight:bold;
    padding:0;
    margin-bottom:0;
}

.system_name {
    min-width: 170px;
}
.system_name h1 {
    font-size: 1.2rem;
    font-weight: bold;
    margin-bottom: 0;
    color: #dc3545;
    text-shadow:
        1px  1px 0 white, 0px  1px 0 white, -1px  1px 0 white,
        1px  0px 0 white, 0px  0px 0 white, -1px  0px 0 white,
        1px -1px 0 white, 0px -1px 0 white, -1px -1px 0 white
    ;
}
.system_name h2 {
    font-size: 0.7rem;
    font-weight: bolder;
    margin-bottom: 0;

    color: #222;
    text-shadow:
        1px  1px 0 white, 0px  1px 0 white, -1px  1px 0 white,
        1px  0px 0 white, 0px  0px 0 white, -1px  0px 0 white,
        1px -1px 0 white, 0px -1px 0 white, -1px -1px 0 white
    ;

}
.nav-menu {
    text-align: left;
    min-width: 50px;
    padding-right:20px;
    white-space:nowrap;
}
.nav-menu a {
    color: #FFF;
}
.nav-active a {
    color: #333 !important;
}
.nav-link {
    padding: 0.5rem;
}
.nav-item {
    white-space:nowrap;
}
.header-up {
    padding-top: 6px;
    padding-bottom: 6px;
}
.container {
    max-width: 1440px;
}
.header-pa {
    padding: 6px 20px;
}
.header-main {
    background-color: #FFA0B0;
    color: #fff;
}
.card-body {
    background-color: #FFF0E7;
}
.tab-body {
    background-color: #fff;
}
.nav-tabs {
    background-color:#F5F5F5;
}
.nav-tabs.tab-link .nav-link {
    border-color: #e9ecef #e9ecef #dee2e6;
}
.card.card-outline-tabs .card-header a:not(.card.card-outline-tabs .card-header a.active) {
    border-top: 3px solid #dee2e6;
}

.c-ttl {
    padding-left: 15px;
    border-left: solid 5px #ffa0b0;
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.c-ttl02 {
    font-size: 17px;
    font-weight: bold;
    color: #333;
}
.font-weght-bolder {
    font-weight: bolder;
}
.font-color-red {
    color: red;
}
.bg-color {
    background-color: #fafab5;
    text-align:center;
    border-radius: 7px;
}
.bg-color2 {
    background-color: #fafab5;
}
.bg-light-gray {
    background-color: #f5f5f5;
}

/* メニュー画面 */
.menu-title {
    margin-right: -7.5px;
    margin-left: -7.5px;
    margin-bottom: 0;
    padding: 10px 15px;
    background-color: #FFA0B0;
    letter-spacing: 1px;
    color: #fff;
    font-size:1.25em;
}
.menu-title i {
    margin-right: 10px;
    background-color: #28a745;
    font-size: 23px;
}
.menu-bg-color {
    background-color: #fff;
}
.menu-btn {
    letter-spacing: 1px;
    font-size: 1em;
    height: 100%;
}

/* 表の固定 */
.sticky-table-left-0 th:first-child {
    position: sticky;
    left: 0;
    background-color: white;
    background-clip: padding-box;
}
.sticky-table-left-0 .td-hold {
    position: sticky;
    left: 0;
    background-color: white;
    background-clip: padding-box;
}
/*.sticky-table-left-0 th, td {
    white-space: nowrap;
}*/

/* Select2 HACK */
/*.select2-container .select2-selection--single {
    height: auto !important;
}*/

.not-discard-row {
    background-color: lightcoral;
}
.incomplete-row {
    background-color: #FFFFBF;
}
.outofcourse-row {
    background-color: #BFBFFF;
}
.request-row {
    background-color: #FFBFBF;
}
.complete-row {
    background-color: #FFFFFF;
}
.deleted-row {
    background-color: lightgray;
    color: red;
}
.undefined-order-row {
    color: red;
}
.multidata-cell {
    background-color: lightyellow;
}
.combustible-cell {
    background-color: #f8b862;
}
.uncombustible-cell {
    background-color: #a0d8ef;
}
.combustible-and-uncombustible-cell {
    background: linear-gradient(115deg, #f8b862 50%, #a0d8ef 50%);
}
.contract-row-active, .waste-row-active, .maintable-row-active {
    background-color: azure;
}
.deleted-row.maintable-row-active {
    background-color: lightgoldenrodyellow;
}
.custom-file-label::after {
    content: "選択" !important;
}

.w40px {
    width: 40px !important;
    min-width: 40px !important;
    max-width: 40px !important;
}
.w50px {
    width: 50px !important;
    min-width: 50px !important;
    max-width: 50px !important;
}
.w60px {
    width: 60px !important;
    min-width: 60px !important;
    max-width: 60px !important;
}
.w70px {
    width: 70px !important;
    min-width: 70px !important;
    max-width: 70px !important;
}
.w80px {
    width: 80px !important;
    min-width: 80px !important;
    max-width: 80px !important;
}
.w400px {
    width: 400px !important;
    min-width: 400px !important;
}
.w250px {
    width: 250px !important;
    max-width: 250px !important;
}

.w5 { width: 5% !important; }
.w10 { width: 10% !important; }
.w20 { width: 20% !important; }
.w25 { width: 25% !important; }
.w30 { width: 30% !important; }
.w35 { width: 35% !important; }
.w40 { width: 40% !important; }
.w50 { width: 50% !important; }
.w60 { width: 60% !important; }
.w70 { width: 70% !important; }
.w75 { width: 75% !important; }
.w80 { width: 80% !important; }
.w90 { width: 90% !important; }

.modal-dialog-fluid {
    max-width: inherit;
    width: 98%;
    margin-left: 15px;
}
.modal-y-scroll {
    height: 75vh;
    overflow-y: scroll;
}
.input-group-text-sm {
    padding: .25rem .5rem;
}
.search-chk, .clear-search-date {
    top: 0;
    bottom: 0;
    left: 0;
    margin: auto;
}
.ui-autocomplete {
    max-height: 300px;
    overflow-y: auto;
    overflow-x: hidden;
    padding-right: 20px;
    z-index: 9999;
}

/* 児童台帳 */
.daicho-date { min-width: 120px; }
.daicho-80 { min-width: 80px; }
.daicho-180 { min-width: 180px; }
.daicho-btn {
    padding: 0.25rem 0.1rem;
    font-size: 1em;
    line-height: 1;
    border-radius: 0.2rem;
}
/* 児童台帳 予防接種 */
.vaccination table th, .vaccination table td, .vaccination table input {
    font-size: 12px;
}
/* 児童台帳 四角ボタン*/
.daicho_sqbtn {
    min-width:40px;
    max-width:60px;
}
.daicho_sqbtn span {
    font-size: 12px;
}
/* 児童台帳上部共通項目BOX */
.daicho_common_box {
    max-width:1200px;
}
/* ヘッダー */
img.brand-image {
    margin-top:0 !important;
    margin-right:0;
    height:40px !important;
}

/* padding調整 */
.p-2 {
    padding: 0.2rem!important;
}
.pt-5px {
    padding-top: 5px;
}
.pb-10px {
    padding-bottom: 10px;
}
.pb-15px {
    padding-bottom: 15px;
}
.pt-30px {
    padding-top: 30px;
}
/* 横幅指定 */
.w-5px {
    width: 5px;
}
.w-45p {
    width:45%;
}
.w-55p {
    width:55%;
}
/* 非アクティブ時のボタン背景色 */
.btn-outline-secondary {
    background-color:#FFF;
}

/* ログイン */
.login-box {
    width: 400px !important;
}
.background-pink {
    background-color:#FFA0B0;
    color:#fff;
}
/* ボタンの枠線 */
.btn-light {
    border:1px solid #ced4da;
}
/* 文字サイズ */
.fs-14px {
    font-size:14px;
}
.w430px {
    min-width:430px;
}
.w190px {
    min-width:190px;
}
.padding-sm {
    padding: 5px !important;
}

/* 児童台帳 写真枠 */
.jidou-photo {
    position: relative;
    width: 90px;
    height: 120px;
    border: 1px solid black;
    margin: 0 auto;
}

#jidou-photo {
    object-fit: cover;
    position: absolute;
    width: 100%;
    height: 100%;
}
