/* style.css */

/* ---- bootstrap ---- */
body {
	min-width: 320px; /* suppose you want minimun width of 320px */
	width: auto !important; /* Firefox will set width as auto */
	width: 320px;
	/* As IE ignores !important it will set width as 320px; */
}

@media ( min-width : 1200px) {
	.modal-lg {
		width: 1170px;
	}
}

.modal-header-success {
	color: #fff;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #5cb85c;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.modal-header-warning {
	color: #fff;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #f0ad4e;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.modal-header-danger {
	color: #fff;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #d9534f;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.modal-header-info {
	color: #fff;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #5bc0de;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.modal-header-primary {
	color: #fff;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #428bca;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

.modal-header-default {
	color: #333;
	padding: 9px 15px;
	border-bottom: 1px solid #eee;
	background-color: #f5f5f5;
	-webkit-border-top-left-radius: 5px;
	-webkit-border-top-right-radius: 5px;
	-moz-border-radius-topleft: 5px;
	-moz-border-radius-topright: 5px;
	border-top-left-radius: 5px;
	border-top-right-radius: 5px;
}

/** readonlyの背景がbootstrapではdisableと同じになってしまうので、白に戻す。 */
.form-control[readonly] {
  background-color: #ffffff;
}

/** readonly且つdisabledの背景はグレーにする。 */
.form-control[disabled] {
  background-color: #dfdfdf;
}

/* IE10 でボタンに disabled クラスが効かないことによる弊害への対処 */
.disabled.btn,
[disabled].btn,
fieldset[disabled] .btn
{
	/* bootstrap.css:(3035) */
	/*pointer-events: none;*/
	pointer-events: auto;
}

.nav-pills a {
	text-decoration: none !important;
}

legend {
	/* margin-bottom: 20px; */
	margin-bottom: 3px;
	font-weight: bold;
}

.table thead {
	background-color: #5bc0de; /* info color */
}

.fixed-table-container tbody .selected td {
	background-color: ivory;
}

/* hr margin 調整 */
hr {
	margin-top: 5px;
	margin-bottom: 5px;
}

/* h3マージン調整 **/
h3, .h3 {
  margin-top: 10px;
  margin-bottom: 5px;
}

/* staic の余白が大きすぎることへの対処 */
.form-control-static {
	min-height: 0;
	padding-bottom: 0;
}

/* textarea の resize を抑止、行間が大きいことへの対処 */
textarea {
	line-height: 1 !important;
	resize: vertical;	/*none;*/
	min-height: 48px;	/*元の高さに戻すときの操作を簡単にするため*/
}

/* 一般的ボタンサイズ */
.btn-ord {
	padding: 6px 12px;
}

/* ヘッダ／フッタボタンサイズ */
#wf-header .btn-ord, #wf-footer .btn-ord {
	padding: 3px 6px;
}

/* ヘッダ背景色 */
#wf-header {
	background-color: #ffffe0;	
}

/* Alert の margin-bottom を削除 */
.alert {
	margin-bottom: 0;
}

/* ListGroup の margin-bottom を削除 */
.list-group {
	margin-bottom: 0px;
}

ul, ol {
	margin-bottom: 0px;
}

/* Inputs, selects, and textareas are 100% wide by default in Bootstrap. To use the inline form, you'll have to set a width on the form controls used within. */
.form-inline .form-group input {
	width: 140px;
}

.form-inline .form-group select {
	width: 140px;
}

.fixed-table-container table {
    table-layout: fixed;
    word-wrap: break-word;
}
.fixed-table-container table th, table td { 
	overflow: hidden;
	text-overflow: ellipsis
}

/* bootstrap-table の td を nowrap */
.fixed-table-container tbody td {
	/*padding: 8px;*/
	/*line-height: 24px;*/
	/*vertical-align: top;*/
	overflow: hidden;
	text-overflow: ellipsis;
	white-space: nowrap;
}


/* 入力必須項目の マーク */
.form-group.required .control-label:before {
	content: "*";
	color: red;
}

.form-group .required:before {
	content: "*";
	color: red;
}

/* .form-control[readonly] を調整 */
/*
bootstrap.css: .form-control[readonly] を コメントアウト
*/

/* モーダルダイアログのヘッダ内ボタンの縦アラインメント調整*/
.modal-header .adjust-vertical {
	margin-top: -30px !important;
}

/* パネルのヘッダ内ボタンの縦アラインメント調整*/
.panel-heading .adjust-vertical {
	margin-top: -26px !important;
}

.input-group.file .input-group-addon {
	cursor: pointer;
}

/* datetimepicker addon ボタン disabled 時のカーソル指定　*/
.input-group.date .input-group-addon[disabled] {
	cursor: not-allowed;
}

.help-block {
	/*display: block;*/
	/*margin-top: 5px;*/
	/*margin-bottom: 10px;*/
	/*color: #737373;*/
	margin-top: 0px;
	margin-bottom: 0px;
}

/* tooltip content alignment */
.tooltip-inner {
	text-align: left;
}

/* ---- assign ---- */

/* ワイヤフレームのヘッダの padding-bottom を削除 */
#wf-header {
	padding-bottom: 0;
}

/* ワイヤフレームのコンテントの padding を削除 */
#wf-content {
	padding-top: 0;
	padding-right: 5px;
	padding-bottom: 0;
	padding-left: 5px;
}

.panel-body {
	font-size: inherit;
}

/* 画面ボディ領域 margin 調整 */
#wf-content.panel-body {
	margin-top: 5px;
	margin-bottom: 5px;
	font-size: inherit;
}

