t/*body {
	margin:0;
	border:0;
	padding:0;
}*/

h1 {
	font-size:1.2em;
}

.page img{
	
}
.page {
	/*background:#fff;*/
	z-index:10;
	border:solid #ccc 1px;
	margin:10px;
	border-width:1px; /* 5px 5px 1px;*/
	box-shadow:1px 2px 4px #666;
	-webkit-box-shadow:1px 2px 4px #666;
	-moz-box-shadow:1px 2px 4px #666;
	ddisplay:inline-block;
	margin: 10px auto;
	-moz-user-select:none;
	-webkit-user-select:none;
	user-select:none;
	display:none;
}
.pdfselect, .select {
	border:dashed #666699 1px;
	background:transparent;
}
span.selected {
	background:#ffff00;
	dbackground:transparent url('images/back.png') repeat 0 0;
	dopacity:0.1;
	dborder:solid #ccc 1px;
}
body.eraser span.selected{
	background:#ff0000;
}
body.link span.selected{
	background:#6666ff;
}
span.searchmatch {
	background:#6666cc;
	opacity:0.4;
}
.tools {
	/*background:#ccc url("images/bkcontrols.jpg") repeat-x;
	padding:0 1px;
	dborder:solid #ccc 1px;
	-moz-user-select:-moz-none;
	-webkit-user-select:none;
	cursor:default;
	border-bottom:1px solid #ddd;*/
	-moz-user-select: -moz-none;
    /*background: none repeat scroll 0 0 #F6F6F6;*/
	background:linear-gradient(#FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
	background: -webkit-linear-gradient(#FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
	background: -moz-linear-gradient(#FFFFFF, #EEEEEE) repeat scroll 0 0 transparent;
    border: 1px solid #DDDDDD;
    border-radius: 3px 3px 0 0;
    box-shadow: 0 2px 2px -1px rgba(0, 0, 0, 0.1);
    cursor: default;
	-moz-user-select:-moz-none;
	-webkit-user-select:none;
    
    margin-top: 5px;
    padding: 1px 1px 0 5px;
    position: relative;
    z-index: 100000;
}
.tools input {
	-moz-user-select:text;
	-webkit-user-select:normal;
	cursor:text;
	border:1px solid #333;
	padding:2px 18px 2px 2px;
	font-size:13px;
	border-color:#666 #CCCCCC #CCCCCC #666;
}
.tools ul {
	margin:0;
	padding:0;
	list-style:none;
	display:inline-block;
	float:left;
	background:transparent;/*#ccc;*/

}
.tools ul li {
	dfloat:left;
	display:inline;
	white-space: nowrap;
	line-height:30px;
	font-size:14px;
	color:black;
	font-weight: normal;
}

@media screen and (-webkit-min-device-pixel-ratio:0) {
	    .tools ul li{
	    /* Safari-Opera specific declarations here */
	    display: inline-block;
	    }
	}

.tools input{
	dheight:14px;
	width:40px;
	dvertical-align:bottom;
}
.tools ul li span {
	/*padding:5px;
	border:solid #ccc 1px;
	background:transparent;
	color:black;*/
	  background: url("images/bkcontrols.jpg") repeat-x scroll 0 0 #CCCCCC;
    border: 1px solid #CCCCCC;
    border-radius: 3px 3px 3px 3px;
    color: #444444;
    font-family: Arial;
    font-size: 11px;
    font-weight: bold;
    /*margin-right: 5px;*/	
    padding: 5px;
	
}
.tools ul li span.nobtn {
	padding: 2px 0;
}
.tools ul li span.nobtn:hover {
	border:solid #ccc 1px;
	background-color:transparent;/*#ccc;*/
}
.tools ul li span:hover {
	background-color:transparent;/*#f0f0f0;*/
	border-color:#e7e7e7 #999 #999 #e7e7e7;
	cursor:default;
}
.tools ul li span:active {
	background-color:#aaa;
	border-color:#999 #f7f7f7 #f7f7f7 #999;	
}
#viewer {
	overflow-y:hidden;
	overflow-x:auto;
	height:497px;
	/*height:523px;*/
	/*padding-bottom:10px;*/
	background:#f0f0f0;
	margin-right:17px;
	text-align:center;
	color:#F0F0F0;
}
.vp_scroll {
	float:right;
	width:15px;
	height:487px;
	border:solid #ccc 1px;
	border-width:0 1px;
	position:absolute;
	right:20px;
	z-index:100;
	background:#ccc;
	display:none;
}
.vp_scroll_bar {
	background:#aaa url('images/scroller_bck.gif') repeat-y center center;	
	height:419px;
	position:relative;
}
.vp_scroll_grab_center {
	background:transparent url('images/scroller_grab.gif') no-repeat center center;
	width:100%;
	height:100%;
	border:solid #999 1px;
	border-width:1px 0;
	-moz-border-radius:2px 2px 2px 2px;	
	-webkit-border-bottom-right-radius:2px;
	-webkit-border-bottom-left-radius:2px;
	-webkit-border-top-left-radius:2px;
	-webkit-border-top-right-radius:2px;
}
.vp_scroll_grab,.vp_scroll_loaded{
	top:0px;
	position:absolute;
	background:#666699 url('images/scroller_grab_bck.gif') repeat-y center center;	
	doverflow:hidden;
	cursor:N-resize;
	width:15px;
}
.vp_scroll_loaded{
	background:#d0d0d0;
	cursor:default;
	opacity:0.5;
	filter:alpha(opacity=50);
}
.vp_scroll_info {
	position:absolute;
	background:#f0f0f0;
	border:solid #ccc 1px;
	right:15px;
	top:0px;
	display:none;
}
.vp_scroll_up {	
	background:#f4f4f4 url('images/scroller_up.gif') no-repeat 0 center;
	height:16px;
	margin-bottom:2px;
}
.vp_scroll_down {	
	background:#f4f4f4 url('images/scroller_down.gif') no-repeat 0 center;
	height:16px;
	margin-bottom:2px;
}
.vp_scroll_down:last-child {
	margin:0;
}
.vp_scroll_up:last-child {
	margin-top:2px;
}
.vp_scroll:hover .vp_scroll_up {	
	background:#f4f4f4 url('images/scroller_up_hover.gif') no-repeat 0 center;
}
.vp_scroll:hover .vp_scroll_down {	
	background:#f4f4f4 url('images/scroller_down_hover.gif') no-repeat 0 center;
}

.tpm {
padding:1px;
opacity:0.5;
filter:alpha(opacity=50);
background:transparent url('images/trans.gif') repeat;
line-height:2000em; 
overflow:hidden
}
.dspage .tpm:hover {
	background:red;
}
.page:hover .tpm {
	ddisplay:block;
	dborder:solid #66ff66 1px;
	z-index:8;
}
.page .tpm:hover {
	dborder-color:#ff9966;
	z-index:10;
}
.page .tpm.editing {
	border:#aa6633 solid 1px;
}
.tools span.tool {
	ddisplay:inline-block;
	dwidth:16px;
	dheight:16px;
	dvertical-align:bottom;
	padding:5px 12px;
}
.tools span.select {
	background:url('images/select.gif') no-repeat center center;
}
.tools span.rcw {
	background:url('images/rcw.gif') no-repeat center center;
}
.tools span.rccw {
	background:url('images/rccw.gif') no-repeat center center;
}
.tools span.text {
	background:url('images/input.gif') no-repeat center center;
}
.tools span.comment {
	/*background:url('images/comments.png') no-repeat 6px center #ccc;*/
	padding:5px !important;
}
.tools span.comment:hover {
	background-color:#ccc;
}

.nocomments .tools span.comment,.nocomments .tools span.comment:hover  {
background-color:transparent;
	/*background:url('images/comments.png') no-repeat -17px center;*/
}
.tools span.eraser {
	background:url('images/eraser.gif') no-repeat center center;
}
.tools span.spacecut {
	background:url('images/spacecut.gif') no-repeat center center;
}
.tools span.share {
	background:url('images/link.png') no-repeat center center;
}
.tools span.expandw {
	background:url('images/expandw.gif') no-repeat center center;
}
.tools span.expandh {
	background:url('images/expandh.gif') no-repeat center center;
}
body.text .tpm {
	border:solid #66ff66 1px;
	padding:0px;
}
body.text .tools ul .text, body.spacecut .tools ul .spacecut, body.eraser .tools ul .eraser, body.rcw .tools ul .rcw, body.rccw .tools ul .rccw,body.link .tools ul .share{
	/*background-color:#f0f0f0;
	border-color:#aaa #f7f7f7 #f7f7f7 #aaa;	*/
	 background-color: #CCCCCC;
}
body.spacecut .tpm {
	border:solid #66ff66 1px;
	padding:0px;
}
body.eraser .tpm {
	border:solid #66ff66 1px;
	padding:0px;
}
body.eraser .resizedot {
	display:none;
}

#history {
	display:none;
	height: 30px;
    margin-bottom: -5px;
}
body.history #history {
	display:block;
}
body.history #tools ul {
	display:none;
}
body.history #tools ul#viewtools {
	display:inline-block;
}
body.history .resizedot {
	display:none;
}


