/*reset default styles*/
*, *::before, *::after {
    box-sizing: border-box;
}

* {
    margin: 0;
    padding: 0;
    font: inherit;
}

body {
    min-height: 100vh;
}

header {
    display: block;
}

img, picture, video, canvas, svg {
    display: block;
    max-width: 100%;
}

html, body {
    font-family: var(--font-family);
    color: var(--Gray-700);
    line-height: 1.5;
}

b {
    font-weight: 600;
}


/* Generaly custom class */

.display-flex {
    display: flex;
    gap: 1rem;
}

.width-max {
    width: 100%;
}

.hidden {
    display: none;
}

.mb-1 {
    margin-bottom: 1rem;
}

/*telerik components styles*/
.k-button-solid-base.password-eye {
    background-color: var(--Base-White);
    border: none;
    box-shadow: none;
}

    .k-button-solid-base.password-eye:hover {
        background-color: var(--Gray-50);
    }

/*telerik Modal styles */

.k-window {
    border-radius: unset;
}

/*telerik pop-up list style for dropdown and multiselect components*/
.k-list {
    border-radius: 0.375rem;
}

.k-list .k-list-item:not(.k-focus) {
    box-shadow: none;
}

.k-list-container {
    margin-top: 0.25rem;
}

.k-dropdownlist.ddl-lg {
    width: 25rem;
}

.k-dropdownlist.ddl-md {
    width: 15.625rem;
}

.k-dropdownlist.ddl-sm {
    width: 9.375rem;
    height: 1.875rem !important;
}

/* Telerik grid custom styles */
.grid-no-scroll .k-grid-content {
    overflow-y: auto;
}

.grid-no-scroll .k-grid-header,
.grid-no-scroll .k-grid-footer {
    padding-right: 0;
}

.grid-no-scroll .k-grid-header-wrap,
.grid-no-scroll .k-grid-footer-wrap {
    border-right-width: 0;
}

/*general component styles*/
.content-separator {
    width: 100%;
    background-color: var(--Gray-200);
    margin: 1.25rem 0;
    height: 0.0625rem;
}

* > .hide-last-element:last-child {
    display: none;
}

.noselect {
    -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Old versions of Firefox */
    -ms-user-select: none; /* Internet Explorer/Edge */
    user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome, Edge, Opera and Firefox */
}



.text-center {
    text-align: center;
}

/*editor dialog*/
.tox-statusbar,
.tox-promotion {
    display: none !important;
}

.tox .tox-dialog-wrap .tox-dialog {
    color: var(--Gray-700);
    & .tox-button:not([disabled])

{
    font-family: var(--font-family);
    border-radius: 0.5rem;
    border: var(--Border-Primary);
    background-color: var(--Primary-600);
    &:hover

{
    background-color: var(--Primary-700);
}

&.tox-button--naked {
    background-color: transparent;
    border-color: transparent;
}

&.tox-button--secondary {
    background: var(--Base-White);
    color: var(--Gray-700);
    border: var(--Border-Secondary-Light-Extra);
    &:hover

{
    background-color: var(--Gray-100);
}

}
}

& .tox-button[disabled] {
    font-family: var(--font-family);
    background-color: var(--Gray-100);
    color: var(--Gray-400);
    border: var(--Border-Secondary-Light-Extra);
}

& .tox-dialog__title {
    font: var(--font-lg-md);
}

& .tox-form {
    margin: 0;
    gap: 1rem;
    & .tox-label

{
    margin-bottom: 0.5rem;
}

& .tox-checkbox__input:focus + .tox-checkbox__icons {
    box-shadow: none;
}

& .tox-selectfield {
    margin: 0;
    & select

{
    overflow: visible;
    box-shadow: none;
    padding: 0;
    margin: 0;
    border: none;
    & option

{
    margin-inline: -0.375rem;
    padding: 1rem;
    border-radius: 0.875rem;
    border: 0.375rem solid var(--Base-White);
    background-color: var(--Base-White);
    box-shadow: inset 0 0 0 0.125rem var(--Gray-100);
    &:hover

{
    background-color: var(--Gray-200);
}

&:checked {
    background-image: linear-gradient(0deg, var(--Primary-600) 0%, var(--Primary-600) 100%);
    box-shadow: none;
    color: var(--Base-White);
}

}
}
}
}
}

.k-form-field-error .validation-border {
    border: solid 0.0625rem red !important;
}

.tox-silver-sink.compare-table-toolbar-hidden .tox-pop {
    display: none;
}

/*Popup*/
.popup-box {
    overflow: hidden;
    position: relative;
    z-index: 1000;
}

    .popup-box:hover {
        overflow: visible;
    }

    .popup-box .popup {
        position: absolute;
        width: 15rem;
        right: calc(100% - 2rem);
        border-radius: 0.5rem;
        border: var(--Border-Secondary-Light-Extra);
        background: var(--Base-White);
        box-shadow: var(--Shadow-md);
    }

        .popup-box .popup .item {
            color: var(--Gray-700);
            overflow: hidden;
            text-overflow: ellipsis;
            font: var(--font-sm-n);
            font-style: normal;
            line-height: 1.25rem;
        }

            .popup-box .popup .item > *:not(.delimiter) {
                padding: 0.625rem 1rem;
            }

button[data-mce-name="addoptionsbtn"] {
    position: absolute !important;
    margin-right: 10px !important;
    right: 0;
    top: 0;
}
