﻿/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

a.navbar-brand {
  white-space: normal;
  text-align: center;
  word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: #0366d6;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  font-size: 14px;
}
@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
  /* Margin bottom by footer height */
  color: #333;
  text-rendering: optimizeLegibility;
  font-kerning: normal;
  font-variant-ligatures: common-ligatures;
  font-feature-settings: "kern", "liga", "clig", "calt";
  background: #fff;
}

textarea::-webkit-scrollbar {
    width: 0.6rem;
}

textarea::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 1rem;
}

textarea::-webkit-scrollbar-track {
    background: #fafafa;
    border-left: 1px solid #eee;
}

i.icon-button {
    color: #989898;
    cursor: pointer;
}

img.icon {
    vertical-align: top;
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1;
    letter-spacing: normal;
    text-transform: none;
    display: inline-block;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -webkit-font-feature-settings: 'liga';
    -webkit-font-smoothing: antialiased;
}

header.pub-header {
    margin: 0;
    width: 100%;
    position: fixed;
    z-index: 100;
}

/* loading
-------------------------------------------------- */

#loading {
    width: 100vw;
    height: 100vh;
    transition: all 0.7s;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9999;
    opacity: 0.8;
}
.loader,
.loader:after {
    border-radius: 50%;
    width: 10em;
    height: 10em;
    opacity: 1;
}

.loader {
    margin: 18rem auto;
    font-size: 0.4rem;
    position: relative;
    text-indent: -9999em;
    border-top: 1.1em solid rgba(50,50,50, 0.6);
    border-right: 1.1em solid rgba(50,50,50, 0.6);
    border-bottom: 1.1em solid rgba(50,50,50, 0.6);
    border-left: 1.1em solid #d4d4d4;
    -webkit-transform: translateZ(0);
    -ms-transform: translateZ(0);
    transform: translateZ(0);
    -webkit-animation: load8 1.1s infinite linear;
    animation: load8 1.1s infinite linear;
}

@-webkit-keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}

@keyframes load8 {
    0% {
        -webkit-transform: rotate(0deg);
        transform: rotate(0deg);
    }

    100% {
        -webkit-transform: rotate(360deg);
        transform: rotate(360deg);
    }
}


/* header styles
-------------------------------------------------- */
a.link-setting i {
    vertical-align: top;
}

/* manage styles
-------------------------------------------------- */
.invoice-search {
    padding: 0.6rem 1.2rem 1rem 1.2rem;
    background: #fafafa;
    border-radius: 0.2rem;
    border: 1px solid #ddd;
    margin-bottom: 1rem;
    display: flex;
}

    .invoice-search ul {
        list-style: none;
        padding-left: 0;
        margin-bottom: 0.5rem;
    }

        .invoice-search ul li {
            margin-right: 1rem;
            margin-bottom: 0.3rem;
        }

        .invoice-search ul li:last-child {
            margin-right: 0;
        }

    .invoice-search .form-inline label {
        font-size: 0.8rem;
        display: inline;
    }

    .invoice-search .input-area {
        flex: 1;
    }

    .invoice-search .side-area {
        width: 7rem;
        align-self: flex-end;
        text-align: right;
    }

.search-submit {
    widows: 0;
    height: 0;
    opacity: 0;
}

.word-break-all {
    word-break: break-all;
}

.footer-flex {
    display: flex;
}
    .footer-flex .left-area {
        flex: 1;
        text-align: left;
    }

    .footer-flex .right-area {
        width: 23rem;
        align-self: flex-end;
        text-align: right;
    }

.date-fromto {
    color: #8e8e8e;
    font-size: 0.8rem;
}

.form-control.flatpickr-input[readonly] {
    background-color: #fff;
}

.form-inline .form-control.search-date,
.form-inline .form-control.edit-date {
    width: 6rem;
}

.form-ele-item {
    text-align: left;
}

.invoice-id {
    padding: 0.5rem;
    font-size: 0.9rem;
}

.invoice-insdate {
    max-width: 5rem;
    font-size: 0.8rem;
}

.invoice-note {
    min-width: 4rem;
    max-width: 6.5rem;
    text-align: left;
}

.invoice-mail {
    color: #888;
    font-size: 0.7rem;
}

.invoice-amount {
    text-align: right;
}

.invoice-insdate-hms {
    font-size: 0.75rem;
    color: #999;
}

.invoice-menu {
    
}

