/* main styles */
body {
	margin:0;
	padding:0;
	background:#4293a8;
  	color:#000;
	font-family:Arial, Helvetica, sans-serif;
	font-size:11px;
	}
img {border:none;}
a {color:#060606;text-decoration: none}
a:hover {text-decoration: underline}
input {vertical-align:middle}
.floatleft {float:left !important}
.floatright {float:right !important}
.clear {clear:both !important}
.bold {font-weight:bold !important}
.normal {font-weight:normal !important}
.block {display:block !important}
input.text,
select,
textarea {
	font-family:arial,sans-serif;
	color:#333;
	font-size:12px;
	vertical-align:middle;
	}
input.text {
	padding:1px 0 0 4px;
	height:14px;
	font-weight:normal;
	}
input.text-small {
	padding:1px 0 0 4px;
	height:14px;
	font-weight:normal;
	}

/* main container */
#main {
	width:100%;
	}
/* header */
#header-wrap {
	width:100%;
	height:50px;
	background:#5caec3;
	margin-bottom:10px;
	}
#header {
	position:relative;
	width:1200px;
	height:50px;
	margin:0 auto;
	}
	
.header {
  text-align: center;
  background: #FF0000;
  color: white;
  font-size: 16px;
  /*width:100%;*/
  padding:3px;

}
/* site logo */
a.logo {
	/*
	position:absolute;
	top:11px;
	*/
	}
a.email {
	position:absolute;
	top:15px;
	right:0;
	color:#fff;
	font-weight:bold;
	font-size:14px;
	text-decoration:blink;
}
a.email:hover {
	text-decoration:none;
}
a.email img {
	vertical-align:middle;
	}
	
/* header tabs */
#top-navigation {
	position:absolute;
	top:60px;
	left:20px;
	margin:0;
	padding:0;
	list-style:none;
	}
#top-navigation li {
	float:left;
	margin:0 3px 0 0;
	height:34px;
	background:url(../img/tab.gif) repeat-x top;
	}
#top-navigation li a {
	float:left;
	display:block;
	height:20px;
	line-height:19px;
	color:#606060;
	padding:4px 0 0 0;
	}
#top-navigation li span {
	float:left;
	background:url(../img/tab-left.gif) no-repeat left top;
	}
#top-navigation li span span {
	background:url(../img/tab-right.gif) no-repeat right top;
	padding:7px 10px 0 10px;
	}
#top-navigation li.active {
	padding:0;
	height:34px;
	background:url(../img/tab-active.gif) repeat-x top;
	margin-right:2px;
	}
#top-navigation li.active span {
	background:url(../img/tab-active-left.gif) no-repeat left top;
	height:34px;
	}
#top-navigation li.active span span {
	background:url(../img/tab-active-right.gif) no-repeat right top;
	height:23px;
	padding:11px 10px 0 10px;
	line-height:19px;
	color:#606060;
	}
	
/* middle */
#middle {
	margin:0 auto;
	width:1200px;
	padding:10px;
	background:#fff;
	}
/* left column */
#left-column {
	float:left;
	width:200px;
	background:#5caec3 url('../images/leftcol_top.gif') no-repeat 0 0;
	}
/* right column */
#right-column {
	float:right;
	padding:0 9px 0 0;
	width:133px;
	}
/* center column */
#center-column {
	float:left;
	padding-left:10px;
	width:990px;
	}	
* html #center-column {height:584px;}

/* footer */
#footer {
	width:100%;
	height:10px;
	text-align:center;
	}
	
/* left column styles */

ul.nav {
	margin:0 0 11px 0;
	border-bottom:2px solid #FF9600;
	background:#ECEFE7;
	list-style:none;
	padding:0 2px;
	}
ul.nav li {
	padding:4px 4px 6px 5px;
	background:url(../img/bg-dotted.gif) repeat-x bottom;
	}
ul.nav a {
	padding:0 0 0 12px;
	background:url(../img/arrow.gif) no-repeat 0 4px;
	}
ul.nav a:hover {
	font-weight:bold;
	}
ul.nav li.last {background:none;}

#left-column .link {
	display:block;
	width:185px;
	height:25px;
	background:url(../img/bg-left-link.gif);
	margin:0 0 4px 0;
	font-weight:bold;
	padding:0 0 0 9px;
	line-height:25px;
	color:#60635A;
	}
	
/* center column styles */
.top-bar {
	float:left;
	width:603px;
	border-left:2px solid #f70;
	padding:0 0 0 9px;
	margin:0 0 4px 0;
	}
/* text page header */
.top-bar h1 {
	font:20px/21px verdana,sans-serif;
	color:#43729F;
	margin:0 0 4px 0;
	}
