body, html {
  height: 100%;
  font: normal 11px Arial;
}

/** Grid */
.x-grid3-cell-inner {
  border: 1px #EDEDED solid;
  border-left-width: 0;
  border-right-width: 0;
  padding: 0px;
  padding-left: 3px;
  padding-right: 3px;
  background-color: white;
  position:relative;
}

.x-grid3-row-table {
  height: 100%;
}

.x-list3-row .x-grid3-cell-inner {
  background-color: transparent;
}

.bdf-grid .bdf-textArea{
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: keep-all !important;
  overflow: auto;
}

/*.ext-ie .x-grid3-cell-inner {
  border: 1px white ridge;
}*/

.x-grid3-viewport {
  height: 100%;
  outline: 0;
}

.bdf-grid-single-row-component {
  height: 18px;
  line-height: 18px !important;
}

.ext-ie .bdf-grid-single-row-component {
  height: 20px;
  line-height: 16px !important;
  padding-top: 1px;
  padding-bottom: 1px;
}

.bdf-grid-multi-row-component {
  height: 100%;
  /*line-height: 60px;*/
}

.x-grid3-row {
  border: none;
  width:200%; /*IE bug when disabled columns exist*/
  overflow:hidden;
}

.x-grid3-row td {
  vertical-align: middle;
  -moz-user-select: text;
}

/*.ext-gecko .x-grid3-row td {
  padding: 0px;
}*/

.x-grid3-col {
  float:left;
  display:block;
  height:100%;
  outline:0;
}

.x-grid3-cell-first {
  padding: 0px !important;
}

.bdf-grid div.bdf-button {
  padding: 0px;
}

.x-grid3-cell-inner .x-form-field-wrap {
  margin-top: -20px;
}

.x-grid3-hd-inner {
  white-space: normal !important;
  padding: 4px 3px;
  border-width: 0px;
  word-wrap: break-word !important;
  word-break: keep-all !important;
  overflow: visible;
}
.ext-ie .x-grid3-hd-inner {
	padding-bottom: 3px;
}

.x-grid3-header {
  background: transparent;
}

.bdf-grid-fn-icon {
    visibility: hidden;
    display: inline;
    position: absolute;
    left: 2px;
    top: 5px;
    height: 12px;
    width: 12px;
}
.bdf-grid-fn-column .bdf-grid-fn-icon {
    visibility: visible;
}
.bdf-grid-fn-column .x-grid3-hd-inner {
    padding-left:16px;
}

.x-grid3-scroller {
  padding: 0px;
}

.bdf-grid-scroller {
  outline: 0;
}

.x-grid3-body .bdf-checkBox, .x-grid3-body .bdf-radiobutton {
  padding:0px !important;
}

.ext-strict .x-grid3-body .bdf-checkBox, .ext-strict .x-grid3-body .bdf-radiobutton {
  padding-top:1px !important;
  padding-bottom:1px !important;
  height: 16px !important;
}

.x-grid3-body {
  overflow:hidden;
}

.bdf-grid-col-sortable {
    cursor: pointer;
}

.x-grid3-check-col {
    height: 100%;
    background-image:url(images/unchecked.gif);
}

.x-grid3-check-col-on {
    height: 100%;
    background-image:url(images/checked.gif);
}

.x-grid3-header {
  padding: 0;
  border-bottom: 1px solid #ccc;
}

.x-grid3-hd {
  text-align: left;
  width: 100%;
  height: 18px;
  font: 11px normal;
  font-family: Tahoma;
  font-size-adjust: none;
}

td.x-grid3-hd-over .x-grid3-hd-inner, td.sort-desc .x-grid3-hd-inner, td.sort-asc .x-grid3-hd-inner, td.x-grid3-hd-menu-open .x-grid3-hd-inner {
  background:transparent;
}

.x-hover {
  opacity: 1;
  filter: alpha(opacity=100);
  -moz-opacity: 1;
}

.bdf-grid-header-offset {
  padding-left: 1px;
}

.bdf-grid-item-disabled {
  opacity: 0.5;
  filter: alpha(opacity=50);
  -moz-opacity: 0.5;
}

.bdf-grid-date-col {
  width: 17px;
  height: 22px;
  background-image: url(images/date.gif) !important;
  background-repeat: no-repeat !important;
  background-position: right center !important;
}

.bdf-grid-dynamic .bdf-textLabel, .bdf-grid-dynamic .bdf-htmlEditor { 
    white-space: normal !important; 
    word-wrap: break-word !important; 
    word-break: keep-all !important; 
    overflow: hidden; 
    height: 100%; 
    line-height: inherit !important; 
}

.bdf-grid .bdf-htmlEditor, .bdf-grid .bdf-htmlRenderer, .bdf-grid .bdf-image {
  padding: 0px;
}
.bdf-grid .bdf-image {
  text-align: center;
}
.bdf-grid .bdf-image img {
	padding: 3px;
	box-sizing: border-box;
	-moz-box-sizing: border-box;
	-webkit-box-sizing: border-box;
	display: block;
	margin: auto;
	max-width: 100%;
  width: auto;
  height: 100%;
}

.bdf-grid .bdf-comboBox, .bdf-grid .bdf-dateField{
  /*padding: 0px;*/
  line-height: 18px !important;
}

