html, body {
	margin: 0;
	padding: 0;

	width: 100%;
	height: 100%;

	background-color: #222;
}

.text-username {
	color: cornflowerblue;
	font-size: 24px;
	font-family: Arial;
	font-weight: 600;
	text-align: right;
	text-shadow: 2px 1px 5px rgba(0, 0, 0, 0.9);
}

.text-groupname {
	font-size: 18px;
	font-family: Arial;
	font-weight: 200;
	color: #999;
	text-align: right;
}

.user {
	flex: 0 0 auto;
	display: flex;
	height: 58px;
	position: relative;
	top: 16px;
	right: 16px;
	padding: 8px 8px 0 16px;
	border-radius: 8px;

	transition: background-color 0.2s ease-out;
	background-color: transparent;
}

.user:hover {
	background-color: #444;
}

.username-groupname-container {
	flex: 1 0 auto;
}

.usericon {
	flex: 0 0 48px;
	height: 48px;
	width: 48px;
	background-image: url("images/usericon.png");
	background-repeat: no-repeat;
	background-size: contain;
	margin-left: 16px;
}

.root {
	margin: 0;
	padding: 0;

	width: 100%;
	height: 100%;

	background-color: #222;

	display: flex;
	flex-direction: column;
}

.div-header {
	flex: auto 0 0;
	display: flex;
	flex-direction: row;
}

.logo {
	flex: 360px 0 0;
	margin-left: 16px;
	height: 100px;
	background-image: url("images/Formetco-Logo-White.png");
	background-repeat: no-repeat;
}

.customer-logo {
	flex: auto 1 0;
	height: 100px;
	background-repeat: no-repeat;
	background-size: contain;
}



.div-tabs {
	flex: 42px 0 0;
	display: flex;
}

.div-tab {
	flex: auto 0 1;

	font-size: 18px;
	font-family: Arial;
	font-weight: 100;
	color: #CCC;

	padding: 10px 28px;
	vertical-align: middle;

	background-color: #333;

	border-top: solid 4px #666;
	margin-right: 8px;
	margin-left: 1px;

	cursor: pointer;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
}

.div-tab:hover {
	color: #FFF;
	border-top: solid 4px #888;
	background-color: #444;
}

.div-tab:active {
	position: relative;
	top: 2px;
}

.div-tab.active {
	color: #FFF;
	border-top: solid 4px cornflowerblue;
	background-color: #444;
}

.div-stretch-spacer {
	flex: auto 1 1;
}

.div-tab-reload {
	flex: auto 0 1;

	font-size: 18px;
	font-family: Arial;
	font-weight: 100;
	color: #FFF;

	padding: 10px 48px;
	vertical-align: middle;

	background-color: #555;
	border-top: solid 4px #888;

	cursor: pointer;

	border-top-left-radius: 8px;
	border-top-right-radius: 8px;

	margin-left: 8px;
	margin-right: 1px;
}

.div-tab-reload:hover {
	color: #FFF;
	border-top: solid 4px green;
	background-color: #444;
}

.div-tab-reload:active {
	position: relative;
	top: 2px;
}

.div-middle {
	width: 100%;
	height: calc(100vh - 161px);
	flex: auto 1 0;
	display: flex;
}

.div-middle-spacer {
	flex: 14px 0 0;
}

.div-content {
	flex: calc(100% - 29px) 0 0;
	background-color: #ddd;
	box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.9);
	z-index: 999;
}

.div-footer {
	flex: 16px 0 0;
}


/* Search Bar Styles (History) */
#historyDataTable_filter label {
	font-family: Arial !important;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

#tempDataTable_filter label {
	font-family: Arial !important;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

#historyDataTable_length label {
	font-family: Arial !important;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

#tempDataTable_length label {
	font-family: Arial !important;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

#historyDataTable_filter label::before {
	content: "History ";
}

#tempDataTable_filter label::before {
	content: "Whitelist ";
}

#usersDataTable_filter input {
	height: 32px;
}

#usersDataTable_filter label::before {
	content: "User ";
}

/* History Search Style */
#historyDataTable_filter input {
	font-family: Arial !important;
	padding: 8px;
	font-weight: 400;
	font-size: 12px;
	margin: 8px 8px;
	border-radius: 16px;
	border: 1px solid #888;
	width: 300px;
	height: 32px;
}


