/*  STILI ROOT  */
:root {
  --color-primary: #7380ec;
  --color-danger: #ff7782;
  --color-success: #108a1f;
  --color-warning: #ffbb55;
  --color-white: #fff;
  --color-info-dark: #7d8da1;
  --color-info-light: #dce1eb;
  --color-dark: #363949;
  --color-light: rgba(132,139,200,0.18);
  --color-primary-variant: #111e88;
  --color-dark-variant: #677483;
  --color-background: #f6f6f9;
  --color-logo: #4d784e;
  --color-logo-variant: #868887;

  --card-border-radius: 1.4rem;
  --border-radius-1: 0.4rem;
  --border-radius-2: 0,8rem;
  --border-radius-3: 1.2rem;

  --card-padding: 1.8rem;
  --padding-1: 1.2rem;

  --box-shadow: 0 2rem 3rem var(--color-light);
}
.dark-theme-variables{
  --color-background: #181a1e;
  --color-white: #202528;
  --color-dark: #edeffd;
  --color-dark-variant: #a3bdcc;
  --color-light: rgba(0,0,0,0.4);
  --color-success: #41f1b6;
  --box-shadow: 0 2rem 3rem var(--color-light);
}
/* STILI GENERALI*/
* {
  margin: 0;
  padding: 0;
  outline: 0;
  border: 0;
  text-decoration: none;
  list-style: none;
  box-sizing: border-box;
}
#total em {
	color: var(--color-danger);
	text-transform: full-width;
}
.hidden {
	display:none!important;
}
hr {
  clear: both;
  border: 0.5px solid var(--color-light);
}
html {
  font-size: 14px;
}

body {
  max-width: 100vw;
  max-height: 100vh;
  font-family: helvetica,verdana,arial!important;
  font-size: 0.88rem;
  background: var(--color-background);
  user-select: none;
  overflow-x: hidden;
  -webkit-user-select: none;  /* Chrome all / Safari all */
  -moz-user-select: none;     /* Firefox all */
  -ms-user-select: none;      /* IE 10+ */
  -o-user-select: none;
  user-select: none;
}

.gif h2{
  text-align: center;
}
.gif img {
  display: block;
 margin-left: auto;
 margin-right: auto;
 width: 350px;
}
.container {
  display: grid;
  width: 96%;
  margin: 0 auto;
  gap: 1.8rem;
  grid-template-columns: 14rem auto 23rem;
  color: var(--color-dark);
}
.container-flex {
  display: flex;
  flex-direction: column;
  width: 96%;
  height: 100%;
  margin: 0 auto;
  gap: 1.8rem;
  align-items: center;
  justify-content: Start;
  color: var(--color-dark);
}
.container-flex.code{

}

a {
  color: var(--color-dark);
}

img {
  display: block;
  width: 100%;
}

h1 {
  font-weight: 800;
  font-size: 1.8rem;
  margin-bottom: 2rem;
}

h2 {
  font-size: 1.4rem;
}

h3 {
  font-size: 1rem;
}

h4 {
  font-size: 0.8rem;
}

h5 {
  font-size: 0.77rem;
}

small {
  font-size: 0.75rem;
}

.text-center{
	text-align:center!important;
}

.profile-foto {
  width: 2.8rem;
  height: 2.8rem;
  border-radius: 50%;
  overflow: hidden;
}

.text-muted{
  color: var(--color-info-dark);
}

p {
  color: var(--color-dark-variant);
}

b {
  color: var(--color-dark);
}

.primary {
  color: var(--color-logo);
}

.danger {
  color: var(--color-danger);
}

.success {
  color: var(--color-success);
}

.warning {
  color: var(--color-warning);
}

.btn {
  padding: 10px;
  background-color: var(--color-warning);
  border-radius: var(--border-radius-1);
  margin-bottom: 10px;
  color: white;
}
.btn-login {
  margin-top: 1rem;
  color: white;
  padding: 10px;
  background-color: var(--color-success);
  border-radius: var(--border-radius-1);
  font-size: 1.2rem;
}
.btn.checked {
  background-color: var(--color-success);
}

table .success,
table .danger,
table .warning {
  font-weight: bold;
  letter-spacing: 0.5;
}

/* ASIDE */

aside {
  min-height: 100vh;
}

aside .top {
  display: flex;
  position: sticky;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.4rem;
  top: 1.4rem;
}

aside .top .logo .tower {
  color: var(--color-logo);
}
aside .top .logo .tower .tower2 {
  color: var(--color-logo-variant);
}

aside .logo {
  display: flex;
  gap: 0.8rem;
}

aside .logo img {
  width: 16.5rem;
  margin-left: -1.5rem;
}

aside .close {
  display: none;
}

/* SIDEBAR */

aside .sidebar {
  display: flex;
  flex-direction: column;
  height: 86vh;
  position: sticky;
  top: 8rem;
}

aside h3 {
  font-weight: 500;
}

aside .sidebar a {
  display: flex;
  color: var(--color-dark);
  margin-left: 2rem;
  gap: 1rem;
  align-items: center;
  position: relative;
  height: 3.7rem;
  transition: all 300ms ease;
}

aside .sidebar a i,
aside .sidebar a img{
  font-size: 1.6rem;
  transition: all 300ms ease;
  width: 1.5rem;
}
aside .sidebar a img{
	margin-left: -0.4rem;
	width: 2.4rem ;
}

aside .sidebar a:last-child {
  position: absolute;
  bottom: 2rem;
  width: 100%;
}

aside .sidebar a.active {
  background: var(--color-light);
  color: var(--color-logo);
  margin-left: 0;
}

aside .sidebar a.active::before {
  content: '';
  width: 6px;
  height: 100%;
  background: var(--color-logo);
}

aside .sidebar a.active i,
aside .sidebar a.active img{
  color: var(--color-logo);
  margin-left: calc(1rem - 3px);
}

aside .sidebar a:hover {
  color: var(--color-logo);
}

