html,body {
    height: 100%;
}

form {
    margin-top: 20px;
}

table {
    margin-top: 20px;
}

.required {
    color: #f00;
}

.tooltip-inner {
    min-width: 200px;
}

.margin-top {
    margin-top: 20px;
}

.no-margin-top {
    margin-top: 0px !important;
}

table {
    max-width: 100%;
}

td.clip {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 0;
}

th.w-10 {
    width: 10%;
}

th.w-15 {
    width: 15%;
}

th.w-20 {
    width: 20%;
}


th.w-25 {
    width: 25%;
}

th.w-30 {
    width: 30%;
}


th.w-35 {
    width: 35%;
}

th.w-40 {
    width: 40%;
}

/*********** Loading ***********/

.loading {
    background-color: #f5f5f5;
    border: 1px solid #eee;
    position: absolute;
    bottom: 0px;
    left: 0px;
    padding: 2px 200px 2px 5px;
}

/*********** Feedback ***********/

.feedback-aligner {
    position: fixed;
    top: 15px;
    text-align: center;
    width: 100%;
    height: 0;
    z-index: 100;
}
.feedback-aligner .alert {
    border-radius: 2px;
    border-width: 1px;
    display: inline-block;
    position: relative;
}

/*********** On-Off Switch  ***********/

.onoffswitch {
    -moz-user-select: none;
    height: 26px;
    position: relative;
    width: 62px;
}
.onoffswitch .onoffswitch-checkbox {
    display: none;
}
.onoffswitch .onoffswitch-label {
    border: 1px solid #bbb;
    border-radius: 2px;
    cursor: pointer;
    display: block;
    overflow: hidden;
    width: 62px;
}
.onoffswitch .onoffswitch-inner {
    display: block;
    margin-left: -100%;
    transition: margin 0.3s ease-in 0s;
    width: 200%;
}
.onoffswitch .onoffswitch-inner > span {
    -moz-box-sizing: border-box;
    color: white;
    float: left;
    font-size: 11px;
    font-family: "Open Sans", sans-serif;
    font-weight: bold;
    height: 24px;
    line-height: 24px;
    padding: 0;
    width: 50%;
}
.onoffswitch .onoffswitch-switch {
    background-image: linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -o-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -moz-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -webkit-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -ms-linear-gradient(top, #fafafa 0%, #ededed 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #fafafa), color-stop(1, 0, #ededed));
    border: 1px solid #aaa;
    border-radius: 2px;
    bottom: 0;
    margin: 0;
    position: absolute;
    right: 39px;
    top: 0;
    transition: all 0.3s ease-in 0s;
    -webkit-transition: all 0.3s ease-in 0s;
    width: 23px;
}
.onoffswitch .onoffswitch-inner .onoffswitch-active {
    color: #FFFFFF;
    padding-left: 10px;
}
.onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-inner .onoffswitch-active,
.onoffswitch-checkbox:disabled + .onoffswitch-label .onoffswitch-inner .onoffswitch-inactive {
    background-image: none;
    background-color: #e5e5e5;
    color: #9d9fa1;
}
.onoffswitch .onoffswitch-inner .onoffswitch-inactive {
    background: linear-gradient(#fefefe, #e8e8e8) repeat scroll 0 0 transparent;
    color: #4d5258;
    padding-right: 10px;
    text-align: right;
}
.onoffswitch .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-inner {
    margin-left: 0;
}
.onoffswitch .onoffswitch-checkbox:checked + .onoffswitch-label .onoffswitch-switch {
    right: 0;
}


/*********** Select 2 ***********/

.select2-container {
    width: 100%;
}

.select2-container-multi .select2-choices .select2-search-field {
    height: 26px;
}

/*********** html select ********/
.overflow-select {
    overflow: auto;
}

/*********** Realm selector ***********/

.realm-selector{
  color: #fff;
  margin: 0 -20px;
  position: relative;
}

.realm-dropmenu{
  display: none;
  cursor: pointer;
  position: absolute;
  top: 60px;
  left: 0;
  right: 0;
  z-index: 999;
  background: #fff;
}

.realm-selector:hover .realm-dropmenu{
  display: block;
}

.realm-add{
  padding: 10px;
}

.realm-selector h2{
  font-size: 16px;
  line-height: 60px;
  padding: 0 20px;
  margin: 0;
  border-bottom: 1px solid #d5d5d6;
}

.realm-selector h2 i{
  display: inline-block;
  float: right;
  line-height: 60px;
}


.realm-selector ul{
  padding-left: 0;
  margin: 0;
  list-style: none;
  max-height: 200px;
  overflow-y:auto;
}


.realm-selector ul li a{
  line-height: 60px;
  padding: 0 20px;
  border-bottom: 1px solid #d5d5d6;
  line-height: 39px;
  display: block;
  font-size: 14px;
}


/*********** Overwrites header defaults ***********/

.navbar-pf{
  border-top: none!important;
}
 
.pf-v5-c-masthead,
.pf-v5-c-masthead__main,
.pf-v5-c-masthead__content,
.pf-v5-c-toolbar,
.pf-v5-c-toolbar__content {
  background-color: rgba(250, 252, 253, 0.88) !important;
}
 
.pf-v5-c-masthead {
  border-bottom: 1px solid #d6dde8;
}
 
.pf-v5-c-menu-toggle,
.pf-v5-c-menu-toggle:hover,
.pf-v5-c-menu-toggle:focus,
.pf-v5-c-menu-toggle:active {
  color: #292e34 !important;
}
 
.pf-v5-c-menu-toggle svg {
  fill: #292e34 !important;
}

/* .pf-v5-c-menu-toggle:hover,
.pf-v5-c-menu-toggle:focus,
.pf-v5-c-menu-toggle:active {
  color: #292e34 !important;
} */
 
.pf-v5-c-menu-toggle svg {
   fill: #292e34 !important;
 }

 #nav-toggle {
   color: #000000 !important;
 }

 #nav-toggle svg {
   fill: #000000 !important;
 }
 
