BODY
{
margin: 0;
background-color:white;
font-family: verdana, arial, helvetica, geneva;
font-size:10pt;
}
A 		{text-decoration:none}
A:hover	{text-decoration:underline}

TABLE {
	border-collapse: collapse;
}


TD 
{
font-size: 8pt;
}
SMALL 
{
font-size: 8pt;
color:#999999;
}
H3
{
font-size: 12pt;
line-height: 15pt;
font-weight: bold;
margin-top:0;
margin-bottom:10;
color:rgb(0,85,149);
}
H4
{
font-size: 11pt;
margin-top:2px;
margin-bottom:2px;
color:#333;
}
H5 {
	margin: 1px;
}
H6 {
	margin: 1px;
	text-align:center;
}


FORM LABEL > * {
	display: table-cell
}
FORM LABEL {
	display: table-row
}


.uni-icon {
/*	font-family: "Segoe UI Symbol"; */
}
.uni-icon:hover {

}
.icon-button {
	margin: 1px 10px 0 0;
	padding:2px;
	border: 1px solid #999;
	background: #eee;
}
.icon-button:hover {
	background: #ccc;
}

.dark {
	color:rgb(0,85,149);
}
.dark-bkgd {
	color:#ddd;
	background-color:rgb(0,85,149);
}
.sticky {
  position: -webkit-sticky; /* Safari */
  position: sticky;
  top: 0;
}

.large {
	font-size:1.25em;
}
.small {
	font-size: 0.75em;
	color: #666;
}
.error {
	background-color:#d00;
	color:#fff;
}
.warning {
	background-color:#fd6;
	color:#000;
}
.allcaps {
	text-transform:uppercase;
}

.auto-help {
	cursor:pointer;
}
.auto-help:hover {
	text-decoration:underline;
}

.vt { 
	white-space:nowrap;
	writing-mode:tb-rl;
	font-size:0.9em;
}

form {
	margin-top: 0;
}
form,
form td,
form input,
form select {
	font-size:13px;
}

.divFormUnchanged {
	border: 1px solid #FFFFFF;
	background-color: #FFFFFF;
}
.divFormChanged {
	border: 1px solid red;
	background-color: #ffe;
}
.btnForm {
	font-size:8pt
}


.center {
	width:100%;
	text-align: center;
}
.centered {
	display: flex;
	text-align: center;
	justify-content: center;
}




.nobr {
	white-space: nowrap;
}



.main-content {
	position:relative;
	margin: 10px;
	top: 60px;
	padding-bottom:30px;
}
.main-content.no-header,
.main-content-print {
	top: 0px!important;
}

.main-fixed {
	box-sizing: border-box;
	width:100%;
	height:100%;
	display:block; 
	margin: 0px 0 0px 0;
	overflow:hidden;
	pointer-events: none;
	z-index:5;
}

/* * * * * * * * * * * * * * * * * 
					MENU
					
* * * * * * * * * * * * * * * * */

.menubar {
	position:fixed;
	z-index:2;
	top: 0;
	left: 0;
	display: table;
	height: 60px;
	width: 100%;
	min-width:400px;
	white-space: nowrap;
	background-image: url(header1.jpg);
	background-repeat: repeat-x;
	background-position:top left;
	background-color:#ddd;
	border-bottom:1px solid #ccc;

	display:flex;
	justify-content: center; 
}

.menubar > span {
	display: table-cell;
	
	height: 100%;
	vertical-align: middle;
	line-height: normal;
	font-family: arial;
	font-size:9pt;
	white-space: nowrap;
}

.menubar span > a {
	font-size: 13px; /*1vw;*/
}


.menubar .submenu {
	display: inline-block;
}

.menubar select
{
	padding:13px;
	margin:0;
}
.menubar a
{
	text-decoration:none;
	color:#FFFFFF;
	padding: 5px;
	font-weight:bold;
	height: 20px;
	line-height:20px;
	border-top: 1px solid transparent;
	border-left: 1px solid transparent;
	border-right: 1px solid transparent;
	border-bottom: 1px solid transparent;
}


.menubar a:not(.aButton):hover
{
	border: 1px solid #660000;
}
.menubar a:not(.aPressed):not(.aButton):hover
{
	background-color: rgb(0,85,149);
}

.menubar .aPressed,
.menubar a:not(.aPressed):hover
{
	/* background-color: white; */
	color:#fab243;
	border: 1px inset #FF0000;
}


/* * * * * * * * * * * * * * * * * 
					Tables
					
* * * * * * * * * * * * * * * * */


#maintable table{ 
	border: 0px !important;
}
#maintable td{ 
	vertical-align:top;
	border: 0;
}
.border-less {
	border: 0px !important;
}
.border-less td {
	border: 0px !important;
}



