﻿/* ---------------------------------------------------
    FORMS STYLE
----------------------------------------------------- */
.fc-group-title {
    font-weight: bold;
    color: var(--color-main);
    margin: 14px 0 8px 0;
}

    .fc-group-title .fc-control-label {
        font-size: var(--font-size-normal) !important;
        color: var(--color-main) !important;
    }

    .fc-group-title .k-i-arrow-60-down,
    .fc-group-title .k-i-arrow-60-right {
        margin-bottom: 2px;
    }

    .fc-group {
        border-left: 1px solid var(--color-main-bg-superheavy);
        border-bottom: 1px solid var(--color-main-bg-superheavy);
        padding: 8px;
    }

.fc-display-control {
    line-height: 1em;
}

.fc-readonly {
    border-left: 1px solid var(--color-main-bg-superheavy);
    border-bottom: 1px solid var(--color-main-bg-superheavy);
    padding: 11px 16px 8px 8px;
    height: 36px;
}

.form-group {
    margin: 0;
}

    .form-group .fc-control-label {
        font-size: var(--font-size-small);
        color: var(--color-main-light);
        margin: 8px 0 4px 0;
        padding: 0;
    }

.fc-detail-panel .form-group .fc-control-label {
    margin: 5px 0 4px 0;
}

.form-control {
    display: inline-flex;
    border-radius: 0;
    height: 36px;
    font-size: var(--font-size-normal);
    border-color: var(--color-active);
    padding: 0px 9px 0px 9px;
    /*padding: 0;*/
}

    .form-control.fc-multiselect {
        padding: 0;
    }


    .form-control:focus {
        background-color: var(--color-control-bg);
        box-shadow: none;
        border-color: var(--color-control-border);
    }
    .form-control:hover {
        /*avoid changing border color on hover*/
        border-color: var(--color-active) !important;
    }

    .form-control[readonly], .form-control[readonly]:focus {
        background-color: inherit;
        border-top: none;
        border-right: none;
        height: 36px;
        padding: 9px;
    }

textarea.form-control{
    padding: 8px 9px 9px 9px;
}


.fc-multiselect-group {
    height: auto !important;
}

.fc-multiselect-group .k-multiselect {
    padding-inline: 9px;
}

    .fc-multiselect-group .k-multiselect .k-input-values {
        padding-left: 0;
    }

    .fc-multiselect-group .k-chip-list {
        border-color: var(--color-active);
    }

    .fc-multiselect-group .k-chip {
        border-radius: 5px !important;
    }

    .fc-multiselect-group .k-multiselect-wrap.k-focused,
    .fc-multiselect-group .k-focused > .k-multiselect-wrap {
        border-radius: 0 !important;
        box-shadow: none !important;
        border-color: var(--color-control-border);
    }

    .fc-multiselect-group .k-multiselect .k-chip-solid-base {
        color: white;
        background-color: var(--color-main-heavy);
        border-color: var(--color-active);
    }

    .fc-multiselect-group .k-multiselect-wrap > .k-i-close {
        top: calc(1.00357143em - 3px);
    }

        .fc-textarea {
            resize: none;
            height: 120px !important;
        }
/***** fix for previous X icon in the chip controls *****/
.fc-multiselect-group .k-multiselect .k-svg-icon.k-icon-sm {
    font-family: WebComponentsIcons;
    margin-top: -1px;
}

    .fc-multiselect-group .k-multiselect .k-svg-icon.k-icon-sm svg {
        display: none;
    }

    .fc-multiselect-group .k-multiselect .k-svg-icon.k-icon-sm:before {
        content: "\e11b";
    }
/*****************/

.fc-radio-button input {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: text-top;
}

.fc-checkbox-filter {
    margin-top: 7px;
    margin-left: 36px;
}

.fc-detail-panel .fc-modal-body-footer {
    margin-top: 0;
    padding-top: 17px;
}

.fc-group-w-unit {
    display:flex;
    align-items: flex-end;
}

    .fc-group-w-unit .fc-control-w-unit {
        flex: 1;
    }
    .fc-group-w-unit .fc-control-unit .k-picker {
        border-left: none;
    }
    /* ---------------------------------------------------
    INFOBOX STYLE
----------------------------------------------------- */
    .fc-info{
        float: right;
    }

    .fc-info svg {
        width: 12px;
        height: 12px;
        float: right;
        margin: 10px 5px 0 0;
        cursor: pointer;
    }
    .fc-info::after {
        content: "";
        position: absolute;
        right: 5px;
        top: 0;
        width: 30px;
        height: 30px;
        cursor: pointer
        /*Other styles*/
    }
    .fc-info-content {
        display: block;
        float: none;
    }

