html {
  font-size: 14px;
}

@media (min-width: 768px) {
  html {
    font-size: 16px;
  }
}

.btn:focus, .btn:active:focus, 
.btn-link.nav-link:focus, 
.form-control:focus, .form-check-input:focus,
.btn-close:focus, .btn-close:active:focus {
  box-shadow: 0 0 0 0.1rem white, 0 0 0 0.25rem #258cfb;
}

html {
  position: relative;
  min-height: 100%;
}

body {
  margin-bottom: 60px;
}

.btn {
    background-color: #22082C;
    border-color: #22082C;
    color: white;
}

.btn:hover {
    background-color: gray;
    border-color: gray;
}

.btn-close.btn-close-white:hover {
    background-color: gray;
    border-color: gray;
    filter: invert(0) grayscale(0) brightness(200);
}

.btn-super-sm {
    padding: 2px 5px;
    font-size: 9px;
}


.selectedEnvironment {
    color: white;
    background-color: green;
}

a {
    color: #22082C;
}

a:hover {
    color: gray;
}

header {
    position: sticky;
    top: 0px;
    width: 100%;
}

.navbar {
    background-color: #22082C;
}

.navbar-offscreen {
    position: absolute;
    top: -50px;
}

.navbar-brand {
    color: white
}

.nav-link {
    color: white;
}

.nav-link:hover {
    color: gray;
}

.navbar .btn-link {
    color: white;
}

.navbar-expand-sm .navbar-nav .nav-link {
    margin-left: 5px;
}

.form-check-input:checked {
    background-color: #22082C;
    border-color: #22082C;
    outline-color: #22082C;
}

.nav-pills .nav-link {
    background-color: #22082C;
    border-color: #22082C;
    color: white;
}

.nav-pills .nav-link:hover {
    background-color: gray;
    border-color: gray;
    color: white;
}

.nav-pills .nav-link.active {
    background-color: gray;
    border-color: gray;
    color: white;
}

div.separator {
    position: absolute;
    left: 0px;
    right: 0px;
    border-top: 1px solid lightgray;
}

ul.tree {
    border-top: 1px solid grey;
    min-width: 800px;
    min-height: 100px;
    max-width: 1200px;
    max-height: 550px;
    overflow: auto;
    border: 1px solid;
    margin: 10px;
    padding: 2px;
}

ul.tree, ul.tree ul {
    padding: 0;
    margin: 0;
    list-style: none;
}

ul span {
    display: block;
    padding-left: 25px;
    /*border-bottom: 1px solid #666;*/
    min-height: 25px;
}

ul ul span {
    padding-left: 35px;
    background-position: 15px 8px;
}

ul ul ul span {
    padding-left: 45px;
    background-position: 25px 8px;
}

ul ul ul ul span {
    padding-left: 55px;
    background-position: 35px 8px;
}

ul ul ul ul ul span {
    padding-left: 65px;
    background-position: 45px 8px;
}

ul ul ul ul ul ul span {
    padding-left: 75px;
    background-position: 55px 8px;
}

ul ul ul ul ul ul ul span {
    padding-left: 85px;
    background-position: 65px 8px;
}

ul span a {
    text-decoration: none;
}

