/* Function dialogbox below*/
.funcTbl {
  table-layout: fixed;
  border-collapse: collapse;
  border-style: none;
}

.funcCel1 {
  cursor: pointer;
  padding-left: 5px;
  width: 55%;
  font-weight: bold;
  font-family: arial, sans-serif;
  font-size: 8pt;
  text-align: left;
  background-color: #c3deff;
  border-bottom: 1px solid #AAAAAA;
  border-top : 1px solid #AAAAAA;
  border-right : 1px solid #AAAAAA;
}

.funcCel2 {
  cursor: pointer;
  width: 45%;
  font-family: arial, sans-serif;
  font-size: 8pt;
  text-align: center;
  background-color: #c3deff;
  border-bottom: 1px solid #AAAAAA;
  border-top : 1px solid #AAAAAA;
  border-left : 1px solid #AAAAAA;
}

.funcCelx {
  display: none;
  width: 0%;
}

.funcHead1 {
  width: 55%;
  height: 25px;
  font-weight: bold;
  font-style: italic;
  font-family: arial, sans-serif;
  font-size: 9pt;
  text-align: center;
  vertical-align: middle;
}

.funcHead2 {
  width: 45%;
  height: 25px;
  font-weight: bold;
  font-style: italic;
  font-family: arial, sans-serif;
  font-size: 9pt;
  text-align: center;
  vertical-align: middle;
}

/* Dialogbox stuff below - this will eventually be replaced*/
.dlgDebugCells {
  font-size: 9pt;
  font-family: arial, sans-serif;
  padding: 4px;
}

.dlgTblGen {
  table-layout: fixed;
  border-collapse: collapse;
  margin-left: 2px;
  width: 98%;
}

/* Other stuff below*/
.framesContainer {
  border-collapse: collapse;
  border-style: none;
  border-width: 0px;
  padding: 0;
  margin: 0;
}

.framesContainerCells {
  border-style: none;
  border-width: 0px;
  padding: 0;
}

.tiles {
  left: 0px;
  top: 0px;
  width: 0px;
  height: 0px;
  border-style: none;
}

.rAll {
  background-color: #EFEFEF;
  width: 35px; /* Make sure this matches this.headWid in grid.js*/
  text-align: center;
  vertical-align: middle;
  font-family: arial, sans-serif;
  font-size: 8pt;
  color: #333333;
  border-top: 0px none;
  border-left: 0px none;
  border-bottom: 1px solid #c8c8c8;
  border-right: 0px none;
}

.cAll {
  background-color: #EFEFEF;
  height: 20px; /* Make sure this matches this.headHei in grid.js*/
  text-align: center;
  vertical-align: middle;
  font-family: arial, sans-serif;
  font-size: 8pt;
  color: #333333;
  border-top: 0px none;
  border-left: 0px none;
  border-bottom: 0px none;
  border-right: 1px solid #c8c8c8;
}

.cTop {
  border-top: 1px solid #C0C0C0;
}

.headerEnd {
  background-color: #EFEFEF;
  font-size: 1pt;
  border-color: #000000;
  border-style: none;
  border-width: 0px;
}

/* Sheet menu below*/
.toolOuter {
  overflow: hidden;
  position: absolute;
  font-size: 10pt;
  border-style: none;
  border-width: 0px;
}
.toolArrows {
  overflow: hidden;
  position: absolute;
  font-size: 6pt;
  border-style: none;
  text-align: center;
  cursor: pointer;
}
.toolContent {
  overflow: hidden;
  position: absolute;
  font-size: 8pt;
  border-style: none;
  text-align: center;
}
.toolTable {
  border-style: none;
  border-spacing: 0px;
  position: absolute;
  left: 0px;
  font-size: 8pt;
  vertical-align: middle;
  height: 100%;
}
.sheetNotActive {
  color: #00C;
  font-size: 11px;
  padding: 2 7 2 7;
  margin: 0 2;
  white-space: nowrap;
  text-decoration: underline;
  cursor: pointer;
}
.sheetNotActive #tri {
  display: none;
}
.sheetActive {
  background-color: #fff;
  font-weight: bold;
  border-left: 1px solid #b3b3b3;
  border-bottom: 1px solid #b3b3b3;
  border-right: 1px solid #b3b3b3;
  text-decoration: none;
}
.sheetActive #tri {
  display: inline;
  margin-left: 2px;
}
.sheetReadonly {
  background-color: #fff;
  font-weight: bold;
  border-left: 1px solid #b3b3b3;
  border-bottom: 1px solid #b3b3b3;
  border-right: 1px solid #b3b3b3;
  text-decoration: none;
}
.sheetReadonly #tri {
  display: none;
}
.sheetFormula {
  background-color: #FFFFCC;
  font-weight: bold;
  border-left: 1px dotted #b3b3b3;
  border-bottom: 1px dotted #b3b3b3;
  border-right: 1px dotted #b3b3b3;
  text-decoration: none;
}
.formulaAddressLocator {
  background-color: #3366cc;
  white-space: nowrap;
  z-index: 7;
  position: absolute;
  font-size: 12px;
  font-family: arial, sans-serif;
  font-weight: bold;
  padding: 2px 4px;
  color: #fff;
  border-style: none;
  border-width: 0px;
  overflow: visible;
  -moz-box-sizing: border-box;
}

