@charset "utf-8";

body {
    margin-top: 0px;
    font-family: "Meiryo", Verdana, Arial, Helvetica, sans-serif;
    background-color: #ffffff;
    font-size: 14px;
}

p {
    margin: 1em auto;
    line-height: 1.5em;
}

#header {
    margin-bottom: 39px;
}

h1 {
    margin: 0;
}

.top {
    background-image: url(../images/kantan-wms-backlogo.png);
    background-size: cover;
    background-position: bottom;
}

.nav {
    margin: 0px;
    background-color: #ccf;
}

.nav a {
    color: #00f;
}

/* 荷主ユーザーログインの場合の荷主名 */
.nav-tabs > li > .owner_name {
    padding-top: 10px;
    padding-bottom: 8px;
    line-height: 20px;
    color: #666699;
    text-shadow: 2px 2px 2px #999;
    font-size: 18px;
}
.nav-owner {
    padding-right: 2em;
}

.nav-owner > li {
    float: right;
}

#select_owner_id {
    margin: 3px;
}

#main h2 {
    font-size: 120%;
    font-weight: normal;
    margin: 0 1em 0.5em 0;
    padding-left: 0.5em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #ccf;
}

#main h3 {
    font-size: 110%;
    font-weight: normal;
    margin: 1em 1em 0.5em 1em;
    padding-left: 1em;
    line-height: 2em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #ddd;
}

#main h4 {
    font-size: 110%;
    font-weight: normal;
    margin: 0em 1em 0.5em 1em;
    width: 40em;
    padding-left: 1em;
    line-height: 2em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #ddd;
}

#main ul:not(.dropdown-menu) {
    margin: auto 4em 2em 4em;
}

#main .nav li {
    padding: 0.5em;
}

#main table {
    margin: auto 1.2em 6em 1.2em;
    width: 97%;
    border: 1px #e3e3e3 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

/***************************************/
/*　Sticky table 設定 */
/***************************************/

#items {
    width: 96vw;
/*    display: block; */ /*これが無いと全行表示になる*/
/*    overflow-y: scroll;
    height: 80vh;
    border-collapse: separate;
*/
}
 */

#items thead th {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    top: 0;
    z-index: 1;
/*    width: 100vmax !important; */
    white-space: nowrap;
}

/*
#items tr:nth-child(even) {
     background-color: cyan;
}
*/

/***************************************/
/*　Sticky table 設定 */
/***************************************/

#main .half_table_box table.half_table {
    margin: auto 1.2em;
    width: 40%;
    border: 1px #e3e3e3 solid;
    border-collapse: collapse;
    border-spacing: 0;
}

#main .half_table_box {
    width: 95%;
    position: relative;
}

#main .half_table_box table.table_right {
    position: absolute;
    top: 10px;
    right: 20px;
}

#main .half_table_box .arrow {
    position: absolute;
    left: 49%;
    font-size: 28pt;
}

#main .half_table_box table.table_left {
    position: absolute;
    top: 10px;
    left: 20px;
}

#main table th {
    padding: 5px;
    border: #e3e3e3 solid;
    border-width: 0;
    background-color: #f5f5f5;
    font-weight: bold;
    line-height: 120%;
    text-align: center;
    cursor: pointer;
}
#main #items2_wrapper th {
    background-image: none;
}

#main #items td,
#main .half_table td {
    padding: 2px 5px;
    border: 1px #e3e3e3 solid;
    border-width: 0 0 1px 1px;
}
#main #items2 td {
    padding: 2px 5px;
    border: 1px #e3e3e3 solid;
    border-width: 0 0 0 1px;
}

#main {
    padding: 0.5em;
}

#footer {
    background-color: #ccf;
    color: #ffffff;
    border: 1px solid #ccc;
    padding: 0.5em;
    margin-bottom: 0;
}

#footer #copyright {
    text-align: center;
    color: #66f;
    font-size: 90%;
}

#main p.desc {
    margin: auto;
    font-size: 75%;
    color: #66f;
    text-align: left;
}

#main .summary {
    border: 1px solid #cfc;
    padding: 0.5em;
    background-color: #cfc;
    margin: 1em;
}

