*, *:before, *:after {
  box-sizing: border-box;
}

body {
  margin: 0px;
  font-family: 'arial', 'Open Sans', 'sans-serif';
  background-color: #ffffff;
  color: #000;
}

h1 {
  margin: 0 0 .75em 0;
}
p {
	margin: .4em 0 .4em 0;
}
.late {background-color:#FFFACD;}
h2, h3, h4 {
  margin: 0 0 .5em 0;
}
h1 {font-size: 1.7em; }
h2 {font-size: 1.4em; }
h3 {font-size: 1.2em; }
h4 {font-size: 1.1em; }
h5 {font-size: 1.0em; margin-bottom:5px; }

.newfeature {border: 1px solid #f00!important; }

.wrapper {
  /*max-width: 95%;*/
  margin: 0 20px;
  display: grid;
  grid-gap: 2px;
  border:0px solid #eee;
}

#homegrid {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    background-color: #fff;
    color: #222;
	margin-bottom:10px;
}
#doclinkgrid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(40%, 1fr));
    background-color: #fff;
    color: #222;
	margin-bottom:10px;
}
#ticketgrid {
  display: grid;
  grid-gap: 10px;
  grid-template-columns: 350px 350px 350px;
  background-color: #fff;
  color: #222;
  margin-bottom:10px;
  font-size: .8em ;
}
.doclinkwidget { 
border:2px solid #eee; 
background-color: #FFFAF0;
padding:10px;
}
.assetwidget { 
border:2px solid #990000; 
background-color: #FFFAF0;
padding:10px;
margin-bottom:10px;
font-size:.9em;
}
.homewidget { 
border:2px solid #eee; 
padding:10px;
}
.mypad {padding:2px 0; }
#hometop {
	padding: 0 0px 0 0px;
	height:50px;
	margin-bottom:5px;
}
#menugrid {
    display: grid;
    grid-gap: 15px;
    grid-template-columns: repeat(auto-fit, minmax(140px, 140px));
    background-color: #fff;
    color: #444;
	margin-bottom:10px;
}
.menuwidget { 
	border:2px solid #ccc; 
	/*padding:40px 0px;*/
	padding:0px 15px;
	height:140px;
	text-align: center;
	cursor:pointer;
	line-height:1.1em;
	display: flex;
	  justify-content: center;
	  align-items: center;
	  margin-bottom:5px;
}
#menugridhome {
    display: grid;
    grid-gap: 13px;
    grid-template-columns: repeat(auto-fit, minmax(95px, 95px));
	align-items: start;
    background-color: #fff;
    color: #222;
	margin-bottom:10px;
	font-size:.9em;
}
.reportgrid {
    display: grid;
    grid-gap: 13px;
    grid-template-columns: repeat(auto-fit, minmax(95px, 95px));
	align-items: start;
    background-color: #fff;
    color: #222;
	margin-bottom:10px;
	font-size:.9em;
}
button .menuwidgethome {width:95px;}
button .menuwidgetsmall {width:55px;}
button.my508 {border:none; background:transparent; padding:0; margin:0;}
#menugridsmall {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: repeat(auto-fit, minmax(60px, 60px));
    background-color: #fff;
    color: #222;
	margin-bottom:15px;
	font-size:.5em!important;
}
.menuwidgethome { 
	border:2px solid #ccc; 
	/*padding:40px 0px;*/
	padding:0px 15px;
	height:90px;
	text-align: center;
	cursor:pointer;
	line-height:1.1em;
	display: flex;
	  justify-content: center;
	  align-items: center;
	  margin-bottom:5px;
    transition: transform 0.2s ease-in-out; /* Smooth transition */
}
.menuwidgetsmall { 
	border:2px solid #ccc; 
	/*padding:40px 0px;*/
	padding:0px 14px;
	height:45px;
	text-align: center;
	cursor:pointer;
	line-height:1.1em;
	display: flex;
	justify-content: center;
	align-items: center;
	margin-bottom:4px;
  transition: transform 0.2s ease-in-out; /* Smooth transition */
}
.menucenter { text-align: center;}
#menugridsmall .menucenter { font-size:.9em; }
.backwidget {border:2px solid #eee !important; }
.menuwidget:hover, .menuwidgethome:hover { background-color: cornsilk; border-color:#336699; transform: scale(1.05);}
.menuwidgetsmall:hover { background-color: cornsilk; border-color:#336699; transform: scale(1.05);}
.breadcrumb { font-size: .8em; padding:0px 0 15px 0px; }

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}
#jobarea {margin-bottom:40px; }
.jobentry { border-radius: 5px; padding: 10px; border:1px solid #eee; margin-bottom:15px; box-shadow: 2px 2px 10px 0px rgba(0,0,0,0.5); }
.jobdesc { margin:2px 0px 10px 0px; font-size: .9em; padding:5px; background-color:#f5f5f5; border:1px solid #ccc; overflow-x:auto; width:100%; height:55px;}
#skipper {position: absolute; text-indent: -600em; }

/* navigation */
ul#footerlist {
    list-style-type: none;
    margin: 0 auto;
    padding: 0;
    width:850px;
    text-align:center;
}
ul#footerlist li, #nav ul li {
  float: left;
	font-size: .8em;
}
ul#footerlist li {
	margin-right: 25px;
	font-size: .75em;
}
ul#leftnav {
	list-style-type: none;
	margin-left: -60px;
	margin-top:0px;
}
ul#leftnav li a {
	display:block;
	border:0px solid #eee;
	padding:12px 3px 12px 25px;
	margin-bottom: 0px;
	text-decoration: none;
	font-size: 1.1em;
	color: #004C5C;
}
ul#leftnav li a:hover, ul#leftnav li a.alternate:hover {
	background-color: #00758C;
	color: #fff;
}
ul#leftnav li a.alternate {
	background-color: #00758C;
	color: #fff;
}
ul#leftnav li a.alternate i, ul#leftnav li a.alternate i:hover {
	color: #fff !important;
}
.ajax { text-decoration: underline; cursor: pointer; }
/* header and footer */
header {
	/*background-color:#004C5C !important;*/
  border-bottom:0px solid #eee;
  box-shadow: 0px 0px 3px 1px rgba(0,0,0,0.1);
  z-index: 100;
}

