/* Please see documentation at https://docs.microsoft.com/aspnet/core/client-side/bundling-and-minification
for details on configuring this project to bundle and minify static web assets. */

@font-face {
    font-family: 'OpenSans';
    src: url('../fonts/opensans.woff2') format('woff2');
}




@media (max-width: 768px) {
    :root {
        --font-size-input: 1rem;
        --line-heingt-span: 1rem;
        --height-menu-bar: 4.5rem;
        --top-form: 0rem;
    }

    button[data-ky-binding=BtnMenu02]{
        display: none;
    }

    .ky-menu-bar > .col-3,
    .ky-menu-bar > .col-9 {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }
    
}

#SpanDataBaseTest {
    display: inline;
    height: 100%;
    vertical-align: middle;
    padding: .5rem .5rem;
    border-radius: .4rem;
    line-height: 1;
    font-family: var(--font-family);
    font-size: var(--font-size-input);
    font-weight: bold;
    padding-right: 1rem !important;
    padding-left: 1rem !important;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    /*background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));*/
    cursor: default;
}
a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

/* Provide sufficient contrast against white background */
a {
  color: var(--color-text);
}

    a:hover,
    a:visited,
    a:active{
        color: var(--primary-color);
    }
.btn-primary {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

.nav-pills .nav-link.active, .nav-pills .show > .nav-link {
  color: #fff;
  background-color: #1b6ec2;
  border-color: #1861ac;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
    background-color: #555555;
    font-family: var(--font-family);
}

body {
    line-height: 1;
    background-color: #555555;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

@media (max-width: 768px) {
    html {
        background-image: unset;
    }
}

.border-top {
  border-top: 1px solid #e5e5e5;
}
.border-bottom {
  border-bottom: 1px solid #e5e5e5;
}

.box-shadow {
  box-shadow: 0 .25rem .75rem rgba(0, 0, 0, .05);
}

button.accept-policy {
  font-size: 1rem;
  line-height: inherit;
}

/* Sticky footer styles
-------------------------------------------------- */
html {
  position: relative;
  min-height: 100%;
}

body {
    /* Margin bottom by footer height */
    font-family: var(--font-family);
}
.footer {
  position: absolute;
  bottom: 0;
  width: 100%;
  white-space: nowrap;
  line-height: 60px; /* Vertically center the text there */
}
#idVersion{
    font-size: .5rem;
}
.div-canvas-change-password,
.div-canvas-login {
    position: fixed;
    width: 100%;
    height: 100%;
    background-color: var(--background-logout, rgba(0,0,0,0.6));
    margin: 0em;
    left: 0em;
    top: 0em;
}

.div-change-password-button,
.div-login-button{
    margin-top: .8rem;
    margin-bottom: .8rem;
}

.kymos-div-center {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    /*font-family: "Open Sans",OpenSans, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";*/
    color: var(--color-text);
    font-weight: 100;
}
#kymosS {
    font-size: 3rem;
    color: white;
}

.row{
    margin-left: 0;
    margin-right: 0;
}

.kymos-div-center > .row {
    margin-bottom: .3rem;
}

.ky-content-box-change-password,
.ky-content-box-login {
    margin-top: .6rem;
}

.change-password-kymos,
.login-kymos {
    position: absolute;
    right: 10px;
    top: 10px;
    color: #777;
    text-align: right;
    font-size: 0.6rem
}


@media (max-width: 768px) {
    .ky-content-box-change-password,
    .ky-content-box-login {
        margin-top: unset;
        /*transform: translate(12.5%, 0%);*/
    }


    .ky-content-box-change-password > div > .ky-input,
    .ky-content-box-login > div > .ky-input {
        width: 100%;
    }


    .ky-change-password-button,
    .div-login-button {
        margin-bottom: 1.2rem;
    }
}

/*Marco240701*/
input::-webkit-contacts-auto-fill-button {
    visibility: hidden;
    display: none !important;
    pointer-events: none;
    position: absolute;
    right: 0;
}


