:root{
	  --white: #fff;
	  --white-ter: #fafbff;
	  --black: #303236;
	  --light: #edf0f7;
	  --dark: #6d7078;
	  --grey-dark: #61646b;
	  --grey-light: #F5F4EF;
	  --primary: #333c66;
}

@font-face {
  font-family: 'Figtree';
  font-style: normal;
  font-weight: 300 400 500 700;
  src: url("../fonts/Figtree/Figtree-Regular.ttf"),  url("../fonts/Figtree/Figtree-Regular.woff2") format('truetype');
}


body {
	font-family: "Figtree", sans-serif;
	font-size: 12px;
	background-color: var(--grey-light);
}

/* ------ header and footer --------*/
.header {
	background-color: var(--white-ter);
	width: 100%;
	height: 60px;
	margin-bottom: 10px;
	display: flex;
	align-items: center;
	justify-content: space-between;
}

.maincontent {
	margin: 0;
}

table.noOutsideBorder{
	border: none;
}

.monitor-root {
	background-color: var(--white);
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.nav-tabs-grey {
	background-color: #E3E6E9;
	-webkit-border-top-left-radius: 4px;
	-webkit-border-top-right-radius: 4px;
	-moz-border-radius-topleft: 4px;
	-moz-border-radius-topright: 4px;
	border-top-left-radius: 4px;
	border-top-right-radius: 4px;
}

.footer {
	position: fixed;
	height: 20px;
	width: 100%;
	background-color: var(--white-ter);
	left: 0;
	bottom: 0;
}

.footerlist {
	list-style: none;
	margin: 2px 0;
}

.footerlist > li {
	float: left;
	color: var(--grey-dark);
}

.footerlist > li + li:before {
	padding: 0 5px;
	color: var(--grey-dark);
	content: "|";
}

/*------------- loading -------------*/
.loading {
	width: 166px;
	height: 166px;
	background-image: url("../img/loader.gif");
	left: 50%;
	top: 50%;
	margin-left: -150px;
	margin-top: -150px;
	position: absolute;
}

/* --------------------------------------*/

.pagetitle {
	font-weight: 200;
	font-size: 2.45em;
	color: var(--black);
	display: inline-block;
	margin-top: 0;
}

.btnbar {
	display: inline-block;
	float: right;
	margin-top: 20px;
}
header .title {
    display: flex;
    align-items: center;
	margin-left: 16px;
}

header .title img{
	max-height: 32px;
	max-width: 119px;
}

header .text-after-logo {
	font-size: 20px;
	margin-left: 4px;
	color: var(--primary);
}

header .interface {
	margin-right: 16px;
	height: 100%;
	display: flex;
}

header .interface .nav{
	display: flex;
	height: 100%;
}
header .interface .nav-link  a:hover{
	color: var(--dark);
	text-decoration: none;
}

header .interface .nav-link{
	display: flex;
	align-items: center;
    height: 100%;
	border-bottom: 5px solid transparent;
	gap: 5px;
}

header .interface .nav-link.selected{
    border-bottom: 5px solid var(--primary);
}

header .interface .nav-link:hover{
    background-color: var(--light);
	-webkit-transition: background-color 150ms ease-out;
    -ms-transition: background-color 150ms ease-out;
    transition: background-color 150ms ease-out;
}

.nav-link {
	font-size: 14px;
	line-height: 14px;
	cursor: pointer;
	padding: 0 5px;
}

.nav-link > *{
	color: var(--dark); /* the link color */
}


.nav-link .selected{
	color: var(--primary);
}

.ruleDivHeader {
	background-color: var(--white);
	padding: 15px;
	margin-bottom: 15px;
}

.ruleDiv {
	background-color: var(--white);
	padding: 15px;
	margin-bottom: 1px;
}

.ruleDivDisabled {
	background-color: #e0e0e0;
	padding: 15px;
	margin-bottom: 1px;
}
.ruleDivDisabled:hover {
	background-color: #c3c3c3;
}

.ruleDiv:hover {
	background-color: #E1F0DF;
}

ul.actions {
	float: right;
	list-style: none;
}

ul.actions li {
	float: left;
	margin: 0 5px;
	cursor: pointer;
}

ul.actions li a {
	text-decoration: none;
}

div.datatable {
	display: table;
	padding: 5px;
}

div.datatable > div {
	display: table-row;
	margin: 0 2px;
}

div.datatable > div > div {
	display: table-cell;
	padding: 0 5px;
}

div.datatable > div > div:first-child {
	text-align: right;
	font-weight: bold;
}

.filterbar {
	margin: 0 10px;
}

.tablename, .alltable, .tableslabel {
	padding: 3px;
	text-align: right;
	margin: 3px;
	display: inline-block;
}

.tablename {
	border: 1px solid darkgray;
	border-radius: 4px;
}

.tableslabel {
	font-weight: bold;
	cursor: pointer;
}

.glyphicon {
	cursor: pointer;
	font-size: .75em;
	padding-left: 5px;
}

.popover-inner-container {
	padding: 5px;
}

.fieldslist {
	margin: 3px;
	border: 1px solid var(--black);
	cursor: pointer;
	max-height: 240px;
	overflow-y: scroll;
}

.highlight {
	background-color: #1664A8;
	color: var(--white);
}

.hideopac {
	opacity: 0;
	-webkit-transition: opacity 0.5s linear 0.02s;
	-moz-transition: opacity 0.5s linear 0.02s;
	-o-transition: opacity 0.5s linear 0.02s;
	transition: opacity 0.5s linear 0.02s;
}

.showopac {
	opacity: 1;
}

.bigfont {
	font-size: 1.5em;
}

.btnbar .btn-group {
	flex: 1;
	-webkit-flex: 1;
	-ms-flex: 1;
	padding-left: 5px;
}

.btnbar .btnSelected {
	color: var(--white);
	background-color: #1581b9;
	border-color: #1370a1;
}

.arrow {
	font-size: 1.5em;
	color: #1581b9;
	cursor: pointer;
}

#btnNew {
	color: var(--white);
	background-color: #6DD447;
	border-color: #51A233;
}

.msg {
	position: fixed;
	top: 0;
	right: 0;
	margin: 0;
	width: 30%;
	text-align: center;
	z-index: 9999 !important;
}

.msgtext {
	padding: 3px;
	border-radius: 4px;
	font-size: medium;
}

.msgError {
	background-color: darkorange;
}

.msgSuccess {
	background-color: chartreuse;
}

div .panel-group { /* margin for accordion */
	margin-bottom: 5px;
}

.modal-body {
	overflow: auto;
}

.form-signin {
	max-width: 330px;
	padding-bottom: 20px;
	margin: 0 auto;
}
.form-signin .form-signin-heading,
.form-signin .checkbox {
	margin-bottom: 10px;
}
.form-signin .checkbox {
	font-weight: normal;
}
.form-signin .form-control {
	position: relative;
	height: auto;
	-webkit-box-sizing: border-box;
	-moz-box-sizing: border-box;
	box-sizing: border-box;
	padding: 10px;
	font-size: 16px;
}
.form-signin .form-control:focus {
	z-index: 2;
}
.form-signin input[type="email"] {
	margin-bottom: -1px;
	border-bottom-right-radius: 0;
	border-bottom-left-radius: 0;
}
.form-signin input[type="password"] {
	margin-bottom: 10px;
	border-top-left-radius: 0;
	border-top-right-radius: 0;
}

@media screen and (max-width: 768px) {
	header .is-hidden-mobile {
		display: none;
	}
}