body {
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", "Liberation Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  color: #212529;
  padding-top: 25px;
  padding-bottom: 40px;
}

input, button, select, textarea {
  font-family: inherit;
}

code, pre {
  font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
}

ul {
  list-style-type: circle;
}

.navbar-search .search-query {
  font-family: inherit;
}

/* scrollbars */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

* {
  scrollbar-width: thin;
  scrollbar-color: #efefef #bbb;
}

*::-webkit-scrollbar-thumb {
  background-color: #f8f8f8;
  border-radius: 2px;
  border: 1px solid #bbb;
}

.modal-body {
  overflow-y: visible !important; /* Visualizza la modale in modo tale da permettere al contenuto di uscire dal
                                    corpo del div; diversamente vengono tagliati anche i popup degli editor
                                    inline, anche se l'overflow si verifica su x */
}

.modal-error {
  z-index: 99999 !important;
}

.modal-error .modal-body {
  overflow-y: auto !important; /* In questo caso voglio che il contenuto sia sempre all'interno del div e che
                                  venga visualizzata la scrollbar se necessario */
}

.modal-fullscreen-overlay {
  width: auto !important;
  height: auto !important;
  top: 10px !important;
  bottom: 10px !important;
  left: 10px !important;
  right: 10px !important;
  overflow: auto !important;
  margin: 5px !important;
}

/* blocco l'header della modale in modo sia sempre visibile */
.modal-fullscreen-overlay .modal-header {
  position: sticky;
  top: 0;
  z-index: 100;
}

.modal-fullscreen-overlay .modal-body {
  max-height: none;
}

/* blocco il footer della modale in modo sia sempre visibile */
.modal-fullscreen-overlay .modal-footer {
  position: sticky;
  bottom: 0;
  z-index: 100;
}

#home_floating_left {
  position: fixed;
  left: 0;
  top: 40%;
  display: block;
  width: 60px;
  height: 130px;
  background-image: url(../img/home_floating_left.gif);
  overflow: hidden;
  cursor: pointer;
  z-index: 100000;
}

.dom-button.btn.disabled, .dom-button.btn[disabled] {
  background-color:  #999999;
    color: beige;
}

.left {
  text-align: left;
}

.center {
  text-align: center;
}

.alignRight {
  text-align: right;
}

.nowrap {
  white-space: nowrap;
}

.noMarginLeft {
  margin-left: 0;
}

.fieldMarginLeft {
  margin-left: 30px;
}

.fieldMarginTop {
  display: block;
  margin-top: 10px;
}

.section {
  position: relative;
  margin-bottom: 10px;
}

.section > div:first-child {
  border-left: 8px solid #5bb75b;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  /* equivalente a #5bb75b33, ma senza trasparenza, non supportata da IE con questa sintassi */
  background-color: #def1de;
  padding: 7px;
}

.section-edit > div:first-child {
  border-left-color: #ffb900;
  /* equivalente a #ffb90033, senza trasparenza */
  background-color: #fff1cc;
}

.section-close > div:first-child {
  border-left-color: #ddd;
  /* equivalente a #ddd33, senza trasparenza */
  background-color: #f8f8f8;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.section > div:nth-child(2) {
  padding: 15px;
  border: 1px solid #eee;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.section .sectionTitle {
  font-size: larger;
  text-align: left;
  border: none;
  color: #444;
  padding: 0;
  margin: 0;
}

.section .edit {
  position: absolute;
  top: 7px;
  right: 7px;
}

.sectionTitle {
  margin-top: 0;
  text-align: right;
  color: #444;
  padding-right: 7px;
  border-right: 6px solid #5bb75b;
}

.section .sectionTitle > i {
  margin-top: 1px;
  font-size: large;
  float: right;
}

.section-hide-name > div:nth-child(2) {
  margin-bottom: 20px;
  padding: 0;
  border: none;
}

.section-hide-name .edit {
  top: -15px;
  right: 5px;
}

.sectionTitleLeft {
  margin-top: 0;
  text-align: left;
  color: #444;
}

.sub-section {
  margin-bottom: 10px;
}

.sub-section h5 {
  margin: 0;
  border-bottom: 1px solid #ddd;
  text-align: left;
}

.sub-section-no-border h5 {
  border-bottom: none !important;
}

.sub-section-content > div,
.sub-section-content > dl {
  margin: 0;
  /* questo sarebbe più indicato, se funzionasse con IE... */
  /* display: grid;
  grid-template-columns: 30% 70%; */
  display: flex;
  flex-wrap: wrap;
}

.sub-section-50 .sub-section-content > div,
.sub-section-50 .sub-section-content dt,
.sub-section-50 .sub-section-content dd {
  flex-basis: calc(50% - 8px) !important;
}

.sub-section-40 .sub-section-content > div:nth-child(odd),
.sub-section-40 .sub-section-content dt {
  flex-basis: calc(40% - 8px) !important;
}

