body {
    font-size: 0.92rem;
}

.dropdown-menu {
    font-size: inherit !important;
}

.right {
    float: right;
}

    .right:after {
        clear: both;
    }

textarea {
    overflow-y: scroll;
    resize: none;
}

.card-text {
    margin-bottom: 0.3rem !important;
}

.dropdown-item {
    padding-top: 0.15rem;
    padding-bottom: 0.15rem;
}

.inputYear {
    width: 4em !important;
    display: inline-block !important;
}

.inputMonth {
    width: 3em !important;
    display: inline-block !important;
}

.inputTime {
    width: 2.5em !important;
    display: inline-block !important;
}

.footer {
    border-radius: 0 !important;
    width: 100% !important;
    margin-bottom: 0 !important;
    margin-top: 3em !important;
    padding: 1em 3em !important;
    text-align: center !important;
}

.page_title {
    border-bottom: 1px solid #2C3E50;
    padding-bottom: 0.5rem;
    margin-bottom: 1rem;
}

table button.btn-link {
    padding: 0 !important;
}

table td {
    padding: 0.3rem 0.5rem !important;
}

.password_confirm_div {
    display: inline-block;
    max-width: 20rem !important;
    margin: 0 !important;
    padding: 0.25rem 0.5rem !important;
    line-height: 1rem !important;
}

    .password_confirm_div input[type="password"] {
        display: inline-block;
        width: 70%;
        vertical-align: middle;
    }

    .password_confirm_div button {
        display: inline-block;
        width: 25%;
        vertical-align: middle;
    }

.compact_form .form-group.row {
    margin-bottom: 0.2rem !important;
    padding: 0.2rem;
}

.number_input {
    text-align: right;
}

.col-sm-2 .custom-control-label::before, .col-sm-2 .custom-control-label::after {
    left: 15px !important;
}

.col-form-label-sm ~ .custom-radio .custom-control-label::before, .col-form-label-sm ~ .custom-radio .custom-control-label::after {
    top: 0.5rem !important;
}

.static-tbl td {
    border: 1px solid;
}

.w-auto {
    width: auto !important;
}

.btn-custom {
    color: #666;
    font-size: 0.9rem;
    background-color: transparent;
    background-image: none;
    border-color: #ccc;
}

    .btn-custom:hover {
        color: #2d2d2d;
        background-color: #e6e6e6;
        border-color: #ccc;
    }

    .btn-custom:focus, .btn-custom.focus {
    }

    .btn-custom.disabled, .btn-custom:disabled {
        color: #999;
        background-color: transparent;
    }

    .btn-custom:not(:disabled):not(.disabled):active, .btn-custom:not(:disabled):not(.disabled).active,
    .show > .btn-custom.dropdown-toggle {
        color: #2d2d2d;
        background-color: #e6e6e6;
        border-color: #ccc;
        -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
        box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
    }

        .btn-custom:not(:disabled):not(.disabled):active:focus, .btn-custom:not(:disabled):not(.disabled).active:focus,
        .show > .btn-custom.dropdown-toggle:focus {
            -webkit-box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
            box-shadow: inset 0 3px 5px rgba(0,0,0,.125);
        }

.selectpicker ~ .dropdown-menu {
    -webkit-box-shadow: 0 6px 12px rgba(0,0,0,.175);
    box-shadow: 0 6px 12px rgba(0,0,0,.175);
}

.list-upper-roman {
    list-style-type: upper-roman;
}

.list-disc {
    list-style-type: disc;
}

.list-decimal {
    list-style-type: decimal;
}

.list-parenthesized-decimal > li {
    position: relative;
    list-style: none;
    counter-increment: cnt_p;
}

    .list-parenthesized-decimal > li:before {
        display: block;
        content: "(" counter(cnt_p) ") ";
        position: absolute;
        top: 0;
        left: -1.5rem;
    }

.list-circled-decimal > li {
    position: relative;
    list-style: none;
    counter-increment: cnt_c;
}

    .list-circled-decimal > li:before {
        display: block;
        height: 1rem;
        width: 1rem;
        content: counter(cnt_c);
        font-size: smaller;
        position: absolute;
        top: 0.2rem;
        left: -1.5rem;
        border-width: 1px;
        border-style: solid;
        border-radius: 50%;
        line-height: 1rem;
        text-align: center;
        vertical-align: middle;
    }

.bg-light-blue, .bg-light-blue:focus {
    background: #bbdbf3;
}

.bg-light-green, .bg-light-green:focus {
    background: #a7d28d;
}

.modal-dialog {
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 100%;
    margin: auto;
    pointer-events: none;
}

.modal-content {
    pointer-events: all;
}

.selectKigyou {
    max-width: 22rem !important;
    display: inline-block;
    vertical-align: middle;
}

.selectTenpo {
    max-width: 15rem !important;
    display: inline-block;
    vertical-align: middle;
}

.selectArea {
    width: 7rem;
    display: inline-block;
    vertical-align: middle;
}

.selectMenseki {
    display: inline-block;
    vertical-align: middle;
}

.labelArea {
    width: 5rem;
}

#loading {
    display: table;
    width: 100%;
    height: 100%;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #fff;
    opacity: 0.8;
}

    #loading .loadingMsg {
        display: table-cell;
        text-align: center;
        vertical-align: middle;
        padding-top: 140px;
        background: url('../Content/loading.gif') center center no-repeat;
        animation: infinite;
    }

.clearboth {
    clear: both;
}

.month_report_select {
    max-width: 200px;
}

.head_error_message {
    position: absolute;
    bottom: 0;
    right: 0;
}

.text-blue {
    color: blue;
}

.text-red {
    color: RGB(255,0,0);
}

.text-date {
    height: 1em;
}

.hide {
    display: none;
}

.hide-imp {
    display: none !important;
}

.label-margin {
    margin-left: 10px;
}

.block1 {
    display: block;
    visibility: hidden;
}

.modal-body p {
    white-space: pre-line;
}

.style-text {
    margin-top: -20px;
}

.style-label {
    margin-top: -5px;
}
