.be-top-header .be-navbar-header .navbar-brand {
    margin-top: -5px;
}

.card-header {
    font-size: 24px;
}

.card-extended {
    height: calc(100% - 25px);
}

h4, .h4, h5, .h5, h6, .h6 {
    margin-top: 0;
}

.avatar-xs {
    max-width: 25px;
    max-height: 25px;
    border-radius: 50%;
    margin-right: 7px;
}

.icon {
    margin-right: 9px;
}

.menu-icon {
    width: 25px;
}

.sub-menu-icon {
    width: 16px;
}

.post-icon {
    margin-left: 9px;
}

.title-icon:hover {
    color: inherit !important;
}

.login-option {
    margin-bottom: 1.5rem;
}

.login-option .btn {
    width: 100%;
}

.btn.btn-xs .icon {
    font-size: 0.7rem;
    margin-right: 5px;
    color: inherit;
}

@media screen and (min-width: 1024px) {
    .td-buttons a, .td-buttons button  {
        visibility: hidden;
    }
}

tr:hover .td-buttons a, tr:hover .td-buttons button {
    visibility: visible !important;
}

.timeline-buttons a, .timeline-buttons button {
    visibility: hidden;
}

.update-item:hover .timeline-buttons a, .update-item:hover .timeline-buttons button {
    visibility: visible !important;
}

.td-buttons {
    text-align: right;
}

.table tbody tr td.cell-detail img {
    float: left;
}

.popover {
    max-width: 100%;
}

.custom-control {
    margin-top: 1.3rem;
}

/*! Tree of component groups */

.tree {
    --spacing: 2rem;
    --radius: 8px;
    padding-left: 0px;
}

.tree li {
    display: block;
    position: relative;
    padding-left: calc(2 * var(--spacing) - var(--radius) - 2px);
    padding-top: calc(var(--spacing) / 4);
}

.tree ul {
    margin-left: calc(var(--radius) - var(--spacing));
    padding-left: 0;
}

.tree, .tree li, .tree ul {
    line-height: var(--spacing);
}

.tree ul li{
    border-left: 2px solid #ddd;
}

.tree ul li:last-child {
    border-color: transparent;
}

.tree ul li::before {
    content: '';
    display: block;
    position: absolute;
    top: calc(var(--spacing) / -2 + var(--radius) + 2px);
    left: -2px;
    width: calc(var(--spacing) - var(--radius) - 2px);
    height: calc(var(--spacing) - 2px);
    border: solid #ddd;
    border-width: 0 0 2px 2px;
}

.tree summary {
    display: block;
}

.tree summary::marker,
.tree summary::-webkit-details-marker {
    display: none;
}

.tree summary:focus {
    outline: none;
}

.tree summary:focus-visible {
    outline: 1px dotted #000;
}

.tree summary::before {
    display: block;
    position: absolute;
    top: calc(var(--spacing) / 2 - var(--radius) + 2px);
    left: calc(var(--spacing) - var(--radius) - 1px);
    content: "\f111";
    font-family: "Font Awesome 5 Pro";
    font-size: calc(var(--radius) * 2);
    color: var(--primary);
    font-weight: 400;
}

.tree details > summary.parent-group::before {
    content: "\f138";
}

.tree details[open] > summary.parent-group::before {
    content: "\f13a";
}

.tree summary.selected {
    font-weight: bold;
}

.tree summary a {
    color: var(--dark);
}

.tree summary a:hover {
    color: var(--blue);
}

.tree summary.selected a {
    color: var(--blue);
}

.status-text {
    font-size: 1.4rem;
}

.public-status-text-container {
    display: block;
    margin: 35px 0;
}

.status-row {
    margin-bottom: 30px;
}

.status-unknown {
    color: var(--gray);
}

.status-operational, .event-finished, .event-resolved {
    color: var(--green);
}

.status-perf_issues {
    color: var(--yellow);
}

.status-partial_outage, .event-ongoing, .event-incident {
    color: var(--orange);
}

.status-major_outage, .event-investigating {
    color: var(--red);
}

.status-maintenance, .event-scheduled, .event-maintenance {
    color: var(--purple);
}

.event-muted {
    color: #dedede;
}

.event-canceled {
    color: var(--gray);
}

.event-aborted {
    color: var(--gray-dark);
}


.banner-status-unknown, .banner-event- {
    background-color: var(--gray);
}

.banner-status-operational, .banner-event-finished, .banner-event-resolved {
    background-color: var(--green);
}

.banner-status-perf_issues {
    background-color: var(--yellow);
}

.banner-status-partial_outage, .banner-event-ongoing {
    background-color: var(--orange);
}

.banner-status-major_outage, .banner-event-investigating {
    background-color: var(--red);
}

.banner-status-maintenance, .banner-event-scheduled {
    background-color: var(--purple);
}

.banner-event-canceled {
    background-color: var(--gray);
}

.banner-event-aborted {
    background-color: var(--gray-dark);
}

