﻿/* Move down content because we have a fixed navbar that is 50px tall */
body {
    padding-top: 20px;
    padding-bottom: 20px;
    font-family: 'Open Sans', sans-serif;
    font-size: 14px;
    font-size: 1.4rem;
}

.page-header h1 {
    font-size: 25px;
}

.leftNav {
    width: 420px;
    display: block;
}

.logoHome {
    max-width: 53px;
    margin-top: -16px;
}

.NavAddress {
    margin-top: -17px;
    letter-spacing: .05em;
}

.NavAccount {
    letter-spacing: .05em;
    padding-left: 80px;
    font-size: 13px;
}

.ClientName {
    display: block;
    float: left;
    margin-right: 10px;
}

@media screen and (max-width: 1400px) {
    .ClientName {
        display: block;
        float: left;
        white-space: nowrap;
        width: 150px;
        overflow: hidden;
        text-overflow: ellipsis;
    }
}

.QuoteNo {
    display: block;
    float: right;
    margin-left: 15px;
}

.navbar-inverse {
    background-image: none;
    background-color: #080706;
}
/* View Proposal Collapse */
.collapeHeader {
    padding-top: 5px;
    padding-bottom: 5px;
}


/* Remove Blue Border */
button:focus {
    outline: 0 !important;
}


/*Client logo */
.clientlogo img {
    margin-top: -7px;
    margin-left: 20px;
    max-height: 35px;
    width: auto;
    max-width: 185px;
}

/* Dashbord Styles */

.dashbord {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;
    height: 465px;
    margin-bottom: 20px;
}

    .dashbord h4 {
        text-align: left;
        padding-left: 15px;
    }

.demo-section {
    text-align: center;
}

#chart-status {
    display: inline-block;
    width: 280px;
    height: 360px;
    margin: 15px 65px;
}

.box-cols {
    width: 100%;
}


/* click to pay page */
.ClickToPayLogo{
    width:250px;
}

/* Confirm Page */

.CustomerInfo img {
    max-width: 350px;
}

img.cal {
    max-width: 100px;
}


@media screen and (max-width: 985px) {

    /*Client logo View Proposal*/
    .CustomerInfo img {
        max-width: 350px;
    }
}

/* Landing Page Styles */

.landing-mod {
    text-align: center;
    padding: 35px;
    border-radius: 10px;
    box-shadow: 0px 0px 10px #ccc;
    margin-bottom: 30px;
    min-height: 30%;
    animation-fill-mode: both;
    animation-name: mymove;
    animation-duration: .8s;
    animation-timing-function: linear;
    animation-direction: alternate;
}

    .landing-mod h2 {
        font-size: 1.8em;
        color: #4D4F5C;
        font-weight: 600;
    }

    .landing-mod h3 {
        font-size: 1.2em;
        color: #4D4F5C;
        margin-top: -10px;
    }

.mod1 {
    animation-delay: .5s;
}

.mod2 {
    animation-delay: 1s;
}

.mod3 {
    animation-delay: 1.5s;
}

.mod4 {
    animation-delay: 2s;
}

.mod5 {
    animation-delay: 2.5s;
}

.mod6 {
    animation-delay: 3s;
}

.mod7 {
    animation-delay: 3.5s;
}



/* Modal for Linked Item Doccuments to Proposals */

.modal-dialog {
    width: 665px;
}



#addItemFilesDialog .modal-dialog {
    width: 700px;
}

#MainContent_itemfileslist {
    width: 670px;
}


    #MainContent_itemfileslist > tr > :nth-child(3) {
        width: 450px;
        word-break: break-all;
    }

/* -------------------------------------------- */

@media only screen and (max-width: 920px) {

    #addItemFilesDialog .modal-dialog {
        width: 100%;
    }
}


