/*
 * This is a manifest file that'll be compiled into application.css, which will include all the files
 * listed below.
 *
 * Any CSS and SCSS file within this directory, lib/assets/stylesheets, vendor/assets/stylesheets,
 * or vendor/assets/stylesheets of plugins, if any, can be referenced here using a relative path.
 *
 * You're free to add application-wide styles to this file and they'll appear at the top of the
 * compiled file, but it's generally better to create a new file per style scope.
 *


 * require jquery-ui/dialog

*/

@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
}

.maticons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 16px; /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}


.maticons.md-20 {
    font-size: 20px;
}

.maticons.md-24 {
    font-size: 24px;
}

.maticons.md-36 {
    font-size: 36px;
}

.maticons.md-48 {
    font-size: 48px;
}

.maticons.small {
    font-size: 18px;
}

.green {
    color: #087a28;
}

.red {
    color: #9b001c;
}

.attention {
    color: #9b001c;
}

.visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

.skip-link {
    position: fixed;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 10000;
    padding: 0.75rem 1rem;
    border-radius: 4px;
    background: #fff;
    color: #174ea6;
    font-weight: bold;
    transform: translateY(calc(-100% - 1rem));
}

.skip-link:focus {
    transform: translateY(0);
}

.development-indicator {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    z-index: 9999;
    background-color: #c00;
}

body {
    background-color: #f8f8f8;
    color: #333;
    font-family: "Noto Sans JP", "BIZ UDPGothic", "Hiragino Kaku Gothic ProN",
    "Yu Gothic", "Meiryo", sans-serif;

    font-size: 15px;
    line-height: 1.45em;
    padding: 0;
    margin: 0;
}

h1 {
    margin: 1.25em auto 0.75em auto;
    font-size: 150%;
    color: #666;
    font-weight: normal;
}

h2 {
    font-size: 130%;
    font-weight: normal;
    padding: 0.25em 0;
    margin: 1.25em 1em 0.5em 1em;
    color: #666;
    border-bottom: solid 1px #eee;
}

h3 {
    font-size: 115%;
    padding: 0.25em 0;
    margin: 1.25em 1em 0.5em 1em;
}

ul {
    margin: 0 auto;
    padding: 0 0;
    list-style: none;
}

li {
    margin: 0 auto;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
    border-radius: 4px;
}

dt, dd {
    margin-top: 1em;
    margin-bottom: 1em;
    line-height: 1.5em;
}

