#dsij-top-stocks {
  color: #000;
  background-color: #fff !important;
  padding: 12px 10px !important;
  box-shadow: rgba(0, 0, 0, 0.16) 0px 1px 4px;
  margin: 15px 0 !important;
}

#dsij-top-stocks .tabs {
  display: flex;
  margin-bottom: 10px;
}
#dsij-top-stocks .view-more-btn {
  margin: 15px auto;
  padding: 8px 30px;
  background-color: #0b5ed7;
  color: #fff;
  text-decoration: none;
  border-radius: 80px;
  font-size: 16px;
  text-align: center;
  display: block;
  text-align: center;
  width: fit-content;
}
#dsij-top-stocks .tabs .tab {
  font-size: 14px;
  cursor: pointer;
  padding: 5px 8px;
  border-radius: 5px;
  margin-right: 5px;
  background: #eee !important;
  /* line-height: 1.3em !important; */
}

#dsij-top-stocks .tabs .tab.gainer.active {
  background: #3cb33c !important;
  color: #fff !important;
}
#dsij-top-stocks .tabs .tab.loser.active {
  background: #ff0000 !important;
  color: #fff !important;
}

#dsij-top-stocks .ticker-link {
  color: #004aa6;
  font-weight: 500;
  text-transform: uppercase;
  clear: both;
  text-decoration: none !important;
  line-height: 1.3em !important;
}

#dsij-top-stocks td {
  padding: 6px 0 !important;
  border-bottom: 1px solid #d9d9d9;
  font-size: 15px;
}
#dsij-top-stocks table {
  width: 100%;
  border-collapse: collapse;
  border: 0 !important;
}

#dsij-top-stocks .green {
  color: #3cb33c;
}
#dsij-top-stocks .red {
  color: #ff0000;
}

#dsij-top-stocks .small {
  font-size: 12px;
  line-height: 1.3em !important;
  margin: 0 !important;
}

#dsij-top-stocks table td:nth-child(2) {
  text-align: right;
  text-align: -webkit-right;
}
#dsij-top-stocks table td:nth-child(2) p {
  width: max-content !important;
}

#dsij-top-stocks .stock-info {
  display: flex;
  text-align: left !important;
}
#dsij-top-stocks .branding {
  font-size: 17px;
  text-align: center;
  margin: 5px 0 0;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
  justify-content: center;
  align-self: center;
}

#dsij-top-stocks .branding span {
  text-decoration: underline !important;
  color: #0072ff !important;
}
.branding-logo {
  border-radius: 2px;
  width: 20px;
  height: 20px;
  margin-top: 3px;
}

#dsij-top-stocks .chart-line {
  min-width: 35px;
  height: 35px;
  border-radius: 50%;
  text-align: center;
  padding-top: 6px;
  margin-right: 5px;
  align-self: center;
}
#dsij-top-stocks svg {
  vertical-align: middle;
}
#dsij-top-stocks .tabs .tab.gainer.active .arrow-up {
  background: #fff !important;
  color: #3cb33c !important;
}
#dsij-top-stocks .tabs .tab.loser.active .arrow-down {
  background: #fff !important;
  color: #ff0000 !important;
}

#dsij-top-stocks .arrow-up,
#dsij-top-stocks .arrow-down {
  background: #000;
  color: #fff;
  border-radius: 50%;
  text-align: center;
  margin-right: 5px;
  width: 17px;
  font-size: 10px;
  float: left;
  display: inline-table;
  margin-top: 3px;
  line-height: 1.7em !important;
}

#dsij-top-stocks .last-updated {
  font-size: 10px;
  text-align: center;
  margin-top: 5px;
  color: #6a6c72 !important;
}

@media screen and (max-width: 500px) {
  #dsij-top-stocks .branding {
    font-size: 15px;
  }
  #dsij-top-stocks {
    padding: 7px !important;
  }
  #dsij-top-stocks .ticker-link {
    font-size: 12px !important;
  }
}

@media screen and (max-width: 320px) {
  #dsij-top-stocks .tabs .tab {
    font-size: 13px !important;
    line-height: 1.5em !important;
  }
  #dsij-top-stocks {
    padding: 10px 7px !important;
  }
  #dsij-top-stocks .ticker-link,
  #dsij-top-stocks .branding {
    font-size: 13px !important;
    gap: 3px;
  }
  .branding-logo {
    margin-top: 0 !important;
  }
}
/* #dsij-top-stocks .arrow-up {
  animation: floatFade 1.2s linear infinite;
}

@keyframes floatFade {
  0% {
    transform: translateY(4px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(-4px);
    opacity: 0;
  }
}

#dsij-top-stocks .arrow-down {
  animation: floatFadee 1.2s linear infinite;
}

@keyframes floatFadee {
  0% {
    transform: translateY(-4px);
    opacity: 0;
  }
  50% {
    transform: translateY(0);
    opacity: 1;
  }
  100% {
    transform: translateY(4px);
    opacity: 0;
  }
} */
