body,
html {
    margin: 0px;
    padding: 0px;
    background-color: #F5F5F5;
}

.row {
    padding: 0px;
    margin: 0px;
}

.mainContainer,
.warper {
    display: block;
}

.headerContainer {
    /*background-color: #c00; */
    background-color: #303030;
    /*uncheck comment for default */
}

.err {
    color: #c00;
}

.fieldError {
    padding-bottom: 10px;
    font-size: 1.2em;
}

.success {
    color: green;
}

.logoSection {
    font-weight: bold;
    color: #000;
    background-color: #fff;
    text-align: center;
    padding: 8px 15px;
    font-size: 1.2em;
    text-transform: uppercase;
    border-radius: 3px;
}

.logoSection,
.navSection {
    display: inline-block;
    vertical-align: middle;
    font-size: 12px;
}

.back {
    display: block;
    float: right;
    border-radius: 2em;
    text-decoration: none;
    /*width: 200px;
    height: 200px;*/
    padding: 8px 20px;
    color: #303030;
    font-weight: bold;
    text-indent: -9999px;
    background: url(../images/back.png) no-repeat top left;
    background-size: 100% 100%;
}

.back:hover {
    text-decoration: none;
    color: #000;
    padding: 8px 21px;
}

ul.navItems {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

ul.navItems li {
    display: inline-block;
    border-right: 1px solid #888;
}

ul.navItems li:last-child {
    border-right: none;
}

ul.navItems li a {
    display: block;
    padding: 8px 10px;
    text-decoration: none;
    color: #ccc;
    /*uncheck comment for default*/
    font-size: 1em;
}

ul.navItems li:hover a {
    color: #FAE6E6;
}

ul.navItems li a.active {
    color: #000;
}

.userLoginInfo {
    display: block;
    padding: 8px 15px;
    font-size: 0.86em;
    text-align: right;
    color: #fff;
}


/*---------- LOGIN FORM STYLES---*/

.loginForm {
    display: block;
    margin: 120px auto;
    width: 30%;
}

.loginForm .panel {
    padding: 0px 20px;
}

.btn-danger {
    background-color: #000;
    color: #fff;
    border: none;
}

.btn-danger.active,
.btn-danger.focus,
.btn-danger:active,
.btn-danger:focus,
.btn-danger:hover,
.open>.dropdown-toggle.btn-danger {
    background-color: #303030;
    color: #fff;
}


/*---------- LOGIN FORM STYLES END---*/


/*---------- Body  STYLES END---*/

.bodyContainer {
    display: block;
    padding: 20px 0px;
    background-color: #fff;
}

.addProduct {
    padding: 10px 0px;
}



.formButHolder {
    display: block;
    padding: 8px 0px;
    background-color: #f2f2f2;
    margin: -15px;
    margin-top: 20px;
    border-radius: 0px 0px 3px 3px;
}


/*  Customer Page Styles ------------------*/

.cmHolder {
    display: block;
}

.cmHolder .tabContainer {
    display: block;
}

.cmHolder .tabContainer ul.tabItems {
    margin: 0px;
    padding: 0px;
    list-style: none;
    text-align: right;
}

.cmHolder .tabContainer ul.tabItems > li {
    display: inline-block;
    padding: 8px 12px;
    margin: 2px;
    background-color: #D2D2D2;
    color: #000;
    border-radius: 8px;
}

.cmHolder .tabContainer ul.tabItems > li.active {
    box-shadow: 1px 1px 3px #888;
    background-color: #000;
    color: #fff;
}

.cmHolder .tabContainer ul.tabItems > li:hover {
    cursor: pointer;
    box-shadow: 0px 0px 2px #000;
}

.arrengment {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.arrengment li {
    display: inline-block;
    vertical-align: middle;
    border: 1px solid #ccc;
    border-radius: 8px;
}

.arrengment li:nth-child(2) {
    text-align: center;
    border: none;
    padding: 0px 12px;
    color: #555;
    font-style: italic;
}

.arrengment li:first-child,
.arrengment li:last-child {
    min-height: 350px;
    width: 45%;
    padding: 20px 10px;
}

.textareaSize {
    min-height: 5.1em;
}
.textareaSize#description{
    min-height: 10.3em;
}

.addCustomerRow {
    display: block;
}

.addCustomerRow ul {
    margin: 0px;
    padding: 0px;
    list-style: none;
}

.addCustomerRow ul li {
    display: block;
    margin: 3px 0px;
    background-color: #f2f2f2;
    border: 1px solid #ccc;
    padding: 8px 12px;
    border-radius: 5px;
}

.addCustomerRow ul li .itemHolder > b {
    display: inline-block;
}

.addCustomerRow ul li .itemHolder > b:after {
    content: " :"
}

.addCustomerRow ul li .itemHolder .details {
    display: inline-block;
    font-size: 0.86em;
    color: #555;
}

.addCustomerRow ul li .itemHolder .details b {
    font-weight: normal;
    color: #000;
}


/*  Customer Page Styles End ------------------*/


/*  Product Page Styles ------------------*/

.pmContentHolder .itemHolder {
    display: block;
}

.pmContentHolder .itemHolder table tr:first-child,
.addCustomerRow table tr:first-child {
    background-color: #303030;
    color: #fff;
}

.imgProductHolder {
    display: block;
    margin-top: 10px;
}

.imgProductHolder img,
.imgProductHolder a {
    display: inline-block;
    vertical-align: top;
}

.imgProductHolder a {
    margin-left: -15px;
    margin-top: -15px;
    background-color: #c00;
    padding: 5px 12px;
    text-decoration: none;
    color: #fff;
    border-radius: 2em;
}


/*  Product Page Styles End ------------------*/


/* -- FOOTER STYLES --------*/

.footerContainer {
    display: block;
    border-top: 1px solid #ccc;
    background-color: #F5F5F5;
    padding: 15px 0px;
    text-align: center;
}

.footerContainer a {
    text-decoration: none;
    color: #303030;
    font-weight: bold;
}


/* Angular js Animations -----------*/

.ng-enter {
    transition: 0.5s;
    opacity: 0;
}

.ng-enter-stagger {}

.ng-enter-active {
    opacity: 1;
}

.ng-leave {
    transition: 0.1s;
    opacity: 1;
}

.ng-leave-stagger {}

.ng-leave-active {
    opacity: 0;
}


/* DC Form Page Terms and Conditions*/

.termsAndCondition {
    display: block;
    padding: 10px 0px;
    font-size: 0.86em;
    color: #555;
    border-bottom: 1px dashed #ccc;
    border-top: 1px dashed #ccc;
    margin-top: 20px;
}

.termsList {
    padding: 0px 0px 0px 15px;
    margin: 0px;
    font-style: italic;
}
.termsList>li>span,
.termsList>li>input {
    display: inline-block;
    vertical-align: middle;
    margin: 3px 0px;
}

.termsList>li>span{
    min-width: 150px;
}
.termsList>li>input{
    min-width: 250px;
    padding: 5px;
    border-radius: 5px;
    border: 1px solid #ccc;

}


/* Printing Document */

.companyHeading p {
    font-size: 12px;
}

.dcBillFormat {
    display: block;
    width: 800px;
    margin: 0px auto;
    border: 1px solid #000;
    font-family: 'shref';
}



.borderless td,
.borderless th,
.borderless {
    border: none;
}

.table.borderless>tbody>tr>td,
.table.borderless>tbody>tr>th,
.table.borderless>tfoot>tr>td,
.table.borderless>tfoot>tr>th,
.table.borderless>thead>tr>td,
.table.borderless>thead>tr>th {
    border: none;
}

.dcBillFormat {
    page-break-after: always;
    margin: 0px auto;
    padding: .8cm;
    border: 1px solid #ccc;
    overflow: hidden;
}

.grandTotal {
    display: block;
    position: relative;
}

.grandTotal table {
    width: 350px;
    /*position: absolute;*/
    right: 0;
}

p {
    line-height: normal;
}

.table.billDetails>tbody>tr>td,
.table.billDetails>tbody>tr>th,
.table.billDetails>tfoot>tr>td,
.table.billDetails>tfoot>tr>th,
.table.billDetails>thead>tr>td,
.table.billDetails>thead>tr>th {
    padding: 0px 8px;
}

.signArea {
    display: table;
    width: 100%;
    margin-top: 5px;
}

.signArea .termsList {
    font-weight: normal;
    font-size: 12px;
    font-style: normal;
}

.signAreaLeft,
.signAreaRight {
    display: table-cell;
    vertical-align: bottom;
    font-weight: bold;
}

.signAreaLeft {
    text-align: left;
    padding-left: 10px;
    width: 40%;
}

.signAreaRight {
    text-align: right;
    width: 60%;
    padding-right: 10px;
}

.signAreaRight span {
    display: block;
}

.signAreaRight span.companyName {
    padding-bottom: 50px;
}

.billTableNum {
    min-height: 180px;
}

.billTableNum .table-bordered,
.table-bordered>tbody>tr>td,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>td,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>thead>tr>th {
    border: 1px solid #000;
}

.billTableNum.dLikeUser {
    min-height: 50px;
}

.customerDetails .table {
    margin: 0px;
}

.billTableNum table.table>tbody>tr>td,
.billTableNum table.table>tbody>tr>th,
.billTableNum table.table>tfoot>tr>td,
.billTableNum table.table>tfoot>tr>th,
.billTableNum table.table>thead>tr>td,
.billTableNum table.table>thead>tr>th {
    padding: 3px 8px;
    font-size: 12px;
    border: 1px solid #000;
}

.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    padding: 2px 8px;
}