aside .sidebar a:hover i,
aside .sidebar a:hover img{
  margin-left: 1rem;
}

aside .sidebar .message-count {
  background: var(--color-danger);
  color: var(--color-white);
  padding: 2px 10px;
  font-size: 11px;
  border-radius: var(--border-radius-1);
}

/*  MAIN  */

main {
  margin-top: 8rem;
}

main .date {
  display: inline-block;
  background: var(--color-light);
  border-radius: var(--border-radius-1);
  margin-top: 1rem;
  padding: 0.5rem 1.6;
}

main .date input[type='date'] {
  background: transparent;
  color: var(--color-dark);
  }.

main .insights {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 1.6rem;
}

  main .insights > div {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-body-radius);
    margin-top: 1rem;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
  }

  main .insights > div:hover {
    box-shadow: none;
  }

  main .insights > div i {
    background: var(--color-logo);
    padding: 0.5rem;
    border-radius: 50%;
    color: var(--color-white);
    font-size: 2rem;
  }

  main .insights > div.expenses i {
    background: var(--color-danger);
  }

  main .insights > div.encome i {
    background: var(--color-success);
  }

  main .insights > div .middle {
    display: flex;
    align-items: center;
    justify-content: space-between;
  }

  main .insights h3 {
    margin: 1rem 0 0.6rem;
    font-size: 1rem;
  }

  main .insights .progress {
    position: relative;
    width: 92px;
    height: 92px;
    border-radius: 50%;
  }

  main .insights svg {
    width: 7rem;
    height: 7rem;
  }
  main .insights svg circle {
    fill: none;
    stroke: var(--color-logo);
    stroke-width: 14;
    stroke-linecap: round;
    transform: translate(5px, 5px);
    stroke-dasharray: 110;
    stroke-dashoffset: 92;
  }

  main .insights .sales svg circle {
    stroke-dashoffset: -30;
    stroke-dasharray: 200;
  }

  main .insights .expenses svg circle {
    stroke-dashoffset: 20;
    stroke-dasharray: 80;
  }

  main .insights .income svg circle {
    stroke-dashoffset: 35;
    stroke-dasharray: 110;
  }

  main .insights .progress .number {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
  }

  main .insights small {
    margin-top: 1.3rem;
    display: block;
  }

  /*  MY SUBSCRIPTIONS */

  /* main .my-subscriptions {
    margin-top: 2rem;
  } */

  main .my-subscriptions h2 {
    margin-bottom: 0.8rem;
    text-transform: uppercase;
  }

  main .my-subscriptions table {
    background: var(--color-white);
    color: var(--color-dark);
    width: 100%;
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
    margin-bottom: 4rem;
  }

  main .my-subscriptions table:hover {
    box-shadow: none;
  }
  main .my-subscriptions table tr td:first-child  {
    width: 30%;
  }
  main .my-subscriptions #invoice-table input {
    padding: 5px 10px;
    font-weight: 500;
    border:1px solid var(--color-logo);
    background: transparent;
    color: var(--color-logo);
    border-radius: 5px;
    cursor: pointer;
  }
