/* Body */

Body {
  background-color: var(--StramisWhite);
  overflow-x: hidden;
}

/* Header */

Header {
  justify-content: space-between;
  align-items: center;
  background-color: var(--StramisWhite);
  color: var(--StramisBlack);
  width: 100%;
  top: 0;
  z-index: 1000;
}

#modal-body h2 {
  color: var(--StramisRed);
  font-size: 1.2rem;
  text-transform: uppercase;
  font-weight: var(--semibold);
  padding-top: 1rem;
}

p.modal-box {
  font-size: 1rem;
  margin-bottom: 0rem;
}

.info-bar {
  display: flex;
  background-color: var(--StramisRed);
  color: var(--StramisWhite);
  align-items: center;
  justify-content: center;
  position: relative;
  top: 0;
  width: 100%;
  z-index: 100;
  padding: 6px;
}

h6.text-info {
  font-size: 1rem;
  color: var(--StramisWhite)!important;
  text-align: center;
  margin: 0;
  width: 100%;
  word-wrap: break-word;
}

.brand {
  height: 80px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  background-color: var(--StramisWhite);
  position: relative;
  width: 100%;
  z-index: 90;
  border-width: 4px 0 4px 0;
  border-color: var(--StramisBlack);
  border-style: solid;
}

.brand-number {
  display: flex;
  align-items: center;
  height: 80px;
  min-width: 80px;
  padding: 0 5vh 0 5vh;
  background-color: var(--StramisRed);
  color: var(--StramisWhite);
  border-width: 4px 0 4px 4px;
  border-color: var(--StramisBlack);
  border-style: solid;
}

h1.text-mesic {
  font-size: 2.5rem;
  font-weight: 700;
  transform: translateY(17%);
}

.logo {
  margin: 10px;
  height: 3.5vh;
}

/* Administration */

#AdministrationCollapse {
  border-width: 5px 5px 5px 5px;
  border-style: solid;
  border-color: var(--StramisBlack);
  background-color: var(--StramisWhite);
}

#AdministrationButton {
  color: var(--StramisWhite);
  background-color: var(--StramisRed);
}

/* Menu */

#Mounth {
  background-color: var(--StramisRed);
  width: 35%;
}

footer {
  text-align: center;
  padding: 10px 120px;
  box-sizing: border-box;
  width: 100%;
  background-color: var(--StramisWhite);
  color: var(--StramisBlack);
  font-size: 1rem;
  line-height: 1.5;
  margin-top: auto;
}

h6.footer {
  margin: 0!important;
}

#Contacts {
  border-width: 5px 0px 0px 0px;
  border-style: solid;
  border-color: var(--StramisBlack);
}

#Validity {
  background-color: var(--StramisRed);
  color: var(--StramisWhite);
  border-right-width: 5px;
  border-style: solid;
  border-color: var(--StramisBlack);
}

#Fail {
  color: var(--StramisBlack);
}

.img-full {
  width: 100%;
  border-radius: 0.3125em;
}

.img-border-radius {
  border-radius: 0.3125em;
}

/* HordaGrid */

/* clearfix */

.grid {
  position: relative;
}

.grid:after {
  content: '';
  display: block;
  clear: both;
}

.Visual {
  position: relative;
  margin: 0;
}

.Small, .Large, .Main {
  /*padding: 0.125em;*/
  padding: 2px;
}

/* Media Queries */

/* Malá zařízení od 321px */

@media (min-width: 20.125em) {
  .grid-sizer, .Small, .Large, .Main {
    width: 100%;
  }
}

/* Střední zařízení do 768px */

@media (max-width: 48em) {
  .grid-sizer {
    width: 50%;
  }
}

@media (max-width: 48em) {
  .Small {
    width: 50%;
  }
}

@media (max-width: 48em) {
  .Large, .Main {
    width: 100%;
  }
}

/* Střední zařízení do 1024px */

@media (min-width: 48.001em) and (max-width: 64em) {
  .grid-sizer {
    width: 25%;
  }
}

@media (min-width: 48.001em) and (max-width: 64em) {
  .Small {
    width: 25%;
  }
}

@media (min-width: 48.001em) and (max-width: 64em) {
  .Large, .Main {
    width: 100%;
  }
}

/* Do full hd */

@media (min-width: 64.001em) and (max-width: 119.9999999em) {
  .grid-sizer {
    width: 10%;
  }
}

@media (min-width: 64.001em) and (max-width: 119.9999999em) {
  .Small {
    width: 10%;
  }
}

@media (min-width: 64.001em) and (max-width: 119.9999999em) {
  .Large {
    width: 50%;
  }
}

@media (min-width: 64.001em) and (max-width: 119.9999999em) {
  .Main {
    width: 50%;
  }
}

/* Od full hd do 4k */

@media (min-width: 120em) and (max-width: 239.9999999em) {
  .grid-sizer {
    width: 8.333333333333333%;
  }
}

@media (min-width: 120em) and (max-width: 239.9999999em) {
  .Small {
    width: 8.333333333333333%;
  }
}

@media (min-width: 120em) and (max-width: 239.9999999em) {
  .Large {
    width: 33.33333333%;
  }
}

@media (min-width: 120em) and (max-width: 239.9999999em) {
  .Main {
    width: 66.6666666%;
  }
}

/* 4k a výše */

@media (min-width: 120em) {
  .grid-sizer {
    width: 5%;
  }
}

