﻿body, ul, fieldset, textarea, img, legend, button, i, pre
{
    margin: 0;
    padding: 0;
    border: 0;
}

body
{
    background-color: #fafafa;
    font-family: Roboto, "Segoe UI", Oxygen-Sans, Ubuntu, Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    line-height: 1.42857143;
    font-size: 15px;
    color: #262626;
}

.awe-col, .elabel, .menu, h1, h2, h3, b {
    font-family: "Segoe UI", Oxygen-Sans, Ubuntu, Verdana, Tahoma, Arial, "Helvetica Neue", Helvetica, Sans-Serif;
    }
.pagingContainer {
  
    float: right;
}
h1, h2, h3
{
    
    font-size: 1.5em;
    color: #444;
    font-weight: normal;
}
.poHeaderMain {
    padding: 15px 15px 15px 15px;
    background-color: lightgrey;
    border: 1px solid black;
}

.poHeaderMain table{
    width:100%;
}
.poHeaderMain th, td{
    border: 1px solid black;
}
.poDetailMain{
    width: 100%;
    background-color: white;

}
.poDetailMain table{
    width: 100%;
    border: 1px solid black;
}
.poFooterMain{
    width: 100%;
    padding-top: 15px;
}
.poFooterMain div {
    width: 33%;
    float: left;
    border: 1px solid black;
}

.poFooterMain .row:after {
    content: "";
    display: table;
    clear: both;
}
.poNotesMain {
    width: 100%;
    border: 1px solid black;
    background-color: lightgrey;
    padding-top: 15px;
    padding-bottom: 15px;
}

.poNotesMain table {
    width: 100%;
}
.poFooterMain {
    width: 100%;
    padding-top: 15px;
}

.poFooterMain div {
    width: 33%;
    float: left;
    border: 1px solid black;
}

.poFooterMain .row:after {
    content: "";
    display: table;
    clear: both;
}
.poButtonsMain{
     width: 100%;
     float: right;
 }

.main-content {
    overflow: auto;
    position: absolute;
    left: 200px;
    right: 200px;
    height: 500px;

}
.edit-po-detail{
    width: 100%;
}

.sidebar-one{
    width: 200px;
    position:absolute;
    right: 0;
    height: 500px;
}
.sidenav-main{
    background-color:darkgrey;
}
.sidenav-main ul{
    margin: 0;
    padding: 0;
}
.sidenav-main ul li{
    list-style: none;
    border-bottom: 2px solid #444;
    font-size:90%;
    font-weight: bold;
}
.main 
{
    margin: 1em;
}

/*.css-serial {
    counter-reset: serial-number; /* Set the serial number counter to 0 */
/*}

    .css-serial td:first-child:before {
        counter-increment: serial-number; /* Increment the serial number counter */
        /*content: counter(serial-number); /* Display the counter */
    /*}*/






/*.card {
    position: relative;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    min-width: 0;
    word-wrap: break-word;
    background-color: #fff;
    background-clip: border-box;
    border: 1px solid rgba(0, 0, 0, 0.125);
    border-radius: 0.25rem;
}

    .card > hr {
        margin-right: 0;
        margin-left: 0;
    }

    .card > .list-group:first-child .list-group-item:first-child {
        border-top-left-radius: 0.25rem;
        border-top-right-radius: 0.25rem;
    }

    .card > .list-group:last-child .list-group-item:last-child {
        border-bottom-right-radius: 0.25rem;
        border-bottom-left-radius: 0.25rem;
    }

.card-body {
    -webkit-box-flex: 1;
    -ms-flex: 1 1 auto;
    flex: 1 1 auto;
    padding: 1.25rem;
}

.card-title {
    margin-bottom: 0.75rem;
}

.card-subtitle {
    margin-top: -0.375rem;
    margin-bottom: 0;
}

.card-text:last-child {
    margin-bottom: 0;
}

.card-link:hover {
    text-decoration: none;
}

.card-link + .card-link {
    margin-left: 1.25rem;
}

.card-header {
    padding: 0.75rem 1.25rem;
    margin-bottom: 0;
    background-color: rgba(0, 0, 0, 0.03);
    border-bottom: 1px solid rgba(0, 0, 0, 0.125);
}

    .card-header:first-child {
        border-radius: calc(0.25rem - 1px) calc(0.25rem - 1px) 0 0;
    }

    .card-header + .list-group .list-group-item:first-child {
        border-top: 0;
    }*/