/* Safari 4.0 - 8.0 */
@-webkit-keyframes mymove {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes mymove {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@media screen and (min-width: 990px) {

    .landing-mod {
        min-height: 33%;
    }
}

@media screen and (min-width: 1200px) {

    .landing-mod {
        min-height: 29%;
    }

        .landing-mod h2 {
            font-size: 1.5em;
        }

        .landing-mod h3 {
            font-size: 1em;
        }
}

@media screen and (min-width: 1750px) {

    .landing-mod {
        min-height: 33%;
    }

        .landing-mod h2 {
            font-size: 1.6em;
        }

        .landing-mod h3 {
            font-size: 1.1em;
        }
}

@media screen and (-ms-high-contrast: active), screen and (-ms-high-contrast: none) {
    /* IE10+ specific styles go here */

    .landing-mod {
        min-height: 320px;
    }
}

/* Item Descriptions table code for desktop view image size*/

.item-list-table img {
    width: 150px;
}


/* Wrapping element */
/* Set some basic padding to keep content from hitting the edges */
.body-content {
    padding-left: 15px;
    padding-right: 15px;
}

/* Set widths on the form inputs since otherwise they're 100% wide */
input,
select,
textarea {
    padding-left: 5px;
    padding-right: 5px;
}

.page-title {
    font-size: 2.3rem;
    font-weight: 700;
    text-transform: capitalize;
    color: #525252;
}

.outline {
    border: 1px solid #BDBDBD;
    border-radius: 5px;
    min-height: 55px;
    padding: 10px;
    margin-bottom: 20px;
    background-color: #FFF;
}

canvas {
    width: 100%;
    height: 300px;
}




.outline-total {
    border: 1px solid #37474F;
    border-radius: 5px;
    min-height: 55px;
    padding: 5px;
    margin-bottom: 20px;
}

.align-numbers {
    text-align: right;
}

.align-numbers_2 {
    text-align: right;
    font-size:16px;
}

.finalSelling {
    background-color: lightyellow;
}

/* PDF Section for review proposal  */

.PDF-SectionHeader {
    background-color: #373A3C !important;
}

    .PDF-SectionHeader a {
        color: #FFF;
    }

.PDF-btn {
    color: #000;
}

.PDF-collapes a {
    color: #373A3C;
}


.big-checkbox {
    width: 20px;
    height: 20px;
}

.clock {
    color: red;
    font-size: 16px;
    margin-top: 10px;
}

    .clock img {
        max-width: 75px;
    }

.center-pills {
    display: flex;
    justify-content: center;
}


/* Set widths on the form inputs since otherwise they're 100% wide */
#qualityrow {
    display: flex;
    flex-flow: row wrap;
}


/*#qualityrow div:nth-of-type(1) div.panel-heading {
        background-color: #003B46;
        color: #FFF;
    }

    #qualityrow div:nth-of-type(2) div.panel-heading {
        background-color: #07575B;
        color: #FFF;
    }

    #qualityrow div:nth-of-type(3) div.panel-heading {
        background-color: #66A5AD;
        color: #FFF;
    }

    #qualityrow div:nth-of-type(4) div.panel-heading {
        background-color: #C4DFE6;
        color: #000;
    }

    .quality1, .quality2, .quality3, .quality4 {
    padding-left: 0px;
    padding-right: 8px;
}*/


.quality1 .panel-default {
    background-color: #003B46;
}

.quality2 .panel-default {
    background-color: #07575B;
}

.quality3 .panel-default {
    background-color: #66A5AD;
}

.quality4 .panel-default {
    background-color: #C4DFE6;
}


.q1 {
    background-color: #003B46 !important;
}

.q2 {
    background-color: #07575B !important;
}

.q3 {
    background-color: #66A5AD !important;
}

.q4 {
    background-color: #C4DFE6 !important;
}

.qualityrow h2 {
    color: #FFF;
    margin: 20px;
}

.q4 h2 {
    color: #000;
}

.qualityrow strong {
    font-size: 110%;
}

.outline h2 {
    margin: 10px 0;
    color: #000;
    font-weight: 700;
}

/* It Makes Radio Button Bigger In Accept Proposal */
.radio-big {
    width: 20px;
    height: 25px;
    z-index:10000; /*to float on top of HIDE button*/
}

h1.steps {
    font-weight: 600;
    font-size: 25px;
    text-align: center;
}

h1.combo_header {
    font-weight: bold;
    font-size: 20px;
    line-height: 17px;
    text-align: left;
    color: #1c7cd5;
    padding-bottom: 20px;
}

p.steps {
    font-size: 16px;
    line-height: 1.5;
    text-align: left;
}

hr.combo_line {
    border: .5px solid #707070;
    margin: 0 20px 0 20px;
}

.SH_Button {
    margin-bottom: 10px;
}

.blinking {
    animation: blinker 2s linear infinite;
    color: darkred;
    font-weight: bold;
    font-size: 1.2em;
}

@keyframes blinker {
    50% {
        opacity: 0.2;
    }
}

/* View Edit Buttons */
.ViewEdit {
    display: block;
    float: right;
    margin-right: 60%;
}

.View {
    display: block;
    float: right;
}


.View-button {
    display: none;
}

.context-menu-doc {
    margin-bottom: 10px;
}

@media screen and (max-width: 1350px) {
    .ViewEdit {
        margin-right: 30%;
    }
}

@media screen and (max-width: 820px) {
    .ViewEdit {
        margin-right: 0%;
    }
    .context-menu-doc {
        display: block;
        float: right;
        margin-bottom: 10px;
    }

}

/*@media screen and (max-width: 540px) {
    .ViewEdit {
    margin-right:0%;

}

        .form-control {
            font-size: 10px;
    }

}*/

/* Responsive: Portrait tablets and up */
@media screen and (min-width: 768px) {
    .jumbotron {
        margin-top: 20px;
    }

    .body-content {
        padding: 0;
    }
}


.mGrid {
    width: 100%;
    background-color: #fff;
    margin: 5px 0 10px 0;
    border: solid 1px #525252;
    border-collapse: collapse;
}

    .mGrid td {
        font-size: 1.4rem;
        font-weight: 400;
        padding: 10px 5px 10px 5px;
        border: solid 1px #c1c1c1;
        color: #333;
    }


    .mGrid th {
        font-weight: 600;
        padding: 12px;
        color: #fff;
        background: #004765 repeat-x top;
        border-left: solid 1px #525252;
        font-size: 0.9em;
    }

    .mGrid .alt {
        background: #fcfcfc repeat-x top;
    }

    .mGrid .pgr {
        background: #04202c repeat-x top;
    }

        .mGrid .pgr table {
            margin: 5px 0;
        }

        .mGrid .pgr td {
            border-width: 0;
            padding: 0 6px;
            border-left: solid 1px #666;
            font-weight: bold;
            color: #fff;
            line-height: 12px;
            background: #004765;
        }

        .mGrid .pgr a {
            color: #666;
            text-decoration: none;
        }

            .mGrid .pgr a:hover {
                color: #000;
                text-decoration: none;
            }

.qualitylevelcol {
    min-width: 300px;
}

a {
    text-decoration: none !important;
}

.btnDisabled {
}

.costcontrol {
    text-align: right !important;
    min-width: 60px;
    font-size: 12px !important;
    padding: 1px !important;
}

td:nth-child(3) .costcontrol {
    min-width: 30px;
}
/*The width of Qty in the Proposal Section */

.itemcontrol {
    text-align: left !important;
    font-size: 12px !important;
    padding-left: 2px !important;
    padding-right: 2px !important;
}

.iconcontrol {
    text-align: center;
    padding-bottom: 30px;
}

.iconcontrolTrash {
    text-align: center;
}

.iconcontrolTrashAll {
    text-align: center;
    color: #FFF;
}

.iconcontrol2 {
    text-align: center;
    padding: 5px;
    border-radius: 5px;
    background-color: #FFF;
    float: right;
    margin-right: 10px;
}

.iconcontrolSave {
}

.iconcontrolSaveOn {
    color: #FF0000;
}


.iconcontrolSaveOff {
    color: #D3D3D3;
    pointer-events: none;
    disabled: disabled;
}



/******************************************************************************************/
/*the below are for the new sales description rows added to the Grids on the Proposal Edit page*/
/*********************************************************************************************/
.imagePlaceHolder {
    width: 80px;
    height: 80px;
    display: block;
    float: left;
    border: 1px;
    background-color: silver;
    margin-right: 30px;
}

/*Sales Description Div container and  Label Tag:*/
.itemRowWebDescControl_Div {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    margin-left: 2px;
}

.itemRowWebDescControl {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    border: none;
    width: 100%;
}

.itemRowWebDescControlDISABLED {
    text-align: left;
    font-size: 12px;
    font-weight: bold;
    border: none;
    width: 100%;
}


/*Image Div container and IMAGE Tag:*/
.itemRowImageControl_Div {
    margin-left: 0px;
    margin-right: 5px;
    padding-left: 0px;
    display: block;
}


/*DUPLICATED FOR JQUERY PURPOSES:*/
.itemRowImageControl_DivDISABLED {
    margin-left: 0px;
    margin-right: 5px;
    padding-left: 0px;
    display: block;
}

.itemRowImageControl {
    float: left;
    margin-left: 0px;
    margin-right: 15px;
    padding-left: 0px;
    max-height: 80px;
    max-width: 80px;
}

/*Sales Description Table Cell*/
itemRowSalesTableCell {
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
    padding-right: 2px;
}
/*NEED TWO SEPARATE TABLE CELL STYLES - USED TO DISABLE SALES DESCRIPTION IN JQUERY*/
itemRowSalesTableCellDISABLED {
    text-align: left;
    padding-left: 0px;
    margin-left: 0px;
    padding-right: 2px;
}


/******************************************************************************************/
/*"Replaces this System Dropdown" button on the Proposal Edit page*/
/*********************************************************************************************/


#MainContent_proposalheader_SYSTEM_NO_chkList label {
    padding-left: 5px;
    font: inherit;
}

