/* CSS */
.moj-ucet-menu {
  padding: 0.8em;
}

.moj-ucet-menu a {
  display: block;
  margin: 0.5em;
  text-decoration:none;
  border-bottom: 1px solid;
}

.cart-amount {
  width: 60px;
  text-align: right;
}

.cart-table {
  border-collapse: collapse;
  width: 100%;
  font-size: 1em;
}

.cart-table .small {
  font-size: 0.7em;
}

.cart-table td,th {
  border: 2px solid #c5c5c5;
  padding: 0.8em;
  vertical-align: middle;
  line-height: 1.4em;
}

.cart-table th {
  background-color: #c5c5c5; 
}

.cart-delete {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 27px;
  height: 27px;
  background-color: #eaeaea;
  border: 1px solid #c5c5c5;
  margin: 0 auto;
  text-align: center;
  color: black;
  cursor: pointer; 
  font-weight: bold;
}

.cart-delete:hover {
  background-color: red;
  color: white;
  border-color: black;
}

.cart-table a {
  color: #000aff;
}

.cart-table a:hover {
  text-decoration: none;
}

.cart-finish-button-div {
  margin-top: 50px;
  text-align: right;
  width:96%;
}

.cart-finish-button {
  padding: 10px 50px;
  font-size: 1.5em;
  background-color: #ff5f1d;
  border: 2px solid white;
  color: white;
  cursor: pointer;
  outline: none;
}

.cart-finish-button:hover {
  background-color: #fffcf9;
  color: #ff5f1d;
  border: 2px solid #ff5f1d;
}

.hide {
  display:none;
}

.edit-icon {
  width:15px;
  cursor:pointer;
}

.edited-cart-td {
  border: 1px solid black;
  background-color: #fff4ab;
  padding: 0.3em;
}

label,
input[type="checkbox"],
input[type="radio"] {
  cursor: pointer;
}

/* ----- register page ----- */
.general-error {
  background-color: #ff3232;
  text-align: center;
  font-weight: bold;
  padding: .7em;
  color: white;
}

.form-wrapper {
  max-width: 100%;
  margin: 0 auto;
  background-color: #f7f7f7;
  padding: 20px 30px;
}

.form-wrapper a {
  color: blue;
}

.form-wrapper a:hover {
  text-decoration: none;
}

.heading-wrapper {
  display:flex;
  align-items: flex-end;
}

.form-wrapper h1 {
  margin-bottom: 0;
  margin-top: 0;
  overflow-wrap: anywhere;
}

.form-wrapper .isreg {
  margin-left: auto;
}

.form input[type="password"].error,
.form input[type="text"].error {
  border-color: red;
  background-color: #ffe7e7;
}

.form .error-text {
  color: red;
  font-weight: bold;
  margin-top: -10px;
  margin-bottom: 15px;
}

.form .pozn {
  font-size: 0.9em;
  font-style: italic;
  margin-top: 0;
}

.form .povinne {
  font-size: 1.5em;
  color: red;
}

.form .input-container {
  margin-bottom: 15px;
}

.form label {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
}

.form input[type="password"],
.form input[type="text"] {
  width: 250px;
  height: 30px;
  border: 2px solid #616161;
  padding: 0 5px;
  margin-top: 5px;
  font-size: 1em;
}

.form input:focus {
  outline: none;
}

.form input[type="password"]:focus,
.form input[type="text"]:focus,
.form select:focus {
  border-color: #3279cb;
}

.form .row {
  display: flex;
  align-items: center;
}

.form input[type="checkbox"],
.form input[type="radio"] {
  margin: 0 5px 0 0;
}

.form .radio-row {
  margin-bottom: 5px;
}

.form .row .input-container:not(:first-child) {
  margin-left: 20px;
}

.form .active-radio-label {
  font-weight: bold;
}

.form .contact-wrapper input[type="text"] {
  width: 490px;
}

.form #obchpsc,
.form #prevpsc {
  width: 80px;
}

