html {
    -webkit-text-size-adjust: 100%;
    -moz-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

body {
    font-family: 'MuseoSans300', sans-serif;
    font-weight: normal;
    color: #333333;
    font-size: 1em;
    line-height: 1.4;
    background-color: #ffffff;
}

strong {
    font-family: 'MuseoSans700', sans-serif;
    font-weight: normal;
}

a {
    color: #0097DC;
    text-decoration: none;
}

select {
    color: #444444;
    background: #FFFFFF url('../images/input.png') left top repeat-x;
    border: 1px solid #D0D0D0;
    height: 25px;
    padding: 2px;
    font-size: 14px;
    line-height: 1;
}

label {
    width: 210px;
    display: inline-block;
    padding: 5px 0;
}

input {
    background: #FFFFFF url('../images/input.png') left top repeat-x;
    border: 1px solid #D0D0D0;
    height: 15px;
    line-height: 1;
    padding: 4px;
    font-size: 1em;
}

img {
    border: none;
}

#header {
    width: 1000px;
    height: 85px;
    margin: 0 auto;
}

    #header.menuheader {
        height: 80px;
    }

    #header .hdrimage,
    #header .hdrtext {
        float: left;
    }

    #header .hdrimage {
        margin-right: 20px;
    }

    #header .hdrtext h1 {
        font-size: 1.7em;
        font-weight: normal;
        margin: 18px 0 0;
    }

    #header .questions {
        float: right;
        margin: 55px 20px 0;
        text-align: right;
    }

        #header .questions img {
            float: left;
            margin-top: -2px;
        }

#mainWrapper {
    width: 1000px;
    margin: 0 auto;
    text-align: left;
    height: 100%;
}

#divBodyHolder {
    width: 1000px;
    margin: 0 auto;
}

#divBorderBody {
    background-color: #F7F7F7;
    border-top: 2px solid #F1F1F1;
    padding: 20px 0;
    overflow: hidden;
}

#divColumnOne {
    float: left;
    width: 48%;
    text-align: left;
    padding-left: 2%;
    margin-bottom: 50px;
}

#divColumnTwo {
    float: left;
    width: 50%;
    text-align: left;
}

#divCurCustomer {
    margin: 0 auto;
    background-color: #f7f7f7;
    text-align: left;
    padding: 20px;
}

#lblCurCustTLCID,
#lblCurCustName {
    font-family: 'MuseoSans700', sans-serif;
    font-weight: normal;
}

#divCatType {
    font-weight: normal;
    color: #444444;
    font-size: 2.5em;
    padding: 20px;
}

#tblItemList {
    border: none;
}

    #tblItemList tr {
        height: 40px;
    }

        #tblItemList tr:nth-of-type(2n+1) {
            background-color: #EEEEEE;
        }

#cellCatTable {
    padding-left: 20px;
    text-align: left;
    vertical-align: top;
    width: 160px;
}

#cellItemList {
    padding-top: 3px;
    vertical-align: top;
    width: auto;
}

#divSearchResultsBody {
    margin: 0 auto;
    padding: 20px;
    text-align: left;
}

    #divSearchResultsBody table {
        color: #333333;
        font-size: 0.85em;
        width: 100%;
        border-collapse: collapse;
        border-spacing: 0;
    }

        #divSearchResultsBody table th {
            background-color: #999999;
            font-family: 'MuseoSans700', sans-serif;
            font-weight: normal;
            color: #FFFFFF;
        }

.tblOrderList th {
    border-bottom: 1px solid #F1F1F1;
    color: #333333;
    font-weight: normal;
}

.tblOrderList tr {
    padding: 0.5em;
    font-size: 0.85em;
    background-color: #FFFFFF;
}

.tblHoldingList th {
    background-color: #999999;
    color: #FFFFFF;
    font-weight: normal;
}

.tblHoldingList tr {
    padding: 0.5em;
    font-size: 0.85em;
    background-color: #FFFFFF;
}

    .tblHoldingList tr:nth-of-type(2n+1) {
        background-color: #EEEEEE;
    }

#div1 {
    background-color: #F7F7F7;
    border-top: 2px solid #F1F1F1;
    padding: 20px;
    clear: both;
}

.fineprint {
    background-color: #F7F7F7;
    border-top: 2px solid #F1F1F1;
    padding: 20px;
    font-size: 8pt;
    font-style: italic;
}

.appstartlink {
    color: Black;
}

.appsectiondiv {
    text-align: left;
    background-color: #42A664;
    height: 30px;
    width: 100%;
    font-size: 12pt;
    font-weight: bold;
    cursor: pointer;
    color: #FFFFFF;
    padding-top: 10px;
    padding-left: 5px;
    text-decoration: underline;
}

.appsectiondivdisabled {
    text-align: left;
    background-color: #C0C0C0;
    height: 30px;
    width: 100%;
    font-size: 12pt;
    font-weight: bold;
    color: #FFFFFF;
    padding-top: 10px;
    padding-left: 5px;
    text-decoration: none;
}

.appsectiondivtoppad_XXX {
    height: 10px;
    text-decoration: none;
}

.thinheaderbanner {
    background-color: #F7F7F7;
    padding: 20px;
    height: 30px;
}

    .thinheaderbanner h1 {
        color: #444444;
        font-size: 1.7em;
        font-weight: normal;
        margin: 0;
        width: 700px;
    }

    .thinheaderbanner div {
        float: right;
        margin: -35px -5px 0 0;
        width: 280px;
    }

    .thinheaderbanner .questions {
        float: right;
        margin: 0;
        text-align: right;
        width: 125px;
    }

        .thinheaderbanner .questions img {
            margin-bottom: -5px;
        }

    .thinheaderbanner .checkoutheader {
        font-size: 1.7em;
        font-weight: normal;
    }

    .thinheaderbanner .checkoutsubheader {
        font-size: 1.35em;
        font-weight: normal;
    }

    .thinheaderbanner .checkoutdisable {
        color: #cbcbcb;
    }

.contentWrapper {
    background-color: #f7f7f7;
    text-align: left;
    padding: 20px;
    border-top: 2px solid #f1f1f1;
    overflow: hidden;
}

.thincontentWrapper {
    background-color: #f7f7f7;
    text-align: left;
    padding-top: 10px;
    padding-bottom: 10px;
    padding-left: 20px;
    padding-right: 20px;
    border-top: 2px solid #f1f1f1;
    overflow: hidden;
}

