/*
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;
/* z-index: 100;*/
 /*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: static;
}

.fn-container img {
 border-width: 0;
}

.fn-view-image-link {
    display: block;
    margin-top: 10px;
    text-align: left;
}

#fn-modaldialog {
    position: absolute;
    background-color: white;
    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;
/* border: 1px solid #222;*/
 background: url(artwork/transparent.gif);
 cursor: crosshair;
/* z-index:1;*/
}

#fn-area-new{
/* border: 1px dotted #ff0;*/
/* border: 1px dotted;*/
 border-color:black;
 cursor: crosshair;
}

.fn-container-active .fn-area {
 visibility: inherit;
}

.fn-container-inactive .fn-area {
 visibility: hidden;
}

.fn-area-editing {
 position: absolute;
 visibility: visible;
 background: url(artwork/transparent.gif);
 border: 1px dashed #FFFFFF;
 cursor: crosshair;
}


.fn-area-innerborder-left {
 position: absolute;
 top: 0px;
 left: 0px;
/*border-left:1px solid #fff;*/
 border-left: 2px white dashed;
 width: 0px;
 height: 100%;
}

.fn-area-innerborder-top {
 position: absolute;
 top: 0px;
 left: 0px;
/* border-top: 1px solid #fff;*/
 border-top: 2px white dashed;
 width: 100%;
 height: 1px;
}

.fn-area-innerborder-right {
 position: absolute;
 top: 0px;
 right: 0px;
/* border-right:1px solid #fff;*/
 border-right: 2px white dashed;
 width: 0px;
 height: 100%;
}

.fn-area-innerborder-bottom {
 position: absolute;
 bottom: 0px;
 left: 0px;
/* border-bottom: 1px solid #fff;*/
 border-bottom: 2px white dashed;
 width: 100%;
 height: 1px;
}


/* Notes themselves. */

.fn-note {
 position: absolute;
 left: 0%;
 top: 100%;
 width: 0px;
 visibility: hidden;
 padding: 4px;
/* background-color: #FFEECC;
 border: 1px solid #000;
/*-moz-border-radius: 7px; /* Non-standard */
}
.fn-note-width{
    width:150px;
}
.fn-note span {
 display: block;
 margin-top: 2px;
 text-align: left;
 line-height: 1em;
}
.fn-note-title {
 margin-bottom: 1px;
 font-size: 110%;
 font-weight: bold;
/* color: #392b13;*/
}
.fn-note-content {
/* color: #000000;*/
}
.fn-note-author {
 font-size: 80%;
 font-style: italic;
 text-align: right;
/* color: #333300;*/
}


span.fn-note-id {
 display:none;
}



/* Note drag/resize UI */

.dragresize {
 position: absolute;
 width: 5px;
 height: 5px;
 font-size: 1px;
 background: white;
 border: 1px solid black;
}

.dragresize-tl {
 top: -8px;
 left: -8px;
 cursor: nw-resize;
}
.dragresize-tm {
 top: -8px;
 left: 50%;
 margin-left: -4px;
 cursor: n-resize;
}
.dragresize-tr {
 top: -8px;
 right: -8px;
 cursor: ne-resize;
}

.dragresize-ml {
 top: 50%;
 margin-top: -4px;
 left: -8px;
 cursor: w-resize;
}
.dragresize-mr {
 top: 50%;
 margin-top: -4px;
 right: -8px;
 cursor: e-resize;
}

.dragresize-bl {
 bottom: -8px;
 left: -8px;
 cursor: sw-resize;
}
.dragresize-bm {
 bottom: -8px;
 left: 50%;
 margin-left: -4px;
 cursor: s-resize;
}
.dragresize-br {
 bottom: -8px;
 right: -8px;
 cursor: se-resize;
}




/* Control buttons. */

.fn-controlbar {
 position: absolute;
 right: 0px;
 top: -18px;
 height: 15px;
 z-index: 50;
}
.fn-controlbar-inactive {
 background: transparent;
 width:100%;
}
.fn-controlbar-active {
 width: 100%;
}

.fn-controlbar.fn-controlbar-inactive{
visibility:hidden;
}

.fn-controlbar span {
 position: absolute;
 visibility: hidden;
 bottom: 2px;
 height: 11px;
/* font-size: 1px;*/
 line-height: 25px;
 cursor: pointer;
}
.fn-controlbar-active span {
 visibility: inherit;
}

span.fn-controlbar-bt_r1, span.fn-controlbar-bt_r3, span.fn-controlbar-bt_l1, span.fn-controlbar-bt_l3{
 top: -5px;
 width: 8px;
 height: 23px;
 position:relative;
}

span.fn-controlbar-bt_r1, span.fn-controlbar-bt_r3{
    float:right;
}

span.fn-controlbar-bt_l1, span.fn-controlbar-bt_l3{
    float:left;
}

span.fn-controlbar-bt_l1, span.fn-controlbar-bt_r1{
 background-image: url(artwork/bt_fn_1.png);
}

span.fn-controlbar-bt_l3, span.fn-controlbar-bt_r3{
 background-image: url(artwork/bt_fn_3.png);
}


#fn-controlbar-toggle-text-inactive, #fn-controlbar-toggle-text-active{
    display:none;
}

span.fn-controlbar-toggle-inactive {
 top: -5px;
/* width: 62px;*/
 height: 23px;
 display:block;
 position:relative;
 float:right;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}
span.fn-controlbar-toggle-active {
 top: -5px;
/* width: 62px;*/
 height: 20px;
 display:block;
 position:relative;
 float:right;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-repeat:repeat-x;
 background-image: url(artwork/bt_fn_2.png);
}

span.fn-controlbar-add-inactive {
 top: -5px;
/* width: 52px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-add-active {
 top: -5px;
/* width: 20px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 font-weight:bold;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-edit-inactive {
 top: -5px;
/* width: 52px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-edit-active {
 top: -5px;
/* width: 52px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 font-weight:bold;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-del-inactive {
 top: -5px;
/* width: 62px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-del-active {
 top: -5px;
/* width: 62px;*/
 height: 20px;
 display:block;
 position:relative;
 float:left;
 font-weight:bold;
 padding-left:5px;
 padding-right:5px;
 padding-bottom:5px;
 background-image: url(artwork/bt_fn_2.png);
 background-repeat:repeat-x;
}

span.fn-controlbar-credits {
 top: -1px;
 width: 77px;
 height: 20px;
 background-image: url(artwork/fncredits.gif);
}

span.fn-controlbar-logo {
 visibility: visible;
 right: 2px;
 width: 20px;
 background-image: url(artwork/fnlogo.gif);
}


/* Editing UI */


.fn-editbar {
 border: #CDCDCD solid 1px;
 padding:15px;
 z-index: 51;
 position: relative;
}

div.fn-editorbar-bt-bg{
 float:left;
}

div.fn-editbar-com_1,div.fn-editbar-com_3{
 position:relative;
 width: 19px;
 height: 151px;
 float:left;
}

div.fn-editbar-com_1{
 background-image: url(artwork/com_1.png);
}

div.fn-editbar-com_3{
 background-image: url(artwork/com_3.png);
}

.fn-editbar-inactive {
 visibility: hidden;
 display:none;
}

.fn-editbar-active {
 visibility: inherit;
 padding-bottom: 50px;
 background: #efefef;
}