.component-attr {
    font-size: 14px;
    margin-right: 10px;
}

.dataTables_wrapper div.row:nth-of-type(1) {
    margin-bottom: 20px;
}

.dataTables_wrapper div.row:nth-of-type(3) {
    margin-top: 20px;
}

.status-timeline-container {
    display: block;
    position: relative;
    padding: 0 0.5rem;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
}

.status-bars {
    width: 100%;
    height: 50px;
    margin-top: 5px;
    overflow: hidden;
}

.sh-item-unknown {
    fill: color-mix(in srgb, var(--gray) 65%, white);
}

.sh-item:hover .sh-item-unknown {
    fill: var(--gray);
}

.sh-item-operational {
    fill: color-mix(in srgb, var(--green) 65%, white);
}

.sh-item:hover .sh-item-operational {
    fill: var(--green);
}

.sh-item-perf_issues {
    fill: color-mix(in srgb, var(--yellow) 65%, white);
}

.sh-item:hover .sh-item-perf_issues {
    fill: var(--yellow);
}

.sh-item-partial_outage {
    fill: color-mix(in srgb, var(--orange) 65%, white);
}

.sh-item:hover .sh-item-partial_outage {
    fill: var(--orange);
}

.sh-item-major_outage {
    fill: var(--red);
}

.sh-item:hover .sh-item-major_outage {
    fill: var(--red);
}

.sh-item-maintenance {
    fill: color-mix(in srgb, var(--purple) 65%, white);
}

.sh-item:hover .sh-item-maintenance {
    fill: var(--purple);
}

.uptime-legend {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    position: relative;
}

.uptime-legend .uptime {
    color: var(--gray);
    opacity: 0.7;
    flex: 0 0 auto;
    font-size: .875rem;
    position: relative;
}

.uptime-legend .uptime-line {
    background: var(--gray);
    opacity: 0.5;
    flex: 1;
    margin: 0.75rem 1rem 0 1rem;
    height: 1px;
}

.uptime-legend .uptime-line.uptime-line-right {
    margin: 0.75rem 0 0 1rem;
}

.uptime-legend .uptime-line.uptime-line-left {
    margin: 0.75rem 1rem 0 0;
}

.legend-item {
    color: var(--gray);
    opacity: 0.7;
    font-size: .8rem;
    position: absolute;
}

.status-timeline-container .legend-item.legend-start-day {
    transform-origin: bottom left;
    transform: rotate(-90deg);
    left: 0;
    bottom: 0;
}

.status-timeline-container .legend-item.legend-end-day {
    transform-origin: top right;
    transform: rotate(-90deg);
    right: 1%;
    bottom: 20px;
}

.navbar-console-link {
    color: #707070;
    margin-right: 2rem;
    font-size: 0.9rem;
}

.navbar-console-link:hover {
    color: #343434;
}

