form * {
	background: transparent;
}

* {
	-webkit-box-sizing: border-box; /* Safari/Chrome, other WebKit */
	-moz-box-sizing: border-box;    /* Firefox, other Gecko */
	box-sizing: border-box;         /* Opera/IE 8+ */
}


/*
 * HEADER STYLES
 */
body	{
	margin: 0;
	padding: 0;
	background: #2B313B;
	font: normal 1em "Roboto Condensed", Arial, Helvetica, Geneva, sans-serif;
}

.wrapper{
	width:100%;
	height:40px;
	background: #464646;
	border-top:2px solid #939393;
	position:relative;
	margin-bottom:10px;
}
.container {
	float: right;
	right: 50%;
	position: relative;
}
.menu{
	float: right;
	right: -50%;
	position: relative;
	height:40px;
	border-left:1px solid rgba(0,0,0,0.3);
	border-right:1px solid rgba(255,255,255,0.3);
}
ul{margin:0;padding:0;}
ul.menu li{
	list-style:none;
	float:left;
	height:39px;
	text-align:center;
	background:-webkit-gradient(radial,50% 100%,10,50% 50%,90,from(rgba(71,81,97,1)),to(rgba(43,49,59,1)));
	background:-moz-radial-gradient(center 40px 45deg,circle cover,rgba(71,81,97,1) 0%,rgba(43,49,59,1) 100%);
}
ul li a{
	display:block;
	padding:0 20px;
	border-left:1px solid rgba(255,255,255,0.1);
	border-right:1px solid rgba(0,0,0,0.1);
	text-align:center;
	line-height:39px;
	text-decoration:none;
	color:#AAA;
	text-shadow: 0 1px 1px rgba(0,0,0,0.4);
	text-transform:uppercase;
	font-size:15px;
	font-weight:bold;
	-webkit-transition-property:background;
	-webkit-transition-duration:700ms;
	-moz-transition-property:background;
	-moz-transition-duration:700ms;
}
ul li a:hover{
	background:transparent none;
} 

ul[rel=sam1] li a{
	background:#606060;
}
ul[rel=sam1] li a:hover{
	background:transparent none;
}
ul li.active a{
	background:-webkit-gradient(radial,50% 100%,10,50% 50%,90,from(rgba(31,169,244,1)),to(rgba(0,28,78,1)));
	background:-moz-radial-gradient(center 40px 45deg,circle cover,rgba(31,169,244,1) 0%,rgba(0,28,78,1) 100%);
}
ul li a.currentpage {
	background:transparent none;
}	


input[type=text],input[type=password],input[type=submit],input[type=email],input[type=url],input[type=tel],input[type=number],input[type=datetime],input[type=date],textarea,button, select {
	border: none;
	background: white;
	-webkit-border-radius: 0;
	-moz-border-radius: 0;
	border-radius: 0;
	padding: 5px;
}



.group:before, .group:after { content: "\0020"; display: block; height: 0; overflow: hidden; }  
.group:after { clear: both; }  
.group { zoom: 1; }  



#myform {
	margin: 20px auto 20px;
	width: 900px;
	background: #EEE;
	-webkit-border-radius: 10px;
	-moz-border-radius: 10px;
	border-radius: 10px;
	-webkit-box-shadow: 10px 10px 20px #20242C;
	-moz-box-shadow: 10px 10px 20px #20242C;
	box-shadow: 10px 10px 20px #20242C;
	clear: both;
	position: relative;
}

#myform fieldset {
	border: none;
	margin: 0;
	padding: 0;
}

#myform fieldset:before, h2 {
	content:attr(title);
	display: block;
	padding: 0;
	padding: 10px 10px 3px 10px;
	font-weight: bold;
	font-size: 1.25em;
	color: #666;
	margin: 0 auto;
	text-shadow: 1px 1px 1px #FFF;
}
#myform form.group {
    padding-top:40px;
}
#myform legend {
	display: none;
}

#myform div, #filters div {
	display: inline-block;
	margin: auto 10px;
	vertical-align: middle;
}

#myform ol {
	margin: 0px;
	padding: 0px;
}
 
#myform ol li {
	position: relative;
	list-style: none;
	padding: 8px 1% 8px 1%;
	border-top: 1px solid #EEE;
	border-bottom: 1px solid #888;
	
}

#filters {
	width: 100%;
	margin: auto;
	text-align: center;
}
#filters ol {
	list-style: none;
}
#filters label {
	display: block;
	margin-bottom: 5px;
	color: #CCC;
	text-shadow: 1px 1px 1px #000;
}


li.rows > div:nth-of-type(2n) {
	background: #ccc;
}
li.rows > div {
	padding: 5px 0;
}

#myform ol li:first-child {
	border-top:none;
}

#myform ol li:last-child {
	border-bottom:none;
}

#myform ol li ol li {
	padding-bottom: 0;
	display: inline;
	padding: 0px;
	border-top: none;
	border-bottom: none;
}

