/*
The overall canvas: added in fnclient-0.5.0 to provide a canvas works space to be able to place
controls outside of image, and also one of: container-inactive container-active
*/

.fn-canvas {
 position: relative;
 border: 0px solid #ddd;
 /*background-color: #eef5f9;
 border-left: 1px solid #d5e6ee;
 border-top: 1px solid #d5e6ee;
 border-right: 1px solid #d5e6ee; */
}

/*
The overall container: always has class="fn-container", and also one of:
container-inactive container-active
*/

.fn-container {
 position: relative;
 text-align: center;
 margin-left:auto;
 margin-right:auto;
}

.fn-container img {
 border-width: 0;
}

.fn-view-image-link {
	display: block;
	margin-top: 10px;
	text-align: left;
}

#fn-modaldialog {
	position: absolute;
	background-color: #fddddd;
	height: 20px;
	width: 150px;
	right: 0px;
	top: 0px;
	color: black;
	padding-left: 4px;
}


/* Note areas - a separate class is applied to those being edited. */

.fn-area {
 position: absolute;
 background: url(../images/transparent.gif);
 border: 2px groove white;
 cursor: pointer;
}
.fn-area-hover {
 position: absolute;
 background: url(../images/transparent.gif);
 border: 2px groove yellow;
 cursor: pointer;
}

/*
#fn-area-new{
 border: 1px solid #000;
}
*/
.fn-container-active .fn-area {
 visibility: inherit;
}

.fn-container-inactive .fn-area {
 visibility: hidden;
}

.fn-area-editing {
 position: absolute;
 visibility: visible;
 background: url(../images/transparent.gif);
 border: 1px dashed #000000;
 cursor: pointer;
}


.fn-area-innerborder-left {
 position: absolute;
 top: 0px;
 left: 0px;
 border-left:1px dotted #fff;
 width: 0px;
 height: 100%;
}

.fn-area-innerborder-top {
 position: absolute;
 top: 0px;
 left: 0px;
 border-top: 1px dotted #fff;
 width: 100%;
 height: 1px;
}

.fn-area-innerborder-right {
 position: absolute;
 top: 0px;
 right: 0px;
 border-right:1px dotted #fff;
 width: 0px;
 height: 100%;
}

.fn-area-innerborder-bottom {
 position: absolute;
 bottom: 0px;
 left: 0px;
 border-bottom: 1px dotted #fff;
 width: 100%;
 height: 1px;
}


/* Notes themselves. */

.fn-note {
 z-index:100;
 position: absolute;
 left: -1px;
 top: 100%;
 width: 240px;
 visibility: hidden;
 padding: 0px;
 margin-top: 8px ; 
}
.fn-note-text-table {
 width: 100%;
}
.fn-note-td-owner {
 background-color: #ffffd3;
}
.fn-note-td {
 background-color: #D6FFAD;
}
.fn-note span {
 display: block;
 margin-top: 0px;
 padding-left:4px;
 text-align: left;
 line-height: 1.2em;
}
.fn-note-title {
 margin-bottom: 1px;
 font-size: 110%;
 font-weight: bold;
 color: #666633;
}
.fn-note-content {
 color: #000000;
 white-space:normal; 
 word-break:break-all;
 overflow:hidden;
}
.fn-note-author {
 font-size: 100%;
 font-style: italic;
 text-align: right;
 color: #0061DE;
 text-decoration: underline;
 cursor: pointer;
}
.fn-note-author-owner {
 display: absolute;
 visibility: hidden;
 height:0px;
 line-height:0px;
 font-size: 0%;
 font-style: italic;
 text-align: right;
 color: #6600FF;
 overflow:hidden;
}




/* Note drag/resize UI */

.dragresize {
 position: absolute;
 width: 8px;
 height: 8px;
 font-size: 1px;
 background: white;
 border: 1px solid black;
 z-index:2;
}

.dragresize-tl {
 top: -1px;
 left: -1px;
 cursor: nw-resize;
}
.dragresize-tm {
 top: -1px;
 left: 50%;
 margin-left: -4px;
 cursor: n-resize;
}
.dragresize-tr {
 top: -1px;
 right: -1px;
 cursor: ne-resize;
}

.dragresize-ml {
 top: 50%;
 margin-top: -4px;
 left: -1px;
 cursor: w-resize;
}
.dragresize-mr {
 top: 50%;
 margin-top: -4px;
 right: -1px;
 cursor: e-resize;
}

.dragresize-bl {
 bottom: -1px;
 left: -1px;
 cursor: sw-resize;
}
.dragresize-bm {
 bottom: -1px;
 left: 50%;
 margin-left: -4px;
 cursor: s-resize;
}
.dragresize-br {
 bottom: -1px;
 right: -1px;
 cursor: se-resize;
}


.fn-editbar {
 z-index: 300;
 position: absolute;
 left: -1px;
 top: 100%;
 width: 240px;
 font-size: 12px;
 padding: 0px;
 margin: 0px; 
}
.fn-editbar-inactive {
 visibility: hidden;
}

.fn-editbar-active {
 visibility: inherit;
}

.fn-editbar-fields {
 left: 0px;
 top: 100%;
 z-index: 100;
 width: 100%;
 height: 100%;
 margin: 0px;
 padding: 0px;
 font-size: 12px;
 text-align:left;
 border: 0px solid green;
}

/*
.fn-editbar label {
 top:0px;
 float:left;
 width:100%;
 text-align:left;
 margin-left: 5px;
 font-weight: bold;
}

.fn-editbar-fields p {
 font-weight: bold;
 text-align: left;
 display: block;
}
*/

.fn-editbar-content {
 width: 232px;
 height:expression(this.scrollHeight+20);
 font-size: 9pt;
 cursor: text;
 margin: 0px;
 padding: 0px;
 border: 0px solid #ddd;
 letter-spacing:0;
 line-height:14px;
 background-color: #D6FFAD;
 overflow-y:auto;
 overflow-x:hidden;
}
.fn-editbar-content-owner {
 width: 232px;
 height:expression(this.scrollHeight+20);
 font-size: 9pt;
 cursor: text;
 margin: 0px;
 padding: 0px;
 border: 0px solid #ddd;
 letter-spacing:0;
 line-height:14px;
 background-color: #ffffd3;
 overflow-y:auto;
 overflow-x:hidden;
}

.fn-editbar span {
 position: absolute;
 visibility: visible;
 top: 0px;
 height: 11px;
 font-size: 1px;
 line-height: 1px;
 cursor: pointer;
}

.fn-editbar-active span {
 visibility: inherit;
}

.fn-editbar-ok {
margin:5px 5px 0px 0px;
border:0px #fff solid;
background-image: url(../images/bg_blue.jpg); 
font-size: 9pt;
font-weight:bold;
color: #ffffff; 
font-family: Arial, Helvetica, sans-serif; 
width: 44px; 
height: 21px
}

.fn-editbar-cancel {
 margin:5px 5px 0px 0px;
 border:0px #fff solid;
 background-image: url(../images/bg_gray.jpg); 
 font-size: 9pt; 
 color: #000000; 
 font-family: Arial, Helvetica, sans-serif; 
 width: 44px; 
 height: 21px;

}
.fn-editbar-del {
 margin:5px 5px 0px 0px;
 border:0px #fff solid;
 background-image: url(../images/bg_gray.jpg); 
 font-size: 9pt; 
 color: #000000; 
 font-family: Arial, Helvetica, sans-serif; 
 width: 44px; 
 height: 21px;
}
