html{
	font-family:Heebo,Roboto,"Helvetica Neue", "Arial", "sans-serif";
		src: url('roboto.eot'); /* IE9 Compat Modes */
		src: url('roboto.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
		url('roboto.woff') format('woff'), /* Modern Browsers */
		url('roboto.ttf')  format('truetype'), /* Safari, Android, iOS */
		url('roboto.svg#svgFontName') format('svg'); /* Legacy iOS */
}
.ms-header__container .ms-header__topbar .ms-header__logo {
    margin: 0;
    width: 232px;
}

.ms-header__container .ms-header__topbar .ms-header__logo img {
    height: 55px;
    /* min-height: 20px; */
    min-width: 90px;
    width: auto;
    max-width: none;
    margin: auto;
}

.ms-header__container .ms-header__topbar .msc-cart-icon__count {
    background-color: #5b8f22;
    color: #5b8f22;
}

.ms-search__form-control {
    border: none;
}

.ms-carousel.home-landing-information--carousel {
    background-color: #ffffff;
    height: 100%;
    padding: 40px 20px 40px 40px;
}

.ms-carousel.home-landing-information--carousel .msc-carousel.slide {
    height: 100%;
    align-items: normal;
}

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=left-right] *+.ms-content-block__cta {
    margin-top: 28px;
    width: 100%;
    text-align: center;
}

.home-two-col-banner-container {
    /* height: calc(700px - 120px); */
    height: 700px;
}
/* .home-two-col-banner-container .row {
    height: 100%;
}
.home-two-col-banner-container .col-6 {
    height: 100%;
} */

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=left-right] .ms-content-block__cta .msc-cta__primary {
    align-items: center;
    background: var(--msv-primary-btn-dark-bg-color);
    border: 1px solid var(--msv-primary-btn-dark-border-color);
    border-radius: 100px;
    box-sizing: border-box;
    color: var(--msv-primary-btn-dark-font-color);
    cursor: pointer;
    display: inline-flex;
    flex-direction: row;
    font-family: Heebo, Roboto, Helvetica Neue;
    font-size: 14px;
    font-style: normal;
    font-weight: 400;
    height: 44px;
    justify-content: center;
    letter-spacing: .1em;
    line-height: 20px;
    min-width: 165px;
    outline: none;
    overflow: hidden;
    padding: 12px 48px;
    pointer-events: auto;
    position: relative;
    text-align: center;
    text-transform: uppercase;
}

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=left-right] .ms-content-block__title {
    color: white;
    text-transform: uppercase;
}

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=left-right] .ms-content-block__text {
    color: white;
}

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=full-width-b2b] .ms-content-block__details, .ms-content-block[data-m-layout=full-width-b2b].textplacement__left .ms-content-block__details {
    margin: 0;
    align-items: center;
    place-content: center;
}

.ms-carousel.home-landing-information--carousel .ms-content-block[data-m-layout=full-width-b2b] .ms-content-block__details, .ms-content-block[data-m-layout=full-width-b2b].textplacement__left .ms-content-block__details .ms-content-block__title {
    font-size: 30px;
    text-align: center;
}

.ms-promo-banner__content {
	background-color:rgba(0,0,0,.1);
}

.ms-promo-banner__carousel msc-carousel {
	align-items: center;
	height:;
}

.green-hero-container {
    background-color: #ffffff;
	max-height: 585;
}

.green-hero-container .row {
    align-items: center;
}

.green-hero-container .row h2{
    color: white;
}

.ms-content-block.sds-content {
    margin-bottom: 20px;
}

.ms-content-block.sds-content .ms-content-block__details {
    display: flex;
}

.ms-content-block.sds-content .ms-content-block__details .ms-content-block__text {
    flex: 3;
    align-self: center;
}

.ms-content-block.sds-content .ms-content-block__details .ms-content-block__cta {
    flex: 1;
    display: flex;
    justify-content: right;
    margin-top: 0!important;
}

