/*				  */
/*  Custom Styles */
/*				  */


.amsearch-autocomplete-image {
	width: 30%;
}

#minicart > div.mini-cart-heading.dropdown-heading.skip-link.skip-cart.action.showcart.counter-over- > span > span.label {
	color: #000 !important;
}
/* Tool Tip */
.jrtooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted #333;
}

.jrtooltip .jrtooltiptext {
  visibility: hidden;
  width: 200px;
  background-color: #EDEDED;
  color: #333;
  text-align: center;
  border-radius: 6px;
  padding: 7px;

  /* Position the tooltip */
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -100px; /* Use half of the width (200/2 = 100), to center the tooltip */
  z-index: 1;

  /* Fade-in animation */ 
  opacity: 0;
  transition: opacity 0.5s;
}

.jrtooltip:hover .jrtooltiptext {
  visibility: visible;
  opacity: 1;
}

.jrtooltip .jrtooltiptext::after {
  content: " ";
  position: absolute;
  bottom: 100%;  /* At the top of the tooltip */
  left: 50%;
  margin-left: -7px;
  border-width: 7px;
  border-style: solid;
  border-color: transparent transparent #EDEDED transparent;
}
/* End of Tooltip */ 

.amcheckout-step-container { /* Checkout shipping options */
	font-size: 14px;
}

.timing { float: left; } /* Showroom Open / Closed */

.fotorama__caption {
	display:none; 
}
div.checkout-sucess > div.actions-toolbar { float: right; }

.login-container .fieldset>.field>.control {
	max-width: 70%;
}


.jr-columns {
	columns: 3;
}

@media only screen and (min-width: 600px) {
	.jr-columns {
		columns: 4;
	}
}


#hdmx__contact-popup > div > form > button > span:hover { color: #999; }

#hdmx__contact-popup > div {
	border: 2px solid #1D9519;
	border-radius: 5px;
}

h1.page-title { color: red; }

.jr-shadow {
	border: 1px solid lightgrey;
	box-shadow: 3px 3px 6px #3333333d;
}

/* Product page */
button#product-addtocart-button { margin-bottom: 15px; }
img.amstockstatus_icon { padding-right: 5px; }

/* Shipbar */
.amasty-shipbar.container {
	display: block;
}
.amasty-shipbar .content {
	padding: 10px 60px;
}
.amasty-shipbar-car .amshipbar-mobile {
	width: 45px;
}

.display-flex {
	display: flex;
	flex-wrap: wrap;

}
/* End of Shipbar */

.display-flex > [class*='col-'] {
	display: flex;
	flex-direction: column;
	justify-content: center;
	text-align: center;
}

@media only screen and (min-width: 1710px) { /* Position categorys to the left on desktop */
	.header-container .right-column .nav-holders-wrapper, .header-container .right-column .navi {
		float: none;
	}
	.mst-searchautocomplete__autocomplete { min-width: 40rem; }
}

div.logo-wrapper { text-align: center; } /* Main logo */

/* .main.container { padding-top: 6px !important; } /* Homepage sliders */

.showroom-open {
	color: #000;
	padding: 5px;
	background-color: #fff;
	border-left: 10px solid #31ef2b;
}
.showroom-closed {	
	color: #000;
	padding: 5px;
	background-color: #fff;
	border-left: 10px solid red;
}

@media only screen and (min-width: 991px) {
	.tel-info {
		text-align: right;
	}
}

.tel-info {
	font-size: 16px;
	text-align: center;
	min-width: 400px;
	margin: 5px auto;
}

.tel-info a {
	font-size: 19px;
	font-weight: bold;
	display: inline-block;
}

@media only screen and (max-width: 1500px) {
	.tel-info { font-size: 14px; min-width: unset; }
	.tel-info a { font-size: 17px }
}

#search { 
	border: 1px solid #1C9519; 
	max-width: 400px; 
	box-shadow: 3px 3px 6px #3333333d; 
	margin-bottom: 15px;
}

