/**
 *
 * Created by Kodama & Co. on 14/11/24.
 *
 */
*, *:before, *:after {
	box-sizing: border-box;
}

html, body {
	margin: 0;
	padding: 0;
	height: 100%;
	font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, Hiragino Kaku Gothic ProN, Hiragino Sans, ヒラギノ角ゴ ProN W3, Arial, メイリオ, Meiryo, sans-serif;
}

table {
	border-collapse: collapse;
}

table, tr, td {
	margin: 0;
	padding: 0;
}

button {
	font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, Hiragino Kaku Gothic ProN, Hiragino Sans, ヒラギノ角ゴ ProN W3, Arial, メイリオ, Meiryo, sans-serif;
}

header {
	height: 36px;
	background-color: #13161a;
	border-bottom: 4px solid #4ba100;
}

header a {
	color: #ffffff;
	font-size: 14px;
	text-decoration: none;
}

#footer a {
	color: #666666;
	text-decoration: none;
}

#footer a:hover {
	text-decoration: underline;
}

footer {
	position: fixed;
	bottom: 16px;
	right: 32px;
	font-family: Helvetica, Arial, tahoma, verdana, arial, sans-serif;
	text-align: right;
	font-size: 12px;
	color: #666666;
	padding: 6px 0 5px 0;
	text-shadow: 0 0 4px #b0b0b0;
}

#tbxSearch {
	height: 24px;
	width: 140px;
}

#title {
	height: 32px;
	padding: 4px 0 0 8px;
	float: left;
}

#search a {
	padding: 7px;
}

#search a:hover {
	background-color: #606060;
}

#search {
	padding-top: 2px;
	float: right;
}

#sidePanel {
	background-color: #ffffff;
	padding: 0;
	height: 28px;
	width: 100%;
	overflow: hidden;
	position: fixed !important;
	/* position: absolute; */
}

#container {
	height: 100%;
}

#sidelist {
	font-size: 13px;
	line-height: 1.5;
	white-space: nowrap;
	margin: 5px 0 5px 10px;
	background-image: url("img/line.png");
}

#sidebar {
	width: 200px;
	background-color: #292e35;
	height: auto;
	position: absolute;
	bottom: 0;
	top: 60px;
	overflow: scroll;
}

#resizable {
	width: 80%;
	height: auto;
	position: absolute;
	bottom: 0;
	top: 34px;
	right: 0;
	overflow: scroll;
}

#contentTitle {
	height: 32px;
	font-size: 24px;
	padding: 24px 4px;
	margin: 2px 10px 2px 10px;
	border: solid 1px #ffffff;
}

#contentTitle:hover {
	background-color: #eee;
}

#contentBody {
	width: 90%;
	height: 80%;
	font-size: 16px;
	border: solid 1px #ffffff;
	padding: 4px;
	margin: 0 10px 0 10px;
	line-height: 1.6;
	resize: none;
}

.kodama-rich-text-editor {
	width: 90%;
	height: 80%;
	font-size: 16px;
	border: solid 1px #ffffff;
	padding: 4px;
	margin: 0 10px 0 10px;
	line-height: 1.6;
	resize: none;
	display: flex; /* 重要 */
	flex-direction: column; /* 重要 */
}

.kodama-editor-body {
	display: inline-block; /* 重要 */
	height: 100%; /* 重要 */
	padding: 8px; /* 重要 */
	/*	white-space: pre-wrap; */ /* 重要 */
	background-color: aliceblue;
}

pre {
	white-space: pre-wrap; /* Since CSS 2.1 */
	white-space: -moz-pre-wrap; /* Mozilla, since 1999 */
	white-space: -pre-wrap; /* Opera 4-6 */
	white-space: -o-pre-wrap; /* Opera 7 */
	word-wrap: break-word; /* Internet Explorer 5.5+ */
}

#contentBodyH {
	font-family: -apple-system, BlinkMacSystemFont, Helvetica Neue, Segoe UI, Hiragino Kaku Gothic ProN, Hiragino Sans, ヒラギノ角ゴ ProN W3, Arial, メイリオ, Meiryo, sans-serif;
	height: calc(100% - 98px);
	font-size: 18px;
	border: solid 1px #ffffff;
	padding: 4px;
	margin: 0 10px 0 10px;
	line-height: 1.6;
	resize: none;
}