/*   main .my-subscriptions #invoice-table input[value=Visualizza]{
    border:1px solid var(--color-logo-variant);
    color:var(--color-logo-variant);
  } */
  main table thead th {
    padding-top: 0.5rem;
    padding-bottom: 1rem;
    text-transform: uppercase;
  }

  main table tbody td {
    height: 2.8rem;
    border-bottom: 1px solid var(--color-light);
    color: var(--color-dark-variant);
  }

  main table tbody tr:last-child td {
    border: none;
  }

  /* RIGHT */

  .right {
    margin-top: 1.4rem;
    position: sticky;
    min-height: 20vh;
  }

  .right .top {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 2rem;
    position: sticky;
    top: 1.4rem;
  }

  .right .top button {
    display: none;
  }
  table button,
  main button {
    padding: 5px 10px;
    background: transparent;
    color: var(--color-dark);
    cursor: pointer;
  }
  table button{
    border: 1px solid var(--color-logo);
    border-radius: .5rem;
  }
  #box div,
  #box2 div{
    border: 1px solid var(--color-light);
    border-radius: .5rem;
  }
  .right .theme-toggler {
    background: var(--color-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 1.6rem;
    width: 4.2rem;
    cursor: pointer;
    border-radius: var(--border-radius-1);
  }

  .right .theme-toggler i {
    font-size: 1.2rem;
    width: 50%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .right .theme-toggler i.active {
    background: var(--color-logo);
    color: white;
    border-radius: var(--border-radius-1);
  }

  .right .top .profile  {
    display: flex;
    gap: 2rem;
    text-align: right;
  }

  /* NEWS */

  .right .recent-news {
    margin-top: 1rem;
    position: sticky;
    top: 39rem;
  }

  .right .recent-news h2{
    margin-bottom: 0.8rem;
  }

  .right .recent-news .news {
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
  }

  .right .recent-news .news:hover {
    box-shadow: none;
  }

  .right .recent-news .news .new{
    display: grid;
    grid-template-columns: 2.6rem auto;
    gap: 1rem;
    margin-bottom: 1rem;
  }

  /*  prodotti */

  .right .my-products {
    margin-top: 2rem;
    position: sticky;
    top: 47.7rem;
  }

  .right .my-products h2 {
    margin-bottom: 0.8rem;
  }

  .right .my-products .item {
    background: var(--color-white);
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.7rem;
    padding: 1.4rem var(--card-padding);
    box-shadow: var(--box-shadow);
    border-radius: var(--border-radius-3);
    transition: all 300ms ease;
  }

  .right .my-products .item:hover {
    box-shadow: none;
  }

  .right .my-products .item .right {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin: 0;
    width: 100%;
    min-height: 0;
  }

  .right .my-products .item .icon {
    padding: 0.6rem;
    color: var(--color-white);
    border-radius: 50%;
    background: var(--color-logo);
    display: flex;
  }

  /* REGISTRAZIONE / LOGIN  */

  .container-flex form {
    background: var(--color-white);
    color: var(--color-dark);
    width: 350px;
    border-radius: var(--card-border-radius);
    padding: var(--card-padding);
    margin-top: 2.8rem;
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: all 300ms ease;
  }

  .container-flex form:hover{
    box-shadow: none;
  }

  .container-flex form p {
    display: flex;
    flex-direction: column;
    align-items: center;
    color: var(--color-dark);
  }

  .container-flex form h1 {
    margin-bottom: 2rem;
  }

  .container-flex form a{
    color: var(--color-logo);
    text-transform: uppercase;
  }
  .container-flex input[type=submit]{
    min-width: 150px;
    height:40px;
    margin:25px auto 10px auto; 
    font-size:1.1rem;
    border:1px solid #333;
    background:var(--color-logo);
    cursor:pointer;
    border-radius:5px;
    letter-spacing:2px;
  }
  .container-flex input[type=text]{
    margin: 10px; 
    height:35px;
    width:65px;
    border:1px solid #333;
    border-radius:5px;
    text-align:center;
    font-size:1.1rem;
    background: #eef2f3;
  }
  .container-flex input[type=text].reg,
.container-flex p select.reg{
    text-align: center;
    margin: 0;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    height: 2rem;
    color: var(--color-dark);
    border-radius: var(--border-radius-1);
    background: var(--color-light);
    width: 100%;
    border: none;
  }
  .container-flex.code form{
    display:flex; flex-direction:column; justify-content: center; align-items:center;
  }
  .user-input.login {
    display: flex;
  }
  .user-input.login input {
    height: 30px;
    width: 30px;
    font-size: 1.5rem;
  }

  .container-flex form input {
    text-align: center;
    margin-top: 0.8rem;
    margin-bottom: 0.8rem;
    height: 2rem;
    color: var(--color-dark);
    border-radius: var(--border-radius-1);
    background: var(--color-light);
    width: 100%;
  }
  .container-flex form input:focus {
    background: transparent;
    border-bottom: 1px solid black;
  }

  .container-flex form input[type="submit"] {
    width: 70%;
    background: var(--color-logo);
    color: var(--color-white);
    margin-top: 2rem;
    cursor: pointer;
  }

  del {
    text-decoration: line-through solid 2px;
  }

  /* TABS */


  .tabs {
    position:relative;
    display: flex;
    width:100%;
    height: 90%;
    background: var(--color-white);
    padding: var(--card-padding);
    border-radius: var(--card-border-radius);
    overflow:hidden;
  }
  .tabs .tab-header {
    float:left;
    width:12.4rem;
    min-width: 12.4rem;
    border-right:1px solid #ccc;
    padding:50px 0px;
  }
  .tabs .tab-header > div {
    display: inline-block;
    height:50px;
    line-height: 50px;
    font-size:16px;
    font-weight:600;
    color:#888;
    cursor:pointer;
    padding-left:10px;
  }
  .tabs .tab-header > div:hover,
  .tabs .tab-header > div.active {
    color:#00acee;
  }

  .tabs .tab-content {
    position:relative;
    width: 100%;
    height: 100%;
    overflow:hidden;
  }

  .tabs .tab-content > div {
    position:absolute;
    text-align:center;
    padding:40px 20px;
    width: 100%;
    top:-200%;
    transition:all 500ms ease-in-out;
    left: 0;
  }

  .tabs .tab-content > div >.pricing-tables {
    display: grid;
    grid-template-columns: 50% 50%;
    margin-top: 30px;
  }
  .tabs .tab-content > div.active {
    top:0px;
    height: 100%;
  }

  .tabs .tab-indicator {
    position:absolute;
    width:4px;
    height:50px;
    background:#00acee;
    left:13.6rem;
    top:80px;
    transition:all 500ms ease-in-out;
  }

  @media screen and (max-width:1200px) {
    .container {
      width: 94%;
      grid-template-columns: 7rem auto 23rem;
    }

    aside .logo h2 {
      display: none;
    }

    aside .sidebar h3 {
      display: none;
    }

    aside .sidebar a{
      width: 5.6rem;
    }

    aside .sidebar a:last-child {
      position: relative;
      margin-top: 1.8rem;
    }

    main .insights {
      grid-template-columns: 1fr;
      gap: 0;
    }

    main .my-subscriptions table .sm-none {
      display: none;
    }

    .tabs {
      flex-direction: column;
      width: 90%;
      height: 90%;
      padding-top: 10px;
    }
    .tabs .tab-header{
      display: flex;
      float: none;
      width: 100%;
      height: 50px;
      padding: 5px 0px;
      border-right:none;
      border-bottom:1px solid #ccc;
    }
    .tabs .tab-header > div {
      width: 150px;
      text-align: center;
      line-height: 30px;
      height: 30px;
      padding: 0;
      margin:0;
    }
    .tabs .tab-indicator{
      position: absolute;
      width: 150px;
      height: 4px;
      background: #00acee;
      left: 21px;
      top: 4.1rem;
      transition: all 300ms ease-in-out;
    }
    .tabs .tab-content > div {
      height: 100%;
      width: 100%;
      padding: 10px 20px;
    }

  }

  @media screen and (max-width: 768px) {
    .container {
      width: 100%;
      grid-template-columns: 1fr;
    }
	  .right .recent-news{
	  	display:none;
	  }
    aside {
      display: none;
      position: fixed;
      left: 0;
      background: var(--color-white);
      width: 18rem;
      z-index: 3;
      box-shadow: 1rem 3rem 4rem var(--color-light);
      height: 100vh;
      padding-right: var(--card-padding);
    }

    aside .logo {
      margin-left: 1rem;
    }

    aside .logo h2 {
      display: inline;
    }

    aside .sidebar h3 {
      display: inline;
    }

    aside .sidebar a {
      width: 100%;
      height: 3.4rem;
    }

    aside .sidebar a:last-child {
      position: absolute;
      bottom: 5rem;
    }
    aside .close {
      display: inline-block;
      cursor: pointer;
    }

    main {
      margin-top: 8rem;
      padding: 0 1rem;
    }
    gestione_email
    main .my-subscriptions{
      position: relative;
      margin: 3rem 0 0 0;
      width: 100%;
    }
    main .my-subscriptions table {
      width: 100%;
      margin: 0;
    }
    main .my-subscriptions table .sm-none,
    main .my-subscriptions table .xs-none{
      display: none;
    }
    .right {
      width: 94%;
      margin: 0 auto 4rem;
    }
    .right .top {
      position: fixed;
      top: 0;
      left: 0;
      align-items: center;
      padding: 0 0.8rem;
      height: 4.6rem;
      background: var(--color-white);
      width: 100%;
      margin: 0;
      z-index: 2;
      box-shadow: 0 1rem 1rem var(--color-light);
      justify-content: end;
    }

    .right .top button {
      display: inline-block;
      background: transparent;
      cursor: pointer;
      color: var(--color-dark);
      position: absolute;
      left: 1rem;
    }

    .right .top button i {
      font-size: 2rem;
    }

    .right .theme-toggler {
      position: absolute;
      left: 1000px;
      background: var(--color-light);
      display: flex;
      justify-content: space-between;
      align-items: center;
      height: 1.6rem;
      width: 4.4rem;
      cursor: pointer;
      border-radius: var(--border-radius-1);
    }

    .right .theme-toggler i {
      font-size: 1.2rem;
      width: 50%;
      height: 100%;
      display: flex;
      align-items: center;
      justify-content: center;
    }
	.profile-card {
		display:none!important;
	}
    .right .theme-toggler i.active {
      background: var(--color-logo);
      color: white;
      border-radius: var(--border-radius-1);
    }
  }
	
  .semaforo {
    display: flex;
    border-radius: var(--border-radius-1);
    justify-content: space-around;
    align-items: center;
    width: 135px;
    height: 40px;
    margin: 5px auto;
    background: black;
  }
  .luce {
    position: relative;
    background: white;
    border-radius: 50%;
    height: 30px;
    width: 30px;
    opacity: 0.3;
  }
  .luce:nth-child(3){
    background: red;
    /* opacity: 0.2; */
  }
  @keyframes blink1 {
    0% {
      background: rgba(0,255,0,1);
      box-shadow: 0 0 15px #fff;
    }
    10% {
      background: rgba(0,255,0,.75);
      box-shadow: 0 0 10px #fff;
    }
    20% {
      background: rgba(0,255,0,.5);
      box-shadow: 0 0 5px #fff;
    }
    30%{
      background: rgba(0,255,0,.25);
      box-shadow: 0 0 0px #fff;
    }
    40%{
      background: rgba(0,255,0,.5);
      box-shadow: 0 0 0px #fff;
    }
    50%{
      background: rgba(0,255,0,1);
      box-shadow: 0 0 0px #fff;
    }
    60%{
      background: rgba(0,255,0,.25);
      box-shadow: 0 0 0px #fff;
    }
    70%{
      background: rgba(0,255,0,1);
      box-shadow: 0 0 0px #fff;
    }
    80%{
      background: rgba(0,255,0,.25);
      box-shadow: 0 0 0px #fff;
    }
    90%{
      background: rgba(0,255,0,1);
      box-shadow: 0 0 0px #fff;
    }
    100%{
      background: rgba(0,255,0,.25);
      box-shadow: 0 0 0px #fff;
    }
  }
  @keyframes blink2 {
    0% {
      background: rgba(247,255,73,.75);
      box-shadow: 0 0 10px #fff;
    }
    10% {
      background: rgba(247,255,73,1);
      box-shadow: 0 0 15px #fff;
    }
    20% {
      background: rgba(247,255,73,.75);
      box-shadow: 0 0 10px #fff;
    }
    30%{
      background: rgba(247,255,73,.5);
      box-shadow: 0 0 5px #fff;
    }
    40%{
      background: rgba(247,255,73,.25);
      box-shadow: 0 0 5px #fff;
    }
    50%{
      background: rgba(247,255,73,1);
      box-shadow: 0 0 0px #fff;
    }
    60%{
      background: rgba(247,255,73,.25);
      box-shadow: 0 0 0px #fff;
    }
    70%{
      background: rgba(247,255,73,1);
      box-shadow: 0 0 0px #fff;
    }
    80%{
      background: rgba(247,255,73,.25);
      box-shadow: 0 0 0px #fff;
    }
    90%{
      background: rgba(247,255,73,1);
      box-shadow: 0 0 0px #fff;
    }
    100%{
      background: rgba(247,255,73,.25);
      box-shadow: 0 0 0px #fff;
    }
  }
  @keyframes blink3 {
    0% {
      background: rgba(255,0,0,.5);
      box-shadow: 0 0 5px #fff;
    }
    10% {
      background: rgba(255,0,0,.75);
      box-shadow: 0 0 10px #fff;
    }
    20% {
      background: rgba(255,0,0,1);
      box-shadow: 0 0 15px #fff;
    }
    30%{
      background: rgba(255,0,0,.75);
      box-shadow: 0 0 10px #fff;
    }
    40%{
      background: rgba(255,0,0,.5);
      box-shadow: 0 0 0px #fff;
    }
    50%{
      background: rgba(255,0,0,1);
      box-shadow: 0 0 0px #fff;
    }
    60%{
      background: rgba(255,0,0,.25);
      box-shadow: 0 0 0px #fff;
    }
    70%{
      background: rgba(255,0,0,1);
      box-shadow: 0 0 0px #fff;
    }
    80%{
      background: rgba(255,0,0,.25);
      box-shadow: 0 0 0px #fff;
    }
    90%{
      background: rgba(255,0,0,1);
      box-shadow: 0 0 0px #fff;
    }
    100%{
      background: rgba(255,0,0,.25);
      box-shadow: 0 0 0px #fff;
    }
  }
  @keyframes siren {
    0%{
      box-shadow: -3px 0px 5px rgb(37, 0, 224);
    }
    5%{
      box-shadow: 0px 3px 5px rgb(74, 83, 225);
    }
    10%{
      box-shadow: 1px 3px 5px rgb(37, 0, 224);
    }
    15%{
      box-shadow: 2px 3px 5px rgb(74, 83, 225);
    }
    20%{
      box-shadow: 3px 3px 5px rgb(37, 0, 224);
    }
    25%{
      box-shadow: 3px 2px 5px rgb(74, 83, 225);
    }
    30%{
      box-shadow: 3px 1px 5px rgb(37, 0, 224);
    }
    35%{
      box-shadow: 3px 0px 5px rgb(74, 83, 225);
    }
    40%{
      box-shadow: 3px -1px 5px rgb(37, 0, 224);
    }
    45%{
      box-shadow: 3px -2px 5px rgb(74, 83, 225);
    }
    50% {
      box-shadow: 3px -3px 5px rgb(37, 0, 224);
    }
    55% {
      box-shadow: 2px -3px 5px rgb(74, 83, 225);
    }
    60%{
      box-shadow: 1px -3px 5px rgb(37, 0, 224);
    }
    65%{
      box-shadow: 0px -3px 5px rgb(74, 83, 225);
    }
    70%{
      box-shadow: -1px -3px 5px rgb(37, 0, 224);
    }
    75%{
      box-shadow: -2px -3px 5px rgb(74, 83, 225);
    }
    80%{
      box-shadow: -3px -3px 5px rgb(37, 0, 224);
    }
    85%{
      box-shadow: -3px -2px 5px rgb(74, 83, 225);
    }
    90%{
      box-shadow: -3px -1px 5px rgb(37, 0, 224);
    }
    95%{
      box-shadow: -3px 1px 5px rgb(74, 83, 225);
    }
    100%{
      box-shadow: -3px 2px 5px rgb(37, 0, 224);
    }
  }
  .semaforo.siren{
    animation: siren infinite 2s;
  }
  .luce:nth-child(3).selected.blink {
    animation: blink3 infinite 2s;
  }
  .luce:nth-child(2){
    background-color: rgb(247,255,73);
  }
  .luce:nth-child(2).selected.blink {
    animation: blink2 infinite 2s;
  }
  .luce:nth-child(1){
    background: rgba(0,255,0);
    /* opacity: 0.2; */
  }
  .luce:nth-child(1).selected.blink {
    animation: blink1 infinite 2s;
  }
  .luce.selected {
    opacity: 1;
    box-shadow: 0 0 15px #fff;
  }
  .table-footer {
    display: flex;
    justify-content: space-between;
    padding: 5px 15px;
  }

  .table-footer button{
    position: relative;
    color: var(--color-dark);
    right: 0;
    width: 30px;
    height: 30px;
  }
  .table-footer button.color_page {
    /* background-color: rgba(0,0,0,0.35); */
    background: var(--color-light);
  }
  .table-footer button{
    /* background-color: rgba(0,0,0,0.15); */
    background: transparent;
  }
  .table-footer button:first-child{
    border-top-left-radius:  5px;
    border-bottom-left-radius:  5px;
  }
  .table-footer button:last-child{
    border-top-right-radius:  5px;
    border-bottom-right-radius:  5px;
  }
  .table-footer select, .table-footer span {
    display: none;
  }
  /*  PANNELLO DI CONTROLLO / DASHBOARD  */

  /* main .products {
    position: sticky;
    top: 0;
    margin-top: -8rem;
    background: var(--color-background);
    z-index: 10;
  }

  main .products ul {
    display: flex;
    border-top: 1px solid rgba(0,0,0,.5);
    border-bottom: 1px solid rgba(0,0,0,.05);
    box-shadow: inset 0 7px 9px -7px var(--color-dark);
    list-style: none;
  }

  main .products ul li {
    min-width: 10%;
    padding: 10px;
    text-align: center;
    border-right: 1px solid var(--color-light);
    text-decoration: none;
    cursor:pointer;
  }
  main .products ul li:first-child{
    border-left: 1px solid rgba(0,0,0,.05);
    border-bottom-left-radius: 5px;
  }
  main .products ul li:last-child{
    border-bottom-right-radius: 5px;
  }
  main .products ul li:hover{
    background: rgba(155,155,155,.05);
    font-weight: bold;
  }
  main .products ul li.selected {
    box-shadow: inset 0 7px 18px -7px var(--color-dark);
    font-weight: bold;
  } */

  main .products{
    position: sticky;
    display: flex;
    justify-content: start;
    justify-items: start;
    top: 0;
    height: 4.5rem;
    margin-top: -8rem;
    background: var(--color-background);
    z-index: 10;
    box-shadow: -1px -2px 2px rgba(33,33,33,.1);
  }
  main .products a{
    margin-top: 2rem;
  color: var(--color-dark);
  text-decoration: none;
  font-size: 1.2em;
  text-transform: uppercase;
  font-weight: bold;
  display: inline-block;
  width: 12rem;
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
  text-align: center;

  }
    main .products a:hover{
       color: var(--color-logo);
    }

    main .products .dot {
      position: absolute;
      top: 0;
      left: 0;
      width: 6px;
  height: 6px;
  margin-top: 3.2rem;
  background: var(--color-logo);
  border-radius: 50%;
  opacity: 0;
  -webkit-transform: translateX(30px);
  transform: translateX(30px);
  -webkit-transition: all 0.2s ease-in-out;
  transition: all 0.2s ease-in-out;
    }

    main .products a:nth-child(1):hover ~ .dot {
      -webkit-transform: translateX(5.75rem);
      transform: translateX(5.75rem);
      -webkit-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
      opacity: 1;
    }

    main .products a:nth-child(2):hover ~ .dot {
      -webkit-transform: translateX(calc(5.75rem + 12rem));
      transform: translateX(calc(5.75rem + 12rem));
      -webkit-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
      opacity: 1;
    }

    main .products a:nth-child(3):hover ~ .dot {
      -webkit-transform: translateX(calc(5.75rem + 24rem));
      transform: translateX(calc(5.75rem + 24rem));
      -webkit-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
      opacity: 1;
    }

    main .products a:nth-child(4):hover ~ .dot {
      -webkit-transform: translateX(calc(5.75rem + 36rem));
      transform: translateX(calc(5.75rem + 36rem));
      -webkit-transition: all 0.2s ease-in-out;
      transition: all 0.2s ease-in-out;
      opacity: 1;
    }

  #subAccounts-table button.btn.add-btn{
    width: 40%;
    background: var(--color-logo);
    margin: 5px 0;
  }
  #subAccounts-table button.btn.add-btn:disabled{
    background-color: var(--color-logo-variant);
  }
  .add-input {
    width: 100%;
    text-align: center;
  }

  /* Profilo card */

  .profile-card {
    display: flex;
    position: sticky;
    top: 8rem;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border-radius: 1rem;
    padding: 2rem;
    padding-top: 0.4rem;
    border: 1px solid var(--color-dark-variant);
    background-color: var(--color-white);
  }

  .profile-card img {
    border-radius: 50%;
    width: 55%;
    margin-top: -3rem;
    border: 1px solid var(--color-dark);
    margin-bottom: .4rem;
  }
  .profile-card p {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: var(--color-dark);
    line-height: 2rem;
    width: 100%;
    text-align: center;
    margin-bottom: .9rem;
  }

  .profile-card a {
    padding: 5px 10px;
    margin: 10px auto;
    margin-bottom: 0;
    width: 8rem;
    text-decoration: none;
    text-transform: uppercase;
    color: var(--color-logo);
    border: 1px solid var(--color-logo);
    background: transparent;
    text-align: center;
    border-radius: var(--border-radius-1);
    transition: all ease .8s;
    font-weight: bold;
  }
  .profile-card a:hover {
    background: var(--color-logo);
    color: var(--color-white);
  }

  .profile-card p.nome-completo {
    display: block;
    font-weight: bolder;
    font-size: 1.8rem;
    margin-bottom: .9rem;
  }
  .profile-card p.email {
    font-size: 1rem;
  }
  .profile-card hr {
    clear: both;
    width: 40%;
    border-bottom: 1px solid var(--color-light);
  }
  .profile-card h3{
    margin-bottom: .3rem;
  }

  /* Accordion */

  nav.accordion {
    margin: auto;
    width: calc(100% - 3rem);
  }

  nav.accordion input {
    display: none;
  }
  nav.accordion .box {
    position: relative;
    background: var(--color-white);
    color: var(--color-dark);
    height: 64px;
    transition: all .15s ease-in-out;
  }
  nav.accordion .box::before {
    content: '';
    position: absolute;
    display: block;
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    pointer-events: none;
    box-shadow: 0 -1px 0 var(--color-light),0 0 2px var(--color-dark-variant),0 2px 4px var(--color-dark);
  }
  nav.accordion .box.first,
  nav.accordion .box.first::before{
    border-top-left-radius: var(--border-radius-3);
    border-top-right-radius: var(--border-radius-3);
  }
  nav.accordion .box.last,
  nav.accordion .box.last::before{
    border-bottom-left-radius: var(--border-radius-3);
    border-bottom-right-radius: var(--border-radius-3);
  }


  nav.accordion header.box {
    background: var(--color-dark);
    z-index: 100;
    cursor: initial;
    box-shadow: 0 -1px 0 var(--color-light),0 0 2px -2px var(--color-dark-variant),0 2px 4px -4px var(--color-dark);
    border-top-left-radius: var(--border-radius-3);
    border-top-right-radius: var(--border-radius-3);
  }
  nav.accordion header .box-title {
    margin: 0;
    font-weight: normal;
    font-size: 16pt;
    color: var(--color-white);
    cursor: initial;
  }
  nav.accordion .box .box-title {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: calc(100% - 40px);
    height: 64px;
    line-height: 64px;
    padding: 0 20px;
    /* display: inline-block; */
    cursor: pointer;
    -webkit-touch-callout: none;-webkit-user-select: none;-khtml-user-select: none;-moz-user-select: none;-ms-user-select: none;user-select: none;
  }
  nav.accordion .box .box-title{

  }
  nav.accordion .box .box-content {
    width: calc(100% - 40px);
    padding: 30px 20px;
    font-size: 11pt;
    color: var(--color-dark);
    display: none;
  }

  nav.accordion .box .box-content button {
    padding: 10px 15px;
    margin: 10px 5px;
    font-weight: bolder;
    color: var(--color-white);
    cursor: pointer;
  }
  nav.accordion .box .box-content button.ricorda{
    background: var(--color-warning);
  }
  nav.accordion .box .box-content button{
    background: var(--color-success);
  }
  nav.accordion .box .box-close {
    position: absolute;
    height: 64px;
    width: 100%;
    top: 0;
    left: 0;
    cursor: pointer;
    display: none;
  }
  nav.accordion input:checked + .box {
    height: auto;
    margin: 16px 0;
    box-shadow: 0 0 6px var(--color-dark-variant),0 6px 12px var(--color-dark);
  }
  nav.accordion input:checked + .box .box-title {
    border-bottom: 1px solid var(--color-dark-variant);
  }
  nav.accordion input:checked + .box .box-content,
  nav.accordion input:checked + .box .box-close {
    display: inline-block;
  }
  nav.accordion.arrows section .box-title {
    padding-left: 44px;
    width: calc(100% - 64px);
  }
  nav.accordion.arrows section .box-title:before {
    position: absolute;
    display: block;
    content: '\203a';
    font-size: 18pt;
    left: 20px;
    top: -2px;
    transition: transform .15s ease-in-out;
    color: var(--color-dark);
  }
  nav.accordion input:checked + section.box .box-title:before {
    transform: rotate(90deg);
  }