.navbar-pf .navbar-brand {
  padding: 0;
  height: 56px;
  line-height: 56px;
  background-position: center center;
  background-image: url('../img/ms-logo.png');
  background-size: 148px 30px;
  background-repeat: no-repeat;
  width: 148px;
}

.navbar-pf .navbar-utility > li > a{
  padding: 22px 30px 23px 40px!important;
}
/* @media (min-width: 768px) */
.navbar-pf .navbar-utility li.dropdown > .dropdown-toggle .pficon-user {
  top: 22px;
  left:20px;
}

.clickable {
    cursor: pointer;
}

h1 i {
    color: #999999;
    font-size: 18px;
    margin-left: 10px;
}

/* Action cell */
.kc-action-cell {
    background-color: #eeeeee;
    background-image: linear-gradient(to bottom, #fafafa 0%, #ededed 100%);
    background-repeat: repeat-x;

    text-align: center;
    vertical-align: middle;

    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;

    cursor:pointer;
}

.kc-action-cell:hover {
    background-color: #eeeeee;
    background-image: none;
}

.kc-sorter span {
    margin-left: 10px;
}


/* Time selector */

.time-selector input {
    display: inline-block;
    width: 120px;
    padding-right: 0;
    margin-right: 0;
}

.time-selector select {
    display: inline-block;
    width: 80px;
    margin-left: 0;
    padding-left: 0;
}

.ace_editor {
    height: 600px;
    width: 100%;
}

.kc-button-input-file input {
    float: left;
    width: 73%;
}

.kc-button-input-file label {
    float: left;
    margin-left: 2%;
    width: 25%;
}

table.kc-authz-table-expanded {
    margin-top: 0px !important;
}

.no-gutter > [class*='col-'] {
    padding-right:0!important;
    padding-left:0!important;
}

.password-conceal {
  font-family: 'text-security-disc';
  font-size: 14px;
}

/* Deactivation styles for user-group membership tree models */

div[tree-model] li .deactivate {
    color: #4a5053;
    opacity: 0.4;
}

div[tree-model] li .deactivate_selected {
    background-color: #dcdcdc;
    font-weight: bold;
    padding: 1px 5px;
}


/* =======================================
            PROJECT COLOURS
   ======================================= */

/* ---------------------------------------
            PRIMARY COLOUR
   --------------------------------------- */

a {
    color: #41c300;
}

a:hover {
    color: #41c300;
}

input:hover, input:focus {
    border-color:#41c300 !important;
    box-shadow: none !important;
}

.project-primary-color {
    color: #41c300 !important;
}

.project-primary-color-background {
    background-color: #41c300 !important;
}

.project-primary-color-border {
   border-color: #41c300 !important;
}

/* ---------------------------------------
            ON PRIMARY COLOUR
   --------------------------------------- */

.project-on-primary-color {
    color: #fff !important;
}

/*********** New Menu ***********/

.sidebar-pf-left{
    background: #ffffff;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-right: 1px solid #b2b4b6;
    position: relative;
    z-index: 5;
    width: 260px;
}

.pf-v5-c-page__sidebar,
.pf-v5-c-page__sidebar-body,
.pf-v5-c-nav {
    background-color: #ffffff !important;
}

.pf-v5-c-page__sidebar {
    flex: 0 0 260px;
    max-width: 260px;
    transform: translateX(0);
    opacity: 1;
    transition: max-width 420ms ease, transform 420ms ease, opacity 420ms ease;
    will-change: max-width, transform, opacity;
    overflow: hidden;
    box-shadow: rgba(0, 0, 0, 0.35) 0px 5px 15px;
    border-right: 1px solid #e5e7eb;
 }

.pf-v5-c-page.pf-m-collapsed .pf-v5-c-page__sidebar,
.pf-v5-c-page__sidebar.pf-m-collapsed {
    flex-basis: 0 !important;
    max-width: 0 !important;
    transform: translateX(-100%);
    opacity: 0;
    pointer-events: none;
    box-shadow: none;
    border-right: 0;
}

.pf-v5-c-page__sidebar[hidden] {
    display: block !important;
}

.sidebar-pf-left,
.pf-v5-c-page__sidebar-body,
.pf-v5-c-nav {
    overflow-y: auto;
}

 .sidebar-pf-left,
 .pf-v5-c-page__sidebar-body,
 .pf-v5-c-nav {
     scrollbar-width: thin;
     scrollbar-color: transparent transparent;
 }

 .sidebar-pf-left:hover,
 .pf-v5-c-page__sidebar-body:hover,
 .pf-v5-c-nav:hover {
     scrollbar-color: rgba(0, 0, 0, 0.28) transparent;
 }

 .sidebar-pf-left::-webkit-scrollbar,
 .pf-v5-c-page__sidebar-body::-webkit-scrollbar,
 .pf-v5-c-nav::-webkit-scrollbar {
     width: 8px;
 }

 .sidebar-pf-left::-webkit-scrollbar-track,
 .pf-v5-c-page__sidebar-body::-webkit-scrollbar-track,
 .pf-v5-c-nav::-webkit-scrollbar-track {
     background: transparent;
 }

 .sidebar-pf-left::-webkit-scrollbar-thumb,
 .pf-v5-c-page__sidebar-body::-webkit-scrollbar-thumb,
 .pf-v5-c-nav::-webkit-scrollbar-thumb {
     background-color: transparent;
     border-radius: 10px;
 }

 .sidebar-pf-left:hover::-webkit-scrollbar-thumb,
 .pf-v5-c-page__sidebar-body:hover::-webkit-scrollbar-thumb,
 .pf-v5-c-nav:hover::-webkit-scrollbar-thumb {
     background-color: rgba(0, 0, 0, 0.28);
 }

.pf-v5-c-page__sidebar,
.pf-v5-c-page__sidebar-body,
.pf-v5-c-nav,
.pf-v5-c-nav__link,
.pf-v5-c-nav__section-title {
    color: #000000 !important;
}

.pf-v5-c-nav__section-title {
    overflow-wrap: normal !important;
    word-break: none !important;
    display: flex !important;
    align-items: center !important;
    gap: 5px !important;
}

.pf-v5-c-nav__item.pf-m-current > .pf-v5-c-nav__link,
.pf-v5-c-nav__link.pf-m-current,
.pf-v5-c-nav__link[aria-current],
.pf-v5-c-nav__link[aria-current="page"],
.pf-v5-c-nav__link[aria-current="true"] {
    color: #0d6efd !important;
}

.pf-v5-c-nav__item.pf-m-current > .pf-v5-c-nav__link svg,
.pf-v5-c-nav__link.pf-m-current svg,
.pf-v5-c-nav__link[aria-current] svg,
.pf-v5-c-nav__link[aria-current="page"] svg,
.pf-v5-c-nav__link[aria-current="true"] svg {
    fill: #0d6efd !important;
}

.pf-v5-c-nav__link svg {
    fill: #000000 !important;
}

.pf-v5-c-nav__link:hover,
.pf-v5-c-nav__link:focus {
    color: #0d6efd !important;
    background-color: transparent !important;
}

.pf-v5-c-nav__link:hover svg,
.pf-v5-c-nav__link:focus svg {
    fill: #0d6efd !important;
}

.pf-v5-c-nav__link,
.pf-v5-c-nav__link:hover,
.pf-v5-c-nav__link:focus,
.pf-v5-c-nav__link:active {
    background-color: transparent !important;
    box-shadow: none !important;
    transition: none !important;
}

.pf-v5-c-nav__item.pf-m-current > .pf-v5-c-nav__link {
    background-color: transparent !important;
    box-shadow: none !important;
}

.sidebar-pf .nav-pills > li a i, .sidebar-pf .nav-pills > li a span{
    color:  #292e34;
    display: inline-block;
    margin-right: 10px;
}

.sidebar-pf .nav-pills > li > a{
    color: #292e34;
    padding: 0px 20px 0 30px!important;
    line-height: 30px;
    margin-left: -6px;
}

.sidebar-pf .nav-pills > li > a:hover{
    background: transparent !important;
    border-color: transparent !important;
    color: #0d6efd !important;
}

.sidebar-pf .nav-pills > li > a:hover i, .sidebar-pf .nav-pills > li > a:hover span{
    color: #0d6efd !important;
}

.sidebar-pf .nav-pills > li.active > a {
    color: #41c300;
    background: transparent !important;
    border-color: transparent !important;
}

.sidebar-pf .nav-pills > li.active a i, .sidebar-pf .nav-pills > li.active a span{
    color: #41c300;
}

.sidebar-pf .nav-pills > li > a .fa {
    color: #292e34;
}

.sidebar-pf .nav-pills > li > a:hover .fa {
    color: #41c300;
}

.sidebar-pf .nav-category h2 {
    color: #292e34 !important;
}
