/* ------ BASIC STARTING POINTS ----------------------------------------*/
body, form, fieldset, ol, ul, li, h1, h2, h3, h4, h5, h6, p {
	margin:0;
	padding:0;
}
img {
	border:0; 
	vertical-align:top;
}
html {
	min-height:100%;
	height:100%; /*for IE 6 */
}
body {
	min-height:100%;
	height:100%; /*for IE 6 */
	width: 100%;
	overflow:hidden;
}
.std_txt {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;	
}


/* ========================================== GENERAL LAYOUT ======================================== */

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	line-height: 1.5em;
}
#header {
	width: 100%;
	height: 40px;
	padding-top: 5px;
	padding-bottom: 5px;
}
#inner {
	width: 100%;
	height: 100%;
	min-height: 800px;
}
#content {
	float: left;
	width: 85%;
	height:100%;
}
.item_left {
	float: left;
}
.item_right {
	float: right;
}

/* ========================================== LOGIN ======================================== */

#loginnav {
	text-align: left;
	width: 25%;
	height:100%;
	float: left;
	padding-left: 5%;
}
#logincontent {
	float: left;
	width: 70%;
	height:100%;
	background-image: url(../img/login_bground.png);
	background-position: center;
	background-repeat: no-repeat;
	background-size: cover;
}
.login {
	vertical-align: middle;
	text-align:center;
}
.white_orange_link {
	text-decoration: none;
}
/* =========================================== NAVIGATION ======================================= */
#nav {
	text-align: left;
	width: 14%;
	height:100%;
	float: left;
	padding-left: 1%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
}
.nav_item {
	display: block;
	padding-bottom: 5px;
}
.nav_hidden {
	visibility: hidden;
}
#nav_sub {
	font-size: 10px;
}
#navrow {
	float: left;
	width: 85%;
	height: 40px;
	padding-top: 5px;
}
#navrow a{
	text-decoration: none;
}
navrow a:hover {
	text-decoration: underline;
}

/* =============================================== HOME ===================================================== */

#home_proj {
	float: left;
	padding-left: 10px;
	height: calc(100% - 150px);
	width: 175px;
	Overflow-y:auto;
}	
.home_proj_item {
	height: 150px;
	width: 150px;
	text-align: center;
	margin: 5px;
}
#home_worksite {
	float: left;
	padding-left: 10px;
	height: calc(100% - 150px);
	width: calc(100% - 200px);
	overflow-y:auto;
	visibility: hidden;
}
.home_works_item {
	float: left;
	height: 150px;
	width: 150px;
	text-align: center;
	margin: 5px;
}

/* ========================================= RESOURCES (SAC REGISTER) ==================================================== */
#resource_controls {
	width: 100%;
	height: 30px;
	padding-top: 5px;
	padding-bottom: 5px;
}
.res_control_1 {
	font-size: small;
	height: 27px;
	margin: 0;
}
.res_control_2 {
	font-size: small;
	height: 20px;
}
#resources {
	display: flex;
	flex-flow: column;
	height: 90%;
}
#res_summary_tbl {
	border-collapse: separate;
	border-spacing: 0;
}
.res_summary_header {
	margin-top:2px;
	margin-bottom: 2px;
}
.res_summary_header th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 3;
}
#new_resource_switch {
	width: 100%;
	height: 15px;
	text-align: center;
}
#resource_summary_list {
	height: 100%;
	overflow: auto;
	flex-grow: 1;
}
.res_input_group {
	border-collapse: collapse;
}
.res_input_group tr td {
	padding-top: 3px;
	padding-bottom: 3px;
}
td.res_input_section {
	min-width:25px;
	width: 25px;
	max-width: 25px;
}
.res_startbox {
	position: relative;
}
.res_endbox {
	position: relative;
}
.act_startbox {
	position: absolute;
	height:275px; /* was 20 */
	width: 350px; /* was 120 */
	display:none;
	z-index: 2;
	left: 15px;
	top: 19px;
}
.act_endbox {
	position: absolute;
	height:20px;
	width: 150px;
	display:none;
	z-index: 2;
	left: 15px;
	top: 19px;
}
.loan_status {
	cursor:zoom-in;
}
.resource {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
}
#mob_verified, #mob_reverify, #mob_verify_code, #mob_code_confirm, #mob_code_incorrect,#mob_code_invalid {
	display: none;
}
#mob_verified_hover, #respop_mob_verified_hover {
	width: 300px;
	height: 80px;
	position: absolute;
	z-index: 2;
	top: 150px;
	display: none;
}
#respop_mob_verified_hover {
	top: 200px;
}
.res_status_tooltip {
	position: relative;
	display: inline-block;
}
.res_status_tooltip .res_status_tooltiptext {
	visibility: hidden;
	width: 300px;
	text-align: left;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: -5px;
	left: 110%;
  }