.bdf-grid .bdf-button {
  line-height: 16px !important;  
}

.ext-ie .x-grid-editor .x-form-text {
  padding-left: 2px;
}

/*.ext-gecko .x-small-editor .x-form-text {
  height: 22px;
  padding-top: 3px;
}*/

.ext-ie .bdf-textfield, .ext-ie .bdf-textarea, .ext-ie .bdf-passwordfield, .ext-ie .bdf-formattedfield {
  float:left; /* got this from ext-js 4 for offsetTop bug of textFields in table on IE 6-7-9*/
}

.x-grid3-radio-col {
  background: transparent url(images/radio-unchecked.gif) center no-repeat;
  width: 100%;
  height: 100%;
}

.x-grid3-radio-col-on {
  background: transparent url(images/radio-checked.gif) center no-repeat;
  width: 100%;
  height: 100%;
}

.x-grid3-locked, .x-grid3-unlocked {
    overflow: hidden;
    position: absolute;
}
.x-grid3-locked {
    border-right: 1px solid #99BBE8;
}
.x-grid3-locked .x-grid3-scroller {
    overflow: hidden !important;
}
.x-grid3-locked .x-grid3-row {
    border-right: 0;
}
.x-grid3-scroll-spacer {
    height: 19px;
}
.x-grid3-header-offset {
    padding-left: 0;
}
.x-grid3-unlocked .x-grid3-row {
    border-left: 0;
}

/** ComboBox */
.x-form-field-wrap .x-form-field {
  position: absolute !important;
  left: 0px;
  top: 0px;
}

.x-form-field-wrap .x-form-trigger {
  position: absolute !important;
  right: 0px;
  height: 19px;
}

/*.ext-ie .x-form-field-wrap .x-form-trigger {
  top: -1px !important;
}*/

.x-combo-list-item, .x-combo-list-small .x-combo-list-item {
    font: inherit;
}
/** File upload */
.bdf-fileupload .x-panel-bwrap {
    overflow:visible;
}
.x-form-file-wrap {
  height:22px;
  position:relative;
}
.x-form-file {
  height:22px;
  opacity:0;
  filter:alpha(opacity=0);
  position:absolute;
  right:0pt;
  z-index:-100000;
}
.x-form-file-wrap .x-form-file-btn {
  position:absolute;
  right:0pt;
  /*z-index:1;*/
}
.x-form-file-wrap .x-form-file-text {
  color:#777777;
  left:0pt;
  position:absolute;
  /*z-index:100001;*/
}
/*.ext-ie .x-form-file-wrap .x-form-file-text {
  top:1px;
}*/
/** Toolbar */
.x-toolbar {
  padding: 0px;
  border: none;
}
/** List */
div.bdf-list {
    background-color: #ffffff;
}

.x-list3 {
    position:relative;
    overflow:hidden;
    /*background-color:#fff;*/
}

.x-list3-row {
    width: 100% !important;
    height: 20px;
    cursor: default;
    border:none;
}

.x-list3 table {
  table-layout:fixed;
  width: 100% !important;
}
/* Selection Styles */
.x-list3-row-selected {
	background: rgb(10,36,106) !important;
	border:none;
}

.x-list3-row-selected .x-list3-cell-inner {
  color: white !important;
}

.x-grid3-locked td.x-grid3-row-marker, .x-grid3-locked .x-list3-row-selected td.x-grid3-row-marker{
    background: #ebeadb url(../images/default/grid/grid-hrow.gif) repeat-x 0 bottom !important;
    vertical-align:middle !important;
    color:black;
    padding:0;
    border-top:1px solid white;
    border-bottom:none !important;
    border-right:1px solid #6fa0df !important;
    text-align:center;
}
.x-grid3-locked td.x-grid3-row-marker div, .x-grid3-locked .x-list3-row-selected td.x-grid3-row-marker div{
    padding:0 4px;
    color:#15428b !important;
    text-align:center;
}
.x-grid3-hd-row td, .x-list3-row td, .x-grid3-summary-row td{
	font:normal 11px Arial;
  -moz-outline: none;
	-moz-user-focus: normal;
}
.x-list3-row td, .x-grid3-summary-row td {
  line-height:13px;
  vertical-align: top;
  padding-left:1px;
  padding-right:1px;
  -moz-user-select: none;
}

.x-list3-row .x-grid3-marker {
    padding:3px;
}
.x-list3-row-alt{
	background-color:#fafafa;
}

.x-list3-row-over {
  background: #DFE8F6;
}

.x-list3-cell-inner {
  border: none !important;
  width: 100% !important;
  line-height: 20px;
}
/** Miscellaneous */
.ext-el-mask {
  -moz-opacity:0.1;
  opacity:0.1;
  filter:alpha(opacity=10);
  background-color: #808080;
}
.bdf-mask {
  position:absolute;
  top:0;
  left:0;
  width:100%;
  height:100%;
  zoom:1;
  background-color:transparent;
}
.ext-ie .bdf-mask {
  background-color: #f0f0f0;
  filter:alpha(opacity=0);
}

/*.ext-ie .bdf-grid .ext-el-mask, .ext-ie .bdf-list .ext-el-mask, .ext-ie .bdf-tree .ext-el-mask {
    width: 100%;
    height: 100%;
    background-color: transparent;
}*/

