:root {
  --mainFont: "jaf-bernina-sans", sans-serif;
  --accentFont: "almaq-rough", sans-serif;
  --accent: #001f5f;
  --accent2: #273891;
  --accentAlt: #f4303f;
  --paleBlue: #a4c4ed;
  --accentBg: #d6e4f5;
  --productCard: 220px;
  --productSize: contain;
  --borderRadius: 0;
}

.product-image { position: relative; align-self: auto; }

body.page-bloglandingpage, body.page-blogpost {
    background: var(--bg);
}

h1, h2:not(.slide-caption h2), #productbody h1, .text-product-desc {
  color: var(--accent)
}

.product-availability span {
  font-size: 36px;
  vertical-align: sub;
}

.pricing-details {
  font-size: 1.4em;
}

#matrixitemoptions h4 {
  display: none;
}

#matrixoptions, #matrixoptions select {
  font-size: 14px;
}

@media screen and (min-width: 1024px) {
  #matrixoptions {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    grid-gap: var(--gap);
  }

  #matrixoptions .row+.row {
    margin-top: 0;
  }
}

@media screen and (min-width: 651px) {
  #search-button {
    display: none;
  }
}

.topbar {
  background: var(--accent);
  color: var(--bg);
}

.topbar :is(a, span) {
  font-weight: normal;
  font-size: 0.9em;
}

#Header_menu>li>:not(div) {
  padding: 3px 0;
}

#site-header {
  padding: var(--gap);
  background: var(--paleBlue);
}

#menu {
  background: var(--accentAlt);
  color: var(--bg);
  font-size: 0.9em;
}

#Store_Navigation {
  justify-content: center;
}

.Store_Navigation.Horizontal_Nav_Menu>li>:not(div)  {
  font-size: 14px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-weight: 300;
}

.Horizontal_Nav_Menu .level_2.container {
    column-width: 200px;
}

#Showcase .slide .image {
    grid-column: 1;
}

.default .slide-caption, .showcase .slide-caption {
  font-size: 1.6em;
}

.default .slide-caption h2, .showcase .slide-caption h2 {
  font-family: var(--accentFont);
  font-weight: 400;
}

.product-carousel-wrapper h3 {
  font-family: var(--accentFont);
  font-weight: 400;
  font-size: 2.5em;
}

.product-carousel-wrapper h3 a {
  color: var(--accent);
}

.matrixrow {
  width: 100%;
}

.category-pictures-panel .thumbnail {
  border: 0;
}

#menu nav a {
  color: var(--inherit);
}

#logo img {
  max-width: 250px;
}

#logo {
  display: flex;
  flex: 0 0 15%;
  margin-right: auto;
  align-items: center;
  justify-content: center;
}

header .search {
  margin-left: 0;
  flex: 0 0 40%;
  order: -1;
}

@media screen and (min-width: 768px) {
div#search-bar {
  max-width: 150px;
}
}

body.-search #site-header .search {
  margin-left: 0;
}

.Horizontal_Nav_Menu .level_2.container {
  column-rule: 1px solid var(--bg);
  column-gap: var(--gap);
}

.Horizontal_Nav_Menu .level_2-container {
  min-width: 250px;
  padding: var(--smallGap) 0;
}

.product-card img {
  padding: var(--smallGap);
}

.main-image img {
  max-height: 40vh;
}

.main-image {
  border: var(--border);
  padding: var(--gap);
}

.gallery .image img {
  object-fit: contain;
}

#modal-image figure img {
  padding: var(--gap) var(--gap) 0;
}

#searchresult {
  margin-top: var(--smallGap);
}

input, select, textarea {
  vertical-align: middle;
}

.btn-primary,
.btn-outline,.btn-outline.active,
.btn-default, .btn-default:hover, .btn-default.active,
input, select, textarea {
  border-width: 1px;
}