.form select {
  height: 30px;
  border: 2px solid #616161;
  padding: 0 5px;
  margin-top: 5px;
  font-size: 1em;
}

.form #ico,
.form #dic,
.form #icdph {
  width: 150px;
}

.form .submit-wrapper {
  margin-top: 30px;
  display: flex;
}
  
.form input[type="submit"] {
  cursor: pointer;
  background-color: #3279cb;
  border: 2px solid #3279cb;
  color: white;
  font-size: 1.4em;
  font-weight: bold;
  padding: 0 35px;
  height: 45px;
}

.form input[type="submit"]:hover {
  color: #3279cb;
  border: 2px solid #3279cb;
  background-color: white;
}

.form input[type="submit"].submit-orange {
  background-color: #ff5f1d;
  border-color: white;
}

.form input[type="submit"].submit-orange:hover {
  background-color: #fffcf9;
  border-color: #ff5f1d;
  color: #ff5f1d;
}

.form .obch-podm {
  margin-top: 0;
  margin-bottom: 0;
  margin-left: 10px;
  font-size: 0.8em;
}

.reg-data-bubble {
  border: 2px solid darkgray;
  border-radius: .5em;
  padding: .5em;
  display: inline-block;
  background-color: white;
}

.reg-data-bubble .row {
  display: flex;
}

.reg-data-bubble .row:not(:first-child) {
  margin-top: 5px;
}

.reg-data-bubble .row .label {
  text-align: right;
  width: 80px;
  margin-right: 1em;
}

.reg-data-bubble .data {
  font-weight: bold;
}

.reg-data-bubble .empty {
  font-style: italic;
}

.reg-data-bubble a {
  float: right;
  color: blue;
}

.reg-data-bubble a:hover {
  text-decoration: none;
}

.address-bubbles-wrapper {
  display: flex;
  flex-wrap: wrap;
}

.address-data-bubble {
  display: flex;
  flex-direction: column;
  min-width: 200px;
  max-width: 33%;
  padding: 10px;
  border: 2px solid darkgrey;
  border-radius: 5px;
  background-color: white;
  margin-right: 20px;
  margin-bottom: 20px;
}

.address-data-bubble label {
  cursor: pointer;
  margin-right: -5px;
}

.address-data-bubble .row {
  display: flex;
  align-items: center;
}

.address-data-bubble .row.bold {
  font-weight: bold;
}

.address-data-bubble .row:not(:first-child) {
  margin-top: 5px;
}

.address-data-bubble .row > input[type="checkbox"] {
  margin: 0 5px 0 auto;
}


.address-data-bubble.active {
  border-color: darkgreen;
  background-color: #d3ffd3;
}

.edit-address-link {
  color: blue;
  cursor: pointer;
  text-decoration: underline;
  display: block;
  text-align: right;
  margin-top: auto;
  margin-right: -5px;
}

.edit-address-link:hover {
  text-decoration: none;
}