.bdf-connection-mask {
  z-index: 200000;
  cursor: default;
  height: 100000px;
  width: 100000px;
}

.bdf-connection-mask-msg {
  text-align: center;
  z-index: 200001;
}

.bdf-splash-mask {
  text-align: center;
  z-index: 200001;
  background: none;
  padding: 10px;
  background: White;
}

a.bdf-hyperlink, .x-grid3-hyperLink-col {
    text-decoration: underline;
    outline: 0 none;
    border: 0;
}

a.bdf-item-disabled, .bdf-grid-cell-disabled a {
    text-decoration: none !important;
}

.bdf-simplepanel {
  border: none;
}

.bdf-simplepanel-bordertitle {
  position: absolute !important;
  left: 6px;
  top: -7px;
  border: none !important;
}

.bdf-header-hidden .x-window-header {
    display: none;
}
.bdf-header-hidden .x-window-bl {
    display: none;
}

.bdf-window .x-window-header-text {
  border: none !important;
  background: transparent !important;
  font-size: 11px;
}

.x-window-header-text {
    font-style: inherit;
    font-weight: inherit;
}

.ext-safari .x-form-field-wrap .x-form-trigger {
  height: 19px;
}

.x-form-text {
  height: 20px;
}

.ext-ie .x-form-text{
  height:20px;
}

.ext-strict .x-form-text {
    height: 16px;
}

.ext-strict .ext-safari .x-form-text {
    height: 18px;
}

.x-form-text/*, .x-form-textarea*/ {
  background:#FFFFFF;
}


.bdf-panel-border {
  background: none;
  overflow:hidden;
}

.bdf-panel-body {
    overflow:hidden;
    zoom:1;
}

.ext-ie .bdf-accordion-panel .x-panel .x-panel-bwrap {
  height: auto;
}

.bdf-accordion-hd {
  padding-bottom: 0px;
  padding-top: 0px;
}

div.bdf-accordion-disabled {
  cursor: default !important;
}

.bdf-accordion-disabled .x-tool-toggle {
  cursor: default;
  background-image: url(images/tool-sprites-disabled.gif);
}

.bdf-expandicon-left .bdf-accordion-hd .x-tool-toggle {
  float: left;
  margin-left: -2px;
  margin-right: 2px;
}

.bdf-expandicon-right .bdf-accordion-hd .x-tool-toggle {
  float: right;
}

.x-tool-toggle {
  background-position:0px -75px;
}

.x-tool-toggle-over {
  background-position:-15px -75px;
}

.x-panel-collapsed .x-tool-toggle {
  background-position:0px -120px;
}
.x-panel-collapsed .x-tool-toggle-over {
  background-position:-15px -120px;
}

.bdf-component-label {
    text-decoration: none !important;
    font-weight: bold !important;
    font-style: normal !important;
}

.bdf-label-disabled {
  background: transparent;
  cursor:default !important;
}

.x-item-disabled * {
  outline: 0;
}

.bdf-item-disabled {
  opacity:0.75;
  filter:alpha(opacity=80);
  /*color: gray;*/
  cursor: default;
  outline: 0;
}
.bdf-button-disabled {
  opacity:0.6;
  filter:alpha(opacity=60);
  cursor: default !important;
  outline: 0;
}
.bdf-button-icon-only.bdf-button-disabled {
  opacity:0.5;
}

/*.ext-strict .x-panel table td {
    vertical-align: middle;
}*/

.x-panel-header-text {
    font-style: inherit;
    font-family: inherit;
    font-size: inherit;
    color: #303030;
    font-weight: bold;
}

.bdf-debug-clear-button {
  background-image: url(../resources/images/editdelete16.png) !important;
}

.bdf-error-button {
  cursor:default;
  display:block;
  font-size: 10px;
  background-image: url(../resources/images/warning.png);
  background-color: #cccccc;
  background-position: center;
  z-index: 1000;
  position:absolute;
}

.x-menu-item-icon {
    display: inline-block;
}

/* It has been implemented empty to fix case 3072 */
.bdf-icon {}

.x-hidden,.x-hide-offsets {
  position:absolute;
  left:-10000px !important;
  top:-10000px !important;
  visibility:hidden;
}

.x-hide-visibility, .x-hide-visibility * {
    height: 0px !important;
}

/*.ext-gecko.x-hidden.x-hide-offsets {
  display:none;
}*/

.x-tree ul {
    margin: 0px;
}

.x-tree ul li {
    margin:0px;
    padding:0px;
}

.x-tree-node-el {
  text-align: left;
  /*display: inline-block;*/
}

.x-tree-node-collapsed .x-tree-node-icon,.x-tree-node-expanded .x-tree-node-icon,.x-tree-node-leaf .x-tree-node-icon{
  border:0 none;
  height:auto;
  margin:0;
  padding:0;
  vertical-align:middle;
  width:auto;
  background-position:center;
  background-repeat:no-repeat;
  background-image: none;
}

.x-tree-node-inline-icon {
  vertical-align:middle;
}

.bdf-header-hidden .x-window-mc {
  border: none;
}

.x-form-check-wrap, .x-form-radio-wrap {
  padding: 0px 0px 0px 2px;
}

