html {
	scroll-margin-top: 100px;
	scroll-padding-top: 100px;
}

.main.container {
  position: relative;
  z-index: 50;
}

#main img {
  max-width: 100%;
  height: auto;
  display: block;
}

.sub h1 {font-size: var(--h2);}

.main.container::before {
  content: "";
  display: block;
  width: calc(100% + 6vw);
  margin-left: -3vw;
  height: 80px;
  background: linear-gradient(hsl(0, 0%, 100%, 0.5), white);
  margin-top: -80px;
}

header img {
  height: 280px;
  -o-object-fit: cover;
     object-fit: cover;
  -o-object-position: center;
     object-position: center;
}

header::before {
  content: "";
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 20;
  background: linear-gradient(hsl(0, 0%, 0%, 0.8), hsl(0, 0%, 0%, 0.4));
}

#main img {
  display: block;
  /* max-width: 100%;
  height: auto; */
}

aside .nav {
  margin: 0;
  padding: 0;
  width: 100%;
}

aside .nav li {
  margin: 0;
  padding: 0;
  list-style: none;
}

aside .nav a {
  display: block;
  box-sizing: border-box;
  width: 100%;
  font-weight: 600;
  line-height: 1.3;
  padding: 10px 25px;
  border-left: 2px solid var(--borderColor);
  transition: all 0.2s;
  color: var(--textColor);
}

aside .nav a:hover,
aside .nav .active > a,
aside .nav a.active {
  border-left-color: var(--secondary);
}

aside .nav a:hover {
  padding-left: 30px;
  padding-right: 20px;
}

aside .nav .active > a,
aside .nav a.active {
  color: var(--secondary);
}

aside .card {
  margin-bottom: 30px;
}

aside .card-image {
  width: 100px;
  margin-right: 20px;
}

aside .card-image::after {
  display: none;
}

aside .card-title {
  margin: 0 0 5px;
  line-height: 1.1;
}

.gallery a {
  overflow: hidden;
}

.gallery img {
  transition: all var(--fastSpeed) var(--easeOutBack);
}

.gallery a:hover img {
  transform: scale(1.1);
}

.downloads a {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
  box-sizing: border-box;
  padding: 15px 30px;
  text-decoration: none;
  color: var(--textColor);
  transition: all var(--fastSpeed);
  box-shadow: 0 0 30px hsl(0, 0%, 0%, 0.1);
}

.downloads a:hover {
  color: var(--primary);
  transform: translateY(-2px);
  box-shadow: 0 15px 20px -5px hsl(0, 0%, 0%, 0.2);
}

.downloads a img:not(.download-icon) {
  height: 52px;
  border-radius: 0;
  display: none !important;
}

.download-icon {
  height: 18px !important;
  display: block;
  margin-left: 30px;
  border-radius: 0;
}

.downloads .text {
  flex-grow: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-left: 30px;
}

form {
  width: 100%;
}

fieldset {
  border: 0;
  padding: 0;
  margin: 0;
}

label {
  margin-top: 10px;
  margin-bottom: 5px;
  font-size: 1.125rem;
}

label p {
  margin: 0;
}

input,
select,
textarea {
  box-sizing: border-box;
  padding: 0.8rem 1rem;
  border: 2px solid var(--borderColor);
}

textarea {
  height: 15.7rem;
}

.ok {
  border-color: var(--borderColor);
}

.error {
  border-color: red;
}

.error-msg {
  color: red;
  font-size: 1rem;
  margin-top: 5px;
}

.star {
  color: red;
}

#alert {
  display: block;
  box-sizing: border-box;
  width: 100%;
  padding: 0.5rem 1rem;
  color: white;
  font-weight: bold;
}

#alert.success {
  background-color: rgb(0, 133, 22);
}

#alert.danger {
  background-color: rgb(165, 0, 0);
}

#breadcrumbs span {
  margin: 0 1rem;
  display: inline-block;
}

#breadcrumbs span:last-of-type {
  margin: 0;
  opacity: 0.5;
}

