html {
  overflow: hidden;
  font-size: 15px;
}

body {
	font-family: "Montserrat", sans-serif;
	margin:0px;
	padding: 0;
    /*
	color: black;
    */
	font-size:14px;
}

.si_rhs_class {
    background-color:var(--bulma-background) !important;
}
.si_heading {
    color:var(--bulma-text) !important;
    background-color:var(--bulma-background) !important;
}

#header {
	background: white;
	padding:10px 0 5px 0;
}

#app-header {
  position: fixed;
  left: 0;
  top: 0;
  height: 4.5rem;
  width: 100%;
}

#app-menu {
  position: fixed;
  left: 0;
  top: 4.5rem;
  height: calc( 100% - 5rem);
  padding-bottom:5rem; /* for bottom menu */
  width: 16rem;
  border-right: 1px solid #dbdbdb;
  /*
  background: #e6ecef;
  */
  background-color:var(--bulma-background) !important;
  padding-top:1rem;
}

.bottom-menu {
  position: fixed;
  bottom: 0;
  left: 0;
  height: 5rem;
  width: 16rem;
  border-right: 1px solid #dbdbdb;
  background: #046d8b;
  padding-top:1rem;
}

main#app-main {
  position: fixed;
  left: 16rem;
  top: 4.5rem;
  height: 100%;
  width: calc( 100% - 16rem);
}

main#app-main .main {
  padding-bottom: 30vh;
  margin: 0 auto;
}

main#app-main > .nano {
  position: relative;
}

main#app-main .bottom-bar {
  bottom: 0;
  left: 16rem;
  position: fixed;
  width: calc( 100% - 16rem);
  background: white;
  box-shadow: 0 -1px 0 0 #dbdbdb;
  padding: .7rem 0;
}

#pin-toggle {
  margin-left: -1px;
}

#app-menu:not(.pinned),
#app-menu:not(.pinned) + .bottom-menu {
  display: none;
}

#app-menu:not(.pinned) ~ main#app-main {
  left: 0;
  width: 100%;
}

#app-menu ~ #app-main .bottom-bar {
  left: 0;
  width: 100%;
  z-index: 2;
}

#app-menu.pinned ~ #app-main .bottom-bar {
  left: 16rem;
  width: calc(100% - 16rem);
  z-index: 2;
}


@media (max-width: 800px) {

  #app-menu:not(.pinned),
  #app-menu:not(.pinned) + .bottom-menu {
    display: block;
  }

  #app-menu:not(.pinned) ~ main#app-main {
    left: 16rem;
    width: calc( 100% - 16rem);
    min-width: 100%;
  }

  #app-menu.pinned,
  #app-menu.pinned + .bottom-menu {
    display: none;
  }

  #app-menu.pinned ~ main#app-main {
    left: 0;
    width: 100%;
  }

  #app-menu.pinned ~ main#app-main .bottom-bar {
    left: 0;
    width: 100%;
  }

  #app-menu ~ #app-main .bottom-bar {
    left: 16rem;
    width: 100%;
  }
}


.nano {
  position: relative;
  width: 100%;
  height: 100%;
  overflow: hidden;
}

