/*
@import url(https://fonts.googleapis.com/css?family=Roboto:400,400italic,700);
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Roboto";
}
*/

@-webkit-keyframes openUp {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0.5);
            transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes openUp {
  0% {
    -webkit-transform: translate(-50%, -50%) scale(0.5);
            transform: translate(-50%, -50%) scale(0.5);
  }
  100% {
    -webkit-transform: translate(-50%, -50%) scale(1);
            transform: translate(-50%, -50%) scale(1);
  }
}
.vuebutton {
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0.5em;
  margin: 0.5em 0;
  background: white;
  border: 1px solid black;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  font-size: 14px;
  cursor: pointer;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  display:inline-block;
  color: black;
}
.vuebutton .fa {
  font-size: 1em !important;
  vertical-align: middle;
}
.vuebutton:hover {
  color: white;
  background: black;
}
.vuebutton:disabled,
.vuebutton[disabled]{
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

input {
  display: inline-block;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  padding: 0.5em;
  width: 50px;
  background: white;
  border: 1px solid black;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  font-size: 14px;
}

label {
  font-size: 0.75em;
  margin-right: 0.5em;
}

.checkout-area table {
  margin: 0 auto;
  padding: 0.5em;
  width: 100%;
  max-width: 40em;
  text-align: left;
}
.checkout-area table th, .checkout-area table td {
  padding: 0 0.25em;
}

.main-wrapper #vue .modalWrapper .vuemodal #modalAmount {
  margin: 0.5em 0.5em 0.5em 0;
  font-size: 14px;
}

.main-wrapper #vue .modalWrapper .checkout .form-wrapper {
  padding:1.5em;
  width: 27em;
}
.main-wrapper #vue .modalWrapper .checkout .checkoutTable
 {
  margin: 1.5em 1.5em 0.5em 1.5em;
  width: 27em;
  height: 29em;
  height:fit-content;
}
.main-wrapper #vue .modalWrapper .checkout .checkoutTable th {
	padding: 4px;
}
.main-wrapper #vue .modalWrapper .checkout .checkoutTable td {
	padding: 4px;
}
.main-wrapper #vue .modalWrapper .checkout .checkoutImage {
  width: 3em;
  height: 3em;
  margin: 0 auto;
  position: relative;
}
.main-wrapper #vue .modalWrapper .checkout h1,
.main-wrapper #vue .modalWrapper .checkout h3 {
  margin-bottom:10px;
}
.main-wrapper #vue .modalWrapper .checkout .checkoutsum {
  padding-right:1.2em;
  padding-bottom:1em;
  font-size:1.6em;
}

.main-wrapper #vue .modalWrapper .checkout fieldset {
    border: 0;
}

.main-wrapper #vue .modalWrapper .checkout .controls {
		margin: 0em 0em 12px 0; /* Bottom margin */
}

.main-wrapper #vue .modalWrapper .checkout input, select, textarea {
    width: 100%; /* Full width */
    padding: 9px; /* Some padding */ 
    border: 1px solid #ccc; /* Gray border */
    border-radius: 4px; /* Rounded borders */
    box-sizing: border-box; /* Make sure that padding and width stays in place */
    resize: vertical; /* Allow the user to vertically resize the textarea (not horizontally) */
	font-size: 14px;
}

.main-wrapper #vue .modalWrapper .checkout input[type=submit] {
    background-color: #4CAF50;
    color: white;
    padding: 12px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.main-wrapper #vue .modalWrapper .checkout input[type=submit]:hover {
    background-color: #45a049;
}

.main-wrapper #vue .modalWrapper .checkout .submit {
    background-color: #4CAF50;
    color: white;
    padding: 10px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
}

.main-wrapper #vue .modalWrapper .checkout .submit:hover {
    background-color: #45a049;
}

.main-wrapper #vue .modalWrapper .checkout .submit:disabled {
  box-shadow: none;
  cursor: not-allowed;
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}
.main-wrapper #vue .modalWrapper .checkout .submit:disabled:hover {
  border: 1px solid #999999;
  background-color: #cccccc;
  color: #666666;
}

/*Checkbox style*/

/*
input[type="checkbox"] { display: none; }

input[type="checkbox"] + label {
  font-size: 16px;
  color: #666666;
  position: relative;
  padding-left: 35px;
  margin-bottom: 20px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
}

input[type="checkbox"] + label:last-child { margin-bottom: 0; }

input[type="checkbox"] + label:before {
  content: '';
  display: block;
  width: 16px;
  height: 16px;
  border: 2px solid #4CAF50;
  position: absolute;
  left: 0;
  top: 0;
  opacity: .6;
  -webkit-transition: all .12s, border-color .08s;
  transition: all .12s, border-color .08s;
}

input[type="checkbox"]:checked + label:before {
  width: 10px;
  top: -5px;
  left: 5px;
  border-radius: 0;
  opacity: 1;
  border-top-color: transparent;
  border-left-color: transparent;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
}

*/

