input[type="checkbox"] {
    transform: scale(2);
    margin-top: 16px;
    margin-right: 8px;
}

input[type="checkbox"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
}

input[type="checkbox"].smallcheck {
    transform: scale(1.5);
    margin-top: 0.25em;
    margin-right: 0.5em;
}

input[type="radio"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
    /* display: none; */
}

input[type="radio"] {
    transform: scale(1.5);
    margin-top: 0.25em;
    margin-right: 0.5em;
    /* display: none;*/
}

@media (min-height: 0) {
    #app>div:first-child {
        min-height: 500px;
    }

    .responsive-area {
        max-height: 330px;
    }

    .responsive-area2 {
        max-height: 378px !important;
    }
}

@media (min-height: 768px) {
    #app>div:first-child {
        min-height: 500px;
    }

    .responsive-area {
        max-height: 428px !important;
    }

    .responsive-area2 {
        max-height: 468px !important;
    }
}

@media (min-height: 920px) {
    #app>div:first-child {
        min-height: 640px;
    }

    .responsive-area {
        max-height: 600px !important;
    }

    .responsive-area2 {
        max-height: 640px !important;
    }

    .menubutton {
        height: 3em !important;
    }

    .menucostarea {
        margin: auto !important;
    }
}

@media (min-height: 1080px) {
    #app>div:first-child {
        min-height: 640px;
    }

    .responsive-area {
        max-height: 760px !important;
    }

    .responsive-area2 {
        max-height: 800px !important;
    }

    .menubutton {
        height: 3em !important;
    }

    .menucostarea {
        margin: auto !important;
    }
}

body {
    background-image: url(../images/background.jpg);
    background-position: right bottom;
    background-repeat: no-repeat;
    background-size: 75%;
    background-color: #030303;
}

.header-bar {
    background-color: #000;
    color: white;
}

.title {
    background-color: #ee7400;
    color: white;
    font-weight: bold;
    font-size: 2em;
    text-align: center;
    padding-left: 3rem;
}

@media (min-width: 0px) {
    .title {
        font-size: 1.8em;
    }
}

@media (min-width: 800px) {
    .title {
        font-size: 2.0em;
    }
}

.customer {
    background-color: transparent;
    font-weight: bold;
    color: white;
    font-size: 1.2em;
}

#app>div:first-child {
    padding: 1pc;
    background-color: #3338;
    color: white;
    border-radius: 0.5pc;
}

.group {
    padding: 0 1pc;
    background-color: #4448;
    border-radius: 0.5pc;
    margin: 0.25pc 0;
}

input,
select {
    border-color: #666;
}

input[data-type="numeric"] {
    text-align: right;
}

.btn {
    font-weight: bold;
    color: white !important;
}

button,
.radiorlabel {
    color: white !important;
    background-color: #212529;
    min-width: 4rem;
}

.modified {
    border: 2px solid #f36e21 !important;
}

.bg-gradient-select {
    background: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='-8 -8 32 32'%3e%3cpath fill='none' stroke='%23fff' stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M2 5l6 6 6-6'/%3e%3c/svg%3e"), var(--bs-gradient), #212529;
    background-repeat: no-repeat;
    background-position: right 0 center;
}


/*v5 script */

.modal-body,
.modal-header {
    background-color: #212529;
}

.modal-dialog {
    min-width: 650px;
    margin: 1.75rem auto;
    border-radius: 0.5pc;
    color: white;
    background-color: #333;
}

.sub-caption {
    color: #f36e21;
    font-weight: bold;
    min-width: 8rem;
}
.function-caption {
    min-width: 16rem;
}

.vp5feelabel {
    color: #ddd;
}


/*spec-comp */

.sub-caption2 {
    color: #f36e21;
    font-weight: bold;
    font-size: 1.2em;
    background-color: #111111;
}


/*op_cost style */

input[type="checkbox"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
}