.registration-subheading-wrapper {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.registration-subheading-wrapper a {
  color: blue;
}

.registration-subheading-wrapper a:hover {
 text-decoration: none;
}

.link-back {
  color:blue;
  margin-left: 1em;
  align-self: flex-end;
}

.link-back:hover {
  text-decoration: none;
}

/* ----- register page end ----- */
.isreg-email-div {
  padding: .6em;
  background-color: #ffeed7;
  display: inline-block;
  margin-bottom: 15px;
  box-shadow: 0 0 2px 1px #ff5200;
}

.isreg-email-div > div {
  margin-top:.5em;
}

.isreg-email-div > div > a {
  margin-right: 1em;
}

.info-message {
  text-align: center;
  font-weight: bold;
  background-color: #1fab00;
  color: white;
  padding: 10px;
}

.forgot-password {
  display: block;
  margin-top: .3em;
}

.summary-table-div {
  display: flex;
}

.summary-table-div .obch-podm {
  align-self: flex-end;
}

.summary-table {
  flex-shrink: 0;
  border-collapse: collapse;
  background-color: white;
  border: 2px solid black;
}

.summary-table td {
  padding: 7px;
  border: 1px solid black;
}

.summary-table tr:last-child {
  font-weight: bold;
}
.summary-table tr:last-child td {
  border-top-width: 2px;
  background-color: #ffff8f
}

@media only screen and (max-width :18cm) {
  .form-wrapper {
    padding: .5em;
  }
  
  .form-wrapper h1 {
    font-size: 1.6em;
  }
  
  .heading-wrapper {
    flex-direction: column;
    align-items: center;
  }
  
  .form-wrapper .isreg {
    margin-left: 0;
  }
  
  .form input[type="text"],
  .form input[type="password"] {
    width: 95%;
  }
  
  .form .pozn {
    display: block;
  }
  
  .form .contact-wrapper input[type="text"] {
    width: 95%;
  }
  
  .form .row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .form .row .input-container:not(:first-child) {
    margin-left: 0;
  }
  
  .form .radio-row {
    margin-bottom: 5px;
    flex-direction: row;
    align-items: center;
  }
  
  .form .submit-wrapper {
    flex-direction: column;
    margin-top: 25px;
  }
  
  .form input[type="submit"] {
    white-space: normal;
    height: auto;
    padding: 10px;
    margin-bottom: .8em;
  }
  
  .form .obch-podm {
    margin-top: .6em;
    margin-left: 0;
  }
  
  .summary-table-div {
    flex-direction: column;
  }
  
  .reg-data-bubble {
    width: 100%;
  }
  
  .registration-subheading-wrapper {
    flex-direction: column;
    align-items: flex-start;
  }
  
  #fakt_udaje_nadpis {
    margin-bottom: .5em;
  }
  
  .address-bubbles-wrapper {
    margin-top: 1em;
  }
  
  .address-data-bubble {
    width: 100%;
    max-width: 100%;
    margin-right: 0;
  }
}:root {
  --framecolor: lightgray;
  --bgcolor: white;
  --color: #444444;
  --left-width: 250px;  
  --menucolor: #3279cb;
  --bgcolorback: #ededed;
  --incartcolor: #ed665c;
  --bgimage: url(/img/texture.jpg);
}

* {
  box-sizing: border-box;
}

img {
  max-width: 100%;
  max-height: 100%;
}

img.nolimit {
  max-width: none;
  max-height: none;
}
  
body,
.header-over {  /* tu len pozadie, ine vlastnosti nizsie */ 
  background-color: var(--bgcolorback);
  background-image: var(--bgimage);
  background-position: left top;
  background-size: auto;
  background-repeat: repeat;
  background-attachment: fixed;
  padding-bottom: .2em;
}

body {
  overflow: overlay;
  font-family: sans-serif;
  color: var(--color);
}

.oznamdiv {
  position: fixed;
  width: 500px;
  top: 50%;
  left: 50%;
  margin-left: -250px;
  border: 1px solid #404040;
  border-radius: 5px;
  padding: 15px;
  background-color: #fff6b3;
  box-shadow: 4px 4px 5px 3px #4c4c4c;
  font-size: 1.2em;
  color: black;
}

