
.dropdown {
  position: relative;
  margin-bottom: 20px;

  .dropdown-list {
    padding: 10px 15px 15px 15px;
    overflow-y: auto;
    background: #fff;
    display: none;
    margin-top:-5px;
}
.checkbox {
opacity: 0;
transition: opacity .2s;
}
  
.dropdown-label {
display: flex;
height: 45px;
align-items: center;
line-height: normal;
font-size: 16px;
background: #fff;
border-radius: 5px;
padding: 0 40px 0 15px;
cursor: pointer;
position: relative;

&:before {
  content: url('../../../img/screenernew/arrowdown.svg');
  position: absolute;
  right: 15px;
  top: 50%;
  transform: translateY(-50%);
  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);
    }
  }
}
.dropdown.nosubscribefilter {
    & .dropdown-label {
        &:before {
            content: url(/static/assets/img/screenernew/unlock-grey.svg);
        }
    }
}
.nosubscribefilter label.dropdown-label {
    pointer-events: none;
}

.checkbox {
margin-bottom: 10px;
&: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: '✓';
      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%;
    color: #191919;
    font-size: 14px;
    font-family: 'Roboto';
    font-weight: 500;
    padding-left: 22px;
  }
}
.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 img {
margin-right: 5px;
}
.dropdownsearch input[type="search"] {
  float: left;
  width: 100%;
  border: 0px;
  height: 42px;
  align-items: center;
  line-height: normal;
  background-color: #fff;
}
.dropdownsearch input[type="search"]:focus{
border:none;
outline: none;
}
.dropdowncheckboxes {
max-height: 170px;
overflow-y: auto;
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;
}



.screener-filterside {
  width: 350px;
  transition: width 0.2s ease;
  border-radius: 4px;
}
.filterbox{
  background: #FFF;
  box-shadow: 0px 0px 4px 0px rgba(0, 0, 0, 0.25);
}
.screener-resultside {
  width: calc(100% - 350px);
  transition: width 0.2s ease;
}
.screenersearch-form {
float: left;
width: 100%;
position: relative;
}
.screenersinput input {
height: 44px;
position: relative;
width: 100%;
}
.screenersinput input::placeholder{
color:#000;
}
.screenerparams {
background-color: #0f7bea;
}
.screenerparams h3 {
  color: #FFF;
  font-size: 17px;
  letter-spacing: 0.5px;
  margin-bottom: 8px;
  font-weight: 600;
}
.filtercount p{
  font-size: 14px;
}
.resetfilter {
  background-color: #0a469e;
  color: #A1CFFF;
  padding: 5px 8px;
  font-size: 12px;
  border-radius: 3px;
}


.rounded-4{
border-radius: 8px;
}
h4{
font-size: 18px;
}


.actionbuttons button {
  background-color: #ff8a40;
  border: 0px;
  padding: 5px 10px;
  color: #fff;
  border-radius: 3px;
}

.fundtabs{
  overflow-x: auto;
  overflow-y: hidden;
}
.fundtabs::-webkit-scrollbar {
  display: none;
}
.fundtabs {
  -ms-overflow-style: none;
  scrollbar-width: none;
}
ul.fundtabs li {
  margin-right: 30px;
  border: 0px !important;
}
ul.fundtabs li:last-child{
  margin-right:0px;
}
ul.fundtabs li a {
  padding:5px 0px;
  color: #4F4F4F;
  font-family: 'Roboto Flex';
  font-size: 18px;
  margin-bottom:0px !important;
}
ul.fundtabs li a.active {
  color: #0f7bea !important;
  border: 0px !important;
  border-bottom: 1.5px solid #0f7bea !important;
}
.fundtabs .nav-link {
  border: 0px !important;
}



/* Range slider CSS Starts */
.rangevalues {
display: flex;
align-items: center;
justify-content: space-between;
margin-top: 20px;
}

.rangevalues input {
    text-align: center;
    height: 100%;   
    width: 100%;  
    background-color: transparent;
    border: none;
    outline: none; 
}