.x-form-check-wrap-inner, .x-form-radio-wrap-inner {
  outline: 0;
}

.x-combo-list-inner {
  overflow-x: hidden !important;
  min-height: 10px;
}
.x-combo-list .bdf-combo-list-over {
	background: none repeat scroll 0 0 #eee;
	border: 1px dotted #ddd;
	cursor: pointer;
}

.x-menu, .x-combo-list {
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.3);
}

.ext-safari table.x-date-inner {
    width: 175px;
}

/*.x-menu-list-item {
  padding: 0px;
}

.x-menu-item-active {
  border: 0px;
}*/

/* Layout */
.x-border-layout-ct {
  position: relative !important;
  background: transparent;
}

.x-border-panel {
  position: absolute !important;
}
.x-abs-layout-item {
  position: absolute !important;
}

/* TabPanel */
.bdf-tab-left {
  float: left;
  display: inline;
  overflow: hidden;
  width: auto;
}

.bdf-tab-right {
  float: right;
  display: inline;
  overflow: hidden;
  width: auto;
}

ul.x-tab-strip {
    margin: 0px;
    display:block;
    width:auto;
    zoom:1;
}

ul.x-tab-strip-left, ul.x-tab-strip-right {
  width: auto;
  height: 5000px;
  background: #CEDFF5 repeat-y scroll center bottom;
  padding-top: 0px;
  border-bottom: 1px solid #8DB2E3;
}

.x-tab-strip-left .x-tab-strip-active .x-tab-right, .x-tab-strip-right .x-tab-strip-active .x-tab-right {
  background-position:0pt 0pt;
  margin-bottom:-1px;
}

.x-tab-strip-left .x-tab-strip-active .x-tab-left, .x-tab-strip-right .x-tab-strip-active .x-tab-left {
  background-position: right -301px;
}

.x-tab-strip-left .x-tab-strip-active .x-tab-strip-inner, .x-tab-strip-right .x-tab-strip-active .x-tab-strip-inner {
  background-position: 0pt -151px;
}

.x-tab-strip-left .x-tab-strip-active .x-tab-right span.x-tab-strip-text, .x-tab-strip-right .x-tab-strip-active .x-tab-right span.x-tab-strip-text {
  padding-bottom: 5px;
}

.x-tab-strip-left .x-tab-right span.x-tab-strip-text, .x-tab-strip-right .x-tab-right span.x-tab-strip-text {
  overflow: hidden;
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: keep-all !important;
}

.bdf-tab-left .x-tab-strip-wrap, .bdf-tab-right .x-tab-strip-wrap {
  width: auto;
  height: 100%;
}

.bdf-tab-left li, .bdf-tab-right li {
  clear: both;
}

.x-tab-strip-left .x-tab-strip-inner, .x-tab-strip-right .x-tab-strip-inner {
  max-height: 50px;
  height: 22px;
}

.x-tab-strip-inner {
  text-align: center;
  padding-right:3px; /*for italic*/
}

.x-tab-scroller-up {
    background: transparent url(../resources/images/scroll-up.gif) no-repeat center -18px;
    border-right: 1px solid #8db2e3;
    border-left: 1px solid #8db2e3;
    height:18px;
    position:relative;
    top:0;
    z-index:10;
    cursor:pointer;
}
.x-tab-scroller-up-over {
    background-position: center 0;
}
.x-tab-scroller-up-disabled {
    background-position: center -18px;
    opacity:.5;
    -moz-opacity:.5;
    filter:alpha(opacity=50);
    cursor:default;
}
.x-tab-scroller-down {
    background: transparent url(../resources/images/scroll-down.gif) no-repeat center 0;
    /*border-right: 1px solid #8db2e3;*/
    border-left: 1px solid #8db2e3;
    height:18px;
    position:relative;
    bottom:0;
    z-index:10;
    cursor:pointer;
}
.x-tab-scroller-down-over {
    background-position: center -18px;
}
.x-tab-scroller-down-disabled {
    background-position: center 0;
    opacity:.5;
    -moz-opacity:.5;
    filter:alpha(opacity=50);
    cursor:default;
}
.x-tab-scrolling-vertical .x-tab-strip-wrap {
    /*position: relative;*/
    /*margin-top:18px;*/
    /*margin-bottom:18px;*/
    /*top: 18px;*/
} 

/* Print */
@media print {
  .bdf-not-printable {
    display: none !important;
  }

  .ext-ie .x-table-layout-cell {
    line-height: 0px;
  }
  
  .bdf-item-disabled, .bdf-button-disabled, .bdf-grid-item-disabled {
    opacity:1;
  }
}

/* word-wrap on error dialog (case 5116) */
.ext-mb-text {
  white-space: normal !important;
  word-wrap: break-word !important;
  word-break: keep-all !important;
}

.bdf-textlabel {
  overflow-y:hidden;
}

