h1, h2, h3, h4, h5 {
  font-family: "Playfair Display", serif;
  color: black;
}

.categorywrap {
  background: white;
}
.categorywrap h5 {
  line-height: 1.4em !important;
}
.categorywrap .hidden-sm {
  padding: 0;
}

.category .item {
  margin-bottom: 0.5em;
  margin-top: 0.5em;
}
.category .item .winner {
  position: absolute;
  right: 10px;
  top: 0;
  max-width: 30%;
}
.category .item .white-bg {
  border: 5px solid white;
  box-shadow: 0 0 1px 0 #555;
}
.category .item .itemimage {
  aspect-ratio: 1;
  overflow: hidden;
  word-break: break-word;
}
.category .item .itemimage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}
.category .item .vote {
  border: 1px solid #aaa !important;
  border-radius: 0;
  background-color: white;
  display: none;
}
.category .item .vote:hover {
  background-color: #e1e1e1;
}
.category .item .vote:before {
  content: "Izberi";
}
.category .item .vote.active {
  background: #000000;
  color: #ffffff;
}
.category .item .vote.active:before {
  content: "Izbran";
}

.categorytitle {
  background: #ec008c;
  color: white;
  font-weight: bold;
  text-transform: uppercase;
}

.cat {
  font-family: "Fira Sans", sans-serif;
  font-weight: 400;
  color: black;
}
.cat.side {
  -webkit-transform: rotate(270deg);
  -ms-transform: rotate(270deg);
  transform: rotate(270deg);
  transform-origin: top left;
  width: 0;
  height: 0;
  padding-bottom: 100%;
  position: absolute;
}
.cat.fixed {
  position: fixed;
}
.cat .inner {
  white-space: nowrap;
  position: absolute;
  top: 0;
  right: 10px;
}

.product-brand {
  font-size: 0.875rem;
  font-family: "Yantramanav", sans-serif;
  font-weight: 600;
  letter-spacing: 0.122rem;
  text-transform: uppercase;
  padding: 1.5rem 0 0 0;
  min-height: 40px;
  margin: 0;
  text-align: center;
}

.product-name {
  font-family: "Playfair Display", serif;
  font-size: 1.5rem;
  line-height: 120%;
  padding: 0.75rem 0;
  letter-spacing: -0.025rem;
  text-transform: uppercase;
  font-weight: normal;
  min-height: 50px;
  margin: 0;
  text-align: center;
}

p.obj-name {
  height: 40px;
}

h1 .subtit {
  text-transform: uppercase;
  margin: 0.2em;
}

.category-header-wrap {
  position: relative;
  min-height: 8rem;
}

.category-header {
  background: linear-gradient(0deg, rgba(0, 0, 0, 0.8), rgba(255, 255, 255, 0) 80%, transparent);
  position: absolute;
  bottom: 0;
  width: 100%;
}
.category-header h2 {
  text-align: center;
  color: #fff;
  font-size: 4rem;
  padding: 4rem 0 2rem 0;
  text-transform: uppercase;
  line-height: 0.75;
  font-family: "Playfair Display", serif;
  font-weight: 400;
}
@media (max-width: 992px) {
  .category-header h2 {
    font-size: 3rem;
  }
}

.zirant-row {
  display: flex;
  flex-wrap: wrap;
  gap: 1rem 2%;
  justify-content: center;
}

.zirant-wrap {
  flex-basis: 23%;
  flex-grow: 1;
  max-width: 25%;
  position: relative;
}

@media (max-width: 992px) {
  .zirant-wrap {
    flex-basis: 31%;
    max-width: 33%;
  }
}
@media (max-width: 480px) {
  .zirant-wrap {
    flex-basis: 47%;
    max-width: 50%;
  }
}
.zirant-name {
  position: absolute;
  bottom: -2px;
  left: 0;
  right: 0;
  color: #fff;
  padding: 2rem 1rem;
  text-align: center;
  font-size: 1.5rem;
  font-family: "Playfair Display", serif;
  background: linear-gradient(0deg, black, rgba(255, 255, 255, 0));
}
.zirant-name p {
  margin: 0;
  font-weight: 400;
}

