/* Box sizing rules */
*,
*::before,
*::after {
  box-sizing: border-box;
}

*:not([class*=debugbar], [class*=fa]) {
  font-family: "Open Sans", sans-serif;
}

span {
  font-family: inherit !important;
}

/* Remove default margin */
body,
h1,
h2,
h3,
h4,
p,
figure,
blockquote,
dl,
dd {
  margin: 0;
}

p {
  margin-bottom: 1em;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Cabin Condensed", sans-serif !important;
}

/* Remove list styles on ul, ol elements with a list role, which suggests default styling will be removed */
ul[role=list],
ol[role=list] {
  list-style: none;
  padding: 0;
}

ul,
ol {
  -webkit-padding-start: 20px;
          padding-inline-start: 20px;
}
ul li,
ol li {
  margin-bottom: 0.5em;
}

ul.list__icons li {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  gap: 2em;
}
ul.list__icons li i {
  margin-top: 0.35em;
}

/* Set core root defaults */
html:focus-within {
  scroll-behavior: smooth;
}

/* Set core body defaults */
body {
  min-height: 100vh;
  text-rendering: optimizeSpeed;
  line-height: 1.5;
}

.nav-link {
  color: white;
  text-decoration: none;
  cursor: pointer;
}

/* A elements that don't have a class get default styles */
a:not([class]) {
  -webkit-text-decoration-skip: ink;
          text-decoration-skip-ink: auto;
}

a:not(.nav-link, .btn) {
  text-decoration: none;
  color: black;
  transition: all 0.2s ease-in-out;
}
a:not(.nav-link, .btn):hover {
  color: #ffb958;
}

footer {
  color: white;
}
footer .footer__main a {
  color: white;
}

/* Make images easier to work with */
img,
picture {
  max-width: 100%;
  display: block;
}

/* Inherit fonts for inputs and buttons */
input,
button,
textarea,
select {
  font: inherit;
}

.burger {
  height: 3em;
  width: 3em;
  position: relative;
  font-size: 12px;
  cursor: pointer;
  transition: 0.2s all;
  -webkit-tap-highlight-color: transparent;
}

.burger .burger-lines:after {
  left: 0;
  top: -1em;
}

.burger .burger-lines:before {
  left: 1em;
  top: 1em;
}

.burger:after {
  content: "";
  display: block;
  position: absolute;
  height: 150%;
  width: 150%;
  top: -25%;
  left: -25%;
}

.burger .burger-lines {
  top: 50%;
  margin-top: -0.125em;
}

.burger .burger-lines,
.burger .burger-lines:after,
.burger .burger-lines:before {
  pointer-events: none;
  display: block;
  content: "";
  width: 100%;
  border-radius: 0.25em;
  background-color: white;
  height: 0.25em;
  position: absolute;
  transform: rotate(0);
}

.burger .burger-lines:after {
  left: 0;
  top: -1em;
}

.burger .burger-lines:before {
  left: 1em;
  top: 1em;
}

.burger.burger-squeeze .burger-lines,
.burger.burger-squeeze .burger-lines:after,
.burger.burger-squeeze .burger-lines:before {
  transition: 0.2s top 0.2s, 0.1s left, 0.2s transform, 0.4s background-color 0.2s;
}

.burger.burger-squeeze .burger-lines:after,
.burger.burger-squeeze .burger-lines:before {
  width: 2em;
}

.burger.burger-squeeze.open .burger-lines,
.burger.burger-squeeze.open .burger-lines:after,
.burger.burger-squeeze.open .burger-lines:before {
  transition: 0.2s background-color, 0.2s top, 0.2s left, 0.2s transform 0.15s;
}

.burger.burger-squeeze.open .burger-lines {
  background-color: transparent;
}

.burger.burger-squeeze.open .burger-lines:before,
.burger.burger-squeeze.open .burger-lines:after {
  left: 0.5em;
  top: 0px;
}