.popover {
    background-color: #808080;
    border: 1px solid silver;
    border-radius: unset;
    min-width: 100px;
    width: 100%;
    max-width: 400px;
    overflow-wrap: break-word;
    height: auto;
}

.popover-content {
    padding: 0px !important;
}

.selectbtn {
    background-color: white;
    border: 1px solid #ccc;
    text-align: left;
}


    .selectbtn span {
        float: right;
        margin-top: 8px;
    }

.gridheight {
    max-height: 257px;
}

/***************************************************************************/


.qualityheadercontrol {
    display: inline;
    width: 90%;
    height: auto;
    box-sizing: border-box;
    -moz-box-sizing: border-box;
    -webkit-box-sizing: border-box;
    text-wrap: normal;
    border: none; /* if you want no box around the input field */
    background-color: transparent;
}

.totalcontrolcost {
    text-align: left;
    font-weight: 700 !important;
    flex: none !important;
    width: 50% !important;
}

.totalcontrolprice {
    text-align: right;
    font-weight: 700 !important;
    flex: none !important;
    width: 50% !important;
}

.totaltextcontrol {
    text-align: left !important;
    font-weight: bolder !important;
    padding-left: 16px !important;
}

.panelScript {
    padding-bottom: 5px;
}

/* Tooltip */
.tooltip > .tooltip-inner {
    padding: 10px 10px 20px 10px;
    border: 1px solid #525252;
    background-color: white;
    box-shadow: 2px 2px 15px #525252;
    color: #000;
    padding: 15px;
    font-size: 15px;
}
/* Tooltip on top */
.tooltip.top > .tooltip-arrow {
    border-top: 5px solid #212121;
}
/* Tooltip on bottom */
.tooltip.bottom > .tooltip-arrow {
    border-top: 5px solid #212121;
}
/* Tooltip on left */
.tooltip.left > .tooltip-arrow {
    border-top: 5px solid #212121;
}
/* Tooltip on right */
.tooltip.right > .tooltip-arrow {
    border-top: 5px solid #212121;
}

