@font-face {
  font-family: Blinker-Regular;
  src: url("../fonts/Blinker-Regular.ttf") format("truetype");
}

@font-face {
  font-family: Blinker-SemiBold;
  src: url("../fonts/Blinker-SemiBold.ttf") format("truetype");
}

:root {
  --color-lobby-bg: #124858;
  --color-lobby-footer: #adadad;
  --color-lobby-form: #d6d6d6;
  --color-lobby-on: #ffffff;
  --color-main-bg: #f2f7f8;
  --color-navbar-bg: #124858;
  --color-navbar-on: #ffffff;
  --color-text-alternative: #ffffff;
  --color-text-default: #1f1f1f;
  --color-text-border: #707070;
  --color-text-alert: #ff0000;
  --color-text-bg-default: #ffffff;
  --color-text-bg-disabled: #8f8f8f;
  --color-button-on-default: #e0e0e0;
  --color-button-primary-default: #186177;
  --color-button-primary-hover: #114555;
  --color-button-warning-default: #dc5e00;
  --color-button-warning-hover: #dc5e00;
  --color-text-link-default: #1e8296;
  --color-text-link-visited: #679e2a;
  --color-matrix-header-bg: #4b8495;
  --color-matrix-header-on: #ffffff;
  --color-card-bg-default: #d6d6d6;

  --color-pane-bar-bg: #c2c2c2;
  --color-pane-bar-border: #a3a3a3;
  --color-pane-bar-button-hover: #12485826;
  --color-pane-bar-button-selected: #1248584d;
  --color-pane-bar-on: #124858;

  --color-select-bg-default: #ffffff;
  --color-select-on: #1f1f1f;

  --body-font-family: Blinker-Regular, Symbol, Helvetica, Arial, sans-serif;
  --body-font-family-semibold: Blinker-SemiBold, Symbol, Helvetica, Arial, sans-serif;
  --white-color: rgb(255, 255, 255);

  --pf-v5-global--active-color--100:var(--color-button-primary-default);
  --pf-v5-global--Color--dark-100:var(--color-text-default);
  --pf-v5-global--BackgroundColor--light-100:var(--color-main-bg);
}

:where(.pf-v5-theme-dark):root,
:where(.pf-v5-theme-dark) {
  --color-lobby-bg: #141414;
  --color-lobby-footer: #707070;
  --color-lobby-form: #1f1f1f;
  --color-lobby-on: #e0e0e0;
  --color-main-bg: #141414;
  --color-navbar-bg: #0a2933;
  --color-navbar-on: #e0e0e0;
  --color-text-alternative: #292929;
  --color-text-default: #e0e0e0;
  --color-text-bg-disabled: #666666;
  --color-button-on-default: #ffffff;
  --color-button-primary-default: #1e8296;
  --color-button-primary-hover: #114555;
  --color-button-warning-default: #ff7614;
  --color-button-warning-hover: #ffbf61;
  --color-text-link-default: #75d0e3;
  --color-text-link-visited: #beea78;
  --color-matrix-header-bg: #3d6c7a;
  --color-matrix-header-on: #d6d6d6;  
  --color-card-bg-default: #333333;

  --color-pane-bar-bg: #0a0a0a;
  --color-pane-bar-border: #1f1f1f;
  --color-pane-bar-button-hover: #ffffff1a;
  --color-pane-bar-button-selected: #ffffff26;
  --color-pane-bar-on: #5c5c5c;
  --color-select-bg-default: #333333;
  --color-select-on: #e0e0e0;
  
  --body-font-family: Blinker-Regular, Symbol, Helvetica, Arial, sans-serif;
  --body-font-family-semibold: Blinker-SemiBold, Symbol, Helvetica, Arial, sans-serif;
  --white-color: rgb(255, 255, 255);
  --pf-v5-global--active-color--100:var(--color-button-primary-default);
  --pf-v5-global--Color--dark-100:var(--color-text-default);
  --pf-v5-global--BackgroundColor--light-100:var(--color-main-bg);
  
}

.pf-v5-c-card{
  background-color:var(--color-card-bg-default);
  padding: 10px;
}

