/* ============== Color Variables ============= */
body {
    --font-family: "Roboto", sans-serif;
    --color-links: #1f2527;
    --color-links-hover: #0D46A7;
    --color-primary: #1f2527;
    --color-primary-text: #fff;
    --color-secondary: #0D46A7;
    --color-secondary-text: #ffffff;
    --color-background: #fff; /* Not implemented fully to work with other colors*/
    --color-table-primary: #fff;
    --color-table-secondary: #fff;
    --color-table-highlight: #ddd;
    --color-table-border: #ddd;
    --color-button: #0D46A7;
    --color-button-text: #fff;
    --color-button-border: #0D46A7;
    --color-button-hover: #fff;
    --color-button-hover-text: #0D46A7;
    --color-button-hover-border: #0D46A7;
    --color-form-border: #ddd;
    --color-image-carousel-border: #ddd;
    
    /* PLP Elements */
	--color-plp-thumbs-border: #eee;
	--plp-thumb-image-radius: 8px;
}

/* ============== Button Style ============= */
.ui-button {
    transition: all 0.1s ease-in-out;
    background: var(--color-button) !important;
    border-color: var(--color-button-border) !important;
    color: var(--color-button-text) !important;
    border-radius: 20px;
    border-width: 1px;
    font-weight: bold !important;
}
.ui-button:hover,
.ui-button:focus {
    background: var(--color-button-hover) !important;
    border-color: var(--color-button-hover-border) !important;
    color: var(--color-button-hover-text) !important;
    font-weight: 500;
}
.ui-dialog-titlebar .ui-button {
	padding: 0 !important;
}
.ui-dialog-titlebar .ui-button:hover {
	background: none !important;
}

/* ============== Breadcrumb Style ============= */
#plp-bread-crumb {
    background: 0 0 !important;
    border: none !important;
    color: #1f2527  !important;
    padding-left: 0 !important;
    font-weight: bold;
    margin-bottom: 1rem;
}
#plp-bread-crumb a {
    color: var(--color-links) !important;
    text-decoration: none;
	
	
}
#plp-bread-crumb a:first-child {
    margin-left: 0;
}

/* ========= Header Links (Ecomerce, Quotes, ...) ========== */
#plp-header-links a {
	text-decoration: none !important;
    color: var(--color-links) !important;
}
#plp-header-links a:hover {
	text-decoration: underline !important;
    color: var(--color-links-hover) !important;
}

/* ======== Adjusting for medium sized images ===== */
#plp-list-description .plp-list-info.plp-list-info-right, #plp-tree-description .plp-tree-info.plp-tree-info-right {
    padding: 0 0 0 224px !important;
}
#plp-list-description .plp-list-thumb.plp-list-thumb-left {
	width: auto;
}

/* ============== Black/White Icons ============= */
body[data-pagetype=CADPublisher] .ui-icon,
body[data-pagetype=Category] .ui-icon,
body[data-pagetype=CategoryResult] .ui-icon,
body[data-pagetype=ItemDetail] .ui-icon {
    background-image: url("white.png") !important;
}
body[data-pagetype=Category] .ui-state-active .ui-icon, body[data-pagetype=Category] .ui-button:active .ui-icon,
body[data-pagetype=CategoryResult] .ui-state-active .ui-icon, body[data-pagetype=CategoryResult] .ui-button:active .ui-icon,
body[data-pagetype=ItemDetail] .ui-state-active .ui-icon, body[data-pagetype=ItemDetail] .ui-button:active .ui-icon {
    background-image: url("white.png") !important;
}

/* ============== Main Body Page Style ============= */
body, body[data-pagetype=CADPublisher] {
    background: var(--color-background);
    margin: 0;
}
#plp-container {
    width: 80% !important;
    background: var(--color-background) !important;
    padding-bottom: 1rem !important;
    padding-top: 1rem !important;
}
body[data-pagetype=CADPublisher] #plp-container {
	padding: 0 !important;	
}
body .ui-widget {
    font-family: var(--font-family);
    font-size: 1em;
}
@media (min-width: 1200px) {
    #plp-container, .plp-search-holder, #plp-header-links, #plp-cad-cartbench {
        width: 80% !important;
    }
}
@media (max-width: 1199px) {
    #plp-container, .plp-search-holder, #plp-header-links, #plp-cad-cartbench {
        width: 85% !important;
    }
}
@media (max-width: 991px) {
    #plp-container, .plp-search-holder, #plp-header-links, #plp-cad-cartbench {
        width: 90% !important;
    }
}
@media (max-width: 767px) {
    #plp-container, .plp-search-holder, #plp-header-links, #plp-cad-cartbench {
        width: 95% !important;
    }
}

