@charset "UTF-8";
/* header */
#header {
  /*Header */
  background-color: white;
  overflow: auto;
  font-family: montserrat, sans-serif;
  font-style: normal;
  font-weight: 400;
}
#headerpoz {
  height: 126px;
  background-image: url(../images/servis%20racunara%2001/Header/SVG/header%20servis%20racunara%20bgdrc.svg);
  background-repeat: repeat-y;
  background-position: center center;
}
#headerred1 {
  height: 18px;
  background-color: #ea1b07;
  width: 100%;
  text-align: right;
  font-family: advent-pro;
  font-style: normal;
  font-weight: 100;
}
#headred2 {
  height: 18px;
  clear: both;
  background-color: #ea1b07;
  width: 100%;
  text-align: left;
  font-family: advent-pro;
  font-style: normal;
  font-weight: 100;
}
#logo {
  width: 5%;
  padding-left: 0px;
  float: left;
  padding-top: 12px;
}
#abi0,
#abi nav {
  /*Nav bar containing links in header */
  text-align: right;
  padding-top: 17px;
  padding-bottom: 4px;
  padding-right: 10px;
  width: 85%;
  float: right;
  color: rgba(146, 146, 146, 1);
  font-weight: bolder;
  text-decoration: none;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
}
header nav a {
  /* Links in header */
  padding-right: 1%;
}
#abi nav a {
  /* Links in header */
  color: #4267b2;
  text-decoration: none;
  font-size: 14px;
  font-weight: bold;
}
#abi nav a:hover {
  color: red;
  font-size: 14px;
}
#parent {
  display: grid;
  grid-template-columns: 25% 25% 25% 25%;
  margin-top: 5px;
  grid-template-rows: auto;
  grid-row-gap: 0px;
  grid-column-gap: 0px;
  padding-right: 0px;
  padding-top: 0px;
  text-align: center;
}

@media screen and (max-width: 869px) {
  header nav a {
    /* Links in header */
    padding-right: 3%;
  }
  #header {
    /* Header */
    width: 100%;
  }
  #headerpoz {
    width: 100%;
    background-image: url(../images/servis%20racunara%2002/bgdrc%20mala%20header%20.svg);
  }
  #he1 {
    visibility: hidden;
  }
}

@media screen and (max-width: 370px) {
  #he {
    display: none;
  }
}

@media screen and (max-width: 270px) {
  #header nav {
    text-align: center;
    background-color: rgba(255, 255, 255, 1);
    width: 78%;
  }
  #abi0 nav {
    visibility: hidden;
  }
}

/* Hamburger menu */
.top-nav1 {
  box-sizing: border-box;
  display: flex;
  flex-direction: row;
  align-items: center;
  justify-content: space-between;

  /* W3C, IE 10+/ Edge, Firefox 16+, Chrome 26+, Opera 12+, Safari 7+ */
  color: #4267b2;
  height: 15px;
  padding: 0.45em;
  padding-bottom: 0.75em;
}
.menuh {
  display: flex;
  flex-direction: row;
  list-style-type: none;
  margin: 0;
  padding: 0;
}
.menuh > li {
  margin: 0 0.3rem;
  overflow: hidden;
  font-size: 14px;
  font-weight: bolder;
}
.menuh-button-container {
  display: none;
  height: 100%;
  width: 30px;
  cursor: pointer;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}
#menuh-toggle {
  display: none;
}
.menuh-button,
.menuh-button::before,
.menuh-button::after {
  display: block;
  background-color: #4267b2;
  position: absolute;
  height: 4px;
  width: 35px;
  transition: transform 400ms cubic-bezier(0.23, 1, 0.32, 1);
  border-radius: 2px;
}
.menuh-button::before {
  content: "";
  margin-top: -8px;
}
.menuh-button::after {
  content: "";
  margin-top: 8px;
}
#menuh-toggle:checked + .menuh-button-container .menuh-button::before {
  margin-top: 0px;
  transform: rotate(405deg);
}
#menuh-toggle:checked + .menuh-button-container .menuh-button {
  background: rgba(255, 255, 255, 0);
}
#menuh-toggle:checked + .menuh-button-container .menuh-button::after {
  margin-top: 0px;
  transform: rotate(-405deg);
}