html,
body {
  --pf-global--FontFamily--heading--sans-serif: var(--body-font-family-semibold);
  font-family: var(--body-font-family);
  font-size: 14px;
  -ms-text-size-adjust: 100%;
  -webkit-text-size-adjust: 100%;
  padding: 0;
  margin: 0;
  height: 100%;
}

body {
  line-height: 1.4;
}

/* :where(button,input,optgroup,select,textarea){
  color:var(--color-text-default) !important;
} */

html {
  overflow: hidden;
}

*,
:after,
:before {
  -moz-box-sizing: border-box;
  box-sizing: border-box;
}

button,
input,
select,
textarea {
  font-family: inherit;
  font-size: inherit;
  line-height: inherit;
}

.pf-v5-c-content a,
.pf-v5-c-button.pf-m-link,
a {
  text-decoration: none;
  color: var(--color-text-link-default);
}

.pf-v5-c-menu{
  --pf-v5-global--BackgroundColor--100:var(--color-lobby-form);
}

a:hover {
  text-decoration: underline;
}

a:visited {
  color: var(--color-text-link-visited);
}

b,
strong {
  font-weight: bold;
}

.test {
  color: red;
}


.pf-v5-c-masthead{
  background-color: var(--color-navbar-bg);
  color: var(--color-navbar-on);
}

header .pf-v5-c-toolbar{
  background-color: var(--color-navbar-bg);
  color: var(--color-navbar-on);
}

.pf-v5-c-page__main,
.page-container {
  background-color: var(--color-main-bg);
}

.btn {
  padding: 4px 12px;
  display: inline-block;
  margin-bottom: 0;
  font-weight: 400;
  text-align: center;
  vertical-align: middle;
  touch-action: manipulation;
  cursor: pointer;
  border: 1px solid transparent;
  font-size: 15px;
  line-height: 1.4;
  border-radius: 0;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  white-space: nowrap;
}

.pf-v5-c-menu-toggle.pf-m-full-width{
  color: var(--color-select-on) !important;
  background-color: var(--color-select-bg-default);
  border-color: var(---color-select-bg-default);
  background-image: none;
  background-repeat: no-repeat;
}

.pf-v5-c-button.pf-m-primary,
.btn-primary {
  color: var(--color-button-on-default) !important;
  background-color: var(--color-button-primary-default);
  border-color: var(--color-button-primary-default);
  background-image: none;
  background-repeat: no-repeat;
}

.pf-v5-c-button.pf-m-primary,
.btn-primary:hover {
  background-color: var(--color-button-primary-hover);
  color: var(--color-button-on-default);
}

.btn-danger {
  background-color: var(--color-button-warning-default);
  color: var(--color-button-on-default);
}

.pf-v5-c-button.pf-m-primary,
.btn-primary.active,
.btn-primary:active,
.btn-primary:hover,
.open>.dropdown-toggle.btn-primary {
  color: var(--color-button-on-default);
  background-color: var(--color-button-primary-default);
  border-color: var(--color-button-primary-default);
}

.pf-v5-c-switch__input:checked~.pf-c-switch__toggle {
  background-color: var(--color-button-primary-default);
}

.pf-v5-c-tabs__item.pf-m-current {
  --pf-c-tabs__link--after--BorderColor: var(--color-button-warning-default);
}

.pf-v5-c-switch__input:checked~.pf-v5-c-switch__toggle{
  background-color: var(--color-button-primary-default);
}

.onoffswitch .onoffswitch-inner .onoffswitch-active {
  background-image: none;
  background-color: var(--color-button-primary-default);
  color: var(--color-button-on-default);
  padding-left: 10px;
}

input {
  border: 1px solid rgb(165, 165, 165);
  padding: 4px 12px;
}

button:focus {
  outline: none;
}

input:focus,
textarea:focus {
  outline: none;
  border-color: var(--color-button-primary-default);
}

label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
}

.control-label,
label {
  font-size: 12px;
  font-weight: 400;
}

input {
  color: inherit;
  font: inherit;
  font-style: inherit;
  font-variant-ligatures: inherit;
  font-variant-caps: inherit;
  font-variant-numeric: inherit;
  font-variant-east-asian: inherit;
  font-weight: inherit;
  font-stretch: inherit;
  font-size: inherit;
  line-height: inherit;
  font-family: inherit;
  margin: 0;
}