.fc-detail-panel .fc-info svg {
    margin: 8px 5px 0 0;
}

.fc-info[aria-expanded=false] .fc-info-open {
    display: block;
}

.fc-info[aria-expanded=false] .fc-info-close {
    display: none;
}

.fc-info[aria-expanded=true] .fc-info-open {
    display: none;
}

.fc-info[aria-expanded=true] .fc-info-close {
    display: block;
    padding: 2px;
}

.fc-info[aria-expanded=false] .fc-info-special-close {
    display: none;
}

.fc-info[aria-expanded=true] .fc-info-special-close {
    padding: 2px;
    float: inherit;
    margin-left: 98%;
    margin-bottom: 4px;
}

.fc-info.collapse, .fc-info.collapsing {
    background-color: #383732; /*var(--color-main);*/
    color: var(--color-control-bg);
    font-size: var(--font-size-small);
    padding-top: 3px;
    padding-left: 6px;
    padding-bottom: 18px;
    margin-bottom: 12px;
}

    .fc-info.collapse::after, .fc-info.collapsing::after {
        content: " ";
        display: block;
        position: relative;
        bottom: 0;
        left: 50%;
        width: 0;
        height: 0;
        border: 10px solid transparent;
        border-top-color: var(--color-main);
        border-bottom: 0;
        margin-left: -15px;
        margin-bottom: -24px;
    }

.infobox-text-secondary {
    font-style: italic;
    margin-top: 10px;
}

/* ---------------------------------------------------
    BOOTSTRAP INPUT STYLE
----------------------------------------------------- */
.input-group-text svg {
    width: 12px;
    height: 12px;
}

.input-group-text {
    color: inherit;
    background: inherit;
    border-radius: 0;
    background-color: var(--color-control-bg);
}

.input-group-prepend + input, .input-group-prepend + span {
    border-left: none;
}

.tooltip-inner {
    color: #fff !important;
    min-width: 90% !important;
    max-width: 100% !important;
    font-family: SRGSSRTypeText !important;
    font-size: 12px !important;
    background: #383732 !important;
    border-radius: 0;
}

.bs-tooltip-bottom .arrow::before {
    border-bottom-color: #383732 !important;
}
.bs-tooltip-right .arrow::before {
    border-right-color: #383732 !important;
}

.tooltip.show {
    opacity: 1;
}
/* ---------------------------------------------------
   BOOTSTRAP RADIO BUTTON STYLE
----------------------------------------------------- */
.custom-radio .custom-control-input, .custom-radio .custom-control-label {
    cursor: pointer;
}

    .custom-radio .custom-control-label::before {
        border-color: #000;
    }

    .custom-radio .custom-control-input:checked ~ .custom-control-label::before {
        border-color: #000;
        background-color: #fff;
    }

    .custom-radio .custom-control-input:checked ~ .custom-control-label::after {
        background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='-4 -4 8 8'%3E%3Ccircle r='3' fill='%23000'/%3E%3C/svg%3E");
        border-radius: 50%;
    }

    .custom-radio .custom-control-input:focus ~ .custom-control-label::before {
        box-shadow: none;
    }

    .custom-radio .custom-control-input:active ~ .custom-control-label::before {
        color: #000;
        background-color: #fff;
        border-color: #000;
    }

    .custom-radio .custom-control-input:disabled ~ .custom-control-label,
    .custom-radio .custom-control-input[disabled] ~ .custom-control-label {
        color: var(--color-main);
        opacity: 0.5;
    }

        .custom-radio .custom-control-input:disabled:checked ~ .custom-control-label::before,
        .custom-radio .custom-control-input:disabled ~ .custom-control-label::before,
        .custom-radio .custom-control-input[disabled] ~ .custom-control-label::before {
            background-color: #fff;
        }