.oznamdiv .buttondiv {
  margin-top: 1.5em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.oznamdiv button {
  display: inline-block;
  cursor: pointer;
  padding: .5em 3em;
  font-weight: bold;
  background-color: var(--menucolor);
  border: 1px solid var(--menucolor);
  color: white;
  margin-left: 1em;
  margin-right: 1em;
}

.oznamdiv button:hover {
  color: var(--menucolor);
  background-color: white;
}

.main-container {
  background-color: var(--bgcolor);
  margin:auto;
  max-width:1150px;
}

.container {
  min-height: 500px;
}

.header {
  position: relative;
}

.header-over{
  text-align: right;
}

.header-over p {
  margin: .3em;
}

.header-over a {
  font-size: .85em;
  text-decoration: none;
  color: var(--color);
  padding: 0 .5em;
  white-space: nowrap;
}

.header-main {
  display: flex;
  align-items: center;
  padding: .5em 1em;
}

.logo {
  height: 68px;
}

.header-shopid {
  display: flex;
  flex-direction: column;
  text-align: center;
}

.header-shopid h2 {
  margin: .1em 0;
}

.header-shopid a {
  text-decoration: none;
  font-size: 1.4em;
  color:var(--color);
}

.header-search {
  display: flex;
  position: absolute;
  top: -45px;
  left: 300px;
}

.search-input {
  height: 30px;
  width: 230px;
  border: 2px solid lightgrey;
  border-radius: 15px 0 0 15px;
  border-right-width: 0px;
  outline: none;
  padding: 0 10px;
}

.search-submit {
  display: none;
}

.search-button {
  height: 30px;
  width: 50px;
  border: 2px solid lightgrey;
  color: #404040;
  border-radius: 0 15px 15px 0;
  background-color: lightgrey;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
}

.search-button:hover {
  color: white;
  border-color: var(--menucolor);
  background-color: var(--menucolor);
}

.mobile-menu {
  display: none;
  margin-left: auto;
  font-size: x-large;
  cursor: pointer;
  color: white;
}

.mobile-menu:hover {
  color: lightgrey;
}

.mobile-links {
  display: none;
  flex-direction: column;
  position: absolute;
  right: 0;
  z-index: 10;
}

.mobile-links > a {
  text-decoration: none;
  padding: 10px;
  color: white;
  border-top: 1px solid white;
  background-color: var(--menucolor);
}

.mobile-links > a:hover {
  background-color: #929292;
}

.header-cart {
  margin-left: auto;
}

.cart-left-count {
  position: relative;
  top: -38px;
  left: 22px;
  text-align: center;
  width: 20px;
  color:grey;
}

.cart-left {
  float: right;
  padding: 0 .5em;
  margin-bottom: -20px;
}

.cart-img {
  width: 58px;
}

.cart-right   {
  float:right;
  padding: .6em 0;
}

.cart-right-price {
  color: red;
  font-weight:bold;
}

.menubar {
  background-color: var(--menucolor);
  color:white;
  padding: 15px 10px;
  display: flex;
  align-items: center;
  position: relative;
}

.menubar a {
  text-decoration:none;
  color:white;
  padding: 0 1.5em;
  border-right: solid darkgrey 1px;
}

.footer {
  padding: .5em;
}

.left-block {
  float:left; 
  width: var(--left-width);
  padding: .5em;
}

.category-tree {
  border-right: 1px solid lightgray;
  font-size: .95em;
  margin-bottom: 2em;
}

.category-tree a {
  color: #666666;
  display: block;
  margin: .5em 0;
}

.category-tree a:hover {
  text-decoration:none;
}

.category-subcategory {
  margin: .5em;
  text-align: center;
}

.category-subcategory > a {
  text-decoration: none;
  color: var(--color);
}

.category-subcategory-img {
  min-height: 100px;
}

.category-subcategory-name {
  position: relative;
  top: -3em;
  background-color: white;
  padding: .2em;
  margin-bottom: -3em;
}

.category-subcategory-name h2 {
  margin: .3em 0 .2em 0;
  font-size: 1em;
  min-height: 3.5em;
}

.jump-to-category-tree {
  display: none;
  margin: 1em 0 .5em 1em;
}

.content {
  padding: 1.5em;
  float:right;
  width: calc(100% - var(--left-width) - 45px);
  
}

.product-div-mini {
  margin: .5em .5em 1.7em .5em;
  text-align: center;
}

.product-div-mini a {
  text-decoration: none;
  color: var(--color);
}

.product-img-div-mini {
  height: 220px;
  vertical-align:middle;
  display: table-cell;
}

.product-img-mini {
  vertical-align:middle;
}

.product-name-mini h3 {
  margin: .3em 0 .2em 0;
  font-size: 1em;
  min-height: 3.5em;
}

.product-code-mini {
  font-size: .8em;
  margin-top: .3em;
}

.product-price-mini, .product-price-big {
  font-weight: bold;
  font-size: 1.3em;
  color: red;
  margin: .2em 0;
}

.product-unit-price-info-mini {
  font-size: .8em;
  color:grey;
}

.product-request-form {
  border: 2px solid black;
  position: fixed;
  top: 150px;
  left: 50%;
  transform: translate(-50%, 0);
  background-color: cornsilk;
  border-radius: 20px;
  padding: 1em;
  min-width: 550px;
}

.product-request-form-close-button {
  position: absolute;
  right: .5em;
  top: -.3em;
  font-size: 2em;
  cursor: pointer;
}

.product-request-form-close-button:hover {
  color: red;
}

.product-request-form > .product-name {
  font-weight: bold;
}

.product-request-details {
  font-style: italic;
  line-height: 1.3em;
}

.product-request-form-first-row {
  display: flex;
  align-items: center;
  margin-bottom: 1em;
}

.product-request-form-first-row input {
  margin-left: 5px;
}

.product-request-form input[type=text] {
  font-size: 1em;
  padding: .1em .3em;
  border: 1px solid #595959;
}

.product-request-email-wrapper {
  display: flex;
  align-items: center;
  margin-right: auto;
}

.product-request-quantity-wrapper {
  display: flex;
  align-items: center;
}

.product-request-quantity-label {
  display: flex;
  flex-direction: column;
}

.pack-info-2 {
  font-size: .8em;
  align-self: flex-end;
}

.product-request-form #quantity {
  width: 3em;
  text-align: right;
}