.sub-section-40 .sub-section-content > div:nth-child(even),
.sub-section-40 .sub-section-content dd {
  flex-basis: calc(60% - 8px) !important;
}

.sub-section-25 .sub-section-content > div:nth-child(odd),
.sub-section-25 .sub-section-content dt {
  flex-basis: calc(25% - 8px) !important;
}

.sub-section-25 .sub-section-content > div:nth-child(even),
.sub-section-25 .sub-section-content dd {
  flex-basis: calc(75% - 8px) !important;
}

.sub-section-10 .sub-section-content > div:nth-child(odd),
.sub-section-10 .sub-section-content dt {
  flex-basis: calc(10% - 8px) !important;
}

.sub-section-10 .sub-section-content > div:nth-child(even),
.sub-section-10 .sub-section-content dd {
  flex-basis: calc(90% - 8px) !important;
}

.sub-section-content > div > div:nth-child(odd) {
  padding: 1px 0;
  padding-right: 7px;
  border-right: 1px solid #ddd;
  text-align: right;
  color: #999;
  flex-basis: calc(30% - 8px);
}

.sub-section-content > div > div:nth-child(even) {
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: calc(70% - 8px);
}

.sub-section-content dl dt {
  margin: 0;
  padding: 1px 0;
  padding-right: 7px;
  border-right: 1px solid #ddd;
  font-weight: normal;
  text-align: right;
  color: #999;
  flex-basis: calc(30% - 8px);
}

.sub-section-content dl dd {
  margin: 0;
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: calc(70% - 8px);
}

dl.vertical {
  margin: 0;
  /* questo sarebbe più indicato, se funzionasse con IE... */
  /* display: grid;
  grid-template-columns: 30% 70%; */
  display: flex;
  flex-wrap: wrap;
}

dl.vertical-50 dt {
  flex-basis: calc(50% - 8px) !important;
}

dl.vertical-50 dd {
  flex-basis: calc(50% - 8px) !important;
}

dl.vertical-40 dt {
  flex-basis: calc(40% - 8px) !important;
}

dl.vertical-40 dd {
  flex-basis: calc(60% - 8px) !important;
}

dl.vertical-25 dt {
  flex-basis: calc(25% - 8px) !important;
}

dl.vertical-25 dd {
  flex-basis: calc(75% - 8px) !important;
}

dl.vertical-10 dt {
  flex-basis: calc(10% - 8px) !important;
}

dl.vertical-10 dd {
  flex-basis: calc(90% - 8px) !important;
}

dl.vertical dt {
  margin: 0;
  padding: 1px 0;
  padding-right: 7px;
  border-right: 1px solid #ddd;
  font-weight: normal;
  text-align: right;
  color: #999;
  flex-basis: calc(30% - 8px);
}

dl.vertical dd {
  margin: 0;
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: calc(70% - 8px);
}

.ajax-loader {
    position: absolute;
    left: 50%;
    top: 50%;
    margin-left: -32px; /* -1 * image width / 2 */
    margin-top: -32px;  /* -1 * image height / 2 */
    display: block;
}

.ajaxBox {
  background: url("../img/ajax-loader.gif") no-repeat center center;
  height: 100px;
  /*
    width:200px;
  */
  border: 1px solid #eeeeee;
  padding-bottom: 20px;

}

.peg-navbar-fixed-top {
  top: 0;
}

.navbar-inverse .brand {
  color: #BEBEBE;
}

.navbar-inverse .brand, .navbar-inverse .nav>li>a {
  color: #BEBEBE;
}

.navbar-inverse .navbar-text {
  color: #BEBEBE;
}

p.navbar-text a {
  color: #BEBEBE;
}

p.navbar-text a:hover {
  color: #ffffff;
  text-decoration: none;
}

.navbar-inverse .nav li.dropdown.open>.dropdown-toggle, .navbar-inverse .nav li.dropdown.active>.dropdown-toggle, .navbar-inverse .nav li.dropdown.open.active>.dropdown-toggle {
  background: none;
  color: #ffffff;
}

.menuItemHome {
  font-size: 31.5px;
}

.ui-match {
  font-weight: bold;
  background: white;
}

.pageTitle {
  display: inline-block;
  color: #265973;
  margin: 0;
}

.labelField {
  color: #999999;
}

.alert-info-mod {
  background-color: rgb(242, 251, 255);
  border-color: rgb(133, 126, 126);
  margin-bottom: 0px;
}

.well-mod {
  background-color: transparent;
  border: none;
  border-left: 8px solid #3a87ad;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  padding-right: 0;
  border-radius: 0;
  box-shadow: none;
}

.hr-mod {
  border-top-width: 1px;
  border-top-style: dotted;
  border-top-color: rgb(65, 47, 47);
  margin: 15px 0;
}

.icon-mod {
  color: rgb(133, 126, 126);
  min-width: 13px;
}

.icon-bright
 {
  color: rgb(19, 133, 3);
}

.icon-glow
 {
  color: rgb(221, 120, 10);
}

