/* -----------------------------------------------------------------------------
#  NetAlertX
#  Open Source Network Guard / WIFI & LAN intrusion detector
#
#  app.css - Front module. CSS styles
#-------------------------------------------------------------------------------
#  Puche 2021 / 2022+ jokob             jokob@duck.com                GNU GPLv3
----------------------------------------------------------------------------- */

/* -----------------------------------------------------------------------------
   Global Variables
----------------------------------------------------------------------------- */
:root {
    --color-aqua: #00c0ef;
    --color-lightblue: #3c8dbc;
    --color-blue: #0060df;
    --color-green: #00a65a;
    --color-yellow: #f39c12;
    --color-red: #dd4b39;
    --color-gray: #8c8c8c;
    --color-black: #000;
}

.input-group .checkbox
{
    margin-left: 5px;
}

h5
{
    font-size: medium;
}

a[target="_blank"] {
    position: relative;
    display: inline-block; /* Needed for positioning */
    padding-right: 0.6em;    /* Space for the icon */
  }

  a[target="_blank"]::after {
    content: '↗';
    position: absolute;
    top: 0;
    right: 0;
    font-size: 0.75em;
    line-height: 1;
  }

  .select2 .hover-node-info::after {
    padding-left: 1px ;
  }

  /* .node-standard-device .netNodeText::after
  {
    right: -7px;
    top: 1px;
  } */

/* .select2-container--default .select2-selection--multiple .select2-selection__choice
{
    padding-right: 15px !important;
} */

.hoverHighlight
{
    opacity: 0.7;
}
.hoverHighlight:hover
{
    opacity: 1;
}

[data-is-valid="0"] {
    /* border: 1px solid red;  */
    background-color: #ff4b4b !important;
}

/* -----------------------------------------------------------------------------
   Helper Classes
----------------------------------------------------------------------------- */

.pointer
{
    cursor: pointer;
}

.question
{
    cursor: help;
}

.alignRight
{
    text-align: end;
    float: inline-end;
}


/* -----------------------------------------------------------------------------
   Text Classes
----------------------------------------------------------------------------- */
.logs
{
  color:white;
  background-color: black;
  font-family: 'Courier New', monospace;
  font-size: .85em;

}
.logs-row textarea
{
    width: 100%;
}
#tab_Logging .actions{
    display:contents;
    position: relative;
    padding: 0.4em

}

#tab_Logging .actions .toggle{

    margin: 0.5em;
    height: 3em;
}

.logs-row .button{
    margin: 2px;
}
.logs-row
{
    align-content: center;
    width: 100%;
    margin: 5px;
}
.logs-size
{
    font-size: 14px;
}
.log-area
{
    padding: 3px;
    width:100%;
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #606060;
}
.logs-small
{
    height: 150px;
}
.log-file
{

    font-size: 20px;
}
.log-purge
{
    width: 90px;
    float:right;
}
.span-padding
{
    padding:10px;
}
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.text-white {
    color: white;
}

.text-gray50 {
    color: #808080;
}

.text-gray-20 {
    color: rgba(192, 192, 192, 20%);
}

.text-aqua-20 {
    color: rgba(0, 192, 239, 20%);
}

.text-green-20 {
    color: rgba(0, 166, 90, 20%);
}

.text-yellow-20 {
    color: rgba(243, 156, 18, 20%);
}

.text-red-20 {
    color: rgba(221, 75, 57, 20%);
}

.no-border {
    border: none;
}

@media (min-width: 768px) {

    .hideOnBigScreen{
        display: none;
    }
}

@media (max-width: 767px) { /* on mobile */

    .hideOnMobile{
        display: none;
    }
}


/* -----------------------------------------------------------------------------
   Main Sections
----------------------------------------------------------------------------- */
.content-header h1{
    font-size:24px;
}

.content-header {
    padding-top: 5px;
}

.content-header>.breadcrumb {
    background: transparent;
}

.content {
    padding-bottom: 0px;
}

.box-body {
    padding-top: 0px;
    padding-bottom: 0px;
}

.main-footer {
    padding: 5px;
    color: gray;
}

.header-server-time
{
    padding:8px;
    color: white;
}

.header-status
{
    padding:0px;
}
.header-status:hover
{
    background-color: rgba(0, 0, 0, 0);
}

.unread-notifications-bell
{
    position: absolute;
    top: 3px;
    margin-left: 15px;
    display: none;

}

.navbar-custom-menu .bg-yellow
{
    color: white !important;
}

.header-status-locked-db
{
    width: 25px;
    height: 25px;
    color: red;
    position: absolute;
    top: 12px;
    right: -17px;
    display: none;
}

.navbar-nav > li > a
{
    line-height: 30px;
}

body
{
    background-image: url('../img/background.png');
}

/* -----------------------------------------------------------------------------
   Customized Main Menu
----------------------------------------------------------------------------- */

.NetAlertX-logo
{
    border-color:transparent !important;
    height: 50px !important;
    width: 50px !important;
    margin-top:15px !important;
    border-radius: 1px !important;
}

.main-header .logo {
    width: 150px;
}


.navbar-nav > .user-menu .user-image
{
  margin-top: 3px;
}

.main-header>.navbar {
    margin-left: 150px;
}

.main-sidebar,
.left-side {
    width: 150px;
}