/* More other stuff below*/
.divGrid {
  z-index: 1;
  background-color: #EFEFEF;
  overflow: hidden;
  position: absolute;
  font-size: 1pt;
  border-style: solid;
  border-width: 1px;
  border-color: #EFEFEF;
}

.divMainArea {
  z-index: 1;
  overflow: scroll;
  position: absolute;
  font-size: 1pt;
  border-style: solid;
  border-width: 1px;
  border-color: #CCCCCC;
}

.divAppArea {
  overflow: hidden;
  position: relative;
  font-size: 1pt;
  border-style: solid;
  border-width: 1px;
  border-top: solid #C0C0C0 1px;
  border-bottom: solid #C0C0C0 1px;
  border-right: solid #FFF 1px;
  border-left: solid #FFF 1px;
}

.divRowHead {
  overflow: hidden;
  position: absolute;
  font-size: 1pt;
  border-style: solid;
  border-width: 1px 1px 1px 0px;
  border-color: #CCCCCC;
}

.divColHead {
  overflow: hidden;
  position: absolute;
  font-size: 1pt;
  border-style: solid;
  border-width: 0px 1px 1px 1px;
  border-color: #CCCCCC;
}

.divTop {
  z-index: 4;
  overflow: hidden;
  position: absolute;
  font-size: 1pt;
  border-style: none;
  background-color: #000;
  opacity: 0.00; /* Safari/CSS3 */
  -moz-opacity: 0.00; /* Mozilla */
  filter: alpha(opacity=00); /* IE */
}

.divSelObjs {
  z-index: 5;
  overflow: visible;
  position: absolute;
  border-style: none;
}

.divEmbedObjs {
  z-index: 6;
  overflow: visible;
  position: absolute;
  border-style: none;
}

.divActiveCell {
  z-index: 6;
  position: absolute;
  font-size: 1pt;
  border-color: #3366CC;
  border-style: solid;
  border-width: 2px;
  -moz-box-sizing: border-box;
}

.editBoxWrapper {
  position: absolute;
  padding-top: 0px;
  padding-bottom: 0px;
  border-style: none;
  border-width: 0px;
  overflow: auto;
}

.editBoxFF {
  position: absolute;
  font-size: 10pt;
  border-top: solid #3063c9 2px;
  border-left: solid #3063c9 2px;
  border-bottom: solid #a5c4ff 2px;
  border-right: solid #a5c4ff 2px;
  padding-left: 1px;
  overflow: auto;
}

.editBoxIE {
  position: absolute;
  font-size: 10pt;
  border-top: solid #3063c9 2px;
  border-left: solid #3063c9 2px;
  border-bottom: solid #a5c4ff 2px;
  border-right: solid #a5c4ff 2px;
  padding-left: 1px;
  overflow: auto;
}

.editBoxResizerTable {
  position: absolute;
  border-collapse: collapse;
  border-style: none;
  padding: 0;
  margin: 0;
}

.divRCResize {
  z-index: 6;
  position: absolute;
  font-size: 1pt;
  background-color: #3366cc;
  width: 6px;
  height: 6px;
  border-style: none;
}

.divMsg {
  position: absolute;
  background-color: #cc0000;
  color: white;
  border-style: none;
  font-family: arial;
  font-size: 10pt;
  font-weight: bold;
  padding-left: 3px;
  padding-right: 3px;
  z-index: 7;
}

.divSelection {
  z-index: 5;
  position: absolute;
  font-size: 1pt;
  border-style: none;
  border-width: 0px;
  background-color: #3366cc;
  opacity: 0.20; /* Safari/CSS3 */
  -moz-opacity: 0.20; /* Mozilla */
  filter: alpha(opacity=20); /* IE */
}

.divFormuSelect {
  z-index: 6;
  position: absolute;
  font-size: 1pt;
  border-style: none;
  border-width: 0px;
  background-color: #008000;
  opacity: 0.20; /* Safari/CSS3 */
  -moz-opacity: 0.20; /* Mozilla */
  filter: alpha(opacity=20); /* IE */
  -moz-box-sizing: border-box;
}

.panels {
  z-index: 1;
  background-color: #e8e8e8;
  overflow: hidden;
  position: relative;
  font-size: 10pt;
  border-top: none 0px;
  border-bottom: solid #FFF 1px;
  border-left: solid #FFF 1px;
  font-family: arial, sans-serif;
}