.icon-pointer,
.pointer {
  cursor: pointer;
}

.icon-14x{
  font-size: 1.4em;
}

.modal {
  width: 920px;
  margin-left: -460px;
}

.modal-body {
  max-height: 500px;
}

.modal.fade.in {
  top: 1%;
}

.paragraph-title {
  color: rgb(65, 47, 47);
  border-bottom-width: 1px;
  border-bottom-style: dotted;
  border-bottom-color: rgb(65, 47, 47);
  margin-top: 20px;
  margin-bottom: 5px; /*valore iniziale 15px*/
 /*  padding-bottom: 5px; ---> commentato da me CLAUDIO per fare delle prove */
}

a {
  cursor: pointer;
}

.regione {
  cursor: pointer;
}

.box {
  background-color: #fcfcfe;
  border-radius: 5px;
  margin-bottom: 15px;
}

.box > div {
  padding: 10px;
}

.box-compact > div {
  padding: 5px 10px !important;
}

.box > div:first-child {
  color: #444;
  background-color: #f3f3f9;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-left-color: #ddddee;
  padding: 5px 10px;
}

.box ul {
  list-style: none;
  margin: 0;
}

.box .tabbable ul {
  margin: revert;
}

.box-white {
  background-color: transparent;
}

.box-white > div:nth-child(2) {
  border: 1px solid #eee;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.box-border-left > div:first-child {
  border-left-style: solid;
  border-left-width: 5px;
}

.box-error > div:first-child {
  border-left-color: #9c0d38;
  background-color: #9c0d3833;
}

.box-success > div:first-child {
  border-left-color: #5bb75b;
  background-color: #5bb75b33;
}

.box-warning > div:first-child {
  border-left-color: #ffb900;
  background-color: #ffb90033;
}

.box-info > div:first-child {
  border-left-color: #00a4ef;
  background-color: #00a4ef33;
}

.box-primary > div:first-child {
  border-left-color: #002ca3;
  background-color: #002ca333;
}

/* Home - css comune */
.sezione-home {
  margin-bottom: 20px;
}

.sezione-home > div:first-child {
  padding: 10px 15px;
}

.sezione-home .media-body {
  text-align: right;
}

.sezione-home ul {
  list-style: none;
  margin: 0;
}

/* Home - Tema 1 (default) */
.home1 .sezione-home .media {
  border-left-style: solid;
  border-left-width: 7px;
}

.home1 .sezione-home .header1 {
  border-left-color: #00a4ef;
  background-color: #00a4ef33;
}

.home1 .sezione-home .header2 {
  border-left-color: #ffb900;
  background-color: #ffb90033;
}

.home1 .sezione-home .header3 {
  border-left-color: #7fba00;
  background-color: #7fba0033;
}

.home1 .sezione-home .header4 {
  border-left-color: #9c0d38;
  background-color: #9c0d3833;
}

.home1 .sezione-home .header5 {
  border-left-color: #843fde;
  background-color: #843fde33;
}

.home1 .sezione-home .header6 {
  border-left-color: #002ca3;
  background-color: #002ca333;
}

.home1 .sezione-home .header7 {
  border-left-color: #109648;
  background-color: #10964833;
}

.home1 .sezione-home .header8 {
  border-left-color: #684551;
  background-color: #68455133;
}

.home1 .sezione-home .header9 {
  border-left-color: #ec4e20;
  background-color: #ec4e2033;
}

.home1 .sezione-home .muted {
  color: #666;
}

/* Home - Tema 2 (colori pieni) */
.home2 .sezione-home .media {
  color: white;
}

.home2 .sezione-home .header1 {
  background-color: #00a4ef;
}

.home2 .sezione-home .header2 {
  background-color: #ffb900;
}

.home2 .sezione-home .header3 {
  background-color: #7fba00;
}

.home2 .sezione-home .header4 {
  background-color: #9c0d38;
}

.home2 .sezione-home .header5 {
  background-color: #843fde;
}

.home2 .sezione-home .header6 {
  background-color: #27187e;
}

.home2 .sezione-home .header7 {
  background-color: #109648;
}

.home2 .sezione-home .header8 {
  background-color: #684551;
}

.home2 .sezione-home .header9 {
  background-color: #ec4e20;
}

.home2 .sezione-home .muted {
  color: #eee;
}

/*
<!--
<div class="gsfn-widget-tab gsfn-left" style="background-color: rgb(100, 29, 99); color: rgb(255, 255, 255); border-color: rgb(255, 255, 255); font-family: Arial, Helvetica, sans-serif; top: 357px; ">Home</div>
-->

.gsfn-left {
  border-top: none;
  left: 0px;
  top: 33%;
  -webkit-transform-origin: 0 0;
  -moz-transform-origin: 0 0;
  -o-transform-origin: 0 0;
  -ms-transform-origin: 0 0;
}

.gsfn-right, .gsfn-left {
  -webkit-transform: rotate(270deg);
  -moz-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  -o-transform: rotate(270deg);
  transform: rotate(270deg);
}

.gsfn-widget-tab {
  position: fixed;
  margin: 0;
  padding: 6px 10px;
  text-decoration: none;
  text-align: center;
  cursor: pointer;
  font-size: 14px;
  font-weight: bold;
  border-width: 2px;
  border-style: solid;
  display: block;
  z-index: 100000;
}
*/