ul span a.location::before {
    content: "\F22C";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

ul span a.location.collapsed::before {
    content: "\F234";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

ul span a.job::before {
    content: "\F309";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.actionbar {
    position:relative;
    display:flex;
    flex-direction: row;
    flex-grow:1 !important;
    align-items:flex-start;
    padding-top:.5rem;
    padding-bottom:.5rem;
    padding-left:0;
    padding-right:0;
    list-style:none;
}

.actioncell {
    position: relative;
    display: flex;
    flex-direction: row;
    flex-grow: 1 !important;
    align-items: flex-start;
    list-style: none;
    padding: 0rem;
}

.PCDMatrix th {
    width: 200px;
    font-weight: bold;
    font-size: 0.7em;
    white-space: pre-line;
    border: 1px dotted;
}

.PCDMatrix tr {
    border: 1px solid;
}

.PCDMatrix td{
    width: 230px;
    font-size: 0.7em;
    border: 1px dotted;
}

.offcanvas {
    top: 60px;
    
}

.offcanvas-header {
    background-color: #22082C;
    color: white;
}
.offcanvas-body {
    background-color: gray;
    border-color: gray;
}

.custom-popover {
    --bs-popover-max-width: 500px;
    --bs-popover-border-color: var(--bd-violet-bg);
    --bs-popover-header-bg: var(--bd-violet-bg);
    --bs-popover-header-color: var(--bs-white);
    --bs-popover-body-padding-x: 1rem;
    --bs-popover-body-padding-y: .5rem;
}

.Permissions {
    min-width: 100px;
    min-height: 100px;
    max-width: 500px;
    max-height: 500px;
    border: 1px solid;
    margin: 10px;
    padding: 2px;
}

.Permissions table {
}

.Permissions th {
    width: 100px;
    font-weight: bold;
    font-size: 1.5em;
    white-space: pre-line;
    border: 1px dotted;
}

.Permissions tr {
    border: 1px solid;
}

.Permissions td {
    width: 100px;
    font-size: 1em;
    border: 1px dotted;
}

.DataPill {
    display: flex;
    text-align: left;
    min-height: 1em;
}

.Header {
    font-weight:bold;
    font-size: 12px;
}

.Header .Label{
    padding: 5px;
    border: 1px dotted;
}

.DataPill .Cell {
    padding: 5px;
    font-size: 10px;
    border: 1px dotted;
}

.DataPill .Name {
    display: inline-flex;
    width: 400px;
    min-height: 1em;
}

.DataPill .Add {
    display: inline-flex;
    width: 75px;
    min-height: 1em;
    text-align: center;
}

.DataPill .Edit {
    display: inline-flex;
    width: 125px;
    min-height: 1em;
    text-align: center;
}

.DataPill .Delete {
    display: inline-flex;
    width: 75px;
    min-height: 1em;
    text-align: center;
}

.DataPill .AccessScope {
    display: inline-flex;
    width: 150px;
    min-height: 1em;
    text-align: center;
}

.DataPill .Count {
    display: inline-flex;
    width: 75px;
    min-height: 1em;
    text-align: center;
}

.Grid {
    min-width: 500px;
    min-height: 100px;
    max-width: 1200px;
    max-height: 600px;
    overflow: auto;
    border: 1px solid;
    margin: 10px;
    padding: 2px;
    display: inline-flex;
}

.Grid.NoOverflow {
    overflow: hidden;
}

.Grid .FAPTree {
    max-height: 600px;
    max-width: 1500px;
}

.Grid table {
    width: 1500px;
}

.Grid thead {

}

.Grid th {
    font-weight: bold;
    font-size: 0.7em;
    border: 1px dotted;
    white-space: nowrap;
}

.Grid tr {
    
}

.Grid td {
    vertical-align: top;
    text-align: left;
    font-size: 0.7em;
    border: 1px dotted;
    padding: 5px;
    white-space: nowrap;
}

.Grid .Fail {
    background-color: red;
    color: white;
    white-space: normal;
}

.Grid .Success {
    background-color: green;
    color: white;
    white-space: normal;
    max-width: 400px;
    height: 50px;
    overflow: auto;
    word-wrap: break-word;
}

.tree {
    padding: 0;
    margin: 0;
    list-style: none;
    max-height: 600px;
    max-width: 1500px;
}

.tree .tbody{
}

.tree td {
    word-wrap: break-word;
    white-space: normal;
    vertical-align: top;
    text-align: left;
    font-size: 0.7em;
    border: 1px dotted;
    padding: 5px;
}

.tree .header {
    position: sticky;
    top: -3px;
    z-index: 1;
    background: white;
    font-weight: bold;
    font-size: 16px;
    border: 1px dotted;
}

.tree .header .title {
    font-size: 24px;
    align-content: center;
    text-align: center;
}

.tree .header .labels {
    padding: 5px;
}

.tree .col-400 {
    width: 400px;
    max-width: 400px;
}

.tree .col-300 {
    width: 300px;
    max-width: 300px;
}

.tree .col-150 {
    width: 150px;
    text-align: center;
}

.tree .col-125 {
    width: 125px;
    text-align: center;
}

.tree .col-85 {
    width: 85px;
    text-align: center;
}

.tree .col-75 {
    width: 75px;
    text-align: center;
}

.tree .col-25 {
    width: 25px;
    text-align: center;
}

.tree .lvl1 {
    display: block;
    padding-left: 25px;
    min-height: 25px;
}

.tree a.lvl1::before {
    content: "\F22C";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree a.lvl1.collapsed::before {
    content: "\F234";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl1.collapsed::before {
    content: "\F309";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl2 {
    padding-left: 35px;
    background-position: 15px 8px;
}

.tree a.lvl2::before {
    content: "\F22C";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree a.lvl2.collapsed::before {
    content: "\F234";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl2.collapsed::before {
    content: "\F309";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl3 {
    padding-left: 45px;
    background-position: 25px 18px;
}

.tree a.lvl3::before {
    content: "\F22C";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree a.lvl3.collapsed::before {
    content: "\F234";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl3.collapsed::before {
    content: "\F309";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl4 {
    padding-left: 55px;
    background-position: 35px 28px;
}

.tree a.lvl4::before {
    content: "\F22C";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree a.lvl4.collapsed::before {
    content: "\F234";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.tree .lvl4.collapsed::before {
    content: "\F309";
    display: inline-block;
    font-family: "bootstrap-icons";
    font-size: inherit;
    text-rendering: auto;
}

.pwcsPopOver {
    border-color: #22082C;
}

.pwcsPopOver .popover-body {
    font-size: 9px;
}

.pwcsPopOver .popover-header {
    background-color: #22082C;
    color: white;
    font-size: 14px;

}

.pwcsPopOver .popover-arrow {
    background: #22082C;
}

.security-callout {
    border-color: #22082C33;
    background: linear-gradient(135deg, #f7f2fa 0%, #ffffff 60%);
}

.security-callout-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 3rem;
    height: 3rem;
    border-radius: 50%;
    background: #22082C;
    color: white;
    font-size: 1.5rem;
}

.security-point {
    display: flex;
    gap: .75rem;
    font-size: .875rem;
    height: 100%;
}

.security-point > .bi {
    color: #198754;
    font-size: 1.25rem;
    line-height: 1.2;
}

.secret-note {
    color: #198754;
}
