a.tag{
  margin: 0 10px 0 0;
}

a.tag.font-size-12{
  font-size: 12px;
}

a.tag.font-size-14{
  font-size: 14px;
  font-weight: bold;
}

a.tag.font-size-16{
  font-size: 16px;
  font-weight: bold;
}

a.tag.font-size-18{
  font-size: 18px;
  font-weight: bold;
}

a.tag.font-size-20{
  font-size: 20px;
  font-weight: bold;
}

a.tag.font-size-22{
  font-size: 22px;
  font-weight: bold;
}


a.badge{
  margin-right: 5px;
}

#calendar .ui-datepicker-header{
  background-color: white;
  padding: 8px 0 8px 0;
}

#calendar .ui-datepicker-prev span, #calendar .ui-datepicker-next span{
  display: none;
}

#calendar .ui-datepicker-title{
  text-align: center;
  font-weight: bold;
  font-size: 115%;
}
#calendar .ui-datepicker-prev {
  float: left;
  margin-left: 10px;
  margin-top: 3px;
  background-image: url("../images/kalendar_sipka.png");
  background-repeat: no-repeat;
  display: block;
  width: 8px;
  height: 13px;
  cursor: pointer;
}

#calendar .ui-datepicker-next {
  float: right;
  cursor: pointer;
  margin-top: 3px;
  margin-right: 10px;
  background-image: url("../images/kalendar_sipka2.png");
  background-repeat: no-repeat;
  display: block;
  width: 8px;
  height: 13px;
}

#calendar td, #calendar th {
  background-color: #f8f8f7 !important;
  padding: 7px 0 7px 0;
  font-size: 100%;
  text-align: center;
}

#calendar td.ui-datepicker-today,  #calendar td.ui-datepicker-today a {
  background-color: #b6aba5 !important;
  color: #fff;
}

#calendar td a, #calendar td a:hover{
  cursor: not-allowed;
  color: #503e32;
  text-decoration: none !important;
}

#calendar td.highlight a, #calendar td.highlight a:hover{
  color: #80b83f;
  cursor: pointer;
  font-weight: bold;
}

#calendar td.highlight a.ui-state-active{
  color: white;
}

#calendar table{
  width: 100%;
}

.alert {
  padding: 15px;
  margin: 20px 0 20px 0;
  border: 1px solid transparent;
  border-radius: 4px;
}
.alert h4 {
  margin-top: 0;
  color: inherit;
}
.alert .alert-link {
  font-weight: bold;
}
.alert > p,
.alert > ul {
  margin-bottom: 0;
}
.alert > p + p {
  margin-top: 5px;
}
.alert-dismissable,
.alert-dismissible {
  padding-right: 35px;
}
.alert-dismissable .close,
.alert-dismissible .close {
  position: relative;
  top: -2px;
  right: -21px;
  color: inherit;
}
.alert-success {
  background-color: #dff0d8;
  border-color: #d6e9c6;
  color: #3c763d;
}
.alert-success hr {
  border-top-color: #c9e2b3;
}
.alert-success .alert-link {
  color: #2b542c;
}
.alert-info {
  background-color: #d9edf7;
  border-color: #bce8f1;
  color: #31708f;
}
.alert-info hr {
  border-top-color: #a6e1ec;
}
.alert-info .alert-link {
  color: #245269;
}
.alert-warning {
  background-color: #fcf8e3;
  border-color: #faebcc;
  color: #8a6d3b;
}
.alert-warning hr {
  border-top-color: #f7e1b5;
}
.alert-warning .alert-link {
  color: #66512c;
}
.alert-error, ul.error {
  background-color: #f2dede;
  border-color: #ebccd1;
  color: #a94442;
}
.alert-error hr {
  border-top-color: #e4b9c0;
}
.alert-error .alert-link {
  color: #843534;
}

.pace {
  -webkit-pointer-events: none;
  pointer-events: none;

  -webkit-user-select: none;
  -moz-user-select: none;
  user-select: none;
}

.pace-inactive {
  display: none;
}

