:root {
    --color-primary: #000ff5;
    --color-primary-disabled: #b3b7fc;
    --color-primary-hover: #000880;
    --color-danger: #eb5757;
    --color-success: #1cb334;
    --color-banner: #f72;
    --color-main: #5f6671;
    --color-warning: var(--color-banner);

    --color-grey-10: #eaeaea;
    --color-grey-20: #c0c0c0;
    --color-grey-30: #9f9f9f;
    --color-grey-40: #7f7f7f;
    --color-grey-50: #222;
    --color-grey-60: #bdbdbd;
    --color-cool-grey: #f2f5fb;
    --color-fresh-grey: #a7b7ce;

    --color-dark-blue: #14182d; /*for nav*/

    --color-report-activity: #2f80ed;
    --color-report-webfilter: #1cb334;
    --color-report-malware: #eb5757;
    --color-report-botnet: #7f7f7f;

    --text-main-color: #222222;
}

/*
 * ===============================
 * FONT FACE
 * ===============================
 */
@font-face {
    font-family: "SKY";
    src: url("./static/media/SkyText-Light.ttf") format("ttf");
    font-weight: 300;
}

@font-face {
    font-family: "SKY";
    src: url("./static/media/SkyText-Regular.ttf") format("ttf");
    font-weight: 400;
}

@font-face {
    font-family: "SKY";
    src: url("./static/media/SkyText-Medium.ttf") format("ttf");
    font-weight: 500;
}

@font-face {
    font-family: "SKY";
    src: url("./static/media/SkyText-SemiBold.ttf") format("ttf");
    font-weight: 600;
}

@font-face {
    font-family: "SKY";
    src: url("./static/media/SkyText-Bold.ttf") format("ttf");
    font-weight: 700;
}

/*
 * ===============================
 * TYPOGRAPHY
 * ===============================
 */

html,
body {
    font-family: "SKY", Helvetica, Arial, sans-serif;
    color: var(--color-main);
}

button,
input,
optgroup,
select,
textarea {
    font-family: "SKY", Helvetica, Arial, sans-serif;
    color: var(--color-main);
}

/*
 * ===============================
 * BUTTONS
 * ===============================
 */
.btn:not(.widget__button) {
    border-radius: 20px;
}

