@charset "UTF-8";
@import url('./tables.css');
@import url('./accordion.css');

:root {
    --BASE-FONTS: 'Montserrat', sans-serif, Gulf;
}

html {
    line-height: 1.15;
    /* 1 */
    -webkit-text-size-adjust: 100%;
    /* 2 */
}

body {
    margin: 0;
}

/**
   * Render the `main` element consistently in IE.
   */

main {
    display: block;
}

/**
   * Correct the font size and margin on `h1` elements within `section` and
   * `article` contexts in Chrome, Firefox, and Safari.
   */

h1 {
    font-size: 2em;
    margin: 0.67em 0;
}

/* Grouping content
     ========================================================================== */

/**
   * 1. Add the correct box sizing in Firefox.
   * 2. Show the overflow in Edge and IE.
   */

hr {
    box-sizing: content-box;
    /* 1 */
    height: 0;
    /* 1 */
    overflow: visible;
    /* 2 */
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

pre {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/* Text-level semantics
     ========================================================================== */

/**
   * Remove the gray background on active links in IE 10.
   */

a {
    background-color: transparent;
}

/**
   * 1. Remove the bottom border in Chrome 57-
   * 2. Add the correct text decoration in Chrome, Edge, IE, Opera, and Safari.
   */

abbr[title] {
    border-bottom: none;
    /* 1 */
    text-decoration: underline;
    /* 2 */
    text-decoration: underline dotted;
    /* 2 */
}

/**
   * Add the correct font weight in Chrome, Edge, and Safari.
   */

b,
strong {
    font-weight: bolder;
}

/**
   * 1. Correct the inheritance and scaling of font size in all browsers.
   * 2. Correct the odd `em` font sizing in all browsers.
   */

code,
kbd,
samp {
    font-family: monospace, monospace;
    /* 1 */
    font-size: 1em;
    /* 2 */
}

/**
   * Add the correct font size in all browsers.
   */

small {
    font-size: 80%;
}

/**
   * Prevent `sub` and `sup` elements from affecting the line height in
   * all browsers.
   */

sub,
sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline;
}

sub {
    bottom: -0.25em;
}

sup {
    top: -0.5em;
}

/* Embedded content
     ========================================================================== */

/**
   * Remove the border on images inside links in IE 10.
   */

img {
    border-style: none;
}

/* Forms
     ========================================================================== */

/**
   * 1. Change the font styles in all browsers.
   * 2. Remove the margin in Firefox and Safari.
   */

button,
input,
optgroup,
select,
textarea {
    font-family: inherit;
    /* 1 */
    font-size: 100%;
    /* 1 */
    line-height: 1.15;
    /* 1 */
    margin: 0;
    /* 2 */
}

/**
   * Show the overflow in IE.
   * 1. Show the overflow in Edge.
   */

button,
input {
    /* 1 */
    overflow: visible;
}

/**
   * Remove the inheritance of text transform in Edge, Firefox, and IE.
   * 1. Remove the inheritance of text transform in Firefox.
   */

button,
select {
    /* 1 */
    text-transform: none;
}

/**
   * Correct the inability to style clickable types in iOS and Safari.
   */

button,
[type="button"],
[type="reset"],
[type="submit"] {
    -webkit-appearance: button;
}

/**
   * Remove the inner border and padding in Firefox.
   */

button::-moz-focus-inner,
[type="button"]::-moz-focus-inner,
[type="reset"]::-moz-focus-inner,
[type="submit"]::-moz-focus-inner {
    border-style: none;
    padding: 0;
}

/**
   * Restore the focus styles unset by the previous rule.
   */

button:-moz-focusring,
[type="button"]:-moz-focusring,
[type="reset"]:-moz-focusring,
[type="submit"]:-moz-focusring {
    outline: 1px dotted ButtonText;
}

/**
   * Correct the padding in Firefox.
   */

fieldset {
    padding: 0.35em 0.75em 0.625em;
}

/**
   * 1. Correct the text wrapping in Edge and IE.
   * 2. Correct the color inheritance from `fieldset` elements in IE.
   * 3. Remove the padding so developers are not caught out when they zero out
   *    `fieldset` elements in all browsers.
   */

legend {
    box-sizing: border-box;
    /* 1 */
    color: inherit;
    /* 2 */
    display: table;
    /* 1 */
    max-width: 100%;
    /* 1 */
    padding: 0;
    /* 3 */
    white-space: normal;
    /* 1 */
}

/**
   * Add the correct vertical alignment in Chrome, Firefox, and Opera.
   */

progress {
    vertical-align: baseline;
}

/**
   * Remove the default vertical scrollbar in IE 10+.
   */

textarea {
    overflow: auto;
}

/**
   * 1. Add the correct box sizing in IE 10.
   * 2. Remove the padding in IE 10.
   */

[type="checkbox"],
[type="radio"] {
    box-sizing: border-box;
    /* 1 */
    padding: 0;
    /* 2 */
}

/**
   * Correct the cursor style of increment and decrement buttons in Chrome.
   */

[type="number"]::-webkit-inner-spin-button,
[type="number"]::-webkit-outer-spin-button {
    height: auto;
}

/**
   * 1. Correct the odd appearance in Chrome and Safari.
   * 2. Correct the outline style in Safari.
   */

[type="search"] {
    -webkit-appearance: textfield;
    /* 1 */
    outline-offset: -2px;
    /* 2 */
}

/**
   * Remove the inner padding in Chrome and Safari on macOS.
   */

[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none;
}

/**
   * 1. Correct the inability to style clickable types in iOS and Safari.
   * 2. Change font properties to `inherit` in Safari.
   */

::-webkit-file-upload-button {
    -webkit-appearance: button;
    /* 1 */
    font: inherit;
    /* 2 */
}

/* Interactive
     ========================================================================== */

/*
   * Add the correct display in Edge, IE 10+, and Firefox.
   */

details {
    display: block;
}

/*
   * Add the correct display in all browsers.
   */

summary {
    display: list-item;
}

/* Misc
     ========================================================================== */

/**
   * Add the correct display in IE 10+.
   */

template {
    display: none;
}

hr {
    border: 1px solid black;
}

/**
   * Add the correct display in IE 10.
   */

[hidden],
.hidden {
    display: none !important;
}

[isolator] {
    position: relative;
}

[w100] {
    width: 100%;
}

[w95] {
    width: 95%;
}

[margin-free] {
    margin: 0 auto;
}

[ml5] {
    margin-left: 5%;
}

[mr5] {
    margin-right: 5%;
}

[mt5] {
    margin-top: 5%;
}

[mb5] {
    margin-bottom: 5%;
}

[relative] {
    position: relative;
}

[clickable] {
    cursor: pointer;
}

[blue] {
    color: #1444be;
}

[blue-on-hover] {
    transition: color 0.3s ease-out;
}

[blue-on-hover]:hover {
    color: #1444be;
}

button.embed-loader-icon {
    position: relative;
}

button.embed-loader-icon:after {
    width: 26px;
    height: 23px;
    content: "";
    padding: 0.2em;
    border-radius: 50%;
    background-size: 30px;
    background-repeat: no-repeat;
    background-image: url("data:image/svg+xml;base64,PHN2ZyB2ZXJzaW9uPSIxLjEiIG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jaXJjbGU+DQo8L3N2Zz4=");
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

button.embed-loader-icon:before {
    position: absolute;
    left: 0px;
    top: 0px;
    width: 99%;
    height: 99%;
    background-color: inherit;
    border-radius: inherit;
    content: "";
}

div.flex-items {
    width: auto;
    max-width: 50%;
    height: auto;
    flex-basis: auto;
    flex-grow: 1;
    min-width: 15em;
    min-height: 2em;
    background-color: rgb(235, 235, 235);
    border-radius: 1em;
    border: 1px solid rgb(139, 139, 139);
    transition: all 0.4s ease-out;
    overflow: hidden;
    font-family: Montserrat, Gulf;
    user-select: none;
}

div.flex-items h4 {
    background-color: rgb(249, 249, 249);
    text-align: center;
    padding: 0.3em;
    margin-top: 0px;
    color: rgb(33, 33, 33);
}

div.flex-items>ul {
    list-style-position: inside;
    padding-left: 0px;
    list-style-type: none;
}

div.flex-items>ul>li {
    margin: 0.4em;
    height: 2.5em;
    text-indent: 0px;
    vertical-align: bottom;
    position: relative;
    padding-left: 2em;
    display: flex;
    align-items: center;
    cursor: pointer;
    text-overflow: ellipsis;
    justify-content: flex-start;
}

div.flex-items>ul>li:hover {
    background-color: #dbd9d9;
}

div.flex-items>ul>li::after {
    position: absolute;
    text-align: left;
    top: calc(50% - 26px / 2 + 5px);
    left: 0.5em;
    content: "\2B9E";
    height: 26px;
    width: 26px;
}

div.flex-items:hover {
    box-shadow: #b8b8b8 0px 0px 4px 1px;
}

div.flex-items.w15 {
    min-width: 15em;
    width: 15em;
    min-height: calc(15em / 2);
    max-height: calc(15em * 2);
}

div.flex-container {
    gap: 10px;
    display: flex;
    width: 90%;
    margin: 0 auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    align-items: flex-start
}

dialog,
.dialog {
    user-select: none;
    display: none;
    position: fixed;
    height: auto;
    top: 20%;
    left: 50%;
    transform: translateX(-50%);
    z-index: 6;
    width: 90%;
    max-width: 500px;
    padding: 20px;
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, .1);
    opacity: 0;
    pointer-events: none;
    transition: all 0.4s ease-in-out !important;
    outline: none;
    border: 1px solid #504f4f;
    max-height: 600px;
    overflow: hidden;
}

.dialog-open {
    display: block;
    opacity: 1;
    pointer-events: auto;
    /* transform:translateX(-50%) scale(1); */
}

.dialog-close {
    transform: translate(-50%, -50%) scale(0.9);
    opacity: 0;
}

.dialog-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, .5);
    z-index: 5;
    display: none;
}