.res_status_tooltip .res_status_tooltiptext::after {
	content: "";
	position: absolute;
	top: 50%;
	right: 100%;
	margin-top: -5px;
	border-width: 5px;
	border-style: solid;
 }
  
.res_status_tooltip:hover .res_status_tooltiptext {
	visibility: visible;
}

/* ================================== WORKSITE PROFILE ======================================================= */
#siteprofile {
	display: flex;
	flex-flow: column;
	height: 90%;
}
#profile_items {
	height: 100%;
	overflow: auto;
	flex-grow: 1;
}

/* ==================================== SITE DIARY =========================================================== */
#sitediary {
	display: flex;
	flex-flow: column;
	height: 90%;
}
#diary_summary_list {
	height: 100%;
	overflow: auto;
	flex-grow: 1;
}
#new_diary_switch {
	width: 100%;
	height: 15px;
	text-align: center;
}
.diary {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
}
#dia_summary_tbl {
	border-collapse:collapse;
}
#dia_summary_tbl tbody tr td {
	word-wrap: break-word;
}
.dia_summary_header {
	margin-top:2px;
	margin-bottom: 2px;
	height: 40px;
}
.dia_summary_header {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
}
.dia_cell {
	padding-right:5px;
}
.diarytooltip {
	position: relative;
	display: inline-block;
}
.diarytooltip .diarytooltiptext {
	visibility: hidden;
	width: 240px;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: 150%;
	left: 50%;
	margin-left: -120px;
}
.diarytooltip .diarytooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
}
  
.diarytooltip:hover .diarytooltiptext {
	visibility: visible;
}
  

/* ==================================== ALERTS =========================================================== */
#alerts {
	display: flex;
	flex-flow: column;
	height: 90%;
}
#alert_summary_list {
	height: 100%;
	overflow: auto;
	flex-grow: 1;
}
#alert_summary_tbl {
	border-collapse:collapse;
}
.alert_summary_header {
	margin-top:2px;
	margin-bottom: 2px;
	height: 40px;
}
.alert_summary_header th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
}
/* ==================================== REPORTS =========================================================== */
#report_summary_list {
	margin-left: 5px;
}
.report_summary_tbl {
	border-collapse: collapse;
	font-size: 18px;
}
.reports_subhead {
	font-size: 18px;
	font-weight:bold;
}
.report_icon {
	text-decoration: none;
}
#report_list {
	font-size:small;
	height: 200px;
	overflow: auto;
}
/* ==================================== PROGRAMME =========================================================== */
#programme {
	display: flex;
	flex-flow: column;
	height: 90%;
}
#prog_summary_list {
	height: 100%;
	overflow: auto;
	flex-grow: 1;
}
#prog_summary_tbl {
	font-size: x-small;
	border-collapse: collapse;
}
.prog_summary_header {
	font-size: small;
	margin-top:2px;
	margin-bottom: 2px;
}
.prog_summary_header th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
	text-align: left;
}
.prog_input {
	font-size: x-small;
}
#prog_summary_tbl tbody tr td input {
	vertical-align: top;
}
#prog_choice {
	height: 20px;
	width: 100%;
	padding-left: 50px;
}
#gantChart {
	display: none;
}
#prog_comments {
	width: 80%;
}
/* programme choice switch ======================================== */
.prog_choice_switch {
  position: relative;
  display: inline-block;
  width: 60px;
  height: 18px;
  top: -10px;
}

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

.slider {
  position: absolute;
  cursor: pointer;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  -webkit-transition: .4s;
  transition: .4s;
}

.slider:before {
  position: absolute;
  content: "";
  height: 15px;
  width: 15px;
  left: 2px;
  bottom: 1px;
  -webkit-transition: .4s;
  transition: .4s;
}
.sliderbox:checked + .slider:before {
  -webkit-transform: translateX(38px);
  -ms-transform: translateX(38px);
  transform: translateX(38px);
}

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

