/*Nuova dashboard*/
/* .newskin.dashboard .dettaglio-esami {
  display: flex;
  flex-wrap: wrap;
} */

.progress {
  margin: 0 auto;
  width: 95%;
}

.progress {
  padding: 4px;
  background: rgba(0, 0, 0, 0.25);
  border-radius: 6px;
  -webkit-box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25),
    0 1px rgba(255, 255, 255, 0.08);
  box-shadow: inset 0 1px 2px rgba(0, 0, 0, 0.25),
    0 1px rgba(255, 255, 255, 0.08);
}

.progress-bar {
  height: 30px;
  border-radius: 4px;
  background-image: -webkit-linear-gradient(
    top,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  background-image: -moz-linear-gradient(
    top,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  background-image: -o-linear-gradient(
    top,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  background-image: linear-gradient(
    to bottom,
    rgba(255, 255, 255, 0.3),
    rgba(255, 255, 255, 0.05)
  );
  -webkit-transition: 0.4s linear;
  -moz-transition: 0.4s linear;
  -o-transition: 0.4s linear;
  transition: 0.4s linear;
  -webkit-transition-property: width, background-color;
  -moz-transition-property: width, background-color;
  -o-transition-property: width, background-color;
  transition-property: width, background-color;
  -webkit-box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.1);
  box-shadow: 0 0 1px 1px rgba(0, 0, 0, 0.25),
    inset 0 1px rgba(255, 255, 255, 0.1);
  width: 90%;
  background-color: #263238;
}

.newskin.dashboard #show-info-esami {
  color: #fff;
  cursor: pointer;
  border: 1px solid #e00a15;
  width: fit-content;
  padding: 0px 3px;
  border-radius: 2px;
  margin-left: 5px;
  transition: all 0.2s;
}

.newskin.dashboard #show-info-esami:hover {
  background: #e00a15;
}

.newskin.dashboard .dettaglio-esami {
  display: flex;
  flex-wrap: wrap;
  transition: all 0.3s;
  top: -1000px;
  /* top: 109px; */
  background-color: #181818;
  z-index: 99999;
  position: absolute;
  width: 100%;
}

.newskin.dashboard #spazio-totale {
  color: #fff;
  text-align: center;
}

.newskin.dashboard .esami {
  flex: 1 0 21%;
}

.newskin.dashboard .esami:hover,
.newskin.dashboard .dispositivi:hover {
  box-shadow: 1px 1px 10px 0px #585151;
}

.newskin.dashboard .additional-tool {
  flex: 1 0 21%;
}

.newskin.dashboard .additional-tool h2,
.newskin.dashboard .additional-tool p {
  color: #fff !important;
  text-align: center;
}

.newskin.dashboard .esami,
.newskin.dashboard .additional-tool,
.newskin.dashboard .dispositivi {
  background: #232323;
  padding: 10px;
  margin: 13px;
  border-radius: 4px;
  display: flex !important;
  flex-direction: column;
}

.newskin .numero-studi {
  font-size: 17px;
  padding-bottom: 4px;
  margin: 0;
}

.newskin .infoModality,
.newskin .numero-studi {
  text-align: center;
  color: #fff;
  margin: 5px;
}
.newskin .infoModality span,
.newskin .numero-studi span {
  color: #dd2024;
  font-weight: bold;
}

.newskin .mese-anno-label {
  color: #fff;
  margin-left: 10px;
  width: fit-content;
  cursor: pointer;
  display: inline-block;
}

.newskin .mese-anno-label.selected {
  border-bottom: 2px solid #fff;
}

.newskin .mese-anno-label:hover {
  border-bottom: 2px solid #fff;
}

.newskin .dispositivi {
  height: 700px;
  overflow: hidden;
}

.newskin .dispositivi p {
  color: #fff;
  text-align: center;
  margin-bottom: -30px;
}

/*FINE nuova dashboard*/

.newskin .DashboardBody {
  background: #323232 !important;
}

.newskin .DashboardItemContainer {
  border: none !important;
  border-radius: 3px;
  background: #232323 !important;
  transition: all 0.2s;
}

.newskin .DashboardItemContainer:hover {
  background: #080808 !important;
}

.newskin #stima-disco-div .DashboardItemContainer:hover {
  background: #191919 !important;
}

.newskin #stima-disco-div {
  height: 50vh;
}

@media (max-height: 768px) {
  .newskin #stima-disco-div {
    height: 80vh;
  }
}

.newskin .DashboardItemContainer a {
  color: #b71c1c;
  font-weight: bold;
  letter-spacing: 0.8px;
}

.newskin .MainContentBorder td {
  border: none !important;
}

.newskin.dashboard .GlobalGridViewHeader,
.newskin.dashboard .OverviewHeader {
  background: none !important;
}

.newskin .SidebarInfoContainer {
  padding: 5px !important;
}

.newskin .TotalStudiesSummary {
  border-radius: 3px;
  background: #dd2024 !important;
  border-radius: 3px;
  color: #fff !important;
  font-size: 15px !important;
  border: none !important;
}