span.merge {
	background:#ccc;
	border:#666;
	opacity:0.5;
	filter:alpha(opacity=50);
}
#resize,#select {
	z-index:100;
}
.resize_brd{
	border:#aa6633 solid 1px;
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.resize_bck{
	dbackground:#aa6633;
	background:#ffff00;
	opacity:0.5;
	filter:alpha(opacity=50);
	position:absolute;
	top:0;
	left:0;
	width:100%;
	height:100%;
}
.resizedot {
	position:absolute;
	height:7px;
	width:7px;
	background:#fff;
	border:#aaa solid 1px;
	display:none;
	-moz-border-radius:2px 2px 2px 2px;	
	-webkit-border-bottom-right-radius:2px;
	-webkit-border-bottom-left-radius:2px;
	-webkit-border-top-left-radius:2px;
	-webkit-border-top-right-radius:2px;
}
.gdm-editing .resizedot {
	display:block;
}
.rleft {
	top:35%;
	left:-4px;
	cursor:w-resize;
}
.rright{
	top:35%;
	right:-6px;
	cursor:e-resize;
}
.rtop {
	top:-4px;
	left:50%;
	cursor:n-resize;
}
.rbottom {
	bottom:-6px;
	left:50%;	
	cursor:s-resize;
}

#edittext {
	z-index:50;
	text-align:left;
}
#edittext textarea {
	width:100%;
	min-width:150px;
	min-height:40px;
	height:100%;
	border:solid #ccc 1px;
	outline:none;
	white-space:nowrap;
}
body .page {
	cursor:text;
}
body #select{
	cursor:text;
}
body .resize_bck {
	cursor:text;
}
body.text .page {
	cursor:crosshair;
}
body.text #select{
	cursor:crosshair;
}
body.text .resize_bck {
	cursor:text;
}
body.spacecut .page {
	cursor:default;
}
body.spacecut #select{
	cursor:default;
}
body.spacecut .resize_bck {
	cursor:col-resize;
}
body.rcw .page{
	cursor:url('images/rcw.cur'), auto;
}
body.rccw .page{
	cursor:url('images/rccw.cur'), auto;
}
body.eraser .page {
	cursor:default;
}
body.eraser #select{
	cursor:default;
}
body.eraser .resize_bck {
	cursor:pointer;
	background:#ff0000;	
}

