html {
    scroll-behavior: smooth;
}
body, * {
    font: normal normal normal 16px/22px "acumin-pro-semi-condensed";
    font-family: "acumin-pro-semi-condensed", sans-serif;
    font-weight: 400;
/*    font-style: normal; */
}
.text-gray {
    color: #A4A6A9;
}
.text-light-black {
    color: #212529;
}
.link-color {
    cursor: pointer;
    color: #25A0E2;
}
.auth-bg-cover {
    background: #1276B8 !important;
}
.bg-blue {
    background: #25A0E2 !important;
}
.bg-grey {
    background: #C0C6C9 !important;
}
.modal-backdrop.show {
    opacity: .96;
    background-color: #072F49;
}
.wrapper--home-aktuality {
    background-color: #1276B8;
    padding: 70px 80px;
    height: 100vh;
}
.wrapper--home-aktuality h2 {
    font-size: 18px;
    line-height: 21px;
    color: #fff;
    font-weight: normal;
}
.wrapper--home-aktuality .list-group-item {
    padding: 0 !important;
    border-radius: .25rem !important;
    border-width: 0 !important;
}
.wrapper--home-aktuality .card {
    border: none;
    border-radius: .25rem;
    color: #212529;
    margin-bottom: 0;
    height: 180px;
}
.wrapper-novinky .card {
    height: 180px;
}
.wrapper--home-aktuality .card img, .wrapper-novinky .card img {
    height: 180px;
    object-fit: cover;
    width: 100%;
}
.wrapper-novinky .card img {
    height: 220px;
}
.card-title {
    text-align: center;
    font: normal normal normal 18px/21px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #495057;
    margin: 0;
}
.wrapper--home-aktuality .card-title, .wrapper-novinky .card-title {
    font-weight: normal;
    text-align: left;
}
.wrapper--home-aktuality .card-header, .wrapper-novinky .card-header {
    padding: 18px 16px 14px;
    min-height: 70px;
}
.wrapper--home-aktuality .card-body, .wrapper-novinky .card-body {
    padding: 12px 16px 18px;
    overflow: hidden;
}
.wrapper-novinky .card-footer {
    border-top: none;
    padding-top: 6px;
    height: 45px;
}
.summary--home-aktuality {
    border: none;
 /*   max-height: 48px;
    overflow: hidden; */
}
.wrapper--home-aktuality .pagination-next,
.wrapper--home-aktuality .pagination-prev,
.wrapper--home-aktuality .listjs-pagination li .page {
    color: #ffffff;
    background-color: #1276B8;
}
.wrapper--home-aktuality .listjs-pagination li.active .page {
    background-color: #25A0E2;
    border-color: #25A0E2;
}
.menu-title a {
    color: var(--vz-vertical-menu-title-color);
}
.topbar-user {
    background-color: transparent;
}
.avatar-title span {
    font-size: 24px;
    line-height: 29px;
    letter-spacing: 0.27px;
    font-weight: 900;
}
.profile-wid-bg {
    height: 220px;
}
.form-group {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-flow: row;
    flex-flow: row;
    -ms-flex-align: center;
    align-items: center;
    justify-content: space-between;

    font-size: 14px !important;
}
.form-group label, .form-group legend {
    width: 130px !important;
    min-width: 130px;
    margin-right: 8px;
    font-weight: normal !important;
    color: #212529 !important;
}
.form-group legend {
    padding: 0;
    margin-bottom: .5rem;
}
label.required:after {
    content: "*";
    color: red;
}
.wrapper--form-signin {
    min-width: 480px;
    font-size: 14px;
    line-height: 16px;
}
.title--form-signin {
    text-align: center;
}
.title--form-signin h1 {
    font-size: 18px;
    line-height: 21px;
}
.auth-page-wrapper .auth-page-content {
    padding-bottom: 32px;
}

/* dashboard */