.dialog-open+.dialog-overlay {
    display: block
}

.dialog-close+.dialog-overlay {
    display: none;
}

@media (min-width: 800px) {

    dialog,
    .dialog {
        left: 50%;
        height: auto;
        min-height: 300px;
        overflow: auto;
    }
}

dialog>div,
.dialog>div {
    max-height: 450px;
    overflow-y: auto;
    outline: none;
    border: none;
    padding-bottom: 30px;
}

dialog>nav,
.dialog>nav {
    background-color: white;
    height: 2em;
    box-sizing: border-box;
    display: block;
    text-align: center;
    position: absolute;
    bottom: 0px;
    left: 0px;
    width: 100%;
}

dialog>nav>button,
.dialog>nav>button {
    padding: 0.2em 0.4em;
    margin: 0.3em 0.5em 0px 0.5em;
    font-family: Montserrat, Gulf;
    font-size: 11pt;
    border: none;
    background-color: transparent;
    cursor: pointer;
    transition: all 0.3s ease-out;
}

/* dialog > nav > button:hover {font-weight: bold;} */
dialog>nav>button[primary],
.dialog>nav>button[primary] {
    color: rgb(38, 137, 38);
}

dialog>nav>button[secondary],
.dialog>nav>button[secondary] {
    color: rgb(35, 84, 191);
}