.slider.round:before {
  border-radius: 50%;
}
.prog_choice_text {
	font-size: x-small;
}
/* ==================================== DASHBOARD =========================================================== */
#content_wrapper {
	width: 98.5%;
	padding-left:0.5%;
	height: 100%;
}
#dash_main_display {
	height: 100%;
	width: 79.5%;
	float: left;
}
#dash_main_left {
	height: 100%;
	width: 49%;
	float: left;
}
#dash_main_left_top {
	height: 37%;
	width: 100%;
	margin-bottom: 7%;
	margin-top: 2%;
}
#dash_main_left_top h4 {
	font-size: medium;
}
#dash_main_left_btm {
	height:42%;
	width: 100%;
	font-size: medium;
	margin-top: 2%;
}
#dash_main_left_btm h4 {
	font-size: medium;
}
#dash_main_right {
	height: 100%;
	width: 48%;
	float: right;
}
#dash_main_right_top {
	height: 30%;
	margin-bottom: 4%;
	width: 100%;
}
.dash_mrt_status {
	width: 32%;
	height: 125px;
	margin-bottom:1%;
	margin-left: 1%;
	float: left;
	text-align: center;
	font-size: large;
}
#dash_main_right_btm {
	height:53%;
	width: 100%;
}
#dash_main_right_btm h4 {
	font-size: medium;
}
#dash_side_display {
	height: 100%;
	width: 19.5%;
	float: right;
}
.dash_side_status {
	width: 100%;
	height:9.5%;
	margin-bottom: 2%;
	text-align: center;
	font-size: 1em;
	padding-top: 5px;
}
#dash_weather {
	vertical-align: middle;
}
.nbr_result {
	font-size:1em;
	font-weight: bold;
}
.rag_green {
	font-size:150%;
	font-weight: bold;
}
.rag_amber {
	font-size:150%;
	font-weight: bold;
}
.rag_red {
	font-size:150%;
	font-weight: bold;
}
.dash_fixed_head_container {
	overflow: auto;
	height: 100%;
	margin-top:2px;
	margin-bottom: 2px;
}
#dash_live_activities {
	border-collapse: separate;
	border-spacing: 0;
	font-size: x-small;
}
#dash_live_activities thead tr th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
	text-align: left;
}
#dash_live_activities tbody {
	overflow: auto;
}
#dash_live_activities tbody tr td {
	vertical-align: top;
}
#dash_issues_reported {
	border-collapse: separate;
	border-spacing: 0;
	font-size: x-small;
}
#dash_issues_reported thead tr th {
	position: -webkit-sticky;
	position: sticky;
	top: 0;
	z-index: 2;
	text-align: left;
}
#dash_worksite_times {
	border-collapse: separate;
	border-spacing: 0;
	font-size: x-small;
}
#dash_live_activities thead th {
	text-align: left;
}
#dash_issues_reported thead th{
	text-align: left;
}
#dash_worksite_times thead th {
	text-align: left;
}

/* ==================================== POP UP BOXES ========================================================= */
/* -- Resources expanded detail -- */
input.resource_checkbox {
	height: 20px;
	width: 20px;
}
#resource_container {
	/* checked for V2 */
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#resource_detail {
	margin: 4% auto;
	width: 80%;
	height: 800px;
	overflow:hidden;
	display: flex;
	flex-flow: column;
}
#resource_detail_controls {
	line-height: 1em;
	padding-left: 1%;
	width: 99%;
	height: 100px;
	font-size:18px;
	font-weight:400;
}
#resource_detail_content {
	width: 100%;
	flex-grow : 1;
	overflow: auto;
}
.closeRes {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
#respop_personal {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_signin {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_safety {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_proj {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_group {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_notesarea {
	width: 90%;
	margin: 5px;
	padding: 5px;
	margin-bottom: 20px;
}
#respop_notesarea textarea {
	font-size: x-small;
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;	
}
.respop_heading {
	font-size: 16px;
	position: relative;
	padding-left: 5px;
	top: -15px;
	left: 10px;
	width: 120px;
}

/* Resource Entry Search Box -------------------------------------------------------------- */
#res_searchbox {
	z-index:2;
	display: none;
	position: absolute;
	/*left: 355px;*/
	left: 26%;
	top: 130px;
	/*width:500px;*/
	width: 40%;
	height:200px;
	font-size: small;
	overflow-y:auto;
	overflow-x:hidden;
}
/* Resource Entry Search Box -------------------------------------------------------------- */
#cc_searchbox {
	z-index:2;
	display: none;
	position: absolute;
	left: 410px;
	/*left: 24%;*/
	top: 395px;
	/*width:500px;*/
	width: 40%;
	height:200px;
	font-size: small;
	overflow-y:auto;
	overflow-x:hidden;
}
.hovertable {
	border-collapse: collapse;
}
.hovertable tr:hover {
	cursor: pointer;
}

