#kombinacni_tabulka_parent {
    width: 1100px;
    background-color: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0px 0px 58px 0px rgba(0,0,50, 0.5);
    max-height: 100dvh;
}
#kombinacni_tabulka_parent #kombinacni_tabulka_nadpis {
    background-color: #003A79;
    font-size: 24px;
    font-weight: bolder;
    color: white;
    letter-spacing: 1px;
    position: relative;
    display: flex;
    align-content: center;
    align-items: center;
    padding: 26px;
}
#kombinacni_tabulka_nadpis .krizek_tabulka {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 15px;
    height: 15px;
    cursor: pointer;
}
#kombinacni_tabulka_tabulka {
    padding: 28px;
    font-size: 16px;
        overflow-y: scroll;
    max-height: calc(100dvh - 122px);
}
#kombinacni_tabulka_tabulka * {
    color: #003A79;
    font-family: Open_Sans !important;
}
#kt_inko_preskripce {
    width: 100%;
    display: flex;
    justify-content: space-between;
    margin-bottom: 32px;
}
#kt_inko_preskripce > div {
    width: 45%;
}
#kt_inko_preskripce > div > .select2 {
    width: 100% !important;
}
#kombinacni_tabulka_parent label {
    font-weight: 600;
    font-size: 16px;
    width: 100%;
    display: block;
    margin-bottom: 8px;
}
#kombinacni_tabulka_parent .kt_policko, #kombinacni_tabulka_parent select, #kombinacni_tabulka_parent select:focus-visible, .kt_souhrn td div, .kt_souhrn th  div {
    padding: 12px;
    border-radius: 8px;
    background-color: #E9F6FE;
    border: 1px solid #dbe4e7;
    width: 100%;
    font-weight: 600;
    outline: none;
}
.kalkulacka_ikonka_tlacitko {
    
}
#kombinacni_tabulka_parent  table {
    border-collapse: collapse;
}
#kombinacni_tabulka_parent  .kt_bunka_produkt {
    padding: 0px;
}
#kombinacni_tabulka_parent  .kt_bunka_produkt div {
    background-color: #E9F6FE;
    border: 1px solid #dbe4e7;
    border-left: 0px;
    border-right: 0px;
    padding: 8px;
    position: relative;
    min-height: 22px;
}
#kombinacni_tabulka_parent  .kt_bunka_produkt div img {
    height: 15px;
    position: absolute;
    right: 12px;
    top: 12px;
}
#kombinacni_tabulka_parent .kt_radek_produktu .kt_bunka_produkt:first-of-type div {
    border-left: 1px solid #dbe4e7;
    border-radius: 8px 0px 0px 8px;
}
#kombinacni_tabulka_parent tr .kt_bunka_produkt:nth-child(5) div {
    border-right: 1px solid #dbe4e7;
    border-radius: 0px 8px 8px 0px;
}
#kombinacni_tabulka_parent tr .kt_bunka_produkt:nth-child(6) div, #kombinacni_tabulka_parent .kt_radek_produktu_nevybrany td:nth-child(2) div {
    border: 1px solid #dbe4e7;
    border-radius: 8px;
    margin-right: 12px;
}
#kombinacni_tabulka_parent tr .kt_bunka_produkt:nth-child(5) div, #kombinacni_tabulka_parent .kt_radek_produktu_nevybrany td:nth-child(1) div {
    margin-right: 12px;

}
#kombinacni_tabulka_parent tr .kt_bunka_produkt:nth-child(7) div, #kombinacni_tabulka_parent .kt_radek_produktu_nevybrany td:nth-child(3) div {
    border: 1px solid #dbe4e7;
    border-radius: 8px;
    background-color: white;
}
.kt_radek_produktu_nevybrany td:nth-child(1) div {
    border: 1px solid #dbe4e7 !important;
    border-radius: 8px;
}

