/* This is a modified version of etherpad/src/static/css/pad2_ejs.css --
   Currently it doesn't load from this directory and must be copied to that
   location to load properly. */

*,html.body,p { margin: 0; padding: 0; }
h1, h2, h3, h4, h5, h6 { font-size: 100%; font-weight: normal; font-style: normal;
  text-decoration: none; margin: 0; padding: 0; }

.clear { clear: both; }

html { font-size: 62.5%; }

body { background: #ebebeb url(/static/img/jun09/pad/backgrad.gif) repeat-x left top; bottom: 0; height:100%;}
body, textarea { font-family: Arial, sans-serif; }

#padpage { margin-left: auto; margin-right: auto; width: 100%; top: 0;position: absolute; bottom:0;}

body.fullwidth #padpage { width: auto; margin-left: 6px; margin-right: 6px; }
body.squish1width #padpage { width: 100%; }
body.squish2width #padpage { width: 100%; }

#topbar { height: 25px;
/* background: #326cbd url(/static/img/jun09/pad/padtopback2.gif) repeat-x left top; */
  position: relative;  display:none;}

#topbarleft { float: left; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.gif) no-repeat left top; width: 5px; display:none; }
#topbarright { float: right; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.gif) no-repeat right top; width: 5px; display:none;}

.propad #topbar { background: #2c2c2c url(/static/img/jun09/pad/protop.gif) repeat-x 0 -25px; display:none;}
.propad #topbarleft { background: url(/static/img/jun09/pad/protop.gif) no-repeat left top; display:none;}
.propad #topbarright { background: url(/static/img/jun09/pad/protop.gif) no-repeat right top; display:none;}

a#backtoprosite, #accountnav {
  display: block; position: absolute; height: 15px; line-height: 15px;
  width: auto; top: 5px; font-size: 1.2em;
}
a#backtoprosite, #accountnav a { color: #cde7ff; text-decoration: underline; }

a#backtoprosite { padding-left: 20px; left: 6px;
  background: url(/static/img/jun09/pad/protop.gif) no-repeat -5px -6px; display:none;}
#accountnav { right: 10px; color: #fff; display:none;}
  
#topbarcenter { margin-left: 150px; margin-right: 150px; display:none;}
a#topbaretherpad { margin-left: auto; margin-right: auto; display: block; width: 103px;
  position: relative; top: 3px; height: 0; padding-top: 20px;
  background: url(/static/img/jun09/pad/padtop5.gif) no-repeat -0px -3px; overflow: hidden; display:none;}

.propad a#topbaretherpad { background: url(/static/img/jun09/pad/protop.gif) no-repeat -397px -3px; display:none;}

#specialkeyarea { top: 5px; left: 250px; color: yellow; font-weight: bold;
  font-size: 1.5em; position: absolute; }

#alertbar { 
}

#servermsg { position: relative; zoom: 1; border: 1px solid #992;
  background: #ffc; padding: 0.8em; font-size: 1.2em; display:none;}
#servermsg h3 { font-weight: bold; margin-right: 10px;
  margin-bottom: 1em; float: left; width: auto; }
#servermsg #servermsgdate { font-style: italic; font-weight: normal; color: #666; }
a#hidetopmsg { position: absolute; right: 5px; bottom: 5px; }

#shuttingdown { position: relative; zoom: 1; border: 1px solid #992;
  background: #ffc; padding: 0.6em; font-size: 1.2em; margin-top: 6px; }

#docbar { margin-top: 6px; height: 25px; position: relative; zoom: 1;
  background: #fbfbfb url(/static/img/jun09/pad/padtopback2.gif) repeat-x 0 -31px; }

.docbarbutton
{
  padding-top: 2px;
  padding-bottom: 2px;
  padding-left: 4px;
  padding-right: 4px;
  border-left: 1px solid #CCC;
  white-space: nowrap;
}

.docbarbutton img
{
  border: 0px;
  width: 13px;
  margin-right: 2px;
  vertical-align: middle;
  margin-top: 3px;
  margin-bottom: 2px;
}

.docbarbutton a
{
  font-size: 10px;
  line-height: 18px;
  text-decoration: none;
  color: #444;
  font-weight: bold;
}

.docbarbutton.highlight
{
  background-color: #fef2bd;
  border: 1px solid #CCC;
  border-right: 0px;
}

#docbarleft { position: absolute; left: 0; top: 0; height: 100%;
  overflow: hidden;
  background: url(/static/img/jun09/pad/padtop5.gif) no-repeat left -31px; width: 7px; }

<% /* changing the size of the title / rename area means adjusting
   the #docbarpadtitle.width, #padtitlebuttons.left,
   and #padtitleedit.width */ %>
  
#docbarpadtitle { position: absolute; height: auto; left: 9px;
  width: 280px; font-size: 1.6em; color: #444; font-weight: normal;
  line-height: 22px; margin-left: 2px; height: 22px; top: 2px;
  overflow: hidden; text-overflow: ellipsis /*not supported in FF*/;
  white-space:nowrap; }
.docbar-public #docbarpadtitle { padding-left: 22px;
  background: url(/static/img/jun09/pad/public.gif) no-repeat left center; }
  
#docbarrenamelink { position: absolute; top: 6px;
  font-size: 1.1em; display: none; }