/*.edit-mode {}

.edit-user {}

.edit-user display-mode {}

.save-user edit-mode {}

.display-mode {}

.cancel-user {}*/
/*.editPODetail {
}*/
.editPODetail table {
    width: 100%;
}
.editPODetail.webgrid-table {
        font-family: Arial,Helvetica,sans-serif;
        font-size: 14px;
        font-weight: normal;
        width: 650px;
        display: table;
        border-collapse: collapse;
        border: solid #C5C5C5 ;
        background-color: white;
    }

    .editPODetail.webgrid-table td, th {
        border: 1px solid #C5C5C5;
        padding: 3px 7px 2px;
    }
    
    .editPODetail.webgrid-header, .editPODetail.webgrid-header a {
        background-color: #E3E3E3;
        color: black;
        text-align: left;
        text-decoration: none;
    }

    /*.editPODetail.webgrid-footer {
    }*/

    .editPODetail.webgrid-row-style {
        padding: 3px 7px 2px;
    }

    .editPODetail.webgrid-alternating-row {
        background-color: #F5F5F5;
        padding: 3px 7px 2px;
    }

    .editPODetail.col1Width {
        width: 50px;
    }

    .editPODetail.col2Width {
        width: 200px;
    }

    .edit-PO-Form{
        width: 100%;
    }
        .edit-PO-Form div {
            width: 50%;
            float: left;
            border-style: solid;
           
           
        }



input[type="text"], textarea
{
    margin: 0;
    padding: 5px 8px 6px;
    color: #333;
    border: 1px solid #D5D5D5;
    border-top-color: #B5B5B5;
    border-radius: 1px;
    box-shadow: inset 0 1px 1px rgba(0, 0, 0, 0.1);
}

input[type="text"] {
    width: 200px;
}

/* Styles for validation helpers*/
@media (max-width: 767px)
{
    .field-validation-error
    {
        display: block;
    }
}

.field-validation-error, .validation-summary-errors
{
    color: #ff0000;
}


ul.alphaFilter {
    list-style-type: none;
    
    float: left;
}

    ul.alphaFilter li {
        margin: 2px;
        font-size: 160%;
        border: 1px solid #f5f5f5;
        padding: 6px 8px;
        float: left;
    }

        ul.alphaFilter selected {
            background-color: #333333;
            color: White;
        }

        ul.alphaFilter li a {
            color: #333333;
        }
.validation-summary-errors ul
{
    list-style: none;
}

.field-validation-valid
{
    display: none;
}

.input-validation-error
{
    background-color: #ffeeee;
}

.editbtn, .delbtn, .editnst, .delnst {
    padding: .2em .3em;
}

/* grid btns */
.editbtn, .delbtn, .editnst, .delnst {
    padding: .2em .3em;
}

.ico-crud {
    background-image: url(editdel.png);
}

.ico-edit, .ico-del {
    display: block;
    overflow: hidden;
    height: 18px;
    width: 18px;
    background-repeat: no-repeat;
}

.ico-edit {
    background-position: 0 -1px;
}

.ico-del {
    background-position: -17px -1px;
}
/* grid btns */

/* form layout */
.efield
{
    padding: 5px 0;
}

.elabel
{
    text-align: right;
    /*width: 150px;*/
    display: inline-block;
   
  
    vertical-align: top;
    /*margin-top: 1px;*/
    padding-right: 3px;
}

.elabel label {
    font-weight: 600;
}

@media (max-width: 480px)
{
    .elabel
    {
        text-align: left;
        display: block;
    }
}

.einput
{
    display: inline-block;
    display: inline;
    
    vertical-align: top;
}

.einput .o-dd, .einput .awe-datepicker-field, .einput .awe-lookup-field, .einput, .einput .awe-multilookup-field, .einput  .etxt
{
    min-width: 15em;
}

.awe-popup .einput .awe-multilookup-field .awe-display {
    max-height: 7.3em;
    overflow-y: auto;
}

/* misc */
.bar
{
    padding: 5px 0;
}

.mbtn
{
    padding: 0.4em 0.9em;
}

ul.nav.nav-tabs {
    margin: 10px;
}

    ul.nav.nav-tabs li:not(.active) a {
        background-color: #eeeeee;
        color: grey;
    }

    ul.nav.nav-tabs .active a {
        border-top: 3px solid #16a765;
    }


.loaderbody {
    width: 100%;
    height: 100%;
    position: absolute;
    z-index: 2147483647;
    color:azure;
    background-color: gray;
}

