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: 40px;
  padding-bottom: 20px; */
}

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;
}

.navbar .nav > li > a {
  padding-left: 10px;
  padding-right: 10px;
}

.navbar-fixed-top {
  position: static;
}

.label {
  font-weight: normal;
  text-shadow: none;
  padding: 1px 3px;
  text-align: center;
  border: 1px solid;
  background-color: #f2f2f2; /* #99999920 */
  border-color: #dbdbdb; /* #99999940 */
  color: #999;
  box-sizing: border-box;
}

.label-default {
  background-color: #f2f2f2; /* #99999920 */
  border-color: #dbdbdb; /* #99999940 */
  color: #999;
}

.label-inverse {
  background-color: #e5e5e5; /* #33333320 */
  border-color: #b8b8b8; /* #33333340 */
  color: #333;
}

.label-info {
  background-color: #e6f0f5; /* #3a87ad20 */
  border-color: #bbd6e2; /* #3a87ad40 */
  color: #3a87ad;
}

.label-success {
  background-color: #eaf6ea; /* #5bb75b20 */
  border-color: #c6e6c6; /* #5bb75b40 */
  color: #4eb14e;
}

.label-warning {
  background-color: #fef2e0; /* #f8940620 */
  border-color: #fcdaaa; /* #f8940640 */
  color: #f89406;
}

.label-important {
  background-color: #f6e8e8; /* #b94a4820 */
  border-color: #e6c1c0; /* #b94a4840 */
  color: #b94a48;
}

.label-pink {
  background-color: #ffe6ff; /* #fc36ff20 */
  border-color: #febaff; /* #fc36ff40 */
  color: #fc36ff;
}

.label-info.label-strong {
  background-color: #0088cc;
  border-color: #0088cc;
  color: white;
}

.label-success.label-strong {
  background-color: #71c171;
  border-color: #71c171;
  color: white;
}

.label-warning.label-strong {
  background-color: #ff9900;
  border-color: #ff9900;
  color: white;
}

.label-important.label-strong {
  background-color: #cc0033;
  border-color: #cc0033;
  color: white;
}

.label-info[href] {
  background-color: #e6f0f5; /* #3a87ad20 */
}

/* scrollbars */
*::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

@supports not selector(::-webkit-scrollbar) {
  * {
    scrollbar-width: thin;
    scrollbar-color: #efefef #ccc;
  }
}

*::-webkit-scrollbar-thumb {
  background-color: #f8f8f8;
  border-radius: 2px;
  border: 1px solid #ccc;
}

.link-disabled {
    pointer-events: none; /* Per link disabilitati */
    color: grey;
}

.modal-header,
.modal-footer {
  box-shadow: none;
  border: none;
}

.modal-header {
  border-bottom-left-radius: 0;
  border-bottom-right-radius: 0;
}

.modal-header,
.modal-footer {
  box-shadow: none;
  border: none;
}

.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;
}

.modal-fullscreen-overlay > * {
  display: flex;
  flex-direction: column;
  height: 100%;
}

.modal-fullscreen-overlay .modal-header {
  z-index: 100;
}

.modal-fullscreen-overlay .modal-body {
  flex: 100%;
  max-height: none;
}

.modal-fullscreen-overlay .modal-footer {
  z-index: 100;
}

.modal-auto {
  width: auto !important;
  height: auto !important;
  margin: auto !important;
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%);
}

.modal-draggable {
  /* se non viene disattivato lo spostamento sull'asse y è praticamente impossibile */
  transition: none !important;
  overflow: hidden;
}

#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;
}

.chat {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 5000;
  background-color: #ffffff !important;
}

.floating-buttons {
  position: fixed;
  bottom: 10px;
  right: 10px;
  z-index: 1040;
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.floating-buttons > * {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
}

.floating-buttons small {
  position: absolute;
  top: -6px;
  right: 0;
  width: 15px;
  height: 15px;
  padding: 3px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.dom-button.btn.disabled, .dom-button.btn[disabled] {
  background-color:  #999999;
    color: beige;
}

.text-justify {
  text-align: justify;
}

.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;
}

.sdm-sections {
  display: flex;
  flex-direction: column;
}

.sdm-sections > * {
  transition: order 0.5s;
}

.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;
  position: relative;
  display: flex;
}