.contentWrapper select {
    color: #444444;
    height: 25px;
    padding: 3px;
    background: #FFFFFF url('../images/input.png') left top repeat-x;
    width: 268px;
    font-size: 14px;
    line-height: 1;
    border: 1px solid #C4C4C4;
}
@media screen and (max-width:600px){
    .contentWrapper select{
        font-size:16px;
    }
}

.contentWrapper .shipto {
    width: 515px;
}

.contentWrapper .billto {
    width: 430px;
}

.contentWrapper h2 {
    font-weight: normal;
    margin: 0 0 20px 0;
}

.contentWrapper .billinginfo {
    float: left;
    width: 744px;
}

.contentWrapper .shippinginfo {
    float: left;
    background-color: #FFFFFF;
    padding: 10px;
    width: 220px;
}

.contentWrapper .reviewbillinginfo,
.contentWrapper .reviewshippinginfo {
    float: left;
    width: 50%;
}

.contentWrapper h2 {
    font-weight: normal;
    margin: 0 0 20px 0;
    font-size: 1.35em;
}

.contentWrapper h3 {
    font-weight: normal;
    margin: 0 0 20px 0;
}

.searchformwrapper {
    margin: 0 auto;
    background-color: #f7f7f7;
    text-align: left;
    overflow: hidden;
}

.searchdivborder {
    border-top: 2px solid #f1f1f1;
    padding: 20px 50px;
    overflow: hidden;
}

    .searchdivborder strong {
        font-family: 'MuseoSans700', sans-serif;
        font-weight: normal;
        font-size: 1.15em;
    }

.longinput {
    width: 223px;
}

.verylonginput {
    width: 327px;
}

.action {
    border: 2px solid #929292;
    color: #0097DC;
    cursor: pointer;
    font-size: 1em;
    line-height: 3;
    font-weight: normal;
    padding: 6px 10px;
    text-align: center;
    vertical-align: middle;
}

.cancel {
    background-color: #929292;
    color: #ffffff;
    cursor: pointer;
    font-size: 1em;
    line-height: 3;
    font-weight: normal;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
}

.continue {
    background-color: #0097DC;
    color: #ffffff;
    cursor: pointer;
    font-size: 1em;
    line-height: 3;
    font-weight: normal;
    padding: 8px 10px;
    text-align: center;
    vertical-align: middle;
}

