#page-body {
    position: fixed;
    top:0px;
}

#card {
    clear: both;
    position: relative;
    width: 100%;
    padding-top: 25px;
}

#card hr {
    clear: both;
    padding: 0;
    margin: 0;
}

.card-metadata {
    padding: 0;
    margin-bottom: 10px;
    background: #FAF8D8;
    border-bottom: 1px solid #ccc;
    width: 100%;
    position: relative;
    z-index: 10;
    font-size: 0.8em;
}

.metadata-header {
    position: relative;
    padding: 3px 5px 3px 5px;
    background: #F8EDAD;
}

.metadata-header h2 {
    display: inline;
    font-size:1.1em;
}

.metadata-header img {
    vertical-align: text-top;
    margin-right: 2px;
}

.metadata-header em {
  font-style: italic;
}

.metadata-body {
    padding: 0px 5px 0px 5px;
    position: relative;
}

.metadata-toolbar {
    position: absolute;
    top: 0px;
    right: 15px;
    width: 28px;
}

#metadata-table {
    font-size: 1em;
}

#metadata-table .meta-label {
    text-align: right;
    font-weight: bold;
}
/*
** icone per le toolbar dei campi e dei paragrafi
*/

.icon-help-button {
  background: url(../img/card-toolbar.gif) no-repeat -80px 0px !important;
  width: 20px !important;
  height: 20px;
}

.report-menu-button .x-btn-text {
    background: url(../img/download-button.gif);
}

/*
** paragrafi
*/
.card-modifiable .paragraph {
    margin-bottom: 0.8em;
    border: 1px solid #A8AAAB;
    background: white url(../img/subfields.png) repeat-x bottom left;
    clear: both;
    font-size: 0.8em;
}

* html .card-modifiable .paragraph {
    height: 20px;
}

.card-modifiable .paragraph-title {
    border-bottom: 3px solid #E0DFDF;
    padding: 0px 0pt 0px 0.4em;
    font-weight: bold;
    height: 20px;
    background: #efefef;
    color: #000000;
    position: relative;
}

.card-modifiable .paragraph-title span {
    float: left;
    padding-top: 3px;
}

.card-modifiable .extend-area {
    width: 220px;
    float: right;
    position: relative;
}

/*
** structured fields
*/
.card-modifiable .structured {
    margin: 1em 0em 1em 0em;
    padding: 0px;
    border: 1px solid #E0DFDF;
    border-right: 0px;
    border-left: 10px solid #E0DFDF;
}

.card-modifiable .structured-title {
    padding: 0 0 0 0.4em;
    border-bottom: 3px solid #E0DFDF;
    font-weight: bold;
    height: 20px;
    position: relative;
}

.card-modifiable .structured-title span {
    float: left;
    padding-top: 3px;
}

.subfields {
    padding-top: 0.8em;
    border-top: 1px solid #ccc;
    padding-bottom: 25px;
    width: 100%;
    clear: both;
}

/*
 * toolbar e icone nell'editing di scheda
 */

.main-struct-toolbar {
    float: right;
    width: 94px;
    position: relative;
}

.repeat-struct-toolbar {
    width: 120px;
    position: relative;
}

.main-plain-toolbar {
    float: right;
    width: 94px;
}

.amg-toolbar .icon-help-button {
  position: absolute;
  top: 0;
  right: 45px;
  background: url(../img/card-toolbar.gif) no-repeat -80px 0px !important;
  width: 20px !important;
  height: 20px;
  cursor: pointer;
}

.amg-toolbar .icon-help-button-disabled {
  position: absolute;
  top: 0;
  right: 45px;
  background: url(../img/card-toolbar.gif) no-repeat -80px -20px !important;
  width: 20px !important;
  height: 20px;
}

.amg-toolbar .icon-collapse-button {
  position: absolute;
  top: 0;
  right: 3px;
  background: url(../img/card-toolbar.gif) no-repeat -60px 0px !important;
  width: 20px !important;
  height: 20px;
  cursor: pointer;
}

.amg-toolbar .icon-expand-button {
  position: absolute;
  top: 0;
  right: 3px;
  background: url(../img/card-toolbar.gif) no-repeat -40px 0px !important;
  width: 20px;
  height: 20px;
  cursor: pointer;
}

.amg-toolbar .repeat-plain-field {
  position: absolute;
  top: 0;
  right: 3px;
}

.amg-toolbar .icon-repeatable-button {
  background: url(../img/card-toolbar.gif) no-repeat -100px 0px !important;
  width: 20px !important;
}

.amg-toolbar .icon-disabled-repeatable-button {
  background: url(../img/card-toolbar.gif) no-repeat -100px -20px !important;
  width: 20px !important;
}

.amg-toolbar .x-btn-left, .amg-toolbar .x-btn-right {
  background: transparent none repeat scroll 0 0;
}

.amg-toolbar .x-btn-center {
  background: transparent none repeat scroll 0 0;
  padding: 0;
}

.amg-toolbar .x-btn-over .x-btn-left{
    background:url(../img/tb-btn-sprite.gif) no-repeat 0 0;
}
.amg-toolbar .x-btn-over .x-btn-right{
    background:url(../img/tb-btn-sprite.gif) no-repeat 0 -21px;
}
.amg-toolbar .x-btn-over .x-btn-center{
    background:url(../img/tb-btn-sprite.gif) repeat-x 0 -42px;
}