#docbarrenamelink a { color: #999; }
#docbarrenamelink a:hover { color: #48d; }
#padtitlebuttons { position: absolute; width: 74px; zoom: 1;
  height: 17px; top: 4px; left: 170px; display: none;
  background: url(/static/img/jun09/pad/ok_or_cancel.gif) 0px 0px; }
#padtitlesave { position: absolute; display: block;
  height: 0; padding-top: 17px; overflow: hidden;
  width: 23px; left: 0; top: 0; }
#padtitlecancel { position: absolute; display: block;
  height: 0; padding-top: 17px; overflow: hidden;
  width: 35px; right: 0; top: 0; }
#padtitleedit { position: absolute; top: 2px; left: 5px;
  height: 15px; padding: 2px; font-size: 1.4em;
  background: white; border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
  width: 150px; display: none;
}
  
#padmain { margin-top: 0px; position: relative; zoom: 1; bottom:0; height:100%;}

#padeditor { zoom: 1; }
.hidesidebar #padeditor { margin-right: 0; }

.editbar { height: 36px;
/*  background: #a5bfe2 url(/static/img/jun09/pad/editbar_background.gif)* repeat-x; */
position: relative; }

.editbarleft { float: left; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/editbar_background_left.gif) no-repeat left top; width: 2px; display:none;}
.editbarright { float: right; height: 100%; overflow: hidden;
  background: url(/static/img/jun09/pad/editbar_background_right.gif) no-repeat right top; width: 2px; display:none;}

.editbartable
{
  position:absolute;
  top: 6px;
  left: 0px;
  width: 240px;
  height: 24px;
  padding-left:7px;
padding-right:-7px; 
  width:100%;
}

.editbarsavetable
{
  position:absolute;
  top: 6px;
  right: 7px;
  height: 24px;
  width:23px;
}

.editbarsavetable td, .editbartable td
{
  white-space: nowrap;
}

.editbarbutton
{
  border-top: 1px solid #8b9eba;
  border-bottom: 1px solid #8b9eba;
  border-left: 1px solid #758aa9;
  background-color: white;
}

.editbarbutton img
{
  margin: 0px 2px;
  border: 0px;
  width: 16px;
  height: 16px;
}

.editbarbutton a:active
{
  position: relative;
  top: 1px;
  left: 1px;
}

.editbargroupsfirst
{
  border-left-width: 0px !important;
}

.editbar #syncstatussyncing { position: absolute; height: 26px; width: 26px;
  background: url(/static/img/jun09/pad/syncing2.gif) no-repeat center center;
  right: 38px; top: 5px; display: none; }
.editbar #syncstatusdone { position: absolute; height: 26px; width: 26px;
  background: url(/static/img/jun09/pad/syncdone.gif) no-repeat center center;
  right: 38px; top: 5px; display: none; }
  
#editorcontainerbox {
/*  border-left: 1px solid #c4c4c4; border-right: 1px solid #c4c4c4;
  border-bottom: 1px solid #c4c4c4;
*/
  background: #fff; overflow: hidden;
  zoom: 1; 
  position:absolute;
  bottom: 0;
  top: 38px;
  width:100%;
}
#editorcontainer {position: absolute; top: 0; bottom:0; width: 100%; }
  
#editorcontainer iframe { width: 100%; padding: 0; margin: 0; position:absolute; top:0px; bottom:0; left:0; right:0; height: 100%;}

#editorloadingbox { padding-top: 100px; padding-bottom: 100px; font-size: 2.5em;  color: #aaa;
   text-align: center; position: absolute; width: 100%; height: 30px; z-index: 100; }

#padsidebar { float: right; width: 290px; display:none;}
.hidesidebar #padsidebar { width: 0; overflow: hidden; }

#padusers { border: 1px solid #c4c4c4; background: #fafafa; position: relative; zoom: 1; }

#myuser { background: #d9e7f9; padding: 5px; height: 53px; position: relative; display:none;}
#myswatchbox { position: absolute; left: 5px; top: 5px; width: 22px; height: 22px;
  /*border-top: 1px solid #c3cfe0; border-left: 1px solid #c3cfe0;
  border-right: 1px solid #ecf3fc; border-bottom: 1px solid #ecf3fc;*/
  border: 1px solid #bbb;
  padding: 1px; background: transparent; cursor: pointer; }
#myuser .myswatchboxhoverable, #myuser .myswatchboxunhoverable {
  background: white;
display:none;
}
#myuser .myswatchboxhoverable:hover {
  background: #bbb;
display:none;
}
#myswatch { width: 100%; height: 100%; background: transparent;/*...initially*/;display:none; }
#mycolorpicker {
  background: url(/static/img/jun09/pad/colorpicker.gif) no-repeat left top;
  width: 232px; height: 140px;
  position: absolute;
  left: 13px; top: 13px; z-index: 101;
  display: none;/*...initially*/
}
#mycolorpicker .n1 { left: 13px; display:none;}
#mycolorpicker .n2 { left: 40px; display:none;}
#mycolorpicker .n3 { left: 67px; display:none;}
#mycolorpicker .n4 { left: 94px; display:none;}
#mycolorpicker .n5 { left: 121px; display:none;}
#mycolorpicker .n6 { left: 148px; display:none;}
#mycolorpicker .n7 { left: 175px; display:none;}
#mycolorpicker .n8 { left: 202px; display:none;}

