/* ------ 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:bottom;
}
html {
	min-height:100%;
	height:100%; /*for IE 6 */
	overflow:auto;
}
body {
	min-height:100%;
	height:100%; /*for IE 6 */
	width: 100%
}

/* ----------------------------------------------------------------------- */

body {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	line-height: 1.5em;
}
textarea {
	font-family: Verdana, Geneva, Arial, Helvetica, sans-serif;
	font-size: small;
	line-height: 1.5em;
}
#outer {
	text-align: center;
	width: 100%;
	height:100%; /*for IE 6 */
	min-height:100% !important;
}
#inner {
	text-align: left;
	height: 100%;
}


/* ======================================= NAVIGATION =========================================*/
#nav {
	text-align: left;
	width: 15%;
	min-width: 180px;
	height:calc(100% - 40px);
	float: left;
	padding-left: 1%;
	font-family: Arial, Helvetica, sans-serif;
	font-size: 16px;
	font-weight: bold;
	background-color: black;
	color: white;
}
.nav_item {
	display: block;
	padding-bottom: 5px;
	text-decoration: none;
	color: white;
}
.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;
}
/* ====================================================================================*/


#header {
	width: 100%;
	height: 40px;
	border-bottom: black 1px solid;
}

#banner_margin {
	width: 100%;
	height: 180px;
}
#top {
	width:100%;
	height: 150px;
   	text-align: left;
	background-color: white;
}
#title_banner {
	width: 100%;
	height: 50px;
}
#content {
	float: left;
	width: 80%;
	height:calc(100% - 40px);
	margin-left: 1%;
	overflow: auto;
}
#bottom {
	width: 100%;
	height:20px;
}
.item_left {
	float: left;
	margin-right: 10px;
}
.item_right {
	float: right;
	margin-left: 10px;
}
.mid {
	text-align: center;
}
#login {
	display: inline-block;
	padding: 10px;
	width: 700px;
	height: 500px;
	text-align: left;
}
#datafields {
	padding: 10px;
	text-align: left;
	float: left;
}
.admin_menu td {
	height: 30px;
	vertical-align: top;
}
.admin_menu th {
	height: 30px;
	vertical-align: top;
}
.admin_menu_noborders {
	vertical-align: top;
}
.admin_menu_users td {
    vertical-align: top;
}
.activity_log {
	font-size: x-small;
}
.msg {
	font-weight: bold;
}
.box {
    border: solid 1px gray;
}
.table_borders_log {
	font-size: x-small;
}
.table_borders_log td {
	height: 20px;
	vertical-align: top;
	border-bottom: 1px solid gray;
}
.border_btm {
	border-bottom: 1px solid gray;
}
.help{
	height: 100%;
	width: 400px;
	float: left;
	border: 1px solid blue;
	padding: 5px;
}
/*================================ ALERT MESSAGE RULES =================================================*/
/* ------ initial state of fields for create rule -------------------------------*/
/* ------ info fields first -----------------------*/
#info_alert_msg_rule_proj,#info_alert_msg_rule_worksite,#info_alert_msg_rule_ruleid,#info_alert_msg_rule_sort,#info_alert_msg_rule_ruletype,#info_alert_msg_rule_condition,#info_alert_msg_rule_action {
	display: none;
}
#info_alert_msg_rule_recipient,#info_alert_msg_rule_recdetail1,#info_alert_msg_rule_recdetail2,#info_alert_msg_rule_recdetail3,#info_alert_msg_rule_recdetail4,#info_alert_msg_rule_recdetail5 {
	display: none;
}
#info_alert_msg_rule_exception,#info_alert_msg_rule_excepdetail1,#info_alert_msg_rule_excepdetail2,#info_alert_msg_rule_excepdetail3,#info_alert_msg_rule_excepdetail4,#info_alert_msg_rule_excepdetail5 {
	display: none;
}
#info_alert_msg_rule_tolerance01,#info_alert_msg_rule_override,#info_alert_msg_rule_active,#info_alert_msg_rule_status {
	display: none;
}
/* ----- special - content next to fields ----------*/
#tolerance01_content {
	display: none;
}
/* -------- input fields ---------------------------*/
#inp_rule_id,#inp_sortorder,#inp_rule_type,#inp_cond,#inp_action,#inp_recipient,#inp_recipient_var1a,#inp_recipient_var1b,#inp_recipient_var2,#inp_recipient_var3,#inp_recipient_var4,#inp_recipient_var5 {
	display: none;
}
#inp_exception,#inp_exception_var1,#inp_exception_var2,#inp_exception_var3,#inp_exception_var4,#inp_exception_var5,#inp_tolerance01,#inp_override,#inp_active,#inp_status {
	display: none;
}