.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-open .edit {
  position: absolute;
  top: 0;
  right: 20px;
}

.action-menu {
  box-sizing: border-box;
  height: 22px;
  width: 22px;
  border: 2px solid #fff;
  border-radius: 50%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  cursor: pointer;
}

.action-menu:hover {
  background-color: #ffcc00;
}

.action-menu-large {
  height: 34px;
  width: 34px;
  font-size: larger;
}

.action-menu-green {
  background: #def1de;
}

.action-menu sdm-workflow {
  pointer-events: auto;
}

.section-open .edit sdm-workflow {
  pointer-events: auto;
}

.section-open .edit:hover {
  background-color: #ffcc00;
}

.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: 50% !important;
}

.sub-section-40 .sub-section-content > div:nth-child(odd),
.sub-section-40 .sub-section-content dt {
  flex-basis: 40% !important;
}

.sub-section-40 .sub-section-content > div:nth-child(even),
.sub-section-40 .sub-section-content dd {
  flex-basis: 60% !important;
}

.sub-section-25 .sub-section-content > div:nth-child(odd),
.sub-section-25 .sub-section-content dt {
  flex-basis: 25% !important;
}

.sub-section-25 .sub-section-content > div:nth-child(even),
.sub-section-25 .sub-section-content dd {
  flex-basis: 75% !important;
}

.sub-section-10 .sub-section-content > div:nth-child(odd),
.sub-section-10 .sub-section-content dt {
  flex-basis: 10% !important;
}

.sub-section-10 .sub-section-content > div:nth-child(even),
.sub-section-10 .sub-section-content dd {
  flex-basis: 90% !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: 30%;
}

.sub-section-content > div > div:nth-child(even) {
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: 70%;
}

.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: 30%;
  box-sizing: border-box;
}

.sub-section-content dl dd {
  margin: 0;
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: 70%;
  box-sizing: border-box;
}

dl.vertical {
  width: 100%;
  margin: 0;
  /* questo sarebbe più indicato, se funzionasse con IE... */
  /* display: grid;
  grid-template-columns: 30% 70%; */
  display: flex;
  flex-wrap: wrap;
}

dl.vertical.truncated dd {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

dl.vertical-75 dt {
  flex-basis: 75% !important;
}

dl.vertical-75 dd {
  flex-basis: 25% !important;
}

dl.vertical-50 dt {
  flex-basis: 50% !important;
}

dl.vertical-50 dd {
  flex-basis: 50% !important;
}

dl.vertical-40 dt {
  flex-basis: 40% !important;
}

dl.vertical-40 dd {
  flex-basis: 60% !important;
}

dl.vertical-25 dt {
  flex-basis: 25% !important;
}

dl.vertical-25 dd {
  flex-basis: 75% !important;
}

dl.vertical-20 dt {
  flex-basis: 20% !important;
}

dl.vertical-20 dd {
  flex-basis: 80% !important;
}

dl.vertical-15 dt {
  flex-basis: 15% !important;
}

dl.vertical-15 dd {
  flex-basis: 85% !important;
}

dl.vertical-10 dt {
  flex-basis: 10% !important;
}

dl.vertical-10 dd {
  flex-basis: 90% !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: 30%;
  box-sizing: border-box;
}

dl.vertical dd {
  margin: 0;
  padding: 1px 0;
  padding-left: 7px;
  text-align: left;
  flex-basis: 70%;
  box-sizing: border-box;
}

.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;
}

.navbar-menu {
  top: 5px;
  right: 10px;
  position: fixed;
  z-index: 1040;
  color: #BEBEBE;
  width: 32px;
}