.cart-summary { border: 1px solid #ababab; } /* Shopping Cart */

#cart-sidebar-reorder > li > strong { display: inline; } /* Recently ordered items */

.center {
	margin: 0 auto;
	width: 80%;
}

/* Search */
.block-search {
	z-index: 800;
}

/* Brand slider */
#amslider_id1 { max-width: 1550px !important; }
.swiper-button-next, .swiper-button-prev { z-index: 1; }

/* Delivery Table */
.deliveryTable {
	min-width: 270px;
	max-width: 800px;
	background-color: #1d9519;
	color: #fff;
	margin-bottom: 10px;
}
.deliveryTable caption {
	position: relative;
	height: auto;
	width: auto;
	margin: unset;
	padding: 5px 10px;
	color: #fff;
	background-color: #1d9519;
	font-weight: bold;
	text-transform: uppercase;
}
.deliveryTable th {
	padding: 5px 10px;
}
.deliveryTable td {
	max-width: 300px;
	padding: 8px 10px;
	text-align: left;
	vertical-align: middle;
}
.deliveryTable th, .deliveryTable td {
	border-bottom: 1px solid lightgrey;
}
.deliveryTable td a {
	color: #fff;
}
.deliveryTable td a:hover {
	text-decoration: underline;
}
/* End of Delivery Table */

.google-maps {

	position: relative;
	padding-bottom: 25%; /* This is the aspect ratio */
	height: 0;
	overflow: hidden;
}
.google-maps iframe {

	position: absolute;
	top: 0;
	left: 0;
	width: 100% !important;
	height: 100% !important;
}

/* Collection rate table */
.tg  {border-collapse:collapse;border-spacing:0;border-color:#ccc;max-width: 500px;}
.tg td{font-family:Arial, sans-serif;font-size:14px;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#fff;}
.tg th{font-family:Arial, sans-serif;font-size:14px;font-weight:normal;padding:10px 5px;border-style:solid;border-width:1px;overflow:hidden;word-break:normal;border-color:#ccc;color:#333;background-color:#f0f0f0;}
.tg .tg-s6z2{text-align:center}
.tg .tg-spn1{background-color:#f9f9f9;text-align:center}
/* End: Collection rate table */

/* Navigation Menu */
li.nav-item.level1 > a > span:nth-child(1) { font-weight: bold; } /* Dropdown 1st level */
@media only screen and (max-width: 1440px) and (min-width: 1024px) {
.nav-regular:not(.nav-vert) .nav-item.level0 > a, .nav-regular .nav-holder .dropdown-heading { font-size: 14px !important; }
}

/* Footer & Newsletter */
@media (min-width: 768px) {
	.block.newsletter { width: 100%; }
	.footer ul li { margin-bottom: 1rem; }
}
.block.newsletter .actions { display: block; padding-top:5px; }

/* Footer - Payment Links */
.footer-payment-methods li {
	padding: 1px 3px;
	display: inline-block;
	background: url('/pub/media/icons/sprite-payment-options.png') no-repeat top left; /* Needs updating once live */
}
li.sprite-banktransfer { 
	background-position: 0 0;
	width: 89px;
	height: 13px;
	filter: invert(1);
}
li.sprite-paypal { 
	background-position: 0 -111px;
	width: 105px;
	height: 27px;
}
li.sprite-sofort { 
	background-position: 0 -151px;
	width: 77px;
	height: 24px;

}
li.sprite-mastercard { 
	background-position: 0 -65px;
	width: 58px;
	height: 35px;

}
li.sprite-visa { 
	background-position: 0 -190px;
	width: 58px;
	height: 19px;

}
li.sprite-maestro { 
	background-position: 0 -20px;
	width: 58px;
	height: 35px;
}

li.sprite-amex {
	background-position: 0 -218px;
	width: 101px;
	height: 28px
}

/* Category - Layered Navigation */
.filter-options-content a {
	display: inline-block;
}
div.swatch-option.image {
	/*min-width: 85px;*/
}
div.swatch-option.image.label {
	/*min-width: 20px;*/
}

/* Light Bulbs - Browse by Cap Type */
.cap-type { 
	margin-top: 8px; 
	margin-bottom: 0;
}

ul.cap-type * {
	box-sizing: border-box;
}
ul.cap-type > li {
	display: inline-block;
	margin-right: 5px;
}

.drop-icon {
	height: 75px !important;
	width: 75px !important;
	display: block;
	margin: 0 auto;
	border: 1px lightgrey solid;
}
.drop-icon:hover {
	border: 1px #1D9519 solid;
	box-shadow: 3px 3px 6px #3333333d;
}

span.category-link {
	display: block;
	text-align: center;
	padding: 0 10px;
}

ul.subcategories {
	display: flex;
	flex-wrap: wrap;
	justify-content: center;
}

#block-discount { display: none; /* Hide Discount Coupon on Shopping Cart */ }
#maincontent > div.columns > div > div.cart-container > div.cart-summary { padding: 15px 15px 25px; }

.ampreorder-note {
	color: red;
}

.checkout-payment-method .payment-method-content .fieldset > .field.type .control {
	margin-left: 1rem;
	width: 82%;
}
.checkout-index-index .opc-wrapper.am-opc-wrapper .label {
	word-break: break-word;
}

/* Amasty Quote */
.amquote-cart-wrapper .paypal-logo { display: none; } /* Remove Quote Cart Paypal */
.amquote-cart-wrapper.minicart-wrapper { padding: 0 15px; }
.amquote-cart-wrapper.minicart-wrapper > * { line-height: 21px; }
.minicart-wrapper .block-minicart li { text-align: left; }
#quotecart-content-wrapper { color: #000; }
.amquote-cart-wrapper.minicart-wrapper .amquote-showcart.action:before { vertical-align: middle; margin: 0; }
.amquote-cart-wrapper.minicart-wrapper .amquote-showcart .counter.qty { vertical-align: middle; }
.amquote-addto-button { min-width: 40%; }
.minicart-items .product-item-name a { color: #000; }
.minicart-items .product-item-name a:hover { color: #1d9519; }
/*.amquote-cart-wrapper.minicart-wrapper:hover { background: #fff; box-shadow: 0 3px 0 rgba(0,0,0, 0.15); }*/
.amquote-cart-wrapper.minicart-wrapper .block-minicart {
	background: #fff;
	width: 390px;
	right: 0;
	box-shadow: 0 3px 10px rgba(0,0,0, 0.15);
}
@media only screen and (max-width: 479px) {
	.amquote-cart-wrapper.minicart-wrapper .block-minicart { width: 290px; }
}

/* End of Amasty Quote */


/* Responsive Youtube container (not working?) */

.video-container {
	position: relative;
	padding-bottom: 40%;
	padding-top: 30px; height: 0; overflow: hidden;
}

.video-container iframe, 
.video-container object,
.video-container embed {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;

}
/* removed amasty changes */
/*layer navigation style */
.filter-content li.item {
    display: flex;
    align-items: center !important;
 }
 .filter-options-content a {
    display: inline-block !important;
}
.am-swatch-options .am-shopby-swatch-label {
    max-width: 80% !important;
  }
  .swatch-option.image {
    background-repeat: no-repeat;
    background-size: contain;
}
.filter-options-content .am-shopby-swatch-label .label {
    display: inline-block;
}
img.fotorama__img { object-fit: contain; } /* Aspect ratio fix for product gallery thumbnails */
/*end*/

.dfd-branding { /* Remove Doofinder branding from search */
	display: none !important;
}