@charset "utf-8";

/* -------------------------
  全体
--------------------------*/
div.success {
  background: #8AD2D9;
}
a:hover {
  color: #59B5BE;
}
.float-clear {
  clear: both;
}

button, a.btn-link {
  border-radius: 15px !important;
}

/* ページャー 全x件中x件表示 */
div.paginator p {
  margin-bottom: 0;
}

/* -------------------------
  メニュー
--------------------------*/
/* ログインユーザー名の表示 */
li.login-user {
  text-align: right;
}
/* 階層化したメニュー */
ul.side-nav ul {
  list-style-type: none;
}


/* -------------------------
  テーブル
--------------------------*/
/* テーブルのセル幅 */
th.no, th.id, th.terminal-status { width: 4em; }

th.work-id, th.unit, th.work-progress, th.terminal-progress,
th.work-status, th.company-id, th.rate { width: 5.5em; }

th.object{ width: 7em; }
th.username, th.operation { width: 8em; }
th.terminal-no { width: 11em; }
th.worker { width: 10em; }
th.name { width: 10em; }
th.item-name { min-width: 10em; }

th.date { width: 7em; }
th.date.small { width: 4em; }
th.date.big { width: 10em; }

th.actions { width: 10em; }
th.actions.small { width: 90px; }
th.actions.big { width: 160px; }
th.actions.freesize { width: auto; }
th.type { width: 5em; }
th.display {
  white-space: nowrap;
  width: 5em;
}

/* 操作 */
td.actions a {
  display: inline-block;
  color: white;
  width: 30px;
  height: 0;
  padding-top: 30px;
  margin: 1px;
  background: #1798A5 center no-repeat;
  border-radius: 4px;
  overflow: hidden;
}
td.actions a:hover {
  background-color: #59B5BE;
}

/* アイコンの設定 */
td.actions a[href*="view"] {
  background-image: url("../img/icon/view.png");
}
td.actions a[href*="edit"] {
  background-image: url("../img/icon/edit.png");
}
td.actions form[action*="delete"] + a[href="#"] {
  background-image: url("../img/icon/delete.png");
}
td.actions a[href*="upload"] {
  background-image: url("../img/icon/upload.png");
}
td.actions a[href*="download"] {
  background-image: url("../img/icon/download.png");
}
td.actions form[action*="clear"] + a[href="#"] {
  background-image: url("../img/icon/clear.png");
}


/* -------------------------
  各addページ
--------------------------*/
.form button[type="button"] {
  float: right;
  text-transform: uppercase;
  box-shadow: none;
}
button{
  background: #939F22;
}
.form button:hover,
.form button:focus{
  background: #B1BA61;
}

select {
  padding-right: 1.5em;
}


/* -------------------------
  各Indexページ
--------------------------*/
/* 「作成」リンク */
div.add {
  text-align: right;
  padding-top: 10px;
  position: relative;
  top: 20px;

}
div.add a {
  text-align: center;
  display: inline-block;
  border:1px solid;
  padding: 8px 16px;
  margin: 0 8px 24px;
  border-radius: 10px;
  background-color: #A52316;
  color: white;
}
div.add a:hover {
  background-color: #BE6158;
}


/* -------------------------
  各Viewページ
--------------------------*/
/* Works : 端末 */
div.works.view table.vertical-table th,
div.terminals.view table.vertical-table th {
    width: 10rem;
}
div.works.view table.vertical-table td,
div.terminals.view table.vertical-table td {
    text-align: left;
}

/* -------------------------
  ログインページ
--------------------------*/
div.login form div.input,
div.login form div.login-submit {
  max-width:600px;
}

/* -------------------------
  ダウンロードページ
--------------------------*/
div.works button[name="evidence"],
div.works button[name="macaddress"] {
  margin-bottom :0;
}

/* -------------------------
  アップロードページ
--------------------------*/
#is-imei {
    margin-top: 0;
    margin-right: 0;
    margin-left: 0.5em;
}
#is-imei+label[for="is-imei"] {
    margin-right: 0;
    position: relative;
    top: -1px;
}

/* -------------------------
  端末情報詳細画面
--------------------------*/
table#kitting-data tr th:nth-child(4),
table#kitting-data tr td:nth-child(4),
table#kitting-data tr th:nth-child(7),
table#kitting-data tr td:nth-child(7) {
    border-left: 1px solid #ebebec;
}
table#kitting-data thead tr,
table#kitting-data thead tr th {
    border: none;
}
table#kitting-data thead {
    border-top: 2px solid #1798A5;
    border-bottom: 2px solid #1798A5;
}

/* -------------------------
  印刷ボタン
--------------------------*/
input.button.print-btn {
  border-radius: 15px;
  padding: 8px 16px;
  margin-left: 16px;

}

/* -------------------------
  ツールチップ
--------------------------*/
.tooltip-wt {
    position: relative;
    background: #222;
    color: #fff;
    font-weight: bold;
    border-radius: 20px;
    padding-left: 0.25em;
    padding-right: 0.25em;
    display: inline-block;

}
.tooltip-wt::before,
.tooltip-wt::after {
    position: absolute;
    opacity: 0;
}
.tooltip-wt:hover::before {
    content: "";
    border: 12px solid transparent;
    border-right: 12px solid #fff;
    z-index: 2;
}
.tooltip-wt:hover::after {
    content: attr(data-tooltip);
    display: block;
    min-width: 15em;
    padding: 8px;
    border-radius: 5px;
    color: #222;
    font-size: 0.9em;
    font-weight: normal;
    box-shadow:
        0 0 5px 5px rgba(0, 0, 0, 0.050),
        0 0 10px 10px rgba(0, 0, 0, 0.080);
}
.tooltip-wt:hover::before {
    top: -5px;
    left: 18px;
}
.tooltip-wt:hover::after {
    top: -20px;
    left: 42px;
}
.tooltip-wt:hover::before,
.tooltip-wt:hover::after {
    opacity: 1;
}