/* ============== General Components Style ============= */
a[href="/plp/htm/ibot.htm"],
#plp-table-filter .header > tr:last-child, .floatThead-table .header > tr:last-child, 
#plp-container > .plp-page-spacer12:first-child, #plp-container > .plp-page-spacer12:nth-of-type(2) {
    display: none;
}
nav#plp-header-links {
    height: auto !important;
    display: flow-root;
    margin: 0 auto;
}
.header .ui-widget-header a {
    color: var(--color-secondary-text) !important;
}
.ui-widget-header, .ui-state-default.ui-state-active > a, .ui-widget-header .ui-state-default.ui-state-active, .ui-state-active, .ui-state-active > a, .ui-widget-content .ui-state-active, .ui-widget-header .ui-state-active, .filter-button.ui-state-default, .filter-option a {
    background: var(--color-primary) !important;
    border: 1px solid var(--color-primary) !important;
    color: var(--color-primary-text) !important;
}
.ui-widget-header.plp-action-bar, .ui-widget-header .ui-state-default, .ui-accordion .ui-accordion-header.ui-state-default, .ui-tabs-nav .ui-tabs-anchor {
    background: var(--color-secondary) !important;
    border: 1px solid var(--color-secondary) !important;
    color: var(--color-secondary-text) !important;
}
.ui-widget-content .ui-state-hover, .ui-widget-content .ui-state-focus {
    background: var(--color-table-highlight) !important;
}
#plp-anchors a, #plp-container .plp-page-rfi-switchbutton a, #plp-item-table-anchors a, #plp-list-description li div a, #plp-page-actions a, #plp-thumbs a, #plp-tree-description a, #recaptcha_privacy a, .plp-promo a, .plp-table-value a, .read-less-right a, .read-more-right a, .treeview a {
    text-decoration: none !important;
    color: var(--color-links) !important;
}
#plp-anchors a:hover, #plp-container .plp-page-rfi-switchbutton a:hover, #plp-item-table-anchors a:hover, #plp-list-description li div a:hover, #plp-page-actions a:hover, #plp-thumbs a:hover, #plp-tree-description a:hover, #recaptcha_privacy a:hover, .plp-promo a:hover, .plp-table-value a:hover, .read-less-right a:hover, .read-more-right a:hover, .treeview a:hover {
    text-decoration: underline !important;
    color: var(--color-links-hover) !important;
}
.ui-tabs .ui-tabs-panel {
    padding: 0 !important;
}
#plp-product-title > h1 {
    font-weight: 700;
    font-size: 1.25rem !important;
}
.ui-widget-shadow {
    background-color: #eeeeee !important;
    background: none;
}
/* Image Carousel Style */
.plp-image-carousel li {
    background-color: var(--color-background) !important;
}
.plp-image-carousel a.plp-sprite-image-zoom {
    display: none;
}
#plp-description-with-image .plp-image-ctn,
#plp-item-description-with-image .plp-image-ctn {
	margin-right: 20px;
	border: 0;
}
#plp-description-with-image .plp-image-carousel,
#plp-item-description-with-image .plp-image-carousel {
	background: none;
	border-radius: 5px;
	border: 1px solid var(--color-image-carousel-border);
}
#plp-description-with-image .caroufredsel_wrapper,
#plp-item-description-with-image .caroufredsel_wrapper {
	border-radius: 5px 5px 0px 0px;
	border-bottom: 1px solid var(--color-image-carousel-border);
}
#plp-description-with-image #pager2,
#plp-item-description-with-image #pager2 {
	background-color: var(--color-image-carousel-border);
	border-radius: 0px 0px 5px 5px;
}
#plp-sidebar-compare {
	& .plp-sidebar-compare-item {
		padding-bottom: 5px !important;
	}
	& .plp-sidebar-delete-item {
		padding-top: 2px !important;
	}
}

/* ============ Category Page =========== */
body[data-pagetype="Category"] #plp-thumbs {
    border-spacing: 20px 15px;
}
body[data-pagetype="Category"] .plp-thumb {
	border-color: var(--color-plp-thumbs-border);
	border-radius: 0.4rem;
	box-shadow: -0.2rem 0.2rem 0.4rem 0px rgb(0, 0, 0, 3%);
	padding: 10px;
	& img {
		border-radius: var(--plp-thumb-image-radius);
		transition: all 0.25s ease-in-out;
	}
	&:hover img {
		scale: 1.05;
	}
	& > span {
		padding-left: 12px;
		font-size: 1rem;
	}
	& ul {
		padding: 0 12px 6px 12px;
		font-size: 0.9rem;
		& li a {
			font-size: 0.8rem;
			&:hover {
				color: var(--color-link-hover) !important;;
				text-decoration: underline !important;
			}
		}
	}
}
body[data-pagetype="Category"] {
	& #plp-list-description, #plp-tree-description {
		border-color: var(--color-plp-thumbs-border);
		border: none;
		& > li {
			border: 1px solid var(--color-plp-thumbs-border) !important;
			border-radius: 8px;
			margin-bottom: 10px;
			box-shadow: -0.2rem 0.2rem 0.4rem 0px rgb(0, 0, 0, 3%);
		}
	}
}
body[data-pagetype="Category"] .plp-thumb h2 {
	position: relative;
	border-top: 1px solid #DCDDDE;
	font-size: 1rem !important;
	display: block !important;
	padding: 32px 6px 0px 12px;
	margin-bottom: 0 !important;
}

/* ============ Category Result Page Style =============== */
body[data-pagetype="CategoryResult"] table.floatThead-table[style*="table-layout: fixed"] {
    /* margin-top: 0px !important; Adjust if there is a floating header */
}
body[data-pagetype="CategoryResult"] .cad-fixed-popup {
    /* top: 100px !important; Adjust if there is a floating header */
    z-index: 999999 !important;
}