dialog>nav>button[disabled],
.dialog>nav>button[disabled] {
    color: rgb(111, 111, 112)
}

dialog>nav>button[danger],
.dialog>nav>button[danger] {
    color: rgb(203, 24, 57)
}

dialog>nav>button[primary]:hover,
.dialog>nav>button[primary]:hover {
    color: rgb(8, 90, 8);
}

dialog>nav>button[secondary]:hover,
.dialog>nav>button[secondary]:hover {
    color: rgb(13, 45, 116);
}

dialog>nav>button[disabled]:hover,
.dialog>nav>button[disabled]:hover {
    color: rgb(134, 140, 134);
}

dialog>nav>button[danger]:hover,
.dialog>nav>button[danger]:hover {
    color: rgb(139, 11, 30);
}



.color-red {
    color: #f44336 !important;
}

.color-pink {
    color: #e91e63 !important;
}

.color-purple {
    color: #9c27b0 !important;
}

.color-deep-purple {
    color: #673ab7 !important;
}

.color-indigo {
    color: #3f51b5 !important;
}

.color-blue {
    color: #2196f3 !important;
}

.color-light-blue {
    color: #03a9f4 !important;
}

.color-cyan {
    color: #00bcd4 !important;
}

.color-teal {
    color: #009688 !important;
}