.bdf-hyperlink {
  position:relative;
  word-wrap: break-word;
}
/* button */
.bdf-button, .bdf-menubutton {
  display: block;
  position: relative;
  padding: 0;
  overflow: hidden;
}
/* button - inner icon element */
.bdf-button-icon {
  position: absolute;
  top: 0;
  left: 0;
  bottom: 0;
  background-position: center center;
  background-repeat: no-repeat;
}
.bdf-button-arrow {
  position: absolute;
  right:4px;
  top:7px;
  border-top: 4px solid #444;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  height:0;
  width:0;
}
/* button - inner label element */
.bdf-button-label {
  /*position: absolute;
  top: 0;
  left: 0;*/
  text-align: center;
  padding-left: 2px;
  padding-right: 4px;
}
.ext-ie .bdf-button-icon, .ext-ie .bdf-button-label {
  margin-top: -1px;
  margin-left: -1px;
}
button::-moz-focus-inner {
    border: 0;
    padding: 0;
}

.x-grid-editor .x-form-textarea {
  padding: 0px 3px;
  /*border-width: 0px;*/
}
.ext-gecko .x-grid-editor .x-form-textarea {
  padding: 0;
}

.bdf-box-bordertitle {
  position: absolute !important;
  left: 6px;
  top: 0;
  border: none !important;
}

.bdf-line {
  line-height:0px;
}

/*** Editor ***/
.bdf-editor-dirty .x-tab-strip-inner span.x-tab-strip-text {
  font-style: italic;
}
.bdf-editor-error .x-tab-strip-inner span.x-tab-strip-text {
  color: red !important;
}
.bdf-editor-pretty-print-button {
  background-image: icons/mainframe/tree.png;
}
.bdf-editor-validate-button {
  background-image: url(../icons/mainframe/open.png) !important;
  /*background-image: url(../resources/images/editdelete16.png) !important;*/
}
.bdf-editor .x-toolbar {
  border-top: none;
}

.x-splitbar-v {
  border-left: 1px solid #99BBE8;
  border-right: 1px solid #99BBE8;
}
.x-splitbar-h {
  border-top: 1px solid #99BBE8;
  border-bottom: 1px solid #99BBE8;
}

.bdf-editor-readOnly .CodeMirror {
	background: #eceeef;
}

.CodeMirror {
  overflow: hidden;
  line-height: 14px;
  font-family: monospace;
  font-size: 12px;
  background-color: white;
  cursor: auto;
}
.CodeMirror-gutter {
  position: absolute; left: 0; top: 0;
  background-color: #eceeef;
  border-right: 1px solid #dcdedf;
  min-width: 1.2em;
  height: 100%;
}
.CodeMirror-gutter-text {
  color: #a0a0a0;
  text-align: right;
  padding: .4em .2em .4em .4em;
}
.CodeMirror-lines {
  padding: .4em;
}
.CodeMirror pre {
  border-width: 0; margin: 0; padding: 0; background: transparent;
  font-family: inherit;
  position:relative;
}
.CodeMirror-cursor {
  z-index: 10;
  position: absolute !important;
  visibility: hidden;
  border-left: 1px solid black !important;
}
.CodeMirror-focused .CodeMirror-cursor {
  visibility: visible;
}
span.CodeMirror-selected {
  background: #ccc !important;
  color: HighlightText !important;
}
.CodeMirror-focused span.CodeMirror-selected {
  background: Highlight !important;
}

.CodeMirror textarea {
  font-family: inherit !important;
  font-size: inherit !important;
}

