/* Common layout — IE6 safe (tables + floats, no flex/grid) */
html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  font-size: 11px;
  color: #1a1a1a;
  background: #d4d0c8;
}

img { border: 0; vertical-align: middle; }
a { color: #003399; }
a:hover { color: #0066cc; }

/* Shell */
#appShell {
  width: 100%;
  height: 100%;
  background: #f0f0f0;
}

#titleBar {
  height: 28px;
  background: #18a558;
  color: #fff;
  border-bottom: 1px solid #0d7a3c;
}
#titleBar td { padding: 0 8px; vertical-align: middle; }
#titleBar .appTitle { font-size: 12px; font-weight: bold; }
#titleBar .brand { font-size: 11px; }

#menuBar {
  background: #f5f5f5;
  border-bottom: 1px solid #b0b0b0;
  height: 22px;
  padding: 2px 4px 0 4px;
  position: relative;
  z-index: 100;
}
#menuBar .menu {
  display: inline;
  position: relative;
  zoom: 1;
  margin-right: 2px;
}
#menuBar .menuTop {
  display: inline-block;
  padding: 2px 8px;
  color: #222;
  text-decoration: none;
  font-size: 11px;
  border: 1px solid transparent;
}
#menuBar .menu.open .menuTop,
#menuBar .menuTop:hover {
  background: #e5f3e8;
  border: 1px solid #18a558;
  padding: 1px 7px;
}
#menuBar .menuPanel.toolsMenuPanel,
#menuBar .menuPanel.editMenuPanel {
  width: 240px;
}
#menuBar .menuPanel a.menuCheck {
  font-weight: normal;
}

#menuBar .menuPanel {
  display: none;
  position: absolute;
  left: 0;
  top: 18px;
  width: 220px;
  background: #fff;
  border: 1px solid #808080;
  padding: 2px 0;
  z-index: 200;
}
#menuBar .menu.open .menuPanel {
  display: block;
}
#menuBar .menuPanel a {
  display: block;
  padding: 4px 20px 4px 24px;
  color: #222;
  text-decoration: none;
  font-size: 11px;
  white-space: nowrap;
}
#menuBar .menuPanel a:hover {
  background: #18a558;
  color: #fff;
}
#menuBar .menuPanel .sep {
  display: block;
  height: 1px;
  margin: 3px 4px;
  background: #c0c0c0;
  overflow: hidden;
  font-size: 0;
  line-height: 0;
}
#menuBar a.navLink {
  display: inline-block;
  padding: 2px 8px;
  color: #222;
  text-decoration: none;
  font-size: 11px;
}
#menuBar a.navLink:hover {
  background: #e5f3e8;
  border: 1px solid #18a558;
  padding: 1px 7px;
}

#toolbarWrap {
  background: #ebebeb;
  border-bottom: 1px solid #b0b0b0;
}
.toolbarRow,
#toolbar {
  background: #ebebeb;
  padding: 3px 4px;
  min-height: 26px;
  font-size: 11px;
  line-height: normal;
}
#toolbar2 {
  border-top: 1px solid #d0d0d0;
  padding-top: 2px;
  position: relative;
}
#toolbar2 .tbSelectRight {
  float: right;
  white-space: nowrap;
  padding-left: 8px;
}
#toolbar2 .tbSelectRight select {
  font-size: 11px;
  vertical-align: middle;
  margin: 0 2px 0 0;
}
body.view-hide-toolbar #toolbarWrap,
body.view-hide-toolbar #toolbar,
body.view-fullscreen #toolbarWrap,
body.view-fullscreen #toolbar {
  display: none;
}
.toolbarRow a.tb,
#toolbar a.tb {
  display: inline-block;
  zoom: 1;
  width: 16px;
  height: 16px;
  padding: 4px;
  margin: 0 2px 0 0;
  border: 1px solid #a8a8a8;
  vertical-align: middle;
  background: #ebebeb;
  text-decoration: none;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
  text-align: center;
}
.toolbarRow a.tb img,
#toolbar a.tb img {
  display: block;
  width: 16px;
  height: 16px;
  margin: 0;
  padding: 0;
  border: 0;
}
.toolbarRow a.tb:hover,
#toolbar a.tb:hover {
  border-color: #18a558;
  background: #e5f3e8;
}
.toolbarRow a.tb.active,
#toolbar a.tb.active {
  border: 2px solid #c00000;
  background: #ffd6d6;
  /* 4px padding + 1px border → 3px padding + 2px border keeps outer size */
  padding: 3px;
}
.toolbarRow .sep,
#toolbar .sep {
  display: inline-block;
  width: 1px;
  height: 20px;
  background: #b0b0b0;
  margin: 0 4px;
  vertical-align: middle;
}
.toolbarRow select,
#toolbar select {
  font-size: 11px;
  vertical-align: middle;
  margin: 0 2px;
}
#styleSelect {
  min-width: 120px;
}
.toolbarRow a.tbText,
#toolbar a.tbText {
  display: inline-block;
  zoom: 1;
  width: auto;
  min-width: 16px;
  height: 16px;
  padding: 4px 5px;
  margin: 0 2px 0 0;
  border: 1px solid #a8a8a8;
  vertical-align: middle;
  background: #ebebeb;
  text-decoration: none;
  font-size: 10px;
  line-height: 16px;
  font-family: Tahoma, Arial, sans-serif;
  color: #222;
  text-align: center;
}
.toolbarRow a.tbText:hover,
#toolbar a.tbText:hover {
  border-color: #18a558;
  background: #e5f3e8;
}
.toolbarRow a.tbText.active,
#toolbar a.tbText.active {
  border: 2px solid #c00000;
  background: #ffd6d6;
  padding: 3px 4px;
}