ul.ms-footer__list.ms-footer-divider {
    border-top: 1px #363534 solid;
    line-height: 0;
    margin-bottom: 30px;
}

.footer-logo-container .footer-logo-container-content img {
    height: 140px!important;
    object-fit: contain;
    margin-bottom: 60px;
}

ul.ms-footer__list.ms-footer-links {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
}

ul.ms-footer__list.ms-footer-links :not(:last-child) {
    margin-right: 30px;
}

li.ms-footer__list-item.ms-footer-links a.ms-footer__link{
    text-transform: uppercase;
    font-family: Heebo, Roboto, "Helvetica Neue", "Arial", "sans-serif"!important;
    font-weight: bold!important;
    font-size: 16px!important;
}

li.ms-footer__list-item.ms-footer-links a.ms-footer__link:hover{
    text-decoration: auto;
    opacity: 0.7;
}

ul.ms-footer__list.ms-footer-social-media {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

ul.ms-footer__list.ms-footer-social-media :not(:last-child) {
    margin-right: 20px;
}

li.ms-footer__list-item.ms-footer-social-media a.ms-footer__link {
    line-height: 0;
    font-size: 0;
}

li.ms-footer__list-item.ms-footer-social-media a.ms-footer__link img, li.ms-footer__list-item.ms-footer-social-media a.ms-footer__link picture {
    height: 40px;
    width: 40px;
}

li.ms-footer__list-item.ms-footer-social-media a.ms-footer__link:hover {
    opacity: 0.7;
}

.mpc-text-block-link a {
    text-decoration: none;
    color: #5B8F22;
}

.mpc-text-block-link a:hover{
    text-decoration: underline;
    opacity: 0.7;
}

.msc-autoSuggest__keywordResults-item :hover {
    background-color: white;
}

.msc-autoSuggest__productResults-item :hover {
    background-color: white;
}

.ms-search__autoSuggest a.msc-autoSuggest__productResults-item:hover {
    background-color: white;
    box-shadow: none;
    transform: none;
    transition: none;
    opacity: 0.9;
}

.ms-search__autoSuggest a.msc-autoSuggest__productResults-item:hover .msc-autoSuggest__productResults-item-price, .ms-search__autoSuggest a.msc-autoSuggest__productResults-item:hover .msc-autoSuggest__productResults-item-text {
    background-color: white;
}

.ms-search__form-cancelSearch:before {
    color: black;
}

.ms-search__autoSuggest .ms-search__autoSuggest__keyword .msc-autoSuggest__keywordResults-items .msc-autoSuggest__keywordResults-no-results {
    color: var(--msv-body-font-color);
}

.mpc-contact-us-tile-container .mpc-contact-us-tile {
    width: 330px;
}

.mpc-contact-us-tile-container .mpc-contact-us-tile .ms-content-block__title {
    line-height: 24px;
	margin:0 auto;
    color: #5B8F22;
}

.mpc-contact-us-content-block .ms-content-block__image .msc-main_image {
    height: 400px;
}

.mpc-contact-us-content-block .ms-content-block__details {
    align-self: center;
}

.mpc-home-banner-block .ms-content-block__details {
    align-self: center;
}

.mpc-home-banner-block .ms-content-block__details .ms-content-block__text {
    line-height: 32px;
}

.mpc-home-banner-block a {
    text-decoration: none;
    color: #5B8F22;
}

.mpc-home-banner-block a:hover{
    text-decoration: underline;
    opacity: 0.7;
}

@media (max-width: 992px) {
    .ms-header__container .ms-header__topbar .ms-header__mobile-logo a {
        padding: 0;
    }
    .ms-header__container .ms-header__topbar .ms-header__mobile-logo {
        height: 62px;
        width: auto;
    }
    .ms-header__container .ms-header__topbar .ms-header__mobile-logo a img {
        height: 62px;
        width: auto;
        object-fit: contain;
    }
    .ms-header__container .ms-header__topbar .ms-search.with-submit {
        align-items: center;
    }
    ul.ms-footer__list.ms-footer-links {
        flex-wrap: wrap!important;
    }
}


@media (min-width: 992px){
    .ms-header {
        padding-bottom: 20px;
        padding-top: 20px;
    }
    .ms-header__container .ms-header__collapsible-hamburger {
        top: 88px;
    }
}

@media (max-width: 568px) {
    ul.ms-footer__list.ms-footer-links {
        flex-direction: column;
        flex-wrap: nowrap;
        align-items: center;
        margin-bottom: 10px;
    }
    ul.ms-footer__list.ms-footer-links :not(:last-child) {
        margin-right: 0;
    }
    .ms-footer .ms-footer__link {
        line-height: 32px;
    }
}

.ms-nav.ms-nav__disable-top-menu>.ms-nav__list>.ms-nav__list__item>.ms-nav__list__item__button, .ms-nav.ms-nav__disable-top-menu>.ms-nav__list>.ms-nav__list__item>.ms-nav__list__item__link, .ms-nav>.ms-nav__list, .ms-nav>.ms-nav__list>.ms-nav__list__item, .ms-nav>.ms-nav__list>.ms-nav__list__item>.ms-nav__feature, .ms-nav>.ms-nav__list>.ms-nav__list__item>.ms-nav__deafult>.ms-nav__list, .ms-nav>.ms-nav__list>.ms-nav__list__item>.ms-nav__feature>.ms-nav__list, .ms-header .msc-btn {
    background-color: transparent !important;
}

.ms-header .ms-nav.desktop-vp {
    border-top: none;
    box-shadow: 0 0.3px 0.9px rgba(0,0,0,.1), 0 1.6px 3.6px rgba(0,0,0,.13), inset 0 0.3px 0.9px rgba(0,0,0,.1), inset 0 1.6px 3.6px rgba(0,0,0,.13);
}

/* temporary fix until redeployment */
.ms-cart-icon__minicartmodal-container .mil-cart-weight-container {
	text-align: center;
	border: 1px solid #c4c4c4;
	border-radius: 10px;
}

:root {
    --msv-store-select-title-font-color: var(--msv-font-primary-color);
    --msv-store-select-distance-color: var(--msv-font-primary-color);
}

@media (max-width: 767px) {
   .ms-header__container .ms-header__topbar .ms-header__account-info {
      background-color: #ffffff !important;
   }
}

.msc-buybox__price-section-per--text {
    text-transform: capitalize;
}

.mil-cart-line__stock-status-container--holdstock {
    color: rgb(89,89,89);
    font-size: 14px;
    margin-top: 5px;
}

.mil-cart-line__stock-status-container--billhold {
    color: rgb(89,89,89);
    font-size: 14px;
    margin-top: 5px;
}

/* Remove Add to Template tooltip and invisible box on the cart page when the link is hovered */
.msc-cart-lines-item .msc-cart-lines-button-container div:has(> .msc-tooltip.show.msc-bs-tooltip-top) {
    display: none;
}
.msc-cart-lines-item .msc-cart-lines-button-container {
    .msc-bs-tooltip-top {
        display: none!important;
    }
}

.msc-cart-line__extra-actions .msc-cart-line__add-to-order-template:hover, .msc-cart-line-group__extra-actions .msc-cart-line__add-to-order-template:hover, .msc-cart-line__extra-actions .msc-cart-line__add-to-wishlist:hover, .msc-cart-line-group__extra-actions .msc-cart-line__add-to-wishlist:hover, .msc-cart-line__extra-actions .msc-cart-line__remove-item:hover, .msc-cart-line-group__extra-actions .msc-cart-line__remove-item:hover {
    opacity: 0.8;
}

.b2bsignin .signin-container .ms-sign-in {
    bottom: 90px!important;
}

.b2bsignin .b2bsignin-hero-banner .ms-content-block__details {
    background-color: rgba(0,0,0,0.5)!important;
}

.b2bsignin .b2bsignin-hero-banner, .b2bsignin .b2bsignin-hero-banner .ms-content-block__image, .b2bsignin .b2bsignin-hero-banner .ms-content-block__image img {
    object-fit: cover!important;
}

.ms-buybox__inventory-list-container--quantity {
    font-weight: 700!important;
}

.b2bsignup .signup-container .ms-text-block {
	color: #2c262d!important;
    font-family: Heebo, Roboto, "Helvetica Neue", "Arial", "sans-serif"!important;
    font-size: var(--msv-h1-font-size-s)!important;
    font-style: normal!important;
    font-weight: 700!important;
    line-height: var(--msv-h1-line-height-s)!important;
    margin-bottom: 28px!important;
}

.b2bsignup .b2bsignup-hero-banner, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image img {
    object-fit: cover!important;
	height: 825px!important;
}

.b2bsignup .b2bsignup-hero-banner .ms-content-block__details {
    background-color: rgba(0,0,0,0.5) !important;
    padding-bottom: 80px!important;
    padding-left: 80px!important;
    padding-top: 80px!important;
    display: block!important;
    height: 70%!important;
    margin: 120px 0!important;
    opacity: .8!important;
    width: 100%!important;
}

.b2bsignup .ms-content-block__text, .b2bsignup .ms-content-block__title {
    max-width: 498px!important;
}

.b2bsignup .ms-content-block__title {
    font-size: 32px!important;
	line-height: 42px!important;
}

.b2bsignup-button {
    bottom: 190px !important;
    position: absolute;
    right: 80px;
    width: 500px!important;
    z-index: 1!important;
    background-color: #fff!important;
    border-radius: 10px!important;
	padding: 50px!important;
	height: 450px!important;
}

.b2bsignup-button .ms-content-block__details .ms-content-block__text {
	margin-top: 30px!important;
	font-size: 14px!important;
}
.b2bsignup-button .ms-content-block__details .ms-content-block__text .sign-up-disclaimer {
	font-size: 12px!important;
}

/* .b2bsignup-button .ms-content-block__details .ms-content-block__text a { */
	/* margin-top: 50px!important; */
	/* font-size: 14px!important; */
/* } */

.b2bsignup-button.ms-content-block[data-m-layout=tile] .msc-cta__primary:before {
    border-radius: 0!important;
    border: none!important;
    bottom: 0!important;
    height: 0!important;
    transition: none!important;
}

.b2bsignup-button.ms-content-block[data-m-layout=tile] .msc-cta__primary {
    text-decoration: none!important;
    align-items: center!important;
    background: var(--msv-primary-btn-light-bg-color)!important;
    border: 1px solid var(--msv-primary-btn-light-border-color)!important;
    border-radius: 100px!important;
    box-sizing: border-box!important;
    color: var(--msv-primary-btn-light-font-color)!important;
    cursor: pointer!important;
    display: inline-flex!important;
    flex-direction: row!important;
    font-family: Heebo, Roboto, "Helvetica Neue", "Arial", "sans-serif"!important;
    font-size: 14px!important;
    font-style: normal!important;
    font-weight: 400!important;
    height: 44px!important;
    justify-content: center!important;
    letter-spacing: .1em!important;
    line-height: 20px!important;
    min-width: 165px!important;
    outline: none!important;
    overflow: hidden!important;
    padding: 12px 48px!important;
    position: relative!important;
    text-align: center!important;
    text-transform: uppercase!important;
    width: 100%!important;
}

.b2bsignup-button.ms-content-block[data-m-layout=tile] .msc-cta__primary:hover {
    background-color: var(--msv-primary-btn-light-hover-bg-color)!important;
    box-shadow: 0 .6px 1.8px rgba(0,0,0,.1),0 3.2px 7.2px rgba(0,0,0,.13)!important;
}

@media (min-width: 1080px) and (max-width: 1366px) {
	.b2bsignup-button {
		right: 50px;
		width: 400px !important;
		height: 410px !important;
		bottom: 210px !important;
		padding: 30px !important;
	}
	.b2bsignup .ms-content-block__title {
		max-width: 410px!important;
	}
}
@media (min-width: 993px) and (max-width: 1080px) {
	.b2bsignup-button {
		right: 50px;
		width: 350px !important;
		height: 470px !important;
		bottom: 175px !important;
		padding: 30px !important;
	}
	.b2bsignup .b2bsignup-hero-banner .ms-content-block__details {
		padding-bottom: 60px!important;
		padding-left: 60px!important;
		padding-top: 60px!important;
	}
	.b2bsignup .ms-content-block__title {
		max-width: 385px!important;
	}
}

@media (min-width: 769px) and (max-width: 992px) {
	.b2bsignup .b2bsignup-hero-banner, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image img {
		height: 700px!important;
	}
	.b2bsignup .b2bsignup-hero-banner .ms-content-block__details {
		position: absolute !important;
		top: 0 !important;
		margin: 0 !important;
		padding: 30px 40px !important;
		height: 100% !important;
	}
	.b2bsignup .ms-content-block__text, .b2bsignup .ms-content-block__title {
		max-width: 100%!important;
	}
	.b2bsignup-button {
		bottom: 30px!important;
		height: 330px !important;
		margin: 0px !important;
		padding: 30px !important;
		width: 90% !important;
		right: initial;
		margin-left: 5%!important;
	}
	/* .b2bsignup-button .ms-content-block__details .ms-content-block__text { */
		/* margin-top: 50px!important; */
	/* } */
}

@media (max-width: 768px) {
	.b2bsignup .b2bsignup-hero-banner, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image, .b2bsignup .b2bsignup-hero-banner .ms-content-block__image img {
		height: 825px!important;
	}

	.b2bsignup .b2bsignup-hero-banner .ms-content-block__details {
		padding: 20px !important;
		position: absolute !important;
		top: 0 !important;
		margin: 0 !important;
	}
	.b2bsignup .ms-content-block__title {
		font-size: 22px!important;
		line-height: 28px!important;
	}
	.b2bsignup .ms-content-block__text {
		font-size: 14px !important;
	}
	.b2bsignup-button {
		bottom: 20px!important;
		height: 360px !important;
		margin: 0 !important;
		padding: 0 !important;
		margin-left: 5% !important;
		width: 90% !important;
		right: initial!important;
	}
	.b2bsignup-button .ms-content-block__details {
		padding: 20px !important;
	}
	.b2bsignup-button .ms-content-block__details .ms-content-block__text {
		margin-top: 10px!important;
	}
	.b2bsignup .ms-content-block__text, .b2bsignup .ms-content-block__title {
		max-width: 100%!important;
	}
}

.ms-header__container .ms-header__topbar .msc-cart-icon__count {
    display; none;
	color: #5B8F22!important;
}

.msc-notification-title {
    text-align: center;
    padding-top: 5px;
    color: #ffffff;
    padding-bottom: 5px;
}

.msc-notification-error {
    background-color: #5b8f22;
}

button.msc-notification-close {
    display: none;
}

.ms-search-result-container .ms-search-result-container__Products .ms-product-search-result__item .msc-product__image {
	height: 12vw;
}

.ms-search-result-container .ms-search-result-container__Products .ms-product-search-result__item .msc-product .msc-product__details {
	margin-top: 8px;
}

.ms-search-result-container .ms-search-result-container__Products .ms-product-search-result__item .msc-product .msc-product__details h5:nth-of-type(3) {
	font-size: small;
}

.critical.display-none{
	display:none;
}

.home-half-hero-banner {
	max-height: 585px;
	min-width: auto;
	margin: 0 auto;
}

.home-half-hero-banner .item {
	max-height: 585px;
	min-width: auto;
	margin: 0 auto;
}

/* Hide the Seller radio button and its label */
#ProspectType-seller,
#ProspectType-seller + label {
    display: none;
}


