
/* Roboto - Design system gov vychozi font */
@import "/assets/fonts/roboto.css";

/* Adresy jsou v browseru kurzivou */
address {
    font-style: normal;
}

/* Scroll-spy aside sticky sekce */
aside.sticky-cnt {
    position: sticky;
    top: 20px;
}

/* Scroll-spy aktivni odkaz */
.active a span {
    text-decoration: none !important;
    color: var(--text-primary) !important;
    font-weight: bold;
}

.on-center {
    text-align: center;
}

.limit-width {
    max-width: 380px;
    margin: 0 auto;
    width: 100%;
}

.gov-form-autocomplete__list {
    max-height: 200px;
    overflow-y: auto;
}

.nav-active {
    text-decoration: underline !important;
}

.hidden {
    display: none !important;
}

/* Oprava gov dialogu zabirajiciho misto pri otevreni v puvodnim contextu  */
gov-dialog {
    margin-top: 0px !important;
}

.label-icon {
    margin-left: 5px;
}

.cep-autocomplete-clear {
    cursor: pointer;
}

.auto-grow {
    flex-grow: 1;
}

.cep-pre-wrap {
    white-space: pre-wrap;
}

.large-input input {
    font-size: 32px !important;
}

/* Oprava skryti vyhledavaciho tlacitka designsystemem pri zobrazeni na mobilu*/
@media(max-width: 48em) {
    .gov-search *[slot=button] {
        display: block !important;
    }

    .gov-search input {
        padding-right: 0 !important;
    }

    .large-input input {
        font-size: 18px !important;
    }
}

/* Global loader */
#global-loader {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
}

    #global-loader.hidden {
        display: none;
    }

.spinner {
    width: 60px;
    height: 60px;
    border: 6px solid #ccc;
    border-top-color: #0078d4;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Quill HTML editor */
.rtf-edit {
    width: 100%;
    min-height: 150px;
}

.thumb {
    max-width: 150px;
    max-height: 150px;
}

.audit-data {
    white-space: pre-wrap;
    font-family: Courier New, Courier, monospace;
}

/* Ruzovy horni panel pri vyvojarskem nastaveni */
.top-bar-dev {
    width: 100%;
    background-color: #A3004E;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

.top-bar-test {
    width: 100%;
    background-color: #98a300;
    color: #fff;
    text-transform: uppercase;
    text-align: center;
    font-size: 14px;
}

/* Maximalni sirka kontejneru (pri zobrazeni gridu) */
.gov-full-width {
    max-width: none!important;
}

/* Skryj odrazky pokud vyzadovano (hlavni menu v profilu uzivatele na mobilu) */
.no-bullets li:before {
    display: none;
}

/* Maximulani vyska dialogu, bez ni se hodne dlouhy dialog zvetsi na neomezenou vysku a nescrolluje */
gov-dialog__content, .gov-dialog__content {
    max-height: 85vh;
}