.scroll-header {
  box-sizing: border-box;
  background-color: #ffffff;
  padding: 8px 3% 8px 3%;
  position: fixed;
  top: -300px;
  left: 0;
  right: 0;
  transition: top 0.3s;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  box-shadow: 0 0 50px hsla(0, 0%, 0%, 0.2);
}

.scroll-header .errorSearchMsg {
  display: none;
}

.show-scroll-header {
  top: 0;
}

.scroll-header a {
  text-decoration: none;
  font-size: 14px;
  font-family: Gotham, "Helvetica Neue", Helvetica, Arial, sans-serif;
  font-weight: bold;
}

.scroll-header a img {
  height: 40px;
}
.scroll-header .headerLogoContainer {
  height: 40px;
}
.scroll-header .searchContainer {
  box-shadow: none;
}
.scroll-header .searchOuterContainer {
  min-width: 100px;
  width: 94rem;
}

.scroll-header .dropdown {
  position: relative;
  display: inline-block;
}

.scroll-header .dropdown .dropdown-content {
  position: absolute;
  background-color: #fff;
  min-width: 160px;
  box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
  z-index: 1;
  top: calc(100% + 8px);
  right: 0;
  border-radius: 4px;
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.4s ease;
}

.scroll-header .dropdown .dropdown-content a {
  color: black;
  padding: 12px 16px;
  text-decoration: none;
  display: block;
  color: #4267b2;
  text-align: center;
}

.scroll-header .dropdown .dropdown-content a:hover {
  background-color: #f1f1f1;
}

.scroll-header .dropdown.show .dropdown-content {
  max-height: 500px;
}

/* Styles za cart ikonu */

.cartIconContainer {
  position: fixed;
  margin: 0.9em 0em 0em 80%;
}

.cart-btn {
  z-index: 9;
  display: flex;
  flex-direction: column-reverse;
  align-items: center;
}
.cart-icon {
  font-size: 1.9rem;
  cursor: pointer;
  color: #3b5998;
  z-index: 9;
}
.cart-quantity {
  color: white;
  background-color: red;
  padding: 0.2em 0.2em;
  margin-left: 5px;
  border: solid 2px red;
  border-radius: 15px;
  font-weight: bolder;
}

/* Styles za cart icon u scroll headeru */

.cartIconScrollContainer .cart-btn {
  flex-direction: row;
}

.menuScrollHeader {
  font-size: 1.9rem;
  color: #3b5998;
  cursor: pointer;
}

@media (max-width: 750px) {
  .cartIconContainer {
    margin: 1.1em 0em 0em 80%;
  }
}

@media (max-width: 550px) {
  .cartIconContainer {
    margin: 1.1em 0em 0em 78%;
  }
}

@media (max-width: 450px) {
  .cartIconContainer {
    margin: 1.1em 0em 0em 77%;
  }
}

@media (max-width: 700px) {
  .menuh-button-container {
    display: flex;
  }

  .menuh {
    position: absolute;
    top: 0;
    margin-top: 110px;
    margin-left: 12.5%;
    left: 0;
    flex-direction: column;
    width: 75%;
    justify-content: center;
    align-items: center;
  }

  #menuh-toggle ~ .menuh li {
    height: 0;
    margin: 0;
    padding: 0;
    border: 0;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  #menuh-toggle:checked ~ .menuh li {
    border: 1px solid #4267b2;
    height: 2.5em;
    padding-top: 1.1em;
    padding-right: 0.5em;
    padding-left: 0.5em;
    padding-bottom: 0em;
    transition: height 400ms cubic-bezier(0.23, 1, 0.32, 1);
  }

  .menuh > li {
    display: flex;
    justify-content: center;
    margin: 0;
    padding: 0.5em 0;
    width: 100%;
    color: #4267b2;
    background-color: white;
    z-index: 9;
  }

  .menuh > li:not(:last-child) {
    border-bottom: 1px solid #444;
  }
}
