
.main-area{
  display:flex;
  align-items: center;
 
}

.sale-form{ 
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  padding:20px;
  width: 100%;
  max-width: 800px;
  background-color:white;
  border-top: 5px solid black;

}
.main-heading{
  text-align: center;
}

.errorlist{
  color: red;
}

.sale-btn{
  background-color: green;
}




.main-area{
  display:flex;
  align-items: center;
 
}

.sale-form{ 
  margin: auto;
  margin-top: 40px;
  margin-bottom: 40px;
  padding:20px;
  width: 100%;
  max-width: 800px;
  background-color:white;
  border-top: 5px solid black;

}

.main-heading{
  text-align: center;
  font-weight: 800;
}

.errorlist{
  color: red;
}

.sale-btn{
  background-color: green;
}

/* 
.dataTables_filter{
  display: none;
} */

.dataTables_length{
  float: right !important;
  margin-bottom: 10px !important;
}

.dt-buttons{
   margin:12px !important;
   font-size: 10px;
}

thead input{
  width: 100%;
  text-align: center;
}


.btn_delete{
  padding:2px;
  background-color: #dcdcdc;
  border: 1px solid #666;
  color:#000;
  font-size: 9px;
  text-decoration:none;
  width: 6%;
  margin-left: 1.5%;
}

#sidebar-brand{
  font-size: 20px;
  text-decoration:none;
  text-align: center;
}


/* responsive mode for tablet 1199*/
@media (max-width: 991.98px) { 
    
 .greetings{
    font-size: 10px;
    line-height: normal;
  }


  .dashbord-headers{
    font-size: 10px;
    
  }
  
.table thead{
  display: none;
}
.table, .table tbody, .table tr,.table td{
   display: block;
}
.table tr{
  margin-top: 15px;
  border: 1px solid black;
  border-radius: 3px;
}
.table td{
  text-align:right;
  padding-left:35% !important;
  position: relative;
  border: 1px solid transparent;
}
.table td::before{
  content:attr(label);
  position:absolute;
  left:0;
  width:50%;
  padding-left:15px;
  font-size: 14px;
  font-weight: bold;
  text-align: left;
}

.table >thead>tr:first-child{
  display: none;
  margin-top: 5px;
}
/* resposive border */ 
#responsive-border{
  border:1px solid #a9a;
}

/* first cell change color*/
#top-table{
  background-color: black;
  color:#fff;
}

#id {
  display: none;
}

.btn_delete{
  padding:2px;
  background-color: #dcdcdc;
  border: 1px solid #666;
  color:#000;
  font-size: 9px;
  text-decoration:none;
  width: 20%;
  margin-left: 3%;
}


#sidebar-brand{
  font-size: 14px;
  text-decoration:none;
  text-align: center;
}
}


/* smart phone */
@media (max-width: 575.98px) { 
  .greetings{
    font-size: 10px;
    line-height: normal;
  }


  .dashbord-headers{
    font-size: 10px;
    
  }

  .table thead{
    display: none;
  }
  .table, .table tbody, .table tr,.table td{
     display: block;
  }
  .table tr{
    margin-top: 15px;
    border: 1px solid black;
    border-radius: 3px;
  }
  .table td{
    text-align:right;
    padding-left:35% !important;
    position: relative;
    border: 1px solid transparent;
  }
  .table td::before{
    content:attr(label);
    position:absolute;
    left:0;
    width:50%;
    padding-left:15px;
    font-size: 14px;
    font-weight: bold;
    text-align: left;
  }
  
  .table >thead>tr:first-child{
    display: none;
    margin-top: 5px;
  }
  /* resposive border */ 
  #responsive-border{
    border:1px solid #a9a;
  }
  
  /* first cell change color*/
  #top-table{
    background-color: black;
    color:#fff;
  }
  
  #id {
    display: none;
  }

  .btn_delete{
    padding:2px;
    background-color: #dcdcdc;
    border: 1px solid #666;
    color:#000;
    font-size: 9px;
    text-decoration:none;
    width: 20%;
    margin-left: 3%;
    float: right !important;
    margin-bottom: 10px !important;
  }
  .dt-buttons{
    margin:0px !important;
    padding-left: 0%;
    font-size: 10px;
 }

 
#sidebar-brand{
  font-size: 12px;
  text-decoration:none;
  text-align: center;
}
 }
