@CHARSET "UTF-8";

/* 共通 */
body {
    background-color:#ECF0F5 !important;
    overflow: hidden;
}

header {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
header .logo {
    float: left;
    padding: 0;
    width: 160px;
    height: 40px;
    line-height: 40px;
    border-bottom: 0 solid transparent;
    background-color: #485A72;
    color: #fff;
    font-size: 16px;
    font-weight: bold;
    overflow: hidden;
    text-align: center;
    transition: width 0.3s ease-in-out 0s;
}
header .menu {
    position: relative;
    margin-left: 160px;
    padding: 0 10px;
    height: 40px;
    line-height: 40px;
    overflow: hidden;
    color: #fff;
    background-color: #637D9F;
}
header .menu h1 {
    margin: 0;
    font-size: 1.5em;
    line-height: 40px;
}
header .menu .logout {
    margin: 0;
}
header a,
header a:hover {
    color: inherit;
    text-decoration: none;
}

/* メイン */
main {
    display: flex;
    display: -webkit-flex;
    flex-direction: row;
    padding-top: 40px;
    height: 100vh;
    max-height: 100vh;
}

/* ナビ */
nav {
    width: 160px;
    max-height: 100vh;
    font-size: 12px;
    background-color: #222d32;
    overflow-x: hidden;
    overflow-y: auto;
}
nav ul {
    padding-left: 0;
}
nav ul li {
    margin: 0;
    text-indent: 0;
    white-space: nowrap;
    text-indent: 1.8em;
    color: #b8c7ce;
}
nav ul li.header {
    margin: 0;
    padding: 2px 0;
    font-size: 1.15em;
    font-weight: bold;
    line-height: 2.0em;
    white-space: nowrap;
    text-indent: 0.8em;
    color: #fff !important;
    background: #1a2226 none repeat scroll 0 0;
}
nav ul li > a {
    display: block;
    width: 100%;
    font-size: 1.10em;
    line-height: 1.9em;
    text-decoration: none;
    color: inherit;
}
nav ul li:hover > a {
    background: #2e484c;
    color: #fff;
    text-decoration: none;
}
nav ul li > a.disabled {
    color: #555;
}
nav ul li:hover > a.disabled {
    color: #555;
}
nav li.active a {
    background: #4f4040;
    color: #fff;
    text-decoration: none;
}
nav .docs {
    line-height: 2.3em;
    margin-left: 1em;
}
nav .docs a {
    color: #fff;
}

/* コンテンツ */
main .content {
    flex: 1;
    overflow-x: auto;
    overflow-y: auto;
}
main .content article {
    padding: 10px;
}

/* フッター */
main .content footer {
    padding: 0.8em;
    background: #fff none repeat scroll 0 0;
    border-top: 1px solid #d2d6de;
    color: #444;
}

/* テーブル */
.table {
    background: #fff;
}
.table > thead > tr > th,
.table > tbody > tr > th {
    font-weight: bold;
    background: #E8E8E8;
    white-space: nowrap;
}
/* チェックボックス付きテーブル */
table.selectable tr.checked {
    background-color: #ffd;
}
/* 選択可能テーブル */
table.selectable tr {
    cursor: pointer;
}

/* 箱 */
.box {
    clear: both;
    background: #ffffff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    width: 100%;

    border-radius: 0 0 3px 3px;
    padding: 10px;
}

/* 追加・インポートフォーム */
form.add {
    background: #ffffff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    margin-bottom: 20px;
    position: relative;
    width: 100%;

    border-radius: 0 0 3px 3px;
    padding: 10px;
}
form.add .form-group {
    margin-right: 10px;
    padding-right: 15px;
    border-right: 1px solid #CCC;
}

/* フォーム */
input[type=text].date {
    width: 10em !important;
}
input[type=text].time {
    width: 5em !important;
}
input[type=text].datetime {
    width: 15em !important;
}
input[type=text].price {
    width: 10em !important;
}
input[type=text].short {
    width: 10em !important;
}
input[type=text].long {
    width: 100% !important;
}

/* 編集フォーム */
form.edit > table {
    width: auto;
}
form.edit > table > tbody > tr > td {
    padding: 0.5rem !important;
    padding-right: 2em !important;
    vertical-align: top;
    border: 1px solid #fff;
}
form.edit > table td.title {
    width: 11em !important;
    min-width: 11em !important;
    max-width: 11em !important;
    white-space: nowrap;
    background-color: #eee;
    border-right: 1px solid #eee;
}
form.edit > table td.required {
    padding-top: 10px !important;
    width: 3.2em !important;
    min-width: 3.2em !important;
    max-width: 3.2em !important;
    vertical-align: top;
    white-space: nowrap;
    background-color: #eee;
}
form.edit > table td.data {
    min-width: 10em !important;
}
form.edit input[type=text],
form.edit input[type=password] {
    width: 15em;
}
form.edit input[type="text"].short  {
    width: 4em !important;
}
form.edit select {
    width: auto !important;
}
form.edit textarea {
    width: 60em !important;
    height: 10em;
}


/* 検索フォーム */
.search {
    clear: both;
    margin-bottom: 1em;
    padding: 10px;
    background: #ffffff none repeat scroll 0 0;
    border-radius: 3px;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
    position: relative;
    width: 100%;

    border-radius: 0 0 3px 3px;
}
.search .form-group input[type='text'] {
    width: 10em;
}
.search .form-group input.name {
    width: 10em;
}

/* 操作フォーム */
.control {
    clear: both;
    margin-bottom: 2px;
    padding: 5px;
    width: 100%;
    background: #ffffff none repeat scroll 0 0;
    position: relative;
    border-radius: 3px;
    border-radius: 0 0 3px 3px;
}
.control .form-group {
    margin-right: 10px;
    padding-right: 15px;
    border-right: 1px solid #CCC;

}
.control .form-group input[type='text'] {
    width: 10em;
}

/* ログイン画面 */
div.login {
    margin-top: 4em;
    padding: 5%;
    background: #fff;

}
div.login  h1 {
    font-size: 1em;
    text-align: center;
}

/* ページャー */
.pagination {
    margin: 0 0 1em 0 !important;
}
.pager-box {
    clear: both;
    width: 100%;
    overflow: hidden;
}
.pager-box .info {
    float: left;
    margin-bottom: 1em;
    margin-right: 0.5em;
    padding: 6px 12px;
    line-height: 1.5em;
    background-color: #fff;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #888;
}