.navbar-menu > * {
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid #BEBEBE;
  pointer-events: none;
  box-shadow: 0 0 1px 0px #BEBEBE inset, 0 0 1px 0px #BEBEBE;
}

.navbar-menu sdm-workflow {
  pointer-events: auto;
}

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;
}

.intestazione {
  display: flex;
  border-left: 8px solid #3a87ad;
  padding-top: 5px;
  padding-bottom: 5px;
  padding-left: 20px;
  margin-bottom: 20px;
}

/* parte principale dell'intestazione (sx) */
.intestazione > *:first-child {
  flex: 1;
  align-self: center;
}

/* parte secondaria dell'intestazione (dx) */
.intestazione > *:last-child {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 10px;
}

/* box interni alla parte secondaria */
.intestazione .boxes > * {
  display: flex;
  flex-direction: column;
  height: 100%;
  border: 1px solid #ddd;
  border-radius: 4px;
}

/* intestazione box interni */
.intestazione .boxes > * > *:first-child {
  border-bottom: 1px solid #ddd;
  background: #f9f9f9;
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
  color: #999;
  text-align: center;
  padding: 0 10px;
  white-space: nowrap;
}

/* contenuto box interni */
.intestazione .boxes > * > *:last-child {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  height: 100%;
  padding: 5px 10px;
  text-align: center;
}

.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;
  /* 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 */
  overflow-y: visible !important;
}

.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: 4px;
  border-top-right-radius: 4px;
  border-left-color: #ddddee;
  padding: 5px 10px;
}

.box > div:nth-child(n+2) {
  border: 1px solid #eee;
  border-top: none;
}

.box > div:last-child {
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.box ul {
  list-style: none;
  margin: 0;
}

.box .selected {
  background-color: #ffeda4;
}

.box-border-left.selected > div:first-child {
  background-color: #ffeda4;
  border-left-color: #ffb900;
}

.box .tabbable ul {
  margin: revert;
}

.box-white {
  background-color: transparent;
}

.box-black {
  background-color: #222;
  color: white;
}

.box-border-left > div:first-child {
  border-left-style: solid;
  border-left-width: 5px;
}

.box-border-bottom {
  color: #444;
  background-color: #f3f3f9;
  border-radius: 4px;
  padding: 5px 10px;
  border-bottom-style: solid;
  border-bottom-width: 8px;
}

.box-border-bottom-success {
  border-bottom-color: #5bb75b;
}

.box-border-bottom.muted {
  border-bottom-color: #999999;
}

.box-border-bottom-highlight:hover > div:first-child {
  color: #5bb75b !important;
}

.box-border-bottom.muted > div:first-child {
  color: #999999;
}

.box-border-bottom.selected {
  background-color: #ffeda4 !important;
  border-bottom-color: #ffb900 !important;
}

.box-border-bottom.selected > div:first-child {
  background-color: #ffeda4;
}

.box-border-bottom-highlight:hover {
  color: #5bb75b;
  border-bottom-color: #5bb75b;
}

.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;
}

.box-black > div:first-child {
  color: white;
  background-color: #333;
}

.box-error > div:nth-child(2),
.box-warning > div:nth-child(2),
.box-success > div:nth-child(2),
.box-info > div:nth-child(2),
.box-primary > div:nth-child(2),
.box-black > div:nth-child(2) {
  border: none;
}

