﻿/* 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. */

html[data-theme='light'] {
    --console-bg: white;
    --console-items-bg: #fff;
    --console-shadow: rgb(238,238,238);
    --console-text-color: black;
    --console-input-placeholder: rgba(0,0,0, .5);
    --console-sidebar-bg: #24365a;
    --console-sidebar-hover: #132343;
    --console-pagination-bg: #007bff;
    --console-non_active-pagination-bg: white;
    --console-pagination-number: #007bff;
    --console-hello-logo: black;
    --console-user-email: black;
    --console-table-title: black;
    --console-table-border: #dee2e6;
    --console-table-btn-color: rgba(128, 128, 128, .75);
    --console-edit-and-details-icon: black;
    --console-delete-icon: crimson;
    --console-device-status-icon: green;
    --console-device-online-icon: #008000;
    --console-device-offline-icon: #F04363;
    --console-btn-details: #17a2b8;
    --console-subtitle: black;
    --console-change-password: black;
    --console-hello-logo-text: black;
    --console-titles: black;
    --console-hr-line-color: rgba(0, 0, 0, 0.1);
    --continue-acc-btn-shd: 0px 20px 40px -12px rgba(36,54,90,1);
    --console-modal-btn: black;
    --console-modal-bg: white;
    --console-form-bg: white;
    --costum-link-bg: white;
    --console-left-border: #566788;
    --console-switch-theme: dodgerblue;
    --console-loader: #24365a;
    --console-disable-input-bg: #e9ecef;
    --alert-warning: #fed200;
    --alert-danger: #dc143c;
    --alert-notification: #b3b3b3;
}

html[data-theme='dark'] {
    --console-bg: rgb(39,39,48);
    --console-items-bg: rgb(50,50,62);
    --console-shadow: rgba(0,0,0,.7);
    --console-text-color: rgba(255,255,255,.6);
    --console-input-placeholder: rgba(255,255,255, .2);
    --console-sidebar-bg: rgb(50,50,62);
    --console-sidebar-hover: gray;
    --console-pagination-bg: gray;
    --console-hello-logo: white;
    --console-user-email: white;
    --console-table-title: lightgray;
    --console-table-border: darkgray;
    --console-table-btn-color: rgba(211, 211, 211, 0.75);
    --console-non_active-pagination-bg: #bfbfbf;
    --console-pagination-number: #404040;
    --console-edit-and-details-icon: #d9d9d9;
    --console-delete-icon: red;
    --console-device-status-icon: #00b300;
    --console-device-online-icon: lime;
    --console-device-offline-icon: crimson;
    --console-btn-details: #16a0b6;
    --console-subtitle: darkgray;
    --console-change-password: #d9d9d9;
    --console-hello-logo-text: white;
    --console-titles: lightgray;
    --console-hr-line-color: gray;
    --continue-acc-btn-shd: 0px 19px 40px -12px rgba(0,0,0,.7);
    --console-modal-btn: white;
    --console-modal-bg: #292929;
    --console-form-bg: rgb(50,50,62);
    --costum-link-bg: transparent;
    --console-left-border: lightgray;
    --console-switch-theme: lightgray;
    --console-loader: white;
    --console-disable-input-bg: #464651;
    --alert-warning: #ccaa00;
    --alert-danger: #a30f2d;
    --alert-notification: #808080;
}


*,
*::after,
*::before {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--console-bg);
}

.hac-content-container {
    width: 100%;
    margin: 0 auto;
}

.hr_line {
    background-color: var(--console-hr-line-color);
}

.dashed_border {
    border-bottom: 2px dashed var(--console-hr-line-color);
}

.hac_notifications_text {
    border-bottom: 1px dashed;
}

a.navbar-brand {
    white-space: normal;
    text-align: center;
    word-break: break-all;
}

.hello__logo-text {
    color: var(--console-hello-logo-text) !important;
}

.hello_two-logo {
    fill: var(--console-hello-logo);
}

.console__titles {
    color: white;
}

.console__labels {
    color: var(--console-text-color);
}

.console-img_bg {
    background-color: var(--console-img-bg);
}

.center__span {
    display: table !important;
    margin: 0 auto !important;
}

/*override bootstrap btn*/
.btn-back_pa {
    position: absolute;
    left: 0;
}

.back-btn {
    border: 1px solid rgba(255,255,255, .3);
    background: rgba(255,255,255, .1);
    color: white;
    padding: 10px;
}

    .back-btn:hover {
        background: rgba(255,255,255, .2);
        color: white;
    }