.actionbutton {
    background: #DCDCDC;
    background-image: -moz-linear-gradient(center bottom, #DCDCDC 38%, #E8E8E8 69%, #F1F1F1 85%);
    border: 1px solid #C4C4C4;
    border-radius: 15px 15px 15px 15px;
    color: #444444;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: normal;
    height: 30px;
    padding: 5px 10px;
    text-align: center;
    vertical-align: middle;
}

.disableactionbutton {
    background: #444444;
    border: 1px solid #444444;
    border-radius: 15px 15px 15px 15px;
    color: #FFFFFF;
    cursor: pointer;
    font-size: 0.9em;
    font-weight: normal;
    height: 30px;
    padding: 5px 10px;
    text-align: center;
    vertical-align: middle;
}

.searchbutton {
    border: 1px solid #C4C4C4;
    border-radius: 5px;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 5px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 5px;
    color: #444444;
    cursor: pointer;
    font-size: .90em;
    line-height: 2;
    font-weight: normal;
    height: 30px;
    padding: 3px 18px;
    text-align: center;
    vertical-align: middle;
    width: 100px;
    background-color: #DCDCDC;
    background-image: linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -o-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -moz-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -webkit-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -ms-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.38, #DCDCDC), color-stop(0.69, #E8E8E8), color-stop(0.85, #f1f1f1));
}

.itemselectionheader {
    color: #444444;
    font-size: 1.4em;
    font-weight: normal;
    padding: 10px;
    text-align: left;
}

.itemselectcatgroup {
    border-top: 2px solid #f1f1f1;
    color: #0097DC;
    cursor: pointer;
    font-size: 1.4em;
    font-weight: normal;
    height: 35px;
    text-align: left;
    vertical-align: middle;
    width: 100%;
}

.salesmenubarcell {
    background-color: #606060;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 1em;
    font-weight: normal;
    cursor: pointer;
    padding: 5px;
    text-decoration: underline;
}

.salesmenubarcelldisabled {
    background-color: #606060;
    color: #D8D8D8;
    text-align: center;
    vertical-align: middle;
    font-size: 1em;
    font-weight: normal;
    cursor: default;
    padding: 5px;
}


.menu_cancel {
    background-color: #929292;
}

.salesmenuspacer {
    font-size: 6pt;
    width: 5px;
}

.detailsheader {
    color: #333333;
    padding: 5px 0;
    font-family: 'MuseoSans700', sans-serif;
    font-weight: normal;
    font-size: 1.15em;
}

.adminmenubarcell {
    background-color: #42A664;
    color: #ffffff;
    text-align: center;
    vertical-align: middle;
    font-size: 12pt;
    font-weight: bold;
    cursor: pointer;
}

.additemtocartbutton {
    border: 1px solid #c4c4c4;
    border-radius: 20px;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 20px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 20px;
    color: #444444;
    cursor: pointer;
    font-size: .90em;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    padding: 2px 12px;
    width: 140px;
    background-color: #DCDCDC;
    background-image: linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -o-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -moz-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -webkit-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -ms-linear-gradient(bottom, #DCDCDC 38%, #E8E8E8 69%, #f1f1f1 85%);
    background-image: -webkit-gradient(linear, left bottom, left top, color-stop(0.38, #DCDCDC), color-stop(0.69, #E8E8E8), color-stop(0.85, #f1f1f1));
}

.additemtocartbuttondisabled {
    border: 1px solid #444444;
    border-radius: 20px;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 20px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 20px;
    background-color: #444444;
    color: #FFFFFF;
    cursor: pointer;
    font-size: .90em;
    font-weight: normal;
    text-align: center;
    vertical-align: middle;
    padding: 2px 12px;
    width: 140px;
}

.additemtocartdescription {
    text-align: left;
    width: 400px;
}

.additemtocartprice {
    text-align: right;
    font-family: 'MuseoSans700', sans-serif;
    font-weight: normal;
}

.cartWrapper {
    background-color: #f7f7f7;
    border-top: 2px solid #f1f1f1;
    overflow: hidden;
    padding: 20px;
}

.cartHeader {
    color: #444444;
    font-size: 2.5em;
    font-weight: normal;
    padding: 20px;
}

.cartCustomer {
    background-color: #f7f7f7;
    overflow: hidden;
    text-align: left;
    padding: 10px 20px;
}

.cartItems {
    background-color: #f7f7f7;
    border-top: 2px solid #f1f1f1;
    overflow: hidden;
    text-align: left;
    padding: 10px 0px;
}

    .cartCustomer h2,
    .cartItems h2 {
        font-family: 'MuseoSans700', sans-serif;
        font-weight: normal;
        font-size: 1.3em;
    }

.cartspanfieldheader {
    font-weight: bold;
    text-transform: uppercase;
}

#lblStockElementName {
    font-family: 'MuseoSans700', sans-serif;
    font-weight: normal;
    font-size: 1.4em;
}

.divsearchorstyle {
    text-align: center;
    font-size: 10pt;
    height: 20px;
    padding-top: 5px;
}

.hipsurveyquestion {
    font-weight: bold;
    font-size: 10pt;
}

.serialnumberentrycolheader {
    background-color: #E6E6E6;
    font-weight: bold;
    text-align: center;
}

.customerdetailserrorindicator {
    font-size: 16pt;
    font-weight: bold;
    color: #FF0000;
}

.receiptitemcolumnheader {
    border-style: solid;
    border-width: 3px;
    border-color: #0000FF;
    background-color: #819FF7;
}

.pagewidthdiv {
    width: 1000px;
    margin-left: auto;
    margin-right: auto;
}

.basecolor {
    background-color: #F7F7F7;
}

.toplinediv {
    background-color: #F7F7F7;
    border-top: 2px solid #F1F1F1;
    padding: 20px 0;
    overflow: hidden;
}

.alertbody {
    margin: 0px;
    background-color: #000000;
    opacity: 0.80;
    /* this is for IE */
    filter: alpha(opacity=80);
    font-family: 'MuseoSans300', sans-serif;
    font-weight: normal;
    color: #333333;
    font-size: 1em;
    line-height: 1.4;
}

.alertdiv {
    position: absolute;
    background-color: #ebebeb;
    padding: 20px;
    /* x and y centered. */
    top: 25%;
    left: 40%;
    margin-left: -100px;
    margin-top: -50px; /* set invisible until the html*/
    border: 2px solid #797979;
    /* Safari 3-4, iOS 1-3.2, Android 1.6- */
    -webkit-border-radius: 10px;
    /* Firefox 1-3.6 */
    -moz-border-radius: 10px;
    /* Opera 10.5, IE 9, Safari 5, Chrome, Firefox 4, iOS 4, Android 2.1+ */
    border-radius: 10px;
}

.errorstar {
    color: #FF0000;
    font-weight: bold;
    font-size: 14pt;
}

.helplink {
    cursor: pointer;
}

.viewcartremovegroupcell {
    vertical-align: middle;
    border-top-style: solid;
    border-top-width: 2px;
    border-top-color: #000000;
    border-right-style: solid;
    border-right-width: 2px;
    border-right-color: #000000;
    border-bottom-style: solid;
    border-bottom-width: 2px;
    border-bottom-color: #000000;
}
/* #####################################  changes made by David for responsive ################################### */
/* responsive tables */

@media screen and (max-width: 760px) {
    table {
        border: 0;
        border-collapse: collapse;
        margin: 0 !important;
        padding: 0;
        width: 100%;
        table-layout: fixed;
    }

        table caption {
            font-size: 1.3em;
        }

        table thead {
            border: none;
            clip: rect(0 0 0 0);
            height: 1px;
            margin: -1px;
            overflow: hidden;
            padding: 0;
            position: absolute;
            width: 1px;
        }

        table tr {
            border: 0;
            display: block;
            margin-bottom: 0;
            min-height: 0 !important;
        }

        table td {
            border: 0;
            display: block;
            text-align: left;
            padding: 3px 0;
            width: 100% !important;
        }

    .custInfo {
        display: initial !important;
        width: 50% !important;
    }

    table td:before {
        /*
    * aria-label has no advantage, it won't be read inside a table
    content: attr(aria-label);
    */
        content: attr(data-label);
        float: left;
        font-weight: bold;
        text-transform: uppercase;
        display: block;
        padding-left: 5px;
        padding-right: 5px;
        width: initial !important;
    }

    .rowCartValidationItem td:before {
        float: none;
    }

    table td:last-child {
        border-bottom: 0;
    }

    #browsersupport td {
        text-align: right;
        padding-right: 5px;
    }
}




/* common overrides */

.smallonly {
    display: none;
}

@media(max-width:760px) {
    #logotable td {
        width: 100% !important;
        text-align: center !important;
        border: 0 !important;
    }

    #divBorderBody {
        padding-bottom: 0;
    }

    .contentWrapper {
        overflow: visible;
    }

    .thinheaderbanner {
        padding: 10px;
        text-align: center;
    }

    .cartHeader {
        text-align: center;
        padding: 10px;
    }

    .thinheaderbanner > div {
        width: 100%;
    }
}

.smallonly {
    display: block;
}

.smallersize {
    display: none;
}

.smallersize480 {
    display: none;
}

.onlylarge {
    display: block;
}

.mediumsize {
    display: none;
}

.printonly {
    display: none;
}

.searchformwrapper {
    overflow: visible;
}





@media (min-width 761px) and (max-width:960px) {
    .mediumsize {
        display: block;
    }
}

@media(max-width:480px) {
    .smallersize480 {
        display: block;
    }
}

@media (max-width: 760px) {
    .smallersize {
        display: block;
    }

    .onlylarge {
        display: none;
    }

    #youngsearchactionbtns a,
    #customerdetailactionbtns a {
        display: block;
        width: 90%;
    }

    .onlylargenew {
        display: none;
    }
}

@media(min-width:1000px) {
    .pagewidthdiv {
        width: 100% !important;
        max-width: 1000px !important;
        margin-left: auto;
        margin-right: auto;
    }
}

.pagewidthdiv, #mainWrapper {
    width: 100% !important;
    margin-left: auto;
    margin-right: auto;
}




/* customer search overrides */

@media(max-width:600px) {
    .topheaderleft {
        float: left;
        display: block;
    }

    .topheaderright {
        float: right;
        display: block;
    }
}


@media (max-width: 760px) {

    .thinheaderbannersmall {
        text-align: center;
    }

    .thinheaderbanner {
        background-color: #F7F7F7;
        padding: 20px;
        min-height: 30px;
        height: auto;
    }

        .thinheaderbanner h1 {
            width: 100% !important;
        }
}

/*.contentWrapper overrides*/
@media(max-width:760px) {
    .contentWrapper {
        padding-top: 10px !important;
        padding-bottom: 0;
    }

        .contentWrapper > h2 {
            margin: 0;
        }
}