#mycolorpicker .n9  { left: 13px; top: 34px ! important;}
#mycolorpicker .n10 { left: 40px; top: 34px ! important;}
#mycolorpicker .n11 { left: 67px; top: 34px ! important;}
#mycolorpicker .n12 { left: 94px; top: 34px ! important;}
#mycolorpicker .n13 { left: 121px; top: 34px ! important;}
#mycolorpicker .n14 { left: 148px; top: 34px ! important;}
#mycolorpicker .n15 { left: 175px; top: 34px ! important;}
#mycolorpicker .n16 { left: 202px; top: 34px ! important;}

#mycolorpicker .n17  { left: 13px; top: 56px ! important;}
#mycolorpicker .n18 { left: 40px; top: 56px ! important;}
#mycolorpicker .n19 { left: 67px; top: 56px ! important;}
#mycolorpicker .n20 { left: 94px; top: 56px ! important;}
#mycolorpicker .n21 { left: 121px; top: 56px ! important;}
#mycolorpicker .n22 { left: 148px; top: 56px ! important;}
#mycolorpicker .n23 { left: 175px; top: 56px ! important;}
#mycolorpicker .n24 { left: 202px; top: 56px ! important;}

#mycolorpicker .n25  { left: 13px; top: 78px ! important;}
#mycolorpicker .n26 { left: 40px; top: 78px ! important;}
#mycolorpicker .n27 { left: 67px; top: 78px ! important;}
#mycolorpicker .n28 { left: 94px; top: 78px ! important;}
#mycolorpicker .n29 { left: 121px; top: 78px ! important;}
#mycolorpicker .n30 { left: 148px; top: 78px ! important;}
#mycolorpicker .n31 { left: 175px; top: 78px ! important;}
#mycolorpicker .n32 { left: 202px; top: 78px ! important;}

#mycolorpicker .pickerswatchouter {
  border: 1px solid white;
  width: 15px; height: 15px; position: absolute;
  top: 12px;
display:none;
}
#mycolorpicker .pickerswatch {
  border: 1px solid #999;
  width: 13px;
  height: 13px;
  position: absolute;
  left: 0; top: 0;
display:none;
}
#mycolorpicker .picked { border: 1px solid #666 !important; }
#mycolorpicker .picked .pickerswatch { border: 1px solid #666; }
#mycolorpickersave { position: absolute; left: 14px; top: 102px;
  width: 47px; height: 0; padding-top: 20px; overflow: hidden;
  cursor: pointer; }
#mycolorpickercancel { position: absolute; left: 87px; top: 102px;
  width: 44px; height: 0; padding-top: 20px; overflow: hidden;
  cursor: pointer; display:none;}
#myusernameform { margin-left: 35px; display:none;}
#myusernameedit { font-size: 1.6em; color: #444;
  padding: 3px; height: 18px; margin: 0; border: 0;
  width: 197px; background: transparent; display:none;}
#myusernameform input.editable { border: 1px solid #bbb; display:none;}
#myuser .myusernameedithoverable:hover { background: white; }
#mystatusform { margin-left: 35px; margin-top: 5px; }
#mystatusedit { font-size: 1.2em; color: #777;
  font-style: italic; display: none;
  padding: 2px; height: 14px; margin: 0; border: 1px solid #bbb;
  width: 199px; background: transparent; display:none;}
#myusernameform .editactive, #myusernameform .editempty {
  background: white;  border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;display:none;
}
#myusernameform .editempty { color: #ef641e; display:none;}

#otherusers {
  height: 100px;/*...initially*/
  overflow: auto;
display:none;
}
  
table#otheruserstable { display: none; }
#nootherusers { padding: 10px; font-size: 1.2em; color: #999; font-weight: bold;display:none;}
#nootherusers a { color: #48d; display:none;}

#otheruserstable td {
  border-bottom: 1px solid #e1e1e1;
  height: 26px;
  vertical-align: middle;
  padding: 0 2px;
display:none;
}

#otheruserstable .swatch {
  border: 1px solid #999; width: 13px; height: 13px; overflow: hidden;
  margin: 0 4px;
display:none;
}

