html, body {
    padding: 0;
    margin: 0;
}

body::-webkit-scrollbar {
    display: none;
}

body {
    -webkit-user-select: none;
	-webkit-tap-highlight-color: transparent;
	-webkit-touch-callout: none;
}

#login {
    background-image: url("../img/sfondo.svg");
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
    height: 100vh;
    width: 100vh;
}

#login #login_div .input-group span {
    background: #7097f0;
    color: #fff;
    box-shadow: inset 0 0 1.6em -0.6em #714da6;
}

.link_style {
  color: #0d6efd;
  text-decoration: underline;
  cursor: pointer;
}

/* Bottone login */
.button-io-button {
  /*background: #A370F0;*/
  background: #7097f0;
  color: white;
  font-family: inherit;
  padding: 0.35em;
  padding-left: 1.2em;
  font-size: 17px;
  font-weight: 500;
  border-radius: 0.9em;
  border: none;
  letter-spacing: 0.05em;
  display: flex;
  align-items: center;
  box-shadow: inset 0 0 1.6em -0.6em #714da6;
  overflow: hidden;
  position: relative;
  height: 2.8em;
  padding-right: 3.3em;
}

.button-io-button .icon {
  background: white;
  margin-left: 1em;
  position: absolute;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 2.2em;
  width: 2.2em;
  border-radius: 0.7em;
  /*box-shadow: 0.1em 0.1em 0.6em 0.2em #7b52b9;*/
  box-shadow: 0.1em 0.1em 0.6em 0.2em #3339ed;
  right: 0.3em;
  transition: all 0.3s;
}

.button-io-button:hover .icon {
  width: calc(100% - 0.6em);
}

.button-io-button .icon svg {
  width: 1.1em;
  transition: transform 0.3s;
  color: #7b52b9;
}

.button-io-button:hover .icon svg {
  transform: translateX(0.1em);
}

.button-io-button:active .icon {
  transform: scale(0.95);
}

/* Bottone vai a youtube */
.bottone_light {
  position: relative;
  padding: 0.5em 1.2em;
  outline: none;
  border: 1px solid #ff0000;
  background: #fff;
  color: #ff0000;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-size: 15px;
  overflow: hidden;
  transition: 0.2s;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.bottone_light:hover {
  box-shadow: 0 0 10px #ae00ff, 0 0 25px #001eff, 0 0 50px #ae00ff;
  transition-delay: 0.6s;
  color:#fff;
  background: #ff0000;
}

.bottone_light span {
  position: absolute;
}

.bottone_light span:nth-child(1) {
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #ff0000);
}

.bottone_light:hover span:nth-child(1) {
  left: 100%;
  transition: 0.7s;
}

.bottone_light span:nth-child(3) {
  bottom: 0;
  right: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #001eff);
}

.bottone_light:hover span:nth-child(3) {
  right: 100%;
  transition: 0.7s;
  transition-delay: 0.35s;
}

.bottone_light span:nth-child(2) {
  top: -100%;
  right: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(180deg, transparent, #ae00ff);
}

.bottone_light:hover span:nth-child(2) {
  top: 100%;
  transition: 0.7s;
  transition-delay: 0.17s;
}

.bottone_light span:nth-child(4) {
  bottom: -100%;
  left: 0;
  width: 2px;
  height: 100%;
  background: linear-gradient(360deg, transparent, #001eff);
}

.bottone_light:hover span:nth-child(4) {
  bottom: 100%;
  transition: 0.7s;
  transition-delay: 0.52s;
}

.bottone_light:active {
  background: #ae00af;
  background: linear-gradient(to top right, #ae00af, #001eff);
  color: #bfbfbf;
  box-shadow: 0 0 8px #ae00ff, 0 0 8px #001eff, 0 0 8px #ae00ff;
  transition: 0.1s;
}

.bottone_light:active span:nth-child(1) 
  span:nth-child(2) 
  span:nth-child(2) 
  span:nth-child(2) {
  transition: none;
  transition-delay: none;
}
 

#app {
    background: #f1f1f1;
}

#dropContainer {
    min-height: 300px;
}

.list-group-item {
    cursor: pointer;
}

.family {
    padding: 0.8em 1.8em;
    border: 2px solid #1257a5;
    position: relative;
    overflow: hidden;
    /*background-color: transparent;*/
    background-color: white;
    text-align: center;
    text-transform: uppercase;
    font-size: 16px;
    transition: .3s;
    z-index: 1;
    font-family: inherit;
    color: #1257a5;
}

.family.disabled {
  border: 2px solid #bf2424;;
  color:  2px solid #bf2424;;
}
.family.disabled:before {
  background-color: #bf2424;
}
   
.family::before {
    content: '';
    width: 0;
    height: 300%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(45deg);
    background: #1257a5;
    transition: .5s ease;
    display: block;
    z-index: -1;
}
   
.family:hover::before,
.family.active::before {
    width: 110%;
}
   
.family:hover,
.family.active {
    color: #fff;
}

.switch {
    --button-width: 3em;
    --button-height: 1.5em;
    --toggle-diameter: 1em;
    --button-toggle-offset: calc((var(--button-height) - var(--toggle-diameter)) / 2);
    --toggle-shadow-offset: 10px;
    --toggle-wider: 3em;
    --color-grey: #cccccc;
    --color-green: #4296f4;
}
   
.slider {
    display: inline-block;
    width: var(--button-width);
    height: var(--button-height);
    background-color: var(--color-grey);
    border-radius: calc(var(--button-height) / 2);
    position: relative;
    transition: 0.3s all ease-in-out;
}
   
.slider::after {
    content: "";
    display: inline-block;
    width: var(--toggle-diameter);
    height: var(--toggle-diameter);
    background-color: #fff;
    border-radius: calc(var(--toggle-diameter) / 2);
    position: absolute;
    top: var(--button-toggle-offset);
    transform: translateX(var(--button-toggle-offset));
    box-shadow: var(--toggle-shadow-offset) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
    transition: 0.3s all ease-in-out;
}
   
.switch input[type="checkbox"]:checked + .slider {
    background-color: var(--color-green);
}
   
.switch input[type="checkbox"]:checked + .slider::after {
    transform: translateX(calc(var(--button-width) - var(--toggle-diameter) - var(--button-toggle-offset)));
    box-shadow: calc(var(--toggle-shadow-offset) * -1) 0 calc(var(--toggle-shadow-offset) * 4) rgba(0, 0, 0, 0.1);
}
   
.switch input[type="checkbox"] {
    display: none;
}
   
.switch input[type="checkbox"]:active + .slider::after {
    width: var(--toggle-wider);
}
   
.switch input[type="checkbox"]:checked:active + .slider::after {
    transform: translateX(calc(var(--button-width) - var(--toggle-wider) - var(--button-toggle-offset)));
}
   
#dtc_list .table {
    table-layout: fixed;
}

/* loader */

#loader_container {
    display: flex;
}