#editor {
	margin-right:200px;
}
.gx_viewport {
	position:relative;
	/*background: none repeat scroll 0 0 #F0F0F0;*/
}
.gx_viewport .gx_tmp .loading {
	position:fixed;
	top:0px;
	left:0px;
	background:red;
	color:white;
	padding:3px 5px;
}
#searcher {
	float:right;
	position:relative;
	width:216px;
	padding-left:4px;
	left:1px;
}
#searchbtn {
	display:none;
}
#searchpane {
	background:#f0f0f0;
}
#searchtxt {
	width:186px;
	margin-top: 4px;
	padding-right:20px;
	font-family: Arial,Verdana,Sans-serif;
}
#searchtxt.empty {
	
	color:#aaa;
}
#searchpane span {
	background-color: transparent;
	border: none;
	color: transparent;
	font-size: 0px;
	position: absolute;
	top:6px;
	width:15px;
	height:15px;
	cursor:pointer;
	
}
#searchpane span.search {
	background: transparent url('images/search.png') no-repeat 0px center !important;
	right:8px;
}
#searchpane span.search:hover {
	background: transparent url('images/search.png') no-repeat -51px center !important;
}
#searchpane span.close {
	background: transparent url('images/search.png') no-repeat -18px center !important;
	right:8px;
	display:none;
}
#searchpane span.close:hover {
	background: transparent url('images/search.png') no-repeat -33px center !important;
}
body.searching #searcher {
	background:#f0f0f0;
	border-radius:5px 5px 0 0;
	-moz-border-radius:5px 5px 0 0;
	-webkit-border-radius:5px 5px 0 0;
	top:3px;
}
body.searching #searchtxt {
	width:170px;
	padding-right:36px;
}
body.searching #searchpane span.search {
	right:25px;
}
body.searching #searchpane span.close {
	display:block;
}
#searchresults {
	float:right;
	height:497px;
	overflow-y:auto;
	width:220px;
	background:#f0f0f0;
	text-align:center;
	position:relative;
	-moz-user-select:none !important;
	-webkit-user-select:none;
	display:none;
	text-align:left;
}
body.searching #searchresults {
	display:block;
}
body.searching #thumbs {
	display:none;
}
#searchresults ol {
	padding:0 0 0 30px;
	font-size:0.9em;
}
#searchresults ol li {
	list-style:decimal !important;
	text-align:left;
	cursor:pointer;
	padding:2px;
	font-weight:normal;
}
#searchresults ol li:hover{
	background:#99f;
}
#searchresults ol .prev, #searchresults ol .next{
	color:#666px;
}
#searchresults ol strong {
	font-size:1.1em;
}
#thumbs {
	float:right;
	height:497px;
	/*height:533px;*/
	overflow-y:auto;
	width:220px;
	background:#f0f0f0;
	text-align:center;
	position:relative;
	-moz-user-select:none !important;
	-webkit-user-select:none;
}
#thumbs ol {
	margin:0 0 0 25px;
	padding:0;
	list-style:none;
}
#thumbs label {
	position:absolute;
	top:0;
	right:100%;
	text-align:right;
	padding:0 5px 0 0;
	font-weight:normal;
}
#thumbs .thumb {
	border:solid #ccc 1px;
	margin: 10px 0;
	width:170px;
	cursor:pointer;
	position:relative;
	box-shadow:1px 2px 4px #666;
	-moz-box-shadow:1px 2px 4px #666;
	-webkit-box-shadow:1px 2px 4px #666;
}
#thumbs .thumb div {
	max-height:300px;
	overflow:hidden;
}
#thumbs .thumb:hover {
	border-color:#3333ff;
}
#thumbs .thumb img {
	vertical-align:top;
	dposition:relative;
	dmax-height:300px;
}
#thumbs .selected {	
	border-color:#3333ff;
}

