/* valign middle nelle celle delle griglie */
.x-grid-cell {
    vertical-align: middle;
}

/* remove header col lines */
.no_header_col_lines .x-column-header {
    border-right: hidden;
}

/* disable header highlighting in a UniDbGrid */
.no_header_highlight .x-column-header-over {
    background: none;   
}

/* white background grid header */
.no_header_background .x-grid-header-ct {
    background-color: white;
    background-image: none;
}

/* style for FieldLabels */
.fieldlabel_Cls {
    font-size: 13px;
}

/* sottolineatura su label */
.hoverlabel:hover {
    /*background-color: #0077FF;*/
    text-decoration: underline;
}

/* grid tool icon header */
.grid_tool_icon_header .x-column-header.x-column-header-align-left.x-box-item.x-column-header-default.x-unselectable.x-column-header-first .x-column-header-inner {
    padding-left: 0px;
    padding-right: 0px;
    text-align: center;
}

/* solid focus */
.solid_focus .x-grid-cell-inner:before {
    border: none !important;
}

.solid_focus .x-column-header-inner:after {
    border: none !important;
}

.solid_focus .x-grid-with-row-lines .x-grid-item.x-grid-item-selected {
    border-style: solid;
    border-top-style: solid;
}

.solid_focus .x-grid-with-row-lines .x-grid-item {
    border-top-style: solid;
}

/* no focus */
.no_focus .x-grid-cell-inner:before {
    border: none !important;
}

.no_focus .x-column-header-inner:after {
    border: none !important;
}

.no_focus .x-grid-with-row-lines .x-grid-item.x-grid-item-selected {
    border-style: solid;
    border-top-style: solid;
    border-color: #ededed #d0d0d0 #ededed #d0d0d0;
}

.no_focus .x-grid-with-row-lines .x-grid-item {
    border-top-style: solid;
    border-color: #ededed #d0d0d0 #ededed #d0d0d0;
}

.no_focus .x-grid-with-row-lines .x-grid-item:first-child {
    border-top-color: #ffffff;
}

/* no selection */
.no_selection .x-grid-item-selected {
    background: none;
}

.no_selection .x-grid-cell-selected {
    background: none !important;
}

/* forzato il trackover come importante per andare sopra eventuale background none ! */
.x-grid-item-over .x-grid-td,
.grid_indicator .x-grid-item-selected.x-grid-item-over .x-grid-cell-first {
    background-color: #efefef !important;
}

/* grid indicator */
.grid_indicator .x-grid-item-selected .x-grid-cell-first {
    background: url("/files/right-arrow-button.png") no-repeat center center / 14px 14px !important;
}
/*==============MAIN COMPONENTS=================================================
==============================================================================*/

@font-face { 
    font-family: "Nunito"; 
    src: url("/fonts/nunito/Nunito-Regular.ttf") format("opentype"); 
}
@font-face {    
    font-family: "FuturaPTMedium";
    src: url("/fonts/futura/FTN55.ttf") format("opentype");    
}
@font-face {    
    font-family: "FuturaPTBook";
    src: url("/fonts/futura/FTN45.ttf") format("opentype");
}

/*HTML*/
body.x-body * {
    font-family: "Nunito", Arial, "Helvetica", Arial, Verdana, sans-serif !important;
    /*line-height: 1.42857143;*/
    /*line-height: normal !important;*/
    /*font-size: 14px !important;*/
}

div.x-css-shadow {
    display: none !important;
}

div.x-window-default {
    background-color: #FFFFFF;
}

a:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
}

a:hover:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
}

select:-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
}

button::-moz-focus-inner {
    border: 0;
}

button::-moz-focusring {
    color: transparent !important;
    text-shadow: 0 0 0 #000 !important;
}

div:-moz-focusring {
    color: transparent !important;
    /*text-shadow: 0 0 0 #000;*/
}

/*BOTTONI*/
a.medbutton,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn {
    border-radius: 0px !important;       
    background-image: none;
    border-color: #d1d1d1;
}

a.medbutton:hover, 
a.medbutton:focus,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn:hover, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn:focus {
    color: #333 !important;
    text-decoration: none !important;
}

a.medbutton:not(.x-btn-icon),
a.medbutton:not(.x-btn-icon) * {
    /*    height: auto !important;
        width: auto !important;*/
}

a.medbutton > :first-child > :first-child > .x-btn-inner,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn > :first-child > :first-child > .x-btn-inner {
    font-size: 12px !important;
    line-height: 1.5 !important;
    /*padding: 5px 10px;*/
}

/*BOTTONI MEDSPEEDBUTTON*/
a.medspeedbutton.x-btn {
    background-image: none;
    background-color: #ffffff;
}

a.medspeedbutton.x-btn.x-btn-over {
    background-image: none;
    background-color: #e6e6e6 !important;
}

a.medspeedbutton.x-btn.x-btn-pressed,
a.medspeedbutton.x-btn.x-btn-focus {
    background-image: none;
}

a.medspeedbutton.medspeedbutton-medstyle1 .x-btn-inner {
    /*line-height: normal !important;*/
    line-height: 16px !important;
    white-space: normal;
}

a.medspeedbutton.medspeedbutton-medstyle1 .x-btn-button {
    display: flex;
    text-align: center;
    align-items: center;
    justify-content: center;
}

a.medspeedbutton.medspeedbutton-medstyle1.x-btn-over {
    background-image: none;
    background-color: #e6e6e6;
}

a.medspeedbutton.x-btn-pressed {
    /*border: 2px solid #333333;*/
}

a.medspeedbutton.medspeedbutton-medstyle1.x-btn-pressed,
a.medspeedbutton.medspeedbutton-medstyle1.x-btn-pressed.x-btn-over {
    background-color: #483146 !important;
    border-color: #483146;
}

a.medspeedbutton.medspeedbutton-medstyle1.x-btn-pressed span.x-btn-inner,
a.medspeedbutton.medspeedbutton-medstyle1.x-btn-pressed.x-btn-over span.x-btn-inner {
    color: #ffffff;
}

a.medspeedbutton.medspeedbutton-medstyle3 {
    box-shadow: 0 2px #27496d;
    outline: none;
    border: none;
    background-color: #a2c0de !important;
    padding: 0;
}

a.medspeedbutton.medspeedbutton-medstyle3 > span {
    box-shadow: inset 0 -3px #27496d;
    border-radius: 3px;
}

a.medspeedbutton.medspeedbutton-medstyle3 span {
    color: #fff;    
}

a.medspeedbutton.medspeedbutton-medstyle3.x-btn.x-btn-pressed,
a.medspeedbutton.medspeedbutton-medstyle3.x-btn.x-btn-pressed.x-btn-over {
    background-color: #417cb8 !important;
    box-shadow: 0 0 #27496d;
    transform: translateY(2px);
    -webkit-transform: translateY(2px);    
}

a.medspeedbutton.medspeedbutton-medstyle3.x-btn.x-btn-over {
    background-color: #6496c8 !important;
}

/*BOTTONE DEFAULT*/
a.medbutton.x-btn-default-small, 
a.medbutton.x-btn-default-medium,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn {
    color: #000000 !important;
    background-color: #FFFFFF !important;
}

a.medbutton.x-btn-default-small > :first-child > :first-child > .x-btn-inner, 
a.medbutton.x-btn-default-medium > :first-child > :first-child > .x-btn-inner,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn > :first-child > :first-child > .x-btn-inner {
    color: #000000 !important;
    background-color: #FFFFFF !important;
}

a.medbutton.x-btn-default-small:hover,
a.medbutton.x-btn-default-medium:hover, 
a.medbutton.x-btn-default-small:hover  > :first-child > :first-child > .x-btn-inner,
a.medbutton.x-btn-default-medium:hover  > :first-child > :first-child > .x-btn-inner,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn:hover, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-toolbar-footer a.x-btn:hover > :first-child > :first-child > .x-btn-inner {
    color: #333 !important;
    background-color: #e6e6e6 !important;
    border-color: #adadad !important;
    background-image: none !important;
}