/* orange button */
.top-bar a.button {
	float:right;
	display:block;
	width:75px;
	height:35px;
	text-align:center;
	color:#fff;
	text-transform:uppercase;
	font-weight:bold;
	line-height:27px;
	background:url(../img/bg-orange-button.gif) no-repeat;
	}
a.button {
	float:right;
	display:block;
	width:75px;
	height:35px;
	text-align:center;
	color:#fff;
	text-transform:uppercase;
	font-weight:bold;
	line-height:27px;
	background:url(../img/bg-orange-button.gif) no-repeat;
	}	
/* bar with select */
.select-bar {
	clear:both;
	border-top:2px solid #f70;
	border-bottom:2px solid #f70;
	padding:5px 0 3px 0;
	margin:0 0 17px 0;
	}
.select-bar select {width:145px;margin:0 2px;}

div.table .select {
	width:174px;
}

/* table container */
table { margin: 0; }

div.table {
	margin:0 0 15px 0;
	}
	
table.listing {
	border-bottom:1px solid #9097A9;
	width:100%;
	padding:0;
	margin:0;
	border:1px solid #9097A9;
	}
/*
table.listing table.listing {
	width:97%;
	float:left;
	}
*/
table.listing th {
	border-top:0 !important;
	}
table.listing th.full { text-align:center; text-transform:uppercase;}

table.listing tr:hover { background:#fff!important; }

div.table img.left {
	position:absolute;
	top:-1px;
	left:0px;
	}
div.table img.right {
	position:absolute;
	top:0px;
	right:0px;
	}
/* table styles */
table.listing td,
table.listing th {
	/* border:1px solid #fff; */
	}	
table.listing th {
	background:#428B9E;
	color:#fff;
	padding:5px;
	}
table.listing td {
	background:#efefef;
	color:#000;
	padding:7px 8px;
	}
table.listing .bg td {
	background:#ECECEC;
	}
table.listing .white td {
	background:#fff;
	}	
table.listing .first {border-left:0px solid #9097A9;text-align:left;}
table.listing .last {border-right:0px solid #9097A9;}

table.listing .style1 {font-weight:bold;color:#FF7A00;}
table.listing .style2 {font-weight:bold;padding-left:16px;}
table.listing .style3 {padding-left:25px;}
table.listing .style4 {padding-left:35px;}
table.form .last {padding:1px 0 1px 5px;text-align:left;}

/*
table.form th,
table.form td {padding-left:10px;}
*/

th.sort_column{
	padding: 10px;
	padding-bottom: 10px !important;
}

th.headerSortUp { 
    background-image: url(../img/small_asc.gif) no-repeat; 
} 

th.headerSortDown { 
    background-image: url(../img/small_desc.gif) no-repeat; 
} 

table.listing thead tr .header {
	background-image: url(../img/sort.gif);
	background-repeat: no-repeat;
	background-position: bottom;
	cursor: pointer;
}

table.listing thead th.headerSortUp {
	background-image: url(../img/asc.gif);
	background-repeat:no-repeat;
	background-color: #5caec3;
	background-position:bottom;
}
table.listing thead th.headerSortDown {
	background-image: url(../img/desc.gif);
	background-repeat:no-repeat;
	background-position:bottom;
	background-color: #5caec3;
}

table.listing tr.highlighted-row td {
	background-color: #df6363; /* Yellow background color for highlighting */
}



table.form input.text {width:262px}

/* tree style branch for table TD's */
.branch { background:#efefef url('../images/corner-dots.gif') no-repeat -35% 50%!important; }

.branch_message { background:#ffffff url('../images/corner-dots.gif') no-repeat -35% 50%!important; }

/* right column header */
#right-column .h {
	float:left;
	background:#7E878A;
	border:1px solid #B8B8B8;
	border-bottom:0;
	padding:3px 10px;
	color:#fff;
	text-transform:uppercase;
	}
/* right column box */
#right-column .box {
	float:left;
	width:121px;
	padding:5px;
	border:1px solid #B8B8B8;
	background:#EBEBEB;
	margin:0 0 15px 0;
	}
	
/* right column buttons */
.buttons {
	clear:both;
	text-align:center;
	padding:5px 2px 5px 2px;
	}
.buttons input {margin:0 0 6px 0;}

.btntop, .btn { font-family:Verdana, Arial, sans-serif; font-size:12px; font-weight:bold; color:#333; background:#ddd; border-width:1px; }

div.table td, th { border:1px solid #fff; }

#tabs_wrap {
border-bottom:1px solid #999999;
margin-bottom:10px;
width:100%;
}
ul#tabs {
list-style:none outside none;
margin:0;
padding:0;
}
#tabs li {
background:none repeat scroll 0 0 transparent !important;
float:left;
padding:0 !important;
}
#tabs a {
background:url("../images/alt/mf_tab_left.gif") no-repeat scroll 0 0 transparent !important;
border:medium none;
color:#FFFFFF;
display:block;
font-weight:bold;
margin-right:2px;
outline:medium none;
padding-left:5px;
text-decoration:none;
}
#tabs a span {
background:url("../images/alt/mf_tab_right.gif") repeat-x scroll 100% 0 transparent;
display:block;
padding:5px 10px 5px 5px;
}
#tabs a:hover {
background:url("../images/alt/mf_tab_left_o.gif") no-repeat scroll 0 0 transparent !important;
}
#tabs a:hover span {
background:url("../images/alt/mf_tab_right_o.gif") repeat-x scroll 100% 0 transparent;
text-decoration:underline;
}
#tabs a.current {
background:url("../images/alt/mf_tab_left_o.gif") no-repeat scroll 0 0 transparent !important;
color:#333333 !important;
}
#tabs a.current span {
background:url("../images/alt/mf_tab_right_o.gif") repeat-x scroll 100% 0 transparent;
}

