* {
    border: none;
    margin: 0;
    padding: 0;
    color: inherit;
    text-decoration: none;
    outline: none;
}

body {
    background: #f1f1f1;
    /* padding-top: 123px; --- old one, new one pushes content further down page */
    padding-top: 143px;
    font-family: 'Lato', sans-serif;
    color: #151a1e;
    font-size: 13px;
}

.clear {
    clear: both;
}

.hdiv {
    width: auto;
    height: 1px;
    background: #b5b5b5;
    border-bottom: 1px solid #fff;
    margin-bottom: 16px  
}

h1 {
    font-weight: bold;
    font-size: 24px;
    margin-bottom: 18px;
}

h2 {
    font-weight: bold;
    font-size: 12px;
    margin-bottom: 6px;
    margin-top: 10px;
    
}

h3 {
    font-weight: bold;
    font-size: 14px;
}

p {
    
}

input.input-product-description {
    width: 330px;
}

.wrapper {
    width: 960px;
    margin: 0 auto;
}

.header {
    position: fixed;
    top: 0;
    width: 100%;
    height: 123px;
    
}

.header .top {
    background: url('../images/noisy_net.png');
    height: 62px;
    padding-top: 18px;
}

.header .top .logo,
.login .logo {
    background: url('../images/logo.png');
    width: 188px;
    height: 39px;
}

.header .top .logout {
    color: #ffbc00;
    font-size: 13px;
}

.header .top .logout a {
    font-weight: bold;
}

.header .top .logout a:hover {
    text-decoration: underline;
}


.header .nav {
    background: url('../images/nav-bg.png');
    height: 43px;
}

.header .nav ul {
    list-style-type: none;
    
}

.header .nav ul li {
    float: left;
    color: #596269;
    font-weight: bold;
    text-transform: uppercase;
    height: 33px;
    font-size: 14px;
}

.header .nav ul li a {
    height: 22px;
    padding: 11px 10px 0 10px;
    display: block;
}

.header .nav ul li.active,
.header .nav ul li.active:hover
{
    border-bottom: 5px solid #ffbc00;
    color: #151a1e;
}

.header .nav ul li:hover {
    border-bottom: 5px solid #dcdcdc;
    color: #151a1e;
}

.login {
    background: #14191e url('../images/noisy_net.png');
}

.alert-error {
    background: #ff9f9f;
    border: 1px solid #b10303;
    padding: 5px;
    color: #b10303;
}

.login-box {
    padding-top: 40px;
    width: 329px; 
}

.login-box .top {
    width: 325px;
    padding: 0 4px;
    height: 8px;
    background: url('../images/login-box-top.png');    
}

.login-box .top .inner {
    
}

.login-box .middle {
    width: 325px;
    padding: 0 4px;
    height: auto;
    background: url('../images/login-box-middle.png');     
}

.login-box .middle .inner {
    padding: 22px 18px 18px 18px;
    width: 288px; /* old 940px */  
}

.login-box .bottom {
    width: 325px;
    padding: 0 4px;
    height: 16px;
    background: url('../images/login-box-bottom.png');  
}

.login-box .label {
    margin-left: 18px;
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 7px;
    display: block;
}

.login-box .input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 240px;
    padding: 0 5px;
    margin-bottom: 14px;
}

.login-box .btn-login {
    margin-top: 10px;
}


.invoice-box {
    margin-left: -5px;
}



.invoice-box .top {
    width: 960px;
    padding: 0 4px;
    height: 8px;
    background: url('../images/invoice-box-top.png');
}

.invoice-box .top .inner {
    width: 960px;
    height: 8px;
    border-top: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    
}

.invoice-box .middle {
    width: 960px;
    padding: 0 4px;
    background: url('../images/invoice-box-middle.png') repeat-y;
}

.invoice-box .middle .inner {
    /* padding: 3px 10px 10px 10px; old */
    padding: 11px 18px 18px 18px;
    width: 924px; /* old 940px */
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
        
}

.invoice-box .bottom {
    width: 968px;
    height: 8px;
    background: url('../images/invoice-box-bottom.png');
}





.invoice-header {
    


}

.invoice-header .label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 7px;
}

.invoice-header input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    padding: 0 5px;
    font-size: 13px;
}

.invoice-header .col-invoice-to input {
    width: 191px;
}

.invoice-header .col-date input {
    width: 81px;
}

.invoice-header .col-ordered-by input {
    width: 135px;
}

.invoice-header .col-reference input {
    width: 135px;
}