.product-request-form #comment {
  resize: none;
  width: 100%;
  height: 4em;
  padding: .3em;
  font-size: 1.2em;
  border: 1px solid #595959;
  margin-top: 2px;
}

.product-request-form input[type=submit] {
  background-color: var(--menucolor);
  border: 2px solid;
  border-color: var(--menucolor);
  color: white;
  font-size: 1.2em;
  padding: .3em 1em;
  cursor: pointer;
  margin-top: .3rem;
  transition: background-color .1s ease;
}

.product-request-form input[type=submit]:hover {
  color: var(--menucolor);
  background-color: white;
  transition: background-color .1s ease;
}

.product-request-form input[type=submit]:disabled {
  cursor: not-allowed;
  background-color: #efefef;
  color: #bbbbbb;
  border-color: #bbbbbb;
}

.product-request-link {
  font-size: .8em;
  margin-top: .3rem;
  display: inline-block;
  color: blue;
  text-decoration: underline;
  font-style: italic;
  cursor: pointer;
}

.product-request-link:hover {
  text-decoration: none;
}

.mandatory-field {
  color: red;
  margin-left: .2em;
  font-size: 1.3em;
}

.tocart-variations-mini {
  margin-top: .3em;
}

.tocart-variations-mini select {
  margin-bottom: .2em;
}

.tocart-amount-mini {
  margin-top: .3rem;
}

.tocart-div-mini {
  margin-top: .3rem;
}

.tocart-button-mini,
.tocart-button-big {
  background-color: var(--menucolor);
  color: white;
  width: 8em;
  height: 2.2em;
  font-weight: bold;
  font-size: 1.15em;
  cursor: pointer;
  border: 2px solid;
  border-color: var(--menucolor);
  transition: background-color .1s ease;
}

.tocart-button-mini:hover,
.tocart-button-big:hover {
  background-color: white;
  color: var(--menucolor);
  transition: background-color .1s ease;
}

.incart-div-mini {
  background-color: var(--incartcolor);
  color: white;
  text-align: center;
  margin: .1em 0;
  width: 100%;
  padding: .4em;
}

.incart-div-mini a {
  text-decoration: underline;
  color: white;
}

.stock-amount {
  margin-top: .3rem;
}

