html,body{
	font-family: Arial, Helvetica, sans-serif;
	font-size:14px;
	line-height:1.5;
}
h1{font-size:24px;}
h2{font-size:22px;}
h3{font-size:20px;}
h4{font-size:18px;}
h5{font-size:16px;}
h6{font-size:15px;}
h1,h2,h3,h4,h5,h6{
	font-family:Veranda,sans-serif;
	text-align:center;
	font-weight:bold;
	margin:8px;
}
b{
	font-size:15px;
	font-weight:700;
}
p{
	align:center;
	text-align:center;
}
s1{font-size:12px}
a {color:black;}
a:hover {
	text-decoration:none;
	color:grey;
}
table, th, td, tr{
	align:center;
	text-align:center;
	cellpadding:1;
	cellspacing:1;
	vertical-align:top;
}
table{
	width:90%;
	margin-left:auto;
	margin-right:auto;
}
table.small{
	width:40%;
	margin-left:auto;
	margin-right:auto;
}
table.border, td.border, tr.border{
	border:1px solid grey;
}
img.avatar {
  	width: 20%;
  	border-radius: 50%;
}
img.logo {
  	position: fixed;
	display: inline-block;
	top:0;
	right:0;
	margin: auto;
	z-index: 10;
}
button {
  	background-color: #009933;
  	color: white;
  	padding: 8px;
  	margin: 5px;
  	border: none;
  	cursor: pointer;
  	width: auto;
	border-radius: 3px;
}
button.stalist {
	display: inline-block;
	position: static;
	top: 0;
	float: left;
	background-color: white;
  	color: black;
	padding: 4px;
	margin: 1.5px;
	text-align: center;
	font-size: 14px;
	text-decoration: none;
  	overflow: auto;
}
button.stalist:hover {
	background-color: darkgrey;
}
button:hover {
  	opacity: 0.8;
	cursor: pointer;
}
.navbar {
	position: fixed;
	top: 0;
	left: 0;
	margin-right: 200px;
	overflow: visible;
	width: 100%;
	background-color: #002266;
	z-index: 10;
}
.top-level-menu {
	list-style: none;
	padding: 0;
	margin: 0;
}
.top-level-menu > li {
	position: relative;
	float: left;
	height: 57px;
	width: auto;
	background: #002266;
	border-radius: 5px;
}
.top-level-menu > li:hover { background: #009933; }
.top-level-menu li:hover > ul { 
	opacity: 1;
	display: inline;
}
.top-level-menu a {
	margin: 0;
	color: #FFFFFF;
	text-decoration: none;
	padding: 1px 12px 1px 12px;
	font-size: 16px;
	display: block;
	line-height: 57px;
}
.top-level-menu a:hover { color: #FFFFFF; }
.second-level-menu,
.third-level-menu {
    background-color: #f9f9f9;
    position: absolute;
    width: 180px;
    list-style: none;
    padding: 0;
    margin: 0;
    display: none;
    opacity: 0;
    z-index: 11;
    box-shadow: 0px 8px 16px 0px rgba(0, 0, 0, 0.2);
    transition: opacity 0.7s ease, transform 0.7s ease; /* Added transition for transform */
}
.second-level-menu {
	top: 57px;
	left: 0;
	width: 180px;
	z-index: 11;
}
.second-level-menu > li {
	position: relative;
	height: 57px;
	background: #E1E1E1;
	border-radius: 5px;
}
.second-level-menu > li:hover { background: #CCCCCC; }
.second-level-menu a {color: black;}
.second-level-menu a:hover { color: black; }
.third-level-menu {
	top: 0;
	right: -260px;
	width: 260px;
	z-index: 12;
	overflow: auto;
}
.third-level-menu > li {
	height: 57px;
	background: #E1E1E1;
	border-radius: 3px;
}
.third-level-menu > li:hover { background: #CCCCCC; }
.third-level-menu a {color: black;}
.third-level-menu a:hover { color: black; }
.third-level-menu.active { display: inline; }
#main {
	margin-left:auto;
	margin-right:auto;
	min-width:365px;
	background-color:white;
}
#top {
	position:fixed;
	display: inline-block;
	top:0;
	left:0;
	margin:auto;
	align:center;
	float:left;
}
#menu_area {
	position:fixed;
	top:110;
	left:10;
	float:left;
	width:175px;
	background-color:#002266;
	border:1px solid;
	text-align:center;
}
#menu_area ul {
	list-style:none;
	position:relative; 
	right:10px;
}
#menu_area li {
	padding:4px;
	border:1px solid #002266;
	width:125px;
	position:relative; 
	right:15px;
	margin:5px;
	background-color:#009933;
}
#content {
	margin-top: 57px;
	padding:5px;
	min-width:365px;
	background-color:white;
	z-index:0;
	margin-left: auto;
  	margin-right: auto;
	text-align: center;
}
@media screen and (max-width: 860px) {
  #content {
    margin-top: 100px;
  }
}
@media screen and (max-width: 577px) {
  #content {
    margin-top: 150px;
  }
}
#admin {
	background-color: white;
	padding: 4px;
	border: 1px solid;
	display: relative;
	max-width: 200px;
	border-radius: 10px;
}
#adminarea {
	background-color: darkgrey;
	padding: 10px;
	display: inline-block;
	margin-left: auto;
	margin-right: auto;
	width: 220px;
	border: 2px solid;
	border-radius: 10px;
}
#camerastatus{
	float: left;
}
#weeklystatus{
	float: left;
}
#green {
	color:green;
}
#red {
	color:red;
}
input[type=text], input[type=password], input[type=tel], input[type=email], input[type=number] {
	width: 40%;
	min-width: 40%;
	padding: 8px 8px;
	margin: 8px 0;
	display: inline-block;
	border: 1px solid #ccc;
	box-sizing: border-box;
}
[type=radio] { 
  	position: absolute;
  	opacity: 0;
  	width: 0;
  	height: 0;
}
[type=radio] + img {
  	cursor: pointer;
}
[type=radio]:checked + img {
  	outline: 2px solid #f00;
}
.editpopup {
    display: none;
    position: absolute;
    background-color: #fff;
    border: 1px solid #ccc;
    border-radius: 2px;
    padding: 2px ;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
    z-index: 1;
    width: 300px; /* Adjust the width as needed */
	left: calc(50% + 180px);
	top: 15%;
}
.editpopup-content {
    position: relative;
}
.editclose {
    position: absolute;
    top: 2px;
    right: 2px;
    cursor: pointer;
}
#show-editpopup {
    margin-top: 2px;
}
.editpopup ul {
    list-style: none;
    padding: 0;
}
.editpopup li {
    margin-bottom: 2px;
}
.editpopup button {
    margin-left: 4px;
}
#new-option {
    width: 140px;
    margin-top: 2px;
}
.editField {
	width: 160px;
}
.newFswitch {
	position: relative;
	display: inline-block;
	width: 40px;
	height: 20px;
}

