@CHARSET "UTF-8";

/* 共通 */
body,
pre,
input,
button,
select,
textarea,
.navbar-search .search-query {
    /*font-family: 'ヒラギノ角ゴ ProN W3', 'Hiragino Kaku Gothic ProN', 'メイリオ', Meiryo, 'ＭＳ Ｐゴシック', 'MS PGothic', 'Helvetica Neue', Helvetica, Arial, Verdana, sans-serif;*/
}

html {

}
body {
    background-color:#ECF0F5 !important;
    overflow: hidden;

}

header {
    display: block;
    position: fixed;
    top: 0;
    right: 0;
    left: 0;
}
header .menu {
    position: relative;
    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;
}
#hamburger {
    cursor: pointer;
}

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

main .logo {
    max-width: 500px;
}

/* ナビ */
#menu {
    width: 160px;
}
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;
}
nav ul li.header {
    margin: 0;
    padding: 2px 0.8em;
    text-indent: 0;
    font-size: 1.15em;
    font-weight: bold;
    line-height: 2.0em;
    white-space: nowrap;
    color: #fff !important;
    background: #1a2226 none repeat scroll 0 0;
}
nav ul li > a {
    display: block;
    padding: 2px;
    width: 100%;
    border-left: 3px solid transparent;
    font-size: 1.10em;
    line-height: 1.9em;
    text-indent: 0.8em;
    color: #b8c7ce;
    text-decoration: none;
}
nav ul li:hover > a {
    background: #1e282c;
    border-left-color: #485A72;
    color: #fff;
    text-decoration: none;
}
nav ul li > a.disabled {
    color: #555;
}
nav ul li:hover > a.disabled {
    color: #555;
}

/* コンテンツ */
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 th {
    font-weight: bold;
    background: #E8E8E8;
    white-space: nowrap;
}
.table td {
    /*white-space: nowrap;*/
}

/* チェックボックス付きテーブル */
table.selectable tr {
    cursor: pointer;
}
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 .form-group input[type=text],
form.edit .form-group input[type=password] {
    width: 30em;
}
form.edit .form-group select {
    width: auto !important;
}
form.edit .form-group option {
    /*width:auto !important;*/
}
form.edit .form-group textarea {
    height: 20em;
}

/* 検索フォーム */
.search {
    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 {
    width: 10em;
}
.search .form-group input.name {
    width: 10em;
}

/* 操作フォーム */
.control {
    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 {
    width: 10em;
}
/*
.form-control {
    padding: 0.2em 0.4em;
    font-size: 0.9em;
}
*/

.panel {
    margin-bottom: 1em;
}

/*
.table img {
    transition: all 0.2s ease;
}
.table img:hover {
    -webkit-transform: scale(10);
    transform: scale(10);
}
*/

.block {
    margin-top: 1em;
}

.numeric {
    text-align: right;
}

.table th {
    white-space: nowrap;
}

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;
}

/* カレンダー */
form.calendar {

}
form.calendar table {
    margin: 0 5%;
    width: 90%;
}
form.calendar table th {
    padding: 1em;
    white-space: nowrap;
    text-align: center;
    border-bottom: 1px solid #999;
}
form.calendar table td {
    padding: 1em;
    white-space: nowrap;
    text-align: right;
    border: 1px solid #999;
}
form.calendar table td.holiday {
    background-color: #F99;
}

.modal-dialog {
    margin-top: 20%;
}

label {
    cursor: pointer;
}

.nav-justified > li > a {
    background-color: #ddd;
}
.nav-justified > li > a:hover {
    background-color: #ccc;
}