/* Dropdown Button Header */
.dropbtn {
  background-color: #00758C;
  color: white;
  padding: 10px;
  font-size: 13px;
  border: none;
  border-radius:5px;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
  position: relative;
  display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
  display: none;
  position: absolute;
  background-color: #f1f1f1;
  min-width: 160px;
  text-align:left;
  box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
  z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
  color: black;
  padding: 6px 8px;
  text-decoration: none;
  display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #ddd;}
/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}
/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {background-color: #3e8e41;}

.reporthdr {margin: 10px 0; border-radius: 5px; font-size:1.2em; border:1px solid #000;background-color:cadetblue; }
.reportnum {display: inline-block; width:100px; border-radius: 5px; padding:5px; border:1px solid #336699; background-color:#336699; color:#fff}
.reporthdrtitle {display: inline-block; color:#fff; padding:5px; }

footer {height:33px; border:1px solid #ccc; padding-top: 10px !important; margin-bottom:20px!important; text-align: center; background-color:#fcf9f9!important;}
#systemname {font-size: 2em; color:#000; margin:15px 0 5px 80px;}
#systemname a {text-decoration: none !important; color:#000 !important; }
#logo {float: left; margin-right:10px; }
#systemdate {float:right; margin-top:10px; color: #fff; font-size: .8em; text-align: right; line-height:1.7em;}
.logout {margin-right: 15px; }
.medium {font-size: 1.2em; }
.sm {font-size: .9em; }
.vsm {font-size: .75em; }

/* time */
.tctop {border:3px solid #eee; padding: 4px 6px 4px 6px; font-size: 1.2em; border-radius:3px; display:inline-block;}
#summarytable {position: absolute; top:170px; }
#reviewarea {float:right; max-width:350px; min-height:300px; margin-left:5px; ; clear:right;}
#reviewarea.home {width:330px; height:300px; margin-left:5px; overflow-x:auto; }
#rolluparea {float:right; width:300px; margin-left:5px;margin-bottom:20px; }
#tipsarea {float:right; width:300px; min-height:600px; margin-left:5px; clear:right;}
.tips {display:none; padding:10px 0px;}
.tiplist li {margin-bottom:5px; }
.tiplist {padding-left:20px;}
/* blog */
.blogentry { margin-bottom: 15px; }
.blogtitle { font-size:1.3em; margin: 5px 0; color: #A62A57;}
.blogmeta { font-size: .7em; }
.blogcontent { padding:5px; margin: 10px 0px; font-size:.9em; background-color: #f5f5f5;}
.bloglist { 
	font-size: .7em; 	
	list-style-type: none;
	margin-left: -38px;
}
.bloglist li { 
	margin-bottom:3px;
}
/* forums */
#forumarea {margin-bottom:5px;}
#forumheader {float: right; margin-top:3px; }
#forumheader a { color: #fff; }
.hl {color: #000; padding:1px; background: yellow; mso-highlight: yellow;}
.newpost {border-left: 8px solid #990000 !important; }
#freply {
	position: absolute;
	top:20px;
	left:200px;
	width: 650px;
	border:3px solid #aaa;
	background-color: #fff;
	padding:10px;
	border-radius: 5px;
}
.fentry {
	border:1px solid #ccc;
	padding: 10px 10px 10px 5px;
	margin-bottom: 10px;
	background-color:#f5f5f5;
}
.fanswer {
	margin-left: 20px;
	background-color:#FAF0E6 !important;
}
.fname { font-size: 1em; color: #336699; margin-bottom:5px; font-weight: bold; }
.fdate { font-size: .8em;  font-weight: bold;}
.fpost { font-size: .9em; margin: 6px 0; padding: 10px; background-color:#fff; border:1px solid #ccc; border-radius: 5px; }
.fheader { border:0px solid #000; padding:3px;}
.fage {color:#990000; }

.todaydate {font-size:1.6em; display:inline-block; margin-top:15px}
/* weather */
#weatherarea {width: 500px; height:50px; float:right; }
#weather {
    display: grid;
    grid-gap: 1px;
    grid-template-columns: 125px 125px 125px 125px;
    background-color: transparent;
    color: #444;
	grid-auto-flow: column;
  	direction: rtl;
}
.city {
	padding: 3px 1px 0px 8px;
	border:1px #fff solid; 
	cursor: pointer;
	width:125px;
	direction: ltr;
}
@media screen and (max-width: 980px) {
	 #weatherarea { display: none; }
}
.wcity { font-size:.8em; font-weight: bold; margin-bottom:6px;}
.wicon { float:right; margin-top:-27px;}
.wcond {font-size:.6em; }

.wbut { margin: -10px 0 2px 0; }
.wtemp { font-weight: bold; }
.wRain, .wDrizzle {background-color: hsl(0, 100%, 90%); }
.wClear {background-color: hsl(100, 40%, 75%); }
.wSnow { background-color: #F0F8FF; }
.wClouds, .wMist, .wHaze, .wSmoke {background-color: hsl(100, 10%, 80%); }
.wThunder {background-color: hsl(0, 100%, 75%); }
.city:hover {background-color: hsl(100, 40%, 75%); border:1px #00758C solid;}
/* alerts */
.alert, .alertpin {
	border:1px solid #ddd;
	padding:10px 10px 5px 10px;
	margin-bottom: 5px;
	border-radius: 2px;
	box-shadow: 1px 1px 1px #ddd;
}
.today {background-color:Cornsilk;}
.alert:hover, .alertpin:hover {
	background-color: #FAEBD7;
}
.mobileshow, .mobileshowblock {display:none;}
.alertpin {background-color: #F8F8FF;}
.alertdate { color: #A62A57; margin-left: -15px; font-size: .9em; font-weight: bold; float: left; width: 70px; border:1px solid #aaa; padding:3px; text-align: center; border-radius: 5px; background-color:#f5f5f5; margin-right:10px;}
.alertcontent {font-size: .8em; }
.alertcat { float: right; font-style: italic; font-weight: bold; font-size: .8em; color: #00758C;}
.alertfooter {font-size: .7em; padding: 2px 5px 2px 5px; text-align: right; border:1px solid#eee; background-color: #fff; display: inline-block; }
.alertack {font-size: .8em; background-color: #eee; padding:3px;}
.userlist { margin-right: 15px; font-size: .8em; }
.links li {
	margin-left: -24px;
	font-size:.9em;
	margin-bottom:2px;
}
.fame {
	padding: 0px 4px;
	display: block;
	line-height: 1.2em;
	font-size: .75em;
}
.fameholder {
	border: 1px solid #999;
	background-color: #f8f8ff;
	margin-bottom:5px;
}
.hide { display: none; }
.bigclock { font-size: 3em; color: #990000; }
.work, .lunch, .worktotal, .breakpaid, .breaknotpaid, .nonwork, .switch { font-size: .8em; }
.system, .manual, .override, .details {font-size:.7em !important;}
.system {background-color:#E0FFFF; }
.default {background-color:#FAEBD7;}
.manual {background-color:#FAEBD7; }
.override {background-color:#FFA07A; }
.details {background-color:#D8BFD8; }
.billable {color:#355e3b; font-weight:bold;}
.notbillable {color:#990000; font-weight:bold;}
.work { background-color:#009900; color: #fff; }
.worktotal { background-color:Cadetblue; color: #fff; }
.notpaid { background-color:red; color: #fff; }
.nonwork { background-color:#3399ff; color: #fff; }
.lunch { background-color:red; color: #fff; }
.breakpaid, .green {background-color:green; color: #fff;}
.breaknotpaid, .red {background-color:red; color: #fff;}
.yellow {background-color:yellow; color: #fff;}
.switch {background-color:#ccc; color: #fff;}
.message { font-weight:bold; color: #990000; display:block; margin: 5px 0px; }
.messagelite { font-weight:bold; color: #990000; background-color: yellow; display:block; margin: 5px 0px; }
.warning { font-weight:bold; color: #FF0000; }
.good { font-weight:bold; color: #009900; }
.label { text-align: right; font-weight: bold; }
.under {text-decoration:underline;}
.icon {cursor:pointer; text-align:center !important;}
.open {background-color:red}
.complete {background-color:orange}
.approved {background-color:green}
.missing {background-color:black}
.nostat {background-color:grey}
/* tables */
table.gridfull, table.gridbig {width: 100%; }
table.grid, table.gridsm, table.gridfull, table.dash, table.tc, table.gridbig, table.tcgrid, table.tcgridsm {border-collapse: collapse;}
.grid td, .grid th, .gridfull td, .gridfull th, .tc td, .tcgrid td { border: 1px solid #eee; font-size:.8em; padding:3px 4px; text-align:left;}
.gridsm td { border: 1px solid #eee; font-size:.7em; padding:2px 3px; text-align:left;}
.gridsm th { border: 1px solid #ccc; font-size:.7em; padding:2px 4px; text-align:left; background-color:#F0F8FF;}
.gridbig td, .gridbig th { border: 1px solid #eee; font-size:.1.2em; padding:3px 4px; text-align:left;}
.gridnone td, .gridnone th { border: none; font-size:.1.1em; padding:3px 4px; text-align:left;}
.tc th { border: 1px solid #eee; font-size:.7em; padding:3px 4px; text-align:center;}
.grid th, .gridfull th, .dash th, .tcgrid th { background-color: #f5f5f5 !important; }
.tcgrid th, .tcgridsm th { border: 1px solid #eee; font-size:.7em; padding:3px 4px; text-align:left;}
.tcgridsm td { border: 1px solid #eee; font-size:.7em; padding:3px 4px; text-align:left;}
.grid th.ot { background-color: #D8BFD8 !important; text-align: center;}
.grid th.reg { background-color: #90EE90 !important; text-align: center; }
.dash td, .dash th { border: 1px solid #eee; font-size:.8em; padding:2px; text-align:center;}
.entry td { font-size:.8em; padding:2px; }
.comment {cursor: pointer; }
.comment:hover i {font-weight:bold; }
.bigbtn { font-size: 1.2em; }
.medbtn { font-size: 1.0em; }
.smbtn { font-size: .8em; }
.vsmbtn { font-size: .65em; }
.bigfld { padding: 5px; font-size: 1.2em; }
.box {font-size: .8em !important;}
.box input {font-size: .9em !important;}
.greyline {background-color:#ccc; }
.boxreadonly input {font-size: .9em !important; background-color:#f5f5f5; border:1px solid #ccc;}
.right { text-align: right !important; }
.center { text-align: center !important; }
.tickettop {margin:-40px 0 10px 0;}

/* what to do if we are using mobile */
@media screen and (max-width: 850px) {
	body {  margin: 0px 1px;  }
	#systemdate { display: none; }
	#nav ul li a { padding: 4px 6px; }
  ul#footerlist { width:100%; }
  #hometop { display: none; }
	ul#footerlist li {margin-right: 10px;}
	#nav ul { width: 95%; }
	.mobilehide {display:none!important; }
	.mobileshow {display:inline-block;}
	.mobileshowblock {display:block; padding:3px;}
	.wrapper { 	margin: 0px; }
	.mobilesm {font-size:.7em;}
	.gridbig td, .gridbig th { border: 1px solid #eee; font-size:.9em; padding:3px 4px; text-align:left;}
	ul#leftnav li a {
		padding:5px;
		font-size: 1.0em;
	}
	.tctop {border:2px solid #eee; padding: 4px 6px 4px 6px; font-size: .9em; border-radius:3px; display:inline-block;}
	.tickettop {margin:0px 0 10px 0;}
	#homegrid {
	    grid-gap: 5px;
	    grid-template-columns: 1fr;
		margin-bottom:10px;
	}
  #ticketgrid {
    display: grid;
    grid-gap: 10px;
    grid-template-columns: 1fr;
    margin-bottom:10px;
    font-size: .8em;
  }
	.bigbtn { font-size: .9em; padding:5px; }
	.medbtn {font-size: .9em; padding:5px; }
	.vsmbtn {padding:5px; }
	.smbtn  {padding:5px; }
	#menugrid {
	    grid-gap: 5px;
    	grid-template-columns: repeat(auto-fit, minmax(100px, 100px));
		margin-bottom:10px;
	}
	.menuwidget { 
		border:2px solid #ccc; 
		padding:0px 10px;
		height:100px;
		text-align: center;
		cursor:pointer;
		line-height:1.1em;
		display: flex;
		  justify-content: center;
		  align-items: center;
		  margin-bottom:5px;
	}
	.homewidget { 
		padding:5px;
	}
	#doclinkgrid {
        grid-gap: 5px;
	}
	.menucenter {font-size:.8em;}
	.fa-4x { font-size:3em !important; }
	h1 {   margin: 0 0 .5em 0; }
	h2, h3, h4 {
  		margin: 0 0 .25em 0;
	}
	.todaydate {font-size:1.0em; margin-top:2px}
	#hometop { padding: 0px; height:30px; text-align:center;}
	#xsummarytable {position: static; }

	#leftnav { display:none; }
	.bigclock { font-size: 2em; color: #990000; }
	.tcgrid th, .tcgridsm th {
	    font-size: .6em;
    	padding: 3px 2px;
	}
	
}

.w3-green{color:#fff!important;background-color:#4CAF50!important}
.w3-clear{color:#fff!important;background-color:#fff!important}
.w3-red{color:#fff!important;background-color:#990000!important}

/* what to do if we are not mobile (tablet or desktop) */
@media screen and (min-width: 850px) {

  /* no grid support? */
  .sidebar {
    float: left;
    width: 19.1489%;
    border-right:1px solid #eee;
    /*box-shadow: 0px 0px 10px 10px rgba(0,0,0,0.1);*/
  }

  .content {
    float: right;
    width: 79.7872%;
    margin-top:5px!important;
  }

  .wrapper {
    margin: 0 auto;
    grid-template-columns: 1fr 7fr;		/* TODO - we can play games here on the sidebar - for widths */
  }
  
  .header, .footer {
    grid-column: 1 / -1;
    clear: both;
  }

}

.wrapper > * {
  background-color: #fff;
  color: #000;
  border-radius: 0px;
  padding: 4px 15px 0px 15px;
  /*font-size: 110%;*/
  margin-bottom: 5px;
}

@media screen and (max-width: 850px) {
	.wrapper > * {padding: 5px 10px 8px 10px;}
}

@supports (display: grid) {
  .wrapper > * {
    width: auto;
    margin: 0;
  }
}

#sortable-list {
	list-style-type: none;
	padding: 0;
  }

  #sortable-list li {
	margin: 8px;
	padding: 8px;
	background-color: #f0f0f0;
	border: 1px solid #ccc;
	display:flex;
  cursor:pointer;
  }

  #sortable-list li.selected {
	background-color:rgb(181, 181, 181); /* Highlight selected item */
  }
  #sortable-list li:hover {
	background-color:rgb(216, 216, 216); /* Highlight hover item */
  }
  .handle {
	margin-left: auto; /* Push the handle to the right */
	user-select: none; /* Disable text selection on the handle */
  }
  

  .corp{
    margin-left: auto; /* Push the handle to the right */
	user-select: none; /* Disable text selection on the handle */
  margin-right: 50px;
  }

.special table {
  width: 100%;
  margin-top: 20px;
  border-collapse: collapse;

}

.special th, .special td {
  padding: 15px;
  text-align: center;
  border: 1px solid #ddd;  /* Light grey border for simplicity */
  width:auto;
}

.special th {
  background-color: #f4f4f4;  /* Light grey for header */
  color: #333;  /* Dark text for readability */
}   

.special td {
  background-color: #fff;  /* White background for cells */
  color: #333;  /* Dark text for readability */
}

.special tr:hover td {
  background-color: #f9f9f9;  /* Subtle hover effect */
}

/* Button Styles */
.special button {
  padding: 10px 20px;
  font-size: 18px;
  border: 1px solid #ccc;  /* Light border for buttons */
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
}

#addButton {
  background-color: #4CAF50;  /* Green for add button */
  color: white;
  width: 50%;
}

#subButton {
  background-color: #f44336;  /* Red for subtract button */
  color: white;
  width: 50%;
}

#submitButton {
  background-color: #00758C;  /* Blue for submit button */
  color: white;
}

#submitButton:disabled {
  background-color: grey;  /* Blue for submit button */
  color: white;
}
.centerButton {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 20px; /* optional for spacing */
}
.special button:hover {
  opacity: 0.85;
  transform: scale(1.05);
}

.special button:active {
  transform: scale(0.98);
}

.special label {
  font-size: 18px;
  font-weight: bold;
  margin-bottom: 10px;
  display: block;
  color: #333;  /* Dark text for labels */
}

/* Button Group */
.special button-container {
  display: flex;
  justify-content: center;
  gap: 15px;
}

/* Information Styling */
.special p {
  font-size: 18px;
  margin: 15px 0;
  color: #333;  /* Dark text for information */
}

.special h2 {
  font-size: 24px;
  margin-bottom: 20px;
  font-weight: bold;
  color: #333;  /* Dark text for headings */
}

/* Section Styling */
.special form {
  background-color: #f9f9f9;  /* Light grey background for the form */
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;  /* Dark text for form fields */
  width:100%;
  white-space: nowrap;
}

/* Minor Responsive Adjustment */
@media (max-width: 768px) {
  .wrapper {
      flex-direction: column;
  }
}

.wrapper2 {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: flex-start;
  padding:25px;
  gap: 50px;  /* Add some space between the form and the description */
}
.description-container {
  float:right;
  width:100%;
  font-size: 12px;
  color: #333;
  display: block;
  padding: 25px;
  background-color: #f1f1f1;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}
.form-container{
  float:left; 
  flex-grow:4;
  background-color: #f9f9f9;
  border-radius: 12px;
  padding: 25px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color: #333;
  width: 100%;
  margin: 0 auto;
  line-height: 1.2;

}
#attendpopup{
display:none;
}
#pointpopup{
display:none;
}

.orderButtons {
  display: flex;
  justify-content: right;
  margin:8px;
  gap:8px;
  width: 200px;
  float:right;
}

.switch {
  position: relative;
  display: inline-block;
  width: 30px;
  height: 17px;
  background-color: #fff;
}

/* Hide default HTML checkbox */
.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

/* The slider */
.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: #ccc;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 13px;
  width: 13px;
  left: 2px;
  bottom: 2px;
  background-color: white;
  -webkit-transition: .4s;
  transition: .4s;
}

input:checked + .slider {
  background-color: #2196F3;
}

input:focus + .slider {
  box-shadow: 0 0 1px #2196F3;
}

input:checked + .slider:before {
  -webkit-transform: translateX(13px);
  -ms-transform: translateX(13px);
  transform: translateX(13px);
}

/* Rounded sliders */
.slider.round {
  border-radius: 17px;
}

.slider.round:before {
  border-radius: 50%;
}

.splitview {
  display: grid;
  grid-template-columns: 0.6fr 0.4fr;
  background-color: #fff;
  color: #222;
  margin-bottom:10px;
}

.taskview{
  padding: 10px;
}
.employeeview{
  padding: 10px;
}
button.priosquare {
  width: 20px;
  height: 20px;
  background-color: red !important;

  border-radius: 50% !important;
  border: none;
}
.taskbutton{
  background-color: #007bff;
  color: white;
  border: none;
  padding: 5px 10px;
  cursor: pointer;
  border-radius: 5px;
}
.taskbutton:hover {
  background-color: #0056b3;
}
.taskheader {
  display: flex;
  justify-content: space-between;
}

.cos-card {
  margin-bottom: 8px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.cos-card-header {
  padding: 10px 15px;
  background-color: #f5f5f5;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-weight: 500;
}

.cos-card-header:hover {
  background-color: #e9e9e9;
}

.cos-card-content {
  padding: 15px;
  border-top: 1px solid #ddd;
}

.priority-indicator { 
  width: 12px;  
  height: 12px;
  border-radius: 50%;
  background-color: #28a745; /* Default color */
  display: inline-block;
}

.priority-high {
  background-color: #dc3545;
}

.priority-medium {
  background-color: #ffc107;
}

.task-item {
  padding: 10px;
  border-bottom: 1px solid #eee;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.task-item:last-child {
  border-bottom: none;
}

.task-details {
  flex: 1;
}

.task-title {
  font-weight: 500;
  margin-bottom: 5px;
}

.task-description {
  color: #666;
  font-size: 0.9em;
}

.task-category {
  color: #007bff;
  font-size: 0.8em;
  font-weight: 500;
}

.task-actions {
  margin-left: 15px;
  display: flex;
}

.claim-btn, .na-btn, .backlog-btn{
  padding: 5px 10px;
  background-color: #007bff;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.claim-btn:hover, .na-btn:hover, .backlog-btn:hover{
  background-color: #0069d9;
}

.unclaim-btn {
  padding: 5px 10px;
  background-color: #d9534f;
  color: white;
  border: none;
  border-radius: 3px;
  cursor: pointer;
}

.unclaim-btn:hover {
  background-color: #c9302c;
}

.approve-btn {
  background-color: #4caf50;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.reject-btn {
  background-color: #f44336;
  color: white;
  border: none;
  padding: 8px 12px;
  border-radius: 4px;
  cursor: pointer;
}

.approved-tag {
  color: #4caf50;
  font-weight: bold;
  margin-left: 10px;
}

.rejected-tag {
  color: #f44336;
  font-weight: bold;
  margin-left: 10px;
}


/* Queue dashboard improvements */
.queue-stats {
  display: flex;
  justify-content: space-between;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.stat-label {
  font-size: 14px;
  color: #777;
}

/* Responsive improvements */
@media (max-width: 768px) {
  .splitview {
      flex-direction: column;
  }
  
  .taskview, .employeeview {
      width: 100%;
  }
}
/* Add to your CSS for filtering */
.filter-bar {
  background: white;
  padding: 15px;
  margin-bottom: 20px;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

.filter-group {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 10px;
}

.filter-group label {
  display: block;
  margin-bottom: 5px;
  font-size: 0.9em;
  color: #555;
}

.filter-actions {
  display: inline-block;
  margin-left: 10px;
}

.filter-btn {
  background-color: #007bff;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
}

.reset-btn {
  background-color: #6c757d;
  color: white;
  border: none;
  padding: 8px 15px;
  border-radius: 4px;
  cursor: pointer;
  margin-left: 5px;
}

/* COS Form Specific Styles */
.cos-container {
  max-width: 1200px;
  margin: 20px auto;
  background-color: #fff;
  border-radius: 8px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
  padding: 25px;
}

.cos-title {
  color: #2c3e50;
  font-size: 24px;
  margin-bottom: 20px;
  padding-bottom: 10px;
  border-bottom: 2px solid #3498db;
}

.cos-section {
  margin-bottom: 25px;
  padding: 15px;
  background-color: #f9f9f9;
  border-radius: 6px;
  border-left: 4px solid #3498db;
}

.cos-form-row {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
}

.cos-form-group {
  margin: 0 15px 15px 0;
  flex: 1 1 200px;
}

.cos-label {
  display: block;
  margin-bottom: 5px;
  font-weight: 600;
  color: #34495e;
}

.cos-input, 
.cos-select {
  width: 100%;
  padding: 10px 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  background-color: #fff;
  font-size: 14px;
  transition: border-color 0.2s, box-shadow 0.2s;
}

.cos-input:focus, 
.cos-select:focus {
  border-color: #3498db;
  box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.2);
  outline: none;
}

.cos-input[readonly] {
  background-color: #f5f7fa;
  border-color: #ddd;
  color: #7f8c8d;
}

.cos-select {
  appearance: none;
  background-image: url("data:image/svg+xml;charset=utf-8,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%23555' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 16px;
  padding-right: 40px;
}

.cos-tasktype-select {
  max-width: 400px;
  margin: 0 auto 20px;
  display: block;
  font-weight: 600;
  padding: 12px 15px;
  background-color: #f8f9fa;
  border: 1px solid #e0e4e8;
}

.cos-from-to-section {
  padding: 20px;
  background-color: #f1f8ff;
  border-radius: 6px;
  margin-bottom: 25px;
  border: 1px solid #d1e7ff;
}

.cos-from-to-title {
  font-weight: 600;
  color: #2c3e50;
  margin-bottom: 15px;
  font-size: 16px;
}

.cos-from-to-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.cos-from-field, 
.cos-to-field {
  flex: 1;
  padding: 10px 15px;
  position: relative;
}

.cos-from-field {
  border-right: 1px dashed #d1e7ff;
  
}

.cos-from-label, 
.cos-to-label {
  display: block;
  color: #7f8c8d;
  margin-bottom: 5px;
  font-size: 14px;
}

.cos-current-value {
  font-weight: 600;
  color: #34495e;
  padding: 10px 0;
  display: block;
}

.cos-submit-btn {
  display: block;
  width: 200px;
  margin: 30px auto 0;
  padding: 12px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
}

.cos-submit-btn:hover {
  background-color: #2980b9;
}

.cos-submit-btn:active {
  transform: translateY(1px);
}

.cos-add-info-btn {
  display: inline-block;
  padding: 12px 20px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  cursor: pointer;
  transition: background-color 0.2s, transform 0.1s;
  text-align: center;
  margin-bottom: 20px;
}

.cos-add-info-btn:hover {
  background-color: #2980b9;
}

.cos-add-info-btn:active {
  transform: translateY(1px);
}

/* Responsive adjustments */
@media (max-width: 768px) {

  
  .cos-form-group {
      width: 100%;
      margin-right: 0;
  }
  
  .cos-from-to-row {
      flex-direction: column;
  }
  
  .cos-from-field, 
  .cos-to-field {
      width: 100%;
      padding: 10px 0;
  }
  
  .cos-from-field {
      border-right: none;
      border-top: 2px dashed #d1e7ff;
      margin-bottom: 15px;
      padding-bottom: 15px;
  }
}
.status-indicators {
  display: flex;
  align-items: center;
  gap: 10px; /* Controls spacing between the indicator and arrow */
}

/* Task Checkbox Styles */
.task-checkbox-container {
  display: inline-block;
  margin-right: 10px;
  vertical-align: middle;
}

.task-checkbox {
  width: 24px;
  height: 24px;
  cursor: default;
  position: relative;
  transition: all 0.2s ease;
}

.task-checkbox svg {
  width: 100%;
  height: 100%;
}

/* Incomplete task (not claimed) */
.task-checkbox.locked svg .circle-outline {
  fill: none;
  stroke: #ccc;
  stroke-width: 2;
}

.task-checkbox.locked svg .checkmark {
  display: none;
}

/* Incomplete task (claimed and clickable) */
.task-checkbox.claimable {
  cursor: pointer;
}

.task-checkbox.claimable:hover svg .circle-outline {
  stroke: #4CAF50;
}

.task-checkbox.claimable svg .circle-outline {
  fill: none;
  stroke: #2196F3;
  stroke-width: 2;
}

.task-checkbox.claimable svg .checkmark {
  display: none;
}

/* Completed task */
.task-checkbox.completed svg {
  fill: #4CAF50;
}

/* Animation for completion */
@keyframes checkmark-animation {
  0% {
      transform: scale(0);
      opacity: 0;
  }
  50% {
      transform: scale(1.2);
  }
  100% {
      transform: scale(1);
      opacity: 1;
  }
}

.task-checkbox.animate {
  animation: checkmark-animation 0.5s ease forwards;
}
.name-container {
  min-width: 180px; 
  max-width: 180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  margin-right: 10px;
}
.type-container {
  flex-grow:1;
  max-width:180px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* CA Effectiveness Dashboard Styles */

/* Status indicators for improvement status */
.improved {
  background-color: #d4edda;
  color: #155724;
}

.unchanged {
  background-color: #fff3cd;
  color: #856404;
}

.worse {
  background-color: #f8d7da;
  color: #721c24;
}

/* Chart container styling */
.chart-container {
  background: white;
  border-radius: 4px;
  box-shadow: 0 1px 3px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 20px;
  position: relative;
  max-height: 300px;
}

.chart-title {
  font-size: 16px;
  margin-bottom: 15px;
  color: #004C5C;
  font-weight: bold;
}

/* Two column layout for charts */
.chart-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}

.chart-grid-item {
  flex: 1 1 calc(50% - 20px);
  min-width: 300px;
}

.analytics-table {
    width: 100%;
    border-collapse: collapse;
}

.analytics-table th {
    background: #f8f9fa;
    padding: 10px;
    text-align: left;
    border-bottom: 2px solid #dee2e6;
}

.analytics-table td {
    padding: 8px 10px;
    border-bottom: 1px solid #e9ecef;
}

.analytics-table tr:hover td {
    background: #f8f9fa;
}
/* home page widget */
#mywidgets { 
  margin-bottom:10px;
}
  .mywidget { 
  border:1px solid #bbb; 
  padding:0px;
  margin-bottom:15px;
  max-width:700px;
}
.widgetcat { 
  background-color:#f0f0f0; 
  padding:5px;
  font-size:.85em;
      font-weight: normal;
      font-family: Arial, sans-serif;
}
.widgetcontent { 
  padding:10px;
}
  .widget-summary {
          display: flex;
          flex-wrap: wrap;
          gap: 15px;
          margin-bottom: 0px;
          font-size:.9em;
      }
  .widget-summary-sm {
          display: flex;
          flex-wrap: wrap;
          gap: 10px;
          margin-bottom: 0px;
          font-size:.7em;
      }
  .widget-card {
          background: #F9F8F8;
          border-radius: 6px;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          padding: 10px 10px 0px 10px;
          flex: 1;
          min-width: 75px;
          text-align: center;
          border:1px solid #eee;
      }

   .widget-card-sm {
          background: #FFF8DC;
          border-radius: 6px;
          box-shadow: 0 2px 4px rgba(0,0,0,0.1);
          padding: 8px 8px 0px 8px;
          flex: 1;
          min-width: 50px;
          text-align: center;
          border:1px solid #eee;
   }
   .widget-card:hover, .widget-card-sm:hover {
          background: #ffdfde;
   }     

  .myvalue {
          font-size: 20px;
          font-weight: bold;
          margin: 3px 0;
      }
   .myvalue-sm {
          font-size: 16px;
          font-weight: bold;
          margin: 3px 0;
   }
   .value-percent {
          font-size: 12px;
          font-weight: bold;
          margin: 3px 0;
   }
  .mygood {
          color: green;
      }
  .mybad {
          color: red;
      }
  .widgetlink {
      float:right; 
      width:170px; 
      font-size:.75em;
      text-align:right;
  }
  .widbtn {
      display: inline-block; 
      padding: 3px 5px; 
      background-color: #1E90FF; 
      color: white; 
      text-decoration: none; 
      border-radius: 3px; 
      cursor: pointer; 
      width:60px;
      text-align:center;
      }
  .widbtn a { 
      color: white; 
      text-decoration: none; 
      font-weight:bold;
      padding: 4px 8px; 
  }
  .widbtn:hover {
background-color: #0056b3; /* Darker shade on hover */
}

.back-button {
  display: inline-flex;
  align-items: center;
  padding: 8px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  text-decoration: none;
  font-size: 14px;
  transition: background-color 0.2s;
}

.back-button:hover {
  background-color: #2980b9;
}

.back-button i {
  margin-right: 5px;
}

.tooltip-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  background-color: #95a5a6;
  color: white;
  border-radius: 50%;
  text-align: center;
  line-height: 16px;
  font-size: 12px;
  margin-left: 5px;
  cursor: help;
}

.tooltip-icon:hover {
  background-color: #7f8c8d;
}

/*COS Dashboard and NAV specific styles */
.dashboard-container {
    padding: 15px;
}

.dashboard-summary {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-bottom: 20px;
}
.stat-card {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px;
  flex: 1;
  min-width: 150px;
  text-align: center;
}

.stat-value {
  font-size: 32px;
  font-weight: bold;
  margin: 10px 0;
}
.pending { color: #f39c12; }
.inprogress { color: #3498db; }
.rejected { color: #e74c3c; }
.completed { color: #2ecc71; }
.total { color: #34495e; }

.chart-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  margin-bottom: 20px;
}


.cos-chart-container {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 15px;
  flex: 1;
  min-width: 300px;
}

.cos-chart-container h3 {
  margin-top: 0;
  margin-bottom: 15px;
  padding-bottom: 10px;
  border-bottom: 1px solid #eee;
}

.cos-table {
  width: 100%;
  border-collapse: collapse;
}

.cos-table th {
  background-color: #f5f7fa;
  padding: 10px;
  text-align: left;
  border-bottom: 2px solid #ddd;
  white-space: nowrap;
}

.cos-table td {
  padding: 10px;
  border-bottom: 1px solid #eee;
}

.cos-table tr:hover {
  background-color: #f9f9f9;
}

.progress-bar {
  height: 10px;
  background-color: #ecf0f1;
  border-radius: 5px;
  overflow: hidden;
  margin-top: 5px;
}

.progress-fill {
  height: 100%;
  background-color: #3498db;
}

.filter-row {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  margin-bottom: 20px;
  background: white;
  padding: 15px;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}
.filter-button {
  padding: 8px 15px;
  background-color: #3498db;
  color: white;
  border: none;
  border-radius: 4px;
  cursor: pointer;
}

.filter-button:hover {
  background-color: #2980b9;
}

.status-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 3px;
  font-size: 12px;
  font-weight: bold;
  color: white;
}

.status-pending {
  background-color: #f39c12;
}

.status-inprogress {
  background-color: #3498db;
}

.status-completed {
  background-color: #2ecc71;
}
.status-rejected {
  background-color: #e74c3c;
}

.view-button {
  padding: 5px 10px;
  background-color: #3498db;
  color: white !important;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
}

.view-button:hover {
  background-color: #2980b9;
}

.delete-btn {
  padding: 5px 10px;
  background-color: #dc3545;
  color: white !important;
  border: none;
  border-radius: 3px;
  cursor: pointer;
  text-decoration: none;
  font-size: 12px;
  margin-right: 5px;
}

.delete-btn:hover {
  background-color: #c82333;
}

@media (max-width: 768px) {
  .dashboard-summary {
      flex-direction: column;
  }
  
  .chart-row {
      flex-direction: column;
  }
  
  .filter-row {
      flex-direction: column;
  }
}
.dashboard-nav-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 20px;
  padding-bottom: 20px;
  margin-bottom: 10px;
}

.nav-card {
  padding: 20px;
  border-radius: 8px;
  text-align: center;
  color: white;
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 4px 6px rgba(0,0,0,0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 120px;
  max-height: 120px;
  position: relative;
}

.nav-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 6px 12px rgba(0,0,0,0.15);
}

.card-icon {
  font-size: 32px;
  margin-bottom: 10px;
}

.nav-card h3 {
  margin: 0;
  font-size: 18px;
  font-weight: 600;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .nav-card {
      width: calc(50% - 10px) !important;
      margin-bottom: 20px;
  }
}

@media (max-width: 480px) {
  .nav-card {
      width: 100% !important;
  }
}
.section-separator {
  margin: 30px 0 20px 0;
  position: relative;
  text-align: left;
}

.section-title {
  display: inline-block;
  background-color: white;
  width: 100%;
  padding: 8px 15px;
  border-radius: 4px;
  color: #34495e;
  font-size: 18px;
  font-weight: 600;
  margin: 0;
  box-shadow: 0 4px 6px rgba(0,0,0,0.05);
  border-left: 4px solid #3498db;
}
.overall-progress-container {
  background: white;
  border-radius: 6px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  padding: 20px;
  margin-bottom: 30px;
  width: 100%;
}

.overall-progress-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.overall-progress-header h3 {
  margin: 0;
  color: #34495e;
}

.progress-stats {
  text-align: right;
}

.progress-percentage {
  font-size: 24px;
  font-weight: bold;
  color: #34495e;
  margin-right: 10px;
}

.progress-fraction {
  color: #7f8c8d;
}

.overall-progress-bar {
  height: 20px;
  border-radius: 20px;
  background-color: #ecf0f1;
  display: flex;
  overflow: hidden;
  position: relative;
}

.progress-segment {
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: white;
  font-weight: bold;
  transition: width 0.5s ease;
  position: relative;
}

.progress-completed {
  background-color: #2ecc71;
  z-index: 3;
}

.progress-inprogress {
  background-color: #3498db;
  z-index: 2;
}

.progress-pending {
  background-color: #f39c12;
  z-index: 1;
}

.progress-rejected {
  background-color: #e74c3c;
  z-index: 4;
}

.segment-label {
  white-space: nowrap;
  font-size: 14px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.progress-segment:hover .segment-label {
  opacity: 1;
}

.progress-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 15px;
}

.legend-item {
  display: flex;
  align-items: center;
}

.legend-color {
  width: 15px;
  height: 15px;
  border-radius: 3px;
  margin-right: 5px;
}

.completed-color {
  background-color: #2ecc71;
}

.inprogress-color {
  background-color: #3498db;
}

.pending-color {
  background-color: #f39c12;
}

.cos-scrollable-content {
  height: 500px; /* Adjust this height as needed */
  overflow-y: auto;
}

@media (max-width: 768px) {
  .overall-progress-header {
      flex-direction: column;
      align-items: flex-start;
  }
  
  .progress-stats {
      text-align: left;
      margin-top: 10px;
  }
  
  .progress-legend {
      flex-wrap: wrap;
  }
}
  .button-badge {
    background-color: #fa3e3e;
    border-radius: 50%;
    color: white;
    
    min-width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    line-height: 1;


    padding: 5px 7px;
    font-size: 10px;
    
    position: absolute; /* Position the badge within the relatively positioned button */
    top: -5px;
    right: -5px;
  }