.form-control[readonly] {
    background: var(--bs-gradient), #111111;
    color: #eeeeee;
}

input[type="checkbox"].smallcheck {
    transform: scale(1.5);
    margin-top: 0.25em;
    margin-right: 0.5em;
}

.was-validated .form-control:valid,
.was-validated .form-control:invalid,
.form-control.is-valid,
.form-control.is-invalid {
    border-color: #ced4da;
    padding-right: inherit;
    background-image: var(--bs-gradient) !important;
    background-size: 100%;
    background-position: 0;
}

.was-validated .form-check-input:valid:checked,
.form-check-input.is-valid:checked {
    background-color: #f36e21;
    border-color: #f36e21;
}

.was-validated .form-check-input:valid,
.form-check-input.is-valid {
    border-color: inherit;
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.form-check-input:checked,
.form-check-input:checked:valid {
    background-color: #f36e21;
    border-color: #f36e21;
}

.form-control:focus,
.form-check-input:focus,
.btn:focus {
    border-color: #eee;
    box-shadow: 0 0 0 0.2rem rgba(243, 110, 33, 0.25);
}

.scroll-area {
    margin: 0 0 0 0;
    border-radius: 1em;
    border: rgb(192, 192, 192, 0.1) 2px solid;
    /*background: linear-gradient(0deg, rgb(192, 192, 192, 0.1), rgb(0, 0, 0, 0.3));*/
}

#dropdownMenu {
    cursor: pointer;
    transition-duration: 0.3s;
}

#dropdownMenu:hover {
    opacity: 0.6;
    transition-duration: 0.3s;
    filter: contrast(200%) brightness(200%) grayscale(100%);
}


/* JQueryUI オーバーライド */

.ui-button ui-button-icon-only custom-combobox-toggle {
    border: 1px solid #c5c5c5;
    border-right: none;
}

.ui-button {
    border-left: none;
}

.ui-widget-content {
    font-family: inherit;
    background-color: #212529;
    background-image: var(--bs-gradient) !important;
    font-size: 1.5em;
}

.ui-autocomplete {
    background-color: #343a40;
    color: white;
    font-size: 1.2em;
}

.ui-state-highlight {
    border: 1px solid #dad55e;
    background: #fffa90;
    color: #777620;
}

.ui-widget-header {
    border: 1px solid #ddd;
    background: #333;
    color: #e9e9e9;
    font-weight: bold;
}
.ui-datepicker{
    font-size: 95%;
}
.ui-datepicker-calendar .ui-state-default,
.ui-datepicker-calendar .ui-state-disabled:hover,
.ui-datepicker-calendar .ui-state-disabled:active {
    border: 1px solid #c5c5c5;
    background: #333;
    font-weight: normal;
    color: #fff;
}

.ui-datepicker-calendar .ui-state-default {
    border: 1px solid #333;
}

.ui-datepicker-calendar .ui-state-highlight {
    border: 1px solid #ee7400;
}

.ui-datepicker-calendar .ui-state-active,
.ui-datepicker-calendar .ui-state-active:hover {
    border: 1px solid #ccc;
    background: #ee7400;
    font-weight: normal;
    color: #333;
}


/* コンボボックス */

.custom-combobox {
    position: relative;
    display: inline-block;
}

.custom-combobox-toggle {
    position: absolute;
    top: 0;
    bottom: 0;
    margin-left: -1px;
}

.custom-combobox-input {
    margin: 0;
    color: #ddd;
    min-height: calc(1.5em + 1rem + 2px);
    padding: 0 0.6rem;
    font-size: 1.25rem;
    border-top-left-radius: 0.3rem;
    border-bottom-left-radius: 0.3rem;
    width: 31rem;
}

.custom-combobox a {
    color: white;
    padding-top: 12px;
    width: 3pc;
}

.custom-combobox a:hover {
    background-color: #ee7400;
    color: white;
    border-color: white;
}