.content-wrapper,
.right-side,
.main-footer {
    margin-left: 150px;
}


@media (max-width: 767px) {
    .main-header .logo {
        width: 100%;
        display:none;
    }

    .main-header .navbar {
        margin: 0;
    }

    .content-wrapper,
    .main-footer {
        margin-left: 0px;
    }
    .fixed .content-wrapper, .fixed .right-side {
        padding-top: 50px;
    }
    .main-sidebar {
        padding-top: 50px;
    }
    .content-header #pageTitle{
        display: none;
    }
}

.sidebar-open .content-wrapper,
.sidebar-open .main-footer {
    -webkit-transform: translate(150px, 0);
    -ms-transform: translate(150px, 0);
    -o-transform: translate(150px, 0);
    transform: translate(150px, 0)
}

.skin-yellow-light .sidebar-menu>li>a:hover {
    background: #f0f0f0;
    border-left-color: rgb(243, 156, 18);
}

.skin-yellow-light .sidebar-menu>li.active>a {
    background: #e0e0e0;
    border-left-color: rgb(243, 156, 18);
}

/* -----------------------------------------------------------------------------
   Customized Boxes
----------------------------------------------------------------------------- */
.box-transparent {
    position: relative;
    margin-bottom: 20px;
    width: 100%;
}

.networkTable .nav-tabs-custom
{
    margin-bottom: 0px;
}

.plugin-content #tabs-location .nav-tabs-custom > .nav-tabs > li
{
    display: contents;
}

.plugin-content .left-nav
{
    display: contents;
}

.pa-small-box-2 .inner h3 {
    margin-left: 0em;
    margin-bottom: 1.3em;
}

.pa-small-box-footer {
    color: white !important;
    font-size: 18px;
}

/* -------------------------------------------------------------------------- */
.pa-small-box-aqua {
    /* border-top: 3px solid #00c0ef; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pa-small-box-aqua .inner {
    color: #00c0ef;
    background-color: #FFFFFF;
}

.pa-small-box-aqua .inner h3 {
    margin-left: 0.5em;
}

.pa-small-box-aqua .icon {
    color: #00c0ef;
}

/* -------------------------------------------------------------------------- */
.pa-small-box-green {
    /* border-top: 3px solid #00a65a; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pa-small-box-green .inner {
    color: #00a65a;
    background-color: #FFFFFF;
}

.pa-small-box-green .inner h3 {
    margin-left: 0.5em;
}

.pa-small-box-green .icon {
    color: #00a65a;
}

/* -------------------------------------------------------------------------- */
.pa-small-box-yellow {
    /* border-top: 3px solid #f39c12; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pa-small-box-yellow .inner {
    color: #f39c12;
    background-color: #FFFFFF;
}

.pa-small-box-yellow .inner h3 {
    margin-left: 0.5em;
}

.pa-small-box-yellow .icon {
    color: #f39c12;
}

/* -------------------------------------------------------------------------- */
.pa-small-box-red {
    /* border-top: 3px solid #dd4b39; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pa-small-box-red .inner {
    color: #dd4b39;
    background-color: #FFFFFF;
}

.pa-small-box-red .inner h3 {
    margin-left: 0.5em;
}

.pa-small-box-red .icon {
    color: #dd4b39;
}

/* -------------------------------------------------------------------------- */
.pa-small-box-gray {
    /* border-top: 3px solid #a0a0a0; */
    box-shadow: 0 5px 5px rgba(0, 0, 0, 0.1);
}

.pa-small-box-gray .inner {
    color: #a0a0a0;
    background-color: #FFFFFF;
}

.pa-small-box-gray .inner h3 {
    margin-left: 0.5em;
}

.pa-small-box-gray .icon {
    color: #a0a0a0;
}

/* -----------------------------------------------------------------------------
   Customized Box Borders
----------------------------------------------------------------------------- */
/* .box.box-aqua {
    border-top-color: #00c0ef;
}

.box.box-green {
    border-top-color: #00a65a;
}

.box.box-yellow {
    border-top-color: #f39c12;
}

.box.box-red {
    border-top-color: #dd4b39;
} */

/* -----------------------------------------------------------------------------
   Custom Border
----------------------------------------------------------------------------- */
.bottom-border-aqua {
    border-bottom-color: #00c0ef;
    border-bottom-style: solid;
    border-bottom-width: 3px
}

.bottom-border-primary {
    border-bottom-color: var(--color-lightblue);
    border-bottom-style: solid;
    border-bottom-width: 3px
}

/* -----------------------------------------------------------------------------
   Customized Tabs
----------------------------------------------------------------------------- */
.nav-tabs-custom {
    background: transparent;
}

.nav>li>a {
    position: relative;
    display: block;
    padding: 10px 10px;
}

/* -----------------------------------------------------------------------------
   Customized Menu dropdown
----------------------------------------------------------------------------- */
.dropdown-menu {
    max-height: 250px;
    overflow-x: hidden;
    box-shadow: 0px 3px 20px rgba(0, 0, 0, 0.2);
}

/* -----------------------------------------------------------------------------
   Default Table config
----------------------------------------------------------------------------- */
.table>tbody>tr>td {
    padding: 4px;
}

.table-hover tbody tr:hover td,
.table-hover tbody tr:hover th {
    background-color: #FFFFD0;
}

.dataTables_info,
.dataTables_paginate,
.dataTables_length,
.dataTables_filter {
    color: #B0B0B0;
}

/* -----------------------------------------------------------------------------
   Customized buttons
----------------------------------------------------------------------------- */
.pa-btn {
    padding: 10px;
    min-width: 90px;
}

.pa-btn-delete {
    border-color: #ffb060;
    background-color: #ffd080;
}

.pa-btn-delete:hover {
    border-color: #ffb060;
    background-color: #ffb060;
}

.pa-btn-records,
.pa-btn-records:hover,
.pa-btn-records:focus,
.pa-btn-records:active {
    border-color: #ddd;
    background-color: #f4f4f4;
    cursor: default;
}

.btn-outline:hover
{
  border: 1px solid var(--color-black);
  background: transparent;
  color: var(--color-black);
}

.btn-outline
{
  border: 1px solid var(--color-gray);
  background: transparent;
  color: var(--color-gray);
}

/* -----------------------------------------------------------------------------
   Customized Full Calendar
----------------------------------------------------------------------------- */
.fc h2 {
    font-size: 20px;
}

.fc-weekend {
    background-color: #FFF0E0;
}

.fc-normaldays {
    background-color: #FF0000;
}

.fc-sat {
    background-color: #FFF0E0;
}

.fc-sun {
    background-color: #FFF0E0;
}

.fc-resized-row {
    height: 26px !important;
}

.fc-transparent-border {
    border-Color: transparent !important;
}

.tooltip-inner {
    background-color: #606060;
    color: White;
}

.tooltip.right .tooltip-arrow {
    border-right: 5px solid #606060;
}

.fc-ltr .fc-time-grid .fc-event-container {
  margin: 0 2.5% 0 0px !important;
}

/* -----------------------------------------------------------------------------
   Notification float banner
----------------------------------------------------------------------------- */
.notification_modal {

    text-align: center;
    left: 0;
    right: 0;
    width: 80%;
    z-index: 9999;
    position: fixed;
    top: 100px;
    display: none;
    margin-left: auto;
    margin-right: auto;
}

.modal_green
{
    color: #258744;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.modal_red
{
    color: #d41001;
    background-color: #e2acaa;
    border-color: #d41001;
}

.modal_grey
{
    color: white;
    background-color: darkgrey;
    border-color: #000000;
}

/* ticker setup */
.ticker-li
{
    width: 40%;
}

#ticker_announcement_plc
{

    /* height: 50px; */
    overflow: hidden;
    width: 65%;
    position: absolute;
    left: 40px;
    top: 15px;
}

@media (max-width: 1500px) and (min-width: 1101px) {
    #ticker_announcement_plc {
        width: 45%; /* Width for screen sizes between 1100px and 730px */
    }
}

@media (max-width: 1100px) and (min-width: 801px) {
    #ticker_announcement_plc {
        width: 30%; /* Width for screen sizes between 1100px and 730px */
    }
}

@media (max-width: 800px) {
    #ticker_announcement_plc {
        width: 25%; /* Width for screen sizes less than 730px */
    }
}

#ticker-message a
{
    color:#3200bb;
    text-decoration: underline;
}

#ticker-message
{
    color:#FFFFFF;
}

#ticker_announcement_plc:hover .ticker_announcement {
    animation-play-state: paused;
  }

@keyframes marquee {
    0% {
      transform: translateX(100%);
    }
    100% {
      transform: translateX(-150%);
    }
  }

.ticker_announcement {
    text-align: center;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
    cursor: default;
}

/* maintenance buttons */

#file-check-list{
    display: block;
}