.ck.ck-editor, .ck.ck-reset {
    width: 100% !important;
}
.modul-teaser--card {
    background: transparent linear-gradient(127deg, #25A0E2 0%, #1276B8 100%) 0 0 no-repeat padding-box;
    border-radius: 4px;
    color: white;
    position: relative;
    padding: 30px 32px 22px;
    margin-bottom: 0;
   /* overflow: hidden; */
}
.modul-teaser--card:hover {
    background: #25A0E2;
}
.modul-teaser--card.modul-demo {
    background: transparent linear-gradient(127deg, #C0C6C9 0%, #969B9E 100%) 0 0 no-repeat padding-box;
}
.modul-teaser--card.modul-demo:hover {
    background: #C0C6C9;
}
.modul-teaser--card .avatar-sm {
    margin: 0 auto 20px;
}
.modul-teaser--card .card-title {
    text-align: center;
    font: normal normal bold 18px/21px "acumin-pro-semi-condensed";
    letter-spacing: 0.2px;
    color: #FFFFFF;
    margin-bottom: 8px;
}
.modul-teaser--card .card-text {
    text-align: center;
    font: normal normal normal 14px/18px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #FFFFFF;
}
.demo-badge {
    position: absolute;
    top: 16px;
    right: -5px;
    background-color: #F06548;

    padding: 6px 17px;
    text-align: center;
    font: normal normal bold 14px/16px "acumin-pro-semi-condensed";
    letter-spacing: 0.16px;
    color: #FFFFFF;
    text-transform: uppercase;

    box-shadow: 0 3px 6px #00000029;
}
.demo-badge-corner {
    position: absolute;
    right: 0;
    bottom: -4px;
    width: 0;
    height: 0;
    border-bottom: 5px solid transparent;
    border-left: 6px solid #99402E; /* tmavší odstín pro roh */
}
.custom-tooltip, .custom-tooltip .tooltip-inner{
    --bs-tooltip-font-size: 11px;
}
.tooltip .tooltip-inner {
    font-size: 12px;
    font-weight: normal;
    line-height: 18px;
    letter-spacing: 0.16px;
}
.tooltip-with-icon {
    position: relative;
    cursor: help;
}
/*
.tooltip-with-icon::after {
    content: "i";
    display: inline-block;
    width: 18px;
    height: 18px;
    line-height: 18px;
    margin-left: 6px;
    text-align: center;
    font-size: 12px;
    font-weight: bold;
    color: #fff;
    background: #575757;
    border-radius: 50%;
} */
.autoComplete_wrapper {
    width: 100%;
    position: relative;
}
.autoComplete_wrapper>ul {
    position: absolute;
    z-index: 999;
}
#licence_moduly {
    width: 100%;
}
#licence_moduly .form-check {
    float: left;
    width: 31%;
}

@media (max-width: 1199px) {
    padding: 40px 50px;
}
@media (max-width: 769px) {
    .wrapper--home-aktuality {
        height: auto;
    }
}
@media (max-width: 520px) {
    .form-group {
        display: block;
    }
    .wrapper--form-signin {
        min-width: 100%;
    }
    .title--form-signin {
        text-align: left;
    }
}

/* ------------- objednávky */
.icon-order {
    display: inline-block;
    width: 24px;
    height: 24px;
    border-radius: 4px;
    text-align: center;
    background-color: #9599AD;
    color: #ffffff;
}
.icon-order i {
    line-height: 24px;
    font-size: 16px;
}
.icon-order.active {
    background-color: #25A0E2;
}
.icon-order.status-paid.active {
    background-color: #00BD9D;
}
.icon-order.status-canceled.active {
    background-color: #F06548;
}
.badge-order {
    background-color: #F06548;
    width: 8px;
    height: 8px;
    border-radius: 4px;
    position: absolute;
    top: .625rem;
    left: 1.5rem;
    z-index: 101;
}
.status-badge {
    max-width: 130px;
    text-wrap: wrap;
}


