/*.x-panel-body-leftpanelmenu .x-menu-item.x-menu-item-active, .x-panel-body-leftpanelmenu .x-menu-item-active .x-menu-item-link {
    background-image: none;
}*/
/*
========INNE===========
*/
/*.structure-node {
    background-color: #272729;
    color: #FFFFFF;
}

.structure-leaf {
    background-color: #4b494e;
    color: #FFFFFF;
}*/

.x-menu-item-selected {
    background: #697887;
    margin: 0px;
}

/*
    Zwijanie po lewej a nie po prawej w prawym panelu struktury
    delete
*/
/*.x-panel-header .x-panel-header-text-container
{
    padding-left: 18px;
}*/

/*
    Sekcja dokumentów left panel
*//*
.x-panel-body-documentsectiontree .x-grid-cell-treecolumn{
    background-color: #272729;
    color: white;
}*/

/*.x-panel-body-documentsectiontree .x-grid-row-selected .x-grid-cell {
    background-color: #697887 !important;
}*/


.sch-timetd.sch-singletimetd.x-grid-cell {
    border-width: 1px !important;
    border-left-width: 0px  !important;
}

.sch-ganttpanel .x-tree-icon-leaf {
    display: none !important;
}

/*.sch-ganttview .x-grid-row-over {
    background-color: #def2ff !important;
    border-color: #56bcff !important;
}*/


/* separator */
.x-panel-header-sidebar-separator {
    /*background-color: #000000 !important;*/
    /*background:transparent none repeat-x scroll 0 -9px;*/
    border-top:0 none;
    padding-bottom:0px;
    padding-top:0px;
    display: none;
}

.x-panel-sidebar-separator .x-tool {
    display: none;
}

.x-panel-sidebar-separator {
    /*background-color: #000000 !important;*/
}

/* wiadomosci */
.message-unreaded {
    font-weight: bold;
}

.x-panel-body-documentsectiontree .x-tree-elbow, .x-panel-body-documentsectiontree .x-tree-elbow-line, .x-panel-body-documentsectiontree .x-tree-elbow-empty, .x-panel-body-documentsectiontree .x-tree-elbow-end, .x-panel-body-documentsectiontree .x-tree-expander {
    width: 8px !important;
}

.x-panel-body-documentsectiontree .x-tree-expander {
    background-position: -22px 0 !important;
}

.wizard-button-right {
    float: right;
}
/* ktorykolwiek element po wizardbuttonieright trzeba clearowac zeby nie najezdzalo na siebie */
.wizard-button-right + *{
    clear: both;
}

/*
.wizard-button-right table {
    width: 100%;
}*/

.header-filter-box input {
    width: 100%;
    border: 1px;
    border-style: solid;
    color: #FFFFFF;
}

.gantt-task-gray-out {
    opacity: 0.3;
}



/*
Dashboard
*/
.x-panel-ghost {
    z-index: 1;
}
.x-portal-body {
    padding: 0 0 0 8px;
}
.x-portal .x-portal-column {
    /* columns must have vertical padding to avoid losing dimensions when empty */
    padding: 8px 8px 0 0;
}
.x-portal .x-panel-dd-spacer {
    border: 2px dashed #99bbe8;
    background: #f6f6f6;
    border-radius: 4px;
    -moz-border-radius: 4px;
    margin-bottom: 10px;
}
.x-portlet {
    margin-bottom:10px;
    padding: 1px;
}
.x-portlet .x-panel-body {
    background: #fff;
}
/*.settings {*/
    /*background-image:url(../shared/icons/fam/folder_wrench.png);*/
/*}*/
/*.nav {*/
    /*background-image:url(../shared/icons/fam/folder_go.png);*/
/*}*/
/*.info {*/
    /*background-image:url(../shared/icons/fam/information.png);*/
/*}*/

/* avatar */
#avatardiv {
    overflow:hidden;
    position:relative;
    background-color:#ccc;
    background-repeat: no-repeat;
    background-size:cover;
    border: 1px solid #ccc;
}

#avatardiv input {
    z-index: 999;
    line-height: 0;
    /*width: 150px;*/
    /*height: 150px;*/
    font-size: 120px;
    position: absolute;
    top: 0px;
    opacity: 0;
    filter: alpha(opacity = 0);
    -ms-filter: "alpha(opacity=0)";
    cursor: pointer;
    _cursor: hand;
    margin: 0;
    padding:0;
}

/** ja Cię proszę , label edit css **/

/*
.ws-form input[type="text"]:not(.x-form-invalid-field) {
    border: none;
    background-color: #f8f8f8;
    box-shadow: none;
}*/

/*.ws-form .x-form-trigger-input-cell input[type="text"]:not(.x-form-invalid-field) {*/
    /*box-shadow: inset 0 0 5px 1px #eee;*/
    /*border: 1px solid #b5b8c8;*/
    /*background-color: white;*/
/*}*/

/*.ws-form input[type="text"]:hover:not(.x-form-invalid-field) {*/
    /*box-shadow: inset 0 0 5px 1px #eee;*/
    /*border: 1px solid #b5b8c8;*/
    /*background-color: white;*/