#statusBar {
  height: 24px;
  background: #ece9d8;
  border-top: 1px solid #b0b0b0;
  padding: 1px 6px;
  color: #333;
  vertical-align: middle;
}
#statusBar #statusInner td {
  vertical-align: middle;
  font-size: 11px;
}
#statusBar #docLang {
  font-size: 11px;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  vertical-align: middle;
  max-width: 140px;
}
#spellStatus {
  color: #555;
}
span.sco-misspelled {
  border-bottom: 1px dashed #c00;
  color: inherit;
  background: transparent;
}
td.sco-misspelled-cell,
input.sco-misspelled-cell {
  outline: 1px dashed #c00;
}
span.sco-spell-current,
input.sco-spell-current {
  background: #ffe0e0;
  outline: 2px solid #c00000;
}

/* Modal dialog overlay */
.scoDialogMask {
  position: fixed;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background: #000;
  filter: alpha(opacity=40);
  opacity: 0.4;
  z-index: 9000;
}
* html .scoDialogMask {
  position: absolute;
  height: expression(document.body.scrollHeight > document.body.offsetHeight ? document.body.scrollHeight : document.body.offsetHeight);
}
.scoDialog {
  position: fixed;
  left: 50%;
  top: 50%;
  width: 360px;
  margin-left: -180px;
  margin-top: -120px;
  background: #f0f0f0;
  border: 2px outset #fff;
  z-index: 9001;
  font-size: 11px;
}
* html .scoDialog {
  position: absolute;
  margin-top: 0;
  top: expression((document.body.scrollTop || document.documentElement.scrollTop) + 80 + 'px');
}
.scoDialogTable {
  width: 100%;
}
.scoDialogTitle {
  background: #18a558;
  color: #fff;
  font-weight: bold;
  padding: 6px 10px;
  font-size: 12px;
}
.scoDialogBody {
  padding: 12px 14px;
  background: #fff;
}
.scoDialogFoot {
  padding: 8px 10px;
  background: #ece9d8;
  border-top: 1px solid #b0b0b0;
}
.scoDialogBtn {
  font-size: 11px;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
  margin-left: 6px;
  padding: 3px 12px;
  min-width: 70px;
}
input.scoDialogBtn {
  height: 24px;
  line-height: 18px;
}
.scoDialogBtn.primary {
  font-weight: bold;
}
.scoForm label {
  display: block;
  margin-bottom: 4px;
}
.scoFormTable td {
  font-size: 11px;
  padding: 2px 6px;
}
.scoPageStyleDlg {
  width: 420px;
}
.scoTabRow {
  margin-bottom: -1px;
  padding: 0 2px;
}
.scoTab {
  display: inline-block;
  padding: 4px 8px;
  border: 1px solid #999;
  background: #ece9d8;
  margin-right: 2px;
  text-decoration: none;
  color: #000;
  font-size: 11px;
}
.scoTabOn {
  background: #fff;
  border-bottom-color: #fff;
  font-weight: bold;
}
.scoTabBodyWrap {
  border: 1px solid #999;
  padding: 8px;
  min-height: 180px;
  position: relative;
  background: #fff;
}
.scoTabBody {
  width: 280px;
}
.scoPsPreview {
  position: absolute;
  right: 12px;
  top: 12px;
  width: 90px;
  text-align: center;
}
.scoPsPrevPage {
  border: 1px solid #666;
  margin: 0 auto;
}
.scoPsPrevMargin {
  margin: 15%;
  border: 1px dashed #729fcf;
  height: 70%;
}