/* default.aspx overrides */
@media(max-width: 760px) {
    .homebuybtn {
        border: 0 !important;
        text-align: left !important;
    }

    #tblDefaultPageA > tbody > tr > td:nth-child(1) {
        margin-bottom: 18px;
    }

    #tblDefaultPageA > tbody > tr:nth-child(1) > td:nth-child(2) {
        margin-bottom: -5px;
    }
}

/* BrowserSupport.aspx overrides */


/* CustomerDetails.aspx overrides */
@media (max-width:863px) {
    #tblcustpagelayout > tbody > tr {
        display: block;
    }

    #colRight {
        width: 100%;
        float: left;
    }

    #tblcustresaddress, #tblcustmailaddress {
        margin-top: 15px;
    }
}

@media(max-width:760px) {
    #divSalesAppTopMenu a {
        width: 99% !important;
        display: block;
    }

    #divSalesAppTopMenu {
        min-height: 50px;
        margin-bottom: 30px !important;
    }

        #divSalesAppTopMenu table td:nth-child(even) {
            display: none;
        }

        #divSalesAppTopMenu table td:nth-child(odd) {
            margin-bottom: 5px;
        }

        #divSalesAppTopMenu,
        #divSalesAppTopMenu td {
            width: 99% !important;
        }

    #colRight > table > tbody > tr:nth-child(1) > td > table > tbody > tr > td,
    #colRight > table > tbody > tr:nth-child(13) > td > table > tbody > tr > td {
        text-align: left !important;
    }

    #tblCustDetailsBottomButtons > tbody > tr > td:first-child {
        margin-bottom: -5px;
    }

    #tblCustDetailsBottomButtons > tbody > tr > td:nth-child(2) {
        margin-bottom: -5px;
    }
}

/*CustomerSearch.aspx overrides*/

#txtTLCID {
    margin-bottom: 7px;
}

#txtPassportNumber {
    margin-top: 5px;
}

#tblCustSearchLNDOB > tbody > tr:nth-child(7) {
    vertical-align: top;
}

@media (max-width:760px) {
    #txtTLCID {
        margin-bottom: 10px !important;
    }

    #txtDLNumber {
        margin-bottom: 20px !important;
    }

    #div1 > div:first-child {
        margin-bottom: 25px;
    }

        #div1 > div:first-child > br {
            display: none;
        }

    .searchdivborder {
        padding-bottom: 0;
    }

    #div1 {
        padding-top: 0;
    }

    #tblCustSearchButtons > tbody > tr > td:first-child {
        margin-bottom: -5px;
    }

    #tblCustSearchButtons > tbody > tr > td:last-child {
        margin-bottom: 30px;
    }
}




/* BusinessCustomerSearch.aspx overrides */
@media(max-width:760px) {
    #businesscustomersearchlowerbtns a {
        display: block;
        width: 90%;
    }

    #divCreateCust {
        text-align: left !important;
        margin-top: 0 !important;
    }
}


/* ItemSelection.aspx overrides*/
@media(max-width:760px) {
    #tblItemList tr {
        min-height: 40px !important;
        height: auto !important;
    }

    #tblItemList th {
        display: none;
    }

    #tblItemList > tbody > tr:nth-child(1) {
        display: none;
    }

    #tblItemList td {
        text-align: left !important;
        width: 98% !important;
    }

    #tblItemList tr td:nth-child(1):before {
        content: 'Item: ';
    }

    #tblItemList tr td:nth-child(2):before {
        content: 'Description: ';
    }

    #tblItemList tr td:nth-child(3):before {
        content: 'Price: ';
    }

    #tblItemList tr {
        min-height: 40px !important;
        height: auto !important;
    }

    #divBodyHolder {
        width: 98% !important;
    }

    #divCatType {
        padding: 5px 20px !important;
    }

    #tblItemSelectionCatItems > tbody > tr > td:nth-child(1) {
        display: none;
    }
}


/* ViewCart.aspx overrides */
@media(max-width:760px) {
    .cartItems table tr td:nth-child(1):before {
        content: 'Item: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(2):before {
        content: 'Description: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(3):before {
        content: 'Valid From: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(4):before {
        content: 'Valid To: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(5):before {
        content: 'Lic. Year: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(6):before {
        content: 'Qty: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems table tr td:nth-child(7):before {
        content: 'Fees: ';
        width: 100%;
        padding-left: 0;
    }

    .cartItems > table > tbody > tr:nth-child(1) {
        display: none;
    }

    .cartItems > table > tbody > tr:last-child > td(4) {
        display: none;
    }

    .viewcartremovegroupcell {
        vertical-align: middle;
        border-top-style: solid;
        border-top-width: 2px;
        border-top-color: #000000;
        border-right-style: solid;
        border-right-width: 2px;
        border-right-color: #000000;
        border-bottom-style: solid !important;
        border-bottom-width: 2px !important;
        border-bottom-color: #000000 !important;
        border-left-style: solid;
        border-left-width: 2px;
        border-left-color: #000000;
        text-align: center;
    }

    .cartItems tr:nth-child(odd) {
        background-color: #f7f7f7 !important;
    }

    .cartItems tr:last-child {
        background-color: #fff !important;
    }

    .cartItems tr {
        padding-left: 20px;
        padding-right: 20px;
    }
}



/* CartShippingInfo.aspx overrides */
.CartShippingInfomaintable {
    margin-left: 125px;
}

.cancel {
    white-space: nowrap;
}

.action {
    white-space: nowrap;
}

.continue {
    white-space: nowrap;
}

@media(min-width:761px) {
    .cartshippinginfoactionbtns {
        width: 100%;
    }

        .cartshippinginfoactionbtns td {
            width: 25%;
            text-align: center;
        }
}

@media(max-width:760px) {
    .CartShippingInfomaintable {
        margin-left: 0;
    }

        .CartShippingInfomaintable select {
            max-width: 98%;
        }

    .cartshippinginfoactionbtns {
        width: 100%;
    }

        .cartshippinginfoactionbtns td {
            width: 50%;
            text-align: center;
            display: block;
            float: left;
        }
}


/* CartBillingInfo.aspx overrides */
@media(max-width:975px) {
    select {
        max-width: 98% !important;
    }

    #tblBillingInfoBody > tbody > tr > td {
        width: 100%;
        float: left;
    }
}


@media(min-width:761px) {
    .CartBillingInfobtns {
        width: 100%;
    }

        .CartBillingInfobtns td {
            width: 25%;
            text-align: center;
        }
}