table.center {
    margin-left:auto;
    margin-right:auto;
  }

.table thead th {
  text-align: center;
  vertical-align: middle;
}

.table tbody td {
  vertical-align: middle;
}

td.currency {
  text-align: right;
}

td.datetime {
  text-align: right;
}

td.boolean {
  text-align: left;
}

td.icon {
  text-align: center;
}

td.rate {
  text-align: center;
}

td.integer {
  text-align: right;
}

/*
--------------------------------------------------
*/

button.btn-mini-exclude.active{
  color:#b94a48;
}

svg .nodeInRect {
  fill: white;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInRectEven {
  fill: #F2F2F2; /* #F9F9F9 */
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInRectOdd {
  fill: white;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInRect {
  fill: white;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: end;
  fill: #08c;
  cursor: pointer;
}

svg .nodeInText:hover {
  text-decoration: underline;
  fill: #005580;
}

svg .focusedNodeRect {
  fill: yellow;
  stroke: black;
  stroke-width: 3;
}

svg .focusedNodeText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: middle;
}

svg .nodeOutRect {
  fill: none;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeOutText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: start;
  fill: #08c;
  cursor: pointer;
}

svg .nodeOutText:hover {
  text-decoration: underline;
  fill: #005580;
}

svg .link1 {
  fill: green;
  stroke: black;
  stroke-width: 0.5;
  cursor: pointer;
}

svg .link2 {
  fill: rgb(58, 135, 173);
  stroke: black;
  stroke-width: 0.5;
  cursor: pointer;
}

svg .searchRect {
  fill: rgb(230, 230, 230);
  stroke: black;
  stroke-width: 0.3;
}

svg .searchText {
  font-size: 12px;
  text-anchor: middle;
  fill: #08c;
  font-weight: bold;
  cursor: pointer;
}

svg .searchText:hover {
  text-decoration: underline;
  fill: #005580;
}

.middle-background-line {
  background: url("images/dot.jpg") repeat-x scroll 0 10px transparent;
}

/* Calendario */

.fc-header-title h2 {
  font-size: 25px;
}

/*
--------------------------------------------------
svg .nodeInRect {
  fill: none;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: end;
}

svg .nodeInLinkOrigine {
  fill: green;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeInLinkDestinazione {
  fill: rgb(58, 135, 173);
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeOutRect {
  fill: none;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeOutText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: start;
}

svg .nodeOutLinkOrigine {
  fill: green;
  stroke: black;
  stroke-width: 0.5;
}

svg .nodeOutLinkDestinazione {
  fill: rgb(58, 135, 173);
  stroke: black;
  stroke-width: 0.5;
}

svg .focusedNodeRect {
  fill: yellow;
  stroke: black;
  stroke-width: 2;
}

svg .focusedNodeText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: middle;
}
svg .focusedNodeLinkOrigine {
  fill: green;
  stroke: black;
  stroke-width: 0.5;
}

svg .focusedNodeLinkDestinazione {
  fill: rgb(58, 135, 173);
  stroke: black;
  stroke-width: 0.5;
}

svg .focusedNodeSearchRect {
  fill: rgb(230, 230, 230);
  stroke: black;
  stroke-width: 0.3;
}
svg .focusedNodeSearchText {
  font-size: 12px;
  font-weight: bold;
  text-anchor: middle;
}
*/

.span05 {
  width: 15px;
}

div .widget {
  position:absolute;
  border: 1px solid #DDDDDD;
  border-radius: 5px;
  font-size: 11px;
}

div .widget.even {
  background-color: #F2F2F2;
}

div .widget.odd {
  background-color: white;
}

div .widget > div {
  padding: 2px 2px 2px 2px;
  overflow: auto;
}

.cytoscape {
  height: 100%;
  width: 100%;
}

accordion#comunicazioniDetail .accordion-heading {
  background-color: #f9f9f9
}

accordion#comunicazioniDetail .accordion-heading a {
  color: black;
}

accordion#comunicazioniDetail .accordion-inner {
  padding-top: 20px;
  padding-bottom: 20px;
}

.smart-table-header-cell {
  text-align: center;
}

.cruscotto {
  /* border: 1px solid #ddd; */
}

.cruscotto tr.hoverHighlight:hover {
  background-color: #dff3fa;
}

.cruscotto tr.hoverHighlight:hover td {
  background-color: transparent;
}

.cruscotto tr.selected td,
.cruscotto td.selected {
  background-color: #ffcc00 !important;
}

.cruscotto .divider {
  border-left: 1px solid #b3b3b3 !important;
}