/* Start Center recent documents */
.recentList {
  list-style: none;
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  background: #fff;
}
.recentList li {
  border-bottom: 1px solid #e0e0e0;
}
.recentList li:last-child {
  border-bottom: 0;
}
.recentList a {
  display: block;
  padding: 8px 12px;
  text-decoration: none;
  color: #222;
}
.recentList a:hover {
  background: #eef8f1;
}
.recentList strong {
  display: block;
  font-size: 12px;
  margin-bottom: 2px;
}
.recentList span {
  display: block;
  font-size: 10px;
  color: #666;
}
.recentEmpty {
  font-size: 11px;
  color: #666;
  margin: 0;
  padding: 8px 0;
}
.recentNotice {
  font-size: 11px;
  color: #555;
  background: #fff8e8;
  border: 1px solid #e0c890;
  padding: 8px 10px;
  margin: 0 0 8px 0;
  line-height: 1.4;
}

/* Start Center — recommended browsers table */
.browserIntro {
  font-size: 11px;
  color: #444;
  line-height: 1.45;
  margin: 0 0 12px 0;
}
#recommendedBrowsers {
  padding-bottom: 48px;
  margin-bottom: 32px;
}
.browserNotice {
  font-size: 11px;
  color: #444;
  background: #eef8f1;
  border: 1px solid #b8e0c4;
  padding: 8px 10px;
  margin: 0 0 10px 0;
  line-height: 1.45;
}
.browserNoticeSub {
  margin-top: 8px;
  margin-bottom: 20px;
  font-size: 10px;
  color: #666;
  background: #f8f8f8;
  border-color: #ddd;
}
.browserPlatformTitle {
  font-size: 13px;
  font-weight: bold;
  margin: 18px 0 8px 0;
  color: #0d7a3c;
}
.browserTable + .browserPlatformTitle {
  margin-top: 20px;
}
.browserTable {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
  border: 1px solid #ccc;
  font-size: 11px;
}
.browserTable th,
.browserTable td {
  border: 1px solid #ccc;
  padding: 6px 8px;
  vertical-align: middle;
  text-align: left;
}
.browserTable th {
  background: #ece9d8;
  font-weight: bold;
  font-size: 10px;
}
.browserOsCol {
  width: 140px;
}
.browserOs {
  font-weight: bold;
  background: #f8f8f8;
  white-space: nowrap;
}
.browserName {
  font-weight: bold;
  font-size: 11px;
  margin-bottom: 4px;
}
.browserBlurb {
  font-size: 10px;
  color: #555;
  margin-bottom: 6px;
  line-height: 1.35;
}
.browserOsNote {
  font-size: 10px;
  color: #444;
  background: #fffef5;
  border-top: 0;
  padding: 6px 8px 8px 8px;
  line-height: 1.4;
}
.browserOsNote a {
  color: #003399;
}
.browserMeta {
  font-size: 10px;
  color: #666;
  margin-bottom: 6px;
  line-height: 1.35;
}
.browserBtn {
  display: inline-block;
  padding: 4px 10px;
  background: #18a558;
  color: #fff !important;
  text-decoration: none;
  border: 1px solid #0d7a3c;
  font-size: 11px;
  font-weight: bold;
}
.browserBtn:hover {
  background: #0d7a3c;
}
.browserArchive {
  font-size: 10px;
  margin-left: 4px;
}
.browserEmpty {
  background: #fafafa;
}

/* Full-width ad host (iframe points at ads/banner.html) */
#adBanner {
  height: 120px;
  background: #f0f0f0;
  border-top: 1px solid #b0b0b0;
  padding: 0;
  margin: 0;
  overflow: hidden;
  line-height: 0;
  font-size: 0;
}
#adBanner iframe {
  display: block;
  width: 100%;
  height: 120px;
  border: 0;
  margin: 0;
  padding: 0;
}
body.start #adBanner {
  position: fixed;
  left: 0;
  bottom: 0;
  width: 100%;
  z-index: 50;
}
body.start.ads-off #adBanner,
body.ads-off #adBanner {
  display: none;
}
body.start.ads-off {
  padding-bottom: 24px;
}