#pdfeditor {
width:100%;
}
.numeric {
	position:relative;
	height:26px;
}
.numeric input {
	
	dvertical-align:sub;
	width:20px;
}
.numeric .up {
	position:absolute;
	width:15px;
	height:9px;
	background:url('images/numupdown.gif') no-repeat 0 0;
	top:-1px;
	right:2px;
}
.numeric .up:hover {
	background-position:-15px 0;
}
.numeric .down {
	position:absolute;
	width:15px;
	height:9px;
	background:url('images/numupdown.gif') no-repeat 0 -9px;
	bottom:1px;
	right:2px;
}
.numeric .down:hover {
	background-position:-15px -9px;
}

@media screen and (-webkit-min-device-pixel-ratio:0)
{ 
	#viewer {
		margin-right:0;
		overflow-y:hidden;
	}
}
body.gdm-fs {
	overflow:hidden;
}
body.gdm-fs #pageseditor {
	position:fixed;
	top:0;
	left:0;
	width:100%;
	bottom:0;
	z-index:2000;
}
body.gdm-fs #pageseditor>.loading {
	background:#fff;
	width:100%;
	height:100%;
}
body.gdm-fs #p-logo,body.gdm-fs #p-cactions li.selected a ,#p-search{
	z-index:0;
}
body.gdm-fs.history #pageseditor{
	top:30px;
}
body.gdm-fs.history #history{
	position:fixed;
	top:0;
	left:0;
	width:100%;
}
ul.edittools {
	display:none;
}
body.gdm-editing ul.edittools {
	display:inline-block;
}
#editbtn {
	padding:5px 9px 5px 8px;
	background: linear-gradient(#4D90FE, #4787ED) repeat scroll 0 0 transparent;
    border: 1px solid #3079ED;
    color: white;
}