/* ------------- kalkulačky */
html[data-topbar=dark]{
    background: #EDEFF2;
}
html[data-topbar=dark] body{
    background: #EDEFF2;
}
.content-calc .page-content {
    padding: calc(48px + 3rem) 3rem 3rem;
}
.navbar-menu.menu-calc {
    width: 80px;
    background: #1276B8;
    border-right: none;
}
.navbar-menu.menu-calc .logo {
    line-height: 48px;
}
.navbar-menu.menu-calc .navbar-nav .nav-link {
    padding: 1.5rem;
    justify-content: center;
}
.navbar-menu.menu-calc .navbar-nav .nav-link.active {
    background-color: #EDEFF2;
}
.navbar-menu.menu-calc .navbar-nav .nav-link.active img {
    filter: brightness(0) saturate(100%) invert(32%) sepia(99%) saturate(577%) hue-rotate(165deg) brightness(100%) contrast(98%);
}
#page-topbar.menu-calc {
    background-color: #1276B8;
    border-bottom: none;
}
#page-topbar.menu-calc .navbar-header {
    height: 48px;
    padding: 0 3rem;
}

@media (min-width: 768px) {
    #page-topbar.menu-calc {
        left: 80px;
    }
    .main-content.content-calc {
        margin-left: 80px;
    }
}

/* =================== Park ==================================== */
.content-cals {
    position: relative;
}
#wrapperFormCastiStavby {
    position: relative;
    z-index: 100;
}
#wrapperFormCastiStavby.overlay-active {
    position: sticky;
    top: 48px;
}
.content-calc select.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
}
.content-calc select.form-select, .content-calc select.form-select option {
    font: normal normal normal 14px/20px "acumin-pro-semi-condensed";
    font-family: "acumin-pro-semi-condensed", Arial, sans-serif;
    letter-spacing: 0;
    color: #212529;
}
#poznamka {
    max-width: 840px;
    height: auto;
    resize: none;
}

/* --- Tabulka pPark --- */
@media (min-width: 1400px) {
    .table-wrapper {
        overflow-x: visible !important;
    }
}
.table-park {
    max-width: 100% !important;
    box-sizing: border-box;
}
.table-park thead tr:last-child {
    border-bottom: 1px solid #7C7F90;
}
.table-park tfoot tr:first-child {
    border-top: 3px solid #7C7F90;
}
.table-park .handle{
    cursor: grab;
}
.table-park tbody tr {
    border-bottom: 1px solid #C2C2C2; /* Bootstrap light gray */
}
.table-park th {
    text-align: left;
    font: normal normal normal 13px/19px "acumin-pro-semi-condensed";
    letter-spacing: 0.2px;
    color: #212529;
    opacity: 1;
    padding: 16px 24px;
}
.table-park th[scope="colgroup"] {
    text-align: center;
}
.table-park tbody td {
    padding: 20px 24px 16px 24px;
}
.table-park tbody td:first-child {
    padding-left: 12px;
    padding-right: 12px;
}
.table-park td, .table-park td * {
    font: normal normal normal 14px/20px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #1A1A1A;
}
.table-park i.mdi {
    font-size: 24px;
}
.table-park td.fw-bold, .table-park td.fw-bold * {
    font-weight: bold;
}
.table-park tfoot td {
    font: normal normal bold 16px/22px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #000000;
    padding: 16px 24px 6px;
}
.table-park tfoot td.tfoot--small-text {
    font: normal normal normal 12px/16px "acumin-pro-semi-condensed";
    white-space: normal;
}
.table-park tfoot tr:last-child td {
    padding-top: 8px;
    padding-bottom: 16px;
}
.table-park tfoot td:first-child {
   /* padding-left: 0; */
}
.table-park .td-ucel {
    white-space: normal;
  /*  max-width: 480px; */
  /*  min-width: 240px;  */
}
.td-stani-1uj, .td-short, .td-long, .td-total,
#sumShort, #sumLong, #sumTotal, #sumZTP, #sumKocarky {
    text-align: right;
}
.td-short, .td-long, .td-total {
    width: 100px;
}
.td-border-r {
    border-right: 1px solid #C8C9CC;
}
.table-park tr:not(.editing-row) .col-total {
    background-color: #E1E3E6;
}
.table-park .col-total div,
.table-park .col-other div {
    padding: 8px 0;
    margin-bottom: 4px;
}
.table-park .col-other {
    background-color: #D4D6D9;
}
.table-park .td-pocet-uj input.form-control {
    max-width: 74px;
    min-width: 64px;
    padding: 8px 9px;
    text-align: right;
}
.table-park .td-korekce-short input.form-control,
.table-park .td-korekce-long input.form-control {
    max-width: 54px;
    padding: 8px 20px 8px 4px;
    text-align: right;
}
.input-wrapper-proc {
    position: relative;
    display: inline-block;
}
.input-wrapper-proc input {
    padding-right: 24px; /* místo na % */
    box-sizing: border-box;
}
.input-wrapper-proc::after {
    content: '%';
    position: absolute;
    right: 8px;
    top: 50%;
    transform: translateY(-50%);
    color: #666;
    pointer-events: none; /* neovlivňuje klikání */
}
.blok-edit {
    margin-top:-24px;
    margin-bottom: 0;
    opacity: 0;
    white-space: nowrap;
}
tr:not(.editing-row):hover .blok-edit {
    opacity: 1;
    transition: .2s all ease-in;
}
#seznamUlozenychZadani tr,
#seznamVzorovychUloh tr {
    border-bottom: 1px solid #CED4DA;
}
#modalVyberUlozeneZadani thead {
    position: sticky;
    top: 0;
    background-color: #fff;
    z-index: 2;
    box-shadow: 0 2px 2px -1px rgba(0,0,0,0.1);
    border-bottom: 1px solid #7C7F90;
}

