/* indian etf css */

.indian-etf {
    background-color: #F8F9F8;
    padding: 50px 0;
}

.indian-etf h2 {
    margin-bottom: 0 !important;
}



ul.topgainers-list {
    padding: 0 !important;
    list-style: none !important;
    margin: 0 !important;
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
}

ul.topgainers-list li {
    border: 1px solid rgba(108, 117, 125, 0.2);
    padding: 20px 12px;
    background:#fff;
}

.indian-gainers-title h5 {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 18px;
}

.gainer-card div {
    font-size: 12px;
    color: #2bcf70;
    font-weight: 700;
}

.loser-card div {
    font-size: 12px;
    color: #CF492B;
    font-weight: 500;
}

.indianlistingetfContent {
    gap: 8px;
    justify-content: space-between;
    align-items: center;
    margin-top: 25px;
	display: flex;
	flex: 1 0 auto;
}

.indian-etf h2,
.india-most h2 {
    font-size: 18px !important;
    font-weight: 700;
    line-height: 22px;
    color: #000 !important;
}

#etfgainlo #etf-gainer-loser {
    height: 36px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    width: auto;
    font-style: normal;
    font-weight: 700;
    font-size: 12px;
    line-height: 26px;
    color: #18181b87;
    width: 100px !important;
}
.gainers-filterdrop{
    position: relative;
}
.gainers-filterdrop::before {
    content: '';
    /* background: url(images/caret-down-solid.svg); */
    position: absolute;
    font-weight: 700;
    font-size: 12px;
    line-height: 26px;
    color: #18181B;
    z-index: 99;
    top: 55%;
    border-top: 5px solid #000;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    transform: translateY(-50%);
    right: 10px;
    height: 10px;
    width: 10px;
    background-position: center;
    background-size: contain;
    background-repeat: no-repeat;
}

.textloser-card {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.indian-top-gainers h2 {
    height: 40px;
}

.india-most {
    background-color: #F8F9F8;
}


/* last sect */

.indian-etf-bottom {
    padding: 20px 0 50px !important;
}

.indian-etf-bottom ul.topgainers-list {
    grid-template-columns: repeat(4, 1fr);
}


/* slider */

.mosttraded-slider {
    border-radius: 10px;
    margin-top: 15px;
    text-align: center;
    padding-bottom: 15px;
}

.mosttraded-slider .item {
    background-color: #fff;
    border: 1px solid rgba(108, 117, 125, 0.2);
    border-radius: 2px;
    padding: 20px 14px;
height: 100% !important;
    min-height: 155px;
}

#mostTradedWrapper>.container {
    padding-bottom: 0;
}

.mosttraded-items .exponewname {
    font-weight: 700;
    font-size: 12px;
    line-height: 18px;
    text-decoration: none;
    color: #15202B;
    text-transform: uppercase;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.mosttraded-items .exponewname {
    margin-bottom: 15px;
    height: 36px;
}

.mosttraded-slider.owl-carousel.owl-drag .owl-item {
    margin-right: 10px !important;
}

.mosttraded-slider .owl-prev,
.mosttraded-slider .owl-next {
    transform: none;
    font-size: inherit !important;
    line-height: normal !important;
    top: inherit !important;
    bottom: 0;
}

.mosttraded-items .toplisting-price,
.mosttraded-items .toplisting-ganilosedamount {
    color: #2bcf70;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
    text-align: left;
}

.owl-nav button {
    background: transparent !important;
    padding: 0px !important;
    width: 30px !important;
    color: #666 !important;
    height: auto !important;
}

.owl-next {
    right: 4px;
}

.owl-prev {
    left: 4px;
}

.countryname {
    display: flex;
    align-items: center;
    float: right;
    font-weight: 400;
    font-size: 18px;
    line-height: 21px;
    color: #15202B;
}

.countryname img {
    margin-left: 12px;
    width: 26px;
}

.mosttraded-items .brandlogs img {
    width: auto;
    max-height: 60px;
    display: inline-block;
}

.topEtfNews .customHeading {}

.card.topnewscardd {
    background-color: transparent;
    border: none;
    padding-top: 15px;
}

.card.topnewscardd .list-group-item {
    background-color: transparent;
    margin-bottom: 0;
    align-items: flex-start;
}

.extrafand-list {
    background: #FFFFFF;
    border: 1px solid rgba(108, 117, 125, 0.2);
    border-radius: 2px;
    padding: 20px 16px;
}

.mosttraded-items .brandlogs {
    text-align: center;
}

.faang-slider .item a {
    display: block;
    background: #FFFFFF;
    border: 1px solid rgba(108, 117, 125, 0.2);
    border-radius: 2px;
    padding: 20px 16px;
    display: flex;
    height: 100%;
    align-items: center;
    justify-content: center;
}



.faang-slider .item a:focus {
    box-shadow: inset 0 0 10px rgb(0 0 0 / 20%);
}

.extrafand-list .toplisting-price,
.extrafand-list .toplisting-ganilosedamount {
    color: #2bcf70;
    font-weight: 700;
    font-size: 12px;
    line-height: 15px;
}

.faangextra-etfs {
    margin-top: 20px;
}

.mosttraded-slider.owl-theme .owl-dots button {
    position: static;
}

.mosttraded-slider.owl-theme .owl-dots .disabled {
    opacity: 1;
}

.mosttraded-slider.owl-theme .owl-dots button span {
    width: 20px;
    height: 8px;
    border-radius: 4px;
    margin: 8px 5px 5px 5px !important;
    display: inline-block;
    color: transparent;
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #E3F8EE;
}

.mosttraded-slider.owl-theme .owl-dots .owl-dot.active span,
.mosttraded-slider.owl-theme .owl-dots .owl-dot:hover span {
    background: #2BCF70;
}

.mosttraded-slider.owl-theme .owl-dots button.disabled span {
    background: linear-gradient(0deg, rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), #E3F8EE;
}

/*vivek css */

	
div#pagination a {
    background: #f5f5f5 !important;
    border: 1px solid #ccc !important;
    width: 40px!important;
    line-height: 40px !important;
    min-width: 1.5em!important;
    height: 40px;
    padding: 0px!important;
    display: flex;
    align-items: center;
    justify-content: center;
}
#pagination a.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    background: #2BCF70!important;
    color: #fff!important;
    border: 0 !important;
}
	#pagination {
     margin-top: 20px;
    display: flex;
    justify-content: center;
}