.color-green {
    color: #4caf50 !important;
}

.color-light-green {
    color: #8bc34a !important;
}

.color-lime {
    color: #cddc39 !important;
}

.color-yellow {
    color: #ffeb3b !important;
}

.color-amber {
    color: #ffc107 !important;
}

.color-orange {
    color: #ff9800 !important;
}

.color-deep-orange {
    color: #ff5722 !important;
}

.color-brown {
    color: #795548 !important;
}

.color-grey {
    color: #9e9e9e !important;
}

.color-blue-grey {
    color: #607d8b !important;
}



.grid-container {
    display: grid;
    grid-template-columns: auto 1fr;
    /* First column resizable, second column fills remaining space */
    gap: 10px;
    height: auto;
    padding: 10px;
    transition: grid-template-columns 0.3s ease;
    /* Smooth transition for layout changes */
}

.grid-container>* {
    position: relative;
    background-color: transparent;
    border-radius: 0.5em;
}

.grid-container>div:first-child {
    border: 1px solid #ccc;
    padding: 20px;
    background-color: rgb(249, 250, 253);
    resize: horizontal;
    /* Allows horizontal resizing */
    /* overflow: auto; */
    /* Handles overflow content */
    /* min-width: 150px; */
    /* Prevents the first column from shrinking too much */
    /* max-width: 80vw; */
    /* Limits the maximum width for the first column */
}

.grid-container>div:last-child {
    border: 1px solid #ccc;
    padding: 20px;
    height: 100%;
    /* Ensures the second column fills available height */
    overflow: hidden;
    display: block;
}

/* When the second column should be hidden */
.grid-container.no-second-column {
    grid-template-columns: 1fr;
    /* Make first column take full width */
}

.grid-container.no-second-column>div:last-child {
    display: none;
    /* Hide the second column */
}

/* Responsiveness for smaller screens */
@media screen and (max-width: 768px) {
    .grid-container {
        grid-template-columns: 1fr;
        /* Stack columns vertically on small screens */
    }

    .grid-container>div:first-child {
        resize: none;
        /* Disable resizing on small screens */
    }
}

.labeled-div {
    margin-top: 2em;
    padding: 0.5em;
    border: 1px solid rgb(190, 181, 181);
    box-sizing: border-box;
    border-radius: 0.5em;
    position: relative;
}

.labeled-div::before {
    position: absolute;
    top: -0.6em;
    left: 2em;
    font-size: 10pt;
    content: attr(title);
    background-color: white;
    width: auto;
    height: 1.5em;
    color: rgb(88, 87, 87);
    padding: 0px 1em;
}

/* Hide .asset-fields if it has no child elements */
.labeled-div:empty {
    display: none;
}


.scrollable {
    overflow-y: auto;
    height: 100%;
    padding-right: 20px;
}

@keyframes reddify-input-glow-effect {
    0% {
        border-color: red;
        box-shadow: 0 0 5px red;
    }

    50% {
        border-color: darkred;
        box-shadow: 0 0 20px darkred;
    }

    100% {
        border-color: red;
        box-shadow: 0 0 5px red;
    }
}

.reddify-input {
    animation: reddify-input-glow-effect 1.5s infinite;
    border: 2px solid red;
}

.messagebar {
    z-index: 9999 !important;
    position: fixed;
    top: 1em;
    width: auto;
    max-width: 350px;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 1em;
    padding: 1em;
    display: none;
    font-family: var(--BASE-FONTS);
    font-size: 11pt;
    padding-left: 65px;
    transition: all 0.3s ease-out;
}

.messagebar::before {
    background-repeat: no-repeat;
    position: absolute;
    left: 1em;
    width: 30px;
    top: 50%;
    height: 30px;
    background-position: center;
    transform: translateY(-50%);
}

.messagebar.warn-style {
    background-color: rgb(239, 142, 22);
    color: rgb(247, 247, 247);
}

.messagebar.default-style {
    background-color: rgb(243, 243, 243);
    border: 1px solid rgb(182, 182, 182);
    color: rgb(48, 48, 49);
}

.messagebar.default-style::before,
.messagebar.info-style::before {
    content: "";
    background-image: url('/sources/icons/messagebar_notificaion_icon.svg');
}

.messagebar.error-style {
    background-color: rgb(224, 33, 59);
    color: rgb(247, 247, 247);
}

