
* {
  margin: 0;
  padding: 0;
}

.grafika-obal {
  font-family: barlow;
}

.grafika-obal .calculator-input, .grafika-obal #calculator-output {
    position: relative;
    z-index: 2;
    background: #E8F0F8;
    width: 100%;
    max-width: 576px;
    display: block;
    margin: 0 auto;
    padding: 24px;
    border-radius: 4px;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    border: 2px solid #ffffff;
    box-shadow: rgb(0 0 0 / 5%) 0px 4px 12px;
  }
  
  .grafika-obal #calculator-output {
    z-index: 1;
    margin-top: 15px;
    display: none;
  }
  
  .slide-in {
    animation: slide-in 250ms ease-in-out both;
    display: block !important;
  }
  
  @keyframes slide-in {
    0% {
        transform: translateY(-50%);
        opacity: 0;
    }
    100% {
        transform: translateY(0);
        opacity: 1;
    }
  }
  
  .grafika-obal #calculator-output .box-output table {
    width: 100%;
    display: table;
  }
  
  .grafika-obal #calculator-output .box-output table tr td {
    font-size: 17px;
    font-weight: bold;
    text-align: left;
    vertical-align: middle;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    padding: 6px 0px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
  }
  .grafika-obal #calculator-output .box-output table tr td em {
    font-size: 17px;
    font-style: normal;
  }
  
  .grafika-obal #calculator-output .box-output table tr td:nth-child(2) {
    font-size: 24px;
    text-align: right;
    font-weight: bold;
    color: #1b69bf;
  }
  
  /* .final-vypocet {
    color: #48A9A6;
  } */
  
  .grafika-obal .calculator-input h2 {
    margin: 0;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.15);
    color: #1b69bf;
    font-family: 'Barlow';
  }
  
  .grafika-obal .calculator-input .radio-option{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
    -webkit-box-align: end;
        -ms-flex-align: end;
            align-items: flex-end;
  }  
  
  .grafika-obal .calculator-input .my-label {
    cursor: default;
    font-size: 17px;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    width: 100%;
  }
  
  .grafika-obal .calculator-input .my-label .tooltip{
    margin-left: 7px;
    background: #f38d59;
    position: relative;
    top: -2.5px;
    display: inline-block;
    width: 17px;
    height: 17px;
    box-sizing: border-box;
    text-align: center;
    border-radius: 50px;
    color: white;
    font-size: 12px;
    font-family: 'Lora';
    font-weight: bold;
  }
  
  .grafika-obal .calculator-input .hledani-pole {
    cursor: pointer;
    color: #1b69bf;
    font-weight: 700;
    line-height: 1.35;
    border: 1px solid #d2d9dd;
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px 1px rgb(0 0 0 / 12%);
    box-shadow: 2px 2px 1px rgb(0 0 0 / 12%);
    padding: 8px 10px;
    -webkit-box-flex: 3;
    -ms-flex-positive: 3;
    flex-grow: 3;
    background: white;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    font-size: 20px;
    background-image: 
        linear-gradient(45deg, transparent 50%, gray 50%), 
        linear-gradient(135deg, gray 50%, transparent 50%), 
        linear-gradient(to right, #ccc, #ccc);
    background-position: 
        calc(100% - 20px) calc(0.9em + 2px), 
        calc(100% - 15px) calc(0.9em + 2px), 
        calc(100% - 2.5em) 0.3em;
    background-size: 5px 5px, 5px 5px, 1px 1.6em;
    background-repeat: no-repeat;
  }
  
  .grafika-obal .calculator-input .hledani-pole:hover {
    border-color: #1b69bf;
  }
  
  .grafika-obal .calculator-input .hledani-pole:focus {
    background-image:
        linear-gradient(45deg, #1b69bf 50%, transparent 50%),
        linear-gradient(135deg, transparent 50%, #1b69bf 50%),
        linear-gradient(to right, #ccc, #ccc);
    background-position:
        calc(100% - 15px) 0.9em,
        calc(100% - 20px) 0.9em,
        calc(100% - 2.5em) 0.3em;
    background-size:
        5px 5px,
        5px 5px,
        1px 1.6em;
    background-repeat: no-repeat;
    border-color: #1b69bf;
    outline: 0;
  }
  
  select{
    margin: 0;      
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    --webkit-appearance: none;
    --moz-appearance: none;
  }
  
  select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #000;
  }
  
  .grafika-obal .calculator-input button {
    position: relative;
    color: #ffffff;
    font-weight: 700;
    line-height: 1.35;
    border: 1px solid #d2d9dd;
    border-radius: 4px;
    -webkit-box-shadow: 2px 2px 1px rgb(0 0 0 / 12%);
    box-shadow: 2px 2px 1px rgb(0 0 0 / 12%);
    background: #1b69bf;
    -webkit-box-sizing: border-box;
    box-sizing: border-box;
    display: inline-block;
    cursor: pointer;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    height: 45px;
    transition: all 0.1s ease-in-out;
  }
  
  .grafika-obal .calculator-input button:hover {
    background: #4078c8;
  }
  
  .grafika-obal .calculator-input button:active {
    -webkit-box-shadow: 0px 0px 1px rgb(0 0 0 / 12%);
    box-shadow: 0px 0px 1px rgb(0 0 0 / 12%);
    left: 1px;
    top: 1px;
  }
  
  .grafika-obal .calculator-input p.a-red { 
    color: orange;
    margin-bottom: 0;
    font-size: 15px;
    margin: 0;
    margin-top: 15px;
  }
  .grafika-obal .calculator-input p.a-red::before { 
    content: '⚠️';
    padding-right: 5px;
  }
  
  
  @media only screen and (max-width: 1024px) {
    .grafika-obal .calculator-input, .grafika-obal #calculator-output { max-width: none;}
  }
  
  @media only screen and (max-width: 480px) {
    .grafika-obal .calculator-input .my-label, .grafika-obal #calculator-output .box-output table tr td, .grafika-obal #calculator-output .box-output table tr td em { font-size: 15px;}
  }