.pace .pace-progress {
  background: rgb(145,195,0);
  position: fixed;
  z-index: 2000;
  top: 0;
  right: 100%;
  width: 100%;
  height: 2px;
}

/*
ul.gallery {
  display: block;
  margin: 5px 0 5px 0;
  padding: 0;
}
ul.gallery li {
  margin: 0;
  float: left;
  list-style: none;
  padding: 0 0 5px 0;
  margin: 0 8px 6px 0;
  width: 118px;
  height: 98px;
  position: relative;
}
ul.gallery li a {
  border: 1px solid #bababa;
  background: #fff;
  display: block;
  width: 117px;
  height: 95px;
  -webkit-box-shadow: 2px 2px 5px 0px rgba(50,50,50,0.75);
  -moz-box-shadow: 2px 2px 5px 0px rgba(50,50,50,0.75);
  box-shadow: 2px 2px 5px 0px rgba(50,50,50,0.75);
}
ul.gallery li a img {
  padding: 4px;
  display: block;
  max-width: 127px;
  max-height: 86px;
  margin: auto;
}


*/
.clear:after{
  clear: both;
  content: "";
  display: block;
}
.help-block.text-danger{
  color: red;
}
img.load {
  opacity: 0;
  transition: opacity .3s ease-in;
}

#menu-breadcrumb{
  margin-top: -50px;
}


main .gallerie img{
  margin-bottom: 5px;
  margin-left: 2px;
}

#gallery a {
  float: left;
  list-style: none;
  padding: 5px;
}

main div.orderform fieldset.upload p#uploader {
  max-width: 91% !important;
}
main div.orderform fieldset.order-type p {
  max-width: 100% !important;
}

main div.orderform fieldset.submit input[type='submit'] {
  background: rgb(0,180,240);
  font-size: 1.5rem;
  padding: 0.6875rem 4.375rem 0.625rem 4.375rem;
}

main .box.text .contact-us .contactform input, main .box.text .contact-us .contactform textarea{
  background: rgb(245,245,245);
}

main .contactform form input[type='submit'] {
  background: rgb(145,195,0) !important;
  width: 100%;

}

.loginform .help-block.text-danger{
  position: absolute;
  font-size: 0.8em;
  margin-top: 30px;
  left: 0;
}
.loginform input.has-error{
  margin-bottom: 20px !important;
}

.loginform{
  position: relative;
}

#survey label{
  cursor: pointer;
}


#survey .bg-teal {
  background-color: #00b297;
}

#survey .bg-danger {
  background-color: #dc3545 !important;
}

#survey .bg-warning {
  background-color: #F49917 !important;
}

#survey .bg-info {
  background-color: #17a2b8 !important;
}

#survey .bg-purple {
  background-color: #6f42c1;
}




/****** Style Star Rating Widget *****/

#snippet-rating-rating form {
  float: left;line-height: 13px;
}
#snippet-rating-rating {
  float: right;
}
.rating {
  border: none;

}

.rating > input { display: none; }
.rating > label:before {
  margin: 5px;
  font-size: 1.25em;
  font-family: FontAwesome;
  display: inline-block;
  content: "\f005";
}

.rating > .half:before {
  content: "\f089" !important;
  position: absolute;
}

.rating > label {
  color: #ddd;
  float: right;
}

/***** CSS Magic to Highlight Stars on Hover *****/