/* Whitelist Search Style */
#tempDataTable_filter input {
	font-family: Arial !important;
	padding: 8px;
	font-weight: 400;
	font-size: 12px;
	margin: 8px 8px;
	border-radius: 16px;
	border: 1px solid #888;
	width: 300px;
	height: 32px;
}


#pendingDataTable {
	background-color: #ddd;

	flex: auto 1 0;

	font-family: "Segoe UI Semibold", Arial !important;
	font-size: 12px !important;
}

#historyDataTable {
	background-color: #ddd;

	flex: auto 1 0;

	font-family: "Segoe UI Semibold", Arial !important;
	font-size: 12px !important;
}

#tempDataTable {
	background-color: #ddd;

	flex: auto 1 0;

	font-family: "Segoe UI Semibold", Arial !important;
	font-size: 12px !important;
}

#offlineDataTable {
	background-color: #ddd;

	flex: auto 1 0;

	font-family: "Segoe UI Semibold", Arial !important;
	font-size: 12px !important;
}

#usersDataTable_wrapper {
	background-color: #ddd;

	flex: auto 1 0;
	border-radius: 4px;
	font-family: Arial !important;
}

/* Search Bar Styles (Users) */
#usersDataTable_wrapper label {
	font-family: Arial !important;
	font-size: 14px;
	font-weight: 600;
	color: #444;
}

#usersDataTable_wrapper input {
	font-family: Arial !important;
	padding: 8px;
	font-weight: 400;
	font-size: 12px;
	margin: 8px 8px;
	border-radius: 16px;
	border: 1px solid #888;
	width: 300px;
}

.dataTables_length {
	position: relative;
	top: 12px;
	left: 24px;
}

/* Table Stuff */
.div-content-table {
	width: 100%;
	height: 100%;

	display: flex;
	flex-direction: column;
}

.table-headers {
	background-color: #890b11;

	flex: 38px 0 0;
	width: 100%;

	display: flex;
}

.table-header {
	font-size: 14px;
	font-family: Arial;
	font-weight: 100;
	color: #FFF;
	padding: 10px 0px;

	text-align: center;

	border-top: solid 2px #AAA;
	border-left: solid 1px #AAA;
	border-right: solid 1px #AAA;
	border-bottom: solid 2px #AAA;
}

/* Table Column Widths */
.header-name {
	flex: auto 3 1;
}
.header-code {
	flex: auto 1 1;
}
.header-serial {
	flex: auto 3 1;
}
.header-ip {
	flex: auto 1 1;
}
.header-expire {
	flex: auto 1 1;
}
.header-authorize {
	flex: 180px 0 1;
}

/* Table Row Stuff */
.table-values {
	background-color: yellow;
	flex: auto 1 1;

	display: flex;
	flex-direction: column;
}

.table-row {
	background-color: blue;

	flex: 45px 0 0;
	width: 100%;

	display: flex;
	flex-direction: row;
}

#historyDataTable_wrapper .dataTables_paginate {
	font-size: 16px;
	font-family: Arial;
	font-weight: 600;
	position: fixed;
	bottom: 0;
	border-top: 1px solid #222;
	border-bottom: 16px solid #222;
	background-color: #ddd;
	width: calc(100% - 45.1px);
	padding: 4px 8px;
}

#historyDataTable_wrapper .dataTables_info {
	font-size: 16px;
	font-family: Arial;
	font-weight: 600;
	position: fixed;
	bottom: 28px;
	left: 32px;
	z-index: 1001;
}

#tempDataTable_wrapper .dataTables_paginate {
    font-size: 16px;
    font-family: Arial;
    font-weight: 600;
    position: fixed;
    bottom: 0;
    border-top: 1px solid #222;
    border-bottom: 16px solid #222;
    background-color: #ddd;
    width: calc(100% - 45.1px);
    padding: 4px 8px;
}

#tempDataTable_wrapper .dataTables_info {
	font-size: 16px;
	font-family: Arial;
	font-weight: 600;
	position: fixed;
	bottom: 28px;
	left: 32px;
	z-index: 1001;
}