.loader {
    border: 16px solid #f3f3f3; /* Light grey */
    border-top: 16px solid #3498db; /* Blue */
    border-radius: 50%;
    width: 120px;
    height: 120px;
    animation: spin 2s linear infinite;
    position: fixed;
    top: 45%;
    left: 40%;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

#invoice {
    padding: 30px;
}

.invoice {
    position: relative;
    background-color: #FFF;
    min-height: 680px;
    padding: 15px
}

    .invoice header {
        padding: 10px 0;
        margin-bottom: 20px;
        border-bottom: 1px solid #3989c6
    }

    .invoice .company-details {
        text-align: right
    }

        .invoice .company-details .name {
            margin-top: 0;
            margin-bottom: 0
        }

    .invoice .contacts {
        margin-bottom: 20px
    }

    .invoice .invoice-to {
        text-align: left
    }

        .invoice .invoice-to .to {
            margin-top: 0;
            margin-bottom: 0
        }

    .invoice .invoice-details {
        text-align: right
    }

        .invoice .invoice-details .invoice-id {
            margin-top: 0;
            color: #3989c6
        }

    .invoice main {
        padding-bottom: 50px
    }

        .invoice main .thanks {
            margin-top: -100px;
            font-size: 2em;
            margin-bottom: 50px
        }

        .invoice main .notices {
            padding-left: 6px;
            border-left: 6px solid #3989c6
        }

            .invoice main .notices .notice {
                font-size: 1.2em
            }

    .invoice table {
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
        margin-bottom: 20px;
        border-style:solid;
    }

        .invoice table td, .invoice table th {
            padding: 15px;
            background: #eee;
            border-bottom: 1px solid #fff
        }

        .invoice table th {
            white-space: nowrap;
            font-weight: 400;
            font-size: 16px
        }

        .invoice table td h3 {
            margin: 0;
            font-weight: 400;
            color: #3989c6;
            font-size: 1.2em
        }

        .invoice table .qty, .invoice table .total, .invoice table .unit {
            text-align: right;
            font-size: 1.2em
        }

        .invoice table .no {
            color: #fff;
            font-size: 1.6em;
            background: #3989c6
        }

        .invoice table .unit {
            background: #ddd
        }

        .invoice table .total {
            background: #3989c6;
            color: #fff
        }

        .invoice table tbody tr:last-child td {
            border: none
        }

        .invoice table tfoot td {
            background: 0 0;
            border-bottom: none;
            white-space: nowrap;
            text-align: right;
            padding: 10px 20px;
            font-size: 1.2em;
            border-top: 1px solid #aaa
        }

        .invoice table tfoot tr:first-child td {
            border-top: none
        }

        .invoice table tfoot tr:last-child td {
            color: #3989c6;
            font-size: 1.4em;
            border-top: 1px solid #3989c6
        }

        .invoice table tfoot tr td:first-child {
            border: none
        }

    .invoice footer {
        width: 100%;
        text-align: center;
        color: #777;
        border-top: 1px solid #aaa;
        padding: 8px 0
    }

@media print {
    .invoice {
        overflow: hidden !important;
        font-size:large;
          
    }

        .invoice footer {
            position: absolute;
            bottom: 10px;
            page-break-after: always
        }

        /*.invoice > div:last-child {
            page-break-before: always*/
        }
}
.noprint {
    display: none;
}


table.invoiceHeader, table.invoiceHeader tr, table.invoiceHeader tr td {
    border: 0;
}



div.from {
    padding: 10px;
    width: 300px;
}


div.invoiceFooter {
    margin-top: 30px;
    page-break-after: always
}

table td.invoiceFooterTitle {
    text-align: right;
    padding-right: 15px;
    font-weight: bold;
}

table td.invoiceFooterValue {
    font-weight: bold;
    padding-left: 15px;
    font-size: 120%;
}

table td.invoiceFooterValueTotal {
    padding-left: 15px;
    font-weight: bold;
    font-size: 120%;
    text-decoration: underline;
}

table.signature {
    margin: 0;
    padding: 0;
    width: 240px;
    position: absolute;
    bottom: 5px;
    text-align: center;
}

table.AP {
    padding: 0;
    left: 300px;
    width: 200px;
    position: fixed;
    bottom: 5px;
    text-align: center;
}

table.PR_Total {
    padding: 0;
    left: 555px;
    width: 200px;
    position: fixed;
    bottom: 5px;
    text-align: center;
}

hr {
    margin: 10px 0px 10px 0px;
}

.line {
    border: none;
    border-top: 1px solid thin black;
    border-bottom: 1px solid #292929;
}