.outofstock-info {
  margin-top: 1.4em;
  height: 2.2em;
  display: flex;
  align-items: center;
  justify-content: center;
  background-color: #c1c1c1;
}

/* -------------- PRODUCT-PAGE START -------------- */
.productpage-product-title {
  margin-bottom: 1em;
}

/*.productpage-img-div {*/
  
/*  min-height: 100px;*/
/*  margin-right: 15px;*/
/*  float: left;*/
/*  text-align: center;*/
/*  width: calc(99% - 300px);*/
/*}*/

/*.productpage-img {*/
/*  max-height: 600px;*/
/*  margin-bottom: 15px;*/
/*}*/

.productpage-images-main-wrapper {
  display: flex;
  flex-direction: column;
  width: calc(100% - 290px);
  float: left;
  margin-right: 20px;
  margin-bottom: 10px;
}

.productpage-main-img-div {
  padding: 15px;
  border: 2px solid #e2e2e2;
  display: flex;
  justify-content: center;
  cursor: pointer;
  height: 400px;
}

.productpage-main-img {
  align-self: center;
}

.productpage-additional-images-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(100px,120px));
  grid-gap: 10px;
  margin-top: 10px;
}

.productpage-additional-img-div {
  border: 1px solid #828282;
  display: grid;
  cursor: pointer;
}

.productpage-additional-img {
  align-self: center;
  justify-self: center;
}

.productpage-upper-right-div {
  width: 260px;
  float: right;
  text-align:center;
}

.productpage-base-price-info {
  font-style: italic;
  font-size: .8em;
  margin-bottom: .2em;
}

.productpage-product-price {
  font-weight: bold;
  font-size: 1.6em;
  background-color: #eaeaea;
  padding: 10px;
  color: red;
  text-align: center;
  width: 100%;
}

.productpage-product-unit-price {
  margin-top: .3rem;
  text-align: center;
  font-style: italic;
}


.productpage-product-variations-div {
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  margin-top:30px;
}

.productpage-product-variations-select {
  cursor: pointer;
  height: 40px;
  font-size: 1.1em;
  border: 2px solid #b3b3b3;
  margin-left: 5px;
  padding: 0 10px;
  outline: none;
  max-width: 90%;
}

.productpage-product-variations-select:focus {
  border-color: #3279cb;
}

.productpage-stock-amount {
  
}

.productpage-tocart-amount-div {
  margin-top: 20px;
  text-align: center;
}

.productpage-tocart-amount {
  height: 40px;
  border: 2px solid #b3b3b3;
  width: 80px;
  text-align: center;
  font-size: 1.3em;
}
.productpage-tocart-amount:focus {
  outline: none;
  border-color: #3279cb;
}

.productpage-tocart-button {
  width: 100%;
  cursor: pointer;
  margin-top: .95em;
  margin-bottom: .2em;
  background-color: #269e54;
  color: white;
  font-weight: bold;
  font-size: 1.3em;
  border: none;
  height: 50px;
  transition: background-color .1s ease;
  outline: none;
}

.productpage-tocart-button:hover {
  border: 2px solid #269e54;
  color: #269e54;
  background-color: #f0fff0;
  transition: background-color .1s ease;
}

.productpage-product-description {
  font-size: 1.1em;
  line-height: 1.5em;
  text-indent: 2em;
  text-align: justify;
}

.more-pictures-wrapper {
  clear: both;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 150px));
  grid-gap: 10px 20px;
}

.more-pictures-wrapper > div {
  cursor: pointer;
}
/* ---------- PRODUCT-PAGE END ------------*/

/* --------- ORDER-PAGE START -------------*/
.order-form-wrapper {
  max-width: 100%;
  margin: 0 auto;
  background-color: #f7f7f7;
  padding: 20px 30px;
}

.order-form-wrapper h1 {
  margin-top: 0;
  margin-bottom: 0;
}

.order-form-subheading {
  display: flex;
  justify-content: space-between;
}