.dataTables_wrapper {
	width: 100%;
}

.dt-table-extra {
	margin-bottom: 72px;
}

.fixedHeader-floating[aria-describedby="historyDataTable_info"] {
	font-size: 12px;
	font-family: Arial;
	font-weight: 100;
	z-index: 1000;
	background-color: rgba(215, 215, 215, 0.9) !important;
	border-top: 6px solid #111;
}

th.dt-center, td.dt-center {
	text-align: center;
}


/* Overlay dialog box... */
.div-overlay {
	background-color: rgba(0, 0, 0, 0.4);
	position: fixed;
	width: 100%;
	height: 100%;
	z-index: 1001;
}

.div-create-window {
	width: 720px;
	height: 480px;
	background-color: #222;
	top: calc(50% - 240px);
	position: relative;
	margin: auto;

	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 78px;
	border-bottom-right-radius: 16px;
	border-top: solid 4px cornflowerblue;

	box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.9);
}

.div-create-manager-window {
	width: 920px;
	height: 548px;
	background-color: #222;
	top: calc(50% - 274px);
	position: relative;
	margin: auto;

	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 8px;
	border-bottom-right-radius: 8px;
	border-top: solid 4px cornflowerblue;

	box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.9);
}

.modal-confirm-delete-user {
	top: 80px;
	z-index: 1001;
	width: 50%;
	height: 228px;
}

.modal-create-user, .modal-edit-user {
	top: 18px;
	z-index: 1001;
	width: 890px;
	height: 428px;
}

.modal-flex-layout {
	display: flex;
	flex-direction: row;
}

.modal-flex-column {
	flex: 1 0 50%;
}

.div-window-disabled {
	width: 100%;
	height: 100%;
	background-color: rgba(80, 80, 80, 0.8);
	z-index: 990;
	position: absolute;
	border-radius: 7px;
	display: none;
}

.helper-text-description {
	width: 90%;
	padding: 20px;

	font-family: "Segoe UI Semibold", Arial;
	font-size: 20px;
	line-height: 1.4em;

	color: white;
}

.helper-text-description.small {
	font-size: 12px;
	left: 68px;
	position: relative;
	padding: 0;
	padding-bottom: 12px;
	width: 346px;
	text-align: center;
	color: yellow;
}

.highlight {
	color: cornflowerblue;
	font-weight: 800;
}

.manager-table-container {
	width: calc(100% - 20px);
	background-color: #ccc;
	margin: 10px;
	border-radius: 4px;
	position: absolute;
	bottom: 0px;
}

.button-remove-user, .button-user {
	font-family: "Segoe UI Semibold", Arial;
	font-size: 18px;
	color: white;
	text-align: center;

	line-height: 1.6em;

	width: 96px;
	padding: 6px;
	background-color: #666;

	position: absolute;
	bottom: 10px;
	right: 10px;

	border-radius: 4px;
	cursor: pointer;
}

.button-remove-user:active {
	bottom: 9px;
}

.confirm {
	right: 126px;
	background-color: #1B5E1B;
}

.confirm:hover {
	background-color: #317131;
}

.cancel:hover {
	background-color: #999;
}

.div-create-close {
	position: absolute;
	top: 2px;
	right: 2px;
	color: white;
	font-size: 48px;
	font-weight: 800;
	background-color: #111;
	padding: 0px 16px 0px 20px;
	border-top-right-radius: 4px;
	border-bottom-left-radius: 24px;
	cursor: pointer;
}

.div-create-new-user {
	font-family: "Segoe UI Semibold", Arial;
	font-size: 22px;

	color: white;
	background-color: #108010;

	position: absolute;
	top: 16px;
	right: 100px;

	padding: 4px 16px;
	border-radius: 4px;
	cursor: pointer;
}

.div-create-close:hover {
	background-color: #FF8C00;
}

.div-create-new-user:hover {
	background-color: #1da31d;
}

.div-create-close:active {
	top: 3px;
	font-size: 46px;
	background-color: #FF7F50;
}