#foot_bar {
    position: fixed;
    left: 0;
    bottom: 40px;
    width: 99%;
    height: 40px;
    background: white;
    text-align: center;
    white-space: nowrap;
}

.decimal {
    text-align: right !important;
}

#main .prev_info .row label {
    font-size: 100%;
    width: 6em;
    text-align: right;
    float: left;
}
#main .prev_info .row div {
    /*	font-weight: bold; */
    font-size: 20px;
    text-align: right;
}

#main label {
    font-size: 90%;
}

#main table .list_select {
    width: 40px !important;
    padding: 3px;
}

#main table .list_select label {
    padding: 0;
    width: 40px;
    height: 30px;
    text-align: center;
}

#main table .list_select label.ui-state-default {
    color: #ccc;
}

#main table.small_table {
    width: 35%;
}

#main table .list_select label.ui-state-active {
    color: blue;
    font-weight: bold;
    background-color: #ddf;
    background-image: none;
}

#main table .list_select label .ui-button-text {
    padding-left: 0;
    padding-right: 0;
}

#main th.list_name {
    width: 20em !important;
}

#main .list_warehouse {
    width: 5em;
}
#main .list_status {
    width: 5em;
}
#main .list_boolean {
    width: 2.5em;
}
#main .list_date {
    width: 10ex;
}
#main .list_amount,
#main .list_amount_collecting {
    width: 4em;
}
#main .list_type {
    width: 5em;
}
#main .list_supplier,
#main .list_customer {
    width: 8em;
}
#main .list_code {
    width: 10ex;
}
#main .list_code1 {
    width: 15ex;
}
#main .list_code2 {
    width: 20ex;
}
#main .list_code3 {
    width: 46ex;
    max-width: 62ex;
}
#main .list_number {
    width: 10ex;
}

#main .list_address {
    width: 15em;
}

#main td.list_code {
    text-align: left;
}
#main td.list_code2 {
    font-size: small;
    white-space: nowrap;
}
#main td.list_code3 {
    font-size: small;
    word-wrap: break-word;
    white-space: normal;
}
#main td.list_address {
    font-size: small;
    white-space: nowrap;
}

#main td.list_number,
#main td.list_amount,
#main td.list_amount_collecting,
#main td.list_price {
    text-align: right !important;
}

#main td.list_date,
#main td.list_status,
#main td.list_select {
    text-align: center;
}

#main td .fixed_cell {
    margin: 0px;
    width: 20em;
    height: 100%;
    overflow: hidden;
}

#main #result .confirm_btn_block {
    position: relative;
    height: 30px;
}

#main #result .confirm_btn_area {
    position: absolute;
    right: 200px;
}

#items tr td.selected {
    background-color: #99ccff !important;
}

#main tfoot td.list_number,
#main tfoot td.list_amount,
#main tfoot td.list_amount_collecting,
#main tfoot td.list_price {
    font-weight: bold;
}

#main .buttons .btn {
    display: block !important;
    margin: 0.5em !important;
    font-size: 20px;
}

#main .keypad {
    z-index: 20000 !important;
}

#main #items_count,
#main #total_amount {
    font-size: 20px;
    font-weight: bold;
}

.help-inline {
    min-width: 10em;
}

/* pagination */
.pagination {
    margin: 1em 1em 3em 1em;
    padding: 0;
    height: 2.5em;
}
.pagination a {
    text-decoration: none;
    border: solid 1px darkorange;
    color: darkorange;
}
.pagination a,
.pagination span {
    display: block;
    float: left;
    margin: 0 5px 0 0;
    padding: 0.3em 0.5em;
}
.pagination .current {
    background: darkorange;
    color: #fff;
    border: solid 1px darkorange;
}
.pagination .current.prev,
.pagination .current.next {
    color: #999;
    border-color: #999;
    background: #fff;
}
#res {
    margin: 0;
    padding: 0 10px;
    border: solid 1px #ccc;
    background: #fff;
    width: 300px;
    clear: both;
}

.menu_ng {
    color: #ccc !important;
}