#subAccounts-table button{
  background: transparent;
  border: none;
  cursor: pointer;
}

#subAccounts-table i.fa-1x{
  font-size: 1.4rem!important;
  margin: 0 auto;
}
.conferma-box {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0,0,0,.4);

  display: none;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  align-items: center;

  z-index: 1000;
}
.conferma-box.active {
  display: flex;
}
.conferma-box .ricuadro .button-box{
  display: flex;
  justify-content: space-around;
  align-items: stretch;
  align-content: stretch;
  width: 100%;
  height: 2rem;
}
.ricuadro {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 15px;
  background: rgba(255, 255, 255, 0.7);
  border: 3px inset white;
  height: 15rem;
  width: 40rem;
}
.conferma-box .ricuadro .button-box button{
  width: 40%;
  color: white;
  cursor: pointer;
}
.conferma-box .ricuadro .button-box button:nth-child(1){
  background: var(--color-logo);
}
.conferma-box .ricuadro .button-box button:nth-child(2){
  background: var(--color-danger);
}
.blured{
  filter: blur(3px);
}
.messages {
  position: absolute;
  top: 2rem;
  left: 0;
  right: 0;
  text-align: center;
  padding: 10px 20px;
}

.thank-icon {
  position: relative;
  width: 30rem;
  height: 10rem;
  left: 50%;
  transform: translateX(-50%);
  border-radius: 70px;
  background: var(--color-logo);
  margin-top: 50px;
}