.invoice-menu-icon, .invoice-menu-icon:hover {
    color: #b1b1b1;
}

.template-title {
    max-width: 14rem;
}

.template-subject {
    max-width: 14rem;
}

.template-text {
    max-width: 25rem;
}

.btn-w-footer {
    min-width: 6rem;
}

a.icon-mail.sent, a.icon-mail.sent:hover, a.icon-mail.sent:active {
    text-decoration: none;
    color: #ababab;
}

.text-senddate {
    font-size: 0.8rem;
    color: #929292;
}

.invoice-status img {
    vertical-align: text-bottom;
    padding-right: 0.2rem;
}

.invoice-openflg {
    font-size: 0.8rem;
    color: #999;
}

span.sent {
    color: #999;
}

.pub-flg {
    font-size: 0.8rem;
}

.table .mt-android {
    font-size: 0.5rem;
}

header + .container {
    padding-top: 5rem;
}

.btn.btn-clear {
    min-width: 4rem;
}

.btn.btn-search {
    min-width: 4.5rem;
}

.btn.btn-clear + .btn.btn-search {
    margin-left: 0.4rem;
}

@media (min-width: 768px) {
    .container.container-lg {
        max-width: calc(100% - 4rem);
    }
}

header .container.container-lg {
    padding: 0;
}

.container main {
    margin-bottom: 1rem;
}

.pub-menu .dropdown-toggle::after {
    display: none;
}

.pub-menu .dropdown-menu-right {
    right: 2rem;
}

.invoice-info {
    display: flex;
}
    .invoice-info .pdf-area {
        flex: 1;
        margin: 1rem;
    }

        .invoice-info .pdf-area .invoice-data {
            width: 100%;
            border: 1px solid #aaa;
        }

    .invoice-info .info-area {
        margin: 1rem 1rem 1.3rem 0;
        padding: 0.5rem 1rem;
        width: 20rem;
        border: 1px solid #eee;
        border-radius: 3px;
        background: #fafafa;
        font-size: 0.8rem;
    }

        .invoice-info .info-area label {
            font-weight: bold;
        }

        .invoice-info .info-area span {
            padding-left: 0.5rem;
        }

.api-form {
    cursor: pointer;
}

.setting-form-title {
    width: 20%;
    font-size: 0.9rem;
}

.setting-form-value {
    width: 80%;
}

    .setting-form-value .form-inline label {
        display: inline-block;
    }

.mail-form-title {
    width: 16%;
    font-size: 0.9rem;
}

.mail-form-value {
    width: 84%;
}

    .mail-form-value .form-inline label {
        display: inline-block;
    }

input[type='checkbox'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    overflow: hidden;
    padding: 0;
    clip: rect(0, 0, 0, 0);
}

    input[type='checkbox'] + label {
        padding: 0;
        margin-right: .8em;
        cursor: pointer;
    }

        input[type='checkbox'] + label:before {
            content: "\f0c8";
            font-family: 'Font Awesome 5 Free';
            line-height: 0.4;
            color: #ccc;
            font-size: 20px;
            position: relative;
            top: .09em;
            font-weight: 100;
            padding: 0;
            margin-right: .3em;
            cursor: pointer;
        }

    input[type='checkbox']:disabled + label {
        color: #aaa;
        cursor: pointer;
    }

        input[type='checkbox']:disabled + label:before {
            font-weight: 900;
            color: #d3d3d3;
            cursor: pointer;
        }

    input[type='checkbox']:checked + label:before {
        content: "\f14a";
        font-family: 'Font Awesome 5 Free';
        color: #3996de;
        font-weight: 900;
    }

    input[type='checkbox']:disabled:checked + label:before {
        color: #d3d3d3;
    }

span.checkbox.notext input[type='checkbox'] + label,
span.checkbox.notext input[type='checkbox'] + label:before {
    margin: 0;
    padding: 0;
}

.radio label,
.checkbox label {
    margin-bottom: 0;
}