.cruscotto thead th:nth-child(1n+2) {
  border-left: 1px solid #ddd;
}

.cruscotto thead th {
  font-size: 75%;
  border-top: none !important;
  border-bottom: none !important;
  padding-top: 0;
  padding-bottom: 0;
}

.cruscotto thead tr:last-child th {
  border-bottom: 1px solid #b3b3b3 !important;
}

.cruscotto thead th.border-bottom {
  border-bottom: 1px solid #ddd !important;
}

.cruscotto td {
  padding: 2px 5px;
  border-left: 1px solid #ddd;
}

.cruscotto tbody tr td:first-child {
  border-left: none;
}

.cruscotto td:nth-child(1n+2) {
  text-align: center;
  padding-left: 1px;
  padding-right: 1px;
}

.cruscottoL0 {

}

.cruscottoL0 td {
  background-color: #fff !important;
  border-top: 2px solid #666;
  font-weight: bold;
}

.cruscottoL1 td {
  background-color: #fff !important;
}

.cruscottoL1 td:first-child {
  padding-left: 23px !important;
}

.cruscottoL2 td {
  /* border-top: none; */
}

.cruscottoL2 td:first-child {
  padding-left: 38px !important;
}

.solraccordion .accordion-heading {
  background-color: #f5f5f5;
}

.solrcircle {
  color: green;
}

.workflowHeader table {
  margin-bottom: 0 !important;
}

.workflowHeader table th {
  border-top: none !important;
  border-bottom: 1px solid #ddd;
  font-weight: normal;
  text-align: center;
}

.workflowHeader table td {
  text-align: center;
}

.workflowHeader table th:first-child {
  text-align: left;
}

.workflowHeader table td:first-child {
  text-align: left;
}

.workflowHistory .task {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  border: 1px solid #ddd;
  /* border-right: 4px solid transparent; */
}

.workflowHistory .selected {
  border: 2px solid #444 !important;
  background-color: transparent;
}

.workflowHistory .icon {
  display: inline-block;
  min-width: 12px;
}

.ngCellText {
    display:table-cell;
    vertical-align:middle;
    white-space:normal;
}

.vis-timeline.rootpanel {
  border: none;
  border-top: 1px solid #bfbfbf
}

.vis-timeline .labelset {
  text-align: right
}

.vis-timeline .vis-item.activeTask {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}

.vis-timeline .vis-item.completedTask {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}

.vis-timeline .vis-item.cancelledTask {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}

.workflowRecapiti {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  border: 2px solid #666;
  padding: 10px;
}

.workflowRecapiti td {
  text-align: left !important;
  vertical-align: top !important;
}

.workflowRecapiti ul {
  margin-bottom: 0 !important;
}

.roundedBox {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  border: 1px solid #ddd;
  padding: 10px;
}

/* facets */
.facets input {
  margin: 0;
}

.facet-container {
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  border: 1px solid #ddd;
}

.facet-container>div:first-child {
  padding: 7px;
}

.facet-container .title {
  color: #3a87ad;
}

.facet-container .facet-content>div {
  border-top: 1px solid #ddd;
  padding: 7px;
}

/* facets-horizontal layout */
.facets-horizontal .facet-visible {
  padding-left: 2px;
  padding-right: 2px
}

.facets-horizontal .facet-visible:first-child {
  padding-left: 0;
}

.facets-horizontal .facet-visible:last-child {
  padding-right: 0;
}

/* facets-accordion layout */
.facets-accordion .facet>* {
  margin-bottom: 2px;
}

.facets-accordion .facet-header {
  cursor: pointer;
}

/* facets-list */
.facet-list .last-selected {
  /* border-bottom: 1px solid #ddd;  */
  margin-bottom: 3px;
}

.facet-list .empty {
  color: #ccc;
}

.sdm-hidden-checkbox {
  opacity: 0;
}

.sdm-checkbox-large {
  -ms-transform: scale(1.33); /* IE */
  -moz-transform: scale(1.33); /* FF */
  -webkit-transform: scale(1.33); /* Safari and Chrome */
  -o-transform: scale(1.33); /* Opera */
}

.search .sdm-table td {
  text-align: center !important;
}

.sdm-table,
.sdm-table-vertical {
  margin-bottom: 5px;
  border-collapse: separate;
}

.sdm-table > tr > th,
.sdm-table > thead > tr > th,
.sdm-table .header {
  font-weight: normal;
  color: #999;
  text-align: center;
  padding: 0 5px;
}

.sdm-table > tr > td,
.sdm-table > tbody > tr > td {
  padding: 2px 5px;
}

.sdm-table > tr > td:first-child,
.sdm-table > tbody > tr > td:first-child {
  text-align: left;
}

tr.hoverHighlight:hover {
  background-color: #dff3fa;
}

tr.hoverHighlight:hover td {
  background-color: #dff3fa !important;
}

tr.hoverHighlightAlt:hover {
  background-color: #f9f9f9;
}

tr.hoverHighlightAlt:hover td {
  background-color: #f9f9f9 !important;
}