a.medbutton.x-btn-default-small.x-btn-primary-small:hover, 
a.medbutton.x-btn-default-medium.x-btn-primary-medium:hover, 
a.medbutton.x-btn-default-small.x-btn-primary-small:hover > :first-child > :first-child > .x-btn-inner, 
a.medbutton.x-btn-default-medium.x-btn-primary-medium:hover > :first-child > :first-child > .x-btn-inner {
    color: #fff !important;
    background-color: #286090 !important;
    border-color: #204d74 !important;
}

.x-keyboard-mode .x-btn-focus .x-btn-wrap {
    outline: none !important;
}

/*BOTTONE PRINCIPALE*/
a.medbutton.x-btn-default-small.x-btn-primary-small,
a.medbutton.x-btn-default-medium.x-btn-primary-medium,
a.medbutton.medbutton-medstyle1 {
    color: #FFFFFF !important;
    background-color: #142E51 !important;
    background-image: none;
}

a.medbutton.x-btn-default-small.x-btn-primary-small > :first-child > :first-child > .x-btn-inner, 
a.medbutton.x-btn-default-medium.x-btn-primary-medium > :first-child > :first-child > .x-btn-inner,
a.medbutton.medbutton-medstyle1 > :first-child > :first-child > .x-btn-inner, 
a.medbutton.medbutton-medstyle1 > :first-child > :first-child > .x-btn-inner {
    color: #FFFFFF !important;
    background-color: #142E51 !important;
}

a.medbutton.x-btn-focus.x-btn-default-small,
a.medbutton.x-btn-focus.x-btn-default-medium {
    background-image: none !important;
}

/*BOTTONE DISABILITATO*/
a.medbutton.x-btn-disabled {
    pointer-events: auto;
    cursor: no-drop !important;
    opacity: 0.8 !important;
    background-image: none !important;
}

a.medbutton.x-btn-disabled * {
    pointer-events: none;
    cursor: no-drop !important;
    opacity: 0.8 !important;
}

/*INPUT x-field-default => medcombobox || meddblookupcombobox || mededit*/
.x-field-default input:focus, 
/*.x-field-default textarea:focus,*/ /*problema pixel textarea*/
input.x-form-field.x-form-text.x-form-focus.x-field-form-focus.x-field-default-form-focus:focus {
    border-color: #3c8dbc !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.x-field-default input.x-form-text
/*.x-field-default textarea*/ /*problema pixel textarea*/
{
    /*    -webkit-border-radius: 0px !important;
        -moz-border-radius: 0px !important;
        border-radius: 4px !important;*/
    box-shadow: none;
    display: block;
    width: 100%;
    font-size: 14px;
    color: #555;
    background-color: #fff;
    background-image: none;
    /*border: 1px solid #ccc;*//*problema pixel input text*/
    border-top-color: rgb(204, 204, 204);
    border-right-color: rgb(204, 204, 204);
    border-bottom-color: rgb(204, 204, 204);
    border-left-color: rgb(204, 204, 204);
    /*border-radius: 4px;*/
    -webkit-box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, .075);
    -webkit-transition: border-color ease-in-out .15s, -webkit-box-shadow ease-in-out .15s;
    -o-transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
    transition: border-color ease-in-out .15s, box-shadow ease-in-out .15s;
}

.x-field-default input.x-form-text {
    /*    padding: 6px 12px;
        line-height: 1.4;*/
}

.x-field-default textarea {
    /*    padding: 6px 12px;
        line-height: 1.5;*/
}

.ext-ux-clearbutton.ext-ux-clearbutton-on {
    /*top: 9px !important;*/
}

.mededit .x-form-trigger.x-form-trigger-default.x-form-clear-trigger.x-form-clear-trigger-default {
    /*    position: relative;
        height: 100%;*/
    background-size: cover;
}

.mededit .x-form-trigger.x-form-trigger-default.x-form-trigger-over,
.mededit .x-form-trigger.x-form-trigger-default.x-form-trigger-focus {
    background-position: 0 0;
}

/*INPUT SELECT*/
.x-field-default .x-form-trigger-wrap input {
    /*border-radius: 4px 0 0 4px !important;*/
}

.x-field.x-table-plain.x-form-item.x-form-type-text.x-box-item.x-field-default.x-hbox-form-item > tbody > tr.x-form-item-input-row > td.x-form-item-body > .x-form-trigger-wrap.x-unselectable > tbody > tr > td.x-form-trigger-input-cell > input {
    /*border-radius: 4px !important;*/
}

.x-field-default .x-form-trigger-wrap > tbody > tr > td.x-trigger-cell.x-unselectable {
    /*height: 34px;*/
}

.x-form-trigger-wrap div {
    /*    background: none;
        border-style: none;
        height: 100%;*/
}

.x-form-trigger-wrap div.x-form-arrow-trigger {
    /*    border: 1px solid #ccc;
        border-radius:  0 4px 4px 0 !important;*/
}

.x-form-trigger-wrap div.x-form-arrow-trigger:before {
    /*    content: "\02C5";
        width: 100%;
        height: 100%;
        text-align: center;
        display: inline-block;
        font-size: 1em;
        font-weight: bold;
        line-height: 32px;
        color: #000000;
        background-color: #E1E1E1;*/
}

.x-form-trigger-wrap div.x-form-date-trigger {
    /*    padding: 0;
        width: 155%;
        padding-top: 4px;*/
}

.x-form-trigger-wrap div.x-form-date-trigger:before {
    /*content: url(/img/calendar_days24.png);*/
    content: ' ';
    width: 100%;
    height: 100%;
}

.x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon {
    color: #fff;
    background-color: #007bff;
    border-color: #007bff;
    border: 1px solid transparent;
    border-radius:  0 4px 4px 0 !important;
    /*    height: 34px;
        padding: 6px 0px;*/
}

.x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon:hover {
    color: #fff;
    background-color: #0069d9;
    border-color: #0062cc;
    text-decoration: none;
}

.x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon * {
    color: #fff;
    font-size: 12px;
}

/*CALENDARIO MEDCALENDAR*/
/*.medcalendar .x-datepicker {
    border-style: none;    
    -webkit-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.75);
    box-shadow: 1px 1px 5px 1px rgba(0,0,0,0.75);
}

.medcalendar .x-datepicker-header {
    background-image: none;
    background-color: #414e5a;
}*/

.x-datepicker,
.medcalendar .x-datepicker {
    /*    border-style: none;
        -webkit-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 11px 3px rgba(0,0,0,0.75);*/
}

.x-datepicker *,
.medcalendar .x-datepicker * {
    font-size: 13px !important;    
}

.x-datepicker-footer,
.x-monthpicker-buttons,
.medcalendar .x-datepicker-footer,
.medcalendar .x-monthpicker-buttons {
    border-color: #64afb9;
    background-color: #64afb9;
    background-image: none;
}

.x-datepicker-column-header,
.medcalendar .x-datepicker-column-header {
    border-color: #64afb9;
    background-color: #64afb9;
    background-image: none;
    color: #ffffff;
}

.x-datepicker-header,
.medcalendar .x-datepicker-header {
    background-color: #414e5a;
    background-image: none;
}

.x-datepicker .x-btn-wrap-default-small.x-btn-arrow-right::after,
.medcalendar .x-datepicker .x-btn-wrap-default-small.x-btn-arrow-right::after {
    background-image: url('/files/arrow-down-216-64-w.png');
    background-size: cover;
    height: 8px;
    margin-top: 3px;
}

.x-datepicker-prev,
.medcalendar .x-datepicker-prev {
    background-image: url('/files/arrow-left.png');
    background-size: cover;
}

.x-datepicker-next,
.medcalendar .x-datepicker-next {
    background-image: url('/files/arrow-right.png');
    background-size: cover;
}

.x-datepicker-footer a,
.x-monthpicker-buttons a,
.medcalendar .x-datepicker-footer a,
.medcalendar .x-monthpicker-buttons a {
    background-image: none !important;
}