.rangevalues .numberVal {
    border: 1px solid #777777;
    width: 48%;
    height: 45px;
    border-radius: 5px;
    background-color: #fff;
    margin-bottom: 20px;

    display: flex;             
    align-items: center;        
    justify-content: center;    
}
input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
-webkit-appearance: none;
}
.range-slider {
position: relative;
width: 100%;
height: 10px;
border-radius: 15px;
background: #EEEEEE;
}
.range-slider .progress {
position: absolute;
left: 0%;
right: 0%;
height: 100%;
border-radius: 15px;
background: #F79B2D;
}
.range-slider input[type="range"] {
position: absolute;
width: 100%;
height: 10px;
-webkit-appearance: none;
pointer-events: none;
background: none;
outline: none;
}
.range-slider .range-min::-webkit-slider-thumb {
pointer-events: auto;
-webkit-appearance: none;
width: 20px;
height: 20px;
background: #F79B2D;
border: 4px solid #fff;
border-radius: 20px;
opacity: 1;
box-shadow: 0px 0px 5px 3px #0000001A;
}
.range-slider .range-max::-webkit-slider-thumb {
pointer-events: auto;
-webkit-appearance: none;
width: 20px;
height: 20px;
background: #F79B2D;
border: 4px solid #fff;
border-radius: 20px;
opacity: 1;
box-shadow: 0px 0px 5px 3px #0000001A;
}
.rangevalues input {
  text-align: center;
  height: 45px;
  background-color: transparent;
  border: 0px;
  font-size: 14px;
  color: #191919;
  font-family: 'Roboto';
  font-weight: 500;
}
.range-slider span{
  padding-left: 0px !important;
  padding-right: 0px !important;
}
/* Range slider CSS Ends */


   .durationrange-wrapper input[type="range"] {
   -webkit-appearance: none;
   width: 100%;
   height: 8px;
   border-radius: 4px;
   background: #EEEEEE;
   }

   .durationrange-wrapper input[type="range"]::-webkit-slider-thumb {
   -webkit-appearance: none;
   width: 20px;
   height: 20px;
   background: #ff8c00;
   border-radius: 50%;
   cursor: pointer;
   border: 4px solid #fff;
   }
   .durationrange-wrapper input[type="range"]::-moz-range-thumb {
   width: 16px;
   height: 16px;
   background: #ff8c00;
   border-radius: 50%;
   cursor: pointer;
   border: 4px solid #fff;
   }
   .durationrange-labels {
   display: flex;
   justify-content: space-between;
   margin-top: 5px;
   font-size: 12px;
   color: #fff;
   }


.negative {
color: #ff2323;
font-weight: 600 !important;
}
.positive {
color: #16b51d;
font-weight: 600 !important;
}
.neutral {
color: #6c757d;
font-weight: 600 !important;
}
.ratemeter span {
width: 65px;
text-align: center;
padding: 1px 5px;
font-size: 12px;
border-radius: 15px;
}
.ratemeter span.high{
background-color: #d3ffd3;
color: #01A200;
}
.ratemeter span.low{
background-color: #fff4f1;
color: #F58220;
}
.ratemeter span.medium{
background-color: #fff8f0;
color:#ffc008;
}
.table tr th {
  background-color: #032c59;
  border: 1px solid #174b83;
  color: #fff;
  font-size: 14px;
  font-weight: 500;
  vertical-align: middle;
}
.table tr td {
  border: 1px solid #c4cbff;
  font-size: 14px;
  font-weight: 400;
  vertical-align: middle;
}
.table tbody tr:nth-child(even) td{
  background-color: #eef0ff;
}

.thvalue {
  display: flex;
  align-items: center;
}
.sortable {
  position: relative;
  user-select: none;
  white-space: nowrap;
}
.sort-icons {
  display: inline-grid;
  margin-left: 7px;
}
.sort-icons button {
  background: transparent;
  border: aliceblue;
  font-size: 14px;
  color:#fff;
  cursor: pointer;
  padding: 0 2px;
  line-height: 1;
  height:10px;
}

.boxcount{
color:#e1e1e1;
}
.screener-resultside h3{
font-size: 24px;
font-family: 'Roboto Flex';
}
.border-high{
border:1px solid #29A844;
}
.border-medium{
border: 1px solid #EDCA02;
}
.border-low{
border: 1px solid #F58634
}
li.highdefinition::marker {
color: #29A844;
}
li.mediumdefinition::marker {
color: #EDCA02;
}
li.lowdefinition::marker {
color: #FF8400;
}
.resultactions .nav-item a.nav-link {
font-size: 14px;
font-family: 'Roboto Flex';
padding: 6px 10px;
height: 36px !important;
display: flex;
align-items: center;
column-gap: 6px;
border: 1px solid #777777;
color: #4D5256;
}
.resultactions .nav-item a.active {
background: #0F7BEA !important;
border: 1px solid #0F7BEA;
color: #fff;
}
.resultactions button{
background: #0156B3 !important;
font-size: 14px;
font-family: 'Roboto Flex';
padding: 6px 10px;
height: 36px !important;
display: flex;
align-items: center;
}
.rs_pag_active {
background: #032c59 !important;
color: white !important;
}
.rs_pag_link{
color: #032c59;
}
.pagination-sm .page-link {
padding: 0.75rem 0.9rem;
font-size: .875rem;
}
.text-inherit{
color: #3D3D3D;
}
.comparisontable tr th {
background-color: #fff;
color: #000;
border: 1px solid #c4cbff;
font-weight: 600;
padding:10px;
}
.comparisontable tr:nth-child(even) th {
background-color: #eef0ff;
}
.comparisontable tbody{
border-top: 1px solid #c4cbff;
}
.comparisontable table{
border-top:1px solid #fff !important;
}
.comparisontable thead th{
border: 0px !important;
position:relative;
padding-bottom:25px;
}
.comparisontable thead tr th.comparedstock:before {
content: '';
height: calc(100% - 15px);
position: absolute;
background-color: #c4cbff;
width: 1px;
top: 0px;
left: 0px;
}