.invoice-header .col-invoice-to,
.invoice-header .col-date,
.invoice-header .col-ordered-by,
.invoice-header .col-reference {
    margin-right: 18px;
}

.invoice-header .col-logo {
    width: 53px;
    height: 54px;
    background: url('../images/osmonds-gray.png');
}

.invoice-header .col-details {
    text-align: right;
    margin-right: 11px;
}

.invoice-header .col-details .label {
    font-size: 16px;
    margin-bottom: 4px;
}

.invoice-header .col-details .invoice-num {
    font-size: 27px;
    font-weight: bold;
}

.invoice-header .dropdown {
    background: #fff;
    border: 1px solid #b5b5b5;
    padding: 2px;
    font-size: 13px;
}

.listinvoice-box {
    margin-left: -5px;
}



.listinvoice-box .top {
    width: 960px;
    padding: 0 4px;
    height: 8px;
    background: url('../images/invoice-box-top.png');
}

.listinvoice-box .top .inner {
    width: 960px;
    height: 8px;
    border-top: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    
}

.listinvoice-box .middle {
    width: 960px;
    padding: 0 4px;
    background: url('../images/invoice-box-middle.png') repeat-y;
}

.listinvoice-box .middle .inner {
    /* padding: 3px 10px 10px 10px; old */
    padding: 11px 18px 18px 18px;
    width: 924px; /* old 940px */
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
        
}

.listinvoice-box .bottom {
    width: 968px;
    height: 8px;
    background: url('../images/invoice-box-bottom.png');
}


.listinvoice-tbl {
    margin-top: 10px;
    margin-bottom: 22px;
}

.listinvoice-tbl .listinvoice-tbl-head .row {
    height: 29px;
    background: url('../images/invoice-tbl-thead-bg.png');
    border: 1px solid #b5b5b5;
    font-size: 13px;
}

.listinvoice-tbl .listinvoice-tbl-body .row {
    border-bottom: 1px solid #b5b5b5;
    /*background: #fff;*/
}

.listinvoice-tbl-head .invoice-no,
.listinvoice-tbl-head .reference,
.listinvoice-tbl-head .invoice-to,
.listinvoice-tbl-head .date,
.listinvoice-tbl-head .amount
{
    float: left;
    padding: 0;
    padding-left: 10px;
    height: 22px;
    padding-top: 7px;
    font-weight: 700;
}

.listinvoice-tbl-body .invoice-no,
.listinvoice-tbl-body .reference,
.listinvoice-tbl-body .invoice-to,
.listinvoice-tbl-body .date,
.listinvoice-tbl-body .amount
{
    float: left;
    padding: 14px 0px 7px 10px;
    height: 22px;

}

.listinvoice-tbl-body .invoice-no {
    margin-left: 1px;
}

.listinvoice-tbl-body .invoice-no,
.listinvoice-tbl-head .invoice-no
{
    text-align: right;
    width: 65px;
}

.listinvoice-tbl-body .reference,
.listinvoice-tbl-head .reference
{
    width: 190px;
    margin-left: 20px;
}


.listinvoice-tbl-body .invoice-to,
.listinvoice-tbl-head .invoice-to
{
    width: 192px;
    text-align: left;
}


.listinvoice-tbl-body .date,
.listinvoice-tbl-head .date
{
    width: 130px;
    text-align: center;
}


.listinvoice-tbl-body .amount,
.listinvoice-tbl-head .amount
{
    text-align: right;
    margin-left: 2px;
    width: 120px;
}


.listinvoice-tbl-body .row.active {
    background: #ebebeb;
}

.listinvoice-tbl-body .row:hover {
    background: #ebebeb;
    cursor: pointer;
}






.customer-box {
    margin-left: -5px;
}



.customer-box .top {
    width: 960px;
    padding: 0 4px;
    height: 8px;
    background: url('../images/invoice-box-top.png');
}

.customer-box .top .inner {
    width: 960px;
    height: 8px;
    border-top: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    
}

.customer-box .middle {
    width: 960px;
    padding: 0 4px;
    background: url('../images/invoice-box-middle.png') repeat-y;
}

.customer-box .middle .inner {
    /* padding: 3px 10px 10px 10px; old */
    padding: 11px 18px 18px 18px;
    width: 924px; /* old 940px */
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
        
}

.customer-box .bottom {
    width: 968px;
    height: 8px;
    background: url('../images/invoice-box-bottom.png');
}


.customer-tbl {
    margin-top: 10px;
    margin-bottom: 22px;
}

