/* kalkulatory master */
body, html {
  text-align: center;
  width: 100%;
  font-family: 'regular';
  color: #444444;
  background: #eeeeee;
}
#wrapper {
  width: calc(100% - 40px);
  max-width: 1000px;
  margin: auto;
  text-align: left;
  font-size: 0.95em;
}
.col {
  display: flex;
  gap: 0px;
  justify-content: space-between;
  flex-wrap: wrap;
}
.col.gap {
  gap: 10px;
}
.col > div {
  flex-grow: 1;
  flex-basis: 0;
  min-width: 0;
}
.padded {
  padding: 20px 20px 0px 20px;
}
.spts{
  margin-top: 10px;
}
.spb {
  margin-bottom: 10px;
}
.box {
  padding-bottom: 20px;
  background: #f9f9f9;
  border-color: #dfdfdf;
}
nav, footer > div {
  max-width: 1000px;
  }
h2, h3, h4 {
  font-family: 'bold';
  font-weight: normal;
}
h4 {
  font-size: 1.1em;
  margin: 0px;
}
hr {
  margin-bottom: 20px;
  border: none;
  border-top: 1px solid #eaeaea;
  border-bottom: 1px solid #ffffff;
}
.border-bottom-light {
  border-bottom: 1px solid #eeeeee;
  padding-bottom: 0px;
  border: none;
  margin-bottom: -10px;
}
.col-header {
  margin-top: 0px;
  border: 0px solid rgba(0,0,0,0);
  border-radius: 9px 9px 0px 0px;
  background: var(--special-color);
  color: #ffffff;
  padding: 15px 20px;
  margin: 0px;
}
.right {
  text-align: right;
}
.left {
  text-align: left;
}
.linear-gradient-1 {
  background-image: linear-gradient(60deg, #009DE0, #582aa2);
}
.linear-gradient-2 {
  background-image: linear-gradient(60deg, #582aa2, #a22aa2);
}
a.small, .button-link {
  font-size: 0.9em;
  text-decoration: none;
  color: var(--special-color);
}
.button-link {
  display: inline-block;
}
a.small:hover, .button-link:hover {
  color: var(--special-color-2);
}
a.small .material-symbols-outlined, .button-link .material-symbols-outlined{
  font-variation-settings:
  'FILL' 0,
  'wght' 290,
  'GRAD' 0,
  'opsz' 24;
  margin-top: -50px;
  margin-right: -5px;
  display: inline-block;
  transform: translateY(8px) translateX(-4px) scale(0.7);
}
.tile {
  cursor: pointer;
  background: #ffffff;
  border: 1px solid #e4e4e4;
  border-top-color: #efefef;
  background-position: 10px 50%;
  background-position: 17px 50%;
  background-repeat: no-repeat;
  background-size: 0px 0px;
  border-bottom-color: #dadada;
  border-color: #dedede;
  border-radius: 6px;
  padding: 10px;

  font-size: 0.9em;
  text-align: center;
  text-shadow: 0px 1px 0px #ffffff;
  transition: ease-in-out 0.25s;
}
.tile:hover {
  border-color: var(--special-color);
  color: var(--special-color);
}
.tile.active {
  border-color: var(--special-color);
  background-color: rgba(24, 150, 221, 0.1);
  background-image: url('img/check.png');
  background-position: 6px 50%;
  background-position: 10px 50%;
  background-repeat: no-repeat;
  background-size: 13px 13px;
}
.tile img {
  display: block;
  width: 90%;
  max-width: 80px;
  margin: auto;
  filter: brightness(108%)  contrast(100%);
  transition: ease-in-out 0.4s;
}
.flyers-images .tile img {
  filter: brightness(127%)  contrast(80%);
  transform: scale(1.5);
}
.cover-images .tile.active img {
  filter: brightness(100%)  contrast(105%);
}
.tile:hover img {
  transform: translateY(-5px);
}
.flyers-images .tile:hover img {
  transform: translateY(-5px) scale(1.5);
}
.tile.active img {
  filter: brightness(120%) contrast(120%);
}
.tile p {
  display: inline;
  margin: 0px;
}
.stretch-children {
  display: flex;
  align-items: stretch;
}
.hide {
  display: none;
}
.paper {
}
div:has(#parameters){
  flex-grow: 1.5;
  gap: 20px;
}
#parameters, #price-list{
  margin-bottom: 30px;
}
#price-list{
  /*
  transition: cubic-bezier(0.08,0.82,0.17,1) 0.15s;
  */
}



