﻿:root {
    --kendo-color-primary: #0068B1;
    --cip-color-blue-title-block: #0067af;
}


/* some rules to fix some telerik theme that we don't want */
    
/* Remove the Menu focus border when clik on it*/
.k-menu:not(.k-context-menu) > .k-item:focus, .k-menu:not(.k-context-menu) > .k-item.k-focus {
    box-shadow: none;
}


.k-grid-toolbar .k-toolbar-items {
    flex-flow: row wrap;
}

/* ======================  Telerik fixes which was in <25.05 in the site.css: BEG ====================== */

.ddbcontextmenu .k-menu.k-context-menu .k-item:focus > .k-link,
.ddbcontextmenu .k-menu.k-context-menu .k-item.k-focus > .k-link {
    box-shadow: none !important;
}

/*to reduce the height of the gridrows*/
.k-grid th,
.k-grid td {
    padding-block: 0.2rem !important;
    font-size: 11px;
    padding-top: 33px
}


.no-headers-form .k-form-legend {
    display: none;
}


.moderntab.k-tabstrip.telerik-blazor.k-tabstrip-top.ciptabstrip-tabstrip {
    height: 100%;
}

.moderntab.k-tabstrip-content.k-content.k-active {
    overflow-y: hidden;
    padding-bottom: 0px;
}

/* remove focus shadow gray in the tab */
.moderntab.ciptabstrip-tabstrip .k-tabstrip-items-wrapper .k-item:focus,
.moderntab.ciptabstrip-tabstrip .k-tabstrip-items-wrapper .k-item.k-focus {
    box-shadow: none !important
}

.moderntab.ciptabstrip-tabstrip > .k-tabstrip-content.k-content.k-active {
    /*border-left: 0px solid red !important;
                   border-right: 0px solid red !important;
                   border-bottom: 0px solid red !important;
                   border-top: 1px solid red !important;*/
    border: 0px solid red !important;
}

.moderntab.ciptabstrip-tabstrip > .k-tabstrip-items-wrapper.k-hstack {
    border-left-color: transparent !important;
    border-right-color: transparent !important;
    /*border-bottom-color: transparent !important;*/
    border-top-color: transparent !important;
    /*border-color: transparent !important;*/
}

.moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item {
    border-top-left-radius: 0px !important;
    border-top-right-radius: 0px !important;
    margin-bottom: -1px;
}

    .moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item:active,
    .moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active,
    .moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-selected {
        border-color: transparent !important;
        /*color: #ff0000 !important;*/
        background-color: #ffffff !important;
    }

.moderntab.ciptabstrip-tabstrip.k-tabstrip-content, .moderntab.k-tabstrip > .k-content {
    padding-left: 0px !important;
    padding-right: 0px !important;
    /*padding: 16px 16px;*/
}

    .moderntab.ciptabstrip-tabstrip.k-tabstrip-content:focus,
    .moderntab.k-tabstrip > .k-content:focus { /* new ben since tab validation */
        outline: none !important;
    }


.moderntab.ciptabstrip-tabstrip > .k-tabstrip-content:focus,
.moderntab.ciptabstrip-tabstrip > .k-tabstrip-content.k-focus,
.moderntab.ciptabstrip-tabstrip > .k-tabstrip > .k-content:focus,
.moderntab.ciptabstrip-tabstrip > .k-tabstrip > .k-content.k-focus { /* new ben since tab validation */
    outline: none !important;
}


.moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active {
    /*border-bottom-color: green !important;*/
    border-bottom: 2px solid #006bb4 !important;
}

    .moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item.k-active .k-link {
        font-weight: 600 !important;
        color: #006bb4 !important;
    }

.moderntab.ciptabstrip-tabstrip.k-tabstrip-top > .k-tabstrip-items-wrapper .k-item .k-link {
    /*font-weight: 600 !important;*/
    color: #000000 !important;
}