/* radio */
span.radio input[type='radio'],
span.radio-badge input[type='radio'] {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    overflow: hidden;
    padding: 0;
    clip: rect(0, 0, 0, 0);
}

    span.radio input[type='radio'] + label {
        padding: 0.4em 0.8em 0.4em 0.1em;
    }

        span.radio input[type='radio'] + label:last-child {
            padding-right: .2em;
        }

        span.radio input[type='radio'] + label:before {
            content: "\f111";
            font-family: 'Font Awesome 5 Free';
            color: #d3d3d3;
            font-size: 18px;
            position: relative;
            top: .08em;
            font-weight: 100;
            padding: 0;
            border-radius: 1em;
            margin-right: .2em;
            -webkit-transition: all 200ms;
            transition: all 200ms;
        }

    span.radio input[type='radio']:disabled + label {
        color: #aaa;
        cursor: default;
    }

        span.radio input[type='radio']:disabled + label:before {
            font-weight: 900;
            color: #d3d3d3;
            cursor: default;
        }

    span.radio input[type='radio']:checked + label:before {
        content: "\f192";
        color: #3996de;
        font-weight: 900;
    }

    span.radio input[type='radio']:disabled:checked + label:before {
        color: #d3d3d3;
    }

span.radio br + input[type='radio'] + label {
    padding-top: 0.3em;
}

span.radio.notext input[type='radio'] + label,
span.radio.notext input[type='radio'] + label:before {
    margin: 0;
    padding: 0 0 0.2em 0;
}

/* radio badge */
span.radio-badge input[type='radio'] + label {
    padding: .15em .6em;
    margin-right: .5em;
    color: #167AC6;
    border-radius: 10rem;
    cursor: pointer;
}

    span.radio-badge input[type='radio']:checked + label,
    span.radio-badge input[type='radio'] + label:hover {
        color: #fff;
        -webkit-transition: all 100ms;
    }

span.radio.user input[type='radio'] + label:before {
    content: "\f0c0";
    background-color: rgba(0,0,0,0.02);
    box-shadow: 0 0 0 1px #bbb inset;
    font-family: 'Font Awesome 5 Free';
    border-radius: 2em;
    color: #bbb;
    padding: 0.1em 0.7em;
    font-weight: 800;
    -webkit-transition: all 1ms;
    transition: all 1ms;
}

span.radio.user input[type='radio']:first-child + label:before {
    content: "\f007";
}

span.radio.user input[type='radio']:checked + label:before,
span.radio.user input[type='radio']:hover + label:before {
    color: #fff;
    background: #1272b7;
    box-shadow: none;
}

span.radio.user input[type='radio'] + label {
    padding-right: .2em;
}

.lbl-interval {
    margin: 0 1rem 0 0.5rem;
    min-width: 4rem;
}

.comment {
    color: #a19f9f;
    font-size: 0.8rem;
}

.next-senddate, .count {
    color: #777;
    font-size: 0.9rem;
}

.input-form-wapper {
    background: #fcfcfc;
    border: 1px solid #eee;
    padding: 0.8rem 1rem;
    border-radius: 0.1rem;
}

.setting-container {
    width: 45rem;
}

.template-container {
    width: 50rem;
}

.setting-container,
.template-container {
    margin: auto;
}

.template-list-container {
    max-width: 65rem;
    margin: auto;
}

.invoice-list-container {
    max-width: 80rem;
    margin: auto;
}

.invoice-list-container .table{
    text-align: center;
}

.display-sticky {
    margin-bottom: 5rem;
}

.sticky-menu {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: row;
    white-space: nowrap;
    background: #fff;
    box-shadow: 0 0 4px 2px rgba(0, 0, 0, 0.06);
    padding: 1rem 2rem;
    z-index: 700;
}

    .sticky-menu:before {
        height: 10rem;
    }

    .sticky-menu .menu-left {
        width: 10rem;
    }

    .sticky-menu .menu-right {
        flex: 1;
        text-align: right;
    }

    .sticky-menu .btn {
        min-width: 7rem;
    }

.code-description {
    margin-top: 0.5rem;
    margin-bottom: 0.1rem;
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row wrap;
    flex-flow: row wrap;
    -ms-flex-align: center;
    align-items: center;
}

    .code-description .code-wrapper {
        width: 6rem;
    }

    .code-description span {
        color: #444;
    }

        .code-description span.code-warn {
            padding-left: 0.5rem;
            color: #b90c0c;
            font-size: 90%;
        }

input + label.error, textarea + label.error, select + label.error {
    display: block;
    color: #e01e1e;
    font-size: 0.8rem;
}

/* common
-------------------------------------------------- */
.w-10 {
    width: 10% !important;
}

.w-15 {
    width: 15% !important;
}

.w-20 {
    width: 20% !important;
}

.w-30 {
    width: 30% !important;
}

.w-35 {
    width: 35% !important;
}

