html,
body {
    height: 100%;
}

body {
    font-size: 14px;
    font-family: 'Lato', 'Hiragino Kaku Gothic Pro', 'ヒラギノ角ゴ Pro W3', Meiryo, メイリオ, Osaka, 'MS PGothic', arial, helvetica, sans-serif;
    background: #eee;
}

#container {
    background: #eee;
    margin-left: 260px;
    position: relative;
    -moz-transition: margin-left .25s linear;
    -webkit-transition: margin-left .25s linear;
    transition: margin-left .25s linear;
}

#main {
    background: #fff;
    min-height: 100vh;
    padding: 70px 0 40px;
}

#main p {
    margin-bottom: 1em;
    line-height: 1.9;
}

#main .inner {
    padding: 60px;
}

/* header */
#global-head {
    position: fixed;
    color: #033560;
    width: calc(100% - 260px);
    padding: 0 30px;
    background: #fff;
    z-index: 1;
}

.headerContainer {
    width: 100%;
    display: flex;
    border-bottom: solid 2px #dedede;
}

.header-icons {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.header-icons .btn {
    font-size: 24px;
}

.profile-balloon {
    width: 200px;
    position: absolute;
    top: 55px;
    right: 30px;
    background-color: #fff;
    border: solid 1px #eee;
    border-radius: 5px;
    padding: 10px 15px;
}

.footer {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: right;
    background-color: #fff;
    padding: 10px;
}

#sidebar {
    padding-top: 60px;
    width: 260px;
    height: 100%;
    position: fixed;
    color: #afc3f2;
    background: #033560;
}

#brand-logo {
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

#global-nav ul {
    list-style: none;
    margin-left: 0;
}

#global-nav>ul>li {
    position: relative;
}

#global-nav a {
    color: #aeb4cb;
    text-decoration: none;
    display: block;
    padding: 15px;
    -moz-transition: color .3s linear;
    -webkit-transition: color .3s linear;
    transition: color .3s linear;
}

#global-nav .sub-menu.is-active>a,
#global-nav a:hover {
    color: #fff;
    /*background: #fff;*/
}

/* sub-menu icon */
#global-nav .sub-menu-head {
    position: relative;
}

#global-nav .sub-menu-head:after {
    content: "";
    position: absolute;
    top: 0;
    bottom: 0;
    right: 18px;
    margin: auto;
    vertical-align: middle;
    width: 8px;
    height: 8px;
    border-top: 1px solid #aeb4cb;
    border-right: 1px solid #aeb4cb;
    -moz-transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    transform: rotate(45deg);

    -webkit-transition: .25s ease-in-out;
    -moz-transition: .25s ease-in-out;
    transition: .25s ease-in-out;
}

#global-nav .sub-menu.is-active>a:after,
#global-nav .sub-menu-head:hover:after {
    border-color: #fff;
}

#global-nav .is-active .sub-menu-head:after {
    -moz-transform: rotate(135deg);
    -webkit-transform: rotate(135deg);
    transform: rotate(135deg);
}

/* sub-menu */
#global-nav .sub-menu-nav {
    background: #032f55;
    display: none;
    padding: 10px 0;
}


#global-nav .sub-menu-nav a {
    color: #aeb4cb;
    padding: 8px 15px;
}

#global-nav .sub-menu-nav a:hover {
    color: #fff;
}

#global-nav .management-list {
    width: 100%;
    position: absolute;
    bottom: 25px;
}

#global-nav .list-item {
    padding: 0 20px;
}

#global-nav .list-link {
    border-bottom: 1px solid;
}

#global-nav .feature-list,
#global-nav .management-list {
    padding-left: 0;
}


/* nav-toggle */
#nav-toggle {
    position: fixed;
    top: 13px;
    left: 15px;
    height: 32px;
}

#nav-toggle>div {
    position: relative;
    width: 32px;
}

#nav-toggle span {
    width: 100%;
    height: 2px;
    left: 0;
    display: block;
    background: #fff;
    position: absolute;
    -webkit-transition: .35s ease-in-out;
    -moz-transition: .35s ease-in-out;
    transition: .35s ease-in-out;
}

/* #nav-toggle close */
#nav-toggle span:nth-child(1) {
    top: 0;
}

#nav-toggle span:nth-child(2) {
    top: 11px;
}

#nav-toggle span:nth-child(3) {
    top: 22px;
}