@media (min-width: 992px) {
  body[data-pagetype] table.floatThead-table[style*="table-layout: fixed"] {
    padding-top: 40px
  }
}
table#plp-table-filter > tbody > tr:nth-child(odd) {
    background: var(--color-table-primary);
}
table#plp-table-filter > tbody > tr:nth-child(even) {
    background: var(--color-table-secondary);
}
table#plp-table-filter > tbody > tr.ui-state-default,
#plp-thumbs .plp-thumb.ui-state-hover {
    background: var(--color-table-highlight);
}
.plp-table-wrapper {
	border-color: var(--color-table-border);
	border-radius: 10px;
	box-shadow: 0.1rem 0.1rem 0.25rem 0px rgb(0, 0, 0, 5%);
}
img[name=ImageCADViewer] {
	max-width: 18px;
}
body[data-pagetype=CategoryResult] .ui-accordion .ui-accordion-content {
    padding: 0;
	border-color: var(--color-table-border);
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	box-shadow: -0.2rem 0.2rem 0.4rem 0px rgb(0, 0, 0, 3%);
}
body[data-pagetype="CategoryResult"] {	
	& .header td[data-sort] {
		background-color: var(--color-secondary); /* Sort Indicator, adjust color as needed */
		filter: brightness(150%);
	}
	& .header td[data-normal] {
		background-color: var(--color-secondary)
	}
	& .plp-pagination a {
		&:hover {
			color: var(--color-secondary) !important;
		}
	}
	& #plp-thumbs {
		border-spacing: 10px 5px;
		& .plp-thumb {
			background: rgba(255, 255, 255, 80%);
			border: var(--color-form-border);
			box-shadow: 0px 0px 8px -2px rgba(0,0,0,0.25);
		}
	}
}
.plp-info div {
	background: rgb(255,255,255,80%);
	border-radius: 8px;
	border-color: var(--color-secondary);
	box-shadow: 0px 0px 8px -2px rgba(0,0,0,0.25);
}
/* No Wrap for PN */
body[data-pagetype="CategoryResult"] #plp-table-filter tr td:first-child {
	& > span[itemprop="sku"] {
		display: flex;
		align-items: center;
		& input {
			margin-right: 5px;
		}
		& a {
			/* white-space: nowrap; */
			margin: auto;
		}
	}
}
body[data-pagetype="CategoryResult"] #plp-table-filter tr td:first-child a {
    text-decoration: underline !important;
}
body[data-pagetype="CategoryResult"] #plp-table-filter tr td:first-child a:hover {
    text-decoration: none !important;
}

table#plp-table-filter > tbody > tr:nth-child(odd) {
    background: var(--color-table-primary);
}
table#plp-table-filter > tbody > tr:nth-child(even) {
    background: var(--color-table-secondary);
}
table#plp-table-filter > tbody > tr.ui-state-default {
    background: var(--color-table-highlight);
}

/* ============ Filter Style or Result Page ============ */
.plp-2-column-right #plp-sidebar {
    width: calc(19.5% - 8px) !important;
}
.plp-2-column-right #plp-main {
    width: 80% !important;
}
#plp-sidebar {
	border-color: #fff;
	box-shadow: 0rem 0.1rem 0.4rem 0px rgb(0, 0, 0, 10%);;
	& select.ui-widget-content.plp-advlistbox {
	    width: 100%;
	    border-color: #ddd;
        border-bottom-left-radius: 7.5px;
        border-bottom-right-radius: 7.5px;
	}
	& .adv-attributecontrol {
	    width: 100%
	}
	& .ui-accordion .ui-accordion-content {
		padding: 0;
		border: none;
	}
	& .plp-filter .adv-attributecontrol > ul {
		padding-left: 15px;
		& > li {
			list-style: none;
		}
	}
}

/* ============= Item Detail =========== */
body[data-pagetype=ItemDetail] #plp-item-table-tabs {
    border: none !important;
}
body[data-pagetype=ItemDetail] #plp-item-table-tabs .plp-tab-content table:not(td>table) tr:nth-child(odd) {
    background-color: #fff !important;
}
#plp-item-table-tabs .plp-tab-content table {
    border: 1px solid var(--color-table-border) !important;
    border-top: none !important;
}
.ui-tabs .ui-tabs-nav {
    background: none !important;
    border: none !important;
    border-bottom: 1px solid var(--color-table-border) !important;
    padding-left: 0 !important;
}
.ui-tabs .ui-tabs-nav li {
    border-bottom-width: 1px !important;
}
body[data-pagetype=ItemDetail] {
	& .ui-accordion .ui-accordion-content {
		padding: 0;
		border-color: var(--color-table-border);
		border-bottom-left-radius: 8px;
		border-bottom-right-radius: 8px;
		box-shadow: -0.2rem 0.2rem 0.4rem 0px rgb(0, 0, 0, 3%);
	}
	& .plp-item-table {
		border-bottom-right-radius: 8px;
		border-bottom-left-radius: 8px;
		& tr:last-child {
			& td:first-of-type {
				border-bottom-left-radius: 8px;
			}
			& td:last-of-type {
				border-bottom-right-radius: 8px;
			}
		}
	}
}
.plp-oddrow {
    background-color: var(--color-table-secondary);
}
/* No Wrap for PN */
body[data-pagetype="CategoryResult"] #plp-table-filter tr td:first-child {
    white-space: nowrap;
    text-align: left;
    & input {
        margin-right: 5px;
        margin-left: -5px;
    }
}
body[data-pagetype=ItemDetail] .ui-iconbutton {
	background: var(--color-primary);
	border: none;
	height: 1.25em;
	& .ui-icon-image {
		padding-bottom: 7px;
	}
	&.ui-state-hover {
	 background: var(--color-secondary) !important;	
	}
}
body[data-pagetype="ItemDetail"] {
	#plp-item-description-with-image {
		& .plp-item-promotion {
			& .ui-state-highlight {
				background: #f9f1ca;
				border-color: #f9f1ca;
				border-radius: 5px;
			}
		}
	}
	& .firstcolumn {
		width: 74% !important; 
	}
	& .secondcolumn {
		width: 25% !important;
	}
	& #plp-promotions {
		margin-bottom: 10px;
		padding-bottom: 0px;
		& h3 {
			background-color: #0d46a7 !important;
			border-color: #0d46a7 !important;
			padding: 10px 5px !important;
		}
		& a {
			font-size: large;
			text-decoration: underline !important;
			color: #0d46a7 !important;
		}
		& .price {
			display: none;
		}
	}
}