.order-form-wrapper h2 {
  margin-bottom: .4em;
}

/* --------- ORDER-PAGE END ---------------*/

.tocart-amount-mini input {
  width: 5em;
}


.grid-container {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
}

.related-categories-wrapper {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(190px, 1fr));
  margin-bottom: 10px;
}

.related-categories-wrapper > a {
  color: #666666;
}

.related-categories-wrapper > a:hover {
  text-decoration: none;
}

.paging-options-wrapper {
  display: flex;
  flex-direction: column;
  background-color: #f3f3f3;
  padding: 10px;
}

.paging-options-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
}

.paging-options-row > * {
  margin-top: .3rem;
  margin-bottom: .3rem;
}

.paging-options-row > span {
  margin-left: 10px;
  margin-right: 10px;
}

.paging-options-row > span > select {
  margin-left: 5px;
}

select {
  /*height: 22px;*/
  /*border: 1px solid black;*/
  /*padding: 0 8px;*/
  /*border-radius: 5px;*/
  outline: none;
}

.page-button {
  display: flex;
  border: 1px solid #c5c5c5;
  width: 20px;
  height: 20px;
  text-decoration: none;
  align-items: center;
  color: black;
  padding: 5px;
  justify-content: center;
  margin-left: 5px;
  margin-right: 5px;
  flex-shrink: 0;
  background-color: white;
}

a.page-button:hover {
  border-width: 2px;
  border-color: tomato;
  font-weight: bold;
  margin: 4px;
}

.page-button.active {
  background-color: #9e9e9e;
  font-weight: bold;
  border: none;
}

.next-products-button-container {
  display: flex;
  justify-content: center;
}

.next-products-button {
  display: inline-block;
  padding:  10px;
  border:  1px solid darkgreen;
  border-radius: 5px;
  color: darkgreen;
  background-color: #a1dd5c;
  font-size: larger;
  cursor: pointer;
  font-weight: bold;
}
.next-products-button[disabled] {
  cursor: not-allowed;
  background-color: #bebebe;
  color: #848484;
  border: 1px solid #d2d2d2;
}

.next-products-button:hover:not([disabled]) {
  color: white;
  background-color: darkgreen;
}

.cart-table-small {
  display: none;
}

.cart-table-small td,
.cart-table-small th {
  padding: .6em;
}

.cart-table-small tr:nth-child(4n),
.cart-table-small tr:nth-child(4n+3) {
  background: #eaeaea;
}

.cart-table-small .cart-amount {
  width: 40px;
}

.fa.fa-trash {
  font-size: 1.3em;
  cursor: pointer;
}

.fa.fa-trash:hover {
  color: red;
}

.bold {font-weight: bold;}
.td-center {text-align: center;}
.td-left { text-align: left;}
.td-right { text-align: right;}
.td-up { vertical-align:top;}
.group:before,
.group:after {content:" "; display:table;}
.group:after {clear:both;}
/*.group { *zoom: 1;}*/

.breadcrumb {
  padding: .5em;
  font-size: .9em;
}

.breadcrumb a {
  color: grey;
  
}

.img-viewer {
  position: fixed;
  background-color: #f9f9f9;
  border: 2px solid black;
  border-radius: 20px;
  width: 80%;
  height: 80vh;
  top: 150px;
  left: 50%;
  margin-left: -40%;
  padding: 1em;
}

.img-viewer-button {
  position: absolute;
  background-color: var(--menucolor);
  color: white;
  width: 50px;
  height: 50px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 2em;
  border-radius: 25px;
  cursor: pointer;
}

#img_viewer_close {
  top: -10px;
  right: -10px;
  background-color: black;
  
}

#img_viewer_close:hover {
  background-color: white;
}

#img_viewer_next {
  top: 50%;
  right: .5%;
}

#img_viewer_prev {
  top: 50%;
  left: .5%;
}

.img-viewer-button:hover {
  background-color: white;
  color: black;
  border: 2px solid black;
}