#pagination a {
    display: inline-block;
    padding: 8px 12px;
    border: 1px solid #ccc;
    margin: 0 5px;
    text-decoration: none;
    color: #333;
}

#pagination a.active {
    background-color: #007bff;
    color: #fff;
    border-color: #007bff;
    background: #2BCF70!important;
    color: #fff!important;
    border: 0 !important;
}

#pagination a:hover {
    background-color: #f2f2f2;
}

#pagination a:disabled {
    pointer-events: none;
    opacity: 0.6;
 background-color: #ddd;
        }

.quantity-input {
    width: 30px;
    margin-right: 5px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    height: 34px;
}
.buy-btn, .main-btn {
    border-radius: 4px;
    background-color: #21BF73;
    color: #fff !important;
    padding: 6px;
    text-transform: capitalize;
    font-size: 12px;
    font-weight: 500;
    display: inline-block;
    max-width: 72px !important;
    margin-left: 0;
}
.indian-gainers-title {
    min-height: 40px;
}
.quantity-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.buy-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.indian-gainers-title {
    min-height: 40px;
    
}

ul.topgainers-list li {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
}
.basket-icon {
    font-size: 24px;
    margin-right: 5px;
}

/*.added-btn {
    background-color: red;
    color: white;
}*/

/*
.ui-dialog-content {
   
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 400px; /* Set the width of the popup */
    max-height: 80%; /* Set the maximum height of the popup */
    overflow-y: auto; /* Add scroll if content overflows */
}*/



#closePopupBtn {
    background-color: #000;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
}

#closePopupBtn:hover {
    background-color: #ddd;
}

.quantity-input {
    min-width: 40px;
    margin-right: 0px;
    border-radius: 4px;
    border: 1px solid #ccc;
    text-align: center;
    font-size: 14px;
    height: 34px;
}
.buy-btn {
    border-radius: 4px;
    background-color: #21BF73;
    color: #fff !important;
    padding: 6px ;
    text-transform: capitalize;
    font-size: 14px;
    font-weight: 500;
    display: inline-block;
    max-width: 100% !important;
    margin-left: 0;
}
.indian-gainers-title {
    min-height: 40px;
}
.quantity-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 5px;
}
.buy-section {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    gap: 8px;
}
.indian-etf .buy-btn, .main-btn {
    border-radius: 4px !important;
    background-color: #21BF73 !important;
    color: #fff !important;
    padding: 6px  !important;
    text-transform: capitalize;
    font-size: 14px !important;
    font-weight: 500;
    display: inline-block;
   
}
.main-btn{
margin-bottom:12px;
 border-radius: 4px !important;
    background-color: #21BF73 !important;
padding: 8px 0 !important;
}
.main-btn:hover{
 border-radius: 4px !important;
    background-color: #21BF73 !important;
}
.main-btn:before{
display:none;
}
select#frequency, #nofrequency {
    padding: 6px 8px;
    border: 1px solid #ccc;
    border-radius: 4px;
}