/* 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 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 td {
  background-color: #fff !important;
  border-top: 2px solid #666;
  font-weight: bold;
}

.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;
}

.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: 4px;
  -moz-border-radius: 4x;
  border-radius: 4px;
  border: 1px solid #ddd;
  padding: 5px 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-vertical-border > tr > th,
.sdm-table-vertical-border > tr > td,
.sdm-table-vertical-border > thead > tr > th,
.sdm-table-vertical-border > tbody > tr > td {
  border-left: 1px solid #dddddd;
}

.sdm-table-vertical-border > tr > th:first-child,
.sdm-table-vertical-border > tr > td:first-child,
.sdm-table-vertical-border > thead > tr > th:first-child,
.sdm-table-vertical-border > tbody > tr > td:first-child {
  border-left: none;
}

.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: #ffeda4;
}

.sdm-table tr.selected td,
.sdm-table-vertical tr.selected td {
  background-color: #ffeda4 !important;
}

.sdm-table tbody+tbody {
  border-top: none !important;
}

.sdm-table.sdm-table-divide-tbody tbody+tbody tr:first-child td {
  border-top: 2px solid #444 !important;
}

.sdm-table.sdm-table-striped-tbody tbody:nth-child(even) td {
  background-color: #f9f9f9;
}

.sdm-table.sdm-table-striped-tbody tbody:nth-child(odd) td {
  background-color: #fff;
}

.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;
  border-top: none;
  border-bottom: 1px solid #ddd;
  z-index: 1001;  /* Per superare gli elementi di leaflet */
}

.sdm-table-sticky-header > thead > tr > th.sdm-table-sticky-column {
  z-index: 1002;
}

.sdm-table-sticky-header > thead > tr > th.sdm-table-sticky-column-last {
  z-index: 1002;
}

.sdm-table-sticky-header > tbody:first-of-type > 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;
}

.sdm-table-sticky-column-last {
  position: sticky;
  background-color: #fff;
  right: 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;
}

.sdm-table tr.saved td {
  background-color: #dff0d8 !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;
}

.truncated-2 {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  text-overflow: ellipsis;
  overflow: hidden
}

.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 {
  text-align: justify;
   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 {
  padding-left: 0;
  padding-right: 0;
}

/* per evitare che menu attivati da header (h1, h2...) ereditino la dimensione del font */
.dropdown-menu {
  font-size: 13px;
  z-index: 1010;
}

.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;
}

.text-pink {
  color: #fc36ff;
}

.text-inline-editor {
  color: #00aaff;
  text-decoration: dotted underline 1px;
  text-underline-offset: 1px;
}

.vertical-center-container:before {
  content: '';
  display: inline-block;
  vertical-align: middle;
  height: 100%;
}

.vertical-center {
  display: inline-block;
  vertical-align: middle;
}

.top-component {
  /* position: fixed;
  left: 0;
  right: 0;
  height: 60px;
  z-index: 1040; */
}

.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-circle {
  width: 50px;
  height: 50px;
  border-radius: 25px;
  outline: 0 !important;
}

.modal-gallery {
  width: 100%;
  height: auto;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  margin: 0 !important;
  background: #1f1f1f;
  border: none;
}

.modal-gallery.fade.in {
  top: 0;
}

.modal-gallery .btn {
  text-shadow: none;
  box-shadow: none;
  background: transparent;
  border: none;
}

.modal-gallery .modal-header {
  color:  #fff;
  background-color: #2f2f2f;
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
  padding-top: 2px;
  padding-bottom: 2px;
}

.modal-gallery .modal-body {
  background-color: #1f1f1f;
  border-bottom-left-radius: 6px;
  border-bottom-right-radius: 6px;
  max-height: none;
}

.modal-gallery iframe {
  border: none !important;
}

.modal-gallery li {
  border-bottom: 1px solid #444 !important;
}

.modal-gallery li a {
  color: #eee
}

th.diagonal {
  width: 30px;
  padding: 10px 0 !important;
  white-space: nowrap;
  vertical-align: bottom;
}

th.diagonal > * {
  width: 30px;
  transform: rotate(-45deg);
}

.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;
}

/* animazione ng-if */
.animate[ng-if],
.animate-in[ng-if] {
  transition: opacity ease-in-out 0.5s;
}

.animate[ng-if].ng-enter,
.animate[ng-if].ng-leave.ng-leave-active,
.animate-in[ng-if].ng-enter,
.animate-in[ng-if].ng-leave.ng-leave-active {
  opacity: 0;
}