.custom-combobox a:active {
    border-color: white;
    padding-top: 12px;
}


/*spec_compのスティッキーテーブル*/

.sticky_table_area {
    width: 100%;
    overflow: auto;
    padding: 0;
    margin: 0;
}


/* 横幅600以下のブラウザでは縦のスクロールバーを表示しない */

@media (max-width: 600px) {
    .sticky_table_area {
        height: 100%;
    }
}

.sticky_table {
    width: 100%;
    height: 100%;
}

.sticky_table tr {}

.sticky_table td {}

.sticky_table thead th,
.sticky_table tbody td {
    min-width: 120px;
}

.sticky_table tbody td {
    background-color: #3338;
}

.sticky_table thead th:nth-child(1) {
    background-color: #333;
    width: 273px;
    min-width: 120px;
    min-height: 32px;
    border-left: none;
}

.sticky_table tbody td:nth-child(1) {
    background-color: #333;
    width: 273px;
    min-width: 120px;
    min-height: 32px;
    border-left: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.sticky_table thead th:nth-child(2),
.sticky_table tbody td:nth-child(2) {
    background-color: #333;
    width: 273px;
    min-width: 120px;
    min-height: 32px;
    border-left: none;
    border-top: none;
}

.sticky_table thead th:not(:nth-child(1)) {
    background-color: #333;
    margin: 0 4px;
    border-right: 1px solid #fff;
}

.sticky_table tbody td:not(:nth-child(1)) {
    background-color: #3338;
    margin: 0 4px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}


/** Stickyセルの指定。*/

.sticky_table thead th,
.sticky_table tbody td:first-child,
.sticky_table tbody td:nth-child(2) {
    position: -webkit-sticky;
    position: sticky;
    white-space: nowrap;
}


/** Sticky-Position設定*/

.sticky_table thead th:nth-child(1) {
    left: 0;
    z-index: 2;
}

.sticky_table thead th:nth-child(2) {
    left: 273px;
    background: #ee7400;
    z-index: 2;
}

.sticky_table thead tr:nth-child(1) th {
    top: 0;
}

.sticky_table thead tr:nth-child(2) th {
    top: 40px;
}

.sticky_table tbody td:nth-child(1) {
    left: 0;
}

.sticky_table tbody td:nth-child(2) {
    left: 273px;
    background: #ee7400;
}

/* Sticky-table-sm start */
.sm-col{
    min-width: 120px;
    max-width: 288px;
}
.sticky_table_sm tbody td {
    background-color: #3338;
}
.sticky_table_sm thead th:nth-child(1) {
    background-color: #333;
    min-height: 32px;
    border-left: none;
}
.sticky_table_sm tbody td:nth-child(1) {
    background-color: #333;
    min-height: 32px;
    border-left: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}
.sticky_table_sm thead th:nth-child(2),
.sticky_table_sm tbody td:nth-child(2) {
    background-color: #333;
    min-height: 32px;
    border-left: none;
    border-top: none;
}
.sticky_table_sm thead th:not(:nth-child(1)) {
    background-color: #333;
    margin: 0 4px;
    border-right: 1px solid #fff;
}
.sticky_table_sm tbody td:not(:nth-child(1)) {
    background-color: #3338;
    margin: 0 4px;
    border-right: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

/** Sticky-Position設定*/
.sticky_table_sm thead th:nth-child(1) {
    left: 0;
    z-index: 2;
}
.sticky_table_sm thead th:nth-child(2) {
    background: #ee7400;
    z-index: 2;
}
.sticky_table_sm thead tr:nth-child(1) th {
    top: 0;
}
.sticky_table_sm thead tr:nth-child(2) th {
    top: 40px;
}
.sticky_table_sm tbody td:nth-child(1) {
    left: 0;
}
.sticky_table_sm tbody td:nth-child(2) {
    background: #ee7400;
}

/* Sticky-table-sm end */

/* Sticky-table-pdf-search start */
.sticky_table_pdf_search {
    width: 100%;
    height: 100%;
}

.sticky_table_pdf_search thead th,
.sticky_table_pdf_search tbody td {
    min-width: 120px;
}

.sticky_table_pdf_search thead th {
    background-color: #ee7400;
}

.sticky_table_pdf_search tbody td {
    background-color: #3338;
}

.sticky_table_pdf_search thead th:nth-child(1) {
    width: 60px;
    min-width: 60px;
    min-height: 32px;
    border-left: none;
}

.sticky_table_pdf_search tbody td:nth-child(1) {
    width: 60px;
    min-width: 60px;
    min-height: 32px;
    text-align: center;
    border-left: none;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}

.sticky_table_pdf_search thead th:nth-child(2),
.sticky_table_pdf_search tbody td:nth-child(2) {
    width: 120px;
    min-width: 60px;
    min-height: 32px;
}

.sticky_table_pdf_search thead th:not(:nth-child(1)) {
    margin: 0 4px;
    border-left: 1px solid #fff;
}

.sticky_table_pdf_search tbody td:not(:nth-child(1)) {
    margin: 0 4px;
    border-left: 1px solid #fff;
    border-top: 1px solid #fff;
    border-bottom: 1px solid #fff;
}


/** Stickyセルの指定。*/

.sticky_table_pdf_search thead th {
    position: -webkit-sticky;
    position: sticky;
    white-space: nowrap;
    top: 0;
    z-index: 1
}
/* Sticky-table-pdf-search end */

/*v5 script */

input[type="checkbox"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
}

input[type="radio"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
    /* display: none; */
}

input[type="checkbox"].smallcheck {
    transform: scale(1.5);
    margin-top: 0.25em;
    margin-right: 0.5em;
}

.modal-body,
.modal-header {
    background-color: #000;
}


/*op_cost style */

input[type="checkbox"] {
    transform: scale(2);
    margin-top: 1.15em;
    margin-right: 0.5em;
}

.form-control[readonly] {
    background-color: #333;
    color: #fff;
}

input[type="checkbox"].smallcheck {
    transform: scale(1.5);
    margin-top: 0.25em;
    margin-right: 0.5em;
}

#overlay {
    position: fixed;
    top: 0;
    z-index: 100;
    width: 100%;
    height: 100%;
    display: none;
    background: rgba(0, 0, 0, 0.6);
}

.cv-spinner {
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinner {
    width: 40px;
    height: 40px;
    border: 4px #ddd solid;
    border-top: 4px #2e93e6 solid;
    border-radius: 50%;
    animation: sp-anime 0.8s infinite linear;
}

.ui-autocomplete {
    max-height: 600px;
    overflow-x: hidden;
    overflow-y: scroll;
}

.image-checkbox {
    width: 420px;
}

.function-image-check {
    position: relative;
    z-index: 11;
}

.function-image {
    filter: drop-shadow(0.2em 0.2em 0.2em rgba(0, 0, 0, 0.75));
    border: solid 1px #444;
    border-radius: 0.5em;
    margin-top: -0.5em;
    margin-left: 0.25em;
    margin-right: 0.5cm;
    position: relative;
    z-index: 10;
}

.tooltip {
    font-size: 1.25em;
}

.tooltip-inner {
    text-align: left;
    border-radius: 0.25rem;
}

.bottom-btn-row{
    margin-right: calc(var(--bs-gutter-x) * -0.9);
    margin-left: calc(var(--bs-gutter-x) * -0.9);
}
.chkbox-minw-12rem{
    min-width: 12rem;
}
.chkbox-minw-16rem{
    min-width: 16rem;
}
.chkbox-small-rem{
    font-size: 1.2rem !important;
}

.width-100{
    width : 9rem;
}
.text-alert {
  margin-top: 0.5rem;
  font-size: 0.875em;
  color: #dc3545;
}