#closePopupBtn {
    background-color: #212529 !important;
    border: none;
    cursor: pointer;
    font-size: 14px;
    text-align: center;
    /* float: right; */
    display: flex;
    margin-left: auto;
    border-radius: 100%;
    color: #fff !important;
    padding: 6px 4px !important;
    text-transform: capitalize;
    font-size: 10px !important;
    font-weight: 500;
    margin-bottom:15px;
height: 35px;
    width: 35px;
    align-items: center;
    justify-content: center;
    position: absolute;
    right: -15px;
    top: -15px;
}
.ui-widget-content .buy-btn, #closePopupBtn {
    font-size: 14px !important;
    padding: 6px 8px !important;
}
div#valuesContainer {
    margin: 0px 0 12px;
}
.value-item {
        padding: 6px 0;
    border-bottom: 1px solid #ccc;
    display: flex;
    justify-content: space-between;
    gap: 4px 20px;
}
/*.value-item span:last-child{
    color:#21BF73 ;
}*/
span.ticker, .ticker-header {
    width: 25%;
    word-break: break-word;
}
.fundname, .fundname-header{
width: 70%;
    word-break: break-word;
}
span.closeprice, .closeprice-header{
width: 26%;
    word-break: break-word;
}
span.qty, .qty-header{
width: 17%;
    word-break: break-word;

}

.basket-icon {
    font-size: 16px;
    margin-right: 5px;
    color: #fff !important;
    filter: brightness(0) invert(1);
}
.basket {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-left: auto;
    background: #21bf73;
    padding: 6px 22px;
    border-radius: 4px;
    color: #fff;
    cursor: pointer;
    margin-top: -10px;
}
div#sipbasketid {
    display: flex;
    flex-wrap: wrap;
    flex-direction: column;
    gap: 8px;
}

@media (min-width:768px) and (max-width:992px){
    .indian-etf-bottom ul.topgainers-list {
        grid-template-columns: repeat(3, 1fr) !important;
    }

}
@media (min-width:481px) and (max-width:767px){
    .indian-etf-bottom ul.topgainers-list {
        grid-template-columns: repeat(2, 1fr);
    }
}
@media (max-width:480px){
    .indian-etf-bottom ul.topgainers-list, ul.topgainers-list {
        grid-template-columns: repeat(1, 1fr);
    }
}
@media (max-width:767px){

.textloser-card{
    margin-top: 20px;
 }
.basket {
    position: absolute;
    top: 160px;
    right: 16px;
    /* background: red; */
}
.indian-etf{
padding: 50px 0 30px;
}
}

/* .basket-popup1 {
    background: #00000042;
    position: fixed;
    z-index: 9999;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
display:block !important;
}
 */

.overlay{
z-index: 9 !important;
}




	
    .modal-dialog {
    max-width: 400px !important;
  
}  

.icon i {
    display: block;
    font-size: 40px;
    /* color: #2BCF70; */
    text-align: center;
}

.icon {
    display: block !important;
}

h5.modal-title{
    font-size: 22px;
    margin: 15px auto 5px;
    text-transform: uppercase;
    font-weight: bold;
    color: #000;
}
	.modal-header{
    flex-direction: column;
}
.modal-content{
    padding: 30px 12px;
    border-radius: 20px;
}
.modal-footer {
    padding: 0;
    text-align: center;
    justify-content: center;
    border: none !important;
}
.modal-body {
    padding: 0 0 10px;
    text-align: center;
}
.md-btn{
    /* background-color: #2BCF70; */

}
.modal-footer button{
    color:#fff !important;
    padding: 6px 30px !important;

}



.buy-section {
    display: flex;
    align-items: center;
}

.quantity-container {
    display: flex;
    align-items: center;
    
}

.quantity-input {
    width: 40px;
    margin-right: 5px;
}

.basket-icon {
    font-size: 24px;
    margin-right: 5px;
}

.added-btn {
    background-color: red;
    color: white;
}


.ui-dialog-content {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: white;
    border: 1px solid #ccc;
    padding: 20px;
    box-shadow: 0px 0px 10px rgba(0, 0, 0, 0.5);
    width: 800px; /* Set the width of the popup */
    max-height: 80%; /* Set the maximum height of the popup */
    overflow-y: auto; /* Add scroll if content overflows */
    max-width: 100%;
    margin: 10px;
    z-index: 99;
    overflow: visible;
    border: 0 !important;
    border-radius: 8px;
    box-shadow: rgba(17, 12, 46, 0.15) 0px 48px 100px 0px;
min-height: 300px;
}