.file-checking .icon-wrap{
    width: 200px;
    overflow: hidden;
    text-overflow: ellipsis;
    display: block;
}

.file-checking .icon-wrap i{
    position: absolute;
    font-size: xx-large;
    right: 0;
    top: 0;
    opacity: 0.2;
}

.file-checking .file-name-wrap{
    overflow: hidden;
    text-overflow: ellipsis;
    display: flex;
    padding: 5px;
}

.file-checking{
    display: block;
    overflow: hidden;
    text-overflow: ellipsis;
}


.dbtools-button {
    display: inline-block;
    width: 160px;
    height: 60px;
    white-space: normal;
    word-wrap: break-word;
    font-size: 16px;
    padding: 4px;
}

.db_info_table_cell:nth-child(1) {
    background: white
}

.db_info_table_cell:nth-child(2) {
    background: white
}

.db_tools_table_cell_a:nth-child(1) {
    background: white
}

.db_tools_table_cell_a:nth-child(2) {
    background: white
}
.db_tools_table_cell_b:nth-child(1) {
    background: white
}

.db_tools_table_cell_b:nth-child(2) {
    background: white
}
.db_info_table {
    display: table;
    border-spacing: 0em;
    font-weight: 400;
    font-size: 15px;
    width: 100%;
    margin: auto;
}

.db_info_table_row {
    display: table-row;
    padding: 3px;
}

.db_info_table_cell {
    display: table-cell;
    padding: 3px;
    padding-left: 10px;
}

.db_tools_table_cell_a {
    display: table-cell;
    text-align: center;
    padding: 10px;
    min-width: 180px;
    width: 20%;
    vertical-align: middle;
}
.db_tools_table_cell_b {
    display: table-cell;
    text-align: justify;
    font-size: 16px;
    vertical-align: middle;
    padding: 10px;
}