.amg-toolbar .x-btn-click .x-btn-left, .amg-toolbar .x-btn-pressed .x-btn-left, .amg-toolbar .x-btn-menu-active .x-btn-left{
    background:url(../img/tb-btn-sprite.gif) no-repeat 0 -63px;
}
.amg-toolbar .x-btn-click .x-btn-right, .amg-toolbar .x-btn-pressed .x-btn-right, .amg-toolbar .x-btn-menu-active .x-btn-right{
    background:url(../img/tb-btn-sprite.gif) no-repeat 0 -84px;
}
.amg-toolbar .x-btn-click .x-btn-center, .amg-toolbar .x-btn-pressed .x-btn-center, .amg-toolbar .x-btn-menu-active .x-btn-center{
    background:url(../img/tb-btn-sprite.gif) repeat-x 0 -105px;
}

.move-cards-menu-button {
    background: url(../img/move-cards-button.gif) no-repeat !important;
}

.x-toolbar .x-btn-center button {
    height: 19px;
}

/* bottone per mostrare annotazioni */
.numbered-button {
    background: transparent;
    background-color: rgba(200, 200, 200, 0);
    padding: 0px;
    position: relative;
    border: none;
    outline: none;
}
.numbered-button:hover {
    cursor: pointer;
    background-color: rgba(210, 210, 210, 0.45);
}
.numbered-button img {
    height: 100%;
    width: 100%;
}
.numbered-button svg {
    position: absolute;
}
.numbered-button svg > circle {
    fill: white;
}
.numbered-button svg > text {
    text-anchor: middle;
    fill: black;
    font-family: Arial;
}
.numbered-button-img-wrapper {
    display: inline-block;
    margin-right: 0.3em;
}
.card-metadata .numbered-button {
    margin-left: 4em;
}
/* */

/* dialog per mostrare annotazioni */
.note-cell {
    white-space: pre;
}
.state-cell > img {
    vertical-align: bottom;
    margin-right: 0.2em;
}
/* */


/* dialog cambio stato scheda */
.change-state-dialog textarea {
    resize: none;
    width: 34em;
    height: 15em;
}
.change-state-dialog .expander-button {
    vertical-align: bottom;
    width: 20px;
    height: 20px;
    padding: 0px;
    background-color: transparent;
    border: none;
    outline: none;
}
.change-state-dialog .expander-button img {
    width: 100%;
    height: 100%;
}
.change-state-dialog .message-container {
    margin-bottom: 1em;
}
.change-state-dialog .comment-container {
    margin-top: 1em;
}

/* */

/* toolbar filtro sui profili */
.profiles-toolbar .filter-profiles-btn {
    background: url(../img/search.gif) no-repeat center left !important;
}
.profiles-toolbar .filters-separator {
    margin-right: 2em;
    margin-left: 2em;
}
.profiles-toolbar .x-form-field-wrap {
    margin-right: 1em;
}
/* */

/* dialog impostazione profili su campagna */
.apply-campaign-profile-dlg > div {
    margin-bottom: 0.8em;
}
.apply-campaign-profile-dlg > div:first-child {
    margin-bottom: 1.6em;
}

.apply-campaign-profile-dlg label > * {
    margin-top: 0.3em;
}

.apply-campaign-profile-dlg .users-multi-select {
    margin-top: 0.3em;
}
/* */


/* dialog impostazione profili su scheda */
.profile-combobox {
    margin-top: 1em;
}
.apply-profile-globally {
    margin-top: 1em;
    margin-bottom: 1em;
}

.apply-profile-globally, .apply-profile-on-users {
    margin-left: 3em;
    margin-bottom: 0.6em;
}

.apply-profile-globally input, .apply-profile-on-users input {
    margin-right: 0.4em;
}
.form-warning {
    color: red;
    font-style: italic;
}
.select-user-warning {
    margin-left: 3em;
}
.select-profile-warning {
    height: 1em;
    margin-bottom: 0.6em;
    margin-left: 1em;
}
.apply-card-profile-dlg .profile-label > div {
    margin-top: 0.3em;
}
.apply-card-profile-dlg > div:first-child {
    margin-bottom: 1.6em;
}

/* dialog sommario profili */
.profiles-summary-dlg > div:first-child {
    margin-top: 0.5em;
    margin-bottom: 2em;
}
.profiles-summary-dlg .level-header {
    margin-top: 1.5em;
    margin-bottom: 0.5em;
}

/* dialog spostamento schede fra campagne */
.move-cards-dlg label > div {
    margin-top: 1em;
    text-align: center;
}
.move-cards-err-dlg ul {
    margin-left: 20px;
    list-style-type: disc;
}
.move-cards-err-dlg > div:not(:first-child) {
    margin-top: 1em;
}
/*
** plain fields
*/


.field-widget {
    vertical-align: middle;
}

.field-widget .extend-area {
    width: 90px;
}

.field-widget-core {
    width: 680px;
    margin: 3px 0;
    float: left;
}

.field-widget-core .x-form-field-wrap{
    float: left;
    margin-right: 20px;
}

.field-widget label {
    float: left;
    margin: 0 0 0 0;
    text-align: right;
}

.field-widget label.code {
    margin-right: 10px;
}

.field-widget .title {
    width: 14.5em;
    padding-top: 2px;
}

.structured .title {
    width: 13.5em;
}

label.title {
    font-size: 11px;
    font-style: italic;
}

label.code {
    width: 35px;
}

.field-widget .code {
    margin-left: 10px;
    color: grey;
    font-family: Monospace;
    font-size: 1.2em;
    padding-top: 3px;
}

.field-input {
    width: 25em;
}

.buttons-placeholder {
    position: relative;
    float: left;
    margin: 0 10px;
}

.buttons-placeholder table {
  /*
   * Ext crea i propri button utilizzando una table
   */
  margin-right: 5px;
  float: left;
}

