body {
  background-color: #1e1e1e;
  color: darkgray;
}

#wrapper #content-wrapper {
  background-color: #1e1e1e;
}

.nav-link:hover .sidebar-icon {
  opacity: 1;
}

.nav-item.active .nav-link .sidebar-icon {
  opacity: 1;
}

.sidebar-icon {
  opacity: .3;
}

.topbar.navbar-light .navbar-nav .nav-item .nav-link {
  color: white;
}

.text-responsive {
  font-size: calc(100% + 1vw + 1vh);
}

.card-stretch {
  height: calc(100% - 1.5rem);
}

.card {
  border-color: rgb(22, 22, 22);
  background-color: rgb(22, 22, 22);
  border-radius: 1rem;
}

.card-header {
  border-color: rgb(22, 22, 22);
  background-color: rgb(22, 22, 22);
  border-radius: 1rem;
}

.card-header:first-child {
  border-radius: calc(1rem - 1px) calc(1rem - 1px) 0 0;
}

.text-white-forced {
  color: white !important;
}

.text-white-forced td {
  color: white !important;
}

.bg-danger-soft {
  background-color: #e3847c !important;
}

.bg-login {
  margin: 0;
  height: 100vh;
  background: linear-gradient(135deg,
      #b2eaea 0%,
      #b2eaea 25%,
      #a0e6e6 25%,
      #a0e6e6 50%,
      #8cd9d9 50%,
      #8cd9d9 75%,
      #78cece 75%,
      #78cece 100%);
  background-repeat: no-repeat;
  background-size: 100% 100%;
  font-family: sans-serif;
}

.bg-gradient-login {
  background-color: #378a84;
  background-image: linear-gradient(180deg, #5cd4cc 10%, #378a84 100%);
  background-size: cover;
}

.bg-login-image {
  background: url("/img/login-hero.jpg");
  background-position: center;
  background-size: cover;
}

.bg-register-image {
  background: url("/img/register-hero.jpg");
  background-position: center;
  background-size: cover;
}

.bg-password-image {
  background: url("/img/recover-hero.jpg");
  background-color: #6eded3;
  background-position: bottom;
  background-size: 80%;
  background-repeat: no-repeat;
}

.help-block {
  margin-bottom: 1rem;
}

.invalid-feedback {
  display: block;
  margin-bottom: 1rem;
}

.bg-taxman-green {
  background-color: #6eded3;
}

.clouds {
  z-index: -1;
  background-color: #6eded3;
  background-image: url("/img/clouds.png");
  position: absolute;
  width: 800%;
  height: 100%;
  /*background-size: contain;*/
  background-size: 467px auto;
  background-position: 100% bottom;
  background-repeat: repeat-x;
  transform: translate3d(0, 0, 0);
  /*animation: animatedBackground 5s ease-in-out infinite forwards alternate;*/
  animation: animatedBackground 15s linear infinite;
}

@keyframes animatedBackground {
  0% {
    transform: translate3d(0, 0, 0);
  }

  100% {
    /*transform: translate3d(-50%,0,0);*/
    transform: translate3d(-467px, 0, 0);
  }
}

.dataTables_wrapper div.row div.col-sm-12 {
  overflow-x: scroll;
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE and Edge */
  padding-left: 0;
  padding-right: 0;
}

.dataTables_wrapper div.row div.col-sm-12::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

.dataTables_wrapper div.row {
  margin-left: 0;
  margin-right: 0;
}

@media (max-width: 767px) {

  /*.container-fluid table {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem) !important;
  }*/
  .sm-fill {
    margin-left: -1.5rem;
    margin-right: -1.5rem;
    width: calc(100% + 3rem);
    border-radius: 0;
  }
}

a.stealth {
  color: darkgray;
  text-decoration: none;
}

.text-white-forced a.stealth {
  color: white;
}

img.ricevuta {
  height: 400px;
  border: 1px solid rgb(209, 211, 226);
  border-radius: 4px;
}

.retard-float-right {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
}

.bg-black {
  background-color: #000 !important;
}

.bg-primary {
  background-color: #5cd4cc !important;
}

.bg-blue {
  background-color: #0d6efd !important;
}

.btn-primary {
  color: azure;
  background-color: #378a84;
  border-color: #378a84;
}

.btn-primary.disabled,
.btn-primary:disabled {
  color: azure;
  background-color: #378a84;
  border-color: #5cd4cc46;
}

.btn-primary:hover {
  color: azure;
  background-color: #265f5b;
  border-color: #265f5b;
}

.btn-primary:focus,
.btn-primary.focus {
  color: azure;
  background-color: #265f5b;
  border-color: #265f5b;
  box-shadow: 0 0 0 0.2rem rgba(55, 138, 132, 0.5);
}

.btn-primary:not(:disabled):not(.disabled):active,
.btn-primary:not(:disabled):not(.disabled).active,
.show>.btn-primary.dropdown-toggle {
  color: azure;
  background-color: #265f5b;
  border-color: #265f5b;
}

.btn-purple {
  color: #fff;
  background-color: #7b83ca;
  border-color: #7b83ca;
}

.btn-purple:hover {
  color: #fff;
  background-color: #6269a2;
  border-color: #6269a2;
}

.btn-purple:focus,
.btn-purple.focus {
  color: #fff;
  background-color: #6269a2;
  border-color: #6269a2;
  box-shadow: 0 0 0 0.2rem rgba(55, 138, 132, 0.5);
}

.btn-purple:not(:disabled):not(.disabled):active,
.btn-purple:not(:disabled):not(.disabled).active,
.show>.btn-purple.dropdown-toggle {
  color: #fff;
  background-color: #6269a2;
  border-color: #6269a2;
}

.form-control::-webkit-input-placeholder {
  color: #b0b1b6;
  font-style: italic;
  opacity: 1;
}

.form-control::-moz-placeholder {
  color: #b0b1b6;
  font-style: italic;
  opacity: 1;
}

.form-control:-ms-input-placeholder {
  color: #b0b1b6;
  font-style: italic;
  opacity: 1;
}

.form-control::-ms-input-placeholder {
  color: #b0b1b6;
  font-style: italic;
  opacity: 1;
}

.form-control::placeholder {
  color: #b0b1b6;
  font-style: italic;
  opacity: 1;
}

.profile h5 {
  font-weight: bold;
  margin-top: 1.5rem;
  margin-bottom: 1.5rem;
}

.list-accessory {
  background-color: rgb(42, 42, 42);
}

.list-group-item {
  background-color: rgb(42, 42, 42);
  border-color: black;
}

.list-group-item.active .list-accessory {
  background-color: #4e73df;
}

.StripeElement {
  box-sizing: border-box;

  height: 40px;

  padding: 10px 12px;

  border: 1px solid transparent;
  border-radius: 4px;
  background-color: white;

  box-shadow: 0 1px 3px 0 #e6ebf1;
  -webkit-transition: box-shadow 150ms ease;
  transition: box-shadow 150ms ease;
}

.StripeElement--focus {
  box-shadow: 0 1px 3px 0 #cfd7df;
}

.StripeElement--invalid {
  border-color: #fa755a;
}

.StripeElement--webkit-autofill {
  background-color: #fefde5 !important;
}

@media (max-width: 920px) {
  .send_fattura {
    width: 100%;
    margin-bottom: .5em;
  }
}

@media (min-width: 576px) {
  #tipo_pratica {
    min-width: 180px;
  }
}

@media (min-width: 992px) {
  .w-lg-100 {
    width: 100% !important;
  }

  .w-lg-75 {
    width: 75% !important;
  }

  .w-lg-50 {
    width: 50% !important;
  }

  .w-lg-25 {
    width: 25% !important;
  }

  .h-lg-100 {
    height: 100% !important;
  }

  .h-lg-75 {
    height: 75% !important;
  }

  .h-lg-50 {
    height: 50% !important;
  }

  .h-lg-25 {
    height: 25% !important;
  }
}

@media (min-width: 1280px) {
  .col-xxl-2 {
    flex: 0 0 16.66667%;
    max-width: 16.66667%;
  }
}

.table-new {
  width: 100%;
  margin-bottom: 1rem;
  color: #858796;
}

.table-new tr.active {
  background-color: #43485b;
  color: white;
}

.table-new td {
  padding: 0.75rem;
  vertical-align: middle;
  border-bottom: 1px solid #43485b;
}

.table-new tr:last-child td {
  border-bottom: none;
}

.table-new thead th {
  vertical-align: bottom;
}

.table-new tbody + tbody {
  border-top: 2px solid #e3e6f0;
}

table.dataTable.dt-checkboxes-select tbody tr,
table.dataTable thead th.dt-checkboxes-select-all,
table.dataTable tbody td.dt-checkboxes-cell {
  cursor: default !important;
}

.form-control-outline {
  background-color: white !important;
  border-color: #9F9F9F !important;
}

.btn-black {
  background-color: black;
  color: white;
}

.text-darker {
  color: white;
}

.text-black {
  color: black;
}

.text-small {
  font-size: 12px;
}

.text-smaller {
  font-size: 10px;
}

.smaller {
  /*font-size: 70%;*/
  font-weight: 400;
}

.custom-switch.big {
  /* padding-left: 4rem; */
}

.custom-switch.big label {
  padding-left: .65em;
}

.custom-switch.big .custom-control-label::before {
  left: -2.25rem;
  width: 2.4rem;
  height: 1.5rem;
  pointer-events: all;
  border-radius: 3rem;
  top: -1px;
}

.custom-switch.big .custom-control-label::after {
  top: calc(0.2rem - 1px);
  left: calc(-2.25rem + 2px);
  width: calc(1.4rem - 4px);
  height: calc(1.4rem - 4px);
  background-color: #b7b9cc;
  border-radius: 1rem;
  transition: transform 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
}

.custom-switch.big .custom-control-input:checked~.custom-control-label::after {
  background-color: #fff;
  transform: translateX(0.9rem);
}

.dichiarazione-header {
  margin-left: -1.5rem;
  margin-right: -1.5rem;
  margin-top: -1.5rem;
  margin-bottom: 1.5rem;
  padding: 1.5rem;
  background-color: #363636;
}

.steps {
  padding: 0;
  margin: 0;
  list-style: none;
  display: flex;
  overflow-x: auto;
}

.steps .step:first-child {
  margin-left: auto;
}

.steps .step:last-child {
  margin-right: auto;
}

.step:first-of-type .step-circle::before {
  display: none;
}

.step:last-of-type .step-content {
  padding-right: 0;
}

.step-content {
  box-sizing: content-box;
  display: flex;
  align-items: center;
  flex-direction: column;
  width: 7.5rem;
  min-width: 7.5rem;
  max-width: 7.5rem;
  padding-top: 0.5rem;
  padding-right: 1rem;
}

.step-circle {
  font-size: 18px;
  position: relative;
  display: flex;
  justify-content: center;
  align-items: center;
  width: 3rem;
  height: 3rem;
  color: gray;
  border: 2px solid #464646;
  border-radius: 100%;
  background-color: #464646;
}

.step-circle::before {
  content: '';
  display: block;
  position: absolute;
  top: 50%;
  left: -2px;
  width: calc(7.5rem + 1rem - 3rem);
  height: 2px;
  transform: translate(-100%, -50%);
  color: #464646;
  background-color: currentColor;
}

.step-text {
  color: gray;
  word-break: break-all;
  margin-top: 0.25em;
}

.step-active .step-circle {
  color: white;
  background-color: #5cd4cc;
  border-color: #5cd4cc;
}

.step-active .step-circle::before {
  color: white;
}

.step-active .step-text {
  color: #5cd4cc;
}

.step-success .step-circle {
  color: black;
  background-color: white;
  border-color: white;
}

.step-success .step-circle::before {
  color: white;
}

.text-taxman-green {
  color: #6eded3 !important;
}

.bg-gray {
  background-color: #1e1e1e !important;
}

hr {
  border-top: 1px solid rgba(255, 255, 255, 0.2);
}

.login-logo {
  display: inline-block;
  width: 111px;
  height: 30px;
  background-image: url("/img/logo_text.png") !important;
  background-size: contain;
}

.form-control-user {
  border-radius: 0 !important;
}

.btn-user {
  border-radius: 6px !important;
}

.bg-gradient-primary {
  background-color: #000;
  background-image: none;
  background-size: cover;
}

.bg-white {
  background-color: rgb(42, 42, 42) !important;
}

.btn-light {
  color: darkgray;
  border-color: black;
  background-color: rgb(42, 42, 42);
}

.btn-light:focus,
.btn-light.focus {
  color: darkgray;
  border-color: black;
  background-color: rgb(42, 42, 42);
}

.btn-light:not(:disabled):not(.disabled):active,
.btn-light:not(:disabled):not(.disabled).active,
.show>.btn-light.dropdown-toggle {
  color: darkgray;
  border-color: black;
  background-color: rgb(42, 42, 42);
}

.btn-light:hover {
  color: darkgray;
  border-color: black;
  background-color: rgb(42, 42, 42);
}

.bootstrap-select .no-results {
  background: rgb(42, 42, 42) !important;
}

.bootstrap-select .dropdown-menu {
  max-width: 100% !important;
}

.text-gray-900 {
  color: white !important;
}

.text-gray-800 {
  color: darkgray !important;
}

.text-gray-300 {
  color: gray !important;
}



.topbar .topbar-divider {
  border-color: #333333;
}

.table thead th {
  border-color: rgb(15, 15, 15);
}

.table th,
.table td {
  border-color: rgb(15, 15, 15);
}

.table-bordered th,
.table-bordered td {
  border-color: rgb(15, 15, 15);
  color: darkgray;
}

.table-bordered {
  border-color: rgb(15, 15, 15);
  background-color: #2a2a2a;
  color: darkgray;
}

.border {
  border-color: black !important;
}

.progress {
  background-color: gray;
}

.form-control,
.form-control:focus {
  border-color: black;
  background: rgb(42, 42, 42);
  color: darkgray;
}

.form-control:disabled,
.form-control[readonly] {
  background-color: #141515;
  opacity: 1;
}

.custom-select,
.custom-select:focus {
  border-color: black;
  background: rgb(42, 42, 42) url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 4 5'%3e%3cpath fill='white' d='M2 0L0 2h4zm0 5L0 3h4z'/%3e%3c/svg%3e") no-repeat right .75rem center/8px 10px !important;
  color: darkgray;
}

.page-item.disabled .page-link {
  border-color: black;
  background-color: rgb(42, 42, 42);
}

#sums .currency-input {
  background-color: rgb(22, 22, 22);
}