.usertdswatch { width: 1%; }
.usertdname { font-size: 1.3em; color: #444; }
.usertdstatus { font-size: 1.1em; font-style: italic; color: #999; }
.usertdactivity { font-size: 1.1em; color: #777; }

.usertdname input { border: 1px solid #bbb; width: 80px; padding: 2px; }
.usertdname input.editactive, .usertdname input.editempty {
  background: white;  border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
}
.usertdname input.editempty { color: #888; font-style: italic;}

#userlistbuttonarea { height: 28px; position: relative;
  background: url(/static/img/jun09/pad/inviteshare2.gif) repeat-x 0 0; display:none;}
#sharebutton {
  background: url(/static/img/jun09/pad/inviteshare2.gif) no-repeat 0 -31px;
  position: absolute; display: block; top: 3px; padding-top: 23px;
  height: 0; overflow: hidden; width: 96px; left: 96px; display:none;}

  /*#guestslabel { font-size: 1.2em; position: absolute; width: auto;
  height: 22px; line-height: 22px; top: 4px; left: 8px; display:none;}
#guestsmenu { font-size: 1.2em; position: absolute; left: 100px;
  top: 5px; width: 95px; }
.guestpolicystuff { display: none; }*/

.guestprompt { border: 1px solid #ccc; font-size: 1.2em;
  padding: 5px; color: #222; background: #ffc; }
.guestprompt .choices { float: right; }
.guestprompt a { margin: 0 0.5em; }

#hdraggie {
  background: url(/static/img/jun09/pad/hdraggie.gif) repeat-x center top;
  height: 10px; cursor: S-resize; }

#padchat { border: 1px solid #c4c4c4; display:none;}

#chattop { background: #ecf2fa; padding: 5px; font-size: 1.2em; border-bottom: 1px solid #ddd; display:none;}
#chattop a { color: #36b; display:none;}
#chatlines { height: 198px;/*...initially*/ overflow: auto; background: #fafafa; position: relative; display:none;}
#chatlines .chatline { color: #444; padding-left: 5px; padding-top: 2px; padding-bottom: 2px;
  background: #ddd; overflow: hidden; display:none;}
#chatlines .chatlinetime { display: block; font-size: 1em; color: #666; float: right; width: auto;
  padding-right: 5px; }
#chatlines .chatlinename, #chatlines .chatlinetext { font-size: 1.2em; }
#chatlines h2 { margin: 0; padding-left: 5px; padding-top: 2px; padding-bottom: 2px; color: #999; font-style: italic; font-weight: bold; font-size: 1.2em; }
#chatbottom { background: #ecf2fa; padding: 4px; }
#chatprompt { font-size: 1.2em; color: #444; float: left; line-height: 22px; width: 35px; text-align: right; }
#chatentryform { margin-left: 40px; }
#chatentrybox { font-size: 1.2em; color: #444;
  padding: 2px; height: 16px; margin: 0; border-left: 1px solid #c3c3c3;
  border-top: 1px solid #c3c3c3;
  border-right: 1px solid #e6e6e6; border-bottom: 1px solid #e6e6e6;
  width: 230px; }
#padchat a#chatloadmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic; }
#padchat #chatloadingmore { display: none; font-size: 1.2em; padding: 2px 5px; font-style: italic;
  color: #999; }
#padchat a#chatloadmore:focus { outline: 0; }

#djs { font-family: monospace;  font-size: 10pt;
  height: 200px;  overflow: auto; border: 1px solid #ccc;
  background: #fee; margin: 0; padding: 6px;
}
#djs p { margin: 0; padding: 0; display: block; }

#connectionbox {
  position: absolute; left: 0; top: 0; width: 100%;
  height: 191px;/*...initially; #padusers height */
  z-index: 10; zoom: 1; overflow: hidden; display:none;
}
#connectionboxinner {
  position: relative; width: 100%; height: 100%; overflow: hidden; display:none;
}
.cboxconnecting #connectionboxinner {
  background: #ffd url(/static/img/jun09/pad/connectingbar.gif) no-repeat center 60px; display:none;
}
.cboxreconnecting #connectionboxinner {
  background: #fed url(/static/img/jun09/pad/connectingbar.gif) no-repeat center 60px; display:none;
}
.cboxdisconnected #connectionboxinner {
  background: #fdd; display:none;
}
.cboxdisconnected #connectionboxinner div { display: none; }
.cboxdisconnected_userdup #connectionboxinner #disconnected_userdup { display: block; }
.cboxdisconnected_initsocketfail #connectionboxinner #disconnected_initsocketfail { display: block; }
.cboxdisconnected_looping #connectionboxinner #disconnected_looping { display: block; }
.cboxdisconnected_slowcommit #connectionboxinner #disconnected_slowcommit { display: block; }
.cboxdisconnected_unauth #connectionboxinner #disconnected_unauth { display: block; }
.cboxdisconnected_unknown #connectionboxinner #disconnected_unknown { display: block; }
.cboxdisconnected_initsocketfail #connectionboxinner #reconnect_advise,
.cboxdisconnected_looping #connectionboxinner #reconnect_advise,
.cboxdisconnected_slowcommit #connectionboxinner #reconnect_advise,
.cboxdisconnected_unknown #connectionboxinner #reconnect_advise { display: block; }
.cboxdisconnected div#reconnect_form { display: block; }
.cboxdisconnected .disconnected h2 { display: none; }
.cboxdisconnected .disconnected .h2_disconnect { display: block; }
.cboxdisconnected_userdup .disconnected h2.h2_disconnect { display: none; }
.cboxdisconnected_userdup .disconnected h2.h2_userdup { display: block; }
.cboxdisconnected_unauth .disconnected h2.h2_disconnect { display: none; }
.cboxdisconnected_unauth .disconnected h2.h2_unauth { display: block; }

#connectionstatus {
  position: absolute; width: 37px; height: 32px; overflow: hidden;
  right: 0;
  z-index: 11;
}
#connectionboxinner .connecting {
  margin-top: 20px;
  font-size: 2.0em; color: #555;
  text-align: center; display: none;
}
.cboxconnecting #connectionboxinner .connecting { display: block; }