.messagebar.success-style {
    background-color: rgb(73, 165, 37);
    color: rgb(247, 247, 247);
}

.messagebar.info-style {
    background-color: rgb(255, 247, 0);
    color: rgb(20, 18, 18);
}

.messagebar.warn-style::before {
    content: "";
    background-image: url('/sources/icons/messagebar_warning_icon.svg');
}

.messagebar.error-style::before {
    content: "";
    background-image: url('/sources/icons/messagebar_error_icon.svg');
}

.messagebar.success-style::before {
    content: "";
    background-image: url('/sources/icons/messagebar_success_icon.svg');
}

.messagebar.show {
    animation: messagebar-show 0.3s forwards ease-out;
    display: block;
}

.messagebar.hide {
    display: block;
    animation: messagebar-hide 0.3s forwards ease-out;
}

@keyframes messagebar-show {
    0% {
        transform: translate(-50%, -150%);
        opacity: 0.3;
        display: block;
    }

    100% {
        transform: translate(-50%, 10%);
        opacity: 1;
    }
}

@keyframes messagebar-hide {
    0% {
        transform: translate(-50%, 10%);
        opacity: 1;
    }

    90% {
        transform: translate(-50%, -150%);
        opacity: 0.3;
    }

    100% {
        transform: translate(-50%, -150%);
        display: none;
    }
}





.user-inline-card {
    position: relative;
    width: calc(100% - 32px - 10px);
    height: 4rem;
    padding: 16px;
    border-radius: 8px;
    background-color: #f9f9f9;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    margin: 1em 0.2em;
    font-family: var(--BASE-FONTS);
    font-size: 14px;
}

.user-inline-card .user-avatar {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    vertical-align: middle;
    text-align: center;
    align-items:normal;
    position: absolute;
    background-color: red;
    top: 50%;
    left: 20px;
    transform: translateY(-50%);
}

.user-inline-card b.user-avatar {
    padding-top: 1.3rem;
    height: 2.8rem;
    font-size: 16pt;
    font-weight: 700;
    color: whitesmoke;
}

.user-inline-card .name {
    position: absolute;
    top: 15px;
    left: 6.3rem;
    font-size: 20px;
    color: #333;
    font-weight: 200;
    font-family: var(--BASE-FONTS);
}

.user-inline-card .email {
    position: absolute;
    top: 40px;
    left: 6.3rem;
    font-size: 13px;
    font-weight: 100;
    color: #333;
    font-family: var(--BASE-FONTS);
}

.user-inline-card .role {
    position: absolute;
    top: 60px;
    left: 6.3rem;
    font-size: 13px;
    font-weight: 100;
    color: white;
    padding: 0.2em;
    border-radius: 0.5em;
    background-color: #03a9f4;
    font-family: var(--BASE-FONTS);
}

.user-inline-card .actions {
    position: absolute;
    top: 50%;
    right: 10px;
    height: 3.5rem;
    display: flex;
    min-width:fit-content;
    width: auto;
    gap:0.2em;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    opacity: 0px;
    visibility: hidden;
    padding: 0.5em;
    font-family: var(--BASE-FONTS);
    font-size: 14px;
    transform: translateY(-50%);
    flex-direction: row;
    background-color: #f9f9f9;
    /* transition: all 0.3s linear; */
}
.user-inline-card:hover .actions {
    opacity: 1;
    /* border: 1px solid #eaeaea; */
    visibility: visible;
    
}

.actions .action {
    cursor: pointer;
    overflow: hidden;
    position: relative;
    display: inline-flex;
    min-width: 4rem;
    flex: 1;
    width: auto;
    height: 3.5rem;
    margin: 0 0.1em;
    padding:0.5em;
    border:1px solid transparent;
    border-radius: 0.5em;
}
.actions .action img {
    width: 24px; height: 24px;
    position: absolute;
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.actions .action b {
    position: absolute;
    bottom: 2%;
    left: 50%;
    text-align: center;
    vertical-align: text-top;
    /* text-wrap: nowrap; */
    transform: translateX(-50%);
    font-size: 11px;
    color: #333;
    font-family: var(--BASE-FONTS);
}

.actions .action:hover {
    background-color: #e0e0e0;
    border:1px solid #ccc;
}