.burger.burger-squeeze.open .burger-lines:before {
  transform: rotate(-45deg);
}

.burger.burger-squeeze.open .burger-lines:after {
  transform: rotate(45deg);
}

/* Remove all animations, transitions and smooth scroll for people that prefer not to see them */
@media (prefers-reduced-motion: reduce) {
  html:focus-within {
    scroll-behavior: auto;
  }

  *,
*::before,
*::after {
    -webkit-animation-duration: 0.01ms !important;
            animation-duration: 0.01ms !important;
    -webkit-animation-iteration-count: 1 !important;
            animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}
p {
  line-height: 200%;
}

.row {
  display: flex;
  flex-direction: row;
  gap: 4em;
}
@media (max-width: 767px) {
  .row {
    flex-direction: column;
  }
}
.row .col {
  flex-grow: 1;
  flex-basis: 0;
}

table,
.table {
  overflow-x: auto;
}

.flex-space-between {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
}
@media (max-width: 767px) {
  .flex-space-between {
    flex-direction: column;
    margin-bottom: 1em;
  }
}

.mb-1 {
  margin-bottom: 1em;
}

.mb-2 {
  margin-bottom: 2em;
}

.dropdown {
  position: relative;
}
.dropdown .dropdown-items {
  display: none;
  position: absolute;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background-color: #00132d;
  left: -50%;
  transform: translateX(-50%);
  min-width: 160px;
  margin-top: 2rem;
}
.dropdown .dropdown-items .nav-link {
  padding: 10px 20px;
}
.dropdown:hover .dropdown-items,
.dropdown .dropdown-items:hover .dropdown-items {
  display: flex;
}

main > section:not(:first-child) {
  padding-top: 4em;
  padding-bottom: 4em;
}
main > section:first-child {
  padding-top: 2em;
  padding-bottom: 4em;
}

.container {
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
  margin-right: auto;
  margin-left: auto;
}

@media (min-width: 576px) {
  .container {
    width: 540px;
  }
}
@media (min-width: 768px) {
  .container {
    width: 720px;
  }
}
@media (min-width: 992px) {
  .container {
    width: 960px;
  }
}
@media (min-width: 1200px) {
  .container {
    width: 1140px;
  }
}
@media (min-width: 1450px) {
  .container {
    width: 1420px;
  }
}
.btn {
  text-decoration: none;
  color: white;
  font-weight: bold;
  cursor: pointer;
  border: 0;
  padding: 1em 2em;
  min-width: 160px;
}
.btn.btn-primary {
  background-color: #2c2d76;
  transition: all 0.3s ease-in-out;
}
.btn.btn-primary:hover {
  background-color: #000c1d;
}

.text-blue {
  color: #2c2d76;
}

.alert {
  padding: 20px;
  color: white;
  margin-bottom: 15px;
}
.alert.alert-success {
  background-color: #04aa6d;
}
.alert.alert-danger {
  background-color: #f44336;
}

h2.heading__underline {
  font-size: 48px;
  font-weight: bold;
  position: relative;
  margin-bottom: 0.6em;
}
h2.heading__underline:after {
  content: "";
  position: absolute;
  left: 0;
  bottom: 5px;
  width: 60px;
  height: 3px;
  background-color: #2c2d76;
}

h3 {
  font-size: 36px;
  font-weight: bold;
  margin-bottom: 0.6em;
}

h4 {
  font-size: 24px;
  font-weight: bold;
  margin-bottom: 0.6em;
}

form {
  text-align: right;
}
form .form-group {
  text-align: left;
  margin-bottom: 1em;
}
form .form-group input:not([type*=checkbox]),
form .form-group textarea {
  display: block;
  width: 100%;
  height: calc(2.25rem + 2px);
  padding: 0.375rem 0.75rem;
  font-size: 1rem;
  font-weight: 400;
  line-height: 1.5;
  color: #495057;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid #ced4da;
  border-radius: 0.25rem;
  box-shadow: inset 0 0 0 transparent;
}
form .form-group input:not([type*=checkbox]):focus,
form .form-group textarea:focus {
  outline: 0;
}
form .form-group textarea {
  height: auto;
}

header.navbar {
  background-color: #00132d;
  padding: 20px 0;
}
header.navbar .container {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  position: relative;
}
header.navbar .container .logo {
  height: 50px;
}
header.navbar .container nav {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 35px;
}
header.navbar .container nav > .nav-link {
  transition: all 0.2s ease-in-out;
}
header.navbar .container nav > .nav-link:hover, header.navbar .container nav > .nav-link.active {
  color: #ffb958;
}
header.navbar .container nav .language-switcher {
  height: 12px;
}
@media (max-width: 991px) {
  header.navbar .container nav {
    display: none;
  }
}
header.navbar .container nav.show {
  position: absolute;
  right: 0;
  top: 70px;
  background-color: #00132d;
  display: flex;
  flex-direction: column;
  gap: 0;
  z-index: 1000;
}
header.navbar .container nav.show a {
  padding: 1em 2em;
}
header.navbar .container .btn-nav {
  display: none;
}
@media (max-width: 991px) {
  header.navbar .container .btn-nav {
    display: block;
  }
}

#hero {
  height: 50vh;
  min-height: 450px;
}
#hero .container {
  height: 100%;
  padding-top: 12vh;
}
#hero .container h1 {
  color: white;
  font-size: 60px;
  margin-bottom: 0.5em;
  max-width: 600px;
}
@media (max-width: 575px) {
  #hero .container h1 {
    font-size: 44px;
  }
}