#connectionboxinner .disconnected h2 {
  font-size: 1.8em; color: #333;
  text-align: left;
  margin-top: 10px; margin-left: 10px; margin-right: 10px;
  margin-bottom: 10px;
}
#connectionboxinner .disconnected p {
  margin: 10px 10px;
  font-size: 1.2em;
  line-height: 1.1;
  color: #333;
}
#connectionboxinner .disconnected { display: none; }
.cboxdisconnected #connectionboxinner .disconnected { display: block; }

#connectionboxinner .reconnecting {
  margin-top: 20px;
  font-size: 1.6em; color: #555;
  text-align: center; display: none;
}
.cboxreconnecting #connectionboxinner .reconnecting { display: block; }

#reconnect_form button {
  position: relative; width: 268px; height: 28px; left: 10px;
  font-size: 12pt;
}

/* We give docbar a higher z-index than its descendant impexp-wrapper in
   order to allow the Import/Export panel to be on top of stuff lower
   down on the page in IE.  Strange but it works! */
#docbar { z-index: 52; }

#impexp-wrapper { width: 650px; right: 10px; }
#impexp-panel { height: 160px; }
.docbarimpexp-closing #impexp-wrapper { z-index: 50; }

#savedrevs-wrapper { width: 100%; left: 0; }
#savedrevs-panel { height: 79px; }
.docbarsavedrevs-closing #savedrevs-wrapper { z-index: 50; }
#savedrevs-wrapper .dbpanel-rightedge { background-position: 0 -10px; }

#options-wrapper { width: 340px; right: 200px; }
#options-panel { height: 114px; }
.docbaroptions-closing #options-wrapper { z-index: 50; }

#security-wrapper { width: 320px; right: 300px; }
#security-panel { height: 130px; }
.docbarsecurity-closing #security-wrapper { z-index: 50; }

#revision-notifier { position: absolute; right: 8px; top: 25px;
  width: auto; height: auto; font-size: 1.2em; background: #ffc;
  border: 1px solid #aaa; color: #444; padding: 3px 5px;
  display: none; z-index: 55; }
#revision-notifier .label { color: #777; font-weight: bold; }

/* We don't ever actually hide the wrapper, even when the panel is
   cloased, so that its contents can always be manipulated accurately. */
.dbpanel-wrapper { position: absolute;
  overflow: hidden; /* animated: */ height: 0; top: 25px; /* /animated */
  z-index: 51; zoom: 1; }
.dbpanel-panel { position: absolute; bottom: 0; width: 100%; }

.dbpanel-middle { margin-left: 7px; margin-right: 7px;
  position: relative; height: 100%; overflow: hidden; zoom: 1; }
.dbpanel-inner { background: #f7f7f7 /* covered up by images */;
  width: 100%; height: 100%; position: absolute; overflow: hidden; top: -10px; }

.dbpanel-top { position: absolute; top: 0; width: 100%;
  height: 400px; background-image: url(/static/img/jun09/pad/docpanelmiddle2.png);
  background-position: left top; }

.dbpanel-bottom { position: absolute; height: 400px;
  bottom: -390px; width: 100%;
  background-image: url(/static/img/jun09/pad/docpanelmiddle2.png);
  background-position: left top;
}

* html .dbpanel-top, * html .dbpanel-bottom { /* for IE 6+ */
  background-color: transparent;
  background-image: url(/static/img/apr09/blank.gif);
  /* scale the image instead of repeating, but it amounts to the same */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpanelmiddle2.png", sizingMethod="scale");
}

.dbpanel-leftedge, .dbpanel-rightedge, .dbpanel-botleftcorner, .dbpanel-botrightcorner {
  position: absolute; 
  background-repeat: no-repeat;
  background-color: transparent;
  background-image: url(/static/img/jun09/pad/docpaneledge2.png);
}

.dbpanel-leftedge, .dbpanel-rightedge { height: 100%; width: 7px; bottom: 11px; }
.dbpanel-botleftcorner, .dbpanel-botrightcorner { height: 11px; width: 7px; bottom: 0; }

.dbpanel-leftedge, .dbpanel-botleftcorner { left: 0; background-position: -7px 0; }
.dbpanel-rightedge, .dbpanel-botrightcorner { right: 0; background-position: 0 0; }

#importexport { position: absolute; top: 5px; left: 0; font-size: 1.2em; color: #444;
  height: 100%; width: 100%; }

* html .dbpanel-leftedge, * html .dbpanel-rightedge, * html .dbpanel-botleftcorner, * html .dbpanel-botrightcorner {
  background-color: transparent;
  background-image: url(/static/img/apr09/blank.gif);
  /* crop the image */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/docpaneledge2.png", sizingMethod="crop");
}
* html .dbpanel-leftedge, * html .dbpanel-botleftcorner { left: -7px;  width: 14px; }

#impexp-importlabel { position: absolute; top: 5px; left: 10px; width: 300px; }

#importform { position: absolute; top: 24px; left: 5px; width: 300px; height: 60px; }
#importformsubmitdiv, #importformfilediv { padding: 5px 5px; }
#importexport .importformenabled {
  background: #cfc;
  border: 1px solid #292;
}
#importexport span.nowrap { white-space: nowrap; }
#importexport #importstatusball { margin-left: 3px; padding-top: 1px; display: none; }
#importexport #importarrow { margin-left: 5px; padding-top: 1px; display: none; }
#importexport .importmessage { border: 1px solid #992;
  background: #ffc; padding: 5px; font-size: 85%; display: none; }
