/*style sheet*/

:root {
    --system-maincolor: #29B4E8;
    
    --system-departure: #3C7EFF;
    --system-returned: #EE7777;
    --system-standby: #27Bc0E;
    --system-notAvailable: #737373;
}

html, body {
    height: 100%;
    margin: 0;
}

body {
    flex-direction: column;
    font-size: 12px;
    font-family: sans-serif;
    position: fixed;
    left: 0px;
    right: 0px;
    bottom: 0px;
}

#app {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

header {
    flex-shrink: 0;
    width: 100%;
    height: 50px;
    top: 0;
    left: 0;
    font-family: sans-serif;
    position: relative;
}

main {
    flex-shrink: 0;
    flex: 1;
}

footer {
    flex-shrink: 0;
}

img.header-img {
    height: 50px;
    padding: 5px 0px 0px 15px;
    z-index: 21;
    position: fixed;
}

img.header-img1,
img.header-img2 {
    width: auto;
    z-index: 21;
    position: fixed;
    height: 36px;
    margin: 7px 0px 7px 5px;
}
img.header-img1 { left: 10px; }
img.header-img2 { left: 40px; }

/* モーダルウィンドウ */
.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #dfdddd;
    border-radius: 10px;
    z-index: 110;
}
.modal_error {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    background-color: #dfdddd;
    border-radius: 20px;
    z-index: 130;
}

/* モーダルヘッダ */
.modal-header {
    font-weight: bold;
    font-size: 20px;
    border-radius: 10px 10px 0px 0px;
    padding: 10px;
    color: #fff;
    background-color: #36b1a8;
    cursor: default;
}

/* モーダルエラーヘッダ */
.error-header {
    font-weight: bold;
    font-size: 40px;
    border-radius: 20px 20px 0px 0px;
    padding: 10px;
    color: #fff;
    background-color: #d14;
}

.overlay,
.overlay_top {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    background-color: rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
}
.overlay { z-index: 100; }
.overlay_top { z-index: 120;  }

/* ローディング */
.loader {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    margin: auto;
    vertical-align: middle;
    border: 12px solid #fafafa;
    border-radius: 50%;
    border-top: 12px solid #256AB3;
    width: 100px;
    height: 100px;
    animation: spin 1s linear infinite;
}
/* 回転 */
@keyframes spin{
    0%{ transform: rotate(0deg); }
    100%{ transform: rotate(360deg); }
}

/* ボタンのベース */
button {
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 15px;
    font-weight: bold;
}
button.base {
    width: 300px;
    height: 150px;
    cursor: pointer;
}
button.clear {
    background-color: rgba(0,0,0,0);
    border: none;
    vertical-align: middle;
    white-space: nowrap;
    height: 100%;
    font-size: 20px;
}
button.search {
    color: #fff;
    background: #f0ad4e;
    border-radius: 15px;
    width: 95%;
    height: 35px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}
button.search_clear {
    color: #555;
    background: #CCC;
    border-radius: 15px;
    width: 95%;
    height: 35px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}
button.log_delete {
    color: #fff;
    background: #ff4500;
    border-radius: 15px;
    width: 95%;
    height: 35px;
    font-size: 15px;
    text-align: center;
    cursor: pointer;
}
button.delete {
    color: #8B0000;
    background: #FFC0CB;
    border-radius: 10px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    width: 50px;
    height: 30px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
button.edit {
    color: #0000CD;
    background: #E0FFFF;
    border-radius: 10px;
    vertical-align: middle;
    text-align: center;
    white-space: nowrap;
    width: 50px;
    height: 30px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
}
button.search:hover, button.search_clear:hover, button.delete:hover, button.edit:hover, button.log_delete:hover {
    opacity:0.8;
}
button.search:active, button.search_clear:active, button.delete:active, button.edit:active, button.log_delete:active {
    transform: translate(0, 1px);
    border-bottom: none;
}

button.dialog-button {
    background: #EEE;
    color: #36b1a8;
    width: 300px;
    height: 40px;
    border-radius: 0px 0px 10px 10px;
    border: none;
    font-family: sans-serif;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
}
button.dialog-error {
    background: #fff;
    color: #d14;
    width: 550px;
    height: 80px;
    border-radius: 0px 0px 20px 20px;
    border: none;
    font-family: sans-serif;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
button.dialog-halfleft {
    background: #36b1a8;
    color: #fff;
    width: 275px;
    height: 80px;
    float:left;
    border-radius: 0px 0px 0px 20px;
    border: none;
    font-family: sans-serif;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}
button.dialog-halfright {
    background: #fff;
    color: #d14;
    width: 275px;
    height: 80px;
    float: left;
    border-radius: 0px 0px 20px 0px;
    border: none;
    font-family: sans-serif;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
}

/* サブタイトルの文字サイズ */
.sub_title_size {
    font-weight: bold;
    font-size: 35px;
}

/* テーブルデフォルト */
.table_common {
    width: 100%; 
    height: calc(100vh - 60px - 20px); 
    margin: 10px;
    overflow: auto;
}

.table_log_common {
    height: calc(100vh - 60px - 70px); 
    margin: 10px;
    overflow: auto;
}

table {
    width: 100%;
    table-layout: fixed;
    border-collapse: collapse;
}
.sort_mark {
    width: 10px;
    height: 10px;
}
/* テーブルヘッダーデフォルト */
th {
    position: sticky;
    font-size: 13px;
    top: 0;
    height: 40px;
    z-index: 1;
    text-align: center;
    /*white-space: pre-wrap;*/
    padding: 2px 5px;
}
/* テーブル要素デフォルト */
td {
    padding: 2px 5px;
    /*white-space: pre-wrap;*/
    word-break: break-all;
    cursor: default;
}

/* メニュー画面用 */
.top_menu {
    background-color: var(--system-maincolor);
}

#version {
    padding: 5px;
    color: #FFFFFF;
    position: fixed;
    top: 15px;
    right: 15px;
    font-size: 12px;
    font-weight: bold;
}

#contact:active {
    transform: translate(0, 1px);
}

#ip_text {
    color: #000000;
    position: fixed;
    right: 10px;
    bottom: 10px;
}

/* 縦 */
.vertical-container {
    display: flex;
    flex-direction: column;
    align-items: center;
}
/* 横 */
.horizon-container {
    display: flex;
    justify-content: center;
}

.input-wrapper {
    margin-bottom: 15px;
}

.input-style {
    justify-content: center;
    height:25px;
    border-radius:5px;
    border: 2px solid #256AB3;
}

button.login-button {
    width: 150px;
    height: 30px;
    background: #256AB3;
    color: #fff;
    border-radius: 10px;
    font-family: sans-serif;
    font-size: 13px;
    font-weight: bold;
}