#contentBodyH img {
	max-width: 100%;
}

.dragging {
	background-color: #dff;
}

.errorMsg {
	color: #ff0000;
}

.ttl {
	background-color: #292e35;
	text-decoration: none;
	display: block;
	color: #d1dad2;
	margin: 0 0 0 0;
}

.ttl:hover {
	color: #ffffff;
	background-color: #ff6470;
	cursor: pointer;
}

.selectedRow {
	color: #ffffff;
	background-color: #4ba100;
}

/* ツリー折りたたみアイコン */
.tree-toggle {
	display: inline-block;
	width: 16px;
	text-align: center;
	cursor: pointer;
	user-select: none;
	margin-right: 4px;
	color: #aaa;
	font-size: 12px;
}

.tree-toggle:hover {
	color: #fff;
}

/* ツリーコントロールボタン */
#treeControls {
	padding: 8px;
	background-color: #1f2328;
	border-bottom: 1px solid #444;
	display: flex;
	justify-content: space-between;
	align-items: center;
}

.tree-actions i {
	font-size: 18px;
	color: #aaa;
	cursor: pointer;
	margin-right: 4px;
	transition: color 0.2s;
}

.tree-actions i:hover {
	color: #fff;
}

/* ゴミ箱リンク */
#trashLink {
	display: flex;
	align-items: center;
	gap: 4px;
	text-decoration: none;
	color: #aaa;
	font-size: 12px;
	transition: color 0.2s;
}

#trashLink:hover {
	color: #fff;
}

#trashLink i {
	font-size: 14px;
}

.foldingDot {
}

.foldingDot:hover {
	background-color: #666666;
}

.btnPanel {
	height: 24px;
	/*	padding: 0; */
}

.btnPanel:hover, .btnPanel-md:hover {
  background-color: #ff919d;
  cursor: pointer;
}

.dive {
	margin-left: 14px;
	padding-left: 14px;
	border-left: solid 1px #aaaaaa;
}

.dragDiv {
	z-index: 9999;
	border-radius: 3px;
	box-shadow: 0 0 6px;
	position: absolute;
	opacity: 0.9;
	width: 200px;
	height: 18px;
	padding: 3px;
	font-size: 12px;
	vertical-align: middle;
	background-color: #ffffff;
	overflow: hidden;
	text-overflow: ellipsis;
}

.lodingPanel {
	width: 100%;
	height: 100%;
	z-index: 9999;
	background-color: rgba(255, 255, 255, 0.5);
	position: absolute;
	top: 0;
	text-align: center;
}

.imgLoading {
	position: relative;
	top: 50%;
}

#title img {
	vertical-align: middle;
	margin-right: 8px;
	height: 24px;
}

#searchpanel {
	display: none;
	position: absolute;
	left: 100px;
	top: 100px;
	background-color: #ffffff;
	font-size: 14px;
	border: solid 1px #cccccc;
	box-shadow: 0 0 4px #d0d0d0;
	line-height: 1.0;
	padding: 2px;
}

#searchpanel table th {
	text-align: left;
	font-weight: normal;
}

.svgIconButton:hover {
	background-color: #75cdff;
}

.svgIconButton {
	margin-right: 1px;
	padding: 4px;
	width: 24px;
	height: 24px;
	vertical-align: middle;
	background-color: #d8d8d8;
}

.svgIconButton path {
	fill: #000;
}

.pageinfo {
	margin-bottom: 4px;
}

/* For Smart Phone */
@media only screen and (max-width: 600px) {
	#contentTitle {
		height: 32px;
		font-size: 18px;
		padding: 8px 0 0 0;
		margin: 2px 0 2px 10px;
		border: solid 1px #ffffff;
	}

	#contentBody, .kodama-rich-text-editor {
		font-size: 14px;
		margin: 0 5px 0 5px;
		line-height: 1.6;
	}
}

/* End Of For Smart Phone */