.produkt {
  /*border: 1px solid var(--borderColor);*/
  display: flex;
  align-items: stretch;
  flex-direction: column;
  text-align: center;
  width: 100%;
  position: relative;
  background: radial-gradient(ellipse at bottom, #f8e2e1 0%, white 0%);
  -webkit-filter: none !important;
          filter: none !important;
  border-radius: 8px;
  box-shadow: 0 10px 50px #0000001a;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.produkt strong {
  padding: 15px 30px ;
  font-weight: 400;
  color: var(--textColor);
  border-top: 1px solid  var(--borderColor);
  height: 95px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.produkt::after {
  position: absolute;
  bottom: -61px;
  opacity: 0;
  left: calc(50% - 21px);
  width: 42px;
  height: 42px;
  background: url(/assets/img/more.svg) center no-repeat;
  content: "";
  display: block;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.produkt:hover::after {
  bottom: -21px;
  opacity: 1;
}

.produkt:hover {
  /*border-color: #ce312b;
  background: radial-gradient(closest-corner at 50% 95%, #f8e2e1 0%, white 230%);*/
  box-shadow: 0 10px 60px #0000003d;
}


.product-image {
  min-width: 100%;
  height: 220px;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 15px;
  overflow: hidden;
  border-radius: 8px 8px 0px 0px;
}

.product-image.full {
	height: 300px;
}

.nopadding .product-image {
  padding: 0px;
}

.product-image img {
  display: block;
  width: 100%;
  height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
  transition: 1s cubic-bezier(0.075, 0.82, 0.165, 1);
}

.product-image .product-image--full {
	-o-object-fit: cover;
	   object-fit: cover;
}

.produkt:hover .product-image img {
	transform: scale(1.1);
}

.nopadding .product-image img {
  -o-object-fit: cover;
     object-fit: cover;
}

.sub footer {
  margin-top: var(--sectionPadding);
}

.product-description {
	padding-left: 60px !important;
}

.product-description ul {
  margin: 0;
  padding: 0;
}

.product-description ul li {
  list-style: none;
  background: url(/assets/img/bullet.svg) 0 7px no-repeat;
  background-size: 12px;
  padding-left: 20px;
  display: block;
  margin-bottom: 0.5rem;
}

ol li::marker {
  color: var(--textColor);
}

.gallery.grid {
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin-top: 33px;
}

.gallery.grid a {
  border: 1px solid var(--borderColor);
  -webkit-filter: none !important;
          filter: none !important;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px;
}

.gallery.grid a:first-child {
  grid-column: span 3;
  padding: 30px;
}

.gallery.grid a img {
  max-width: 100%;
  max-height: 100%;
  -o-object-fit: contain;
     object-fit: contain;
  -o-object-position: center;
     object-position: center;
}





/* download change */

.downloads {margin: 20px 0;}

.downloads a {
	box-shadow: none;
	padding: 0;
	display: flex;
	flex-direction: row-reverse;
}

.downloads .size,
.downloads a > img:not(.download-icon) {display: none;}

.downloads .text {margin-left: 0;}

.download-icon {
	margin-left: 0;
	margin-right: 15px;
}

.downloads .text strong {
	font-weight: normal;
}

.downloads a:hover {
	box-shadow: none;
	transform: none;
	color: var(--secondary);
}











@media screen and (max-width: 1023px) {
  .sub header .swiper-slide img {
    height: 280px;
  }

  #breadcrumbs {display: none;}

  aside .nav a {
	  padding-top: 7px;
	  padding-bottom: 7px;
	  font-size: 0.875rem;
	  line-height: 1.1;
  }
}

@media screen and (max-width: 620px) {
  .sub header .swiper-slide img {
    height: 220px;
  }

  .sub h1 {
    font-size: var(--h2);
  }
  .sub h2 {
    font-size: var(--h3);
  }
  .sub h3 {
    font-size: var(--h4);
  }
  .sub h4 {
    font-size: var(--h5);
  }
}

@media screen and (max-width: 560px) {
  .sub h1 {
    font-size: var(--h3);
  }
  .sub h2 {
    font-size: var(--h4);
  }
  .sub h3 {
    font-size: var(--h5);
  }
  .sub h4 {
    font-size: var(--h6);
  }
}

@media screen and (max-width: 340px) {
  .sub h1 {
    font-size: var(--h4);
  }
  .sub h2 {
    font-size: var(--h5);
  }
  .sub h3 {
    font-size: var(--h6);
  }
}