#userinfo {
    position: fixed;
    left: auto;
    right: 1em;
    top: 37px;
    border: 1px solid red;
    background-color: #fefefe;
    z-index: 500;
    width: 250px;
    height: 38px;
    padding: 0.5em;
    border-width: 0px 1px 1px 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 0 0 6px 6px;
    -moz-border-radius: 0 0 6px 6px;
    border-radius: 0 0 6px 6px;
}

.form-horizontal .control-label {
    width: 8em !important;
    margin-right: 0.5em;
    margin-left: 1em;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #ddf;
}

/* 詳細画面通常ヘッダー */
.form-horizontal .view_label .controls {
    padding-top: 5px !important;
}

.form-horizontal .controls {
    height: 30px;
    padding-top: 0px;
}

.form-horizontal .controls {
    margin-left: 9em;
    min-width: 220px;
}

.form-horizontal .controls #note {
    font-size: 85%;
    line-height: 1.5em;
    height: 4em;
}

.form-horizontal .controls textarea#note {
    font-size: 85%;
    line-height: 1.5em;
    width: 25em;
    height: 6em;
}

.form-horizontal .notfixed_height .controls {
    height: auto;
}

.form-horizontal .double_height {
    height: 80px;
}

.form-horizontal .controls input[type="radio"] {
    margin: 0 5px 0 0;
}

.form-horizontal .controls_date {
    width: 230px;
}
.form-horizontal .controls_date .date {
    width: 76px;
}

#main .summary {
}

#perpage {
    width: 7em;
    text-align: center;
}

.form-horizontal .control-group {
    margin: 5px;
}

.form-horizontal .system_user_only {
    background-color: antiquewhite;
}

input[type="text"].date {
    font-size: 13px !important;
    width: 11ex;
}

input[class="unit_price"] {
    width: 50px;
    text-align: right;
}

.date {
    width: 11ex;
}

.product_no {
    width: 10ex;
}
.product_name {
    width: 7em;
}

.product_item {
    width: 7em;
}

.product_unit_price,
.product_total_price {
    width: 8ex;
    text-align: right;
}

.product_note {
    width: 5em;
}

table tbody tr td {
    vertical-align: middle !important;
}

#add_conditions {
    margin-left: 1em;
    margin-right: 1em;
}

table tbody tr td.editable {
    background-color: #fff !important;
}

table tbody tr td.editable input {
    border: 0px none #fff;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    -webkit-transition: none;
    transition: none;
}

table tbody tr td.editable input:active {
    border: 0px none #fff;
}

.items_buttons {
    margin: 1em;
    text-align: right;
    padding: 0.5em 2em 0.5em;
}

.navbar-fixed-bottom {
    margin: 0 !important;
    text-align: right;
    padding: 0.5em 2em 0.5em;
    background-color: #ddddff;
    filter: alpha(opacity=85);
    -moz-opacity: 0.85;
    -khtml-opacity: 0.85;
    opacity: 0.85;
}

.navbar-fixed-bottom .btn.disabled,
.navbar-fixed-bottom .btn[disabled] {
    cursor: default;
    background-image: none;
    opacity: 0.35;
    filter: alpha(opacity=35);
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
    color: #999;
}

/*
.items_buttons .btn {
 filter:alpha(opacity=1);
 -moz-opacity: 1;
 -khtml-opacity: 1;
 opacity:1;
}
*/

/* フォーム入力項目 */
.form-horizontal .code,
#items input.code {
    width: 8em;
}
.form-horizontal input.code1,
#items input.code1 {
    width: 13em;
    background-color: #fff !important;
}

.form-horizontal input.long_name {
    width: 25em;
}

.form-horizontal input.short_name {
    width: 5em;
}

.form-horizontal input.name {
    width: 15em;
}

.form-horizontal select,
.form-horizontal .select2-choice {
    width: 160px !important;
}
.form-horizontal select,
.form-horizontal .wide .select2-choice {
    width: 18em !important;
}

.form-horizontal select,
.form-horizontal .wide2 .select2-choice {
    width: 23em !important;
}
.form-horizontal .select2-default {
    width: auto !important;
}

