html {
  box-sizing: border-box;
  height: 100%;
}

*, *:before, *:after {
  box-sizing: inherit;
}

body {
	position: relative;
	margin: 0px;
	padding: 0px;
	font-family: 'Lato', sans-serif;
	height: 100%;
	overflow: hidden;
}

a {
	outline: 0 !important;
}

.btn {
	margin-right: 8px;
}

.fa, .far {
	margin-right: 7px;
}

.alert .fa  {
	margin-right: 7px;
}

#facilityNameBox {
	display: none;
}

/*
 * Font Sizes.
 */

h1 {
	font-size: 15pt;
	font-weight: normal;
	margin: 0px;
	display: inline

}

h2 {
	margin: 0px;
	font-size: 14pt;
	font-weight: normal;
}

ul {
    padding: 0;
    list-style-type: none;
}

p {
	margin: 0px;
}

/*
 * Header
 */

#header {
	display: table;
	position: fixed;
	width: 100%;
	box-shadow: 0px 0px 2px #8c8c8c;
	background-color: #f6f6f6;
	height: 50px;
	display: table;
	min-width: 700px;
	z-index: 999;
}

#headerLeft h1 {
	float: left;
}

#headerLeft {
	display: table-cell;
	top: 0px;
	left: 0px;
	width: 55%;
	text-align: left;
	height: 100%;
	padding: 10px;
	vertical-align: middle;
}

#headerCenter {
	display: table-cell;
	width: 15%;
	text-align: center;
	height: 100%;
	padding: 10px;
	vertical-align: middle;
}

#menuBtn {
	margin-right: 10px;
	cursor: pointer;
}

#menuBtn:hover {
	color: rgba(0, 0, 0, .4);
}

#headerRight {
	display: table-cell;
	top: 0px;
	right: 0px;
	width: 30%;
	text-align: right;
	height: 100%;
	padding: 10px;
	vertical-align: middle;
}

/* If the width drops below a certain amount, adjust what's being displayed in the header. */
@media screen and (max-width: 1023px) {
	#signPilotLogoText {
		display: none;
	}
	#headerCenter {
		width: 10%;
	}
	#headerRight {
		width: 35%;
	}
}

#userMenuAvatar {
	margin-right: 8px;
}

#userMenuArrow {
	margin-left: 8px;
}

#userFrame {
	height: 100%;
	padding-top: 4px;
	width: 105px;
	cursor: pointer;
	float: right;
}

#tasksFrame {
	height: 100%;
	padding-top: 4px;
	width: 95px;
	cursor: pointer;
	float: right;
}

.userFrameLine {
	float: right;
	height: 100%;
	padding-top: 4px;
	width: 2px;
	margin-left: 16px;
	margin-right: 11px;
	background-color: #DDD;
}

#userFrame:hover #userControlBox {
	top: 30px;
	right: 0px;
}

#userControlBox {
	cursor: default;
	position: absolute;
	top: -500px;
	right: -500px;
	width: 175px;
	z-index: 50;
	opacity: 0;
}

#userControlBoxInner {
	background-color: #2b3341;	
	width: 175px;
	margin-top: 20px;
	padding: 10px;
	text-align: left;
}

#userControlBoxInner .btn {
	width: 100%;
	margin-top: 3px;
	margin-bottom: 3px;
}

#userFrame:hover #userControlBox {
	top: 30px;
	right: 0px;
	transition: opacity .3s ease-in-out;
	opacity: 1;
}

#tasksControlBox {
	cursor: default;
	position: absolute;
	top: -500px;
	right: -500px;
	width: 210px;
	z-index: 50;
	opacity: 0;
}

#tasksControlBoxInner {
	background-color: #2b3341;	
	width: 210px;
	margin-top: 20px;
	padding: 10px;
	text-align: left;
	color: #FFF;
}

#tasksControlBoxInner .btn {
	width: 100%;
	margin-top: 3px;
	margin-bottom: 3px;
}

#tasksFrame:hover #tasksControlBox {
	top: 30px;
	right: 115px;
	transition: opacity .3s ease-in-out;
	opacity: 1;
}

#navLineSeparator {
	width: 2px;
	height: 100%;
	background-color: gray;
	float: right;
}

/*
 * Sidebar
 */

#sidebar {
	position: fixed;
	top: 50px;
	background-color: #3f638c;
	width: 275px;
	color: #FFF;
	box-shadow: 0px 0px 2px #8c8c8c;
	font-size: 11pt;
	bottom: 0px;
	overflow: hidden;
	z-index: 900;
}

#sidebar ul {
	margin: 0px;
}

#sidebar ul li {
	padding: 10px;
	padding-top: 12px;
	padding-bottom: 12px;
	transition: .4s;
}