@media (min-width: 120em) {
  .Small {
    width: 5%;
  }
}

@media (min-width: 120em) {
  .Large {
    width: 25%;
  }
}

@media (min-width: 120em) {
  .Main {
    width: 50%;
  }
}

/* position stamp elements with CSS */

.stamp {
  position: absolute;
  /*background: orange;*/
  border: 4px dotted black;
}

.stamp1 {
  left: 30%;
  top: 10px;
  width: 20%;
  height: 180px;
}

/* PriceText */

.PriceText {
  position: absolute;
  color: var(--StramisBlack);
  background-color: var(--StramisWhite);
  border: 2px solid var(--StramisBlack);
  border-radius: 5px;
  box-sizing: border-box;
  padding: 5px 10px;
}

.PriceTextCell {
  padding: 5px;
}

/* Cenovka DoT */

.PriceTag {
  width: 34px;
  height: 34px;
  transform: translateX(-1rem) translateY(-1rem) scale(1);
  position: absolute;
  cursor: pointer;
}

.PriceCircle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--StramisBlack);
  opacity: 0.5;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1077;
}

.InnerCircle {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background-color: var(--StramisWhite);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1078;
  transition: transform 0.4s ease;
}

.PlusTag {
  transform: translate(-50%, -50%);
  position: absolute;
  width: 34px;
  height: 34px;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  z-index: 1077;
}

.PlusTagBackground {
  position: absolute;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background-color: var(--StramisBlack);
  opacity: 0.5;
}

/* Animace PriceTag */

.PriceTag:hover .InnerCircle {
  transform: translate(-50%, -50%) scale(0.75);
}

.PriceTag:hover .PriceCircle, .InnerCircle:hover ~ .PriceCircle {
  opacity: 1;
  transition: opacity 0.4s ease;
}

.PriceTag:after {
  content: "";
  display: block;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  opacity: 0;
  transition: all 0.5s;
  box-shadow: 0 0 10px 40px var(--StramisWhite);
}

.PriceTag:active:after {
  box-shadow: 0 0 0 0 white;
  position: absolute;
  border-radius: 4em;
  left: 0;
  top: 0;
  opacity: 1;
  transition: 0s;
}

/* Filter */

/* Specifický styl pro PriceTag-Kartonek */

.PriceTag-tuba {
  animation: pulseKartonek 1s infinite;
}

.PriceTag-kartonek {
  animation: pulseKartonek 1s infinite;
}

.PriceTag-darkove {
  animation: pulseKartonek 1s infinite;
}

.PriceTag-novinka {
  animation: pulseKartonek 1s infinite;
}

.PriceTag-novinka {
  animation: pulseKartonek 1s infinite;
}

.PriceTag-akcni {
  animation: pulseKartonek 1s infinite;
}

@keyframes pulseKartonek {
  0% {
    transform: translateX(-1rem) translateY(-1rem) scale(1);
  }
  50% {
    transform: translateX(-1rem) translateY(-1rem) scale(1.2);
  }
  100% {
    transform: translateX(-1rem) translateY(-1rem) scale(1);
  }
}

/* Konec cenovka DoT */

.DoT-container {
  position: absolute;
  height: 0%;
  width: 0%;
}

.TabulkaH3 {
  font-size: calc(0.8rem);
  font-weight: var(--semibold)!important;
}

/* MonthButton */

.mounth {
  width: 100%;
  height: 100%;
  padding: 0 0 0 0;
}

.col-center-border {
  border-right-width: 5px;
  border-right-style: solid;
  border-left-width: 5px;
  border-left-style: solid;
}

.MonthButton {
  display: flex;
  align-items: center;
  justify-content: center;
}

.MonthButtonH {
  position: absolute;
  display: block!important;
  text-align: center;
  font-family: Nexa;
  color: var(--StramisWhite);
  z-index: 3;
}

.MonthButtonH1 {
  font-size: calc(0.5rem + 3vw);
  font-weight: var(--semibold)!important;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.MonthButtonOverlay {
  position: absolute;
  display: flex;
  width: 100%;
  height: 100%;
  background-color: var(--StramisRedOpacity)!important;
  z-index: 2;
  transition: opacity 0.3s ease;
}

.MonthButtonOverlay:hover {
  position: absolute;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.MonthButtonImg {
  z-index: 1;
}

.YearRow {
  border-top-width: 5px;
  border-top-style: solid;
  border-right-width: 5px;
  border-right-style: solid;
  border-left-width: 5px;
  border-left-style: solid;
  border-bottom-width: 5px;
  border-bottom-style: solid;
}

.MonthRow {
  border-right-width: 5px;
  border-right-style: solid;
  border-left-width: 5px;
  border-left-style: solid;
}

/* Tabulka */

.duplicate-link {
  display: block;
  margin: 5px 0;
  padding: 10px;
  border: 1px solid #ddd;
  text-decoration: none;
  color: inherit;
  transition: background-color 0.3s;
}

.duplicate-link:hover {
  background-color: var(--StramisWhite);
}

.duplicate-row {
  margin: 0;
}

.image-error {
  height: 100%;
  width: 100%;
  padding: 10px;
  background-color: var(--StramisWhite);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  border: 2px dashed var(--StramisBlack);
}

.img-alert-icon {
  margin-bottom: 10px;
}

.img-alert-text {
  font-weight: 500;
}

.Transition {
  width: 100%;
  height: 20px;
  background-color: #ffcc00;
  margin: 0;
  padding: 0;
}