.customer-tbl .customer-tbl-head .row {
    height: 29px;
    background: url('../images/invoice-tbl-thead-bg.png');
    border: 1px solid #b5b5b5;
    font-size: 13px;
}

.customer-tbl .customer-tbl-body .row {
    border-bottom: 1px solid #b5b5b5;
    /*background: #fff;*/
}

.customer-tbl-head .customer-name,
.customer-tbl-head .street-address,
.customer-tbl-head .suburb,
.customer-tbl-head .postcode,
.customer-tbl-head .contact-number,
.customer-tbl-head .edit
{
    float: left;
    padding: 0;
    padding-left: 10px;
    height: 22px;
    padding-top: 7px;
    font-weight: 700;
}

.customer-tbl-body .customer-name,
.customer-tbl-body .street-address,
.customer-tbl-body .suburb,
.customer-tbl-body .postcode,
.customer-tbl-body .contact-number,
.customer-tbl-body .edit
{
    float: left;
    padding: 14px 0px 7px 10px;
    height: 22px;

}

.customer-tbl-body .customer-name {
    margin-left: 1px;
}

.customer-tbl-body .customer-name,
.customer-tbl-head .customer-name
{
    width: 170px;
}

.customer-tbl-body .customer-name input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 160px;
    margin-top: -5px;
    padding: 0 5px;
}

.customer-tbl-body .street-address,
.customer-tbl-head .street-address
{
    width: 275px;
}

.customer-tbl-body .street-address input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 265px;
    margin-top: -5px;
    padding: 0 5px;
}

.customer-tbl-body .suburb,
.customer-tbl-head .suburb
{
    width: 180px;
}

.customer-tbl-body .suburb input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 170px;
    margin-top: -5px;
    padding: 0 5px;
}

.customer-tbl-body .postcode,
.customer-tbl-head .postcode
{
    width: 65px;
}

.customer-tbl-body .postcode input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 55px;
    margin-top: -5px;
    padding: 0 5px;
}

.customer-tbl-body .contact-number,
.customer-tbl-head .contact-number
{
    width: 105px;
}

.customer-tbl-body .contact-number input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 90px;
    margin-top: -5px;
    padding: 0 5px;
}

.customer-tbl-body .edit,
.customer-tbl-head .edit
{
    text-align: center;
    margin-left: -4px;
    width: auto;
}


.customer-tbl-body .row.active {
    background: #ebebeb;
}

.customer-tbl-body .row:hover {
    background: #ebebeb;
    cursor: pointer;
}





.product-box {
    margin-left: -5px;
}



.product-box .top {
    width: 960px;
    padding: 0 4px;
    height: 8px;
    background: url('../images/invoice-box-top.png');
}

.product-box .top .inner {
    width: 960px;
    height: 8px;
    border-top: 1px solid #b5b5b5;
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    
}

.product-box .middle {
    width: 960px;
    padding: 0 4px;
    background: url('../images/invoice-box-middle.png') repeat-y;
}

.product-box .middle .inner {
    /* padding: 3px 10px 10px 10px; old */
    padding: 11px 18px 18px 18px;
    width: 924px; /* old 940px */
    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    border-bottom: 1px solid #b5b5b5;
        
}

.product-box .bottom {
    width: 968px;
    height: 8px;
    background: url('../images/invoice-box-bottom.png');
}


.product-tbl {
    margin-top: 10px;
    margin-bottom: 22px;
}

.product-tbl .product-tbl-head .row {
    height: 29px;
    background: url('../images/invoice-tbl-thead-bg.png');
    border: 1px solid #b5b5b5;
    font-size: 13px;
}

.product-tbl .product-tbl-body .row {
    border-bottom: 1px solid #b5b5b5;
    padding-bottom: 14px;
    /*background: #fff;*/
}

.product-tbl-head .product_code,
.product-tbl-head .supplier_code,
.product-tbl-head .description,
.product-tbl-head .price,
.product-tbl-head .edit
{
    float: left;
    padding: 0;
    padding-left: 10px;
    height: 22px;
    padding-top: 7px;
    font-weight: 700;
}

.product-tbl-body .product_code,
.product-tbl-body .supplier_code,
.product-tbl-body .description,
.product-tbl-body .price,
.product-tbl-body .edit
{
    float: left;
    padding: 14px 0px 0px 10px;

}

.product-tbl-body .product_code {
    margin-left: 1px;
}

.product-tbl-body .product_code,
.product-tbl-head .product_code
{
    width: 180px;
}

