body { font-size: 13px; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; color: black; font-weight: 400; margin: 0; background: #fafafa; z-index: 0; }

#footer { clear: both; margin: 40px 0 0 0; padding: 35px 0 15px 0; width: 100%; position: relative; background-color: #616266 ; overflow: hidden; }
#footer p { margin: 10px 15px; font-size: .85em; color: #999999; line-height: 1.3; }
#footer h1 { margin: 10px 25px; font-size: 1em; color: #A7A8AD; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; }

a { word-wrap: break-word; }
a:link, a:visited { color: #5b5bd3; text-decoration: none; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; font-weight: 400; }
a:hover, a:active, a:focus { opacity: 0.8; }

form { padding:0; margin: 0; }
label, .label { background: transparent; color: #4A4A4A; font-weight: normal; font-size: 14px; padding: .25em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; }

button[disabled] { display: none; }
.bulk-options .ui-widget[disabled] {display:none; }

button:hover, button:focus, input.button:hover, input.button:focus, button[disabled]:hover, button[disabled]:focus, button[disabled]:active { text-decoration: none; }
a.button:visited { color: #fff; }


/*To make it work put the following after the button text: <span class="fa-button">&#xf019;</span>*/
/* FONT AWESOME BUTTONS */
.fa-button {font-family:FontAwesome; }
.fa-main-button {font-family:FontAwesome; font-size: 1.8em; }
.fa-button-large {font-family:FontAwesome; font-size: 1.5em; } 
.fa-button-export {font-family:FontAwesome; font-size: 1.5em; } 
.fa-round-button { text-decoration: none; width: 36px; height: 36px; line-height:36px; text-align: center; margin: 0px 5px; border: 0px; cursor:pointer; background-color: #FAFAFA; color: #717171; padding-top:0px; padding-bottom:0px; float:left; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%;}
.fa-round-button:hover { background-color: #E9E9E9; color: #1F1F1F; }


h1 { color: #21344d; float: left; font: bold 1.5em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; margin: 0 28px .33em; }
h2 { font: bold 1.2em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; color: #21344d; margin: 1em 0; padding: 0; }
h3 { color: #21344d; font: bold 1.1em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; margin: 20px 0px 10px 0; }
h4 { font: bold 1.2em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; color: #21344d; margin-top: 10px; margin-bottom: 0px; padding: 0; }

hr { line-height: 1px; border-top-style: solid; border-bottom-style: none; border-left-style: none; border-right-style: none; border-color: #21344d; border-width: 1px; margin-top: 10px }

/*height: 47px;*/

.header { width: 100%; float: left; background: transparent; color: #21344d; padding: 0; overflow: hidden; }
.header h1 { float: left; margin: 13px 0 0; }
img#logo { display: block; float: left; margin: 11px 0 10px 10px; }
.login { background: #FAFAFA; color: #616266; float: right; padding-right: 13px; border-bottom: 1px solid #e9e9e9; }
.login a { background: #FAFAFA; color: #717171; width: 29px; height: 23px; line-height: 23px; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; margin-bottom: -25px; padding: 6px 8px; font-size: 1.3em; text-decoration: none; }
.login a:hover { background-color: #E9E9E9; color: #1F1F1F; }
.current-user { line-height: 54px; padding-right: 5px; }

.login-table { font-size: 16px; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; margin: 1em 0 0; margin-left: auto; margin-right: auto; }
.login-table th, .login-table td { padding: .33em 1em; text-align: left; }
.login-notice {  border-top: 1px solid #21344d; font-size: 12px; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; color: black; padding-left: 28px; margin: 0;  }

/* SITE NAVIGATION */
.site-nav { clear: both; font-weight: bold; margin: 0px 0px 0px; overflow: hidden; padding: 0px; width: 100%;}
.site-nav ul { background: #fafafa; color: #616266; list-style: none; overflow: hidden; margin: 0px; padding: 0px; text-indent: 0px; z-index: 9; border-bottom: 1px solid #e9e9e9;}
.site-nav ul li { float: left; margin: 0px; overflow: hidden; /*padding-bottom: 1px;*/ }
.site-nav ul li:first-child { background: none; margin-left: 0px; }
/* MAIN NAVIGATION LINKS */
.site-nav ul li a { font-size: 14px; background: transparent; color: #616266; display: block; margin: 0px; padding: 0px 12px; line-height: 54px; position: relative; z-index: 10; font-weight: bold; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; }
.site-nav ul li:hover a { background-color: #E9E9E9; color: #616266; text-decoration: none; }
/* DROP DOWN LIST ITEMS */
.site-nav ul li ul { position: absolute; min-width: 15em; left: -999em; font-size: 14px; margin: 0 0 0; padding: 0; border: none; }
.site-nav ul li ul li, #site-nav ul li ul li:first-child { border: 0; margin: 0 0; padding: 0; float: none; }
.site-nav ul li ul li:first-child { padding-top: 0; }
.site-nav ul li ul li:last-child {  border-bottom: none; }
.site-nav ul li ul li a, #site-nav ul li ul li a:link, #site-nav ul li ul li a:visited { color: #616266!important; text-decoration: none; border: 0; font-weight: 400; }
.site-nav ul li ul li:hover a { text-decoration: none; color: #616266!important; background-color: #d0d0d0; }

.nav-arrow-down { width: 0; height: 0; border-left: 4px solid transparent; border-right: 4px solid transparent; border-top: 4px solid #616266; margin-left: 4px; margin-top: 26px; float:right;  }

.main { clear: both; margin: 0; /*background-color: #F5F6F8;*/ }
.bulk-options { display:flex; }
/* separate css for the accounts list combobox */
.bulk-options .ui-widget { margin: 2px 5px 2px 5px; width: 350px; display:flex; padding-top: 2px; }
.bulk-options .ui-widget button { font-size: 1em; }
.bulk-options .ui-widget-content { background: #ebebeb; padding: 0.2em 0 0.3em 0.7em; height: 16px; margin-top: 7px; }
.bulk-options .ui-autocomplete-input { border: none; }

/*.accounts-list { margin: 2px 5px; width: 250px; }*/
.page-options { float: left; }
.page-options .ui-widget { margin-top: 18px; margin-bottom: 8px; margin-left: 15px; background-color:blue; }
/*.add-order, .add-account, .edit-account, .add-contact { margin: 5px 15px 9px 15px; }*/

.newsearchbutton { text-decoration: none; width: 28px; height: 28px; text-align: center; line-height:28px; margin: 6px 5px 6px 2px; border: 0px; cursor:pointer; background-color: #FAFAFA; color: #717171; padding-top:0px; padding-bottom:0px; float:right; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; font-size:1.1em!important; }
.newsearchbutton:hover { background-color: #E9E9E9; color: #1F1F1F; }


/* Tooltip container */
.tooltip {
  position: relative;
  display: inline-block;
}

/* Tooltip text */
.tooltip .tooltiptext {
  visibility: hidden;
  width: 70px;
  background-color: #717171;
  color: #fff;
  text-align: center;
  padding: 6px 0;
  border-radius: 6px;
  line-height: 12px!important;
   /* Position the tooltip text - see examples below! */
  position: absolute;
  z-index: 1;
  top: 115%;
  left: 50%; 
  margin-left: -35px; /* Use half of the width (120/2 = 60), to center the tooltip */
}

/* Show the tooltip text when you mouse over the tooltip container */
.tooltip:hover .tooltiptext {
  visibility: visible;
}

#breadcrumbs { background: #f0f0f0; margin: 0; clear: both; }
#breadcrumbs ul { list-style: none; overflow: hidden; margin: 0; padding: 0.33em 28px; text-indent: 0; }
#breadcrumbs ul li { font-size: .9em; float: left; margin: 0 .25em; overflow: hidden; padding:  0;}
#breadcrumbs ul li a { padding: 0; }
#breadcrumbs ul li:before { content: "\0020 \0020 \0020 \003E \0020 \0020 \0020";}
#breadcrumbs ul li:first-child:before { content: ""; } 

#validate { background: #F0F085; margin: 0; clear: both; border-top:1px solid #21344D; }
#validate ul { list-style: none; overflow: hidden; margin: 0; padding: 0.67em 28px; text-indent: 0; }
#validate ul li { font-size: .9em; margin: 0 .25em; overflow: hidden; padding:  0;}
#validate ul li a { padding: 0; }
#validate ul li:before { content: "\0020 \0020 \0020 \003E \0020 \0020 \0020";}
#validate ul li:first-child:before { content: ""; } 

.thetables { font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; width: 100%; border-collapse: separate; border-spacing: 0;  clear: both;  margin-bottom: 10px; font-weight: 400; }
.thetables th { padding: 10px 5px; text-align: left; border-top: 1px solid #E0E0E0; border-bottom: 1px solid #E0E0E0; }
.thetables td { padding: 10px 5px; text-align: left; border-bottom: 1px solid #E0E0E0; }
.thetables th { color: #222222; font-weight: 600; background-color: #fff; }
.comments td { padding: 10px; text-align: left; overflow-wrap: break-word; display:inline-block; width: 675px; }

.thetables a { color: #5b5bd3; /*color: #1a73e8; */ }
.thetables a:hover { opacity: 0.8; }
.thetables .fa-button { color: #717171; font-size:1.1em; margin-right: 7px; }

.thetables td { vertical-align: top; }
.thetables td.checkbox { vertical-align: middle; }

#header-company { min-width: 300px; }
#header-pay { min-width: 65px; }
#header-date { min-width: 70px; }
#header-tools { min-width: 45px; }
#header-order { min-width: 40px; }
#header-invoice { min-width: 40px; }
#header-lineItems { min-width: 300px; }
#header-total { text-align:right; }
#header-dateCreated { min-width: 70px; }
#header-dateExpires { min-width: 70px; }
#header-lastUpdated { min-width: 70px; }
#assignedto { min-width: 90px; }

.roweven { background-color: #fff; }
.rowodd { background-color: #fff; }
.datarow { border: 1px solid #000; margin: .5em 0; line-height:1.7; }

.datarow.selected, .datarow.selected:hover  { background: #ccccf4; }
.datarow.error td { border-top: 1px solid #900; border-bottom: 1px solid #900; }
.datarow.error td:first-child { border-left: 1px solid #900; }
.datarow.error td:last-child { border-right: 1px solid #900; }
.datarow:hover, .datarow.modified:hover { cursor:pointer; }

tr.awaiting-payment td { color: #c33; }
tr.awaiting-payment td .supplemental { color: #5f6368; font-weight: 300; }
tr.cancelled td, tr.cancelled td .supplemental { color: #C4C4C4; font-weight: 300; background-color: #fafafa; }
tr.cancelled td a { color: #C4C4C4; font-weight: 300; }
tr.purchased td, tr.purchased td a { background-color: #EBF1FD; color: #9EA0E2; font-weight: 300; }
tr.awaiting-invoice td:nth-child(3) { border-bottom: 2px solid #E44D20;  }
tr.complete td { color: #222222; font-weight: 600; }
tr.complete td .supplemental { color: #70757a; font-weight: 400; letter-spacing: .5px; }
tr.test-order td { color: #999; }
.thetables td .supplemental { color:#5f6368; font-weight: 300;}

/* Page Link Styling */
.pagelinks { font-size: 1em; font-weight:bold; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; margin: 7px 15px 3px 0px; float: right;  }
.pagelinksbottom { display: flex; justify-content: center; font-size: 1em; font-weight: bold; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; margin: 35px 0px; }
.pagelinks a, .pagelinksbottom a { font-weight: 600; }

div.navpagelast { width: 27px; height: 25px; float: left; text-align: center; line-height:27px; color: #fff; margin: 0 6px; }
div.navpagelast a:hover, div.navpagelast a:focus, 
div.navpagelast a:active { color: #1F1F1F; width: 27px; height: 25px; line-height: 27px; background-color: #E9E9E9; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; text-decoration: none; }

div.navpageoff a, div.navpageprev a, div.navpagenext a, div.navpagelast a { display: block; color: #717171; }

div.navpageoff { width: 25px; height: 25px; float: left; text-align: center; line-height:25px; color: #fff; margin: 0 3px; }
div.navpageoff a:hover, div.navpageoff a:focus, 
div.navpageoff a:active { color: #1F1F1F; width: 25px; height: 25px; line-height: 25px; background-color: #E9E9E9; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; text-decoration: none; }

div.navpageon { float: left; width: 25px; height: 25px; text-align: center; line-height:25px; background: #A7A8AD; color: #fff; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; margin: 0 3px; }

div.navpageprev { width: 25px; height: 25px; float: left; text-align: center; line-height:27px; color: #717171; }
div.navpagenext { width: 25px; height: 25px; float: left; text-align: center; line-height:27px; color: #717171; }

div.navpageprev a:hover, div.navpagenext a:hover, 
div.navpageprev a:focus.navpagenext a:focus, 
div.navpageprev a:active, div.navpagenext a:active { color: #1F1F1F; width: 25px; height: 25px; line-height: 27px; background-color: #E9E9E9; border-radius:50%; -moz-border-radius:50%; -webkit-border-radius:50%; text-decoration: none; }

div.navpageblank { width: 25px; height:25px; float: left; text-align: center; line-height:27px; margin-left: 3px; border: none; }
div.navpageprev.disabled, div.navpagenext.disabled {  padding: 0 6px; background: transparent; color: #ccc;}

div.pagecount { font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; height:25px; display: block; color: #717171; float: left; line-height:25px; margin: 0px 0px 0px 3px; }

/* END Page Link Styling */


.newloginbutton { font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; float: left; text-decoration: none; width: 180px; height: 52px; text-align: center; line-height:27px; margin-left: 0px; margin-bottom: 15px; border:0; cursor:pointer; font-size: 1em; background-color: #F06E3E; color:white; }
.newloginbutton:hover { background-color: #F78757; color: white; }

.newflatbutton { text-transform: uppercase; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; width: 90px; text-align: center; line-height:33px; margin-left: 5px; margin-top: 6px; border: 0px; cursor:pointer; background-color: #F06E3E; color:white; padding-top:0px; padding-bottom:0px; float:left;}
.newflatbutton:hover { background-color: #F78757; color: white; }

div.newflatbuttonlink a { font-size: 1em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; padding:0px 25px; text-align: center; line-height:33px; margin: 2px 10px 2px 10px; border: 0px; cursor:pointer; float:left; background-color: #F06E3E; color:white;}
div.newflatbuttonlink a:hover { background-color: #F78757; color: white; }

/* Main Action button e.g. Add Order, Add Account etc. */
div.mainactionbutton a { 
	text-decoration: none; 
	line-height:25px; 
	text-align: center; 
	margin: 1px 10px 5px 5px; 
	cursor:pointer; 
	padding: 8px 10px 6px 10px; 
	float:left; 
	border-radius:50%; 
	-moz-border-radius:50%; 
	-webkit-border-radius:50%; 
	background-color: #E44D20; 
	color:#FFF; 
	display:flex; 
	align-items: center; 
	box-shadow: 0px 3px 5px #b4b4b4;
}
div.mainactionbutton a:hover { background-color: #F06E3E; color: white!important; } 

div.newbodyflatbuttonlink a { font-size: 1em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; width: 130px; height: 34px; text-align: center; line-height:34px; margin: 10px 0px; border: 0px; cursor:pointer; float:left; background-color: #F06E3E; color:white;}
div.newbodyflatbuttonlink a:hover { background-color: #F78757; color: white; }

span.flatbuttonlink a { font-size: 1em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; text-decoration: none; width: 90px; text-align: center; line-height:33px; margin: 6px 10px; border: 0px; cursor:pointer; float:left; background-color: #F06E3E; color:white; text-transform: uppercase; }
span.flatbuttonlink a:hover { background-color: #F78757; color: white; }


.search { background-color: #FAFAFA; float: right; margin: 0px; padding: 0px 10px; width: 100%; text-align: right; /*border-bottom: 1px solid #E0E0E0;*/ }
.searchitems { margin: 0; padding-bottom: 0;  }
.filter { font-size: 12px; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; padding: 0; margin:0; width: 10em; }
.pagecontent { background: transparent; clear: both; padding: 0px; }
.reports-page-content { background: transparent; clear: both; padding: 0px 25px; }
.loginpage { background: transparent; clear: both; padding: 0px; text-align: center; }
.loginheader {
height: 100px;
background-image: url("images/homepage-wallpaper.png");
background-repeat: repeat-x;
margin-bottom: 60px;
}
.loginpage p { font-size: 1.1em; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif;}

.bt { border-top: 1px solid #21344d; }
.bb { border-bottom: 1px solid #21344d; }
.bl { border-left: 1px solid #21344d; }
.br { border-right: 1px solid #21344d; }
.tblpad { padding: 4px 8px; }
.bs { border-left: 1px solid #eee; border-right: 1px solid #eee; padding: 2px 8px; }
.bordergrey { border: 1px solid #888; }

form input[type=text][disabled] { color: black; background-color: #D8D8D8; }
form input[type=text][readonly] { color: black; background-color: #D8D8D8; }
form input.text { width : 350px; }
form textarea.textarea { width : 500px; height: 105px; }

.errmsg { border: 1px solid #900; background-color: #fee; color: #900; padding: 8px; }
.error { border: 1px solid #900; background-color: #fee; color: #900; padding: 8px; margin-bottom: 15px; overflow: hidden; }
.status { border: 1px solid #21344d; background-color: #22b5d7; color: black; padding: 8px; margin-bottom: 15px; width: 300px; }

.rightalign { text-align: right; }
.padding10 { padding-bottom: 10px; }

.basicwindow { display: none; background-color: #ffffff; border-right: 2px solid #242a32; border-bottom: 2px solid #242a32; border-left: 1px solid black; border-top: 1px solid black; color: black; z-index: 1; }
.basicwindow td, .editwindow td, .wideeditwindow td,
.regwindow td, .invoiceregwindow td, .notifywindow td,
.notificationmsg td { padding: 0.25em 0.33em; }
table .closespacing td { padding: 4px 4px 4px 0px; text-align: right; }
.basicwindow th.tblheader { padding: .33em; text-align: left; background: #ccc;  border-bottom: 1px solid #21344d; color: #21344d; font-weight: normal; }
.lightertable { background-color: white; }
.lightertable td { border-top: 1px solid #efeded; border-right: 1px solid #efeded; text-align: center; }
.bborder { border-bottom: 1px solid #21344d; }
.editwindow { position: absolute; width: 470px; color: #21344d; }
.wideeditwindow { position: absolute; width: 770px; color: #21344d; }
.regwindow { position: absolute; width: 600px; }
.invoiceregwindow { position: absolute; width: 600px; }
.notifywindow { position: absolute; width: 400px; }
.notificationmsg { padding: 10px; font: 14px arial, sans-serif; }
.alertwindow { position: absolute; width: 400px; }
.alertwindowmsg { padding: 10px; margin-left:40px; font: 14px arial, sans-serif; }
.nowrap { white-space: nowrap; }
.nooverflow { overflow: hidden; }
.mediumwidth { width: 200px; }
.width160 { width: 160px; }
.largefont { font: 15px arial, sans-serif; }
.black { color: black; }

.oppreg textarea {
	width: 250px;
	height: 50px;
}

.oppreg input[type=text] {
	width: 250px;
}

.oppreg select {
	width: 250px;
}

/* New-style display/edit pages */
#summary .container { width:100%; }
#summary .save-cancel { background: #fafafa; text-align: left; padding: .66em 10px; clear: both; overflow: hidden;}
.container { width: 960px; float: left; margin-left: 15px; }
.container label, .container .label { display: block; font-weight: normal; }
.container fieldset, .container .fieldset { border: 0; padding: 0 0 .7em; margin: 0 0 1.5em; }
.container fieldset legend, .container .fieldset h3 { border: 0; padding: 0; margin: 0 0 .25em 0; color: black; font-size: 1em; font-weight:bold; font-family: "Open Sans","HelveticaNeue-Regular","Helvetica Neue Regular","Helvetica Neue",Helvetica,Arial,"Lucida Grande",sans-serif; }
.container .fieldset h3 { margin-bottom: .1em; }
/*.container fieldset textarea.twohigh, .container .fieldset textarea.twohigh { height: 4em; }*/
/* New Order CSS */
.col-full-width { width: 290px; }
select.col-full-width { width: 300px; }
.col-half-width { width: 145px; }
select.col-half-width { width: 154px; }
.new-order-top-section label { display: inline-block; font-weight: normal; width:135px; text-align:left; vertical-align: top; }
.new-order-top-section { display: flex; width: 960px; }
.new-order-top-section select, .new-order-top-section input { margin: 5px 0px; padding: 2px 3px; }
.checkbox-label { display: inline!important; }
.form-heading { font-weight:600; font-size: 1.2em; margin: 25px 0px 5px 0px; letter-spacing: .6px; }

.container .label { margin: 0; }
.container label.form-radio { display: inline; margin-left: 0.5em; }
.save-cancel { background: #fafafa; float: left; display: inline-block; padding: 1.5em 5px; overflow: hidden;}
.controls { /*background: #f0f0f0;*/ color: #21344d; font-weight: bold; text-align: left; padding: 10px 10px 0px 10px; clear: both; overflow: hidden;}
.topline { padding-top: 5px; overflow: hidden; }
.item-id, .sidebar { width: 220px; margin: 0 10px; float: left; }
.item-name, .form-main { width: 700px; margin: 0 10px; float: left;}
.sidebar { margin: 1em 20px; overflow: hidden; }
.form-main { margin: 1em 0px; overflow: hidden; }
.form-main table { width: 700px;}
.form-main .form-row textarea { width: 690px;}
.form-main h3 { margin-top: 0;}
.sidebar > h3:first-child { margin-top: 0;}
.form-main a.button { display:block; float: right; margin: 0 0 .5em; }
.form-row { margin: 0 0 1.3em; overflow: hidden; }
.container fieldset .form-row { margin: 0 0 .5em; }
.form-shiv { margin: .5em 0 0; }
.form-col1, .form-col2 { width: 45%; float: left; }
.form-main .form-col1 textarea, .form-main .form-col2 textarea { /*width: 334px;*/ margin: 0; border: 1px solid #ddd;}
.form-col2 { margin:  0 0 0 20px; }
.item-id strong, .item-id input, 
.item-name h2, .item-name input { color: #000; background: transparent; font-size: 2em; font-weight: bold; margin: 0;}
form .item-id input, form .sidebar input,
form .item-id select, form .sidebar select { width: 216px; margin: 0; border: 1px solid #ddd;}
form .item-name input, form .form-main input,
form .item-name select, form .form-main select { width: 336px; margin: 0; border: 1px solid #ddd;}
form .form-main input[type=radio], form .form-main input[type=checkbox],
form .sidebar input[type=radio], form .sidebar input[type=checkbox]  { display: inline; width: auto; }
form .item-name input { width: 698px; margin: 0 10px 0 0; border: 1px solid #ddd;}
.form-main .add-link { margin-bottom: 5px; margin-top: 20px; }
form .error-box label { background: url(images/exclamation.png) no-repeat left center; padding-left: 18px; color: #D11; }
form .error-box input { border: 1px solid #dbb; }
form .error-message { color: #d11; padding: .25em 0; }
.form-main input.small { width: 8em; }
.form-main input.percent:after { content: '%'; }
.form-main input.percent { width: 4em; }
table.order { border-collapse: collapse; }
table.order th, .order td { padding: .33em 0; margin: 0; }
table.order th {font-weight: normal; color: #21344d; text-align: left; }
table.order th.top { width: 85px; background-image: -webkit-gradient(linear,left top, left bottom, from(#e1e1e1), to(#f1f1f1)); background-image: -moz-linear-gradient(left top, left bottom, from(#e1e1e1), to(#f1f1f1)); background-image: -moz-linear-gradient(left top, left bottom, from(#e1e1e1), to(#f1f1f1));}
table.order th.top.product { width: 340px; }
table.order td.next-label { text-align: right; }
table.order tr:nth-child(odd) { background-color: #f9f9f9; }
form .form-main table.order input,
form .form-main table.order select { width: 60px; }
form .form-main table.order select.sku,
form .form-main table.order input.long { width: 116px; }
/*form .form-main textarea.comment { height: 4em; }*/

/* APM: special CSS with greater specificity for order form */
form#order fieldset { margin: 0 10px; }
form#order .form-col1, form#order .item-id { width: 300px; }
form#order .item-name { width: 600px; }
form#order .form-col2 { width: 300px; }
form#order .form-col1 select, form#order .form-col1 input { width: 296px; }
form#order .form-col-large input { width: 616px; }
form#order .form-col2 textarea, form#order .form-col2 input, form#order .form-col2 select { width: 296px; }
form#order .form-sidebyside { float: left; padding-right: 12px; }
form#order input.small, form#order select.small { width: 140px; }
form#order .form-checkbox label { display: inline; }
form#order table th { text-align: left; padding-bottom: 0px; }

form table.pricing { background-color: #FAFAFA; border: 1px solid #dddddd; padding-top: 10px; padding-bottom: 10px; margin-top: 10px; margin-bottom: 10px; }
form table.pricing input { width: 50px; }
form table.pricing .bignum { width: 62px; }
form table.pricing input.date { width: 5.5em; }
form table.pricing select.sku { width: 256px; }
form table.pricing label { display:inline; } /* extra css for the checkbox now I've moved it into the pricing table */
form table.pricing input[type=checkbox] { width: 15px; }
form#order textarea#comment, form#order textarea#invoice_notes, form#order textarea#invAddress { height: 4em; }
form fieldset, form table.pricing { margin-top: 1.2em; }
form#order input[type=checkbox] { margin-top: 5px; margin-bottom: 5px; }
form#order table.transaction input { width: 135px; }

/* APM: Styling for combo box control */
.ui-button { margin-left: -1px; }
.ui-button-icon-only .ui-button-text { padding: 0.35em; }
.ui-autocomplete-input { margin: 6px 0px 6px 4px; padding: 0.3em 0 0.3em 0.7em; width: 85px; }
.ui-filter { margin: 6px 0px; padding: 0.3em 0 0.3em 0.7em; width: 320px; height: 19px; line-height: 19px; border: none; }
.ui-filter:focus { background-color: #fff; }

/* APM: special CSS with greater specificity for summary form */
form#summary fieldset { margin: 0 10px; }
form#summary table { text-align:left; }
form#summary .form-col1, form#summary .item-id { width: 300px; }
form#summary .item-name { width: 600px; }
form#summary .form-col2 { width: 300px; }
form#summary .form-col1 select, form#summary .form-col1 input { width: 296px; }
form#summary .form-col2 textarea, form#summary .form-col2 input, form#summary .form-col2 select { width: 296px; }
form#summary .form-sidebyside { float: left; padding-right: 12px; }
form#summary input.small, form#summary select.small { width: 140px; }
form#summary textarea#comment { width: 614px; height: 6em; }
form#summary textarea#note { width: 614px; height: 3em; }
form#summary fieldset { margin-top: 1.5em; }
form#summary .item-name { width: 300px; margin: 0 10px; float: left;}
form#summary fieldset#history .col1 { width: 11em; }
form#summary fieldset#history legend { padding-bottom: 0.5em; }
form#summary fieldset#history .changes { color: #999; }

/* APM: special CSS with greater specificity for summary bulk edit form */
form#summary-bulk fieldset { margin: 0 10px; }
form#summary-bulk .helptext { margin: 0 10px; }
form#summary-bulk fieldset#comment { margin-top: 1em; }
form#summary-bulk select { width: 50%; padding:0.4em 0.1em; }
form#summary-bulk .heading { color: #21344d; background: transparent; font-size: 2em; font-weight: bold; margin: 0 0 0 10px; }
form#summary-bulk textarea#comment { width: 614px; height: 6em; }
form#summary-bulk .container { width: 642px; }
form#summary-bulk fieldset#summary .col1 { width: 6em; }
form#summary-bulk fieldset#summary .col2 { width: 12em; }
form#summary-bulk fieldset#summary legend { padding-bottom:0.5em; }
form#summary-bulk input { width: 60%!important; padding:0.4em 0.3em; }

/* APM: special CSS with greater specificity for "create account from orders" form */
form#order-create-account .heading { color: #21344d; background: transparent; font-size: 2em; font-weight: bold; margin: 0; }

#validation_error_div { display: none; }
span.space { margin-right: 4em; }

/* APM: for new/edit order page, hide subscription-only fields initially */
.subscriptiononly  { display: none; }