/*Order History*/
.ms-order-history-with-search-and-filters__header ms-order-history-with-search-and-filters-header{
	margin: 10px;
	padding: 10px;
}

.ms-order-history-with-search-and-filters-header__heading {
	margin: 10px;
	padding: 10px;
}

.ms-order-history-with-search-and-filters-header__order-count {
	margin: 10px;
	padding: 10px;
}

/*Order History Search*/
/* Style for the search bar container */
.ms-order-history-with-search-and-filters__search-bar.msc-search-bar {
  display: flex;
  align-items: center; 
  justify-content: flex-start; /* Align the items to the left */
  gap: 10px; 
  padding: 10px; 
  background-color: #fff;
  border: 1px solid #ccc; 
  border-radius: 5px; 
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

/* Style for the search options dropdown */
.msc-search-bar__search-options {
  padding: 8px 12px;
  font-size: 14px; 
  border: 1px solid #ccc; 
  border-radius: 5px; 
  background-color: #fff; 
  color: #333; 
  cursor: pointer;
  appearance: none; 
  width: 180px; 
}

/* Style for the selected search option */
.msc-search-bar__search-option-selected {
  font-weight: bold; 
  color: #5B8F22;
}

/* Style for the text input field */
.msc-search-bar__search-text {
  padding: 8px 12px; /* Padding inside the input */
  font-size: 14px; /* Adjust the font size */
  border: 1px solid #ccc; /* Light border */
  border-radius: 5px; /* Rounded corners */
  width: 250px; /* Set a fixed width for the input field */
  box-sizing: border-box; /* Ensure padding is included in the width */
}

/* Style for the search button */
.msc-search-bar__search-button {
  background-color: #5B8F22;
  color: #fff;
  border: none; 
  border-radius: 5px;
  padding: 8px 16px; 
  cursor: pointer;
  font-size: 14px; 
  transition: background-color 0.3s ease;
}

/* Button hover effect */
.msc-search-bar__search-button:hover {
  background-color: #fff; 
}

/* Focused styles for accessibility */
.msc-search-bar__search-options:focus,
.msc-search-bar__search-text:focus,
.msc-search-bar__search-button:focus {
  outline: 2px solid #5B8F22; 
}

/* Placeholder text style for the input field */
.msc-search-bar__search-text::placeholder {
  color: #aaa;
  font-style: italic;
}

/*Order History Filters*/
/* General Styling for the Refiner */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner {
  background-color: #fff; /* White background */
  border: 1px solid #ccc;
  border-radius: 5px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  padding: 15px;
  margin-bottom: 20px; 
  max-width: 400px;
}

/* Styling for the Refiner Header */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-header {
  display: flex;
  justify-content: space-between;
  align-items: right;
  margin-bottom: 10px; 
}

/* Toggle Button */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-toggle__toggle_collapsed {
  background-color: #5B8F22; 
  color: #fff; 
  border: none; 
  border-radius: 5px;
  padding: 8px 15px; 
  font-size: 14px; 
  cursor: pointer; 
  transition: background-color 0.3s ease;
}

/* Toggle Button Hover Effect */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-toggle__toggle_collapsed:hover {
  background-color: #5B8F22;
}

/* Wrapper for the Choice Summary */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-header__wrapper-choice-summary {
  flex-grow: 1;
  margin-left: 20px;
}

/* Summary of selected choices */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-choice-summary {
  font-size: 14px;
  color: #555;
}

/* Hide the choice summary list initially */
.ms-order-history-with-search-and-filters.Order-History .msc-refiner-choice-summary__list {
  list-style-type: none;
  margin: 0;
  padding: 0;
}

/* Wrapper for "More Actions" */
.ms-order-history-with-s


/*Order History Line items*/

/* General styling */
.ms-order-history-with-search-and-filters__sales-order-list {
  font-family: Arial, sans-serif;
  background-color: #f9f9f9;
  padding: 20px;
  border-radius: 8px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
  margin-bottom: 20px;
}

.ms-order-history-with-search-and-filters-order-list__sales-order {
  background-color: #ffffff;
  padding: 15px;
  border-radius: 8px;
  border:solid 2px;
  margin-bottom: 20px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

/* Order information */
.ms-order-history-with-search-and-filters-order-list__order-information {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.ms-order-history-with-search-and-filters-order-list__sales-order-placed-by {
  font-weight: bold;
  font-size: 16px;
  color: black;
}

.ms-order-history-with-search-and-filters-order-list__order-information-channel-name,
.ms-order-history-with-search-and-filters-order-list__order-information-count,
.ms-order-history-with-search-and-filters-order-list__order-information-sales-id,
.ms-order-history-with-search-and-filters-order-list__order-information-created-date {
  font-size: 14px;
  color: black;
}

.ms-order-history-with-search-and-filters-order-list__order-information-amount {
  font-size: 18px;
  color: #5b8f22;
  font-weight: bold;
}

.ms-order-history-with-search-and-filters-order-list__order-information-channel-reference-id {
  font-size: 14px;
  color: black;
}

/* Group styling for delivery information */
.ms-order-history-with-search-and-filters-order-list__groups {
  margin-top: 20px;
}

.ms-order-history-with-search-and-filters-order-list__group-delivery {
  padding: 15px;
  background-color: #f4f4f4;
  border-radius: 8px;
  margin-bottom: 15px;
}

.ms-order-history-with-search-and-filters-order-list__group-delivery-heading {
  font-weight: bold;
  color: #444;
}

.ms-order-history-with-search-and-filters-order-list__devliery-type {
  font-weight: bold;
  color: #5b8f22;
}

.ms-order-history-with-search-and-filters-order-list__group-delivery-total-items {
  font-size: 14px;
  color: #333;
}

.ms-order-history-with-search-and-filters-order-list__group-delivery-processing-label {
  font-size: 14px;
  color: #5B8F22;
  font-weight: bold;
}

.ms-order-history-with-search-and-filters-order-list__address {
  margin-top: 10px;
}

.ms-order-history-with-search-and-filters-order-list__address-header {
  font-weight: bold;
  color: #444;
}

.ms-order-history-with-search-and-filters-order-list__address-name {
  font-size: 14px;
  color: #555;
}

.ms-order-history-with-search-and-filters-order-list__address-full-address {
  font-size: 14px;
  color: #666;
  line-height: 1.5;
}

/* Sales status*/
.ms-order-history-with-search-and-filters-order-list__sales-status {
  background-color: #5b8f22;
  padding: 5px 10px;
  border-radius: 4px;
  color: white;
  font-weight: bold;
}

/* Highlighting important information (Order Placed By, Amount, etc.) */
.bolded {
  font-weight: bold;
  color: #000;
}

.msc-price__actual {
  font-size: 18px;
  font-weight: bold;
}

/* Style for the image container to display images in a row */
.ms-order-history-with-search-and-filters-order-list__sales-lines {
  display: flex;
  flex-wrap: wrap;
  gap: 10px; 
}

.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-image-container {
  display: flex; 
  justify-content: center; 
  align-items: center; 
}

.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-loading_image,
.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-thumbnail_image,
.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-main_image {
  width: 200px; 
  height: 200px; 
  overflow: hidden; 
}

/* Style for the images themselves */
.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-loading_image img,
.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-thumbnail_image img,
.ms-order-history-with-search-and-filters-order-list__sales-line-picture .msc-main_image img {
  width: 100%; 
  height: 100%; 
  object-fit: cover; 
}





/*Order History Return Button and Error message*/
.ms-order-history-with-search-and-filters__alert {
	display: flex;
    justify-content: center;
    align-items: center;
	margin:50px;
	padding:50px;
	
}

.ms-order-history-with-search-and-filters__btn-keep-shopping msc-btn {
	display: none;
}







/* Hide Promos */
.ms-cart .msc-order-summary__checkout .msc-promo-code-heading {
	display: none;
	padding: 30px 0 25px 31px;
}

/* Hide Promos */
.ms-cart .msc-order-summary__checkout .msc-promo-code__form-container .msc-promo-code__group {
	padding: 28px 31px 0 32px;
	display: none;
}


/* Hide add to template */
.ms-cart .msc-cart-line__add-to-order-template {
	display: none;
}

/* Hide total discounts in cart*/
.ms-checkout__side .msc-order-summary-wrapper .msc-order-summary__items .msc-order-summary__line-total-discounts {
	order: 3;
	display: none;
}

/* Add background to Manage Organization Users Action buttons */
.ms-business-organization-list__table .ms-table__row-links-delete, .ms-business-organization-list__table .ms-table__row-links-edit, .ms-business-organization-list__table .ms-table__row-links-view {
    background: dimgrey;
}

.ms-checkout-shipping-address__group-images-lines-line-quantity {
    border-radius: 0%;
    width: 95%;
}


/* Quick Order Page, not for Checkout*/
.ms-quick-order.quick-order-page .drawer {
  display: block !important; 
}

.ms-quick-order.quick-order-page .drawer__button {
  pointer-events: none;
  background-color: #f0f0f0; 
}

.ms-quick-order.quick-order-page .drawer__button[aria-expanded="false"] {
  aria-expanded: true; 
}

.ms-quick-order.quick-order-page .collapse {
  display: block !important; 
}

.ms-quick-order.quick-order-page .ms-quick-order__content {
  visibility: visible !important; 
}

.ms-quick-order.quick-order-page .ms-quick-order__content-form-main {
  display: block !important;
}



/* Inventory Display*/
.ms-buybox__inventory-list-container {
            max-width: 400px;
            margin: 20px auto;
            padding: 15px;
            border: 1px solid #ccc;
            border-radius: 8px;
            background: #f9f9f9;
            font-family: Arial, sans-serif;
        }

        .ms-buybox__inventory-list-container--label {
            font-size: 18px;
            font-weight: bold;
            margin-bottom: 10px;
            padding-bottom: 8px;
            border-bottom: 2px solid #ddd;
        }

        .ms-buybox__inventory-list-container--quantity {
            color: #5b8f22; /* Green for emphasis */
            font-weight: bold;
        }

        .ms-buybox__inventory-list-container--row {
            padding: 4px 10px;
            font-size: 16px;
            border-radius: 4px;
        }

        .ms-buybox__inventory-list-container--row:nth-child(odd) {
            background: #ffffff;
        }

        .ms-buybox__inventory-list-container--row:nth-child(even) {
            background: #f1f1f1;
        }

        .ms-buybox__inventory-list-container--row:last-child {
            border-bottom: none;
        }
/* Inventory Display end*/

/* Quick order modal */
.msc-modal__backdrop {
    display: none !important;
}

.msc-modal {
    pointer-events: none;
}

.msc-modal__content {
    pointer-events: auto;
}

.ms-quick-order__content-form-main {
    display: flex;
    align-items: center; /* Aligns inputs vertically */
    gap: 15px; /* Adds space between elements */
    flex-wrap: wrap; /* Ensures responsiveness */
}

.ms-quick-order__content-form-main-product,
.ms-quick-order__content-form-main-quantity {
    display: flex;
    flex-direction: column; /* Keeps label above input */
    flex: 1; /* Makes both fields flexible */
    min-width: 200px; /* Prevents excessive shrinking */
}

.ms-quick-order__content-form-main-product-input,
.ms-quick-order__content-form-main-quantity-input {
    width: 100%; /* Ensures inputs take full width */
    padding: 8px;
    font-size: 16px;
}

.ms-quick-order__content-form-main-addtocart {
    flex: 0 0 auto;
    margin-left: auto; /* Pushes button to the right */
}

/* Ensure responsiveness */
@media (max-width: 600px) {
    .ms-quick-order__content-form-main {
        flex-direction: column; /* Stack elements on smaller screens */
    }

    .ms-quick-order__content-form-main-addtocart {
        width: 100%; /* Full width button on small screens */
        text-align: center;
    }
}