tr.hoverHighlightLine {
  border-bottom: 1px solid transparent;
}

tr.hoverHighlightLine:hover {
  border-bottom: 1px solid #aaa;
}

.hoverHighlight:hover {
  background-color: #dff3fa !important;
}

.selected {
  background-color: #ffcc00;
}

.sdm-table tr.selected td,
.sdm-table-vertical tr.selected td {
  background-color: #ffcc00 !important;
}

.sdm-table tbody+tbody {
  border-top: none !important;
}

.sdm-table.sdm-table-divide-tbody tbody+tbody {
  border-top: 2px solid #666 !important;
}

.sdm-table-centered td {
  text-align: center !important;
}

.sdm-table-v-align-top > tbody > tr > td {
  vertical-align: top;
  text-align: left !important;
  padding: 10px 5px;
}

.sdm-table-vertical > tr > th,
.sdm-table-vertical > tr > td,
.sdm-table-vertical > thead > tr > th,
.sdm-table-vertical > tbody > tr > td {
  font-weight: normal;
  border: none;
  vertical-align: top;
  text-align: left !important;
  padding: 2px 7px;
}

.sdm-table-vertical > tr > th:nth-child(odd),
.sdm-table-vertical > thead > tr > th:first-child {
  text-align: right !important;
}

.sdm-table-vertical > tr > td:nth-child(odd),
.sdm-table-vertical > tbody > tr > td:first-child {
  text-align: right !important;
  border-right: 1px solid #ddd;
}

.sdm-table-vertical.sdm-table-vertical-muted > tr > td:nth-child(odd),
.sdm-table-vertical.sdm-table-vertical-muted > tbody > tr > td:first-child {
  color: #999;
}

.sdm-table-sticky-header-container,
.sdm-table-sticky-header-container-bordered {
   overflow: auto;
   max-height: 407px;
}

/* da usare insieme a table-bordered per sistemare il problema del
   bordo superiore che sparisce allo scroll se legato alla tabella */
.sdm-table-sticky-header-container-bordered {
   border-top: 1px solid #ddd;
   border-bottom: 1px solid #ddd;
   border-radius: 4px;
}

.sdm-table-sticky-header.table-bordered {
  margin-bottom: 0;
  border-top: none;
  border-bottom: none;
  border-radius: 0;
}

.sdm-table-sticky-header {
  border-collapse: separate;
}

.sdm-table-sticky-header > thead > tr > th {
  position: sticky !important;
  top: 0;
  background-color: #fff;
  padding: 5px;
  border-bottom: 1px solid #ddd;
  z-index: 1;
}

.sdm-table-sticky-header > tbody > tr:first-child > td {
  border-top: none;
}

.sdm-table-sticky-column {
  position: sticky;
  background-color: #fff;
  left: 0;
  /* con z-index non impostato gli elementi con "position: relative"
     scorrono sovrapponendosi alla colonna */
  z-index: 1;
}

/* in caso table-striped fosse ereditato da tabelle esterne */
.sdm-table-no-striped {
  background-color: transparent !important;
}

.sdm-table-no-striped td {
  background-color: transparent !important;
}

.table-no-bordered td,
.table-no-bordered th {
  border: none !important;
}

.search-collapsibles .sdm-table td {
  font-weight: normal !important;
}

/* smart table (new version) */
.st-selected td{
  background-color: #ffcc00 !important;
}

.nav > p > a:hover,
.nav > p > a:focus {
  text-decoration: none;
  color: #eeeeee;
}

/* Inizio gestione immagini */
.imgarrow {
    cursor: pointer;
    display: block;
    margin-top: -35px;
    outline: medium none;
    position: absolute;
    top: 50%;
    z-index: 5;
}
.imgarrow.prev {
    left: 20px;
    opacity: 0.2;
    transition: all 0.2s linear 0s;
}
.imgarrow.next {
    opacity: 0.2;
    right: 20px;
    transition: all 0.2s linear 0s;
}
.imgarrow.prev:hover{
    opacity:1;
}
.imgarrow.next:hover{
    opacity:1;
}

.imgnav {
    text-align: left;
}
.imgnav li {
    border: 5px solid #AAAAAA;
    border-radius: 5px;
    cursor: pointer;
    display: inline-block;
    margin: 0 4px;
    position: relative;
}
.imgnav li.active {
    border: 5px solid #000000;
}
.imgnav li img {
    width: 100%;
}

.imgslider {
    height: 500px;
    position: relative;
    width: 100%;
    margin-top: 5px;
    margin-bottom: 5px;

    -webkit-perspective: 1000px;
    -moz-perspective: 1000px;
    -ms-perspective: 1000px;
    -o-perspective: 1000px;
    perspective: 1000px;

    -webkit-transform-style: preserve-3d;
    -moz-transform-style: preserve-3d;
    -ms-transform-style: preserve-3d;
    -o-transform-style: preserve-3d;
    transform-style: preserve-3d;
}
.imgslide {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
}