/* Start Center */
body.start {
  background: #2b2b2b;
  padding-bottom: 160px;
}
#startWrap {
  width: 900px;
  margin: 40px auto;
  background: #f7f7f7;
  border: 1px solid #111;
}
#startHeader {
  background: #18a558;
  color: #fff;
  padding: 12px 16px;
  border-bottom: 3px solid #0d7a3c;
}
#startHeader h1 {
  margin: 0;
  font-size: 22px;
  font-family: Georgia, "Times New Roman", Times, serif;
  font-weight: normal;
}
#startHeader p {
  margin: 4px 0 0 0;
  font-size: 11px;
  color: #e8ffe8;
}
#startBody { padding: 0; }
#startBody .colLeft {
  width: 220px;
  background: #3a3a3a;
  color: #eee;
  vertical-align: top;
  padding: 16px 12px;
}
#startBody .colMain {
  vertical-align: top;
  padding: 20px 24px 40px 24px;
  background: #fafafa;
}
.appTile {
  display: block;
  width: 140px;
  float: left;
  margin: 0 18px 24px 0;
  text-align: center;
  text-decoration: none;
  color: #222;
  padding: 10px 6px;
  border: 1px solid transparent;
}
.appTile:hover {
  border: 1px solid #18a558;
  background: #eef8f1;
}
.appTile img { display: block; margin: 0 auto 8px auto; }
.appTile strong { display: block; font-size: 13px; }
.appTile span { display: block; font-size: 10px; color: #666; margin-top: 4px; }
.clear { clear: both; height: 0; overflow: hidden; }

.sideLink {
  display: block;
  color: #ddd;
  text-decoration: none;
  padding: 6px 8px;
  margin-bottom: 2px;
  font-size: 12px;
}
.sideLink:hover { background: #505050; color: #fff; }

#startFooter {
  border-top: 1px solid #ccc;
  padding: 8px 16px;
  background: #eee;
  font-size: 10px;
  color: #555;
}

/* Editor surface */
#workArea {
  background: #808080;
  padding: 12px;
}
#pageShell {
  background: #fff;
  border: 1px solid #404040;
  margin: 0 auto;
  width: 21cm;
  min-height: 29.7cm;
  box-sizing: border-box;
}
.pageHeader,
.pageFooter {
  display: none;
  font-size: 9pt;
  color: #888;
  border-bottom: 1px dashed #ccc;
}
.pageFooter {
  border-bottom: none;
  border-top: 1px dashed #ccc;
}
#page {
  background: transparent;
  border: none;
  margin: 0;
  padding: 2cm;
  width: auto;
  min-height: 0;
  font-family: "Times New Roman", Times, serif;
  font-size: 12pt;
  line-height: 1.35;
  outline: none;
}
* html #page { min-height: 200px; }

/* Calc grid */
#sheetWrap {
  background: #fff;
  border: 1px solid #808080;
  overflow: auto;
  height: 100%;
}
#sheet {
  border-collapse: collapse;
  table-layout: fixed;
}
#sheet th, #sheet td {
  border: 1px solid #c0c0c0;
  padding: 0;
  height: 20px;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
}
#sheet th {
  background: #ece9d8;
  font-weight: normal;
  text-align: center;
  width: 40px;
}
#sheet td input {
  width: 98%;
  border: 0;
  margin: 0;
  padding: 2px 3px;
  font-size: 11px;
  font-family: Arial, Helvetica, sans-serif;
  background: transparent;
}
#sheet td.sel { outline: 2px solid #18a558; }

/* Calc named cell styles (Styles menu) */
#sheet input.cellStyle-accent1 { background: #4472c4 !important; color: #fff !important; font-weight: bold; }
#sheet input.cellStyle-accent2 { background: #5b9bd5 !important; color: #fff !important; font-weight: bold; }
#sheet input.cellStyle-accent3 { background: #9dc3e6 !important; color: #1f4e79 !important; font-weight: bold; }
#sheet input.cellStyle-heading1 { font-size: 14px !important; font-weight: bold; color: #1f4e79; }
#sheet input.cellStyle-heading2 { font-size: 12px !important; font-weight: bold; color: #2e75b6; }
#sheet input.cellStyle-good { background: #c6efce !important; color: #006100 !important; }
#sheet input.cellStyle-bad { background: #ffc7ce !important; color: #9c0006 !important; }
#sheet input.cellStyle-neutral { background: #ffeb9c !important; color: #9c5700 !important; }
#sheet input.cellStyle-error { background: #ffc7ce !important; color: #9c0006 !important; font-weight: bold; text-decoration: line-through; }
#sheet input.cellStyle-warning { background: #ffc000 !important; color: #000 !important; font-weight: bold; }
#sheet input.cellStyle-footnote { font-size: 9px !important; color: #666; font-style: italic; }
#sheet input.cellStyle-note { background: #ffffcc !important; color: #333 !important; }

#sheetTabs {
  background: #ece9d8;
  border-top: 1px solid #808080;
  padding: 3px 4px 2px 4px;
  font-size: 11px;
  font-family: Tahoma, Arial, Helvetica, sans-serif;
}
#sheetTabTable {
  border-collapse: separate;
}
#sheetTabs td.sheetTabCell {
  border: 1px solid #808080;
  background: #d4d0c8;
  padding: 0;
  vertical-align: middle;
}
#sheetTabs td.sheetTabActive {
  background: #ffffff;
  border-bottom-color: #ffffff;
  font-weight: bold;
}
#sheetTabs td.sheetTabAddCell {
  background: #ece9d8;
  border: 1px solid #808080;
}
#sheetTabs a.sheetTab,
#sheetTabs a.sheetTabAdd {
  display: block;
  padding: 3px 12px;
  color: #000000 !important;
  text-decoration: none !important;
  font-size: 11px;
  white-space: nowrap;
  cursor: pointer;
}
#sheetTabs a.sheetTabAdd {
  padding: 3px 10px;
  font-weight: bold;
  font-size: 13px;
  line-height: 1;
}

