@charset "utf-8";
/* ////////// 全体レイアウト ////////// */
html, body {
    min-width: 1240px;
    width: 100%;
    height: 100%;
    font-size: 14px;
}
body {
    background-image: url("../images/leftmenu.gif");
    background-repeat: repeat-y;
    background-position: left top;
}
body.sign-out {
    background: none;
}
#wrapper {
    height: 100%;
    min-height: 100%;
}
#wrapper:after {
    content: "";
    clear: both;
    display: block;
}
#leftmenu {
    color: #333;
    width: 250px;
    float: left;
    height: 100%;
    min-height: 100%;
    height: auto;
}
main {
    padding: 10px 10px 10px 260px;
    height: 100%;
    min-height: 100%;
    height: auto;
}
body.sign-out>#wrapper>main {
    padding: 0;
    height: auto;
}

/* Text link style */
#scrollUp {
    bottom: 15px;
    right: 0;
    width: 70px;
    height: 40px;
    margin-right: -15px;
    padding: 0 10px;
    font-size: 30px;
    text-decoration: none;
    text-shadow: 0 1px 0 #fff;
    color: #666;
    -webkit-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    -moz-box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    box-shadow: 0 0 2px 1px rgba(0, 0, 0, 0.2);
    background-color: #E6E6E6;
    -webkit-transition: margin-right 150ms linear;
    -moz-transition: margin-right 150ms linear;
    -o-transition: margin-right 150ms linear;
    transition: margin-right 150ms linear;
}

#scrollUp:hover {
    margin-right: 0;
}

/* ////////// ヘッダー部メッセージ ////////// */
/* 非対応表示用 */
.ie_legacy {
    position: relative;
    top: 0;
    left: 0;
    background-color: #ffd700;
    padding: 0.75em 0 0.75em 4em;
}
.ie_legacy i[class^='fa'] {
    font-size: 2em;
    position: absolute;
    top: 50%;
    left: 0.5em;
    margin-top: -0.5em;
    color: #dc143c;
}
.ie_legacy .strong {
    color: #dc143c;
    font-weight: bold;
}
.no_script {
    position: relative;
    top: 0;
    left: 0;
    background-color: #dc143c;
    padding: 0.75em 0 0.75em 4em;
    color: #fff0f5;
}
.no_script i[class^='fa'] {
    font-size: 2em;
    position: absolute;
    top: 50%;
    left: 0.55em;
    margin-top: -0.5em;
    color: #fff0f5;
}

/* flashメッセージ */
#flash_message {
    width: 400px;
    margin-bottom: 0;
    padding: 10px;
    position: fixed;
    top: 0px;
    right: 0px;
    z-index: 1040;
    display: none;
}
#flash_message>.fa {
    margin-right: 10px;
}

/* ////////// ヘッダー ////////// */
header {
    background-color: #333;
    color: #ccc;
    height: 40px;
    position: relative;
    background-image:url(../images/logo.png);
    background-repeat:no-repeat;
    background-attachment: fixed;
    background-position: 5px 2px;
}
header>.h3 {
    margin: 0;
    padding: 0 0 0 40px;
    font-weight: 700;
    font-size: 1.25rem;
    position: absolute;
    top: 10px;
    left: 5px;
}
header>.h3>.version {
    padding-left: 15px;
    font-weight: 400;
    font-size: 0.9rem;
}
#header-right {
    position: absolute;
    top: 0;
    right: 0;
}
#header-right>li {
    display: inline-block;
    padding: 10px 15px;
}
#header-right>li.last {
    padding: 0 !important;
}
#header-right>li>a,
#header-right>li>a:link,
#header-right>li>a:visited {
    color: #ccc;
    text-decoration: none;
}
#header-right>li>a:hover,
#header-right>li>a:active {
    color: #eee;
    text-decoration: none;
}
#header-right li>a>.fa {
    margin-right: 0.5em;
}

