.dropdown {
    position: relative;
    float: left;
    width: 100%;
    .dropdown-list {
      padding: 0px 15px 15px 15px;
      overflow-y: auto;
      background: #fff;
      display: none;
      margin-top:-5px;
      position: absolute;
      width: 100%;
      z-index: 2;
      border: 1px solid var(--gray-500, #777777);
      border-top: 0px;
      margin: 0px !important;
    }
    .checkbox {
      opacity: 0;
      transition: opacity .2s;
    }
    .cap-value, .cap-value.dropdown-list{
        width: 268px;
    }

    .dividend-value, .dividend-value.dropdown-list{
        width: 200px;
    }

    .dropdown-label {
        display: flex;
        height: 42px;
        align-items: center;
        line-height: normal;
        background: #fff;
        border-radius: 5px;
        padding: 0 40px 0 15px;
        cursor: pointer;
        position: relative;
        border: 1px solid var(--gray-500, #777777);
        font-size: 16px;
        font-weight: 400;
        font-family: 'Roboto';
        color: #777777;
      &:before {
        content: url('/static/assets/img-new/arrowdown.svg');
        position: absolute;
        right: 10px;
        top: 55%;
        transform: translateY(-55%);
        transition: transform .25s;
        transform-origin: center center;
      }
    }
    &.open {
      .dropdown-list {
        display: block;
      }
      .checkbox {
        transition: 2s opacity 2s;
        opacity: 1;
      }
      .dropdown-label:before {
        transform: translateY(-50%) rotate(-180deg);
        top: 45%;
      }
    }
  }
  .dropdown.open .dropdown-label {
    border-bottom: none !important;
    border-bottom-left-radius: 0px;
    border-bottom-right-radius: 0px;
}
  .checkbox {
    margin-bottom: 5px;
    &:last-child {  
      margin-bottom: 0;
    }
    
    .checkbox-custom {
      display: none;
    }
  
    .checkbox-custom + .checkbox-custom-label:before {
      content: '';
      background: transparent;
      display: inline-block;
      vertical-align: middle;
      margin-right: 10px;
      text-align: center;
      width: 15px;
      height: 15px;
      border: 1px solid #0254d6;
      border-radius: 2px;
      margin-top: -2px;
      position: absolute;
      left: 0px;
      top: 5px;
    }
  
    .checkbox-custom:checked + .checkbox-custom-label:after {
        /* content: 'âœ“'; */
        content: '✓';
        position: absolute;
        top: -2px;
        left: -1px;
        height: 4px;
        padding: 2px;
        text-align: center;
        border-width: 0 2px 2px 0;
        color: #0254d6;
        font-weight: 800;
        font-size: 14px;
    }
    .checkbox-custom-label {
      line-height: inherit;
      margin-right: 0;
      margin-left: 0;
      display: inline-block;
      position: relative;
      vertical-align: middle;
      cursor: pointer;
      width:100%;
      font-size: 16px;
      font-family: 'Roboto';
      font-weight: 400;
      color: #191919;
      padding-left: 22px;
    }
  }

.dropdowncheckboxes {
    max-height: 170px;
    overflow-y: auto; /* Use auto instead of scroll */
    float: left;
    width: 100%;
    height: 100%;
}
/* Hide scrollbar track by default */
.dropdowncheckboxes::-webkit-scrollbar-track {
    display: none;
}
/* Show scrollbar track when there is overflow */
.dropdowncheckboxes:hover::-webkit-scrollbar-track,
.dropdowncheckboxes:focus::-webkit-scrollbar-track,
.dropdowncheckboxes:active::-webkit-scrollbar-track {
    display: block;
    box-shadow: inset 0 0 5px grey;
    border-radius: 10px;
    background-color: #D9D9D9;
}
/* Customize scrollbar appearance */
.dropdowncheckboxes::-webkit-scrollbar {
    width: 7px;
}
.dropdowncheckboxes::-webkit-scrollbar-thumb {
    background: #777777;
    border-radius: 10px;
}
.dropdowncheckboxes::-webkit-scrollbar-thumb:hover {
    background: #555555;
}

 .dropdownsearch {
    display: flex;
    height: 45px;
    align-items: center;
    line-height: normal;
    background: #fff;
    border-radius: 5px;
    padding: 0 10px 0 10px;
    cursor: pointer;
    position: relative;
    border: 1px solid var(--gray-500, #777777);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Roboto';
    color: #777777;
    margin-bottom: 10px;
}
.dropdownsearch input[type="search"] {
  float: left;
  width: 100%;
  border: 0px;
  height: 43px;
  align-items: center;
  line-height: normal;
}
.dropdownsearch input[type="search"]:focus{
  border:none;
  outline: none;
}
.dropdownsearch img {
  margin-right: 5px;
}
.filtersrow .dropdown {
    float: left;
    width: auto;
    margin-right: 15px;
    min-width: 180px;
}
.filtersrow .dropdown p {
    margin-bottom: 8px;
    font-family: 'Roboto Flex';
    color: #000;
    font-weight: 500;
    font-size: 16px;
    display: flex;
    align-items: center;
    column-gap: 5px;
}
.stockranking-datafilter {
    display: flex;
    align-items: end;
    justify-content: space-between;
    margin-bottom: 25px;
}

 

.dropdown.nosubscribefilter {
    & .dropdown-label {
        &:before {
            content: url(/static/assets/img/screenernew/unlock-grey.svg);
        }
    }
}
.nosubscribefilter label.dropdown-label {
    pointer-events: none;
}

span.custom-tooltip {
    align-items: center;
    display: flex;
}
.rightblock {
    display: flex;
    align-items: center;
    column-gap: 15px;
}
.rightblock .search_icon {
    border: 1px solid;
    padding: 8px 10px;
    height: 42px;
    font-size: 20px;
    color: #777777;
    display: flex;
    align-items: center;
    border-radius: 5px;
    cursor: pointer;
}
button.editcolumn {
    background: linear-gradient(182.49deg, #FF9818 -198.73%, #FCB603 5.35%, #B700F8 212.68%);
    color: #fff;
    border: 0px;
    padding: 10px 15px;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-family: 'Roboto';
    font-weight: 500;
    height: 42px;
    white-space: nowrap;
}
#filter_searchonoff {
   display: none;
   position: relative;
}
div#filter_searchonoff input.form-control {
    padding: 8px 30px 8px 12px;
    border: solid 1px rgb(193 197 220);
    background-color: #eef0ff;
    font-size: 16px;
    font-weight: 400;
    color: #333;
    border-radius: 5px !important;
    height: 42px !important;
}
div#filter_searchonoff input.form-control::placeholder{
    color:#000;
    font-size: 16px;
}
div#filter_searchonoff .searchclose_button{
    position: absolute;
    right: 10px;
    top: 9px;
    display: block;
    z-index: 999;
}

