:root {
    --published: #00cdcd;
    --suspended: #ffbb00;
    --closed: #aabbcc;
    --sell: #ff8744;
    --buy: #25d845;
    --pos: #234;
    --neg: #012;
    --tcc: #305baa;
}

.bg-color1 {
    background: linear-gradient(340deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 220, 200, 0.1) 100%) !important;
}

.bg-color2 {
    background: linear-gradient(340deg, rgba(255, 255, 255, 0.1) 0%, rgba(200, 210, 255, 0.1) 100%) !important;
}

.bg-color2f {
    background-color: #fafbff!important;
}

.text-success {
    background: -webkit-linear-gradient(45deg, #2573d8, #25d845 80%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
}

.btn-published {
    background: linear-gradient(to bottom right, var(--published) 0%, #00cdcd 100%);
    border: 0px solid #fff;
}

.border-published {
    border-color: var(--published) !important;
}

.text-published {
    color: var(--published)
}

.bg-published {
    background-color: var(--published) !important;
}

.btn-suspended {
    background: linear-gradient(to bottom right, var(--suspended) 0%, #f0ad4e 100%);
    background-color: rgba(0, 0, 0, 0);
    border: 0px solid #fff;
}

.border-suspended {
    border-color: var(--suspended) !important;
}

.text-suspended {
    color: var(--suspended)
}

.bg-suspended {
    background-color: var(--suspended) !important;
}

.btn-closed {
    background: linear-gradient(to bottom right, var(--closed) 0%, #778899 100%);
    background-color: rgba(0, 0, 0, 0);
    border: 0px solid #fff;
}

.border-closed {
    border-color: var(--closed) !important;
}

.text-closed {
    color: var(--closed)
}

.bg-closed {
    background-color: var(--closed) !important;
}


.border-sell {
    border-color: var(--sell) !important;
}

.bg-sell {
    background-color: var(--sell) !important;
}

.text-sell {
    color: var(--sell) !important;
}

.bg-text-sell {
    background-color: var(--neg) !important;
    color: var(--pos) !important;
    padding: 4px;
    width: 1.5rem;
    height: 1.5rem;
}

.border-buy {
    border-color: var(--buy) !important;
}

.bg-buy {
    background-color: var(--buy) !important;
}

.text-buy {
    color: var(--buy) !important;
}

.bg-text-buy {
    background-color: var(--pos) !important;
    color: var(--neg) !important;
    padding: 4px;
    width: 1.5rem;
    height: 1.5rem;
}

.rounded-0 {
    border-radius: 0 !important;
}

.border-2 {
    border-width: 2px;
}

.filtered {
    filter: blur(4px);
    transform: scaleX(-1);
    pointer-events: none;
    /* Disattiva gli eventi del mouse */
}

.condensed {
    font-family: 'Roboto Condensed';
}

.offcanvas {
    --bs-offcanvas-height: 80vh !important;
    overflow: scroll;
}

.mh-38vh {
    min-height: 38vh;
}

.truncate-collapse {
    position: relative;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    /* Limit to 3 lines */
    -webkit-box-orient: vertical;
    cursor: pointer;
    transition: max-height 0.95s ease-in-out;
    max-height: 4.5em;
    /* Approx 3 lines worth of text */
}

.expanded {
    -webkit-line-clamp: unset;
    /* Allow full content */
    overflow: visible;
    max-height: 1000em;
    /* Ensures it can fully expand */
}



  .fs-2,
  .fs-3,
  .fs-4,
  .fs-5,
  .fs-6 {
    color: var(--pos) !important;
    line-height: 1.2 !important;
  }

  .fs-xs {
    font-size: x-small;
  }

  .fs-xxs {
    font-size: xx-small;
  }

  .btn-outline-dark {
    border-color: var(--neg) !important;
    color: var(--pos);
  }

  .btn-dark {
    background-color: var(--neg) !important;
    border-color: var(--neg) !important;
  }

  .text-dark,
  .link-dark {
    color: var(--neg) !important;
  }

  .vh100 {
    height: 100vh;
  }

  .vh70 {
    min-height: 70vh;
  }

  .vh50 {
    min-height: 50vh;
  }

  .vh38 {
    min-height: 38vh;
  }

  .active-language, .text-primary {
    color: var(--tcc)!important;
  }

  @-webkit-keyframes fadeInUp {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 10%, 0)
    }

    to {
      opacity: 1;
      -webkit-transform: translateZ(0);
      transform: translateZ(0)
    }
  }

  @keyframes fadeInUp {
    0% {
      opacity: 0;
      -webkit-transform: translate3d(0, 100%, 0);
      transform: translate3d(0, 10%, 0)
    }

    to {
      opacity: 1;
      -webkit-transform: translateZ(0);
      transform: translateZ(0)
    }
  }

  .animate__fadeInUp {
    -webkit-animation-name: fadeInUp;
    animation-name: fadeInUp
  }

  .dropdown-menu {
    min-width: auto !important;
  }


  /* Custom modal style for responsive full-page look */
  .modal-dialog {
    width: calc(100% - 1%);
    /* 10% margin on both sides */
    height: calc(100% - 1%);
    /* 10% margin on top and bottom */
    margin: 1% auto;
    max-width: 1080px;
  }

  .modal-content {
    height: 100%;
    /* Fill the height of the modal */
  }

  /* .modal-body {
    height: calc(100% - 56px);
    Subtract the header height
    padding: 0;
  } */

  .modal-body iframe {
    width: 100vh;
    height: 100%;
  }

  .letter-spacing-1 {
    letter-spacing: 0.1em !important
  }

  .condensed {
    font-family:'Roboto Condensed'!important;
  }
  