#dropdownLogin {
    font-size: 14px;
    min-width: 250px;
    cursor: pointer;
    position: relative;
}
#dropdownLogin:after {
    display: block;
    position: absolute;
    top: 20px;
    right: 10px;
}
#dropdownLogin>.ico {
    display: block;
    width: 30px;
    height: 30px;
    -webkit-border-radius: 50%;
    -moz-border-radius: 50%;
    border-radius: 50%;
    background-color: #ccc;
    color: #333;
    position: absolute;
    top: 5px;
    left: 5px;
}
#dropdownLogin:hover {
    color: #eee;
}
#dropdownLogin:hover>.ico {
    background-color: #eee;
}
#dropdownLogin>.ico>.fa {
    padding: 5px 7px;
    font-size: 20px;
}
#dropdownLogin>.name {
    display: block;
    padding: 10px 20px 10px 40px;
}
#header-right>.dropdown>.dropdown-menu {
    font-size: 1rem;
    width: 250px;
    position: absolute;
    right: 0 !important;
}

/* ////////// レフトメニュー ////////// */
#leftmenu>ul.large>li {
    border-bottom: 1px solid #ccc;
    font-weight: 700;
}
#leftmenu li>a {
    color: #333;
    padding: 10px;
    display: block;
}
#leftmenu li>a:link,
#leftmenu li>a:visited,
#leftmenu li>a:active,
#leftmenu li>a:hover {
    text-decoration: none;
}

#leftmenu ul>li>a {
    position: relative;
}
#leftmenu>ul>li>a {
    height: 42px;
}
#leftmenu>ul>li>a>span {
    position: absolute;
    left: 90px;
}
#leftmenu>ul>li>a>img {
    position: absolute;
    height: 20px;
}
#leftmenu>ul>li>a>img.home_ico{
    left: 44px;
}
#leftmenu>ul>li>a>img.nippo_ico {
    left: 45px;
}
#leftmenu>ul>li>a>img.container_ico {
    left: 33px;
}
#leftmenu>ul>li>a>img.truck_ico {
    left: 37px;
}
#leftmenu>ul>li>a>img.print_ico,
#leftmenu>ul>li>a>img.download_ico,
#leftmenu>ul>li>a>img.master_ico {
    left: 46px;
}
#leftmenu>ul>li>a>img.chart_ico {
    left: 43px;
}
#leftmenu ul>li>a:after {
    font-family: FontAwesome;
    content: '\f054';
    position: absolute;
    right: 0.75em;
}
#leftmenu ul>li.has_submenu>a:after {
    content: '';
}
#leftmenu ul>li.has_submenu>a:before {
    font-family: FontAwesome;
    content: '\f146';
}
#leftmenu ul>li.has_submenu>a.collapsed:before {
    content: '\f0fe';
}
#leftmenu ul>li.has_submenu>ul>li>a {
    border-top: 1px dotted #ccc;
}
#leftmenu ul>li.has_submenu>ul>li>a {
    padding-left: 2em;
}
#leftmenu ul>li.has_submenu>ul>li>a:before {
    content: '└';
    font-weight: 700;
    margin-right: 1em;
}

/* レフトメニュー制御 */
body.hidden_left {
    background-image: none;
}
main.hidden_left {
//    background-image: none;
    padding: 10px 10px 10px 35px;
}
#open_leftmenu {
    display: none;
    position: fixed;
    top: 60px;
    left: 0;
    width: 40px;
    height: 8em;
    margin-left: -20px;
    font-size: 16px;
    font-weight: 700;
    -ms-writing-mode: tb-rl;            /* IE用*/
    -webkit-writing-mode: vertical-rl;  /* chrome用*/
    -o-writing-mode: vertical-rl;       /* opera用*/
    writing-mode: vertical-rl;
    text-align: center;
    text-shadow: 0 1px 0 #fff;
    border: solid 1px #ccc;
    background-color: #ddd;
    -webkit-transition: margin-left 150ms linear;
    -moz-transition: margin-left 150ms linear;
    -o-transition: margin-left 150ms linear;
    transition: margin-left 150ms linear;
}
#open_leftmenu.visible {
    display: block;
}
#open_leftmenu>a {
    display: block;
    padding: 0 0 0 15px;
    color: #333;
    text-decoration: none;
}
#open_leftmenu:hover {
    margin-left: -10px;
}
#close_left>a>span {
    left: 60px !important;
}
#close_left>a:before {
    font-family: FontAwesome;
    content: '\f00d';
}
#close_left>a:after {
    content: '' !important;
}