.animate[ng-if].ng-leave,
.animate[ng-if].ng-enter.ng-enter-active {
  opacity: 1;
}

.animate-in[ng-if].ng-enter,
.animate-in[ng-if].ng-leave.ng-leave-active {
  transition: none;
}

/* animazione ng-show */
.animate[ng-show] {
  transition: opacity ease-in-out 0.5s;
  opacity: 1;
}

.animate[ng-show].ng-hide {
  opacity: 0;
}

.gantt {
  width: 100%;
  height: 100%;
  overflow-x: auto;
}

.gantt .data {
  position: sticky;
  top: 22px;
  left: 0;
  z-index: 1;
  background: white;
}

.gantt .data-last {
  border-right: 1px solid #ddd;
}

.gantt th.l1 {
  border-top: 1px solid #ddd !important;
  border-right: 1px solid #ddd;
  text-align: left !important;
}

.gantt th.l2 {
  top: 22px;
  width: 25px;
  border-right: 1px solid #ddd;
}

.gantt th.l2.day5,
.gantt th.l2.day7 {
  border-right: none;
}

.gantt td.l2 {
  padding: 2px 0 !important;
  text-align: center;
}

/* sabato e domenica */
.gantt .day6,
.gantt .day7 {
  background-color: #fafafa;
}

/* venerdì-sabato e domenica-lunedì */
.gantt .day5+.day6,
.gantt .day7+.day1 {
  border-left: 1px solid #ddd;
}

.gantt .progress {
  margin: 0;
}

.gantt .baseline td {
  border-top: none;
  padding-top: 0 !important;
}

.gantt .baseline .progress {
  height: 5px;
}

.gantt svg {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
}

.gantt svg > path {
  pointer-events: all;
  stroke: #444;
  stroke-width: 0.5;
  fill: none;
}

.gantt svg > path:hover {
  stroke: #f89406;
  stroke-width: 2;
}

.onboarding-grid th,
.onboarding-grid td {
  white-space: nowrap;
}

.onboarding-grid td {
  border-right: 1px solid #ddd;
}

.onboarding-grid tr td:first-child {
  border-left: 1px solid #ddd;
}

.onboarding-grid tr:last-child td {
  border-bottom: 1px solid #ddd;
}

.sdmSplitter {
  display: flex;
  overflow: hidden auto;
}

.sdmSplitter .child1 {
  flex: 0 0 auto;
}

.sdmSplitter .child2 {
  flex: 1 1 auto;
}

.sdmSplitter .splitter {
  position: relative;
  width: 20px;
  cursor: ew-resize;
  display: flex;
  flex-shrink: 0;
  justify-content: center;
  align-items: center;
}

.sdmSplitter .splitter .line {
  position: absolute;
  top: 0;
  bottom: 0;
  left: calc(50% - 1px);
  border-left: 1px solid #ddd;
}

.sdmSplitter .splitter:hover .line {
  border-left: 3px solid #999;
}

.sdmSplitter .splitter .controls {
  display: flex;
  align-items: center;
  gap: 5px;
  z-index: 10;
}

.sdmSplitter .splitter .handle {
  display: inline-block;
  padding: 15px 2px;
  background-color: #f8f8f8;
  border: 1px solid #ccc;
  border-radius: 2px;
}

.sdmSplitter .splitter:hover .handle {
  border: 3px solid #999;
}

.sdmSplitter .splitter .button {
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 24px;
  height: 24px;
  background-color: #f8f8f8;
  border: 2px solid #999;
  border-radius: 50%;
}

.splitter-horizontal {
  margin-top: 5px;
  margin-bottom: 5px;
  height: 6px;
  cursor: ns-resize;
  border-radius: 2px;
  background-color: #f8f8f8;
  border: 1px solid #bbb;
  display: flex;
  justify-content: center;
  align-items: center;
  /* z-index: 1039; */
}

.sdm-sticky,
.sdm-sticky-right {
  position: sticky;
  background-color: #fff;
}