.rating > input:checked ~ label, /* show gold star when clicked */
.rating:not(:checked) > label:hover, /* hover current star */
.rating:not(:checked) > label:hover ~ label { color: #FFD700;  } /* hover previous stars in list */

.rating > input:checked + label:hover, /* hover current star when changing rating */
.rating > input:checked ~ label:hover,
.rating > label:hover ~ input:checked ~ label, /* lighten current selection */
.rating > input:checked ~ label:hover ~ label { color: #FFED85;  }


main a.submit {
  background: rgb(204,0,0);
  border: none;
  border-radius: 25px;
  color: rgb(255,255,255);
  font-family: Montserrat, sans-serif;
  font-size: 1.125rem;
  font-weight: 800;
  padding: 1.0625rem 1.875rem 0.8125rem 1.875rem;
  text-decoration: none;
}


main a.submit:hover, main a.submit:focus, main a.submit:focus {
  -webkit-animation-duration: 0.2s;
  -o-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-name: animation5;
  -o-animation-name: animation5;
  animation-name: animation5;
  -webkit-animation-timing-function: linear;
  -o-animation-timing-function: linear;
  animation-timing-function: linear;
}


.progress {
  display: -ms-flexbox;
  display: flex;
  height: 1.1rem;
  overflow: hidden;
  font-size: .85rem;
  background-color: #e9ecef;
  border-radius: .25rem;
}

#survey label {
  cursor: pointer;
}

#survey .bg-teal {
  background-color: #00b297;
}
#snippet-surveyForm-actualSurvey{
  margin-top: 25px;
}
.progress-bar {
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  -ms-flex-pack: center;
  justify-content: center;
  color: #fff;
  text-align: center;
  white-space: nowrap;
  background-color: #007bff;
  transition: width .6s ease;
}

main form .rating input[type='radio']:checked + label::before {
  background: none !important;
  border-color: rgb(59,139,27);
}


main form .rating  input[type='radio'] + label {
   display: block;
   padding-left: 0px;
   padding-top: 0px;
   position: relative;
}


.contact-left{
  font-size: 130%;
  width: 33%;
  float: left;
  margin-top: 20px;
  margin-bottom: 20px;
}

.contact-right{
  font-size: 130%;
  width: 33%;
  float: right;
  margin-top: 20px;
  margin-bottom: 20px;
}

main div.detail.advanced div.ingredients > div p.selected a:first-of-type {
  background: rgb(59,139,27);
  cursor: pointer;
}

main div.order-form fieldset.order-summary {
  margin-top: 0.875rem;
  width: 100%;
}

img.opacity{
  opacity: 1;
}

main form :not('.rating') input[type='radio'] + label::before {
   border: 1px solid rgb(218,218,218);
   border-radius: 50%;
   content: '';
   left: 0;
   height: 28px;
   position: absolute;
   top: 0;
   width: 28px;
}

main div.order-form ul.guidepost {
  border-bottom: 1px solid rgb(230,230,230);
  border-top: 1px solid rgb(230,230,230);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  -webkit-flex-wrap: wrap;
  -ms-flex-wrap: wrap;
  flex-wrap: wrap;
  -webkit-box-pack: center;
  -webkit-justify-content: center;
  -ms-flex-pack: center;
  justify-content: center;
  margin: 1.1875rem 0.4375rem 3.4375rem 0.4375rem;
  padding-bottom: 0.5rem;
  padding-top: 0.625rem;
  width: 100%;
}

main div.order-form ul.guidepost li {
  font-size: 1.25rem;
  font-weight: 300;
  list-style: none;
  margin: 0.625rem 1.25rem 0.5rem 1.25rem;
}

main div.order-form ul.guidepost li a {
  text-decoration: none;
}
main div.order-form ul.guidepost a.active {
  color: rgb(59,139,27);
  font-weight: 500;
}
main div.order-form ul.guidepost a:hover, main div.order-form ul.guidepost a:focus {
  -webkit-animation-duration: 0.2s;
  -o-animation-duration: 0.2s;
  animation-duration: 0.2s;
  -webkit-animation-fill-mode: forwards;
  -o-animation-fill-mode: forwards;
  animation-fill-mode: forwards;
  -webkit-animation-name: animation13;
  -o-animation-name: animation13;
  animation-name: animation13;
  -webkit-animation-timing-function: linear;
  -o-animation-timing-function: linear;
  animation-timing-function: linear;
}


.help-block.text-danger {
  color: red;
  display: block;
  text-align: center;
}

main div.detail.advanced div.base a::before {
  border: 1px solid rgb(215,215,215);
}


main div.detail .summary  span.allergens {
  display: contents;
}

