.site-description {
  /* display:none; */
}
.greenbackground{
  background-color: #cce4ba;
}
.salestools div.row {
    margin: auto;
}
.col-md-2.low-pad, .col-sm-2.low-pad{
    padding-left: 4px;
    padding-right: 4px;
}
table.range-adjust tr td:first-child {
    color: #aaaaaa;
    padding-left: 0px;
    padding-right: 0px;
}
table.range-adjust tr th:first-child {
    padding-left: 0px;
    padding-right: 0px;
}
input.cost-range-option-btn[type="submit"] {
    white-space: normal;
    height: 43px;
    min-width: 111px;
    padding: 3px 6px 3px !important;
    margin-top:12px;
}

h3 {
    margin: 12px 0 8px !important;
    color: #6EB43F;
}

/* Link Wrap is used in Header */

#sales-tools-link-wrap{
    height: 25px;
    position: absolute;
    left: 50%; 
    transform: translate(-50%, -50%); 
    top: 22px;
    z-index: 100000;
}
#sales-tools-link-wrap a{
    font-size:20px;
    font-weight:bold;
}
label.error {
    color: red;
    width: 100%;
    font-size: 12px;
    text-align: left;
}

form.aprst label {
   width: 125px;
   text-align: right;
   padding-right: 10px;
   float:left;
}

form.aprst label.error{
    color: red;
    width: 100%;
    font-size: 12px;
    text-align: left;
}
form#materials_add_edit_form label.error {
    text-align: right;
}

form.aprst table tr td, form.aprst table tr th{
    border:1px solid #bbbbbb;
}

form.query-form{
  overflow:hidden;
  /* width:100%; */
}
form.query-form select{
  margin: 9px 0 9px 0;
}
/*
form.query-form table tr td {
    padding-bottom: 0px;
    margin-bottom:6px;
}
form.query-form table.table-pinch.no-border{
  border:1px solid #aaaaa;
  max-width:50%; 
  display:block;
  margin:auto; 
}
*/

table.manage.features tr td input[type=text] {
    width: 57px;
}

form.query-form{
    margin-bottom: 16px;
}
form.query-form hr {
    margin-bottom: 10px;
}
table tr td, table tr th{
    border:1px solid #bbbbbb;
    word-wrap: break-word;
}
table.manage{
  width:auto;
  margin:auto auto;
  box-shadow:none;
  border-right:2px solid #777 !important; */
}
table.manage.features tr td:nth-child(2) {
    text-align: right;
}
table.manage.small tr th{
  font-size:8px !important;
}
/*
table.table-pinch input, table.table-pinch select{
  float:left !important;
}
*/
form.aprst table tr td:first-child {
    text-align: right;
    font-weight: bold;
    /* width: 226px; */
    padding-top: 12px;
}
form#settings_manage_form table tr td:first-child {
    font-weight: normal;
}
form#pq_edit_form.aprst  table tr td:first-child {
  padding-top: 6px;
}
form.aprst table tr td:last-child {
    text-align: left;
    /* width: 200px; */
}
form.aprst table.entry-right tr td:last-child {
    float: none;
}
form.aprst table:last-child {
  width:95%;
}
form.aprst input, form.aprst select, form.aprst textarea {
    /* float: left; CHG 170818 */
}

fieldset {
    background-color: white;
    border-color: #0078AE;
    border-style: solid;
    border-width: 1px;
    margin: 8px 0;
    padding-top:2px !important;
}

.radiogroup {
    margin-top: 12px;
}
.radiogrouptitle {
    background-color: #0078AE;
    color: white;
    font-weight: bold;
    margin-top: 9px;
    padding: 2px 0 1px 12px;
}

.submit{
	margin: auto;
	padding:5px;
}

