﻿@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

html, body {
    font-family: 'Helvetica Neue', Helvetica, Arial, sans-serif;
}

a, .btn-link {
    color: #0366d6;
}

.btn-primary {
    color: #fff;
    background-color: #479cc8;
    border: none;
}

app {
    position: relative;
    display: flex;
    flex-direction: column;
}

.top-row {
    height: 3.5rem;
    display: flex;
    align-items: center;
}

.main {
    flex: 1;
}

    .main .top-row {
        background-color: #f7f7f7;
        border-bottom: 1px solid #d6d5d5;
        justify-content: flex-end;
    }

        .main .top-row > a, .main .top-row .btn-link {
            white-space: nowrap;
            margin-left: 1.5rem;
        }

        .main .top-row a:first-child {
            overflow: hidden;
            text-overflow: ellipsis;
        }

.wrapper {
    width: 100%;
}

.d-flex {
    display: -webkit-box !important;
    display: -ms-flexbox !important;
    display: flex !important;
}

.align-items-stretch {
    -webkit-box-align: stretch !important;
    -ms-flex-align: stretch !important;
    align-items: stretch !important;
}

#content {
    padding-top: 1.1rem;
    width: 100%;
    padding: 0;
    min-height: 100vh;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
}

    #content .top-row {
        background: #007bff;
        height: 50px;
        display: block;
    }

#sidebar {
    min-width: 240px;
    max-width: 240px;
    background: #007bff;
    color: #fff;
    -webkit-transition: all 0.3s;
    -o-transition: all 0.3s;
    transition: all 0.3s;
    position: relative;
}

    #sidebar.active {
        margin-left: -240px;
    }

        #sidebar.active .custom-menu {
            margin-right: -50px;
        }

    #sidebar h1 {
        margin-bottom: 5px;
        font-size: 23px;
    }

        #sidebar h1 a span {
            font-weight: 900;
        }

    #sidebar .panel-menu {
        width: 100%;
        background: #007bff;
        color: #fff;
        font-size: 0.9rem;
    }

        #sidebar .panel-menu .navigation-item {
            font-size: 0.85rem;
            border-bottom: solid 1px #268FFF;
        }

        #sidebar .panel-menu .navigation-item-wrapper {
            padding: 0.4rem 0;
        }

            #sidebar .panel-menu .navigation-item-wrapper:hover {
                background: #fff;
                color: #007bff;
            }

        #sidebar .panel-menu .navigation-menu .navigation-item-wrapper {
            background-color: #268FFF;
            color: #fff;
        }

            #sidebar .panel-menu .navigation-menu .navigation-item-wrapper:hover {
                background-color: #fff;
                color: #0b73e9;
            }

        #sidebar .panel-menu .navigation-item-wrapper-active {
            background-color: transparent;
        }

            #sidebar .panel-menu .navigation-item-wrapper-active:before {
                background-color: transparent;
            }

        #sidebar .panel-menu .navigation-menu .navigation-item .navigation-item-link {
            padding-left: 1.6rem !important;
        }

@media (max-width: 991.98px) {
    #sidebar {
        margin-left: -240px;
    }

        #sidebar.active {
            margin-left: 0;
        }

        #sidebar .custom-menu {
            margin-right: -60px !important;
            top: 10px !important;
        }
}

#sidebar .custom-menu {
    display: inline-block;
    position: absolute;
    top: 10px;
    right: 0;
    margin-right: -50px;
    -webkit-transition: 0.3s;
    -o-transition: 0.3s;
    transition: 0.3s;
}

@media (prefers-reduced-motion: reduce) {
    #sidebar .custom-menu {
        -webkit-transition: none;
        -o-transition: none;
        transition: none;
    }
}