.btn {
    display: inline-flex;
    align-items: center;
    font-size: 15px;
}



    .btn > svg {
        width: 15px;
        margin-left: 10px;
    }

    .btn > i {
        font-size: 18px;
        margin-left: 8px;
    }

.btn_details {
    background-color: var(--console-btn-details);
    border-color: var(--console-btn-details);
    color: white;
}

.hac-checkbox_label {
    color: var(--console-titles)
}

.detail_main-info__text {
    color: var(--console-text-color);
}

.detail_main-info__img {
    background: transparent;
}

.partnerDetail_missingLogo-icon {
    font-size: 100px;
    color: gray;
}

.svg_details,
.svg_edit {
    fill: var(--console-edit-and-details-icon);
}

.svg_delete {
    fill: #a5dc86;
}

.svg_device-status {
    width: 25px;
}

.device-status__online {
    fill: var(--console-device-online-icon) !important;
    color: var(--console-device-online-icon) !important;
}

.device-status__offline {
    fill: var(--console-device-offline-icon);
    color: var(--console-device-offline-icon);
}


.hac_collapse-icon {
    fill: lightgray;
}


.user-email {
    color: var(--console-user-email) !important;
}

.changepass__text {
    color: var(--console-change-password)
}

/*//GRID*/

.grid-2 {
    display: grid;
    grid-template-columns: repeat(2,1fr)
}
/*/////////// override bootstrap btn ///////////*/
/* Sticky footer styles
-------------------------------------------------- */
html {
    font-size: 14px;
}

html, body {
    height: 100%;
}

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

.container-fluid {
    height: 100% !important;
    overflow: auto;
}

.main-row {
    height: 100% !important;
    flex-wrap: nowrap !important;
}

.footer {
    position: relative !important;
}

.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%;
}


.footer {
    position: absolute;
    bottom: 0;
    width: 100%;
    white-space: nowrap;
    /* Set the fixed height of the footer here */
    height: 60px;
    line-height: 60px; /* Vertically center the text there */
}

.tbl-header {
    display: flex;
    align-items: center;
    margin-top: 30px;
}

.tbl-title {
    flex: 1;
}

.pagination li span,
.pagination li a {
    color: var(--console-pagination-number);
    float: left;
    padding: .5rem .75rem;
    text-decoration: none;
    border: 1px solid #dee2e6;
    background-color: var(--console-non_active-pagination-bg);
    line-height: 1.25;
}

.pagination li.active span {
    z-index: 1;
    color: #fff;
    background-color: var(--console-pagination-bg);
    border-color: currentColor;
    cursor: pointer;
}

.pagination li:hover:not(.active) {
    background-color: #ddd;
}

.pagination li:first-child {
    border-top-left-radius: 5px;
    border-bottom-left-radius: 5px;
}

.pagination li:last-child {
    border-top-right-radius: 5px;
    border-bottom-right-radius: 5px;
}

.fit-image {
    max-width: 100%;
    object-fit: cover;
}


/*.appsUpdater {
    display: none;
}*/

.img-container-cell {
    width: 200px;
}

    .img-container-cell img {
        width: 100%;
        height: 30px;
        object-fit: contain;
    }

.navbar {
    background: var(--console-bg);
    box-shadow: 0 0.25rem 0.75rem var(--console-shadow) !important;
}

/*////////HAC Tables//////////*/

div.table {
    background: transparent;
}

.table {
    background: var(--console-items-bg);
}

.tbl-title {
    color: white;
}

.table tbody tr td {
    color: var( --console-text-color);
}

.table-bordered thead th,
.table-bordered thead td {
    color: var(--console-text-color);
}

.table-bordered th,
.table-bordered td {
    border: 1px solid var(--console-table-border) !important;
}

.table-delete_edit-btn {
    vertical-align: middle !important;
}

.table-icons {
    display: flex;
    justify-content: center;
}

.table-icon {
    width: 20px;
    height: 20px;
    cursor: pointer;
    fill: var(--console-table-btn-color);
}