.thank-icon::after, .thank-icon::before {
  content: '';
  position: absolute;
  background: var(--color-logo);
  border-radius: 70px;
  width: 30rem;
  height: 10rem;
  transform: rotate(60deg);
}

.thank-icon::before {
  transform: rotate(-60deg);
  background: var(--color-logo);
  z-index: 0;
}
.thank-icon{
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
.thank-icon svg{
  width: 20rem;
  z-index: 2;
}
.thank-icon svg path {
  fill: var(--color-logo-variant);
  stroke: #dcdc47;
  stroke-width:4;
  stroke-dasharray:1700;
  animation: anima 4s linear infinite;
  filter:blur(2px);
}
.thank-text{
  position: absolute;
border: 2px solid #dcdc47;
padding: 10px 20px;
color: var(--color-dark);
z-index: 2;
font-size: 2rem;
backdrop-filter: blur(4px);
top: 30.5rem;
left: 47%;
transform: translateX(-50%);
}
.thank-text .overlay {

}
@keyframes anima {
  0% {
    stroke-dashoffset:3400;
    fill:rgba(134, 136, 135,.2);
  }
  5% {
    fill: rgba(134, 136, 135,.3);
  }
  10% {
    fill: rgba(134, 136, 135,.4);
  }
  15% {
    fill: rgba(134, 136, 135,.5);
  }
  20% {
    fill: rgba(134, 136, 135,.6);
  }
  25% {
    fill: rgba(134, 136, 135,.7)
  }
  30% {
    fill: rgba(134, 136, 135,.8)
  }
  35% {
    fill: rgba(134, 136, 135,.9)
  }
  40% {
    fill: rgba(134, 136, 135,1)
  }
  45% {
    fill: rgba(134, 136, 135,.9)
  }
  50% {
    fill: rgba(134, 136, 135,1)
  }
  55% {
    fill: rgba(134, 136, 135,.9);
  }
  60% {
    fill: rgba(134, 136, 135,1);
  }
  65% {
    fill: rgba(134, 136, 135,.9);
  }
  70% {
    fill: rgba(134, 136, 135,.8);
  }
  75% {
    fill: rgba(134, 136, 135,.7)
  }
  80% {
    fill: rgba(134, 136, 135,.6)
  }
  85% {
    fill: rgba(134, 136, 135,.5)
  }
  90% {
    fill: rgba(134, 136, 135,.4)
  }
  95% {
    fill: rgba(134, 136, 135,.3)
  }
  100% {
    stroke-dashoffset:0;
    fill: rgba(134, 136, 135,.2)
  }
}

.notifica {
  text-align: center;
  font-size: 1.1rem;
}

.invito {
  padding: 5px 10px;
  border: 1px solid;
  margin-right: 10px;
}
p.timer {
  display: flex;
  flex-direction:row;
  justify-content: space-around;
  align-items: center;
  padding: 5px;
  margin-top: 5px;
  color: var(--color-logo-variant);
  border: 1px solid var(--color-logo-variant);
  border-radius: var(--card-border-radius);
  background-color: var(--color-white);
  font-size: 1.1rem;
}
p.timer #sesTimer{
  color: var(--color-logo);
}