/* ---------------------------------------------------
   BOOTSTRAP CHECKBOX STYLE
----------------------------------------------------- */
.custom-checkbox .custom-control-label:before {
    background-color: transparent;
    color: var(--color-main);
    border-radius: 0;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::before {
    background-color: transparent;
}

.custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyNCAyNCI+PGRlZnM+PHN0eWxlPi5he2ZpbGw6bm9uZTtzdHJva2U6cmdiKDAsMCwwKTtzdHJva2Utb3BhY2l0eT0xO3N0cm9rZS1saW5lY2FwOnJvdW5kO3N0cm9rZS1saW5lam9pbjpyb3VuZDtzdHJva2Utd2lkdGg6M308L3N0eWxlPjwvZGVmcz48dGl0bGU+Y2hlY2stMTwvdGl0bGU+PHBvbHlsaW5lIGNsYXNzPSJhIiBwb2ludHM9IjIzLjUgMC40OTkgNyAyMy40OTkgMC41IDE2Ljk5OSIvPjwvc3ZnPg==");
    height: 15px !important;
    width: 20px !important;
    top: 2px !important;
    left: -27px !important;
}

.custom-checkbox .custom-control-input ~ .custom-control-label::before {
    border-radius: 0px;
    border: 1px solid var(--color-main);
}

.custom-checkbox .custom-control-input:focus ~ .custom-control-label::before {
    box-shadow: 0 0 0 2px var(--color-active);
    border: 1px solid var(--color-main);
}

.custom-checkbox .custom-control-label::before,
.custom-checkbox .custom-control-label::after {
    width: 14px;
    height: 14px;
    top: 3px;
}

.k-grid .custom-control-label::before,
.k-grid .custom-control-label::after {
    top: 6px;
    width: 10px;
    height: 10px;
}

.k-grid .custom-checkbox .custom-control-input:checked ~ .custom-control-label::after {    
    background-image: url("data:image/svg+xml;charset=utf8,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 8 8'%3E%3Cpath fill='%23333333' d='M6.564.75l-3.59 3.612-1.538-1.55L0 4.26 2.974 7.25 8 2.193z'/%3E%3C/svg%3E");
    left: -1.6rem !important;
    width: 1rem !important;
    height: 1rem !important;
    top: 4px !important;
}

.custom-checkbox .custom-control-input:disabled:checked ~ .custom-control-label::before {
    background-color: #e9ecef;
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::before {
    background-color: transparent;
    border: 1px solid var(--color-main);
}

.custom-checkbox .custom-control-input:indeterminate ~ .custom-control-label::after {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Cdefs%3E%3Cstyle%3E.a%7Bfill:none;stroke:rgb(0,0,0);stroke-opacity=1;stroke-linecap:round;stroke-linejoin:round;stroke-width:3%7D%3C/style%3E%3C/defs%3E%3Ctitle%3Echeck-1%3C/title%3E%3Cpolyline class='a' points='23.5 12 0.5 12'/%3E%3C/svg%3E");
    height: 15px !important;
    width: 20px !important;
    top: 4px !important;
    left: -27px !important;
    color: var(--color-main);
}

/* ---------------------------------------------------
    KENDO-UI CONTROLS STYLE
----------------------------------------------------- */

.form-control.k-picker,
.form-control.k-combobox {
    /*fix padding*/
    padding: 0 !important;
}

.k-input-md .k-input-inner, .k-picker-md .k-input-inner {
    /*fix inner padding*/
    padding-inline: 8px;
}



.k-input, .k-widget.k-input,
.k-input:focus-within, .k-widget.k-input:focus-within,
.k-picker:focus-within, .k-widget.k-picker:focus-within,
.k-input.k-focus, .k-input:focus, .k-widget.k-input.k-focus, .k-widget.k-input:focus {
    box-shadow: none !important;
    border-color: var(--color-active);
}

.k-input-inner {
    border: none !important;
}

.k-datetimepicker > .k-icon-button:nth-child(2), 
.k-datepicker > .k-icon-button:nth-child(2) {
    border-left: 1px solid var(--color-active);
}

.k-input-button, .k-input-button.k-button {
    height: 100%;
}

.k-dropdown.k-focus,
.k-dropdown.k-focus.k-state-border-down,
.k-dropdown.k-focus.k-border-down {
    background-color: var(--color-control-bg);
    box-shadow: none;
}

.k-picker.k-focus, .k-picker:focus, .k-widget.k-picker.k-focus, .k-widget.k-picker:focus {
    box-shadow: none;
}

.k-autocomplete, 
.k-combobox, 
.k-datepicker, 
.k-datetimepicker, 
.k-dropdown, 
.k-numerictextbox, 
.k-timepicker
{
    height: 36px;
    border-radius: 0;
}

.k-multiselect {
    min-height: 36px;
    border-radius: 0;
}

.k-numerictextbox.form-control,
.k-datetimepicker.form-control,
.k-datepicker.form-control {
    padding-left: 0;
    padding-right: 0;
}

.k-list-optionlabel,
.k-list-optionlabel:hover,
.k-selected.k-list-optionlabel,
.k-selected.k-list-optionlabel:hover {
    background-color: transparent;
    color: inherit;
    box-shadow: none;
}

.k-list {
    font-size: inherit;
}

.k-list-item-text::before, 
.k-list-header-text::before, 
.k-list-optionlabel::before {
    content: ''; /* Remove spacing added for each option*/
}

.k-list-item {
    border-radius: 0;
    box-shadow: none !important;
}

    .k-list-item.k-focus {
        background-color: var(--color-main-bg-heavy);
    }

.k-list-item.k-selected,
.k-list-item.k-selected.k-hover, .k-list-item.k-selected:hover {
    background-color: #4E4D47;
    color: #ffffff
}

.k-list-scroller {
    padding: 0;
}

.k-list-container {
    padding: 0px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.16), 0 0 8px 0 rgba(0, 0, 0, 0.08);
    border: solid 1px #cac8bf;
    border-radius: 0 !important;
}