#formulaBar {
  background: #f5f5f5;
  border-bottom: 1px solid #b0b0b0;
  padding: 3px 6px;
}
#formulaBar input {
  width: 70%;
  font-size: 11px;
  border: 1px solid #7f9db9;
  padding: 2px;
}

/* Impress */
#slideList {
  width: 140px;
  background: #d8d8d8;
  border-right: 1px solid #808080;
  vertical-align: top;
  padding: 8px;
}
.slideThumb {
  display: block;
  background: #fff;
  border: 1px solid #666;
  margin-bottom: 8px;
  padding: 8px 4px;
  text-align: center;
  text-decoration: none;
  color: #333;
  font-size: 10px;
  height: 70px;
}
.slideThumb.active { border: 2px solid #18a558; }
.slideThumbHidden { color: #888; font-style: italic; }

/* myPage web designer */
.mypageProWarn {
  background: #fff3cd;
  border-bottom: 1px solid #e0c060;
  color: #333;
  font-size: 11px;
  padding: 6px 10px;
}
.mypageProWarn a {
  color: #004488;
  font-weight: bold;
}
#mypageWork { height: 100%; }
#mypageLeftPane {
  background: #ece9d8;
  border-right: 1px solid #808080;
  padding: 0;
  vertical-align: top;
}
#mypageFolderList {
  padding: 0;
}
#mypageNavPane {
  border-top: 1px solid #808080;
}
#mypageNavTree {
  padding: 4px 0 8px 0;
  max-height: 220px;
  overflow: auto;
  font-size: 11px;
}
.mypageNavTreeRoot,
.mypageNavTreeChild {
  list-style: none;
  margin: 0;
  padding: 0 0 0 10px;
}
.mypageNavTreeRoot {
  padding-left: 2px;
}
.mypageNavNode {
  display: block;
  padding: 3px 6px;
  color: #003366;
  text-decoration: none;
}
.mypageNavNode:hover {
  text-decoration: underline;
}
.mypageNavNode.active {
  background: #316ac5;
  color: #fff;
  text-decoration: none;
}
.mypagePaneTitle {
  background: #316ac5;
  color: #fff;
  font-size: 11px;
  font-weight: bold;
  padding: 4px 8px;
}
.mypagePaneActions {
  font-size: 10px;
  padding: 6px 8px;
}
.mypagePaneActions a { color: #004488; }
.mypageFile {
  display: block;
  padding: 4px 10px;
  font-size: 11px;
  color: #000;
  text-decoration: none;
  border-bottom: 1px solid #d0d0d0;
}
.mypageFile.active {
  background: #316ac5;
  color: #fff;
}
#mypageTabs {
  background: #ece9d8;
  border-bottom: 1px solid #808080;
  padding: 2px 4px 0 4px;
  white-space: nowrap;
  overflow: hidden;
}
.mypageTab {
  display: inline-block;
  padding: 4px 10px;
  margin-right: 2px;
  font-size: 11px;
  color: #000;
  text-decoration: none;
  background: #d4d0c8;
  border: 1px solid #808080;
  border-bottom: none;
}
.mypageTab.active {
  background: #fff;
  font-weight: bold;
}
#mypageEditorWrap {
  height: 420px;
  background: #fff;
  border-bottom: 1px solid #808080;
  position: relative;
}
#mypageDesignPane, #mypagePreviewPane {
  height: 420px;
}
#mypageDesignFrame, #mypagePreviewFrame {
  width: 100%;
  height: 420px;
  border: none;
  background: #fff;
}
#mypageCodePane { height: 420px; }
#mypageCodeEditor {
  width: 100%;
  height: 416px;
  border: none;
  font-family: "Courier New", Courier, monospace;
  font-size: 12px;
  padding: 6px;
}
#mypageViewTabs {
  background: #ece9d8;
  border-top: 1px solid #fff;
  padding: 2px 6px;
}
.mypageViewTab {
  display: inline-block;
  padding: 3px 12px;
  margin-right: 4px;
  font-size: 11px;
  color: #000;
  text-decoration: none;
  border: 1px solid #808080;
  background: #d4d0c8;
}
.mypageViewTab.active {
  background: #fff;
  font-weight: bold;
  border-bottom-color: #fff;
}
body.mypageApp #mypageWork td { vertical-align: top; }
#slideStage {
  background: #666;
  vertical-align: top;
  padding: 20px;
  text-align: center;
}
#slideCanvas {
  width: 720px;
  height: 405px;
  background: #fff;
  border: 1px solid #222;
  margin: 0 auto;
  text-align: left;
  padding: 24px;
  font-family: Arial, Helvetica, sans-serif;
  outline: none;
}
body.view-hide-slidelist #slideList {
  display: none;
}

