#Contents .hidden {
	display: none;
}

#Contents .tools {
	position: relative;
	margin: 0;
	border-bottom: 1px dotted #999;
	width: 100%;
	height: 30px;
	font-size: 0;
}
#Contents .tools:before,
#Contents .tools div {
	display: inline-block;
	padding: 0 5px 0;
	line-height: 30px;
	font-size: 1rem;
	letter-spacing: 0.03em;
	margin: 0 10px 0 0;
	color: #666;
}
#Contents .tools .label {
	margin: 0 0 0 0;
	padding: 0 5px;
	color: #999;
}
#Contents .tools .label:empty {
	display: none;
}
#Contents .tools .label:after {
	content: ':';
	margin-left: 5px;
}
#Contents .tools:not(.objective) .edit,
#Contents .tools:not(.objective) .del,
#Contents .tools.immortal .del {
	color: #999;
}
#Contents .tools:not(.objective) .edit:hover,
#Contents .tools:not(.objective) .del:hover,
#Contents .tools.immortal .del:hover {
	background-color: transparent;
	cursor: default;
}


#Contents ul.selector {
	position: absolute;
	display: none;
	background-color: rgba(255, 255, 255, 0.8);
	box-shadow: 0 1px 4px 1px rgba(0, 0, 0, 0.5);
	list-style: none;
	z-index: 100;
}
#Contents ul.selector li {
	position: relative;
	margin: 0;
	border-bottom: 1px dotted #CCC;
	padding: 5px 10px;
	width: 100%;
	font-size: 0.8rem;
}
#Contents ul.selector li:last-child {
	border: none;
}
#Contents ul.selector li:hover,
#Contents .tools div:hover {
	background-color: #009CEE;
	color: #FFF;
	cursor: pointer;
}

#Contents .preview {
	position: relative;
	margin: 20px 0 0;
	width: 100%;
	overflow: hidden;
}
#Contents .preview .frame {
	position: relative;
	width: 100%;
	border: 1px solid rgba(163, 190, 200, 0.0);
	margin: 0 0 5px;
	padding: 10px;
	background-image: url(../../image/editor/contents_dinamic.png);
	background-size: 7px;
	background-repeat: no-repeat;
	box-sizing: border-box;
	overflow: hidden;
}
#Contents .preview .frame.static {
	margin: 0 0 10px;
	background-image: url(../../image/editor/contents_static.png);
}
#Contents .preview .frame.static + .frame:not(.static) {
	margin-top: 40px;
}
#Contents .preview .frame:hover {
	border-color: rgba(163, 190, 200, 0.5);
	background-color: rgba(163, 190, 200, 0.2);
	cursor: pointer;
}
#Contents .preview .frame.selected {
	background-color: rgba(163, 190, 200, 0.4);
}
#Contents .preview .frame.thumbnailed:after {
	content: '';
	display: block;
	position: absolute;
	top: 15px; right: 15px;
	width: 30px;
	height: 30px;
//	background-color: rgba(255, 255, 255, 0.5);
	background-image: url(../../image/editor/thumbnailed.png);
	background-size: 30px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
}

#Contents .preview .frame > * {
	position: relative;
	box-sizing: border-box;
}
#Contents .preview .frame h3 {
	position: relative;
	float: left;
	margin: -10px auto 5px 0;
	padding: 0;
	width: auto;
	height: 16px;
	font-size: 0.8em;
	line-height: 17px;
	font-family: sans-serif;
	color: #999;
}
#Contents .preview .frame .value {
	position: relative;
	clear: both;
}
#Contents .preview .frame dl.value,
#Contents .preview .frame dl.value dt,
#Contents .preview .frame dl.value dd {
	font-size: inherit;
}

#Contents .preview .frame [name="dates"] span:last-child:empty {
	display: none;
}
#Contents .preview .frame [name="dates"] span:last-child:before {
	content: '~';
	margin: 0 10px;
}

#Contents .preview .frame [name="space"] {
	width: 100%;
}

#Contents .preview .frame [name="hr"] {
	margin: 0 auto;
	background-color: #CCC;
}

#Contents .preview .frame [name="paragraph"] {
	margin: 0 0 10px;
	width: 100%;
	line-height: 1.6em;
}
#Contents .preview .frame [name="image"] {
	margin: 0;
	width: 100%;
}
#Contents .preview .frame [name="image"] span {
	display: inline-block;
	margin: 0 0 10px;
	width: 100%;
}
#Contents .preview .frame [name="image"] img {
	width: 100%;
}
#Contents .preview .frame [name="image"] .caption {
	margin-top: 2px;
	width: 100%;
	text-align: right;
}
#Contents .preview .frame [name="image"] .caption:empty {
	display: none;
}
#Contents .preview .frame [name="place"] .value {
	min-height: 400px;
}