.newskin .TotalStudiesSummary span {
  color: #fff !important;
}

.newskin .GlobalGridView {
  background-color: #222 !important;
  border: none !important;
}

.newskin .GlobalGridViewHeader th,
.newskin .GlobalGridView td {
  color: #fff !important;
}

.newskin .GlobalGridViewRow {
  border: none !important;
}

.newskin .DashboardInfoContainer,
.newskin .GlobalGridViewHeader th {
  border: solid 1px #d2d2d207 !important;
}

.newskin.dashboard .MoreInfo {
  display: none !important;
}

/*IFRAME*/
iframe .main-header {
  display: none !important;
}

/*SPERIMENTALE*/
.newskin.dashboard .MainContentBorder td:nth-child(1) {
  padding: 0 !important;
  display: flex;
  flex-wrap: wrap;
  width: 100%;
}

.newskin.dashboard .DashboardItemContainer {
  flex: 1 1 25%;
}

.newskin.dashboard .DashboardItemContainer [valign="top"] {
  display: block !important;
}

.newskin .change-chart {
  text-align: left;
  color: #fff;
  cursor: pointer;
  margin-left: 10px;
  border: 1px solid #df2226;
  width: max-content;
  padding: 1px 4px;
  border-radius: 3px;
}

.newskin .change-chart:hover {
  background: #df2226;
}

.TableMesiModal,
.TableAnniModal {
  background: aliceblue;
  width: 50%;
  left: 25%;
  top: 40%;
  height: 20%;
  position: fixed;
  z-index: -1;
  border-radius: 5px;
  transition: all 0.5s;
  opacity: 0;
}

.TableMesiModal h3,
.TableAnniModal h3 {
  border-bottom: 1px solid #bdbdbd77;
  text-align: center;
  padding-left: 10px;
  padding-bottom: 10px;
}

#TableMesi,
#TableAnni {
  width: 100%;
}

#tr-mesi td,
#tr-spazio-mesi td,
#tr-anni td,
#tr-spazio-anni td,
#tr-incremento-mesi td,
#tr-incremento-anni td {
  text-align: center;
  border: 1px solid #c9c9c977;
}

#tr-incremento-mesi td:first-child,
#tr-incremento-anni td:first-child {
  visibility: hidden;
}

.newskin .into-div {
  padding: 20px;
  background: #2a2a2a;
  margin: 20px;
  border-radius: 7px;
  border-bottom: 1px solid red;
}

/********************/
@property --p {
  syntax: "<number>";
  inherits: true;
  initial-value: 0;
}

.pie {
  position: absolute !important;
  --p: 20;
  --b: 6px;
  --c: #dd2024;
  --w: 66px;
  width: var(--w);
  background: #2c2c2c;
  border-radius: 100%;
  aspect-ratio: 1;
  display: inline-grid;
  margin: auto;
  place-content: center;
  font-size: 13px;
  font-weight: bold;
  color: #fff;
}

.pie:before,
.pie:after {
  content: "";
  position: absolute;
  border-radius: 50%;
}
.pie:before {
  inset: 0;
  background: radial-gradient(farthest-side, var(--c) 98%, #0000) top/var(--b)
      var(--b) no-repeat,
    conic-gradient(var(--c) calc(var(--p) * 1%), #0000 0);
  -webkit-mask: radial-gradient(
    farthest-side,
    #0000 calc(99% - var(--b)),
    #000 calc(100% - var(--b))
  );
  mask: radial-gradient(
    farthest-side,
    #0000 calc(99% - var(--b)),
    #000 calc(100% - var(--b))
  );
}
.pie:after {
  inset: calc(60% - var(--b) / 2);
  background: var(--c);
  transform: rotate(calc(var(--p) * 3.6deg))
    translateY(calc(50% - var(--w) / 2));
}
.animate {
  animation: p 1s 0.5s both;
}
.no-round:before {
  background-size: 0 0, auto;
}
.no-round:after {
  content: none;
}

#diagnostiche {
  display: flex;
  overflow-x: auto;
  width: 87vw;
  scrollbar-width: thin;
  scrollbar-color: #232323 #464646;
}

/* Chrome, Edge, and Safari */
#diagnostiche::-webkit-scrollbar {
  width: 16px;
  height: 8px;
}

#diagnostiche::-webkit-scrollbar-track {
  background: #464646;
  border-radius: 10px;
}

#diagnostiche::-webkit-scrollbar-thumb {
  background-color: #232323;
  border-radius: 10px;
}

.diagnostica {
  background: linear-gradient(120deg, rgb(24 24 24) 0%, rgb(34 34 34) 100%);
  display: flex;
  flex-direction: column;
  height: 100px;
  flex: 0 0 auto;
  padding: 0 20px;
  margin: 7px;
  border-radius: 5px;
}

.diagnostica:hover {
  box-shadow: 1px 1px 6px 0px #ffffff3d;
}

.diagnostica p {
  color: #fff;
}

@keyframes p {
  from {
    --p: 0;
  }
}