/* ============ Advanced Search 12 Page Style =============== */
body[data-pagetype=AdvancedSearch12] .ui-state-default > .adv-attributecontrol + a {
    border: none !important;
    background: none !important;
}
body[data-pagetype=AdvancedSearch12] .ui-state-default.plp-adv-left-panel,
body[data-pagetype=AdvancedSearch12] .ui-state-default.plp-adv-right-panel {
	background: #fff;
	color: #000;
}
body[data-pagetype=AdvancedSearch12] select.plp-advlistbox,
body[data-pagetype=AdvancedSearch12] .adv-attributecontrol {
	width: 100%
}
body[data-pagetype=AdvancedSearch12] .plp-adv-group-header a {
	color: var(--color-secondary-text);
}

/* ============ General Form Fields ============== */
#formholder .plp-form-textfield, #formholder .plp-form-textfield input, #formholder .plp-form-textfield textarea, #formholder .plp-form-email-textfield, #formholder .plp-form-email-textfield input, #formholder .plp-form-email-textfield textarea {
    border: 1px solid var(--color-form-border);
}
body[data-pagetype="Request"],
body[data-pagetype="Email"],
body[data-pagetype="EmailCart"],
body[data-pagetype="UserData"] {
	& .buttonBar.plp-form-button:first-child {
	    display: none;
	}
	& .buttonBar.plp-form-button {
	    border: none;
	    padding: 0;
	    width: 100%;
	}
}
.plp-request-info-form td.plp-form-heading,
.plp-request-email-info-form td.plp-form-email-heading,
.plp-cadrfx-group-body td.plp-cadrfx-left-panel,
.plp-cadrfx-group-body td.plp-cadrfx-right-panel,
.plp-cadrfx-group-body td.plp-form-heading {
	background: none;
	border: 1px solid var(--color-form-border) !important;
	color:#333;
	padding: 8px;
}
.plp-cadrfx-group-body input {
	border: 1px solid #bbb;
	border-radius: 3px
}
.plp-cadrfx-group-body select {
	border-radius: 3px;
	font-size: 0.9rem;
}
/* Form Styles */
body[data-pagetype="Request"] .plp-request-info-form,
body[data-pagetype="Email"] .plp-request-email-info-form {
	box-shadow: 0px 0px 12px -2px rgba(0,0,0,0.3);
	margin: 12px 10% 12px 10%;
	padding: 24px 24px 24px 24px;
	border-radius: 10px 10px 10px 10px;
	width: -webkit-fill-available;
	max-width: 80%;
	width: -moz-available;
	background: rgba(255, 255, 255, 100%);
}

/*================== Request Page Style ================*/
body[data-pagetype="Request"] #formholder > table > tbody > tr:last-child {
    display: none;
}
body[data-pagetype="Request"] #formholder .plp-form-heading,
body[data-pagetype="Request"] .plp-product-request-info table td.plp-product-info-blankspace,
body[data-pagetype="Request"] .plp-product-request-info table td.plp-product-number {
	background:none;
	border: 1px solid var(--color-form-border);
	color:#333 ;
}
body[data-pagetype="Request"] .plp-product-attach-item .plp-product-attach-button-holder {
	border: 1px solid var(--color-form-border);
}

/* ============= Email Page ================== */
body[data-pagetype="Email"] {
    & table td.plp-form-email-heading {
        background:none !important;
        border: 1px solid var(--color-form-border);
        color: #333;
        & .plp-email-image-container { 
            border-radius: 8px;
        }
    }
}

/* ============= Compare Page Style ================ */
body[data-pagetype="Compare"] {
	& #plp-description-with-image + .plp-page-spacer12,
	  #plp-buttonbar + .plp-page-spacer12 {
		display: none;
	}
	& #plp-compare-items {
		& a {
			color:var(--color-links) !important;
			text-decoration:underline !important;
		}
		& td {
			border-color: var(--color-form-border);
		}
		& td.plp-compare-product.ui-state-default {
			background: var(--color-table-highlight);
		}
		& tr:last-of-type {
			display: none;
		}
	}
}

