﻿
:root {
    --c-max-width-xs: 820px;
    --c-max-width-sm: 1100px;
    --c-max-width-md: 1380px;
    --c-max-width-lg: 1600px;
    --c-max-width-xl: 1800px;
}

.filled-icon {
    font-variation-settings: 'FILL' 1;
}

.c-max-width-xs {
    max-width: var(--c-max-width-xs);
}

.c-max-width-sm {
    max-width: max(var(--c-max-width-sm), 55vw);
}

.c-max-width-md {
    max-width: max(var(--c-max-width-md), 70vw);
}

.c-max-width-lg {
    max-width: max(var(--c-max-width-lg), 80vw);
}

.c-max-width-xl {
    max-width: var(--c-max-width-xl);
}

.c-max-width-max {
    
}

.c-main-panel, .c-main-panel-full {
    width: 100%;
}

.c-side-panel, .c-side-panel-full {
    width: 100%;
}

@media(min-width: 1300px) {
    .c-main-panel {
        width:60%;
        padding-right: 1rem;
    }

    .c-side-panel {
        width: 40%;
        padding-left: 1rem;
    }
}

@media(min-width: 1450px) {
    .c-main-panel {
        width: 65%;
        padding-right: 1rem;
    }

    .c-side-panel {
        width: 35%;
        padding-left: 1rem;
    }
}

@media(min-width: 1800px) {
    .c-main-panel {
        width: 75%;
        padding-right: 1rem;
    }

    .c-side-panel {
        width: 25%;
        padding-left: 1rem;
    }
}

/*full*/

@media(min-width: 1100px) {
    .c-main-panel-full {
        width: 60%;
        padding-right: 1rem;
    }

    .c-side-panel-full {
        width: 40%;
        padding-left: 1rem;
    }
}

@media(min-width: 1250px) {
    .c-main-panel-full {
        width: 65%;
        padding-right: 1rem;
    }

    .c-side-panel-full {
        width: 35%;
        padding-left: 1rem;
    }
}

@media(min-width: 1500px) {
    .c-main-panel-full {
        width: 75%;
        padding-right: 1rem;
    }

    .c-side-panel-full {
        width: 25%;
        padding-left: 1rem;
    }
}

.center {
    display: flex;
    justify-content: center;
    align-items: center;
}

.margin-auto {
    margin: auto;
}

.font-sm {
    font-size: 0.8rem;
}

.mp-selected {
    background-color: var(--rz-primary-lighter);
    border: thin;
    border-radius: 15px;
    border-color: var(--rz-base-500);
    /*padding: 2px 4px*/
}

.iconWrap .icon *,
.iconWrap .icon {
    cursor: pointer;
}

.vl {
    border-left: 1px solid dimgrey;
    /*height: 100%;*/
}

.valid.modified:not([type=checkbox]) {
    outline: none;
}

.simple-form-item {
    margin-bottom: 1.2rem;
    min-width: 10rem;
    max-width: 700px;
}

.grid2 {
    display: grid;
    grid-template-columns: auto auto;
    gap: 0 3rem;
    justify-content: left;
}

.grid3 {
    display: grid;
    grid-template-columns: auto auto auto;
    gap: 0 3rem;
    justify-content: left;
}

.grid4 {
    display: grid;
    grid-template-columns: auto auto auto auto;
    gap: 0 3rem;
    justify-content: left;
}

.grid5 {
    display: grid;
    grid-template-columns: auto auto auto auto auto;
    gap: 0 2rem;
    justify-content: left;
}

.grid6 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto;
    gap: 0 2rem;
    justify-content: left;
}

.grid7 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto;
    gap: 0 2rem;
    justify-content: left;
}

.grid8 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto;
    gap: 0 2rem;
    justify-content: left;
}

.grid9 {
    display: grid;
    grid-template-columns: auto auto auto auto auto auto auto auto auto;
    gap: 0 2rem;
    justify-content: left;
}

.span2 {
    grid-column: span 2;
}

.span3 {
    grid-column: span 3;
}

.span4 {
    grid-column: span 4;
}

.span5 {
    grid-column: span 5;
}

.span6 {
    grid-column: span 6;
}

.span7 {
    grid-column: span 7;
}

.span8 {
    grid-column: span 8;
}

.span9 {
    grid-column: span 9;
}

.gap-10 {
    gap: 0 1rem;
}

.gap-11 {
    gap: 0 1.3rem;
}

.gap-12 {
    gap: 0 1.3rem;
}

.gap-13 {
    gap: 0 1.3rem;
}

.gap-14 {
    gap: 0 1.3rem;
}

.gap-15 {
    gap: 0 1.5rem;
}

.gap-18 {
    gap: 0 1.8rem;
}




.pointer {
    cursor: pointer;
}


.file-input-zone {
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: steelblue;
    color: white;
    cursor: pointer;
    position: relative;
    width: 120px;
    height: 38px;
    border-radius: 4px;
}

    .file-input-zone:hover {
        background-color: lightsteelblue;
    }

    .file-input-zone input[type=file] {
        position: absolute;
        width: 100%;
        height: 100%;
        opacity: 0;
        cursor: pointer;
    }