.imgslide.ng-hide-add {
    opacity:1;
}
.imgslide.ng-hide-add.ng-hide-add-active {
    opacity:0;

    -webkit-transition:1s linear all;
    -moz-transition:1s linear all;
    -o-transition:1s linear all;
    transition:1s linear all;

    -webkit-transform: rotateX(50deg) rotateY(30deg);
    -moz-transform: rotateX(50deg) rotateY(30deg);
    -ms-transform: rotateX(50deg) rotateY(30deg);
    -o-transform: rotateX(50deg) rotateY(30deg);
    transform: rotateX(50deg) rotateY(30deg);

    -webkit-transform-origin: right top 0;
    -moz-transform-origin: right top 0;
    -ms-transform-origin: right top 0;
    -o-transform-origin: right top 0;
    transform-origin: right top 0;
}
.imgslide.ng-hide-remove {
    -webkit-transition:1s linear all;
    -moz-transition:1s linear all;
    -o-transition:1s linear all;
    transition:1s linear all;

    display:block!important;
    opacity:0;
}
.imgslide, .imgslide.ng-hide-remove.ng-hide-remove-active {
    opacity:1;
}

.ng-hide-add {
    display: block !important;
}
/* Fine gestione immagini */

.message {
  display: inline-block;
  padding: 10px 20px;
  background: rgba(0, 0, 0, 0.9);
  color: white;
  border-radius: 4px;
}

.tab-overflow-visible .tab-content {
  overflow: visible !important;
}

/* overflow visible se l'elemento non è chiuso (ex. per non tagliare gli editor inline) */
.collapse.in.collapse-overflow-visible {
  overflow: visible;
}

[ng\:cloak], [ng-cloak], [data-ng-cloak], [x-ng-cloak], .ng-cloak, .x-ng-cloak {
  display: none !important;
}

textarea {
  resize: none;
}

/* Fix per la visualizzazione dei detepicker che usano il  parmetronelle append-to-body=true all'interno di una modale*/
ul[datepicker-popup-wrap] {
  z-index: 2000 !important;
}

.truncated {
  text-overflow: ellipsis;
  overflow: hidden;
  white-space: nowrap;
  vertical-align: top;
}

.expanded-row {
  border-bottom: 2px solid #999;
}

ul.sdm-tree {
  list-style: none;
  margin-left: 0;
}

ul.sdm-tree ul {
  list-style: none;
  margin-left: 20px
}

.sdm-tree .connector {
  position: absolute;
  top: 0;
  bottom: 0;
  width: 10px;
  border-left: 1px solid #ccc
}

.sdm-tree .connector div {
  position: absolute;
  top: 10px;
  left: 0;
  right: 0;
  border-top: 1px solid #ccc
}

.sdm-tree .node {
  position: relative;
  padding-left: 30px;
  border-radius: 4px;
}

.sdm-tree .match {
  font-weight: bold;
}

.sdm-tree .nomatch {
  font-weight: normal;
}

.columns {
  -moz-column-count: 2;
  -webkit-column-count: 2;
  column-count: 2;
  -webkit-column-rule: 1px solid #999999; /* Chrome, Safari, Opera */
  -moz-column-rule: 1px solid #999999; /* Firefox */
  column-rule: 1px solid #999999;
  -webkit-column-gap: 0; /* Chrome, Safari, Opera */
  -moz-column-gap: 0; /* Firefox */
  column-gap: 0;
}

/* per la visualizzazione nelle modali in modalità append-to-body */
.tooltip {
  z-index: 10000
}

.tooltip-inner {
  max-width: 450px !important;
}

/* per evitare che i datepicker all'interno di una tabella ne ereditino il css */
table[datepicker] td,
table[datepicker] th {
  padding: 1px;
  background: #fff;
  border: none;
}

.sdm-table tr.selected td table[datepicker] td,
.sdm-table-vertical tr.selected td table[datepicker] td {
  background: #fff !important;
}

.box-dom {
	padding : 20px;
	border : 1px solid #cecece;
	height : 350px;
	width : 35% !important;
  margin-left: 9% !important;
}

.collapse-overflow-visible .collapse.in {
  overflow: visible !important;
}

.angular-with-newlines {
    white-space: pre-line;
}

/* per ripristinare la scrollbar automatica per il modal-body */
.scrollbar {
	overflow-y: auto !important;
}

span.field-list,
span.field-list-bold {
  margin-left: 10px;
}

.field-list > span:nth-child(odd),
.field-list-bold > span:nth-child(odd) {
  margin-left: 10px;
  color: #999;
}

.field-list > span:first-child,
.field-list-bold > span:first-child {
  margin-left: 0 !important;
}

.field-list-bold > span:nth-child(even) {
  font-weight: bold;
}

.field-list-bold a {
  font-weight: normal;
}

@media screen and (max-height: 700px) {
 	.evento-calendario-entita {
 		margin-top: 0.5vh;
 		max-height: 3.5vh;
 		overflow-y: auto;
  }
}