.img-viewer .img-counter-div {
  text-align: center;
  font-size: 1.3em;
  margin-bottom: .5em;
  font-weight: bold;
}

.img-viewer .main-img-div {
  width: 90%;
  height: 95%;
  position: relative;
  left: 50%;
  margin-left: -45%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  overflow: auto;
}

.blue-link {
  color: blue;
}

.blue-link:hover {
  text-decoration: none;
}

@media only screen and (max-width :950px) {
  .productpage-img-div {
    width: 100%;
  }
}

@media only screen and (max-width :768px) {
  .container {
    display: block;
  }
  
  .header-over {
    display: none;
  }
  
  .header-search {
    position: static;
  }
  
  .search-input {
    border: none;
    height: 25px;
  }
  
  .search-button {
    height: 25px;
  }
  .search-button:hover {
    color: white;
    border-color: #404040;
    background-color: #404040;
  }
  
  .menubar {
    padding: 5px 10px;
  }
  
  .menubar > a {
    display: none;
  }
  
  .mobile-menu {
    display: block;
  }
  
  .header-shopid {
    font-size: .95em;
  }
  
  .jump-to-category-tree {
    display: block;
  }
  
  .productpage-img-div {
    width: 100%;
  }
  
  .content {
    float: none;
    width: 100%;
    margin: 0;
    padding: .7em;
    border-bottom: 2px solid;
  }
  
  .left-block {
    float: none;
    width: 100%;
    margin: 0;
    padding: .7em;
  }
  
  .category-tree {
    border: none;
    font-size: 1.1em;
  }
  
  .productpage-product-title {
    margin-bottom: .5em;
    font-size: 1.6em;
  }
  
  .productpage-main-wrapper {
    display: flex;
    flex-direction: column;
  }
  
  .productpage-images-main-wrapper {
    margin: 0;
    float: none;
    width: 100%;
  }
  
  .productpage-main-img-div {
    border: none;
    padding: 0;
    height: initial;
    display: block;
    text-align: center;
  }
  
  .productpage-additional-images-wrapper {
    grid-template-columns: 1fr 1fr 1fr 1fr;
    grid-gap: 5px;
  }
  
  .productpage-upper-right-div {
    width: 50%;
    float: none;
    align-self: center;
    margin-top: 20px;
  }
  
  .cart-table-big {
    display: none;
  }
  
  .cart-table-small {
    display: table;
  }
  
  .oznamdiv {
    width: 90%;
    left: 5%;
    margin-left: 0;
  }
  
  .product-request-form {
    width: 95%;
    position: fixed;
    top: 50%;
    transform: translate(-50%, -50%);
    min-width: initial;
  }
  
  .product-request-form-close-button {
    right: .75em;
  }
  
  .product-request-form-first-row {
    flex-direction: column;
    align-items: flex-start;
  }
  
  .product-request-email-wrapper {
    min-width: 75%;
    margin-right: 0;
    margin-bottom: .3em;
  }
  
  .product-request-form #email {
    flex-grow: 1;
  }
  
  .product-request-quantity-wrapper {
    min-width: 75%;
  }
  
  .product-request-form #quantity {
    flex-grow: 1;
  }
  
  .cart-right {
    padding: 0;
    font-size: .9em;
  }
}

@media only screen and (max-width :10cm) {
  .product-div-mini {
    width: 94%;
    border-bottom: 1px dotted;
    padding-bottom: 1em;
  }
  
  .cart-left {
    display: none;
  }
  
  .search-input {
    width: 200px;
  }
  
  .category-subcategory {
    width: 94%;
    border-bottom: 1px dotted;
    padding-bottom: 1em;
  }
  
  .category-subcategory-name {
    top: -3.7em;
  }
  
  .productpage-upper-right-div {
    width: 100%;
  }
  
  .product-request-email-wrapper {
    width: 100%;
  }
  
  .product-request-quantity-wrapper {
    width: 100%;
  }
}