/* -------- input fields (additional data)----------*/
#rec_detail1, #rec_detail2, #rec_detail3, #rec_detail4, #rec_detail5, #exc_detail1, #exc_detail2, #exc_detail3, #exc_detail4, #exc_detail5,#inp_alert_msg_rules_submit {
	display: none;
}

/* ------- Other page items -------------------------------------------------------*/
#rule_summary {
	text-align: left;
}
#inp_recipient_var1b {
	display: none;
}
.controls_menu {
	border-collapse: collapse;
}
.admin_menu {
	border-collapse: collapse;
}
/*--------------------- tooltips ----------------------*/
.tooltip {
	position: relative;
	display: inline-block;
}
.tooltip .tooltiptext {
	visibility: hidden;
	width: 150px;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: 150%;
	left: 50%;
	margin-left: -75px;
  }
.tooltip .tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 50%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
 }
  
.tooltip:hover .tooltiptext {
	visibility: visible;
}
.left_tooltip {
	position: relative;
	display: inline-block;
}
.left_tooltip .left_tooltiptext {
	visibility: hidden;
	width: 150px;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: 150%;
	left: 50%;
	margin-left: -20px;
  }
.left_tooltip .left_tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 10%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
 }
  
.left_tooltip:hover .left_tooltiptext {
	visibility: visible;
	background-color:gr
}
.right_tooltip {
	position: relative;
	display: inline-block;
}
.right_tooltip .right_tooltiptext {
	visibility: hidden;
	width: 150px;
	text-align: center;
	border-radius: 6px;
	padding: 5px 0;
	position: absolute;
	z-index: 1;
	top: 150%;
	left: 50%;
	margin-left: -130px;
  }
.right_tooltip .right_tooltiptext::after {
	content: "";
	position: absolute;
	bottom: 100%;
	left: 90%;
	margin-left: -5px;
	border-width: 5px;
	border-style: solid;
 }
  
.right_tooltip:hover .right_tooltiptext {
	visibility: visible;
	background-color:gr
}
/* ------- sliders -------*/
.control_switch {
	position: relative;
	display: inline-block;
	width: 30px;
	height: 17px;
  }
  
  .control_switch input { 
	opacity: 0;
	width: 0;
	height: 0;
  }
  
  .control_slider {
	position: absolute;
	cursor: pointer;
	top: 0;
	left: 0;
	right: 0;
	bottom: 0;
	background-color: #B22222;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  .control_slider:before {
	position: absolute;
	content: "";
	height: 13px;
	width: 13px;
	left: 2px;
	bottom: 2px;
	background-color: white;
	-webkit-transition: .4s;
	transition: .4s;
  }
  
  input:checked + .control_slider {
	background-color: #008000;
  }
  
  input:focus + .control_slider {
	box-shadow: 0 0 1px #008000;
  }
  
  input:checked + .control_slider:before {
	-webkit-transform: translateX(13px);
	-ms-transform: translateX(13px);
	transform: translateX(13px);
  }
  
  /* Rounded sliders */
  .control_slider.round {
	border-radius: 17px;
  }
  
  .control_slider.round:before {
	border-radius: 50%;
  }
  