.panelStatus {
  border-left: solid #C0C0C0 1px;
  border-right: solid #FFF 1px;
}

.secStatus {
  cursor: pointer;
  overflow: hidden;
  width: 195px;
  color: #676767;
  font-size: 13px;
  padding-left: 5px;
}

.secStatCopy {
  font-size: 10px;
  color: #c00000;
}

.secStatDisconn {
  color: #c00000;
}

.secVersion {
  width: 50px;
  font-size: 8pt;
  text-align: center;
  padding-top: 5px;
  vertical-align: top;
  border-left: solid #FFF 2px;
}

.tblGeneric {
  border-collapse: collapse;
  border-style: none;
  border-spacing: 0px;
  width: 100%;
  height: 100%;
}

.tblGenFixed {
  table-layout: fixed;
  border-collapse: collapse;
  border-style: none;
  border-spacing: 0px;
  width: 0px;
}

/* New menu stuff below*/
.menuMain {
  background-color: #efefef;
  position: absolute;
  font-size: 10pt;
  border-top: 0px none;
  border-bottom: 0px none;
  border-left: solid #FFF 1px;
  border-right: solid #FFF 1px;
  font-family: arial, sans-serif;
}

.menuMainHr1 {
  background-color: #C0C0C0;
  position: absolute;
  border-style: none;
  border-width: 0px;
  font-size: 1pt;
}

.menuMainHr2 {
  background-color: #FFFFFF;
  position: absolute;
  border-style: none;
  border-width: 0px;
  font-size: 1pt;
}

.menuMainTbl {
  position: absolute;
  border-style: none;
  border-width: 0px;
}

.menuMainHeaderCellOn {
  background-color: #C3D9FF;
  border-top : 1px solid #C0C0C0;
  border-left : 1px solid #C0C0C0;
  border-right : 1px solid #C0C0C0;
  border-bottom : 0px none;
  font-size: 12px;
  font-family: arial, sans-serif;
  font-weight: bold;
  cursor: default;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  vertical-align: top;
}

.menuMainHeaderCellOff {
  border-style: none;
  border-width: 0px;
  font-size: 12px;
  font-family: arial, sans-serif;
  font-weight: bold;
  color: #00C;
  text-decoration: underline;
  cursor: pointer;
  padding-left: 10px;
  padding-right: 10px;
  padding-top: 4px;
  vertical-align: top;
}

.menuDivs {
  background-color: #C3D9FF;
  position: absolute;
  border-style: none;
  border-width: 0px;
  font-size: 10pt;
}

.menuToolbarCell {
  overflow: hidden;
  position: relative;
  height: 18px;
  width: 18px;
  border-style: none;
  border-width: 0px;
  cursor: pointer;
}

.menuSel {
  background-color: #FFFFFF;
  border-top: 1px solid #C0C0C0;
  border-left: 1px solid #C0C0C0;
  border-right: 0px none;
  border-bottom: 0px none;
}

.menuCheckbox {
  white-space: nowrap;
  padding-left: 6px;
  padding-right: 6px;
  font-size: 9pt;
  font-family: arial, sans-serif;
  cursor: pointer;
}

.menuMainFormu {
  overflow: hidden;
  color: #000;
  cursor: pointer;
  white-space: nowrap;
  border-style: none;
  border-width: 0px;
  font-size: 12px;
  font-family: arial, sans-serif;
  padding-left: 6px;
  padding-top: 2px;
  vertical-align: middle;
}

.menuMainLabel {
  white-space: nowrap;
  border-style: none;
  border-width: 0px;
  font-size: 8pt;
  font-family: arial, sans-serif;
  font-weight: bold;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 2px;
  vertical-align: middle;
}

.menuMainLink {
  border-style: none;
  border-width: 0px;
  font-size: 12px;
  font-family: arial, sans-serif;
  color: #00C;
  text-decoration: underline;
  cursor: pointer;
  padding-left: 6px;
  padding-right: 6px;
  padding-top: 2px;
  vertical-align: middle;
}

/* Merged cell button below*/
td.mergeButton {
  padding-top: 0;
  padding-left: 3;
  padding-right: 3;
  cursor: pointer;
}
.mergeButton table{
  border-collapse: collapse;
}
.mergeButton td {
  padding: 0;
  margin: 0;
  font-size: 11px;
}
.mergeButton .top td {
  border-bottom: 1px solid #86A9F5;
}
.mergeButton .bottom td {
  border-top: 1px solid #86A9F5;
}
.mergeButton .r {
  border-right: 1px solid #86A9F5;
}
.mergeButton .word {
  padding: 1;
}
.mergeButton .word {
  color: #00c
}
.mergeButton .inactive .word {
  color: #999
}
td.r2 {
  border-right: 1px solid #C3D9FF;
}
table.apart td.r2 {
  border-right: 1px solid #86A9F5;
}