@media(max-width:760px) {

    .CartBillingInfobtns {
        width: 100%;
    }

        .CartBillingInfobtns td {
            width: 100%;
            text-align: center;
            display: block;
            float: left;
        }
}

@media(max-width:760px) {
    .rowCountExceededMessage {
        width: 85% !important;
    }
}

@media(max-width:975px) {
    select {
        max-width: 98% !important;
    }

    #tblBillingInfoBody > tbody > tr > td {
        width: 100% !important;
        float: left;
    }
}

/* CartCCCheckout.aspx overrides */

@media(max-width:760px) {
    .checkouttotal td {
        text-align: left !important;
    }

    .cartcontents > table > tbody > tr:nth-child(1) {
        display: none;
    }

    .cartcontents > table > tbody > tr:last-child > td(4) {
        display: none;
    }

    #tblCheckoutTotals {
        width: 98% !important;
    }

    .rowCheckoutCustTotalRow > td:nth-child(n+1):before {
        display: none !important;
    }

    .rowCheckoutCustTotalRow {
        text-align: right !important;
    }

        .rowCheckoutCustTotalRow td {
            display: initial;
            text-align: right !important;
        }

    #tblCheckoutItemList > tbody > tr > td:nth-child(7) {
        text-align: left !important;
        margin-bottom: 25px;
    }

    #tblCheckoutBottomButtons > tbody > tr > td:nth-child(1) {
        display: none;
    }
}


/* BusinessCustomerSearch.aspx overrides*/
@media (max-width:760px) {
    .thinheaderbanner > div {
        margin-top: -2px !important;
        float: left !important;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(2) > td:nth-child(1) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(2) > td:nth-child(2) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(2) {
        height: 83px !important;
    }

        #tblBusinessCustSearch > tbody > tr:nth-child(2) > td:nth-child(3):before {
            content: '*Business Name:';
        }

        #tblBusinessCustSearch > tbody > tr:nth-child(2) > td:nth-child(3):after {
            content: '\A *Please provide one of the two options: ';
            white-space: pre;
        }

    #tblBusinessCustSearch > tbody > tr:nth-child(3) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(4) > td:nth-child(1) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(4) > td:nth-child(2) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(4) > td:nth-child(3):before {
        content: 'TIN: ';
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(5) > td:nth-child(1) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(5) > td:nth-child(2) {
        display: none;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(5) > td:nth-child(3):before {
        content: 'SSN: XXXXXXXXX: ';
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(4) {
        height: 60px !important;
    }

    #tblBusinessCustSearch > tbody > tr:nth-child(5) {
        height: 60px !important;
    }

    #tblBusSearchButtons > tbody > tr > td:first-child {
        margin-bottom: -5px;
    }

    #tblBusSearchButtons > tbody > tr > td:last-child {
        margin-bottom: 30px;
    }
}
/*customerDetails.aspx style override */
@media (max-width:760px) {
    #tblcustmailadrheader > tbody > tr:nth-child(1) > td:nth-child(2) {
        text-align: left !important;
    }

    #tblcustpagelayout > tbody > tr > td {
        padding-left: 10px;
    }
}

/*CancelOrderSearch.aspx overrides */
@media (max-width:760px) {
    .contentWrapper {
        height: inherit;
    }

    #tblCancelOrderSearch > tbody > tr {
        display: table-row;
    }
    /*#tblCancelOrderSearch > tbody > tr:nth-child(3),
	#tblCancelOrderSearch > tbody > tr:nth-child(5)	{
		display:none;
	}*/

}

/*CustomerHoldings.aspx overrides */
@media (max-width:760px) {
    #tblCustHoldingsCustInfo td {
        display: initial;
    }

    #tblCustHoldingGroup {
        width: auto !important;
    }

    #tblCustHoldingItems > tbody > tr > th {
        display: none;
    }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(1):before {
        content: 'ITEM #:';
        width: 100%;
        padding: 0px 5px 0px 0px;
    }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(2) {
        width: 100%;
    }

        #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(2):before {
            content: 'ITEM DESCRIPTION:';
            width: 100%;
            padding: 0px 5px 0px 0px;
        }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(3):before {
        content: 'QUANTITY:';
        width: 100%;
        padding: 0px 5px 0px 0px;
    }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(4):before {
        content: 'YEAR:';
        width: 100%;
        padding: 0px 5px 0px 0px;
    }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(5):before {
        content: 'VALID FROM:';
        width: 100%;
        padding: 0px 5px 0px 0px;
    }

    #tblCustHoldingItems > tbody > tr:nth-child(n+1) > td:nth-child(6):before {
        content: 'VALID TO:';
        width: 100%;
        padding: 0px 5px 0px 0px;
    }

    #tblCustHoldingItems {
        margin-left: 0 !important;
    }

        #tblCustHoldingItems > tbody > tr > td:before {
            padding-left: 0px !important;
        }

        #tblCustHoldingItems > tbody > tr > td {
            padding-left: 7px !important;
        }

    #tblCustHoldingsBottons > tbody > tr > td:first-child {
        margin-bottom: -30px;
    }

    #tblCustHoldingsBottons > tbody > tr > td:last-child {
        margin-bottom: 30px;
    }
}

#tblCustHoldingItems {
    width: 100% !important;
}


/*HipSurvey.aspx overrides*/
@media (max-width:760px) {
    #divTable {
        text-align: left !important;
        width: 100% !important;
    }

    #tblHIPSurvey td {
        padding-left: 5px;
    }
}

/*ViewCart.aspx overrides*/
.rowViewCartItemsHeader > th {
    width: auto !important;
}

.rowViewCartCustTotalRow {
    height: 55px;
}

.rowViewCartItemRow > td:nth-child(2) {
    color: #0097DC !important;
}

    .rowViewCartItemRow > td:nth-child(2):before {
        color: black !important;
    }

@media (max-width:760px) {
    .rowViewCartCustTotalRow > td:before {
        content: "" !important;
    }

    .rowViewCartItemRow > td:nth-child(7) {
        text-align: left !important;
    }

    .rowViewCartCustTotalRow {
        text-align: right !important;
    }

        .rowViewCartCustTotalRow td {
            display: initial;
            text-align: right !important;
        }

    .pagewidthdiv > div:nth-of-type(7) > table > tbody > tr > td {
        width: 100% !important;
    }

        .pagewidthdiv > div:nth-of-type(7) > table > tbody > tr > td:nth-child(2) > a {
            margin-bottom: -2px;
        }

    .rowViewCartItemRow {
        margin-bottom: 25px;
    }

    .pagewidthdiv > div:nth-of-type(11) > table > tbody > tr > td {
        width: 100% !important;
    }
}