form {
  margin-top: 20px;
}

table {
  margin-top: 20px;
}

.required {
  color: var(--color-button-warning-default);
}

.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 {
  color: var(--color-matrix-header-on) !important;
  background-color: var(--color-matrix-header-bg) !important;
  line-height: 20px;
  padding-left: 3px;
  padding-right: 3px;
  transform-origin: 0px 0px;
  text-align: left;
  opacity: 1.001;
}

.table>tbody>tr>th,
.table>tfoot>tr>th,
.table>thead>tr>th {
  font-family: var(--body-font-family-semibold);
  font-size: 14px;
  font-style: normal;
}

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%;
}

.launcher-main-screen-wrapper {
  display: grid;
  min-height: 100vh;
  background-color: var(--color-lobby-bg);
  grid-template-columns: 1fr auto 900px auto 1fr;
  grid-template-rows: 20px auto 25px;
  grid-template-areas: ". . main . ." ". . main . ." "footer footer footer footer footer";
}

.launcher-main-screen-container {
  height: 100%;
  grid-area: main;
  margin: auto;
  width: 900px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  flex-wrap: wrap;
}

.launcher-main-screen-image {
  height: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 450px;
  order: 1;
}

.launcher-main-screen-image__content {
  width: 350px;
  height: 350px;
  position: relative;
}

.launcher-main-screen-image__main-image {
  width: 350px;
  height: 350px;
  position: absolute;
}

.launcher-main-screen-sign-in-partial {
  width: 450px;
  padding: 5px 15px 15px 15px;
  border-radius: 5px;
  background-color: white;
  margin-bottom: 40px;
  order: 2;
}

.launcher-main-screen-sign-in-partial h2 {
  display: none;
}

.launcher-main-screen-text {
  font-family: var(--body-font-family);
  color: #eaeaea;
  width: 450px;
  font-size: 18px;
  order: 3;
}

.launcher-main-screen-text__smaller {
  font-size: 16px;
  font-style: italic;
}

.launcher-main-screen-footer {
  grid-area: footer;
  font-family: var(--body-font-family);
  color: #666;
  font-size: 18px;
}

/*********** 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 {
    background-image: linear-gradient(top, #00a9ec 0%, #009bd3 100%);
    background-image: -o-linear-gradient(top, #00a9ec 0%, #009bd3 100%);
    background-image: -moz-linear-gradient(top, #00a9ec 0%, #009bd3 100%);
    background-image: -webkit-linear-gradient(top, #00a9ec 0%, #009bd3 100%);
    background-image: -ms-linear-gradient(top, #00a9ec 0%, #009bd3 100%);
    background-image: -webkit-gradient(linear, left top, left bottom, color-stop(0, #00a9ec), color-stop(1, 0, #009bd3));
    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;
}

.keycloak__realm_selector_dropdown__toggle {
  color: var(--color-button-on-default);
  background-color: var(--color-button-primary-default);
  border-color: var(--color-button-primary-default);
}

/*********** New Menu ***********/

.pf-v5-c-page__sidebar,
.sidebar-pf {
  background: var(--color-lobby-form);
}

.pf-v5-c-nav__list>li>a.pf-m-current
 {
  color: var(--color-text-default);
  background: var(--color-pane-bar-button-selected) !important;
  border-bottom: 1px solid var(--color-text-border) !important;
  border-top: 1px solid var(--color-text-border) !important;
  border-left-color: var(--color-pane-bar-on) !important;
}

.pf-v5-c-nav__list>li>a:focus.pf-m-current,
.pf-v5-c-nav__list>li>a:hover.pf-m-current {
  color: var(--color-text-default);
  cursor: default;
  background-color: var(--color-pane-bar-button-hover);
  border: 1px solid var(--color-text-border);
  border-bottom-color: transparent;
}

/* .sidebar-pf-left{
  background: #292e34;
} */

.pf-v5-c-nav__list>li>a i,
.pf-v5-c-nav__list>li>a span {
  color: #72767b;
  display: inline-block;
  margin-right: 10px;
}

.pf-v5-c-nav__list>li>a:not(.pf-m-current):hover {
  background-color: var(--color-pane-bar-button-hover);
  border-color: var(--color-text-border);
  border-left-color: var(--color-pane-bar-on) !important;
  color: var(--color-text-default);
}