.x-datepicker-inner > tbody tr td:nth-last-child(2),
.medcalendar .x-datepicker-inner > tbody tr td:nth-last-child(2) {
    background-color: #e0eff1;
}

.x-datepicker-inner > tbody tr td:last-child,
.medcalendar .x-datepicker-inner > tbody tr td:last-child {
    background-color: #eceeef;
}

/*DROPDOWN INPUT SELECT*/
.x-boundlist.x-boundlist-floating.x-layer.x-boundlist-default.x-border-box {
    max-height: 201px !important;
    /*border: 1px solid #ccc !important;*/
    border: 1px solid #3c8dbc !important;
    outline: 0;
    -webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102, 175, 233, .6);
}

.x-boundlist.x-boundlist-floating.x-layer.x-boundlist-default.x-border-box > .x-boundlist-list-ct.x-unselectable {
    max-height: 198px !important;
}

.x-boundlist-item {
    border-style: none;
    /*padding: 3px;*/
    padding: 6px;
}

.x-boundlist-item:not(.x-boundlist-selected):not(.x-boundlist-item-over) {
    /*background: aliceblue;*/
}

/*INPUT PAGE NUMBER*/
table.x-field.x-tbar-page-number.x-table-plain.x-form-item.x-form-type-text.x-item-disabled.x-box-item.x-toolbar-item.x-field-default.x-hbox-form-item,
table.x-field.x-tbar-page-number.x-table-plain.x-form-item.x-form-type-text.x-box-item.x-toolbar-item.x-field-default.x-hbox-form-item.x-form-dirty {
    margin: 0px 3px !important;
}

table.x-field.x-tbar-page-number.x-table-plain.x-form-item.x-form-type-text.x-item-disabled.x-box-item.x-toolbar-item.x-field-default.x-hbox-form-item table.x-form-trigger-wrap.x-unselectable input.x-form-field.x-form-text,
table.x-field.x-tbar-page-number.x-table-plain.x-form-item.x-form-type-text.x-box-item.x-toolbar-item.x-field-default.x-hbox-form-item.x-form-dirty table.x-form-trigger-wrap.x-unselectable input.x-form-field.x-form-text {
    padding: 0 0 0 1px;
    border-radius: 0 !important;
    height: 22px;
}

/*FINESTRA MODALE*/
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box,/*16/11/18 rimossa la regola che esclude le x-closable*/
.x-window.x-layer.x-window-default.x-border-box {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) {*/
    background-color: #FFFFFF;
    border-style: none !important;
    border-radius: 0 !important;
    box-shadow: 0 4px 23px 5px rgba(0, 0, 0, 0.8), 0 2px 6px rgba(0,0,0,0.15);
}

.x-window.x-window-ghost.x-layer.x-window-default.x-border-box, 
.x-window.x-layer.x-window-default.x-border-box.x-hide-offsets {
    box-shadow: none !important;
}

