@font-face {
    font-family: 'Roboto';
    src: url('../fonts/Roboto-Regular.ttf') format('truetype'),
    font-weight: 400;
}
body{
    margin: 0;
}
body *{
    font-family: 'Roboto', sans-serif;
}
:focus {
    outline: none;
}
select:focus, input:focus{
    border: 1px solid red;
}
.bold{
    font-weight: bold;
}
.mb-0{
    margin-bottom: 0px;
}
.mt-0{
    margin-top: 0px;
}
.pt-10{
    padding-top: 10px;
}
.pb-20{
    padding-bottom: 20px;
}
.main{
    width: 100%;
}
.banner{
    position: relative;
    width: 100%;
    height: 250px;
}
.banner img{
    width: 100%;
    height: 250px;
}
.banner h1{
    position: absolute;
    top: 105px;
    right: 0;
    left: 0;
    margin: 0 auto;
    width: 370px;
    font-size: 50px;
    font-style: italic;
}
.container{
    max-width: 90%;
    margin: 0 auto;
    position: relative;
    padding-bottom: 40px;
}
.footer{
    text-align: center;
    background-color: #000;
    padding: 10px 0;
    font-size: 15px;
    position: fixed;
    width: 100%;
    bottom: 0;
    color: #fff;
}
.float-right{
    float: right;
}
.footer p{
    margin: 0;
}
#login-form{
    margin: 0 auto;
    width: 321px;
    padding-top: 80px;
}
#login-form table{
    border: 1px solid #ccc;
    padding: 10px;
}
#login-form table td{
    padding: 5px 10px;
}
#login-form table td:last-child{
    text-align: right;
}
input{
    padding: 5px;
}
input[type="submit"]{
    border: 1px solid #333;
    background: #333;
    color: #fff;    
    cursor: pointer;
}
input[type="submit"]:hover{
    border: 1px solid #333;
    background: #fff;
    color: #333;
}
label.error{
    color: #f00;
    font-size: 13px;
}
.error-msg,
.success-msg{
    text-align: center;
}
.error-msg span,
.success-msg span{
    display: block;
    width: 310px;
    margin: 0 auto;
    padding: 10px;
    color: #a94442;
    background: #f2dede;
}.success-msg span{
    color: #3c763d;
    background: #dff0d8;
}
.nav {border-left: 1px solid #eee;background: #333; margin-bottom: 30px;}
.nav ul{
    margin: 0;
    padding: 0;    
    list-style-type: none;
}
.nav li{
    display: inline-block;
    padding: 10px;    
}
.nav li:first-child{
    color: #fff;
    font-style: italic;
    font-size: 34px;
    padding: 0 15px;
    position: relative;
    top: 3px;
}
.nav li a{
    color: #fff;
    text-decoration: none;    
}
.nav li a:hover{
    text-decoration: underline;
}
.nav li.current{
    background: #fff;
    border: 1px solid #333;    
}
.nav li.current a{
    color: #333;
}
.listing{
    width: 100%;
    border-collapse: collapse;    
}
.listing td{
    padding: 10px 10px;
    border: 1px solid #333;
    font-size: 15px;
}
.listing:not(.child_t) tr:nth-child(even){
    background: #eee;
}
.listing thead th{    
    background: #333;
    color: #fff;
    border: 1px solid #000;
    position: sticky;
    top: -1px;
    padding: 10px;
    text-align: left;
    font-weight: 400;
}
.add-new{
    margin-top: 0;
    text-align: right;
}
.add-new a{
    color: #fff;
    background: #333;
    padding: 5px 10px;
    text-decoration: none;
    border: 1px solid #333;
}
.add-new a:hover{
    color: #333;
    background: #fff;
}
.add-new-data{
    margin: 0 auto;
    width: 38%;
}
.add-new-data table{
    border: 1px solid #ccc;
    padding: 10px;
    width: 100%;
}
.add-new-data table td{
    padding: 5px;
}
.add-new-data label.error{
   display: block;
}
.add-new-data input{
    width: 200px;
}
.add-new-data textarea{
    width: 209px;
}
.add-new-data select{
    width: 214px;
    height: 30px;
}
.add-new-data td:last-child{
    text-align: center;
}
#invoice-form{
    width: auto;
}
table.listing input, table.listing select{
    width: auto;
}
span.add,
span.remove{
    display: block;
    padding: 5px 10px;
    background: #00cc00;
    border: #00cc00;
    color: #fff;
    font-weight: bold !important;
    cursor: pointer;
}
span.remove{
    background: #cc0000;
}
table.total{
    border: none;
    border-collapse: collapse;
    padding: 0;
    float: right;
    width: 35%;
}
table.total tr td:nth-child(2), table.total tr td:nth-child(2) input{
    text-align: right;
}
#total_amount, #net_amount{
    border: none;
}
.row_amount{
    text-align: right;
}
.right{
    text-align: right;
}

.listing tbody > tr:hover{
    background: #ccc;
}
.child_t tbody > tr:hover{background: none !important;}
textarea{
    height: 100px;
}
tr.tax-row{display: none;}
.filter{
    max-width: 300px;
    width: 100%;
    padding: 10px;
    background: #eee;
    border: 1px solid #ccc;
    float: right;
    margin: 0 0 20px 0;
}
.filter-filed{
    width: 250px;
    margin: 0 0 10px;
    display: block;
}
select.filter-filed{
    height: 20px;
}
.filter .filter-btn{
    font-size: 14px;
    margin-top: 10px;
    padding: 5px 20px;
}
.page-total {
    position: absolute;
    top: -20px;
    width: 300px;
    font-size: 20px;
    padding: 10px;
    background: #eee;
    color: #000;
    border: 1px solid #333;
}
.page-total span{
    width: 130px;
    display: inline-block;
    margin-bottom: 6px
}
.action{
    color: #000;
    text-decoration: none;
}
.action:hover{
    text-decoration: underline;
}
/** Scroll Bar **/
.scroll-div{
    height: 600px;
    overflow-y: scroll;
    border: 1px solid #333;
    clear: both;
    margin-bottom: 10px;
}
/* width */
.scroll-div::-webkit-scrollbar {
  width: 5px;
}
/* Track */
.scroll-div::-webkit-scrollbar-track {
  box-shadow: inset 0 0 5px grey; 
  border-radius: 10px;
}
/* Handle */
.scroll-div::-webkit-scrollbar-thumb {
  background: #000; 
  border-radius: 10px;
}
/* Handle on hover */
.scroll-div::-webkit-scrollbar-thumb:hover {
  background: #b30000; 
}