.add-alias svg{
  fill:#00acee;
  height: 1.6rem;
  margin: 0 auto;
}

.box.box-flex.last {
  display: flex;
  justify-content: center;
  align-items: center;
}
.box.box-flex.last h1{
  margin: 0;
  font-weight: 400;
  font-size: 1.4rem;
}

#box2 div {
	display:flex;
	justify-content:center;
	align-items: center;
	padding: 4px 10px;
	gap: 5px;
	background: var(--color-light);
}
#box2 div span {
	display:inline-block;
	vertical-align: center;
	font-size: 1.2rem;
	font-weight: 300;
}
.gestioneAbbonamenti{
  text-transform: uppercase;
  line-height: 1.4rem;
  text-align: center;
  padding: 5px 10px;
  border: 1px solid var(--color-logo);
  border-radius: 10px;
  background: var(--color-logo);
  color: white;
}

.info-cont {
  display: flex;
  flex-direction: column;
  background: var(--color-white);
  border-radius: var(--card-border-radius);
  padding: var(--card-padding);
  box-shadow: var(--box-shadow);
  gap: 10px;
  transition: all ease 500ms;
}

.info-cont div h3{
  text-transform: uppercase;
  text-align: center;
  margin-bottom: 5px;
}
.info-cont div p {
  text-align: justify;
}
.info-cont .info-buttons {
  margin-top: 10px;
  display: flex;  
  gap: 10px;
  justify-content: space-around;
  align-items: center;
}
.info-cont:hover{
  box-shadow: none;
}
.info-cont .info-button {
  padding: 5px 10px;
  border: 1px solid var(--color-logo);
  color: var(--color-logo);
  border-radius: 5px;
}
.info-cont .info-button:hover{
  background: var(--color-logo);
  color: var(--color-white);
  cursor: pointer;
}
.info-box {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  backdrop-filter: blur(2px);
  background-color: rgba(0, 0, 0, .7);
  z-index: 100;
}
.info-box.active{
  display: block;
}
.info-box .info{
  position: relative;
  height: 90vh;
  width: 50vw;
  left: 25vw;
  top: 5vh;
  background: var(--color-white);
  padding: var(--card-padding);
  border-radius: var(--card-border-radius);
  display: flex;
  flex-direction: column;
  gap: 10px;
  justify-content: center;
  font-size: 1rem;
}
.info-box .info h2{
  margin-bottom: 30px;
  align-self: center;
}
.info-box .info li {
  color: var(--color-dark-variant);
  list-style: disclosure-closed;
  margin-bottom: 20px;
}
.phishing {
  width: 1.5rem;
}
.phishing.success{
  fill:var(--color-logo);
}
.phishing.danger{
  fill:var(--color-danger);
}
.no-telefono {
  width: 60%;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.no-telefono #suffisso{
  position: relative;
  width: 25%;
  text-align: center;
  border-radius: 5px;
  border-bottom-right-radius: 0;
  border-top-right-radius: 0;
  border: 1px solid var(--color-logo-variant);
  border-right: none;
  background-color: #e2e2e2;
  padding: 5px 10px;
  line-height: 1.1rem;
}

