/*----------------------------
  grid.cssより
----------------------------*/
.slick-cell-checkboxsel {
  background: #f0f0f0;
  border-right-color: silver;
  border-right-style: solid;
}
#myGrid .slick-cell-checkboxsel input[type=checkbox] {
  display:none; /* to hide the checkbox itself */
}
#myGrid .slick-cell-checkboxsel input[type=checkbox] + label:before {
  cursor: pointer;
  font-family: FontAwesome;
  color: tomato;
  font-weight: bold;
  display: inline-block;
  content: "\f00c";
  font-size: 13px;
}
#myGrid .slick-cell-checkboxsel input[type=checkbox] + label:before {
  opacity: 0.1;
} /* unchecked icon */
#myGrid .slick-cell-checkboxsel input[type=checkbox]:checked + label:before {
  opacity: 1;
} /* checked icon */
.item-details-form {
  z-index: 10000;
  display: inline-block;
  border: 1px solid black;
  margin: 8px;
  padding: 10px;
  background: #efefef;
  -moz-box-shadow: 0px 0px 15px black;
  -webkit-box-shadow: 0px 0px 15px black;
  box-shadow: 0px 0px 15px black;

  position: absolute;
  top: 10px;
  left: 150px;
}

.item-details-form-buttons {
  float: right;
}

.item-details-label {
  margin-left: 10px;
  margin-top: 20px;
  display: block;
  font-weight: bold;
}

.item-details-editor-container {
  width: 200px;
  height: 20px;
  border: 1px solid silver;
  background: white;
  display: block;
  margin: 10px;
  margin-top: 4px;
  padding: 0;
  padding-left: 4px;
  padding-right: 4px;
}


/*----------------------------
  example.cssより
----------------------------*/
/* Slick.Editors.Text, Slick.Editors.Date */
input.editor-text {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  outline: 0;
  padding: 0;
}

.ui-datepicker-trigger {
  background:url("slickgrid/images/calendar.gif") top left no-repeat;
  width: 16px;
  height: 16px;

  margin-top: 2px;
  padding: 0;
  vertical-align: top;
}

/* Slick.Editors.PercentComplete */
input.editor-percentcomplete {
  width: 100%;
  height: 100%;
  border: 0;
  margin: 0;
  background: transparent;
  outline: 0;
  padding: 0;

  float: left;
}

.editor-percentcomplete-picker {
  position: relative;
  display: inline-block;
  width: 16px;
  height: 100%;
  background: url("slickgrid/images/pencil.gif") no-repeat center center;
  overflow: visible;
  z-index: 1000;
  float: right;
}

.editor-percentcomplete-helper {
  border: 0 solid gray;
  position: absolute;
  top: -2px;
  left: -9px;
  background: url("slickgrid/images/editor-helper-bg.gif") no-repeat top left;
  padding-left: 9px;

  width: 120px;
  height: 140px;
  display: none;
  overflow: visible;
}

.editor-percentcomplete-wrapper {
  background: beige;
  padding: 20px 8px;

  width: 100%;
  height: 98px;
  border: 1px solid gray;
  border-left: 0;
}

.editor-percentcomplete-buttons {
  float: right;
}

.editor-percentcomplete-buttons button {
  width: 80px;
}

.editor-percentcomplete-slider {
  float: left;
}

.editor-percentcomplete-picker:hover .editor-percentcomplete-helper {
  display: block;
}

.editor-percentcomplete-helper:hover {
  display: block;
}

/* Slick.Editors.YesNoSelect */
select.editor-yesno {
  width: 100%;
  margin: 0;
  vertical-align: middle;
}

/* Slick.Editors.Checkbox */
input.editor-checkbox {
  margin: 0;
  height: 100%;
  padding: 0;
  border: 0;
}


/*----------------------------
  グルグルgif
----------------------------*/
#loading {
  display: table;
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: #fff;
  opacity: 0.8;
  z-index: 999;
}

#loading .loadingMsg {
  display: table-cell;
  text-align: center;
  vertical-align: middle;
  padding-top: 140px;
  background: url("asset/Preloader_2.gif") center center no-repeat;
}