#Contents .preview .frame dl {
	margin: 0 0 5px;
	width: 100%;
	font-size: 0;
	overflow: hidden;
}
#Contents .preview .frame dl dt {
	display: inline-block;
	width: 25%;
	font-size: 1rem;
	vertical-align: top;
}
#Contents .preview .frame dl dd {
	display: inline-block;
	width: 75%;
	font-size: 1rem;
}
#Contents .preview .frame .cmenu {
	position: absolute;
	top: 0; left: 0; bottom: 0; right: 0;
	position: absolute;
	margin: auto;
	border-radius: 21px;
	padding: 1px;
	width: 200px;
	height: 42px;
	background-color: rgba(255, 255, 255, 0.8);
	overflow: hidden;
}
#Contents .preview .frame .cmenu > div {
	display: none;
	float: left;
	margin: 0 1px;
	border: 1px solid #CCC;
	border-radius: 20px;
	padding: 0 15px;
	min-width: 38px;
	height: 38px;
	line-height: 38px;
	background-size: 40px;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	box-sizing: border-box;
}
#Contents .preview .frame .cmenu > div:hover {
	background-color: rgba(0, 0, 0, 0.1);
}
#Contents .preview .frame .cmenu > div.sort {
	background-image: url(../../image/editor/cmenu_sort.png);
	cursor: grab;
}
#Contents .preview .frame .cmenu > div.edit {
	background-image: url(../../image/editor/cmenu_edit.png);
}
#Contents .preview .frame .cmenu > div.del {
	background-image: url(../../image/editor/cmenu_delete.png);
}
#Contents .preview .frame .cmenu > div.thumb {
	background-image: url(../../image/editor/cmenu_thumbnail.png);
}
#Contents .preview .frame .cmenu > div.spot {
	background-image: url(../../image/editor/cmenu_spot.png);
}

#Popup .popup {
	max-width: 700px;
}
#Popup .wrapper .contents p {
	margin: 10px 0 20px;
	width: 100%;
}
#Popup .wrapper .contents p:empty {
	display: none;
}
#Popup .wrapper .contents dl {
	width: 100%;
	font-size: 0.9rem;
}
#Popup .wrapper .contents dl dt {
	float: left;
	width: 100px;
}
#Popup .wrapper .contents dl dt.category {
	float: none;
	width: 100%;
}
#Popup .wrapper .contents dl dt.sub {
	clear: left;
	padding-left: 10px;
}
#Popup .wrapper .contents dl dd {
	margin: 0 0 10px 110px;
	width: calc(100% - 110px);
}
#Popup .wrapper .contents dl dd.table {
}
#Popup .wrapper .contents dl dd.table span {
	display: inline-block;
	width: auto;
}
#Popup .wrapper .contents dl dd.table span input {
	width: 130px;
}
#Popup .wrapper .contents dl dd.table span textarea {
	width: 200px;
	height: 4em;
	vertical-align: top;
}
#Popup .wrapper .contents dl dd.table .handle {
	width: 20px;
	text-align: center;
	cursor: ns-resize;
}
#Popup .wrapper .contents dl dd.table span:nth-child(2):after {
	content: ':';
	display: inline-block;
	margin: 0 5px;
}

#Popup .wrapper .contents dl dd.account {
	line-height: 1.4em;
	color: #009CEE;
}
#Popup .wrapper .contents dl dd input:not([type]),
#Popup .wrapper .contents dl dd input[type="text"] {
	margin: 0;
	width: 100%;
	box-sizing: border-box;
}
#Popup .wrapper .contents dl dd textarea {
	width: 100%;
	height: 100px;
	box-sizing: border-box;
}
#Popup .wrapper .contents dl dd .colorpicker {
	width: 432px;
	line-height: 12px;
}
#Popup .wrapper .contents dl dd .colorpicker li {
	display: inline-block;
	margin: 0;
	border: 1px #FFF solid;
	padding: 0;
	width: 10px;
	height: 10px;
	cursor: pointer;
}
#Popup .wrapper .contents dl dd .colorpicker li.on {
	border: 2px #F00 solid;
	width: 8px;
	height: 8px;
}
#Popup .wrapper .contents .thumb {
	width: 100%;
	height: auto;
}
#Popup .wrapper .contents .thumb div {
	float: left;
	margin: 1px;
	width: 100px;
	height: 100px;
	background-color: #CCC;
	background-size: contain;
	background-position: 50% 50%;
	background-repeat: no-repeat;
	cursor: hand;
}
#Popup .wrapper .contents .map {
	width: 100%;
	min-height: 400px;
}
#Popup .wrapper .contents .map .crossLine {
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background-image: url(../../image/geolocation/center.png), url(../../image/geolocation/center.png);
	background-position: center, center;
	background-repeat: repeat-x, repeat-y;
	pointer-events: none;
}