/* Table Titles Links */

.mGrid > tbody > tr > th > a {
    color: #fff;
}

    .mGrid > tbody > tr > th > a:hover {
        color: #008af5;
    }


dataGridView {
    border-width: 1px;
    background-color: white;
    border-style: none;
    border-color: #FF0000;
    /* BorderWidth="1px" BackColor="White" CellPadding="3" BorderStyle="None" BorderColor="#E7E7FF"  */
}

.input-group-addon.primary {
    color: rgb(255, 255, 255);
    background-color: rgb(50, 118, 177);
    border-color: rgb(40, 94, 142);
}

.input-group-addon.success {
    color: rgb(255, 255, 255);
    background-color: rgb(92, 184, 92);
    border-color: rgb(76, 174, 76);
}

.input-group-addon.info {
    color: rgb(255, 255, 255);
    background-color: rgb(57, 179, 215);
    border-color: rgb(38, 154, 188);
}

.input-group-addon.warning {
    color: rgb(255, 255, 255);
    background-color: rgb(240, 173, 78);
    border-color: rgb(238, 162, 54);
}

.input-group-addon.danger {
    color: rgb(255, 255, 255);
    background-color: rgb(217, 83, 79);
    border-color: rgb(212, 63, 58);
}


.has-feedback .form-control-feedback {
    position: absolute;
    top: 3px;
    right: 15px;
    display: block;
    width: 34px;
    height: 34px;
    line-height: 34px;
    text-align: center;
}

.row {
    margin-left: 10px;
}