.text-placeholder {
  float: left;
  width: 304px;
  margin-left: 10px;
  padding-right: 5px;
}

.clause-cell .text-placeholder {
  width: auto !important;
  font-size: 0.8em;
}

.lookup-field {
    float: left;
    margin-top: 2px;
}

.lookup-field em {
    font-style: italic;
}

/*
#card .button-placeholder .x-btn button {
    width:40px;
}
*/

/*
 * search
 */

#catalog-search {
    margin: 0px;
}

#catalog-search .field-input {
    margin: 0 !important;
}

.search-query {
    margin-bottom: 25px;
    margin-top: 10px;
    margin-left: 10px;
    height: 1.3em;
}

.search-query h2 {
    display: inline;
    margin-right: 10px;
    font-size: 15px;
}
.search-query a {
    text-decoration: underline;
    color: blue;
}

.search-boxed {
    padding: 7px 0 5px 0;
    margin: 0 0 0px 0;
    width: 700px;
    clear: both;
}

.saved-searches li {
    position: relative;
    margin: 0px;
    padding: 0px;
    height: 30px;
}

.saved-searches li a{
    display: block;
    font-size: 0.8em;
    margin: 0;
}

.saved-searches li a:hover {
    color: #534C53;
    background-color: #dfdfdf;
    font-weight: bold;
    text-decoration: none;
}


.saved-searches li.saved-search-private a,
#saved-searches li.saved-search-private a.action:hover {
    background-image: url(../img/private.gif);
    background-position: 5px center;
    background-repeat: no-repeat;
}

.saved-searches li.selected a.action {
    background-color: #dfdfdf;
    font-weight: bold;
    text-decoration: none;
}

.saved-searches li a.action{
    padding: 6px 0 6px 30px;
}

.saved-searches li a.delete {
    position: absolute;
    top: 6px;
    right: 10px;
    width: 20px;
    height: 20px;
    overflow: hidden;
    text-indent: -9000px;
    background: url(../img/error_normal.gif) no-repeat top left;
    z-index: 20;
}

.saved-searches li a:hover {
    cursor: pointer;
}

.saved-searches h3 {
    font-size: 0.8em;
    padding: 7px 10px 7px 10px;
    background: #FAF8D8;
    border-bottom: 1px solid #FFD100;
    border-top: 1px solid #FFD100;
}
/*
 * simple search
 */
#simple-search {
    position: relative;
    margin-left: 10px;
    margin-top: 10px;
}

#simple-query-clauses {
}

#simple-query-clauses label {
    float: left;
    margin-right: 10px;
}

#simple-query-clauses input#simple-query-clause {
    float: left;
    margin-right: 10px;
}

#simple-query-clauses .x-form-field-wrap {
    float: left;
}

#simple-query-clauses .simple-query-single-clause {
    clear: both;
    margin-bottom: 12px;
    height: 20px;
    padding-top: 2px;
    padding-bottom: 2px;
}

#simple-query-clauses .simple-query-single-clause label {
   width: 140px;
   text-align: right;
}

.simple-query-text-field {
    margin-bottom: 0.4em;
}

.simple-query-text-field input[type='checkbox'] {
    margin-left: 0.5em;
    vertical-align: middle;
}

.simple-query-text-type-container {
    margin-top: 0.4em;
}

.simple-query-text-type-label {
    /* necessario important per colpa delle regole su id
       #simple-query-clauses di prima */
    float: right !important;
    margin-right: 0px !important;
    clear: both;
}


/*
 * advanced search
 */

#query-filter-advanced-buttons {
    margin-top: 15px;
}

#query-filter-advanced-buttons table {
    float: left;
    margin-right: 20px;
}

#search-options-expander {
    width: 150px;
}

#search-options-expander a{
    margin-top: 10px;
    color: #534C53;
    display: block;
}

#search-options-expander a:hover{
    background-color: white;
}

.search-options-expander-collapsed  a{
    background-image:url(../img/collapsed.gif);
    background-repeat: no-repeat;
    background-position: right;
    width: 120px;
}

.search-options-expander-expanded  a{
    background-image:url(../img/expanded.gif);
    background-repeat: no-repeat;
    background-position: right;
    width: 140px;
}

.advanced-campaign-selector,
.advanced-status-selector {
    margin-left: 10px;
}

.advanced-campaign-selector {
    margin-top: 20px;
}

.advanced-campaign-selector label,
.advanced-status-selector label {
    margin-bottom: 10px;
    display: block;
    float: left;
    margin-right: 15px;
}

#advanced-schema-selector .x-form-field-wrap {
    float: left;
}

#advanced-query-status {
    margin-left: 2.4em;
}

.find-replace-button {
    background: url(../img/find_replace.gif) no-repeat center left !important;
}

#dialog-saved-search label {
    width: 100px;
    display: block;
    float: left;
    clear: both;
    font-weight: bold;
}


/* dialog search & replace */

#dialog-search-replace label {
    width: 145px;
    display: block;
    float: left;
    clear: both;
    font-weight: bold;
}

#dialog-search-replace .domain strong {
    font-weight: bold;
}

#dialog-search-replace .domain {
    margin-bottom: 20px;
    border-bottom: 1px solid #ccc;
    padding-bottom: 10px;
}

#dialog-search-replace .domain span strong {
    display: inline;
    float: none;
    width: auto;
    clear: none;
    font-weight: normal;
}

#dialog-search-replace-grid {
    margin-top: 20px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
}

#dialog-search-replace .replace-voc-value {
    display: inline-block;
}

#dialog-search-replace .replace-with-label,
#dialog-search-replace .replace-what-label {
    display: inline-block;
    width: 7em;
    font-weight: bold;
}