/* remove not nice focus dotted around the whole area of the content of tabstrip*/
.moderntab.ciptabstrip > .k-tabstrip-content:focus,
.moderntab.ciptabstrip > .k-tabstrip-content.k-focus,
.moderntab.ciptabstrip > .k-tabstrip > .k-content:focus,
.moderntab.ciptabstrip > .k-tabstrip > .k-content.k-focus {
    outline-width: 0px !important;
    outline: none !important;
    /*outline-style: dotted;
                 outline-offset: -1px;
                 outline-color: red;*/
}

/* Remove bad shadow in selected tab - HMMM seems not working...*/
.moderntab.ciptabstrip > .k-tabstrip-items-wrapper .k-item:focus,
.moderntab.ciptabstrip > .k-tabstrip-items-wrapper .k-item.k-focus {
    box-shadow: none !important /*inset 0 0 0 2px rgb(0 0 0 / 12%);*/
}



.custom-hierarchy-icon .k-hierarchy-cell .k-svg-icon svg {
    display: none;
}

.custom-hierarchy-icon .k-hierarchy-cell .k-svg-icon.k-svg-i-plus:before {
    content: "\e005";
    font-family: "WebComponentsIcons";
}

.custom-hierarchy-icon .k-hierarchy-cell .k-svg-icon.k-svg-i-minus:before {
    content: "\e006";
    font-family: "WebComponentsIcons";
}

/* ====================== Telerik fixes which was in <25.05 in the site.css: END  ====================== */

/*=== fix to manage the new design + contextual menus for user account: [BEGIN] ====*/

.ctx-menu li.k-item.k-menu-item {
    /*  color: darkviolet; */
}

    .ctx-menu li.k-item.k-menu-item:focus {
        border: none !important;
    }

        .ctx-menu li.k-item.k-menu-item:focus > span.k-link.k-menu-link {
            /* color: blue; */
            box-shadow: none;
        }
/* Style the menu container using the custom class */
.ctx-menu {
    background-color: var(--blue-sidebar-bottom-menu-hover);
}

    /* Style the individual menu items within the element with .benXXX */
    .ctx-menu .k-item,
    .ctx-menu .k-menu-item {
        background-color: var(--blue-sidebar-bottom-menu-hover);
    }

    /* Style the text within the menu items within the element with .benXXX */
    .ctx-menu .k-link,
    .ctx-menu .k-menu-link {
        color: white;
        font-weight: 600;
    }

    .ctx-menu .telerik-blazor.k-context-menu { /* .k-menu-group.k-menu-group-md */
        background-color: var(--blue-sidebar-bottom-menu-hover);
    }

    .ctx-menu li.k-item.k-separator {
        display: block;
        background-color: var(--blue-sidebar-bottom-menu-hover);
        /* margin-top: 4px; */
        /* margin-bottom: 4px; */
        border: none;
        /* height: 8px; */
        border-bottom: 1px solid #ffffff73;
        margin: 0px;
        margin-top: 2px;
        margin-bottom: 2px;
    }

    .ctx-menu .k-menu-popup {
        border: none;
    }

    .ctx-menu .k-link.k-menu-link {
        transition: background-color 0.3s ease, color 0.3s ease;
        padding-top: 10px;
        padding-bottom: 10px;
    }

        .ctx-menu .k-link.k-menu-link:hover {
            background-color: #002b48; /*var(--blue-sidebar-bottom-menu-hover);*/
            color: white;
        }

.ctx-menu-icon {
    /* color:red !important; */
    font-size: large;
}

.ctx-menu-company-right {
    right: 0px !important;
    left: unset !important;
    /* position: absolute; */
    /* padding: 0.5rem; */
    font-family: 'Open Sans';
}

.ctx-myaccount {
    font-family: 'Open Sans';
    position: Fixed !important;
}

/*=== fix to manage the new design + contextual menus for user account: [END] ====*/