.selectize-control.contacts .selectize-input > div {
    padding: 1px 10px;
    font-size: 13px;
    font-weight: normal;
    -webkit-font-smoothing: auto;
    color: #f7fbff;
    text-shadow: 0 1px 0 rgba(8,32,65,0.2);
    background: #2183f5;
    background: -moz-linear-gradient(top, #2183f5 0%, #1d77f3 100%);
    background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#2183f5), color-stop(100%,#1d77f3));
    background: -webkit-linear-gradient(top, #2183f5 0%,#1d77f3 100%);
    background: -o-linear-gradient(top, #2183f5 0%,#1d77f3 100%);
    /*    background: -ms-linear-gradient(top, #2183f5 0%,#1d77f3 100%);
*/ background: linear-gradient(to bottom, #2183f5 0%,#1d77f3 100%);
    filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#2183f5', endColorstr='#1d77f3',GradientType=0 );
    border: 1px solid #0f65d2;
    -webkit-border-radius: 999px;
    -moz-border-radius: 999px;
    border-radius: 999px;
    -webkit-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    -moz-box-shadow: 0 1px 1px rgba(0,0,0,0.15);
    box-shadow: 0 1px 1px rgba(0,0,0,0.15);
}

    .selectize-control.contacts .selectize-input > div.active {
        background: #0059c7;
        background: -moz-linear-gradient(top, #0059c7 0%, #0051c1 100%);
        background: -webkit-gradient(linear, left top, left bottom, color-stop(0%,#0059c7), color-stop(100%,#0051c1));
        background: -webkit-linear-gradient(top, #0059c7 0%,#0051c1 100%);
        background: -o-linear-gradient(top, #0059c7 0%,#0051c1 100%);
        /*        background: -ms-linear-gradient(top, #0059c7 0%,#0051c1 100%);
*/ background: linear-gradient(to bottom, #0059c7 0%,#0051c1 100%);
        filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#0059c7', endColorstr='#0051c1',GradientType=0 );
        border-color: #0051c1;
    }

    .selectize-control.contacts .selectize-input > div .email {
        opacity: 0.8;
    }

    .selectize-control.contacts .selectize-input > div .name + .email {
        margin-left: 5px;
    }

    .selectize-control.contacts .selectize-input > div .email:before {
        content: '<';
    }

    .selectize-control.contacts .selectize-input > div .email:after {
        content: '>';
    }

.selectize-control.contacts .selectize-dropdown .caption {
    font-size: 12px;
    display: block;
    color: #a0a0a0;
}

.selectize-control.contacts .selectize-dropdown .label {
    font-size: 14px;
    color: #000000;
}


.mGridRow {
}

.gvhide {
    display: none;
}

.mGridRow:Hover {
    background-color: #A1DCF2;
}

.mGridRowAlt:Hover {
    background-color: #A1DCF2;
}

.mGridViewHide {
    display: none;
}

.mGridViewHeaderCenterText {
    text-align: center;
}


.mGridRow {
}

.mGridRowAlt {
    background: rgba(208, 208, 208, 0.25) repeat-x top;
}



.servman-selectize {
    /* position: absolute !important; */
    /*z-index: 1900 !important;*/
    border: 1px solid #d0d0d0;
    background: #ffffff;
    margin: -1px 0 0 0;
    border-top: 0 none;
}


.selectize-dropdown {
    position: absolute !important; /* adjust as necessary */
    z-index: 1900 !important; /* adjust as necessary */
    border: 1px solid #d0d0d0;
    background: #ffffff;
    margin: -1px 0 0 0;
    border-top: 0 none;
}


button:disabled,
button[disabled] {
    border: 1px solid #999999;
    background-color: #cccccc;
    color: #777777;
}

.col-np {
    padding-left: 0px;
    padding-right: 0px;
}

.col-np-rt {
    padding-right: 0px;
}

.col-np-lt {
    padding-left: 0px;
}

.col-pd-tb {
    padding-top: 20px;
    padding-bottom: 20px;
}

.col-pd-b {
    padding-bottom: 20px;
}

.col-pd-lt {
    padding-left: 24px;
}

.button-nplt-prt {
    padding-left: 0px;
    padding-right: 30px;
}

.button-marg-bot {
    margin-bottom: 12px;
}

.button-right {
    float: right;
    margin-top: -4px;
}

.marg-right {
    margin-right: 10px;
}

.marg-top {
    margin-top: 10px;
}

.marg-top-nav {
    margin-top: 40px;
}

@media screen and (max-width: 767px) {
    .navbar-inverse {
        background-image: none;
        background-color: #080706;
        height: 200px;
    }

    .navbar-right {
        position: absolute;
        right: 20px;
        top: 50px;
        z-index: -1;
    }

    .NavAccount {
        font-size: 16px;
    }

    .ClientName {
        display: block;
        float: left;
        white-space: nowrap;
        overflow: hidden;
        text-overflow: ellipsis;
        width: 100%;
    }

    .QuoteNo {
        display: block;
        float: left;
        margin-top: 20px;
        margin-left: 0px;
    }

    .marg-top-nav {
        margin-top: 195px;
    }
}


@media screen and (max-width: 809px) and (min-width: 767px) {
    .marg-top-nav {
        margin-top: 95px;
    }
}


@media screen and (max-width: 938px) and (min-width: 810px) {
    .marg-top-nav {
        margin-top: 95px;
    }
}


@media screen and (max-width: 1200px) and (min-width: 939px) {
    .marg-top-nav {
        margin-top: 90px;
    }
}


@media screen and (max-width: 1444px) and (min-width: 1199px) {
    .marg-top-nav {
        margin-top: 90px;
    }
}

@media screen and (max-width: 1445px) and (min-width: 1323px) {
    .marg-top-nav {
        margin-top: 40px;
    }
}


.icon-right {
    float: right;
    padding-right: 10px;
}

.accept {
    float: right;
    padding-right: 10px;
    font-weight: 400;
}

/* Leads table code for Contact */

.lbl_amount_mobile {
    display: block;
    text-align: right;
}

.lbl_contact_mobile::before {
    content: "Contact:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}

.lbl_email_mobile::before {
    content: "Email:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
    margin-right: 19px;
}

.lbl_phone1_mobile::before {
    content: "Phone 1:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}

.lbl_phone2_mobile::before {
    content: "Phone 2:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}
/* Client List table code for Contact */

.cl_contact_mobile::before {
    content: "Contact:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}

.cl_Email_mobile::before {
    content: "Email:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
    margin-right: 19px;
}

.cl_Phone_1_mobile::before {
    content: "Phone 1:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}

.cl_Phone_2_mobile::before {
    content: "Phone 2:";
    font-weight: 700;
    color: #333;
    padding-right: 10px;
}


.row-no-marg-lt-pd-rt {
    padding-right: 15px;
    margin-left: 0px;
}

.flex {
    display: flex;
    flex-wrap: wrap;
}


@media screen and (max-width: 990px) {
    .flex {
        display: block;
    }
}



.qualitylevels-modal {
    display: flex;
    width: 100%;
}

.docnav {
    max-height: 164px;
    overflow-y: auto;
}


.panel-heading-right {
    display: grid;
}

.panel-heading-left {
    grid-column: 1 / 5;
    grid-row: 1;
}

.level-checkbox {
    grid-column: 1;
    grid-row: 1;
    margin-left: -12px;
}


.panel-heading {
    font-size: 18px;
}

.modal-header {
    background-color: #337ab7;
    color: #fff;
    text-shadow: 1px 1px #072c83;
}

.modal-footer {
    border-top: none;
}

.likemodal {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1050;
    width: 100%;
    height: 100%;
    overflow: hidden;
    outline: 0;
}

#success_message {
    display: none;
}

.sp_email:before {
    content: "\2709";
    font-size: 11px;
    padding-right: 5px;
}

.sp_phone:before {
    content: "\260E";
    font-size: 11px;
    padding-right: 5px;
}

.sp_email, .sp_phone {
    font-weight: 400;
    text-align: center;
    white-space: nowrap;
    vertical-align: middle;
    touch-action: manipulation;
    cursor: pointer;
    background-image: none;
    border: 1px solid transparent;
    padding: 10px 16px;
    font-size: 12px;
    line-height: 1.3333333;
    border-radius: 6px;
    user-select: none;
    display: block;
    width: 100%;
    color: #fff;
}

.sp_email:hover, .sp_phone:hover {
    color: white;
}

.sp_email {
    background-color: #286090;
    border-color: #204d74;
}

.sp_phone {
    background-color: #449d44;
    border-color: #398439;
}



@media only screen and (max-width: 920px) {

    .sp_email::before, .sp_phone::before {
        font-size: 14px;
    }

    .sp_email, .sp_phone {
        font-size: 15px;

    }

    .table-responsive {
        border: none;
        min-height: .01%;
        overflow-y: auto !important;
    }

    .mGrid {
        border: none;
    }

        .mGrid td {
            border: none;
            padding: 0px 0px 0px 0px;
        }

/*        .mGrid th {
            display: none;
        }*/


    table, thead, tbody, th, td, tr {
        display: block;
        width: 100%;
        -webkit-box-sizing: border-box;
        -moz-box-sizing: border-box;
        box-sizing: border-box;
        float: left;
        clear: left;
        border: none;
        padding: 2px;
    }

    .subtotalbtn {
        margin: 20px 0px 20px 0px;
    }

    .totalcontrolprice {
        width: 100% !important;
    }

    .glyphicon {
        font-size: 18px;
    }

    .iconcontrolTrash {
        float: right;
    }


    tr {
        display: flex;
        flex-direction: row;
        flex-wrap: wrap;
        margin: 0.5em 0;
        /*border: 1px solid rgba(3,3,3,0.2);*/
    }

    td, th {
        flex: 1 1 100%;
        /*border: 0.5px solid rgba(3,3,3,0.2);*/
    }

    .costcontrol {
        font-size: 14px !important;
        padding: 6px !important;
        margin-bottom: 15px;
    }

    .itemcontrol {
        font-size: 14px !important;
        padding-left: 4px !important;
        margin-bottom: 15px;
    }

    .itemRowWebDescControl {
        font-size: 14px;
    }

    /* Table Nav on Bottom*/

    .mGrid .pgr {
        background: none;
    }

        .mGrid .pgr td {
            border-left: none;
            text-align: center;
            margin-bottom: 20px;
        }

        .mGrid .pgr span {
            background-color: #ccc;
            border-radius: 4px;
            border: none;
            color: #333;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            width: 100%;
        }

            .mGrid .pgr span:only-child::before {
                content: "Current Page: ";
            }

        .mGrid .pgr a {
            background-color: #337ab7;
            border-radius: 4px;
            border: none;
            color: white;
            padding: 15px 32px;
            text-align: center;
            text-decoration: none;
            display: inline-block;
            font-size: 16px;
            width: 100%;
        }


            .mGrid .pgr a:only-child::before {
                content: "Page: ";
            }


    /* Leads table code for mobile view*/


    .lbl-table {
        -webkit-box-shadow: 0 6px 6px -6px #777;
        -moz-box-shadow: 0 6px 6px -6px #777;
        box-shadow: 0 6px 6px -6px #777;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 10px;
    }

        .lbl-table td {
            padding: 10px;
        }

    .lbl_order_no_mobile::before {
        content: "Quote No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_quote_date_mobile::before {
        content: "Quote Date:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_scheduled_date_mobile::before {
        content: "Schedule Date:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_scheduledtime_mobile::before {
        content: "Schedule Time:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_department_mobile::before {
        content: "Department:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_sales_rep_mobile::before {
        content: "Sales Rep:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_schedule_status_mobile::before {
        content: "Schedule Status:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_status_mobile::before {
        content: "Status:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_amount_mobile::before {
        content: "Amount:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        text-align: left;
    }

    .lbl_amount_mobile {
        text-align: left;
    }

    .lbl_name_mobile::before {
        content: "Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .lbl_request_mobile::before {
        content: "Request Notes:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }



    /* Item Descriptions table code for mobile view*/

    .item-list-table {
        -webkit-box-shadow: 0 6px 6px -6px #777;
        -moz-box-shadow: 0 6px 6px -6px #777;
        box-shadow: 0 6px 6px -6px #777;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 10px;
    }

        .item-list-table td {
            padding: 10px;
        }

        .item-list-table img {
            width: 250px;
        }

    .image_mobile::before {
        content: "Image:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .primary_category_mobile::before {
        content: "Primary Category:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .sub_category_mobile::before {
        content: "Sub Category:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }


    .itemno_mobile::before {
        content: "Item No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .short_description_mobile::before {
        content: "Short Description:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .extended_description_mobile::before {
        content: "Extended Description:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .salesdescription_mobile::before {
        content: "Sales Description:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .attached_files_mobile::before {
        content: "Attached Files:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }


    /* Client Profile Contacts Template table code for mobile view*/

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Type:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(5)::before {
        content: "Email:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(6)::before {
        content: "Phone 1:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(7)::before {
        content: "Phone 2:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_contactGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }

    /* Client Profile Proposals Template table code for mobile view*/

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Added By:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(5)::before {
        content: "Date:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(6)::before {
        content: "Time:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(7)::before {
        content: "Proposal ID:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(8)::before {
        content: "Status:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(9)::before {
        content: "Quote No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(10)::before {
        content: "WorkType:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    /* Client Profile Leads Template table code for mobile view*/

    #MainContent_quotesGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Quote No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_quotesGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Sales Rep:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_quotesGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Time:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }



    #MainContent_quotesGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(5)::before {
        content: "Status:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_quotesGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(6)::before {
        content: "WorkType:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    /* Client Profile Notes Template table code for mobile view*/

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Added By:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Date:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Time:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(5)::before {
        content: "Type:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(6)::before {
        content: "Notes:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(7)::before {
        content: "Contact:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(7)::before {
        content: "Contact:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(8)::before {
        content: "Phone:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_calGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }

    /* Client Profile Notes Template table code for mobile view*/






    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Serial No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Model No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "MFG:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(5)::before {
        content: "Item No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(6)::before {
        content: "Description:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(7)::before {
        content: "Type:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(8)::before {
        content: "Location:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(9)::before {
        content: "Age:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_systemGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }

    /* Application Settings Template table code for mobile view*/

    #MainContent_GridView1 > tbody > tr:nth-of-type(n) > td:nth-of-type(1)::before {
        content: "Setting:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_GridView1 > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Value:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_GridView1 > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }

    /* Proposal Template table code for mobile view*/

    .pt_TemplateName_mobile::before {
        content: "Template Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }


    .pt_ModelName_mobile::before {
        content: "Model Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .pt_AddedBy_mobile::before {
        content: "Added By:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .pt_dateAdded_mobile::before {
        content: "Date Added:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_proposalTemplateListGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }


    /* Clients List table code for mobile view*/


    .client-list-table {
        -webkit-box-shadow: 0 6px 6px -6px #777;
        -moz-box-shadow: 0 6px 6px -6px #777;
        box-shadow: 0 6px 6px -6px #777;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 10px;
    }

        .client-list-table td {
            padding: 10px;
        }


    .cl_name_mobile::before {
        content: "Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .cl_account_no_mobile::before {
        content: "Account No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }


    #MainContent_clientListGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }

    /* Proposals Add Linked Items for mobile view*/

    #MainContent_accessorycomponentlist > tr:nth-child(1) {
        display: none;
    }

    #MainContent_accessorycomponentlist > tr:nth-of-type(n) > td:nth-of-type(1):before {
        content: "Include?";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        float: left;
    }

    #MainContent_accessorycomponentlist [type="checkbox"] {
        float: left;
        margin-top: 10px;
    }

    #MainContent_accessorycomponentlist tr {
        text-align: left;
        border: 2px solid #525252;
        padding: 10px;
        border-radius: 10px;
        margin-bottom: 10px;
        line-height: 2.6;
    }

    #MainContent_accessorycomponentlist > tr:nth-of-type(n) > td:nth-of-type(2):before {
        content: "Item:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        float: left;
    }

    #MainContent_accessorycomponentlist > tr:nth-of-type(n) > td:nth-of-type(3):before {
        content: "Qty:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        float: left;
    }

    #MainContent_accessorycomponentlist > tr:nth-of-type(n) > td:nth-of-type(4):before {
        content: "Cost Code:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        float: left;
    }

    #MainContent_accessorycomponentlist > tr:nth-of-type(n) > td:nth-of-type(5):before {
        content: "Section:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
        float: left;
    }



    /* Proposals table code for mobile view*/
    .proposal-list-table {
        -webkit-box-shadow: 0 6px 6px -6px #777;
        -moz-box-shadow: 0 6px 6px -6px #777;
        box-shadow: 0 6px 6px -6px #777;
        border: 1px solid rgba(0,0,0,0.15);
        border-radius: 10px;
    }

        .proposal-list-table td {
            padding: 10px;
        }

    .p_prop_id_mobile::before {
        content: "Prop ID:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }


    .p_prop_group_mobile::before {
        content: "Prop Group:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_department_mobile::before {
        content: "Department:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_proposal_name_mobile::before {
        content: "Proposal Name:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_sales_rep_mobile::before {
        content: "Sales Rep:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_quote_no_mobile::before {
        content: "Quote No:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_company_mobile::before {
        content: "Company:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_status_mobile::before {
        content: "Status:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_pql_accepted_mobile::before {
        content: "PQL Accepted:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_proposal_model_mobile::before {
        content: "Proposal Model:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .p_date_added_mobile::before {
        content: "Date Added:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .date_added_mobile::before {
        content: "Date Added:";
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .mGrid th {
        display: none;
    }

    .pe_item_mobile:before {
        display: inline-block;
        content: 'Item';
        font-weight: bold;
    }

    .pe_qty_mobile:before {
        display: inline-block;
        content: 'Qty';
        font-weight: bold;
    }

    .pe_actual_mobile:before {
        display: inline-block;
        content: 'Actual Cost';
        font-weight: bold;
    }


    .pe_price_mobile:before {
        display: inline-block;
        content: 'Price';
        font-weight: bold;
    }


    .pe_extended_mobile:before {
        display: inline-block;
        content: 'Extended';
        font-weight: bold;
    }

    .pe_gmpercent_mobile:before {
        display: inline-block;
        content: 'GM Percentage';
        font-weight: bold;
    }


    #MainContent_proposalListGridView > tbody > tr:nth-of-type(n) {
        margin-bottom: 30px;
    }


    /* Proposal Documents Upload table code for mobile view*/


    #MainContent_docGridView > tbody > tr.mGridRow.doc_grid_row {
        border: #D3D3D3 1px solid;
        border-radius: 6px;
        padding: 15px;
    }

    #MainContent_docGridView > tbody > tr.mGridRowAlt.doc_grid_row_alt {
        border: #D3D3D3 1px solid;
        border-radius: 6px;
        padding: 15px;
    }


    #MainContent_docGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(1)::after {
        content: "Delete?";
        font-weight: 700;
        color: #333;
        padding-left: 10px;
    }


    #MainContent_docGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "File Name:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_docGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "File Size:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_docGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::after {
        content: "Send with Proposal?";
        font-weight: 700;
        color: #333;
        padding-left: 10px;
    }




    /* Best Equipment table code for mobile view*/


    #grd_Equipment_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Special table code for mobile view*/

    #grd_SpecialParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Common table code for mobile view*/

    #grd_CommonParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Services table code for mobile view*/

    #grd_Services_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Discounts Rebates table code for mobile view*/

    #grd_DiscountsRebates_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Upgrades Rebates table code for mobile view*/

    #grd_Upgrades_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Best > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Best > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }



    /* Better Equipment table code for mobile view*/

    #grd_Equipment_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Better Special table code for mobile view*/

    #grd_SpecialParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Better Common table code for mobile view*/

    #grd_CommonParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Better Services table code for mobile view*/

    #grd_Services_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Better Discounts Rebates table code for mobile view*/

    #grd_DiscountsRebates_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Best Upgrades Rebates table code for mobile view*/

    #grd_Upgrades_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Better > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Better > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /*Good Start*/

    /* Good Equipment table code for mobile view*/

    #grd_Equipment_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Special table code for mobile view*/

    #grd_SpecialParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Common table code for mobile view*/

    #grd_CommonParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Services table code for mobile view*/

    #grd_Services_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Discounts Rebates table code for mobile view*/

    #grd_DiscountsRebates_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Upgrades Rebates table code for mobile view*/

    #grd_Upgrades_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Good > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Good > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }


    /*Budget Start*/

    /* Budget Equipment table code for mobile view*/


    #grd_Equipment_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Equipment_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Budget Special table code for mobile view*/

    #grd_SpecialParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_SpecialParts_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Good Common table code for mobile view*/

    #grd_CommonParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_CommonParts_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Budget Services table code for mobile view*/

    #grd_Services_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Services_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Budget Discounts Rebates table code for mobile view*/

    #grd_DiscountsRebates_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_DiscountsRebates_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Budget Upgrades Rebates table code for mobile view*/

    #grd_Upgrades_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(2)::before {
        content: "Item:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(3)::before {
        content: "Qty:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Budget > tbody > tr:nth-of-type(n) > td:nth-of-type(4)::before {
        content: "Cost:";
        float: left;
        font-weight: 700;
        color: #333;
    }

    #grd_Upgrades_Budget > tbody > tr:last-child > td.totaltextcontrol::before {
        content: "";
    }

    /* Create a Proposal table code for mobile view*/

    .CS_Name_mobile::before {
        content: "Name:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .CS_Contact_mobile::before {
        content: "Contact:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    .CS_Account_No_mobile::before {
        content: "Account No:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_clientSelectGridView > tbody > tr:nth-of-type(n) > td:nth-of-type(4) {
        margin-bottom: 30px;
    }


    /* Link Item Documents to Proposals */

    .modal-dialog {
        width: 100%;
    }

    #MainContent_itemfileslist > tr:nth-child(n) > td:nth-child(1)::before {
        content: "Linked:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_itemfileslist > tr:nth-child(n) > td:nth-child(2)::before {
        content: "Item No:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_itemfileslist > tr:nth-child(n) > td:nth-child(3)::before {
        content: "File Path:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }

    #MainContent_itemfileslist > tr:nth-child(n) > td:nth-child(4)::before {
        content: "File Size:";
        float: left;
        font-weight: 700;
        color: #333;
        padding-right: 10px;
    }
}