#menuBar .impressFormatMenuPanel,
#menuBar .impressInsertMenuPanel {
  width: 240px;
}
#slideStage .navSidebar {
  float: left;
  height: 100%;
  max-height: 520px;
}
#slideStage #slideCanvas {
  overflow: auto;
}

#slideCanvas h1 {
  font-size: 28px;
  margin: 0 0 16px 0;
  color: #18a558;
}
#slideCanvas .scoSlideTpl h1 {
  color: inherit;
}

/* Clipart / template dialogs */
.scoClipartDlg,
.scoTemplateDlg {
  width: 520px;
  margin-left: -260px;
  margin-top: -220px;
}
* html .scoClipartDlg,
* html .scoTemplateDlg {
  margin-top: 0;
}
.scoClipartDlgInner,
.scoTemplateDlgInner {
  width: 480px;
}
.scoClipartTop {
  margin-bottom: 8px;
  font-size: 11px;
}
.scoClipartTopSep {
  color: #888;
  margin: 0 6px;
}
.scoClipartStatus {
  font-size: 10px;
  color: #444;
  margin-bottom: 6px;
  min-height: 14px;
}
.scoClipartGrid {
  height: 180px;
  overflow: auto;
  border: 1px solid #b0b0b0;
  background: #fafafa;
  margin-bottom: 6px;
}
.scoClipartGridTable {
  width: 100%;
}
.scoClipartCell {
  width: 80px;
  text-align: center;
  vertical-align: top;
  border: 2px solid transparent;
}
.scoClipartCell.scoClipartPickOn {
  border-color: #18a558;
  background: #e8f5e9;
}
.scoClipartPick {
  display: block;
  text-decoration: none;
  padding: 2px;
}
.scoClipartPick img {
  display: block;
  margin: 0 auto;
  border: 1px solid #ccc;
  background: #fff;
}
.scoClipartEmpty {
  padding: 24px;
  text-align: center;
  color: #666;
}
.scoClipartPager {
  text-align: center;
  margin-bottom: 8px;
  font-size: 11px;
}
.scoClipartPreview {
  border: 1px solid #d0d0d0;
  background: #f8f8f8;
  padding: 6px 8px;
  margin-bottom: 8px;
  min-height: 72px;
}
.scoClipartPreview img {
  float: left;
  margin: 0 10px 4px 0;
  border: 1px solid #bbb;
  background: #fff;
}
.scoClipartPreviewText {
  font-size: 10px;
  line-height: 1.35;
  color: #333;
}
.scoClipartKw {
  color: #666;
  font-style: italic;
}
.scoClipartUrl {
  font-size: 11px;
  margin-top: 4px;
}
.scoTemplateIntro {
  margin: 0 0 8px 0;
  font-size: 11px;
  color: #444;
}
.scoTemplateGrid {
  width: 100%;
}
.scoTemplateCell {
  width: 108px;
  text-align: center;
  vertical-align: top;
  border: 2px solid transparent;
}
.scoTemplateCell.scoTemplateOn {
  border-color: #18a558;
  background: #e8f5e9;
}
.scoTemplatePick {
  display: block;
  text-decoration: none;
  color: #222;
  padding: 4px;
}
.scoTemplateThumb {
  width: 96px;
  height: 54px;
  border: 1px solid #888;
  margin: 0 auto 4px auto;
}
.scoTemplateName {
  font-size: 10px;
  font-weight: bold;
}
.scoTemplateStartup {
  display: block;
  margin-top: 8px;
  font-size: 11px;
}