.newFswitch input {
	opacity: 0;
	width: 0;
	height: 0;
}

.newFslider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #ccc;
	transition: .4s;
}

.newFslider:before {
	position: absolute;
	content: "";
	height: 15px;
	width: 15px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	transition: .4s;
}

input:checked + .newFslider {
	background-color: #2196F3;
}

input:checked + .newFslider:before {
	transform: translateX(19px);
}

/* Rounded sliders */
.newFslider.round {
	border-radius: 34px;
}

.newFslider.round:before {
	border-radius: 50%;
}

.header {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	display: flex;
	justify-content: space-between;
	align-items: center;
	/* padding: 10px 20px;*/
	background-color: #002266;
	color: #fff;
	height: 57px;
	z-index: 10;
}
.header img {
	height: 57px; /* Adjust the height to fit within the fixed header height */
	margin-right: 20px;
}
.menu, .user-menu {
    position: relative;
    display: inline-block;
    align-items: center;
    height: 100%;
    padding: 5px 5px 0px 0px;
}

/* Dropdown Content Styles */
.dropdown-content, .user-dropdown-content {
	display: none;
	position: absolute;
	background-color: #002266;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	right: 0;
	top: 57px; /* Position the dropdown below the header */
	top: 100%; /* Position the dropdown below the icons */
}
.on-dropdown-content, .ev-dropdown-content {
	display: none;
	position: absolute;
	background-color: #002266;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
	top: 57px; /* Position the dropdown below the header */
	top: 100%; /* Position the dropdown below the icons */
}
/* Dropdown Links Styles */
.dropdown-content a, .user-dropdown-content a, .on-dropdown-content a, .ev-dropdown-content a {
    color: black;
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Hover Effects for Dropdown Links */
.dropdown-content a:hover, .user-dropdown-content a:hover, .on-dropdown-content a:hover, .ev-dropdown-content a:hover {
    background-color: #002266;
}

/* Display Dropdown on Hover */
.menu:hover .dropdown-content, .user-menu:hover .user-dropdown-content {
    display: block;
}

/* Menu and User Menu Links Styles */
.menu a, .user-menu a {
    color: white;
    padding: 0 12px;
    text-decoration: none;
    display: flex;
    align-items: center;
    height: 100%;
    font-size: 16px; /* Increase the font size to make icons bigger */
}

/* Menu Hover Effect */
.menu a:hover {
    background-color: #00C540;
}

/* Submenu Styles */
.submenu {
    position: relative;
}

.submenu-content, .list-submenu-content {
    display: none;
    position: absolute;
    background-color: #002266;
    min-width: 160px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 1;
    top: 0;
	right: 100%;
}

.submenu:hover .submenu-content {
    display: block;
}

.submenu:hover .list-submenu-content {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 10px; /* Adjust the gap as needed */
}

/* Active Submenu */
.active .submenu-content {
    display: block !important;
}

/* Dynamic List Styles */
.dynamic-list {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    height: 100%;
}

.dynamic-list:hover {
    white-space: normal;
    overflow: visible;
    background-color: #f9f9f9;
    color: #333;
    padding: 10px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    position: relative;
    z-index: 1;
    top: 57px; /* Position the expanded list below the header */
}

.dynamic-list ul {
    margin: 0;
    padding: 0;
    list-style: none;
}

/* Menu Icon Styles */
.menu {
    display: inline-block;
    cursor: pointer;
    z-index: 1000; /* Ensure it is above other elements */
}

.menu span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px;
    background-color: white;
    transition: all 0.3s ease-in-out;
}