#dialog-search-replace .replace-what-label {
    margin-bottom: 1em;
}

.search-replace-confirm-dlg {
    line-height: 1.5em;
}
.search-replace-confirm-dlg .first-column-text {
    width: 5em;
    display: inline-block;
}
.search-replace-confirm-dlg strong {
    font-weight: bold;
}
.search-replace-confirm-dlg .warning-text {
    text-align: center;
    color: red;
    margin-top: 2em;
}
/* */

#dialog-saved-search .dialog-body div {
    margin-bottom: 20px;
}

#advanced-search {
    margin: 10px 0 0 10px;
    position: relative;
}

#advanced-schema-selector label {
    float: left;
    margin-right: 10px;
}

#advanced-table-toolbar {
    margin-left: 5px;
}

#advanced-query-clauses {
    border: 1px solid #ccc;
    clear: both;
    margin-top: 10px;
    position: relative;
}

#query-ordering .x-form-field-wrap {
    margin-bottom: 10px;
}

#search-options {
    border: 1px solid #ccc;
    clear: both;
    margin-top: 10px;
    margin-bottom: 10px;
    position: relative;
}

#options-label {
    position: relative;
    float: right;
    width: 16px;
    height: 65px;
    top: -8px;
    left: 17px;
    z-index: 99;
    background: url(../img/search-labels.gif) no-repeat 0 -36px;
}

#clauses-label {
    position: absolute;
    width: 16px;
    height: 36px;
    top: -1px;
    right: -17px;
    background: url(../img/search-labels.gif) no-repeat 0 0;
}

#table-toolbar {
    margin: 5px 0 0 5px;
}

#query-fields {
    float: left;
    width: 450px;
    padding: 0 0 0 10px;
}

#query-ordering {
    margin-top: 10px;
    float: left;
}

.order-field div {
  margin-top: 10px;
}

.query-order-label {
    display: block;
    margin-bottom: 10px;
}

#query-output-columns {
    float:left;
}

.view-fields {
    margin: 10px 0;
}

#search-result {
    margin: 0px;
}

#change-to-simple, #change-to-advanced {
    cursor: pointer;
}

#query-value{
    width:250px
}

#search-container .x-btn-wrap {
    margin-left: 10px;
}

.alternate-search {
    float: left;
}

#clauses-table td.clause-cell {
    padding-right: 8px;
    padding-bottom: 6px;
}

#clauses-table {
    margin-top: 5px;
}

#clauses-table td.remove-clause {
    padding-right: 0 !important;
}

.result-image {
    width: 60px;
}

.query-filter {
    clear: both;
}

#query-selector {
    float: left;
}


/*
** campaign
*/

#campaign-infobox {
    font-size: 12px;
    margin-top: 10px;
    width: 750px;
    margin-left: 15px;
    /*background: url(../img/schedatura_bg.png) no-repeat bottom right;*/
}

#campaign-infobox h1{
    background: #524D52;
    line-height: 2em;
    padding-left: 5px;
    color: white;
    margin-bottom: 10px;
    font-size: 100%;
}

#campaign-infobox p {
    margin-bottom: 5px;
}

#campaign-infobox strong {
    font-weight: bold;
}

#campaign-infobox-readonly {
    margin-top: 10px;
}

#campaign-infobox-readonly table {
    width: 500px !important;
}

#campaign-infobox-readonly th {
    width: 160px !important;
}

#campaign-infobox #schemas,
#campaign-infobox #catalogers,
#campaign-infobox #validators {
    margin-top: 20px;
}

#campaign-infobox #validators {
    padding-bottom: 10px;
}

#info-wrapper {
    width: 760px;
}

#campaign-infobox table {
    margin-top: 5px;
}

#campaign-infobox #schemas .used {
    margin-left: 247px;
    font-weight: bold;
}

#campaign-infobox #schemas .available {
    margin-left: 0px;
    font-weight: bold;
}

#campaign-infobox #catalogers .used {
    margin-left: 225px;
    font-weight: bold;
}

#campaign-infobox #catalogers .available {
    margin-left: 0px;
    font-weight: bold;
}

#campaign-infobox #validators .used {
    margin-left: 242px;
    font-weight: bold;
}

#campaign-infobox #validators .available {
    margin-left: 0px;
    font-weight: bold;
}

#summary-wrapper {
    margin: 10px;
}

#summary-wrapper .summary-table {
    font-size: 12px;
    width: 540px;
    margin-bottom: 20px;
    border-collapse: collapse;
}

#summary-wrapper th, #summary-wrapper td{
    padding: 4px 0px 4px 0px;
    width: 64px;
    text-align: center;
}

#summary-wrapper caption {
    margin-bottom: 5px;
}

#summary-wrapper caption span {
    margin-right: 20px;
}

#summary-wrapper caption span.title {
    font-weight: bold;
}

#summary-wrapper th {
    font-weight: bold;
    border-right: 1px solid white;
}

#summary-wrapper tr.header {
    background: #efefef;
}

#summary-wrapper th.first {
    width: 100px;
    text-align: center;
    font-weight: bold;
    padding-right: 10px;
}

#summary-wrapper td.first {
    text-align: right;
    font-style: italic;
    padding-right: 10px;
}

#summary-wrapper th.sum {
    font-weight: bold;
    font-style: italic;
}

#summary-wrapper td.sum {
    font-style: italic;
}

#summary-wrapper tr.lastrow td {
    font-style: italic;
}

#summary-wrapper tr {
    border-bottom: 1px solid #efefef;
}