#sidebar .custom-menu .btn.btn-primary {
    background: transparent;
    border-color: transparent;
}

    #sidebar .custom-menu .btn.btn-primary i {
        color: black;
        font-size: 24px;
    }

    #sidebar .custom-menu .btn.btn-primary:hover, #sidebar .custom-menu .btn.btn-primary:focus {
        background: transparent !important;
        border-color: transparent !important;
    }

#sidebarCollapse {
    margin: 5px;
    font-size: 1.1rem;
    background: #007bff;
    border-color: #007bff;
    color: #fff;
}

    #sidebarCollapse:hover, #sidebarCollapse:focus {
        background: #2f89fc !important;
        border-color: #2f89fc !important;
    }


@media (max-width: 991.98px) {
    #sidebarCollapse span {
        display: none;
    }
}

.content {
    padding-top: 1.1rem;
}

.table-md .ui-column-title,
.table-md .ui-cell-data {
    font-size: 1rem !important;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

/* 亀徳追加 */
.btn-menu:hover {
    background-color: whitesmoke;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

@media (max-width: 767.98px) {
    .main .top-row:not(.auth) {
        display: none;
    }

    .main .top-row.auth {
        justify-content: space-between;
    }

    .main .top-row a, .main .top-row .btn-link {
        margin-left: 0;
    }

    /* 坂口追加 */
    div.fadeshow {
        display: none;
    }

    p.fadeshow {
        display: none;
    }
}

@media (min-width: 768px) {
    app {
        flex-direction: row;
    }

    .sidebar {
        width: 250px;
        height: 100vh;
        position: sticky;
        top: 0;
    }

    .main .top-row {
        position: sticky;
        top: 0;
    }

    .main > div {
        padding-left: 2rem !important;
        padding-right: 1.5rem !important;
    }

    .navbar-toggler {
        display: none;
    }

    .sidebar .collapse {
        /* Never collapse the sidebar for wide screens */
        display: block;
    }
}


/* 坂口追加 */
.listbox-checkless .ui-listbox-header {
    display: none;
}

.CustomInputFile {
    display: none;
}

.no-hover {
    pointer-events: none;
}

.mapmessage {
    font-size: 0.95rem;
}

.nokikakutei {
    font-size: 0.85rem;
}

    .nokikakutei td:hover {
        background-color: rgba(128,128,128, 0.08);
    }

td.bottom_border {
    border-bottom: 3px solid #bec2c6;
}

.custom-nebikihosoku {
    color: #1b6f9b;
    font-size: 0.6rem;
}

.refonly {
    margin-left: 1rem;
}

/* kametoku追加 */

.visibility-icon-wrapper {
    display: flex;
    align-items: center;
    top: 0;
    right: 25px;
    height: 38px !important;
}

.visibility-icon {
    color: gray;
}

    .visibility-icon:hover {
        cursor: pointer;
    }

.buttons-radio-button {
    display: inline-block;
    padding-left: 2.5rem;
    padding-right: 1rem;
    padding-bottom: 5px;
    margin-left: -2rem;
    border: 1px solid #dee2e6;
    border-radius: .25rem;
    margin-top: -5px;
    padding-top: 5px;
}

.textbox:disabled {
    color: #212529 !important;
}

.ui-dropdown.ui-state-disabled {
    color: #212529 !important;
}

.ui-state-custom-disabled {
    opacity: 0.5;
    background-color: lightgray;
    color: white !important;
}

.dropdown-ui-messages-error {
    position: relative;
    top: -7px;
}

.custom-messages {
    color: #212529;
    font-size: 1rem;
    display: inline-block;
}

.ui-messages-error {
    font-size: 1rem !important;
    color: #fa323f !important;
    -webkit-animation: blink 0.5s ease-in-out infinite alternate;
    -moz-animation: blink 0.5s ease-in-out infinite alternate;
    animation: blink 0.5s ease-in-out infinite alternate;
}

/* 文字点滅CSS */
@-webkit-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@-moz-keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes blink {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}
/* 文字点滅CSS */

.custom-datatable-thead-white-space .ui-datatable-thead th .ui-column-title {
    white-space: normal !important;
}

.custom-datatable-data-white-space .ui-datatable-data td .ui-cell-data {
    white-space: normal !important;
}

.ui-state-selected {
    background-color: #ff6b41;
    border-color: white;
}

.pointer:hover {
    cursor: pointer !important;
}

.bg-label {
    background-color: #e6ecef;
}

.bg-input {
    background-color: #f7f9fa;
}

.col-login {
    width: 400px;
}

.col-resetpassword {
    width: 500px;
}

.navbar-a {
    transition: 0.5s;
}

    .navbar-a:hover {
        cursor: pointer;
        text-decoration: none;
        transform: scale(1.1, 1.1);
    }

.order-navbar-text > p {
    margin-bottom: 0;
}

.file-upload-button {
    margin-bottom: 10px;
}

    .file-upload-button > .ui-fileupload-buttonbar {
        padding: 0px !important;
        background-color: transparent !important;
    }

        .file-upload-button > .ui-fileupload-buttonbar > .ui-fileupload-choose {
            font-size: 1.0625rem;
            height: 2.1875rem;
            width: 100%;
            text-align: center;
            line-height: 2.1875rem;
        }

    .file-upload-button > .ui-fileupload-content {
        display: none !important;
    }

.order-table-maxheight .ui-datatable-scrollable-body {
    max-height: 210px;
}

.log-table-maxheight .ui-datatable-scrollable-body {
    max-height: 350px;
}

.return-dialog-table-maxheight .ui-datatable-scrollable-body {
    max-height: 350px;
}

.invoice-detail-table-maxheight .ui-datatable-scrollable-body {
    max-height: 360px;
}

.tanto-thead-hidden .ui-datatable-scrollable-header {
    display: none;
}

.tanto-thead-hidden .ui-datatable-scrollable-body {
    overflow: hidden;
    border-radius: 0.25rem !important;
}

.rz-right-tooltip-content {
    margin-right: 24px;
    white-space: normal !important;
}

.rz-left-tooltip-content {
    margin-left: 80px;
    white-space: normal !important;
}

/* 高岡追加 */
.ui-listbox {
    padding: 1px;
}

.ui-fieldset-content {
    padding: 0 !important;
}

.ui-datatable-thead th .ui-column-title {
    padding: 0 0.4rem 0.625rem 0.4rem !important;
}

.ui-datatable-data td.span-row {
    border-bottom: none;
}

.visible {
    visibility: visible;
}

.hidden {
    visibility: hidden;
}

.info-box {
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.125), 0 1px 3px rgba(0, 0, 0, 0.2);
    border-radius: 0.25rem;
    background-color: #fff;
    display: -ms-flexbox;
    display: flex;
    margin-bottom: 1rem;
    min-height: 75px;
    padding: .5rem;
    position: relative;
    color: dimgray;
}

    .info-box .info-box-icon {
        border-radius: 0.25rem;
        -ms-flex-align: center;
        align-items: center;
        display: -ms-flexbox;
        display: flex;
        font-size: 1.875rem;
        -ms-flex-pack: center;
        justify-content: center;
        text-align: center;
        width: 60px;
    }

        .info-box .info-box-icon > img {
            max-width: 100%;
        }

    .info-box .info-box-content {
        display: -ms-flexbox;
        display: flex;
        -ms-flex-direction: column;
        flex-direction: column;
        -ms-flex-pack: center;
        justify-content: center;
        line-height: 1.8;
        -ms-flex: 1;
        flex: 1;
        padding: 0 10px;
    }

    .info-box .info-box-title {
        display: block;
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    .info-box .info-box-value {
        display: block;
        margin-top: .25rem;
        text-align: right;
        font-size: 1.3rem;
        font-weight: 800;
    }


.numeric-tanka .ui-spinner-button {
    display: none;
}

.yourself-map-file input {
    margin-bottom: 0px !important;
}

@media (min-width: 1200px) {
    .col-xl-6-souryo {
        margin-left: 10px;
        position: relative;
        width: 100%;
        padding-left: 15px;
        padding-right: 15px;
        flex: 0 0 50%;
        max-width: calc(50% - 10px);
    }
}

@media (max-width: 1199px) {
    .xl-souryo {
        margin-top: 1rem;
    }

    .col-xl-6-souryo {
        position: relative;
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
    }
}

@media (max-width: 769px) {
    .order-table-maxheight .ui-datatable-scrollable-body {
        max-height: 310px;
    }
}

@media (min-width: 576px) {
    .button-components {
        width: 150px;
    }

    .margin-left-10 > :not(:first-child) {
        margin-left: 10px;
    }

    .original-tooltip-left {
        display: none;
    }

    .order-navbar-number {
        width: 50px;
        height: 50px;
        background-color: #479cc8;
        margin-left: auto;
        margin-right: auto;
    }

    .order-navbar-number-muted {
        width: 50px;
        height: 50px;
        background-color: #6c757d;
        margin-left: auto;
        margin-right: auto;
    }

    .original-d-flex {
        display: flex !important;
    }

    .yourself-map-file input {
        width: 300px !important;
    }

    .yourself-map-file label {
        height: 35px;
    }
}

@media (max-width: 575px) {
    .buttons-radio-button {
        width: 100%;
        margin-top: -25px;
        margin-left: 0;
        margin-right: 0;
        padding-top: 20px;
        padding-left: 20px;
    }
    .sm-w-100 {
        width: 100% !important;
    }
    .col-login {
        width: 100%;
    }

    .col-resetpassword {
        width: 100%;
    }

    .button-components, .bottom-button, .file-upload-button {
        width: 100%;
    }

    .rz-tooltip {
        width: 100%;
    }

    .original-tooltip-right {
        display: none;
    }

    .order-navbar-button {
        margin-bottom: 10px;
        align-items: center;
        display: flex;
    }

    .order-navbar-number {
        display: inline-block;
        text-align: center;
        line-height: 40px;
        width: 40px;
        height: 40px;
        background-color: #479cc8;
    }

    .order-navbar-number-muted {
        display: inline-block;
        text-align: center;
        line-height: 40px;
        width: 40px;
        height: 40px;
        background-color: #6c757d;
    }

    .order-navbar-text {
        display: inline-block;
        margin-left: 10px;
    }

        .order-navbar-text > p {
            text-align: left;
        }

    .yourself-map-file input {
        width: 80% !important;
    }
}

.spinner-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: 9999;
    background-color: #333;
    opacity: 0.5;
}

    .spinner-container .spinner {
        border: 16px solid silver;
        border-top: 16px solid #1861ac;
        border-radius: 50%;
        width: 80px;
        height: 80px;
        animation: spin 700ms linear infinite;
        top: calc(50vh - (80px / 2));
        left: calc(50vw - (80px / 2));
        position: absolute;
    }

@keyframes spin {
    0% {
        transform: rotate(0deg)
    }

    100% {
        transform: rotate(360deg)
    }
}

/* 利用規約 */
div.termsbox {
    margin: 0.8em 0;
    padding: 1em 4vw;
    height: 70vh;
    overflow-y: scroll;
    border: lightgray 1px solid;
    background-color: #f6f6f6;
    font-size: 0.9em;
}

    div.termsbox p {
        margin: 5px 0;
    }

    div.termsbox ol {
        margin: 0;
        padding-left: 25px;
        list-style: none outside;
        list-style-position: inside;
    }

        div.termsbox ol li {
            margin: 5px 0;
            padding: 0;
            text-indent: -1em;
        }

div.btn-left {
    text-align: left;
    float: left;
}

div.btn-right {
    text-align: right;
}