#myform ol li ol li label {
	font-weight: normal;
	display: inline;
	cursor: pointer
}

#myform ol li.singleline label {
	font-weight: normal;
	display: inline;
}

#myform ol li label, .grouphead, {
	font-weight: bold;
	display: block;
	margin-bottom: 5px;
	color: #454D4D;
	text-shadow: 1px 1px 1px #FFF;
}

#myform ol li input, #myform textarea, #filters ol li input, select, #myform input, #poSearchBox input{
	display: block;
	width: 100%;
	margin: 5px auto;
	outline: none;
	border: 1px solid #999;
	height: 28px;
	background: #CCCCCC;
	background: -webkit-linear-gradient(#FFFFFF,#DDDDDD) no-repeat;
	background: -moz-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
	background: -o-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
	background: -ms-linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
	background: linear-gradient(#FFFFFF,#BBBBBB) no-repeat;
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#FFFFFF', endColorstr='#BBBBBB',GradientType=0 );

	-webkit-border-radius: 5px;
	-moz-border-radius: 5px;
	border-radius: 5px;
}


#myform ol li input:focus {
border-color: #93481A;
background: white;
}
#myform ol li textarea:focus {
border-color: #93481A;
background: white;
}

#myform ol li ol li input {
	width: auto;
	display: inline;
}

#myform input[type="checkbox"] {
	width: auto;
	margin-left: 10px;
	background: none;
	border: none;
}

#myform textarea {
	height: 75px;
}

#myform .hint {
	font-weight: normal;
	color: #2076c8;
	margin-left: 10px;
}

#myform .error {
	font-weight: normal;
	color: #cf1925;
	margin-left: 10px;
}

#myform button, #filters button {
	width: 100px;
	width: 20%;
	min-width: 100px;
 	height: 24px;
	float: right;
	padding: 0;
	margin: 10px;

	border: 0;
	color:#FFF;
	font-weight: bold;
	cursor: pointer;
	
	background: #466E82;
	background: url(/images/arrows.png) no-repeat right top, #466E82;
	background: url(/images/arrows.png) no-repeat right top, -webkit-linear-gradient(#466E82,#2C4552);
	background: url(/images/arrows.png) no-repeat right top, -moz-linear-gradient(#466E82,#2C4552);
	background: url(/images/arrows.png) no-repeat right top, -ms-linear-gradient(#466E82,#2C4552);
	background: url(/images/arrows.png) no-repeat right top, -o-linear-gradient(#466E82,#2C4552);
	background: url(/images/arrows.png) no-repeat right top, linear-gradient(#466E82,#2C4552);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#466E82', endColorstr='#2C4552',GradientType=0 );
	

	-webkit-border-radius: 8px;
	-moz-border-radius: 8px;
	border-radius: 8px;
}

#myform button:hover {
	background: url(/images/arrows.png) no-repeat right top, #93481A;
	background: url(/images/arrows.png) no-repeat right top, -webkit-linear-gradient(#93481A,#6D2F0E);
	background: url(/images/arrows.png) no-repeat right top, -moz-linear-gradient(#93481A,#6D2F0E);
	background: url(/images/arrows.png) no-repeat right top, -ms-linear-gradient(#93481A,#6D2F0E);
	background: url(/images/arrows.png) no-repeat right top, -o-linear-gradient(#93481A,#6D2F0E);
	background: url(/images/arrows.png) no-repeat right top, linear-gradient(#93481A,#6D2F0E);
	filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#93481A', endColorstr='#6D2F0E',GradientType=0 );
}



#myform.wide{
	width: 900px;
} 
#myform div {
	margin: 0;
}
#orderlist div.row div{
	overflow: hidden;
}

#orderlist {
	width: 100%;
	margin: 0;
	padding: 0;
}


div.icons {
	position: absolute;
	right: 0px;
	opacity: 0;
	/*height: 100%;
	-webkit-transition: opacity .5s ease;
	-moz-transition: .5s ease;
	-o-transition: .5s ease;
	-ms-transition: .5s ease;
	transition: opacity .5s ease;*/
}
div:hover > div.icons {
	opacity: 1;
}
div.icons img {
	
	vertical-align: middle;
}
div.icons img:hover {
	opacity: .5;
}
.edit {
	right: 0;
}


#orderlist > div {
	color: #454D4D;
	width: 100%;
	position: relative;
	padding: 0;
	margin: 10px 0;
}
#orderlist > div:hover {
	padding: 10px 0;
	margin: 0;
}

#orderlist > div:hover:first-of-type {
	-webkit-border-radius: 10px 10px 0 0;
	-moz-border-radius: 10px 10px 0 0;
	border-radius: 10px 10px 0 0;
}
#orderlist > div:hover:last-of-type {
	-webkit-border-radius: 0 0 10px 10px;
	-moz-border-radius: 0 0 10px 10px;
	border-radius: 0 0 10px 10px;
}