input, select, textarea {
    box-sizing: border-box;
    font-size: 16px;
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 2px;
    font-weight: bold;
    color: #333;
    background-color: #ddd;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="number"],
input[type="search"],
input[type="url"],
input[type="tel"],
input[type="date"],
input[type="datetime-local"],
select {
    min-height: 44px;
}

textarea {
    min-height: 6rem;
}

input[type="submit"], input[type="file"], input[type="button"], button[type="submit"] {
    display: inline-block;
    box-sizing: border-box;
    min-height: 44px;
    text-align: center;
    margin: 0.5em 0.25em;
    font-size: 16px;
    font-weight: bold;
    line-height: 1.25;
    padding: 0.625em 1em;
    background-color: #ddd;
    border: solid 1px #888;
    border-radius: 4px;
    cursor: pointer;
}

input[type="text"], input[type="number"], input[type="checkbox"], select, textarea {
    /* box-shadow: 1px 1px 3px rgba(128,128,128,0.5) inset; */
}

select, input[type="submit"], input[type="file"], input[type="button"], button[type="submit"] {
    /* box-shadow: 2px 2px 3px rgba(128,128,128,0.5); */
}

input[type="submit"].eye,
input[type="button"].eye,
button[type="submit"].eye {
    background-color: #2458c7;
    border-color: #1746a2;
    color: white;
}

input[type="submit"]:hover, input[type="file"]:hover, input[type="button"]:hover, button[type="submit"]:hover {
    background-color: #ccc;
}

input[type="submit"].eye:hover,
input[type="button"].eye:hover,
button[type="submit"].eye:hover {
    background-color: #1746a2;
}

:where(a, button, input, select, textarea):focus-visible {
    outline: solid 3px #0b57d0;
    outline-offset: 2px;
    box-shadow: 0 0 0 5px #fff;
}

a {
    color: #26c;
    text-decoration: none;
}

a:link {
    color: #26c;
}

a:visited {
    color: #26c;
}

a:hover {
    color: #26c;
}

a.button {
    display: inline-block;
    box-sizing: border-box;
    min-height: 44px;
    text-align: center;
    text-decoration: none;
    line-height: 1.25;
    margin: 0.5em 0.25em;
    padding: 0.625em 1em;
    font-size: 16px;
    font-weight: bold;
    border: solid 1px #888;
    border-radius: 4px;
    background-color: #eee;
    cursor: pointer;
    color: #333;
    /* box-shadow: 1px 1px 1px rgba(128,128,128,0.8); */
}

a.button:hover {
    background-color: #ccc;
}

a.button.eye {
    background-color: #2458c7;
    border-color: #1746a2;
    color: white;
}

a.button.eye:hover {
    background-color: #1746a2;
}

a.button.small {
    font-size: 14px;
}

.stretched-link {
    position: absolute;
    inset: 0;
    z-index: 1;
    border-radius: 6px;
}

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td {
    padding: 0.5em 1em;
}

th {
    font-size: 92%;
    color: #666;
}

table.rowhead {
    width: 100%;
    font-size: 92%;
    margin: 0 auto;
}

table.rowhead th, table.rowhead td {
    border-bottom: solid 1px #eee;
}

table.rowhead th {
    padding: 0.5em 1em;
}

table.rowhead tr:last-child th, table.rowhead tr:last-child td {
    border-bottom: solid 1px #eee;
}

table.rowhead tr:first-child th, table.rowhead tr:first-child td {
    /* border-top: solid 1px #eee; */
}

table.colhead {
    margin: 1em 1em;
}

table.colhead td {
    padding: 0.5em;
    text-align: left;
}

table.colhead th {
    padding: 0.5em;
    text-align: right;
}

th.r, td.r {
    text-align: right;
}

th.c, td.c {
    text-align: center;
}

th.l, td.l {
    text-align: left;
}


p {
    margin: 1em 1em;
}

p.links {
    clear: both;
    text-align: right;
}


.alert {
    position: fixed;
    z-index: 3;
    box-sizing: border-box;
    text-align: center;
    top: 1rem;
    left: 50%;
    width: min(40rem, calc(100% - 2rem));
    margin: 0;
    color: #fff;
    background-color: #245d2b;
    font-weight: bold;
    font-size: 1rem;
    padding: 1em 3.5em 1em 1em;
    opacity: 1;
    animation-duration: 0.5s;
    animation-name: fade-in;
    border-radius: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    transform: translateX(-50%);
}

.alert-error {
    background-color: #9b001c;
}

.alert-close {
    position: absolute;
    top: 50%;
    right: 0.25rem;
    width: 44px;
    min-height: 44px;
    padding: 0;
    margin: 0;
    border: none;
    background: transparent;
    color: inherit;
    font: inherit;
    line-height: 1;
    cursor: pointer;
    transform: translateY(-50%);
}


@keyframes fade-in {
    0% {
        display: none;
        opacity: 0;
    }

    1% {
        display: block;
        opacity: 0;
    }

    100% {
        display: block;
        opacity: 1;
    }
}

.quick form {
    display: inline;
}

.actions {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: flex-end;
    gap: 0.5rem;
    margin: 1rem 0;
}

.actions > * {
    margin: 0;
}

.card {
    position: relative;
    text-align: left;
    margin: 1em 0;
    background-color: white;
    border: solid 1px #ddd;
    border-radius: 6px;
    box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.1);
}
.card .card-inner {
    padding: 1em;
}

.card-actions {
    text-align: right;
}

div.bread {
    font-size: 88%;
    margin: 1em auto;
    color: #666;
}

div.bread a {
    /* color: #888; */
}

div.bread a:hover {
    color: #58e;
}


.showall {
    display: none;
}

.me {
    background-color: #ffff40;
    color: black;
}

span.location, span.component-id, span.product-master-id, span.supplier-id {
    display: inline-block;
    text-align: center;
    border-radius: 4px;
}

span.component-id {
    font-size: 16px;
    font-weight: bold;
    padding: 0.2em 0.5em;
    border: solid 2px #555;
    background-color: #fe4;
    min-width: 2em;
    color: #333;
}

.component-id a {
    color: #555;
}


span.location {
    background-color: #eed;
    color: #884;
    padding: 0.1em 0.5em;
}

span.location a {
    color: #884;
}

span.label {
    display: inline-block;
    text-align: center;
    border-radius: 4px;
    padding: 0 0.5em;
    margin: 0 1em 0 0;
    line-height: 2em;
    min-width: 5em;
    font-size: 12.5px;
    background-color: #eee;
    font-weight: bold;
    color: #666;
}