th.sdm-sticky,
th.sdm-sticky-right {
  z-index: 1002 !important;
}

td.sdm-sticky,
td.sdm-sticky-right {
  z-index: 1;
}

.sdm-table.sdm-table-striped-tbody tbody:nth-child(even) td.sdm-sticky
.sdm-table.sdm-table-striped-tbody tbody:nth-child(even) td.sdm-sticky-right {
  background-color: #f9f9f9;
}

.background-tasks {
  position: fixed;
  bottom: 10px;
  left: 10px;
  padding: 10px;
  max-width: 50%;
  max-height: 400px;
  overflow: auto;
  border: 3px solid #ddd;
  border-radius: 5px;
  background: white;
  z-index: 1010;
}

.background-tasks .box {
  margin-bottom: 5px;
}

.background-tasks td {
  line-height: normal;
  padding: 2px 5px !important;
}

.smartDataset {
  margin-bottom: 10px;
}

.smartDataset > div:first-child {
  border-left: 8px solid #2196f3;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
  background-color: #e3f2fd;
  padding: 7px;
}

.smartDataset-close > div:first-child {
  border-left-color: #ddd;
  background-color: #f8f8f8;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.smartDataset-selected > div:first-child {
  border-left-color: #ffb900;
  background-color: #fff1cc;
}

.smartDataset > div:nth-child(2) {
  padding: 10px;
  border: 1px solid #eee;
  border-top: none;
}