.loader {
    width: 200px;
    height: 60px;
    position: relative;
    z-index: 1;
}
  
.circle {
    width: 20px;
    height: 20px;
    position: absolute;
    border-radius: 50%;
    background-color: #1257a5;
    left: 15%;
    transform-origin: 50%;
    animation: circle7124 .5s alternate infinite ease;
}
  
@keyframes circle7124 {
    0% {
      top: 60px;
      height: 5px;
      border-radius: 50px 50px 25px 25px;
      transform: scaleX(1.7);
    }
  
    40% {
      height: 20px;
      border-radius: 50%;
      transform: scaleX(1);
    }
  
    100% {
      top: 0%;
    }
}
  
.circle:nth-child(2) {
    left: 45%;
    animation-delay: .2s;
}
  
.circle:nth-child(3) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

.shadow_ani {
    width: 20px;
    height: 4px;
    border-radius: 50%;
    background-color: rgba(0,0,0,0.9);
    position: absolute;
    top: 62px;
    transform-origin: 50%;
    z-index: -1;
    left: 15%;
    filter: blur(1px);
    animation: shadow046 .5s alternate infinite ease;
}
  
@keyframes shadow046 {
    0% {
      transform: scaleX(1.5);
    }
  
    40% {
      transform: scaleX(1);
      opacity: .7;
    }
  
    100% {
      transform: scaleX(.2);
      opacity: .4;
    }
}
  
.shadow_ani:nth-child(4) {
    left: 45%;
    animation-delay: .2s
}
  
.shadow_ani:nth-child(5) {
    left: auto;
    right: 15%;
    animation-delay: .3s;
}

#risposta .form-floating input {
    text-transform: uppercase;
}

/*bottone ricordami*/
.btn-lock {
  /*position: absolute;
  top: calc(50% - 32px);
  left: calc(50% - 32px);*/
  display: inline-block;
  /*background: #ff5b5b;*/
  width: 44px;
  height: 44px;
  box-sizing: border-box;
  padding: 2px 0 0 8px;
  border-radius: 50%;
  cursor: pointer;
  -webkit-tap-highlight-color: transparent;
  filter: invert(30%) sepia(23%) saturate(5465%) hue-rotate(197deg) brightness(91%) contrast(89%);
}

.btn-lock svg {
  fill: none;
  transform: translate3d(0, 0, 0);
  transform: scale(0.8);
}

.btn-lock svg .bling {
  stroke: #fff;
  stroke-width: 2.5;
  stroke-linecap: round;
  stroke-dasharray: 3;
  stroke-dashoffset: 15;
  transition: all 0.3s ease;
}

.btn-lock svg .lock {
  stroke: #fff;
  stroke-width: 4;
  stroke-linejoin: round;
  stroke-linecap: round;
  stroke-dasharray: 36;
  transition: all 0.4s ease;
}

.btn-lock svg .lockb {
  fill: #fff;
  fill-rule: evenodd;
  clip-rule: evenodd;
  transform: rotate(8deg);
  transform-origin: 14px 20px;
  transition: all 0.2s ease;
}

#inpLock {
  display: none;
}

#inpLock:checked + label {
  /*background: #20cca5;*/
}

#inpLock:checked + label svg {
  opacity: 1;
}

#inpLock:checked + label svg .bling {
  animation: bling6132 0.3s linear forwards;
  animation-delay: 0.2s;
}

#inpLock:checked + label svg .lock {
  stroke-dasharray: 48;
  animation: locked 0.3s linear forwards;
}

#inpLock:checked + label svg .lockb {
  transform: rotate(0);
  transform-origin: 14px 22px;
}

@keyframes bling6132 {
  50% {
    stroke-dasharray: 3;
    stroke-dashoffset: 12;
  }

  100% {
    stroke-dasharray: 3;
    stroke-dashoffset: 9;
  }
}

@keyframes locked {
  50% {
    transform: translateY(1px);
  }
}

#licenza {
  max-height: 500px;
  overflow-y: scroll;
  padding: 2rem;
}

#licenza pre {
  overflow-wrap: break-word;
  white-space: pre-wrap;
}