/* djnote/style.css */

/******************/
/*** レイアウト ***/
/******************/
.panel-left {
	position: fixed;
}
.panel-center {
	overflow-y: auto;
}

/********************/
/*** サイドパネル ***/
/********************/
.panel-left a {
	color: #002;
	text-decoration: none;
}
.panel-left a:hover {
	background-color: wheat;
}
.panel-left-scroll-box {
	margin-top: 20px;
	margin-bottom: 12px;
	padding-bottom: 12px;
}
.panel-left-line {
	height: 24px;
}
.panel-left-link0 {
	height: 24px;
	font-size: 1rem;
}
.panel-left-link1 {
	font-size: 1rem;
	padding-top: 6px;
	margin-left: 16px;
	border-left: 1px solid #aac;
}
.panel-left-link2 {
	padding-top: 4px;
	height: 24px;
	font-size: 1rem;
	margin-left: 16px;
	border-left: 1px solid #aac;
}
.panel-left-link2-open {
	background-color: #fffdf8;
	padding-top: 4px;
	height: 24px;
	font-size: 1rem;
	margin-left: 16px;
	border-left: 1px solid #aac;
}
.panel-left-img-dir {
	padding-top: 6px;
	margin-left: 6px;
	height: 24px;
	width: auto;
}
.panel-left-img-doc {
	margin-left: 6px;
	height: 16px;
	width: auto;
}
.panel-left-note {
	font-size: 1rem;
}
.panel-left-note-selected {
}
.panel-left-note-unselect {
	background-color: #fffdf8;
}