.ajax_scripts_loading {
background-image: url('../img/Loading_Animation.gif');
background-repeat: no-repeat;
background-position: center;
height: 50px;
}

.nav-tabs-custom .tab-content {
  background-color: white;

}

@media (max-width: 767px) {
    .nav-tabs-custom .tab-content {
        overflow: scroll;
      }
}

.top_small_box_gray_text {
  color: white !important;
}

.bg-gray {
    background-color: #b2b6be !important;
}

.infobox_label {
    font-size: 16px !important;
}

.deviceSelector
{
    display: block;
}

.deviceSelector  input
{
    width: 100% !important;
    display: inline-grid;
}

/* --------------------------------------------------------- */
/*                         Presence                          */
/* --------------------------------------------------------- */
.presencenceKey
{
    float: right;
}

.presenceOnlineNow{
    background-color: var(--color-green);
}

.presenceOnlinePast{
    background-color: var(--color-blue);
}

.presenceOnlinePastMiss{
    background-color: var(--color-yellow);
}

.presenceKeyBoxes
{
    width: 10px;
    height: 10px;
    display: inline-block;
    /* background: #fff; */
    opacity: .75;
}

/* --------------------------------------------------------- */
/*                         report                            */
/* --------------------------------------------------------- */

#notificationData
{
    margin-bottom: 10px;
}

#notifications .notification-buttons{
    margin: 10px;
    padding: 10px;
}
#notifications .notification-box{
    min-height: 90vh;
}


#notificationData textarea{
    width: 100%;
}

#notificationData pre {outline: 1px solid #ccc; padding: 5px; margin: 5px; }
.string { color: green; }
.number { color: darkorange; }
.boolean { color: blue; }
.null { color: magenta; }
.key { color: red; }

/* --------------------------------------------------------- */
/*                          settings                         */
/* --------------------------------------------------------- */

@media (max-width: 767px) { /* on mobile */
    /* hide on mobile */
    .setting_description {
      /* color: red; */
      display: none;
    }
    /* .setting_input{
        width:70%;

    }
    .setting_name
    {
        width:30%;
    } */
  }

@media (min-width: 768px) {
.setting_description {
    /* color: green; */
    display: block;
}
/* .setting_input{
    width:40%;

}
.setting_name
{
    width:19%;
} */
}

/* Hide unusable buttons on the settings page for the NEWDEV plugin*/
#settingsPage #add_option_NEWDEV_devGroup,
#settingsPage #add_option_NEWDEV_devLocation,
#settingsPage #add_option_NEWDEV_devOwner,
#settingsPage #copy_icons_NEWDEV_devIcon,
#settingsPage #add_icon_NEWDEV_devIcon,
#settingsPage #add_option_NEWDEV_devSite,
#settingsPage #add_option_NEWDEV_devType
{
    display: none;
}



#settingsPage
{
    display: grid;
}


#settingsPage .small-box .inner .card-title {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: white;
}


.settingswrap
{
    margin-bottom: 100px;
}

.settingswrap .metadata
{
    display: none;
}

.settingswrap .enabled-disabled-icon
{
    float: right;
}

.padding-bottom
{
    padding-bottom: 100px;
}

.settings-group
{
    font-size: 20px;
    padding-top: 7px;
    padding-bottom: 9px;
}

.overview-section .small-box  .icon
{
    font-size: 38px;
    top:0px;
}


.settings-group i{
    font-size: 16px;
}

.overview-group
{
    font-size: 20px;
    padding-top: 7px;
    padding-bottom: 9px;
    margin-left: -20px;

}

.overview-group i{
    font-size: 16px;
}


#settingsPage .table_row {
    padding: 3px;
    /* width:100%; */
    /* display: flex; */
    border-bottom-width: 1px;
    border-bottom-style: solid;
    border-color: #606060;
}

.table_cell {
    float:left;
    padding: 3px;
    padding-left: 10px;
}



.setting_name
{
   /* width:19%; */
    font-weight: 300;
}


.myhidden
{
    display:none !important;
}

.center
{
    margin: 0;
    position: relative;
    left: 50%;
    -ms-transform: translate(-50%, -50%);
    transform: translate(-50%, -50%);
}

.top-margin
{
    margin-top: 50px;
}

/* Settings */

#settingsPage .overview-setting-value{
    display:unset;

}

.overview-setting-value-wrap
{
    padding-left: 1px;
    text-overflow: clip ;
    overflow: hidden;
}

#settingsPage .small-box
{
    padding-left: 10px;
    padding-right: 10px;
}

#settingsPage .small-box  .inner
{
    padding-left: 0px;
    padding-right: 0px;
}

#settingsPage .panel-title{
    /* display: inline-block; */
    /* width: 120px; */
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.padding-5px
{
    padding: 5px;
}

.text-overflow-hidden
{
    overflow: hidden;
    text-overflow: clip;
}


.settings_content {
    padding: 10px;
    /* background-color: #272c30; */
    margin: 10px;

}
#settingsPage .panel-heading:hover{
    background-color: #272c30;
}

.settings-expand-icon {
    font-size: medium;
    /* background-color: #272c30; */
    margin: 10px;

}

.settings_content input[type=checkbox]
{
    width: auto
}

.override{
    padding: 5px;
}

.override .override-text
{
    float:left;
    width: 80%;
}