.CodeMirror-matchingbracket {color: #0f0 !important;}
.CodeMirror-nonmatchingbracket {color: #f22 !important;}

/* codemirro 2.1 */
.CodeMirror-scroll {
  overflow: auto;
  height: 100%;
  width: 100%;
  /* This is needed to prevent an IE[67] bug where the scrolled content
     is visible outside of the scrolling box. */
  position: relative;
}

/* styles of codemirror */ 
.completions {
	position: absolute;
	z-index: 10;
	overflow: hidden;
	padding:0px;
	border:none;
	background-color: #dfe8f6;
	-webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	-moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	box-shadow: 2px 3px 5px rgba(0,0,0,.2);
	/* For IE 8 */
	-ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
	/* For IE 5.5 - 7 */
	filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');

}
.completions select {
	background-color: #dfe8f6;
	outline: none;
	border: none;
	padding: 0px;
	margin: 0px;
	font-family: monospace;
  font-size: 12px;
  color: #1f1f1f;
}

/*.CodeMirror {
	border: 1px solid #eee;	
}
*/
span.ctrl-over {text-decoration:underline; cursor:pointer;} /* for ctrl+click */
.cm-activeline {background-color: #eceeef !important}
/* styles of xml tags */
.cm-s-fs-xml span.cm-keyword {color: #a0b;}
.cm-s-fs-xml span.cm-atom {color: #219;}
.cm-s-fs-xml span.cm-number {color: #164;}
.cm-s-fs-xml span.cm-def {color: #00f;}
.cm-s-fs-xml span.cm-variable {color: black;}
.cm-s-fs-xml span.cm-variable-2 {color: #05a;}
.cm-s-fs-xml span.cm-variable-3 {color: #0a5;}
.cm-s-fs-xml span.cm-property {color: black;}
.cm-s-fs-xml span.cm-operator {color: black;}
.cm-s-fs-xml span.cm-comment {color: #a70;}
.cm-s-fs-xml span.cm-string {color: #281;}
.cm-s-fs-xml span.cm-meta {color: #555;}
.cm-s-fs-xml span.cm-error {color: #f00;}
.cm-s-fs-xml span.cm-qualifier {color: #555;}
.cm-s-fs-xml span.cm-builtin {color: #30a;}
.cm-s-fs-xml span.cm-bracket {color: #00f;}
.cm-s-fs-xml span.cm-tag {color: #a0b;}
.cm-s-fs-xml span.cm-attribute {color: #00f;}

.cm-s-fs-xml span.cm-hilite {background: #fd4; -webkit-border-radius: 3px; -moz-border-radius: 3px; border-radius: 3px;}

.bdf-editor-findreplace-item {
  font: 12px tahoma,arial,helvetica,sans-serif;
  display: inline;
}

#editorTabbedPanel div.findReplaceCloseButton{
  display: inline-block;
  margin-top: 1px;
  margin-right:1px;
  float:right;
  width:14px;
  height:14px;
  border: 1px solid transparent;
  text-align:center;
  color:#558ad4;
}
#editorTabbedPanel div.findReplaceCloseButton:hover{
  border: 1px solid #558ad4;
}

.completion-window-ib{
  display: inline;
}

.completion-window-item{
  cursor: default;
}

.completion-window-container{
  position: absolute;
  z-index: 10;
  overflow: hidden;
  padding:0px;
  border:none;
  display: inline-block;
  background-color: #dfe8f6;
  -webkit-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  -moz-box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  box-shadow: 2px 3px 5px rgba(0,0,0,.2);
  font-family: monospace;
  font-size: 12px;
  color: #1f1f1f;
  /* For IE 8 */
  -ms-filter: "progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000')";
  /* For IE 5.5 - 7 */
  filter: progid:DXImageTransform.Microsoft.Shadow(Strength=4, Direction=135, Color='#000000');

}

.completion-window-selected{
  background-color: blue;
  color: white;
}

.completion-window-attr-req{
  font-weight: bold;
}

/*
 * FullCalendar v1.5.2 Stylesheet
 *
 * Copyright (c) 2011 Adam Shaw
 * Dual licensed under the MIT and GPL licenses, located in
 * MIT-LICENSE.txt and GPL-LICENSE.txt respectively.
 *
 * Date: Sun Aug 21 22:06:09 2011 -0700
 *
 */


.fc {
	direction: ltr;
	text-align: left;
  overflow: auto;
	}
	
.fc table {
	border-collapse: collapse;
	border-spacing: 0;
	}
	
html .fc,
.fc table {
	font-size: 1em;
	}
	
.fc td,
.fc th {
	padding: 0;
	vertical-align: top;
	}



/* Header
------------------------------------------------------------------------*/

.fc-header td {
	white-space: nowrap;
	}

.fc-header-left {
	width: 25%;
	text-align: left;
	}
	
.fc-header-center {
	text-align: center;
	}
	
.fc-header-right {
	width: 25%;
	text-align: right;
	}
	
.fc-header-title {
	display: inline-block;
	vertical-align: top;
	}
	
.fc-header-title h2 {
	margin-top: 0;
	white-space: nowrap;
	}
	
.fc .fc-header-space {
	padding-left: 5px;/*10px;*/
	}
	
.fc-header .fc-button {
	margin-bottom: 5px;/*1em;*/
	vertical-align: top;
	}
	
/* buttons edges butting together */

.fc-header .fc-button {
	margin-right: -1px;
	}
	
.fc-header .fc-corner-right {
	margin-right: 1px; /* back to normal */
	}
	
.fc-header .ui-corner-right {
	margin-right: 0; /* back to normal */
	}
	
/* button layering (for border precedence) */
	
.fc-header .fc-state-hover,
.fc-header .ui-state-hover {
	z-index: 2;
	}
	
.fc-header .fc-state-down {
	z-index: 3;
	}

.fc-header .fc-state-active,
.fc-header .ui-state-active {
	z-index: 4;
	}
	
	
	
/* Content
------------------------------------------------------------------------*/
	
.fc-content {
	clear: both;
	}
	
.fc-view {
	width: 100%; /* needed for view switching (when view is absolute) */
	overflow: hidden;
	}
	
	

/* Cell Styles
------------------------------------------------------------------------*/

.fc-widget-header,    /* <th>, usually */
.fc-widget-content {  /* <td>, usually */
	border: 1px solid #ccc;
	}
	
.fc-state-highlight { /* <td> today cell */ /* TODO: add .fc-today to <th> */
	background: #ffc;
	}
	
.fc-cell-overlay { /* semi-transparent rectangle while dragging */
	background: #9cf;
	opacity: .2;
	filter: alpha(opacity=20); /* for IE */
	}
	


/* Buttons
------------------------------------------------------------------------*/

.fc-button {
	position: relative;
	display: inline-block;
	cursor: pointer;
	}
	
.fc-state-default { /* non-theme */
	border-style: solid;
	border-width: 1px 0;
	}
	
.fc-button-inner {
	position: relative;
	float: left;
	overflow: hidden;
	}
	
.fc-state-default .fc-button-inner { /* non-theme */
	border-style: solid;
	border-width: 0 1px;
	}
	
.fc-button-content {
	position: relative;
	float: left;
	height: 1.9em;
	line-height: 1.9em;
	padding: 0 .6em;
	white-space: nowrap;
	}
	
/* icon (for jquery ui) */
	
.fc-button-content .fc-icon-wrap {
	position: relative;
	float: left;
	top: 50%;
	}
	
.fc-button-content .ui-icon {
	position: relative;
	float: left;
	margin-top: -50%;
	*margin-top: 0;
	*top: -50%;
	}
	
/* gloss effect */
	
.fc-state-default .fc-button-effect {
	position: absolute;
	top: 50%;
	left: 0;
	}
	
.fc-state-default .fc-button-effect span {
	position: absolute;
	top: -100px;
	left: 0;
	width: 500px;
	height: 100px;
	border-width: 100px 0 0 1px;
	border-style: solid;
	border-color: #fff;
	background: #444;
	opacity: .09;
	filter: alpha(opacity=9);
	}
	
/* button states (determines colors)  */
	
.fc-state-default,
.fc-state-default .fc-button-inner {
	border-style: solid;
	border-color: #ccc #bbb #aaa;
	background: #F3F3F3;
	color: #000;
	}
	
.fc-state-hover,
.fc-state-hover .fc-button-inner {
	border-color: #999;
	}
	
.fc-state-down,
.fc-state-down .fc-button-inner {
	border-color: #555;
	background: #777;
	}
	
.fc-state-active,
.fc-state-active .fc-button-inner {
	border-color: #555;
	background: #777;
	color: #fff;
	}
	
.fc-state-disabled,
.fc-state-disabled .fc-button-inner {
	color: #999;
	border-color: #ddd;
	}
	
.fc-state-disabled {
	cursor: default;
	}
	
.fc-state-disabled .fc-button-effect {
	display: none;
	}
	
	

/* Global Event Styles
------------------------------------------------------------------------*/
	 
.fc-event {
	border-style: solid;
	border-width: 0;
	font-size: .85em;
	cursor: pointer;
	}
	
a.fc-event,
.fc-event-draggable {
	cursor: pointer;
	}
	
a.fc-event {
	text-decoration: none;
	}
	
.fc-rtl .fc-event {
	text-align: right;
	}
	
.fc-event-skin {
	border-color: #36c;     /* default BORDER color */
	background-color: #36c; /* default BACKGROUND color */
	color: #fff;            /* default TEXT color */
  }

.fc-event-inner {
	position: relative;
	width: 100%;
	height: 100%;
	border-style: solid;
	border-width: 0;
	overflow: hidden;
	}
	
.fc-event-time,
.fc-event-title {
	padding: 0 1px;
	}
	
.fc-event-time {
  padding-right: 3px;
}
.fc-view-month .fc-event-time, .fc-view-month .fc-event-title {
  white-space:nowrap;
  /*text-overflow:ellipsis;*/
}

.fc .ui-resizable-handle { /*** TODO: don't use ui-resizable anymore, change class ***/
	display: block;
	position: absolute;
	z-index: 99999;
	overflow: hidden; /* hacky spaces (IE6/7) */
	font-size: 300%;  /* */
	line-height: 50%; /* */
	}
	
	
	
/* Horizontal Events
------------------------------------------------------------------------*/

.fc-event-hori {
	border-width: 1px 0;
	margin-bottom: 1px;
	}
	
/* resizable */
	
.fc-event-hori .ui-resizable-e {
	top: 0           !important; /* importants override pre jquery ui 1.7 styles */
	right: -3px      !important;
	width: 7px       !important;
	height: 100%     !important;
	cursor: e-resize;
	}
	
.fc-event-hori .ui-resizable-w {
	top: 0           !important;
	left: -3px       !important;
	width: 7px       !important;
	height: 100%     !important;
	cursor: w-resize;
	}
	
.fc-event-hori .ui-resizable-handle {
	_padding-bottom: 14px; /* IE6 had 0 height */
	}
	
	
	
/* Fake Rounded Corners (for buttons and events)
------------------------------------------------------------*/
	
.fc-corner-left {
	margin-left: 1px;
	}
	
.fc-corner-left .fc-button-inner,
.fc-corner-left .fc-event-inner {
	margin-left: -1px;
	}
	
.fc-corner-right {
	margin-right: 1px;
	}
	
.fc-corner-right .fc-button-inner,
.fc-corner-right .fc-event-inner {
	margin-right: -1px;
	}
	
.fc-corner-top {
	margin-top: 1px;
	}
	
.fc-corner-top .fc-event-inner {
	margin-top: -1px;
	}
	
.fc-corner-bottom {
	margin-bottom: 1px;
	}
	
.fc-corner-bottom .fc-event-inner {
	margin-bottom: -1px;
	}
	
	
	
/* Fake Rounded Corners SPECIFICALLY FOR EVENTS
-----------------------------------------------------------------*/
	
.fc-corner-left .fc-event-inner {
	border-left-width: 1px;
	}
	
.fc-corner-right .fc-event-inner {
	border-right-width: 1px;
	}
	
.fc-corner-top .fc-event-inner {
	border-top-width: 1px;
	}
	
.fc-corner-bottom .fc-event-inner {
	border-bottom-width: 1px;
	}
	
	
	
/* Reusable Separate-border Table
------------------------------------------------------------*/

table.fc-border-separate {
	border-collapse: separate;
	}
	
.fc-border-separate th,
.fc-border-separate td {
	border-width: 1px 0 0 1px;
	}
	
.fc-border-separate th.fc-last,
.fc-border-separate td.fc-last {
	border-right-width: 1px;
	}
	
.fc-border-separate tr.fc-last th,
.fc-border-separate tr.fc-last td {
	border-bottom-width: 1px;
	}
	
.fc-border-separate tbody tr.fc-first td,
.fc-border-separate tbody tr.fc-first th {
	border-top-width: 0;
	}
	
	

/* Month View, Basic Week View, Basic Day View
------------------------------------------------------------------------*/

.fc-grid th {
	text-align: center;
	}
	
.fc-grid .fc-day-number {
	float: right;
	padding: 0 2px;
	}
	
.fc-grid .fc-other-month .fc-day-number {
	opacity: 0.3;
	filter: alpha(opacity=30); /* for IE */
	/* opacity with small font can sometimes look too faded
	   might want to set the 'color' property instead
	   making day-numbers bold also fixes the problem */
	}
	
.fc-grid .fc-day-content {
	clear: both;
	padding: 2px 2px 1px; /* distance between events and day edges */
	}
	
/* event styles */
	
.fc-grid .fc-event-time {
	font-weight: bold;
	}
	
/* right-to-left */
	
.fc-rtl .fc-grid .fc-day-number {
	float: left;
	}
	
.fc-rtl .fc-grid .fc-event-time {
	float: right;
	}
	
	

/* Agenda Week View, Agenda Day View
------------------------------------------------------------------------*/

.fc-agenda table {
	border-collapse: separate;
	}
	
.fc-agenda-days th {
	text-align: center;
	}
	
.fc-agenda .fc-agenda-axis {
	width: 50px;
	padding: 0 4px;
	vertical-align: middle;
	text-align: right;
	white-space: nowrap;
	font-weight: normal;
	}
	
.fc-agenda .fc-day-content {
	padding: 2px 2px 1px;
	}
	
/* make axis border take precedence */
	
.fc-agenda-days .fc-agenda-axis {
	border-right-width: 1px;
	}
	
.fc-agenda-days .fc-col0 {
	border-left-width: 0;
	}
	
/* all-day area */
	
.fc-agenda-allday th {
	border-width: 0 1px;
	}
	
.fc-agenda-allday .fc-day-content {
	min-height: 34px; /* TODO: doesnt work well in quirksmode */
	_height: 34px;
	}
	
/* divider (between all-day and slots) */
	
.fc-agenda-divider-inner {
	height: 2px;
	overflow: hidden;
	}
	
.fc-widget-header .fc-agenda-divider-inner {
	background: #eee;
	}
	
/* slot rows */
	
.fc-agenda-slots th {
	border-width: 1px 1px 0;
	}
	
.fc-agenda-slots td {
	border-width: 1px 0 0;
	background: none;
	}
	
.fc-agenda-slots td div {
	height: 20px;
	}
	
.fc-agenda-slots tr.fc-slot0 th,
.fc-agenda-slots tr.fc-slot0 td {
	border-top-width: 0;
	}

.fc-agenda-slots tr.fc-minor th,
.fc-agenda-slots tr.fc-minor td {
	border-top-style: dotted;
	}
	
.fc-agenda-slots tr.fc-minor th.ui-widget-header {
	*border-top-style: solid; /* doesn't work with background in IE6/7 */
	}
	


/* Vertical Events
------------------------------------------------------------------------*/

.fc-event-vert {
	border-width: 0 1px;
	}
	
.fc-event-vert .fc-event-head,
.fc-event-vert .fc-event-content {
	position: relative;
	z-index: 2;
	width: 100%;
	overflow: hidden;
	}
	
.fc-event-vert .fc-event-time {
	white-space: nowrap;
	font-size: 10px;
	}
	
.fc-event-vert .fc-event-bg { /* makes the event lighter w/ a semi-transparent overlay  */
	position: absolute;
	z-index: 1;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
	background: #fff;
	opacity: .3;
	filter: alpha(opacity=30);
	}
	
.fc .ui-draggable-dragging .fc-event-bg, /* TODO: something nicer like .fc-opacity */
.fc-select-helper .fc-event-bg {
	display: none\9; /* for IE6/7/8. nested opacity filters while dragging don't work */
	}
	
/* resizable */
	
.fc-event-vert .ui-resizable-s {
	bottom: 0        !important; /* importants override pre jquery ui 1.7 styles */
	width: 100%      !important;
	height: 8px      !important;
	overflow: hidden !important;
	line-height: 8px !important;
	font-size: 11px  !important;
	font-family: monospace;
	text-align: center;
	cursor: s-resize;
	}
	
.fc-agenda .ui-resizable-resizing { /* TODO: better selector */
	_overflow: hidden;
	}
	
.fc-event-selected, .fc-event-selected .fc-event-inner{
  border-color:#808080;
}

.x-form-empty-field {
	color: #999 !important;
	/*font-style: italic !important;*/
	text-transform: none !important;
}

.x-form-field-wrap .bdf-textfield-trigger {
  border-left: none !important;
}
.bdf-textfield-trigger-icon {
	background-image: url("images/find.png");
    background-position: center center;
    background-repeat: no-repeat;
    width: 100%;
    height: 100%;
}