.editable-input {
    border: none;
    font-size: inherit;
    background: inherit;
    color: inherit;
    transition: .1s all linear;
    width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.editable-input:focus {
    outline: none;
    background: white;
    color: #545454;
    border: 1px solid #dedede;
}

.btn.btn-description {
    margin-left: auto;
}

.btn.descr-defined {
    background-color: var(--gray);
    color: white;
}

.nestable-text-container {
    flex: 2 1 auto;
}

/* Nestable lists */

.nestable {
    position: relative;
    border: 1px dashed #dedede;
    -webkit-border-radius: 3px;
    border-radius: 3px;
    padding: 10px;
    padding-left: 25px;
}

.nestable .nestable-list {
    margin: 0;
    padding: 0 0 0 30px;
    list-style-type: none;
}

.nestable > .nestable-list {
    padding: 0;
}

.nestable-item,
.nestable-item-copy {
    margin: 10px 0 0;
}

.nestable-item:first-child,
.nestable-item-copy:first-child {
    margin-top: 0;
}

.nestable-item .nestable-list,
.nestable-item-copy .nestable-list {
    margin-top: 10px;
}

.nestable-item {
    position: relative;
    display: block;
    min-height: 20px;
}

.nestable-item.is-dragging .nestable-list {
    pointer-events: none;
}

.nestable-item.is-dragging * {
    opacity: 0;
    filter: alpha(opacity=0);
}

.nestable-item.is-dragging:before {
    content: ' ';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: color-mix(in srgb, var(--gray) 10%, transparent);
    border: 1px dashed var(--gray);
}

.nestable-drag-layer {
    position: fixed;
    top: 0;
    left: 0;
    z-index: 100;
    pointer-events: none;
}

.nestable-drag-layer > .nestable-list {
    position: absolute;
    top: 0;
    left: 0;
    padding: 0px;
}

.nestable [draggable="true"] {
    cursor: move;
}

.nestable-handle {
    position: absolute;
    margin: 0;
    left: 0;
    top: 0;
    width: 34px;
    height: 38px;
    background: var(--blue);
    color: white;
    text-align: center;
    padding-top: 8px;
}

.nestable-handle:hover {
    background-color: color-mix(in srgb, var(--blue) 80%, transparent);
}

.nestable-handle.page-section {
    background: var(--yellow);
}

.nestable-handle.page-section:hover {
    background-color: color-mix(in srgb, var(--yellow) 80%, transparent);
}

.nestable-item-content {
    position: relative;
}

.nestable-item .nestable-item-text,
.nestable-item-copy .nestable-item-text {
    display: flex;
    white-space: nowrap;
    border: 1px solid #dedede;
    padding: 7px 10px 7px 40px;
    background-color: white;
}

.nestable-item.collapsed > ol,
.nestable-item-copy.collapsed > ol {
  display: none;
}

.layout-list {
    list-style-type: none;
}

.layout-list .layout-item {
    margin-top: 1rem;
}

.layout-list .layout-item > .component-marker {
    color: var(--blue);
}

.layout-list .layout-item > .section-marker {
    color: var(--yellow);
}

.layout-list .content-details {
    font-size: .8rem;
}

.layout-list .content-description {
    font-size: .8rem;
    border: 1px dashed #dedede;
    padding: 0 8px;
}

.layout-list .content-description:empty {
    border: none;
}

.info-description {
    color: #c9c9c9;
    margin-left: 2px;
}

.info-description:hover {
    font-weight: 900;
}

.text-global-status {
    font-size: 16px;
    font-weight: bold;
}

.bootstrap-datetimepicker-widget.dropdown-menu {
    width: 19rem !important;
}

table tr.custom-table-highlight {
    background-color: color-mix(in srgb, var(--info) 40%, transparent) !important;
}

table tr.custom-table-highlight a {
    font-weight: bold;
}

.reduced-status-timeline-container {
    max-width: 50rem;
}

.rounded-tag {
    border: 1px solid currentColor;
    padding: 4px 8px;
    margin: 3px;
    border-radius: 50vh;
    display: inline-block;
}

.timeline::after {
  content: "";
  position: absolute;
  left: 166px;
  bottom: -2px;
  height: 8px;
  width: 8px;
  border-radius: 50%;
}

.timeline-content {
    padding: 25px;
}

.user-timeline-compact .user-timeline-date {
    text-transform: none;
    text-align: right;
}

.user-timeline-compact.timeline-maintenance::before {
    background-color: var(--purple);
}

.user-timeline-compact.timeline-maintenance > li::before,
.timeline.timeline-maintenance > li::before {
    border-color: var(--purple);
}

.user-timeline-compact.timeline-maintenance > li.latest::before,
.timeline.timeline-maintenance > li.latest::before {
    background-color: var(--purple);
}

.user-timeline-compact.timeline-maintenance::after,
.timeline.timeline-maintenance::after {
    background-color: var(--purple);
}

.user-timeline-compact.timeline-incident::before {
    background-color: var(--orange);
}

.user-timeline-compact.timeline-incident > li::before,
.timeline.timeline-incident > li::before {
    border-color: var(--orange);
}

.user-timeline-compact.timeline-incident > li.latest::before,
.timeline.timeline-incident > li.latest::before {
    background-color: var(--orange);
}

.user-timeline-compact.timeline-incident::after,
.timeline.timeline-incident::after {
    background-color: var(--orange);
}

.text-banner {
    font-size: 2rem;
}

.card-header-flex {
    display: flex;
}

.flex-float-right {
    margin-left: auto;
}

.hover-buttons a, .hover-buttons button {
    visibility: hidden;
}

.tree summary:hover .hover-buttons a, .tree summary:hover .hover-buttons button {
    visibility: visible !important;
}

.nestable-item-text i.far {
    cursor: pointer;
    width: 0;
    position: relative;
    left: -60px;
    top: 5px;
}

.panel-heading {
    cursor: pointer;
}

.panel-heading.collapsed .fa-chevron-down,
.panel-heading .fa-chevron-right {
    display: none;
}

.panel-heading.collapsed .fa-chevron-right,
.panel-heading .fa-chevron-down {
    display: inline-block;
}

.panel-heading i.far {
    margin-right: 0.5rem;
    width: 1rem;
}

.panel-heading .collapse-arrows {
    color: var(--gray);
    display: inline-block;
    width: 2rem;
    text-align: center;
    font-size: 1.7rem;
    position: relative;
    bottom: 0.15rem;
}

.mattermost-icon {
    background: url('mattermost.svg');
    background-size: 16px;
    width: 16px;
    height: 16px;
    position: absolute;
    left: 0;
    bottom: -3px;
    filter: grayscale(100%);
}

.active .mattermost-icon {
    filter: revert;
}

.custom-icon-container {
    position: relative;
    width: 25px;
    display: inline-block;
}

ul.status-to-events-list {
    margin-top: 10px;
    list-style-type: none;
    padding: 0;
}

ul.status-to-events-list a {
    color: gray !important;
}

ul.status-to-events-list a:hover {
    color: #404040 !important;
}