/* ---- View menu chrome ---- */
#menuBar .menuPanel.viewMenuPanel {
  width: 220px;
}
#workArea {
  position: relative;
}
.viewBodyRow {
  zoom: 1;
}
.viewBodyRow:after {
  content: "";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
}
.viewChrome {
  overflow: auto;
  height: 100%;
}
.hRuler {
  height: 18px;
  background: #f3f0e8;
  border-bottom: 1px solid #999;
  position: relative;
  overflow: hidden;
  margin: 0 0 0 0;
}
.hRulerInner {
  position: relative;
  height: 18px;
  margin: 0 auto;
  width: 840px;
}
.hRuler .tick {
  position: absolute;
  top: 0;
  width: 1px;
  background: #666;
  height: 6px;
  font-size: 0;
}
.hRuler .tick.major {
  height: 12px;
}
.hRuler .tick.mid {
  height: 8px;
  background: #999;
}
.hRuler .tick i {
  position: absolute;
  top: 1px;
  left: 2px;
  font-style: normal;
  font-size: 9px;
  color: #444;
  font-family: Tahoma, Arial, sans-serif;
}
.navSidebar {
  float: left;
  width: 160px;
  background: #ece9d8;
  border-right: 1px solid #999;
  overflow: auto;
  height: 360px;
  margin-right: 4px;
}
.stylesSidebar {
  float: left;
  width: 180px;
  background: #ece9d8;
  border-right: 1px solid #999;
  overflow: auto;
  height: 360px;
  margin-right: 4px;
}
.stylesSideGroup {
  font-weight: bold;
  font-size: 10px;
  color: #444;
  padding: 6px 8px 2px 8px;
  background: #ddd8c8;
  border-top: 1px solid #bbb;
}
#menuBar .stylesMenuPanel {
  width: 240px;
}
#menuBar .tableMenuPanel {
  width: 260px;
}
#menuBar .formMenuPanel {
  width: 220px;
}

/* Writer form controls */
#page .sco-form-wrap {
  display: inline;
  white-space: nowrap;
}
#page.sco-form-design .sco-form-wrap {
  outline: 1px dashed #4080c0;
  background: #f0f6fc;
  padding: 1px 3px;
}
#page .sco-form-label {
  font-size: 11px;
  margin-right: 4px;
}
#page .sco-form-text,
#page .sco-form-combo,
#page .sco-form-list,
#page .sco-form-formatted,
#page .sco-form-date,
#page .sco-form-time {
  font-size: 11px;
  font-family: Tahoma, Arial, sans-serif;
  vertical-align: middle;
}
#page .sco-form-btn,
#page .sco-form-imgbtn {
  vertical-align: middle;
}
#page .sco-form-group {
  border: 1px solid #999;
  padding: 8px 12px 12px 12px;
  margin: 10px 0;
}
#page .sco-form-group legend {
  font-size: 11px;
  font-weight: bold;
  padding: 0 4px;
}
#page .sco-form-hidden-marker {
  font-size: 9px;
  color: #888;
  font-style: italic;
}
#page .sco-form-image {
  vertical-align: middle;
  border: 1px solid #ccc;
}

/* Writer document tables */
#page .sco-writer-table {
  border-collapse: collapse;
  margin: 10px 0;
  width: 100%;
}
#page .sco-writer-table td,
#page .sco-writer-table th {
  border: 1px solid #808080;
  padding: 4px 6px;
  vertical-align: top;
  min-width: 24px;
}
#page .sco-writer-table th {
  background: #ece9d8;
  font-weight: bold;
  text-align: left;
}
#page .sco-tbl-plain td,
#page .sco-tbl-plain th {
  border-color: transparent;
}
#page .sco-tbl-header th,
#page .sco-tbl-header tr:first-child td,
#page .sco-tbl-header tr:first-child th {
  background: #ddd8c8;
  font-weight: bold;
}
#page .sco-tbl-blue th,
#page .sco-tbl-blue tr:first-child th {
  background: #729fcf;
  color: #fff;
}
#page .sco-tbl-protected {
  background: #f8f8f0;
}
@media print {
  #page .sco-tbl-repeat-header thead,
  #page .sco-tbl-repeat-header tr:first-child {
    display: table-header-group;
  }
}