#seznamVzorovychUloh tr:first-child {
    border-top: 1px solid #7C7F90;
}
#seznamUlozenychZadani td,
#seznamVzorovychUloh td {
    vertical-align: middle;
    font: normal normal bold 14px/20px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #1A1A1A;
}
#seznamUlozenychZadani td.nazev_projektu {
    font-weight: normal !important;
}
.modal-body table th {
    font: normal normal normal 13px/19px "acumin-pro-semi-condensed";
    letter-spacing: 0;
    color: #212529;
}
.btn-nacti-zadani, .btn-nacti-vzor {
    border-width: 0;
}
/* --- konec tabulka park --- */
/*- pro editaci řádku--*/
.content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(206, 212, 218, 0);
    transition: background-color 0.5s ease;
    z-index: 10; /* nad tabulkou */
   /* cursor: not-allowed; */
}
.content-overlay.active {
    background-color: rgba(206, 212, 218, 0.6);
}
.demo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(206, 212, 218, 0.6);
    transition: background-color 0.5s ease;
    z-index: 1000;
    cursor: not-allowed;
}
.table-wrapper {
    position: relative; /* kvůli absolutnímu overlay */
}
.editing-row {
    background-color: #fff3cd;
    outline: 1px solid #ffc107; /* zvýrazněný rámeček */
    transition: background-color 0.5s ease;
}

/* demo licence*/
.demo-disabled input,
.demo-disabled textarea,
.demo-disabled select
/*.demo-disabled button */{
    cursor: not-allowed;
    opacity: 0.8 !important;

    background-color: transparent !important;
    border-color: #ccc !important;
    color: black !important;
}
.demo-disabled button {
    opacity: 0.6 !important;
}
.demo-disabled button:hover {
    cursor: not-allowed !important;
}

.demo-disabled input:focus,
.demo-disabled textarea:focus,
.demo-disabled select:focus {
    outline: none;
    box-shadow: none;
}

/* konec demo */

a.disabled {
    pointer-events: none;   /* zakáže kliknutí */
    opacity: 0.4;           /* vizuálně deaktivované */
    cursor: default;
}

@media (max-width: 1399px) {
    .table-park tbody td, .table-park th, .table-park tfoot td {
        padding-left: 12px;
        padding-right: 12px;
        /*padding: 20px 24px 16px 24px;*/
    }
    .table-park tbody td:first-child {
        padding-left: 8px;
        padding-right: 8px;
    }
}