.print-button {
	font-size: 1.5em;
	color:white;
	border: 1px outset #999;
	width: 2em;
}
.print-button:hover {
	text-decoration:underline;
	color:red;
}

/* * * * * * * * * * * * * * * * * 
					Dialogs
					
* * * * * * * * * * * * * * * * */

.page-fixed {
	position: fixed;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	padding: 60px 0 0 0;
	z-index:33;
}
.element-fixed {	/*fill entire object interior*/
	position: absolute;
	top: 0;
	left: 0;
	height: 100%;
	width: 100%;
	z-index:3;
}
.page-cover {
	position: absolute;
	top: -100%;
	left: -100%;
	height: 300%;
	width: 300%;
	background-color: #ccf;
	opacity: 0.25;
	cursor: wait;
}
.page-cover-change {
	 font-size:3em; 
	 color:black;
}

.page-fixed .centered {
	/*centering...*/
	position:absolute;
    left: 50%;
	top: 50%;
    transform: translate(-50%, -50%);	
	text-align:center;
}

.page-dialog {
	position:absolute;
	overflow:auto;
	background-color:rgba( 255, 255, 255, 1 );
	color: black;
	opacity: 1;
	min-width: 20%;
	max-width:90%;
	max-height:75%;
	height: auto;
	width:auto;
	
	border:2px outset #666;
    box-shadow:3px 4px 1px #999;	
	cursor:default;
	z-index:99;

	display:flex;
	flex-direction: column;

	resize: both;
	
	/*centering...*/
    left: 50%;
	top: 50%;
    transform: translate(-50%, -50%);	
}
.dialog-close-button {
	position:relative;
	 autofocus:autofocus;
}
.page-dialog-header {
	position:relative;
	top: 0;
	color: #ddd;
	position: sticky;
	display:flex;
}
.page-dialog .dialog-printer {
	position:relative;
}
.page-dialog .page-dialog-title {
	position:absolute;
	top: 0;
	width:100%;
	text-align:center;
	color: #fff;
}
.page-dialog .page-dialog-pane {
	position:relative;
	padding:25px 10px; 
	margin-bottom:35px;
	text-align:left;
	overflow:auto;
	height:100%;
}
.page-dialog .page-dialog-content {
	text-align:left;
	height:100%;
}


.page-dialog .dialog-buttons {
	display:block;
	position: fixed;
	left: 0px;
	bottom: 0px;
	width:100%;
	overflow: hidden;
	border-top:1px solid #999;
	background: linear-gradient( 0deg, #aaa 2%, #bbb 5%, #ccc 15%, #ddd 50%, #eee 100%);
}

.page-dialog .dialog-button {
	display:inline-block;
	margin: 5px 2px;
	font-size: 1.2em;
	cursor: pointer
}
.page-dialog .dialog-button:first-child {
	margin-left:20px;
}
.page-dialog .dialog-button:hover {

}



.page-dialog > .page-dialog-footer {
	bottom: 0;
	color: #bbb;
	font-size:0.9em;
	text-align:center;
	position: sticky;
	display:none;
}

.page-dialog label {
	display:block;
}
.page-dialog textarea,
.page-dialog input[type="text"] {
	margin: 1px 3px;
	padding: 1px;
	border: 1px inset #ccc;
	border-radius: 1px;
}


pre.alert {
	font-family:arial;
	font-size:1.25em;
	font-weight:8;
	line-height: 1.2em;
}



.page-dialog textarea:focus,
.page-dialog select:focus,
.page-dialog input:focus {
  animation: fadefocus 1s infinite;
}
@keyframes fadefocus {
	0%, 100% {
		background: #fff;
	}
	35%, 65% {
		background: #f3f3f3;
	}
	50% {
		background: #fff;
	}
}




.dialog-prompt {
/*	color: #006;
	text-align:center; */
	margin: 3px 3px 7px 3px;
}

.hidden {
	display:none;
}





/* * * * * * * * * * * * * * * * * 
					date picker
		using jQuery UI version
* * * * * * * * * * * * * * * * */

.ui-datepicker{
	margin-top:1px;
}
.ui-datepicker-calendar td a {
	height:25px!important;
}
.ui-datepicker-week-end  {

}




#splashLink {
	position:absolute;
	left:15px;
	top:8px;
	width:125px;
	height:34px;
}
#splashLink:hover {
	background:white;
	opacity:0.5;
}

/* * * * * * * * * * * * * * * * * 
				print

* * * * * * * * * * * * * * * * */

.main-fixed-frame {
	pointer-events: none;
	display:grid;
	grid-template-columns: 1fr;
	grid-template-rows:60px 1fr; 
	box-sizing: border-box; 
	margin:0;
	position:fixed;
	top:0;left:0;
	width:100%;height:100%;
	z-index: 1;

}

.main-fixed-frame-suncor {
    pointer-events: none;
    display: block;
    box-sizing: border-box;
    margin-left: 70px;
	margin-top:30px;
    position: relative;
	z-index: 0;
	width: 900px;
}