.w-40 {
    width: 40% !important;
}

.w-60 {
    width: 60% !important;
}

.w-auto {
    width: auto !important;
}

.txtw-1 {
    flex-grow: 0 !important;
    width: 2.5em !important;
}

.txtw-2 {
    flex-grow: 0 !important;
    width: 3em !important;
}

.txtw-3 {
    flex-grow: 0 !important;
    width: 4em !important;
}

.txtw-4 {
    flex-grow: 0 !important;
    width: 4.5em !important;
}

.txtw-5 {
    flex-grow: 0 !important;
    width: 5em !important;
}

.txtw-7 {
    flex-grow: 0 !important;
    width: 6em !important;
}

.txtw-10 {
    flex-grow: 0 !important;
    width: 7.5em !important;
}

.txtw-15 {
    flex-grow: 0 !important;
    width: 11em !important;
}

.txtw-20 {
    flex-grow: 0 !important;
    width: 14em !important;
}

.txtw-30 {
    flex-grow: 0 !important;
    width: 20em !important;
}

.txtw-40 {
    flex-grow: 0 !important;
    width: 25em !important;
}

.txtw-50 {
    flex-grow: 0 !important;
    width: 31em !important;
}

.txtw-100 {
    flex-grow: 0 !important;
    width: 58em !important;
}

.txtw-max {
    width: 100% !important;
    max-width: 100%;
}

.op-0 {
    opacity: 0 !important;
}

.op-1 {
    opacity: 1 !important;
}

/*　入力フォーム　*/
.form {
    /* margin-bottom: 30px; */
    width: 100%;
    /* border-bottom: 1px solid #CCC; */
}

    .form tr:first-child {
        border-top: 0;
        /* border-top: 1px solid #CCC; */
    }

    .form tr:last-child {
        border-bottom: 0;
        /* border-top: 1px solid #CCC; */
    }

    .form tr {
        border-top: 1px dotted #CCC;
    }

    .form th {
        width: 120px;
        padding: 20px;
        font-weight: normal;
        white-space: nowrap;
        text-align: left;
    }

    .form td {
        padding: 16px 20px;
        text-align: left;
    }

    .form .bundle {
        border: none;
    }

    .form .bundle-top {
        border-top: 1px dotted #CCC;
    }

    .form .bundle-bottom {
        border-bottom: 1px dotted #CCC;
    }

    .form .bundle th,
    .form .bundle td,
    .form .bundle th,
    .form .bundle td {
        padding-top: 10px;
        padding-bottom: 10px;
    }

    .form .bundle-top th,
    .form .bundle-top td {
        padding-top: 20px;
        padding-bottom: 10px;
    }

    .form .bundle-bottom th,
    .form .bundle-bottom td {
        padding-top: 10px;
        padding-bottom: 20px;
    }

input {
    padding: 0 10px;
    height: 30px;
    border: 1px solid #CCC;
    border-radius: 3px;
    box-sizing: border-box;
}

    input:focus {
        background-color: #F4FDFF;
        border: 1px solid #89C8E9;
        outline: none;
    }

::placeholder {
    color: #b3b1b1;
}

.hissu {
    vertical-align: top;
    margin-left: 5px;
    color: #fff;
    font-size: 8px;
    padding: 1px 4px;
    border-radius: 3px;
    background: #f1a32f;
}

.account-wrapper {
    text-align: center;
    /* width: calc(100% - 200px); */
    box-sizing: border-box;
}

    .account-wrapper h2 {
        margin: 10px auto 30px;
        font-weight: normal;
        font-size: 20px;
    }

    .account-wrapper p {
        margin: 10px auto 30px;
        font-size: 15px;
        text-align: left;
    }

    .account-wrapper dt {
        text-align: left;
        font-weight: normal;
    }

    .account-wrapper dd {
        margin-bottom: 15px;
    }

    .account-wrapper section {
        margin: 0 auto;
        padding: 45px;
        width: 560px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        background: #F7F7F7;
        box-sizing: border-box;
    }

    .account-wrapper input {
        width: 100%;
        height: 40px;
        border: 1px solid #ccc;
        border-radius: 3px;
    }

        .account-wrapper input:focus {
            background-color: #F4FDFF;
            border: 1px solid #89C8E9;
            outline: none;
        }

    .account-wrapper button {
        margin: auto;
        color: #FFF;
        border: 0;
        border-radius: 3px;
        background-color: #258DC5;
        text-align: center;
        text-decoration: none;
        display: block;
        outline: 0;
    }

        .account-wrapper button:hover {
            background-color: #309DD8;
        }

    .account-wrapper a {
        font-size: 0.9rem;
        color: #258DC5;
        text-decoration: none;
    }