main .category h2 {
  display: block;
  width: 100%;
  margin-bottom: 20px;
}


@media (max-width:600px) {
  header p.registration span{
    display: none;
  }

  /* Vlastní řádek přes celou šířku pod logem: přihlásit vlevo, zaregistrovat se vpravo.
     Záporné okraje ruší odsazení sloupce s kontakty (vlevo 190px, vpravo 0.625rem). */
  header[role='banner'] > div:nth-of-type(1) p.registration {
    align-self: stretch;
    box-sizing: border-box;
    display: flex;
    font-size: 0.9375rem;
    font-weight: 600;
    justify-content: space-between;
    margin: 0.625rem -0.625rem 0 -190px;
    padding: 0 1.25rem;
  }

  header[role='banner'] > div:nth-of-type(1) p.registration::before {
    display: none;
  }

  header[role='banner'] > div:nth-of-type(1) p.registration a {
    padding: 0.625rem 0;
    white-space: nowrap;
  }

  /* přihlášený uživatel má jediný odkaz – zarovnat doprava k ostatním údajům */
  header[role='banner'] > div:nth-of-type(1) p.registration a:only-of-type {
    margin-left: auto;
  }
}

@media (max-width:500px) {
  /* Logo a sloupec kontaktů stojí vedle sebe; logo se nesmí roztáhnout přes řádek s odkazy. */
  header[role='banner'] {
    background: url('../res/background01.png');
  }

  header[role='banner'] h1.logo,
  header[role='banner'] p.logo {
    align-self: flex-start;
  }

  header[role='banner'] > div:nth-of-type(1) {
    overflow: visible;
  }

  /* sloupec kontaktů tady začíná až za logem (šířka 162px) */
  header[role='banner'] > div:nth-of-type(1) p.registration {
    margin-left: -162px;
  }
}


#inlineFormMail_message{
  color: white;
  font-size: 12px;
}


#ajax-spinner{
  position: fixed;
  z-index: 999;
  overflow: visible;

  top: 0;
  left: 0;
  bottom: 0;
  right: 0;
  background-color: rgba(0,0,0,0.12);

}

#spinner {
  background-image: url("../ico/spinner.gif");
  background-size: 6em 6em;
  height: 6em;
  width: 6em;
  position: absolute;
  top: 50%;
  left: 50%;
}


main #snippet-rating-rating{
    color: #ddd;
}
main div.order-form .quantity-control {
  align-items: center;
  display: inline-flex;
  gap: 7px;
  justify-content: center;
}

main div.order-form .quantity-control form.remove-action {
  display: block;
  flex: 0 0 auto;
  margin: 0;
}

main div.order-form .quantity-control form.remove-action button[type='submit'],
main div.order-form .quantity-control form.remove-action button[type='submit']:hover,
main div.order-form .quantity-control form.remove-action button[type='submit']:focus {
  animation: none;
  background: transparent;
  border: 0;
  border-radius: 0;
  color: rgb(90,90,90);
  font-size: 0.75rem;
  font-weight: 400;
  line-height: 1;
  padding: 0;
}

main div.order-form .quantity-control form.remove-action .remove-label {
  font-size: 0.875rem;
  margin-left: 0;
  opacity: 0.85;
}

main div.order-form fieldset.submit a.submit {
  font-size: 0.875rem;
}
main .submit .submit.cartBack{
  background: rgb(110,110,110);
  float: left;
}

main .submit .submit.cartOrder{
  float: right;
}

@media (max-width:600px) {
  main .submit .submit.cartBack,
  main .submit .submit.cartOrder{
    float: none;
    display: block;
    margin: auto;
    margin-bottom: 40px;
  }
}

footer[role='contentinfo'] div.copyright {
  -webkit-box-align: center;
  -webkit-align-items: center;
  -ms-flex-align: center;
  align-items: center;
  color: rgb(255,255,255);
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display: flex;
  font-family: Montserrat, sans-serif;
  font-size: 0.75rem;
  font-weight: 400;
  height: 100%;
  position: absolute;
  right: 2.5rem;
}