/* z-index */
#nav-toggle {
    z-index: 1000;
}

#container {
    z-index: 900;
}

/* close */
.close #container {
    margin-left: 0;
}

.close #brand-logo {
    margin-left: 50px;
}

.close #nav-toggle span {
    background: #033560;
}

.close #global-head {
    width: 100%;
}

/* site navigation */
.site-navigation-icon>i {
    font-size: 1rem;
    color: #7F7F7F;
}

.site-navigation-text {
    font-size: 0.8rem;
    color: #7F7F7F;
    text-decoration: none;
}

/* breadcrumb */
.breadcrumb {
    background-color: white;
}

.breadcrumb-item>a {
    text-decoration: none;
}

/* modal */
.base-modal .modal-content {
    background-color: #7F7F7F;
}

.base-modal .modal-body {
    padding-top: 0.25rem;
    padding: 0.5rem;
}

.base-modal .modal-head {
    text-align: right;
    display: block;
}

.base-modal .modal-main-body {
    background: white;
    border-radius: 0.4rem;
    text-align: center;
    padding: 1.5rem;
    color: #7F7F7F;
    font-weight: 700 !important;
    font-size: 1.2rem;
}

.base-modal .modal-close-button {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.25rem;
}

.base-modal .warning-header-wrapper {
    border-bottom: 0.125rem solid #d9d9d9;
    padding-top: 0.8rem;
    padding-bottom: 0.4rem;
}

.base-modal .warning-header {
    white-space: pre-wrap;
}

.base-modal .warning-message {
    font-size: 1rem;
    font-weight: lighter;
    text-align: left;
    margin-top: 1rem;
    margin-bottom: 2rem;
    white-space: pre-wrap;
}

.completed-modal .modal-content {
    background-color: #d5f1de;
    border-color: #c0eace;
    text-align: center;
}

.completed-modal .checklist {
    height: 2rem;
    filter: invert(29%) sepia(92%) saturate(385%) hue-rotate(87deg) brightness(93%) contrast(89%);
    display: inline-block;
}

.completed-modal .modal-text {
    display: inline-block;
    white-space: pre-wrap;
    color: #1c6e37;
    font-weight: 700 !important;
    font-size: 1rem;
    line-height: 1.2;
}

.modal-backdrop.show {
    opacity: .2;
}

@media (min-width: 576px) {
    .modal-dialog.standard {
        max-width: 400px;
    }

    .modal-dialog.modal-md {
        max-width: 450px;
    }
}

/* Button */

button.blue-button,
a.blue-button {
    background-color: #2E75B6;
}

button.short-button,
a.short-button {
    width: 5rem;
}

button.long-button,
a.long-button {
    width: 10rem;
}

/* Input */

input.hide-arrow::-webkit-outer-spin-button,
input.hide-arrow::-webkit-inner-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

input.hide-arrow[type=number] {
    -moz-appearance: textfield;
}

.input-group,
.input-group>.form-control,
.input-group>.form-select {
    position: static;
}

form .col-form-label {
    text-align: right;
}

/* Table */
.table-wrapper {
    white-space: nowrap;
    font-weight: bold;
    background-color: #F2F2F2;
    overflow: auto;
    position: relative;
}

.table-wrapper>div {
    width: fit-content;
    margin: auto;
}

.table-wrapper>* table {
    font-size: 0.8rem;
}

.table-wrapper>* table.dataTable.stripe>tbody>tr.odd>*,
table.dataTable.display>tbody>tr.odd>* {
    box-shadow: inset 0 0 0 9999px rgb(0 0 0 / 10%);
}

.table-wrapper>* .table-nav-button {
    border: none;
    background-color: transparent;
}

.table-wrapper>* .table-nav-button>img {
    height: 1.1rem;
    width: 0.5rem;
}

.table-header {
    background-color: #d9d9d9;
}

.table-header .text-start {
    display: flex;
    align-items: center;
    font-weight: bold;
    font-size: 0.8rem;
}

.table-wrapper>div {
    min-width: 100%;
}

/* dashboard */
.dashboard-title {
    display: inline-block;
    width: 220px;
    border-bottom: solid 2px #07b473;
    font-size: 16px;
    font-weight: bold;
    text-align: center;
    margin-top: 40px;
    padding: 10px;
}

.graph-category {
    height: 30px;
}

/* plan */
.plan-input-label {
    color: #7f7f7f;
    font-weight: bold;
    font-size: 0.8rem;
}