#importexport #importmessagefail { margin-top: 5px; }
#importexport #importmessagesuccess { margin: 0 20px; }
#importexport a.disabledexport {
  color: #333; text-decoration: none;
  opacity: 0.5; filter: alpha(opacity = 50) /*IE*/;
}
#importexport #importfileinput { padding: 2px 0; }
#importexport #importsubmitinput { padding: 2px; }

#impexp-divider { position: absolute; left: 320px; top: 5px; height: 135px; width: 2px;
  background: #ddd; }
#impexp-close { display: block; position: absolute; right: 2px; bottom: 15px;
  width: auto; height: auto; font-size: 85%; color: #444;
  z-index: 61 /* > clickcatcher */}
#impexp-disabled-clickcatcher {
  display: none;
  position: absolute; width: 100%; height: 100%;
  z-index: 60;
}

#impexp-exportlabel { position: absolute; top: 5px; left: 350px;
  width: 300px; }
#exportlinks .exportlink {
  display: block; position: absolute; height: 22px; width: auto;
  background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/fileicons.gif);
  line-height: 22px; padding-left: 22px; padding-right: 2px;
}
#exportlinks .n1 { left: 350px; top: 30px; }
#exportlinks .n2 { left: 350px; top: 57px; }
#exportlinks .n3 { left: 350px; top: 84px; }
#exportlinks .n4 { left: 485px; top: 30px; }
#exportlinks .n5 { left: 485px; top: 57px; }
#exportlinks .n6 { left: 485px; top: 84px; }
#exportlinks .exporthrefdoc { background-position: 2px -1px; }
#exportlinks .exporthrefhtml { background-position: 2px -25px; }
#exportlinks .exporthreflink { background-position: 2px -49px; }
#exportlinks .exporthrefodt { background-position: 2px -73px; }
#exportlinks .exporthrefpdf { background-position: 2px -97px; }
#exportlinks .exporthreftxt { background-position: 2px -121px; }

#savedrevisions { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; }
#savedrevs-scrolly { height: 75px; width: auto; margin-right: 136px;
  overflow: hidden; position: relative; top: 1px;
}
#savedrevs-scrollleft { height: 100%; width: 14px; position: absolute;
  left: 0; top: 0; cursor: pointer;
  background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat right top;
}
#savedrevs-scrollright { height: 100%; width: 14px; position: absolute;
  right: 0; top: 0; cursor: pointer;
  background: url(/static/img/jun09/pad/savedrevarrows.gif) no-repeat left top;
}
#savedrevs-scrolly .disabledscrollleft { background-position: right bottom; }
#savedrevs-scrolly .disabledscrollright { background-position: left bottom; }
#savedrevs-scrollouter { margin-left: 14px; margin-right: 14px;
  width: auto; height: 100%; overflow: hidden; position: relative;
}
#savedrevs-scrollinner { position: absolute; width: 1px; height: 100%;
  overflow: visible; right: 0/*...initially*/; top: 0; }
#savedrevisions .srouterbox { width: 120px; height: 100%;
  position: absolute; top: 0;
}
#savedrevisions .srinnerbox { position: relative; top: 8px;
  height: 59px; width: auto; border-left: 1px solid #ddd;
  padding: 0 8px 0 8px; }
#savedrevisions a.srname { display: block; white-space: nowrap;
  text-overflow: ellipsis /*no FF support*/; overflow: hidden;
  text-decoration: none; color: #444; cursor: text;
  padding: 1px; height: 14px;  position: relative; left: -1px;
  width: 100px /*specify for proper overflow in IE*/;
}
#savedrevisions a.srname:hover { text-decoration: none; color: #444;
  border: 1px solid #ccc; padding: 0; }
#savedrevisions .sractions { font-size: 85%; color: #ccc;
 margin-top: 1px; height: 12px; }
#savedrevisions .sractions a { text-decoration: none;
  color: #06c; }
#savedrevisions .sractions a:hover { text-decoration: underline; }
#savedrevisions .srtime { color: #666; font-size: 90%;
 white-space: nowrap; margin-top: 3px; }
#savedrevisions .srauthor { color: #666; font-size: 90%;
 white-space: nowrap; overflow: hidden; text-overflow: ellipsis /*no FF*/;
}
#savedrevisions .srtwirly { position: absolute; display: block;
  bottom: 0; right: 10px; display: none; }
#savedrevisions .srnameedit {
  position: absolute;
}
#savedrevs-savenow { display: block; position: absolute;
  overflow: hidden; height: 0; padding-top: 24px; width: 81px;
  top: 22px; right: 27px;
  background: url(/static/img/jun09/pad/savedrevsgfx2.gif) no-repeat 0 0;
}
#savedrevs-savenow:active { background-position: 0 -24px; }
#savedrevs-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }
form#reconnectform { display: none; }

#padoptions { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; line-height: 15px; }
#options-viewhead { font-weight: bold; position: absolute; top: 10px; left: 15px;
  width: auto; height: auto; }