#donationoption {
    padding-left: 10px;
}

#donation-prompt {
    padding-bottom: 10px;
}

#donation-value {
    display: block;
}

#viewCartButtons > tbody > tr > td:first-child {
    display: none;
}

#viewCartButtons > tbody > tr > td:nth-child (2) {
    margin-top: -30px;
}

#tblCustInfoTable > tbody > tr > td {
    display: block !important;
}

}

/*CartShippingInfo.aspx overrides*/
@media (max-width:760px) {
    #tblShippingInfoMethod {
        margin-left: 0px !important;
    }
}

/*CartShippingInfo.aspx overrides*/
@media (max-width:760px) {
    #cmdBackToCart {
        margin-top: 25px;
    }

    #rowPhone > td {
        width: 100% !important;
    }
}

@media (max-width:890px) {
    #tblShippingInfoButtons > tbody > tr > td > .action, #tblShippingInfoButtons > tbody > tr > td > .continue, #tblShippingInfoButtons > tbody > tr > td > .cancel {
        display: block;
        /* width: 100%; */
        height: 25px;
        line-height: 1.75;
        margin-bottom: -20px;
        margin-top: 10px;
    }

    #tblShippingInfoButtons > tbody > tr > td {
        width: 100%;
        display: block;
    }

        #tblShippingInfoButtons > tbody > tr > td:nth-child(2) {
            margin-bottom: 20px;
        }

        #tblShippingInfoButtons > tbody > tr > td:nth-child(1) {
            display: none;
        }
}

/*CartBillingInfo.aspx overrides*/
@media (max-width:760px) {
    #tblBillingInfoData > tbody > tr:nth-child(5) > td:nth-child(1) {
        display: none;
    }

    #tblBillingInfoData > tbody > tr:nth-child(1) > td:nth-child(2) {
        width: 50%;
    }

    #cboBillAddress {
        width: inherit !important;
    }

    #tblBillingInfoBody > tbody > tr > td:nth-child(2) > div > table > tbody > tr:nth-child(1) {
        height: inherit !important;
    }

    #tblBillingInfoBottomButtons > tbody > tr > td:nth-child(1) {
        display: none;
    }

    #tblBillingInfoBody > tbody > tr > td:nth-child(2) > div {
        width: 90% !important;
    }
}

@media (max-width:890px) {
    #tblBillingInfoBottomButtons > tbody > tr > td > .action, #tblBillingInfoBottomButtons > tbody > tr > td > .continue, #tblBillingInfoBottomButtons > tbody > tr > td > .cancel {
        display: block;
        /* width: 100%; */
        height: 25px;
        line-height: 1.75;
        margin-bottom: -20px;
        margin-top: 10px;
    }

    #tblBillingInfoBottomButtons > tbody > tr > td {
        width: 100%;
        display: block;
    }

        #tblBillingInfoBottomButtons > tbody > tr > td:nth-child(2) {
            margin-bottom: 20px;
        }

        #tblBillingInfoBottomButtons > tbody > tr > td:nth-child(1) {
            display: none;
        }
}

/*Default.aspx overrides */
#tblDefaultPageA > tbody > tr {
    height: inherit !important;
}

/*BrowserSupport.aspx overrides*/
@media (max-width:760px) {
    #tblSupportedBrowsers {
        Width: 100%;
    }

        #tblSupportedBrowsers > tbody > tr:nth-child(2) {
            display: none;
        }

    #tblSupportedBrowsers {
        width: inherit !important;
        margin: 0 5%;
        !important;
    }

    .basecolor > div:nth-child(1) {
        width: inherit !important;
    }
}

/*YoungCustomerSearch.aspx overrides */
@media (max-width:760px) {
    #tblYoungCustSearchBody > tbody > tr {
        height: auto !important;
    }

        #tblYoungCustSearchBody > tbody > tr > td:nth-child(1) {
            display: none;
        }
}

/*ItemSelection.aspx overrides */
#tblItemList > tbody > tr > td > a {
    white-space: nowrap;
}

@media (max-width:760px) {
    #tblItemSelectionCustInfo > tbody > tr:nth-child(2) > td:nth-child(2) > span:nth-child(4) {
        display: none !important;
    }

    #tblItemList > tbody > tr > td:first-child {
        margin-top: 5px;
        padding-top: 10px;
    }

    #cellItemList {
        width: auto !important;
    }

    #cellCatTable {
        width: auto !important;
    }
}


@media (max-width: 480px) {
    #tblCartItemQtyBody {
        width: 100% !important;
    }

    .alertdiv {
        padding: 5px 20px 20px 20px;
    }

    #lblQuantityNotes {
        font-size: 2.4vw !important;
    }

    .addToCartContainer {
        width: 90% !important;
    }
}

@media (max-width:480px) {
    #tblItemSelectionCustInfo > tbody > tr:nth-child(2) > td:nth-child(2) > span:nth-child(6) {
        display: none;
    }
}

/*CartItemPrompts.aspx overrides*/
#tblCartItemPromptsButtons > tbody > tr:nth-child(1) > td:nth-child(2) {
    text-align: center !important;
}

.alertdiv {
    position: relative;
    margin: 0 auto;
    margin-top: 15%;
    left: 0;
    width: 85%;
}

@media (max-width:760px) {
    #divAlertWindow {
        position: relative;
        margin: 0 auto;
        margin-top: 15%;
        left: 0;
        width: 70% !important;
    }

    #tblCartItemPromptsButtons > tbody > tr:nth-child(1) > td:nth-child(1) {
        display: none;
    }

    #tblCartItemPromptsButtons > tbody > tr:nth-child(1) > td:nth-child(3) {
        display: none;
    }

    #divAlertWindow {
        margin-top: 45%;
    }
}

/*cartItemAncillaryEntityList.aspx overrides*/
@media (max-width: 760px) {
    #tblAncillaryEntityListInfo > tbody > tr > td {
        text-align: center !important;
        margin: 0 auto;
    }

        #tblAncillaryEntityListInfo > tbody > tr > td:nth-child(5) {
            margin-bottom: 25px;
        }

    #tblAncillaryEntityListInfo > tbody > tr > td {
        width: 100% !important;
    }

    #tblAncillaryEntityListFields > tbody > tr > td:nth-child(2) {
        font-weight: 700;
        font-size: 130%;
    }

    #tblAncillaryEntityListFields > tbody > tr > td:nth-child(1) {
        display: none;
    }

    #tblAncillaryEntityListFields > tbody > tr > td:nth-child(4) {
        display: none;
    }

    #tblAncillaryEntityListFields {
        margin-top: 25px;
    }

        #tblAncillaryEntityListFields > tbody > tr {
            padding-left: 25px;
        }
}