.k-grid .k-command-cell > .k-button + .k-button {
    margin-left: 0;
    -webkit-margin-start: 0;
    margin-inline-start: 0;
}

.preferredFrequencyVariableFixedSemiDuplex .k-input-inner {
    padding-left: 0;
    padding-right: 0;
    display: none !important;
}
.preferredFrequencyVariableFixedSemiDuplex .k-input-button {
    padding-inline: 5px;
}

.k-combobox > .k-clear-value {
    display: none;
}

.k-combobox.k-hover > .k-clear-value {
    display: inline-flex;
    position: absolute;
    right: 28px;
    z-index: 9999;
}

.k-spinner-increase svg {
    margin-bottom: -3px;
}

.k-spinner-decrease svg {
    margin-top: -4px;
}

/* ---------------------------------------------------
    KENDO-UI CALENDAR STYLE
----------------------------------------------------- */
.k-calendar td.k-selected .k-link,
.k-calendar td.k-hover .k-link {
    border-color: var(--color-main-bg-heavy) !important;
    background-color: var(--color-main-bg-heavy) !important;
    color: var(--color-main) !important;
    border-radius: 0 !important;
}

.k-calendar .k-calendar-td.k-selected.k-focus .k-link {
    box-shadow:none !important;
}

.k-calendar td.k-focused .k-link {
    box-shadow: none !important;
}

.k-calendar td.k-focused .k-link {
    background-color: var(--color-main-bg-heavy) !important;
    border-radius: 0;
}

.k-calendar .k-today .k-link {
    color: var(--color-main) !important;
    border: 1px solid var(--color-main-bg-heavy) !important;
    box-shadow: none !important;
    border-radius: 0;
}

.k-calendar-container.k-group {
    border-radius: 0;
}

.k-calendar .k-calendar-header .k-nav-today,
.k-calendar .k-footer .k-nav-today,
.k-calendar .k-calendar-header .k-nav-today:focus, 
.k-calendar .k-calendar-header .k-nav-today:hover, 
.k-calendar .k-footer .k-nav-today:focus, 
.k-calendar .k-footer .k-nav-today:hover {
    color: var(--color-main);
}

.k-calendar-view .k-today {
    font-weight: normal !important;
}

.k-calendar .k-calendar-th,
.k-calendar .k-calendar-caption,
.k-calendar .k-meta-header,
.k-calendar .k-month-header {
    color: var(--color-main) !important;
}

.k-calendar .k-calendar-th {
    font-size: 13px !important;
    text-transform: none !important;
}

.k-calendar .k-calendar-td.k-focus .k-link {
    box-shadow: none !important;
}