#padoptions label { display: block; }
#padoptions input { padding: 0; margin: 0; }
#options-colorscheck { position: absolute; left: 15px; top: 34px; width: 15px; height: 15px; }
#options-colorslabel { position: absolute; left: 35px; top: 34px; }
#options-linenoscheck { position: absolute; left: 15px; top: 57px; width: 15px; height: 15px; }
#options-linenoslabel { position: absolute; left: 35px; top: 57px; }
#options-fontlabel { position: absolute; left: 15px; top: 82px; }
#viewfontmenu { position: absolute; top: 80px; left: 90px; width: 110px; }
#options-viewexplain { position: absolute; left: 215px; top: 15px; width: 100px; height: 70px;
  padding-left: 10px; padding-top: 10px; border-left: 1px solid #ccc;
  line-height: 20px; font-weight: bold; color: #999; }
#options-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }

#padsecurity { position: absolute; top: 0; left: 0; font-size: 1.2em;
  color: #444; height: 100%; width: 100%; line-height: 15px; }
#security-close { display: block; position: absolute; right: 7px; bottom: 8px;
  width: auto; height: auto; font-size: 85%; color: #444; }
#security-passhead { font-weight: bold; position: absolute; top: 90px; left: 15px;
  width: auto; height: auto; }
#security-passbody { position: absolute; left: 75px; top: 90px; }
#security-passwordedit { height: 15px; border: 1px solid #bbb;
  position: absolute; top: 0; left: 15px; width: 120px; }
#security-password a { text-decoration: none; display: block;
  width: auto; height: auto; }
#password-savelink, #password-cancellink {position: absolute; top: 0; }
#security-password a:hover { text-decoration: underline; }
#password-savelink { left: 144px; color: #06c; }
#password-cancellink { left: 180px; color: #666; }
#password-nonedit { left: 15px; position: absolute;
  width: 220px; top: 0; }
#password-setlink { color: #06c; }
#password-clearlink { color: #06c; }
#password-display { height: 15px; width: auto; }
#password-inedit { display: none; }
#password-display, #password-setlink, #password-clearlink {
  float: left; margin-right: 10px;
}
#password-display { font-size: 18px; }
#security-password .nopassword #password-display { font-size: 100%; }
#security-password .nopassword #password-clearlink { display: none; }
#security-password .nopassword #password-setlink { left: 60px; }

#security-access { position: absolute; left: 15px; width: 200px; }
#security-accesshead { font-weight: bold; position: absolute; top: 10px;
  left: 0; width: auto; height: auto; }
#security-access input, #security-access label { position: absolute; }
#security-access input { left: 10px; }
#security-access label { left: 30px; width: 250px; }
#access-private, #access-private-label { top: 35px; }
#access-public, #access-public-label { top: 60px; }
#security-access label { color: #999;  }
#security-access label strong { font-weight: normal; padding-right: 10px;
  color: #444; }

#mainmodals { z-index: 600; /* higher than the modals themselves
                               so that modals are on top in IE */ }

.modalfield { font-size: 1.2em; padding: 1px; border: 1px solid #bbb;
  position: absolute;}
#mainmodals .editempty { color: #aaa; }

<% feedbackbox = {width:400, height:270}; %>
#feedbackbox {
  position: absolute; display: none;
  width: <%=feedbackbox.width%>px; height: 0px;
  left: 100px/*set in code*/; bottom: 50px;
  z-index: 501; zoom: 1;
}
#feedbackbox-tl, #feedbackbox-tr, #feedbackbox-bl, #feedbackbox-br,
#feedbackbox-hide, #feedbackbox-send, #feedbackbox-back {
  position: absolute; display: block;
  background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/feedbackbox2.gif);
}
#feedbackbox-tl { width: <%=feedbackbox.width-8%>px;
  height: <%=feedbackbox.height-8%>px; left: 0; top: 0;
  background-position: left top; }
#feedbackbox-tr { width: 8px; height: <%=feedbackbox.height-8%>px;
  right: 0; top: 0; background-position: right top; }
#feedbackbox-bl { width: <%=feedbackbox.width-8%>px;
  height: 8px; left: 0; bottom: 0;
  background-position: left bottom; }
#feedbackbox-br { width: 8px; height: 8px; bottom: 0; right: 0;
  background-position: right bottom; }
#feedbackbox-hide { width: 22px; height: 0px; right: 9px; top: 7px;
  background-position: -569px -6px;
}
#feedbackbox-back { width: <%=feedbackbox.width-16%>px;
  height: <%=feedbackbox.height-16%>px; left: 8px; top: 8px;
  background-position: -8px -8px;
  background-color: white; }
#feedbackbox-contents { width: <%=feedbackbox.width-16%>px;
  height: <%=feedbackbox.height-16%>px; left: 8px; top: 8px;
  position: absolute; font-size: 1.4em; color: #444; }
#feedbackbox-contentsinner { padding: 10px; }
#feedbackbox-send { width: 50px; height: 0px; right: 15px; bottom: 15px;
  background-position: -535px -363px;
}
#feedbackbox-email { left: 90px; top: 48px; width: 356px; height: auto; }
#feedbackbox-message { left: 90px; top: 84px; width: 358px; height: 100px; }
#feedbackbox-response { position: absolute; bottom: 15px; left: 15px;
  width: 390px; height: auto; font-size: 1.2em; display: none; }