#main .form-horizontal ul.select2-choices {
    margin: auto 0;
    width: 81%;
}

.form-horizontal .arrival_type,
.form-horizontal .shipment_type {
    width: 160px;
}

.form-horizontal .supplier_id {
    width: 160px;
}

.form-horizontal .customer_id {
    width: 160px;
}

.form-horizontal .user_id {
    width: 160px;
}

.form-horizontal .warehouse_id {
    width: 160px;
}

.form-horizontal .status {
    width: 160px;
}

.form-horizontal .list_note,
#items input.note {
    width: 20em;
}

.form-horizontal #product_price_rate {
    width: 35px;
}

.form-horizontal #honorific {
    width: 60px;
}

.form-horizontal #note {
    display: block;
    width: 300px;
}

.form-horizontal .zip {
    width: 10ex;
}

.form-horizontal .telno {
    width: 15ex;
}

.form-horizontal .company_name,
.form-horizontal .department_name {
    width: 25em;
}

.form-horizontal .address {
    width: 30em;
}

.price,
.number,
.amount,
.days .unit_price {
    text-align: right;
}

.price {
    width: 8ex;
}

.days {
    width: 3em;
}

input.code,
input.number,
input.amount,
input.telno,
input.zip,
input.location {
    ime-mode: disabled;
}

.required input,
.required select,
.required textarea {
    border: 2px solid #f99 !important;
}

.amount {
    width: 6ex;
}

.location {
    width: 7em !important;
}

input[readonly] {
    cursor: auto;
    background-color: #fff;
}

.action_buttons {
    margin-top: 2em;
}

.help-block {
    display: none;
}

div.needSelected {
    margin-bottom: 0.5em;
}

#footer_notification {
    text-align: right;
    padding: 0.5em;
}

#notification {
    color: #276bd3;
}

.highlighted {
    background-color: #ffff99;
}

.negative {
    color: red !important;
}

.search_panel_toggle {
    display: inline-block;
    margin-left: 1em;
}

.searchPanel {
}

.searchPanel_hide {
    display: none;
    position: absolute;
    top: 100px;
    left: 20px;
    background-color: #fff;
    opacity: 0.9;
    z-index: 1000;
    width: 96%;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 3px rgba(0, 0, 0, 0.1);
    box-shadow: 3px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

.searchPanelNotOverLay {
    display: none;
}

.open_panel_button2 {
    margin-left: 3em;
}

.overlay_panel_area .overlay_panel_area2 {
}

.overlay_panel_area_hide,
.overlay_panel_area_hide2 {
    display: none;
    position: absolute;
    top: 300px;
    left: 250px;
    background-color: #fff;
    opacity: 0.9;
    z-index: 9999;
    width: 30%;
    border-width: 1px;
    border-style: solid;
    border-color: rgba(0, 0, 0, 0.2);
    -webkit-box-shadow: 3px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 3px rgba(0, 0, 0, 0.1);
    box-shadow: 3px rgba(0, 0, 0, 0.1);
    -webkit-border-radius: 6px;
    -moz-border-radius: 6px;
    border-radius: 6px;
}

#overlay,
#overlay2 {
    display: none;
    width: 100%;
    height: 100%;
    position: fixed;
    left: 0px;
    z-index: 100;
    background-color: rgba(0, 0, 0, 0.2);
}

#overlay {
    top: 86px;
}
#overlay2 {
    top: 0px;
}

.comp {
    margin-left: 20px;
}

.comp_area {
    top: 100px;
    left: 700px;
    padding: 15px;
    margin-left: 10px;
}

#main #comp_table {
    width: 90%;
    margin: 0 auto;
}

#main .small_td,
.middle_td {
    text-align: center;
}

.region,
.part {
    width: 85%;
}

#comp_table input.comp {
    width: 40%;
}

.dataTables_info {
    width: 100%;
    /*
	margin-bottom: 3em;
*/
}

.dataTables_processing {
    background-image: url("../images/loading_back.png");
    background-position: right bottom;
    background-repeat: no-repeat;
    color: #2e2efe;
    font-size: 16px;
    font-weight: bold;
}