.box form .no-telefono input{
  width: 75%;
  border-bottom-left-radius: 0;
  border-top-left-radius: 0;
}
.barred {
    position: relative;
    white-space: nowrap; /* would center line-through in the middle of the wrapped lines */
}

.barred:after {
    border: 1px solid black;
	border-image: linear-gradient(45deg, #fcc0c0,#fa5555 ,#f77474) 1;
    position: absolute;
    content: "";
    right: 0;
    top:50%;
    left: 0;
	animation: gradient-animation 5s infinite;
}


@keyframes gradient-animation {
  0% {
    border-image: linear-gradient(45deg, #fcc0c0,#fa5555 ,#f77474) 1;
  }
	25%{
		border-image: linear-gradient(45deg, #f77474, #fcc0c0, #fa5555) 1;
	}
  50% {
    border-image: linear-gradient(45deg, #fa5555, #f77474,#fcc0c0) 1;
  }
	75% {
		border-image: linear-gradient(45deg, #fcc0c0,#fa5555 ,#f77474) 1;
	}
  97% {
    border-image: linear-gradient(45deg, #f77474, #fcc0c0, #fa5555) 1;
  }
}

form#tickets{
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	height: 80%;
	width:60%;
	gap: 1.4rem;
	margin: 0 auto;
}
form#tickets p{
	display:flex;
	flex-direction: column;
	width:100%;
}
form#tickets p.choice {
 	flex-direction: row;
	justify-content: space-evenly;
	align-items: center;
	gap: 5px;
	background: var(--color-white);
	color: var(--color-dark);
	border: 1px solid var(--color-logo-variant);
	padding: 5px 15px;
	border-radius: 5px;
	justify-self: start;
	align-self: start;
}
form#tickets p input{
	padding: 10px 15px;
	border-radius: 5px;
	border: 1px solid var(--color-logo-variant);
	width: 100%;
	background: var(--color-white);
	color: var(--color-dark);
}
form#tickets p.choice input {
	display:none;
}
form#tickets p.choice label {
	padding: 5px 10px;
	background: #ccc;
	color: #888;
	border-radius: 5px;
	cursor:pointer;
}
form#tickets p.choice input:checked + label {
	background: var(--color-logo);
	color: white;
}
form#tickets p input[type=submit]{
	background: var(--color-logo);
	color: white;
	text-transform: uppercase;
	font-weight: bold;
	letter-spacing: 3px;
}
form#tickets p textarea {
 	resize: none;
	border: 1px solid var(--color-logo-variant);
	border-radius: 5px;
	overflow: auto;
	padding: 10px 15px;
	background: var(--color-white);
	color: var(--color-dark);
}
.messages {
	position: absolute;
	top: 20px;
}