/*}*/
/*.ws-form input[type="text"]:focus:not(.x-form-invalid-field) {*/
    /*box-shadow: inset 0 0 5px 1px #eee;*/
    /*border: 1px solid #3883D3;*/
    /*background-color: white;*/
/*}*/

/*.ws-form input[type="text"][readonly="readonly"]:hover:not(.x-form-invalid-field) {*/
    /*border: none;*/
    /*background-color: #f8f8f8;*/
    /*box-shadow: none;*/
/*}*/
/*.ws-form input[type="text"][readonly="readonly"]:focus:not(.x-form-invalid-field) {*/
    /*border: none;*/
    /*background-color: #f8f8f8;*/
    /*box-shadow: none;*/
/*}*/

.x-panel-header-text-settingsform {
    color: #fff;
    text-align: center;
    font-size: 14px;
    font-family: arial, sans-serif;
    font-weight: bold;
    text-transform: uppercase;
}

.x-panel-body-bigfont .x-grid-cell-inner {
    font-size: 16px;
    line-height: 24px;
}

.x-panel-bigfont .row-deleted {
    color: #bbb;
}

.row-deleted {
    color: #bbb;
}


body ::-webkit-scrollbar {
    width:12px;
    height: 12px;
}
body ::-webkit-scrollbar-button:start:decrement,
body ::-webkit-scrollbar-button:end:increment {
    display:block;
    height:22px;
    background-color:transparent;

}
body ::-webkit-scrollbar-track-piece {
    -webkit-border-radius:0;
    -webkit-border-bottom-right-radius:4px;
    -webkit-border-bottom-left-radius:4px;


}
body ::-webkit-scrollbar-thumb:vertical {
    height:30px;
    background-color: #bebebe;
    -webkit-border-radius:7px;
    background-clip: padding-box;
    border: 3px solid rgba(0, 0, 0, 0);
}
body ::-webkit-scrollbar-thumb:horizontal {
    width:50px;
    background-color: #bebebe;
    -webkit-border-radius:7px;
    background-clip: padding-box;
    border: 3px solid rgba(0, 0, 0, 0);
}

body ::-webkit-scrollbar-button:start:decrement,  body ::-webkit-scrollbar-button:end:increment{
    height: 1px;
}

.ws-form button:not(.expandable button) {
    height:16px !important;
}
/* komunikacja empty panel */
.x-panel-body-x-emptypanel {
    border: 2px dashed #99bbe8;
    background: #fff;
/*     border-radius: 4px;
    -moz-border-radius: 4px; */
    margin-bottom: 10px;
}

/* check combo */
.x-combo-checker { background-position: 50% -2px; margin-left: 1px; background-color: transparent; background-image: url("/resources/css/images/unchecked.gif"); background-position: -1px 2px; background-repeat: no-repeat; height: 20px; width: 20px; display: inline-block; }
.x-boundlist-selected .x-combo-checker { background-image: url("/resources/css/images//checked.gif"); }


.x-htmleditor-imageupload {background: url(/Ws/form/field/htmleditor/img/image_upload.png) 0 0 no-repeat !important}
.x-htmleditor-imageupload-thumbcontainer{width:64px;height:64px;overflow:hidden;line-height:64px;text-align:center;margin:auto}
.x-htmleditor-imageupload-thumbcontainer img{vertical-align:middle;width: expression(this.width > 64 ? 64: this.width);height: expression(this.height > 64 ? 64: this.height);max-width:64px;max-height:64px;}
.x-htmleditor-imageupload-cropdialog {background: url(/Ws/form/field/htmleditor/img/editor_background.gif) !important}
.x-htmleditor-imageupload-editbutton {background: url(/Ws/form/field/htmleditor/img/image_upload.png) 0 0 no-repeat !important}
.x-htmleditor-imageupload-deletebutton {background: url(/Ws/form/field/htmleditor/img/trash.gif) 0 0 no-repeat !important}
.x-htmleditor-imageupload-cropbutton{background: url(/Ws/form/field/htmleditor/img/image_crop.gif) 0 0 no-repeat !important}
.x-htmleditor-imageupload-rotatebutton{background: url(/Ws/form/field/htmleditor/img/image_rotate.png) 0 0 no-repeat !important}
.x-htmleditor-imageupload-resizebutton{background: url(/Ws/form/field/htmleditor/img/image_resize.gif) 0 0 no-repeat !important}
.x-htmleditor-imageupload-delete{display:block;background: url(/Ws/form/field/htmleditor/img/delete.gif) 0 0 no-repeat !important;width:12px;height:12px;margin:4px}
.x-htmleditor-imageupload-delete:hover{background: url(/Ws/form/field/htmleditor/img/delete.gif) 0 -13px no-repeat !important;}
.x-htmleditor-imageupload-constrain{background: url(/Ws/form/field/htmleditor/img/constrain.gif) 0 0 no-repeat !important}
.x-htmleditor-imageupload-unconstrain{background: url(/Ws/form/field/htmleditor/img/constrain.gif) 0 -48px no-repeat !important}
.x-htmleditor-imageupload-name{float:right;padding:20px 10px 0 0;}
.x-htmleditor-imageupload-thumb{width:56px;height:56px;float:right}