.align-left {
  text-align: left;
}

.align-center {
  text-align: center;
}

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

.vert-bottom {
  vertical-align: bottom;
}

.vert-middle {
  vertical-align: middle;
}

.main-wrapper .header {
  background: -webkit-linear-gradient(right, #16222A, #3A6073);
  background: linear-gradient(to left, #16222A, #3A6073);
  background-size: cover;
  box-shadow: inset -1px -3px 5px rgba(0, 0, 0, 0.5), inset 1px 3px 5px rgba(0, 0, 0, 0.5);
}
.main-wrapper .header .logo {
  width:177px;
  margin:0 auto;
  padding-top:10px;
  padding-bottom:10px;
}
.main-wrapper .header h1 {
  text-align: center;
  color: white;
  font-size: 2em;
  text-shadow: 1px 3px 5px rgba(0, 0, 0, 0.5), -1px -3px 5px rgba(0, 0, 0, 0.5);
  padding-bottom:5px;
}
.main-wrapper #vue {
  margin: 0 auto;
  padding: 0.5em;
  text-align: center;
  line-height: 1.2;
}
.main-wrapper #vue .cart {
  position: fixed;
  right: 0em;
  top: 0em;
  text-align: right;
  background: rgba(0, 0, 0, 0.85);
  color: white;
  z-index: 3;
}
.main-wrapper #vue .cart .fa-shopping-cart, .main-wrapper #vue .cart .cart-size {
  cursor: pointer;
  font-size: 1.25em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
}
.main-wrapper #vue .cart .shipping-link {
  text-align: center;
  padding-top: 5px;
}
.main-wrapper #vue .cart .shipping-link a:hover {
  color:red;
}
.form-wrapper .shipping-link {
	padding-bottom: 8px;
    line-height: 0;
}
.form-wrapper .shipping-link a {
  color:black;
  font-weight:bold;
}
.form-wrapper .shipping-link a:hover {
  color:red;
}

.main-wrapper #vue .cart .fa-shopping-cart {
  padding: 1em 1em 1em 0;
}
.main-wrapper #vue .cart .cart-size {
  padding: 1em 0 1em 1em;
}
.main-wrapper #vue .cart .cart-items {
  padding: 0 1em 2em 1em;
  width: 27.7em;
}
.main-wrapper #vue .cart .cart-items .cartTable {
  width: 25.6em;
}
.main-wrapper #vue .cart .cart-items .cartImage {
  width: 4em;
  height: 4em;
/*  margin: 0 0.6em 0 0; */
  position: relative;
  cursor: pointer;
  display: flex;
}
.main-wrapper #vue .cart .cart-items .cartImage:after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(147, 147, 147, 0.25);
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
}
.main-wrapper #vue .cart .cart-items .cartImage i {
  position: absolute;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 1.5em;
  z-index: 1;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-wrapper #vue .cart .cart-items .cartImage:hover i {
  text-shadow: 1px 2px 5px black;
}
.main-wrapper #vue .cart .cart-items .cartImage:hover:after {
  background: rgba(0, 0, 0, 0.5);
}
.main-wrapper #vue .cart .cart-items .cartImage:active i {
  text-shadow: 0px 0px 1px black;
}
.main-wrapper #vue .cart .cart-items .cartSubTotal {
  border-top: 1px solid white;
  font-size: 1.25em;
  margin-top: 10px;
}
.main-wrapper #vue .cart .cart-items .clearCart {
  float: left;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.main-wrapper #vue .cart .cart-items .checkoutCart {
  float: right;
  margin-top: 1.25em;
  margin-bottom: 1.25em;
}
.main-wrapper #vue .products {
  margin: 0 auto;
  width: 100%;
  max-width: 80em;
}
.main-wrapper #vue .products .product {
  display: inline-table;
  margin: 0.75em;
  width: 100%;
  max-width: 18em;
  position: relative;
  border: 1px solid #e7e7e6;
  background-color: rgba(251, 250, 248, 0.5);
  padding: 10px;
}
.main-wrapper #vue .products .product .image {
/*  width: 18em; */
  height: 15em;
  margin-bottom: 0.5em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  -webkit-transition: box-shadow 0.25s;
  transition: box-shadow 0.25s;
}
.main-wrapper #vue .products .product .image:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  opacity: 0;
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-wrapper #vue .products .product .image:after {
  content: "\f00e";
  font-family: "FontAwesome";
  position: absolute;
  top: 250%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  font-size: 5em;
  color: white;
  pointer-events: none;
  text-shadow: 0 0 5px rgba(0, 0, 0, 0.5), 0 0 10px rgba(0, 0, 0, 0.5);
  -webkit-transition: all 0.25s;
  transition: all 0.25s;
}
.main-wrapper #vue .products .product .image:hover {
  box-shadow: 0 12px 15px 0 rgba(0, 0, 0, 0.24), 0 17px 50px 0 rgba(0, 0, 0, 0.19);
}
.main-wrapper #vue .products .product .image:hover:before {
  opacity: 1;
}
.main-wrapper #vue .products .product .image:hover:after {
  top: 50%;
}
/*
.main-wrapper #vue .products .product .name {
  font-weight: bold;
  font-size: 1.25em;
} */
.main-wrapper #vue .products .product .description {
  font-style: italic;
}
.main-wrapper #vue .products .product .stock {
  color: green;
  font-size: 21px;
  padding-top: 7px;
}
.main-wrapper #vue .products .product .stock.red {
  color: maroon;
}
.main-wrapper #vue .products .product .stock.orange {
  color: OrangeRed;
}
.main-wrapper #vue .products .product .price {
  font-weight: bold;
}
.main-wrapper #vue .modalWrapper {
  position: relative;
}
.main-wrapper #vue .modalWrapper .overlay, .main-wrapper #vue .modalWrapper .statusOverlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.7);
  z-index: 3;
}