/* New Sponsor/Employer Popup */
create_sponsor_container {
	display:block;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#create_sponsor_popup {
	width: 250px;
	height: 70px;
	overflow: auto;
	position: absolute;
	right: 12%;
	top: 12%;
}
#create_sponsor_banner {
	width: 100%;
	height: 20px;
}


/* Loaned Items Popup box ----------ALL V2 REQUIRED ------------------------------------------------------- */
#loan_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#loan_detail {
	width: 450px;
	height: 500px;
	overflow: auto;
	position: absolute;
	right: 10%;
	top: 10%;
}
#loan_controls {
	width: 100%;
	height: 100px;
	font-size: small;
	margin-bottom: 10px;
	margin-top: 10px;
	height: 100px;
	font-size:18px;
	font-weight:400;
}
#loan_content {
	width: 100%;
	height: 710px;
	overflow-x: auto;	
	padding: 10px;
}
#loan_detail_controls {
	width: 100%;
	height: 40px;
	font-size:18px;
	font-weight:400;
}
#loan_detail_content {
	width: 100%;
}
.closeLoan {
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closeLoan:hover, .closeLoan:focus {
  text-decoration: none;
  cursor: pointer;
}
#loanpop_save {
	float: right;
}

/* diary popup --------------------------------------- */
#diary_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#diary_detail {
	margin: 4% auto;
	width: 60%;
	height: 800px;
	overflow:hidden;
	display: flex;
	flex-flow: column;
}
#diary_detail_controls {
	line-height: 1em;
	padding-left: 1%;
	width: 99%;
	height: 60px;
	font-size:18px;
	font-weight:400;
}
#diary_detail_content {
	width: 100%;
	flex-grow : 1;
	overflow: auto;
}
.closeDiary {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
/* Validation ------------------------ */
#validation_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#validation_detail {
	width: 40%;
	height: 40%;
	position: absolute;
	left: 30%;
	top: 30%;
}
#validation_controls {
	width: 100%;
	height: 30px;
	font-size:18px;
	font-weight:400;
}
#validation_content {
	width: 98%;
	height: 400px;
	padding-left: 2%;
}
.poptitle {
	float: left;
}
.closevalid {
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closevalid:hover, .closevalid:focus {
  text-decoration: none;
  cursor: pointer;
}

/* Information ------------------------ */
#information_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#information_detail {
	width: 40%;
	height: 40%;
	position: absolute;
	left: 30%;
	top: 30%;
}
#information_controls {
	width: 100%;
	height: 30px;
	font-size:18px;
	font-weight:400;
}
#information_content {
	width: 98%;
	height: 400px;
	padding-left: 2%;
}
.inftitle {
	float: left;
}
.closeinf {
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closeinf:hover, .closevalid:focus {
  text-decoration: none;
  cursor: pointer;
}

/* dashboard popup --------------------------------------- */
#dash_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;	
}
#dash_detail {
	margin: 4% auto;
	width: 50%;
	height: 500px;
	overflow:hidden;
	display: flex;
	flex-flow: column;
}
#dash_detail_controls {
	line-height: 1em;
	padding-left: 1%;
	width: 99%;
	height: 60px;
	font-size:18px;
	font-weight:400;
}
#dash_detail_content {
	width: 100%;
	flex-grow : 1;
	overflow: auto;
	text-align: center;
}
.closeDash {
  float: right;
  font-size: 28px;
  font-weight: bold;
  cursor: pointer;
}
#planned_activities_no {
	font-size: xx-large;	
}
#actual_activities_no {
	font-size: xx-large;	
}
#auth_msg {
	display:none;
	font-weight:bold;
}
/* Programme Start and End ------------------------ */
#programme_container {
	display:none;
	position: fixed;
	z-index: 99;
	left: 0;
	top: 0;
	height: 100%;
	width: 100%;
}
#programme_detail {
	width: 40%;
	height: 40%;
	position: absolute;
	left: 30%;
	top: 30%;
}
#programme_controls {
	width: 100%;
	height: 30px;
	font-size:18px;
	font-weight:400;
}
#programme_content {
	width: 98%;
	height: 400px;
	padding-left: 2%;
}
.closeprog {
  float: right;
  font-size: 28px;
  font-weight: bold;
}
.closeprog:hover, .closeprog:focus {
  text-decoration: none;
  cursor: pointer;
}