.custom-file-label {
  background-color: black;
  border-color: black;
}

.custom-file-label::after {
  background-color: rgb(42, 42, 42);
}

.input-group-text {
  background-color: rgb(42, 42, 42);
  border-color: black;
  color: darkgray;
}

.text-primary {
  color: #7e96df !important;
}

.modal-content {
  background-color: rgb(42, 42, 42);
  color: darkgray;
}

.modal-header {
  border-color: black;
}

.modal-footer {
  border-color: black;
}

.close {
  color: darkgray;
}

.close:hover {
  color: white;
  text-decoration: none;
}

.popover {
  background-color: black;
}

.popover-body {
  color: darkgray;
}

.bs-popover-left>.arrow::after,
.bs-popover-auto[x-placement^="left"]>.arrow::after {
  border-left-color: black;
}

.dropdown-menu {
  background-color: rgb(42, 42, 42);
  border-color: rgb(42, 42, 42);
  color: darkgray;
}

.dropdown-item {
  color: darkgray;
}

.dropdown-item:hover,
.dropdown-item:focus {
  color: black !important;
}

.dropdown-divider {
  border-color: black;
}

.navbar-light .navbar-nav .nav-link:hover,
.navbar-light .navbar-nav .nav-link:focus {
  color: white;
}

.navbar-light .navbar-brand {
  color: white;
}

.navbar-light a:hover {
  color: white;
}

.form-control-sm {
  padding-top: 4px !important;
  padding-bottom: 4px !important;
}