/********************/
/*** フォルダ一覧 ***/
/********************/
.panel-title {
	font-size: 1.6rem;
	margin: 8px 0 10px 0;
}
.panel-note-page {
	margin-left: 4px;
	margin-bottom: 30px;
}
.panel-note-head {
	font-size: 1.2rem;
	border-bottom: 1px solid #bbc;
}
.panel-note-head a {
	color: #002;
	text-decoration: none;
}
.panel-note-head a:hover {
	background-color: wheat;
}
.panel-note-head-date {
	margin-left: 8px;
	font-size: 0.8rem;
}
.panel-note-content {
	display: flex;
	justify-content: space-between;
	justify-content: flex-start;
}
.panel-note-content img {
	float: left;
	margin: 0px;
	padding: 2px;
	max-height: 96px;
	max-width: 114px;
	width: auto;
	border-radius: 6px;
}
.panel-note-content img:hover {
	background-color: wheat;
}
.panel-note-text {
	padding-left: 10px;
	line-height: 1.6;
	overflow-wrap: anywhere;
	word-break: normal;
}
/******************/
/*** トップ記事 ***/
/******************/
.note-page {
	margin: 0 0 100px 8px;
}
.note-page hr {
	color: #ddd;
}
.note-page-head {
	color: #000;
	margin: 0 0 4px 0;
	display: flex;
	justify-content: space-between;
	padding: 14px 0;
}
.note-page-title {
	font-size: 1.6rem;
}
.note-page-head-date {
	margin-top: 8px;
	margin-left: 8px;
	font-size: 1rem;
}
.note-page-subtitle {
	margin: 4px 0 4px 0;
	font-size: 1.2rem;
}
.note-page-top {
	margin: 10px 0 10px 10px;
	line-height: 1.4;
	overflow-wrap: anywhere;
	word-break: normal;
}
.note-page-picts {
	padding: 1px;
	display: flex;
	flex-wrap: wrap;
}
.note-page-picts img {
	float: left;
	margin: 0px;
	padding: 2px;
	max-height: 120px;
	width: auto;
	border-radius: 4px;
}
.note-page-picts a {
	color: #002;
	text-decoration: none;
}
.note-page-picts a:hover {
	background-color: wheat;
}
/****************/
/*** 追加記事 ***/
/****************/
.note-specs {
	margin-bottom: 15px;
}
.note-spec-title {
	margin: 18px 0 4px 4px;
	font-size: 1rem;
	display: flex;
	justify-content: space-between;
}
.note-spec-text {
	font-size: 0.8rem;
}
.note-specs-text a {
	color: #002;
	text-decoration-color: #aaa;
}
.note-specs-text a:hover {
	background-color: wheat;
	color: #000;
}
.note-specs-text pre {
	background-color: #f0f0f0;
	margin-bottom: 10px;
}
.note-specs-text table {
	margin: 4px 2px 12px 2px;
}
.note-specs-text tr {
	height: 24px;
}
.note-specs-text th, tr, td {
	padding: 1px 2px 1px 2px;
}
.note-specs-text th {
}
/***
	background-color: #f0f0f0;
***/
.MachinSpec {
	color: #000;
	border-collapse: collapse;
	border: 1px solid #ccc;
}
.MachinSpec th {
	border: 1px solid #aaa;
}
.MachinSpec td {
	border: 1px solid #aaa;
	min-width: 60px;
}
.SpecItem {
	color: #000;
}
.SpecItem a {
	color: #002;
}
.SpecCaption {
	color: #000;
	margin-left: 0px;
}
.SpecOut {
	font-style: italic;
	color: #666;
	text-decoration: line-through;
}
.SpecOut a {
	font-style: italic;
	color: #666;
	text-decoration: line-through;
}
.SpecOut a:hover {
	color: #666;
}
.SpecFs {
	background-color: #f4f4f4;
	font-family: "Courier New", monospace;
	margin: 0 0 10px 0;
}
/********************/
/*** 編集フォーム ***/
/********************/
.note-form {
	border-radius: 18px;
	background-color: #f0e8d0;
	margin: 5px 10px 30px 0;
}
.note-form-head {
	margin-top: 8px;
	font-size: 1.2rem;
	margin-bottom: 4px;
}
.note-form-table {
	padding: 8px;
	font-size: 1rem;
	width: 100%;
}
.note-form-table th {
	text-align: right;
	vertical-align: top;
	min-width: 6rem;
}
.note-form-table td {
	padding-bottom: 4px; 
}
.note-form-table select {
	background-color: #f8f8f8;
	border: 1px solid #400;
	border-radius: 4px;
}
.note-form-table select:hover {
	background-color: #ffe;
	border: 1px solid #842;
}
.note-form-table input {
	background-color: #fff;
}
#id_title, #id_subtitle, #id_image, #id_created_date, #id_updated_date {
	min-width: 400px;
}
#id_pict1, #id_link1, #id_pict2, #id_link2 {
	height: 1.2rem;
	min-width: 480px;
	field-sizing: content;
}
#id_img, #id_url, #id_comment {
	min-width: 500px;
}
#id_text {
	background-color: #fff;
	min-width: 480px;
	min-height: 150px;
	field-sizing: content;
	resize: both;
}
.note-form-note {
	margin-left: 6px;
	font-size: 0.8rem;
}
.note-form-button {
	margin-left: 4px; 
	text-align: left;
}

/*****
.note-form-button button {
	background-color: #002;
	color: #fff;
	border: 1px solid #003;
	border-radius: 4px;
	padding: 0px 6px 0px 6px; 
	transition: all 0.3s;
}
.note-form-button button:hover {
	background-color: #fff;
	color: #002;
	border: 1px solid #003;
}
.note-form-button a {
	text-decoration: none;
	background-color: #002;
	color: #fff;
	padding: 0px 0px 0px 0px; 
	border: 1px solid #003;
	border-radius: 4px;
	font-size: 1rem;
}
.note-form-button a:hover {
	background-color: #fff;
	color: #002;
	border: 1px solid #003;
}
*****/

/*** Pictフォーム ***/
.picts-edit {
}
.picts-form {
	display: flex;
}
.picts-form-table {
	width: 100%;
	border: 1px solid #aaa;
	border-collapse: collapse;
}
.picts-form-table td {
	border: 1px solid #aaa;
	background-color: #fff;
}
.picts-form-box {
	margin: 4px 10px 4px 10px;
}
.picts-form-img {
	max-height: 90px;
	width: auto;
	max-width: 200px;
	margin-left: 10px;
}
.picts-form-table [id$="-comment"] {
	width: 100%;
}
.picts-form-table [id$="-img"] {
	width: 400px;
}
.picts-form-table [id$="-url"] {
	width: 400px;
}