/* Writer paragraph & character styles */
#page h1 {
  font-size: 24pt;
  font-weight: bold;
  margin: 14px 0 8px 0;
  line-height: 1.2;
}
#page h2 {
  font-size: 18pt;
  font-weight: bold;
  margin: 12px 0 6px 0;
  line-height: 1.25;
}
#page h3 {
  font-size: 14pt;
  font-weight: bold;
  margin: 10px 0 4px 0;
  line-height: 1.3;
}
#page .sco-para-title {
  font-size: 28pt;
  font-weight: bold;
  text-align: center;
  margin: 0 0 12px 0;
  line-height: 1.15;
}
#page .sco-para-subtitle {
  font-size: 14pt;
  text-align: center;
  color: #555;
  margin: 0 0 18px 0;
}
#page blockquote,
#page .sco-para-quote {
  margin: 8px 20px;
  padding: 4px 0 4px 12px;
  border-left: 3px solid #aaa;
  color: #444;
}
#page pre,
#page .sco-para-pre {
  font-family: "Courier New", Courier, monospace;
  font-size: 10pt;
  background: #f4f4f4;
  border: 1px solid #ddd;
  padding: 8px 10px;
  margin: 8px 0;
  white-space: pre-wrap;
}
#page .sco-char-source,
#page code.sco-char-source {
  font-family: "Courier New", Courier, monospace;
  font-size: 10pt;
  background: #f0f0f0;
}
#page pre.sco-plain-file {
  font-family: "Courier New", Courier, monospace;
  font-size: 10pt;
  white-space: pre-wrap;
  background: #f8f8f8;
  border: 1px solid #ddd;
  padding: 8px 10px;
  margin: 8px 0;
}
.navSideTitle {
  font-weight: bold;
  padding: 6px 8px;
  background: #18a558;
  color: #fff;
  font-size: 11px;
}
.navSideUl {
  margin: 0;
  padding: 4px 0;
  list-style: none;
}
.navSideUl li a {
  display: block;
  padding: 3px 8px;
  color: #222;
  text-decoration: none;
  font-size: 10px;
  white-space: nowrap;
  overflow: hidden;
}
.navSideUl li a:hover {
  background: #18a558;
  color: #fff;
}
.fsExitBtn {
  display: none;
  position: fixed;
  right: 12px;
  top: 8px;
  z-index: 9500;
  font-size: 11px;
  padding: 4px 10px;
}
body.view-fullscreen .fsExitBtn {
  display: block;
}

/* Hide chrome */
body.view-hide-formulabar #formulaBar {
  display: none;
}
body.view-hide-headers #sheet th {
  display: none;
}
#sheet input.calcSel {
  background: #c8d8f0;
}
body.view-value-highlight #sheet input.calcNum {
  color: #003399;
  font-weight: bold;
}
body.view-hide-toolbar #toolbar,
body.view-hide-toolbar #toolbar2,
body.view-hide-toolbar #toolbarWrap,
body.view-fullscreen #toolbar,
body.view-fullscreen #toolbar2,
body.view-fullscreen #toolbarWrap {
  display: none;
}
body.view-hide-statusbar #statusBar,
body.view-fullscreen #statusBar {
  display: none;
}
body.view-hide-ruler #hRuler,
body.view-fullscreen #hRuler {
  display: none;
}
body.view-fullscreen #titleBar,
body.view-fullscreen #menuBar,
body.view-fullscreen #adBanner {
  display: none;
}
body.view-fullscreen #workArea {
  padding: 8px;
}

/* Normal vs Web */
body.view-web #workArea {
  background: #fff;
  padding: 4px;
}
body.view-web #pageShell {
  width: auto;
  min-height: 300px;
  border: none;
  margin: 0;
}
body.view-web #page {
  width: auto;
  margin: 0;
  border: none;
  min-height: 300px;
  padding: 12px 16px;
}
body.view-web .hRulerInner {
  width: 100%;
  margin-left: 16px;
}

/* Text boundaries */
body.view-text-bounds #page {
  outline: 1px dashed #7090c0;
}
body.view-web.view-text-bounds #page {
  outline: 1px dashed #b0b0b0;
}

/* Grid */
body.view-grid #page,
body.view-grid #slideCanvas,
body.view-grid #sheetWrap {
  background-color: #fff;
  background-image: url("../images/grid.gif");
  background-repeat: repeat;
}

/* Formatting marks — dotted para boxes (IE6-safe; no :after) */
body.view-fmt-marks #page p,
body.view-fmt-marks #slideCanvas p,
body.view-fmt-marks #slideCanvas h1 {
  border: 1px dotted #7ec8ff;
  margin: 2px 0;
  padding: 2px 4px;
}
body.view-fmt-marks #page h1,
body.view-fmt-marks #page h2,
body.view-fmt-marks #page h3 {
  border: 1px dotted #c080ff;
}

/* Hide images */
body.view-hide-images #page img,
body.view-hide-images #slideCanvas img {
  display: none;
}

/* Collapse whitespace */
body.view-collapse-ws #page p {
  margin: 0;
  line-height: 1.15;
}

/* Zoom — scale page shell (A4 cm dimensions stay correct) */
body.view-zoom-50 #pageShell { zoom: 0.5; }
body.view-zoom-75 #pageShell { zoom: 0.75; }
body.view-zoom-100 #pageShell { zoom: 1; }
body.view-zoom-150 #pageShell { zoom: 1.5; }
body.view-zoom-200 #pageShell { zoom: 2; }
/* Fallback when zoom unsupported */
body.view-zoom-50 #page { font-size: 6pt; }
body.view-zoom-75 #page { font-size: 9pt; }
body.view-zoom-100 #page { font-size: 12pt; }
body.view-zoom-150 #page { font-size: 18pt; }
body.view-zoom-200 #page { font-size: 24pt; }