/* ======== CAD Pop-up Window style ======= */
#plpprogress.cadpublisher.ui-dialog-content.ui-widget-content.ui-dialog-normal {
	& iframe#cadiframe {
		min-height: 730px !important;
	}
}
.cadpublisher.ui-dialog-content.ui-widget-content.ui-dialog-normal {
	max-height: 770px !important;
}
#cadviewer > iframe {
    height: 477px !important;
    width: 642px !important;
    border: 1px solid var(--color-form-border) !important;
	border-bottom: none !important;
}
.cad-fixed-popup.ui-dialog {
	border-radius: 8px 8px 16px 16px;
	border: none;
	width: 700px !important;
	& .ui-dialog-titlebar {
		font-size: 16px !important;
		padding: 0 1em !important;
		border-radius: 0;
	}
}
.ui-dialog-titlebar-close {
    border: none !important;
}
.ui-dialog-titlebar .ui-button {
	background: none !important;
}
body[data-pagetype="CADPublisher"] {
	& #plp-container {
	    width: 644px !important;
	}
	& #plp-cad-emaildownload {
		margin-bottom: 0 !important;
		width: -webkit-fill-available !important;
		width: -moz-available !important;
		border-bottom: none !important;
		border-top-left-radius: 10px;
		border-top-right-radius: 10px;
		& #cad-basic {
			width: -webkit-fill-available;
			width: -moz-available;
			padding: 5px 8px 5px 8px;
			& #divPlpDownloadList {
				height: 32px;
				margin-bottom: 0;
				width: 40%;
				& select {
					border-radius: var(--button-border-radius);
					font-size: 14px;
					height: 32px;
					padding-left: 5px;
				}
			}
			& div:nth-child(2) {
				width: 60%;
				& #scope-plp-cadupdateuser {
					padding: 7px 0px;
				}
			}
		}
	}
	
	& #cad-model {
		margin-top: 0px;
		margin-bottom: 0px;
		height: 478px;
		& >	article {
			padding-top: 0 !important;
			padding-bottom: 0 !important;
		}
		& #cad-new-viewer {
			height: 478px;
			padding: 0px 0px!important;
			border-left: 1px solid var(--color-form-border) !important;
			border-right: 1px solid var(--color-form-border) !important;
			& #new-cadviewer {
				height: 478px;
			}
		}
	}
	
	& #cad-info {
		line-height: 22px;
		width: -webkit-fill-available !important;
		width: -moz-available !important;
		border-bottom-left-radius: 10px;
		border-bottom-right-radius: 10px;
		border: 1px solid var(--color-form-border);
		border-left: 0px;
		margin-bottom: 6px;
		& dt, dd {
			font-size: 14px;
		border: 0px solid !important;
		}
		& dd {
			color: #707070;
		}
		& dl:not(:last-child) {
		    border-bottom: 1px solid var(--color-form-border);
		}
		& dl:last-child {
			& dt {
				border-bottom-left-radius: 9px;
			}
			& dd {
				border-bottom-right-radius: 10px;
			}
		}
		& >	article {
			width: -webkit-fill-available;
			width: -moz-available;
		}
	}
	& input.plp-rfx {
		width: 95%;
	}
	& #plp-additional-downloads {
		& .lblAdditionalDownloads {
			padding-top: 0;
		}
	}
	& .plp-page-spacer12 {
		display: none;
	}
}

/* ======== Default Search Style ======= */
.plp-search-holder {
    margin: auto;
    float: none !important;
    padding-bottom: 1.5rem;
}
.plp-search-holder nav.plp-page-searchBox,
.plp-search-holder nav.plp-page-categorySelect {
    margin: 0.5rem 0px;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    line-height: normal;
}
.plp-search-holder nav.plp-page-searchBox select {
    border-radius: 2px;
    border-right: none;
    border-bottom-right-radius: 0;
    border-top-right-radius: 0;
}
.plp-search-holder nav.plp-page-searchBox input {
    border-left: none;
    border-bottom-left-radius: 0;
    border-top-left-radius: 0;
}
.plp-search-holder .plp-page-categorySelect {
    border-color: var(--color-primary);
}

/* ========= Not Found page ============ */
body[data-pagetype="NotFound"] header, 
body[data-pagetype="NotFound"] footer,
body[data-pagetype="NotFound"] .plp-search-holder {
	display: none
}

.ui-state-hightlight.ui-accordion-content.ui-helper-reset.ui-widget-content.ui-corner-bottom {
    display: none;
}

#plp-table-filter td:nth-child(even) {
    background-color: #cccccc24; 
}

.plp-item-page-image-viewer {
    margin: 0 !important;
}

.caroufredsel_wrapper {
    width: 198px !important;
}

.buy-button {
	margin: 0px !Important;
}

@media screen and (min-width: 1100px) {
.plp-list-description {
    display: flex;
    align-items: flex-start;
}


.plp-list-description p {
    flex: 1; 
    margin-right: 15px!important; 
}


button.ui-button.buy-button {
    align-self: flex-start; 
}

}
button.ui-button.buy-button {
    align-self: flex-start; 
    width:400px;
    padding-top:10px;
	padding-bottom: 10px;
    height: auto; 
}