#newsletter-box {
    background: url("https://ws8536-7226.staging.websell.io/store_images/image_carousel/slide_3.jpg");
    background-size: cover;
    min-height: 400px;
    text-align: center;
    display: flex;
    justify-content: center;
}

.newsletter-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/*Add to cart pop-up*/
.notice-item-cart .inside {
	align-self: center;
	padding: var(--smallGap);
}

.notice-item-cart img {
	display: block;
	aspect-ratio: 1;
	object-fit: cover;
	object-position: bottom center;
}

.notice-item-wrapper.notice-item-cart {
	background: none;
	box-shadow: none;
}

.added-to-cart {
	display: grid;
	background: var(--accentBg);
	box-shadow: var(--shadow);
	grid-template-columns: 100px 1fr;
	border-bottom: 5px solid var(--accentAlt);
}

.added-to-cart.not-added > a {
	position: relative;
	background: #eee;
}

.added-to-cart.not-added > a i {
	color: var(--accent);
	font-size: 2em;
	position: absolute;
	top: 50%;
	left: 50%;
	z-index: 4;
	transform: translate(-50%, -50%);
}

.added-to-cart.not-added > a img {
	filter: grayscale(1);
}

.added-to-cart + .added-to-cart {
	margin-top: var(--smallGap);
}

.notice-item-wrapper.notice-item-cart {
	width: 320px;
	padding: 0;
	max-width: 90%;
	margin-left: auto;
}

.added-to-cart > a {
	background: #fff;
	padding: 10px;
	display: flex;
	align-items: center;
	aspect-ratio: 1;
}

.added-to-cart > a img {
	aspect-ratio: 1;
	display: block;
	object-fit: contain;
	object-position: center center;
}

.added-to-cart small {
	display: block;
	font-family: var(--sans);
	line-height: 1em;
	margin-bottom: 5px;
}

.notice-wrap h4 {
	font-size: 18px;
	margin-bottom: 0;
}

h4 em {
	font-style: normal;
	font-weight: normal;
}

.basket-item a.image-thumb {
	aspect-ratio: 1;
	background: var(--white);
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 5px;
	border: 1px solid #ddd;
}

.basket-item .image-thumb:before {
	display: none;
}

.basket-item .image-thumb img {
	position: static;
	aspect-ratio: 1;
}
/*Add to cart pop-up*/

.listing.classic>.pfs {
  box-shadow: none;
  border: 1px solid #ddd;
}

.page-basket h1, .page-search h1 {
  font-family: var(--mainFont);
  font-weight: 800;
  color: var(--accent);

}

.pfs .filter-heading {
  margin-bottom: 1em;
  font-size: 16px;
}

#prodlist-sorting {
  margin-left: 0;
}

.checkout-panel {
  background: #fff;
  --bg: #fff;
}

body.page-checkoutstep2, body.page-ordercomplete {
    --accentBg: #fff;
    --bg: #d6e4f5;
    background: var(--accentBg);
}

@media screen and (min-width: 651px) {
.filter-group {
display:none;
}
}

span.irs.irs--flat.js-irs-0 {
    margin-bottom: var(--smallGap);
}

#customcontent p {
  max-width: 100%;
}

.show-title > h2 {
  display: block;
  text-align: center;
  font-size: 3em;
  color: var(--accent);
  font-family: var(--accentFont);
  font-weight: 400;
}

@media screen and (max-width: 768px) {
    input:not([type=radio]):not([type=checkbox]), select, textarea {
      font-size: 14px;
    }
    
    #login-register {
      left: 0;
    }
    
}