/*--------------------------------------------------------------------------
  FORM-VALIDATION STYLE
---------------------------------------------------------------------------*/
.field-validation-error, .validation-summary-errors {
    color: var(--color-danger);
}

.field-validation-error > span{
    margin-top: 5px;
    display: inline-block;
    line-height: 17px;
}

    .field-validation-error a {
        color: var(--color-danger);
    }

.validation-summary-errors {
    font-weight: bold;
}

.field-validation-valid, .validation-summary-valid {
    display: none;
}

.input-validation-error,
.fc-validation-error,
.k-dropdown.fc-validation-error .k-dropdown-wrap,
.k-combobox.fc-validation-error > input,
.k-combobox.fc-validation-error > .k-dropdown-wrap > input,
.k-widget.k-dropdown.fc-validation-error {
    background-color: var(--color-danger-bg) !important;
    border-color: var(--color-danger) !important;
    border-radius: 0;
}

input[type="checkbox"].input-validation-error {
    border: 0 none;
}


/*--------------------------------------------------------------------------
  Toggle Combobox to Textfield in Channel Registration if no data available
---------------------------------------------------------------------------*/
.comboToTextField .k-dropdown-wrap .k-select {
    display: none;
}

.comboToTextField .k-input {
    padding-right: 0em;
}

.comboToTextField .k-dropdown-wrap .k-clear-value {
    right: 8px;
}

.comboToTextField .k-dropdown-wrap.k-hover {
    background-color: white;
}

/*--------------------------------------------------------------------------
  GRID-FILTER STYLE
---------------------------------------------------------------------------*/
.fc-toolbar .k-popup.k-list-container {
    box-shadow: none;
}

.fc-toolbar .form-control {
    padding: 0;
}

/*--------------------------------------------------------------------------
  SEND INVITATIONS
---------------------------------------------------------------------------*/
.fc-send-event-invitation-text {
    height: 470px !important;
}
/* BP1 & BP2 */
@media (max-width: 1023.98px) {
    .fc-send-event-invitation-text {
        height: 570px !important;
    }
}

/*--------------------------------------------------------------------------
  Remove loading icon for dropdowns
---------------------------------------------------------------------------*/
.k-icon-button .k-i-arrow-s.k-i-loading {
    display: none;
}

/*--------------------------------------------------------------------------
  Custom file input
---------------------------------------------------------------------------*/

.custom-file-label {
    border-radius: 0;
    border-color: var(--color-active);
    color: var(--color-main-light);
}

.custom-file-label-active {
    color: var(--color-main);
}

.custom-file-label::after {
    content: none !important;
}

.custom-file-input{
    display: inline-block;
}

.custom-file-input:focus ~ .custom-file-label {
    border-color: var(--color-active);
    box-shadow: none !important;
}


.file-info-tooltip svg{
    height: 12px;
    width: 12px;
    margin-left: 4px;
}

.txPowerFixed {
    width: 28px !important;
    border-left: none;
}

.txPowerFixed button {
    margin-left: -16px;
}
.txPowerFixed .k-input-inner {
    display: none;
}
.txPowerFixed .k-button-solid {
    padding-inline: 5px;
}

.template-small-lookup {
    width: 28px !important;
    border-left: none;
}

    .template-small-lookup input {
        display: none !important;
    }

/*--------------------------------------------------------------------------
  Multi Select Box
---------------------------------------------------------------------------*/
.fc-multi-select-box {
    border: 1px solid var(--color-control-border);
    border-radius: 0;
    padding: 0;
}

.fc-multi-select-box span.k-input-inner {
    justify-content: space-between;
}


/*--------------------------------------------------------------------------
  Fix search box clear button (webkit)
---------------------------------------------------------------------------*/
input[type="search"]::-webkit-search-cancel-button {
    -webkit-appearance: none;
    width: 10px;
    height: 10px;
    background: url(/Images/close.svg) no-repeat 50% 50%;
    background-size: contain;
    opacity: 0;
    pointer-events: none;
}

input[type="search"]:focus::-webkit-search-cancel-button {
    opacity: 1;
    cursor: pointer;
    pointer-events: all;
}

/*--------------------------------------------------------------------------
  Legacy
---------------------------------------------------------------------------*/

.fc-legacy-input {
    height: 26px;
    color: var(--color-main);
    border: 1px solid var(--color-control-border);
    background-color: var(--color-control-bg);
}