.menu:hover span {
    background-color: #00C540; /* Change color on hover */
}

.menu.open span:nth-child(1) {
    transform: rotate(45deg);
    top: 8px;
    position: relative;
}

.menu.open span:nth-child(2) {
    opacity: 0;
}

.menu.open span:nth-child(3) {
    transform: rotate(-45deg);
    top: -8px;
    position: relative;
}

/* User Icon Styles */
#user-icon {
    color: white;
    font-size: 24px;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
}

#user-icon:hover {
    color: #00C540;
}

.user-menu:hover #user-icon {
    color: #00C540;
}
.user-menu .user-dropdown-content a:hover {
    background-color: #00C540;
}

/* Online and Event Icons Styles */
#online-icon, #event-icon {
    color: white;
    font-size: 16px;
    transition: color 0.3s ease-in-out;
    cursor: pointer;
    margin-right: 10px;
}

#online-icon.clicked, #event-icon.clicked {
    color: #0055cc; /* Change color when clicked */
}

#online-icon:hover, #event-icon:hover {
    color: #00C540;
}

/* Station List Styles */
.stalist2 {
    display: block;
    width: 100%;
    padding: 8px; /* Adjust padding as needed */
    text-align: center;
    background-color: #ccc; /* Adjust background color as needed */
    border-radius: 3px; /* Adjust border radius as needed */
    transition: background-color 0.3s ease; /* Optional: smooth background color transition */
}

.stalist2:hover {
    background-color: #00C540; /* Adjust hover background color as needed */
}

/* Additional Adjustments for Nav Box */
.nav-box {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    cursor: pointer;
    height: 100%;
}