.override .override-check
{
    float:left;
    width: 20%;
}

input[readonly] {
    /* Apply styles to the readonly input */
    background-color: #646566 !important;
    color: #e6e6e6;
    cursor: not-allowed;
  }

  .interactable-option:hover::before {
    opacity: 1;
}

  .interactable-option::before {
    content: '1x 📝 | 2x 🚮';
    position: sticky;
    right: 0px;
    top: 0;
    color: white;
    float: right;
    background-color: rgb(0, 0, 0);
    transition: opacity 0.5s;
    opacity: 0.1;
    border-radius: 3px;
}

.interactable-option:hover {
    transition: background-color 2s;
    cursor: pointer;
}

.settingsImportedTimestamp
{
    padding: 25px;
}

.settingsSearchWrap
{
    /* padding:10px; */
    /* display: flex; */
    justify-content: center; /* Centers horizontally */
    align-items: center;     /* Centers vertically */
    /* height: 60px;             */
}

.settings-sticky-bottom-section {
    position: fixed;
    z-index: 999;
    /* background-color: #5B5B66; */
    /* opacity: 0.8; */
    bottom: 30px;
    border-radius: 5px;
    /* margin:1px; */
    /* border-width: 1px;
    border-style: solid;
    border-color: inherit; */
    /* width: 87%; */
    padding: 10px;
  }

  .settings-sticky-bottom-section:hover {
    border-color: #258744;
  }

.settings-sticky-bottom-section .form-group
{
    margin-bottom: 0px;
}

.clear-filter
{
    opacity: 0.5;
    cursor: pointer;
    width: 14px;
    position: absolute;
    right: -6px;
    top: 13px;

}

.clear-filter:hover
{
    opacity: 1;
}

.saveSettingsWrapper button
{
    width:70%;
    /* margin-top:20px; */
    margin-left:15%;
    /* margin-bottom:20px; */
}

#settingsPage .select2-selection
{
    width: initial;
    display: inline-block;
}

#settingsPage  .form-control
{
    min-height: 42px;
}

#settingsPage  .select2-selection
{
    background-color: rgb(96, 96, 96);
}
#settingsPage  .select2-container
{
    width: 100% !important;
}

#settingsPage  .select2-container  .selection
{
    width: 100% !important;
    display: inline-grid;
}


/* Basic style for the div elements */
#settingsPage  .setting_overriden_by_env {
    position: relative;
    /* width: 300px;
    height: 200px; */
    background-color: #f3f3f3;
    border: 1px solid #ccc;
    z-index: 10;
  }

  /* Style for the overlay */
  #settingsPage .setting_overriden_by_env::after {
    content: "Overridden with ENV variable";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6); /* semi-transparent black overlay */
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    font-weight: 700;
    z-index: 11;
  }

/* ----------------------------------------------------------------- */
/*                    Devices page                                   */
/* ----------------------------------------------------------------- */


#columnFilters {
    display: flex;
    flex-wrap: wrap;
    gap: 10px; /* Add spacing between items */
}

.filter-group {
    box-sizing: border-box; /* Ensure padding and borders are included in the width */
    padding: 1em;
    padding-top: 0;
}

.filter-dropdown
{
    width:7em
}

.modal-header .close
{
    display: flex;
}

.modal-title
{
    display: inline;
}

#iconList
{
    padding: 10px;
    padding-bottom:30px;
}

.iconPreviewSelector:hover
{
    backdrop-filter: brightness(50%);
}

.iconPreviewSelector
{
    text-align: center;
    padding: 15px;
    height: 80px;
    margin-bottom: 15px;
}

.iconList
{
    display: flex;
}

.iconColumn
{
    max-height: 25px;
}

.iconPreviewSelector svg
{
    width:40px;
    height: 40px;
}

.iconPreviewSelector i
{
    font-size: 30px;
    height: 40px;
}

.iconPreview {
    min-width: 40px;
    /* display: inherit; */
}

.iconPreview svg{
    min-width: 20px;
    max-width: 20px;
    margin-bottom: -3px;
}


.dummyDevice
{
    text-align: end;
}

#tableDevices .fab
{
    font-size: 1.2em;
}

#tableDevices .fa
{
    font-size: 1.0em;
}

#tableDevices tbody tr
{
    height: 1.5em;
}

.info-icon-nav
{
    top: -6px;
    position: absolute;
    z-index: 1;
    left: 4px;
    font-size: smaller;
}

.drag
{
    cursor: move; /* fallback if grab cursor is unsupported */
    cursor: grab;
    cursor: -moz-grab;
    cursor: -webkit-grab;
}

#settingsPage .select2-container--default .select2-selection--multiple .select2-selection__choice,
#maintenancePage .select2-container--default .select2-selection--multiple .select2-selection__choice
{
    background-color:#258744 !important;
}
.select2-container--default .select2-selection--multiple
{
    background-color:#606060 !important;
}

.select2-container .select2-dropdown
{
    background-color:#606060 !important;
}

.select2-container--default .select2-selection--multiple,
.select2-container--default .select2-selection--single
{
    border-radius: 0px !important;
    border-color: #d2d6de !important;
    min-height: 42px;
}


.helpIconSmallTopRight{
    position: absolute;
    font-size: x-small;
    margin-bottom: 6px;
    margin-left: 3px;
}