/* .pf-c-nav__list > li > a:after {
  display: none !important;
} */

/* .sidebar-v5-pf .nav-pills>li.active>a {
  color: var(--color-text-link-default);
  background: rgb(233, 233, 233) !important;
  border-bottom: 1px solid var(--color-text-border) !important;
  border-top: 1px solid var(--color-text-border) !important;
  border-left-color: #39a5dc !important;
} */

.sidebar-v5-pf .nav-pills>li.active a i,
.sidebar-v5-pf .nav-pills>li.active a span {
  color: #39a5dc;
}

.pf-v5-c-nav__list>li>a.pf-m-current .fa,
.pf-v5-c-nav__list>li>a.pf-m-current .fab,
.pf-v5-c-nav__list>li>a.pf-m-current .fal,
.pf-v5-c-nav__list>li>a.pf-m-current .far,
.pf-v5-c-nav__list>li>a.pf-m-current .fas {
  color: #39a5dc;
}

.pf-v5-c-nav__link.pf-m-current:after,
.pf-v5-c-nav__link.pf-m-current:hover:after,
.pf-v5-c-nav__item.pf-m-current:not(.pf-m-expanded) .pf-c-nav__link:after {
  border-color: var(--color-button-warning-default);
}

.pf-v5-c-nav__section-title {
  background-color: #124858;
}

a.pf-v5-c-nav__link,
.pf-v5-c-tabs.pf-m-box .pf-v5-c-tabs__link{
  color: var(--color-text-default);
}

/* .pf-v5-c-nav__link {
  color: var(--color-lobby-bg);
} */

/*********** 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: var(--white-color);
  border: solid 1px var(--color-text-border);
}

.realm-selector:hover .realm-dropmenu {
  display: block;
}

.realm-add {
  padding: 10px;
}

.realm-selector h2 {
  padding: 0 20px;
  margin: 0;
  font-size: 16px;
  text-align: center;
  font-weight: bold;
  line-height: 60px;
  font-size: 18px;
  width: 100%;
  color: black;
  border-bottom: 1px solid var(--color-lobby-bg);
}

.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 var(--color-text-border);
  line-height: 39px;
  display: block;
  font-size: 14px;
}

/*********** Overwrites header defaults ***********/

.pf-v5-c-page__header,
.navbar-pf {
  border-top: none !important;
  background-color: var(--color-navbar-bg);
  font-family: var(--body-font-family);
}

.navbar-v5-pf .navbar-utility>li>a,
.navbar-v5-pf .navbar-utility>li>button {
  border: solid #2b2b2b;
  border-width: 0 0 0 1px;
  color: white !important;
  padding: 7px 10px;
  font-size: 14px;
  margin: 0;
}

.navbar-v5-pf .navbar-brand {
  padding: 0;
  height: 62px;
  line-height: 62px;
  background-position: center center;
  background-size: 200px 60px;
  background-repeat: no-repeat;
  width: 220px;
}

img.pf-v5-c-brand.keycloak__pageheader_brand {
  content: url("logo.svg");
}

.navbar-v5-pf .navbar-utility .dropdown-toggle {
  padding: 23px !important;
}

.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;
}

/* search highlighting */

div[tree-model] li .highlight {
  background-color: #aaddff;
}

/* Manage credentials */

table.credentials-table {
  margin-top: 0;
  margin-bottom: 20px;
}

table.credentials-table td {
  vertical-align: middle !important;
}

table.credentials-table input[type="text"] {
  width: 100%;
}

td.credential-arrows-cell {
  width: 75px;
}

td.credential-label-cell {
  padding: 5px !important;
}

td.credential-action-cell {
  padding: 0px !important;
}

td.credential-action-cell div.kc-action-cell {
  width: 100%;
  height: 36px;
  line-height: 34px;
}

td.credential-action-cell.expanded div.kc-action-cell {
  border-bottom: 1px solid var(--color-text-border);
}

table.credential-data-table td {
  word-break: break-all;
}

table.credential-data-table tr:first-child td {
  border-top: 0;
}

table.credential-data-table td:first-child {
  width: 150px;
}

table.credential-data-table td.key {
  text-align: right;
  font-weight: bold;
}