#form1 > div:nth-of-type(3) > div:nth-of-type(4) > div:nth-of-type(1) > div:nth-of-type(1) {
    width: inherit !important;
    background-color: #d7d7d7 !important;
    -webkit-print-color-adjust: exact;
}

/*AncillaryEntrySearch.aspx overrides*/
#form1 > div:nth-of-type(3) > div:nth-of-type(4) > div:nth-of-type(1) {
    width: inherit !important;
    margin-left: 0 !important;
}

@media (max-width:760px) {
    .pagewidthdiv > div:nth-child(7) > div:nth-child(1) > div:nth-child(2) > a:nth-of-type(1) {
        margin-bottom: -20px;
    }
}


/*ancillaryEntrySearchResults.aspx*/
@media (max-width:760px) {
    #tblAncillarySearchResults > tbody > tr:nth-child(1) {
        display: none;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(2):before {
        content: "Ranch Name";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(3):before {
        content: "Owner";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(4):before {
        content: "Address Line 1";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(5):before {
        content: "Address Line 2";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(6):before {
        content: "City";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(7):before {
        content: "State";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(8):before {
        content: "Zip";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr:nth-child(n+1) > td:nth-child(9):before {
        content: "County";
        width: 100%;
        padding-left: 0 !important;
    }

    #tblAncillarySearchResults > tbody > tr > td {
        padding-left: 10px !important;
    }

    .pagewidthdiv > div:nth-child(7) > div:nth-child(2) > a:nth-child(3) {
        margin-bottom: -20px;
    }
}

    /*CartItemAncillaryInput.aspx overrides*/
    @media (max-width:760px) {
        .pagewidthdiv > div:nth-of-type(5) > div:nth-child(1) {
            width: inherit !important;
            margin-left: 0 !important;
            text-align: left !important;
        }

        #tblAncillaryInputFields {
            background-color: #f7f7f7;
        }

            #tblAncillaryInputFields > tbody > tr > td:nth-child(2) {
                margin-right: -195px;
                display: inline-block;
            }

            #tblAncillaryInputFields > tbody > tr > td:nth-child(3) {
                width: 5% !important;
                margin: 0;
                display: inline-block;
            }
    }

    /*CartItemFinalize.aspx overrides*/
    @media (max-width:760px) {
        #tblFinalizeCustInfo > tbody > tr:nth-child(1) > td:nth-child(1):before {
            /*content:"Name";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(1) > td:nth-child(2):before {
            /*content:"D.O.B.";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(1) > td:nth-child(3):before {
            /*		content:"Customer ID";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(2) > td:nth-child(1):before {
            /*		content:"Gender";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(2) > td:nth-child(2):before {
            /*		content:"Eye Color";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(2) > td:nth-child(3):before {
            /*		content:"Eye Color";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCustInfo > tbody > tr:nth-child(3) > td:nth-child(1):before {
            /*		content:"Address";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(1) > td:nth-child(1):before {
            /*		content:"Item";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(1) > td:nth-child(2):before {
            /*		content:"Year";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(1) > td:nth-child(3):before {
            /*		content:"Txn Type";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(2) > td:nth-child(1):before {
            /*		content:"Quantity";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(2) > td:nth-child(2):before {
            /*		content:"Individual Price";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(2) > td:nth-child(3):before {
            /*		content:"Extended Price";*/
            width: 100%;
            padding-left: 0;
        }

        #tblFinalizeCartItemInfo > tbody > tr:nth-child(3) > td:nth-child(1):before {
            /*		content:"Effective Dates";*/
            width: 100%;
            padding-left: 0;
        }
    }

    /*CartValidationErrorNotification.aspx overrides*/
    @media (max-width:760px) {
        #CartValidationNotice > tbody > tr:nth-child(1) {
            display: none;
        }

        .rowCartValidationItem > td:nth-child(1):before {
            content: "Item";
            width: 100%;
            padding-left: 0;
        }

        .rowCartValidationItem > td:nth-child(2):before {
            content: "Item Description";
            width: 100%;
            padding-left: 0;
        }

        .rowCartValidationItem > td:nth-child(3):before {
            content: "Subject";
            width: 100%;
            padding-left: 0;
        }

        .rowCartValidationItem > td:nth-child(3):before {
            content: "Error";
            width: 100%;
            padding-left: 0;
        }

        .pagewidthdiv > div:nth-child(2) {
            width: inherit !important;
        }
    }

    /*CartCCCheckout.aspx overrides*/
    #tblCheckoutShipping > tbody > tr > td {
        width: inherit !important;
    }