.main-wrapper #vue .modalWrapper .prevProduct, .main-wrapper #vue .modalWrapper .nextProduct {
  position: fixed;
  color: white;
  font-size: 2em;
  cursor: pointer;
  top: 50%;
  -webkit-transform: translateY(-50%);
          transform: translateY(-50%);
  padding: 1em;
  -webkit-user-select: none;
     -moz-user-select: none;
      -ms-user-select: none;
          user-select: none;
  z-index: 5;
}
.main-wrapper #vue .modalWrapper .prevProduct {
  left: calc(50% - 15.86em);
}
.main-wrapper #vue .modalWrapper .nextProduct {
  right: calc(50% - 15.86em);
}
.main-wrapper #vue .modalWrapper .vuemodal {
  position: fixed;
  top: 50%;
  left: 50%;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background: white;
  text-align: center;
  max-height: calc(100% - 2em);
  overflow-x: hidden;
  -webkit-animation: openUp 0.8s;
          animation: openUp 0.8s;
  z-index: 3;
  -webkit-backface-visibility: hidden;
          backface-visibility: hidden;
  display: flex;
 /* min-height: 464px; */
}

.success-message {
  color: #3ba55d;
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 1.3em;
  padding: 20px;
  margin-top: 30px;
  min-width: 350px;
  }

.error-message {
  color: #e74c3c;;
  font-weight: bold;
  margin-bottom: 30px;
  font-size: 1.3em;
  padding: 20px;
  margin-top: 30px;
  min-width: 350px;
  }

.main-wrapper #vue .modalWrapper .vuemodal .close {
  position: fixed;
  top: -0.5em;
  right: -0.5em;
  cursor: pointer;
  padding: 1em;
}
.main-wrapper #vue .modalWrapper .vuemodal .infopanel {
  width: 27em;
  height: 29em;
  float: left;
  padding: 1.5em;
  display: flex;
  flex-direction: column;
}
.main-wrapper #vue .modalWrapper .vuemodal .infopanel .infotext {
  text-align: left;
  padding: 10px 0;
}