.nano > .nano-content {
  position: absolute;
  overflow: scroll;
  overflow-x: hidden;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

.nano > .nano-content:focus {
  outline: thin dotted;
}

.nano > .nano-content::-webkit-scrollbar {
  display: none;
}

.has-scrollbar > .nano-content::-webkit-scrollbar {
  display: block;
}

.nano > .nano-pane {
  background: rgba(0, 0, 0, 0.25);
  position: absolute;
  width: 10px;
  right: 0;
  top: 0;
  bottom: 0;
  visibility: hidden\9;
  /* Target only IE7 and IE8 with this hack */
  opacity: .01;
  -webkit-transition    : .2s;
  -moz-transition       : .2s;
  -o-transition         : .2s;
  transition            : .2s;
  -moz-border-radius    : 5px;
  -webkit-border-radius : 5px;
  border-radius: 5px;

}

.nano > .nano-pane > .nano-slider {
  background: #444;
  background: rgba(0, 0, 0, 0.5);
  position: relative;
  margin: 0 1px;
  -moz-border-radius    : 3px;
  -webkit-border-radius : 3px;
  border-radius: 3px;
}

.nano:hover > .nano-pane,
.nano-pane.active,
.nano-pane.flashed {
  visibility: visible\9;
  /* Target only IE7 and IE8 with this hack */
  opacity: 0.99;
}



[class^="eg-"],
[class*=" eg-"] {
  line-height: 1;
  stroke-width: 0;
  stroke: currentColor;
  fill: currentColor;
  vertical-align: middle;
  margin-top: -3.5px;
}

body > aside {
  width: 16rem;
  position: fixed;
  left: 0;
  top: 0;
  height: calc(100vh - 3.5rem);
  overflow: hidden;
  /*
  background-color: #fff;
  */
  vertical-align: top;
}

body > aside .menu-list li ul {
  border-left-color: rgba(255, 255, 255, 0.4);
}

body > aside .menu-list a.is-current {
  color: #fff;
  background-color: #046d8b;
}

body > aside .menu-list a:hover:not(.is-active) {
  background-color: transparent;
  color: #046d8b;
  box-shadow: 1px 1px 0 0 #333 inset, -1px 1px 0 0 #333 inset, -1px -1px 0 0 #333 inset, 1px -1px 0 0 #333 inset;
}

div.form-control.textarea[style] {
  overflow: hidden !important;
}

.bottom-menu .links {
  text-align: center;
  padding: 1rem;
  /*
  height: 4rem;
  position: relative;
  */
}

.bottom-menu .links a {
  float: left;
  height: 100%;
}

.card.egl-base {
  width: 28rem;
  margin: 0 auto;
  max-width: calc( 100% - 1rem);
  text-align: left;
  max-height: 100%;
  overflow-y: auto;
}


.modal {
  -ms-flex-direction: column !important;
      flex-direction: column !important;
  z-index: 999;
}

.modal-card[style] {
  margin-right: auto !important;
}


/*
.field .input[disabled],
.field .textarea[disabled],
:-ms-input-placeholder {
  -webkit-text-fill-color: #000;
  color: #444;
  opacity: 1;
}

.field .input[disabled],
.field .textarea[disabled],
::placeholder {
  -webkit-text-fill-color: #000;
  color: #444;
  opacity: 1;
}
*/

.pagination-previous[disabled],
.pagination-next[disabled],
.pagination-link[disabled],
li[id$="_ellipsis"] {
  pointer-events: none !important;
}

.button.is-loading:after {
  border-color: transparent transparent #b5b5b5 #b5b5b5;
}

.progress,
.tag {
  border-radius: 0px;
}

@media (min-width: 1000px) {
  .columns {
    padding: 0 0.2rem 0 0rem;
  }
}

.control .input[disabled],
.control .textarea[disabled] {
  color: #888;
  -webkit-text-fill-color: #000000;
}

@media print {
  main#app-main,
  .nano,
  .nano-content {
    position: static !important;
    width: initial !important;
    height: initial !important;
    display: block !important;
    overflow: initial !important;
  }

  aside.menu#app-menu,
  div.level,
  div.bottom-menu,
  div.action-buttons {
    display: none !important;
  }
}


p {
    margin-top: 1em;
    margin-bottom: 1em;
}
ul {
    list-style-type: disc;
    margin-bottom: 1em;
}
li {
    display: list-item;
    margin-left: 40px;
}

#help {
	border: 1px solid #B8C726;
	padding: 10px;
}
#help li {
	list-style: none;
	padding-bottom: 5px;
}
#help a.back,
#help li a {
	color: #004D6D;
	font-size: 12px;
	text-decoration: none;
	font-weight: bold;
}
#help a.back:hover,
#help li a:hover {
	text-decoration: underline;
}

p.site_name {
	font-size:40px;
	padding:0;
	margin:8px 0 0 0px;
}

th {
	line-height:11px;
}


#clientpaneldiv {
	background:white;
	padding:5px;
	border:1px solid #CCCCCC;
	border-color:#CCC black black #CCC;
}

li > ul.sub-level, li > div {
	display: none;
}

li:hover > .sub-level, li:hover > div {
	display: block;
	font-weight: normal;
	position: absolute;
	margin:0;
	padding:0;
}

li:hover > div {
	/*width:528px;*/
	left:-152px;
	background-color:#555;
}

li:hover > div > ul {
	font-weight: normal;
/*	float:left;*/
	display:table-cell;
	border:1px solid #fff;
}

li:hover > div > ul:last-child li {
	margin-right:0;
}

li:hover > div > ul li:first-child {
	min-height:30px;
}

li:hover > div > ul li {
	min-height:30px;
}

li:hover > div > ul li a {
	min-height:30px;
}


/** si overrides **/

.section {
    padding: 1.5rem 1rem 6rem 1.5rem;
}

@media (max-width: 1000px) {
	.section{
		padding:0.5rem;
	}
}

/** form overrides **/

.qnpl-display {
	font-family: 'Arial', 'Helvetica', sans-serif;
	margin:auto;
	width:100%;
	text-align:center;
}

