/**** [ ext corrections ] ****/
/*#accordion p{
	margin: -8px 0 0 0 !important;
	padding: -8px 0 0 0 !important;}*/
/*<input type="text" autocomplete="off" size="24" id="ext-gen39" class="x-form-text x-form-field x-form-focus"/>*/
/* Fix for Firefox 3 */
.x-date-middle {
    width: 160px;
}

.x-grid table {
    table-layout: fixed;
}

.x-form-field {
    font: normal arial !important;
}

.x-form-text, textarea.x-form-field {
    background: #fff none repeat scroll 0 0;
}

.x-form-invalid-field, textarea.x-form-invalid-field {
    background: #fff url("../extjs/resources/themes/images/gray/grid/invalid_line.gif") repeat-x center bottom;
}

.x-webkit .x-form-field-wrap .x-form-trigger {
    right: auto !important;
}

/** Viegas/Elza: Customizations for ExtJS 4.1 */
.x-body {
    font-family: Arial, Helvetica, sans-serif;
    font-size: 12px;
}

/** Viegas: Workarround for upgrade to 4.1.1. These images were not shown! */
.x-masked, .x-mask {
    overflow: auto !important;
    /*width: 100% !important;*/
}

/** lpinto: workaround. Mask does not occupy the entire page, just the visible part, if you scroll the bottom appears without it.  */
.x-mask {
    position: fixed; /** Old value 'absolute'*/
}

.identiyCardFileField tr td {
    vertical-align: top;
}

/** pviegas: workaround ao workarround de lpinto. Only for full page masks. Component masks must remain positioned to its parent.  */
.x-surface .x-mask, .x-panel .x-mask {
    position: absolute;
}

/** Elza: Se coloca isto ele já não altera os tamanhos, mas ficam os componentes deles com paddings/margens todas maradas! */
.x-border-box, .x-border-box * {
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box;
}

.x-border-box .x-panel, .x-border-box .x-panel *, .x-border-box .x-window, .x-border-box .x-window *, .x-border-box .x-form-field {
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
}

.x-border-box .x-form-field {
    font-size: 12px;
    font-family: Arial, Helvetica, sans-serif;
}

.x-form-item-label, .x-panel-body {
    font-size: 12px;
}

.x-panel-header-text-default, .x-panel-header-default {
    font-size: 12px;
}

.x-border-box .x-form-trigger {
    height: 21px;
}

.x-tab-strip a {
    border-bottom: none !important;
}

.x-tree-node a, .x-dd-drag-ghost a {
    border-bottom: none !important;
}

/** Viegas: Workarround for upgrade to 4.1.1. These images were not shown! */
.x-grid-group-hd .x-grid-group-title {
    background-image: url("../extjs/resources/themes/images/gray/grid/group-collapse.gif");
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 0 0 0 14px;
}

/** Viegas: Workarround for upgrade to 4.1.1. These images were not shown! */
.x-grid-group-hd-collapsed .x-grid-group-title {
    background-image: url("../extjs/resources/themes/images/gray/grid/group-expand.gif");
    background-repeat: no-repeat;
    background-color: transparent;
    padding: 0 0 0 14px;
}

/** Viegas: Workarround for upgrade to 4.1.1. the text formatting became missing */
.x-grid-row-summary .x-grid-cell-inner {
    font-size: 11px;
    font-weight: bold;
}

.x-action-col-icon {
    cursor: pointer;
}

html, body, div, dl, dt, dd, ul, ol, li, h1, h2, h3, h4, h5, h6, pre, code, form, fieldset, legend, input, textarea, p, blockquote, th, td {
    margin: 0;
    padding: 0 2px 0 2px;
}

/
/
Elza: Tive que por isto porque o ExtJS o define como inherit! Já não apanha a system font

(
"MS Shell Dlg"
)
como antes!
input, textarea, select {
    font-family: arial, helvetica;
    font-size: 11px;
}

.x-tab-strip a {
    border-bottom: none !important;
}

.x-tree-node a, .x-dd-drag-ghost a {
    border-bottom: none !important;
}

.x-grid-row {
    vertical-align:  middle;
}

/***TREE***/
.x-tree-lines .x-tree-elbow {
    background-image: url("../../../img/elbow.png");
}

.x-tree-lines .x-tree-elbow-end {
    background-image: url("../../../img/elbow-end.png");
}

.x-tree-lines .x-tree-elbow-plus {
    background-image: url("../../../img/elbow-plus.png");
}

.x-tree-lines .x-tree-elbow-end-plus {
    background-image: url("../../../img/elbow-end-plus.png.gif");
}

.x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-plus {
    background-image: url("../../../img/elbow-minus.png");
}

.x-tree-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus {
    background-image: url("../../../img/elbow-end-minus.png");
}

.x-tree-lines .x-tree-elbow-line {
    background-image: url("../../../img/elbow-line.png.gif");
}

.x-tree-no-lines .x-tree-elbow-plus, .x-tree-no-lines .x-tree-elbow-end-plus {
    background-image: url("../../../img/elbow-plus-nl.png.gif");
}

.x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-plus, .x-tree-no-lines .x-grid-tree-node-expanded .x-tree-elbow-end-plus {
    background-image: url("../../../img/elbow-end-minus-nl.png");
}

.x-tree-arrows .x-tree-elbow-plus, .x-tree-arrows .x-tree-elbow-minus, .x-tree-arrows .x-tree-elbow-end-plus, .x-tree-arrows .x-tree-elbow-end-minus {
    /*background-image: url("../../../img/arrows.png");*/
    background-image: url("../../../img/arrowsBlack.png");
}

.x-tree-icon-leaf {
    background: url("../../../img/blankPage.png") no-repeat left top;
    background-size: 16px;
    /*background-image: url("../../../img/leaf.png");
    width: 16px;*/
}

.x-tree-icon-parent {
    background: url("../../../img/folderClosedIcon.png") no-repeat left top;
    background-size: 16px;
    /*background-image: url("../../../img/folder.png");
    width: 16px;*/
}

.x-grid-tree-node-expanded .x-tree-icon-parent {
    background: url("../../../img/folderOpenedIcon.png") no-repeat left top;
    background-size: 16px;
    /*background-image: url("../../../img/folder-open.png");*/
}

.x-tree-elbow, .x-tree-elbow-end, .x-tree-elbow-plus, .x-tree-elbow-end-plus, .x-tree-elbow-empty, .x-tree-elbow-line {
    height: 23px;
    width: 18px;
}

/***fimTREE***/

.x-btn-default-toolbar-small {
    border-color: #bbb;
}

/** Safari 11 bug workarround */
.x-fieldset {
    overflow: visible;
}