#summary-wrapper tr.lastrow {
    border-bottom: 0px;
    border-top: 2px solid #efefef;
}

.readonly-data {
    font-size: 12px;
    border-spacing: 5px;
}

.readonly-data th {
    font-weight: bold;
    text-align: right;
    vertical-align: top;
}

.readonly-data td {
    text-align: left;
}

.readonly-data em {
    font-style: italic;
}

.readonly-data img {
    vertical-align: text-top;
    margin-right: 2px;
}

.modify-info strong {
    float: left;
    width: 100px;
}

#abilitate strong{
    float: none;
}

#abilitate {
    clear: both;
    margin-top: 5px;
    margin-bottom: 0px;
}

.campaign-large-render th {
    width: 200px;
    font-size: 0.8em;
    line-height: 1.5em;
    font-weight: bold;
}

.campaign-large-render td {
    width: 200px;
    font-size: 0.8em;
    line-height: 1.5em;
    font-family: Verdana, Arial, sans-serif;
}

#campaigns-grid a:hover{
    background: none;
    color:#524D52;
}

#campaigns-grid a {
    font-weight: bold;
}

.campaign_active {
    color: red !important;
}

.campaign_closed {
    color: green !important;
}

.x-grid-row-selected .campaign_active {
    color: red !important;
}

.x-grid-row-selected .campaign_closed {
    color: green !important;
}

/* espande lo span del numero campagna in modo da far scattare
meglio il tooltip */
span.campaign-number-cell {
    display: inline-block;
    width: 100%;
    height: 100%;
}

/*
** widget: image file
*/

.file-icon {
    border: 1px solid #E1E1E1;
    margin-left: 10px;
}

a:hover .file-icon {
    background-color: white;
}

.file-widget {
    display: block;
    float: left;
}

.file-widget .file-icon {
    float: left;
}

.file-input-fields {
    float: left;
    display: block;
    margin-left: 10px;
}

.file-delete {
    margin-top: 10px;
}

label.file-checkbox {
  float: none;
}

.result-image {
    float: right;
}

/*
** not-modifiable card and schema
*/

.field-code {
    width: 80px;
}

.plain .field-title {
    width: 240px;
    font-size:11px;
    font-style: italic;
}
.plain .field-value {
    white-space: pre-wrap;
}
.level1 .field-code span { padding-left: 10px; }
.level2 .field-code span { padding-left: 20px; }
.level3 .field-code span { padding-left: 30px; }
.level4 .field-code span { padding-left: 40px; }
.level5 .field-code span { padding-left: 50px; }
.level6 .field-code span { padding-left: 60px; }

.not-modifiable td {
    font-size: 13px;
}

table.read-only-table {
    margin-bottom: 5px;
    width: 100%;
    font-size: 1em;
    line-height: 1.5em;
    border-left: 10px solid #DFDFDF;
}

table.read-only-table td {
    vertical-align: text-top;
    line-height: 125%;
    padding: 3px;
}

table.read-only-table-meta {
    border-left: 10px solid white;
}

.read-only-table .structured{
    font-weight: bold;
}

.read-only-table .level0{
    font-weight: bold;
    text-transform: uppercase;
}

.read-only-table td {
    font-size: 13px;
}

.read-only-table th {
    font-size: 13px;
    font-weight: bold;
    border-bottom: 2px solid #ddd;
}

.read-only-table .structured {
    font-weight: bold;
}

.read-only-table .field-code {
    width: 80px;
}

.read-only-table .field-title {
    width: 240px;
}

.read-only-table .field-repeatable {
    width: 30px;
}

.read-only-table .field-required {
    width: 40px;
    text-align: center;
}

.read-only-table .field-length {
    width: 40px;
    text-align: right;
}

.read-only-table td.field-type {
    font-size: 11px;
}

.read-only-table .field-type {
    padding-left: 10px;
}

.read-only-table .field-help {
    cursor: pointer;
}

.read-only-table .repeatable {
    #background: url(../img/asterisk.gif) no-repeat center left;
    background: url(../img/asterisk.gif) no-repeat center center;
}

.read-only-table .row-over {
    background: #FAF8D8;
}

.schema .field-value {
  visibility: hidden;
}

.profile .field-value {
  visibility: hidden;
}

.profile .field-private {
  width: 30px;
}

.card-view .field-required {
  display: none;
}

.card-view .field-repeatable {
  display: none;
}

.card-view .field-length {
  display: none;
}

.card-view .field-type {
  display: none;
}

.profile .field-private .x-form-check-wrap {
  margin: 0 auto;
}


/*
User admin panel
*/
#user {
  margin-top: 15px;
}

.user-detail {
    margin-top: 16px;
    clear: both;
    display:block;
    float: none;
    overflow: auto;
}

.user-detail label {
    width: 12em;
    display: block;
    float: left;
    margin-right: 10px;
    text-align: right;
}

#user-group_id input{
    float: none;
}

#user-group_id div{
    float: none;
}

span.group-roles {
    font-weight: bold;
}

span.roles-assigne {
    margin-left: 265px;
}

.panel-toolbar .create-schema-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -528px !important;
}

.panel-toolbar .icon-withdraw-refuse-card {
    background: url(../img/toolbar.gif) no-repeat 0px -451px !important;
}

.panel-toolbar .icon-opac .x-btn-text {
    background: url(../img/toolbar.gif) no-repeat 0px -500px !important;
}


.panel-toolbar .save-user-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px 0px !important;
}


.panel-toolbar .save-group-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px 0px !important;
}

.panel-toolbar .delete-group-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -22px !important;
}

.panel-toolbar .show-group-details-button-bg {
    background: url(../img/details.gif) no-repeat center left !important;
}