.ui-widget-content {
	color: #1f2527;
}
.ui-widget-content a {
	color: #1f2527;
}
.ui-widget-header {
	color: #1f2527;

}
.ui-widget-header a {
	color: #1f2527;
}
 
section#ecomm-options article div span {
    color: #e70011;
}

.plp-thumb .plp-cost {
    color: #e70011;
}
.price .price {
    font-weight: bold !important;
    color: #e70011 !important
}
.plp-group-thumb .plp-group-cost {
    color: #e70011;
}

#plp-forgotpassword .plp-message {
    color: #e70011
}
nav#plp-header-links ul li.cart-widget section.cart-widget-info p.cart-widget-subtotal span {
    color: #e70011
}
section#ecomm-options article div p.ecomm-required {
    color: #e70011;

}

#plp-page-pagination-table, #plp-page-pagination {
    font-size: .8rem
    }

#plp-item-sidebar section#ecomm-discounts {
    display: none;
}

/* Ecom Integration Styles */
#my-plp-cart-quantity {
	-moz-appearance: textfield;
	&::-webkit-outer-spin-button, &::-webkit-inner-spin-button {
	    -webkit-appearance: none;
	    margin: 0;
	}
}
/* Hiding Internal Attribute Group (also hide Invetory anchor) */
body[data-pagetype="ItemDetail"] {
	& .plp-item-specs .group:has(a[name="Internal"]) {
		display: none;
	}
	& #plp-item-table-anchors [href="#Internal"],
    #plp-item-table-anchors [href="#Inventory"],
    #plp-item-table-anchors [href="#Discounts"] {
		display: none;
	}
	& #plp-item-table-anchors {
		visibility: hidden;
		& a {
			visibility: visible;
			&:not(:first-of-type):not(:nth-of-type(2)):before {
				content: "|";
				margin-right: 5px;
				margin-left: -9px;
				display: inline-block;
			}
		}
	}
    & #plp-item-sidebar .group:has(a[name="Inventory"]) {
        & .plp-item-table td.plp-table-name {
            width: 50%;
        }
        & .plp-table-value {
            text-align: center;
            & .plp-spec-value {
                float: none;
            }
        }
        & h2 {
            text-align: left;
        }
    }
    & .group:has(a[name="Discounts"]) {
        & td.left {
            display: none;
        }
        & td.plp-table-value {
            padding: 0;
            & .plp-spec-value {
                width: 100%;
                text-align: center;
                padding: 5px 0;
            }
        }
	}
    & #plp-item-sidebar .group {
        margin-bottom: 10px;
    }
}
/* Hiding image name on Item Detail */
#largeimageDescriptions {
	display: none;
}

/* Custom Status Notice Styles, used in descriptions */
.special-status-notice {
    display: block;
    padding: 10px;
    margin: 10px;
    border: 1px solid;
    border-radius: 5px;
    &.blue {
        background: #c0e1f2;
        border-color: #c0e1f2;
    }
    &.yellow {
        background: #f9f1ca;
        border-color: #f9f1ca;
    }
    &.red {
        background: #f1dcdb;
        border-color: #f1dcdb;
    }
}

/* Styles for pricing table */
.pricing-structure {
    border-collapse: collapse;
    width: 100%;
    & thead tr {
        font-weight: bold;

    }
    & td:last-of-type {
        text-align: center;
    }
}

/* hiding thumbnail view */
#thumbnailView {
    display: none !important;
}
/* CAD Footer Note */
#plp-container.iframePageSize ~ .cad_footer {
    margin-top: 25px;
}
.cad_footer {
    margin-top: 10px;
    padding: 5px 10px;
    font-size: small;
    & p {
        margin: 0;
    }
}

.plp-action-bar .plp-pageRange, .plp-action-bar .plp-unitOfMeasure {
    border-radius: 3px;
}

#image a {
    border-top-left-radius: 6px;
    border-bottom-left-radius: 6px;
}

#\33 d a {
	border-top-right-radius: 6px;
	border-bottom-right-radius:6px;
}

select#plp-downloadList {
    border-radius: 5px!important;
}

header#site-header .form-control {
	border-radius: 5px;
}

.ui-dialog.ui-widget-content.cad-fixed-popup{
	z-index:1001;
}
#plp-yourInfo > img {
  display: none;	
}


/* ==========================================================================
#region Print Page Styles 
========================================================================== */

body[data-pagetype="PrintItemPDF"] #plp-item-page-specs .group {
  page-break-inside: avoid;
}