/*----------------------------
  全体レイアウト
----------------------------*/
body {
  margin: 0 auto;
  /* background-color: #FFBEDA; */
}
.bg_highlight {
  background: #cbdef0;
}

/*----------------------------
  グリッド
----------------------------*/
#myGrid {
  font-size: 1em;
  line-height: 1.5em;
  margin: 1rem;
  clear: both;
  border: 1px solid #CCCCCC;
  /* border-radius: 3px; */
  /* box-sizing: border-box; */
}
.grid {
  height: 100vh;
}
div.slick-viewport {
  height: 500px;
  max-height: 500px;
}
.slick-header-column {
  text-align: center;
}
.cell-reorder {
  cursor: move;
  background: url("asset/drag-handle.png") no-repeat center center;
}
div.editableCell {
  border: 1px solid #CCCCCC;
  border-radius: 4px;
  padding: 5px;
  height: 23px;
}
/* 選択状態 */
input.editor-text {
  width: 100%;
  height: 25px;
}
.slick-cell-checkboxsel>input {
  margin: 11px 6px;
}
/* .vertical-align {
  line-height: 2.1rem;
} */
.slick-row.odd {
  background: #f6f8fa;
}
.slick-cell.selected,
.slick-cell.active,
.slick-cell.active > input {
  background: #cbdef0;
}
.align_right {
  text-align: right;
}
.slick-cell-modified {
  background-color: yellow;
}
.ui-state-default {
  background-color: #d8d8d8;
}
.align_center,
.slick-cell-checkboxsel {
  text-align: center;
}
/* input=number タグの増減ボタンを消す */
input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}
/* オーバーレイのスタイル */
.modal_overlay {
  position:fixed;
  top:0;
  left:0;
  background:rgba(200,200,200,0.3);
  width:100%;
  height:100%;
  z-index:100;
}



/*----------------------------
  ナビゲーションバー
----------------------------*/
.tabrow {
  text-align: left;
  list-style: none;
  padding: 0 0 0 3rem;
  line-height: 31px;
  height: 39px;
  overflow: hidden;
  font-size: 1.2rem;
  position: relative;
  margin-top: 1.5rem;
}
.tabrow li {
  border: 1px solid #AAA;
  background: #D4D4D4;
  /* background: linear-gradient(top, #ECECEC 50%, #D1D1D1 100%); */
  display: inline-block;
  position: relative;
  z-index: 0;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  box-shadow: 0 3px 3px rgba(0, 0, 0, 0.4), inset 0 1px 0 #FFF;
  margin: 0 -5px;
  /* padding: 0 35px; */
  text-align: center;
}
.tabrow a {
  color: black;
  text-decoration: none;
  font-weight: bold;
  display: inline-block;
  width: 270px;
}
.tabrow li.selected {
  background: #507339;
  color: #333;
  z-index: 2;
  border-bottom-color: #507339;
}
.tabrow li.selected a {
  color: white;
}
.tabrow:before {
  position: absolute;
  content: " ";
  width: 100%;
  bottom: 0;
  left: 0;
  border-bottom: 10px solid #507339;
  z-index: 4;
}
.tabrow li:before,
.tabrow li:after {
  border: 1px solid #AAA;
  position: absolute;
  bottom: -1px;
  width: 5px;
  height: 5px;
  content: " ";
}
.tabrow li:before {
  left: -6px;
  border-bottom-right-radius: 6px;
  border-width: 0 1px 1px 0;
  box-shadow: 2px 2px 0 #D1D1D1;
}
.tabrow li:after {
  right: -6px;
  border-bottom-left-radius: 6px;
  border-width: 0 0 1px 1px;
  box-shadow: -2px 2px 0 #D1D1D1;
}
.tabrow li.selected:before {
    box-shadow: 2px 2px 0 #FFF;
}
.tabrow li.selected:after {
    box-shadow: -2px 2px 0 #FFF;
}
.top_nav {
  width: 100%;
}
 .login_info {
  width: 15%;
  position: absolute;
  right: 1rem;
  top: 0;
  text-align: right;
}
.login_info p,
.login_info button {
  display: inline-block;
  /*width: 6rem;*/
}
.button_logout {
	background: #666666;
	border-color: #666666;
	box-shadow: 0 1px 0 #383838;
	color: #fff;
	text-decoration: none;
	text-shadow: 0 -1px 1px #383838, 1px 0 1px #383838, 0 1px 1px #383838, -1px 0 1px #383838;
	border-radius: 5px;
}


