* { margin: 0; padding: 0; outline: 0; }
body, html { height: 100%;  }
body {font-size: 12px;line-height: 19px; font-family: arial, sans-serif; color: #000; background: #FFF; min-width: 956px; }
#mydiv {
	position:absolute;
	top: 50%;
	left: 50%;
	width:22em;
	height:33em;
	margin-top: -18em;
	margin-left: -10em; 
    border: 1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 9px 9px 7px rgba(255, 0, 0,0.5);
    background-color: #f5f2ef;
	z-index:9999;
}
.signin-control{
	-webkit-border-radius: 5px;
	font-weight:500;
	font-size:12px;
	border-color: rgb(255, 255, 255, 1 );
	height:18px;
}
.signin-control select:focus {
	border-color: rgb(226, 100, 3, 1 ); outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(255, 255, 255);
	-webkit-border-radius: 5px;
	font-size:12px;
	padding-left:5px;
	height:32px;
	background-color: white;
}
.signin-control:focus {
	border-color: rgb(226, 100, 3, 1 ); 
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(255, 255, 255);
	-webkit-border-radius: 5px;
	font-size:12px;
}
.signin-hold{
	margin-top:25px;
	color:black;
}
.signin-hold select{
	width:160px;
	height:32px;
	background-color: white;
}
.signin-hold input{
	padding:5px;
}
.signin-row {
	padding:0px 0px 10px 0px
}
.signin-row input{
	height:32px;
}
.center{
	display: block;
	margin-top:15px;
	margin-left: auto;
	margin-right: auto;
	width: 50%;
}
.logbut{
	width:100px;
	height:32px;
	border-color:white;
	border-radius:5px;
	font-weight:500;
	background-color: #e26403;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fff1e6), color-stop(50%, #fff1e6), color-stop(100%, #fff1e6));
	background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -moz-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -ms-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -o-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
}
.logbut:hover{
	background-color: #fff1e6;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fdb781), color-stop(50%, #fc8c36), color-stop(100%, #e26403));
	background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -moz-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -ms-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -o-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
    cursor: pointer;	
}

button.button1 {
	background-color: #e26403;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fff1e6), color-stop(50%, #fff1e6), color-stop(100%, #fff1e6));
	background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -moz-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -ms-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -o-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
    -webkit-background-clip: padding-box;
	border-radius: 3px;
	color: #000;
	font:  12px "helvetica neue", helvetica, arial, sans-serif;
	text-align: center;
	font-weight:500;
	width: 80px;
	height:25px;
	-webkit-background-clip: padding-box; }
  button.button1:hover {
	background-color: #fff1e6;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fdb781), color-stop(50%, #fc8c36), color-stop(100%, #e26403));
  background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -moz-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -ms-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -o-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
    cursor: pointer; }