.reset-box,
.reset-div {
    margin: 40px 0;
}

.field-icon {
    color: #9DA5A2;
    float: right;
    margin-right: 15px;
    margin-top: -30px;
    position: relative;
    z-index: 2;
    cursor: pointer;
}

.pass-icon i {
    color: #9DA5A2;
    margin-left: -30px
}

.product-action {
    width: 13.8rem;
}

.fs-100 {
    font-size: 100% !important;
}

.comment {
    color: #aaa;
}
    .comment .comment-annotation {
        color: #b90c0c;
    }

.msg-error {
    color: #FF5D26;
}

.msg-success {
    color: #0ec400;
}

/* Bootstrap custom
-------------------------------------------------- */
.dropdown-menu.menu-sm {
    min-width: 8rem;
    font-size: 0.9rem;
}
    .dropdown-menu.menu-sm .dropdown-item,
    .dropdown-menu.menu-sm .dropdown-header {
        padding: 0.25rem 0.9rem;
    }
    .dropdown-menu.menu-sm .dropdown-header {
        color: #aaa;
        font-size: 0.75rem;
        padding-bottom: 0.4rem;
    }

.material-icons {
    /* Support for IE */
    font-feature-settings: 'liga';
}

.form-control::-webkit-input-placeholder {
    color: #cbd4db;
}

.form-control:-ms-input-placeholder {
    color: #cbd4db;
}

.table {
    font-size: 90%;
}

.btn.btn-light {
    background: #f0f0f0;
    border-color: #c2c2c2;
    color: #555;
}

    .btn.btn-light:hover {
        background: #e6e9eb;
    }

    .btn.btn-light:focus, .btn.btn-light.focus {
        box-shadow: 0 0 0 0.2rem rgba(150, 150, 150, 0.5);
    }

.btn-danger {
    color: #333333;
    background-color: #c6cecd;
    background-image: none;
    border-color: #a6a6a6;
}

    .btn-danger:hover {
        color: #333333;
        background-color: #a9b5b3;
        border-color: #a6a6a6;
    }

    .btn-danger:focus, .btn-danger.focus {
        box-shadow: 0 0 0 0.2rem rgba(198, 206, 205, 0.5);
    }

    .btn-danger.disabled, .btn-danger:disabled {
        color: rgba(51, 51, 51, 0.3);
        background-color: rgba(198, 206, 205, 0.3);
        border-color: rgba(166, 166, 166, 0.5);
    }

    .btn-danger:not(:disabled):not(.disabled):active, .btn-danger:not(:disabled):not(.disabled).active,
    .show > .btn-danger.dropdown-toggle {
        color: #333333;
        background-color: #a9b5b3;
        border-color: #a6a6a6;
    }

        .btn-danger:not(:disabled):not(.disabled):active:focus, .btn-danger:not(:disabled):not(.disabled).active:focus,
        .show > .btn-danger.dropdown-toggle:focus {
            box-shadow: 0 0 0 0.2rem rgba(198, 206, 205, 0.5);
        }

.page-item .page-link {
    padding: 0.05rem 0.4rem;
}

.modal-body::-webkit-scrollbar {
    width: 0.65rem;
}

.modal-body::-webkit-scrollbar-thumb {
    background: #ddd;
    border-radius: 1rem;
}
.modal-body::-webkit-scrollbar-track {
    background: #fafafa;
    border-left: 1px solid #eee;
}

.table th {
    font-size: 0.8rem;
    padding: 0.3rem 0.2rem;
    font-weight: normal;
    border-top: 1px solid #ccc;
    border-bottom: 1px solid #ccc;
    white-space: nowrap;
    background: #eee;
}

.table td {
    vertical-align: middle;
    background: #fff;
    padding: 0.4rem;
    font-size: 0.8rem;
}

input.btn.disabled, fieldset:disabled input.btn {
    pointer-events: none;
}

.alert {
    font-size: 0.9rem !important;
}

.alert:empty {
    display: none !important;
}

.input-valid {
    color: #bf2525;
    text-align: left;
    padding-top: 0.2rem;
    font-size: 90%;
}