.table-icon-btn {
    width: 25px;
    height: 25px;
    background: radial-gradient(115.92% 157.43% at 0% -11.13%, #454655 0%, #2B2C3A 100%);
    box-shadow: 0px 10px 15px rgb(0 0 0 / 20%);
    border-radius: 5px;
    padding: 5px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
}

.table-icons > .table-icon-btn:not(:last-child) {
    border-right: 1px solid gray;
    margin-right: 15px;
    padding-right: 15px;
}

/*CONSOLE LOG SIDEBAR*/


.hello-two-logo {
    width: 150px;
}


.table-bordered {
    box-shadow: 0px 0px 17px 0px var(--console-shadow);
}

/*CONSOLE FRONT*/

.console-front {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
}

.console-front__title {
    font-size: 75px;
    font-weight: bold;
    line-height: 1;
    color: var(--console-table-title);
}

.console-front__box {
    margin-right: 140px;
}

.console-front__img {
    width: 25%;
}

.console-front__text {
    font-size: 24px;
    font-weight: 300;
    margin: 25px 0 50px;
    color: var(--console-text-color);
}

.console-front__btn {
    text-decoration: none;
    padding: 20px 30px;
    background: #24365a;
    border-radius: 5px;
    color: white !important;
    display: inline-flex;
    font-size: 23px;
    font-weight: 300;
    cursor: pointer;
    box-shadow: var(--continue-acc-btn-shd);
}

    .console-front__btn:hover {
        color: white;
        text-decoration: none;
    }

.console-front-copyright {
    position: absolute;
    bottom: 0;
    color: lightgrey;
}
/*LOGIN POPUP*/
.modal-body {
    margin: 20px 40px;
}

.modal-content {
    border-radius: 7px !important;
    background: var(--console-modal-bg);
}

.modal-header button {
    color: var(--console-modal-btn)
}

.modal-body button {
    margin-bottom: 10px;
}

.login_label {
    color: var(--console-text-color);
}

.login__btn {
    color: white !important;
    padding: 10px 50px !important;
    border-radius: 6px;
    display: inline-block;
    background: #24365a;
    cursor: pointer;
}

/*/////////////////////
   Manage your account
////////////////////*/

.mng-acc_title {
    color: var(--console-table-title);
}

.mng-acc_subtitle {
    color: var(--console-subtitle);
}


/*////////Specific chart///////////*/
.device-flavour {
    width: calc(490px * 2) !important;
}

.console-info {
    margin-right: auto;
    width: 220px;
}


.costum-link {
    background: var(--costum-link-bg) !important;
    color: var(--console-text-color) !important;
    font-weight: bold;
    font-size: 25px;
    padding: 0;
}

.chosen-single,
.chosen-choices,
.custom-select {
    background: var(--console-form-bg) !important;
    color: var(--console-text-color) !important;
}


.form-control:focus,
.form-control[readonly],
.form-control,
.custom-file-label {
    background: var(--console-form-bg);
    color: var(--console-text-color);
}

    .form-control:disabled {
        background: var(--console-disable-input-bg)
    }


    .form-control:focus,
    .form-control[readonly],
    .form-control,
    .chosen-search-input,
    .custom-select,
    .chosen-single {
        padding: 13px 10px !important;
        height: auto !important;
    }


        .custom-select::placeholder,
        .form-control::placeholder {
            color: var(--console-input-placeholder) !important;
        }

.form-label {
    font-weight: bold;
    font-size: 25px;
}


.users_search--input {
    padding: 10px 10px;
    height: auto;
    background: var(--console-form-bg);
    color: var(--console-text-color);
    border: 1px solid #ced4da;
    border-radius: 0.25rem;
}

.users_search {
    margin-bottom: 20px;
    border: none;
    display: flex;
    background-color: transparent;
    justify-content: center;
    padding: 0;
}

.input-not-valid {
    border: 1px solid red !important;
}

.hac_create-edit_loader {
    position: fixed;
    width: calc(100% - 10rem);
    height: 100%;
    background: rgba(0,0,0, .5);
    z-index: 99;
    display: none;
    justify-content: center;
    align-items: center;
    margin-left: -1.5rem;
    user-select: none;
}

    .hac_create-edit_loader.show {
        display: flex;
    }
/* costum switchbox */
.form__radio-group {
    width: 100%;
    margin-top: auto;
    position: relative;
}

    .form__radio-group:after {
        content: '';
        position: absolute;
        display: block;
        width: 90%;
        height: 1px;
        background: rgba(255,255,255, .18);
        top: 0;
        right: 0;
        left: 0;
        margin: auto;
    }

.form__radio-input {
    display: none;
}

.form__radio-label {
    cursor: pointer;
    position: relative;
    display: flex;
    align-items: center;
    font-size: 14px;
    color: white;
    text-transform: uppercase;
    justify-content: center;
    margin-bottom: 0;
    margin: 10px 0;
    user-select: none;
}

.form__radio-button {
    height: 30px;
    width: 50px;
    border: 5px solid var(--console-switch-theme);
    background: var(--console-switch-theme);
    border-radius: 10px;
    display: inline-block;
    position: relative;
    left: 0;
    margin-right: 10px;
}

.form__radio-button-inner {
    height: 100%;
    width: 50%;
    position: absolute;
    top: 0;
    background-color: white;
    border-radius: 5px 0 0 5px;
    transition: all .2s;
}

.form__radio-input:checked ~ .form__radio-label .form__radio-button-inner {
    transform: translateX(100%);
    border-radius: 0 5px 5px 0;
}

.device_flavour--border {
    border: 1px solid var(--console-table-border) !important;
}

.edit-device_flavour {
    color: var(--console-table-title);
}

.edit-flavour_label {
    color: var( --console-text-color);
}


/*//////////////////////////////////////////
  Overwriting for Boostrap Chosen (v1.8.7) 
//////////////////////////////////////////*/

.chosen-container {
    position: relative;
    width: 100% !important;
}

#DevicesList_chosen {
    width: 100% !important;
}