button.button1:focus {
	background-color: #fff1e6;
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fdb781), color-stop(50%, #fc8c36), color-stop(100%, #e26403));
	background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -moz-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -ms-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: -o-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
	background-image: linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
    cursor: pointer; }
  button.button1:active {
    background: #e26403;
    background: -moz-radial-gradient(50% 31% 0deg, circle cover, rgba(38, 76, 153, 0.4), rgba(11, 23, 46, 0.4)), -moz-linear-gradient(top, #fdc59b 0%, #fc9a4f 50%, #fc7d1d 50%, #e26403 100%);
    background: -webkit-gradient(radial, 50% 20%, 75, 50% 50%, 0, from(rgba(226, 100, 3, 0.4)), to(rgba(252, 154, 79, 0.4))), -webkit-gradient(linear, 0 0, 0 100%, color-stop(0, #7b5cb5), color-stop(0.5, #572bad), color-stop(0.5, #4a1aab), color-stop(1, #4b1bab));
    color: #000;
    -webkit-background-clip: padding-box; }
button.button1:disabled{
  background-color: #581845;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #581845), color-stop(50%, #581845), color-stop(50%, #581845), color-stop(100%, #581845));
  background-image: -webkit-linear-gradient(top, #581845 0%, #581845 50%, #581845 50%, #581845 100%);
  color:black;	
}
#container{
	position:absolute;
	top: 50%;
	left: 50%;
	width:40em;
	height:40em;
	margin-top: -20em; 
    margin-left: -20em;
	border:1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 7px 7px 7px rgba(255, 51, 0,0.5);
    background-color: #f5f2ef;
}
.box_border{
	border:1px solid black;
	border-radius:8px;
	margin:1em;
	padding-bottom:13px;
	height:auto;
}
.space{padding:9px 7px 7px 7px}
button.button2 {
 background-color: #e26403;
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fff1e6), color-stop(50%, #fff1e6), color-stop(100%, #fff1e6));
	background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -moz-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -ms-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: -o-linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
	background-image: linear-gradient(top, #fff1e6 0%, #fff1e6 50%, #fff1e6 50%, #fff1e6 100%);
  -webkit-background-clip: padding-box;
  border-radius: 5px;
  border-color:white;
  color: #000;
  font:  14px/1 "helvetica neue", helvetica, arial, sans-serif; font-weight:500;
  padding: 10px 0 12px 0;
  text-align: center;
  width: 125px;
  -webkit-background-clip: padding-box; }
  button.button2:hover {
    background-color: #fff1e6;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #fff1e6), color-stop(50%, #fdb781), color-stop(50%, #fc8c36), color-stop(100%, #e26403));
  background-image: -webkit-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -moz-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -ms-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: -o-linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
  background-image: linear-gradient(top, #fff1e6 0%, #fdb781 50%, #fc8c36 50%, #e26403 100%);
    -webkit-background-clip: padding-box;
    cursor: pointer; }
.button2:disabled{
  background-color: #959090;
  background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0%, #959090), color-stop(50%, #959090), color-stop(50%, #959090), color-stop(100%, #959090));
  background-image: -webkit-linear-gradient(top, #959090 0%, #959090 50%, #959090 50%, #959090 100%);
}
#adm_box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:35em;
	height:46em;
	margin-top: -23em; 
    margin-left: -17.5em;
	border: 1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 7px 7px 7px rgba(255, 51, 0,0.5);
    background-color: #f5f2ef;	
}
#addbuy_box{display:none}
#sup_box{position:absolute;top: 50%;left: 50%;width:35em;height:50em;margin-top: -30em; 
    margin-left: -17.5em; border: 1px solid black;-webkit-border-radius: 10px;box-shadow: 7px 7px 7px rgba(255, 51, 0,0.5);
    background-color: #f5f2ef;
}
#buyman{display:none}
#sup_box button{
	border:1px solid black;
}
#hsn_box{display:none}
#hsnman_box{display:none}
#itembox{display:none}
#itemaster_box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:33em;
	height:54.5em;
	margin-top: -28em;
	margin-left: -16.5em; 
    border: 1px solid black;
	-webkit-border-radius: 10px;box-shadow: 9px 9px 7px rgba(255, 0, 0,0.5);
    background-color: #f5f2ef; z-index:9999;
}
#itemaster_box button{
	border:1px solid black;
}
#itemaster_box input{
	height:28px;
}
#add_box{display:none}
#add_box button{
	border:1px solid black;
}
#editbox{display:none}
#editbox button{
	border:1px solid black;
}
#itemman_box{display:none}
#listman_box{display:none}
#listman_box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:45em;
	height:70em;
	margin-top: -35em; 
    margin-left: -22.5em;
	border: 1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 7px 7px 7px rgba(255, 51, 0,0.5);
    background-color: #f5f2ef;
}
#itemlist_box{
	width:95%;
	border-collapse:collapse;
	width:98%;
	height:auto;
	text-align:center;
	margin-top:5px;
	overflow:scroll; 
}
#itemlist_box td {
	height:32px;
}
#listman_box button{
	border:1px solid black;
}
.dc-box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:60em;
	height:73.5em;
	margin-top: -35em;
	margin-left: -30em; 
    border: 1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 9px 9px 7px rgba(255, 0, 0,0.5);
    background-color: #f5f2ef;z-index:9999;
}
.dc-box select td tr {
	-webkit-border-radius: 5px;
	font-weight:500;
	font-size:14px;
	border-color: rgb(255, 255, 255, 1 );
	padding-left:5px;
	height:32px	;
	padding:5px 5px 5px 5px;
	background-color: white;
}
.curve{
	border-radius:8px;
	margin:1em;
}
.dc-tab select:focus {
	border-color: rgb(226, 100, 3, 1 ); outline: 0;-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(255, 255, 255);
	-webkit-border-radius: 5px; font-size:14px;
	padding:5px; height:32px;
	background-color: white;
}
.dc-tab input{
	margin:8px;
}
.dc-tab select{
	margin:8px;
	width:169px;
	font-size:14px;
	background-color: white;
	color:black;
	height:32px;
}
.dc-tab select td tr{
	-webkit-border-radius: 5px;
	font-weight:500;
	font-size:14px;
	border-color: rgb(255, 255, 255, 1 );
	padding-left:5px; height:32px;
	background-color: white;
}
.dc-control{
	-webkit-border-radius: 5px;
	font-weight:500;
	font-size:14px;
	border-color: rgb(255, 255, 255, 1 );
	padding-left:5px;
	height:27px;
	width:160px;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(255, 255, 255);
}
.dc-control:focus {
	border-color: rgb(226, 100, 3, 1 );
	outline: 0;
	-webkit-box-shadow: inset 0 1px 1px rgba(0,0,0,.075),0 0 8px rgb(255, 255, 255);
	-webkit-border-radius: 5px;
	font-size:14px;
	padding-left:5px;
	height:27px
}
.dc-box button {
	border:1px solid black;
}
/*Reports.php */
#billspan{display:none}
#supspan{display:none}
#buyspan{display:none}
#itmspan{display:none}
#datespan{display:none}
#non-printable button{
	border:1px solid black;
}
#alter_box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:35em;
	height:35em;
	margin-top: -20em; 
    margin-left: -20em;
	border:1px solid black;
	-webkit-border-radius:10px;
	box-shadow:7px 7px 7px rgba(255, 51, 0,0.5);
    background-color:#f5f2ef;	
}
#alter_box button{
	border:1px solid black;
}
#dcleg{
	border-radius:5px;
	padding-left:15px;
	padding-right:15px;
}
legend {border:1px solid grey}
.xbut:hover{ 
    background-color: orange; 
	transform: scale;
}
.ledger-box{
	position:absolute;
	top: 50%;
	left: 50%;
	width:60em;
	height:60em;
	margin-top: -35em;
	margin-left: -30em; 
    border: 1px solid black;
	-webkit-border-radius: 10px;
	box-shadow: 9px 9px 7px rgba(255, 0, 0,0.5);
    background-color: #f5f2ef;z-index:9999;
}
.ledger-box select td tr {
	-webkit-border-radius: 5px;
	font-weight:500;
	font-size:14px;
	border-color: rgb(255, 255, 255, 1 );
	padding-left:5px;
	height:32px	;
	padding:5px 5px 5px 5px;
	background-color: white;
}
.ledger-box button {
	border:1px solid black;
}
#tbl_rpt td{
	padding:3px;
	text-align:center;
	border:1px solid grey;
}
.rep{
	width:200px;
	height:32px;
	margin-bottom:10px;
}
.rep:focus{
	width:200px;
	height:32px;
	margin-bottom:10px;
}
/*--------------------------------------------reports.php-----------------------------------*/
.cusouterdiv{
	width: 265mm;
	border:0px solid grey;
	height:176mm;
	background-color:white;
}
.cusindiv {
	float: left;
	width: 125mm;
	height: 176mm;
	border:0px solid grey;
}
 .flex_container {
	margin-top:0em;
    width:270mm;
	height:auto;
	background-color:white;
	padding-bottom:2em;
	flex-wrap:column;
}
.flex_container tr:nth-child(odd) {
	background-color:#fcf3ec;
}

.flex_container table {
	width:80%;
	
        margin-bottom: 10px; /* Space between tables/items in a column */
    }