.div-duration-create {
	position: absolute;
	bottom: 24px;
	right: 24px;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	font-size: 24px;
	background-color: #FF7F50;
	padding: 8px 36px;
	border-radius: 4px;
	box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.div-duration-create:hover {
	background-color: #ED5D28;
}

.div-duration-create:active {
	bottom: 26px;
	right: 26px;
	font-size: 23px;
	background-color: #C66D00;

	box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
}

#known_signs {
	width: 600px;
}

.div-create-title {
	font-size: 32px;
	font-weight: 100;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	width: 100%;
	text-align: center;
	margin-top: 32px;
}

.div-create-title-left {
	font-size: 32px;
	font-weight: 100;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	width: 100%;
	margin: 14px 18px;
}

.div-create-label {
	position: relative;
	left: 60px;

	font-size: 24px;
	color: white;
	font-family: "Segoe UI Semibold", Arial;

	margin-top: 48px;
	margin-bottom: 8px;
}

.select2 {
	display: block;
	margin: auto;
}

#select2-known_signs-container {
	font-size: 18px;
	font-family: Arial;
	font-weight: 100;
	color: black;
}

.select2-dropdown {
	font-size: 18px;
	font-family: Arial;
	font-weight: 100;
	color: black;
}

.ui-spinner {
	font-family: Arial;
}

.div-duration-container {
	margin-left: 60px;
}

.div-duration-container-column {
	display: inline-block;
	margin-left: 20px;
	margin-right: 20px;
}

.div-duration-label {
	font-size: 14px;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	padding: 2px;
}

.div-duration-preview {
	font-size: 20px;
	color: yellow;
	margin-top: -1px;
	font-family: "Segoe UI Semibold", Arial;
	/* padding-top: 8px; */
	position: relative;
	top: 4px;
}

/* Tooltip Stuff */
.tooltip {
  position: relative;
  display: inline-block;
  border-bottom: 1px dotted black;
}

.tooltip .tooltiptext {
  visibility: hidden;
  width: 120px;
  background-color: #555;
  color: #fff;
  text-align: center;
  border-radius: 6px;
  padding: 16px 8px;
  position: absolute;
  z-index: 1;
  bottom: 125%;
  left: 50%;
  margin-left: -60px;
  opacity: 0;
  transition: opacity 0.3s;
}

.tooltip .tooltiptext::after {
  content: "";
  position: absolute;
  top: 100%;
  left: 50%;
  margin-left: -5px;
  border-width: 5px;
  border-style: solid;
  border-color: #555 transparent transparent transparent;
}

.tooltip:hover .tooltiptext {
  visibility: visible;
  opacity: 1;
}


.select-sign-groups {
  width: 180px;
}

/* Context Menu Styles */
.div-context-menu {
	width: 400px;
	background-color: #222;
	top: 78px;
	position: absolute;
	margin: auto;
	border-top-left-radius: 8px;
	border-top-right-radius: 8px;
	border-bottom-left-radius: 16px;
	border-bottom-right-radius: 16px;
	border-top: solid 4px cornflowerblue;
	box-shadow: 3px 3px 18px rgba(0, 0, 0, 0.9);
	right: 15px;
	padding: 16px;
}

.div-context-menu-item {
	font-size: 24px;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	padding: 12px 16px;
	text-align: right;
	overflow: hide;
	transition: background-color 0.2s ease-out;
	background-color: transparent;
	border-radius: 8px;
	margin: 10px 0;
}

.div-context-menu-item:hover {
	background-color: #444;
	cursor: pointer;
}

.div-context-menu-item.disabled {
	color: #888;
	background-color: #282828;
	cursor: default;
}

.div-context-menu-item-description {
	font-family: "Segoe UI Semibold", Arial;
	font-size: 14px;
	color: #ccc;
	margin-top: 4px;
	margin-bottom: 20px;
	text-align: right;
}

.div-create-window.password input {
	position: relative;
	left: 60px;
	width: 400px;
	font-family: "Segoe UI Semibold", Arial;
	font-size: 16px;
	padding: 8px;
	border-radius: 8px;
}

.div-create-button {
	position: absolute;
	bottom: 24px;
	right: 24px;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	font-size: 24px;
	background-color: #FF7F50;
	padding: 8px 36px;
	border-radius: 4px;
	box-shadow: 2px 4px 10px rgba(0, 0, 0, 0.8);
	cursor: pointer;
}

.div-create-button:hover {
	background-color: #ED5D28;
}