span.product-master-id {
    font-weight: bold;
    padding: 0.25em 1em;
    border: none;
    background-color: #dec;
    min-width: 8em;
    color: #583;
}

.product-master-id a {
    color: #583;
}

span.supplier-id {
    font-weight: bold;
    padding: 0.25em 1em;
    border: none;
    background-color: #cde;
    min-width: 8em;
    color: #56b;
}

.supplier-id a {
    color: #56b;
}

.asymbol {
    padding: 4px 6px;
    font-size: 24.0px;
    font-weight: bold;
}

.assemble-description {
    font-weight: bold;
    color: #cf2020;
}


.production-menu {
    margin-top: 24px;
}

.production-menu ul {
    list-style: none;
    margin: 0 auto;
    padding-left: 16px;
    padding-right: 16px;
}

.production-menu li {
    display: inline;
    padding: 16px 16px;
    margin: 24px auto;
    margin-right: 16px;
    background-color: #e0e0e0;
}

.production-menu input {
    font-size: 20px;
}

/*
#sresult {
    font-size: 12.5px;
    background-color: #e0e0e0;
    border: solid 1px #909090;
    padding: 4px 4px;
}
*/

.add-asm-dlg-left {
    width: 350px;
    float: left;
}

.add-asm-dlg-right {
    margin-left: 360px;
}

.report-input {
    width: 160px;
    ime-mode: inactive;
}

#report-result {
    width: 960px;
    min-height: 460px;
    padding: 16px 16px;
    background-color: #e0e0e0;
    margin-top: 20px;
}

#report-result .message {
    text-align: center;
    font-weight: bold;
    font-size: 20px;
    color: red;
    margin-bottom: 24px;
}

.report-div {
    text-align: center;
    width: 960px;
    padding: 16px 16px;
    background-color: #e0e0e0;
}

.product-comments li {
    margin-bottom: 20px;
}

.date-basic {
    color: #666;
    font-size: 0.875rem;
}

p.center {
    text-align: center;
}

p.right {
    text-align: right;
}

p.note, span.note {
    font-size: 0.875rem;
    color: #666;
}

p.bigger, span.bigger {
    font-size: 150%;
}

p.xbigger, span.xbigger {
    font-size: 200%;
    font-weight: bold;
}

#error_explanation {
    margin: 1em auto;
    padding: 1em;
    background-color: #fff0f0;
    border: solid 1px #9b001c;
    border-radius: 2px;
    box-shadow: 2px 2px 2px rgba(128, 128, 128, 0.1);
    color: #9b001c;
}

#error_explanation ul {
    margin: 0 1em;
    list-style: circle;
}

.field_with_errors input {
    background-color: #fff0f0;
    border: solid 1px #9b001c;
}

#cviewer {
    position: absolute;
    top: 75px;
    left: 0.5em;
    margin: 0 0;
    padding: 1em 1em;
    z-index: 2;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    box-shadow: 3px 3px 3px rgba(0, 0, 0, 0.25);
    border-radius: 3px 3px;
    display: none;
}

#spoteditor {
    width: 90%
}

.inline-prompt-field {
    cursor: pointer;
}

.inline-prompt-field-icon {
    margin-left: 0.2em;
    color: rgba(0, 0, 0, 0.35);
    vertical-align: text-bottom;
}

.inline-prompt-field[aria-busy="true"] {
    opacity: 0.6;
}

@media (prefers-reduced-motion: reduce) {
    .alert {
        animation: none;
    }
}
.component-image-main {
    width: 200px;
    margin: 1em 1em;
    float: left;
}

#component-finder-area {
    border: solid 1px #c0c0c0;
    background-color: #ffd;
    border-radius: 6px;
    margin: 1em auto;
    padding: 1em;
}

#_cfind_query {
    width: 10em;
    background-color: white;
}

.component-supplier-code {
    overflow-wrap: anywhere;
}

.component-supplier-form {
    max-width: 40rem;
}

.component-supplier-field {
    margin-bottom: 1.25rem;
}

.component-supplier-field label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
}

.component-supplier-field select,
.component-supplier-field input[type="text"] {
    width: 100%;
    background-color: white;
}

.component-supplier-field .note {
    margin: 0.5rem 0 0;
}

.component-supplier-delete {
    max-width: 40rem;
    margin-top: 2rem;
    padding-top: 1rem;
    border-top: solid 1px #ddd;
}
body.devise-layout {
    background: #f8f8f8;
}