#sidebar ul li:hover {
	background-color: rgba(0, 0, 0, .8);
	cursor: pointer;
}

#sidebar ul li .fa .far {
	margin-right: 10px;
}

/*
 * Body
 */

 #body {
 	position: fixed;
 	left: 275px;
 	right: 0;
 	top: 50px;
 	bottom: 2px;
 	min-width: 350px;
 	font-size: 11pt;
 	z-index: 950;
 	background-color: #ebeff2;
 	box-shadow: 0px 0px 2px #8c8c8c;
 	color: #666666;
 }

 #body h2 {
 	margin-bottom: 12px;
 }

 #wrapper {
 	position: absolute;	
	padding: 15px;
	top: 0px;
	bottom: 0px;
	left: 0px;
	right: 0px;
 	display: block;
 	overflow-y: scroll;
 }

.subPageHeader {
	position: relative;
	display: block;
	width: 100%;
	height: 35px;
	margin-bottom: 10px;
}

.subPageHeaderLeft {
	width: 50%;
	position: absolute;
	left: 0px;
	text-align: left;
	height: 100%;
}

.subPageHeaderLeft h2 {
	line-height: 35px;
}

.subPageHeaderRight {
	width: 50%;
	position: absolute;
	right: 0px;
	text-align: right;
	height: 100%;
}

 /*
  * Widgets
  */

.widget {
	float: left;
	width: 340px;
	height: 70px;
	background-color: #FFF;
	box-shadow: 0px 0px 3px #C4C4C4;
	padding: 8px;
	margin-right: 15px;
	margin-bottom: 15px;
	cursor: pointer;
	transition: .3s;
}

.widget:hover {
	opacity: .6;
}

.widgetInfo .widgetIconFrame .widgetIcon {
	background-color: #2965c8;
	color: #cbd5e7;
}

.widgetInactive .widgetIconFrame .widgetIcon {
	background-color: #ded704;
	color: #f1f1e6;
}

.widgetOffline .widgetIconFrame .widgetIcon {
	background-color: #fd5f4e;
	color: #fcd5d0;
}

.widgetIconFrame {
	float: left;
	width: 14%;
	height: 85%;
	text-align: center;
	margin-top: 4px;
	margin-left: 2px;
}

.widgetIcon {
	border-radius: 50%;
	width: 100%;
	height: 100%;
	background-color: #29ca72;
	color: #c2eed2;
	padding-top: 14px;
}

.widgetIcon .fa .far {
	font-size: 14pt;
}

.widgetCaptionBox {
	float: left;
	width: 69%;
	padding-left: 10px;
	padding-top: 5px;
}

.widgetTitle {
	font-size: 13pt;
}

 /*
  * Spinner
  */

.spinner {
  width: 70px;
  text-align: center;
  margin: auto;
  display: none;
}

.spinner > div {
  width: 18px;
  height: 18px;
  background-color: #333;

  border-radius: 100%;
  display: inline-block;
  -webkit-animation: sk-bouncedelay 1.4s infinite ease-in-out both;
  animation: sk-bouncedelay 1.4s infinite ease-in-out both;
}

.spinner .bounce1 {
  -webkit-animation-delay: -0.32s;
  animation-delay: -0.32s;
}

.spinner .bounce2 {
  -webkit-animation-delay: -0.16s;
  animation-delay: -0.16s;
}

@-webkit-keyframes sk-bouncedelay {
  0%, 80%, 100% { -webkit-transform: scale(0) }
  40% { -webkit-transform: scale(1.0) }
}

@keyframes sk-bouncedelay {
  0%, 80%, 100% { 
    -webkit-transform: scale(0);
    transform: scale(0);
  } 40% { 
    -webkit-transform: scale(1.0);
    transform: scale(1.0);
  }
}

/*
 * App messages.
 */

#successMessage {
	background-color: #A6E693;
	position: fixed;
	left: 275px;
	right: 0;
	top: 0px;
	opacity: 1;
	font-size: 11pt;
	height: 50px;
	z-index: 975;
	box-shadow: 0px 0px 2px #8c8c8c;
	color: #666666;
	text-align: center;
	line-height: 50px;
}

#errorMessage {
	background-color: #CA6967;
	position: fixed;
	left: 275px;
	right: 0;
	top: 0px;
	opacity: 1;
	font-size: 11pt;
	height: 50px;
	z-index: 975;
	box-shadow: 0px 0px 2px #8c8c8c;
	color: #EEE;
	text-align: center;
	line-height: 50px;
}


/*
 * Bootstrap modal bg fix.
 */
.modal-dialog{
	margin-top: 200px;
}