.price-list-element {
  font-size: 1.1em;
  border: 1px solid rgba(255,255,255,0);
  border-bottom: 1px solid #eaeaea;
  margin-bottom: -1px;
  padding: 3px;
  cursor: pointer;
  transition: ease-in-out 0.25s;
}
.price-list-element:hover {
  border-color: var(--special-color);
  color: var(--special-color);
  background: #fefefe;
  background-position: 27px 50%;
  background-repeat: no-repeat;
  background-size: 0px 0px;
  border-radius: 6px;
  text-shadow: 0px 1px 0px #ffffff;
  padding-left: 15px;
  padding-right: 15px;
  margin-left: -10px;
  margin-right: -10px;
}
.price-list-element.active {
  border-color: var(--special-color);
  background-color: rgba(24, 150, 221, 0.1);
  background-image: url('img/check.png');
  background-position: 17px 50%;
  background-repeat: no-repeat;
  background-size: 13px 13px;
  border-radius: 6px;
  padding-left: 42px;
  padding-right: 15px;
}
.price-list-element .col {
  align-items: center;
}
.price-2 {
  font-size: 0.7em;
  color: #aaaaaa;
}
.special-price {
  display: inline-block;
  font-family: 'bold';
  text-decoration: none !important;
  margin-right: 10px;
}
.lined {
  text-decoration: line-through;
  opacity: 0.7;
}
#price-summup {
  margin: 20px 0px;
  font-size: 1.7em;
  opacity: 0;
}
#price-summup .smaller {
  font-size: 0.6em;
}
#btn-order {
  font-size: 1.1em;
  padding: 15px;
}
#mobile-price-info{
  position: fixed;
  bottom: 0px;
  left: 0px;
  width: 100%;
  background: var(--special-color);
  color: #ffffff;
  box-shadow: 0px -1px 15px rgba(0,0,0,0.2);
  padding: 10px 20px 20px 20px;
  box-sizing: border-box;
  text-align: center;
  transition: ease-in-out 0.4s;
}
#mobile-price-info .col{
  align-items: center;
}
#mobile-price-info .button{
  filter: brightness(120%) saturate(80%);
}
#mobile-price-info .button:hover{
  background: var(--special-color);
}
#mobile-quantity, #mobile-price {
  font-size: 1.3em;
  font-family: 'bold';
  display: inline-block;
}
#mobile-price {

}
#in-price-list-custom, .inline-input {
  background: none;
  margin: 0px;
  margin-left: 5px;
  line-height: 20px;
  padding: 0px 5px;
  width: 60px;
  text-align: center;
}
.inline-input {
  width: 80px;
  text-align: left;
}
/* Chrome, Safari, Edge, Opera */
input::-webkit-outer-spin-button,
input::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

/* Firefox */
input[type=number] {
  -moz-appearance: textfield;
}

.old-price {
  text-decoration: line-through;
  opacity: 0.5;
  margin-left: 5px;
}
#price-summup .old-price {
  display: none;
}


.mobile-only {
  display: none;
}

@media only screen and (max-width: 500px) {
  .col-to-break-later {
    display: block;
  }
  .col-to-break-later > div {
    margin-bottom: 10px;
  }
  .spt-to-break {
    margin-top: 0px;
  }
  .tile.pages {
    background-image: none;
  }
}
@media only screen and (max-width: 900px) {
  .col-to-break, .mobile-only {
    display: block;
  }
  #price-list{

  }
}