body[data-pagetype="PrintItemPDF"] {
  font-family: "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: #333;
  background: white;
  font-size: 14px;
  box-sizing: border-box;
  width: 100%;
  padding: 10px;
}
body[data-pagetype="PrintItemPDF"] * {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
body[data-pagetype="PrintItemPDF"] #plp-container {
  background: #fff !important;
}
body[data-pagetype="PrintItemPDF"] .plp-item-specs .ui-accordion-content {
  padding: 0;
}
body[data-pagetype="PrintItemPDF"] .print-fax,
body[data-pagetype="PrintItemPDF"] .print-website {
  display: none !important;
}
body[data-pagetype="PrintItemPDF"] #plp-item-page-specs h3 {
  margin: 0;
}
body[data-pagetype="PrintItemPDF"] h1 {
  font-size: 18px !important;
}
body[data-pagetype="PrintItemPDF"] .plp-item-table tr td {
  font-size: 13px !important;
  padding: 3px 6px;
}
body[data-pagetype="PrintItemPDF"] a,
body[data-pagetype="PrintItemPDF"] td {
  font-size: 14px !important;
}
body .print_header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 5px 15px;
  border-bottom: 2px solid #e60012;
  margin-bottom: 10px;
  background: linear-gradient(90deg, #fff 40%, #e9ecef 100%);
}
body .print_header img {
  max-height: 64px;
  width: auto;
}
body .print_header div:last-child {
  text-align: right;
  font-size: 12px;
  line-height: 1.4;
}
body .print_header strong {
  color: #e60012;
  font-size: 14px;
}
body .print_header a {
  color: #e60012;
  text-decoration: none;
}
body .print_header a:hover {
  text-decoration: underline;
}
body[data-pagetype="PrintItemPDF"] #plp-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 15px !important;
}
body[data-pagetype="PrintItemPDF"] #plp-buttonbar {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  justify-content: flex-end;
}