.chosen-container .chosen-drop {
    top: auto !important;
    bottom: 40px !important;
    border: none !important;
    color: var(--console-text-color);
}

.chosen-choices:focus .chosen-container .chosen-drop {
    border: none;
}

.form-group .chosen-container-active .chosen-choices .search-field input[type="text"] {
    color: var(--console-text-color) !important;
}
/*///////////////////////////
  Overwrite for SweetAlert2
///////////////////////////*/
.swal2-shown body.swal2-height-auto {
    height: 100% !important;
}

.swal2-popup {
    background: var(--console-bg) !important;
    border: 1px solid rgba(255,255,255,.3) !important;
}

.swal2-content {
    color: rgba(255,255,255,.8) !important;
}

.swal2-icon.swal2-info {
    border-color: dodgerblue !important;
    color: #3fc3ee;
}

.swal2-title {
    color: white !important;
}
/*///////////////////////////
  Select2 Overwrite
///////////////////////////*/
.select2-container--default .select2-selection--multiple,
.select2-container .select2-selection--single {
    min-height: 50px;
    display: flex;
    align-items: center;
    background: var(--console-form-bg);
}

.select2-container--default.select2-container--disabled .select2-selection--single {
    background: #272730;
    cursor: default;
}

.select2-container--default .select2-search--inline .select2-search__field {
    margin: 0;
}

.select2-container--default.select2-container--focus .select2-selection--multiple {
    border: 1px solid #aaa;
    border-radius: 4px;
}

.select2-container--default .select2-selection--multiple .select2-selection__clear {
    color: white;
}

input.select2-search__field {
    background: var(--console-items-bg);
    color: var(--console-text-color);
}

.select2-dropdown {
    background-color: var(--console-items-bg) !important;
}

.select2-results__option--highlighted[aria-selected] {
    background: gray !important;
    color: rgba(255,255,255, 0.5) !important;
}

.select2-results__option[aria-selected=true] {
    background: gray !important;
    color: rgba(255,255,255, 0.75) !important;
}

.select2-results__option,
.select2-container--default .select2-selection--single .select2-selection__rendered {
    color: var(--console-text-color);
}

.select2-results__options {
    scrollbar-width: thin;
}

    .select2-results__options::-webkit-scrollbar {
        width: 10px;
    }

    .select2-results__options::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    .select2-results__options::-webkit-scrollbar-thumb {
        background: #888;
    }

        .select2-results__options::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

    .select2-results__options::-webkit-scrollbar-track-piece {
        background-color: lightgray;
    }


.select2-selection__arrow::after {
    content: url("data:image/svg+xml; utf8, <svg fill='lightgray' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' x='0px' y='0px' width='10px' height='10px' viewBox='0 0 451.847 451.847' style='enable-background:new 0 0 451.847 451.847;' xml:space='preserve'> <g> <path d='M225.923,354.706c-8.098,0-16.195-3.092-22.369-9.263L9.27,151.157c-12.359-12.359-12.359-32.397,0-44.751   c12.354-12.354,32.388-12.354,44.748,0l171.905,171.915l171.906-171.909c12.359-12.354,32.391-12.354,44.744,0   c12.365,12.354,12.365,32.392,0,44.751L248.292,345.449C242.115,351.621,234.018,354.706,225.923,354.706z'/> </g> </svg>");
    display: block;
    width: 22px;
    height: 10px;
}

.select2-container--default.select2-container--open .select2-selection--single .select2-selection__arrow::after {
    transform: rotate(180deg);
    transform-origin: 24% 100%;
}

.select2-selection__arrow > b {
    display: none;
}

.select2-container--default .select2-selection--single .select2-selection__arrow {
    top: 12px !important;
}
/*//////////////////////
    SET PASSWORD PAGE
//////////////////////*/
.setpass_bg {
    background: var(--console-bg);
}