.x-window-header-default-top {
    border-radius: 0 !important;
    border-width: 0px;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box > .x-window-header.x-header.x-header-horizontal.x-header-draggable.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-docked-top.x-window-header-docked-top.x-window-header-default-docked-top > .x-header-body.x-window-header-body.x-window-header-body-default.x-window-header-body-horizontal.x-window-header-body-default-horizontal.x-window-header-body-top.x-window-header-body-default-top.x-window-header-body-docked-top.x-window-header-body-default-docked-top.x-box-layout-ct.x-window-header-body-default-horizontal.x-window-header-body-default-top.x-window-header-body-default-docked-top > .x-box-inner > .x-box-target > div {
    display: inline-block;
    position: relative !important;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box > .x-window-header.x-header.x-header-horizontal.x-header-draggable.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-docked-top.x-window-header-docked-top.x-window-header-default-docked-top > .x-header-body.x-window-header-body.x-window-header-body-default.x-window-header-body-horizontal.x-window-header-body-default-horizontal.x-window-header-body-top.x-window-header-body-default-top.x-window-header-body-docked-top.x-window-header-body-default-docked-top.x-box-layout-ct.x-window-header-body-default-horizontal.x-window-header-body-default-top.x-window-header-body-default-docked-top > .x-box-inner > .x-box-target > div.x-component.x-header-text-container.x-window-header-text-container.x-window-header-text-container-default.x-box-item.x-component-default {
    /*top: 3px !important;*/
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box > .x-window-header.x-header.x-header-horizontal.x-header-draggable.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-docked-top.x-window-header-docked-top.x-window-header-default-docked-top > .x-header-body.x-window-header-body.x-window-header-body-default.x-window-header-body-horizontal.x-window-header-body-default-horizontal.x-window-header-body-top.x-window-header-body-default-top.x-window-header-body-docked-top.x-window-header-body-default-docked-top.x-box-layout-ct.x-window-header-body-default-horizontal.x-window-header-body-default-top.x-window-header-body-default-docked-top > .x-box-inner > .x-box-target > div.x-tool.x-box-item.x-tool-default.x-tool-after-title {
    left: auto !important;
    text-align: center;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header,
.x-window.x-layer.x-window-default.x-border-box .x-window-header {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child {*/
    padding: 5px;
    border-style: none;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header *,
.x-window.x-layer.x-window-default.x-border-box .x-window-header, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header * {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child, 
    .x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child * {*/
    background-color: #142E51 !important;
    color: #FFFFFF !important;
    font-size: 18px !important;
    font-weight: 500 !important;
    line-height: 1.1 !important;
    font-family: FuturaPTMedium !important;
}

.x-window.x-layer.x-window-default.x-border-box .x-window-header .x-title-icon-wrap.x-title-icon-wrap-default.x-title-icon-left.x-title-item {
    display: none;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header * img,
.x-window.x-layer.x-window-default.x-border-box .x-window-header * img,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool-img,
.x-window.x-layer.x-window-default.x-border-box .x-window-header .x-tool-img {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child * img {*/
    display: none;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header > :first-child > :first-child > :first-child > :nth-last-child(3) img, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header > :first-child > :first-child > :first-child > :nth-last-child(2) img, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header > :first-child > :first-child > :first-child > :last-child img, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header > :first-child > :first-child > :first-child > :nth-last-child(3) img, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header > :first-child > :first-child > :first-child > :nth-last-child(2) img, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header > :first-child > :first-child > :first-child > :last-child img {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(3) img, 
    .x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(2) img, 
    .x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :last-child img {*/
    display: none;
}

.x-window.x-layer.x-window-default.x-border-box .x-window-header > :first-child > :first-child > :first-child > :nth-child(1).x-component.x-header-text-container.x-window-header-text-container.x-window-header-text-container-default.x-box-item.x-component-default {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :nth-child(1).x-component.x-header-text-container.x-window-header-text-container.x-window-header-text-container-default.x-box-item.x-component-default {*/
    display: inline-block;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box .x-window-header .x-tool {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(3).x-tool, 
    .x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(2).x-tool, 
    .x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :first-child > :first-child > :first-child > :first-child > :last-child.x-tool {*/
    /*top: -3px !important;*/
    /*top: -6px !important;*/
    cursor: pointer;
    display: inline-block;
    text-align: center;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-header .x-tool, 
.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-header .x-tool {    
    /*top: -6px !important;*/   
    top: 0px !important;   
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool:before,
.x-window.x-layer.x-window-default.x-border-box:not(.x-hide-offsets):not(.x-window-ghost) .x-window-header .x-tool:before {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable):not(.x-hide-offsets):not(.x-window-ghost) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(3).x-tool:before {*/
    color: #FFFFFF;
    font-size: 19px;
    /*font-weight: bold;*/
    /*line-height: 1;*/
    text-shadow: 0 1px 0 #fff;
    content: '\25AC';
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool:before,
.x-window.x-layer.x-window-default.x-border-box:not(.x-hide-offsets):not(.x-window-ghost) .x-window-header .x-tool:before {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable):not(.x-hide-offsets):not(.x-window-ghost) > :first-child > :first-child > :first-child > :first-child > :nth-last-child(2).x-tool:before {*/
    color: #FFFFFF;
    font-size: 18px;
    /*font-weight: bold;*/
    /*line-height: 1;*/
    text-shadow: 0 1px 0 #fff;
    content:"\25FC";
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-header .x-tool:before,
.x-window.x-layer.x-window-default.x-border-box:not(.x-hide-offsets):not(.x-window-ghost) .x-window-header .x-tool:before {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable):not(.x-hide-offsets):not(.x-window-ghost) > :first-child > :first-child > :first-child > :first-child > :last-child.x-tool:before {*/
    color: #FFFFFF;
    /*font-size: 11px;*/
    font-size: 14px;
    /*font-weight: bold;*/
    /*line-height: 1;*/
    text-shadow: 0 1px 0 #fff;
    /*content: "\274C";*/
    content: "X";
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-body,
.x-window.x-layer.x-window-default.x-border-box .x-window-body {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :nth-child(2) {*/
    background-color: #FFFFFF !important;
    border-style: none;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-body > .x-box-inner > .x-box-target > .x-container.x-box-item.x-window-item.x-container-default.x-box-layout-ct > .x-box-inner > .x-box-target > div.x-component.x-box-item.x-component-default.x-dlg-icon.x-message-box-warning,
.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-body > .x-box-inner > .x-box-target > .x-container.x-box-item.x-window-item.x-container-default.x-box-layout-ct > .x-box-inner > .x-box-target > div.x-container.x-box-item.x-container-default {
    display: inline-block !important;
}

.x-window.x-message-box.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-window-body > :first-child > :first-child > :first-child > :first-child > :nth-child(2) a.x-btn ,
.x-window.x-layer.x-window-default.x-border-box .x-window-body > :first-child > :first-child > :first-child > :first-child > :nth-child(2) a.x-btn {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) > :nth-child(2) > :first-child > :first-child > :first-child > :first-child > :nth-child(2) a.x-btn {*/
    /*tolto per conflitto finestra modale Impegnativa MAEVT 18060*/
    /*top: 0 !important;*/
}

.x-window-header.x-header.x-header-horizontal.x-header-draggable.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-docked-top.x-window-header-docked-top.x-window-header-default-docked-top,
.x-window-header.x-header.x-header-horizontal.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-docked-top.x-window-header-docked-top.x-window-header-default-docked-top.x-header-ghost,
.x-window-header.x-header.x-header-draggable.x-docked.x-unselectable.x-window-header-default.x-horizontal.x-window-header-horizontal.x-window-header-default-horizontal.x-top.x-window-header-top.x-window-header-default-top.x-box-layout-ct {
    left: -1px !important;
    top: -1px !important;
    width: 101% !important;
}

.x-window.x-layer.x-window-default.x-border-box {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) {*/
    /*min-height: 15% !important;*/
    /*min-height: 140px !important;*//*19/09/18 commentato per visualizzazione variabile form diagnosi rinomina icd*/
}

/*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default,
.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default .x-panel.x-fit-item.x-window-item.x-panel-default,
.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default .x-panel.x-fit-item.x-window-item.x-panel-default .x-panel-body.x-panel-body-default.x-abs-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left {
    height: auto !important;
    width: 100% !important;
}*/

.x-window.x-layer.x-window-default.x-border-box .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default .x-panel.x-fit-item.x-window-item.x-panel-default > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct:nth-child(3) a  {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default .x-panel.x-fit-item.x-window-item.x-panel-default > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct:nth-child(3) a  {*/
    top: auto !important;
}

.x-window.x-layer.x-window-default.x-border-box .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default label {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default label {*/
    /*    font-size: 14px !important;
        line-height: 1.4 !important;
        font-weight: 300 !important;*/
}

.x-window.x-layer.x-window-default.x-border-box .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default > .x-panel.x-fit-item.x-window-item.x-panel-default > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct:nth-child(2) > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct {
    /*.x-window.x-layer.x-window-default.x-border-box:not(.x-closable) .x-window-body.x-window-body-default.x-layout-fit.x-window-body-default > .x-panel.x-fit-item.x-window-item.x-panel-default > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct:nth-child(2) > .x-box-inner > .x-box-target > .x-container.x-box-item.x-container-default.x-box-layout-ct {*/
    height: auto !important;
}

.x-window-body-default {
    background: transparent;
}

.x-panel-body-default {
    /*background: transparent;*/
    border-color: #666666;
}

.x-toolbar-footer {
    padding: 4px !important;
    text-align: center;
}

/*CHECKBOX*/
/*.ug-input-checkbox {

}*/

.x-form-checkbox-default,
.x-column-header-checkbox .x-column-header-checkbox::after, 
.x-grid-checkcolumn::after {
    background: url("/files/check box NO SELECTED.png") no-repeat;
    background-size: contain;
    background-position: 0 0;
}

.x-form-cb-checked .x-form-checkbox-default,
.x-grid-item-selected .x-selmodel-column .x-grid-checkcolumn::after {
    background: url("/files/check box selected.png") no-repeat;
    background-size: contain;
    background-position: 0 0;
}

.x-keyboard-mode .x-form-checkbox-focus.x-form-checkbox-default,
.x-keyboard-mode .x-form-cb-checked .x-form-checkbox-focus.x-form-checkbox-default,
.x-grid-item-selected .x-selmodel-column .x-grid-checkcolumn::after {
    background-position: 0 0;
}

.x-field-default input.x-form-checkbox {
    /*visibility: hidden;*/
    /*margin-top: 7px;*/
}

.meddbcheckbox input[role="checkbox"],
.medcheckbox input[role="checkbox"] {
    display: none;
}

.meddbcheckbox input[role="checkbox"] ~ label,
.medcheckbox input[role="checkbox"] ~ label {
    padding-left: 0;
}

.meddbcheckbox input[role="checkbox"] + label:before,
.medcheckbox input[role="checkbox"] + label:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("/files/check box NO SELECTED.png") no-repeat;
    background-size: contain;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}

.meddbcheckbox.x-form-cb-checked input[role="checkbox"] + label:before,
.medcheckbox.x-form-cb-checked input[role="checkbox"] + label:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("/files/check box selected.png") no-repeat;
    background-size: contain;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}

.meddbgrid tr.x-grid-row.x-grid-data-row div.x-grid-row-checker {
    background-image: url("/files/check box NO SELECTED.png");
    background-size: contain;
}

.meddbgrid tr.x-grid-row.x-grid-data-row.x-grid-row-selected div.x-grid-row-checker {
    background-image: url("/files/check box selected.png");
    background-size: contain;
}

.x-form-cb-default {
    margin-top: 4px;
}

.medchecklst .x-boundlist {
    border-color: #666666;
}

.x-boundlist {
    border-color: #666666 !important;
}

/*.medchecklst .x-boundlist-item input[type="checkbox"] {
    display: none;
}*/

/*.medchecklst .x-boundlist-item:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("files/check box NO SELECTED.png") no-repeat;
    background-size: contain;
    background-position: 0 0;
    background-color: transparent;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}*/

/*.medchecklst .x-boundlist-item.x-boundlist-selected:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("files/check box selected.png") no-repeat;
    background-size: contain;
    background-position: 0 0;
    background-color: transparent;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}*/

/*RADIOBUTTON*/
.meddbradiogroup input[type="radio"],
.medradiogroup input[type="radio"],
.medradiobutton input[type="radio"],
.meddbradiogroup .x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default,
.medradiogroup .x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default,
.medradiobutton .x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default {
    display: none;
}

.meddbradiogroup span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default ~ label,
.medradiogroup span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default ~ label,
.medradiobutton span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default ~ label {
    padding-left: 0;
    -webkit-touch-callout: none;
    -webkit-user-select: none;
    -khtml-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

.meddbradiogroup span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before,
.medradiogroup span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before,
.medradiobutton span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("/files/check radio NO SELECTED.png") no-repeat;
    background-size: contain;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}

.meddbradiogroup .x-form-cb-checked span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before,
.medradiogroup .x-form-cb-checked span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before,
.medradiobutton.x-form-cb-checked span.x-form-field.x-form-radio.x-form-radio-default.x-form-cb.x-form-cb-default + label:before {
    width: 14px;
    height: 14px;
    content: '';
    background: url("/files/check radio SELECTED.png") no-repeat;
    background-size: contain;
    position: relative;
    display: inline-block;
    margin-right: 2px;
    top: 2px;
}

.meddbradiogroup div.x-fieldset-body.x-fieldset-body-default  {
    height: 100% !important;
}

/*TAB PANNELLI*/
.medpagecontrol .x-tab-bar.x-tab-bar-default,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default {
    border-color: #7d6e69;
    border-top-width: 1px !important;
    border-right-width: 1px !important;
    border-bottom-width: 1px !important;
    border-left-width: 1px !important;
    background-image: none;
    background-color: #bbb3a6;
}

.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-top,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-bottom,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-left,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-right,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-top,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-bottom,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-left,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-right,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-top,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-bottom,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-left,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-right,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-top,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-bottom,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-left,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-active.x-tab-default-right {
    background-image: none;
    background-color: transparent;
}

.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab-bar-strip-default,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab-bar-strip-default {
    border-color: transparent;
    background-color: transparent;
}

.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default {
    border-color: transparent;
    box-shadow: none;
    border-right-color: #ffffff !important;
}

.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-top,
.medpagecontrol .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-bottom,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-top,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default .x-tab.x-tab-default-bottom {
    border-radius: 0;
}

.medpagecontrol .x-tab-bar.x-tab-bar-default ~ .x-panel-body.x-panel-body-default,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar.x-tab-bar-default ~ .x-panel-body.x-panel-body-default {
    border-top-width: 0px !important;
}

.medpagecontrol .x-tab-inner-default,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-inner-default {
    line-height: 16px !important;
    text-transform: uppercase;
    font-size: 14px;
    letter-spacing: 0.5px;
    color: #ffffff !important;
}

.medpagecontrol .x-tab.x-tab-active .x-tab-inner-default,   
.medtabcontrol.medtabcontrol-medstyle1 .x-tab.x-tab-active .x-tab-inner-default {   
    color: #4b4242 !important;
}

.x-keyboard-mode .x-tab-focus.x-tab-default .x-tab-button:before {
    outline: none;
}

.medpagecontrol .x-tab-bar-default-top .x-box-scroller-left,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar-default-top .x-box-scroller-left,
.medpagecontrol .x-tab-bar-default-bottom .x-box-scroller-left,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar-default-bottom .x-box-scroller-left {
    background-image: url('/files/left-128.png');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center center;
}

.medpagecontrol .x-tab-bar-default-top .x-box-scroller-right,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar-default-top .x-box-scroller-right,
.medpagecontrol .x-tab-bar-default-bottom .x-box-scroller-right,
.medtabcontrol.medtabcontrol-medstyle1 .x-tab-bar-default-bottom .x-box-scroller-right {
    background-image: url('/files/right-128.png');
    background-size: 15px;
    background-repeat: no-repeat;
    background-position: center center;
}

.medtabcontrol.medtabcontrol-medstyle1 .x-panel.x-abs-layout-item.x-panel-default + .x-panel.x-abs-layout-item.x-panel-default {
    top: 28px !important;
}

.x-container.x-border-item.x-box-item.x-container-default.x-box-layout-ct.x-scroller {
    background-color: #ffffff;
}

/*MEDPANEL*/
.medpanel > .x-panel-header,
.medpanel .x-panel-bodyWrap > .x-panel-header,
.x-panel-header.x-header.x-header-noborder.x-region-collapsed-placeholder.x-region-collapsed-bottom-placeholder.collapsed.x-border-item.x-box-item.x-unselectable.x-panel-header-default.x-collapsed.x-panel-header-collapsed.x-panel-header-default-collapsed.x-collapsed-top.x-panel-header-collapsed-top.x-panel-header-default-collapsed-top.x-horizontal.x-panel-header-horizontal.x-panel-header-default-horizontal.x-top.x-panel-header-top.x-panel-header-default-top.x-box-layout-ct {
    background-image: none;
    background-color: #436188;
    border: 1px solid transparent;
    -webkit-box-shadow: none;
    -moz-box-shadow: none;
    box-shadow: none;
}

.medpanel > .x-panel-header *,
.medpanel .x-panel-bodyWrap > .x-panel-header *,
.x-panel-header.x-header.x-header-noborder.x-region-collapsed-placeholder.x-region-collapsed-bottom-placeholder.collapsed.x-border-item.x-box-item.x-unselectable.x-panel-header-default.x-collapsed.x-panel-header-collapsed.x-panel-header-default-collapsed.x-collapsed-top.x-panel-header-collapsed-top.x-panel-header-default-collapsed-top.x-horizontal.x-panel-header-horizontal.x-panel-header-default-horizontal.x-top.x-panel-header-top.x-panel-header-default-top.x-box-layout-ct * {
    color: #FFFFFF;
    font-size: 14px;
    text-transform: uppercase;
}

.medpanel.medpanel-medstyle2 > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default,
.medpanel.medpanel-medstyle2 .x-panel-bodyWrap > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default {
    background-color: #c5c5c5;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f9f9f9),color-stop(100%,#e3e4e6));
    background-image: -webkit-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -moz-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -o-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -ms-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: linear-gradient(top,#f9f9f9,#e3e4e6);
}

/*TEXTAREA*/
textarea.x-form-field.x-form-text.x-form-textarea, 
.medchecklst .x-boundlist {
    /*    border-width: 1px !important;*//*problema pixel textarea*/
    /*border-color: #666666 !important;*//*problema pixel textarea*/
    /*border-radius: 4px !important;*/
    background-image: none;
}

.x-form-text-default.x-form-textarea {
    line-height: normal !important;
}

.x-form-text-wrap-default {
    /*border-style: none;*//*problema pixel textarea*/
    border-color: #666666;/*problema pixel textarea*/
    /*    padding-top: 1px;*/
}

.x-form-text-default {
    padding-top: 2px;
}

.x-form-text-wrap-default.x-form-text-wrap-focus {
    border-color: #666666;/*problema pixel textarea*/
}

/*SELECT-OPTIONS*/
.x-field.x-table-plain input {
    /*background-image: none;*/
}

.x-field.x-table-plain table td, 
.x-field.x-table-plain table td div {
    /*height: 100%;*/
    height: 25px;
}

.x-field.x-table-plain input.x-form-field {
    /*height: 100% !important;*/
}

.medcombobox input,
.meddbcombobox input,
.meddblookupcombobox input {
    background-image: none;
}

.medcombobox table td, 
.medcombobox table td div,
.meddbcombobox table td, 
.meddbcombobox table td div,
.meddblookupcombobox table td, 
.meddblookupcombobox table td div {
    /*height: 100%;*/
    height: 24px;
}

.medcombobox input.x-form-field,
.meddbcombobox input.x-form-field,
.meddblookupcombobox input.x-form-field {
    height: 100% !important;
}

.medcombobox .x-form-trigger.x-form-trigger-default.x-form-clear-trigger.x-form-clear-trigger-default,
.meddbcombobox .x-form-trigger.x-form-trigger-default.x-form-clear-trigger.x-form-clear-trigger-default,
.meddblookupcombobox .x-form-trigger.x-form-trigger-default.x-form-clear-trigger.x-form-clear-trigger-default {
    /*    position: relative;
        height: 100%;*/
}

.medcombobox .x-form-trigger.x-form-trigger-default.x-form-arrow-trigger.x-form-arrow-trigger-default,
.meddbcombobox .x-form-trigger.x-form-trigger-default.x-form-arrow-trigger.x-form-arrow-trigger-default,
.meddblookupcombobox .x-form-trigger.x-form-trigger-default.x-form-arrow-trigger.x-form-arrow-trigger-default,
.meddatetimepicker .x-form-trigger.x-form-trigger-default.x-form-time-trigger.x-form-time-trigger-default ,
.meddbdatetimepicker .x-form-trigger.x-form-trigger-default.x-form-date-trigger.x-form-date-trigger-default {
    /*    position: relative;
        height: 100%;*/
}

/*RIGHE ORIZZONTALI*/
.medshape {
    /*visibility: hidden !important;*/
}

/*RIGHE ORIZZONTALI 2*/
.x-panel-body.x-panel-body-default.x-abs-layout-ct.x-panel-body-default {
    border-color: #666666 !important;
    /*border-style: none !important;*/
}

/*TITOLO*/
.medlbltitle {
    color: #ffffff !important;
    background-color: #436188 !important;
    padding: 0px 5px !important;
    border-radius: 2px !important;
    /*font-weight: bold !important; */
    font-weight: normal !important;
    line-height: 16px !important;
}

/*LABEL NORMALE*/
.medlblnormal {
    /*color: #436188 !important;*/
    /*font-weight: bold !important; */
    /*font-weight: normal !important;*/
}

/*LABEL PRINCIPALE*/
label.medlblnormal.medlblnormal-medstyle1 {
    /*color: #436188 !important;*/
    /*font-weight: bold !important; */
    font-family: "FuturaPTMedium" !important;
    /*font-size: 17px !important;*/
    /*font-weight: normal !important;*/
    color: #518ea1 !important;
    text-transform: uppercase;
}

/*SELEZIONE DENTRO CHECKLIST CHECKLISTBOX*/
.medchecklst .x-boundlist-item.x-boundlist-selected {
    /*    background-color: #749fa8 !important;
        color: #ffffff !important;*/
    border-style: none !important;
}

.x-keyboard-mode .x-view-item-focused {
    outline: none !important;
}

/*MEDLISTBOX*/
.medlistbox .x-boundlist-item {
    font-size: 14px;
    line-height: normal;
    padding: 0 3px;
}

.medlistbox .x-boundlist-item-over {
    background: #efefef;
}

.medlistbox .x-boundlist-selected {
    /*background: none;*/
    background: #c9c9c9;
    /*font-weight: bold;*/
    text-shadow: 1px 0px 0px black;
}

/*MEDDBLOOKUPLISTBOX*/
.meddblookuplistbox .x-boundlist-item {
    font-size: 14px;
    line-height: normal;
    padding: 0 3px;
}

.meddblookuplistbox .x-boundlist-item-over {
    background: #efefef;
}

.meddblookuplistbox .x-boundlist-selected {
    /*background: none;*/
    background: #c9c9c9;
    /*font-weight: bold;*/
    text-shadow: 1px 0px 0px black;
}

/*MEDCHECKLISTBOX*/
.medchecklst .x-boundlist-item {
    font-size: 14px;
    line-height: normal;
}

.medchecklst .x-boundlist-item-over {
    background: #efefef;
}

.medchecklst .x-boundlist-selected {
    background: none;
    /*font-weight: bold;*/
    text-shadow: 1px 0px 0px black;
}

.medchecklst .x-boundlist-item input {
    /*visibility: hidden;*/
    opacity: 0;    
}

.medchecklst .x-boundlist-item:before {
    background: url("/files/check box NO SELECTED.png") no-repeat; 
    background-size: 13px 13px;
    display: inline-block;
    width: 13px;
    height: 13px;
    content: "";
    position: absolute;
    top: 8px;
}

.medchecklst .x-boundlist-selected:before {
    background: url("/files/check box selected.png") no-repeat;
    background-size: 13px 13px;
    display: inline-block;
    width: 13px;
    height: 13px;
    content: "";
    position: absolute;
    top: 8px;
}

/*TABELLE PRINCIPALI*/
.meddbgrid .x-grid-header-ct.x-docked.x-grid-header-ct-default.x-docked-top.x-grid-header-ct-docked-top.x-grid-header-ct-default-docked-top.x-box-layout-ct {
    background-color: #c5c5c5;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f9f9f9),color-stop(100%,#e3e4e6));
    background-image: -webkit-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -moz-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -o-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -ms-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: linear-gradient(top,#f9f9f9,#e3e4e6);
}

.meddbgrid .x-grid-header-ct.x-docked.x-grid-header-ct-default.x-docked-top.x-grid-header-ct-docked-top.x-grid-header-ct-default-docked-top.x-box-layout-ct,
.meddbgrid .x-grid-header-ct.x-docked.x-grid-header-ct-default.x-docked-top.x-grid-header-ct-docked-top.x-grid-header-ct-default-docked-top.x-box-layout-ct * {
    line-height: normal;
}

.meddbgrid.no_header_background .x-grid-header-ct.x-docked.x-grid-header-ct-default.x-docked-top.x-grid-header-ct-docked-top.x-grid-header-ct-default-docked-top.x-box-layout-ct,
.meddbgrid.no_header_background .x-grid-header-ct.x-docked.x-grid-header-ct-default.x-docked-top.x-grid-header-ct-docked-top.x-grid-header-ct-default-docked-top.x-box-layout-ct .x-column-header {
    background-color: transparent;
    background-image: none;
}

.meddbgrid, 
.meddbgrid * {
    /*    border-style: none !important;
        border-color: #ffffff !important;*/
}

.meddbgrid,
.meddbgrid .x-grid-header-ct,
.meddbgrid .x-panel-body {
    border-color: #666666 !important;
}

.meddbgrid > div > div > div > div > span input,
.meddbgrid .x-panel-bodyWrap > div > div > div > div > span input {
    border: 1px solid #000000 !important;
}

.meddbgrid > .x-panel-body.x-grid-body.x-panel-body-default.x-layout-fit.x-panel-body-default table tr:nth-child(even),
.meddbgrid > .x-panel-body.x-grid-body.x-panel-body-default.x-layout-fit.x-panel-body-default table tr:nth-child(even) * {
    /*	background-image: none !important;
            background-color: #ffffff !important;
    background-color: #fffcf6 !important;*/
}

.meddbgrid > .x-panel-body.x-grid-body.x-panel-body-default.x-layout-fit.x-panel-body-default table tr:nth-child(odd),
.meddbgrid > .x-panel-body.x-grid-body.x-panel-body-default.x-layout-fit.x-panel-body-default table tr:nth-child(odd) * {
    /*	background-image: none !important;
            background-color: #ded6c9 !important;
    background-color: #fffcf6 !important;*/
}

/*091118 commentato per problema visualizzazione paginator tabelle*/
/*.meddbgrid > .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct {
    visibility: hidden !important;
}*/

.meddbgrid .x-column-header {
    /*border-right: 1px solid #ffffff !important;*/
    border-color: #ffffff !important;
}

.meddbgrid > div:nth-child(2) {
    /*background-color: #fffcf6 !important;*/
}

.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct {
    border-color: #000000;
    background-image: none;
    background-color: #c5c5c5;
    background-image: -webkit-gradient(linear,50% 0,50% 100%,color-stop(0%,#f9f9f9),color-stop(100%,#e3e4e6));
    background-image: -webkit-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -moz-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -o-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: -ms-linear-gradient(top,#f9f9f9,#e3e4e6);
    background-image: linear-gradient(top,#f9f9f9,#e3e4e6);
}

.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct .x-toolbar-separator-horizontal {
    border-left-color: #ccc;
}

.x-grid-cell-special,
.x-grid-item-selected .x-grid-cell-special {
    background-image: none !important;
    background-color: transparent;
    border-right-color: #d0d0d0;
}

/*.meddbgrid .x-grid-td, 
.meddbgrid .x-grid-td .x-grid-cell-inner {
    background-color: #ffffff;
}*/

/*.meddbgrid .x-grid-item-over .x-grid-cell-special, 
.meddbgrid .x-grid-item-over .x-grid-cell-special .x-grid-cell-inner {
    background-color: #cfcfcf;
}*/

/* forzato il trackover come !important per andare sopra eventuale background none ! */
.x-grid-row-over .x-grid-td {
    /*    background-color: #907a6d !important;
        color: #FFFFFF !important;*/
}
.x-grid-row.x-grid-data-row.x-grid-row-selected td,
.x-grid-item.x-grid-item-selected .x-grid-row td {
    font-weight: bold !important;
}

.meddbgrid .x-grid-group-hd {
    background-color: #cddbee;
}

.meddbgrid .x-grid-group-title {
    text-transform: uppercase;
    font-weight: 700;
    font-size: 14px;
}

.x-form-text-grid-cell {
    background-image: none;
}

/*LOADING MASK*/
.x-mask-overlay {
    /*
      background-image: url('../images/loading.gif') !important;
      background-repeat: no-repeat !important;
      background-position: center !important;
      background-color: rgba(200, 200, 200, 0.5) !important;
    */
}

#loading .loading-indicator {
    /*
     background: url(../images/loading.gif) no-repeat;
     color:      #555;
     font:       bold 13px tahoma,arial,helvetica;
     padding:    16px 52px;
     margin:     0;
     text-align: center;
     height:     auto;
    */
}

.x-component.x-border-box.x-mask.x-component-default {
    background-color: rgba(204, 204, 204, 0.5) !important;
}

/*MEDGROUPBOX*/
.medgroupbox {

}

/*LEGEND BOX*/
.x-fieldset-header-text,
.medgroupbox .x-fieldset-header-text {
    font-size: 14px !important;
    text-transform: uppercase;
    color: #15428b;
}

.x-fieldset-default,
.medgroupbox.x-fieldset,
.meddbradiogroup.x-fieldset {
    border-radius: 0px;
    border: 1px solid #666666;
}

.medradiogroup.x-fieldset-default {
    padding: 0px;
}

/*BORDO PANNELLO CONTENITORE PRINCIPALE*/
.x-panel.x-fit-item.x-panel-default > .x-tab-bar.x-header.x-header-horizontal.x-docked.x-unselectable.x-tab-bar-default.x-horizontal.x-tab-bar-horizontal.x-tab-bar-default-horizontal.x-top.x-tab-bar-top.x-tab-bar-default-top.x-docked-top.x-tab-bar-docked-top.x-tab-bar-default-docked-top + .x-panel-body.x-panel-body-default.x-layout-fit.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left {
    border-style: none !important;
}
.x-panel.x-fit-item.x-panel-default > .x-tab-bar.x-header.x-header-horizontal.x-docked.x-unselectable.x-tab-bar-default.x-horizontal.x-tab-bar-horizontal.x-tab-bar-default-horizontal.x-top.x-tab-bar-top.x-tab-bar-default-top.x-docked-top.x-tab-bar-docked-top.x-tab-bar-default-docked-top + .x-panel-body.x-panel-body-default.x-layout-fit.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-panel.x-tabpanel-child.x-panel-default {
    border-style: none !important;
}
.x-panel.x-fit-item.x-panel-default > .x-tab-bar.x-header.x-header-horizontal.x-docked.x-unselectable.x-tab-bar-default.x-horizontal.x-tab-bar-horizontal.x-tab-bar-default-horizontal.x-top.x-tab-bar-top.x-tab-bar-default-top.x-docked-top.x-tab-bar-docked-top.x-tab-bar-default-docked-top + .x-panel-body.x-panel-body-default.x-layout-fit.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-panel.x-tabpanel-child.x-panel-default > .x-panel-body.x-panel-body-default.x-layout-fit.x-panel-body-default {
    border-style: none !important;
}

/*ICONE ORDINAMENTO ASC DESC*/
.x-column-header-sort-DESC .x-column-header-text-inner {
    background-image: url('/files/arrow-up-154-64-w.png');
}
.x-column-header-sort-ASC .x-column-header-text-inner {
    background-image: url('/files/arrow-down-216-64-w.png');
}
.x-column-header-sort-ASC .x-column-header-text-inner, .x-column-header-sort-DESC .x-column-header-text-inner {
    padding-right: 18px;
    background-position: right center;
    background-size: 15px;
}

/*MEDDATETIMEPICKER*/
.meddatetimepicker.meddatetimepicker-medstyle1 .x-form-text-wrap.x-form-text-wrap-default {
    border-style: none;
}
.meddatetimepicker.meddatetimepicker-medstyle1 .x-form-field.x-form-text {
    padding: 0 0 0 2px;
    box-shadow: none;
    border-style: none;
    height: 23px;
}
.meddatetimepicker.meddatetimepicker-medstyle1 .x-form-date-trigger {
    position: absolute;
    width: 22px !important;
    height: 22px !important;
    background: none;
    right: -4px;
}
.meddatetimepicker.meddatetimepicker-medstyle1 .x-form-date-trigger:before {
    width: 100%;
    height: 100%;
    background-image: url('/files/calendar-17.png');
    position: absolute;
    background-size: cover;
    left: 0;
    top: 0;
}

/*SPLITTER*/
.x-splitter.x-border-item.x-box-item.x-splitter-default.x-unselectable {
    background-color: #cccccc;
}

.x-panel-header.x-header.x-region-collapsed-placeholder.x-region-collapsed-left-placeholder.collapsed.x-border-item.x-box-item.x-unselectable.x-panel-header-default.x-collapsed.x-panel-header-collapsed.x-panel-header-default-collapsed.x-collapsed-left.x-panel-header-collapsed-left.x-panel-header-default-collapsed-left.x-vertical.x-panel-header-vertical.x-panel-header-default-vertical.x-left.x-panel-header-left.x-panel-header-default-left.x-box-layout-ct {
    background-image: none;
    background-color: #436188;
    border: none;
}

.x-panel-header.x-header.x-region-collapsed-placeholder.x-region-collapsed-left-placeholder.collapsed.x-border-item.x-box-item.x-unselectable.x-panel-header-default.x-collapsed.x-panel-header-collapsed.x-panel-header-default-collapsed.x-collapsed-left.x-panel-header-collapsed-left.x-panel-header-default-collapsed-left.x-vertical.x-panel-header-vertical.x-panel-header-default-vertical.x-left.x-panel-header-left.x-panel-header-default-left.x-box-layout-ct * {
    color: #ffffff;    
}

/*MEDMENUBUTTON*/
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-medium,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-small,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-medium.x-btn-disabled,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-small.x-btn-disabled {
    user-select: none;
    /*border: 1px solid transparent;*/
    border-radius: .25rem;
    /*transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;*/
    /*color: #ffffff;*/
    background-image: none;
    /*background-color: #ffffff;*/
}

.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-medium *,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-small * {
    /*font-weight: bold;*/
}

.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-medium.x-btn-disabled,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-small.x-btn-disabled {
    opacity: 0.7;
}

.x-btn-wrap-default-medium.x-btn-split-right::after, 
.x-btn-over > .x-btn-wrap-default-medium.x-btn-split-right::after,
.x-btn-wrap-default-small.x-btn-split-right::after, 
.x-btn-over > .x-btn-wrap-default-small.x-btn-split-right::after {
    background-image: none !important;
    /*color: #ffffff;*/
    content: "\25be";
    /*border-left: 2px solid #ffffff;*/
    border-left: 1px solid #000000;
    /*padding-left: 14px;*/
    /*filter: brightness(0) invert(1);*/
    width: 10px;
    padding-left: 5px;
    padding-right: 5px;
}

.x-btn-disabled > .x-btn-wrap-default-medium.x-btn-split-right::after,
.x-btn-disabled > .x-btn-wrap-default-small.x-btn-split-right::after {
    opacity: 0.5;
}

.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-medium:hover,
.x-btn.x-split-button.x-unselectable.medmenubutton.x-btn-default-small:hover {
    /*    -webkit-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        -moz-box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);
        box-shadow: 0px 0px 5px 0px rgba(0,0,0,0.75);*/
    background-color: #e6e6e6 !important;
}

/*MENU LISTA DROPDOWN*/
.x-menu.x-layer.x-menu-default.x-border-box {
    border-radius: 8px;
    border: 1px solid #fffdf6;
    color: #fffdf6;
    padding: 0px 0;
    box-shadow: 6px 6px 7px 1px rgba(0, 0, 0, 0.86), 0 2px 6px rgba(0,0,0,0.15);
}

.x-menu-body-default {
    background: #ffffff;   
}

.x-menu-item-text-default {
    font-size: 14px;
}

.x-menu-item-default.x-menu-item-focus,
.x-menu-item-default.x-menu-item-active {
    background-color: #F1F1F1;
    background-image: none;
    border-color: transparent;
}

.x-menu-item-checked .x-menu-item-icon-default.x-menu-group-icon {
    background-image: url('/files/checkmark-transparent.png');
    background-size: cover;
}

/*ACCORDION*/
/*.medpanel.x-box-item.x-accordion-item.x-panel-default.x-collapsed.x-panel-collapsed {*/
.medpanel.x-box-item.x-accordion-item.x-panel-default {
    border-bottom: thin solid gray !important;
}

.x-accordion-hd .x-panel-header-title {
    font-weight: bold;
}

/*INPUT FILTRO RICERCA*/
.grid_tool_icon_header .x-grid-header-ct td input.x-form-field.x-form-text,
.grid_tool_icon_header .x-grid-header-ct div.x-field input.x-form-field.x-form-text {
    -webkit-box-shadow: inset -1px 0px 4px 2px rgba(0,0,0,0.75);
    -moz-box-shadow: inset -1px 0px 4px 2px rgba(0,0,0,0.75);
    box-shadow: inset -1px 0px 4px 2px rgba(0,0,0,0.75);
    padding-bottom: 2px;
    border: 1px solid #393939 !important;
    background-image: url('/files/search-12-128.png');
    background-repeat: no-repeat;
    background-position: 7px;
    background-size: 14px 14px;
    text-indent: 23px;
}
.grid_tool_icon_header .x-grid-header-ct td input.x-form-field.x-form-text:focus,
.grid_tool_icon_header .x-grid-header-ct div.x-field input.x-form-field.x-form-text:focus {
    -webkit-box-shadow: inset -1px 0px 2px 1px rgba(0,0,0,0.75);
    -moz-box-shadow: inset -1px 0px 2px 1px rgba(0,0,0,0.75);
    box-shadow: inset -1px 0px 2px 1px rgba(0,0,0,0.75);
    border: 1px solid #515151 !important;
}

img[src="files/search.png"] {
    cursor: pointer !important;
}

/*BOTTONE LAMPEGGIANTE VOISIS*/
/* Firefox old*/
@-moz-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 

@-webkit-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
}
/* IE */
@-ms-keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 
/* Opera and prob css3 final iteration */
@keyframes blink {
    0% {
        opacity:1;
    }
    50% {
        opacity:0;
    }
    100% {
        opacity:1;
    }
} 

.vr_started .x-tool-tool-el.x-tool-img.x-tool-gear:before,
.vr_started .x-btn-inner.x-btn-inner-default-small:before {
    background-image: url(../../../resources/files/panel_tools_microphone_red.png);
    -moz-animation: blink normal 2s infinite ease-in-out; /* Firefox */
    -webkit-animation: blink normal 2s infinite ease-in-out; /* Webkit */
    -ms-animation: blink normal 2s infinite ease-in-out; /* IE */
    animation: blink normal 2s infinite ease-in-out; /* Opera and prob css3 final iteration */
}

.vr_started .x-btn-inner.x-btn-inner-default-small:before {
    content: '';
    display: block;
    height: 17px;
    width: 17px;
    background-size: 17px 17px;
    background-repeat: no-repeat;
    background-position: center;
}

.vr_started .x-btn-inner.x-btn-inner-default-small img {
    height: 0;
    width: 0;
}

.x-panel-body-default {
    color: #1f1f1f;
}

.x-window.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-btn.x-unselectable.x-box-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon {
    color: #fff;
    background-color: #17a2b8;
    border-color: #17a2b8;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out,-webkit-box-shadow .15s ease-in-out;
    border: 1px solid transparent;
    background-image: none;
}

.x-window.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-btn.x-unselectable.x-box-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon:hover {
    color: #fff;
    background-color: #138496;
    border-color: #117a8b;
}

.x-window.x-layer.x-window-default.x-closable.x-window-closable.x-window-default-closable.x-border-box .x-btn.x-unselectable.x-box-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon span {
    color: #fff;
}

a[href="http://www.medarchiver.com"] {
    color: #907a6d !important;
}

.meddbgrid .x-column-header,
.meddbgrid .x-column-header-over,
.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct {
    background-image: none !important;
    background-color: #142E51 !important;
}

.meddbgrid .x-column-header span,
.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct div.x-toolbar-text.x-box-item.x-toolbar-item.x-toolbar-text-default {
    color: #fff !important;
}

.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct a.x-btn.x-unselectable.x-btn-toolbar.x-box-item.x-toolbar-item.x-btn-default-toolbar-small.x-icon.x-btn-icon.x-btn-default-toolbar-small-icon,
.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct a.x-btn.x-unselectable.x-btn-toolbar.x-box-item.x-toolbar-item.x-btn-default-toolbar-small.x-noicon.x-btn-noicon.x-btn-default-toolbar-small-noicon,
.meddbgrid .x-toolbar.x-docked.x-toolbar-default.x-docked-bottom.x-toolbar-docked-bottom.x-toolbar-default-docked-bottom.x-box-layout-ct a.x-btn.x-unselectable.x-btn-toolbar.x-box-item.x-toolbar-item.x-btn-default-toolbar-small.x-noicon.x-btn-noicon.x-btn-default-toolbar-small-noicon.x-focus.x-btn-focus.x-btn-default-toolbar-small-focus {
    background-color: #fff !important;
    background-image: none;
}

.meddbgrid .x-grid-cell-inner {
    padding: 6px;
}

.-body.myNoBorderCSS.-body-default.x-layout-fit.-body-default > .x-panel.x-fit-item.x-panel-default > .x-panel-body.x-panel-body-default.x-layout-fit.x-panel-body-default > .x-panel.x-tabpanel-child.x-panel-default > .x-panel-body.x-panel-body-default.x-box-layout-ct.x-panel-body-default.x-docked-noborder-top.x-docked-noborder-right.x-docked-noborder-bottom.x-docked-noborder-left > .x-box-inner > .x-box-target > label.x-component.x-unilabel.x-box-item.x-component-default {
    color: #0098ad !important;
}

.x-boundlist.x-boundlist-floating.x-layer.x-boundlist-default.x-border-box li {
    font-size: 14px !important;
}

td .x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon {
    border: 1px solid rgb(20, 46, 81) !important;
    color: #fff;
    background-color: #286090;
    background-image: none;
    cursor: pointer;
}

td .x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon.x-over {
    border: 1px solid rgb(20, 46, 81) !important;
    color: #fff;
    background-color: #286090;
    background-image: none;
    opacity: .8;
}

td .x-form-trigger-wrap div.x-btn.x-form-file-btn.x-unselectable.x-btn-default-small.x-noicon.x-btn-noicon.x-btn-default-small-noicon * {
    cursor: pointer;
}

a.x-btn.x-unselectable.x-box-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon,
a.x-btn.x-unselectable.x-abs-layout-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon,
a.x-btn.x-unselectable.x-abs-layout-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon.x-over {
    background-image: none;
}

a.x-btn.x-unselectable.x-abs-layout-item.x-btn-default-medium.x-noicon.x-btn-noicon.x-btn-default-medium-noicon.x-over {
    background-color: #f2f2f2;
}

.x-form-cb {
    margin-top: 7px;
}

.x-datepicker-arrow {
    background-color: transparent;
}

textarea.x-form-field.x-form-text.x-form-textarea.x-form-focus.x-field-form-focus.x-field-default-form-focus {
    -webkit-box-shadow: none !important;
    box-shadow: none !important;
    outline: none !important;
}