.product-tbl-body .product_code input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 170px;
    margin-top: -5px;
    padding: 0 5px;
}

.product-tbl-body .supplier_code,
.product-tbl-head .supplier_code
{
    width: 170px;
}



.product-tbl-body .supplier_code input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 160px;
    margin-top: -5px;
    padding: 0 5px;
}


.product-tbl-body .description,
.product-tbl-head .description
{
    width: 375px;
}

.product-tbl-body .description input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 365px;
    margin-top: -5px;
    padding: 0 5px;
}

.product-tbl-body .price,
.product-tbl-head .price
{
    width: 65px;
    text-align: right;
    padding-right: 8px;
}

.product-tbl-body .price input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 65px;
    margin-top: -5px;
    padding: 0 5px;
}

.product-tbl-body .edit,
.product-tbl-head .edit
{
    text-align: center;
    margin-left: 2px;
    width: auto;
}


.product-tbl-body .row.active {
    background: #ebebeb;
}

.product-tbl-body .row:hover {
    background: #ebebeb;
    cursor: pointer;
}
















.super-tall-box { /* testing only */
    height: 1500px;
    
}


.pull-left {
    float: left;
}

.pull-right {
    float: right;
}

.pull-center {
    text-align: center;
    margin: 0 auto;
}

.btn {
    font-size: 13px;
    font-weight: 700;
    padding: 0 30px;
    background: #ffbc00;
    outline: 1px solid #806417;
    border-top: 1px solid #ffcd3f;
    border-bottom: 1px solid #e2a700;
    border-left: 1px solid #fcba00;
    border-right: 1px solid #fcba00;
    height: 25px;
    cursor: pointer;
    
}

.btn-save-product {
    padding: 0 15px;
    margin-top: -5px;
}

.btn:hover {
    background: #fccb42;
}

.btn-prepend {
    margin-right: -2px;
    padding: 0 6px;
}


.btn-save-customer {
    padding: 0 15px;
    margin-top: -5px;
}











.invoice-tbl {
    margin-top: 10px;
    margin-bottom: 22px;
}

.invoice-tbl .invoice-tbl-head .row {
    height: 29px;
    background: url('../images/invoice-tbl-thead-bg.png');
    border: 1px solid #b5b5b5;
    font-size: 13px;
}

.invoice-tbl .invoice-tbl-body .row {

    border-left: 1px solid #b5b5b5;
    border-right: 1px solid #b5b5b5;
    background: #fff;
}






































.invoice-tbl-head .item,
.invoice-tbl-head .description,
.invoice-tbl-head .qty,
.invoice-tbl-head .unit-price,
.invoice-tbl-head .disc,
.invoice-tbl-head .gst,
.invoice-tbl-head .amount
{
    float: left;
    margin-right: 1px;
    padding: 0 5px;
    height: 21px;
    padding-top: 8px;
}

.invoice-tbl-head .amount {
    margin-right: 0;
}


.invoice-tbl-head .item {
    width: 74px;
    text-align: center;
}

.invoice-tbl-head .description {
    width: 317px;
    padding-left: 20px;
}

.invoice-tbl-head .qty {
    width: 52px;
    text-align: center;
}

.invoice-tbl-head .unit-price {
    width: 101px;
    text-align: center;
}

.invoice-tbl-head .disc {
    width: 70px;
    text-align :center;
}

.invoice-tbl-head .gst {
    width: 65px;
    text-align: center;
}

.invoice-tbl-head .amount {
    width: 147px;
    border-right: none;
    text-align: right;
    padding-right: 10px;
}































.invoice-tbl-body .item,
.invoice-tbl-body .description,
.invoice-tbl-body .qty,
.invoice-tbl-body .unit-price,
.invoice-tbl-body .disc,
.invoice-tbl-body .gst,
.invoice-tbl-body .amount
{
    border-right: 1px solid #eaeaea;
    border-bottom: 1px solid #b5b5b5;
    height: 22px;
    float: left;
}



.invoice-tbl-body .row {
    position: relative;
}

.invoice-tbl-body .item {
    width: 74px;
    padding-left: 5px;
    padding-right: 5px;
}

.invoice-tbl-body .item input {
    width: 100%;
    height: 22px;
    font-size: 13px;
}

.invoice-tbl-body .description {
    width: 332px;
    padding-top: 3px;
    height: 19px;
    padding-left: 5px;
    padding-right: 5px;
}