/* ////////// メインコンテンツ部分 ////////// */
#error-message {
    margin-bottom: 10px;
    display: none;
}
#page_contents {
    margin-bottom: 0;
}
/* Bootstrap4 変更時はindex.cssの内容と差し替え -- ここから -- */
/*
#page_contents>.panel-heading {
    padding: 10px;
    position: relative;
}
#page_title {
    font-size: 18px;
    font-weight: 700;
}
#page_contents>.panel-heading>.title_buttons {
    position: absolute;
    top: 5px;
    right: 10px;
}
#page_contents>section,
#page_contents>form>section {
    padding: 10px;
}
*/
#page_contents>.card-header {
    padding: 10px;
    position: relative;
}
#page_title {
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 0;
}
#page_contents>.card-header>.title_buttons {
    position: absolute;
    top: 4px;
    right: 10px;
}
#page_contents>.card-body {
    padding: 10px;
}
#page_contents>section,
#page_contents>form>section {
    padding: 10px;
}
/* Bootstrap4 変更時はindex.cssの内容と差し替え -- ここまで -- */

/* ////////// 部品 ////////// */
/* 検索 */
.search-panel {
    margin:0;
}
.search-panel>.search-header {
    padding: 2px 7px;
    position:relative;
    cursor: pointer;
}
.search-panel>.search-header>.fa {
    font-size: 150%;
    position: absolute;
    top: 10px;
    left: 15px;
}
.search-panel>.search-header>.h4 {
    margin-left: 40px;
}
.search-panel>.search-body {
    padding: 10px;
}
.radio>label.disabled {
    cursor: no-drop;
}

/* 出力系ページの出力条件指定部分 */
.search-panel>.p-search-header {
    padding: 2px 7px;
}
.search-panel>.p-search-header>.h4 {
    margin-left: 10px;
}
/* 内部タイトル */
.h4.section-title,
.h4.section-title-withpager {
    margin: 5px 0;
    padding: 5px 0 5px 0.5em;
    border-left: 5px double #333;
}
.section-title-withpager {
    margin: 5px 0 0 !important;
}

/* 文字色 */
.color-red {
    color: #f00;
}
.color-blue {
    color: #00f;
}
.form-control::-webkit-input-placeholder { color: #e0e0e0; }
.form-control:-moz-placeholder { color: #e0e0e0; }
.form-control::-moz-placeholder { color: #e0e0e0; }
.form-control:-ms-input-placeholder { color: #e0e0e0; }

/* ページャー */
.pager-list {
  margin-top: 5px;
  margin-bottom: 5px;
  text-align: right;
}
.pager-list>.btn-group>button {
  min-width: 2.5em;
  color: #428bca;
}
.pager-list>.btn-group>button.disabled,
.pager-list>.btn-group>button[disabled] {
  color: #666;
}
.pager-list>.btn-group>button,
.pager-list>.btn-group>select {
  height: 30px;
  border-width: 1px;
  border-color: #ccc;
}

/* ボタンレイアウト */
.btn>.fa.ico-left {
    margin-right: 0.75em;
}
.btn>.fa.ico-right {
    margin-left: 0.75em;
}
/* ボタングループ */
.submit-btn-area {
    margin: 10px 0 0;
    position: relative;
}
.submit-btn-area-withpager {
    margin: 0;
    position: relative;
}
.submit-btn-area>.button_right {
    position: absolute;
    top: 0;
    right: 0;
}
/* 出力系ページのボタンレイアウト */
.mg-r30{
  margin-right:30px;
}

/* タブ */
#tabs>.nav {
    height: 40px;
}
#tabs>.nav>li>a {
    font-weight: 700;
    height: 41px;
    border: 1px solid #ddd;
    border-bottom-color: transparent;
}
.tab-content {
    padding: 10px;
    border-left: 1px solid #ddd;
    border-right: 1px solid #ddd;
    border-bottom: 1px solid #ddd;
    margin-bottom: 20px;
}

/* テーブルレイアウト */
table.table {
    margin-bottom: 0;
}
table.table tr>th {
    background-color: #f5f5f5;
    text-align: center;
    vertical-align: middle;
}
.table.table-list tbody tr:hover {
    background-color: rgba(255,255,0,.1);
}
.table-striped tbody tr:nth-of-type(odd) {
    background-color: rgba(0,0,0,0);
}
.table-striped tbody tr:nth-of-type(even) {
    background-color: rgba(0,0,0,.05);
}
table.table-sm tr>th,
table.table-sm tr>td {
    font-size: 1rem;
}
td.str_number {
    font-size: 1.25rem;
}
th.nowrap,
td.nowrap {
    white-space: nowrap;
}

/* 経路住所入力欄専用 */
#loading_location>tr>th,
#unloading_location1>tr>th,
#unloading_location2>tr>th,
#return_location>tr>th {
    font-size: 20px;
    min-width:70px;
}
#loading_location>tr>td,
#unloading_location1>tr>td,
#unloading_location2>tr>td,
#return_location>tr>td {
    border-left: none;
    border-right: none;
}

