/*
    global.css
    Copyright 2010 AutoZone, Inc.
    Content is confidential to and proprietary information of
    AutoZone, Inc., its subsidiaries and affiliates.
 */

/*
  For media-type print

  author kbrowne
  version %PCMS_HEADER_SUBSTITUTION_START%$Id: %PM% %PR% %PRT% %PO% %PS% $%PCMS_HEADER_SUBSTITUTION_END%
 */

/* do not print the navigation */
@media print {
    * {
        background: transparent !important;
        color: #000 !important;
        box-shadow: none !important;
        text-shadow: none !important;
        transition: none !important;
    }
    .show-for-print {
        display: block !important;
    }

    .hide-for-print {
        display: none !important;
    }

    table.show-for-print {
        display: table !important;
    }

    thead.show-for-print {
        display: table-header-group !important;
    }

    tbody.show-for-print {
        display: table-row-group !important;
    }

    tr.show-for-print {
        display: table-row !important;
    }

    td.show-for-print {
        display: table-cell !important;
    }

    th.show-for-print {
        display: table-cell !important;
    }

    a,a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    .ir a:after,a[href^='javascript:']:after,a[href^='#']:after {
        content: '';
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    pre,blockquote {
        border: 1px solid #3a3c3d;
        page-break-inside: avoid;
    }
	table {
		page-break-after:auto;
	}
    thead {
        display: table-header-group;
    }

    tr,img {
        page-break-inside: avoid;
        page-break-before:auto
    }

    img {
        max-width: 100% !important;
    }

    @page {
        margin: .5cm;
    }

    p,h2,h3 {
        orphans: 3;
        widows: 3;
    }

    h2,h3 {
        page-break-after: avoid;
    }
    .float-left{
		float:left;
	}
	.float-right{
		float:right;
	}
	.clearfix::before,.clearfix::after,
	.clearfix-f::before,.clearfix-f::after {
	    content: ' ';
	    display: table;
	    -webkit-flex-basis: 0;
	    -ms-flex-preferred-size: 0;
	    flex-basis: 0;
	    -webkit-order: 1;
	    -ms-flex-order: 1;
	    order: 1;
	}
	
	.clearfix::after,
	.clearfix-f::after {
	    clear: both;
	}
    .ui-dialog-titlebar{
    	display:none;
    }
    th.cost-col,
	th.cost-col,
	tr.show-hide-row,
	td.show-hide-col
	{
		display: none;
	}
	/* Hide Deals Json*/
	.dealData {
		display:none;
	}
	
	/* START : Estimate Styles */
    div.print-estimate-wrapper {
	    clear: both;
	    font: 12px/14px "Helvetica Neue",Arial,sans-serif;
	    margin-left: 1%;
	    overflow: visible;
		zoom:1.5;
	}
	div.print-estimate-wrapper h4{
    	font-size: 1.5625rem !important;
	}
	div.print-estimate-wrapper h5{
    	font-size: 1.25rem !important;
	}
	div.print-estimate-wrapper #customer-information{
		float:left;
		width:364px !important;
	}
	div.print-estimate-wrapper #customer-information .section-header{
			width:auto;
	}
	div.print-estimate-wrapper #customer-information div.account-labels{
		width:43% !important;
		text-align: right;
		float:left;
	}
	div.print-estimate-wrapper #customer-information div.account-values{
		width:54% !important;
		text-align: left;
		float:right;
	}
	div.print-account-info {
	    border: 1px solid #c4c4c4;
	    overflow: hidden;
	    margin: 15px 0 15px 0;
	    font-weight: bold;
	    padding: 10px;
	    color: #3a3c3d;

    }
	div.print-estimate-wrapper #shop-information {
		text-align: center;
		font-weight: bold;
		text-transform: uppercase;
		padding: 0 0 10px 0;
		float:right !important;
		width:286px;
		clear:right;
	}
	div.print-estimate-wrapper #shop-information img {
		width: 120px;
		margin: 0 0px 10px 0px;
	}

	div.print-estimate-wrapper div.totals{
			float:right !important;
	}
    div.print-estimate-wrapper table.estimate-table-info {
	    clear: both;
	    width: 100%;
	    text-align: left;
	    border-spacing: 0;
	    border-collapse:collapse;
	    empty-cells: show;
	    margin: 0;
	    color: #3a3c3d;
	    border: 1px solid #000 !important;
	}
	div.print-estimate-wrapper table.estimate-table-info thead {
		font-weight: bold;
		font-size: 14px;
		color: #000000 !important;
		white-space:nowrap;
		border: 1px solid #000 !important;
		background-color: #FFF !important;
	}
	div.print-estimate-wrapper table.estimate-table-info tbody {
		color: #000000 !important;
		border: 1px solid #000 !important;
	}
	.print-estimate-wrapper table.estimate-table-info tbody tr,
	.print-estimate-wrapper table.estimate-table-info tbody td {
	    border: 1px solid #000 !important;
	}
	div.print-estimate-wrapper table.estimate-table-info th{
		white-space: normal;
	}
	div.print-estimate-wrapper table.estimate-table-info th,
	div.print-estimate-wrapper table.estimate-table-info td {
		border:solid #000 !important;
	    border-width:0 1px 1px 0 !important;
	}
	div.print-estimate-wrapper div.totals{
    	float:right !important;
		font-size: 14px;
	    width: 290px;
	    padding-bottom:10px;
	    margin-top: 10px;
	}

	div.print-estimate-wrapper div.totals div#parts,
	div.print-estimate-wrapper div.totals div#accs,
	div.print-estimate-wrapper div.totals div#miscellaneous,
	div.print-estimate-wrapper div.totals div#labor,
	div.print-estimate-wrapper div.totals div#tax,
	div.print-estimate-wrapper div.totals div#grandTotal {
	    clear: both;
	}
	div.print-estimate-wrapper div.totals div.labels, div div.totals div.labels {
	    float: left !important;
	    text-align: right;
	    clear: left;
	    width: 135px;
	    padding: 2px;
	    font-weight: bold;
	}
	div div.totals div.values {
		float: right;
		text-align: right;
		width:65px;
		padding: 2px;
	}
	div.print-estimate-wrapper div.totals div.labels.total,
	div.print-estimate-wrapper div.totals div.values.total{
		font-size:16px;
		font-weight: bold;
		text-transform: uppercase;
		margin-top: 10px;
	}
	div.print-overlay-note{
		clear:both;
	}
	div.print-overlay-footer {
	    font-size: 0.875rem;
	    width: 100%;
	    font-weight: bold;
	    text-align: center;
	    font-style: italic;
	    margin-top: 1rem;
	    padding-top: 1rem;
	    clear: both;
	    border-top: 1px solid #3a3c3d;
	    color: #3a3c3d;
	}
	/* END : Estimate Styles */
	
	/* Table styles */
	table,th, td {
		border: 1px solid #000;
		border-collapse: collapse;
		max-width: 100%;
	}
	table tr{
	  border-bottom: 1px solid #000;
	}
	
	/* disable hyperlink printing for an entire element*/
	.hide-links-for-print a[href]:after {
    	content: "";
    }
    
    #breadCrumb {
    	display: none;
    }
	/*Rebates History*/
	
	table.rebate-history-table {
        display: table !important;
        border: 1px solid;
        border-collapse: collapse;
     
    }
   
    table.rebate-history-table thead{
        display: table-header-group !important;
    }

    table.rebate-history-table tbody{
        display: table-row-group !important;
    }

    table.rebate-history-table tr{
        display: table-row !important;
    }

    table.rebate-history-table td{
        display: table-cell !important;
        border: 1px solid !important;
        padding: 5px;
       
    }

    table.rebate-history-table th{
        display: table-cell !important;
        border: 1px solid !important;
        padding: 5px;
    }

}