/* タイトル のスタイル */
#wf-header [jid="heading"] .panel-title img {
	/*width: 32px;*/
	/*height: 32px;*/
	height: 36px;
}

#wf-header [jid="heading"] .panel-title {
	font-weight: normal;
	height: inherit;
}

#wf-header [jid="heading"] .panel-title span {
	font-size: 1.25em;
	vertical-align: middle;
}

/* リストフィルタ の 縦アラインメント調整 */
[jid="list-header"] .form-group.adjust-vertical {
	padding-top: 4px;
}

/* 入力フォーム legend のフォントサイズ　 */
[jid="form-detail"] legend {
	font-size: inherit;
}

/* 入力フォーム legend のフォントサイズ　 */
[jid="summary-info"] legend {
	font-size: inherit;
}
/* */
#car-idle-edit .modal-dialog{
	width: 700px;
}

/* a tag link を クリッカブルに見せる */
.appearance-clickable {
	cursor: pointer;
	color: #337ab7 !important;
}

/* bootstrap-datetimepicker で 今日をハイライトする(※有効にする場合、コメントを外す) */
.bootstrap-datetimepicker-widget table td.today:not(.active):not(:hover) {
  background-color: lightyellow;
}

/* navigation 項目が増えた場合、 dropdown の caret アイコンが折り返されるための対処(※暫定措置) */
.nav > li > a {
	padding: 10px 10px;
}

/* ダイアログ右上の×ボタン(ヘルプありの場合) */
div .pull-right.adjust-vertical button.close {
	padding-top: 9px;
	padding-bottom: 0px;
	padding-left: 10px;
	padding-right: 0px;
	color: #fff;
    opacity: 1;
}
/* ダイアログ右上の×ボタン(ヘルプなしの場合) */
div button.close {
	color: #fff;
    opacity: 1;
}

/* tool-tip 半角文字対応　*/
.tooltip-inner {
	word-break: break-all;
}

/** easy-uiのdatagridを調整 */
div.panel.datagrid.easyui-fluid {
	margin-bottom: 10px;
}

div.datagrid .panel-body{
  padding:0px;
  border: solid 1px #C8C8C8;
}

.datagrid-row {
	height: 30px;	/* これを効かせるためには、 autoRowHeight=falseにすること。*/
}
.datagrid-row-selected {
	background: #ffffff;
	color:#000000;
}
.datagrid-cell {
  font-size:14px;	/** デフォルトは12px */
  text-overflow: ellipsis;
}
.datagrid-row-over,
.datagrid-header td.datagrid-header-over {
  background: #ffffff;
  color:#000000;
  cursor: default;
}

/* ボーダーの色を濃くする */
.datagrid-header td, .datagrid-body td, .datagrid-footer td {
  border-color: rgb(148, 148, 148);
}

/* 一覧における偶数番目のイベント */
.row-event-even {
	background-color: lightyellow;
}

/* 一覧における遅延イベント */
.row-event-delay {
	background-color: pink;
}

.tab-pane legend {
	font-size: inherit;
}

.combo-panel.panel-body {
	padding: 0px;
}

.tab-content {
	padding-top: 5px;
}

.modal-dialog table thead {
	background-color: #f5f5f5;
}

/* 一斉送信一覧のテーブル背景色 */
#group-mail-list table thead {
	background-color: #f5f5f5;
}

/* チェックボックスを大きくする(スマートフォン対応) */
.checkbox-lg input {
	transform: scale(1.5, 1.5);
}

/* 文字色 */
.text-color-red {
	color: red;
}

.text-color-blue {
	color: blue;
}

/* 選択された要素の背景色 */
.selected-bg-color {
	background-color: #F5F5F5;
}

.text-small {
	font-size: 6px;
}

/* カレンダーがpanel-bodyからはみ出しても表示されるようoverflowをセット */
.panel {
	overflow: visible;
}

.panel-body {
	overflow: visible;
}

/* 入力欄を大きめにする */
.input-size-lg {
	height: 50px;
	font-size: 30px;
}

/* リンクを無効化する */
a.disabled {
	color: #808080;
	pointer-events: none;
	cursor: default;
	text-decoration:none;
}

/* カメラマン宛先テーブルのコンテナ (業務委託料を同時に表示) */
.mailto-table-container table {
  border-collapse: collapse !important;
  border-spacing: 0 !important;
}
.mailto-table-container table td,
.mailto-table-container table th {
  padding: 5px 8px !important;
  border-top : 2px solid #ddd !important;
}


/* イベント一覧 検索条件エリア */
div.search-area {
	border-bottom: #dbdbdb solid 2px;
	margin-left: 0.5em;
	margin-right: 0.5em;
	padding-top: 0.5em;
	padding-bottom: 0.5em;
}

/* イベント一覧 検索条件 日付条件指定用 */
div.search-area .form-inline .input-group > .form-control.search-date {
	width: 120px;
}
/* イベント一覧 検索条件 チェックボックス */
div.search-area .form-inline .form-group input[type="checkbox"] {
	width: auto;
}

/* 見落とさないよう labelを装飾 */
.form-group .control-label.attention {
	color: red;
}

/* radio, check disabled 時の輝度を上げる
	ボタンそのもののカスタマイズはデザインが崩れる恐れありのため
	文字列側を装飾する
*/
#event-detail .form-group input[type=radio]:checked + span {
  text-decoration: underline;
  text-underline-position: under;
}
#event-detail .form-group input[type=checkbox]:checked + span {
  text-decoration: underline;
  text-underline-position: under;
}