@media screen and (min-width: 650px) and (max-width: 1024px) {
  
    #site-header {
      flex-wrap: wrap;
      gap: var(--gap);
      font-size: 0.9em;
      padding-bottom: var(--gap);
    }
    
    header .search {
      flex-grow: 2;
    }
    
    #logo {
        order: -2;
        flex: 1 1 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 651px) {

  #main-nav {
    display: none;
  }
  
  #site-header {
    flex-wrap: wrap
  }
  
  #logo {
    margin: 0 auto;
    order: -2;
  }

  #search-button {
    order: 5;
  }

  #searchbox {
    display: none;
    order: 7;
  }
  
  .product-actions {
    display: none;
  }
  
  ul#Header_menu {
    justify-content: space-between;
  }
  
  #main-nav, body.-search #main-nav {
    background: var(--accent);
  }
  
  #Store_Navigation>li.menu-item-has-children:after {
    color: var(--bg);
  }

  #Store_Navigation .fa-angle-down {
    display: none;
  }
  
  #basket-pricing, #checkout-section-basket {
    padding: var(--gap);
    margin: calc(-1 * var(--gap));
  }
  
  #login-register {
    top: 100%;
		left: auto;
		right: 0;
	}

	.checkout-headline {
		flex-direction: row;
		padding-block: var(--gap);
		border-bottom: var(--border);
		position: relative;
	}

	.checkout-header .r {
		position: static;
	}

	.checkout-headline .span-1 {
		min-width: unset;
		margin-left: auto;
	}
	
	#checkout-section-basket-totals {
    border-top: 1px solid var(--accent);
    border-bottom: 1px solid var(--accent);
  }
  
  .default .slide-caption {
		position: absolute;
		transform: translateY(-50%);
		font-size: 18px;
		max-width: 200px;
	}
	
	.default .slide-caption p, .default .slide-caption span.btn {
		display: none;
	}
	
	.slide {
	  padding-bottom: 0;
	}
	
	footer li {
	 margin-bottom: 0;
	}
	
	.Footer_menu {
	  display: flex;
    gap: var(--smallGap);
    justify-content: flex-start;
	}
	
	.menuFooter h4 {
	  margin-bottom: 0;
	}
	
	#newsletter-box {
	  min-height: 300px;
	}
	
	#newsletter .form-group .btn {
	  width: 100%;
	}
	
}

/*Brands*/
div#filterBrands {
    padding-bottom: var(--gap);
    display: flex;
    overflow: auto;
    gap: 5px;
    justify-content: center;
}

#filterBrands a {
    padding: 1px 10px;
    border: var(--border);
    border-radius: var(--borderRadius);
    min-width: 30px;
    text-align: center;
    font-size: 12px;
}

#filterBrands a:not(.is) {
    pointer-events: none;
    filter: grayscale(1);
    background: #eee;
}

#filterBrands a:hover {
    background: var(--accentBg);
    border-color: var(--accent);
    text-decoration: none;
    color: var(--accent);
    box-shadow: var(--shadow);
}

.letter-group {
    grid-template-columns: repeat(4, 1fr);
    display: grid;
    gap: 1em;
    padding-block: var(--gap);
    border-top: var(--border);
    position: relative;
    padding-left: 150px;
}

.letter-group h3 {
    position: absolute;
    top: calc(var(--gap) - 7px);
    left: 0;
    margin-left: var(--gap);
    font-family: var(--accentFont);
    font-size: 2em;
}

#brandslist a {
    display: block;
}

#brandslist a:hover {
    opacity: 1;
    color: var(--accent);
}

.letter-group:hover a {
    opacity: 0.6;
}

@media screen and (max-width: 1300px) and (min-width: 651px) {
    div#filterBrands {
        justify-content: initial;
    }

    #filterBrands a.show-all {
        flex: 0 0 90px;
    }

    .letter-group {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media screen and (max-width: 650px) {
    .letter-group {
        padding: 60px var(--gap) var(--gap) var(--gap);
        grid-template-columns: repeat(2, 1fr);
    }

    .letter-group a {
        font-size: 12px;
    }

    div#filterBrands {
        justify-content: initial;
    }

    #filterBrands a.show-all {
        flex: 0 0 90px;
    }
}
/*Brands*/