/* **************************************************************************

    カスタマイズ

   ************************************************************************** */

  /* =================================================
    全体
    ==================================================*/
html {
    font-family: "ヒラギノ角ゴ Pro W3","Hiragino Kaku Gothic Pro","メイリオ",Meiryo,Osaka,"ＭＳ Ｐゴシック","MS PGothic",sans-serif;
}
body {
    margin: 0px;
    font-size: 14px;
    background-color: #fff;
}
p { line-height: .7em; }
/* ------------------------基本色------------------------ */
/* 背景色-編集可能(緑) */
.enableColor {  background-color: #d2ffb5; }
/* 背景色-紫 */
.purple{ background-color: #d3c6ff; }
.errorColor { background-color: #FF9999; }
.warningColor { background-color: #FFFF99; }
/* ------------------------コントロール------------------------ */
select{ border: solid 1px #666; }
select:focus { background-color: #9cf; }
select:disabled{ background: rgba(0,0,0,0.1); }
input{ border: solid 1px #666; }
input:focus { background-color: #9cf; }
input:disabled{ background: rgba(0,0,0,0.2); }
input.numeric{ ime-mode: disabled; text-align: right; }
/* --------------ボタン-------------- */
button{
    background: transparent linear-gradient(to bottom, rgba(255, 255, 255, .8), rgba(153, 204, 255, .6)) repeat scroll 0% 0%;
    background-color: #9cf;
    border: 1px solid #1A9CE0;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease-in 0s;
}
button:hover,
button:focus{ background-color: #2AC2E9; }
button:disabled{
    background: transparent linear-gradient(to top, rgba(255, 255, 255, .8), rgba(210, 210, 210, .6)) repeat scroll 0% 0%;
    background-color: #999;
    border: 1px solid #666;
    -moz-transition: all 0.3s ease;
    transition: all 0.3s ease-in 0s;
}

  /* =================================================
    ヘッダー
    ==================================================*/
 /* 背景色 */
header.default{
    background: transparent linear-gradient(to bottom, #9cf 0%, #fff 13%) repeat scroll 0% 0%;
    background-attachment: fixed;
}
/* ヘッダー内タイトル表示部 */
.header-title{
    font-size: 36px;
    display: flex;
    flex-direction: row;
    align-items: center;
}
/* ヘッダー内表示コンテンツ */
.header-title span{
    padding: 4px 15px;
}
.header-title div.headInfo{
    position: absolute;
    top: 5px;
    right: 5px;
    display: flex;
}
.header-title ul {list-style: none; margin: 0px; padding:0px;}
.header-title ul li{
    font-size: 14px;
  line-height: 1.2em;
}
.header-title ul li button{
    line-height: 1.5em;
    margin-top: 10px;
    margin-left: 1em;
}
  /* =================================================
    サイドメニュー
    ==================================================*/
/* サイドメニュー表示部 */
div.side-nav{
    width: 200px;
    display: flex;
    flex-direction: column;
}
/* サイドメニューリスト */
div.side-nav span{
    list-style-type: none;
    list-style-position: outside;
    padding-left: 0px;
    margin-top: 0px;
}
/* --------------サイドメニューリスト　子要素-------------- */
div.side-nav span {background-color: #E1F0FF; margin: 5px 0px; }
div.side-nav span a:not(.button){ display:block; color:#1791d4; text-decoration: none; padding:.2em; }
div.side-nav span a:not(.button):hover,.side-nav li a:not(.button):focus{ background: rgba(0,0,0,0.025); background-color: #FBFCEF; }

  /* =================================================
    コンテンツ
    ==================================================*/
/* --------------上部--------------- */
div.flex { display: flex; }
div.container { width: 100%; }
div.contentTop p, div.contentTop div.input{ margin: .4em .7em 0px; }
div.container p.contentTitle {
    font-size: 2em;
    font-weight: bold;
    padding-left: 0.5em;
    line-height: 2em;
    margin: 5px 0px 0px;
    background-color: #FBFCEF;
}
/* --------------下部--------------- */
div.divBottom {  display: flex; align-items: flex-end; }
div.divBottom ul{
    display: flex;
    width: 100%;
    justify-content: space-between;
    list-style: none;
    margin: 0px;
 }
 div.divBottom ul li{ flex-grow: 1; }
 div.divBottom ul li button{ width:6em; }
/* --------------見出し-------------- */
.label8em{ display:inline-block; width:8em; text-align:right; }
.label12em{ display:inline-block; width:12em; text-align:right; }
.label20em{ display:inline-block; width:20em; text-align:right; }
.span11em{ width:11em; padding-left: .8em;}
/* コンボボックス */
.topCmbShort { width:10.3em; }
.topCmb { width:13.3em; }
.topCmbMiddle { width:16.3em; }

 /* ---------------------------
    表
    ---------------------------*/
/* 全体 */
.bodyCont{
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    font-size: 12px;
    flex-wrap: nowrap;
     padding-left: 4px;
}
/* 表 */
.bodyCont ul{
    list-style: none;
    flex-grow: 1;
    display:flex;
    border-left: solid 2px #000;
    border-top: solid 2px #000;
    padding:0px;
    margin:0px;
}
/* 行　1行分 */
.bodyCont li.oneRow{
    border-right: solid 2px #000;
    border-bottom: solid 2px #000;
    padding:2px;
    text-align:center;
}
/* 行　複数行 */
.bodyCont li.multiRow{
    display: flex;
    flex-direction: column;
}
/* 複数行内表示部 */
.bodyCont li.multiRow span{
    border-right: solid 2px #000;
    border-bottom: solid 2px #000;
    flex-grow: 1;
    padding:2px 0px;
    text-align:center;
    line-height: 1.3em;
}
/* 複数行内コンテンツ */
.bodyCont li.multiRow li{ flex-grow: 1; }
/* 右側の線の太さを細くする */
.bodyCont li.lightBorder { border-right-width: 1px; }
/* 表内セレクトボックス */
.bodyCont li select{ width: 46px; }
.bodyCont li select.kengen{ width: 116px; }
.bodyCont li select.dept1{ width: 116px; }
.bodyCont li select.dept2{ width: 116px; }
.bodyCont li select.rank{ width: 76px; }
/* 表内INPUT要素 */
.bodyCont li input{ width: 40px; }
.bodyCont li input.text{ width: 116px; }
.bodyCont li input.date{ width: 76px; }
.bodyCont li input.time{ width: 51px; text-align: center;}
.bodyCont li input.payunit{ width: 51px; text-align: right;}
.bodyCont li input.allowance{ width: 51px; text-align: right;}
.bodyCont li input.paytime{ width: 51px; text-align: right;}
.bodyCont li input.paydaily{ width: 51px; text-align: right;}
.bodyCont li input.rank{ width: 110px; }
.bodyCont li input.rankname{ width: 220px; }
/* --------------データ表示部-------------- */
.bodyCont ul.bodyData{ border-top: none; }
.bodyCont ul.bodyData li{ border-bottom: solid 1px #000; }
/* 合計行 */
.bodyCont ul.bodySum { border-top-width: 1px; }

  /* ---------------------------
    下部
    ---------------------------*/
/* 全体 */
.bodyFoot{
    margin: 10px 5px 5px 0px;
    align-items: flex-start;
    font-size: 12px;
    padding-left: 4px;
}
/* 表示部 */
.footCont{
    display: flex;
    flex-direction: column;
}
.footContPapa{
    display: flex;
    flex-direction: row;
}
/* 表示部コンテンツ */
.footCont ul, .footContPapa ul{
    list-style: none;
    flex-grow: 1;
    display:flex;
    border-left: solid 1px #000;
    border-bottom: solid 1px #000;
    padding:0px;
    margin:0px;
}
/* コンテンツの中身 */
.footCont li, .footContPapa li  {  flex-grow: 1; }
/* コンテンツの中身　1行分 */
.footCont li.oneRow, .footContPapa li.oneRow {
    border-right: solid 1px #000;
    border-top: solid 1px #000;
    padding:4px;
    text-align:center;
}
/* コンテンツの中身　複数行分 */
.footCont li.multiRow, .footContPapa li.multiRow {
    display: flex;
    flex-direction: column;
}
/* コンテンツの中身　複数行内表示部 */
.footCont li.multiRow span, .footContPapa li.multiRow span {
    border-right: solid 1px #000;
    border-top: solid 1px #000;
    flex-grow: 1;
    padding:2px 4px;
    text-align:center;
    line-height: 1.3em;
    height: 33px;
}
/* コンテンツの中身 タイトル */
.footCont li.oneRow span.head {
    display: inline-block;
    height: 100%;
    vertical-align: middle;
    padding: 50% 0em;
}
/* コンテンツの中身　複数行内データ表示部 */
.footCont li.multiRow span.data, .leftCont li.multiRow div.data, .footContPapa li.multiRow span.data {
    line-height: 33px;
    text-align:right;
}
.footCont li.multiRow div.data {
    line-height: 33px;
    border-right: solid 1px #000;
    border-top: solid 1px #000;
    flex-grow: 1;
    padding:2px 4px;
    text-align:center;
}

  /* =================================================
    ログイン
    ==================================================*/
.users{
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
}
.users ul{
    list-style: none;
    flex-grow: 1;
    padding:16px;
    margin:0px;
    border: solid 1px #999;
}
.users ul li{
    padding:4px;
}
.users ul li.contentTitle {
    font-size: 1.5em;
    font-weight: bold;
}
.users ul li input{ width: 15em; }
.users ul li ul.button{
    display: flex;
    justify-content: flex-end;
    list-style: none;
    flex-grow: 1;
    padding:0px;
    margin:0px;
    border: none;
}
.users ul li ul.button li{
    padding:0px 0px 0px 8px;
}
.loginBody div.infoArea{
    height: 100px;
    text-align: center;
    display: flex;
    flex-direction: row;
    justify-content: center;
    align-items: stretch;
}

  /* =================================================
    フラッシュ部分
    ==================================================*/
.form .error-message {
  display: block;
  padding: 0.375rem 0.5625rem 0.5625rem;
  margin-top: -1px;
  margin-bottom: 1rem;
  font-size: 0.75rem;
  font-weight: normal;
  font-style: italic;
  color: rgba(0, 0, 0, 0.54);
}

div.message {
    line-height: 2em;
    background-color: #ACFFD9;
    line-height: 2em;
    text-align: center;
    margin-bottom: 1em;
    width: 100%;
    align-self: center;
}
div.message.error {
  background-color: #C3232D;
  border-color: #C3232D;
  color: #FFF;
}

  /* =================================================
    社員マスタ
    ==================================================*/
.fix{
    display: flex;
    flex-direction: column;
    overflow: hidden;
}
.scroll {
    padding-left: 0px;
    width: 870px;
    overflow-x: auto;
    overflow-y: hidden;
    }
.listHeader{ width: 255px; }
.listHeader.scroll{ overflow-x: auto; padding-right: 15px; }
.listHeader>ul, .listHeader.scroll>ul{ height: 45px !important; }
.scrollBody { display: flex; height: 454px; overflow: hidden; }
.scrollBodyList {
    display: flex;
    height: 454px;
    overflow-x: auto;
    overflow-y: hidden;
    }
/* 表 */
.listBody ul{
    list-style: none;
    flex-grow: 1;
    display:flex;
    border-left: solid 2px #000;
    border-top: solid 2px #000;
    padding:0px;
    margin:0px;
}
div.fix div.listHeader.bodyCont>ul, div.yScrollFix .listBody>ul.bodyData { width:250px; border-right: 2px solid #000; }
div.yScroll .listBody>ul.bodyData, div.listHeader.scroll.bodyCont>ul { border-left-style: none; }
/* 右側の線の太さを細くする */
.listBody li.lightBorder { border-right-width: 1px; }
/* 行　1行分 */
.listBody li.oneRow{
    border-right: solid 2px #000;
    border-bottom: solid 2px #000;
    padding:2px;
    text-align:center;
}
/* 右側の線の太さを細くする */
.listBody li.lightBorder { border-right-width: 1px; }
/* 表内セレクトボックス */
.listBody li select{ width: 46px; }
.listBody li select.kengen{ width: 124px; }
.listBody li select.dept1{ width: 174px; }
.listBody li select.dept2{ width: 116px; }
.listBody li select.rank{ width: 116px; }
.listBody li select.allowKyohai{ width: 80px; text-align: right;}
/* 表内INPUT要素 */
.listBody li input{ width: 40px; }
.listBody li input.text{ width: 116px; }
.listBody li input.date{ width: 76px; }
.listBody li input.time{ width: 51px; text-align: center;}
.listBody li input.payunit{ width: 51px; text-align: right;}
.listBody li input.allowance{ width: 51px; text-align: right;}
.listBody li input.paytime{ width: 51px; text-align: right;}
.listBody li input.paydaily{ width: 51px; text-align: right;}
/* --------------データ表示部-------------- */
.listBody ul.bodyData{ border-top: none; }
.listBody ul.bodyData li{ border-bottom: solid 1px #000; padding: 2px; }

.scrollBar{
    width: 25px;
    position: absolute;
    left: 1300px;
    top: 275px;
    overflow-y: auto;
    height: 480px;
    }
div.yScrollFix { position: relative; font-size: 12px; }
div.yScroll { position: relative; font-size: 12px; }
  /* =================================================
    その他部品
    ==================================================*/
    /* 自動挿入されるラジオボタンのタグのデザインを整える */
div.radio label{ padding: 0px .5em; }

  /* =================================================
    事業部マスタ
    ==================================================*/
.labelId{ text-align:left; }
 /* --------------ボタン部--------------- */
div.divButton { width: 80%; text-align: right; }
div.divButton ul{
    display: flex;
    width: 100%;
    justify-content: space-between;
    list-style: none;
    margin: 15px;
 }
 div.divButton ul li{ flex-grow: 1; }
 div.divButton ul li button{ width:6em; }

    /* =================================================
    カレンダー２
    ==================================================*/
div.divFirstTable { margin-left:120px; margin-top:40px; width:600px; height: 80px;}
div.divSecondTable { margin-left:120px; margin-top:10px; width:600px; height: 80px;}
.listHeaderCalendar2{ width: 580px; }
div.fix div.listHeaderCalendar2.bodyCont>ul, div.yScrollFix .listBody>ul.bodyData { width:575px; border-right: 2px solid #000; }
.listBody li.Calendar2Text input.text{ width: 66px; }
/* **************************************************************************

    以下CakePHPデフォルト

   ************************************************************************** */
/* HTML5 display definitions
     ========================================================================== */

/**
 * Correct `block` display not defined for any HTML5 element in IE 8/9.
 * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
 * Correct `block` display not defined for `main` in IE 11.
 */

article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
main,
nav,
section,
summary {
    display: block;
}

/**
 * 1. Correct `inline-block` display not defined in IE 8/9.
 * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
 */

audio,
canvas,
progress,
video {
    display: inline-block; /* 1 */
    vertical-align: baseline; /* 2 */
}

/**
 * Prevent modern browsers from displaying `audio` without controls.
 * Remove excess height in iOS 5 devices.
 */

audio:not([controls]) {
    display: none;
    height: 0;
}

/**
 * Address `[hidden]` styling not present in IE 8/9/10.
 * Hide the `template` element in IE 8/9/11, Safari, and Firefox < 22.
 */

[hidden],
template {
    display: none;
}

/* Links
     ========================================================================== */

/**
 * Remove the gray background color from active links in IE 10.
 */

a {
    background: transparent;
}

/**
 * Improve readability when focused and also mouse hovered in all browsers.
 */

a:active,
a:hover {
    outline: 0;
}

/* Text-level semantics
     ========================================================================== */

/**
 * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
 */

abbr[title] {
    border-bottom: 1px dotted;
}

/**
 * Address style set to `bolder` in Firefox 4+, Safari, and Chrome.
 */

b,
strong {
    font-weight: bold;
}

/**
 * Address styling not present in Safari and Chrome.
 */

dfn {
    font-style: italic;
}

/**
 * Address variable `h1` font-size and margin within `section` and `article`
 * contexts in Firefox 4+, Safari, and Chrome.
 */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/**
 * Address styling not present in IE 8/9.
 */

mark {
    background: #ff0;
    color: #000;
}

/**
 * Address inconsistent and variable font size in all browsers.
 */

small {
    font-size: 80%;
}

/**
 * Prevent `sub` and `sup` affecting `line-height` in all browsers.
 */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sup {
    top: -0.5em;
}

sub {
    bottom: -0.25em;
}

/* Embedded content
     ========================================================================== */

/**
 * Remove border when inside `a` element in IE 8/9/10.
 */

img {
    border: 0;
}

/**
 * Correct overflow not hidden in IE 9/10/11.
 */

svg:not(:root) {
    overflow: hidden;
}

/* Grouping content
     ========================================================================== */

/**
 * Address margin not present in IE 8/9 and Safari.
 */

figure {
    margin: 1em 40px;
}

/**
 * Address differences between Firefox and other browsers.
 */

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0;
}

/**
 * Contain overflow in all browsers.
 */

pre {
    overflow: auto;
}

/**
 * Address odd `em`-unit font size rendering in all browsers.
 */

code,
kbd,
pre,
samp {
    font-family: monospace, monospace;
    font-size: 1em;
}

/* Forms
     ========================================================================== */

/**
 * Known limitation: by default, Chrome and Safari on OS X allow very limited
 * styling of `select`, unless a `border` property is set.
 */

/**
 * 1. Correct color not being inherited.
 *    Known issue: affects color of disabled elements.
 * 2. Correct font properties not being inherited.
 * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
 */

button,
input,
optgroup,
select,
textarea {
    color: inherit; /* 1 */
    font: inherit; /* 2 */
    margin: 0; /* 3 */
}

/**
 * Address `overflow` set to `hidden` in IE 8/9/10/11.
 */

button {
    overflow: visible;
}

/**
 * Address inconsistent `text-transform` inheritance for `button` and `select`.
 * All other form control elements do not inherit `text-transform` values.
 * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
 * Correct `select` style inheritance in Firefox.
 */

button,
select {
    text-transform: none;
}

/**
 * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio`
 *    and `video` controls.
 * 2. Correct inability to style clickable `input` types in iOS.
 * 3. Improve usability and consistency of cursor style between image-type
 *    `input` and others.
 */

button,
html input[type="button"], /* 1 */
input[type="reset"],
input[type="submit"] {
    -webkit-appearance: button; /* 2 */
    cursor: pointer; /* 3 */
}

/**
 * Re-set default cursor for disabled elements.
 */

button[disabled],
html input[disabled] {
    cursor: default;
}

/**
 * Remove inner padding and border in Firefox 4+.
 */

button::-moz-focus-inner,
input::-moz-focus-inner {
    border: 0;
    padding: 0;
}

/**
 * Address Firefox 4+ setting `line-height` on `input` using `!important` in
 * the UA stylesheet.
 */

input {
    line-height: normal;
}

/**
 * It's recommended that you don't attempt to style these elements.
 * Firefox's implementation doesn't respect box-sizing, padding, or width.
 *
 * 1. Address box sizing set to `content-box` in IE 8/9/10.
 * 2. Remove excess padding in IE 8/9/10.
 */

input[type="checkbox"],
input[type="radio"] {
    box-sizing: border-box; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Fix the cursor style for Chrome's increment/decrement buttons. For certain
 * `font-size` values of the `input`, it causes the cursor style of the
 * decrement button to change from `default` to `text`.
 */

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
 * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
 * 2. Address `box-sizing` set to `border-box` in Safari and Chrome
 *    (include `-moz` to future-proof).
 */

input[type="search"] {
    -webkit-appearance: textfield; /* 1 */
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box; /* 2 */
    box-sizing: content-box;
}

/**
 * Remove inner padding and search cancel button in Safari and Chrome on OS X.
 * Safari (but not Chrome) clips the cancel button when the search input has
 * padding (and `textfield` appearance).
 */

input[type="search"]::-webkit-search-cancel-button,
input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
 * Define consistent border, margin, and padding.
 */

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: 0.35em 0.625em 0.75em;
}

/**
 * 1. Correct `color` not being inherited in IE 8/9/10/11.
 * 2. Remove padding so people aren't caught out if they zero out fieldsets.
 */

legend {
    border: 0; /* 1 */
    padding: 0; /* 2 */
}

/**
 * Remove default vertical scrollbar in IE 8/9/10/11.
 */

textarea {
    overflow: auto;
}

/**
 * Don't inherit the `font-weight` (applied by a rule above).
 * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
 */

optgroup {
    font-weight: bold;
}

/* Tables
     ========================================================================== */

/**
 * Remove most spacing between table cells.
 */

table {
    border-collapse: collapse;
    border-spacing: 0;
}

td,
th {
    padding: 0;
}