.thank-update{
	  position: absolute;
padding: 10px 20px;
color: var(--color-dark);
z-index: 2;
font-size: 1.2rem;
top: 34.5rem;
left: 47%;
transform: translateX(-50%);
}
.thank-form{
	border:1px solid var(--color-logo-variant);
	border-radius:10px;
	  position: absolute;
	display:flex;
	flex-direction:column;
	gap:15px;
padding: 10px 20px;
color: var(--color-dark);
z-index: 2;
font-size: 1.2rem;
top: 38.5rem;
left: 47%;
transform: translateX(-50%);
	width:40%;
}
.thank-form p {
	display:flex;
	flex-direction:column;
	align-items:center;
}
.thank-form input{
	width:60%;
	padding: 5px 10px;
	border-radius: 5px;
}
.thank-form input[type=submit]{
	align-self:center;
	width: 30%;
	color:white;
	background: var(--color-logo);
}
a.thank-btn {
	position:absolute;
	top: 38.5rem;
	left:47%;
	transform:translateX(-50%);
	padding: 10px 15px;
	background: var(--color-primary);
	color: white;
	border-radius: 5px;
}
.container-flex form p.privacy-box{
	flex-direction:row;
	justify-content: center;
	gap: 10px;
}
#privacy_policy{
	width: 10px;
}