.ky-input {
    position: relative;
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    font-weight: 300;
    line-height: 1.5;

    /*overflow: hidden;*/
}

    .ky-input > input:focus,
    .ky-input > input:active {
        box-shadow: none;
        background-color: transparent !important;
    }

    .ky-input > input:-webkit-autofill,
    .ky-input > input:-webkit-autofill:hover,
    .ky-input > input:-webkit-autofill:focus,
    .ky-input > input:-webkit-autofill:active {
        -webkit-text-fill-color: var(--color-text, #309bdb);
        -webkit-box-shadow: 0 0 0px 50px rgba(0,0,0,0) inset !important;
        transition: background-color 5000s ease-in-out 0s;
        background-color: transparent !important;
    }


    /* Input, Textarea */
    .ky-input > input,
    .ky-input > textarea {
        display: block;
        box-sizing: border-box;
        margin: 0;
        border: none;
        border-top: solid 1.5rem transparent;
        border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.2);
        /*padding: 0 0 4px;*/
        width: 100%;
        height: inherit;
        color: var(--color-text, #808080);
        background-color: transparent;
        box-shadow: none; /* Firefox */
        font-family: inherit;
        font-size: inherit;
        line-height: inherit;
        caret-color: var(--primary-color, #1460CA);
        transition: border-bottom 0.4s, background-color 0.2s;
        border-radius: 0 !important;
        font-weight: inherit;
    }

    .ky-input > input {
        
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

        /* Span */
        .ky-input > input + span,
        .ky-input > textarea + span {
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            display: block;
            box-sizing: border-box;
            padding: .3rem 0 0 0;
            color: var(--color-placeholder-span, #797979);
            /*opacity: .5;*/
            font-size: 85%;
            font-weight: 300;
            line-height: var(--line-heingt-span, 1rem);
            pointer-events: none;
            transition: color 0.2s, font-size 0.2s, line-height 0.2s;
            text-overflow: ellipsis;
            white-space: nowrap;
            overflow: hidden;
        }

        .ky-datagrid-header-cell > .ky-input > input + span,
        .ky-datagrid-header-cell > .ky-input > textarea + span {
            color: var(--color-placeholder, #797979);
        }

    /* Underline */
    .ky-input > input + span::after, 
    .ky-input > textarea + span::after {
                content: "";
                position: absolute;
                left: 0;
                bottom: 0;
                display: block;
                width: 100%;
                height: 1px;
                background-color: var(--primary-color, #1460CA);
                transform-origin: bottom left;
                opacity: 0;
                transition: opacity 0.2s;
                text-overflow: ellipsis;
                white-space: nowrap;
                overflow: hidden;
            } 

        /* Hover */
        .ky-input > input:hover,
        .ky-input > textarea:hover {
            border-bottom-color: rgba(var(--color-line, 0, 0, 0), 0.2);
        }

        /* Placeholder-shown */
.ky-input > input:not(:focus):placeholder-shown + span,
.ky-input > textarea:not(:focus):placeholder-shown + span {
    font-size: inherit;
    line-height: var(--line-heingt-span-focus, 56px);
    opacity: .65;
    font-weight: 400;
    color: var(--color-placeholder, #797979);
}

        .ky-input > input:not(:focus):placeholder-shown,
        .ky-input > textarea:not(:focus):placeholder-shown {
            border-bottom-color: rgba(var(--color-line, 0, 0, 0), 0.2);
        }

.ky-datagrid-header-cell > .ky-input > input:not(:focus):placeholder-shown {
    border-bottom-color: rgba(var(--color-line, 0, 0, 0), 0.1);
}
/* Focus */
.ky-input > input:focus,
.ky-input > textarea:focus {
    outline: none;
        border-bottom: solid 1px var(--primary-color);
}

            .ky-input > input:focus + span,
            .ky-input > textarea:focus + span {
                color: var(--primary-color, #1460CA);
                opacity: 1;
            }

                .ky-input > input:focus + span::before,
                .ky-input > textarea:focus + span::before {
                    opacity: 0.1;
                }

                .ky-input > input:focus + span::after,
                .ky-input > textarea:focus + span::after {
                    opacity: 1;
                }



        /* Disabled */
        .ky-input > input:disabled,
        .ky-input > textarea:disabled {
            opacity: 1;
        }

            .ky-input > input:disabled + span,
            .ky-input > textarea:disabled + span {
                opacity: 1;
            }

        .ky-input > input:read-only,
        .ky-input > textarea:read-only {
            opacity: 1;
        }

            .ky-input > input:read-only + span,
            .ky-input > textarea:read-only + span {
                opacity: 1;
            }

            
            .ky-error > input,
            .ky-error > textarea {
                border-bottom-color: var(--color-red,#1460CA);
            }

.ky-error > input:focus + span,
.ky-error > textarea:focus + span {
    color: var(--color-red, #1460CA);
}

    .ky-error > input:hover,
    .ky-error > textarea:hover {
        border-bottom-color: var(--color-red, #1460CA);
    }

    .ky-error > input + span::after,
    .ky-error > textarea + span::after {
        content: "";
        position: absolute;
        left: 0;
        bottom: 0;
        display: block;
        width: 100%;
        height: 1px;
        background-color: var(--color-red, #027bff);
        transform-origin: bottom left;
        opacity: 0;
        transition: opacity 0.2s;
    }

.ky-input-error {
    color: var(--color-red, #027bff);
    font-size: .7rem;
    border: 0;
}

.ky-error > .ky-input-error {
    color: var(--color-red, #027bff);
    font-size: .7rem;
    border: 0;
}

.ky-error > input:focus + span::after,
.ky-error > textarea:focus + span::after {
    opacity: 0;
}

.ky-error > input + span,
.ky-error > textarea + span {
    color: var(--color-red, #027bff);
    opacity: 1;
}

    @media not all and (min-resolution:.001dpcm) {
        @supports (-webkit-appearance:none) {
            .ky-input > input,
            .ky-input > input + span,
            .ky-input > input + span::after,
            .ky-input > textarea,
            .ky-input > textarea + span,
            .ky-input > textarea + span::after {
                transition-duration: 0.1s;
            }
        }
    }

    .ky-input-number, .ky-input-number > input, .ky-input-number > textarea {
    text-align: right;
}

.loader {
    /*width: 1rem;
    height: 1rem;
    border: .1rem solid;*/
    border-color: var(--button-color, #383838) transparent !important;
    /*border-radius: 50%;*/
    display: inline-block;
    box-sizing: border-box;
    animation: rotation .8s linear infinite;
}

@keyframes rotation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ky-btn-action {
    display: inline-block;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .375rem 1.2rem;
    font-size: 1rem;
    line-height: 1.5;
    border-radius: 1.5rem;
    position: relative;
    transition: color .15s ease-in-out,background-color .15s ease-in-out,box-shadow .15s ease-in-out;
    color: var(--button-color, #383838);
    background-color: transparent;
    border: 1px solid var(--button-color, #383838);
    min-height: 30px;
    cursor: pointer;
}

    .ky-btn-action:hover,
    .ky-btn-action:focus,
    .ky-btn-action:active {
        background-color: var(--button-color, #383838);
        color: white;
        outline: none;
        /*border: 1px solid rgba(0, 0, 0, 0.08);*/
    }

    .loader:hover,
    .loader:focus,
    .loader:active {
        background-color: transparent;
        color: white;
        outline: none;
        /*border: 1px solid rgba(0, 0, 0, 0.08);*/
    }
    
.ky-btn-action-active {
    color: var(--primary-color);
    border-color: var(--primary-color);
    /*box-shadow: 0 0 3px var(--primary-color);*/
}


.act-default {
    color: #909090;
    border: 1px solid #909090;
}

    .act-default:hover, .act-default:active {
        background-color: #909090;
        color: white;
        /*border: 1px solid rgba(0, 0, 0, 0.08);*/
    }


@media (max-width: 768px) {
    .ky-btn-action {
       font-size: 1.3rem;
    }
}


.ky-login-version {
    color: #777;
    text-align: left;
    font-size: 0.6rem;
    position: absolute;
    bottom: 1.3rem;
    left: .8rem;
}

#dbVersion {
    bottom: .5rem;
}

.navigator {
    position: absolute;
    top: 0rem;
    right: 0rem;
    font-size: .55rem;
    border-radius: .5rem;
    color: rgba(0, 0, 0, 0.3);
    padding: 0rem;
    margin-top: .4rem;
    height: .84rem;
    width: .84rem;
    cursor: pointer;
    text-align: center;
    line-height: .8rem;
    transition: all .4s;
    z-index: 1;
}

    .navigator:hover,
    .navigator.ky-autocomplete-popup-open {
        transform: scale(1.1) !important;
        background-color: var(--primary-color) !important;
    }
    .ky-checkbox > .navigator {
        top: -1rem;
    }

.ky-content {
    background-color: var(--color-content, white);
    border-radius: var(--radius-content, 1rem);
    color: var(--color-text);
}

.ky-content-login,
.ky-content-change-password  {
    background-color: var(--color-content, white);
    min-height: 100px;
    min-width: 300px;
    border-radius: var(--radius-content, 1rem);
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
    padding: 1rem;
}

.ky-content-change-password {
    box-shadow: 0 0 20px 10px var(--primary-color);
}

.ky-input > .ky-btn-chevron {
    position: absolute;
    right: 0rem;
    top: 1.35rem;
    width: 1.5rem;
    height: 1.5rem;
}

.ky-input > .ky-button-view {
    top: .2rem;
}

.ky-input > input:not(:focus):placeholder-shown ~ .ky-button-view,
.ky-input > textarea:not(:focus):placeholder-shown ~ .ky-button-view {
    top: 1.35rem;
}


.ky-input > input:focus ~ .ky-btn-chevron > .chevron:before,
.ky-input > textarea:focus ~ .ky-btn-chevron > .chevron:before {
    border-color: var(--primary-color, #1460CA);
}

.ky-autocomplate-caption {
    font-size: .65rem;
    opacity: .85;
    font-weight: 100;
    font-style: oblique;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}
.ky-autocomplate > input {
    padding-right: 1.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    margin-right: -1.5rem;
}

    .ky-autocomplate > input:not(:focus):placeholder-shown + span{
        padding-right: 1.5rem;
    }

.ky-autocomplate > button > svg{
    width: 0.8rem;
    height: 0.8rem;
    font-size: 0.8rem;
}

.ky-autocomplete-div-check {
    margin-top: 1.5rem;
}

.ky-autocomplete-span-check{
    margin-bottom: 1.5rem;
    line-height: 1rem !important;
    height: 3rem;
}

.ky-autocomplete-div-check > .ky-checkbox {
    margin-top: .2rem;
    margin-right: 1rem;
}

.ky-autocomplete-div-check > span {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    display: block;
    box-sizing: border-box;
    padding: .3rem 0 0 0;
    color: var(--color-placeholder-span, #797979);
    /* opacity: .5; */
    font-size: 85%;
    line-height: var(--line-heingt-span, 1rem);
    pointer-events: none;
    transition: color 0.2s, font-size 0.2s, line-height 0.2s;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;

}

.ky-autocomplete-div-check-loading {
    position: absolute;
    height: 2rem;
    min-width: 5rem;
    margin-top: 0;
    background: var(--background-loading-cell);
    border-radius: .5rem;
    background-size: 500px 100px;
    animation-name: moving-gradient;
    animation-duration: 1s;
    animation-iteration-count: infinite;
    animation-timing-function: linear;
    animation-fill-mode: forwards;
    transform: translateZ(0);
}

    .ky-autocomplete-div-check-loading  > span{
        display: none;
    }


    .ky-search-find {
        color: var(--primary-color, #1460CA);
        font-weight: bold;
    }

.ky-sem-item-active * .ky-search-find,
.ky-item-active * .ky-search-find {
    color: var(--color-text);
    font-weight: bold;
}
.ky-autocomplete-popup-open {
    transform: rotate(180deg);
}

    .ky-autocomplete-popup-open > svg {
        fill: var(--primary-color, #1460CA) !important;
    }
.chevron {
    cursor: pointer;
}

.chevron:before {
    border-color: var(--color-placeholder, #1460CA);
}

    .chevron::before {
        border-style: solid;
        border-width: 0.1rem 0.1rem 0 0;
        content: '';
        display: inline-block;
        height: 0.65rem;
        left: 0.15rem;
        position: relative;
        top: 0em;
        transform: rotate(135deg);
        vertical-align: top;
        width: 0.65rem;
        margin-left: -.3rem;
    }

.ky-btn-chevron,
.ky-btn-chevron-type {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: 50%;
    transition: .6s;
    color: var(--color-text-menu-bar, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    /*height: var(--height-menu-bar, 1.7rem);*/
}

    .ky-btn-chevron:active,
    .ky-btn-chevron:focus,
    .ky-btn-chevron:hover,
    .ky-btn-chevron-type:active,
    .ky-btn-chevron-type:focus,
    .ky-btn-chevron-type:hover {
        background-color: rgba(0,0,0,.1);
        background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
        outline: none;
    }
    .ky-btn-chevron > svg,
    .ky-btn-chevron-type > svg {
        fill: var(--color-placeholder);
        width: 1.5rem;
        height: 1.5rem;
        font-size: 1.5rem;
    }

    .ky-btn-chevron:hover > svg,
    .ky-btn-chevron-type:hover > svg {
        fill: var(--primary-color, #1460CA);
    }

    .ky-btn-chevron:disabled{
        opacity: .4;

    }

.ky-popup {
    position: absolute;
    top: 0;
    transition: transform 0.2s ease, opacity 0.2s ease;
    left: 0px;
    width: 100%;
    z-index: 1;
    background-color: var(--color-content, white);
    border-radius: .7rem; /*.3rem .3rem .7rem;*/
    overflow: auto;
    max-height: 14rem;  
    max-width: 14rem;
    display: block;
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
    padding: .2rem;
    /*box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    color: var(--color-text);
    -webkit-animation: zoomInDown .3s;
    animation: zoomInDown .3s;
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-list-ins,
    .ky-popup {
        background: inherit;
        background-color: var(--background-popup) !important;
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(1.6rem);
        backdrop-filter: blur(1.6rem);
        background-image: none;
    }

    .ky-list-ins.ky-list-ins-form-slider {
        background-color: var(--color-content, white) !important;
    }
}


.ky-popup.ky-scrollbar.v-scroll-auto::-webkit-scrollbar {
    width: .5rem;
    height: .5rem;
    background: transparent;
    border-radius: 1rem;
    margin-top: .4rem;
    margin-bottom: .4rem;
}

.ky-popup.ky-scrollbar::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    background: var(--color-text-menu-bar-disable);
    background-clip: padding-box;
    opacity: .4;
    border: .5rem solid var(--color-text-menu-bar-disable) !important;
}

.ky-div-container::-webkit-scrollbar {
    width: .5rem;
    height: .5rem;
    background: transparent;
    border-radius: 1rem;
    margin-top: .4rem;
    margin-bottom: .4rem;
}

.ky-div-container::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, .2);
    background: var(--color-text-menu-bar-disable);
    background-clip: padding-box;
    border-radius: .25rem;
    border: .5rem solid var(--color-text-menu-bar-disable) !important;
}

.ky-popup > .ky-popup-item {
    color: var(--color-text);
    font-size: .8rem;
    padding: .5rem;
    min-height: 2rem;
    font-weight: 400;
    border-radius: .4rem;
    background: transparent;
    cursor: pointer;
    line-height: 1.2;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

.ky-item-active{
    background: var(--background-menu-bar-over) !important;
    outline: none;
    
}
    .ky-item-active > div {
        color: var(--primary-color);
    }
.ky-popup > .ky-popup-item:hover,
.ky-popup-item:hover {
    cursor: pointer;
    background: var(--background-menu-bar-over);
    outline: none;
}

.ky-popup-loading {
    width: 1rem;
    height: 1rem;
    position: relative;
    margin: 0 auto;
}

.ky-popup-loading1, 
.ky-popup-loading2 {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background-color: var(--primary-color);
    opacity: 0.6;
    position: absolute;
    top: 0;
    left: 0;
    -webkit-animation: ky-bounce 2.0s infinite ease-in-out;
    animation: ky-bounce 2.0s infinite ease-in-out;
}

.ky-popup-loading2 {
    -webkit-animation-delay: -1.0s;
    animation-delay: -1.0s;
}

.ky-popup-item {
    display: grid;
    grid-template-columns: 3rem auto;
    position: relative;
    color: var(--color-text);
    font-size: .8rem;
    padding: .5rem;
    /*Marco240506 riportata altezza a 2rem */
    /*Marco240422: aumentata l'altezza */
    min-height: 2rem;
    font-weight: 400;
    border-radius: .4rem;
    background: transparent;
    cursor: pointer;
    line-height: 1.2;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}
    .ky-popup-item > div {
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        padding-left: .3rem;
        padding-right: .3rem;
        /*border: 1px solid rgba(0, 0, 0, 0.8);*/
    }

    .ky-popup-item-sec > div {
        /*text-overflow: unset !important;
        white-space: unset !important;
        overflow: unset !important;
        */
        padding-left: .3rem;
        padding-right: .3rem;
        /*border: 1px solid rgba(0, 0, 0, 0.8);*/
    }

.ky-popup-item-menu {
    display: block;
    text-align: left !important;
    width: 100%;
}
    
.ky-popup-item-sec > div:nth-child(2) {
    text-overflow: unset !important;
    white-space: unset !important;
    overflow: unset !important;
    padding-left: .3rem;
    padding-right: .3rem;
    font-weight: 300;
    font-size: .7rem;
    /*border: 1px solid rgba(0, 0, 0, 0.8);*/
}


.sk-cube-grid {
    width: 1.3rem;
    height: 1.3rem;
    /*margin: auto;*/
    /*transition: all .4s ease-in-out;*/
    margin: .1rem;
    cursor: pointer;
}

    .sk-cube-grid .sk-cube {
        width: 42%;
        margin: 4%;
        height: 42%;
        border-radius: .2rem .1rem;
        background-color: #c2c2c2;
        border: .08rem solid var(--dark-color);
        float: left;
        /*transition: all .4s ease-in-out;*/
    }

    .sk-cube-grid div:nth-child(1), .sk-cube-grid div:nth-child(4) {
        border-radius: .1rem .2rem;
    }

.sem {
    text-decoration: none;
}


.scroll-hidden {
    overflow: hidden;
}

.v-scroll-hidden {
    overflow-y: hidden;
}

.h-scroll-hidden {
    overflow-x: hidden;
}

.scroll-auto {
    overflow: auto;
}

@media screen and (max-width:600px) {
    .scroll-auto {
        -webkit-overflow-scrolling: touch;
    }
}

.v-scroll-auto {
    overflow-y: auto;
}

@media screen and (max-width:600px) {
    .v-scroll-auto {
        -webkit-overflow-scrolling: touch;
    }
}

.h-scroll-auto {
    overflow-x: auto;
}

@media screen and (max-width:600px) {
    .h-scroll-auto {
        -webkit-overflow-scrolling: touch;
    }
}

.ky-scrollbar {
    /*scrollbar-color: rgba(0, 0, 0, .2) transparent;
    scrollbar-color: var(--palette-black-alpha-20, rgba(0, 0, 0, .2)) transparent;
    scrollbar-width: thin;*/
}

    .ky-scrollbar.scroll-auto-hide {
        scrollbar-color: transparent transparent;
    }

        .ky-scrollbar.scroll-auto-hide:hover {
            scrollbar-color: rgba(0, 0, 0, .2) transparent;
            scrollbar-color: var(--palette-black-alpha-20, rgba(0, 0, 0, .2)) transparent;
        }

    .ky-scrollbar::-webkit-scrollbar {
        width: 18px;
        height: 18px;
    }

    .ky-scrollbar::-webkit-scrollbar-thumb {
        border: 6px solid transparent;
        background: rgba(0, 0, 0, .2);
        background: var(--palette-black-alpha-20, rgba(0, 0, 0, .2));
        border-radius: 10px;
        background-clip: padding-box;
    }

    .ky-scrollbar::-webkit-scrollbar-corner {
        background: transparent;
    }

    .ky-scrollbar::-webkit-scrollbar-thumb:vertical {
        min-height: 30px;
    }

    .ky-scrollbar::-webkit-scrollbar-thumb:horizontal {
        min-width: 30px;
    }

    .ky-scrollbar.scroll-auto-hide::-webkit-scrollbar-thumb {
        background: transparent;
        background-clip: padding-box;
    }

    .ky-scrollbar.scroll-auto-hide:hover::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .2);
        background: var(--palette-black-alpha-20, rgba(0, 0, 0, .2));
        background-clip: padding-box;
    }

    .ky-scrollbar::-webkit-scrollbar-thumb:hover {
        background: rgba(0, 0, 0, .3);
        background: var(--palette-black-alpha-30, rgba(0, 0, 0, .3));
        background-clip: padding-box;
        border: 4px solid transparent;
    }

.ky-scrollbar-hidden {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

    .ky-scrollbar-hidden::-webkit-scrollbar {
        width: 0;
    }

.ky-content {
    display: flex;
    flex-direction: column;
}

.ky-window-toolbar {
    /*background: -webkit-gradient(linear, left top, left bottom, color-stop(0.0, #ebebeb, color-stop(1.0, #d5d5d5)));*/
    /*background-color: rgba(0,0,0,.0);*/
    /*background: radial-gradient(circle farthest-side at right bottom,rgba(0,0,0,.0),rgba(0,0,0,.1) 125%);*/
    /*background: -moz-linear-gradient(top, #ebebeb, #d5d5d5);*/
    /*background: -ms-linear-gradient(top, #ebebeb, #d5d5d5);*/
    /*background: -o-linear-gradient(top, #ebebeb, #d5d5d5);*/
    min-height: 5.2rem;
    width: 100%;
    /*border-bottom: 1px solid rgba(250,250,250,.1);*/
    border-top-left-radius: var(--radius-content, 1rem);
    border-top-right-radius: var(--radius-content, 1rem);
    /*border-bottom-left-radius: .6rem;
    border-bottom-right-radius: .6rem;*/
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    /*-o-user-select: none;*/
    cursor: pointer;
    padding-top: .4rem;
    padding-left: .2rem;
    /*position: absolute;*/
    display: block;
    position: relative;
    top: 0;
    /*
    background: inherit;
    background-color: var(--background-popup);
    -webkit-backdrop-filter: blur(.9rem);
    backdrop-filter: blur(.9rem);*/
}

.ky-demo-window-toolbar{
    background-color: var(--color-dbo-yellow);
}

.ky-window-toolbar-form-slider {
    cursor: default;
}


.btn-window-div {
    padding-left: 4px;
    float: left;
    line-height: 0px;
}

.btn-window {
    -webkit-appearance: none;
    padding-left: .4rem;
    padding-top: .3rem;
    float: left;
    line-height: 0px;
    width: .9rem;
    height: .9rem;
    transition: 0.3s;
    -webkit-transition: 0.3s;
    /*margin-top: .1rem;*/
}

@media (max-width: 768px) {
    .btn-window {
        
        width: 1.2rem;
        height: 1.2rem;
        
    }
}

.btn-window-barselector, .btn-window-tabcompressor {
    margin-left: 16px;
    background: transparent;
    padding: 0px;
    font-size: 9pt;
    border: 1px solid transparent;
    border-radius: 50%;
    display: inline-block;
    cursor: default;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    outline: none;

    svg{
        fill: var(--color-text);
        transition: 400ms;
    }
}

.btn-window-tabcompressor-compressed{
    svg{
        fill: var(--primary-color) !important;
        transition: 400ms;
    }
}



.btn-window-barselector:active,
.btn-window-barselector:focus,
.btn-window-barselector:hover,
.btn-window-tabcompressor:active,
.btn-window-tabcompressor:focus,
.btn-window-tabcompressor:hover{

    outline: none;
}


.btn-window-close {
    /*margin-top: 0rem;*/
    /*margin-left: .5rem;*/
    background: var(--color-light-red);
    font-size: 9pt;
    border: 1px solid rgba(105, 105, 105, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: default;
    -webkit-transform: scale(1.2);
    transform: scale(1.2);
    outline: none;
    /*width: 1.2rem;
    height: 1.2rem;*/
}
.btn-window-close:active,
.btn-window-close:focus,
.btn-window-close:hover {
    background: #c14645;
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    outline: none;
}

.btn-window-minimize {
    /*background: #ffbd4c;*/
    background-color: var(--color-light-yellow);
    font-size: 9pt;
    border: 1px solid rgba(105, 105, 105, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: default;
    outline: none;
    margin-left: .3rem;
}

.btn-window-minimize:hover {
    background-color: var(--color-yellow);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    outline: none;
}


.btn-window-maximize {
    background: var(--color-green);
    font-size: 9pt;
    border: 1px solid rgba(105, 105, 105, 0.2);
    border-radius: 50%;
    display: inline-block;
    cursor: default;
    outline: none;
    margin-left: .3rem;
}

.btn-window-maximize:hover {
    background-color: var(--color-dark-green);
    -webkit-transform: scale(1.3);
    transform: scale(1.3);
    outline: none;
}



.window {
    position: absolute;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    border-radius: var(--radius-content, 1rem);
    /*user-select: none;*/
    transition: transform-origin 400ms;
}

/*LEOL 251009 Gestione animazione minimiazzazione*/
.window {
    transition: transform 0.4s ease, opacity 0.4s ease, right 0.4s ease, bottom 0.4s ease;
    will-change: transform, opacity, right, bottom;
    opacity: 1;
}

.window.shrinking {
    transform: scale(0.1);
    opacity: 1;
}

.window.hidden {
    display: none !important;
    width: 0 !important;
    height: 0 !important;
}
/*LEOL 251009 Fine gestione animazione minimiazzazione*/

.ky-btn-bar{
    display: flex;
    margin-top: 1.7rem;
    margin-left: -4.7rem;
    float: left;
    height: 3rem;
    /*width: 20rem;*/
}

.ky-btn-baritem {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .4rem;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: .9rem;
    transition: .6s;
    color: var(--color-text-menu-bar, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    margin-top: 0rem;
    height: 1.8rem;
    width: 2rem;
    /*background-color: red;*/
    margin-left: .9rem;
    margin-top: -.2rem;
    margin-bottom: 0px;
}

.ky-chk-baritem {
    display: none;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .4rem;
    text-align: center;
    line-height: 1;
    border-radius: .9rem;
    transition: .6s;
    color: var(--color-text-menu-bar, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    margin-top: 0rem;
    height: 1.8rem;
    width: 0;
    margin-left: .6rem;
    margin-right: .3rem;
    margin-top: -.2rem;
}

.ky-lbl-star {
    margin-bottom: 0;
}

.ky-btn-baritem:active,
.ky-btn-baritem:focus,
.ky-btn-baritem:hover {
    background-color: rgba(0,0,0,.1);
    background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
    outline: none;
}

    .ky-btn-baritem > svg {
        fill: var(--color-text);
        width: 1.1rem;
        height: 1.1rem;
        
        /*margin: .2rem;*/
        font-size: 1.5rem;
        vertical-align: unset;
    }


    .ky-btn-baritem > span {
        position: absolute;
        font-size: .6rem;
        color: var(--color-text);
        opacity: .4;
        bottom: -.7rem;
        left: 50%;
        translate: -50%;
        /*right: 0;*/
        text-overflow: ellipsis;
        overflow: hidden;
        white-space: nowrap;
        max-width: 2.5rem;
        /*background-color: purple;*/
        line-height: normal;
    }

    .ky-btn-baritem:hover > svg {
        fill: var(--primary-color, #1460CA);
    }

    .ky-btn-baritem:hover > span {
        color: var(--primary-color, #1460CA);
        opacity: 1;
    }

.ky-btn-baritem-window-caption-icon:hover {
    background-color: none;
    background:none;
}

.ky-btn-baritem-window-caption-icon:active {
    background-color: none;
    background: none;
}

.ky-btn-baritem-window-caption-icon:focus {
    background-color: none;
    background: none;
}

.ky-btn-baritem-window-caption-icon:hover > svg {
    fill: var(--color-text);
}

.ky-btn-baritem-active {
    /*background-color: rgba(0,0,0,.1);
    background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));*/
    outline: none;
    border-radius: .5rem;
}

.ky-btn-baritem-active > svg,
.ky-btn-baritem-active > span {
    fill: var(--primary-color);
    color: var(--primary-color);
    opacity: 1;
    font-weight: bold;
    text-overflow: unset;
}

.ky-btn-java-has-code {
    background-color: var(--primary-color);
    height: .5rem;
    width: .5rem;
    position: absolute;
    top: 0;
    right: 0;
    border-radius: 50%;
}

@media (max-width: 768px) {
    .ky-btn-baritem > span {
        display: none;
    }

    .ky-btn-baritem > svg {
        fill: var(--color-placeholder);
        width: 1.3rem;
        height: 1.3rem;
        /*margin: .2rem;*/
        font-size: 1.5rem;
        vertical-align: unset;
    }

    .ky-btn-baritem {
        height: 2.3rem;
        width: 2.3rem;
    }
}

.ky-window-caption {
    position: absolute;
    display: flex;
    justify-content: center;
    left: 0;
    right: 0;
    text-align: center;
    font-weight: 300;
    opacity: .8;
    margin-right: 8rem;
    margin-left: 8rem;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
    font-size: .9rem;
    line-height: normal;
}

.ky-window-caption-text {
    display:inline-block;
    font-weight: 400;
}

.ky-window-textInfoCaption, .ky-message-info, .ky-window-textInfoCaptionTimer {
    margin-left: .5rem;
    color: var(--button-color);
}

.ky-window-textInfoCaptionTimer {
    text-align: left;
    width: 8.5rem;
    overflow: visible;
}

.ky-message-info{
    position: absolute;
    top: .2rem;
    right: .2rem;
}

.ky-message-info-timeout{
    font-weight: bold;
}

/*.ky-window-caption-text.ky-can-copy {
    cursor: copy;
}*/

.menu-open-button
/*.menu-item*/ {
    background: #C2C2C2;
    border-radius: .2rem .4rem;
    width: .8rem;
    height: .8rem;
    position: absolute;
    color: white;
    text-align: center;
    /*line-height: 1.2rem;*/
    transform: translate3d(0, 0, 0);
    transition: transform ease-out 200ms;
}

/*.menu-item {
    position: absolute;
    height: 1rem;
}

.menu-open {
    display: none;
}

.menu:nth-child(2) {
    left: .95rem;
}
.menu:nth-child(3) {
    top: .95rem;
    left: .95rem;
}

.menu:nth-child(4) {
    top: .95rem;
}*/

/*.menu:nth-child(2) > .menu-item,*/
/*.menu:nth-child(2) > .menu-open-button,*/
/*.menu:nth-child(4) > .menu-item,*/
/*.menu:nth-child(4) > .menu-open-button {
    border-radius: .4rem .2rem;
}
.menu {
    text-align: left;
    position: relative;
}

.menu-item:hover {*/
    /*background: white;
    color: #e91e63;*/
/*}

.menu-item:nth-child(3) {
    transition-duration: 180ms;
}

.menu-item:nth-child(4) {
    transition-duration: 180ms;
}

.menu-item:nth-child(5) {
    transition-duration: 180ms;
}

.menu-item:nth-child(6) {
    transition-duration: 180ms;
}

.menu-item:nth-child(7) {
    transition-duration: 180ms;
}

.menu-item:nth-child(8) {
    transition-duration: 180ms;
}

.menu-item:nth-child(9) {
    transition-duration: 180ms;
}

.menu-open-button {
    z-index: 2;
    transition-timing-function: cubic-bezier(0.175, 0.885, 0.32, 1.275);
    transition-duration: 400ms;
    transform: translate3d(0, 0, 0);
    cursor: pointer;
}

    .menu-open-button:hover {
        transform: scale(1.2, 1.2) translate3d(0, 0, 0);
    }

.menu-open:checked + .menu-open-button {
    transition-timing-function: linear;
    transition-duration: 200ms;
    transform: translate3d(0, 0, 0);
}*/

/*
    cos($angle) * $open-distance, sin($angle) * $open-distance
*/

/*.ky-checkbox:before {
    content: '<svg xmlns="http://www.w3.org/2000/svg" fill="currentColor" viewBox="0 0 16 16"><path d="M2.5 8a5.5 5.5 0 0 1 8.25-4.764.5.5 0 0 0 .5-.866A6.5 6.5 0 1 0 14.5 8a.5.5 0 0 0-1 0 5.5 5.5 0 1 1-11 0z"/><path d="M15.354 3.354a.5.5 0 0 0-.708-.708L8 9.293 5.354 6.646a.5.5 0 1 0-.708.708l3 3a.5.5 0 0 0 .708 0l7-7z"/></svg>';

}*/


.ky-checkbox {
    margin: auto;
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    position: relative;
    /*padding: 50px;*/
    /*background: #484848;*/
}

.ky-checkbox-vertical {
    display: block;
}

/*Checkky-checkbox styles*/
.ky-checkbox > input[type="checkbox"] {
    opacity: 0;
    height: 0;
    position: absolute;
}


    .ky-checkbox > input[type="checkbox"] ~ label {
        display: block;
        position: relative;
        padding-left: 1.8rem;
        padding-top: 0rem;
        font-size: var(--font-size-input);
        font-weight: 300;
        margin-bottom: 0;
        /*font: 14px/20px 'Open Sans', Arial, sans-serif;*/
        color: var(--color-placeholder);
        cursor: pointer;
        -webkit-user-select: none;
        -moz-user-select: none;
        -ms-user-select: none;
        /*background-color: red;*/
        min-width: 2rem;
        min-height: 1rem;
        z-index: 1;
    }

    .ky-checkbox > input[type="checkbox"] ~ label:last-child {
        margin-bottom: 0;
    }

    .ky-checkbox > input[type="checkbox"] ~ label:before {
        content: '';
        display: block;
        width: 1.2rem;
        height: 1.2rem;
        border: 1px solid transparent;
        position: absolute;
        border-radius: .6rem;
        left: 0;
        top: 0;
        opacity: 0.6;
        -webkit-transition: all .4s, border-color .08s;
        transition: all .4s, border-color .08s;
    }

    .ky-checkbox > input[type="checkbox"]:checked ~ label:before {
        width: .6rem;
        top: -.1rem;
        left: .3rem;
        border-radius: 0.01rem;
        opacity: 1;
        border: 2px solid var(--color-content);
        border-top-color: transparent;
        border-left-color: transparent;
        -webkit-transform: scale(.7) rotate(45deg);
        transform: scale(.7) rotate(45deg);
    }

    .ky-checkbox > input[type="checkbox"]:checked ~ label {
        color: var(--color-text);
    }


    .ky-checkbox > input[type="checkbox"]:focus ~ label {
        color: var(--primary-color);
    }

    .ky-checkbox > input[type="checkbox"]:focus ~ div.ky-checkbox-simbol {
        box-shadow: 0 0 5px var(--primary-color);
    }

    .ky-checkbox-simbol {
        /*display: none;*/
        width: 1.2rem;
        height: 1.2rem;
        border: 1px solid var(--color-placeholder);
        position: absolute;
        border-radius: .6rem;
        left: 0rem;
        top: 0rem;
        opacity: .6;
        z-index: 0;
    }


.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol {
    background-color: var(--primary-color);
    opacity: 1;
    border: 0px solid var(--color-placeholder);
}

.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol-red {
    background-color: var(--color-red);
}

.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol-green {
    background-color: var(--color-green);
}
.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol-orange {
    background-color: var(--color-yellow);
}
.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol-gray {
    background-color: gray;
}
.ky-checkbox > input[type="checkbox"]:checked + .ky-checkbox-simbol-pink {
    background-color: var(--color-fucsia);
}

.ky-check-readonly > .ky-checkbox-simbol{
    border-radius: .35rem;
}

.ky-checkbutton {
    border: 1px solid rgba(var(--color-opposite-rgb), .3);
    border-radius: 8px;
    padding:.3rem;
    overflow: hidden;
    margin: 0 !important;
    background-color: var(--checkbutton-background-color, transparent);
}

.ky-checkbutton:nth-last-child(n+7) ~ .ky-checkbutton{
    min-width: 7rem;
}

.ky-checkbutton > .ky-checkbox-simbol{
    display: none;
}

.ky-checkbutton > label{
    padding: 0!important;
    height: 100%;
    width: 100%;
    text-align: center;
    color: var(--checkbutton-color)!important;
}

.ky-checkbutton:hover > input[type="checkbox"]:not(:checked)  ~ label{
    color: var(--primary-color) !important;
}

.ky-checkbutton:has( > input[type="checkbox"]:checked){
    background-color: var(--checkbutton-background-color-selected);
    color: var(--checkbutton-color-selected);
}

.ky-checkbutton > input[type="checkbox"]:checked ~ label:before {
    -webkit-transition: all .0s, border-color .0s;
    transition: all .0s, border-color .00s;
    display: none;
}

.ky-checkbutton-list {
    display: flex;
    flex-wrap: wrap;
    gap: .4rem;
    flex-direction: row;
}

.ky-checkbutton-grid {
    display: grid;
}

.ky-checkbutton-grid .ky-checkbutton {
    margin: .25rem .25rem !important;
}

.ky-checkbutton-focusable:focus {
    outline: none;
}

.ky-checkbutton-focusable:focus .ky-checkbutton {
    box-shadow: 0 0 15px var(--primary-color);
    outline: none;
}

.ky-checkbox-null .ky-checkbox-simbol {
    background-color: #c2c2c2 !important;
    opacity: 0.9 !important;
    border: 0 !important;
}

.ky-checkbox-null .ky-checkbox-simbol::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 2px;
    background-color: var(--color-content);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

/*
.menu-item:nth-child(3) > div,
.menu-item:nth-child(8) > div {
    position: absolute;
    right: 120%;
    color: red;
}

.menu-item:nth-child(4) > div {
    position: absolute;
    transform: translateX(-35%);
    top: -120%
}
.menu-item:nth-child(5) > div,
.menu-item:nth-child(6) > div,
.menu-item:nth-child(7) > div {
    position: absolute;
    left: 120%;
    color: orange;
}*/
.ky-command-panel {
    padding: .5rem 1rem;
    margin-left: 1rem;
    margin-right: 1rem;
    /*margin-top: .5rem;*/
    border-radius: .5rem;
    /* background-color: rgba(0,0,0,.03); */
    position: relative;
}

.row-filter-container > * {
    margin-right: 1rem;
    margin-bottom: .5rem;
}
/*
.menu-item > div{
    display: none;
    background-color: rgba(0,0,0,.3);
    padding: .3rem;
    font-size: 80%;
    margin-top: -.3rem;
    max-width: 4rem;
}
.menu-open:checked ~ .menu-item > div {
    display: block;
}

    .menu-open:checked ~ .menu-item:nth-child(3) {
        transition-duration: 180ms;
        transform: translate3d(-2.34315rem,-1.8734rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(4) {
        transition-duration: 280ms;
        transform: translate3d(0rem,-3rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(5) {
        transition-duration: 380ms;
        transform: translate3d(2.3rem,-1.9rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(6) {
        transition-duration: 480ms;
        transform: translate3d(2.9rem,0.7rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(7) {
        transition-duration: 580ms;
        transform: translate3d(1.3rem,2.7rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(8) {
        transition-duration: 680ms;
        transform: translate3d(-1.3rem,2.7rem,0);
    }

    .menu-open:checked ~ .menu-item:nth-child(9) {
        transition-duration: 780ms;
        transform: translate3d(-2.9rem,0.8em,0);
    }

*/
/*.ky-datagrid-cell > .ky-checkbox > label {
    margin-top: -1rem;
}
*/
.ky-message-command {
    position: absolute;
    bottom: 1.4rem;
    background-color: var(--color-content);

    border-radius: .7rem;
    padding: 1rem;
    z-index: 4;
    -webkit-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 20px 0px rgba(0,0,0,0.35);
    max-height: 80%;
    width: calc(100% - 4rem);
    left: 2rem;
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-message-command {
        background: inherit;
        background-color: var(--background-popup);
        /*border: 1px solid var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(var(--opacity-blur));
        backdrop-filter: blur(var(--opacity-blur));
        background-image: none;
    }
}

.ky-content-exec .ky-message-command{
    background-color: var(--color-content, white);
}

@media (max-width: 768px) {
    .ky-message-command {
        left: 0;
        width: 100%;
        max-height: 90%;
        bottom: 0;
    }
}

    .ky-message-command-msg > h6{
        padding-top: 1rem;
    }
.ky-message-command > .ky-div-container {
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    flex-flow: row wrap;
    margin-left: 1.2rem;
    margin-right: 1.2rem;
    /*background-color: var(--background-popup);*/
    margin-left: -1rem;
    margin-right: -1rem;
    padding: 1.5rem;
    /*border-top: 1px solid var(--border-color-popup);*/
    border-bottom: 1px solid var(--border-color-popup);
    /*justify-content: space-evenly;*/
}

    .ky-message-command > .ky-div-container:empty {
        border-top: 0px solid var(--border-color-popup);
        border-bottom: 0px solid var(--border-color-popup);
        height: 0;
        padding: 0rem;
        /*justify-content: space-evenly;*/
    }

        .ky-message-command > .ky-div-container > .ky-msg-div {
            min-width: 15rem;
            width: 25%;
            /*flex-grow: 3;*/
        }

        .ky-message-command > .ky-div-container > .ky-msg-line {
            flex: 100%;
            margin-top: .5rem;
            /*border-bottom: 1px solid rgba(var(--color-line, 0, 0, 0), 0.1);*/
        }

            .ky-message-command > .ky-div-container > .ky-msg-line > hr {
                display: none;
            }

        .ky-message-command > .ky-div-container > .ky-msg-div > div {
            width: 90%
            /*flex-grow: 4;*/
        }
        .ky-message-command > .ky-div-container > div > .ky-checkbox {
            margin-top: 1.6rem;
        }

            .ky-message-command > .ky-div-container > div > .ky-checkbox > input[type="checkbox"] + label {
                margin-bottom: 0;
            }


.ky-message-command-msg {
    padding: 1rem;
    margin-right: -1rem;
    margin-left: -1rem;
    border-bottom: 1px solid var(--border-color-popup);
}

    .ky-message-command-msg > h4 {
        padding-top: .6rem;
    }

    .ky-message-icon {
        margin-right: 1rem;
        border-radius: 1.5rem;
        font-weight: 100;
        color: white;
        font-size: 1.5rem;
        height: 3rem;
        width: 3rem;
        background-color: var(--color-green);
        float: left;
        text-align: center;
        display: block;
        padding-top: .6rem;
    }

.ky-message-buttons {
    height: 4rem;
    float: right;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
}

.ky-message-sync{
    border-radius: 1.5rem;
    color: var(--color-black);
    height: 1.3rem;
    font-size: 0.8rem;
    text-align: center;
    float:right;
    width: 1.3rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    transition: 400ms;
}

.ky-message-sync label{
    margin-bottom: 0rem;
}

.ky-message-sync:hover{
    background-color: var(--color-blue);
    color: white;
    transition: 400ms;
}

.ky-message-sync-circle{
    border-radius: inherit;
    border: 1px;
    border-color: var(--color-black);
    border-style: solid;
    width: 1rem;
    height: 1rem;

    display: flex;
    align-content: center;
    flex-wrap: wrap;
    justify-content: center;
}

.ky-message-help {
    border-radius: 1.5rem;
    color: var(--color-black);
    cursor: pointer;
    height: 1.3rem;
    float:right;
    width: 1.3rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    transition: 400ms;
}

.ky-message-ai {
    border-radius: 1.5rem;
    color: var(--color-black);
    cursor: pointer;
    height: 1.3rem;
    float:right;
    width: 1.3rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    transition: 400ms;
}


.ky-message-help:hover{
    background-color: var(--color-red);
    color: white;
    transition: 400ms;
}

.ky-message-config {
    border-radius: 1.5rem;
    color: var(--color-black);
    cursor: pointer;
    height: 1.3rem;
    float: right;
    width: 1.3rem;
    display: flex;
    justify-content: center;
    align-content: center;
    flex-wrap: wrap;
    transition: 400ms;
}

.ky-message-config:hover{
    background-color: var(--color-orange);
    color: white;
    transition: 400ms;
}

.ky-message-help-loading {
    animation: heartBeat .5s infinite alternate;
}

@keyframes heartBeat {
    to {
        transform: scale(1.2);
    }
}

.ky-message-command-msg > details {
    font-weight: 100;
    line-height: 1.3;
}

.ky-message-command-progressbar {
    height: .3rem;
    width: 100%;
}

    .ky-message-command-progressbar > div {
        width: 0;
        background-color: var(--color-green);
        height: .3rem;
        transition: all 0.2s linear;
    }

.ky-message-command-countdown {
    width: 100%;
}
    .ky-message-command-countdown-time {
        color: var(--color-text);
        text-align: right;
        font-size: 12px;
        margin: 0px;
    }


.ky-message-command-btn {
    text-align: center;
    margin: 1rem;
    margin-top: .9rem;
}

    .ky-message-command-btn > button {
        margin-right: .7rem;
        /*border: 1px solid var(--color-text, #383838);*/
        color: var(--color-text);
    }

    .ky-message-command * hr {
        margin: 0;
        margin-top: .5rem;
    }


.ky-datepicker > input {
    padding-right: 1.8rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}

.ky-datepicker > input + span {
    padding-right: 1.8rem;
}

.ky-datepicker > input:focus + span {
    padding-right: unset;
}

.ky-datepicker-mobile > input {
    padding-right: 0!important;
}

.ky-datepicker-mobile > input + span {
    padding-right: 0!important;
}

.ky-datepicker-mobile > button {
    display: none;
}

.ky-datepicker {
    width: 7rem;
}
.ky-input-grid + .ky-datepicker {
    width: 7rem;
}
@media (max-width: 768px) {
    .ky-datepicker {
        width: 8rem;
    }
}

.ky-datepicker > .ky-btn-chevron > svg {
    margin-left: .36rem;
    margin-top: .34rem;
}

.ky-datepicker > .ky-btn-chevron {
    right: .1rem;
}

.ky-datepicker > .ky-autocomplete-popup-open {
    transform: unset;
}


.ky-note-table {
    width: 30rem;
    color: var(--color-text);
    margin: .5rem;
    font-weight: 300;
}


.ky-datapicker-table {
    width: 13rem;
    color: var(--color-text);
    margin: .5rem;
    font-weight: 300;
}

/*.ky-note-table > tr:nth-child(2) > td {
    font-size: .5rem !important;*/
    /*border: var(--border-content);*/
    /*text-align: center;
}

.ky-note-table > tr > td {
    padding: .4rem;
    text-align: center;
    border-radius: 50%;
    max-width: 1rem;
    height: 1rem;
    font-size: .9rem;
    cursor: pointer;*/
    /*border: var(--border-content);*/
/*}*/


    .ky-datapicker-table > tr:nth-child(2) > td {
        
        font-size: .7rem !important;
        /*border: var(--border-content);*/
    }

    .ky-datapicker-table > tr > td {
        padding: .4rem;
        text-align: center;
        border-radius: 50%;
        max-width: 1rem;
        height: 1rem;
        font-size: .9rem;
        cursor: pointer;
        /*border: var(--border-content);*/
    }
.ky-datapicker-table-month {
    height: 2.4rem;
}
.ky-datapicker-table-month > td {
    /*color: var(--primary-color);*/
    font-weight: 300;
    border-top-left-radius: .6rem;
    border-top-right-radius: .6rem;
    font-size: 1.3rem;
    text-align: left !important;
    border-bottom: var(--border-content);
    
}
    .ky-datapicker-table-month > td > span {
        font-size: 1.3rem;
    }
    .ky-current-day {
        color: var(--primary-color);
        font-weight: 300;
    }

.ky-datapicker-table > tr > td:hover {
    background: var(--background-menu-bar-over);
}

.ky-datapicker-table > tr:nth-child(1) > td:hover,
.ky-datapicker-table > tr:nth-child(2) > td:hover {
    background: unset;
}
.ky-datapicker-table > tr:nth-child(1) > td,
.ky-datapicker-table > tr:nth-child(2) > td {
    cursor: unset;
}


.ky-datepicker-year{
    font-size: .8rem;

}
.ky-datapicker-table-month * .ky-btn-chevron {
    width: 1.5rem;
    height: 1.5rem;
}
    
.ky-datapicker-table-month * .ky-btn-chevron > svg {
    fill: var(--color-placeholder);
    width: 1rem;
    height: 1rem;
    font-size: 1.5rem;
}
    .ky-datapicker-table-month * .ky-btn-chevron:hover > svg {
        fill: var(--primary-color);
    }

.ky-datapicker-table-month * .ky-btn-chevron:last-child {
    width: 1.5rem;
    height: 1.5rem;
    float: right;
}


.ky-selected-day {
    background: var(--background-menu-bar-over);
    color: var(--primary-color);
    font-weight: 300;
}


@media (max-width: 768px) {
    svg {
        -moz-border-radius-bottomleft: 0;
        -moz-border-radius-bottomright: 0;
        border-bottom-left-radius: 0;
        border-bottom-right-radius: 0;
    }
}

.ky-upload-div{
    height: 5rem;
    width: 24rem;
}

.ky-upload-progress-bar{
    width: 10rem;
    height: 0.5rem;

    border-radius: .7rem;
    overflow: hidden;
    border: none;
    appearance: none;
    -webkit-appearance: none;

    position: absolute;
    top: calc(50% + 2rem);
    left: calc(50% - 5rem);
}

/* Progress bar "sfondo"*/
.ky-upload-progress-bar::-webkit-progress-bar {
    background: var(--color-content, white);
    border-radius: .7rem;
}

/* Progress bar "parte colorata" */
.ky-upload-progress-bar::-webkit-progress-value {
    background: linear-gradient(
        to right,
        rgb(151, 217, 248),
        rgb(90,200,250),
        rgb(0,132,255),
        rgb(88,86,217),
        rgb(0,132,255),
        rgb(90,200,250),
        rgb(177, 228, 252)
    );

    background-size: 500% auto;
    background-position: 0 100%;
    animation: gradient 3s infinite;
    animation-fill-mode: forwards;
    animation-timing-function: linear;

    border-radius: .7rem;
    transition: 300ms;
}

.ky-upload-div-uploader {
    height: 6rem;
    width: 6rem;
    background-color: var(--background-popup);
    border: 1px solid var(--border-color-popup);
    float: left;
    border-radius: .7rem;
    cursor: pointer;
    text-align: center;
    padding-top: 1.8rem;
    color: var(--color-placeholder);
}

    .ky-upload-div-uploader > svg{
        width: 2.2rem;
        height: 2.2rem;
        
    }

.ky-upload-div-doc {
    position: absolute;
    left: 0;
    height: 100%;
    width: 100%;
    background-color: var(--background-popup);
    border: 0px solid var(--border-color-popup);
    border-radius: .5rem;
    cursor: pointer;
    text-align: center;
    padding-top: 1.8rem;
    color: var(--color-placeholder);
    left: 0;
    top: 0;
    z-index: 3;
}

.ky-upload-close{
    position: absolute;
    right: 1rem;
    top: 1rem;
}
@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-upload-div-doc {
        background: inherit;
        background-color: var(--background-popup);
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(.9rem);
        backdrop-filter: blur(.9rem);
        background-image: none;
    }
}

    .ky-upload-div-doc > svg {
        width: 2.2rem;
        height: 2.2rem;
        position: absolute;
        top: calc(50% - 1.1rem);
        left: calc(50% - 1.1rem);
    }
    .ky-upload-grid {
        height: 6rem;
        width: 17rem;
        margin-left: 1rem;
        float: left;
        /*clear: left;*/
    }
    .ky-upload-desc{
        font-weight: 100;
        margin: .7rem;

    }
@media (max-width: 768px) {
    .ky-upload-div {
        width: 22rem;
    }

    .ky-upload-grid {
        height: 6rem;
        width: 13rem;
        margin-left: 1rem;
        margin-left: 1rem;
        float: left;
        /*clear: left;*/
    }
}

.ky-upload-alg {
    /*height: 5rem;*/
    margin: auto;
    min-width: 8rem;
    max-width: 80%;
    width: fit-content;
    position: relative;
}

.ky-upload-algfile {
    float: left;
    margin-top: -.3rem;
    margin-left: .7rem;
    margin-bottom: .5rem;
    position: relative;
    display: inline-block;
/*    overflow-y: hidden;*/
    overflow-x: hidden;
    /*max-height: 3.4rem;*/
}

.ky-upload-algfile:last-child {
    clear: both;
}
.ky-alg-item {
    display: inline-block;
    /*width: 4rem;*/
    /*height: 3rem;*/
    /*background-color: rgba(0,0,0,.1);*/
    border-radius: .7rem;
    /*margin-left: .8rem;*/
    padding: .25rem;
    max-width: 7rem;
    text-align: center;
    position: relative;
    
}

    .ky-alg-item:hover > div {
        background-color: var(--primary-color);
        color: var(--color-content);
    }
    .ky-alg-item > div {
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
        transition: background-color .4s, color .4s;
        font-size: .7rem;
        font-weight: 300;
        padding: .2rem;
        padding-left: .7rem;
        padding-right: .7rem;
        margin-top: .3rem;
        background-color: rgba(0,0,0,.2);
        color: var(--color-text);
        border-radius: .7rem;
    }

    .ky-alg-item > svg {
        display: block;
        margin: 0 auto;
        width: 1.5rem;
        height: 1.5rem;
        margin-bottom: .1rem;
    }

.ky-upload-alg > .ky-upload-desc {
    margin-top: 0;
}

    .ky-upload-alg > .ky-upload-grid {
        width: 0;
    }

.ky-upload-alg > .ky-upload-div-uploader {
    height: auto;
    min-height: 4rem;
    position: relative;
    width: 100%;
    padding-top: 1rem;
    border: 0px solid;
    background: transparent;
    /*opacity: .3;*/
}

    .ky-upload-alg > .ky-upload-div-uploader:hover {
        background: rgba(100, 100, 100, 0.15);
    }
    .ky-upload-alg > .ky-upload-div-uploader > svg {
        /*display: none;*/
        width: 1.4rem;
        margin: 0 auto;
        margin-left: .7rem;
        display: inline-block;
    }

.ky-alg-item-btn-remove {
    opacity: 0;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .4rem;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: 50%;
    transition: .6s color;
    color: var(--color-text-menu-bar, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: absolute;
    top: -.5rem;
    right: -.5rem;
    opacity: 0;
}

.ky-alg-item:hover > .ky-alg-item-btn-remove {
    opacity: 1;
}

    .ky-alg-item-btn-remove:hover {
        color: var(--color-red);
        opacity: 1;
    }

@media (max-width: 768px) {
    .ky-alg-item-btn-remove {
        opacity: .4;
    }
}

.ky-btn-cmd {
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: .4rem;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: 50%;
    transition: .6s;
    color: var(--color-text-menu-bar, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    /*height: var(--height-menu-bar, 1.7rem);*/
}

    .ky-btn-cmd:active,
    .ky-btn-cmd:focus,
    .ky-btn-cmd:hover {
        background-color: rgba(0,0,0,.1);
        background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
        outline: none;
    }

    .ky-btn-cmd > svg {
        fill: var(--color-placeholder);
        width: 1rem;
        height: 1rem;
        font-size: 1.5rem;
    }

    .ky-btn-cmd:hover > svg {
        fill: var(--primary-color, #1460CA);
    }


.ky-content-master {
    height: 100%;
    width: 100%;
    position: relative;
    padding: .8rem;
    padding-top: .15rem;
    /*padding-bottom: .15rem;*/
}

.ky-editor-container{
    /*overflow: auto;*/
    margin-top: .7rem;
    position: relative;
}

.ky-editor-container * .note-editable {
    border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.1);
    font-weight: 300;
    font-size: var(--font-size-input);
}

.note-editor .note-editable {
  line-height: 1.4;
}

.ky-editor-container * .note-statusbar{
    display: none;
}

.note-frame {
    border: 1px solid transparent !important;
}

/*MATT260220*/
.note-editable {
    line-height: 1.45;
}

.note-editable > hr{
    border-color: var(--color-text);
}

.simple-image > img {
    width: 100%;
}

.note-popover .popover-content .note-dropdown-menu.note-check a i, 
.note-editor .note-toolbar .note-dropdown-menu.note-check a i {
    color: var(--color-text);
}

.btn-light {
    background-color: transparent;
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
}

.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,
.note-popover .popover-content .note-color .note-dropdown-menu .note-palette .note-color-select:hover,
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-reset:hover,
.note-editor .note-toolbar .note-color .note-dropdown-menu .note-palette .note-color-select:hover {
    background-color: transparent;
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
}

.btn {
    color: var(--color-text);
}

.btn:hover {
    color: var(--primary-color);
}

.modal-backdrop{
    display: none;
}

.note-editor 
.note-dropzone {
    background-color: var(--background-popup);
    color: var(--color-content);
}
.note-editor
.note-dropzone.hover {
    
    color: var(--primary-color);
}
.dropdown-menu,
.popover {
    transition: transform 0.2s ease, opacity 0.2s ease;
    background-color: var(--color-content, white);
    border-radius: .7rem;
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    color: var(--color-text);
}

.fullscreen{
    background-color: rgba(0,0,0,.8);
    height: 100vh;
    padding: 1rem;
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .dropdown-menu, .popover {
        background: inherit;
        background-color: var(--background-popup);
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(.9rem);
        backdrop-filter: blur(.9rem);
        background-image: none;
    }
}


.ky-sem-filter {
    position: absolute;
    right: 1rem;
    top: 1.8rem; /*MIK220506: ho spostato il container dei sem-filter un pò più in basso per risolvere bug per cui con particolare entrate del mouse sopra sembrava non rilevasse fosse sopra il pulsante, l'impressione era come se ci fosse un oggetto invisibile sopra che prevenisse il focus. Era: 1.8rem;*/
    line-height: 2rem;
}

.ky-sem-filter-element {
    width: .9rem;
    height: .9rem;
    margin-right: .4rem;
    margin-bottom: .3rem;
}

    .ky-sem-filter-element > .ky-btn-chevron {
        background-color: #c2c2c2;
        width: .9rem;
        height: .9rem;
        right: 0rem;
        bottom: 0rem;
        top: .4rem;
        font-size: .5rem;
        color: rgba(0,0,0,0.7);
        text-align: center;
    }

        .ky-sem-filter-element > .ky-btn-chevron:active,
        .ky-sem-filter-element > .ky-btn-chevron:hover {
            /*background-color: var(--primary-color);*/
            transform: scale(1.4);
        }

        .ky-sem-filter-element > .ky-btn-chevron:disabled,
        .ky-sem-filter-element > .ky-btn-chevron:disabled:active,
        .ky-sem-filter-element > .ky-btn-chevron:disabled:hover {
            /*background-color: var(--primary-color);*/
            transform: scale(.65);
            opacity: .5;
        }
.ky-sem-filter-element > input{
    visibility: collapse;
}

.ky-filter-sem-led {
    background-color: #c2c2c2;
    width: .9rem;
    height: .9rem;
    border-radius: 50%;
    /*margin-right: .5rem;
    margin-top: .3rem;*/
}

.ky-filter-sem-desc {
    white-space: unset !important;
    overflow: unset !important;
    font-weight: 300;
    font-size: .7rem;
}

.ky-filter-sem-sel {
    transform: scale(.4) !important;
    opacity: .4;
}

.ky-filter-sem-sel > span {
    opacity: 0;
}

.ky-sem-item-active > .ky-filter-sem-desc {
    font-weight: 500;
}

.ky-filter-set {
    transform: scale(1.2);
}

.ky-sem-filter-element > input{
    display: none;
}

.ky-form-command {
    position: absolute;
    right: 1.4rem;
    top: .3rem;
}

    .ky-form-command > .ky-input > .ky-btn-chevron {
        width: 1.1rem;
        height: 1.1rem;
        border-radius: 1.75rem;
    }

    .ky-form-command > .ky-reports-element-row > .ky-btn-chevron {
        width: 1.1rem;
        height: 1.1rem;
        border-radius: .35rem;
    }

    .ky-form-command > .ky-reports-element-row > .ky-btn-chevron:hover {
        background-color: var(--color-light-green);
    }

    .ky-form-command > .ky-info-led-element-row {
        width: .9rem;
        height: .9rem;
        margin-left: .4rem;
        margin-top: .2rem;
        float: left;
    }

    .ky-form-command > .ky-info-led-element-row > .ky-btn-chevron {
        width: 1rem;
        height: 1rem;
        border-radius: .35rem;
        background: var(--color-gray);
        padding: 0;
        margin: 0;
        top: 0;
    }

    .ky-info-led-element-row:hover .ky-info-led-element-row-tooltip{
        opacity: 1;
        transition: 400ms;
    }

    .ky-info-led-element-row-tooltip{
        opacity: 0;
        text-align: center;
        transition: 800ms;
        pointer-events: none;
        
        padding: 0.3rem;
        background-color:  var(--background-tooltip);
        border: 1px solid var(--background-tooltip);
        border-radius: 6px;
        
        width: 10rem;

        position: absolute;
        left: -11rem;
        top: -0.3rem;
        z-index: 999;
    }

    .ky-info-led-element-row-tooltip::after {
        content: "";
        position: absolute;
        top: 3%;
        left: 100%;
        transform: rotate(90deg);

        width: 0;
        height: 0;

        border-color: var(--background-tooltip);
        border-left: 5px solid transparent;
        border-right: 5px solid transparent;
        border-bottom: 10px solid var(--background-tooltip);
    }

.ky-commands-element {
    width: .9rem;
    height: .9rem;
    margin-right: .4rem;
}
    .ky-commands-element > input{
        display: none;
    }

    .ky-commands-element > .ky-btn-chevron {
        background-color: #F3A83B; /* giallo/arancio; era grigio:  #c2c2c2;*/
        width: 2rem;
        height: .7rem;
        right: 0rem;
        bottom: 0rem;
        top: 0;
        border-radius: .45rem;
        font-size: .5rem;
        color: rgba(0,0,0,0.7)
    }

        .ky-commands-element > .ky-btn-chevron:active,
        .ky-commands-element > .ky-btn-chevron:hover {
            background-color: var(--color-light-yellow);
            transform: scale(1.1);
        }

    .ky-commands-element > input {
        visibility: collapse;
    }
.ky-command-desc {
    white-space: unset !important;
    overflow: unset !important;
    font-weight: 300;
    font-size: .7rem;
    padding: .4rem;
    padding-top: 0;
}

.ky-command-desc-name {
    font-weight: bold;
    margin-bottom: .2rem;
}

.ky-command-desc-desc{
    font-weight: 100;
    font-size: .7rem;
}

.ky-commands-element-row {
    width: .9rem;
    height: .9rem;
    margin-left: .4rem;
    margin-top: .2rem;
    float: left;
}

.ky-commands-element-detail {
    width: .9rem;
    height: .9rem;
    margin-left: .9rem;
    margin-top: .2rem;
}

    .ky-commands-element-row > .ky-btn-chevron,
    .ky-commands-element-detail > .ky-btn-chevron {
        background-color: #F3A83B; /* giallo/arancio; era grigio:  #c2c2c2;*/
        width: .9rem;
        height: .9rem;
        right: 0rem;
        top: 0rem;
        bottom: 0rem;
        border-radius: .45rem;
        font-size: .5rem;
        color: rgba(0,0,0,0.7)
    }

    .ky-commands-element-detail > .ky-btn-chevron {
        top: .2rem;

    }

        .ky-commands-element-row > .ky-btn-chevron:active,
        .ky-commands-element-row > .ky-btn-chevron:hover,
        .ky-commands-element-detail > .ky-btn-chevron:active,
        .ky-commands-element-detail > .ky-btn-chevron:hover {
            background-color: var(--color-light-yellow);
            transform: scale(1.1);
        }

    .ky-commands-element-row > input,
    .ky-commands-element-detail > input {
        display: none;
    }

/*Report*/

.ky-form-report {
    position: absolute;
    right: 4.1rem;
    top: .8rem;
}

.ky-reports-element {
    width: .9rem;
    height: .9rem;
    /*margin-right: .4rem;*/
}
    .ky-reports-element > input{
        display: none;
    }

    .ky-reports-element > .ky-btn-chevron {
        background-color: var(--color-green); /* verde*/
        width: 2rem;
        height: .7rem;
        right: 0rem;
        bottom: 0rem;
        top: 0rem;
        border-radius: .45rem;
        font-size: .5rem;
        color: rgba(0,0,0,0.7)
    }

        .ky-reports-element > .ky-btn-chevron:active,
        .ky-reports-element > .ky-btn-chevron:hover {
            background-color: var(--color-light-green);
            transform: scale(1.1);
        }

    .ky-reports-element > input {
        visibility: collapse;
    }

.ky-report-desc {
    white-space: unset !important;
    overflow: unset !important;
    font-weight: 300;
    font-size: .7rem;
}

.ky-report-desc-name {
    font-weight: bold;
    margin-bottom: .2rem;
    cursor: pointer;
}

    .ky-report-desc-name:hover{
        color: var(--primary-color);
    }

    .ky-report-desc-desc {
        font-weight: 100;
        font-size: .7rem;
    }

.ky-report-desc-exp {
    background-color: var(--primary-color); /* verde*/
    width: 1.8rem;
    height: 1.8rem;
    right: 0rem;
    bottom: 0rem;
    border-radius: .9rem;
    font-size: .7rem;
    color: rgba(255, 255, 255, 0.8);
    float: left;
    margin-top: .5rem;
    margin-right: .5rem;
    text-align: center;
    padding-top: .5rem;
    transition: all .4s;
    border: 1px solid transparent;
}

.ky-pdf {
    background-color: #ed3838;
}

.ky-epdf {
    background-color: #0567d3;
    font-size:.6rem;
}

.ky-xls{
    background-color: var(--color-green);
}

.ky-mhtml {
    background-color: var(--color-fucsia);
}

    .ky-report-desc-exp:hover{
        transform: scale(1.2);
    }

    .ky-report-noe {
        border-radius: .4rem;
    }

.ky-reports-element-row {
    width: .9rem;
    height: .9rem;
    margin-left: .4rem;
    margin-top: .2rem;
    float: left;
}

    .ky-reports-element-row > .ky-btn-chevron {
        /*background-color: #c2c2c2; */
        background-color: #32CD32; /* verde*/
        width: .9rem;
        height: .9rem;
        top: 0;
        right: 0rem;
        bottom: 0rem;
        border-radius: .45rem;
        font-size: .5rem;
        color: rgba(0,0,0,0.7)
    }

        .ky-reports-element-row > .ky-btn-chevron:active,
        .ky-reports-element-row > .ky-btn-chevron:hover {
            background-color: var(--primary-color);
            /*transform: scale(1.4);*/
        }

    .ky-reports-element-row > input {
        display: none;
    }

    .ky-quick-reload{
        width: 1.2rem;
        height: 1.2rem;
        margin-left: .2rem;
        margin-top: .2rem;
        float: left;
    }

    .ky-quick-reload > .ky-btn-chevron {
        /*background-color: #c2c2c2; */
        background-color: #c086e2; /* verde*/
        width: 1.1rem;
        height: 1.1rem;
        top: 0;
        right: 0rem;
        bottom: 0rem;
        border-radius: .25rem;
        font-size: .5rem;
        color: var(--color-content);
    }

    .ky-quick-reload > .ky-btn-chevron > span > svg{
        width: 0.9rem;
        height: 0.9rem;
    }

    .ky-quick-reload > .ky-btn-chevron:active,
    .ky-quick-reload > .ky-btn-chevron:hover {
        background-color: var(--primary-color);
    }

    .ky-field-search > .ky-btn-chevron:active,
    .ky-field-search > .ky-btn-chevron:hover{
        background-color: var(--color-dbo-olive);
    }
    .ky-quick-reload > input {
        display: none;
    }

    .ky-field-search{
        width: 1.2rem;
        height: 1.2rem;
        margin-left: .2rem;
        margin-top: .2rem;
        float: left;
        position: relative;
    }

    .ky-field-search > .ky-btn-chevron {
        background-color: var(--primary-color);
        width: 1.1rem;
        height: 1.1rem;
        top: 0;
        right: 0rem;
        bottom: 0rem;
        border-radius: .25rem;
        font-size: .5rem;
        color: var(--color-content);
        span > svg{
            width: 0.7rem;
            height: 0.7rem;
        }
    }
    .ky-field-search-popup {
        position: absolute;
        top: 0;
        right: 120%;
        transform: translateY(0.25rem);
        padding: .25rem .4rem;
        border-radius: 1rem;
        background: var(--background-popup);
        box-shadow: 0 4px 12px var(--background-menu-bar-over);
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
        z-index: 10000;

        display: flex;
        align-items: center;
        gap: .25rem;

        transition: opacity .15s ease-out, transform .15s ease-out, visibility .15s;
    }
    .ky-field-search-input {
        width: 11rem;
        padding: .15rem;
        font-size: .7rem;
        border-radius: 1rem;
        border: 1px solid var(--color-border);
        background-color: var(--background-menu-bar-over);
        color: var(--color-text);
    }

    .ky-field-search-input:focus, 
    .ky-field-search-next:focus, 
    .ky-field-search-prev:focus {
        outline: 2px solid rgba(var(--primary-color-rgb), .65);
    }

    /* stato aperto */
    .ky-field-search-open .ky-field-search-popup {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        transform: translateY(0);
    }

    .ky-field-search-prev, .ky-field-search-next {
        border: 1px solid var(--color-line);
        border-radius: 5px;
        background-color: var(--background-menu-bar-over);
        color: var(--color-text);
    }

    .ky-field-search-highlight {
        box-shadow: 0 2px 0 0 var(--primary-color);
        transition: box-shadow .2s ease-out;
        background-color: rgba(var(--primary-color-rgb), .1);
    }
/*------*/

/*** GESTIONE BOTTONI RIGA NAV e DETAILS ****/

.ky-nav-element-row,
.ky-detail-element-row
{
    width: .9rem;
    height: .9rem;
    margin-left: .4rem;
    margin-top: .2rem;
    float: left;
}

.ky-detail-element-cell
{
    width: .9rem;
    height: .9rem;
    top : 2px;
    right: 2px;
    position: absolute;
}

.ky-nav-element-row > .ky-btn-chevron,
.ky-detail-element-row > .ky-btn-chevron,
.ky-detail-element-cell > .ky-btn-chevron {
    width: .9rem;
    height: .9rem;
    top: 0;
    right: 0rem;
    bottom: 0rem;
    border-radius: .45rem;
    font-size: .5rem;
    color: rgba(0,0,0,0.7);
}

.ky-nav-element-row > .ky-btn-chevron:active,
.ky-nav-element-row > .ky-btn-chevron:hover,
.ky-detail-element-row > .ky-btn-chevron:active,
.ky-detail-element-row > .ky-btn-chevron:hover
{
    transform: scale(1.4);
    background-color: transparent;
    background: none;
}

.ky-detail-element-row > .ky-btn-chevron:focus,
.ky-nav-element-row > .ky-btn-chevron:focus {
    /*transform: scale(1.0);*/
    background-color: transparent;
    background: none;
}

.ky-nav-element-row > input
.ky-detail-element-row > input {
    display: none;
}

/*** FINE GESTIONE BOTTONI RIGA NAV e DETAILS ***/

        .ky-datagrid-cell > .sk-cube-grid{
    float: left;
}

.ky-nav-element-row > .ky-btn-chevron > svg
.ky-detail-element-row > .ky-btn-chevron > svg {
    width: .9rem;
    height: .9rem;
}

.ky-btn-chevron > svg.ky-svg-nav-row,
.ky-btn-chevron > svg.ky-svg-detail-row {
    fill: var(--color-placeholder);
    width: .9rem;
    height: .9rem;
    font-size: .9rem;
}

.ky-btn-chevron > svg.ky-svg-doc-row {
    fill: var(--color-placeholder);
    width: 1rem;
    height: 1rem;
    font-size: 1rem;
}

/*.ky-command-tab {*/
    /*background-color: rgba(0,0,0,.05);*/
    /*overflow: hidden;
    overflow-x: auto;
    text-overflow: ellipsis;
    white-space: nowrap;
}*/


.ky-command-tab {
    /*box-shadow: inset -4px 0px 10px -3px #808080;*/
    /*box-shadow: inset 25px 0px 25px -25px rgba(0,0,0,0.45), inset -25px 0px 25px -25px rgba(0,0,0,0.45);*/
}
.ky-tab-item {
    display: inline-block;
    width: 50%;
    font-weight: 300;
    padding: .5rem;
    position: relative;
    padding-top: .5rem;
    padding-bottom: .5rem;
    font-size: var(--font-size-input);
    background-color: rgba(0,0,0,.05);
    cursor: pointer;
    /*border-bottom: 1px solid rgba(0,0,0,.05);*/
    border-top: 1px solid rgba(0,0,0,.05);
    border-left: 1px solid rgba(0,0,0,.05);
    /*border-right: 1px solid rgba(0,0,0,.05);*/
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--color-placeholder);
    max-height: 2rem;
}

    .ky-tab-item:hover {
        background-color: rgba(0,0,0,.1);
        color: var(--primary-color);
    }

.ky-tab-item-active {
    background-color: var(--color-content);
    /*border-top: 1px solid rgba(0,0,0,.05);*/
    /*border-right: 1px solid rgba(0,0,0,.05);*/
    border-bottom: 1px solid var(--primary-color);
    border-top: 1px solid var(--color-content);
    /*color: var(--primary-color);*/
    color: unset;
    /*min-width: 7rem;*/
}

    .ky-tab-item-active:hover {
        /*background-color: rgba(0,0,0,.02);*/
        background-color: var(--color-content);
        color: unset;
    }

.ky-tabitem-element{
    /*padding-top: .8rem;*/
    overflow: scroll;
    transition: opacity .6s;
}
.ky-tab-item-inactive {
    padding-top: 0;
    height: 0 !important;
    opacity: 0;
    visibility: collapse;
}
.ky-tab-item-inactive-scroll {
    padding-top: .8rem;
    height: unset !important;
    opacity: unset;
    visibility: unset;
}

#containerCode{
    height: calc(100% - 4rem);
    margin-top: 4rem;
}

.ky-side-dev-resize{
    width: .25rem;
    height: 3rem;
    left: .5rem;
    background-color: var(--border-color-popup);
    position: absolute;
    cursor: pointer;
    border-radius: 1.5rem;
    z-index: 4;
    top: calc(50% - 1.5rem);

}

.ky-slider-content {
    position: absolute;
    top: 4.5rem;
    bottom: .8rem;
    left: 1rem;
    width: calc(100% - 1.6rem);
    right: .8rem;
    border-radius: .5rem;
}

/*Rimuove i bordi dalle form contenute nelle slider, per ottenere un effetto grafico più piacevole.*/
.ky-slider-content > .ky-content{
    border-radius: unset !important;
}

.ky-form-slider-content {
    top: 5.5rem;
}

.ky-slider-content.ky-div-loading {
    height: calc(100% - 5rem);
}
.ky-no-transition {
    transition: 0s !important;
}

.ky-cmd-gird-svg {
    width: 1rem !important;
    height: 1rem !important;
    margin: .35rem;
}

.ky-image-previw {
    width: 90%;
    height: 90%;
    object-fit: contain;
}

.ky-radio-content {
    display: inline;
    /*border-top: 1px solid var(--color-placeholder);*/
    border-right: 1px solid var(--color-placeholder);
}

    .ky-radio-content > * {
        margin-right: 1rem;
        margin-bottom: .5rem;
    }

    .ky-radio-content > .ky-checkbox > input[type="checkbox"] + label:before {
        content: '';
        display: block;
        width: 1.2rem;
        height: 1.2rem;
        border: 1px solid var(--color-placeholder);
        position: absolute;
        border-radius: .45rem;
        left: 0;
        top: 0;
        opacity: .6;
        -webkit-transition: all .4s, border-color .08s;
        transition: all .4s, border-color .08s;
    }

    .ky-radio-content > .ky-checkbox > input[type="checkbox"]:checked + label:before {
        width: .6rem;
        top: -.3rem;
        left: .3rem;
        border-radius: 0;
        opacity: 1;
        border: 1px solid var(--primary-color);
        border-top-color: transparent;
        border-left-color: transparent;
        -webkit-transform: rotate(45deg);
        transform: rotate(45deg);
    }

    .ky-radio-content > .ky-checkbox > input[type="checkbox"]:checked + label {
        color: var(--color-text);
    }

.flex-container > .ky-checkbox {
    margin-top: 1.6rem;
    margin-left: .5rem;
}

.ky-btn-chevron-type {
    position: absolute;
    right: 0rem;
    top: .2rem;
    width: 1.5rem;
    height: 1.5rem;
}

.ky-btn-chevron-type > div {
    /*transform: rotate(-90deg);
    width: 0;
    height: 0;
    border-radius: 50%;
    border-left: .4rem solid transparent;
    border-right: .4rem solid transparent;
    border-top: .4rem solid var(--color-placeholder);
    margin-left: calc(50% - .3rem);*/
    width: .8rem;
    height: .2rem;
    border-radius: .1rem;
    background-color: var(--color-placeholder);
    margin-left: calc(50% - .4rem);
}

.ky-autocomplate-multi{
    position: relative;
}

    .ky-autocomplate-multi > .ky-autocomplate{
        /*margin-left: 1.5rem;*/
    }

.ky-btn-chevron-type.ky-autocomplete-popup-open {
    transform: rotate(90deg);
}

.ky-btn-chevron-type.ky-autocomplete-popup-open > div {
    /*border-top: .4rem solid var(--primary-color);*/
    background-color: var(--primary-color);
}

.draggable {
    background-color: var(--primary-color) !important;
    -webkit-box-shadow: 0px 0px 1rem 0px rgba(0,0,0,0.35);
    -moz-box-shadow: 0px 0px 1rem 0px rgba(0,0,0,0.35);
    box-shadow: 0px 0px 1rem 0px rgba(0,0,0,0.35);
    opacity: .9 !important;
    z-index: 1000;
    /*background-color: rgba(160, 160, 160, 0.8) !important;*/
    border-radius: .5rem;
    font-weight: 400 !important;
    color: var(--color-content-dev);
    /*border-radius: .3rem;*/
    /*position: absolute !important;*/
}

.draggable * svg {
    color: var(--color-content-dev) !important;
    
}

.ky-blink-move {
    animation: blinkermove 2s linear;
    /*background-color: rgba(160, 160, 160, 0.25) !important;*/
    /*font-weight: 400 !important;*/
    color: var(--primary-color);
}


@keyframes blinkermove {
    0% {
        opacity: 1;
    }

    /*25% {
        opacity: .2;
    }

    50% {
        opacity: .8;*/
        /*font-weight: 200 !important;*/
    /*}*/

    35% {
        opacity: .2;
    }

    100% {
        opacity: 1;
    }
}

.ky-row-move {
    /*border-left: 1rem solid transparent !important;*/
    border-bottom: .15rem solid var(--primary-color) !important;
}
/*
[data-ky-binding="RagSoc"] > span{
    color: red !important;
    font-weight: bold;
}

[data-ky-binding="RagSoc"] > input {
    border-bottom: 1px solid rgba(193, 70, 69, 1) !important;
    font-weight: bold;
}*/

.ky-scroll-right {
    width: 4rem;
    height: 100%;
    background-color: transparent;
    /*position: -webkit-sticky;*/ /* Safari */
    position: absolute;
    top: 0;
    right: 0;
    z-index: 100;
}

.ky-scroll-left {
    width: 4rem;
    height: 100%;
    background-color: transparent;
    position: -webkit-sticky; /* Safari */
    position: absolute;
    top: 0;
    left: 0;
    z-index: 100;
}

.ky-tab-info-fnc {
    font-size: .7rem;
    padding: .1rem .5rem;
    border-radius: .5rem;
    background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
    color: var(--primary-color);
    float: right;
    margin-left: .3rem;
    margin-right: 0rem;
    
}

.ky-tab-info-org {
    float: left;
    flex-grow: 1;
}

.ky-button-view {
    padding: .2rem .25rem;
    position: absolute;
    right: .7rem;
    top: 0rem;
    opacity: .5;
}
    .ky-button-view:hover,
    .ky-button-view:active{
        opacity: 1;
    }
    .ky-button-view > svg {
        width: 1rem;
        height: 1rem;
    }

.ky-view-maximize {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: var(--color-content);
    z-index: 4; /*--Matt 241008 Abbassato l'index a 4 per prevenire la copertura delle fasce quando si massimizza qualcosa.*/
    width: 100% !important;
    padding: 0rem .8rem !important;
}

    .ky-view-maximize * textarea {
        background-color: var(--color-content);
    }

.ky-item-autoupdate > input {
    border-bottom: 1px solid rgba(193, 103, 69, 0.60) !important;
}

.ky-item-autoupdate > input:hover {
    border-bottom: 1px solid rgba(193, 103, 69, 0.60) !important;
}

.ky-tag-content, .ky-version-content {
    perspective: 1000px;
}

.ky-tag-content-inner {
    /*transition: transform 2s;*/
    /*transform-style: preserve-3d;*/
    transform: rotateY(0deg);
    transform-style: preserve-3d;
}

.ky-tag-content-flip, .ky-version-content-flip {
    transform: rotateY(0deg);
    /*transform-origin-z: 1000px;*/
}

.ky-tag-content-front, .ky-tag-content-back {
    position: absolute;
    -webkit-backface-visibility: hidden;
    backface-visibility: hidden;
}

.ky-tag-content-front {
}

.ky-tag-content-back {
    transform: rotateX(180deg);
}

.ky-tag, .ky-version {
    /*opacity: 0;*/
    display: none;
    height: 100%;
    width: 100%;
    position: relative;
    padding: .8rem;
    padding-top: 1rem;
}


.ky-tag-content, .ky-version-content {
    
    display: inline-block;
    margin: .4rem;
    
}

.ky-version-content{

    width: 88%;
    padding: 20px;
    margin-left: 6%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;

}

.ky-version-new{

    z-index: 1000;
    position: absolute;
    top: 1rem;
    left: 1rem;
    font-size: 1.5rem;

}

.ky-version-header{
    font-size: inherit;
    font-weight: inherit;
    font-family: inherit;
    color: var(--color-text, #808080);
    opacity: 0.8;
    padding: .2rem;
}

.ky-version-id{

    font-size: .9rem;
    font-weight: 300;
    color: var(--color-text);
    opacity: 0.4;
    padding: .2rem;

}

.ky-version-new{

    z-index: 1000;
    position: absolute;
    top: 0.8rem;
    left: 0.8rem;
    font-size: 1.5rem;
    color: var(--primary-color);

}

.ky-version-separator{
    height: 1px;
    max-height: 1px;
    width: 90%;
    margin-left: 5%;
    padding: 0;
    background-color: var(--color-dbo-grey);
    border-radius: 1rem;
}

.ky-tag-background {
    position: relative;
    display: flex;
    align-items: center;
    padding: .2rem .8rem;
    padding-right: .4rem;
    font-size: .9rem;
    vertical-align: top;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    line-height: 1.4rem;
    font-weight: 200;
    -webkit-user-select: none !important;
    -ms-user-select: none !important;
    user-select: none !important;
    /*min-height: 2rem;*/
    background: var(--background-menu-bar-over);
    border-radius: .8rem;
    height: 1.7rem;
    
}

.ky-tag-caption {
    float: left;
    font-size: .8rem;
    margin-right: .2rem;
    /*padding-top: .1rem;*/
    font-weight: normal;
    /* color: var(--primary-color); */
    /* opacity: .7; */
}

    .ky-tag-caption > div > input {
        /* color: var(--primary-color); */
    }

.ky-tag-input {
    float: left;
    margin-right: .5rem;
    font-size: .8rem;
    font-weight: bold;
    opacity: .9;
}

.ky-tag-input > .ky-input-grid > input{
    min-width: unset;
    width: auto;
}

.ky-tag-input > span {
    clear: both;
}

.ky-tag-add{
    /* margin-top: .7rem; */
}

.ky-tag-delete{
    /*position: absolute;
    right: 0rem;
    top: -0.2rem;*/
    transform: scale(.7);
    opacity: .35;
}
.ky-tag-delete:hover{
    opacity: 1;
}

.ky-view-maximize > .ky-tag-background, .ky-view-maximize > .ky-version-background{
    height: 100%;
    width: 100%
}

    .ky-view-maximize > .ky-tag-background > .ky-tag-input {
        width: 100%;
    }
.ky-view-maximize > .ky-tag-delete{
    right: .8rem;
}

.ky-msg-div.ky-view-maximize.ky-auto-height-tab > div[data-ky-type="textarea"] {
    height: 90%;
}

.ky-msg-div.ky-view-maximize.ky-auto-height-tab > div[data-ky-type="textarea"] > textarea {
    height: 100%;
}

.ky-color-tagsel > svg, .ky-color-versionsel > svg {
    color: var(--primary-color);
    fill: var(--primary-color);
}

.ky-notag-hidden, .ky-noversion-hidden{
    display: block !important;
    height: 0;
    opacity: 0;
    visibility: collapse;
    padding: 0;
}

.ky-tab-caption {
    float: left;
    display: inline-block;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    flex-grow: 1;
    min-height: 1rem;
    /*max-width: 50%*/
}

.ky-tab-item-content {
    display: flex;
    align-items: stretch;
}
.ky-command-tab-content {
    width: 100%;
    /*height: 2rem;*/
    overflow-y: hidden;
    white-space: nowrap;
    -ms-overflow-style: none; /* Internet Explorer 10+ */
    scrollbar-width: none; /* Firefox */
}

    .ky-command-tab-content::-webkit-scrollbar {
        display: none; /* Safari and Chrome */
    }

.ky-span-grid-mobile {
    font-size: .7rem;
    font-weight: normal;
    float: left;
    display: inline-block;
    min-width: 4rem;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
}

.ky-label-container {
    font-size: var(--font-size-input);
    padding-top: 1rem;
    position: relative;
    font-weight: 300;
}

.ky-checkbox-pivot > input[type="checkbox"] + label:before {
    opacity: .4;
}

.ky-checkbox-pivot > input[type="checkbox"]:checked + label:before {
    border: 2px solid var(--color-green);
    border-top-color: transparent;
    border-left-color: transparent;
    border-radius: 1px;
    opacity: 1;
}

 /* Works on Firefox */
.ky-input > textarea {
    scrollbar-width: thin;
    scrollbar-color: var(--border-color-popup) auto;
}

    .ky-input > textarea::-webkit-resizer {
        background-color: transparent;
    }

    .ky-input > textarea::-webkit-scrollbar-corner {
        background-color: transparent;
        width: 0px;
    }
/* Works on Chrome, Edge, and Safari */
    .ky-input > textarea::-webkit-scrollbar {
        width: 7px;
    }

.ky-input > textarea::-webkit-scrollbar-track {
    background: transparent;

}

    .ky-input > textarea::-webkit-scrollbar-thumb {
        background-color: var(--border-color-popup);
        border-radius: 7px;
        cursor: pointer;
    }

.ky-help-item:hover{
    background: unset !important;
}

.ky-help-item {
    display: grid;
    grid-template-columns: 3rem auto;
    position: relative;
    color: var(--color-text);
    font-size: .8rem;
    padding: .5rem;
    min-height: 2rem;
    font-weight: 400;
    border-radius: .4rem;
    background: transparent;
    cursor: pointer;
    line-height: 1.2;
}

.ky-help-item,
.ky-help-item > .ky-command-desc,
.ky-help-item > .ky-command-desc > .ky-command-desc-desc {
    z-index: -1;
    cursor: unset !important;
    user-select: text !important;
    -webkit-user-select: text !important;
    -moz-user-select: text !important;
    -ms-user-select: text !important;
}

.ky-datagrid > .navigator {
    z-index: 2;
    top: 0;
    margin-top: .2rem;
    margin-right: .2rem;
}

.ky-btn-baritem > .navigator,
.ky-checkbox > .navigator {
    margin-top: -.2rem;
    margin-right: -.2rem;
}

.window > .navigator,
.ky-menu-subitem > div > .navigator,
.ky-tab-item > .navigator {
    margin-top: .2rem;
    margin-right: .2rem;
}

.ky-active-help{
    color: var(--primary-color);
    transition: 450ms;

    animation: 1.5s 1 alternate bell-swing;
}

@keyframes bell-swing {
    0%{
        transform: rotate(0deg);
    }
    33%{
        transform: rotate(33deg);
    }
    66%{
        transform: rotate(-33deg);
    }
    100%{
        transform: rotate(0deg);
    }
}

.ky-help-item > .ky-command-desc > .ky-help-binding > i {
    cursor: pointer !important;
    font-size: .5rem;
}

.ky-content-message {
    position: fixed;
    right: 0;
    bottom: 0;
    padding: .7rem;
    /*z-index: 1001;*/
    overflow-y: auto;
    overflow-x: hidden;
    max-height: calc(100vh - var(--height-menu-bar));
}

.ky-content-message-mobile {
    position: fixed;
    right: 0;
    top: 0;
    padding: .7rem;
    /*z-index: 1001;*/
    overflow-y: auto;
    overflow-x: hidden;
    max-height: 20vh;
    width: 100vw;
    flex-direction: column-reverse;
    display: flex;
    div{
        width: 100%;
    }
}

.ky-popup-item-clicked{
    cursor: pointer !important;
}

    .ky-popup-item-clicked:hover > div > .ky-filter-sem-led {
        transition: background-color .4s;
        background-color: var(--primary-color) !important;
    }
@media (max-width: 768px) {
    .ky-content-message {
        position: fixed;
        right: 0;
        bottom: var(--height-menu-bar);
        /*top: 0;*/
    }
}


.ky-message {
    transition: all .3s;
    /*width: 100%;*/
    z-index: 1;
    background-color: var(--color-content, white);
    border-radius: 1rem;
    overflow: auto;
    max-height: 12rem;
    width: 20rem;
    min-height: 5rem;
    display: block;
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
    padding: .2rem;
    /*box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .2);
    margin-bottom: .5rem;
    transform: translateX(22rem);
    
}

.ky-message-show {
    transform: translateX(0);
}

/*.ky-message-remove {
    height: 0px;
    min-height: 0;
}*/


@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-message {
        background: inherit;
        background-color: var(--background-popup);
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(1.6rem);
        backdrop-filter: blur(1.6rem);
        background-image: none;
    }
}

.ky-message > div > div > .ky-filter-sem-led{
    height: 100%;
    border-radius: .4rem;
    width: .7rem;
}
.ky-message > div {
    color: var(--color-text);
    font-size: 1rem !important;
    padding: .4rem .2rem;
    min-height: 5rem;
    font-weight: 300;
    border-radius: .4rem;
    background: transparent;
    cursor: pointer;
    line-height: 1.2;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}


.ky-message-desc {
    white-space: unset !important;
    overflow: unset !important;
    font-weight: 300;
    font-size: 1rem;
}

.ky-message-desc-name {
    font-weight: 300;
    /*color: var(--primary-color);*/
    margin-bottom: .2rem;
}

.ky-message-desc-desc {
    font-weight: 300;
    font-size: .65rem;
    /*max-height: 6rem;*/
    overflow-y: auto;
    /*max-height: 6rem;*/
}

.ky-message-read {
    cursor: pointer;
    height: 1.3rem;
    opacity: .5;
    position: sticky;
    top: 0;
}

    .ky-message-read:hover {
        color: var(--primary-color);
        opacity: 1;
    }

    .ky-message-read > svg {
        width: 1rem;
        height: 1rem;
    }

.ky-message-open-form {
    cursor: pointer;
    height: 1.3rem;
    opacity: .5;
}

    .ky-message-open-form:hover {
        color: var(--primary-color);
        opacity: 1;
    }

    .ky-message-open-form > svg {
        width: 1rem;
        height: 1rem;
    }

.ky-help-title {
    font-weight: 300;
    font-size: 1rem;
    margin-top: .7rem;
}
.ky-help-note {
    margin-top: .5rem;
}
    .ky-help-note > hr{
        border-color: var(--color-text);
        margin-bottom: 0;
    }

    .ky-div-loading {
        height: 1rem;
        background: var(--background-loading-cell);
        border-radius: .5rem;
        background-size: 500px 100px;
        animation-name: moving-gradient;
        animation-duration: 1s;
        animation-iteration-count: infinite;
        animation-timing-function: linear;
        animation-fill-mode: forwards;
        transform: translateZ(0);
    }

.ky-help-note.ky-div-loading {
    height: 5rem;
    min-width: 8rem;
}

.ky-help-tutorial-title{
    padding-top: 1rem;
    padding-bottom: 1rem;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 300;
}

.ky-help-tutorial > a {
    display: block;
    font-weight: 300;
    text-decoration: none;
    /*margin-bottom: .4rem;*/
}
.ky-help-tutorial > a:hover {
    text-decoration: none;
    /*margin-bottom: .4rem;*/
}

.ky-help-tutorial > a > svg {
    width: 1.2rem;
    margin-right: .2rem;
}

    .ky-help-tutorial > a:hover > svg {
        transform: scale(1.2);
    }

.ky-help-div{
    max-width: 25vw;
    min-width: 15rem;
}

.ky-help-tutorial-tag {
    margin-top: .5rem;
    color: var(--primary-color);
    cursor: pointer;
}

    .ky-help-tutorial-tag > svg {
        width: 1.2rem;
        margin-left: -.2rem;
    }
    .ky-help-tutorial-tag > span {
        display: block;
        margin-top: .2rem;
        font-weight: 300;
        font-size: .7rem;
        padding: .1rem .2rem;
        margin-left: -.3rem;
        min-width: 1.4rem;
        text-align: center;
        border-radius: .5rem;
        background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
        /*color: var(--color-text);*/
    }

.ky-help-idtutorial{
    font-size: .4rem;
    display: block;
    margin-left: 1.4rem;
}

.ky-command-scroll {
    /*margin-right: .4rem;*/
    max-height: 60vh;
    width: 100%;
}

.ky-command-master > .ky-command-scroll {
    /*margin-right: .4rem;*/
    max-height: 60vh;
    width: 100%;
}

    body::-webkit-scrollbar,
    .ky-command-scroll.ky-scrollbar.v-scroll-auto::-webkit-scrollbar {
        width: .5rem;
        height: .5rem;
        background: transparent;
        border-radius: 1rem;
        margin-top: .4rem;
        margin-bottom: .4rem;
    }
    body::-webkit-scrollbar-thumb,
    .ky-command-scroll.ky-scrollbar::-webkit-scrollbar-thumb {
        background: rgba(0, 0, 0, .2);
        background: var(--color-text-menu-bar-disable);
        background-clip: padding-box;
        border-radius: 1rem;
        border: .5rem solid var(--color-text-menu-bar-disable) !important;
    }

.ky-command-master{
    max-width: 25rem;
}

@media (max-width: 768px) {
    .ky-command-master {
        max-width: 90vw;
    }
}

.ky-command-contenent {
    grid-template-columns: 12rem 12rem;
    display: grid;
}

    .ky-command-contenent > .ky-popup-item {
        max-width: 12rem;
        /*Marco240506 Spostato qui la minnima altezza perchè andava in contrasto con i popup item del menu*/
        min-height: 4rem;
    }

    .ky-commnad-title {
        padding: .5rem;
        color: var(--color-text);
        font-size: 1rem;
        font-weight: 300;
        border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.2);
        /*border-top: solid 1px rgba(var(--color-line, 0, 0, 0), 0.2);*/
        margin-bottom: .2rem;
        opacity: .5;
    }

.ky-commnad-search {
    padding-right: 1rem;
    text-align: right;
}

.ky-commnad-search > .ky-input > input{
    text-align: right;
}

.ky-command-master-title {
    color: var(--primary-color);
    font-size: 1.2rem;
    font-weight: 300;
    float: left;
    margin-top: 1rem;
    margin-left: .5rem;
}

.ky-popup-multi > .ky-datagrid-sel-input{
    /*margin-top: 0rem;*/
    /*background-color: red;*/
    width: 1.5rem;
    height: 100%;
}

    .ky-popup-multi > .ky-datagrid-sel-input:hover > .ky-checkbox > input[type="checkbox"] + label:before {
        border: 4px solid var(--color-placeholder);
    }

    .ky-popup-multi > .ky-datagrid-sel-input:hover > .ky-checkbox > input[type="checkbox"]:checked + label:before {
        border: 4px solid var(--primary-color);
        border-top-color: transparent;
        border-left-color: transparent;        
    }

    .ky-popup-multi > .ky-checkbox > input[type="checkbox"]:checked ~ label:before {
        left: .07rem!important;
    }


    .ky-datagrid-sel-input > input[type="checkbox"]:checked + .ky-checkbox-simbol {
        background-color: var(--color-green);
        opacity: 1;
        border: 0px solid var(--color-placeholder);
        text-align: center;
        vertical-align: middle;
    }


.b-corp-logo {
    display: inline-block;
    margin-left: 1rem;
    margin-top: 1rem;
    position: absolute;
    transform: scale(.4);
    transform-origin: left top;
    transform-origin-x: 0;
}

.ky-push-notifications-indicator {
    width: .5rem;
    cursor: pointer;
    bottom: .2rem;
}

.ky-signalr-indicator {
    position: absolute;
    right: .2rem;
    top: .2rem;
    width: .5rem;
    /*height: .5rem;*/
    border-radius: .25rem;
    bottom: .2rem;
    cursor: pointer;
}

    .ky-signalr-indicator:hover {
        background-color: var(--primary-color) !important;
    }
    .ky-signalr-connect-ok {
        background-color: var(--color-green);
    }




.ky-signalr-connect-connecting {
    background-color: orange;
    animation: blinker 2s linear infinite;
}
.ky-signalr-connect-error {
    background-color: var(--color-red);
    animation: blinker 2s linear infinite;
}

.ky-datagrid-sel-btn{
    border-radius: .8rem;
}

    .ky-datagrid-sel-btn > div {
        font-size: .5rem;
        display: inline-block;
        opacity: .8;   
    }
.ky-btn-cmd-row {
    min-width: 3rem;
    min-height: 1.2rem;
    font-size: .8rem;
    border: 1px solid var(--border-color-popup);
    padding: 0rem .4rem;
    border-radius: .8rem;
    display: block;
    text-align: center;
    cursor: pointer;
    display: inline-block;
}

    .ky-btn-cmd-row:hover {
        color: var(--primary-color);
        border: 1px solid var(--primary-color);
    }

.ky-item-background{
    border-radius: .5rem;
    /*margin-bottom: .2rem;*/
}

.ky-span-timer{
    background: var(--background-menu-bar-over);
    border-radius: .7rem;
    font-size: .6rem;
    padding: .2rem .8rem;
    margin-left: 1rem;
    margin-right: .5rem;
    position: relative;
    display: inline-block;
    right: .3rem;
    /*margin-top: -.3rem;*/
    font-weight: bold;
    height: 1rem;
    border:1px solid var(--primary-color);
    color: var(--primary-color)
}

.ky-list-ins {
    width: 80%;
    height: calc(100% - 2.4rem);
    max-width: 100%;
    position: absolute;
    right: .7rem;
    top: 1.2rem;
    z-index: 1001;
    -webkit-animation: slideR .5s forwards;
    /*-webkit-animation-delay: 2s;*/
    animation: slideR .5s forwards;
    /*animation-delay: 2s;*/
    background-color: var(--color-content, white);
    border-radius: 1rem !important; /*.3rem .3rem .7rem;*/
    overflow: auto;
    /*display: block;*/
    border: var(--border-content, 1px solid rgba(255,255,255,.15));
    padding: .5rem;
    padding-top: 1rem;
    /*box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);*/
    box-shadow: 0 0rem 2rem 0 rgba(0, 0, 0, .2);
}

    .ky-list-ins > .ky-side-dev-resize{
        left: .35rem;
    }

    .ky-list-ins > .ky-side-dev-resize:hover,
    .ky-list-ins > .ky-side-dev-resize:active {
            background-color: var(--primary-color);
        }

.ky-remove-list-ins{
    position: absolute;
    top: .5rem;
    left: .3rem;
}

.ky-remove-form-slider {
    position: absolute;
    top: -.2rem;
    left: -.2rem;
}

.ky-list-ins * .ky-btn-bar{
    margin-left: 1rem;
}


@property --p {
    syntax: '<number>';
    inherits: true;
    initial-value: 1;
}

.ky-pie {
    --p: 20;
    --b: .25rem;
    --c: darkred;
    --w: 2rem;
    width: var(--w);
    aspect-ratio: 1;
    position: relative;
    display: inline-grid;
    margin: .2rem;
    place-content: center;
    font-size: .5rem;
    
}

    .ky-pie:before,
    .ky-pie:after {
        content: "";
        position: absolute;
        border-radius: 50%;
    }

    .ky-pie:before {
        inset: 0;
        background: radial-gradient(farthest-side,var(--c) 98%,#0000) top/var(--b) var(--b) no-repeat, conic-gradient(var(--c) calc(var(--p)*1%),#0000 0);
        -webkit-mask: radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
        mask: radial-gradient(farthest-side,#0000 calc(99% - var(--b)),#000 calc(100% - var(--b)));
    }

    .ky-pie:after {
        inset: calc(50% - var(--b)/2);
        background: var(--c);
        transform: rotate(calc(var(--p)*3.6deg)) translateY(calc(50% - var(--w)/2));
    }

.ky-pie-animate {
    animation: ky-pie-p 1s .5s both;
}

.ky-pie-no-round:before {
    background-size: 0 0, auto;
}

.ky-pie-no-round:after {
    content: none;
}

@keyframes ky-pie-p {
    from {
        --p: 0
    }
}


.ky-btn-delete > svg,
.ky-btn-delete:hover > svg {
    fill: var(--color-red);
}

.ky-btn-delete > span,
.ky-btn-delete:hover > span {
    color: var(--color-red);
    opacity: 1;
}

.ky-filter-list-ins-btn {
    margin-right: 1rem;
    display: inline-flex;
}

.ky-filter-list-ins-btn > label {
    max-width: 10rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.ky-filter-list-ins-btn > input[type="checkbox"]:checked + label {
    color: var(--primary-color);
}

    

.ky-filter-list-ins-btn-select > label {
    transition: border 2s, color 2s;
    /*border: 1px solid var(--primary-color);*/
    color: var(--primary-color);
}

.ky-btn-cmd-info {
    fill: var(--primary-color);
    /*width: unset;*/
    width: 5rem;
}

.ky-btn-cmd-info > svg{
    fill: var(--primary-color);
    width: 1rem;
    height: 1rem;
}
.ky-btn-cmd-info > span {
    color: var(--primary-color);
    opacity: 1;
    max-width: 5rem;
}

.ky-btn-cmd-info-badge {
    position: absolute;
    right: 0;
    top: -.15rem;
    background-color: var(--color-red);
    font-size: .5rem;
    padding: .2rem .5rem;
    border-radius: .5rem .5rem .5rem 0;
    text-align: left;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    color: white;
    transition: all .7s;
    z-index: 999;
}

.ky-btn-cmd-info-badge:hover {
    transform: scale(1.25);
}

.ky-btn-cmd-info-badge > .ky-badge-text {
    font-size: .6rem !important;
}
.ky-btn-cmd-info-badge > .ky-badge-value {
    font-size: .8rem !important;
}
.ky-bdage-view {
    background-color: var(--primary-color);
    color: var(--color-content);
}


.ky-list-ins-background {
    position: absolute;
    left: 0;
    right: 0;
    z-index: 1;
    background-color: var(--background-popup);
    width: 100%;
    height: 100%;
    border-radius: var(--radius-content);
}

.ky-list-ins-sender{
    z-index: 2;
}

@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-list-ins-background {
        background: inherit;
        background-color: var(--background-popup) !important;
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(.3rem);
        backdrop-filter: blur(.3rem);
        background-image: none;
    }
}

.ky-input-total {
    position: relative;
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    font-weight: 300;
    /*line-height: 1.5;*/
    padding: .3rem .5rem;
    margin: .3rem;
    background: var(--background-menu-bar-over);
    border-radius: .6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    cursor: pointer;
    transition: all .5s;
}

    .ky-input-total-inline{
        opacity: 1 !important
    }

    .ky-input-total > .ky-input-total-caption {
        /*display: inline-flex;*/
        font-size: 85%;
        color: var(--color-text, #808080);
        margin-right: .5rem;
        /*margin-top: .05rem;*/
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
    }

    .ky-input-total > .ky-input-total-value {
        /*display: inline-flex;*/
        font-weight: normal;
        height: inherit;
        color: var(--primary-color);
        text-overflow: ellipsis;
        white-space: nowrap;
        overflow: hidden;
        font-size: var(--font-size-input, .9rem);
        /*font-weight: bold;*/
    }

.ky-input-total-change{
    opacity: .5;
    /*transform: rotateX(90deg);*/
}

.ky-label {
    position: relative;
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    font-weight: 300;
    padding: .35rem .7rem;
    margin: .3rem;
    margin-top: 1rem;
    background: rgba(146, 146, 146, 0.2);
    border-radius: .6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    cursor: default;
    transition: all .5s;
    max-width: 100%;
}

.ky-label-html{
    border-bottom: 1px solid var(--color-dbo-grey);
    padding-bottom: 0.5rem;
}

.ky-help-command {
    background-color: rgb(194, 194, 194);
    /*right: .2rem;
    top: .1rem;*/
    height: .9rem;
    width: .9rem;
    position: relative;
    margin-top: 0;
}

.ky-changeid-cannot-change > svg {
    fill: var(--color-red);
}

.ky-changeid-can-change > svg {
    fill: var(--color-green);
}

.ky-changeid-active.ky-changeid-can-change > svg {
    fill: var(--primary-color);
}

.ky-changeid-active {
    opacity: 1;
}

.ky-input > .ky-button-changeid {
    top: 1.35rem;
    opacity: 1;
}

.ky-btn-navigator {
    width: 1rem;
    height: 1rem;
    margin-top: .2rem;
    margin-left: .2rem;
    transform-origin: 50% 50%;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: 50%;
    transition: .6s;
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    vertical-align: top;
}

.ky-btn-navigator:active,
.ky-btn-navigator:focus {
    outline: none;
}

.ky-btn-navigator:hover > div{
    transform: scale(1.3);
    /*border-left-color: #b7d9ff;*/
}

.ky-btn-star:hover > div {
    transform: scale(1.3);
    filter: invert(31%) sepia(39%) saturate(5385%) hue-rotate(210deg) brightness(98%) contrast(101%);
}

.ky-btn-navigator > div {
    transition: .6s;
    margin-left: .25rem;
    transform: scale(1.1);
    /*width: 0;
    height: 0;*/
    vertical-align: top;
    color: var(--color-placeholder);
    /*border-radius: 50%;
    border-top: .5rem solid transparent;
    border-bottom: .5rem solid transparent;
    border-left: .65rem solid var(--dark-color);*/
}

.ky-btn-navigator > div > .ky-svg-nav {
    vertical-align:top;
}

.ky-svg-nav-row {
    width: .9rem;
    height: .9rem;
    overflow: unset;
}

.ky-svg-doc-row{
    width: 1.1rem;
    height: 1.1rem;
    overflow: unset;
}

.ky-btn-star > div {
    transition: .6s;
    margin-left: .25rem;
    transform: scale(1.1);
    vertical-align: top;
    color: var(--color-placeholder);
}

.ky-btn-star > div > .ky-svg-star {
    vertical-align: top;
}

.ky-div-nav-left {
    opacity: 0;
    position: fixed;
    transition: .5s;
    right: unset !important;
    left: -25vw;
    width: 25vw;
    /*min-width: 25rem;*/
    max-width: 25rem;
    /*height: 100%;*/
    background: linear-gradient(90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
    top: var(--height-menu-bar);
    bottom: 0;
    padding-top: 9rem;
}

.ky-div-nav-right {
    opacity: 0;
    position: fixed;
    transition: all .5s;
    left: unset !important;
    right: -25vw;
    width: 25vw;
    /*min-width: 25rem;*/
    max-width: 25rem;
    /*height: 100%;*/
    background: linear-gradient(-90deg, rgba(0,0,0,.5) 0%, rgba(0,0,0,0) 100%);
    top: var(--height-menu-bar);
    bottom: 0;
}

.ky-div-nav-center {
    position: fixed;
    opacity: 0;
    background-color: transparent;
    top: var(--height-menu-bar);
    bottom: 0;
    left: -100vw;
    right: -100vw;
    width: 100vw;
    height: 100vw;
}

.ky-navigator-search {
    position: fixed;
    top: var(--height-menu-bar);
    width: 26rem;
    left: -28rem;
    right: unset !important;
    /*position: relative;*/
    background-color: var(--color-content);
    padding: .7rem .7rem;
    border-radius: .7rem;
    margin: 1rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .5);
    transition: all .5s;
    /* color: #222; */
}

.ky-div-nav{
    z-index: 1000;
}

@media (max-width: 768px) {
    .ky-div-nav-left {
        top: 0;
        bottom: var(--height-menu-bar);
        width: 100vw;
        left: -100vw;
    }
        .ky-div-nav-right{
            display: none;
        }
        .ky-navigator-search {
            top: 0;
        }
}

.ky-div-nav-open {
    right: 0;
    left: 0;
    opacity: 1;
    transition: opacity 1s, left .2s, right .2s;
}

.ky-navigation-item > div{
    color: #191919;
    min-height: 3rem;
}

.ky-navigation-item {
    border: unset;
    box-shadow: 0 0 2rem 0 rgba(0, 0, 0, 0.1);
    /*box-shadow: unset;*/
    margin: .5rem;
    transform: unset;
    max-height: unset;
    cursor: pointer;
    background-color: unset;
    min-height: unset;
    background: linear-gradient(rgba(255,255,255,.5),rgba(255,255,255,.4));
    /*background: linear-gradient(#c9c9c9,#bcbcbc);*/
    /*border-radius: .7rem .35rem;*/
    border-radius: .7rem;
}

    .ky-navigation-item-form:hover {
        transform: scale(1.02);
    }



.ky-nav-content {
    width: 21.2rem;
    background: linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3));
    padding: .1rem;
    margin: .35rem;
    margin-left: 1rem;
    margin-right: 1rem;
    border-radius: .7rem;
    box-shadow: 0 .5rem 1rem rgba(0, 0, 0, .5);
    transition: opacity .5s;
    opacity: 0;
}

.ky-nav-content-open {
    opacity: 1;
}

    .ky-div-nav-right > .ky-nav-content {
        float: right;
    }


.ky-nav-title {
    margin: .3rem;
    padding: .5rem .7rem;
    background-color: rgba(255,255,255,.65);
    color: #383838;
    border-radius: .7rem .7rem 0rem .7rem;
    /*border-radius: .5rem;*/
    width: 20.25rem;
    font-family: var(--font-family);
    font-size: .8rem;
    font-weight: 300;
    cursor: pointer;
    transition: all .4s;
}

.ky-navigation-hide{
    display: none;
}

.ky-navigation-title-close {
    border-radius: .7rem;
    transition: all .4s;
}

.ky-nav-content.closed .ky-nav-button-more {
  display: none;
}

.ky-navigator-search > .ky-command-master-title {
    color: var(--primary-color);
}


.ky-navigator-master-title{
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 300;

    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
}
    .ky-span-nav{
        width: 65%;
    }

    .ky-navigator-master-title > .ky-nav-icon {
        opacity: .2;
        transition: all 1s;
    }

    .ky-navigator-master-title > .ky-nav-icon > svg {
        width: 1.5rem;
        height: 1.4rem;

        margin-right: .5rem;

        fill: var(--dark-color);
        transition: all 1s;
    }

.ky-svg-search > svg{
    width: 1.2rem;
    fill: var(--dark-color);
}

.ky-svg-search {
    display: inline-block;
}
.ky-nav-search {
    display: inline-block;
    width: calc(100% - 1.5rem);
    margin-left: .3rem;
    margin-top: .8rem;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    font-weight: 100;
}
    .ky-nav-search > input {
        position: relative;
        display: inline-block;
        font-family: var(--font-family);
        font-size: var(--font-size-input, .9rem);
        font-weight: 100;
        border-bottom: solid 1px transparent;
    }

    .ky-nav-search > input:focus,
    .ky-nav-search > input:active {
        box-shadow: none;
        background-color: transparent !important;
        outline: none;
        border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.2);
    }

    .ky-nav-search > input:-webkit-autofill,
    .ky-nav-search > input:-webkit-autofill:hover,
    .ky-nav-search > input:-webkit-autofill:focus,
    .ky-nav-search > input:-webkit-autofill:active {
        -webkit-text-fill-color: var(--color-text, #309bdb);
        -webkit-box-shadow: 0 0 0px 50px rgba(0,0,0,0) inset !important;
        transition: background-color 5000s ease-in-out 0s;
        background-color: transparent !important;
    }


/* Input, Textarea */
.ky-nav-search > input,
.ky-nav-search > textarea {
    display: block;
    box-sizing: border-box;
    margin: 0;
    border: none;
    padding-bottom: .2rem;
    /*border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.2);*/
    /*padding: 0 0 4px;*/
    width: 100%;
    height: inherit;
    color: var(--color-text, #808080);
    background-color: transparent;
    box-shadow: none; /* Firefox */
    font-family: inherit;
    font-size: inherit;
    line-height: inherit;
    /*transition: border-bottom 0.4s, background-color 0.2s;*/
    border-radius: 0 !important;
    font-weight: inherit;
}

.ky-nav-search > input {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
}



@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
    .ky-nav-content {
        background: inherit;
        background-color: rgba(255,255,255,.4) !important;
        /*border: var(--border-color-popup);*/
        -webkit-backdrop-filter: blur(1.6rem);
        backdrop-filter: blur(1.6rem);
        background-image: none;
    }
}


.ky-nav-div-button {
    margin-top: .8rem;
}

.ky-nav-div-button-left,
.ky-nav-div-button-right {
    display: inline-block;
    width: 50%;
}

.ky-nav-div-button-right{
    text-align: right;
}

.ky-nav-div-button * button {
    width: 100%;
    min-height: 2rem;
    background-color: transparent;
    display: inline-block;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0;
    text-align: center;
    /*font-size: .8rem;*/
    transition: .4s;
    color: var(--color-placeholder, #222);
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
    font-size: var(--font-size-input);
}
    .ky-nav-div-button * button:active,
    .ky-nav-div-button * button:focus,
    .ky-nav-div-button * button:hover {
        color: var(--primary-color);
        outline: none;
        /*background: var(--background-menu-bar-over);*/
    }

.ky-nav-div-button-left > button {
    border-right: 1px solid rgba(var(--color-line, 0, 0, 0), 0.2);
    text-align: left;
    border-radius: 0 0 0 .7rem;
}

.ky-nav-div-button-right > .ky-nav-lock,
.ky-nav-div-button-right > button:active,
.ky-nav-div-button-right > button:focus,
.ky-nav-div-button-right > button:hover {
    color: var(--primary-color);
    outline: none;
}

    .ky-nav-div-button-right > button {
    /*border-right: 1px solid rgba(var(--color-line, 0, 0, 0), 0.2);*/
    text-align: right;
    border-radius: 0 0 .7rem 0;
}

.ky-nav-div-button * svg{
    width: 1.2rem;
    margin-left: .5rem;
    margin-right: .5rem;
}

.ky-nav-title > .ky-message-read:hover > svg{
    fill: var(--color-red);
}

.ky-navigator-line {
    /*width: calc(100% + 1.4rem);
    border-top: 1px solid rgba(var(--color-line, 0, 0, 0), 0.2);
    margin-top: .7rem;
    margin-left: -.7rem;
    margin-right: -.7rem;*/
}

.ky-navigation-title-log {
    background-color: rgba(0, 0, 0, 0.5);
    color: white;
}

.ky-nav-title > span{
    display: inline-block;
    width: calc(100% - 1.5rem);
}

.ky-nav-title > .btn-window-close {
    display: inline-block;
    float: right;
    margin-top: -.1rem;
    transform: scale(1) !important;
    background-color: gray;
    width: .9rem !important;
    height: .9rem;
}

.btn-nav-del-active {
    background: #c14645 !important;
}
.ky-nav-title > .btn-window-close:active,
.ky-nav-title > .btn-window-close:focus,
.ky-nav-title > .btn-window-close:hover {
    background: #c14645;
    outline: none;
}

.ky-navigation-item * .ky-filter-sem-led{
    width: .4rem !important;
    border-radius: .2rem !important;
}

.ky-btn-navigator-row{
    position: absolute;
    left: 0;
}

    .ky-btn-navigator-row:hover > div {
        transform: scale(1.1);
        border-left-color: var(--primary-color);
    }

.ky-nav-color-first{
    padding-left: 0 !important;
    opacity: .8;
}

    .ky-nav-color-first > .ky-filter-sem-led {
        width: 1rem !important;
        border-radius: .5rem .2rem .2rem .5rem !important;
    }

.ky-navigation-item-form:hover > div > .ky-nav-color-first {
    opacity: 1;
}

.ky-btn-navigator-form,
.ky-btn-navigator-item {
    width: 1rem;
    height: 1rem;
    margin-top: -.5rem;
    margin-left: .5rem;
    transform-origin: 50% 50%;
    display: inline-block;
    font-weight: 400;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    padding: 0;
    text-align: center;
    /*font-size: .8rem;*/
    line-height: 1;
    border-radius: 50%;
    transition: .6s;
    background-color: transparent;
    border: 0px solid transparent;
    cursor: pointer;
    position: relative;
}

.ky-btn-navigator-form:hover > div,
.ky-btn-navigator-item:hover > div {
    border-left-color: rgba(0,0,0,.4);
}
.ky-btn-navigator-form > div,
.ky-btn-navigator-item > div {
    transition: .6s;
    margin-left: .25rem;
    transform: scale(1.1);
    width: 0;
    height: 0;
    border-radius: 50%;
    border-top: .5rem solid transparent;
    border-bottom: .5rem solid transparent;
    border-left: .65rem solid var(--dark-color);
}

.ky-btn-navigator-item > svg{
    fill: var(--dark-color);
    opacity: 0.8;
}

.ky-btn-navigator-item:hover > svg{
    animation: colorChangeLoading 2s infinite;   
    opacity: 1;
}

.ky-nav-det{
    display: flex;
    flex-direction: column;
    justify-content: center;
}


.ky-nav-det-frm {
    border-top: 1px solid rgba(0,0,0,.2);
}

    .ky-nav-det-frm > button {
        color: var(--dark-color);
    }

        .ky-nav-det-frm > button:focus,
        .ky-nav-det-frm > button:active,
        .ky-nav-det-frm > button:hover {
            color: rgba(0,0,0,.4);
            outline: none;
        }

.ky-nav-content-stack {
    position: relative;
}

.ky-nav-button-more {
    font-size: .8rem;
    padding: .3rem .7rem;
    background-color: rgba(255,255,255,.85);
    border-radius: 1rem;
    display: block;
    float: right;
    margin-bottom: .5rem;
    margin-right: .5rem;
    cursor: pointer;
    font-weight: 300;
    text-align: center;
    vertical-align: middle;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border: 1px solid var(--button-color, #383838);
}

    .ky-nav-button-more:hover,
    .ky-nav-button-more:focus,
    .ky-nav-button-more:active {
        background-color: var(--button-color, #383838);
        /*color: white;*/
        outline: none;
        border: 1px solid rgba(0, 0, 0, 0.08);
    }

.ky-nav-content-stack > .ky-nav-button-more{
    display: none;
}
.ky-nav-content-stack > .ky-navigation-item:nth-child(2):hover {
    transform: none;
}

    .ky-nav-content-stack > .ky-navigation-item:nth-child(2):hover > div > .ky-nav-color-first {
        opacity: .6;
    }


.ky-nav-content-stack > .ky-navigation-item {
    height: 4.5rem;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

    .ky-nav-content-stack > .ky-navigation-item > .ky-popup-item > .ky-nav-color-first {
        height: 3.3rem;
    }

    .ky-nav-content-stack > .ky-navigation-item:nth-child(2) {
        position: relative;
        z-index: 0;
        margin-bottom: 1rem;
    }
    .ky-nav-content-stack > .ky-navigation-item:nth-child(3) {
        position: absolute;
        top: .05rem;
        z-index: -1;
        transform: scale(.95);
    }
    .ky-nav-content-stack > .ky-navigation-item:nth-child(4) {
        position: absolute;
        top: .4rem;
        z-index: -2;
        transform: scale(.9);
    }
    .ky-nav-content-stack > .ky-navigation-item:nth-child(n+5) {
        position: absolute;
        z-index: -3;
        opacity: 0;
        top: .2rem;
        z-index: -2;
        transform: scale(.89);
    }

.ky-navigation-item:nth-child(3) {
    z-index: -1;
}

.ky-navigation-item:nth-child(4) {
    z-index: -2;
}

.ky-navigation-item:nth-child(n+5) {
    z-index: -3;
}

.ky-note-btn-barview{
    right: 2.5rem;
}

.ky-placeholder-active {
    color: var(--color-placeholder-span);
    position: relative;
    margin-bottom: 0.05rem;
    font-size: .75rem;
    font-weight: 300;
    opacity: 1;
}

.ky-placeholder-inactive {
    color: var(--color-placeholder);
    position: relative;
    margin-bottom: 0.05rem;
    font-weight: 300;
    font-size: var(--font-size-input);
    opacity: .8;
}


.ky-border-command-element {
    position: absolute;
    left: -.6rem;
    top: .6rem;
    width: .5rem;
    height: .5rem;
    border-radius: 50%;
    opacity: .8;
}

.ky-element-inedit{
    border: 2px solid var(--color-red) !important;
    border-radius: .7rem;
}
.ky-element-inedit-right {
    border-right: .5rem solid var(--color-red) !important;
}
.ky-dev-code-container {
    position: absolute;
    width: 7rem;
    top: 4.5rem;
    bottom: .4rem;
    left: 1rem;
    padding-top: .25rem;
    border-radius: .7rem;
    /*box-shadow: inset 0 .5rem 1rem rgba(0, 0, 0, .2);*/
    /*box-shadow: -5px -5px 9px rgba(0, 0, 0, .1), 5px 5px 9px rgba(0, 0, 0, .2);*/
    /*display: flex;
    flex-direction: column;
    flex-wrap: wrap;*/
    /*border-right: 1px solid var(--border-color-popup);*/
    /*height: calc(100% - 4rem);
    display: inline-flex;*/
}

.ky-dev{
    min-height: 2.5rem;
    outline: none;
}
.ky-dev-code-container > .ky-btn-baritem {
    display: inline-block;
    margin-top: .5rem;
    margin-bottom: .5rem;
    margin-left: 1rem;
    width: 2rem;
}

    .ky-dev-code-container > .ky-btn-baritem > span{
        max-width: 3rem;
    }
    #containerCode {
        margin-left: 8.5rem;
    }


.ky-checkbox-lock {
    float: right;
}

.ky-checkbox-lock > label {
    margin-top: .4rem;
}

.ky-checkbox-btn-lock {
    /*position: absolute;*/
    display: inline-block;
    background: var(--color-green);
    width: 1.4rem;
    height: 1.4rem;
    box-sizing: border-box;
    padding: 0rem 0 0 .3rem;
    border-radius: 50%;
    cursor: pointer;
    -webkit-tap-highlight-color: transparent;
    margin-right: .3rem;
}

.ky-checkbox-lock > input[type="checkbox"]:focus ~ label.ky-checkbox-btn-lock {
    box-shadow: 0 0 5px var(--primary-color);
}


    .ky-checkbox-btn-lock svg {
        fill: none;
        width: 1rem;
        height: 1rem;
        transform: translate3d(0, 0, 0);
    }

        .ky-checkbox-btn-lock svg .bling {
            stroke: #fff;
            stroke-width: 2.5;
            stroke-linecap: round;
            stroke-dasharray: 3;
            stroke-dashoffset: 15;
            transition: all 0.3s ease;
        }

        .ky-checkbox-btn-lock svg .lock {
            stroke: #fff;
            stroke-width: 4;
            stroke-linejoin: round;
            stroke-linecap: round;
            stroke-dasharray: 36;
            transition: all 0.4s ease;
        }

        .ky-checkbox-btn-lock svg .lockb {
            fill: #fff;
            fill-rule: evenodd;
            clip-rule: evenodd;
            transform: rotate(8deg);
            transform-origin: 14px 20px;
            transition: all 0.2s ease;
        }

.ky-checkbox-lock > input {
    /*display: none;*/
    opacity: 0;
    height: 0;
    position: absolute;
}

    .ky-checkbox-lock > input:checked + label {
        background: var(--color-red);
    }

        .ky-checkbox-lock > input:checked + label svg {
            opacity: 1;
        }

            .ky-checkbox-lock > input:checked + label svg .bling {
                animation: bling 0.3s linear forwards;
                animation-delay: 0.2s;
            }

            .ky-checkbox-lock > input:checked + label svg .lock {
                stroke-dasharray: 48;
                animation: locked 0.3s linear forwards;
            }

            .ky-checkbox-lock > input:checked + label svg .lockb {
                transform: rotate(0);
                transform-origin: 14px 22px;
            }

@-moz-keyframes bling {
    50% {
        stroke-dasharray: 3;
        stroke-dashoffset: 12;
    }

    100% {
        stroke-dasharray: 3;
        stroke-dashoffset: 9;
    }
}

@-webkit-keyframes bling {
    50% {
        stroke-dasharray: 3;
        stroke-dashoffset: 12;
    }

    100% {
        stroke-dasharray: 3;
        stroke-dashoffset: 9;
    }
}

@-o-keyframes bling {
    50% {
        stroke-dasharray: 3;
        stroke-dashoffset: 12;
    }

    100% {
        stroke-dasharray: 3;
        stroke-dashoffset: 9;
    }
}

@keyframes bling {
    50% {
        stroke-dasharray: 3;
        stroke-dashoffset: 12;
    }

    100% {
        stroke-dasharray: 3;
        stroke-dashoffset: 9;
    }
}

@-moz-keyframes locked {
    50% {
        transform: translateY(1px);
    }
}

@-webkit-keyframes locked {
    50% {
        transform: translateY(1px);
    }
}

@-o-keyframes locked {
    50% {
        transform: translateY(1px);
    }
}

@keyframes locked {
    50% {
        transform: translateY(1px);
    }
}

.ky-dev-code-container > .ky-btn-baritem-single {
    width: 5rem;
    margin-top: .5rem;
}

    .ky-dev-code-container > .ky-btn-baritem-single > span {
        max-width: 5rem;
    }

.ky-upload-image {
    height: 100%;
    width: 100%;
    background-color: rgba(0,0,0,.05);
    border-radius: .7rem;
    background-repeat: no-repeat;
    background-size: contain;
    background-position: center center;
    cursor: pointer;
    border: 1px solid var(--border-color-popup);
    position: relative;
}
.ky-upload-div-uploader-img {
    height: 100%;
    width: 100%;
    border-radius: .7rem;
}

.ky-upload-image-dragover {
    background-color: rgba(0,0,0,.07);
    border: 3px solid var(--primary-color);
}

.ky-label-info {
    position: relative;
    display: inline-block;
    font-family: var(--font-family);
    font-size: var(--font-size-input, .9rem);
    font-weight: 300;
    /*line-height: 1.5;*/
    padding: .3rem .5rem;
    margin: .3rem;
    background: var(--background-menu-bar-over);
    border-radius: .6rem;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: fit-content;
    cursor: pointer;
    transition: all .5s;
    margin-left: 0rem;
    padding-top: .2rem;
    cursor: default;
}

.ky-command-tab-vertical {
    transition: 400ms;
    width: 15%;
    position: absolute;
    margin-top: 5.2rem;
    height: calc(100% - 5.2rem);
    box-shadow: inset -0.8rem 0 1.5rem -1.2rem rgba(0, 0, 0, 0.35);
    padding-top: .5rem;
    padding-bottom: .5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    border-top-right-radius: 0.5rem;
}

.ky-command-tab-vertical-compressed{
    width: 1rem !important;
}

.ky-content-vertical-compressed{
    width: calc(100% - 1rem) !important;
    margin-left: 1rem !important;
}

.ky-content-vertical {
    transition: 400ms;
    width: calc(100% - 15%);
    margin-left: 15%;
}
.ky-notag.ky-content-vertical, .ky-noversion.ky-content-vertical {
    border-top: unset;
}
.ky-tag.ky-content-vertical, .ky-version.ky-content-vertical {
    border-top: unset;
    width: unset;
    margin-left: unset;
}
.ky-command-panel.ky-notag.ky-content-vertical, .ky-command-panel.ky-noversion.ky-content-vertical {
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}
.ky-tab-vertical {
    height: 100%;
    overflow-y: auto;
    /*background-color: red;*/
}

.ky-tab-item-vertical {
    width: calc(100% - 1rem) !important;
    display: block;
    font-weight: 300;
    min-height: 2rem;
    padding: .5rem;
    margin-left: .5rem;
    margin-right: .5rem;
    background-color: unset;
    border: unset;
    color: var(--color-text);
    opacity: .7;
}

    .ky-tab-item-vertical:hover,
    .ky-tab-item-active.ky-tab-item-vertical {
        border-radius: .5rem;
        background-color: rgba(0,0,0,.1);
        background: var(--background-menu-bar-over, linear-gradient(rgba(255,255,255,.4),rgba(255,255,255,.3)));
        outline: none;
        border: unset;
        color: unset;
        font-weight: 400;
        opacity: 1;
    }


.ky-label-flg-contab {
    float: left;
    background: var(--background-menu-bar-over);
    border-radius: .7rem;
    padding: .3rem .8rem;
    color: var(--color-red);
    font-size: .9rem;
    margin: .32rem;
    height: 1.5rem;
    line-height: .75rem;
}

.ky-btn-baritem-cmd-container, ky-btn-baritem-scnd-container{
    display: flex;
    flex-direction: row;
    align-items: flex-start;
    justify-content: space-between;
}

.ky-btn-baritem-command{
    width: 4rem;
    margin-left: 0px;
}

.ky-baritem-scnd{
    margin-left: 0px;
    width: 3rem;
}


    .ky-btn-baritem-command > svg {
        width: 1rem;
        height: 1rem;
    }

    .ky-btn-baritem-command > span {
        /*opacity: 1;*/
        max-width: 3.8rem;
    }



.ky-content-exec {
    position: fixed;
    right: 0;
    top: var(--height-menu-bar);
    padding: .5rem;
    bottom: 0;
    z-index: -1;
    max-height: 100%;
}

    .ky-content-exec > .window {
        position: relative;
        height: 90vh !important;
        width: 35vw !important;
        box-shadow: unset;
    }

        .ky-content-exec > .window > .ky-message-command {
            max-height: calc(100% - 2rem);
            top: .5rem;
            width: calc(100% - 2rem);
            animation: vanishInForm .3s;
            color: var(--color-text);
            bottom: unset;
        }

            .ky-content-exec > .window > .ky-message-command > .ky-message-command-msg{
                padding: .5rem 1rem;

            }

@media (max-width: 768px) {
                .ky-content-exec {
        position: fixed;
        right: 0;
        top: 0;
        bottom: var(--height-menu-bar);
        /*top: 0;*/
    }
}


#BtnChangeYear > span{
    color: var(--primary-color);
    margin-left: .35rem;
    font-weight: bold;
}

#BtnChangeYear > svg {
    fill: var(--color-text);
}

.ky-span-gest-man {
    width: 2rem;
    height: .4rem;
    margin: .35rem;
    margin-left: 0;
    position: absolute;
    border-radius: .2rem;
    bottom: -.9rem;
}


/*Marco240417: Inserito btn che apre la scheda setting associata al comando/report*/
.ky-link-item {
    margin: 1px;
    margin-left: -1.4px;
}
.ky-link-item:hover {
    color: var(--color-light-grey) ;
}

.ky-rpt-item-disabilita {
    position: absolute;
    /*Marco240417: Abbassato, devo fare spazio al btn di apertura della scheda setting associata al comando/report*/
    top: 2.8rem;
    left: .5rem;
    height: 1.5rem;
    width: 1.5rem;
    color: var(--color-text);
    text-overflow: unset !important;
}

    .ky-rpt-item-disabilita[data-ky-report-vis="false"],
    .ky-rpt-item-disabilita[data-ky-command-vis="false"] {
        color: var(--color-text);
    }

    .ky-rpt-item-disabilita[data-ky-report-vis="true"],
    .ky-rpt-item-disabilita[data-ky-command-vis="true"] {
        color: var(--color-red);
    }

.ky-rpt-item-disabilita > svg{
    width: 1rem;
    height: 1rem;
}

    .ky-rpt-item-disabilita[data-ky-report-vis="false"]:hover,
    .ky-rpt-item-disabilita[data-ky-command-vis="false"]:hover {
        color: var(--color-red);
    }

    .ky-rpt-item-disabilita[data-ky-report-vis="true"]:hover,
    .ky-rpt-item-disabilita[data-ky-command-vis="true"]:hover {
        color: var(--color-green);
    }

.ky-access-caption-global-label {
    text-align: left;
    grid-row: 4 / span 2;
}

.ky-access-info-access-label {
    cursor: pointer;
}

.ky-access-caption-label {
    text-align: left;    
    margin: auto;
    min-width: 4.85rem;
}

.ky-access-caption-label > svg{
    width: 1.2rem;
    margin-right: .5rem;
}

.ky-access-grid-roles-caption {
    padding: .35rem;
    /*border-bottom: 1px solid rgba(var(--color-line, 0,0,0),.2);*/
}

.ky-access-visible-off {
    color: var(--color-red);
}

.ky-access-grid-roles-table {
    
}

.ky-access-grid-roles-table.ky-div-loading {
    min-height: 7rem;
    margin-top: .5rem;
}

.ky-access-caption > div,
.ky-access-caption > div > svg {
    width: 1.2rem;
    height: 1.2rem;
    cursor: pointer;
}
    .ky-access-caption > div:hover{
        color: var(--primary-color);
    }
    .ky-access-grid-alternate {
        /*background-color: rgba(160, 160, 160, 0.1);*/
    }
.ky-access-info {
    display: block;
    font-size: 1.2rem;
    color: var(--primary-color);
    margin-bottom: .5rem;
    margin-top: .5rem;
}
.ky-access-line {
    height: 1px;
    width: 100%;
    border-bottom: 1px solid rgba(var(--color-line, 0,0,0),.2);
}
.ky-access-line-title {
    /*width: 100%;
    border-bottom: 1px solid rgba(var(--color-line, 0,0,0),.2);
    height: 1px;*/
    display: none;
    /*margin-bottom: .5rem;*/
}
.ky-access-caption {
    /*margin-bottom: 1rem;*/
    padding: .35rem;
}

.ky-access-grid-roles {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    grid-template-rows: repeat(1, 1fr);
    grid-column-gap: 0px;
    grid-row-gap: 0px;
    align-items: center;
    text-align: center;
}
.ky-access-grid-roles-name {
    min-width: 5rem;
    text-align: left;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.ky-access-grid-roles-check > div {
    height: 1.3rem;
    width: 1rem;
    display: block;
    margin: .3rem auto;
}
.ky-access-caption > input {
    display: block;
    box-sizing: border-box;
    margin: 0;
    border: none;
    /*border-top: solid 1.5rem transparent;*/
    border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.1);
    padding: 0 0 4px;
    width: 100%;
    height: 100%;
    color: var(--color-text, #808080);
    background-color: transparent;
    box-shadow: none; /* Firefox */
    font-family: inherit;
    font-size: var(--font-size-input);
    line-height: inherit;
    caret-color: var(--primary-color, #1460CA);
    transition: border-bottom 0.4s, background-color 0.2s;
    border-radius: 0 !important;
    font-weight: inherit;
    /*pointer-events: none;*/
}

.ky-access-caption > input:hover {
    border-bottom-color: rgba(var(--color-line, 0, 0, 0), 0.1);
}

    .ky-access-caption > input:focus {
        outline: none;
        /*background-color: var(--color-content);*/
        border-bottom-color: var(--primary-color);
    }


.ky-access-btn-master {
    margin-top: .5rem;
    color: var(--color-text);
    cursor: pointer;
}

    .ky-access-btn-master > svg {
        width: 1.2rem;
        margin-left: -.2rem;
    }

.ky-access-active {
    color: var(--primary-color);
}

.ky-validate-roles, .ky-access-validation-check {
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
    border: 1px solid var(--color-placeholder);
    position: relative;
    border-radius: .6rem;
    left: 0rem;
    top: 0rem;
    opacity: .6;
    z-index: 0;
    margin: auto;
    margin-top: -1px;
}
    .ky-validate-roles[data-ky-rank-validate="1"], .ky-access-validation-check[data-ky-rank-validate="1"] {
        background-color: var(--color-yellow);
        border: 1px solid rgba(0,0,0,.2);
        opacity: 1;
    }
    .ky-validate-roles[data-ky-rank-validate="2"], .ky-access-validation-check[data-ky-rank-validate="2"] {
        background-color: var(--color-red);
        border: 1px solid rgba(0,0,0,.2);
        opacity: 1;
    }
    .ky-validate-roles[data-ky-rank-validate="0"], .ky-access-validation-check[data-ky-rank-validate="0"] {
        background-color: var(--color-green);
        border: 1px solid rgba(0,0,0,.2);
        opacity: 1;
    }

.ky-validate-js {
    cursor: pointer;
    width: 1.2rem;
    height: 1.2rem;
    left: 0rem;
    top: 0rem;
    opacity: .6;
    z-index: 0;
    margin: auto;
    margin-top: -1px;
    /*border: 1px solid var(--color-placeholder);*/
}
    .ky-validate-js:hover{
        opacity: 1;
    }
    .ky-validate-js:hover > svg {
        fill: var(--primary-color);
    }

.ky-checkbox-access-readonly.ky-div-loading {
        min-height: 1.3rem;
        margin-top: 0rem !important;
    }

.ky-access-user-validation-checkbox, 
.ky-access-user-log-checkbox {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    grid-column: 7;
    margin-left: 1.2rem;
}

.ky-access-user-validation-checkbox .ky-input, 
.ky-access-user-log-checkbox .ky-input {
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
}

.ky-checkbox-access-user-validation-caption, 
.ky-checkbox-access-user-log-caption  {
    font-weight: 300;
    font-size: .7rem;
    padding: 0;
    width: 100%;
    text-align: center; 
    padding: .35rem;
    white-space: nowrap;
}


.ky-button-user-validation {
    left: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-user-validation-validate {
    background: var(--color-green);
}

.ky-user-validation-validate:hover,
.ky-user-validation-validate:active,
.ky-user-validation-validate:focus {
    background: var(--color-green);
}

.ky-user-validation-not-validate {
    border: 2px solid var(--color-red);
    border-radius: 10px;
}

.ky-input-total[data-ky-binding-value-vis="true"] > .ky-input-total-value {
    color: var(--color-text);
}

.ky-cmd-config{
    width: 30%;
    min-width: 31rem;
}

.ky-config-ctrl {
    width: 100%;
    height: 100%;
    overflow-x: auto;
    padding: .5rem 1rem;

}

.ky-cmd-config > .ky-message-command-msg {
    margin-right: -.5rem;
    margin-left: -.5rem;
    margin-top: -.7rem;
}

.ky-config-loading {
    margin-right: -.5rem;
    margin-left: -.5rem;
    width: calc(100% + 1rem) !important;
    height: .2rem;
    opacity: .7;
}
.ky-div-help-max {
    color: var(--color-text);
    margin-left: .5rem;
    margin-right: .5rem;
    margin-top: .1rem;
    font-weight: 300;
}

.ky-help-max{
    cursor: pointer;
}

.ky-help-max > svg {
    height: 1rem;
    transition: all .4s;
}

    .ky-help-max > svg:hover {
        fill: var(--primary-color);
        transform: scale(1.1)
    }

.ky-note-div-popup{
    width: 100%;
    height: 100%;
}

.ky-note-div-popup > .ky-datagrid{
    height: calc(100% - 3.5rem);
}

    .ky-note-div-popup > .ky-nav-search {
        /*width: 90%;*/
        margin-top: 0;
        margin-bottom: .5rem;
        margin-left: .5rem;
        width: calc(100% - .5rem);

    }

.ky-ball {
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    cursor: pointer
}

.ky-info-tag {
    position: absolute;
    right: .25rem;
    font-size: .5rem;
    background-color: grey;
    padding-left: 0.3rem;
    padding-right: 0.3rem;
    border-radius: 0.4rem;
    /*bottom: -0.9rem;*/
    /*bottom: -.6rem;*/
    margin-top: 0.05rem;
    color: white;
    line-height: 1.5;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    cursor: pointer;
    transition: opacity .6s;
}

.ky-info-tag-green{
    background-color: var(--color-green);
    /*color: #202020;*/
}

.ky-info-tag-yellow {
    background-color: var(--color-yellow);
    color: #202020;
}

.ky-info-tag-red {
    background-color: var(--color-red);
}

.ky-checkbox > .ky-info-tag{
    margin-top: .33rem;
}

.ky-btn-baritem-taginfo > svg{
    transform: rotate(90deg)
}
.ky-btn-baritem-taginfo-vis > svg{
    fill: var(--primary-color);
}

.ky-taginfo-hide{
    opacity: 0;
}

.ky-template-title{
    
}

.ky-template-description{
    font-size: .6rem;
}

.ky-repeater {
    height: 100%;
    width: 100%;
    position: relative;
    height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}
.ky-repeater-orientation-vertical {
    position: relative;
}
.ky-repeater-orientation-vertical > div {
    float: unset;
}

.ky-repeater-orientation-horizontal > div {
    float: left;
}

.ky-draggable {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    transform: translate(0, 0);
    cursor: pointer;
}

.ky-draggable-over{
    opacity: .3;
    transition: opacity .4s;
}
.ky-repeater-item-content{
    padding-left: 1.4rem;
    padding-top: .5rem;
    padding-bottom: .5rem;
    margin-right: 0rem;
    margin-left: 0rem;

    /*border-bottom: 1px solid var(--primary-color);*/
}
.ky-repeater-separator {
    width: .5rem;
    height: calc(100% - 1rem);
    position: absolute;
    left: .5rem;
    top: .5rem;
    /*bottom: 0rem;*/
    /*margin-top: 1rem;
    margin-bottom: 1rem;*/
    background-color: var(--color-text);
    border-radius: .25rem;
    opacity: .3;
    cursor: pointer;
}

.ky-repeater-separator-line {
    width: calc(100% - 2rem);
    border-bottom: 1px solid var(--primary-color);
    position: absolute;
    bottom: 0;
    opacity: .7;
    
}

.ky-repeater-item-content {
    position: relative;
}

.ky-repeater-item-delete{
    position: absolute;
    right: .75rem;
    top: .4rem;
}

.ky-repeater-item-delete > svg{
    width: 1rem;
    height: 1rem;
    fill: var(--color-text);
    opacity: .7;
}

.ky-repeater-item-select > .ky-repeater-item-delete > svg {
    fill: var(--color-red);
    opacity: 1;
}

.ky-tab-info-fnc-newrow {
    font-weight: bold;
    border: 1px solid var(--primary-color);
}

.ky-repeater-item-select {
    background-color: var(--background-repeater-sel);
    border-radius: .5rem;
}

    .ky-repeater-item-select > .ky-repeater-separator{
        background-color: var(--primary-color);
        opacity: 1;
    }

.ky-side-console * .ky-dev-code-container {
    position: absolute;
    width: 100%;
    top: 4.5rem;
    bottom: .5rem;
    left: 2rem;
    padding-top: .25rem;
    border-radius: 0rem;
    color: white;
}

.ky-console-item {
    font-weight: 100;
    margin: .4rem 0 .4rem 0;
    width: calc(100% - 3rem);
    background: linear-gradient(rgba(255,255,255,.12),rgba(255,255,255,.1));
    padding: .5rem;
    border-radius: .7rem;
    font-size: .7rem;
    word-break: break-word;
    word-wrap: break-word;
    overflow-wrap: break-word;
    text-wrap: wrap;
}

.ky-console-item:hover {
    font-weight: 300;
}

.ky-console-item-header {
    display: flex;
    column-gap: 2rem;
    justify-content: flex-start;
}

.ky-console-item-text {
    width: 100%;
    display: inline-block;
    font-weight: 300;
    position: relative;
}
.ky-console-item-det {
    display: grid;
    grid-template-columns: auto 1fr auto;
    grid-template-rows: auto;
    font-size: .6rem;
    margin-top: .3rem;
}

.ky-console-item-date-start,
.ky-console-item-date-end {
    padding-right: .5rem;
}

    .ky-console-item-duration {
        font-weight: bold;
        text-align: right;
        font-size: .7rem;
    }

.ky-console-tag {
    font-size: .7rem;
    padding: .3rem .7rem;
    border-radius: .7rem;
    background: linear-gradient(rgba(255,255,255,.15),rgba(255,255,255,.1));
    display: inline-block;
    margin-bottom: .4rem;
}

.ky-side-console > .ky-btn-bar > .ky-btn-baritem > svg,
.ky-side-console > .ky-btn-bar > .ky-btn-baritem > span {
    fill: white;
    color: white;
}

.ky-console-color{
    display: inline-block;
    position: absolute;
    right: 4rem;
    width: .7rem;
    height: .7rem;
    border-radius: 50%;
}

.ky-portal-div{

}
.ky-portal-div > span > svg {
    fill: var(--color-text);
}
.windowPortal {
    border-radius: 0 0 var(--radius-content, 1rem) 0 !important;
}

    .windowPortal > .ky-window-toolbar > .btn-window-div{
        display: none;
    }

.ky-window-stack{
    position: relative;
}

.ky-window-stack-item {
    position: absolute;
}

.ky-window-stack-item-first{
    position: absolute;
}

.ky-window-stack-item-second {
    position: absolute;
}

.ky-window-stack-item-third {
    position: absolute;
}

.ky-input > .ky-datagrid-cell-value {
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 100%;
    display: inline-block;
    font-weight: 200;
    line-height: 1.4;
}

.ky-code-validate-editor > #containerCode{
    margin-left: 1.5rem;
}

.ky-validate-point-active{
    opacity: 1;
}

.ky-validate-point-active > svg {
    fill: var(--color-purple);
}

.ky-validate-point-active-script {
    opacity: 1;
}

.ky-validate-point-active-script > svg {
    /*fill: var(--color-red);*/
    padding: 2px;
    border-radius: 50%;
    background-color: var(--color-yellow);
    border: 1px solid var(--color-placeholder);

}

.ky-autocomplate-multi-input {
    max-width: 10rem;
    width: unset !important;
    border-bottom: 0px solid black !important;
}

.ky-autocomplate-multi-tag {
    float: left;
    display: inline-block;
    padding:  0 0 0 .7rem;
    margin-right: .25rem;
    border-radius: .7rem;
    margin-top: 1.5rem;
    /*background: var(--background-menu-bar-over);*/
    border: 1px solid var(--primary-color);
    color: var(--color-text);
    min-height: 1rem;
}

.ky-autocomplate-multi-line {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 1px;
    background-color: rgba(var(--color-line, 0, 0, 0), 0.2);
}

.ky-filter-master {
    position: relative;
    display: inline-grid;
    grid-template-columns: 1.5rem auto;
    min-width: 1.5rem;
    min-height: 1.5rem;
    transition: width .7s;
    width: 9.5rem;
    /*display: none;*/
}

.ky-filter-master-input {
    display: block;
    box-sizing: border-box;
    margin: 0;
    border: none;
    /*border-top: solid 1.5rem transparent;*/
    border-bottom: solid 1px rgba(var(--color-line, 0, 0, 0), 0.1);
    padding: 0;
    width: 8rem;
    height: 100%;
    color: var(--color-text, #808080);
    background-color: transparent;
    box-shadow: none; /* Firefox */
    font-family: inherit;
    font-size: var(--font-size-input);
    line-height: inherit;
    caret-color: var(--primary-color, #1460CA);
    transition: border-bottom 0.4s, background-color 0.2s, width .7s;
    border-radius: 0 !important;
    font-weight: inherit;
    /*pointer-events: none;*/
}

.ky-filter-master-hide{
    width: 1.5rem;
}

    .ky-filter-master-hide > .ky-filter-master-input{
        width: 0;
    }
    .ky-filter-master-input:hover {
        border-bottom-color: rgba(var(--color-line, 0, 0, 0), 0.1);
    }

    .ky-filter-master-input:focus {
        outline: none;
        /*background-color: var(--color-content);*/
        border-bottom-color: var(--primary-color);
    }

.ky-filter-master > .ky-btn-chevron {
    position: relative;
    width: 1.5rem;
    height: 1.5rem;
}

.ky-filter-master-selected > .ky-btn-chevron > svg {
    fill: var(--primary-color);
}

.ky-filter-master > .ky-btn-chevron:active,
.ky-filter-master > .ky-btn-chevron:focus,
.ky-filter-master > .ky-btn-chevron:hover {
    background: unset;
    background-color: unset;
}

.ky-filter-master > .ky-btn-chevron > svg {
    width: 1rem;
        height: 1rem;
    }


 /** Componente Toggle - INIZIO */
.ky-toggle-circle-input {
    opacity: 0 !important ;
    height: 0 !important;
    position: absolute !important;
}

.ky-toggle-circle-input ~ label {
    display: block;
    width: 3.2rem;
    height: 1.75rem;
    background-color: var(--primary-color);/*rgba(0,140,186,1);*/
    border-radius: 1rem;
    -webkit-border-radius: 1rem;
    cursor: pointer;
    position: relative;
    overflow: visible;
    transition: background-color 0.2s;
    -moz-user-select: none;
    -webkit-user-select: none;
    margin-bottom: 0;
}

.ky-toggle > input[type="checkbox"] + span {
    border: 0 !important;
}

.ky-toggle-circle-btn {
    position: absolute;
    width: 1.2rem;
    height: 1.2rem;
    background-color: var(--color-content, white);
    border-radius: 50%;
    -webkit-border-radius: 50%;
    left: 1.75rem;
    top: 0.25rem;
    transition: left 0.2s;
    -webkit-transition: left 0.2s;
    border: 1px solid var(--color-text);

    display: flex;
    justify-content: center;
    align-items: center;
}

.ky-toggle-circle-input:not(:checked) ~ label .ky-toggle-circle-btn {
    left: .2rem;
}

.ky-toggle-circle-input:not(:checked) ~ label {
    background: var(--background-menu-bar-over);
}

.ky-toggle-circle-input[disabled] ~ label {
    opacity: 0.5;
}

.ky-toggle > input[type="checkbox"] ~ span {
    display: block;
    position: relative;
    padding-top: 0rem;
    font-size: var(--font-size-input);
    font-size: 85%;
    font-weight: 300;
    margin-bottom: 0;
    color: var(--color-placeholder);
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    min-width: 2rem;
    min-height: 1rem;
    z-index: 1;
}

.ky-toggle > input[type="checkbox"]:checked ~ span {
    color: var(--color-text);
}

.ky-toggle > input[type="checkbox"]:focus + span {
    color: var(--primary-color);
}

.ky-toggle > input[type="checkbox"]:focus + span::after {
    display:none;
}

.ky-toggle > div.ky-toggle-description {
    color: var(--color-text);
    font-size: .7rem;
    border: 0;
}

.ky-toggle-circle-btn > svg {
    width: .75rem;
    height: .75rem;
    position: absolute;
    margin: 0.22rem;
}


.ky-datasource-selector-container {
    min-width: 3rem;
    height: 50%;

    display: flex;
    justify-content: center;
    align-items: center;
}

.ky-toggle-circle-input.ky-toggle-small ~ label {
    height: 0.7rem;
    width: 2.5rem;
}

.ky-toggle-circle-btn.ky-toggle-small {
    position: absolute;
    width: 1rem;
    top: -0.15rem;
    height: 1rem;
}

.ky-toggle-circle-btn.ky-toggle-small > svg {
    width: .5rem;
    height: .5rem;
    position: absolute;
    margin: 0.13rem;
}

.ky-toggle-circle-input:not(:checked) ~ label .ky-toggle-circle-btn.ky-toggle-small {
    left: 0rem;
}

.ky-toggle-circle > .navigator {
    top: -1.1rem;
}

.ky-nav-selector-container {
    
    color: var(--color-text);
}

/** Componente Toggle - FINE */

.ky-caption-insqta {
    border-top: solid 1.5rem transparent;
    font-weight: 400;
    color: var(--color-placeholder);
}

.change-password-input,
label.login-input.ky-input-filter.ky-caption-insqta {
    width: 100%;
    height: 3rem;
    margin-bottom: 0;
    text-overflow: ellipsis;
    overflow: hidden;
}

label.login-input.ky-input-filter.ky-caption-insqta ~ .navigator {
    top: .75rem;
    right: .25rem;
}

.ky-input > .ky-btn-chevron.ky-button-hyperlink {
    cursor: pointer;
    top: 0;
    width: 1.5rem;
    height: 1.5rem;
}

.ky-button-hyperlink > svg {
    font-size: .5rem;
    height: .8rem;
}


#gradient-vertical {
    --color-stop-1: #ffff00;
    --color-stop-2: #ff8000;
    --color-stop-3: #ff0000;
}

.svgfire {
    fill: url(#gradient-vertical) var(--color-text);
}

.ky-dev-console-legenda {
    overflow: scroll;
    width: calc(100% - 3rem);
    text-wrap: nowrap;
    word-wrap: normal;
    overflow-wrap: normal;
    height: 4rem;
    background-color: gray;
    margin-left: 2rem;
    border-radius: 1rem;
    padding: .5rem;
    background: linear-gradient(rgba(255, 255, 255, .3), rgba(255, 255, 255, .1));
    margin-top: .5rem;
    text-align: center;
}

.ky-dev-console-messages {
    position: relative;
    margin-top: 1.5rem;
    text-align: left;
}

.ky-combobox-listins-container {
    /*padding-right: 1.8rem; */
    /*margin-right: -1.5rem;*/
}

input.ky-combobox-listins {
    padding-right: 2.8rem;
    margin-right: -2.5rem;
}

input.ky-combobox-list-ins-buttons {
    padding-right: 2.8rem;
    margin-right: -2.5rem;
}

.ky-input > button.ky-btn-chevron.ky-combobox-list-ins-select-btn, .ky-input > button.ky-btn-chevron.ky-combobox-list-ins-buttons-select-btn {
    top: 1.5rem
}

.ky-input > button.ky-btn-chevron.ky-combobox-list-ins-delete-btn, .ky-input > .ky-combobox-list-ins-buttons-delete-btn {
    top: 1.9rem;
    height: .75rem;
    width: .75rem;
    right: 1.58rem;
    padding: 0;
    margin: 0;
    line-height: 0;
}

.ky-input > button.ky-btn-chevron.ky-combobox-list-ins-select-btn > svg {
    margin-left: .36rem;
    margin-top: .34rem;
}

.ky-input > button.ky-btn-chevron.ky-combobox-list-ins-delete-btn > svg, .ky-input > button.ky-btn-chevron.ky-combobox-list-ins-buttons-delete-btn > svg {
    fill: red;
    width: .75rem;
    height: .75rem;
}

button[data-ky-binding="SelectionBtn"] {
    margin-left: 1.2rem;
}

button[data-ky-binding="SelectionBtn"] > svg {
    fill: var(--color-red);
}

.ky-led-circle-btn {
    border-radius: 50%;
    width: 1.5rem;
    height: 1.5rem;
    border: solid 1px rgba(0,0,0,.2);

    /*
    Matt241009 Centrato il contenuto del led e
    Trasformato il cursore nella manina 
    per evidenziare la cliccabilità.    */
    display: flex;
    justify-content: center;
    align-items: center;

    cursor: pointer;
}

.ky-led-circle-btn:focus {
    outline: none;
    border: solid 1px rgba(0,0,0,.4);
    box-shadow: 0 0 5px var(--primary-color);
}

.ky-led-circle-btn-loading {
    display: inline-block;
    box-sizing: border-box;
    animation: rotation .8s linear infinite;
}


.ky-led-tooltip {
    display: none;
    position: absolute;
    background-color: lightgray;
    color: black;
    font-weight: 200;
    font-size: 12px;
    padding: 0.5rem;
    border-radius: 6px;
    white-space: pre-wrap;
    max-width: 12rem;
    z-index: 9999;
    opacity: 0.95;
}

.ky-autocomplate :not(.login)::-webkit-credentials-auto-fill-button {
    visibility: hidden;
}

.ky-combobox-list-ins-buttons-slider-button-container{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-content: flex-start;
    width: 100%;
    height: 100%;
}

.ky-combobox-list-ins-buttons-slider-button{
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 12rem;
    max-width: 12rem;
    height: 8rem;
    background-color: var(--button-color);
    margin: 0.2rem;
    border-radius: 0.4rem;
    border: 0;
    box-shadow: 0 0 4px var(--dark-color);
    padding: 0.5rem;
    position: relative;
}

.ky-combobox-list-ins-buttons-slider-button-title{
    font-weight: 600;
    font-size: 16px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 11rem;
    height: 1.2rem;
}

.ky-combobox-list-ins-buttons-slider-button-description{
    font-size: var(--font-size-input);
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 4;
    max-width: 11rem;
    font-size: 13.5px;
    max-height: 5.5rem;
    padding: 0;
    margin: 0;
}

.ky-combobox-list-ins-buttons-icon{
    width: 100%;
    height: 100%;
    margin-top: 0.23rem !important;
    margin-left: 0.23rem !important;
}

.ky-combobox-list-ins-buttons-clickable-span{
    position: absolute;
    width: 100%;
    height: 80%;
    bottom: 0;
    left: 0;
    cursor: pointer;
}

.ky-combobox-list-ins-buttons-slider-button-mobile {
    width: 48%;
    margin: 1%;
    padding: 1%;
    justify-content: center;
    max-width: none;
}

@media (max-width: 350px) {
    .ky-combobox-list-ins-buttons-slider-button-mobile {
        width: 100%;
    }
    
}

.ky-combobox-list-ins-buttons-deselect{
    display: flex;
    flex-direction: row;
    position: absolute;
    top: 2rem;
    left: 1rem;
    color: var(--color-red);
    cursor: pointer;
    padding: 0.4rem;
    border-radius: 50rem;

}

.ky-combobox-list-ins-buttons-deselect:hover{
    background-color: rgba(0,0,0,.1);
}

.ky-combobox-list-ins-buttons-deselect svg{
    margin-right: 6px;
    transition: .4s;
}

.ky-combobox-list-ins-buttons-slider-button-selected{
    border: 0.2rem solid var(--primary-color);
}

.ky-combobox-list-ins-buttons-slider-header{
    display: flex;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
}

.ky-combobox-list-ins-buttons-slider-button-selected, 
.ky-combobox-list-ins-buttons-slider-button-selected-svg{
    margin-bottom: 0.3rem;
}

.ky-combobox-list-ins-buttons-slider-button-selected-svg{
    display: none;
}

.ky-combobox-list-ins-buttons-slider-button-selected .ky-combobox-list-ins-buttons-slider-button-selected-svg{
    display: block;
    margin-right: 0.3rem;
    width: 1.6rem;
    height: 1.6rem;
}

.ky-combobox-list-ins-buttons-slider-button-selected .ky-combobox-list-ins-buttons-slider-button-title{
    max-width: 9.5rem;
}


.ky-widget-container-tutorial, .ky-widget-container-item {
    opacity: 1;
    position: fixed;
    transition: 600ms;
    right: -25rem;
    width: 25rem;
    background: linear-gradient(90deg, transparent 0%, rgba(0,0,0,.6) 100%);
    top: var(--height-menu-bar);
    bottom: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: flex-start;
    color: var(--color-text);
    backdrop-filter: blur(0.045rem);
}

.ky-widget-container-tutorial:focus, .ky-widget-container-item:focus {
    right: 0;
    transition: 600ms;
}

.ky-widget-container-tutorial-video-playing{
    right: 0;
}

.ky-widget-item-cell-container {
    display: flex;
    align-content: baseline;
    justify-content: center;
    
    transition: 500ms;
}

.ky-widget-item-cell-container:hover{

    transform: scale(103%);
    transition: 400ms;

    .ky-widget-item-cell{
        box-shadow: 0px 0px 12px rgba(0, 0, 0, 0.55);
        transition: 400ms;
    }
}

.ky-widget-item-cell, .ky-widget-tutorial-header {
    margin-top: 0.4rem;
    margin-bottom: 0.4rem;
    border-radius: 0.5rem;
    padding: 0.6rem;
    /* padding-bottom: 1rem; */
    backdrop-filter: blur(1.6rem);
    width: 21.5rem;
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    gap: 0.1rem;
    max-height: 15.6rem;
    transition: .5s;
    position: relative;
}

.ky-widget-item-cell, 
.ky-widget-tutorial-header, 
.ky-widget-group-header, 
.ky-widget-tutorial-expanded-container-header{
    background:  rgb(220, 220, 220);
}

.kyDarkMode .ky-widget-item-cell, 
.kyDarkMode .ky-widget-tutorial-header,
.kyDarkMode .ky-widget-group-header,
.kyDarkMode .ky-widget-tutorial-expanded-container-header{
    background:  rgba(0, 0, 0, .85);
}

.ky-widget-item-header {
    display: flex;
    flex-direction: row;
    align-content: flex-start;
    padding-top: 0.2rem;
    padding-bottom: 0.2rem;
    /* border-bottom: solid 0.04rem var(--color-placeholder); */
    margin-left: 0.8rem;
    align-items: center;
    height: 1.5rem;
    max-height: 1.5rem;
    width: 18rem;
    background: transparent;
}

.ky-widget-item-title, .ky-widget-tutorial-title {
    text-align: left;
    padding-right: 0.7rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-weight: 400;
    font-size: 0.9rem;
    margin-left: 0.4rem;
    width: 10.8rem;
    height: 1rem;
    line-height: 0.8rem;
    padding: 0.1rem;
    border-radius: 0.2rem;
    background-color: transparent;

    transition: 600ms;
}

.ky-widget-item-datetime-container, .ky-widget-item-date-container {
    width: 4rem;
    display: flex;
    flex-direction: column;
    max-height: 1.2rem;
    padding-right: 0.4rem;
    white-space: nowrap;
}

.ky-widget-item-datetime-container{
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    justify-content: center;
}

.ky-widget-item-date-container .ky-widget-item-date{
    font-size: 0.9rem;
    text-align: end;
}

.ky-widget-item-datetime-container .ky-widget-item-date,.ky-widget-item-datetime-container .ky-widget-item-time{
    font-size: 0.6rem;
    text-align: end;
}

.ky-widget-item-content {
    transition: .5s;
    padding: 0.3rem 0.7rem 0.7rem 0.7rem;
    font-weight: 400;
    font-size: 0.9rem;
    cursor: pointer;
    border-radius: 0.7rem;
    overflow: hidden;
}

.ky-widget-item-content-closed, .ky-widget-group-name {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
}

.ky-widget-item-content-open {
    overflow: scroll;
    line-height: 1.2rem;
    white-space: pre-wrap;
    margin: 0;
    height: auto;
    max-height: 5.95rem;
}

.ky-widget-WRN-element {
    background: var(--color-dbo-red);
}

.ky-widget-ALR-element {
    background: var(--color-dbo-yellow);
}

.ky-widget-INFO-element {
    background: var(--color-dbo-blue);
}

.ky-widget-item-triangle, .ky-widget-item-rhombus{
    width: 1.5rem;
    height: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-widget-ALR-icon, .ky-widget-WRN-icon ,.ky-widget-GEN-icon, .ky-widget-INFO-icon, .ky-widget-CHAT-icon{
    width: 1.2rem;
    height: 1rem;
    stroke-width: 0.6;
}

.ky-widget-GEN-icon{
    stroke: var(--color-text);
    border-radius: 2rem;
    width: 1rem;
    padding-left: 0.055rem;
}

.ky-widget-INFO-icon{
    border-radius: 2rem;
    border: 0.1rem solid var(--background-menu-bar);
    background-color: #15cb34;
    padding-left: 0.05rem;
    color: var(--background-menu-bar);
    stroke: var(--background-menu-bar);
}

.ky-widget-CHAT-icon{
    padding: 0.1rem;
    border-radius: 5px;
    background-color: var(--color-light-blue);
    color: var(--background-menu-bar);
    stroke: var(--background-menu-bar);
}


.ky-widget-ALR-icon, .ky-widget-WRN-icon {
    color: black;
}

.ky-widget-expand-group-button, .ky-widget-toggle-item-button, .ky-widget-open-tutorial-button, .ky-widget-toggle-tutorial-button, .ky-widget-copy-button, .ky-widget-item-close-button {
    display: block;
    width: 1.1rem;
    height: 1rem;
    cursor: pointer;
    border-radius: 0.7rem;
}

.ky-widget-open-tutorial-button{
    width: 1.1rem;
    height: 1.1rem;
}
.ky-widget-toggle-item-button, .ky-widget-toggle-tutorial-button,  .ky-widget-copy-button, .ky-widget-item-close-button {
    transition-property: rotate;
    transition-duration: .5s;
    margin-right: 0.35rem;
}

.ky-widget-copy-button, .ky-widget-item-close-button{
    overflow: visible;
}

.ky-widget-item-close-button{
    position: absolute;
    right: 0.1rem;
    top: 0.1rem;
    margin-top: 0.8rem;

    transition: 400ms;
}

.ky-widget-item-close-button:hover{
    transform: scale(110%);
    transition: 400ms;
}

.ky-widget-expand-group-button {
    transition: .5s;
}

.ky-widget-tutorial-cell {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    background: rgba(255,255,255,.85) !important;
    padding: 0.7rem;
    margin-top: 0.5rem;
    align-items: center;
    width: 21.5rem;
    height: 3.3rem;
    border-radius: 0.5rem;
    margin-bottom: 0.4rem;
}
.ky-widget-tutorial-header {
    width: 100%;
    border-radius: 0.3rem;
    margin-top: 0;
    flex-direction: row;
    height: 1.9rem;
    align-items: center;
    justify-content: flex-start;
    padding-bottom: 0.8rem;
}

.ky-widget-tutorial-icon{
    padding-left: 0.7rem;
    padding-right: 0.7rem;
}

.ky-widget-tutorial-content {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 20.25rem;
    height: 11.4rem;
    background-color: rgba(20, 20, 20, .6);
    border-radius: 0.5rem;
    display: none;
}

.ky-widget-tutorial-video {
    border-radius: 0.3rem;
    width: 20.25rem;
    height: 11.4rem;
}

.ky-widget-group-header, .ky-widget-tutorial-expanded-container-header {
    margin-top: 0.6rem;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-items: center;
    backdrop-filter: blur(1.6rem);
    border-radius: 0.4rem;
    width: 22.5rem;
    height: 2rem;
    padding-right: 0.25rem;
    padding-left: 0.4rem;
    cursor: pointer;
}

.ky-widget-group-name {
    width: 18.2rem;
    height: 1.5rem;
    padding: 0.35rem;
    padding-left: 0.5rem;
    margin-left: 0.6rem;
    border-radius: 0.3rem;
    font-size: 0.8rem;
    font-weight: 400;
}

.ky-widget-group {
    margin-right: 1.2rem;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    transition: .5s;
}

.ky-widget-group-icon, .ky-widget-item-icon {
    width: 1.4rem;
    margin-left: 1rem;
    border-radius: 2rem;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 0.09rem;
}

.ky-widget-item-icon{
    height: 1.1rem;
    margin-left: 0.15rem;
}

.ky-widget-group-content-container {
    display: flex;
    flex-direction: row;
}

.ky-widget-expand-group-button svg{
    margin-bottom: 0.015rem;
}
.ky-widget-group-item-counter {
    border-radius: 0.7rem;
    margin-left: 0.7rem;
    width: 1.3rem;
    height: 1.25rem;
    display: none;
    text-align: center;
    font-size: 0.75rem;
    font-weight: 400;
    padding: 0.25rem;
}

.ky-widget-item-content:active, 
.ky-widget-tutorial-expanded-container-close-button:active, 
.ky-widget-tutorial-expanded-container-menu-button:active, 
.ky-widget-expand-group-button:active, 
.ky-widget-toggle-item-button:active, 
.ky-widget-open-tutorial-button:active,
.ky-widget-toggle-tutorial-button:active,
.ky-widget-copy-button:active,
.ky-widget-item-close-button:active {
    background: var(--color-placeholder);
}

#WidgetItemBtnContainer{
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-evenly;
    height: 100%;
    gap: 0.1rem;
    padding: 0;
}

.notification-bell {
    height: 1rem;
    width: 1rem;
    z-index: 1001;
    fill: transparent;
}

#BtnWidgetItem{
    width: 2rem;
}

.notification-bell-fill{
    fill: var(--color-red);
}

.pulsing{
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
0% {
    opacity: 1;
}
50% {
    opacity: 0.1;
    }
100% {
    opacity: 1;
}
}

.ky-widget-group-close-all-button{
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50rem;
    cursor: pointer;
    background-color: transparent;
    display: none;
    margin-right: 0.2rem;
}

.ky-loader-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 2rem;
    height: 2rem;
    margin: 0 0 0 0;
    border: 4px solid rgba(255, 255, 255, 0.8);
    border-top: 4px solid var(--primary-color);
    border-radius: 50%;
    animation: ky-spin-animation 1s linear infinite;
    z-index: 10;
}

@keyframes ky-spin-animation {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.ky-dz-remove {
    top: 0;
    position: absolute;
    right: 0;
}

.ky-btn-prev-image {
    font-size: small;
    width: .75rem;
    height: .75rem;
    font-weight: 900;
}

.ky-btn-next-image {
    font-size: small;
    width: .75rem;
    height: .75rem;
    font-weight: 900;
}

.ky-nav-buttons-image {
    display: flex;
    flex-direction: row;
    justify-content: flex-end;
}

.ky-image-counter {
    font-size: small;
}

@keyframes pulse-border {
    0% {
        box-shadow: 0 0 0 0 var(--primary-color);
    }

    50% {
        box-shadow: 0 0 2px 2px var(--primary-color);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 255, 255, 0);
    }
}

.ky-upload-image-uploading {
    border: 5px solid var(--color-primary);
    animation: pulse-border 1.5s infinite;
    border-radius: 5px;
}

.ky-server-button {
    width: 5rem;
    max-width: 5rem;
    height: 0.8rem;
    font-size: .9rem;
    padding: 0.1rem;
    overflow: hidden;
    text-overflow: ellipsis;
}

.ky-validation-popup {
    position: absolute;
    top: 0rem;
    left: 1.5rem;
    padding: 8px 12px;
    z-index: 999;
    white-space: nowrap;
    display: none;   
    font-size: .75rem;
    text-align: left;
    overflow: scroll;
    min-width: 14rem;
    opacity: 1 !important;
    background-color: var(--color-content) !important;
}

div.ky-hide-caption > span:not([class]) {
    display: none;
}

div.ky-hide-caption input {
    border-top: 0;
}

div.ky-hide-caption button.ky-btn-chevron {
    top: 0;
}

div.ky-hide-caption > textarea {
    margin-top: 0!important;
    border-top: 0!important;
}

div.ky-hide-caption.ky-label-container {
    padding-top: 0!important;
}

div.ky-hide-caption.ky-checkbox {
    margin-top: 0!important;
}

.ky-widget-group-button:hover {    
    transform: scale(103%);
    transition: 400ms;
}

/*Matt 250723 per la formina dell'inserimento link da textarea*/
.modal-content{
    background-color: var(--color-content) !important;
}

.form-control{
    background-color: var(--background-menu-bar-over) !important;
    color: var(--color-text, #808080) !important;
}

.ky-btn-cmdreference{
    background-color: var(--color-purple);
    width: 1.1rem;
    height: 1.1rem;
    margin-top: .2rem;
    margin-left: .2rem;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    border-radius: 50%;
    transition: .6s;
    cursor: pointer;
    position: relative;
}

.ky-btn-cmdreference:hover{
    background-color: var(--color-purple);
    opacity: .6;
}

.ky-tooltip-cmdreference {
    display: none;
    position: absolute;
    background-color: lightgray;
    color: black;
    font-weight: 200;
    font-size: 12px;
    padding: 0.5rem;
    border-radius: 6px;
    white-space: pre-wrap;
    max-width: 12rem;
    z-index: 9999;
    opacity: 0.95;
}

.ky-btn-baritem-red {
    fill: white !important;
    color: white !important;
    background: var(--color-orange) !important;
    border-radius: 50% !important;
    width: 1.4rem !important;
    height: 1.4rem !important;
    padding: .2rem !important;
    overflow: visible !important;
    margin-bottom: .1rem;
}

.ky-cn-header{
    flex-direction: row;
    width: 90%;
}

.ky-cn-pin-button{
    width: 10%;
    justify-content: space-evenly;
    padding: inherit;
    margin-right: 0.2em;
}

@keyframes pinRotation {
    0% {transform: rotate(45deg);}
    100% {transform: rotate(0deg);}
}
.ky-pin-rotate {
    animation: pinRotation 0.5s;
}
@keyframes pinRotationRev {
    100% {transform: rotate(0deg);}
    0% {transform: rotate(-45deg);}
}
.ky-pin-rotate-rev {
    animation: pinRotationRev 0.5s;
}
.ky-barcode-scanner {
    display: none;
    position: absolute;
    top: 0;
    left: 0;
    height: 90%;
    width: 90%;
    margin-left: 5%;
    margin-right: 5%;
    margin-bottom: 5%;
}

.ky-scan-button {
    position: absolute;
    top: 10px;
    right: 0;
    width: 2.5rem;
    height: 2.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0;
}

.ky-barcode-scanner-btn-container {
    position:absolute;
    top: 1rem;
    left: 1rem;
    z-index: 20;
    display: flex;
    gap: 1rem;
    color: white;
    display: flex;
    flex-direction: column;
}

.ky-barcode-scanner-btn {
    display: flex;
    flex-direction: row;
    background-color: var(--color-content, white);
    height: unset;
    width: unset;
    color: white;
}

.ky-barcode-scanner-loader {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2em;
    z-index: 9999;
}

#FormCounter{
    padding: .35rem;
}

#labelFormCounter {
    background-color: var(--color-green);
    text-align: center;
    border-radius: 1rem;
    height: 1.1rem;
    color: rgba(255, 255, 255, 0.85);
    width: 1.1rem !important;
    font-size: .8rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-html-overflow{
    overflow-y: auto !important;
}

.ky-html-height{
    height: 100% !important;
}

.ky-tags-cell{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    width: auto;
    height: fit-content;
    gap: .5rem;
}

.ky-tag-item {
    padding: .3rem;
    padding-bottom: .15rem;
    padding-top: .15rem;
    border-radius: 1rem;
}


.ky-tag-color-picker {
  cursor: pointer;
  border: none;
  border-radius: 50%;
  width: 1rem;
  height: 1rem;
  padding: 0;
  -webkit-appearance: none;
  appearance: none;
  border: 0.1rem solid var(--color-text-menu-bar);
}

.ky-tag-color-picker::-webkit-color-swatch-wrapper {
  padding: 0;
}

.ky-tag-color-picker::-webkit-color-swatch {
  border: none;
  border-radius: 50%;
}

.ky-tags-cell .ky-tag-content{
    margin: 0 !important;
}

.ky-note-doc-btn > svg {
    height: 1.2rem;
    width: 1.2rem;
}

.window.minimized{
    pointer-events: none;
}

.ky-image-slider {
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.ky-image-slider img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.ky-video-preview {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    padding: 1.2rem;
}

/* #region ColorPicker*/
.ky-colorpicker-popup {
    position: absolute;
    background: var(--color-content, #fff);
    border: 1px solid #ccc;
    border-radius: 10px;
    padding: 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.15);
    z-index: 9999;
    display:none;
    height: 14rem;
    overflow:scroll;
    -ms-overflow-style: none;  /* IE and Edge */
    scrollbar-width: none;  /* Firefox */
}
.ky-colorpicker-popup::-webkit-scrollbar {
    display: none;
}

.ky-colorpicker-table {
    border-collapse: collapse;
    width: 12rem;
}

.ky-colorpicker-cell {
    width: 2rem;
    height: 2rem;
    cursor: pointer;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.ky-colorpicker-cell:hover {
    border: 2px solid #000;
}

.ky-colorpicker-btn{
    width: 2rem;
    height: 2rem;

    display: flex;
    justify-content: center;
    align-items: center;
    align-self: center;

    cursor: pointer;
    background: none;
    border: none;
}

.ky-colorpicker-icon{
    width: 2rem;
    height: 2rem;
}


.ky-colorpicker-cell.is-neutral {
    background:
    linear-gradient(45deg, transparent calc(50% - 1px),
                           #333 0,
                           #333 calc(50% + 1px),
                           transparent 0),
    linear-gradient(-45deg, transparent calc(50% - 1px),
                            #333 0,
                            #333 calc(50% + 1px),
                            transparent 0);
}

.ky-colorpicker-cell.is-selected {
    border: 2px solid var(--color-text, #333);
    box-shadow: inset 0 0 0 1px #fff;
}

.ky-colorpicker-alpha-container {
    display: flex;
    align-items: center;
    gap: 6px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--color-border, #eee);
    margin-bottom: 6px;
}

.ky-colorpicker-alpha-label {
    font-size: 0.8rem;
    white-space: nowrap;
    color: var(--color-text, #333);
}

.ky-colorpicker-alpha-value {
    font-size: 0.9rem;
    min-width: 2.2rem;
    text-align: right;
    color: var(--color-text, #333);
}

.ky-colorpicker-alpha-slider {
    flex: 1;
    height: 8px;
    -webkit-appearance: none;
    appearance: none;
    border-radius: 4px;
    cursor: pointer;
    background:
        linear-gradient(to left, var(--ky-slider-color, #888), transparent), /*TODO: verifica la preferenza del product owner, checked*/
        repeating-conic-gradient(#ccc 0% 25%, #fff 0% 50%) 0 0 / 8px 8px;
    outline: none;
}

.ky-colorpicker-alpha-slider::-webkit-slider-thumb{
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-text, #333);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.ky-colorpicker-alpha-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--color-text, #333);
    cursor: pointer;
    border: 2px solid #fff;
    box-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.ky-colorpicker-container{
    height: 100%;
    display: flex;
    justify-content: center;
    svg{
        stroke: #383838;
    }
}
/* #endregion*/

.ky-datagrid-tooltip {
    background: var(--background-tooltip);
    color: #fff;
    padding: 4px 8px;
    margin: 4px 2px;
    border-radius: 8px;
    font-size: 0.80rem;
    box-shadow: 0 2px 4px rgba(0,0,0,.2);
    white-space: pre-wrap;
    overflow-y: auto;
}

.controlCenterPopup {
    position: absolute;
    right: .25rem;
    top: var(--height-menu-bar, 1.7rem);
    display: flex;
    flex-wrap: wrap;
    overflow: visible;
    gap: .5rem;
    width: 25%;
    max-width: 25%;
    max-height: 50%;
    overflow-y: auto;
    border: 0;
    background: none;
    background-color: var(--background-popup);
    -webkit-backdrop-filter: blur(var(--opacity-blur));
    backdrop-filter: blur(var(--opacity-blur));
    border-radius: .7rem;
    padding: .5rem;
    box-shadow: 0px 0px 20px 0px rgba(0, 0, 0, 0.35);
    color: var(--color-text-menu-bar, #222);
    z-index: 1001;
}

    .controlCenterPopup:focus,
    .controlCenterPopup:active,
    .controlCenterPopup:hover {
        border: none;
        outline: none;
    }

.controlCenterButton {
    position: relative;
    background-color: var(--background-menu-bar);
    width: 4rem;
    height: 4rem;
    overflow: hidden;
    border-radius: 0.7rem;
    display: flex;
    flex-direction: column;
    flex-shrink: 0;
}

/*.controlCenterButtonEye {
    display: flex;
    justify-content: flex-end;
    padding-right: 0.5rem;
    margin-left: 2rem;
    height: 5%;
}*/

.controlCenterButtonSvg {
    height: 60%;
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.controlCenterButtonDesc {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 35%;
    font-size: .7rem;
    padding: 0.25rem;
}

.controlCenterButtonSvg svg {
    width: 70%;
    height: 70%;
}

.ky-qrcode-container {
        background: #fff;
        padding: 0px; 
        display: inline-block;
        box-sizing: content-box;
    }


.ky-combobox-listins-container.ky-input-grid {
    display: flex;
    justify-content: flex-start;
    align-items: center;
    gap: .2rem;
}

.ky-combobox-listins-container.ky-input-grid > span {
    display: none;
}

.ky-combobox-listins-container.ky-input-grid
    .ky-combobox-list-ins-select-btn{
    width: 1.5rem;
    height: 1.5rem;
}

.ky-combobox-listins-container.ky-input-grid
    .ky-combobox-list-ins-select-btn > svg{
    width: 1rem;
    height: 1rem;
}

.ky-combobox-listins-container.ky-input-grid
.ky-btn-chevron {
    position: unset !important;
    white-space: nowrap !important;
}

.ky-combobox-listins-container.ky-input-grid
    > input {
    width: calc(100% - 3rem) !important;
    padding: 0 !important;
}

.ky-led-container{
    position: relative;
}

/*** =========================================================================================================
 *  INIZIO MODIFICHE PER AUTO-HEIGHT-FLEX
 *  ---------------------------------------------------------------------------------------------------------
 *  Introduzione del comportamento AUTO-HEIGHT-FLEX per consentire ai controlli contenuti
 *  all'interno di Tab / Form dinamiche di:
 *
 *      • Espandersi verticalmente occupando lo spazio disponibile
 *      • Non generare scroll annidati inutili
 *      • Mantenere compatibilità con layout legacy
 *      • Integrarsi con la futura gestione maximizeCtrl
 *
 *  L'obiettivo è eliminare altezze hardcoded e comportamenti rigidi basati su pixel,
 *  demandando al layout flex la gestione dinamica dello spazio.
 ***/

.ky-content.window {
    display: flex;
    flex-direction: column;
}

.ky-content-master.ky-content-vertical {
    flex: 1;
    min-height: 0;
    display: flex;
    position: relative;
}

.ky-tabitem-element {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    min-height: 0;
    box-sizing: border-box;
    padding: 0rem 1rem 1.5rem 1rem;
}

.auto-height-flex {
    min-height: 0;
    display: flex;
    flex-direction: column;
}

.auto-height-flex > textarea,
.auto-height-flex .ky-input-binding {
    flex: 1 1 auto;
    min-height: 0;
    height: auto;
    resize: none;
}

.ky-tabitem-element .flex-item > .auto-height-flex {
    flex: 1 1 auto;
}

.auto-height-flex .note-editable {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

.ky-tabitem-element .flex-item.auto-height-parent {
    display: flex;
    flex-direction: column;
    min-height: 0;
}


/* La ROW che contiene campi auto-height deve poter crescere */
.auto-height-flex-row {
    flex: 1 1 auto;
    min-height: 0;
}

/* Le COLONNE devono essere flex-column per far crescere il figlio */
.auto-height-flex-col {
    display: flex;
    flex-direction: column;
    min-height: 0;
}

/* Se dentro la colonna c'è il seed, quello cresce */
.auto-height-flex-col > .auto-height-flex {
    flex: 1 1 auto;
    min-height: 0;
}

/* Summernote: lascia lavorare il flex, ignora le height inline */
.auto-height-flex .note-editor,
.auto-height-flex .note-editing-area {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* L'area editabile deve riempire e scrollare */
.auto-height-flex .note-editable {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/* Il toolbar (anche se hidden) non deve rompere il layout */
.auto-height-flex .note-toolbar,
.auto-height-flex .note-statusbar {
    flex: 0 0 auto;
}

/* Caso: blocco con altezza esplicita (es: row height: 8rem) */
[ky-element-height] .ky-editor-container,
[style*="height:"] .ky-editor-container {
    height: 100%;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* Summernote dentro un contenitore a height fissa */
[ky-element-height] .note-editor,
[style*="height:"] .note-editor {
    height: 100% !important;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

/* non deve restare a 0px */
[ky-element-height] .note-editing-area,
[style*="height:"] .note-editing-area {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    display: flex;
    flex-direction: column;
}

[ky-element-height] .note-editable,
[style*="height:"] .note-editable {
    height: auto !important;
    flex: 1 1 auto;
    min-height: 0;
    overflow: auto;
}

/*=========================================================================================================
=  FINE MODIFICHE PER AUTO-HEIGHT-FLEX
=========================================================================================================*/

/** Massimizzazione di textarea e noteEditor **/
.ky-maximized {
    position: absolute !important;
    top: 0;
    width: 100% !important;
    height: calc(100% - 1.5rem) !important;
    background: var(--color-content) !important;
    z-index: 999 !important;
    display: flex !important;
    flex-direction: column !important;
    padding-right: 2rem !important;
}


.ky-upload-image-form{
    z-index: 9999 !important;
    background: rgba(67, 67, 67, 0.8) !important;
}

.ky-upload-image-form .ky-window-toolbar{
    background-color: var(--color-content) !important;
}

.ky-code-editor-slider{
    display: flex;
    flex-direction: column;
}

.ky-code-editor-container{
    margin-left: 2.5rem;
    height: 100%;
}

.ky-code-editor-btn{
    right: 2rem !important;
}

.ky-combobox-list-ins-popup {
    box-shadow: var(--color-text) 0px 0px 3px 0px !important
}
.ky-code-editor-slider{
    display: flex;
    flex-direction: column;
}

.ky-code-editor-container{
    margin-left: 2.5rem;
    height: 100%;
}

.ky-code-editor-btn{
    right: 2rem !important;
}



/* Di default la summary è nascosta */
.collapsable .ky-collapsable-summary {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Quando collassato, la summary appare */
.collapsed .ky-collapsable-summary {
    max-height: 100vh;  
    opacity: 1;
    margin-left: 1rem;
}

/* Gli altri figli spariscono */
.collapsable > *:not(.ky-collapsable-summary):not(.ky-btn-collapse) {
    max-height: 100vh;
    opacity: 1;
    overflow: hidden;
    transition-delay: 0ms;
    transition: max-height 0.4s ease;
}

.collapsed > *:not(.ky-collapsable-summary):not(.ky-btn-collapse) {
    max-height: 0;
    opacity: 0;
}

.ky-btn-collapse {
    position: absolute;
    top: 0;
    left: 0;
    transform: translate(-25%, -25%);
    background: none;
    color: var(--color-text);
    width: 2rem;
    height: 2rem;
    border: none;
}

.ky-btn-collapse:focus {
    border: none;
}


.ky-collapsable-summary-caption {
    display: inline-block;
    color: var(--color-placeholder);
    font-style: italic;
    font-weight: lighter;
    margin-left: .5rem;
}

.ky-collapsable-summary-caption.no-margin {
    margin-left: 0;
}

.ky-collapsable-summary-value {
    display: inline-block;
    color: var(--color-text);
    margin-left: 0.25rem;
    font-weight: 200;
}

.ky-collapsable-summary-item {
    display: inline-block;
}

.ky-autocomplate .ky-btn-lookup-popup {
    right: 1.2rem;
    display: flex;
    align-items: center;
    justify-content: center;
}

.ky-btn-lookup-popup:focus {
    outline: none;
    border: solid 1px var(--primary-color);
    box-shadow: 0 0 5px var(--primary-color);
}

.window.ky-tab-style-scroll .ky-tabitem-element {
    position: relative !important;
    inset: auto !important;
    top: auto !important;
    right: auto !important;
    bottom: auto !important;
    left: auto !important;
    height: auto !important;
    min-height: auto !important;
}

.window.ky-tab-style-scroll .ky-content-master.ky-content-vertical {
    display: block !important;
    flex: none !important;
    min-height: auto !important;
}
.ky-config-articolo-distinta {
    cursor: pointer;
}

.ky-config-articolo-distinta:hover {
    text-decoration: underline;
    color: var(--color-dbo-blue);
}

.ky-datagrid-doc-cell{
    white-space: nowrap;
}

.ky-title-change-password{
    display: inline-block;
    font-weight: 400;
    font-size: 1.2rem;
}

.ky-input-password-strength{
    display: inline-block;
    font-size: .7rem;
}

#divChangePassword .ky-input-error {
    margin-top: .2rem;
}
.ky-datagrid-disabled *{
    pointer-events: none !important;
}

.ky-datagrid-disabled .ky-datagrid-add-row-btn, .ky-datagrid-disabled .ky-datagrid-delete-row-btn{
    opacity: 0.5 !important;
}

.ky-timeedit-invalid > input {
    border-color: transparent;
    border-bottom-color: var(--color-red);
}

.ky-access-caption-container {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 36px;
    align-items: center;
    column-gap: 0.5rem;
}

    .ky-access-caption-container > input {
        width: 100%;
        min-width: 0;
    }

.ky-access-caption-translation {
    width: 20px;
    height: 20px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 2px;
}

.ky-btn-readonly-lock{
    width: 1.2rem;
    height: 1.2rem;
    margin-left: .4rem;
    margin-top: .2rem;
    float: left;
    position: relative;
}

.ky-btn-readonly-lock > .ky-btn-chevron {
    width: 1.1rem;
    height: 1.1rem;
    top: 0;
    right: 0;
    bottom: 0;
    border-radius: .25rem;
    font-size: .5rem;
    color: var(--color-content);
    svg {
        width: 0.9rem;
        height: 0.9rem;
    }
}

.ky-btn-readonly-lock.is-locked > .ky-btn-chevron {
    background-color: var(--color-dbo-red);
    svg{
        fill: none
    }
}

.ky-btn-readonly-lock.is-unlocked > .ky-btn-chevron {
    background-color:var(--color-dbo-olive);
    svg{
        fill: none
    }
}