#feedbackbox .goodresponse { font-weight: bold; color: green; }
#feedbackbox .badresponse { font-weight: bold; color: red; }
#feedbackbox p { margin-bottom: 1em; }
#feedbackbox ul { margin: 1em 0 1em 2em }
#feedbackbox li { padding: 0.3em 0; }
#feedbackbox li a { display: block; font-weight: bold; }
#feedbackbox li a:hover { background: #ffe; }
#feedbackbox a, #feedbackbox li a:visited { color: #47b; }
#feedbackbox tt { font-size: 110%; }

<% var shareboxfull = {width:485, height:326}; %>
#sharebox {
  position: absolute;
  width: 485px;
  left: 300px/*set in code*/; top: 100px; display: none;
  z-index: 501; zoom: 1;
  overflow: hidden;
  background: white; border: 1px solid #999; display:none;
}
#sharebox { height: 160px; display:none;}
.nonprouser #sharebox { height: 110px/*set in code*/; display:none;}
#sharebox-inner { width: 100%; display:none;}
#sharebox-forms { position: absolute; top: 50px; width: 100%; display:none;}
#sharebox-hide, #sharebox-send {
  position: absolute; background-repeat: no-repeat;
  background-image: url(/static/img/jun09/pad/sharebox4.gif);
display:none;
}
#sharebox-hide, #sharebox-send { display: block; display:none;}
#sharebox-hide { width: 22px; height: 0px; right: 9px; top: 7px;
  background-position: <%= -(shareboxfull.width-31) %>px -6px;
display:none;}
#sharebox-send { width: 87px; height: 0px; right: 15px; top: <%= shareboxfull.height-22-15 %>px;
  background-position: <%= -(shareboxfull.width-87-15) %>px <%= -(shareboxfull.height-22-15) %>px;
display:none;}
#sharebox-url { position: absolute; left: 20px; top: 42px; width: 440px; height: 18px;
  text-align: left; font-size: 1.3em; line-height: 18px; padding: 2px; display:none;}

#sharebox-to { left: 90px; top: 117px; height: auto; width: 378px; background: #ffe; display:none;}
#sharebox-subject { left: 90px; top: 150px; height: auto; width: 378px; font-weight: bold; display:none;}
#sharebox-message { left: 90px; top: 182px; width: 380px; height: 90px; }
#sharebox-response { position: absolute; bottom: 15px; left: 15px;
  width: 350px; height: auto; font-size: 1.2em; display: none; display:none;}
#sharebox .goodresponse { font-weight: bold; color: green;display:none; }
#sharebox .badresponse { font-weight: bold; color: red;display:none; }
#sharebox-dislink { position: absolute; left: 12px; top: 78px;
  height: 0px; width: 220px; cursor: pointer;
  background-image: url(/static/img/jun09/pad/sharedistri.gif);
  background-repeat: no-repeat;
  background-position: 0 5px;
display:none;
}
.sharebox-open #sharebox-dislink { background-position: 0 -28px; display:none;}
#sharebox-shownwhenexpanded { display: none; }
.sharebox-open #sharebox-shownwhenexpanded { display: block; display:none;}

#sharebox-pastelink { font-size: 155%; font-weight: bold;
  top: 13px; left: 17px; position: absolute; color: #444; display:none;}
#sharebox-orsend { font-size: 145%; font-weight: bold;
  top: 80px; left: 31px; position: absolute; color: #444;display:none; }
#sharebox-fieldname-to, #sharebox-fieldname-subject, #sharebox-fieldname-message {
  position: absolute; font-weight: bold; font-size: 125%;
  left: 15px; color: #222;display:none;
}
#sharebox-fieldname-to { top: 119px; display:none;}
#sharebox-fieldname-subject { top: 152px; display:none;}
#sharebox-fieldname-message { top: 183px; display:none;}

#sharebox-stripe { position: absolute; left: 10px;
  width: 436px; top: 8px; height: 45px; line-height: 1.2;display:none; }
#sharebox-stripe div { padding: 5px; font-size: 130%; display:none;}
#sharebox-stripe strong { font-weight: bold; display:none;
.sharebox-stripe-public { background: #cfc;display:none; }
.sharebox-stripe-private { background: #fec; display:none;}
.sharebox-stripe-public .private { display: none; display:none;}
.sharebox-stripe-private .public { display: none; display:none;}
#sharebox-stripe a { color: #06c; display:none;}

.nonprouser #sharebox-stripe { display: none; display:none;}
.nonprouser #sharebox-forms { top: 0; display:none;}

#viewbarcontents { display: none; }

#modaloverlay {
  z-index: 500; display: none;
  background-image: url(/static/img/jun09/pad/overlay2.png);
  background-repeat: repeat-both;
  width: 100%; position: absolute;
  height: 400px; left: 0; top: 0;
}

* html #modaloverlay { /* for IE 6+ */
  opacity: 1; /* in case this is looked at */
  background-image: none;
  background-repeat: no-repeat;
  /* scale the image */
  filter: progid:DXImageTransform.Microsoft.AlphaImageLoader(src="/static/img/jun09/pad/overlay2.png", sizingMethod="scale");
}