/* beforeLogin */
body.befoerLogin {
    background-color: #fff;
}

.header {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
}

.logo {
    width: 50px;
    height: 50px;
}

.beforeLoginFooter {
    width: 100%;
    position: absolute;
    bottom: 0;
    text-align: right;
    background-color: #8292f7;
    padding: 10px;
}

/* login */
.login {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.title {
    width: 60%;
    color: #8d8d8d;
    border-bottom: solid 2px;
    margin-top: 40px;
    padding: 20px;
}

.login-input {
    width: 300px;
    position: relative;
}

.password-blind {
    position: absolute;
    right: 10px;
    top: 5px;
    font-size: 20px;
    padding: 5px 10px;
}

.password-blind:hover {
    cursor: pointer;
}

.login-btn {
    width: 300px;
    color: #fff;
    padding: 15px;
}

/* acouontLocked */
.acouontLocked {
    position: absolute;
    top: 50%;
    left: 50%;
    margin-right: -50%;
    transform: translate(-50%, -50%);
}

/* forget-password */
.forget-password {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.forgetPassword-input {
    width: 300px;
    position: relative;
}

.forgetPassword-btn {
    width: 300px;
    color: #fff;
    padding: 15px;
}

/* forget-password-complete */
.forgetPasswordComplete-btn {
    position: relative;
    width: 300px;
    color: #fff;
    padding: 15px;
}

.forgetPasswordComplete-btn:after {
    content: "";
    position: absolute;
    top: 18px;
    right: 0;
    width: 18px;
    height: 18px;
    margin: 0 10px;
    border-top: 4px solid #fff;
    border-right: 4px solid #fff;
    transform: rotate(45deg);
}

/* profile */
.profileContainer {
    text-align: center;
    padding: 40px;
}

.profileContentRow {
    margin: 0 auto;
    padding-bottom: 15px;
}

.profileContentItem {
    border-bottom: solid 2px #c7c7c7;
    padding-bottom: 10px;
}

/* passwordChange */
.passwordChange {
    display: flex;
    align-items: center;
    flex-direction: column;
}

.passwordChange-input {
    position: relative;
}

.passwordChange-btn {
    width: 300px;
    color: #fff;
    padding: 15px;
}

/* management-list */
.management-list-container {
    max-width: 600px;
    margin-left: 40px;
}

.management-list-left-item {
    line-height: 2.2em;
}

/* error */
.errorlist {
    color: red;
}

/* alert */
.alert-container {
    position: fixed;
    top: 20px;
    left: calc(50% - 400px/2);
    z-index: -1;
}

.alert-container:has(.alert-content.show) {
    z-index: 1;
}

.alert-content {
    width: 400px;
}

.required:after {
    content: " *";
}

.page-header {
    background-color: #d9d9d9;
    margin: 0 10px;
    padding: 5px;
}

/* informationModal */
.informationModal-top {
    margin-top: 20px;
    border-bottom: 1px solid;
    padding-bottom: 10px;
}

.informationModal-text {
    min-height: 300px;
    overflow-wrap: break-word;
    border: 1px solid;
    margin-bottom: 20px;
    padding: 12px;
}

/* multi-select */
.multi-select-arrow {
    cursor: pointer;
}

.management-note {
    color: #3473c6;
    font-weight: bold;
}

/* color-box */
.color-box {
    display: inline-block;
    width: 10px;
    height: 10px;
    margin: 0 2px;
}

.color-box-green {
    background-color: #039b40;
}

.color-box-blue {
    background-color: #4b66e9;
}

.color-box-yellow {
    background-color: #ffc107;
}

.color-box-gray {
    background-color: #9e9e9e;
}

/* color */
.bg-indigo {
    color: #fff;
    background-color: #0f2350;
}

.bg-light-gray {
    background-color: #acacac;
}


@media screen and (max-width: 900px) {
    #container {
        margin-left: 0;
    }

    #brand-logo {
        margin-left: 50px;
    }

    #nav-toggle span {
        background: #033560;
    }

    .close #nav-toggle span {
        background: #fff;
    }

    #sidebar {
        left: -260px;
        z-index: 910;
        -webkit-transition: .35s ease-in-out;
        -moz-transition: .35s ease-in-out;
        transition: .35s ease-in-out;
    }

    .close #sidebar {
        left: 0;
    }

    #global-head {
        width: 100%;
    }
}