.pageHelp{
    position: absolute;
    font-size: x-small;
    margin-bottom: 6px;
}

#tableDevicesBox td svg, #tableDevicesBox td i{
    height: 1em !important;
}

#TileCards .tile .inner
{
    color: white;
}

#dropdownIcon li svg, #dropdownIcon li i, .dropdownIcon li svg, .dropdownIcon li i, .icon-maxsize svg, .icon-maxsize i{
    height: 1.5em !important;
}


#tableDevices .badge i
{
    height: 1em !important;
}

#panDetails .control-label{
    text-align: left;
}

#panDetails .input-group {

    min-height: 40px;
}

#devicePageInfoPlc
{
    display: none;
    padding-top: 2em;
    cursor: default;
}

.small-box:hover
{
    color: inherit;
}

/* ----------------------------------------------------------------- */
/* Device details */
/* ----------------------------------------------------------------- */

.dataTables_length label .form-control, .dataTables_filter label .form-control
{
    float: none;
}


.form-inline .input-group
{
    width: 100%;
}

.input-group .actionIcon
{
    height: 2.4em;
}

.input-group .actionIcon:hover
{
    backdrop-filter: brightness(50%);
    background-color: rgba(0, 0, 0, 0.2); /* darkens the background */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: box-shadow 0.1s ease-in-out, background-color 0.1s ease-in-out;
}

.devicePropAction
{
    width: 1.2em;
    height: 1.2em;
    display: inline-block;
    padding: 0.1em;
    margin: 0.1em;
    /* transition: font-size 0.3s;*/
}

.devicePropAction:hover
{
    font-size: larger;
    padding: 0em;
    margin: 0em;

}


#panDetails .dataTables_wrapper .bottom div
{
    max-width: 34%;
    display: block;
    float:inline-end;
    height: 2em;
}

#panDetails .dataTables_wrapper .bottom .dataTables_info
{
    float:inline-start;
}

#panDetails .dataTables_wrapper .bottom .dataTables_length
{
    padding: 0.3em;
}
/* #panDetails .dataTables_wrapper .bottom .paging_simple_numbers */


#panDetails #NEWDEV_devCustomProps_label
{
    display: none;
}

#deviceDetailsEdit .select2-container--default .select2-selection--multiple .select2-selection__choice a
{
    color: #fff;
}

#deviceDetailsEdit .iconPreview svg
{
    height: 14px;
}

#deviceDetailsEdit .select2-container--default .select2-selection--multiple .select2-selection__choice
{
    height: 20px;
}

#deviceDetailsEdit .select2-container--disabled
{
    background-color: #606060;
}

#deviceDetailsEdit .select2-container--default .select2-selection--multiple .select2-selection__choice span
{
    font-size: 14px;
}

#deviceDetailsEdit .select2-selection
{
    width: initial;
    display: inline-block;
    min-height: 42px;
}

/* Remove the default Select2 chevron (the down arrow) */
.select2-container .select2-selection__arrow b {
    display: none !important;
  }

/* Add custom icon */
.select2-container .select2-selection__arrow::after {
    font-family: 'Font Awesome 6 Free';
    content: "\f078"; /* fa-chevron-down */
    font-weight: 700;
    position: absolute;
    top: 75%;
    left: 30%;
    transform: translate(-50%, -50%);
    pointer-events: none;
  }

.custom-badge a
{
    color: #fff !important;
    font-size: 14px;
}
.custom-badge
{
    border: 1px solid #aaa;
    border-radius: 4px;
    border-style: solid;
    padding: 0 5px;
    font-size: 14px;
    display: inline-block;
}

#deviceDetailsEdit .form-control
{
    min-height: 42px;
}

.select2-selection--single .custom-chip
{
    margin-top: 11px;
    display: flex;
}

.select2-container--default .select2-selection--single .select2-selection__rendered,
.select2-container--default .select2-selection--single, .select2-selection .select2-selection--single
{
    padding: 0px 0px;
    min-height: 42px;
}

/* .select2-container--default .select2-selection--single .select2-selection__rendered, */
.select2-container--default .select2-selection--single
{
    /* color:initial !important; */
    background-color:initial !important;
}


#deviceDetailsEdit .select2-container
{
    width: 100% !important;
}

#deviceDetailsEdit .select2-container  .selection
{
    width: 100% !important;
    display: inline-grid;
}

/* ----------------------------------------------------------------- */
/* MODAL popups */
/* ----------------------------------------------------------------- */
#modal-input-textarea
{
    width: 100%;
}

.modal-field-input
{
    margin: 4%;
    width: 92%;
}

#modal-ok
{
    z-index: 1051; /*highest priority*/
}

#modal-form-plc
{
    display: grid;
}

/* ----------------------------------------------------------------- */
/* NETWORK page */
/* ----------------------------------------------------------------- */

.hide-node-names .node-name {
    display: none;
  }

#toggleFilters
{
    display: block;
    position: fixed;
    padding-left: 32px;
    padding-top: 10px;
    background-color: inherit;
    z-index: 3;
    width: 190px;
    box-shadow: 4px 4px 4px rgba(0, 0, 0, 0.1);
}

/* AdminLTE overrides */
.content-wrapper {
    min-height: calc(100vh - 31px) !important;
}