.panel-toolbar .create-group-button-bg {
    background: url(../img/add_user_group.gif) no-repeat center left !important;
}

.panel-toolbar .create-user-button-bg {
    background: url(../img/add_user.gif) no-repeat center left !important;
}

/* groups admin */

#group {
    margin:20px 10px 10px 10px;
}

#group-id label, #group-description label {
    width: 7em;
    display: block;
    float: left;
    margin-right: 10px;
    text-align: right;
}

#group-id, #group-description, #group-roles, #group-users {
    margin-top: 20px;
}

#group-roles .group-roles {
    padding-bottom: 4px;
}

#groups-grid a {font-weight: bold;}

.users-grid .x-grid-cell-text a {
    font-weight: bold;
    text-decoration: underline;
}
.users-grid .x-grid-cell-text a:hover {
    cursor: pointer;
}


/*profile*/

#schema-profiles {
    font-size: 13px;
    margin-top: 10px;
    margin-left: 10px;
    position: relative;
}

#schema-profiles li {
    margin-bottom: 6px;
    background: url(../img/profilo.gif) no-repeat 10px center;
    padding-left: 35px;
    padding-top: 4px;
    padding-bottom: 4px;
    border: 1px solid #ffffff;
}

#schema-profiles li.default-profile {
    background-image: url(../img/profilodefault.gif);
  background-position: 10px center;
  background-repeat: no-repeat;
}

#schema-profiles li a{
    text-decoration: none;
}

#schema-profiles li.selected {
    background-color: #F1F1F1;
}

#dialog-new-schema p{
    margin-bottom: 10px;
}

#profile {
  padding: 10px 0 10px 10px;
}

/* profile toolbar */
.panel-toolbar .save-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px 0px !important;
}

.panel-toolbar .delete-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -22px !important;
}

.panel-toolbar .create-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -44px !important;
}

.panel-toolbar .hide-all-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -66px !important;
}

.panel-toolbar .set-default-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -88px !important;
}

.panel-toolbar .copy-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -110px !important;
}

.panel-toolbar .show-all-profile-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -132px !important;
}

.profile-metadata div {
  margin-bottom: 5px;
}

.profile-metadata label {
    display: inline-block;
    width: 80px;
    text-align: right;
}

.profile-metadata .profile-cards {
  margin-left: 84px;
}

.profile-container {
    padding-top: 15px;
    font-size: 13px;
}

/*dialog*/

/*
 * widget: pdf report dialog box
*/

#tabular-report-title {
    width: 319px;
}

#tabular-report-data .order-field .x-form-field-wrap {
    float: left;
    margin-right: 10px;
}

#columns-included-in-tabular-report {
    margin-top: 10px;
}

#feedback-message-tabular {
    clear: both;
}

#feedback-message-tabular table {
    float: left;
}

.tabular-submit-button, .tabular-cancel-button {
    float: left;
    margin-right: 10px;
}

#basic-report-dialog, #tabular-report-dialog {
    font-size: 12px;
}

#rd-actions {
    margin-top: 22px;
}

#rd-actions > div:first-child {
    margin-bottom: 1em;
}


#basic-report-data label {
    display: block;
}

#rd-lbl-title strong {
    font-weight: bold;
    margin-bottom: 6px;
    display: block;
}

#rd-lbl-columns, #rd-lbl-order {
    display: block;
    margin: 10px 0 0 0;
}

#basic-report-data input {
    display: block;
    margin-top: 10px;
    width: 400px;
}

.report-dialog .download-radio > div {
    display: inline-block;
}

.report-dialog .download-radio > div:first-child {
    vertical-align: top;
    padding-bottom: 0.5em;
}

.report-dialog .no-download-message {
    font-style: italic;
    width: 350px;
    margin-left: 0.5em;
}

#tabular-report-dialog #rd-actions > div:first-child {
    clear: both;
}


#rd-email-text {
    display: block;
    width: 250px;
    margin-top: 6px;
}

#rd-message {
    clear: both;
}

#rd-title {
    width: 325px;
    display: block;
}

#tabular-report-dialog label {
    font-size: 12px;
}

#columns-ordering-tabular-report div{
    float: left;
    margin-right: 20px;
    margin-bottom: 20px;
}

.error-dialog {
    font-size: 12px;
    line-height: 1.5em;
    background: white url(../img/big-error-message.gif) no-repeat top right;
    padding-right: 94px;
}

.info-dialog {
    font-size: 12px;
    line-height: 1.5em;
    background: white url(../img/big-info-message.gif) no-repeat top right;
    padding-right: 94px;
}

.warning-dialog {
    font-size: 12px;
    line-height: 1.5em;
    background: white url(../img/big-warning-message.gif) no-repeat top right;
    padding-right: 94px;
}

.error-dialog strong, .warning-dialog strong, .info-dialog strong {
    font-weight: bold;
    font-size: 13px;
}

.response-error-message p {
    font-style: italic;
    margin: 5px 0px 7px 0px;
}

.response-error-data {
    margin:5px 0px 0px 5px;
}

.x-menu-list-item .report-menu-item img {
  display: none;
}

.node-loading {
  background: url(/static/ext1.1.1/images/default/grid/loading.gif) !important;
}

.download-report-popup {
    background: white;
    font-family: Verdana, Arial, sans-serif;
}

.download-report-popup p {
    font-size: 12px;
}

.download-report-popup h1 {
    font-size: 15px;
    background: #FAF8D8;
    border: 1px solid #FFD100;
    padding: 5px;
}

.info-message .x-dlg-bd {
    background: green;
    border: 1px solid #ccc;
    padding: 10px;
    height: 300px;
}