/* 入力必須 */
.require:after {
    color: #ff0000;
    font-weight: 400;
    font-size: 10px;
    margin-left: 5px;
    content:"[※]";
    display: inline-block;
}
.form-inline input.form-control {
    width: auto;
}
.has-error .form-control {
    background-color: #fff0f0;
}
.has-warning .form-control {
    background-color: #fffff0;
}
/* 日付入力 */
.input-group.date {
  width: 9em;
}
.input-group.ymonth {
  width: 7.5em;
}
.input-group.date>span.input-group-btn>button,
.input-group.ymonth>div.input-group-btn>button {
    color: #c7254e;
    background-color: #eee;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-toggle.btn-default:focus,
.input-group.ymonth>div.input-group-btn.open>.dropdown-toggle.btn-default:hover {
    color: #c7254e;
    background-color: #eee;
    border-color: #adadad;
}
/* Ympicker用レイアウト */
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu {
    padding: 5px;
    width: 192px;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-title {
    position: relative;
    border: 1px solid #aaa;
    border-radius: 5px;
    background-color: #ddd;
    font-weight: bold;
    font-size: 16px;
    height: 34px;
    text-align: center;
    padding-top: 5px;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-title>button {
    display: inline-block;
    padding: 2px 5px;
    border: none;
    position: absolute;
    top: 2px;
    color: #333;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-title>.ympicker-prev {
    left: 2px;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-title>.ympicker-next {
    right: 2px;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-title>button:hover {
    border: 1px solid #aaa;
    border-radius: 5px;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-list {
    margin: 0;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-list>li {
    list-style-type: none;
    float: left;
}
.input-group.ymonth>div.input-group-btn.open>.dropdown-menu>.ympicker-list>li>button {
    width: 50px;
    margin: 7px 5px 3px 5px;
}

/* jQuery UI datepicker CSSカスタマイズ */
#ui-datepicker-div {
    z-index: 1100 !important;
}
#ui-datepicker-div .date-closed>a {
    background: #ffe6e6;
}
#ui-datepicker-div .date-halfclosed>a {
    background: #e6e6ff;
}
.form_item_alert {
    padding: 2px 5px;
    margin-bottom: 5px;
    font-size: 12px;
}

/* 数字・金額入力欄 */
input[type="text"].number,
input[type="text"].number1d,
input[type="text"].number2d,
input[type="text"].number3d,
input[type="text"].money {
  width: 5em;
  text-align: right;
}

/* -------------------------------------
    入力可コンボボックス
------------------------------------- */
div[data-select-type="customer"],
div[data-select-type="chartering"],
div[data-select-type="address"] {
    position: relative;
}

/* コード入力欄 */
div[data-select-type="customer"]>.form-group>input.code,
div[data-select-type="chartering"]>.form-group>input.code,
div[data-select-type="driver"]>.form-group>input.code {
    max-width: 5.5em;
}

/* 郵便番号入力欄 */
div[data-select-type="address"]>div.zip>input.zipcode {
    width: 6em;
}

/* 船社・船名 */
div[data-select-type="ship"]>input.form-control {
    width: 95%;
    width : -webkit-calc(100% - 35px);
    width : calc(100% - 35px);
}

/* タイプ */
div[data-select-type="type"]>input.form-control {
    width: 95%;
    width : -webkit-calc(100% - 35px);
    width : calc(100% - 35px);
}

/* 単位 */
div[data-select-type="tani"]>input.form-control {
    width: 95%;
    width : -webkit-calc(100% - 35px);
    width : calc(100% - 35px);
}

/* 号車 */
div[data-select-type="car"]>input.form-control {
    width: 3.5em;
}

/* 名称表示 */
div[data-select-type="customer"]>input.name,
div[data-select-type="chartering"]>input.name,
div[data-select-type="driver"]>input.name {
    width: 14%;
    min-width: 8em;
}
div[data-select-type="customer"]>input.name {
    width: 14%;
    width: -webkit-calc(98% - 240px) !important;
    width: calc(98% - 240px) !important;
}
div[data-select-type="chartering"]>input.name {
    width: 14%;
    width: -webkit-calc(100% - 120px);
    width: calc(100% - 120px);
}

input[type="text"][disabled] {
    cursor: auto !important;
}

/* 受注会社略 */
div[data-select-type="customer"]>input.jyu_rya {
    width: 10%;
    min-width: 4.5em;
}
/* 住所 */
div[data-select-type="address"]>.pref_input {
    width: 7.25em;
}
div[data-select-type="address"]>.pref_input>.pref {
    width: 100%;
}
div[data-select-type="address"]>.addr1_input {
    width: 50%;
    width : -webkit-calc(100% - 20.25em);
    width : calc(100% - 20.25em);
}
div[data-select-type="address"]>.addr1_input>input.addr1 {
    width: 100%;
}

/* ドロップダウンリストレイアウト */
div[data-select-type="customer"]>.dropdown-menu,
div[data-select-type="ship"]>.dropdown-menu,
div[data-select-type="type"]>.dropdown-menu,
div[data-select-type="tani"]>.dropdown-menu,
div[data-select-type="address"]>.dropdown-menu,
div[data-select-type="address2"]>.dropdown-menu,
div[data-select-type="address3"]>.dropdown-menu,
div[data-select-type="chartering"]>.dropdown-menu,
div[data-select-type="car"]>.dropdown-menu,
div[data-select-type="driver"]>.dropdown-menu,
div[data-select-type="memo"]>.dropdown-menu {
    padding: 5px;
}
div[data-select-type="ship"].input_shipname >.dropdown-menu {
    min-width: 20em;
}
div[data-select-type="type"]>.dropdown-menu,
div[data-select-type="tani"]>.dropdown-menu {
    min-width: 6em;
    max-width: 10em;
}
/* リスト最大行表示 */
div[data-select-type="customer"] .table-list,
div[data-select-type="ship"] .table-list,
div[data-select-type="type"] .table-list,
div[data-select-type="tani"] .table-list,
div[data-select-type="address"] .table-list,
div[data-select-type="address2"] .table-list,
div[data-select-type="address3"] .table-list,
div[data-select-type="chartering"] .table-list,
div[data-select-type="car"] .table-list,
div[data-select-type="driver"] .table-list {
    max-height: 350px;
    overflow-y: auto;
}
/* フォントサイズ統一 */
div[data-select-type="customer"]>.dropdown-menu table th,
div[data-select-type="customer"]>.dropdown-menu table td,
div[data-select-type="ship"]>.dropdown-menu table th,
div[data-select-type="ship"]>.dropdown-menu table td,
div[data-select-type="type"]>.dropdown-menu table th,
div[data-select-type="type"]>.dropdown-menu table td,
div[data-select-type="tani"]>.dropdown-menu table th,
div[data-select-type="tani"]>.dropdown-menu table td,
div[data-select-type="address"]>.dropdown-menu table th,
div[data-select-type="address"]>.dropdown-menu table td,
div[data-select-type="address2"]>.dropdown-menu table th,
div[data-select-type="address2"]>.dropdown-menu table td,
div[data-select-type="address3"]>.dropdown-menu table th,
div[data-select-type="address3"]>.dropdown-menu table td,
div[data-select-type="chartering"]>.dropdown-menu table th,
div[data-select-type="chartering"]>.dropdown-menu table td,
div[data-select-type="car"]>.dropdown-menu table th,
div[data-select-type="car"]>.dropdown-menu table td,
div[data-select-type="driver"]>.dropdown-menu table th,
div[data-select-type="driver"]>.dropdown-menu table td {
    font-size: 13px;
    padding: 2px;
    width: auto;
}
/* 行縦センタリング */
div[data-select-type="customer"] .table-list>table>tbody>tr>td,
div[data-select-type="ship"] .table-list>table>tbody>tr>td,
div[data-select-type="type"] .table-list>table>tbody>tr>td,
div[data-select-type="tani"] .table-list>table>tbody>tr>td,
div[data-select-type="address"] .table-list>table>tbody>tr>td,
div[data-select-type="address2"] .table-list>table>tbody>tr>td,
div[data-select-type="address3"] .table-list>table>tbody>tr>td,
div[data-select-type="chartering"] .table-list>table>tbody>tr>td,
div[data-select-type="car"] .table-list>table>tbody>tr>td,
div[data-select-type="driver"] .table-list>table>tbody>tr>td {
    vertical-align: middle;
}

/* 得意先選択 */
div[data-select-type="customer"]>.dropdown-menu {
    min-width: 15em;
}
div[data-select-type="customer"]>.dropdown-menu table tr>.tokui_cd {
    width: 5em;
}
div[data-select-type="customer"]>.dropdown-menu table>tbody>tr>td.tokui_cd {
    text-align: right;
}
div[data-select-type="customer"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="customer"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* 船社選択 */
/* 船名選択 */
div[data-select-type="ship"].input_shipname table tr>.sensha {
    width : 10em;
}
div[data-select-type="ship"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="ship"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* 住所選択 */
div[data-select-type="address"] table tr>.chimei_kbn {
    width: 3em;
    text-align: center;
}
div[data-select-type="address"] table tr>.chimei_yubin,
div[data-select-type="address2"] table tr>.chimei_yubin,
div[data-select-type="address3"] table tr>.chimei_yubin {
    width: 6em;
    text-align: center;
}
div[data-select-type="address"] table tr>td .chimei_kana,
div[data-select-type="address2"] table tr>td .chimei_ken_kana,
div[data-select-type="address2"] table tr>td .chimei_kana,
div[data-select-type="address3"] table tr>td .chimei_ken_kana,
div[data-select-type="address3"] table tr>td .chimei_kana {
    display: none;
}
div[data-select-type="address"]>.clear-btn,
div[data-select-type="address2"]>.clear-btn,
div[data-select-type="address3"]>.clear-btn {
    margin-left: 0.5em;
}
div[data-select-type="address"]>.dropdown-menu>.alert.alert-danger,
div[data-select-type="address2"]>.dropdown-menu>.alert.alert-danger,
div[data-select-type="address3"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="address"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger,
div[data-select-type="address2"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger,
div[data-select-type="address3"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* メモ入力 */
div[data-select-type="memo"]>.dropdown-menu>.form-group {
    margin-bottom: 0;
}

/* 傭車先選択 */
div[data-select-type="chartering"]>.dropdown-menu {
    min-width: 15em;
}
div[data-select-type="chartering"]>.dropdown-menu table tr>.yousha_cd {
    width: 5em;
}
div[data-select-type="chartering"]>.dropdown-menu table>tbody>tr>td.yousha_cd {
    text-align: right;
}
div[data-select-type="chartering"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="chartering"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* 車両選択 */
div[data-select-type="car"]>.dropdown-menu {
    min-width: 20em;
}
div[data-select-type="car"] table tr>.gousha {
    width : 4em;
}
div[data-select-type="car"] table tr>.shaban {
    width : 5em;
}
div[data-select-type="car"] table tr>td.shaban,
div[data-select-type="car"] table tr>td.gousha {
    text-align: right;
}
div[data-select-type="car"] table tr>td>.sharyo_cd,
div[data-select-type="car"] table tr>td>.unshu_cd,
div[data-select-type="car"] table tr>td>.driver_cd {
    display: none;
}
div[data-select-type="car"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="car"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* 運転手選択 */
div[data-select-type="driver"]>.dropdown-menu {
    min-width: 15em;
}
div[data-select-type="driver"] table tr>.driver_cd {
    width : 4em;
}
div[data-select-type="driver"] table tr>td.driver_cd {
    text-align: right;
}
div[data-select-type="driver"]>.dropdown-menu>.alert.alert-danger {
    padding: 5px;
    margin: 5px 0;
    display: none;
}
div[data-select-type="driver"]>.dropdown-menu>.search_form.has-error + .alert.alert-danger {
    display: block;
}

/* ドロップダウンリスト */
div[data-select-type="chartering"]>.dropdown-menu>li>a>.code {
    display: inline-block;
    width: 5em;
    border-right: 1px solid #666;
    margin-right: 1em;
    padding-right: 1em;
    text-align: right;
}

/* パスワード入力 */
div[data-select-type="password"]>.form-group {
    margin-bottom: 0;
}
div[data-select-type="password"]>.input-group>span.input-group-btn>button {
    color: #254ec7;
    background-color: #eee;
}
div[data-select-type="password"]>.input-group>span.input-group-btn>button>i.fa-eye-slash {
    color: #658ec7;
}
div[data-select-type="password"]>.dropdown-menu {
    padding: 5px;
}

/* 期の年入力 */
div[data-input-type="ki"] input.year {
    width: 4em;
}

/* カナ入力 */
.form-group.input-kana {
    margin-bottom: 0;
}
.form-group.input-kana>span.input-group-btn>button {
    color: #4ea725;
    background-color: #eee;
}

/* フラグ系ボタングループ */
div.btn-group.flg_select {
    width: 4.2em;
}
div.btn-group>label.btn.btn-on {
  padding: 1px 5px;
  border-color: #ccc;
}
div.btn-group>label.btn.btn-on:hover {
  background-color: #a1d8e6 !important;
}
div.btn-group>label.btn.btn-on.active {
  background-color: #a1d8e6 !important;
  border-color: #3366ff !important;
  font-weight: 700;
}
div.btn-group>label.btn.btn-off {
  padding: 1px 5px;
  border-color: #ccc;
}
div.btn-group>label.btn.btn-off:hover {
  background-color: #ffaaaa !important;
}
div.btn-group>label.btn.btn-off.active {
  background-color: #ffaaaa !important;
  border-color: #ff3333 !important;
  font-weight: 700;
}

div.btn-group.flg_select.otunakaf,
div.btn-group.flg_select.seikyuf,
div.btn-group.flg_select.outputf,
div.btn-group.flg_select.siyouf {
    width: 12em;
}
div.btn-group.flg_select.kyoten_sentakuf,
div.btn-group.flg_select.shuzenf,
div.btn-group.flg_select.kousokuf {
    width: 10em;
}

/*フラグ系の背景色*/
td.unchin_kakuteif.yet,
td.sagyo_kanryouf.yet,
td.shiharai_kakuteif.yet {
    color: #f00;
    font-weight: 700;
    background-color: #fcf8e3;
}
td.unchin_kakuteif.finish,
td.sagyo_kanryouf.finish,
td.shiharai_kakuteif.finish {
    color: #00f;
    font-weight: 700;
}

/* Bootstrap4 変更時はindex.cssの内容と差し替え -- ここから -- */
/* コンテナの背景色 */
.bg_container.card>.card-header,
.bg_container table.table tr>th {
    background-color: #DFEFFF;
}
/* トラックの背景色 */
.bg_truck.card>.card-header,
.bg_truck table.table tr>th {
    background-color: #EAFFDC;
}
/* 請求書発行の背景色 */
.bg_invoice.card>.card-header,
.bg_invoice table.table tr>th {
    background-color: #EEDFFF;
}
/* 日報の背景色 */
.bg_daily_report.card>.card-header,
.bg_daily_report table.table tr>th {
    background-color: #FFF0E0;
}
/* Bootstrap4 変更時はindex.cssの内容と差し替え -- ここまで -- */

/* ////////// 区間入力対象明細の選択 /////////// */
#delivery_details tr.open_section>td {
    background-color: #FFF9CB;
}

/* ////////// マスタ画面共通 ////////// */
#master_list {
    width: 100%;
}
#master_list>tbody>tr>td {
    width: 50%;
    padding-right: 50px;
}
#master_list .panel-heading {
    padding: 10px 15px;
}
#master_list .panel-heading>.h4 {
    margin: 0;
}
#sortable1,
#sortable2 {
    padding: 10px;
    min-height: 60px;
}
#sortable1>li.ui-sortable-handle,
#sortable2>li.ui-sortable-handle {
    list-style: none;
    padding: 5px;
    margin-bottom: 5px;
    border: 1px solid #ccc;
}
#sortable1>li.ui-sortable-handle {
    background-color: #fff;
}
#sortable2>li.ui-sortable-handle {
    background-color: #ddd;
}
#sortable1>li.ui-sortable-handle>.fa,
#sortable2>li.ui-sortable-handle>.fa {
    margin-left: 0.25em;
}
#sortable2>li.ui-sortable-handle>button.del-btn {
    display: none;
}