#editcancel{
	background: linear-gradient(#DD4B39, #D14836) repeat scroll 0 0 transparent;
    border: 1px solid transparent;
    color: white;
	margin-right: 5px;
}

#editcancel:hover{
	background-color: #C53727;
    background-image: -moz-linear-gradient(center top , #DD4B39, #C53727);
    border: 1px solid #B0281A;
}

/*
#editcancel:focus{
    border: 1px solid transparent;
    outline: 0 none transparent;
}
*/

#editbtn:hover{
	background-color: #357AE8;
	background-image: -moz-linear-gradient(center top, #4d90fe, #357AE8);
}

body.gdm-editing #editbtn{
	padding:5px;
}
#zoom {
	width:30px;
}

.linkcont {
	position:relative;
}
.tools ul li.linkcont .linktext {
	background:#ccc;
	position:absolute;
	left:-5px;
	top:22px;
	z-index:10000;
	padding:0 5px 5px;
	display:none;
	-moz-border-radius:0px 0px 5px 5px;	
	-webkit-border-bottom-right-radius:5px;
	-webkit-border-bottom-left-radius:5px;
}
body.link .tools ul li.linkcont .linktext {
	display:block;
}
.linkcont .linktext input {
	width:300px;
}

#sharebox {
	/*border:double #666 3px;*/
	border:2px solid #333;
	background:transparent;
	position:absolute;
	z-index:101;
}
#sharebox .tools_cont {
	position:absolute;
	bottom:0px;
}
#sharebox .tools {
	position:absolute;
	top:2px;
	left:-3px;
	/*width:375px;*/
	width:211px;
	display:none;
	-amoz-border-radius:3px;	
	-awebkit-border-bottom-right-radius:3px;
	-awebkit-border-bottom-left-radius:3px;
	-awebkit-border-top-right-radius:3px;
	border-radius:3px;
	border:solid #ccc 1px;
	padding:0px;
}
.tools #link_text {
	width:339px;
	height:60px;
	margin:3px 0;
	line-height:16px;
	font-size:10px;
	font-family:verdana;
	padding:0;
	vertical-align:top;
	line-height:1em;
}
#sharebox .tools span.tool {
	dpadding:0px 6px;
}
#sharebox .tools ul {
	line-height:16px;
}
#sharebox .tools ul li{
	dline-height:16px;
}
#sharebox .tools span.sharer {
	padding:0px;
}
#sharebox .tools span.sharer img {
	vertical-align:text-top;
}
#commentbox {
	text-align:left;
	padding:0px 5px;
	display:none;
}
.comment #commentbox {
display:block;
}
#shareframe {
	clear:both;
	border:0;
	margin:0;
	padding:0;
	width:100%;
	height:auto;
	display:none;
	overflow:hidden;
}
.docomment #shareframe{
	display:block;
}
.tools span.mail {
	background:url('images/share.png') -22px 0;
}
#sharebox .tools span.comment {
	background-image:url('images/share.png');
	background-position:-47px 0;
}
.tools span.link {
	padding:6px 10px !important;
	dbackground:url('images/link2.png') no-repeat !important;
	background:url('images/share.png') no-repeat !important;
}
#sharebox .sharetool{
	background-position:center center;
}
#creator1_loading {
background:#fff;
border:solid #ccc 3px;
opacity:0.5;
filter:alpha(opacity=50);
z-index:10000;
}
#creator1_loading div {
	position:absolute;
	top:50%;
	left:45%;
	background:#000;
	color:#fff;
	font-weight:bold;
	padding:0px;
	
}
.page span.comment {
	dborder:solid #ccc 1px;
	border: 1px dashed #CCCCCC;
	z-index:10;
	/*cursor:pointer;*/
	line-height:2000em; 
	/*overflow:hidden;*/
	overflow:visible;
	background:transparent url('images/trans.gif') repeat;
}
.gdm-fs .tools {
	margin-top:0px !important;
}
.nocomments .page span.comment {
	display:none;
}
#pageseditor>.loading {
	clear:both;
}