button, input#writetodb[type="submit"], input[type="button"], input[type="reset"] {
	border-color:#6d0019; 
	
	/* IE10 Consumer Preview */ 
	background-image: -ms-linear-gradient(top, #a90329 0%, #6d0019 100%); 
	/* Mozilla Firefox */ 
	background-image: -moz-linear-gradient(top, #a90329 0%, #6d0019 100%); 
	/* Opera */ 
	background-image: -o-linear-gradient(top, #a90329 0%, #6d0019 100%); 
	/* Webkit (Safari/Chrome 10) */ 
	background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #3D698C), color-stop(1, #6d0019)); 
	/* Webkit (Chrome 11+) */ 
	background-image: -webkit-linear-gradient(top, #a90329 0%, #6d0019 100%); 
	/* W3C Markup, IE10 Release Preview */ 
	background-image: linear-gradient(to bottom, #a90329 0%, #6d0019 100%); 
}

.submitwrap {
    margin: 12px auto 2px;
    padding: 5px;
    text-align: center;
}

.ui-dialog .ui-dialog-buttonpane button {
    padding: 3px 10px;
}

.ui-dialog .ui-dialog-titlebar-close {
    padding: 0px;
}
.entry-content table.sales-output tbody tr td:last-child {
    text-align: left;
}

table.sales-output tbody tr td{
  text-align:right;
}

table.range-adjust {
    max-width: 700px;
    margin: 0 auto;
}

div.calc-result{
 width:360px; 
 margin:auto auto; 
 display:block;
}

.single.single-salestools.sidebar #content {
    margin-right: 0px !important;
}
.single-salestools article {
    margin-left: 0px !important;
}
hr.narrow{
  max-width:360px;
  margin:auto;
}
/*
@media (max-width: 683px) { 
  form.query-form table.table-pinch.no-border{
    margin:0 0 16px 0;
    float:left;
  }
}
*/
@media (max-width: 643px) {  /* 643 */
/* For link in header */
  #sales-tools-link-wrap {
      top: 17px;
  }
 /* form.aprst table{
  //form.aprst table:last-child { 
    width:100%;
  } */
}


/*  Slice & Dice Tables -- Hide Columns */
/*  "mh" for mobile hide */
@media only screen and (max-width: 1024px) {
  .mh1{
     display:none;
  }
}
@media only screen and (max-width: 768px) { 
  .mh2{
     display:none;
  }
}
@media only screen and (max-width: 640px) { 
  .mh3{
      display:none;
  }
}
@media only screen and (max-width: 568px) { 
  .mh4{
     display:none;
  }
}
@media only screen and (max-width: 360px) { 
  .mh5{
     display:none;
  }
}

/* Sales Front End Forms */
form.mid-pinch-form table tr th {
    background-color: #ffffff;
    border: none;
    text-align: right;
}

form.mid-pinch-form table tr th label{
  float:none;
  width:auto;
  vertical-align:center;
  padding-right:0px;
}

@media screen and (max-width: 584px){
  form.mid-pinch-form table tr th, form.mid-pinch-form table tr th label{
    text-align:left;
  }
  form.mid-pinch-form table tr th, form.mid-pinch-form table tr td {
    display: block;
    width: auto;
    vertical-align: middle;
  }
  form.mid-pinch-form table tr td input input[type="text"], form.mid-pinch-form table tr td select, form.mid-pinch-form table tr th label{
    width: 100%;
    font-size: 14px;
    line-height: 1.5;
    padding: 7px 10px 7px 0px;
    display: block;
    max-width: none;
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
  }
  form.mid-pinch-form table tr td input[type="checkbox"] {
      float: left;
      margin: 0px 0px 0px 0px;
  }
  form.mid-pinch-form table tr th{
    padding:0;
  }
  form.mid-pinch-form table tr th label{
    margin-bottom:0px;
    margin-top:10px;
  }
  form.mid-pinch-form table tr td , form.mid-pinch-form table tr td select{
    padding:0px 0px;
  }
  form.mid-pinch-form table tr th label{
    font-size:14px;
  }
  form.aprst label{  /* CHG 170818 - Affects Materials Edit */
    text-align:left;
  }
}
/* END OF Sales Front End Forms */

@media (max-width: 520px) { 
 /* form.aprst input[type="text"] , form.aprst select, form.aprst textarea {
     max-width: 120px;  CHG 170818
  } */
  form.aprst table tr td{
    /* font-size:12px; */
  }
  div.calc-result{
   width:260px; 
  }
  hr.narrow{
    max-width:260px;
  }
}