.main-fixed-frame-suncor #panel-legend-relative{
	display: inline-block;
	position: absolute;
    top: 0;
    right: 50px;
}

.main-fixed-frame-suncor #panel-crew-relative{
	display: inline-block;
	vertical-align:top;
	margin-right: 100px;
}

@media screen
{
}



@media print
{
	body 	{
		margin-top: 1.0cm;
		margin-bottom: 1.0cm;
		color-adjust: exact; -webkit-print-color-adjust: exact; print-color-adjust: exact; 
	}
	.main-menu {
		display:none;
	}
	.main-content {
		position:relative;
		margin: 10px;
		top: 0px;
		padding-bottom:0px;	
	}
	.auto-help,
	.back-button {
		display:none;
	}
	
	.page-dialog {
		width: 100%;
		height: 100%;
	}
	
	.no-print {
		display:none;
	}
}

/* * * * * * * * * * * * * * * * * 
			pop up menus
	moved here from popupMenu.css
* * * * * * * * * * * * * * * * */

.popup
{
	margin: 0;
	padding: 2px;
	position: absolute;
	z-index:2;
	left: 0;
	top: 0;
	list-style-type: none;
	background-color:Menu;
	border-left: 1px solid #ccc;
	border-top: 1px solid #ccc;
	border-right: 2px solid #666;
	border-bottom: 2px solid #666;
	display: none; /*collapse all sub menus to begin with*/
	box-shadow: 2px 2px 4px #666; /*shadow for CSS3 capable browsers.*/
	-webkit-box-shadow: 2px 2px 4px #666;
	-moz-box-shadow: 2px 2px 4px #666;
}
.popup li
{
	display:block;
	font-size:10pt;
	z-index:3;
	border:1px solid transparent;
	white-space: nowrap;
}
.popup li a
{
	padding-left:15px;
	padding-right:15px;
	padding-top:1px;
	padding-bottom:1px;
	display:block;
	color:MenuText;
	background-color:Menu;
	text-decoration:none;
}
.popup li a:hover
{
	color:white;
	background-color:ActiveCaption;
	text-decoration:none;
}

.dropbtn {
    background-color: transparent;
    color: white;
    font-weight: bold;
    font-size: 13px;
    border: none;
    cursor: pointer;
    font-family: verdana, arial, helvetica, geneva;
  }
  
  .dropdown {
	position: relative;
	display: inline-block;
  }
  
  .dropdown-content {
	display: none;
	position: absolute;
	background-color: #f9f9f9;
	min-width: 160px;
	box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
	z-index: 1;
  }
  
  .dropdown-content a {
	color: black;
	padding: 12px 16px;
	text-decoration: none;
	display: block;
  }
  
  .dropdown-content a:hover {background-color: #f1f1f1}
  
  .dropdown:hover .dropdown-content {
	display: block;
  }
  
  .dropdown:hover .dropbtn {
	background-color: #3e8e41;
  }
  
  
  
 /* hack to fix chrome black bordered input issue */
 /* copied from https://github.com/octobercms/october/issues/4892 */
:focus {
    outline: none;
    -webkit-box-shadow: inset 0 1px 2px rgba(27,31,35,.075), 0 0 0 0.2em rgba(3,102,214,.3);
            box-shadow: inset 0 1px 2px rgba(27,31,35,.075), 0 0 0 0.2em rgba(3,102,214,.3);
} 


.employeeQualificationSaved {
	position: relative;
	animation: fadegreen 4s forwards;
}
.employeeQualificationSaved:before,
.employeeQualificationSaved:after {
	display: block;
	pointer-events: none;
	position: absolute;
}
.employeeQualificationSaved:after {
	border-right: 6px solid transparent;
	border-bottom: 8px solid rgba(0,0,0,.75); 
	border-left: 6px solid transparent;
	content: '';
	height: 0;
	top: 25px;
	left: 7px;
	width: 0;
	animation: fadetooltip 4s forwards;
}
.employeeQualificationSaved:before {
    background: rgba(0,0,0,.75);
    border-radius: 1px;
    color: #fff;
    content: "Data Updated.";
    font-size: 12px;
    padding: 3px 5px;
    top: 33px;
    white-space: nowrap;
    left: 50%;
    transform: translateX(-50%);
	animation: fadetooltip 4s forwards;

}

@keyframes fadetooltip{
	0%{
		opacity: 0;
	}
	50%{
		opacity: 1;
	}
	100%{
		opacity: 0;
	}
}

@keyframes fadegreen{
	0%{
		background-color: rgb(21, 202, 66, 0%);
	}
	50%{
		background-color: rgb(21, 202, 66, 100%);
	}
	100%{
		background-color: rgb(21, 202, 66, 0%);
	}
}