.loading-sign{
  bottom: 0;
    left: 0;
    margin: auto;
    position: absolute;
    right: 0;
    top: 0;
    z-index: 100;
	  padding-bottom: 10px;
    padding-left: 14px;
}

.page_control span{
border:0px none !important;
}

#choose_page{
    width: 17px;
	padding-right:3px;
	text-align:right;
}
.comment-cloud{
    position: absolute;
	bottom:0px;
cursor:pointer;
background:transparent url('images/comments.png') no-repeat;
width:20px;
height:17px;
}


.link .page{
cursor:crosshair;
}

.tool-cont {
    border: 0 none !important;
    margin-bottom: 0 !important;
    margin-left: 0 !important;
    margin-right: 5px;
    margin-top: 0 !important;
    padding: 5px 0 !important;
    width: 5px !important;
}


.nobtn.numeric input {
    color: #444444;
}

#viewtools {
    margin-top: -1px;
    margin-bottom: 1px;	
}

.total_pages{
    font-size: 12px !important;
}

.nobtn.numeric,.total_pages {
    background: none repeat scroll 0 0 transparent !important;
}

#gda-fullscreen,#gda-history,#editbtn,#gda-back-to-editing, #gda-previous-version, #gda-older, #gda-newer,.edittools span {
    margin-right: 5px;
}
#gda-older{
margin-left:5px;
}

.page_control,.zoom {
    bottom: -1px;
    position: relative;
}

.nobtn {
    background: none repeat scroll 0 0 transparent !important;
    border: medium none !important;
}

#gdaMsgCont {
    background-color: #E5E5E5;
    display: none;
}

.systemMsjEnabled {
    background: none repeat scroll 0 0 #CC0000;
    border: 1px solid #666666;
    color: white;
    display: block;
    font-family: Verdana;
    font-size: 12px;
    left: 0;
    padding: 5px;
    position: fixed;
    top: 0;
    z-index: 2000;	
}

.share-screen {
    background: none repeat scroll 0 0 #FFFF00;
    height: 100%;
    opacity: 0.5;
    width: 100%;
}