.devise-main {
    width: min(360px, calc(100% - 2rem));
    margin: clamp(2rem, 12vh, 8rem) auto 0;
}

.devise-main h1,
.devise-main h2 {
    margin: 0 0 1em;
    border: none;
}

.devise-main label {
    display: block;
    margin: 1em 0 0.25em;
    color: #555;
    font-size: 90%;
}

.devise-main input[type="email"],
.devise-main input[type="password"] {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    background: #fff;
}

.devise-main input[type="submit"] {
    width: 100%;
    min-height: 44px;
    margin: 1.25em 0 0.5em;
}

.devise-links {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 1em;
    margin-top: 1em;
    font-size: 90%;
}

.devise-links a {
    display: inline-flex;
    min-height: 44px;
    align-items: center;
}

.devise-alert {
    margin: 0 0 1em;
    font-weight: bold;
}

.devise-alert-error {
    color: #9b001c;
}

.devise-alert-notice {
    color: #245d2b;
}
.lot-worker-select {
    max-width: 100%;
}

.lot-worker-name {
    overflow-wrap: anywhere;
}
.pm-image-main
{
    float: left;
    margin: 1em 1em;
}

.ear-determination {
    border-left: solid 5px #2458c7;
}

.ear-determination h2,
.ear-determination h3 {
    margin-left: 0;
    margin-right: 0;
}

.ear-determination-state {
    margin-left: 0;
    margin-right: 0;
}

span.label.ear-determination-completed {
    background-color: #dff2df;
    color: #386b38;
}

span.label.ear-determination-pending {
    margin-right: 0.5em;
    background-color: #fff0c7;
    color: #806522;
}

.ear-determination-results {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 0 1em;
    margin-top: 0.5em;
}

.ear-determination-results p {
    display: flex;
    align-items: baseline;
    min-width: 0;
    margin: 0.5em 0;
}

.ear-determination-results .label {
    flex: 0 0 7em;
}

.ear-determined-eccn,
.ear-determined-basis,
.ear-determined-at,
.ear-applicability {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ear-determined-basis {
    white-space: pre-wrap;
}

.ear-determination-form {
    margin-top: 1.5em;
    padding-top: 0.25em;
    border-top: solid 1px #ddd;
}

.ear-determination-fields {
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(0, 2fr);
    gap: 1em;
}

.ear-determination-field label {
    display: block;
    margin-bottom: 0.5em;
    font-weight: bold;
}

.ear-determination-field input,
.ear-determination-field textarea {
    width: 100%;
}

.ear-field-hint {
    margin: 0.5em 0;
    color: #666;
    font-size: 92%;
}

.ear-determination-errors {
    padding: 0.75em 1em;
    border: solid 1px #ffb6c0;
    border-radius: 6px;
    background-color: #fff5f6;
}

.ear-determination-errors p,
.ear-determination-errors ul {
    margin: 0.25em 0;
}

.ear-determination-errors ul {
    padding-left: 1.5em;
    list-style: disc;
}

.ear-attention {
    padding: 1em;
    border: solid 1px #ffb6c0;
    border-radius: 6px;
    background-color: #fff5f6;
}

.ear-summary {
    padding: 1em;
}

.ear-summary h2 {
    margin-top: 0;
}

.ear-summary-items {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(10em, 1fr));
    gap: 0.75em;
}