body[data-pagetype="PrintItemPDF"] #plp-bread-crumb {
  background: #f8f9fa !important;
  padding: 12px 16px !important;
  border-radius: 6px;
  font-size: 12px;
  margin-bottom: 20px;
  float: initial;
}
body[data-pagetype="PrintItemPDF"] #plp-bread-crumb + .plp-page-spacer12 {
  display: none;
}
body[data-pagetype="PrintItemPDF"] #plp-bread-crumb a {
  color: #e60012;
  text-decoration: none;
}
body[data-pagetype="PrintItemPDF"] #plp-bread-crumb a:hover {
  text-decoration: underline;
}
body[data-pagetype="PrintItemPDF"] #plp-product-title h1 {
  font-size: 18px !important;
  color: #e60012;
  margin-bottom: 10px;
  line-height: 1.3;
  font-weight: 600;
}
body[data-pagetype="PrintItemPDF"] #plp-item-description-with-image {
  display: grid;
  grid-template-columns: 1fr 300px;
  gap: 30px;
  margin-bottom: 10px;
  padding: 10px 15px;
  background: #f8f9fa;
  border-radius: 8px;
  border: 1px solid #e9ecef;
}
body[data-pagetype="PrintItemPDF"]
  #plp-item-description-with-image
  + .plp-page-spacer12 {
  display: none;
}
body[data-pagetype="PrintItemPDF"] .plp-item-description {
  font-size: 14px;
}
body[data-pagetype="PrintItemPDF"] .plp-item-description b {
  color: #e60012;
  font-size: 16px;
  display: block;
  margin-bottom: 8px;
}
body[data-pagetype="PrintItemPDF"] .plp-item-description ul {
  margin-left: 20px;
  margin-bottom: 15px;
}
body[data-pagetype="PrintItemPDF"] .plp-item-description li {
  margin-bottom: 5px;
  color: #555;
}
body[data-pagetype="PrintItemPDF"] .plp-item-page-image-viewer {
  display: flex;
  justify-content: center;
  align-items: center;
}
#plp-description-with-image, #plp-item-description-with-image {
  & .plp-print-image-container {
    background: white;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border: 1px solid #e9ecef;
  } 
  & .plp-print-image-container img {
    max-width: 100%;
    height: auto;
    display: block;
  }
}
body[data-pagetype="PrintItemPDF"] #plp-item-table-anchors {
  text-align: center;
  margin-bottom: 20px;
  padding: 10px;
  background: #e9ecef;
  border-radius: 6px;
  display: none;
}
body[data-pagetype="PrintItemPDF"] #plp-item-table-anchors a {
  color: #e60012;
  text-decoration: none;
  font-weight: 600;
  margin: 0 10px;
}
body[data-pagetype="PrintItemPDF"] #plp-item-table-anchors a:hover {
  text-decoration: underline;
}
body[data-pagetype="PrintItemPDF"] .group .ui-accordion-header {
  background: none !important;
  color: #e60012 !important;
  padding: 15px 0 10px 0;
  margin-bottom: 0 !important;
  border: none !important;
  border-bottom: 2px solid #e60012 !important;
  font-size: 22px;
  font-weight: 600;
  cursor: default;
  display: block;
  pointer-events: none;
}
body[data-pagetype="PrintItemPDF"] .ui-accordion-header:hover {
  background: none;
}
body[data-pagetype="PrintItemPDF"] .ui-icon {
  display: none;
}
body[data-pagetype="PrintItemPDF"] .ui-accordion-content {
  background: white;
  border: none;
  margin-bottom: 15px;
  margin-top: 10px !important;
  border-radius: 0;
}
body[data-pagetype="PrintItemPDF"] .group:first-child .ui-accordion-content {
  display: grid;
  grid-template-columns: 1fr 350px;
  gap: 30px;
  align-items: start;
}
body[data-pagetype="PrintItemPDF"] .plp-item-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  border: 0px solid #e9ecef;
  border-radius: 0px !important;
  overflow: hidden;
}
body[data-pagetype="PrintItemPDF"] .plp-item-table td {
  padding: 6px 10px !important;
  border-bottom: 1px solid #e9ecef;
  vertical-align: top;
}
body[data-pagetype="PrintItemPDF"] .plp-item-table tr:last-child td {
  border-bottom: none;
}
body[data-pagetype="PrintItemPDF"] .plp-table-name {
  background: #f8f9fa;
  font-weight: 600;
  width: 40%;
  border-right: 1px solid #e9ecef;
}
body[data-pagetype="PrintItemPDF"] .plp-table-name h2 {
  font-size: 14px !important;
  color: #000;
  margin: 0 !important;
}
body[data-pagetype="PrintItemPDF"] .plp-table-value {
  background: white;
  width: 60%;
}
body[data-pagetype="PrintItemPDF"] .plp-oddrow {
  background: #f8f9fa !important;
}
body[data-pagetype="PrintItemPDF"] .tech-specs-table-wrapper {
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
}
body[data-pagetype="PrintItemPDF"] .dimension-image-container {
  background: white;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border: 1px solid #e9ecef;
  text-align: center;
  align-self: start;
  position: sticky;
  top: 20px;
}
body[data-pagetype="PrintItemPDF"] .dimension-image-container img {
  max-width: 100%;
  height: auto;
  border-radius: 4px;
}
body[data-pagetype="PrintItemPDF"] .dimension-image-container br + text {
  font-size: 12px;
  color: #666;
  font-style: italic;
}
body[data-pagetype="PrintItemPDF"] .plp-item-table tr:has(.plp-attr-value-img) {
  display: none !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table {
  border: none;
  background: none;
  /* BOM Table - Match Technical Specs Style */
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  > tbody
  > tr
  > td {
  padding: 0px !important;
  border: 1px solid #e9ecef;
  border-radius: 10px;
  overflow: hidden;
  display: block;
  width: 100%;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table {
  width: 100%;
  margin-top: 0px;
  border-collapse: collapse;
  font-size: 14px;
  border: 0px solid #e9ecef;
  border-radius: 6px;
  overflow: hidden;
  background: white;
  /* Alternate row styling to match tech specs */
  /* Part number column - special styling */
  /* Quantity column - centered */
  /* Description column */
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  .plp-oddrow {
  background: inherit !important;
  color: inherit !important;
  font-weight: inherit !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:first-child
  td {
  background: #f8f9fa !important;
  color: #2c5aa0 !important;
  font-weight: 600 !important;
  font-size: 14px !important;
  padding: 12px 16px !important;
  border-bottom: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef;
  border-top: none;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:first-child
  td:first-child {
  border-left: none;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:first-child
  td:last-child {
  border-right: none;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td {
  padding: 12px 16px !important;
  border-bottom: 1px solid #e9ecef;
  border-right: 1px solid #e9ecef !important;
  background: white !important;
  vertical-align: top;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td:first-child {
  border-left: none;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td:last-child {
  border-right: none !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:last-child
  td {
  border-bottom: none !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:nth-child(2n + 1):not(:first-child)
  td {
  background: #f8f9fa !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td:first-child {
  font-family: "Courier New", monospace;
  font-weight: 500 !important;
  color: #2c5aa0 !important;
  font-size: 13px !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr
  td:nth-child(2) {
  text-align: center;
  width: 80px;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td:nth-child(2) {
  font-weight: 600 !important;
  color: #1e3d6f !important;
}
body[data-pagetype="PrintItemPDF"]
  .group
  [name="BOM"]
  ~ .ui-accordion-content
  table.plp-item-table
  table
  tr:not(:first-child)
  td:last-child {
  color: #555 !important;
}
body[data-pagetype="PrintItemPDF"] .nodisplay {
  display: none !important;
}
body[data-pagetype="PrintItemPDF"] #plp-buttonbar {
  display: none;
}
body[data-pagetype="PrintItemPDF"] .noPrint {
  display: none;
}
body[data-pagetype="PrintItemPDF"] .fullWidth {
  width: 100%;
}
body[data-pagetype="PrintItemPDF"] .plp-clear-float {
  clear: both;
}
/* Responsive Design */
@media (max-width: 768px) {
  body[data-pagetype="PrintItemPDF"] .print_header {
    flex-direction: column;
    text-align: center;
    gap: 15px;
  }
  body[data-pagetype="PrintItemPDF"] #plp-item-description-with-image {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body[data-pagetype="PrintItemPDF"] .plp-item-page-image-viewer {
    order: -1;
  }
  body[data-pagetype="PrintItemPDF"] .group:first-child .ui-accordion-content {
    grid-template-columns: 1fr;
    gap: 20px;
  }
  body[data-pagetype="PrintItemPDF"] .dimension-image-container {
    position: static;
  }
  body[data-pagetype="PrintItemPDF"] .plp-table-name,
  body[data-pagetype="PrintItemPDF"] .plp-table-value {
    width: 100%;
    display: block;
  }
  body[data-pagetype="PrintItemPDF"] .plp-table-name {
    border-right: none;
    border-bottom: none;
    padding-bottom: 5px;
  }
  body[data-pagetype="PrintItemPDF"] .plp-table-value {
    padding-top: 5px;
  }
}
/* --------------------------------------------------------------------------
#endregion
-------------------------------------------------------------------------- */