#kombinacni_tabulka_parent select {
    -moz-appearance:none; /* Firefox */
    -webkit-appearance:none; /* Safari and Chrome */
    appearance:none;
    background-image: url("/img/sipka_select.svg");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 12px);
    background-position-y: 13px;
    background-size: 16px;
}
#kt_pridat_dalsi_btn {
    padding: 8px;
    border-radius: 8px;
    border-color: #4FAA6D;
    background: white;
    font-size: 16px;
    border: 2px #4FAA6D solid;
    font-weight: 600;
    margin-bottom: 0px;
    position: relative;
    padding-left: 32px;
    padding-right: 16px;
}
#kt_pridat_dalsi_btn  span {
    font-size: 22px;
    position: absolute;
    top: 3px;
    left: 12px;
}
.kt_tabulka_produktu th {
    font-size: 14px;
    font-weight: 400;
    text-align: left;
    padding-left: 8px;
}
.kt_souhrn {
    text-align: left;
    width: 100%;
}
.kt_souhrn div {
    margin-bottom: 8px;
    padding: 8px !important;
    padding-left: 16px !important;
    padding-right: 16px !important;
    box-sizing: border-box;
    width: calc(100% - 12px);
}
.kt_souhrn td:not(.kt_td_chyba_preskripce) div {
    background: white;
}
.kt_souhrn td, .kt_souhrn th {
    padding-right: 8px;
}
.kt_td_chyba_preskripce img {
    width: 32px;
    margin-bottom: 6px;
    opacity: 0.25;
    display: block;
}
.kt_td_chyba_preskripce {
    vertical-align: top;    
    width: 196px;
    padding: 0px !important;
}
.kt_td_chyba_preskripce div {
    background-color: #4FAA6D !important;
    height: 192px;
    width: 192px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px !important;
    color: white !important;
    flex-direction: column;
    margin: 0px;
}
.kalkulacka_ikonka {
    width: 30px;
    margin-right: 22px;
}
.kt_td_chyba_preskripce.bez_kontroly div {
    background-color: rgb(172 180 199);
}
.kt_td_chyba_preskripce.chybna_kontrola div {
    background-color: #e64b4b !important;
}
#kombinacni_tabulka_tabulka .chyba_text {
    color: #e64b4b !important;
}
.kt_tabulka_produktu {
    width: 100%;
}
.kt_tabulka_produktu select{
    position: absolute;
    opacity: 0;
    width: 100% !important;
    height: 100% !important;
    top: 0px;
}
.kt_tabulka_produktu td {
    position: relative;
}
.kt_bunka_produkt_kod  .select2-container {
    width: calc(1017px - 208px) !important;
    position: absolute !important;
    z-index: 999;
    top: 0px;
    left: 0px;
}
#kombinacni_tabulka_tabulka .select2-container .select2-selection {
    padding: 12px !important;
    padding-top: 6px !important;
    border-radius: 8px;
    background-color: #E9F6FE !important;
    border: 1px solid #dbe4e7;
    font-weight: 600;
    min-height: 40px;
    outline: none;
    font-size: 16px;
}
.kt_bunka_produkt_pocet_baleni {
    width: 120px;
}
.kt_bunka_produkt_pocet_baleni > .select2 {
    margin-right: 12px;
    width: 129px !important;
}
.kt_bunka_produkt_celkem_ks {
    width: 75px;
}
.select2-selection__arrow b {
    display: none;
}
.select2-selection__arrow {
    background-image: url("/img/sipka_select.svg");
    background-repeat: no-repeat;
    background-position-x: calc(100% - 12px);
    background-position-y: 13px;
    background-size: 16px;
    width: 34px !important;
}

.kt_bunka_produkt_kod .select2 {
    opacity: 0;
}
.kt_bunka_produkt_pocet_baleni {
    font-weight: bold;
}
.kt_radek_produktu_nevybrany td, .kt_radek_produktu td {
    padding-bottom: 8px !important;
}
.kt_tabulka_produktu tr th:first-child {
    padding-left: 16px !important;
}
.kt_tabulka_produktu tr td:first-child div {
    padding-left: 16px !important;
}
.kt_souhrn_mobil {
    display: none;
}
.kt_tabulka_produktu_hlavicka_mobil {
    display: none;
}
@media screen and (max-width: 750px) {
    #kombinacni_tabulka_parent {
        border-radius: 0px;
        top: 0px !important;
        position: absolute;
        left: 0px;
        width: 100vw !important;
    }
    .kt_bunka_produkt_kod .select2-container {
        width: 100% !important;
    }
    #kombinacni_tabulka_parent .kt_radek_produktu .kt_bunka_produkt:first-of-type div {
        border-radius: 8px 8px 8px 8px;
        margin-right: 8px;
        padding: 4px;
        padding-left: 9px !important;
        line-height: 16px;
        border: 1px solid #dbe4e7 !important;
        border-right: 1px solid #dbe4e7 !important;

    }
    .kt_bunka_produkt_celkem_ks div {
        border-radius: 8px 8px 8px 8px !important;
        border: 1px solid #dbe4e7 !important;
    }
    .kt_bunka_produkt div {
        padding: ;
    }
    #kombinacni_tabulka_tabulka {
        padding: 16px;
    }
    .kt_tabulka_produktu_hlavicka_pc {
        display: none;
    }
    .kt_tabulka_produktu_hlavicka_mobil {
        display: table-row;
    }
    .kt_tabulka_produktu_jen_pc {
        display: none;
    }
    .kt_tabulka_produktu_jen_mobil {
        display: table-cell !important;
    }
    /*.kt_tabulka_produktu tr th:nth-child(3), .kt_tabulka_produktu tr th:nth-child(4),*/
    .kt_tabulka_produktu tr.kt_radek_produktu td:nth-child(3), .kt_tabulka_produktu tr.kt_radek_produktu td:nth-child(4){
        max-width: 0px !important;
        width: 0px !important;
        white-space: nowrap;
        overflow: hidden;
        padding: 0px !important;
        color: transparent !important;
    }
    .kt_bunka_produkt_pocet_baleni {
        width: 70px !important;
        max-width: 70px !important;
    }
    .kt_bunka_produkt_pocet_baleni > .select2 {
        width: 64px !important;
        max-width: 64px !important;

    }
    .kt_tabulka_produktu th {
        font-size: 14px;

    }
    #kombinacni_tabulka_tabulka * {
        font-size: 14px !important;
    }
    .select2-results {
        font-size: 15px;
    }
    .select2-dropdown {
        width: calc(100vw - 30px) !important;
    }
    #kombinacni_tabulka_tabulka .select2-container .select2-selection {

    }
    .kt_souhrn_mobil {
        display: table;
    }
    .kt_souhrn_pc {
        display: none;
    }
    #kt_pridat_dalsi_btn span {
        font-size: 18px !important;
    }
    #kt_pridat_dalsi_btn {
        padding: 6px;
        padding-left: 32px;
        padding-right: 12px;
    }
}