h1, h2, h3, h4, h5, h6 { color:#428B9E; font-weight:normal; margin-top:0; }

/** Frontpage Buttons **/

ul.fpBtns { float:left; list-style:none; margin:0 auto 10px; padding:0; width:640px; }
ul.fpBtns li { float:left; margin-right:10px; }
ul.fpBtns a { display:block; width:150px; height:150px; }

a.user { background-image:url('../images/user.jpg'); }
a.user:hover { background-image:url('../images/user_over.jpg'); }

a.company { background-image:url('../images/company.jpg'); }
a.company:hover { background-image:url('../images/company_over.jpg'); }

a.job { background-image:url('../images/job.jpg'); }
a.job:hover { background-image:url('../images/job_over.jpg'); }

a.online { background-image:url('../images/online.jpg'); }
a.online:hover { background-image:url('../images/online_over.jpg'); }

a.model { background-image:url('../images/model.jpg'); }
a.model:hover { background-image:url('../images/model_over.jpg'); }

a.order { background-image:url('../images/order.jpg'); }
a.order:hover { background-image:url('../images/order_over.jpg'); }

a.stock { background-image:url('../images/stock.jpg'); }
a.stock:hover { background-image:url('../images/stock_over.jpg'); }

a.message { background-image:url('../images/message.jpg'); }
a.message:hover { background-image:url('../images/message_over.jpg'); }

a.timesheet { background-image:url('../images/timesheet.jpg'); }
a.timesheet:hover { background-image:url('../images/timesheet_over.jpg'); }

a.equipment { background-image:url('../images/equipment.jpg'); }
a.equipment:hover { background-image:url('../images/equipment_over.jpg'); }

a.inspection { background-image:url('../images/inspection.jpg'); }
a.inspection:hover { background-image:url('../images/inspection_over.jpg'); }

a.routine { background-image:url('../images/routine.jpg'); }
a.routine:hover { background-image:url('../images/routine_over.jpg'); }

/** Validation Styles **/

.required { background-color:#FD9C9C; }
.required_indicator { background-color:#FD9C9C; }
.help { background-color:#fcff00; }
.error { color:#ff0000; }

/** for job equipment model **/
tr.error_company td { background-color:#901818; }

/** For Inspection **/
tr.priority td { background-color: #d64040;}
tr.failed td { background-color: #feff87;}
tr.highlightnew td { background-color: #feff87;}

/** For scheduled items on follow on **/
tr.followon td { background-color: #e78c21;}
.followon  { background-color: #e78c21 !important;}

/** Debtor table **/
.debtor_left_line {
	border-left-style:solid !important;
}

.debtor_bottom_line {
	border-bottom-style:solid !important;
}

.debtor_top_line {
	border-top-style:solid !important;
}
/** For branched rows **/
.branchrow { background:#d1d1d1 !important;}

/** Alternate row colors **/
tr.alternate td { background-color: #d3d3d3;}
tr.subheading th { background-color: #4dacc5;}
tr.alternate_bold td {font-weight: bold;}
tr.invoice_message td{ background-color: #ffffff;}
/** Job Invoice table highlights **/
.approved_item { background-color: #47d35b !important;}

/** Job Invoice table highlights **/
.not_approved_item { background-color: #be3333 !important;}

/** Report/Acceptance test pages **/
#center-column-report {
	float:left;
	padding-left:0px;
	width:100%;
}
#middle-report {
	margin:0 auto;
	width:100%;
	padding:0px;
	background:#fff;
	}
.visibleDiv
{
    position: fixed;
	width: 100%;
	background-color: #ffffff;
}
div.table-report {
	margin:0 0 15px 0;
	}
div.table-acceptance {
	margin:0 0 15px 0;
	}
table.listing_inspection {
	border-bottom:1px solid #9097A9;
	width:790px;
	padding:0;
	border:1px solid #9097A9;
	text-align:center;
	margin-left:15%; margin-right:15%;
	}	
	/* table styles */
table.listing_inspection td,
table.listing_inspection th {
	/* border:1px solid #fff; */
	}	
table.listing_inspection th {
	background:#428B9E;
	color:#fff;
	padding:5px;
	}
table.listing_inspection td {
	background:#efefef;
	color:#000;
	padding:3px 5px;
	}
table.listing_inspection .bg td {
	background:#ECECEC;
	}
table.listing_inspection .white td {
	background:#fff;
	}	
table.listing_inspection .first {border-left:0px solid #9097A9;text-align:left;}
table.listing_inspection .last {border-right:0px solid #9097A9;}

table.listing_inspection .style1 {font-weight:bold;color:#FF7A00;}
table.listing_inspection .style2 {font-weight:bold;padding-left:16px;}
table.listing_inspection .style3 {padding-left:25px;}
table.listing_inspection .style4 {padding-left:35px;}

.ui-autocomplete { position: absolute; cursor: default; background:#CCC }   

/* workarounds */
html .ui-autocomplete { width:1px; } /* without this, the menu expands to 100% in IE6 */
.ui-menu {
    list-style:none;
    padding: 2px;
    margin: 0;
    display:block;
    float: left;
}
.ui-menu .ui-menu {
    margin-top: -3px;
}
.ui-menu .ui-menu-item {
    margin:0;
    padding: 0;
    zoom: 1;
    float: left;
    clear: left;
    width: 100%;
}
.ui-menu .ui-menu-item a {
    text-decoration:none;
    display:block;
    padding:.2em .4em;
    line-height:1.5;
    zoom:1;
}
.ui-menu .ui-menu-item a.ui-state-hover,
.ui-menu .ui-menu-item a.ui-state-active {
    font-weight: normal;
    margin: -1px;
}


.notification-label {
	display: inline-block;
	top: -25px;
	padding: 5px 10px;
	background-color: #ff0808; /* Example color */
	color: white;
	text-align: center;
	border-radius: 50px; /* Creates the pill shape */
	cursor: pointer;
	/* Position adjustments */
	position: relative;
	margin-left: 20px; /* Adjust as needed */
	vertical-align: middle; /* Aligns with the logo */
}


.notification-menu {
	display: none; /* Hide by default */
	position: fixed;
	background-color: #f9f9f9;
	max-height: 250px; /* Adjust based on your design, 250px for 5 items approximately */
	width: 300px; /* Adjust as needed */
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	overflow-y: auto; /* Enable scrolling */
	padding: 10px;
	z-index: 1;
}

.notification-item {
	display: block;
	padding: 10px;
	border-radius: 4px;
	margin-bottom: 10px;
	text-decoration: none;
	color: black;
	transition: background-color 0.3s;
}

.notification-item:hover {
	background-color: #f0f0f0;
}

.priority-1 { /* High priority */
	border-left: 4px solid red;
}

.priority-2 { /* Medium priority */
	border-left: 4px solid orange;
}

.priority-3 { /* Low priority */
	border-left: 4px solid green;
}

.notification-content {
	flex-grow: 1;
}

.notification-title {
	font-weight: bold;
}

.notification-message {
	font-size: 14px;
	color: #555;
}

.notification-actions {
	display: flex;
	flex-direction: column;
	align-items: flex-end;
}

.mark-read-btn {
	background-color: #4CAF50; /* Green */
	color: white;
	padding: 5px 10px;
	text-align: center;
	text-decoration: none;
	display: inline-block;
	font-size: 14px;
	margin: 4px 2px;
	cursor: pointer;
	border: none;
	border-radius: 4px;
}

.notification-link {
	color: #007bff;
	text-decoration: none;
	font-size: 14px;
	/* Additional styles for the link */
}

.hover-info {
	display: none; /* Initially hidden */
	position: absolute; /* Position relative to the cursor */
	padding: 10px;
	background-color: white;
	border: 1px solid #ddd;
	box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
	z-index: 1000; /* Ensures it appears above other elements */
	max-width: 300px; /* Adjust as necessary */
	word-wrap: break-word;
}

/* Bold label styling */
.hover-info strong {
	font-weight: bold;
}

.subscribe-btn {
	display: inline-block;
	top: -25px;
	padding: 5px 10px;
	text-align: center;
	cursor: pointer;
	/* Position adjustments */
	position: relative;
	margin-left: 20px; /* Adjust as needed */
	vertical-align: middle; /* Aligns with the logo */
}