.ear-summary-item {
    min-width: 0;
    padding: 0.75em;
    text-align: center;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.ear-summary-item .label {
    display: block;
    min-width: 0;
    margin: 0 0 0.5em;
    line-height: 1.5em;
}

.ear-summary-count {
    font-size: 180%;
    font-weight: bold;
}

.ear-component-card .card-inner {
    padding: 1em;
}

.ear-component-title {
    display: flex;
    align-items: center;
    gap: 1em;
}

.ear-component-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.ear-component-details p {
    display: flex;
    align-items: baseline;
    min-width: 0;
    margin: 0.5em 1em;
}

.ear-component-details .label {
    flex: 0 0 7em;
}

.ear-value {
    min-width: 0;
    overflow-wrap: anywhere;
}

.ear-supplier-parts {
    margin-top: 1em;
    padding-top: 1em;
    border-top: solid 1px #ddd;
}

.ear-supplier-parts h3 {
    margin-top: 0;
}

.ear-supplier-part {
    padding: 0.5em;
    background-color: #f8f8f8;
    border-radius: 4px;
}

.ear-supplier-part + .ear-supplier-part {
    margin-top: 0.75em;
}

.ear-digikey-unregistered {
    margin: 1em 0 0;
}

span.label.ear-status-current {
    background-color: #dff2df;
    color: #386b38;
}

span.label.ear-status-expired,
span.label.ear-status-unfetched {
    background-color: #ffe0e4;
    color: #a43b4a;
}

span.label.ear-status-not-provided,
span.label.ear-status-refresh-stopped {
    background-color: #fff0c7;
    color: #806522;
}

span.label.ear-eccn-conflict {
    background-color: #ffe0e4;
    color: #a43b4a;
}
._snavi_stepname {
    font-size: 16px;
    margin: 0.5em;
    line-height: 1.5em;
    padding: 0.25em 0.5em;
    background-color: #333;
    color: #eee;
    border-radius: 6px;
    text-align: center;
}
._snavi_description {
    padding: 0.5em 0;
    background-color: #eee;
    margin: 0.5em;
    border-radius: 6px;
    line-height: 2em;
}
._snavi_description li {
    list-style: disc;
}
._snavi_description li {
    margin: 0 2em 0 3em;
}
._snavi_step_image {
    text-align: center;
    margin: 1em auto;
}
._snavi_header {
    text-align: center;
}
._snavi_cursor {
    position: absolute;
    font-family: Arial;
    font-size: 28px;
    color: red;
    cursor: pointer;
    -ms-user-select: none;
    -webkit-user-select: none;
    user-select: none;
    z-index: 1001;
    animation: snavi-blink 500ms steps(1, end) infinite;
}

@keyframes snavi-blink {
    50% {
        color: yellow;
    }
}
/*
* CSS for large screen devices


*/



.header {
    position: fixed;
    top:0;
    left:0;
    padding: 1em;
    height: 2em;
    width: 100%;
    background-color: #303030;
    color: #eee;
    font-size: 12.5px;
    margin: 0;
    z-index: 1;
}
.header a {
    color: #eee;
}
.header h1 {
    font-size: 12.5px;
    color: #888;
    font-weight: bold;
    text-align: left;
    margin: 1em auto;
    padding: 0 0;
}


.quick {
}
.quick input{
    font-size: 12.5px;
    min-height: 2em;
}

.quick input[type="text"] {
    background-color: #555;
    color: #eee;
    font-weight: normal;
    border: none;
}
.quick input[type="submit"], .quick input[type="button"] {
    display: inline;
    padding: 0.5em 1em;
    margin: 0 0;
    line-height: 1em;
    height: auto;
}
.quick ul {
    margin: 0 auto;
    padding: 0 0;
}
.quick li {
    display: inline;
    margin-right: 2em;
}
.quick a {
    color: white;
}
.quick form {
    display: inline;
}
.quick .cid {
    width: 3em;
}
.quick .cq {
    width: 10em;
}
.quick .pmq {
    width: 8em;
}

.lnavi-wrapper{
    position: fixed;
    background-color: white;
    top: 3em;
    left: 0;
    width: calc( 14vw );
    height: 100%;
    margin: 0 0;
    padding: 0 0;
    box-shadow: 2px 2px 2px rgba(128,128,128,0.1);
}
.lnavi {
    margin: 0;
}
.lnavi ul {
    margin: 0;
    padding: 0 0;
}
.lnavi li {
    margin: 0 0;
    padding: 0 0;
}
.lnavi li a {
    display: block;
    background-color: #fff;
    margin: 1em 0.5em;
    padding: 0.25em 0.5em;
    color: #333;
    border-left: solid 4px #fff;
    cursor: pointer;
}
.lnavi a:hover {
    color: #58e;
}
.lnavi .lnavi-current {
    font-weight: bold;
    color: #111;
}

.tnavi ul {
    margin: 0 auto;
    padding: 0;
}
.tnavi li {
    display: inline;
    margin: 0 auto;
    padding: 0 0;
    margin-right: 0.5em;
}

.main {
    position: absolute;
    top: 3em;
    left: calc( 14vw + 1em );
    width: calc( 86vw - 3em );
    margin: 1em auto;
    padding: 0 0;
}

.footer {
    clear: both;
    text-align: right;
    color: #ccc;
    margin: 3em 1em;
    font-size: 11.5px;
}

.pagination {
    color: #888;
    margin: 0.5em auto;
    text-align: center;
    font-size: 120%;
}

.pagination a, .pagination em {
    margin: 0.5em 1em;
    color: #888;
}
.pagination em {
    font-style: normal;
    font-size: 130%;
}
/*


*/