#orderlist > div:hover:only-child {
	-webkit-border-radius:10px;
	-moz-border-radius:10px;
	border-radius:10px;
}


#orderlist span {
	line-height: 2em;
}
#orderlist span.date {
	font-family: 'Droid Sans Mono' monospace;

}


#myform div.hoverbox {
position: absolute;
background: black;
color: grey;
border: 2px solid gray;
display: none;
top:0;
left:10px;
padding: 10px;
white-space: nowrap;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
#myform div:hover > div.hoverbox {
display: block;
}
#myform div.commentbox {
position: absolute;
background: black;
color: #DDD;
width: 300px;
border: 2px solid gray;
display: none;
top:0;
left:30px;
padding: 10px;
white-space: pre-line;
-webkit-border-radius: 8px;
-moz-border-radius: 8px;
border-radius: 8px;
}
#myform div:hover > div.commentbox {
display: block;
}

.row div {
	float: left;
}

#orderlist .new {
	background: #FFBDD3;
}

#orderlist .here {
	background: #9DF7A2;

}

#orderlist .onorder {
	background: #F7E9BC;
}
#orderlist .shipped {
	background: #7af6ff;

}

#orderlist a:link, #orderlist a:visited {
	color: black;
}

span {
	padding-left: 20px;
	display: inline-block;
	white-space: nowrap;
}
span.comment {
	white-space: pre-line;
	vertical-align: top;
}
#vieworder span:first-child {
	font-weight: bold;
	text-shadow: 1px 1px 1px white;
}

#orderlisthead {
	width: 900px;
	color: #EEE;
	margin: 0 auto 10px;
	
}

#orderlisthead span {
	color: #EEE;
}
#orderlisthead div {
	float: left;
}

#vieworder {
	width: 100%;
	position: relative;
}

#vieworder div {
	padding: 10px 20px 10px;
	display: block;
}
#vieworder .left {
	width: 50%;
	float:left;
}
#vieworder .right {
	width: 50%;
	float: right;
}
#vieworder .clear {
	clear: both;
}
#vieworder span:first-child {
    font-weight: bold;   
}
#vieworder table {
    margin: 10px auto;
    border-collapse: collapse;   
	color: #454D4D;
}
#vieworder td, #vieworder th {
    padding: 10px;
    text-align: left;
}
#vieworder th{
    border-bottom: 1px solid #454D4D;  
	font-weight: bold;
	text-shadow: 1px 1px 1px white;
}
.price {
	text-align: right;
}
#addrow {
	padding-left: 20px;
	text-decoration: none;
}
#myform.login {
	width: 500px;
	text-align: center;
	padding-bottom: 20px;
}

#myform.login label
{
	text-align: left;
}
div#rows div:only-child a {
	display: none;
}


#orderlist .late {
	border-top: 2px solid #FFBDD3;
	border-bottom: 2px solid #FFBDD3;
}
div#settings {
	width: 600px;
	margin: auto;
	display: block;	
}
#settings table {
	width: 100%;
	white-space: nowrap;
}
.delete {
    right: -10px;
    top:  -10px;
	
}
#settings table tr {
	height: 2em;	
}
.view {
position: absolute;
left: -40px;
}
.rush {
	color: rgb(238, 50, 50);
	position: absolute;
	right: -60px;
	font-family: "Roboto Slab";
	font-style: italic;
	font-weight: bold;
	/*line-height: 3em;*/
}
#myform .highlight
{
	background: none;
	background-color:yellow !important;
}
#poSearchBox {
	position: absolute;
	width: 70px;
	right: 20px;
	top:10px;
}


/* pobook styles */
.pobook {
    width: 900px;
    margin: 20px auto 20px;
    background: white;
    text-align: auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    /* overflow hack */
    overflow: auto;
}

.po_buttons {
    margin-top: 10px;
    text-align: center;
}

#new_po_btn {
    background-color: #4d90fe;
    color: #ffffff;
    cursor: pointer;
    padding: 5px 10px;
}

#save_po_btn {
    background-color: #9ecb29;
    color: #ffffff;
    cursor: pointer;
    padding: 5px 10px;
}

.list_header {
    margin: 10px auto 10px;
    font-weight: bold;
}

.list_header div {
    float: left;
    text-align: center;
}

.list {
    clear: left;
    padding: 10px;
}

.list div {
    margin: 5px 0px 5px 0px;
    text-align: center;
}

.paid {
    opacity: 0.4;
}

.ispaid {
    width: 50px;
}

.po_number {
    width: 100px;
}

.work_order {
    width: 100px;
}

.supplier {
    width: 150px;
}

.part {
    width: 250px;
}

.type {
    width: 100px;
}

.date {
    width: 100px;
}


/* styles for editting the purchase order */
.edit_po {
    width: 900px;
    margin: 20px auto 20px;
    background: white;
    text-align: auto;
    box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.3);
    /* overflow hack */
    overflow: auto;
}