.invoice-tbl-body .qty {
    width: 52px;
    text-align: center;
    padding-top: 3px;
    height: 19px;
    padding-left: 5px;
    padding-right: 5px;
}

.invoice-tbl-body .qty input {
    width: 100%;
    font-size: 13px;
    text-align: center;
}

.invoice-tbl-body .unit-price {
    width: 111px;
    padding-top: 3px;
    height: 19px;
    text-align: center;
}

.invoice-tbl-body .disc {
    width: 70px;
    padding-top: 3px;
    padding-left: 5px;
    padding-right: 5px;
    height: 19px;
    text-align: center;
}

.invoice-tbl-body .disc input {
    width: 100%;
    font-size: 13px;
    text-align: center;
}

.invoice-tbl-body .gst {
    width: 75px;
    padding-top: 3px;
    height: 19px;
    text-align: center;
}

.invoice-tbl-body .amount {
    width: 157px;
    border-right: none;
    padding-top: 3px;
    height: 19px;
    text-align: right;
    padding-right: 5px;
}

.invoice-tbl-body .row .delete {
    display: none;
    position: absolute;
    right: -43px;
    top: -1px;
    height: 24px;
    width: 43px;
    background: url('../images/delete_icon.png') no-repeat right;
}


.invoice-tbl-body .row:hover .delete {
    display: block;
}

.invoice-tbl-body .delete:hover {
    cursor: pointer;
}


















































.new-line-section {
    margin-bottom: 15px;
}

.totals-section {
    margin-bottom: 15px;
    width: 220px;
    font-size: 15px;
    font-weight: bold;
}

.totals-section .label {
    width: 80px;
    text-align: right;
}

.totals-section .row-sub-total,
.totals-section .row-gst {
    margin-bottom: 10px;
}

.totals-section .row-total {
    font-size: 17px;
}






















.divider {
    border-bottom: 1px solid #b5b5b5;
    margin-bottom: 15px;
}


.notes-section {
    margin-bottom: 15px;
}

.notes-section .note-field-container {
    border: 1px solid #b5b5b5;
    background: #fff;
    width: auto;
    padding: 5px;
    margin: 0;
}

.notes-section .note-field-container textarea {
    resize: none;
    width: 100%;
    margin: 0;
    padding: 0;
    
}



.notes-section .label {
    font-size: 13px;
    font-weight: bold;
    margin-bottom: 7px;
}




.form-actions .btn-print-invoice {
    margin-right: 15px;
}






.col-invoice-to {
}

.col-invoice-to .ui-autocomplete {
    min-width: 201px;
    max-width: 201px;
    list-style-type: none;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-top: 0px;
    padding: 0px;
    margin-top: -1px;
}

.col-invoice-to ul.ui-autocomplete .ui-menu-item {
     border-top: 1px solid #b5b5b5; 

}

.col-invoice-to ul.ui-autocomplete .ui-menu-item a {
     padding: 5px;
     display: block;
     

}

.col-invoice-to ul.ui-autocomplete .ui-menu-item:hover {
     background: #f4f4f4; 
     cursor: pointer;
}





.description-auto ul.ui-autocomplete {
    width: 332px;
    margin-top: 3px;
}

.description-auto ul.ui-autocomplete li {
    width: 332px;
    background: white;
    padding: 5px;
    margin-left: -7px;
}

ul.ui-autocomplete {
    list-style-type: none;
    background: #fff;
    border: 1px solid #b5b5b5;
    border-top: 0px;
    padding: 0px;
}

ul.ui-autocomplete .ui-menu-item {
     border-top: 1px solid #b5b5b5;
     border-right: 1px solid #b5b5b5;
     border-left: 1px solid #b5b5b5;
}

ul.ui-autocomplete .ui-menu-item a {
     

}

ul.ui-autocomplete .ui-menu-item:hover {
     background: #f4f4f4; 
     cursor: pointer;
}

.fieldset {
    width: 300px;
    float: left;
}

.fieldset.wide {
    width: 900px;
}

.field {
    height: 35px;  
    float: left; 
}

.field label {
    width: 90px;
    display: inline-block;
    font-size: 12px;
    margin-right: 12px;
    text-align: right;
}

.field input {
    background: #fff;
    border: 1px solid #b5b5b5;
    height: 22px;
    width: 170px;
    margin-top: -5px;
    padding: 0 5px;
    margin-right: 15px;    
}

.more-details {
    padding-left: 12px;
    padding-right: 12px;
}










.staff-tbl div {
	display: inline-block;
	margin: 10px;
}