div#columnModal {
    background-color: #000000d6;
}
.headline {
    margin: 40px 0px;
}
.headline h1 {
    font-size: 32px;
    font-family: 'Roboto Flex';
    font-weight: 500;
}
.headline p {
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    color: #191919;
}
.stockstable table {
    margin-bottom: 5px;
}
.stockstable .table-responsive th {
    background-color: #EEF0FF;
    color: #000;
    border: 1px solid #C4CBFF;
    border-collapse: collapse;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 0px !important;
    text-align: center;
    position: relative;
    padding-right:25px;
    vertical-align: middle;
}
.stockstable table tr th:first-child {
    position: sticky !important;
    left: 0px;
    z-index: 1;
    background-color: #EEF0FF;
}
.stockstable .table-responsive tbody{
   border-top: 0px;
}
.stockstable table tr td {
    border: 1px solid #CFCFCF;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 14px;
    color:#3D3D3D;
}
.stockstable table tr td:first-child {
    position: sticky;
    left: 0px;
    z-index: 1;
    background-color: #fff;
}
.tickerdetails {
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    font-weight: 500;
    color: #000;
    position:relative;
  
}
.tickerdetails a{
   text-decoration: none;
}
.stockstable .table-responsive::-webkit-scrollbar {
  height: 15px;
  width: 15px; 
}
.stockstable .table-responsive::-webkit-scrollbar-track {
  background-color: #EEF0FF;
  border-radius: 10px;
}
.stockstable .table-responsive::-webkit-scrollbar-thumb {
  background: #C4CBFF;
  border-radius: 10px;border: 3px solid #EEF0FF;
}
.stockstable td.status {
    font-weight: 600 !important;
}
.half-star {
  position: relative;
  display: inline-block;
  background: linear-gradient(to right, #ff8400 50%, #cfcfcf 50%) no-repeat;
  background-size: 100% 100%;
  -webkit-background-clip: text;
  color: transparent !important;
}
.half-star::before {
  content: '\f005';
  font-family: 'Font Awesome 5 Free';
  font-weight: 900;
  position: absolute;
}
.half-star::after {
  content: '\f005';
}
.stockstable i.fa.fa-star {
    color: #ff8400;
    margin-right: 5px;
    font-size: 12px;
}
.stockstable i.fa.fa-star.blank-star {
    color: #cfcfcf;
}
span.high {
    color: #0F9204;
}
span.low {
    color: #FC1010;
}
span.aboveaverage {
    color: #0F9204;
}

td .status.strong-buy {
    color: #0F9204;
    font-weight: bold;

}

td .status.buy {
    color: #14f500; 
    font-weight: bold;
}

td .status.hold {
    color: #ff8400;
    font-weight: bold; 
}

td .status.sell {
    color: #fc1010;
    font-weight: bold; 
}

td .status.strong-sell {
    color: #ca0a0a; 
    font-weight: bold;
}
td .status.na {
    color: #3a3b3a;
    font-weight: bold;
}
td .positive {
    color: #0f9204 !important;
}
td .negative {
    color: #FC1010 !important;
}
td i.fa.fa-caret-up {
    margin-right: 3px;
}
td i.fa.fa-caret-down {
    margin-right: 3px;
}
.stockstable th:before {
    content: "\f106" !important;
    color: #777777 !important;
    opacity: 1 !important;
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    position: absolute;
    display: block;
    opacity: .125;
    right: 10px;
    line-height: 9px;
    font-size: .8em;
    bottom: 50%;
}
.stockstable th:after {
    content: "\f107" !important;
    color: #777777 !important;
    opacity: 1 !important;
    font-family: var(--fa-style-family, "Font Awesome 6 Free");
    font-weight: var(--fa-style, 900);
    position: absolute;
    display: block;
    opacity: .125;
    right: 10px;
    line-height: 9px;
    font-size: .8em;
    top: 50%;
}
.stockstable.notsubscribed td p {
    filter: blur(2.5px);
       -webkit-filter: blur(2.5px);
       font-weight: 400;
       color:#4b4949;
       margin-bottom:0px;
 }
 img.stocklock-icon{
    display: none;
 }
 .stockstable.notsubscribed td img.stocklock-icon {
    display:block;
    position: absolute;
    top: 6px;
    left: 40%;
 }
 .tickerratings{
    position:relative;
 }
.dataTableoptions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0px 50px;
}
ul.pagination {
    margin-bottom: 0px;
}
select#item_per_page {
    border: 1px solid #d0d2d4;
    border-radius: 5px;
    width: 60px;
    height: 32px;
    padding: 0px 5px;
    margin-left: 10px;
}
.selectrows label {
    font-size: 14px;
    font-family: 'Roboto';
    color: #3d3d3d;
}
#columnModal .modal-content {
    height: 100% !important;
}
#columnModal .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
    height: calc(100% - 3.5rem);
}
#columnModal .modal-body {
    position: relative;
    flex: 1 1 auto;
    padding: 1rem;
    height: calc(88vh - 100px);
    overflow-y: scroll;
}
#columnModal .modal-body span {
    color: #8480ae;
    font-size: 16px;
}
button.btn.applycolumn {
    background: linear-gradient(182.49deg, #FF9818 -198.73%, #FCB603 5.35%, #B700F8 212.68%);
    color: #fff;
    border: 0px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-family: 'Roboto';
    font-weight: 500;
    height: 40px;
}
button.btn.resetcolumn {
    background-color: #b1b1b1;
    color: #fff;
    border: 0px;
    padding: 8px 18px;
    border-radius: 5px;
    font-size: 16px;
    letter-spacing: 0.2px;
    font-family: 'Roboto';
    font-weight: 500;
    height: 40px;
    margin-right: 10px;
}


@media only screen and (min-width: 1200px) and (max-width: 1399px){
.filtersrow .dropdown {
    margin-right: 10px;
    min-width: 150px;
}
.rightblock {
    column-gap: 10px;
}
}
@media only screen and (max-width: 1199px){
    .stockranking-datafilter {
        display: block;
    }
    .filtersrow .dropdown {
        margin-bottom: 20px;
    }
    .rightblock {
       width: 100%;
    }
}

@media only screen and (min-width: 320px) and (max-width: 425px){
    #columnModal .modal-body {
    height: calc(75vh - 100px); 
}
}
/* Datatable CSS - By Kajal*/