#landing h2 {
  font-size: 48px;
  margin-bottom: 0.5em;
}
@media (max-width: 767px) {
  #landing h2 {
    font-size: 32px;
  }
}
#landing .row {
  margin-bottom: 4em;
}
@media (max-width: 991px) {
  #landing .row {
    flex-direction: column;
    gap: 2em;
  }
  #landing .row .col div {
    height: 300px !important;
  }
}

#aktuality .news.grid {
  display: grid;
  gap: 2em;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
}
#aktuality .news .news__item {
  background-color: #f9f9f9;
  padding: 1.5em;
  text-align: right;
}
#aktuality .news .news__item img {
  width: 100%;
}
#aktuality .news .news__item h4 {
  text-align: center;
  font-size: 30px;
  margin: 0.4em 0;
}
#aktuality .news .news__item p {
  text-align: justify;
}
#aktuality .news .news__item a i {
  margin-left: 0.5em;
}

#produkty .content {
  display: flex;
  flex-direction: row;
  align-items: flex-start;
  align-content: flex-start;
  gap: 2em;
}
@media (max-width: 991px) {
  #produkty .content {
    flex-direction: column;
  }
}
#produkty .category-sidebar {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 250px;
}
#produkty .category-sidebar .category-sidebar__item {
  display: flex;
  flex-direction: column;
  gap: 5px;
}
#produkty .category-sidebar .category-sidebar__item.open > a {
  background-color: #00132d;
}
#produkty .category-sidebar .category-sidebar__item > a {
  padding: 0.5em 1em;
  background-color: #2c2d76;
  color: white;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  font-weight: bold;
  font-size: 18px;
}
#produkty .category-sidebar .category-sidebar__item > a:hover {
  color: #ffb958;
}
#produkty .category-sidebar .category-sidebar__item .category-sidebar__children {
  background-color: white;
  padding: 0.5em 1em 0.5em 2em;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
  display: flex;
  flex-direction: column;
  gap: 10px;
}
#produkty .category-sidebar .category-sidebar__item .category-sidebar__children a {
  color: black;
}
#produkty .category-sidebar .category-sidebar__item .category-sidebar__children a:hover, #produkty .category-sidebar .category-sidebar__item .category-sidebar__children a.active {
  color: #ffb958;
}
#produkty .products {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 2em;
}
@media (max-width: 1449px) {
  #produkty .products {
    grid-template-columns: 1fr 1fr;
  }
}
@media (max-width: 767px) {
  #produkty .products {
    grid-template-columns: 1fr;
  }
}
#produkty .products .products__item {
  box-shadow: 4px 4px 50px rgba(0, 0, 0, 0.25);
  background-color: white;
  transition: 0.2s ease-in;
}
#produkty .products .products__item:hover {
  background-color: #2c2d76;
}
#produkty .products .products__item:hover a {
  color: white;
}
#produkty .products .products__item h4 {
  text-align: center;
  margin: 0.6em;
}