/*----------------------------
  フィルターエリア
----------------------------*/
.filter_area {
  padding: 1rem 0;
  margin: 1rem;
  background: #cad5c3;
}
.sub_filter_area {
  display: inline-block;
}
.sub_filter_area > label {
  line-height: 2.5rem;
}
.sub_filter_area > label > input {
  font-size: 16px;
}
.sub_filter_area > label:not(.checkboxLabel) {
  margin-left: 1rem;
}


/*----------------------------
  チェックボックス
----------------------------*/
input.checkboxSearch {
  display: none;
}
.checkboxLabel {
  position: relative;	/* ボックスの位置を指定する */
  padding: 0 0 0 42px;	/* ボックス内側の余白を指定する */
}
.checkboxLabel:hover:before {
  border-color: #aaa;	/* ボックスの境界線を実線で指定する */
}
.checkboxLabel:before, .checkboxLabel:after{
  position: absolute;	/* ボックスの位置を指定する */
  content: "";	/* ボックスのコンテンツ */
  display: block;	/* ブロックレベル要素化する */
  top: 50%;	/* 上部から配置の基準位置を決める */
}
.checkboxLabel:before {
  left: 15px;	/* 左から配置の基準位置を決める */
  margin-top: -10px;	/* チェック枠の位置 */
  width: 15px;	/* ボックスの横幅を指定する */
  height: 15px;	/* ボックスの高さを指定する */
  border: 2px solid #aaa;	/* ボックスの境界線を実線で指定する */
  border-radius: 4px;	/* ボックスの角丸を指定する */
  background: #fff;
}
.checkboxLabel:after {
  left: 21px;	/* 左から配置の基準位置を決める */
  margin-top: -7px;	/* チェックマークの位置 */
  width: 5px;	/* ボックスの横幅を指定する */
  height: 9px;	/* ボックスの高さを指定する */
  border-right: 3px solid tomato;	/* 境界線（右）のスタイルを指定する */
  border-bottom: 3px solid tomato;	/* 境界線（下）のスタイルを指定する */
  transform: rotate(45deg);	/* 要素を回転させる */
  opacity: 0;	/* 要素を透過指定する */
}
input.checkboxSearch:checked + .checkboxLabel:after {
  opacity: 1;	/* 要素を表示する */
}


/*----------------------------
  ボタン
----------------------------*/
.sub_filter_area > button,
#update_btn {
  background-color: white;
  border-radius: 4px;
  /* margin: 0 5px;
  display: inline-grid; */
  border: 1px solid #aaa;
  padding: .3rem 2rem;
  cursor: pointer;
}
#update_btn:hover {
  background-color: #507339;
  color: #fff;
}
button > img {
  margin: auto;
}

button:hover {
  font-weight: bold;
}


/*----------------------------
  お知らせ（送信）
----------------------------*/
label.template_label {
  display: inline-block;
  width: 10rem;
  float: left;
}
.mailing_form_area {
  margin: 1rem;
}
.subject_template,
.text_template  {
  border: 1px solid #aaa;
  border-radius: 4px;
  margin-top: .5rem;
  padding-left: 8px;
}
.subject_template {
  height: 27px;
  /* line-height: 28px; */
  font-size: 1rem;
}

/*----------------------------
  お知らせ（履歴）
----------------------------*/
p.rireki_btn {
  margin: 0;
  font-weight: bold;
  cursor: pointer;
}
p.rireki_btn:hover {
  text-decoration: underline;
}
/* jquery ui ダイアログ */
.myDialogClass .ui-dialog-titlebar {
  border-radius: 4px 4px 0 0;
  border: none;
}
.myDialogClass h2 {
  margin: 0px;
  font-size: 1.1rem;
}
.myDialogClass p {
  margin: 0px;
  border: 1px solid darkgray;
  padding: 2px;
}
