.table-fixed tbody {
height: 720px;
overflow-y: auto;
width: 100%;
}
.table-fixed thead,
.table-fixed tbody,
.table-fixed tr,
.table-fixed td,
.table-fixed th {
display: block;
}
.table-fixed tr:after {
content: "";
display: block;
visibility: hidden;
clear: both;
}
.table-fixed tbody td,
.table-fixed thead > tr > th {
float: left;
}

.modal-dialog-c {
transform: translate(0, -50%);
top: 30%;
margin: 0 auto;
}


.table > thead > tr > th,
.table > thead > tr > td {
font-size: .9em;
font-weight: 400;
border-bottom: 0;
letter-spacing: 1px;
vertical-align: top;
padding: 8px;
background: #292a29;
text-transform: uppercase;
color: #ffffff;
}

table {
  width: 100% !important;
  height: 98% !important;
  margin: 0 !important;
}
/*max-height: 720px;*/
.option_table_container {
  max-height: 75vh;
  overflow: auto;
  position: relative;
}

/*max-height: 720px;*/
.table_container {
 max-height: 78vh;
  //max-height: 83.5vh;
  overflow: auto;
  position: relative;
}

thead tr th{
  color: #fff;
  text-align: left;
  background-color: #000;
  position: relative;
}

.css-flex-table {
display: flex;
width: 80%;
}

.css-flex-table-header,
.css-flex-table-body {
display: flex;
flex: 0 0 100%;
}
///Added this on 6th Nov for replace the table with div grid
.section {
  border: 1px solid #000;
}
.section .section-header {
  border-bottom: 1px solid #000;
  padding: 24px;
}
.section .section-body {
  padding: 0 24px;
}
.section .section-body .item {
  padding: 24px;
}
.section .section-body .item + .item {
  border-top: 1px solid #000;
}
.other-items {
  display: flex;
  justify-content: space-around;
}

.modal-body {
    position: relative;
    padding: 5px;
    padding-top: 1px;
    padding-right: 1px;
    padding-bottom: 1px;
    padding-left: 1px;
    }

 .srow {
    margin-right: 0px;
    margin-left: 0px;
    background-color: #00000;
}

/*max-height: 720px;*/
.trade_table_container {
  max-height: 81.2vh;
  overflow: auto;
  position: relative;
}

.option_submenu_table_container {
  max-height: 71.5vh;
  overflow: auto;
  position: relative;
}

/*
a.history {
    font-size: 24px;
    color: #f2f2f2;
    float: left;
    margin-top: 0px;
    text-transform: uppercase;
}
*/

div::-webkit-scrollbar {
    width: 1px;
}

div::-webkit-scrollbar-thumb
{
  border-radius: 1px;
  background-color: #FFF;
  background-image: -webkit-gradient(linear,
                     40% 0%,
                     75% 84%,
                     from(#4D9C41),
                     to(#19911D),
                     color-stop(.6,#54DE5D))
}

 .search {
    margin-right: 0px;
    margin-left: 0px;
    background-color:#4ECDC4;
}

.ui-tabs .ui-tabs-panel {
    display: block;
    border-width: 0;
    padding: 0;
    background: none;
}

.nav-tabs>li>a {
    margin-right: 2px;
    line-height: 1.42857143;
    border: 1px solid transparent;
    border-radius: 4px 4px 0 0;
}

.nav>ul>li>a {
    position: relative;
    display: block;
    padding: 1px 1px;
    //background-color: #007fff;
    //color: #FFFFFF;

.activelink {
    margin-right: 0px;
    margin-left: 0px;
	background-color: #007fff;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 1px 5px;
}

.bg-one-danger {
    background-color: #57c928;
}

.bg-one-success {
    background-color: #ed3a3a;
}

.dropdown-menu.extended li a {
    padding: 5px 2px !important;
    width: 100%;
    display: inline-block;
}

legend {
  display: block;
  padding-left: 2px;
  padding-right: 2px;
  border: none;
}

.truncate-text {
    display: inline-block;
    max-width: 350px; /* Adjust as needed */
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    vertical-align: middle;
}

.table-wrapper::-webkit-scrollbar {
  height: 2px; /* reduces thickness */
}

.table-wrapper::-webkit-scrollbar-track {
  background: #111; /* background of the track */
}

.table-wrapper::-webkit-scrollbar-thumb {
  background: green; /* thumb color */
  border-radius: 4px;
}
.table-wrapper {
  overflow-x: auto;
  max-width: 100%;
}

.sticky-col-table th,
.sticky-col-table td {
  white-space: nowrap;
}

.sticky-col {
  position: sticky;
  left: 0;
  background-color: #111; /* match your table background */
  z-index: 1;
  color: white; /* optional */
}