.over-all {
    width: 100%;
    height: 100%;
    opacity: 1;
    background-color: rgba(255,255,255,0.85);
    position: fixed;
    top: 0;
    z-index: 10000;
    display: flex;
    justify-content: center;
    align-items: center;
}

    .over-all.animated {
        animation: fadeInTo85;
        animation-duration: 0.5s;
    }

    .over-all.hidden {
        opacity: 0;
        height: 0px;
        visibility: hidden;
    }

        .over-all.hidden.animated {
            animation: fadeOut;
            animation-duration: 0.5s;
        }

@keyframes fadeInTo85 {
    0% {
        background-color: rgba(255,255,255,0);
        opacity: 1;
    }

    100% {
        background-color: rgba(255,255,255,0.85);
    }
}

@keyframes fadeOut {
    0% {
        opacity: 1;
        height: 100%
    }

    99% {
        opacity: 0;
        height: 99%
    }

    100% {
        opacity: 0;
        height: 1px
    }
}

.central-dialog {
    padding: 2rem 5rem;
    border-color: gray;
    background-color: white;
    border-style: solid;
    border-radius: 5px;
    animation: fadeIn;
    animation-duration: 0.5s;
    opacity: 1;
    max-width: 90%;
}

@keyframes fadeIn {
    0% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

@keyframes fade-in-delayed {
    0% {
        opacity: 0;
    }

    50% {
        opacity: 0;
    }

    100% {
        opacity: 1;
    }
}

.compactCard, .compact-card {
    padding-left: 7px;
    padding-right: 7px;
    border-radius: 8px;
    background-color: rgba(240, 240, 240, 100);
    white-space: nowrap;
    font-size:14px;
}

.cardWrapper, .card-wrapper {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 5px;
}

.h1rzi {
    font-size: 2.5rem;
}

.h1button {
    display: inline-block;
    font-weight: 400;
    line-height: 0.5;
    text-align: center;
    text-decoration: none;
    vertical-align: middle;
    cursor: pointer;
    user-select: none;
    background-color: transparent;
    border: 1px solid #6c757d;
    padding: .8rem 0.78rem 1rem 0.78rem;
    font-size: 1rem;
    border-radius: .25rem;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,border-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: #6c757d;
}

.left-min {
    text-align: left;
    padding: 0;
    margin: 0;
    line-height: normal;
}

.base-date-input {
    width: 10rem;
    max-width: 10rem;
}

div.sticky {
    position: -webkit-sticky;
    position: sticky;
    top: 0;
}

.rightButton {
    position: fixed;
    right: 0;
    top: 4rem;
    bottom: 1rem;
}

.invisible-input-span {
}

    .invisible-input-span:focus {
        outline: none;
    }


.moveTextLeft100 {
    animation: moveTextLeft100 3s;
}

.moveTextRight100 {
    animation: moveTextRight100 3s;
}

.moveTextLeft50 {
    animation: moveTextLeft50 1.5s;
}

.moveTextRight50 {
    animation: moveTextRight50 1.5s;
}


@keyframes moveTextLeft50 {
    from {
        transform: translateX(50%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes moveTextRight50 {
    from {
        transform: translateX(-50%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes moveTextLeft100 {
    from {
        transform: translateX(100%);
    }

    to {
        transform: translateX(0%);
    }
}

@keyframes moveTextRight100 {
    from {
        transform: translateX(-100%);
    }

    to {
        transform: translateX(0%);
    }
}

.image-circle {
    border-radius: 50%;
}

.article-content_img {
    height: fit-content;
    min-width: 120px;
    max-width: max(17rem, 14vw);
    border-radius: 10px;
    margin-bottom: 1.5rem;
}

.base-button {
    text-align: left;
    padding: 2px 0 0 0;
    margin: 0;
    line-height: normal;
    align-self: baseline;
}

.drag-button {
    align-self: stretch;
    background-color: lightgray;
    padding: 4px 2px 1px 3px;
    border-radius: 3px;
    color: darkslategray;
}

.button-link-sm {
    user-select: none;
    background-color: transparent;
    border: none;
    padding: 0 0.2rem;
    color: var(--base);
    font-size: smaller;
    text-align: start;
}

.button-link-md {
    user-select: none;
    background-color: transparent;
    border: none;
    padding: 0 0.25rem;
    color: var(--base);
    text-align: start;
}


.drag-button :hover {
    color: red;
}

.order-direction-wrapper {
    display: flex;
    align-items: center;
    gap: 0 0.4rem;
}

.button-icon {
    color: var(--base);
    cursor: pointer;
}

    .button-icon:hover {
        color: dimgray;
    }

    .button-icon.active {
        color: var(--hover);
    }

        .button-icon.active:hover {
            color: dimgray;
        }

.dropdown-box-container {
    display: flex;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    width: 100%;
    padding: 0.375rem 0.7rem;
    height: calc(1.5em + 0.5rem + calc(var(--bs-border-width) * 2));
}

    .dropdown-box-container > * {
        border: none !important;
        outline: none !important;
        background-color: transparent;
        box-shadow: none;
    }

.dropdown-input {
    border: none !important;
    outline: none !important;
    background-color: transparent;
    box-shadow: none;
    flex-grow: 1;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

    .dropdown-input:hover {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .dropdown-input:focus {
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
    }

    .dropdown-input * {
        padding: 0 !important;
        border: none !important;
        outline: none !important;
        box-shadow: none !important;
        height: 100% !important;
        font-size: 0.875rem !important;
    }

.dropdown-list {
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 0.25rem;
    width: 100%;
    z-index: 1;
    max-height: 200px;
    overflow-y: auto;
    padding: 0.5rem 0.2rem;
    display: grid;
    grid-template-columns: min-content auto;
}

.dropdown-list-item {
    /*padding: 0.5rem 1rem;*/
    cursor: pointer;
    display: flex;
    align-items: center;
    align-items: end;
}

    .dropdown-list-item:hover {
        background-color: #f1f1f1;
    }

.green-link {
    color: green;
}

    .green-link:hover {
        color: darkgreen;
    }

.red-link {
    color: red !important;
}

    .red-link:hover {
        color: darkred !important;
    }

.yellow-link {
    color: goldenrod;
}

    .yellow-link:hover {
        color: darkgoldenrod;
    }

.black-link {
    color: black;
}

    .black-link:hover {
        color: darkslategray;
    }

.gray-link {
    color: gray !important;
}

    .gray-link:hover {
        color: lightgray !important;
    }

.white-link {
    color: white !important;
}

    .white-link:hover {
        color: lightgray !important;
    }

.column-label {
    font-size: 1rem;
    font-weight: 600;
    color: var(--base);
    margin: 0;
    padding: 0;
    justify-self: center;
    align-self: end;
}

.column-label-left {
    font-size: 1rem;
    font-weight: 600;
    color: var(--base);
    margin: 0;
    padding: 0;
    justify-self: left;
    align-self: end;
}

.float-right-bottom {
    position: fixed;
    right: 2rem;
    bottom: 5.5rem;
    padding: 0.5rem 0.7rem 0rem 0.7rem;
    background-color: rgb(230,230,230);
    border-radius: 6px;
    border: 1px solid var(--base);
}

.detail-wrapper, .detail-container {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem 3rem;
}


/*After Radzen Rewrite*/

.clicable {
}

    .clicable:hover {
        cursor: pointer;
        text-decoration: underline;
    }



/*Radzen upload*/

.rz-panel-titlebar span {
    font-size: var(--rz-text-h4-font-size);
}

#ddUpload {
    left: 0;
    --rz-upload-button-bar-background-color: transparent;
    --rz-upload-button-bar-padding: 0;
    margin-bottom: 3rem;
}

    #ddUpload .rz-fileupload-buttonbar .rz-fileupload-choose {
        width: 100%;
        text-align: center;
        font-size: 16px;
        padding: 80px 0;
    }


/*Radzen form field*/
.inner-box {
    text-align: center;
    margin-top: 7.21px;
    margin-bottom: 3.8px;
    max-height: 29px;
    background-color: var(--rz-base-200) !important;
    display: flex;
    align-items: center;
    margin-inline:5px;
}


/*Asi přesunout do CMS Base*/

.article-list_img {
    height: fit-content;
    /*min-width: 90px;*/
    /*width: @($"min({10f * pictureRatio}rem, 20vw)");*/
    /*        max-width:100%;*/
    border-radius: 12px;
    margin-bottom: 1.5rem;
}


/*Kontejnery pro stránky zarovnané na střed*/

.page-container {
    max-width: 1200px;
    /*margin-inline: auto;*/
}

@media(min-width: 1800px) {
    .page-container {
        /*border-left: 4px solid var(--secondary-light-90);*/
        padding-left: 1.5rem;
    }
}

.floating-panel {
    bottom: 30px;
    position: sticky;
    display: flex;
    justify-content: end;
    width: 100%;
}

/*CustomSelectList*/
.list-textbox {
    padding-block: 0;
    height: 1.8rem;
    margin-block: 3px;
    flex-grow: 1;
}


.grid-label, .gridHeader, .gridHeadder, grid-header {
    font-weight: bold;
    margin-bottom: 0;
    padding-bottom: 0;
}



.highlight-animate {
    animation: pulse-highlight 1.2s infinite alternate;
    box-shadow: 0 0 0 0 #ffc107;
    border-radius: 8px;
}

@keyframes pulse-highlight {
    0% {
        box-shadow: 0 0 0 0 #ffc107;
        background-color: #fffbe6;
    }

    100% {
        box-shadow: 0 0 16px 8px #ffe082;
        background-color: #fffde7;
    }
}

.validation-message {
    color: red;
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.validation-errors {
    color: red;
    background-color: #f8d7da;
    font-size: 0.875rem;
    margin-top: 0.25rem;
    padding: 0.5rem 2rem;
    border-radius: 6px;
}