#networkTree .box
{
    border-width:1px;
    border-top-color:grey;
    padding:0px;
    margin:0px;
    align-items:center;
    border-radius:20px;
    /* width:190px; Don't change, smaller causes line break in network view */
    /* display:flex; */
    flex-direction:column;
    justify-content:center;
    /* display: inline-grid; */
}
.helpIcon
{
    padding: 5px;
    margin-left: 0px;
    top: 47px;
    position: absolute;
    z-index: 5;
}
#networkTree .netNodeText
{
    position: absolute;
}
#networkTree .netPort
{
    float:left;
    display:inline;
    text-align: center;
}

#networkTree .portBckgIcon
{
    opacity: 0.3;
    display: initial;
    float: left;
    width: 1em;
}

#networkTree
{
    margin-left: 16px;
    position: relative;
    width: 100%;
    max-width: 100%;
    overflow: hidden;
}

#networkTree .node-inner {
    font-size: clamp(12px, 1rem, 18px);
}

#networkTree .netNodeText strong,
#networkTree .spanNetworkTree {
    font-size: inherit;
}

#networkTree .netIcon
{
    width: 25px;
    float:left;
    display:inline;
    text-align: center;
}

#networkTree .netIcon svg
{
    height: 1.2em;
    width: auto;
}

#hover-box
{
  background-color: #ffffff;;
}

#hover-box .iconPreview
{
    padding: 0px;
    display: flex;
}

#hover-box .devName
{
    font-size: larger;
    display: contents;
}

#hover-box b
{
    float: left;
}

#hover-box .line
{
    float: left;
    width: 100%;
}

#hover-box span
{
    float: right;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
    max-width: 200px;
}

#networkTree .netCollapse
{
    position: absolute;
    right: 0;
    margin-right: -3px;
}

/* var(--color-aqua);
--color-aqua: #00c0ef;
--color-blue: #0060df;
--color-green: #00a65a;
--color-yellow: #f39c12;
--color-red: #dd4b39; */

#networkTree .node-inner.node-network-device:hover
{
    box-shadow: var(--color-aqua) 0px 0px 20px;
}

#networkTree .node-inner.node-standard-device:hover
{
    box-shadow: var(--color-gray) 0px 0px 10px;
}

#networkTree .network-hw-icon
{
    position: absolute;
    margin-left: -0.4em;
    opacity: 0.3;
    margin-top: 0.1em;
}

#networkTree .highlightedNode
{
    /* border: solid; */
    border-color:var(--color-lightblue);
    box-shadow: var(--color-lightblue) 0px 0px 20px;
}

#networkTree .netStatus-Off-line i,
#networkTree .netStatus-Off-line svg
{
    color: #dd4b39;
}

.spanNetworkTree {
    display: inline-block;
    white-space: nowrap;
    overflow: hidden !important;
    text-overflow: ellipsis;
}

.networkTable .nav-tabs li i, .networkTable .nav-tabs li svg {
    padding: 3px;
    height: 2em !important;
    /* width: 2em !important; */
    position: absolute;
    /* z-index: 10; */
    top: 0.3em;
    /* margin-left: 0.2em; */
}

.networkTable
{
    padding-bottom: 1px;
    z-index: 3;
    position: relative;
}

.networkNodeTabHeaders .icon i
{
    padding-top: 8px !important;
     padding-left: 6px !important;
}

.networkTable .box-body {
    padding-top: 5px;
}

.networkTable .networkNodeTabHeaders a {
    display: block;
    height: 3em;
}

.networkTable .icon {
    /* padding-left:2em; */
    width:2em;
    height:2em;
    float: left;
    /* background-color:red; */
}

.sort-btn {

    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
}

.networkNodeTabHeaders
{
    text-overflow: ellipsis;
    overflow: hidden;
    text-wrap: nowrap;
}



@media (max-width: 767px) {

    .networkNodeTabHeaders .node-name
    {
        display: none;
    }
    .dev-detail-tab-name
    {
        display: none;
    }
}

/* ----------------------------------------------------------------- */
/* EVENTS page */
/* ----------------------------------------------------------------- */

.eventsPeriodSelectWrap{
    display: inline;
    float: right;
}

.eventsPage #tableEventsTitle
{
    float: left ;
}

/* ----------------------------------------------------------------- */
/* PLUGINS page */
/* ----------------------------------------------------------------- */

#tabs-location
{
    padding-right: 0px;
}

.plugin-filters
{
    margin: 7px;
    margin-right: 7px;
    margin-bottom: 9px;
    padding-bottom: 8px;
}

.plugin-content
{
    padding-bottom: 0px;
}

.plugin-content .nav-tabs li a
{
    border-right-width: 0px;
}

#tabs-content-location-wrap
{
    min-height: 90vh;
}

#tabs-content-location textarea {
    width: 100%;
}

.plugin-content .left-nav{
    width: calc(100%);
    padding-right: 0px;
    z-index: 2;
    background-color: inherit !important;
}

.plugin-content #tabs-content-location
{
    margin: 0px;
    padding-top: 0;
}

.integrations-plugins .content
{
    display: table;
    width: 100%;
}

.plugin-content .tab-content
{
    padding-top: 10px;
}

.plugins-description
{
    padding-top: 20px;
}

/*Hidden special button*/

@media (max-width: 365px) {
  #back-button {
    display: none;
  }
}

@media (max-width: 335px) {
  #next-button {
    display: none;
  }
}

