body {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
    margin: 0;
    padding: 0;
    background-color: #f8f9fa;
}

.minimal {
    font-family: 'Roboto Mono', monospace;
    font-size: 14px;
}

#playlist tbody tr td {
    background-color: #eee;
}
#playlist tbody tr.odd td {
    background-color: #fff;
}

#playlist th {
    background-color: #FF9900;
}

#playlist a {
    color: #000000;
}

a {
    background-color: inherit;
    text-decoration: none;
}
a:hover {
    color: #FF6600;
    text-decoration: underline;
}
.main {
    padding: 0;
    margin: 0 auto;
    width: 100%;
    text-align: left;
}
#header {
    width: 100%;
    height: 40px;
}
#left {
    position: relative;
    float: left;
    width: 10%;
    padding: 10px;
}
#right {
    position: relative;
    float: left;
    width: 100%;
}
#footer {
    position: relative;
    clear: left;
    width: 100%;
    height: 25px;
    text-align: right;
    padding: 5px 15px 0 0;
}

#body_nav {
    float: center;
    padding: 10px 0px 10px 10px;
    margin: 0px 5px 0px 0;
}

#menu_nav {
    float: center;
    padding: 10px 0px 10px 10px;
    margin: 0px 5px 0px 0;
}
#menu_nav a {
    color: #88164c;
    background-color: white;
    font-weight: bold;
    font-size: 14px;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
    border: 1px solid #88164c;
}
#menu_nav .m1 {
    color: #88164c;
    background-color: white;
}
#menu_nav .mactive {
    color: #88164c;
    background-color: #cccccc;
}
#menu_nav a:hover {
    color: #88164c;
    background-color: white;
    text-decoration: none;
    padding: 2px 5px 2px 5px;
}
.name {
    color: #FF6600;
    background-color: inherit;
    font-size: 32px;
    padding: 0 20px;
    margin: 0;
}
.slogan {
    padding: 0 23px;
    font-size: 14px;
}
.title {
    border-bottom: 1px solid #444444;
    background-color: #FFFFFF;
    color: inherit;
    font-size: 14px;
    font-weight: bold;
    padding: 5px 0 0 2px;
    margin: 0 0 5px 0;
}
.box {
    border: 1px solid #C8C8C8;
    background-color: #EBEBEB;
    color: inherit;
    padding: 5px;
}

.option_empty {
    background-color: #FFFF84;
}
li a {
    font-weight: bold;
    text-decoration: none;
}
li a:hover {
    text-decoration: underline;
}
.cp {
    float: left;
    padding-left: 10px;
}

#dhtmltooltip {
    position: absolute;
    width: 150px;
    border: 2px solid black;
    padding: 2px;
    background-color: lightyellow;
    visibility: hidden;
    z-index: 100;
    filter: progid:DXImageTransform.Microsoft.Shadow(color=gray,direction=135);
}

TD.port {
    background-color: #FFFFFF;
    border-left: dashed 1px #669999;
    border-bottom: dashed 1px #669999;
}
TD.port_live {
    background-color: #333333;
    border-left: dashed 1px #669999;
    border-bottom: dashed 1px #669999;
}
TD.port_local {
    background-color: #33CC00;
    border-left: dashed 1px #669999;
    border-bottom: dashed 1px #669999;
}

TD.descriptor {
    text-align: center;
    background-color: #CCCCCC;
    border-bottom: dashed 1px #669999;
    width: 50px;
}

#dropmenudiv {
    position: absolute;
    border: 1px solid black;
    border-bottom-width: 0;
    font: normal 12px Roboto Mono, monospace;
    line-height: 20px;
    z-index: 100;
}

#dropmenudiv a {
    width: 100%;
    display: block;
    text-indent: 3px;
    border-bottom: 1px solid black;
    padding: 1px 0;
    text-decoration: none;
    font-family: 'Roboto Mono', monospace;
    line-height: 20px;
    font-size: 14px;
}

#dropmenudiv a:hover {
    background-color: white;
}
/* Overlay */
#simplemodal-overlay {
    background-color: #000;
    cursor: wait;
}

/* Container */
#simplemodal-container {
    height: 400px;
    width: 90%;
    background-color: #fff;
    border: 3px solid #ccc;
}
#simplemodal-container a.modalCloseImg {
    background: url(/tablesorter/x.png) no-repeat;
    width: 25px;
    height: 29px;
    display: inline;
    z-index: 3200;
    position: absolute;
    top: -15px;
    right: -18px;
    cursor: pointer;
}
#simplemodal-container #basicModalContent {
    padding: 8px;
}

.highlight_G {
    color: orange;
    font-weight: bold;
}
.highlight_S {
    color: red;
    font-weight: bold;
}
.highlight_R {
    color: green;
    font-weight: bold;
}

/* Additional styling for the dropdowns */
.navbar-nav > .nav-item > .dropdown-menu {
    display: none;
    position: relative; /* Change to relative */
    background-color: #ffffff;
    box-shadow: none;
    border: none;
    padding: 0;
    //margin-left: 20px; /* Indent the sub-menu */
    width: 100%; /* Expand the width to fit the container */
		font-size: 0.8rem;
}

.nav-item .nav-link {
    color: #333;
    padding: 10px 15px;
    position: relative;
}

.nav-item .nav-link:hover,
.nav-item .nav-link:focus {
    color: #0056b3;
    background-color: #f8f9fa;
    border-radius: 4px;
}

.nav-label {
    margin-left: 5px;
}

#page-wrapper {
    padding: 20px;
    margin-top: 20px;
    background-color: #ffffff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Apply the down arrow only for top-level dropdown items */
.navbar-nav > .nav-item.dropdown > .nav-link::after {
    content: ' ▼';
    font-size: 10px;
    margin-left: 5px;
}

/* Style for vertical navbar */
.navbar {
    display: flex;
    flex-direction: column;
    width: 200px;
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    background-color: #f8f9fa;
    border-right: 1px solid #ddd;
    padding-top: 20px;
}

.navbar-nav {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.nav-item {
    width: 100%;
}

.nav-link {
    width: 100%;
    padding: 10px 15px;
    color: #333;
    text-align: left;
}

.nav-link:hover,
.nav-link:focus {
    color: #0056b3;
    background-color: #e9ecef;
    border-radius: 0;
}

/* Ensure dropdowns display correctly */
.nav-item .dropdown-menu {
    position: static; /* Ensure it pushes content down */
    display: none;
    flex-direction: column;
    background-color: #ffffff;
    box-shadow: none;
    border: none;
    padding: 0;
}

.nav-item.active .dropdown-menu {
    display: flex;
}

/* Additional styling for the main content to avoid overlap with the navbar */
.wrapper-content {
    margin-left: 220px;
    padding: 20px;
}

/* Small badge */
.badge {
    font-size: 0.8rem;
    padding: 0.15em 0.15em;
}

/* Large badge */
.badge-large {
    font-size: 1.25rem;
    padding: 0.5em 0.75em;
}

select.form-control {
  appearance: auto;
	display: inline-block;
	width: auto;
}

input.form-control {
  appearance: auto;
	display: inline-block;
	width: auto;
}

.btn-custom-filter {
    margin: 0.1rem;
    padding: 0.2rem 0.2rem;
	line-height: 1.1;
}

/* Make active sub-menu items bold */
.nav-item.active.show > .nav-link {
    font-weight: bold;
}

.clickable-row {
  cursor: pointer; /* Changes the cursor to a pointer */
}