/*  Card View CSS */
.fundcard{
box-shadow: 0px 0px 4px 0px #0000001A;

}
.fundcard .badge{
font-size: 12px;
font-weight: 400;
background-color: #EEEEEE !important;
}
.cardstats p {
font-size: 14px;
font-family: 'Roboto';
}
.cardstats{
color:#191919;
font-size: 14px;
}
.cardstats hr{
background-color: #a09d9d;
}



/* Graph view CSS Starts */
.fundsbreak .label-box {
fill: #fff;
filter: drop-shadow(0 2px 4px rgba(0,0,0,0.15));
}
/* Graph view CSS Ends */


p.notes {
font-size: 14px;
font-family: 'Roboto';
}
.fundsbreak p {
font-size: 14px;
}
.custom-ol {
counter-reset: item;
list-style: none;
padding-left: 2.5em;
}
.custom-ol li {
counter-increment: item;
position: relative;
margin-bottom: 8px;
font-size: 14px;
font-family: 'Roboto';
color: #4f4f4f;
display: flex;
justify-content: space-between;
}
.custom-ol li::before {
content: counter(item);
position: absolute;
left: -35px;
top: 0;
width: 1.8em;
height: 1.8em;
border-radius: 5px;
background-color: #0f7bea;
color: white;
display: flex;
align-items: center;
justify-content: center;
font-weight: bold;
font-size: 12px;
}
.fundsbreak .label-text {
font-size: 14px;
font-weight: 600;
fill: #555;
text-anchor: middle;
dominant-baseline: middle;
}

.fundsbreak .legend-dot {
width: 15px;
height: 15px;
border-radius: 6px;
display: inline-block;
}

/* Charts CSS Starts */
#performancechart1 {
width: 300px;
height: 400px;
}
.grid line {
stroke: #ddd;
stroke-dasharray: 1,1;
}
.grid path {
display: none;
}
.legend {
font-size: 14px;
}
/* Charts CSS Ends */


.hide-filterside .screener-filterside {
width: 0;
opacity: 0;
z-index: -1;
padding: 0px;
}
.hide-filterside .screener-resultside {
width: 100%;
}


.custom-tooltip {
--bs-tooltip-bg: red !important;
border: 1px solid;
border-radius: 120px;
font-size: 8px;
padding: 0px 4px;
font-weight: 800;
margin-left:4px;
}


.showfilter {
display: none;
}
.screener-filterside {
display: block;
}
.filter-closed {
width: 100%;
/* or any styling you want */
}
.onmobile{
display: none;
}




/* Not subscribed or signout condition form */
.stockstable {
    visibility: hidden; /* Keeps layout, prevents flash of headers */
}

.stockstable .table-responsive{
margin-bottom:15px;
}
.stockstable.notsubscribed{
position: relative;
display: flex;
margin: auto;
align-items: center;
justify-content: center;
float: left;
width: 100%;
}
.stockstable .formbox {
max-width: 550px;
border-radius: 4px;
border: 0.5px solid #979797;
background: #FFF;
padding: 20px 40px;
text-align: center;
position: absolute;
z-index: 1;
}
.notsubscribed table tr td, .notsubscribed table tr th{
filter:blur(4px);
}
.notsubscribed .pagination-data-number-div{
display: none !important;
}

.applyfilters_buttons {
  display: none;
}

div#columnModal {
    background-color: #000000d6;
}
#columnModal .modal-dialog {
    max-width: 90%;
    margin: 1.75rem auto;
    height: calc(100% - 3.5rem);
}
#columnModal .modal-content {
    height: 100% !important;
}