#items2 tbody tr td {
    white-space: nowrap;
}

div.shipment_price_area {
    margin-top: -150px;
}

.shipment_price_area .control-label {
    margin-left: 5em;
    width: 5em !important;
}
.shipment_price_area input.code {
    width: 7em;
}

.shipment_price_area div {
    text-align: right;
}

div.shipment_price_area {
    padding: 10px;
}

#main #shipment_price_table {
    width: 90%;
    height: 90%;
    margin: auto;
}

#main #shipment_price_table th {
    line-height: 40px;
    text-align: center;
}

#main #shipment_price_table td input {
    text-align: right;
}

#items2_filter {
    display: none;
}
input.tt-hint {
    border-color: #fff !important;
    display: none;
}

.tt-suggestion {
    width: 480px;
    border-width: 0 0 1px 0;
    border-style: solid;
    border-color: #ccf;
    padding: 0px 20px;
}

.tt-suggestion p {
    font-size: small;
}

.typehead_row {
}

.typehead_code1 {
    display: inline-block;
    width: 12em;
    font-size: 75%;
    font-weight: bold;
}
.typehead_name {
    display: inline-block;
    font-size: 75%;
}

/* sorting */
table.tablesorter thead tr th,
table.tablesorter tfoot tr th {
    background-color: #e6eeee;
    border: 1px solid #fff;
    padding: 4px;
}
table.tablesorter thead tr .header {
    /*
	background-image: url(../js/jquery.tablesorter/themes/blue/bg.gif);
	background-repeat: no-repeat;
	background-position: center right;
	cursor: pointer;
*/
}
table.tablesorter tbody td {
    color: #3d3d3d;
    padding: 4px;
    background-color: #fff;
    vertical-align: top;
}
table.tablesorter tbody tr.odd td {
    background-color: #f0f0f6;
}
table.tablesorter thead tr .headerSortUp {
    background-color: #ffe9ef !important;
}
table.tablesorter thead tr .headerSortDown {
    background-color: #e3e4ff !important;
}
table.tablesorter thead tr .headerSortDown,
table.tablesorter thead tr .headerSortUp {
}

/* 伝票ヘッダーの更新情報 */
#main .head_property {
    margin: 0.5em 1.5em;

    text-align: right;
    font-size: 80%;
    color: #999;
}

#items tbody .has_overage td {
    background-color: #ccf !important;
}

#items tbody .is_working td {
    background-color: #cfc !important;
}

.shortage {
    color: red;
    font-weight: bold;
}
.overage {
    color: blue;
    font-weight: bold;
}

.readonly {
    background-color: #f3f3f3 !important;
}
/* typehead */
.tt-dropdown-menu {
    max-height: 200px;
    overflow-y: auto;
}

.tt-suggestion {
    width: 540px;
}

.typehead_name {
    width: 20em;
}

.typehead_amount {
    display: inline-block;
    width: 8ex;
    text-align: right;
}

/* loading画面 */
#loader-bg {
    display: none;
    position: fixed;
    width: 100%;
    height: 100%;
    top: 0px;
    left: 0px;
    background: #000;
    opacity: 0.6;
    z-index: 1;
}

#loader {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    height: 200px;
    margin-top: -100px;
    margin-left: -100px;
    text-align: center;
    color: #fff;
    z-index: 2;
}

#powerTip {
    background-color: #666;
    background-color: rgba(0, 0, 50, 0.7);
    border-radius: 4px;
    color: #fff;
    padding: 10px;
    font-weight: normal;
}

.controls label {
    display: inline;
    margin-right: 1em;
}

.excluded {
    background-color: yellow;
}

#ui-datepicker-div {
    z-index: 9999 !important;
}

#stock_summary_info {
    display: inline-block;
    width: 600px;
    margin-left: auto;
    margin-right: 300px;
    font-size: 80%;
    text-align: right;
}

#stock_summary_info .amount {
    font-weight: bold;
}

.code1_suffix {
    font-weight: bold;
    text-decoration: underline;
}