td.little {
	padding-bottom: 3px;
}

ul.si_tab li {
    border-radius:10px  10px 0 0;
}
ul.si_tab li.tabselected {
    /*
	color: #fff;
    background-color:#c3c800 !important; *//* yellow */
    background-color: hsl(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-80-l)) !important;
    border-radius:10px  10px 0 0;
}

.si_tab_button [class^="eg-"],
.si_tab_button [class*=" eg-"] {
    width:1em !important;
    height:1em !important;
  vertical-align: middle;
  margin-top: -4.5px;
}

.search_options {
	float:right;
	width:100%;
	background:#EDEDED;
	padding:0px 6px 10px 6px;
	margin-bottom: 10px;
}

.search_options .si_options_heading {
	margin-top:5px;
}

ul.top-level li{
	background:#fff;
}

/* what is this?
html:before{
	content:"";
	position:relative;
	width:1px;
	background:#aaa;
	display:block;
	top:0;
	margin-left:151px;
}
*/

.si_toolbar div.text{
	line-height:23px;
    font-size:14px;
}

td.si_toolbar {
	color:white;
}

td.si_toolbar a {
	color:white;
}

.qnpl-nav select{
	margin: 2px 2px 1px 2px;
}

.qnpl-nav #si_toolbar_recordcount, .qnpl-nav .text, .qnpl-nav a {
    color: #004563; /* dark blue */
}

.qnpl-nav {
    padding-left:5px;
    /*
    background:#c3c800; *//* yellow */
    background-color: hsl(var(--bulma-primary-h), var(--bulma-primary-s), var(--bulma-primary-80-l));
    /*color: #004563;*/ /* dark blue */
    color: #000000;
    font-weight:bold;
}
.qnpl-nav .icon_override {
    /*
    color: #004563;*/ /* dark blue */
    color: #000000;
}
.qnpl-nav .icon_override_off {
    /*
    color: #6699CC; *//* light blue */
    color: #999999;
}

.si_listmode th {
	background : #004563;
}
.si_listmode th a{
	background : #004563;
    color:#fff !important;
    text-decoration: none !important;
}

#header {
	border-bottom:1px solid #aaa;
}

header {
	display:block;
	clear:all;
	min-width:900px;
	width:100%;
}

.multi-checkbox .checkbox-wrapper.moveable .remove{display:none;float:right;margin-right:0px;vertical-align:middle;cursor:pointer;}
.multi-checkbox .checkbox-wrapper.moveable:hover .handle, .multi-checkbox .checkbox-wrapper.moveable:hover .remove, .multi-checkbox .checkbox-wrapper.moveable:hover .edit{display:block;}

#footer{
	border:0
}
#login_left{
	text-align:center;
	margin:40px auto 0 auto;
	width:280px;
}

tr.row_status_withdrawn {
    font-style:italic;
}
tr.row_status_withdrawn a {
    color:#777;
}
tr.is-selected.row_status_withdrawn td.si_listmode {
    background:#587f8a;
}

@media screen and (max-width: 768px) {
  ul.si_tabpanel {
    height:32px;
  }
}

.icon.is-left {
    margin-left:0.5em;
}
.control.has-icons-left .input {
    padding-left:2.75em;
}
.icon.is-right {
    margin-right:1em;
    border:none;
    background:none;
}

::placeholder {
    /*
    opacity:0.8;
    */
}

ul.menu-list {
    margin:0;
    list-style-type:none;
}

.menu-list a {
  display: inline-block;
}

.menu-list li {
  margin:5px 20px;
}

.menutoggle {
    background: #002a3c; /* very dark blue */
    color:white;
    cursor:pointer;
}

.menutoggle ul.menu-list {
    padding:0 15px;
    line-height:17px;
}
.menutoggle span.chevron {
    font-size: 1.8rem;
    font-weight:bold;
    padding:0 3px 0 2px;
    position:relative;
    top:2px;
}


@media screen and (max-width: 768px) {

  .menutoggle {
    top: 4rem;
  }
  main#app-main {
    left:4.5rem;
    top: 4rem;
    width:calc(100% - 4.5rem);
  }
  main#app-header {
    height: 4rem;
  }
  div.site-logo img {
    margin:1.0rem 0 0 1rem;
    height:2.2rem;
  }
  .bottom-bar {
    left: 0rem;
    width: 100%;
  }
}

div.readonly_textarea {
	width: 100%;
	overflow: auto;
	border: 1px solid #666;
	background-color: transparent;
	padding: 2px;
}

td.si_form_prompt {
	color:#666666;
}

.noul {
    text-decoration:none !important;
}