.btn--primary {
    background-color: #0067ff;
    background-image: linear-gradient(to right, #020db5 0%, #0067ff 100%);
    border: 0;
}

.btn--primary.btn--solid:disabled {
    color: #fff;
    background-color: silver;
    border-color: silver;
    background-image: none;
}

.btn--primary:hover:not(:disabled) {
    background-color: #0075ff;
    background-image: linear-gradient(to right, #000880 0%, #0075ff 100%);
}

.btn--primary.btn--outline {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
    background-image: none;
}

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

.btn--primary.btn--outline:disabled {
    color: #fff;
    background-color: silver;
    border-color: silver;
    background-image: none;
    opacity: 1;
}

.btn--primary.btn--outline:disabled .icon {
    color: #fff;
}

.btn--primary.btn--outline:hover:not(:disabled) {
    color: #fff;
    background-color: var(--color-primary);
    border-color: var(--color-primary);
    background-image: none;
}

.btn--primary.btn--outline:hover:not(:disabled) .icon {
    color: #fff;
}

.btn--secondary {
    color: var(--color-primary);
    background-color: transparent;
    border-color: var(--color-primary);
}

.btn--primary.btn--outline:disabled .settings-btn__status {
    color: #fff;
}

.btn--primary.btn--outline:not(:disabled) .settings-btn__status {
    color: var(--color-primary);
}

.btn--primary.btn--outline:hover:not(:disabled) .settings-btn__status {
    color: #fff;
}

.btn--destructive.btn--outline:focus:not(:disabled),
.btn--destructive.btn--outline:hover:not(:disabled) {
    background-color: var(--color-danger);
    color: #fff;
}

.btn--destructive.btn--outline:focus:not(:disabled) .icon,
.btn--destructive.btn--outline:hover:not(:disabled) .icon {
    color: #fff;
}

/*
 * ===============================
 * CONTROLS: LOGO
 * ===============================
 */

.ltr .portal-title__name {
    margin-left: 12px;
}

/*
 * ===============================
 * CONTROLS: FLIPSWITCH
 * ===============================
 */
.flip-switch_primary .flip-switch__label_on [data-type="on"] {
    background-color: #5fafca;
}

.flip-switch_primary .flip-switch__label_on [data-type="on"]:hover {
    background-color: #437a8d;
}

.flip-switch_primary .flip-switch__label_off [data-type="off"] {
    background-color: #ccc;
}

.flip-switch_primary .flip-switch__label_off [data-type="off"]:hover {
    background-color: #8f8f8f;
}

/*
 * ===============================
 * CONTROLS: INPUT
 * ===============================
 */
.input input {
    border: 1px solid silver;
    border-radius: 0.25em;
    color: var(--color-main);
}

.input input:hover:not([disabled]) {
    border-color: silver;
}

.input input:focus,
.input.has-error input:focus {
    border-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    outline: 0;
}

.input input:hover:focus {
    border-color: #fff;
}

/*
 * ===============================
 * NOTIFICATIONS
 * ===============================
 */
.static-notifications__web-filter-off {
    background: var(--color-banner);
}

/*
 * ===============================
 * DDLs & SELECTs
 * ===============================
 */
.dropdown__item {
    color: var(--color-main);
}

.dropdown__item--highlighted {
    background-color: var(--color-cool-grey);
}

.hm__wrapper .hm__item .sub-menu__item a:hover {
    background-color: var(--color-cool-grey);
    text-decoration: underline;
}

.select-wrapper .select__button {
    border-color: silver;
}

.select-wrapper .select.select--opened .select__button {
    border-color: #fff;
    box-shadow: 0 0 8px 0 rgba(0, 0, 0, 0.2);
    outline: 0;
}

.dropdown__item--highlighted .icon {
    color: var(--color-main);
}

/*
 * ===============================
 * HORIZONTAL MENU
 * ===============================
 */
.hm,
.hm__submenu {
    color: var(--color-dark-blue);
}

.hm__wrapper .hm__submenu {
    background-color: transparent;
}

.hm__wrapper {
    box-shadow: 0 1px 10px 0 rgba(0, 0, 0, 0.2);
}

.main-header {
    z-index: 2;
}

.hm__item__link:hover {
    text-decoration: underline;
}

.hm__wrapper .hm__item__link::before,
.hm__wrapper .hm__item__link::after {
    display: none;
}

/*
 * ===============================
 * TABS
 * ===============================
 */
.tab-control:hover {
    background-color: var(--color-primary);
    color: #fff;
}

/*
 * ===============================
 * TABLES
 * ===============================
 */
:is(.ltr, .rtl) .table .expand-row__expanded td:first-child,
:is(.ltr, .rtl) .table .expand-row__expanded + .sub-row td {
    border-color: var(--color-primary);
}

.pagination__controls .page.active {
    background-color: var(--color-primary);
    border-color: var(--color-primary);
}

.table thead {
    background-color: var(--color-grey-10);
}

.table tbody tr:not(.no-data-row):not(.sub-row):hover {
    background-color: var(--color-cool-grey);
}

.table__sub-header {
    background-color: var(--color-grey-20);
    font-weight: 400;
    color: var(--color-grey-50);
}

/*
 * ===============================
 * ICONS
 * ===============================
 */
.new-requests__list-item .icon {
    color: var(--color-primary);
}

/*
 * ===============================
 * PANELS
 * ===============================
 */
.spson-info,
.new-requests__header,
.spson-panel,
.protection-editor__list-container {
    background-color: var(--color-cool-grey);
}

.protection-editor__options,
.schedule__rule-list__item,
.sidebar__tab-header:not(.sidebar__tab-header--active) {
    background-color: var(--color-grey-10);
}

.schedule__rule-list__item--active,
.schedule__rule-list__item:hover,
.schedule__rule-list__item:focus,
.sidebar__tab-header:not(.sidebar__tab-header--active):hover {
    background-color: var(--color-cool-grey);
}

/*
 * ===============================
 * BLOCK & ALLOW LISTS
 * ===============================
 */
.url-option {
    background-color: var(--color-cool-grey);
}

.url-option:hover {
    background-color: var(--color-grey-10);
}

/*
 * ===============================
 * MOBILE MENU
 * ===============================
 */
.menu__user-menu .toggle-btn,
.menu__sub-menu ~ ul .menu__item--active,
.menu__sub-menu ~ ul .menu__action-item--active,
.menu__user-menu ~ ul .menu__item--active,
.menu__user-menu ~ ul .menu__action-item--active {
    background-color: var(--color-primary);
    color: #fff;
}

.menu__user-menu .account-info__name {
    color: var(--color-primary);
}

/*
 * ===============================
 * HELP PAGE
 * ===============================
 */

.help-content img {
    display: block;
    margin: auto;
}

.help-content img[src="translations/help/us_EG/remote-assign-to-group.png"],
.help-content img[src="translations/help/us_EG/remote-client-edit-info.png"],
.help-content img[src="translations/help/us_EG/devices_merge-modal.png"] {
    width: 370px;
}

/*disable malware and phishing*/
.security-description,
.subscriber-safety {
    /* Don't want the text to be selectable */
    -webkit-user-select: none; /* Safari */
    -moz-user-select: none; /* Firefox */
    -ms-user-select: none; /* IE10+/Edge */
    user-select: none; /* Standard */

    cursor: not-allowed;
    opacity: 0.6;
}

.subscriber-safety .flip-switch {
    pointer-events: none;
    opacity: 0.8;
}

/* applying colors from sky color palette */
.help-page-sidebar__subtitle,
.dropdown__menu {
    color: var(--text-main-color);
}

.portal-title__name,
.portal-name,
.homepage-reports__hint,
.textarea textarea,
.deeplink-modal__copy-with-instructions__text,
.profile-tab,
.profile-tab:hover,
.header .menu-button,
.menu .close-button,
.menu__item,
.menu__sub-menu,
.menu__item--active:hover,
.schedule .checkbox__text,
.protection-status--disabled,
.help-content {
    color: var(--color-main);
}

.help-page-navigation__link:not(.help-page-navigation__link--active) {
    color: var(--color-main) !important;
}

.table table,
td.color-secondary,
.table .table__cell--placeholder,
.table-card__content .color-secondary,
.flip-switch_primary .flip-switch__label_off [data-type="off"],
.mobile-sorting__btn {
    color: var(--color-grey-50);
}

.table .no-data-row td,
.barchart-container .no-data-message,
.barchart-container .x-axis text {
    color: var(--color-grey-40);
}

.menu__user-menu,
.menu__item,
.menu__sub-menu,
.menu__action-item,
.protection-editor-modal .categories-actions .list-actions {
    background-color: var(--color-grey-10);
}

@media (max-width: 991px) {
    .time-period__info {
        background-color: var(--color-grey-10);
    }
}

.upload-field {
    border-color: var(--color-grey-50);
}

/* CSPROD-319 */
.scheduled-reports-page .page-description {
    white-space: pre-wrap;
}