@media (max-width: 300px) {
  #reload-button {
    display: none;
  }
}

@media (max-width: 300px) {
  #fullscreen-button {
    display: none;
  }
}

@media (max-width: 500px) {
    .header-server-time {
      display: none;
    }
  }


.textOverflow
{
    white-space: nowrap;        /* Prevent text from wrapping to a new line */
    overflow: hidden;           /* Hide the overflowed text */
    text-overflow: ellipsis;    /* Show ellipsis (...) */
}

.table-stretched
{
    min-width: -moz-available;
    min-width: -webkit-fill-available;
}

.pluginBadge
{
    float: right;
    margin-right: 10px;
    opacity: 0.6;
    margin-top: 4px;
}

.pluginBadgeWrap
{
    float: right;
    display: ruby;
    z-index: 1;
    position: sticky;
    margin-top: 4px;
}

/* -----------------------------------------------------------------------------
   Spin
----------------------------------------------------------------------------- */
#loadingSpinner {
    position: fixed;
    z-index: 1000;
    /* top: 0; */
    /* left: 0; */
    /* width: 100%; */
    /* height: 100%; */
    opacity: 0;
    transition: opacity 0.3s ease-in-out;
    pointer-events: none;
    display: block;
    z-index: 800;
}

.fa-spinner
{
    font-size: initial;
}

#loadingSpinner.visible {
    opacity: 1;
    pointer-events: auto;
}

.nax_semitransparent-panel {
    position: absolute;
    width: 100%;
    height: 100%;
    background-color: #fff;
    opacity: 0.5;
    z-index: 99;
}

.nax_spinner {
    position: absolute;
    top: 100px;
    left: 50%;
    transform: translateX(-50%);
    padding: 15px;
    width: 200px;
    background-color: #fff;
    z-index: 1000;
}


/* Multi-edit adjustements */
.box-header
{
    min-height: 55px;
}

.red-hover-border:hover
{
    border-color: red !important;
    border-width: 1px;
    border-style: solid;

}

.red-hover-background:hover
{
    background-color: red !important;
}

#multi-edit-form .form-group
{
    height: 45px;

}

.top-left-logo
{
    height:35px;
    width:35px;
}

/* -----------------------------------------------------------------------------
   Workflows
----------------------------------------------------------------------------- */
#wf-content-wrapper
{
    display: grid;
}

#workflowContainer
{
    display: grid;
}

#workflowContainerWrap {
    display: grid;
}

#workflowContainerWrap .panel-collapse
{
    padding: 5px;
}

.workflows
{
    max-width: 800px;
}

.workflows .col-sm-12, .workflows .col-sx-12
{
    padding-right: 5px;
    padding-left: 5px;
}

.workflows .add-button-wrap .button-container
{
    padding-bottom: 5px;
    text-align: center;
}

.workflows .actions-list {

    display: block;
}

.workflows .form-group {
    margin-bottom: 7px;
    z-index: 1;
    display: flex;
    opacity: 0.7;
}

.workflows .section-title
{
    padding: 10px;
    font-weight: bolder;
    font-size: large;
}

.workflows .panel, .workflows .box   {
    padding-top: 5px;
    padding-bottom: 5px;

}

.workflows .btn-secondary{
    color: #000;
}

.workflows .button-container
{
    /* display: contents; */
    text-align: center;
    /* width: 100%; */
}

/* .workflows .panel:hover{
    opacity: 1;
}

.workflows .panel{
    opacity: 0.8;
} */

.workflows .bottom-buttons button
{
    margin: 5px;
}

.workflows .button-container
{
    padding-right: 0px !important;
    padding-left: 0px !important;
}

/* .workflows .condition-list button
{
    margin: 2px;
} */

/* .button-container button
{
    width:100%;
} */

.red-hover-text:hover
{
    color: var(--color-red) !important;
}

.green-hover-text:hover
{
    color: var(--color-green) !important;
}

.workflows .bckg-icon-1-line
{
    font-size: 3em;
    display: block;
    position: absolute;
    opacity: 0.1;
    right: 0.1em;
}
.workflows .bckg-icon-2-line
{
    font-size: 6em;
    display: block;
    position: absolute;
    opacity: 0.1;
    right: 0.1em;
}
.workflows .bckg-icon-3-line
{
    font-size: 9em;
    display: block;
    position: absolute;
    opacity: 0.1;
    right: 0.1em;
}


.workflows .remove-condition
{
    z-index: 1;
}

.workflows .workflow-card
{
    display: block;
}

.workflow-card .panel-title
{
    padding: 10px;
}

.workflow-card, .actions-list
{
    display: contents;
    padding: 5px;
    padding-left: 10px;
}

.condition-list
{
    z-index:1;
}

.condition
{
    padding: 5px;
    padding-left: 10px;
}

/* -----------------------------------------------------------------------------
   Floating edit button
----------------------------------------------------------------------------- */
#multiEditPlc
{
    padding-right: 10px;
}


table.dataTable tbody > tr.selected
{
  /* color:red; */
  color: #353c42;
}

/* -----------------------------------------------------------------------------
   Donations
----------------------------------------------------------------------------- */
.donations .box
{
    padding:15px;
    margin-bottom: 0px;
}
.donations .box-header
{
    color:15px;
}
.donations h3
{
    margin-top: 10px;
}