@media (max-width: 575px) {
  .zirant-name {
    padding: 1rem;
  }
}
.subcat {
  font-size: 2.5rem;
  border-bottom: 1px solid #000;
  padding: 1rem 0;
  margin: 2rem 0;
}
@media (max-width: 575px) {
  .subcat {
    padding: 1rem 15px;
    border-bottom: none;
  }
  .subcat::after {
    content: "";
    display: block;
    border-bottom: 1px solid #000;
  }
}
.subcat h3 {
  font-size: 2.8rem;
  font-weight: normal !important;
}
@media (max-width: 992px) {
  .subcat h3 {
    font-size: 2.4rem;
  }
}

.eba-title {
  font-size: 5rem;
  line-height: 5.125rem;
  margin: 25px 0;
  font-weight: normal;
}
@media (max-width: 992px) {
  .eba-title {
    font-size: 4rem;
    line-height: 4.125rem;
  }
}

.eba-section-title {
  border-bottom: 1px solid #000;
}
.eba-section-title h2 {
  font-size: 2.75rem;
  line-height: 3.125rem;
  margin: 25px 0;
  font-weight: normal;
  text-align: left;
}
@media (max-width: 575px) {
  .eba-section-title {
    margin-left: 0;
    margin-right: 0;
  }
}

.jumbotron {
  border-radius: 0;
  border: none;
}
@media (max-width: 575px) {
  .jumbotron {
    padding-left: 15px;
    padding-right: 15px;
  }
}

.eba-header {
  border-bottom: 1px solid #000;
}
@media (max-width: 575px) {
  .eba-header {
    padding: 0 15px;
    border-bottom: none;
  }
  .eba-header::after {
    content: "";
    display: block;
    border-bottom: 1px solid #000;
  }
}

.cba-ballot, .cba-form {
  padding: 1rem;
}
@media (max-width: 575px) {
  .cba-ballot, .cba-form {
    padding: 1.5rem 15px;
  }
}

.cba-form {
  background: #fff;
  border: 1px solid;
  font-family: "Yantramanav", sans-serif;
}
.cba-form input[type=email], .cba-form button[type=submit] {
  border-radius: 0;
  border-width: 1px !important;
}
.cba-form h1, .cba-form h2, .cba-form h3, .cba-form h4, .cba-form h5 {
  font-family: "Roboto", serif;
  font-weight: normal;
}
.cba-form h2 {
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: 500;
  margin-top: 0;
  margin-bottom: 1.5rem;
  text-align: center;
}
.cba-form .table {
  background: transparent;
  font-family: "Playfair Display", serif;
  font-size: 1.2rem;
}
.cba-form .table tr:not(.topcat) td {
  padding-left: 1.5rem;
}
.cba-form .table h4, .cba-form .table h5 {
  font-size: 1rem;
  margin: 0.4em 0;
}
.cba-form .table td.hole {
  vertical-align: middle;
  width: 70%;
  padding-left: 1.5rem;
}
.cba-form .table td.hole.chosen3 {
  padding-left: 1.5rem !important;
}
.cba-form .table td {
  border-bottom: none;
}
.cba-form .table tr.topcat td, .cba-form .table tr.topcat th {
  border-color: transparent;
}
.cba-form .table tr.topcat h4 {
  font-weight: 600;
  text-transform: uppercase;
}

#productModal img {
  max-width: 100%;
  max-height: 300px;
  width: auto;
  height: auto;
}

.btn-close-modal {
  position: absolute;
  top: 0.75rem;
  right: 1rem;
  background: none;
  border: none;
  font-size: 2rem;
  line-height: 1;
  cursor: pointer;
  color: #000;
  padding: 0;
  z-index: 10;
}

.subcategory .well {
  background: rgba(255, 255, 255, 0.5);
  box-shadow: 0 0 1px 0 #555;
}
.subcategory .well h2 {
  font-size: 1.2em;
  margin: 0;
  padding: 0;
  color: #ec008c;
}

a.placeholder-izberi {
  display: inline-block;
  border: 1px solid black !important;
  border-radius: 1px;
  padding: 0.2rem 0.5rem;
  font-size: 0.75rem;
  text-transform: uppercase;
  font-family: "Roboto", sans-serif;
  font-weight: 400;
  color: black;
  text-decoration: none;
  white-space: nowrap;
}
