/* annotation */

#toolspanel {
	border-right: rgba(0,0,0,0.1) solid 1px;
	position: absolute;
	top: 0;
	left: 0;
	bottom: 0;
	width: 265px;
	padding: 15px;
	overflow-y: auto;
	overflow-x: visible;


    -webkit-transition: width 0.3s ease, margin 0.1s ease;
    -moz-transition: width 0.3s ease, margin 0.1s ease;
    -o-transition: width 0.3s ease, margin 0.1s ease;
    transition: width 0.3s ease, margin 0.1s ease;

}

.annotations .pagectrl {
	position: absolute;
	top: 30px;
	right: 10px;
	z-index: 99;
}

/* annotation comments */
#toolspanel .comments {
	margin-top: 15px;
}
#toolspanel.small .comments {
	display: none;
}
#toolspanel .comments .annotationlisttemplate, #toolspanel .comments .commentlisttemplate {
	padding: 0;
	border: 0;
}
#toolspanel .comments #panel-annotation, #toolspanel .comments #panel-comment {
	margin-bottom: 0px;
}
#toolspanel .comments .panel-heading {
	padding: 2px 10px;
	border-bottom: 0;
}
#toolspanel .comments .panel-title {
	font-size: 12px;
	line-height: 1.3;
}
#toolspanel .comments .comment-content, #toolspanel .comments .annotation-content {
	padding: 5px;
}
#toolspanel .comments .listtrashbutton,  #toolspanel .comments .listtextcontentindicator {
	font-size: 9px;
}
#toolspanel .comments .listuser {
	font-weight: bolder;
}
#toolspanel .comments .listindexlabel.annotation_label, #toolspanel .comments .listtextcontentindicator {
	margin-right: 2px;
}
#toolspanel .comments .annotationbox_number.badge {
	background-color: #337ab7;
	padding: 2px 6px;
}
#toolspanel .comments .listtextcontentindicator {
	color: red;
}

/* tools panel */
#toolspanel.small {
	width: 70px;
}

#toolspanel.small .btn-group > .btn-group:not(.toggletools) {
	display: none;
}

#toolspanel .listsummary {
	font-size: 12px;
	line-height: 1.2;
}

/* annotations */
.annotations {
	position: absolute;
	padding: 0;
	margin: 0;
	top: 0;
	right: 0;
	bottom: 65px;
	left: 0;
	overflow: auto;
}
.annotations .addcomment {
	border-radius: 4px;
	padding: 4px;
}
.annotations .list-group-item {
	margin-bottom: 4px;
	padding: 5px;
}

/* textrun content */
div.XinetCanvasObject.imagehighlight {
	border: 2px dotted red;
}

/* controls */
.uppercontrols {
	z-index: 50000001;
	position: absolute;
	top: 5px;
	left: 5px;
}
.middlecontrols {
	z-index: 50000000;
	position: absolute;
	right: 40px;
	top: 30px;
}
.bottomcontrols {
	z-index: 50000000;
	position: absolute;
	right: 5px;
	bottom: 5px;
	opacity: 1;
}
.bottomcontrols .btn {
	opacity: 1;
}

.messages {
	position: absolute;
	left: 5px;
	right: 5px;
	bottom: 0px;
	z-index: 50000000;
}

.slider * {
	opacity: 1;
}

.slider-track {
	border: 1px solid #999;
}

.slider-handle {
	border: 1px solid #333;
}

.canvasWrapper {
	overflow: visible;
	position: absolute;
}

.canvasWrapperCaption {
	position: absolute;
	bottom: -36px;
	width: 100%;
}

.canvasWrapperButton {
	position: absolute;
	right: 2px;
	top: -26px;
	padding: 4px;
}

.canvasframe {
	position: absolute;
	top: 0;
	right: 0;
	bottom: 0;
	left: 265px;
	overflow: hidden;
	
    -webkit-transition: left 0.3s ease, margin 0.1s ease;
    -moz-transition: left 0.3s ease, margin 0.1s ease;
    -o-transition: left 0.3s ease, margin 0.1s ease;
    transition: left 0.3s ease, margin 0.1s ease;
}

.canvasframe.small-toolspanel {
	left: 70px;
}

#annotationCanvas {
	left: 10px;
	right: 10px;
}

#annotationCanvasImage {
	width: 100%;
}

div.XinetCanvas {
	position: absolute;
	width: 10px;
	height: 10px;
	background-color: white;
	border: 1px solid black;
	overflow: hidden;
	cursor: crosshair;
}

div.XinetCanvas * {
	max-width: none;
}

div.XinetCanvasObject {
	border: 2px;
	margin: 0px;
	padding: 0px;
	font-size: 0px;
	position: absolute;
	width: 10px;
	height: 10px;
	overflow: visible;
}

div.XinetCanvasObject_hidden {
	width: 0px;
	height: 0px;
	display: none;
}

div.XinetCanvasObject_stamp {
	margin: 0px;
	padding: 0px;
	font-size: 0px;
	position: absolute;
	width: 10px;
	height: 10px;
	overflow: hidden;
}

div.XinetCanvasObject_corner {
	position: absolute;
	width: 10px;
	height: 10px;
	display: none;
	z-index: 99999;
}

div.XinetCanvasObject_indexLabel {
	position: absolute;
	top: -10px;
	right: -12px;
	z-index: 999999;
}

.vistoggle {
/* 
	display: inline-block;
	border: 1px solid #444;
 	width: 16px;
	height: 16px;
	padding: 1px;
	text-align: center;
	line-height: 10px;
 */
 	font-size: 1.2em;
 	margin-right: 4px;
 	
}

.topleft {
	background-image: url(../images/highlight_tl.gif)
}

.topright {
	background-image: url(../images/highlight_tr.gif)
}

.bottomleft {
	background-image: url(../images/highlight_bl.gif)
}

.bottomright {
	background-image: url(../images/highlight_br.gif)
}

div.XinetCanvasText {
	zIndex: 1;
}

div.XinetCanvasText_background {
	filter: alpha(opacity:80);
	KHTMLOpacity: .8;
	MozOpacity: .8;
	opacity: .8;

	background-color: #ffff99;

	position: absolute;
	top: 0px;
	left: 0px;
	bottom: 0px;
	right: 0px;
	z-index: -10;
}


form.XinetCanvasText_inputForm {
	position: absolute;
	top: 3px;
	left: 3px;
	bottom: 3px;
	right: 3px;
	z-index: 10;
	display: block;
	text-align: center;
}

.XinetCanvasText_textBoxBuffer {
	position: absolute;
	bottom: 30px;
	right: 2px;
	top: 2px;
	left: 2px;
}

.XinetCanvasText_textBoxBuffer textarea {
	width: 99%;
	height: 100%;
}

.XinetCanvasText_text {
	position: absolute;
	top: 0px;
	left: 0px;
	z-index: 10;
	padding: 3px;
	right: 0px;
	bottom: 0px;
	overflow: auto;
}

.XinetCanvasText_buttons {
	position: absolute;
	left: 0px;
	right: 0px;
	bottom: 0px;
	z-index: 10;
	padding: 3px;
}

.listnotes {
	margin: 3px 0px;
}

div.XinetCanvasPreview {
	text-align: center;
	position: relative;
	z-index: 0;
}

img.XinetCanvasPreview_preview {
	z-index: 1;
}

div.XinetCanvasPreview_frame {
	z-index: 2;
	position: absolute;
	border: 1px solid #c09853;
	width: 10px;
	height: 10px;
	top: 10px;
	left: 10px;
}

div.XinetCanvasPreview_background {
	z-index: -10;
	position: absolute;
	background-color: white;
}