#reference .reference {
  padding: 2em 0;
}
#reference .reference:not(:last-child) {
  border-bottom: 1px solid #333;
}
#reference .reference p {
  font-size: 18px;
  margin: 0;
}
#reference .reference .reference__images {
  margin-top: 1em;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2em;
}

.stock-product:not(:last-child) {
  margin-bottom: 4em;
}
.stock-product h4 {
  font-size: 30px;
}
.stock-product p {
  text-align: justify;
}
.stock-product .stock-product__footer {
  text-align: right;
}
@media (max-width: 575px) {
  .stock-product .stock-product__footer .buttons {
    display: flex;
    flex-direction: column;
    gap: 1em;
    align-items: flex-end;
  }
}

#produkt .container > div:not(:last-child) {
  margin-bottom: 4em;
}
@media (max-width: 767px) {
  #produkt .container .produkt__details .col:first-child {
    order: 2;
  }
}
#produkt .container .produkt__images .produkt__images__gallery {
  margin-top: 1em;
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr;
  gap: 0.5em;
}
#produkt .container .produkt__images .produkt__images__gallery img {
  width: 100%;
  height: 100%;
  -o-object-fit: cover;
     object-fit: cover;
}
#produkt .container .produkt__parameters__wrapper {
  padding: 2em;
  color: white;
  background-color: #00132d;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table {
  width: 100%;
  text-align: right;
  border-collapse: collapse;
  border-spacing: 0 1em;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table thead {
  color: #ffb958;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table td,
#produkt .container .produkt__parameters__wrapper .produkt__parameters table th {
  padding: 10px 5px;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table tbody th {
  text-align: left;
  font-weight: normal;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table tbody tr {
  border-bottom: 1px solid #2c2d76;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table tbody tr:last-child {
  border: 0;
}
#produkt .container .produkt__parameters__wrapper .produkt__parameters table tbody tr:first-child {
  border-top: 1px solid #2c2d76;
}

footer .footer__main {
  background-color: #00132d;
  padding: 3em 0;
}
footer .footer__main ul li {
  margin-bottom: 0.8em;
}
footer .footer__main .footer__heading {
  min-height: 60px;
}
footer .footer__main .footer__heading img {
  height: 50px;
}
footer .footer__main .footer__heading h4 {
  font-size: 28px;
  font-weight: bold;
  text-transform: uppercase;
}
@media (max-width: 991px) {
  footer .footer__main .row {
    align-items: center;
    flex-direction: column;
    flex-wrap: wrap;
    gap: 1.8em;
  }
  footer .footer__main .row .col {
    width: 100%;
    text-align: center;
  }
  footer .footer__main .row .col .footer__heading {
    min-height: unset;
  }
  footer .footer__main .row .col .footer__heading h4 {
    margin-bottom: 0.2em;
  }
  footer .footer__main .row .col img {
    margin: auto;
  }
  footer .footer__main .row .col li {
    gap: 1em;
    align-items: center;
    justify-content: center;
  }
}
footer .footer__copyright {
  background-color: #000c1d;
  text-align: center;
  padding: 2em;
  font-weight: lighter;
}
footer .footer__copyright a {
  color: #4daaf2;
  text-decoration: none;
  font-weight: bold;
}