.setpass_from-container {
    background: var(--console-items-bg);
    border-radius: 3px;
    padding: 50px 70px;
    box-shadow: 14px 10px 12px 0px #22222d;
}

    .setpass_from-container h2 {
        color: #d3d3d3;
    }

    .setpass_from-container form div label {
        color: #8b9196;
    }

/*///////////////////////////
     Custom scrollbar
///////////////////////////*/


/* This is needed for Firefox*/
.hac_scrollbar {
    scrollbar-width: thin;
}

    /* width */
    .hac_scrollbar::-webkit-scrollbar {
        width: 10px;
    }

    /* Track */
    .hac_scrollbar::-webkit-scrollbar-track {
        background: #f1f1f1;
    }

    /* Handle */
    .hac_scrollbar::-webkit-scrollbar-thumb {
        background: #888;
    }

        /* Handle on hover */
        .hac_scrollbar::-webkit-scrollbar-thumb:hover {
            background: #555;
        }

    .hac_scrollbar::-webkit-scrollbar-track-piece {
        background-color: lightgray;
    }


/*/// LOADER ////*/

#hacLoader {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
}

    #hacLoader > svg {
        width: 100px;
        height: 100px;
    }

        #hacLoader > svg > circle {
            fill: var(--console-loader);
        }


/*/////////////////////////
 FirstPage = USER INFO 
/////////////////////////*/
.firstLetter {
    color: gray;
    font-size: 18px;
    margin-bottom: 0;
    font-weight: bold;
    width: 35px;
    height: 35px;
    background: lightgray;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
}

.user-info_container {
    margin-right: 10px;
    line-height: 1;
}

.nav_user-name {
    font-size: 17px;
}

.nav_user-role {
    text-align: center;
    font-size: 14px;
}

.nav_right-side_list,
.nav_user-role,
.nav_user-name {
    margin: 0;
}

.hidden_nav-sub_menu,
.nav_right-side_list {
    list-style: none;
}

.sidebar-userinfo {
    cursor: pointer;
}

    .sidebar-userinfo > svg {
        align-self: flex-start;
        margin: 5px 7px;
        width: 13px;
    }

.nav-sub_menu {
    position: absolute;
    display: none;
    z-index: 999999;
    background: #32323E;
    width: 220px;
    top: 57px;
    right: 30px;
    border: 1px solid rgba(255,255,255, .4);
    border-top: 1px solid transparent;
}

.hidden_nav-sub_menu {
    display: flex;
    flex-direction: column;
}

    .hidden_nav-sub_menu > li:not(:last-child) {
        border-bottom: 1px solid rgba(211, 211, 211, .2);
    }


.hidden_nav-sub_menu-icon {
    color: rgba(211, 211, 211, 0.6);
    margin-right: 10px;
}

.hidden_nav-sub_menu-li.active_section {
    background: transparent;
    border-left: transparent;
}


.hidden_nav-sub_menu-link {
    display: flex;
    color: rgba(211, 211, 211, 0.75);
    padding: 9px 15px;
}

    .hidden_nav-sub_menu-link:hover,
    .hidden_nav-sub_menu-link:hover .hidden_nav-sub_menu-icon {
        color: rgb(211, 211, 211);
        text-decoration: none;
    }

.hidden_nav-sub_menu > svg {
    width: 25px;
    position: absolute;
    top: -11px;
    left: 45%;
    fill: #32323E;
}

.logout-btn {
    border: transparent;
    background: transparent;
}

    .logout-btn:focus {
        outline: none;
    }

.hac-btn {
    border: 1px solid rgba(30, 144, 255, .6) !important;
    background: transparent !important;
    color: white !important;
}

    .hac-btn > svg {
        fill: white;
        margin-left: 10px;
    }

    .hac-btn:hover,
    .hac-btn.submit-authorization-code:hover {
        color: rgba(255,255,255, .7) !important;
        border: 1px solid rgb(36, 154, 255) !important;
        background: rgba(30, 144, 255, .3) !important;
        transition: all .2s ease-in;
    }

    .hac-btn:disabled {
        background: inherit !important;
        border: 1px solid rgba(30, 144, 255, .6) !important;
        color: rgba(255,255,255, .65) !important;
    }

    .hac-btn:focus {
        outline: 0 !important;
        box-shadow: none !important;
    }


.flex {
    display: flex;
}

.right-align-content {
    justify-content: flex-end;
}

.left-align-items {
    align-items: flex-start !important;
}

.right-align-items {
    align-items: flex-end !important;
}

.flex-align-center {
    align-items: center;
}

.flex-justify-center {
    justify-content: center;
}

.flex-space-between {
    justify-content: space-between;
}


@media only screen and (max-width: 1440px) {

    .overview-svg {
        width: 100% !important;
        height: 100%;
    }
}

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