@media (max-width:760px) {
    #tblCheckoutBody > tbody > tr:nth-child(1) > td:nth-child(1) {
        width: inherit !important;
    }

    #divCheckoutItemList {
        padding-left: 15px !important;
        padding-right: 10px !important;
    }

        #divCheckoutItemList > tbody > tr:nth-child(2) > td:before {
            width: 100% !important;
        }

    #tblCheckoutBottomButtons > tbody > tr > td {
        text-align: left !important;
    }

        #tblCheckoutBottomButtons > tbody > tr > td:nth-child(2) {
            margin-bottom: 18px;
        }
}

        /*OrderReceipt.aspx overrides*/

        @media (max-width:760px) {
            #tblReceiptDocSection > tbody > tr:nth-child(1) {
                display: none;
            }

            .rowReceiptDocSectionRow > td {
                text-align: left !important;
                padding-left: 5px !important;
            }

                .rowReceiptDocSectionRow > td:nth-child(1):before {
                    content: "Item:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(2):before {
                    content: "Description:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(3):before {
                    content: "Year:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(4):before {
                    content: "Valid From:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(5):before {
                    content: "Valid To:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(6):before {
                    content: "Qty:";
                    width: 100%;
                    padding-left: 0;
                }

                .rowReceiptDocSectionRow > td:nth-child(7):before {
                    content: "Fee:";
                    width: 100%;
                    padding-left: 0;
                }

            #tblReceiptDocSection tr:nth-child(2n+1) {
                background-color: #f7f7f7 !important;
            }

            #tblReceiptBottomButtons > tbody > tr > td {
                text-align: left !important;
            }

            #tblReceiptDocSection {
                background-color: grey !important;
                -webkit-print-color-adjust: exact;
            }

            #tblReceiptBottomButtons > tbody > tr > td:first-child {
                text-align: left !important;
                display: none;
            }

            #tblReceiptBottomButtons > tbody > tr > td:nth-child(2) {
                margin-bottom: 18px;
            }

            .contentWrapper > p:nth-child(8) > a {
                margin-bottom: 0px;
            }

            /*Commenting out the code below so that the order summary on the receipt page displays fully */
            /*.pagewidthdiv > .contentWrapper:nth-child(10) {
                display: none;
            }*/
        }



        /*CartItemEffectifeDates.aspx overrides*/
        @media (max-width:760px) {
            #tblEffDatesBottomButtons > tbody > tr > td:nth-child(2) {
                margin-top: 15px;
            }

            .pagewidthdiv > div:nth-of-type(5) {
                width: initial !important;
            }

            #tblEffDatesEquivTbl > tbody > tr > td > span {
                float: left;
                width: 100%;
            }

            #tblEffDatesEquivTbl > tbody > tr > td {
                float: left;
                width: 100%;
            }

            #tblEffDatesBottomButtons {
                margin-bottom: 30px;
            }
        }

        @media (max-width:480px) {
            #spanenddate {
                float: left;
                clear: both;
                margin-bottom: 10px;
            }

            #spanthrough {
                float: left;
                clear: both;
                margin: 10px 0;
            }

            #spanstartdate {
                float: left;
            }

            #lblErrorMessage {
                display: table;
                width: 100%;
            }
        }

        /*CustomerSearchResults.aspx overrides*/
        @media (max-width:760px) {
            #divSearchResultsBody {
                width: 92% !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(1) > th {
                display: none;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(2):before {
                content: "Last Name";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(3):before {
                content: "First Name";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(4):before {
                content: "Middle Name";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(5):before {
                content: "Date of Birth";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(6):before {
                content: "Street Address";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultsTable > tbody > tr:nth-child(n+1) > td:nth-child(7):before {
                content: "Zip Code";
                width: 100% !important;
                padding-left: 0 !important;
            }

            #tblCustSearchResultHeader > tbody > tr:nth-child(2) > td {
                text-align: left !important;
            }

            #tblCustSearchResultHeader {
                width: inherit !important;
            }

                #tblCustSearchResultHeader > tbody > tr:nth-child(2) > td:nth-child(2) {
                    margin-top: -25px;
                    margin-bottom: -30px;
                }

            #tblCustSearchResultsTable > tbody > tr > td:last-child {
                margin-bottom: 10px;
            }
        }

        /*cancelorderview.aspx*/
        @media (max-width:760px) {
            .rowCancelOrderViewItemHeader {
                display: none;
            }

            #tblCancelOrderViewCustInfo > tbody > tr > td {
                text-align: left !important;
                padding-left: 5px !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(1):before {
                content: "Item: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(2):before {
                content: "Description:  ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(3):before {
                content: "Year: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(4):before {
                content: "Valid From: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(5):before {
                content: "Valid To: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(6):before {
                content: "Qty: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:nth-child(7):before {
                content: "Fee: ";
                padding-left: 0 !important;
            }

            .rowCancelOrderViewLicItem > td:before {
                text-align: left;
                padding-left: 5px !important;
            }

            #tblCancelOrderViewTxn > tbody > tr:nth-child(1) > td:nth-child(1) {
                display: none;
            }

            #tblCheckoutTotals td {
                display: initial;
            }

            #tblCheckoutDetails span {
                float: right;
            }
        }

        /*GenericError.aspx overrides*/


        /*ButtonClass overrides*/
        @media (max-width:760px) {
            .cancel {
                display: block;
                /*width:100%;*/
                height: 25px;
                line-height: 1.75;
                margin-bottom: -20px;
                margin-top: 10px;
            }

            .continue {
                display: block;
                /*width:100%;*/
                height: 25px;
                line-height: 1.75;
                margin-bottom: -20px;
                margin-top: 10px;
            }

            .action {
                display: block;
                /*width:100%;*/
                height: 25px;
                line-height: 1.75;
                margin-bottom: -20px;
                margin-top: 10px;
            }
        }

        /*Title Header Overrides*/
        @media (max-width:760px) {
            #tblLogoHeader > tbody > tr > td {
                width: 100% !important;
                text-align: center !important;
            }
        }

        /*cartItemFinalize.aspx Overrides*/
        @media (max-width:760px) {
            #cartItemFinalizeButtons > a:nth-child(5) {
                margin-top: -20px !important;
                margin-bottom: 15px !important;
            }

            #tableContainer {
                padding-bottom: 20px !important;
                background-color: #f7f7f7 !important;
            }

            #cmdReviewAncillary {
                margin-top: 27px !important;
                margin-bottom: 5px !important;
            }
        }

        /*sessiontimeoutmessage.aspx overrides*/
        @media (max-width:760px) {
            #sessionButton {
                margin: 15px auto;
                width: 80% !important;
            }
        }
        /*Mobile CSS on Select dropdowns*/
        @media screen and (max-width:600px){
            select{
                font-size:16px;
            }
        }
        /*Print settings*/     
        @media print {
            body, .contentWrapper, .thinheaderbanner{
                font-size:.8rem;
                page-break-inside: avoid !important;
                background-color:white;
                -webkit-print-color-adjust: exact;
                -moz-color-adjust: exact;
                -moz-print-color-adjust: exact;
                -ms-color-adjust: exact;
                -ms-print-color-adjust: exact;
            }

            #tblReceiptBottomButtons, .action{
                display:none;
            }
            .pagewidthdiv, #rowLogoHeaderRow, .thinheaderbanner{
                width:18cm!important;
            }
            #divLogoHeader, .contentWrapper {
              width:18cm!important;
              margin-left:0;
              margin-right:0;
            }
            #tblLogoHeader, #tblReceiptTotals{
                width:18cm!important;
                padding-right:0!important;
                padding-left:0!important;
            }
            #tdImgLogo{
                padding-left:4cm!important;
                width:1.5cm!important;
            }
            #logoTexasLicenseConnection{
                width:2cm!important;
                padding-right:3.3cm!important;
            }
            #tdImgQMark{
                display:none;
            }
            #tblReceiptTotals td{
                width:3cm!important; 
                         
            }
            #lblIssueDate, #lblItemsFee, #lblShippingFee, #lblAdminFee, #lblTotalFees{
                padding-right:6cm!important;
            }
            
        }
       
        
    