.msg-main-message {
    font-size: 13px;
}

.field-action-link-card {
  background: url(../img/card-link.png) no-repeat 50% 50% !important ;
}

.x-btn-disabled .field-action-link-card {
  background: url(../img/card-link-grey.png) no-repeat 50% 50% !important ;
}

.field-action-unlink-card {
  background: url(../img/card-unlink.png) no-repeat 50% 50% !important ;
}

.x-btn-disabled .field-action-unlink-card {
  background: url(../img/card-unlink-grey.png) no-repeat 50% 50% !important ;
}

.field-action-search-term {
  background: url(../img/search.gif) no-repeat 50% 50% !important ;
}

.field-action-new-term {
  background: url(../img/new-term.png) no-repeat 50% 50% !important ;
}

.field-action-new-point {
  background: url(../img/point.png) no-repeat 50% 50% !important ;
}

.field-action-clear-field {
  background: url(../img/clear-field.png) no-repeat 50% 50% !important ;
}

/* menù tendina vocabolari */
.vocab-menu-entry {
    height: 13px;
    background-repeat: no-repeat;
    padding-left: 1.5em;
}
.vocab-menu-entry-proposed {
    background-image: url(../img/term_status.gif);
    background-position: 0px -16px;
}

.vocab-menu-entry-rejected {
    background-image: url(../img/term_status.gif);
    background-position: 0px -48px;
}

.vocab-menu-entry-deprecated {
    background-image: url(../img/term_status.gif);
    background-position: 0px -32px;
}
/* */

.x-btn-disabled .field-action-clear-field {
  background: url(../img/clear-field-grey.png) no-repeat 50% 50% !important ;
}

.validation-report .field {
  font-family: monospace;
  font-weight: bold;
}

.validation-report .value {
  font-style: italic;
  margin: 5px 0 5px 3em;
}

.resource {
  font-size: 13px;
}

.resource a.image:hover {
    background-color: transparent;
}

.resource a.link {
    float: left;
    clear: left;
}

.resource a.image {
    float: left;
}

.resource a.link em {
  font-style: italic;
}

/* lightbox */
#lightbox a:hover {
    background: transparent;
}

/*groups*/
.groups-grid strong {
    font-weight: bold;
    color: #534C53;
    margin-top: 3px;
}

.groups-container div {
    padding-bottom: 6px;
}

/*thesaurus*/
.thes-info {
    font-size: 1em;
    margin-bottom: 10px;
}

.users-grid em {
  font-style: italic;
}

.user-enabled {
  background: url(../img/user.gif) no-repeat 0px 0px !important;
  width: 20px !important;
  height: 20px;
}

.user-disabled {
  background: url(../img/user.gif) no-repeat 0px -20px !important;
  width: 20px !important;
  height: 20px;
}

.btn-user-enabled {
  background: url(../img/user.gif) no-repeat 0px 0px !important;
}

/*validation report*/
.validation-report .field {
    font-weight:bold;
    color: #534C53
}


/*gestione vocabolari*/
#vocab-schema-choice {
    margin-bottom: 10px;
    margin-top: 10px;
}

.vocab-choice label {
    margin-bottom: 5px;
    margin-right: 5px;
    display:block;
    font-size: 0.8em;
    font-weight: bold;
    width: 120px;
    text-align:right;
}

#vocab-schema-choice label {
    margin-bottom: 5px;
    display:block;
}
.vocab-schema {
    padding-top: 20px;
}
.vocab {
    clear:both;
    margin-top: 15px;
    padding-top: 10px;
}

.terms-grid a:hover {
    cursor: pointer;
}

.vocab-schema label, .vocab-schema .x-form-field-wrap, .vocab label, .vocab .x-form-field-wrap {
    float: left;
}

#dialog-new-term div label {
  width: 120px;
  font-weight: bold;
  text-align: right;
  margin-right: 5px;
  display:block;
  float:left;
}

#dialog-new-term .dialog-body div {
  margin-top: 15px;
}

#dialog-new-term hr {
  border: 1px solid #ccc;
}

#dialog-fix-term div label {
    width: 120px;
    font-weight: bold;
    text-align: right;
    margin-right: 5px;
    display:block;
    float:left;
}

#dialog-fix-term .dialog-body div {
    margin-top: 15px;
}



#vocabs-main {
    margin-left: 10px;
}


/*deprecazione*/

#dialog-deprecate-term-header, #dialog-deprecate-radio, #dialog-deprecate-to-new-radio, #dialog-deprecate-to-existent-radio {
    font-size: 12px;
}

#dialog-deprecate-term input {
    margin-bottom: 6px;
}

#dialog-deprecate-term label {
    vertical-align: top;
}

#dialog-deprecate-to-new div{
    margin-top: 5px;
}

#dialog-deprecate-to-existent-search {
    /*margin-top: 10px;*/
    margin-bottom: 5px;
}

#dialog-deprecate-to-existent-search .x-btn-wrap, #dialog-deprecate-to-existent-search input{
    float: left;
    margin-right: 5px;
}

#dialog-deprecate-to-existent-grid {
    clear:both;
}

#dialog-deprecate-footer div, #dialog-deprecate-footer label{
    float: left;
}

/*institutes*/
#institute  h2.institute-par {
    margin-top: 15px;
    margin-left: 20px;
    line-height: 2em;
    width: 41em;
    border-bottom: 1px solid #ccc;
}

#institute-additional {
    margin-top: 25px;
}

#institute-additional h2.local-admin-par {
    margin-left: 20px;
    width: 41em;
    line-height: 2em;
    border-bottom: 1px solid #ccc;
}