.btn-default {
    color: blue;
    background-color: transparent;
    border-color: #ccc;
    padding: 2px 8px;
    border: none;
    text-decoration: underline;
}

.btn {
    padding: 3px 8px;
}

.dcTitle span {
    display: block;
    font-size: 16px;
    font-weight: bold;
    padding: 15px 0px;
}

.dcTitle.dLikeUser span {
    padding-bottom: 5px;
}

.mainContainer .print {
    display: block;
    margin: 0px auto;
    /*border: 1px solid #000;*/
    width: 800px;
}

.printReports {
    display: block;
    /*border: 1px solid #000;*/
}

.printReports a {
    border-radius: 5px 5px 0px 0px;
}

.refImage {
    display: inline-block;
    width: 32px;
    padding: 5px 0px;
    border: 1px solid #aaa;
    text-align: center;
    font-size: 14px;
    vertical-align: middle;
    margin-left: 10px;
    border-radius: 3px;
    color: #000;
    text-decoration: none;
}

.refImage:after {
    content: 'Img';
}

body .dcBillFormat .productImageHolder {
    display: none;
}

body .dcBillFormat .productImageHolder .productList {
    display: block;
    margin-bottom: 20px;
}

body .dcBillFormat .productImageHolder .productList .plHeading {
    display: block;
    padding: 5px 15px;
}