.dataTables_wrapper .dataTables_paginate .paginate_button{
   padding: unset;
   margin-top: -16px;
   margin-left: -3px;
}
.dataTables_wrapper .dataTables_length label {
    margin-right: 10px;
    margin-top: -6px;
    text-align: left;
}
.dataTables_wrapper .bottom {
    margin: 25px 0px 40px;
    float: left;
    width: 100%;
}
.dataTables_wrapper .dataTables_length select {
    margin-left: 50px;
    border-radius: 7px;
    margin-top: -25px;
    margin-bottom: 12px; align-items: center !important;
}
p.consensus_price {
    font-size: 20px;
}
table#datatabless p {
    margin-bottom: 0px;
}
span.graphstructure{
    white-space: nowrap;
}

.table.categorytable {
    margin-bottom: 50px;
}
.table.categorytable tr td {
    border: 1px solid #CFCFCF;
    border-collapse: collapse;
    text-align: center;
    vertical-align: middle;
    font-family: 'Roboto';
    font-weight: 400;
    font-size: 16px;
    color: #3D3D3D;
}
.table.categorytable tr th {
    background-color: #053976;
    color: #fff;
    border: 1px solid #C4CBFF;
    border-collapse: collapse;
    font-weight: 600;
    font-size: 15px;
    border-bottom: 0px !important;
    text-align: center;
}

@media only screen and (min-width: 320px) and (max-width: 767.98px){
.filtersrow .dropdown {
    width: 100%;
    min-width: 180px;
}
.dropdown {
    .cap-value, .cap-value.dropdown-list {
        width: 100%;
    }
}
.dropdown {
    .dropdown-label {
        width: 100%;
    }
}
}

.data-description {
    margin-top: 5px;  
    margin-bottom: -10px;
    font-size: 16px;
}

.tickerratings p {
    white-space: nowrap;
}