.div-create-button:active {
	bottom: 26px;
	right: 26px;
	font-size: 23px;
	background-color: #C66D00;

	box-shadow: 1px 2px 6px rgba(0, 0, 0, 0.8);
}

.div-create-warning {
	color: #39FF39; /* red: #FF3939 */
	font-family: "Segoe UI Semibold", Arial;
	font-size: 18px;
	width: 600px;
	margin: auto;
	text-align: center;
	margin-top: 40px;
	display: none;
}


.div-create-description {
	font-family: "Segoe UI Semibold", Arial;
	font-size: 14px;
	width: 600px;
	color: #ccc;
	margin: auto;
	margin-top: 28px;
	line-height: 1.8em;
}

.compact-header {
	margin-top: 36px;
	font-size: 22px;
}

.div-create-label .required {
	position: relative;
	left: 122px;
	font-size: 14px;
	font-style: italic;
	color: red;
	font-stretch: expanded;
}

.button-user-edit {
	background-color: purple;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	font-size: 18px;
	border-radius: 4px;
	padding: 6px 8px 3px 8px;
	cursor: pointer;
}

.button-user-remove {
	background-color: red;
	color: white;
	font-family: "Segoe UI Semibold", Arial;
	font-size: 18px;
	border-radius: 4px;
	padding: 6px 8px 3px 8px;
	cursor: pointer;
}

.button-user-password-reset:hover {
	background-color: #7d32b3;
}

.button-user-remove:hover {
	background-color: #ff3939;
}

#myDrop, #myDropEdit {
	height: 104px;
	width: 344px;

	min-height: 100px;
	padding: 0;
	background-color: #222;
	color: white;
	position: relative;
	left: 68px;

	border: 2px dashed cornflowerblue;
}

.dropzone .dz-preview {
	margin: 0;
}

#myDrop .dz-image, #myDropEdit .dz-image {
	width: 340px;
	height: 100px;
}

#myDrop .dz-image img, #myDropEdit .dz-image img {
	margin: auto;
	width: 300px;
}

#myDrop .dz-error-mark, #myDropEdit .dz-error-mark {
	margin: 0;
	bottom: auto;
	left: auto;
	right: 6px;
	top: -8px;
}

#myDrop .dz-error-mark svg, #myDropEdit .dz-error-mark svg {
	width: 24px;
}

.dropzone .dz-preview.dz-image-preview {
	background-color: #222;
}

.dz-progress {
	display: none;
}

.modal-create-user input, .modal-edit-user input {
	position: relative;
	left: 68px;
	width: 280px;
	padding: 4px;
	border-radius: 4px;
	font-size: 16px;
}

.modal-create-user select, .modal-edit-user select {
	position: relative;
	left: 68px;
	width: 280px;
	padding: 4px;
	border-radius: 4px;
	font-size: 16px;
}

.dz-default.dz-message {
	line-height: 100px;
	color: #aaa;
	font-family: "Segoe UI Semibold", Arial;
	font-weight: 600;
	font-style: italic;
	margin: auto;
}

.dropzone .dz-preview .dz-remove {
	font-size: 14px;
	text-align: center;
	display: block;
	cursor: pointer;
	border: none;
	position: absolute;
	width: 88px;
	padding: 4px;
	background-color: #950202;
	color: white;
	margin: auto;
	border-radius: 8px;
	bottom: -33px;
	right: 10px;
	text-decoration: none;
	z-index: 1010;
}

.dropzone .dz-preview .dz-remove:hover {
	background-color: #b41818;
	text-decoration: none;
}

.serial-view-files {
	cursor: pointer;
}

.noselect {
  -webkit-touch-callout: none; /* iOS Safari */
    -webkit-user-select: none; /* Safari */
     -khtml-user-select: none; /* Konqueror HTML */
       -moz-user-select: none; /* Firefox */
        -ms-user-select: none; /* Internet Explorer/Edge */
            user-select: none; /* Non-prefixed version, currently
                                  supported by Chrome and Opera */
}

input:focus, textarea:focus, select:focus {
	outline: none;
	border: 3px solid cornflowerblue !important;
	box-shadow: 0px 0px 8px cornflowerblue !important;
}