.overview-data thead tr th:nth-child(2) {
    position: sticky;
    left: 0px;
    background-color: #032c59;
}
.overview-data tbody tr td:nth-child(2) {
    position: sticky;
    left: -1px;
    background-color:#fff;
}
.overview-data tbody tr:nth-child(even) td:nth-child(2){
    background-color:#eef0ff;
}


/* Top performing chart css */

  .chart .bar {
    fill: #1877f2;
    rx: 6;
    ry: 6;
  }

  .chart .label {
    fill: #fff;
    font-size: 13px;
    font-weight: 600;
    alignment-baseline: middle;
    text-anchor: end;
  }

  .chart .x-grid line,
  .chart .y-grid line {
    stroke: #efefef;
    stroke-width: 1;
  }

  .chart .x-grid path,
  .chart .y-grid path {
    display: none;
  }

  .chart .axis text {
    font-size: 11px;
  }


.performanceduration-tabs .nav-item a.nav-link {
    font-size: 14px;
    font-family: 'Roboto Flex';
    padding: 6px 10px;
    height: 36px !important;
    color: #4D5256;
    border-radius: 5px;
}
.performanceduration-tabs .nav-item a.active {
    background: #0F7BEA !important;
    border: 1px solid #0F7BEA;
    color: #fff;
}

@media (min-width: 320px) and (max-width: 991px) {
  .screener-filterside {
    display: none;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 9;
    padding: 0;
    height: 100vh;
    overflow-y: auto;
    background-color: #fff;
}
.showfilter {
    display: block;
}
.screener-resultside {
    width: 100%;
}
.onmobile {
  display: block;
}
.ondesktop {
display: none;
}
.filterbox {
  padding-bottom: 60px !important;
}
  .applyfilters_buttons {
      float: left;
      width: 100%;
      display: flex;
      justify-content: space-between;
      margin-top: 10px;
      background-color: #fff;
      position: fixed;
      bottom: 0px;
      padding: 10px 30px;
  }
  .applyfilters_buttons button {
      border: 1px solid #777777;
      background-color: #fff;
      font-size: 16px;
      color: #777777;
      font-weight: 600;
      font-family: 'Roboto';
      height: 45px;
      padding: 10px 30px;
      border-radius: 4px;
  }
  .applyfilters_buttons button:nth-child(2) {
      background-color: #F79B2D;
      color: #fff;
      text-decoration: none;
      font-family: 'Roboto';
      font-size: 16px;
      font-weight: 600;
      border-radius: 3px;
      height: 45px;
      border: none;
      float: right;
      padding: 10px 30px;
  }
}

@media (min-width: 320px) and (max-width: 767px) {


.pagination-sm .page-link {
    padding: 5px 8px;
}
ul.fundtabs li {
    margin-right: 15px;
}
ul.fundtabs li a {
    font-size: 16px;
}
.fundstabs li a {
    font-size: 14px;
    padding: 10px 12px;
}
.resultactions .nav-item span,
.resultactions button span {
    display: none;
}
.resultactions .nav-item a.nav-link {
    padding: 6px 8px;
    height: 32px !important;
}
.resultactions button {
    font-size: 12px;
    padding: 6px 8px;
    height: 33px !important;
}
.actionbuttons button {
    padding: 5px 5px;
}
}



@media only screen and (min-width: 320px) and (max-width: 425px) {
.pagination-data-number-div {
  display: grid !important;
  grid-template-columns: 1fr;
  align-items: center;
}
}

/* Export button CSS */
.actionbuttons .dt-buttons .dt-button {
    background-color: #ff8a40 !important;
    color: #fff !important;
    height: 34px;
    margin-top: 5px;
    border-radius: 3px;
    border: none !important;
    outline: none !important;
    box-shadow: none !important;
    display: none;
}

.actionbuttons .dt-buttons .dt-button:hover {
    background-color: #ff8a40 !important;
    color: #fff !important;
}

.actionbuttons .dt-buttons .dt-button:focus,
.actionbuttons .dt-buttons .dt-button:active {
    background-color: #ff8a40 !important;
    color: #fff !important;
    outline: none !important;
    box-shadow: none !important;
}
/*end export CSS*/

/* ticker CSS */
.ticker-link {
    color: #007bff;
    text-decoration: none;
}
.ticker-link:hover {
    color: #0056b3;
}

.screener-title {
    display: inline-block;
    font-size: 30px;
    font-weight: 700;
    color: #0d2b4c;
    background: #f4f8fc;
    padding: 8px 16px;
    border-radius: 8px;
    border-left: 4px solid #ff8c00;
    margin-bottom: 10px;
}
.fund-space{
   margin-left: 2.2rem;
}