.main-wrapper #vue .modalWrapper .vuemodal .imageWrapper {
  width: 27em;
  height: 29em;
  overflow: hidden;
  float: left;
  padding: 1.5em;
}
.main-wrapper #vue .modalWrapper .vuemodal .imageWrapper .image {
  width: 100%;
  height: 100%;
  -webkit-transition: -webkit-transform 0.2s;
  transition: -webkit-transform 0.2s;
  transition: transform 0.2s;
  transition: transform 0.2s, -webkit-transform 0.2s;
  z-index: 4;

}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  width: 100%;
  margin: 0 auto;
  text-align: center;
}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages .additionalImage {
  -webkit-box-flex: 1;
      -ms-flex-positive: 1;
          flex-grow: 1;
  margin: 0.5em 1em;
  position: relative;
  overflow: hidden;
  cursor: pointer;
  width: 25%;
  height: auto;
  position: relative;
}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages .additionalImage:before {
  display: block;
  content: "";
  width: 100%;
  padding-top: 75%;
}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages .additionalImage > .content {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages .additionalImage:nth-of-type(1n) {
  margin-left: 0;
}
.main-wrapper #vue .modalWrapper .vuemodal .additionalImages .additionalImage:nth-of-type(4n) {
  margin-right: 0;
}
.main-wrapper #vue .modalWrapper .vuemodal .name {
  font-weight: bold;
  font-size: 2em;
}
.main-wrapper #vue .modalWrapper .vuemodal .name .article {
  font-size: 22px;
  color: #8e8e8e;  
}
.main-wrapper #vue .modalWrapper .vuemodal .medal {
  padding-bottom: 10px;
  font-size: 17px;
}
.main-wrapper #vue .modalWrapper .vuemodal .description {
  font-style: italic;
}
.main-wrapper #vue .modalWrapper .vuemodal .stock {
  color: green;
}
.main-wrapper #vue .modalWrapper .vuemodal .stock.red {
  color: maroon;
}
.main-wrapper #vue .modalWrapper .vuemodal .stock.orange {
  color: OrangeRed;
}
.main-wrapper #vue .modalWrapper .vuemodal .details {
  max-width: 25em;
  margin: 0 auto;
  padding: 0.5em 0;
}
.main-wrapper #vue .modalWrapper .vuemodal .price {
  font-weight: bold;
  font-size: 1.7em;
}
.main-wrapper #vue .modalWrapper .vuemodal .price .stock {
  padding-left:35px;
}
.main-wrapper #vue .modalWrapper .vuemodal .foot {
  width: 100%;
  margin-top: auto;
}
.main-wrapper #vue .modalWrapper .vuemodal .modalcats td {
  padding-right:5px;
}
.main-wrapper #vue .modalWrapper .vuemodal .modalcats a {
  color: red;
  font-weight: bold;
}
.main-wrapper #vue .modalWrapper .vuemodal .modalcats a:hover {
  color: maroon;
  text-decoration: underline;
  background-color: ;
}
.main-wrapper #vue .modalWrapper .vuemodal .modalcats .cats {
  font-weight: 700;
}


.cartcontainer {
  display: flex; /* Použijeme Flexbox pro hlavní rozložení */
/*  flex-wrap: wrap;  Umožní zalomení řádků při zmenšení */
  align-items: stretch; /* Důležité pro roztahování výšky */
   min-height:66px;
}
.cartcontainer .box, .cartcontainer .box-m, .cartcontainer .box-a { 
  align-items: center;

}

.box {
  border: 1px solid black; /* Pro vizuální znázornění boxů */
  text-align: center;
/*  flex: 1; */
  display: flex;

}
.middle-column {
  display: flex;
  flex: fit-content; /* Zajistí, že prostřední sloupec se roztáhne */
}
.box-m {
  border: 1px solid black; /* Pro vizuální znázornění boxů */
  text-align: left;
  flex: 1;
  display: flex;
  padding:9px;
}
.box-a {
  border: 1px solid black;
  min-width:54px;
  display: flex;
  justify-content: center;
}
.cartflex {
  display: flex;
}
.cartbutton {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  padding: 0.4em;
  margin: 1.2em 0.7em;
  background: white;
  border: 1px solid black;
  -webkit-transition: all 0.1s;
  transition: all 0.1s;
  font-size: 14px;
  cursor: pointer;
  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
  display: ruby-text;
  color: black;
}
@media (max-width: 450px) {
	.main-wrapper #vue .cart .cart-items .hidenone{
		visibility: hidden;
	}
	.main-wrapper #vue .cart .cart-items .cartImage{
		display: contents;
	}
	.main-wrapper #vue .cart .cart-items .cartTable {
		width: 21.6em;
	}
	.main-wrapper #vue .cart .cart-items {
		width: 23.1em;
	}
}

@media (max-width: 980px) {
	.main-wrapper #vue .modalWrapper .vuemodal{
	  display: grid;
	}
	.main-wrapper #vue .modalWrapper .prevProduct {
	  left: calc(50% - 7.6em);
	}
	.main-wrapper #vue .modalWrapper .nextProduct {
	  right: calc(50% - 7.6em);
	}
	.main-wrapper #vue .modalWrapper .vuemodal .imageWrapper {
	  width: 21em;
	  height: 19em;
	  padding: 0.9em;
	}
	.main-wrapper #vue .modalWrapper .vuemodal .infopanel {
	  width: 21em;
	  height: 26em;
	  padding: 0.9em;
	}
	.main-wrapper #vue .modalWrapper .checkout .checkoutTable {
		width: 19.6em;
		margin: 3em 0.7em 0.7em 0.7em;
	}
	.main-wrapper #vue .modalWrapper .checkout .form-wrapper {
		width: 21em;
		padding: 0.7em;
	}
	
	.hidenone{
		display: none;
	}

}