@media print {
    body.print-paper-a4 {
        width: 210mm;
        height: 297mm;
    }
    body {
        background: white;
        margin: 0;
        padding: 0;
        -webkit-print-color-adjust: exact;
    }
    .print-stage,
    .no-print {
        display: none;
    }
    .borderless td,
    .borderless th,
    .borderless {
        border: none;
    }
    .table.borderless>tbody>tr>td,
    .table.borderless>tbody>tr>th,
    .table.borderless>tfoot>tr>td,
    .table.borderless>tfoot>tr>th,
    .table.borderless>thead>tr>td,
    .table.borderless>thead>tr>th {
        border: none;
    }

    .reward-body {
        display: block;
        width: 800px;
        margin: 0px auto;
        /*border: 1px solid #000;*/
        /*font-family: 'arial';*/
    }

    .billHolder {
        width: 210mm;
        height: 297mm;
        position: relative;
        /*border: 1px solid #000;*/
    }

    .billHolder .footerIcons {
        display: block;
        position: absolute;
        left: 0px;
        bottom: 0px;
        width: 100%;
        font-size: 1.2em;
    }
    body .productImageHolder {
        display: block;
    }
    body .productImageHolder .productList {
        display: block;
        margin-bottom: 15px;
        border-color: black;
        min-height: 297mm;
    }
    body .productImageHolder .productList .plHeading {
        display: block;
        padding: 3px 0px;
        text-align: center;
        border-bottom: 1px solid #000;
        text-transform: uppercase;
    }
    body .productImageHolder .productList .plImage {
        display: block;
        text-align: center;
    }
    body .productImageHolder .productList .plImage img{
        padding: 8px;
    }
    .companyHeading p {
        font-size: 12px;
    }
    .customerDetails {
        display: block;
    }
    .customerDetails .customerInfo {
        display: block;
    }
    .customerDetails .billDetails {
        right: 0;
        width: 60%;
    }
    .dcBillFormat {
        page-break-after: always;
        margin: 0;
        padding: .8cm;
        border: none;
        overflow: hidden;
    }
    .grandTotal {
        display: block;
        position: relative;
    }
    .grandTotal table {
        width: 350px;
        /*position: absolute;*/
        right: 0;
    }
    p {
        line-height: normal;
    }
    .table.billDetails>tbody>tr>td,
    .table.billDetails>tbody>tr>th,
    .table.billDetails>tfoot>tr>td,
    .table.billDetails>tfoot>tr>th,
    .table.billDetails>thead>tr>td,
    .table.billDetails>thead>tr>th {
        padding: 0px 8px;
    }
    .billTableNum table.table>tbody>tr>td,
    .billTableNum table.table>tbody>tr>th,
    .billTableNum table.table>tfoot>tr>td,
    .billTableNum table.table>tfoot>tr>th,
    .billTableNum table.table>thead>tr>td,
    .billTableNum table.table>thead>tr>th {
        border: 1px solid #000 !important;
    }
    .signArea {
        display: table;
        width: 100%;
        margin-top: 20px;
    }
    .signAreaLeft,
    .signAreaRight {
        display: table-cell;
        vertical-align: bottom;
        font-weight: bold;
    }
    .signAreaLeft {
        text-align: left;
        padding-left: 10px;
        width: 40%;
    }
    .signAreaRight {
        text-align: right;
        width: 60%;
        padding-right: 10px;
    }
    .signAreaRight span {
        display: block;
    }
    .signAreaRight span.companyName {
        padding-bottom: 50px;
    }
    .billTableNum {
        min-height: 180px;
    }
    .billTableNum table {
        border: 1px solid #000;
    }
    .table.table-bordered {
        border: 1px solid #000;
    }
    .termsAndCondition {
        border-bottom: none;
    }
}

body,
.modal-open .page-container,
.modal-open .page-container .navbar-fixed-top,
.modal-open .modal-container {
    overflow-y: scroll;
}

@media (max-width: 979px) {
    .modal-open .page-container .navbar-fixed-top {
        overflow-y: visible;
    }
}


.productList{
    display: block;
}
.productList div:nth-child(2){
    display: block;
}

.productList div:nth-child(2)>ul{
    margin: 0px;
    padding: 0px;
    list-style: none;
}
.productList div:nth-child(2)>ul>li{
    display: block;
    border-top: 1px solid #ccc;
}
.productList div:nth-child(2)>ul>li:last-child{
    border-bottom: 1px solid #ccc;
}
.productList div:nth-child(2)>ul>li>span{
    display: block;
}
.productList div:nth-child(2)>ul>li>span>b{
    display: inline-block;
    min-width: 80px;
}
.productList div:nth-child(2)>ul>li>span:nth-child(6){
    display: block;
    padding: 8px 0px
}