.ui-widget-content {
    background-color: #f6f6f6;
    color: #333;
}

#closePopupBtn {
    background-color: #f6f6f6;
    border: none;
    cursor: pointer;
    padding: 5px 10px;
    font-size: 14px;
}

#closePopupBtn:hover {
    background-color: #ddd;
}
.ui-widget-content{
    font-size: 16px;
}
.overlay{
    background-color: #0000003b;
    position: fixed;
    height: 100%;
    width: 100%;
    z-index: 1;
    top: 0;
    left: 0;
    /* display: block !important; */
}
.subtotal {
    margin: 12px 0;
    font-weight: bold;
}
.mybasket {
    font-size: 16px;
    margin-right: 6px;
    font-weight: 500;
}


@media (max-width:850px){
.ui-dialog-content{
    width: 100%;
    max-width: 90%;
margin:0;

}
.basket{
margin-top:0 !important;
}
.value-item {
  
    width: 700px;
	padding:8px;
}
#closePopupBtn{
right: 0;
    top: 0;
position: unset;

}
.ss {
  position: absolute;
    right: 100%;
    top: 0;
    width: auto !important;
    /* margin-top: -20px; */
    left: 0;
    z-index: 9999999999 !important;

}
}
@media (max-width:580px){

#closePopupBtn{
right: 0;
    top: 0;

}

div#valuesContainer{
    margin: 10px 0 12px;
	overflow:scroll !important;
}
#pagination {
    margin-top: 20px;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
}
div#popup {
    min-height: 300px;
overflow-y: scroll;
  z-index: 99999999 !important;

}
}


@media (max-width: 992px){
.col-md-6 {
    flex: 0 0 auto;
    width: 100% !important;
}
}



#valuesContainer .empty-cart {
 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 10px;
}
#valuesContainer .empty-cart h2{
font-size: 22px !important;
    font-weight: 500;
    margin-bottom: 10px !important;
    height: auto;
}


.indian-etf  .empty-btn{
font-size: 16px !important;
    font-weight: 500;
padding:8px 20px !important ;
}

#valuesContainer .empty-cart .basket-icon {
    font-size: 85px;
    margin-right: 0px;
    color: #000 !important;
    filter: none !important ;
}


.item-content, .item-header {
    /* background: red; */
    width: 100%;  
    align-items: center;
    display: flex;
    justify-content: space-between;
    gap: 4px 20px;
}
.item-header {
    font-weight: bold;
}
input.qty {
    max-width: 100%;
    width: 60px;
    border: 1px solid #ccc;
    border-radius: 4px;
}

button.remove-btn{
background-color: #ec3644 !important;
    border: none !important;
padding: 8px 12px!important;
display: inline-block;
    font-weight: 400;
    line-height: 1;
    color: #fff;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;

    border-radius: 0.25rem;
    transition: color .15s ease-in-out, background-color .15s ease-in-out, border-color .15s ease-in-out, box-shadow .15s ease-in-out;
}


.btn-grp button {
    width: 100px;
}

.filters {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}
.filters button{
border-radius: 4px !important;
    background-color: #21BF73 !important;
    color: #fff !important;
    padding: 6px !important;
    text-transform: capitalize;
    font-size: 14px !important;
    font-weight: 500;
    display: inline-block;
border:0 !important;
}


select#filterDropdown {
    background-color: #FAFAFA;
    font-weight: 400;
    margin-top: 0px;
    padding: 10px 10px;
    font-size: 16px;
    border: 1px solid rgba(0, 0, 0, 0.05);
    border-radius: 4px;
    /* background-image: url(../images/megni.png); */
    /* background-repeat: no-repeat; */
    /* background-size: auto; */
    /* background-position: 15px center; */
    /* padding-left: 50px; */
    border-radius: 4px !important;
}


@media(max-width:580px){
	.mosttraded-slider .owl-dots {display:none;}
	.mosttraded-slider .owl-nav {display:block!important; margin-top: 30px;}
	.mosttraded-slider .owl-nav button {background: #21BF73!important;
    border-radius: 50%!important;
    height: 30px!important;
    width: 30px!important;
    color: #fff!important;}
}
@media (min-width: 768px) and (max-width:1240px){
.indian-etf-bottom ul.topgainers-list {
    grid-template-columns: repeat(3, 1fr);
}
}