﻿
.scroll-grid {
  max-height: 300px;
  overflow-y: auto;
}


tr.thead-light {
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}


/* pagina righe - intestazione*/
.page-header {
  display: flex;
  justify-content: space-between;
}

.header-info {
  display: flex;
  gap: 50px;
  align-content: flex-end;
  justify-content: flex-start;
}

.info-item {
  display: flex;
  flex-direction: column;
}

  .info-item .label {
    font-size: 12px;
    color: #777;
    text-transform: uppercase;
    margin-bottom: 4px;
  }

.value {
  font-weight: 600;
  color: #222;
}
/* pagina righe */



#MainContent_lnkBtnAnnulla {
  background-color: #848484 !important;
  border-color: #848484 !important;
}

#MainContent_Panel1 .form-group > div:nth-child(2) {
  order: -1; /* va davanti a tutti */
}


/* > significa figlio diretto */
div:has(> #MainContent_lbNote) {
  background-color: #eeeeee;
  padding: 10px 15px; /* spazio interno */
  text-align: left !important;
  display: inline-block; /* rettangolo “avvolge” il testo */
}

#MainContent_lbNote {
  font-weight: normal !important;
}

div:has(> #MainContent_lbLegendaRight) {
  text-align: left !important;
}

td textarea {
  width: 195px !important;
}

.Testo12 td {
  text-align: justify;
}

.hidden {
  display: none;
}

.bootstrap-iso .radio-inline label {
  font-weight: normal !important;
}

/*override bootstrap*/
.text-dark {
  color: #1a1b1f !important;
}
/*override bootstrap*/
.bg-dark {
  background-color: #1a1b1f !important;
}

/* link pager nelle tabelle > posso toglierlo perché ho il pager */ 
/*.table a {
  color: gray !important;
}*/

.body {
  color: #1a1b1f !important;
}

.navbar-dark .navbar-nav .nav-link {
  color: white !important;
  margin-right: 20px;
}

.table .thead-dark th {
  background-color: #1a1b1f !important;
}

.table-responsive {
  -moz-border-radius: 15px;
  border-radius: 15px;
}

.table {
  border: solid 1px;
  border-color: #cccccc;
}

  .table .thead-dark th {
    border: solid 1px;
    border-color: #cccccc;
  }

.bootstrap-iso .btn-primary .disabled {
  background-color: red;
}

.bootstrap-iso .btn-primary {
  background-color: #1a1b1f;
  border-color: #1a1b1f;
}

.bootstrap-iso .btn-danger {
  background-color: red;
  border-color: red;
  color: grey !important;
}

.btn-info {
  background-color: #1a1b1f;
  border-color: #1a1b1f;
  color: white;
}

.btn-primary {
  background-color: #1a1b1f;
  border-color: #1a1b1f;
}

.btn-danger {
  background-color: red;
  border-color: red;
  color: grey !important;
}

.bootstrap-iso {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 1rem;
  line-height: 1.5;
  color: #212529;
  text-align: left;
}

div .modalBackground {
  background-color: Gray;
  filter: alpha(opacity=70);
  opacity: 0.7;
}

div .modalTitle {
  cursor: move;
  background-color: #1a1b1f;
  border: solid 1px Gray;
  color: White;
  text-align: center;
  font-weight: bold;
}

div .modalPopup {
    background-color: #FFFFFF;
    border-width: 3px;
    border-style: solid;
    border-color: Gray;
    padding: 3px;
    /*width: 250px;*/
}

/*da mettere a posto*/
div span label.TestoErrore {
  font-weight: bold;
  font-size: 12pt;
  color: red;
  font-family: Arial, Helvetica, Sans-Serif;
}

.row {
  margin-left: 0 !important;
  margin-right: 0 !important;
}

textarea:disabled {
  font-weight: bold;
}

#avatar {
  /* This image is 687 wide by 1024 tall, similar to your aspect ratio */
  /*background-image: url('');*/
  /*background-color: wheat;*/
  /* make a square container */
  width: 50px;
  height: 50px;
  /* fill the container, preserving aspect ratio, and cropping to fit */
  background-size: cover;
  /* center the image vertically and horizontally */
  background-position: top center;
  /* round the edges to a circle with border radius 1/2 container size */
  border-radius: 50%;  
}







.label-esploso {
    position: absolute;
    /*transform: translate(8px, -4px);*/
    z-index: 1;
}

    .label-esploso:has(.link-wrapper:hover) {
        z-index: 10000;
    }

.link-esploso {
    color: #000000;
    font-size: 0.69rem;
    font-weight: 600;
    text-decoration: none;
}

    .link-esploso:hover {
        text-decoration: underline;
        color: #000000;
    }

.titolo-esploso {
    color: #000000;
    font-size: 0.8rem;
    font-weight: bold;
    white-space: nowrap;
    cursor: default;
}

.scritta-esploso {
    color: #000000;
    font-size: 0.69rem;
    white-space: nowrap;
    cursor: default;
}

.lista-esplosi .riga-esploso:nth-of-type(even) {
    background-color: #f5f5f5 !important;
}

.lista-esplosi .riga-esploso:nth-of-type(odd) {
    background-color: #ffffff !important;
}

.link-wrapper {
    position: relative;
    display: inline-block;
}

.tooltip-colori {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    z-index: 9999;
    background: #fff;
    border: 1px solid #dee2e6;
    border-radius: 4px;
    padding: 8px 10px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.15);
    min-width: 220px;
    max-width: 340px;
    white-space: nowrap;
}

.link-wrapper:hover .tooltip-colori {
    display: block;
}

.tooltip-titolo {
    font-weight: bold;
    font-size: 0.80rem;
    margin-bottom: 6px;
    padding-bottom: 5px;
    border-bottom: 1px solid #dee2e6;
    text-align: center;
}

.tooltip-riga {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 3px 0;
    font-size: 0.78rem;
}

    .tooltip-riga img {
        width: 36px;
        height: 36px;
        object-fit: cover;
        border: 1px solid #aaa;
        flex-shrink: 0;
    }
  border-radius: 50%;
}

footer {
  bottom: 0;
  text-align-last: center;
  position: relative;
  bottom: 0;
  width: 100%;
}

.pagination {
  --bs-pagination-active-bg: #1a1b1f !important;
  --bs-pagination-color: #1a1b1f !important;
  --bs-pagination-hover-color: #1a1b1f !important;
  --bs-pagination-focus-color: #1a1b1f !important;
  --bs-pagination-active-border-color: #1a1b1f !important;
}

.bi-box-arrow-in-down{
  color: purple;
}
.bi-gear {
  color: red;
}
.bi-ui-checks-grid {
  color: orange;
}
.bi-box-seam {
  color: #FFD700;
}
.bi-check-circle {
  color: green;
}

.td_row_container {
  display: flex;
  flex-direction: row;
  align-content: center;
  justify-content: flex-start;
  align-items: center;
}

.text-link-primary{
  color: white;
}

/*input[type="file"]::-webkit-file-upload-button {*/
  /*color:red;*/
/*}*/

/* per le frecce del conf disabilitate */
.aspNetDisabled {
  pointer-events: none;
  opacity: .5;  
}