@media screen and (min-height: 701px) {
 	.evento-calendario-entita {
 		margin-top: 1vh;
 		max-height: 6vh;
 		overflow-y: auto;
  }
}

.field-list.grid1 > div,
.field-list.grid2 > div,
.field-list.grid3 > div,
.field-list.grid4 > div,
.field-list.grid5 > div,
.field-list.grid6 > div {
  display: inline-block;
}

.field-list.grid1 > div {
  width: 96%
}

.field-list.grid2 > div {
  width: 48%
}

.field-list.grid3 > div {
  width: 32%
}

.field-list.grid4 > div {
  width: 24%
}

.field-list.grid5 > div {
  width: 19.2%
}

.field-list.grid6 > div {
  width: 16%
}

.label-approved,
.badge-approved,
.label-approved[href],
.badge-approved[href] {
  background-color: #0088cc;
}

.btn-group .btn-link {
  border: none;
  margin-right: 10px;
  padding: 0 5px;
  padding-bottom: 2px; /* per allineare il testo a quello dei bottoni selezionati (che hanno un bordo di 2px) */
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

.btn-group .btn-link:hover,
.btn-group .btn-link:focus {
  text-decoration: none;
}

.btn-group .btn-link.active {
  color: #0088cc;
  background-color: transparent;
  border-bottom: 2px solid #0088cc;
  padding-bottom: 0; /* il bordo di 2px occupa lo spazio normalmente impiegato dal padding */
  box-shadow: none;
  -webkit-box-shadow: none;
  -moz-box-shadow: none;
  border-radius: 0 !important;
  -webkit-border-radius: 0 !important;
  -moz-border-radius: 0 !important;
}

.compact .btn-link {
  margin-right: 2px !important;
}

/* per evitare che menu attivati da header (h1, h2...) ereditino la dimensione del font */
.dropdown-menu {
  font-size: 13px;
}

.menu-content ul {
  list-style: none;
  margin: 0
}

.menu-content ul li {
  padding: 2px 0;
}

.menu-content ul li.divider {
  border-bottom: 1px solid #eee;
}

.select2-results .select2-highlighted {
  background-color: #ffcc00;
  color: #333;
}

.text-success-bright {
  color: #5bb75b;
}

.text-warning-bright {
  color: #f89406;
}

.text-info-bright {
  color: #0088cc;
}

.vertical-center-container:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.vertical-center {
  display: inline-block;
  vertical-align: middle;
}

.fullscreen-overlay {
  width: auto;
  height: auto;
  top: 1%;
  bottom: 1%;
  left: 10px;
  right: 10px;
  overflow: auto;
  margin: 5px;
  padding: 5px;
}

.top-component {
  position: fixed;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1000;
}

.text-white {
  color: #fff;
}

.text-bold {
  font-weight: bold;
}

.flex-center {
  display: flex;
  align-items: center;
  justify-content: center;
}

.dashboard-widget {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  margin: 3px;
}

.dashboard-widget > div:first-child {
  padding: 5px 10px;
  height: 20px;
  background-color: #f3f3f3;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  border-left-style: solid;
  border-left-width: 5px;
}

.dashboard-widget > div:first-child > i:first-child {
  margin-right: 5px;
}

.dashboard-widget > div:nth-child(2) {
  position: absolute;
  top: 31px;
  left: 0;
  right: 0;
  bottom: 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border: 1px solid #eee;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.striped > div:nth-child(even) {
  background-color: #f9f9f9;
}

/* evita il margine dato dalle classi .alert applicate per evidenziare i titoli delle modali */
.modal-header.alert {
  margin-bottom: 0;
}

/* per sfruttare meglio le dimensioni della pagina; funziona correttamente
   con la classe bootstrap .row-fluid ma non con .row */
.container-large .container {
  width: 95% !important;
}

.btn-outline {
  display: inline-block;
  text-align: center;
  min-width: 18px;
  padding: 2px 5px;
  border: 1px solid;
  border-radius: 5px;
  cursor: pointer;
}

.btn-outline-success {
  color: #5bb75b;
  border-color: #b8e0b8;
}

.btn-outline-info {
  color: #0088cc;
  border-color: #66ccff;
}

.btn-outline-warning {
  color: #f89406;
  border-color: #fcc983;
}

.modal-gallery {
  width: auto !important;
  height: auto !important;
  top: 0 !important;
  bottom: 0 !important;
  left: 0 !important;
  right: 0 !important;
  overflow: none !important;
  margin: 0 !important;
}

.modal-gallery .btn {
  text-shadow: none;
  box-shadow: none;
}

.modal-gallery .modal-header {
  color:  #fff;
  background-color: #1c1c1c;
  border: none;
  padding-top: 2px;
  padding-bottom: 2px;
}

.modal-gallery .modal-body {
  background-color: #161616;
  max-height: none;
}

.modal-gallery iframe {
  border: none !important;
}