/*opac*/

#opac-results table  {
    font-size: 75%;
    margin-bottom: 20px;
}

#opac-results table tr {
    padding: 3px 0px 3px 0px;
}

#opac-results table th  {
    width: 140px;
    font-weight: bold;
    text-align: right;
    padding-right: 10px;
}

/* toolbar scheda catalografica */
.panel-toolbar .icon-save-card {
    background: url(../img/toolbar.gif) no-repeat 0px 0px !important;
}

.panel-toolbar .icon-submit-card {
    background: url(../img/consegna-card.gif) no-repeat center left !important;
}

.panel-toolbar .icon-erase-card {
    background: url(../img/toolbar.gif) no-repeat 0px -22px !important;
}

.panel-toolbar .icon-modify-card {
    background: url(../img/edit.gif) no-repeat center left !important;
}

#card-toolbar .icon-new-card {
    background: url(../img/icon_new_card.gif) no-repeat center left;
}

.search-btn {
    background: url(../img/search.gif) no-repeat center left !important;
}

.dialog-deprecate-term-header strong {
  font-weight: bold;
}

.dialog-deprecate-term-footer {
  /*
   * per il momento questa funzionalità non è supportata
   */
  display: none;
}

.term-actions {
  height: 20px;
}

.term-actions a {
  margin-right: 5px;
}

.term {
    padding-left: 18px;
    display:inline;
    width: 18px;
    height: 18px;
}

.term-approved {
    background: url(../img/term_status.gif) no-repeat 0 0;
}

.term-proposed {
    background: url(../img/term_status.gif) no-repeat 0 -16px;
}

.term-deprecated {
    background: url(../img/term_status.gif) no-repeat 0 -32px;
}

.term-rejected {
    background: url(../img/term_status.gif) no-repeat 0 -48px;
}

.term-approved-usefor {
    background: url(../img/term_status.gif) no-repeat 0 -64px;
}

.term-proposed-usefor {
    background: url(../img/term_status.gif) no-repeat 0 -80px;
}

.term .cards-count {
  margin-left: 5px;
  font-style: italic;
  font-size: 80%;
}

.action-term-info {
  font-style: italic;
  text-decoration: underline;
}

/* toolbar gestione vocabolario */
.panel-toolbar .vocab-new-term {
    background: url(../img/toolbar.gif) no-repeat 0px -156px !important;
}
.panel-toolbar .vocab-apply-changes {
    background: url(../img/toolbar.gif) no-repeat 0px -200px !important;
}
.panel-toolbar .vocab-clear-changes {
    background: url(../img/toolbar.gif) no-repeat 0px -244px !important;
}
.panel-toolbar .vocab-remove-change {
    background: url(../img/toolbar.gif) no-repeat 0px -222px !important;
}
.panel-toolbar .vocab-open {
    background: url(../img/toolbar.gif) no-repeat 0px -178px !important;
}
.panel-toolbar .vocab-close {
    background: url(../img/toolbar.gif) no-repeat 0px -266px !important;
}

/* profile toolbar*/
.profile-menu-button .x-btn-text {
  background: url(../img/toolbar.gif) no-repeat 0px -292px !important;
}

.icon-retrieve-card {
  background: url(../img/toolbar.gif) no-repeat 0px -318px !important;
}

.icon-approve-card {
  background: url(../img/toolbar.gif) no-repeat 0px -343px !important;
}

.icon-refuse-card {
  background: url(../img/toolbar.gif) no-repeat 0px -368px !important;
}

.icon-correct-card {
  background: url(../img/toolbar.gif) no-repeat 0px -396px !important;
}

.icon-withdraw-card {
    background: url(../img/toolbar.gif) no-repeat 0px -422px !important;
}

/* profiles summary toolbar */
.profiles-summary-menu-btn button {
    background: url(../img/profiles-summary-button.gif);

}

/*institutes toolbar*/
.create-institute-button-bg {
    background: url(../img/toolbar.gif) no-repeat 0px -477px !important;
}

span.required {
    padding: 0 !important;
    margin: 0 3px !important;
    display: none;
    color: #c00;
}


/*gestione istituti*/
#institute {
    margin-top: 20px;
}

#institute .file-input-fields {
    margin-left: 0px;
}

#institute-additional {
    padding-bottom: 20px;
}

.img-placeholder {
    margin-top: 20px;
    float: left;
    width: 300px;
    margin-bottom: 15px;
}

#institute-logo .img-placeholder {
    margin-left: 13em;
    }

.img-placeholder .image img {
    border: 1px solid #cccccc;
    margin-bottom: 10px;
}

.flag-incertezza {
    float: left;
    margin: 0 10px 0 0;
    width: 20px;
    height: 20px;
    background: url(../img/fuzzy_flag.png) no-repeat 0px 0px !important;
    cursor: pointer;
}

.flag-incertezza.flag-incertezza-incerto {
    background: url(../img/fuzzy_flag.png) no-repeat 0px -20px !important;
}

/* visualizzazione immagine in griglia */
.grid-card-image:hover {
    background-color: transparent;
}

.grid-card-image img {
    height: 24px;
}

.x-grid-col-image > div.x-grid-cell-text {
    text-align: center;
    padding: 3px 5px 0px 5px;
}
/* */


/* menu download */
.download-menu-button .x-btn-text {
    background: url(../img/download-button.gif) no-repeat center left;
    margin-left: 0.7em;
}
.download-button-pdf {
    background: url(../img/pdf.gif) no-repeat center left;
}

.download-button-csv {
    background: url(../img/csv.png) no-repeat -5% 50%;
}
/* */