.smartDataset > div:nth-child(3) {
  padding: 10px 0;
  border-top: none;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.smartDataset .smartDatasetTitle {
  font-size: larger;
  text-align: left;
  border: none;
  color: #444;
  padding: 0;
  margin: 0;
}

.smartDatasetTitle {
  margin-top: 0;
  text-align: right;
  color: #444;
  padding-right: 7px;
  display: inline-block;
  border-right: 6px solid #5bb75b;
}

.smartChart {
  border: 1px solid #eee;
  flex-grow: 1;
  height: fit-content;
  border-radius: 5px;
}

.smartChart-selected {
  border-color: #ffb900;
}

.smartChart > div:first-child {
  padding: 5px;
  border-top-left-radius: 5px;
  border-top-right-radius: 5px;
}

.smartChart-selected > div:first-child {
  background-color: #fff1cc;
}

.smartChart > div:nth-child(2) {
  padding: 5px;
  border-bottom-left-radius: 5px;
  border-bottom-right-radius: 5px;
}

.smartChartTitle {
  color: #444;
  padding: 0;
  margin: 0;
  text-align: center;
}

.smartChartContainer {
  display: flex;
  gap: 10px 1%;
  flex-wrap: wrap;
  justify-content: space-between;
}

.popover-unstyled {
  padding: 0;
  border: none;
  box-shadow: none;
}

.popover-nopadding,
.popover-nopadding .popover-content,
.popover-unstyled .popover-content {
  padding: 0;
}

/* .popover-nopadding .menu-content > div:first-child,
.popover-unstyled .menu-content > div:first-child {
  border-top-left-radius: 6px;
  border-top-right-radius: 6px;
} */

.right-component {
  position: relative;
}

.right-component .header {
  /* background-color: #74a6bf; */
  padding: 10px;
  /* margin-bottom: 5px; */
  position: sticky;
  top: 0;
  z-index: 1001;
}

.right-component .header .title {
  margin: 0;
  color: #fff;
}

.right-component .header .actions {
  position: absolute;
  right: 4px;
  top: 0px;
}

.big-btn  {
  cursor: pointer;
  min-width: 32px;
  border: 1px solid #aaa;
  border-radius: 4px;
  display: inline-block;
  padding: 5px;
  text-align: center;
  font-size: x-large;
}

.big-label {
  display: inline-block;
  text-align: center;
  border: 1px solid;
  border-radius: 3px;
  /*border-color: #bbb;*/
  padding: 2px 8px;
  box-sizing: border-box;
}

.label-empty {
  background-color: #ffffff !important;
  /*border-color: #bbb;*/
}

.with-feedback:active {
  color:  #3a87ad;
}

.sdm-table-entita-id {
  width: 100%;
  margin: 0;
}

.sdm-table-entita-id > tbody > tr > td:nth-child(even) {
  display: flex;
  justify-content: space-between;
  gap: 5px;
}

.sdm-table-entita-id > tbody > tr > td:nth-child(odd) {
  width: 40%;
}

.etichette-container {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.etichetta {
  border: 1px solid;
  border-radius: 3px;
  color: #fc36ff;
  display: flex;
  /* background-color: #ffe6ff;*/ /* #fc36ff20 */
  border-color: #febaff; /* #fc36ff40 */
}

.etichetta > div:first-child {
  padding: 5px;
  width: max-content;
}

.etichetta > div:nth-child(2) {
  padding: 5px;
  border-left: 1px solid #febaff;
  cursor: pointer;
}

.row-flex {
  display: flex;
  gap: 10px;
}

.row-flex > * {
  box-sizing: border-box;
  flex: 1;
}

.box-flex {
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  position: relative;
  border-radius: 4px;
  background: #fcfcfe;
  margin-bottom: 10px;
}

.box-flex > div:first-of-type,
.box-flex-title {
  display: flex;
  align-items: center;
  min-height: 32px;
  box-sizing: border-box;
  position: relative;
  font-size: larger;
  text-align: left;
  border-left: 8px solid;
  padding: 3px 5px;
}

.box-flex > div:first-of-type > *:first-child,
.box-flex-title > *:first-child {
  flex: 1;
  text-align: left !important;
}

.box-flex > div:first-of-type > *:last-child,
.box-flex-title > *:last-child {
  text-align: right;
}

.box-flex.closed > div:first-of-type,
.box-flex-title.closed {
  background: #f0f0f4 !important;
  border-left-color: #ccd !important;
}

.box-flex > div:first-of-type {
  border-top-left-radius: 4px;
  border-top-right-radius: 4px;
}

.box-flex-title {
  border-radius: 4px;
  margin: 10px 0;
}

.box-flex > div:nth-of-type(n+2),
.box-flex-content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 5px 10px;
  border: 1px solid #ddd;
  border-top: none;
}

.box-flex > div:last-of-type,
.box-flex-content {
  flex: 1;
  border-bottom-left-radius: 4px;
  border-bottom-right-radius: 4px;
}

.box-flex-content {
  background: #fcfcfe !important;
  border: 1px solid #ddd !important;
  font-size: inherit !important;
}

.box-flex.green > div:first-of-type,
.box-flex-title.green {
  border-left-color: #7fba00;
  background-color: #7fba0033;
}

.box-flex.green-dark > div:first-of-type,
.box-flex-title.green-dark {
  border-left-color: #109648;
  background-color: #10964833;
}

.box-flex.blue > div:first-of-type,
.box-flex-title.blue {
  border-left-color: #00a4ef;
  background-color: #00a4ef33;
}

.box-flex.yellow > div:first-of-type,
.box-flex-title.yellow {
  border-left-color:#ffb900;
  background-color: #ffb90033;
}

.box-flex.red > div:first-of-type,
.box-flex-title.red {
  border-left-color:#9c0d38;
  background-color: #9c0d3833;
}

.box-flex.blue-dark > div:first-of-type,
.box-flex-title.blue-dark {
  border-left-color: #002ca3;
  background-color: #002ca333;
}

.box-flex > .icon-remove-sign {
  position: absolute;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  font-size: larger;
  z-index: 5;
}

.box-flex.horizontal {
  flex-direction: row;
}

.box-flex.horizontal > div:first-of-type {
  border-radius: 0;
  border-top-left-radius: 4px;
  border-bottom-left-radius: 4px;
}

.box-flex.horizontal > div:last-of-type {
  border: 1px solid #ddd;
  border-left: none;
  border-radius: 0;
  border-top-right-radius: 4px;
  border-bottom-right-radius: 4px;
}

.counter {
  width: 20px;
  height: 20px;
  border: 1px solid;
  border-radius: 100%;
  display: flex;
  justify-content: center;
  align-content: center;
  flex-direction: column;
}

.counter.pink {
  border: 1px solid #fd9cff; /* #fc36ff80 */
}

.counter.medium {
  width: 30px;
  height: 30px;
  font-size: medium;
}

.wf-boxes {
  display: flex;
  gap: 10px;
  justify-content: space-between;
}

.wf-boxes > div {
  flex: 1;
  padding: 10px;
  border-radius: 5px;
  background-color: #def1de;
  border: 1px solid #aaa;
}

.box-viste-smart {
  margin-left: 10px;
  border: 1px solid #ccc;
  border-radius: 5px;
  height: 200px;
  width: 370px;
}

.icon-6x {
  font-size:  6em;
}

.icon-7x {
  font-size:  7em;
}

.icon-8x {
  font-size:  8em;
}

.smallPageTitleContainer {
   border-left: 6px solid #5bb75b;
   padding-left: 10px;
   margin-bottom: 10px;
   background-color: #f8f8f8;
}

.dropZone {
  border: 1px dashed #999999;
  border-radius: 10px;
}

.dropZone.activated {
  background-color: #fff9df;
}

.bordered-icon {
  border-radius: 4px;
  padding: 1px;
  border-style: solid;
  box-sizing: border-box;
  border-width: 1px;
  line-height: normal;
}

.text-highlight {
  background-color: yellow;
}

/* Customizzazione syncfusion */
.e-grid .e-headercelldiv {
  font-size: 13px;
}
.e-grid .e-rowcell {
  font-size: 13px;
  padding: 2px 5px;
}
.e-grid .e-summarycell {

}
.e-grid .e-row .e-input-group .e-input.e-field {

}

.e-grid td.e-active {
  background: #ffeda4;
}

.e-pivotview .e-nextspan {
  margin-left: 0;
}

.e-pivotview .e-lastspan {
  margin-left: 0;
}

/* fine syncfusion */

.analytics-widget {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
}

.analytics-widget > div:first-child {
  padding: 5px 10px;
  height: 20px;
  background-color: #f3f3f3;
  border-top-left-radius: 3px;
  border-top-right-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.analytics-widget > div:nth-child(2) {
  display: flex;
  align-items: center;
  justify-content: center;
  height: calc(100% - 30px);
}

.icon-muted {
  color: #e3e3e3;
}

.github-yellow-ribbon:before {
  background-color: #ff9800 !important;
}

a:hover i.white-on-hover {
  color: #fff !important
}

i.white-on-hover:hover {
  color: #fff !important
}

.diff-chars {
    font-family: SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    margin: 0;
    padding: 10px;
}

.diff-header {
    position: sticky;
    top: 0;
    background: white; 
    z-index: 10;
    padding: 5px;
    border-bottom: 1px solid #ddd;
    display: flex;
}

.diff-added {
    background-color: #eaf2c2;
    color: #406619;
}

.diff-removed {
    color: #b30000;
    background-color: #fadad7;
}

.diff-unchanged {
    color: #24292e;
}

.commitHistory .task {
  border: 1px solid #ddd;
  margin-right: 6px;
}

.commitHistory .selected {
  border-left: 4px solid #18789a !important;
  background-color: #dff3fa;
}

.commitHistory .info {
  border-left: 4px solid #999 !important;
  background-color: #f2f2f2;
}

.commitHistory .success {
  border-left: 4px solid #4eb14e !important;
  background-color: #eaf6ea;
}

.dashboard-widget {
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  -webkit-border-radius: 5px;
  -moz-border-radius: 5x;
  border-radius: 5px;
  border: 1px solid #ddd;
  margin: 3px;
  border-left-width: 5px;
}

.dashboard-widget > div {
  padding: 5px 10px;
}

.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;
}
