@import url('open-iconic/font/css/open-iconic-bootstrap.min.css');

* {
    box-sizing: border-box;
    /* outline: 1px dashed #f00; */
}

html, body {
    margin: 0;
    width: 100vw;
    height: 100vh;
    overflow-x: hidden;
    overflow-y: hidden;
}

.td_reportNode {
    /*cursor: pointer;*/
}

.tr_reportNode {
    scroll-margin: 50px;
    position: relative;
    width: 100%;
}
@media print {
    html, body {
        height: unset;
    }

    canvas {
        height: unset;
    }

    #divname, #divname * {
        visibility: visible;
    }

    #divname {
        left: 0px;
        top: 0px;
        position: absolute;
    }

    * {
        overflow: visible !important;
    }

    .page {
        page-break-after: always;
    }

    .tr_reportNode {
        page-break-inside: avoid;
        page-break-after: auto
    }

    #comment_section, .comments_side_icon, .div_report_actions, .report_action, .report_action_icon {
        display: none !important;
    }
    .comments_notch {
        display: none !important;
        box-shadow: none !important;
    }

    .noPrint {
        display: none !important;
    }
    .PrintMaxWidth {
        width: 100%!important;
        max-width: 90% !important;
    }
    .reportDescription_Print100 {
        width: 100% !important;
        padding: 0!important;
    }

    .nodeType-Folder {
        display: none;
    }

    .nodeType-Other {
        display: none;
    }
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell", "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    background-color: #eeeeee;
}

::-webkit-scrollbar {
    width: 10px;
    height: 4px;
}

/* Track */
::-webkit-scrollbar-track {
    border-radius: 10px;
}

.div_report_page {
    position: relative;
    overflow: scroll;
    height: 100vh;
}
.div_report_page::-webkit-scrollbar-track {
    border-radius: 1px;
    background-color: #F3F4F9;
}

.filter_5B5FC7 {
    filter: invert(33%) sepia(87%) saturate(733%) hue-rotate(207deg) brightness(93%) contrast(84%);
}
.filter_7A7FFF {
    filter: invert(50%) sepia(86%) saturate(2943%) hue-rotate(217deg) brightness(105%) contrast(107%);
}
.filter_7A7FFF_hover:hover {
    filter: invert(50%) sepia(86%) saturate(2943%) hue-rotate(217deg) brightness(105%) contrast(107%) !important;
}
.filter_C7C7C7 {
    filter: invert(95%) sepia(0%) saturate(29%) hue-rotate(156deg) brightness(93%) contrast(72%);
}
.filter_D9DAFF {
    filter: invert(82%) sepia(38%) saturate(451%) hue-rotate(194deg) brightness(100%) contrast(102%);
}

.filter_8E8E8E {
    filter: invert(74%) sepia(0%) saturate(247%) hue-rotate(136deg) brightness(77%) contrast(86%);
}

.filter_FBFBFB {
    filter: invert(100%) sepia(0%) saturate(17%) hue-rotate(16deg) brightness(260%) contrast(97%) !important;
}
.filter_FBFBFB_hover:hover {
    filter: invert(100%) sepia(0%) saturate(17%) hue-rotate(16deg) brightness(105%) contrast(97%) !important;
}
.filter_727272 {
    filter: invert(46%) sepia(0%) saturate(1118%) hue-rotate(137deg) brightness(98%) contrast(111%);
}

.filter_8E8E8E {
    filter: invert(66%) sepia(0%) saturate(550%) hue-rotate(221deg) brightness(86%) contrast(82%);
}

.filter_C4314B {
    filter: invert(27%) sepia(31%) saturate(4051%) hue-rotate(325deg) brightness(90%) contrast(92%);
}
.filter_000000 {
    filter: invert(0%) sepia(98%) saturate(0%) hue-rotate(28deg) brightness(0) contrast(105%);
}
.filter_FFFFFF {
    filter: invert(100%) sepia(0%) saturate(0%) hue-rotate(204deg) brightness(102%) contrast(101%) !important;
}

/* Handle */
::-webkit-scrollbar-thumb {
    background: #C7C7C7;
    border-radius: 3px;
}
    /* Handle on hover */
    ::-webkit-scrollbar-thumb:hover {
        background: #B2B2B2;
    }

.display_none {
    display: none !important;
}
.prevent-select {
    -webkit-user-select: none; /* Safari */
    -ms-user-select: none; /* IE 10 and IE 11 */
    user-select: none; /* Standard syntax */
}

canvas {
    width: 100%;
    height: 100%;
}

.valid.modified:not([type=checkbox]) {
    outline: 1px solid #26b050;
}

.invalid {
    outline: 1px solid red;
}

.validation-message {
    color: red;
}

#blazor-error-ui {
    background: lightyellow;
    bottom: 0;
    box-shadow: 0 -1px 2px rgba(0, 0, 0, 0.2);
    display: none;
    left: 0;
    padding: 0.6rem 1.25rem 0.7rem 1.25rem;
    position: fixed;
    width: 100%;
    z-index: 1000;
}

    #blazor-error-ui .dismiss {
        cursor: pointer;
        position: absolute;
        right: 0.75rem;
        top: 0.5rem;
    }

pre,
div.error {
    background-color: #e5e5e5;
    padding: 1rem;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
    border-radius: 3px;
    margin: 1rem 0;
    max-height: 250px;
}

    pre.fixed,
    div.error.fixed {
        height: 200px;
    }

code {
    background-color: #e5e5e5;
    display: inline-block;
    padding: 0px 6px;
    border-radius: 3px;
    box-shadow: 0px 1px 2px rgba(0, 0, 0, 0.2);
}

.progressRing_div {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    width: 100%;
}

.div_title {
    padding-right: 3rem;
}

#fullpage {
    display: none;
    position: absolute;
    z-index: 9999;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-size: 68vmin;
    background-repeat: no-repeat no-repeat;
    background-position: center center;
    background-color: #0000005e;
}

/* GENERIC STYLES */

.width_100 {
    width: 100%;
}

.minheight_100 {
    min-height: 100% !important;
}

.height_100 {
    height: 100%;
}

.margin_auto {
    margin: auto;
}

.flex_column {
    display: flex;
    flex-direction: column;
}

.flex_column_reverse {
    display: flex;
    flex-direction: column;
    flex-direction: column-reverse;
}

.display_flex {
    display: flex;
}
.display_flex_col {
    display: flex;
    flex-direction: column;
}

.flex_align_center {
    display: flex;
    align-items: center;
}

.just_center {
    justify-content: center;
}

.just_end {
    justify-content: end;
}

.just_space_between {
    justify-content: space-between;
}

.just_space-around {
    justify-content: space-around !important;
}

.height_100vh {
    height: 100vh;
}

.cursor_pointer {
    cursor: pointer !important;
}

.cursor_pointer_highlight:hover {
    color: #5b5fc7;
}

.cursor_default {
    cursor: default !important;
}

.cursor_not-allowed {
    cursor: not-allowed !important;
}

.visibility_hidden {
    visibility: hidden;
}

.noUnderline:hover {
    text-decoration: none !important;
}

.text_alert {
    color: #C4314B;
}

.show_flex {
    display: flex !important;
}

.show {
    display: block !important;
}

.overflow_x_hidden {
    overflow-x: hidden;
}



/* -------------------------- Comment Section Styles ------------------------------- */
.div_comment_toppanel {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.div_comments_section {
    margin-top: 62px;
    height: calc(100% - 62px);
}

.div_comments_sidebar {
    display: grid;
    z-index: 85;
    height: 100%;
    width: 25px;
    right: 9px;
    top: 0;
    position: fixed;
    background-color: #F3F4F9;
    transition: .5s;
}

.comments_notch {
    border-radius: 0 20px 0 1px;
    display: flex;
    align-items: center;
    justify-content: center;
    right: 15px;
    top: 101px;
    width: 36px;
    height: 36px;
    position: fixed;
    z-index: 90;
    background-color: #F3F4F9;
    transform: rotate(45deg);
    -webkit-transform: rotate(45deg);
    box-shadow: rgb(0 0 0 / 5%) 4px -5px 5px inset;
    transition: .5s;
}
.comments_side_icon {
    cursor: pointer;
    width: 18px;
    transform: rotate(-45deg);
    -webkit-transform: rotate(-45deg);
}

.div_comments_header_title {
    display: flex;
    cursor: pointer;
    align-items: center;
}

.comments_header_title {
    color: #242424;
    font-weight: 700;
    font-size: 16px;
}

.overlay {
    width: calc(100% - 7px);
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    box-shadow: rgb(0 0 0 / 6%) 4px 0px 6px inset;
    grid-area: 1 / 1 / 2 / 2;
}

.comments_textinput {
    width: 100%;
    border: 0;
    outline: none;
    background: none;
    font-family: Segoe UI;
}

.comments_textarea {
    max-width: 100%;
    width: 100%;
    border: 0;
    outline: none;
    background: none;
    font-family: Segoe UI;
}

.div_comment_header {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.div_comment_user {
    display: flex;
}

.div_comment_img {
    margin-right: 15px;
}

.comments_header {
    color: #727272;
    font-size: 13px;
}

.comments_user {
    font-size: 12px !important;
    margin: 0 6px 0 0 !important;
}

.comments_title {
    font-weight: 700;
    font-size: 15px;
}

.comments_text {
    margin: 0;
    font-size: 13px;
}

.btn_addcomment {
    width: 28px;
    height: 28px;
}

.comment_card {
    margin-top: 20px;
    box-shadow: none;
    padding: 15px 20px;
    border: none;
    background-color: #ffffff00;
    transition: .4s;
    min-height: 7rem;
    max-height: 15rem;
    height: fit-content;
}

    .comment_card:hover {
        border-radius: 0;
        background-color: #FBFBFB;
    }

.edit_comment_card {
    width: 90%;
    margin-top: 20px;
    box-shadow: none;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: #FBFBFB;
    height: fit-content;
    transition: .2s;
}

.div_edit_comment_card {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 0 10px 10px;
}

.new_comment_card {
    width: 90%;
    margin: auto auto 1rem auto;
    display: none;
    margin-top: 20px;
    box-shadow: none;
    padding: 15px 20px;
    border-radius: 10px;
    background-color: #FBFBFB;
    height: fit-content;
    transition: .2s;
}

.comments_divider {
    border-color: #F3F4F9;
    margin-top: 10px;
    margin-bottom: 10px;
}

.div_commentButLoading {
    display: flex;
    justify-content: center;
    align-items: center;
}

.commentButLoading {
    width: 20px
}

.div_comments_more {
    display: none;
    position: absolute;
    right: 20px;
    top: 30px;
    flex-direction: column;
    background-color: white;
    border-radius: 10px;
    box-shadow: 2px 2px 3px rgb(0 0 0 / 10%);
}

.div_comments_more_icon {
    width: 30px;
    height: 30px;
    display: flex;
    justify-content: flex-end;
    cursor: pointer;
}

.div_comments_more_txt {
    display: flex;
    align-items: center;
    width: 100%;
    border-radius: 5px;
    padding: 5px 30px 5px 10px;
    cursor: pointer;
}

    .div_comments_more_txt:hover {
        background-color: #eeeeee;
    }

.comments_more_txt {
    margin: 0;
    font-size: 13px;
}

.comments_more_but {
    width: 12px;
    height: 12px;
    margin-right: 5px;
}

.div_comment_actions {
    display: flex;
}

.div_comment_action {
    cursor: pointer;
    margin-right: 10px;
    display: flex;
    align-items: center;
}

.comment_action {
    width: 14px;
}

.div_comment_toPost {
    width: 100%;
    display: flex;
    justify-content: flex-end;
    margin-top: 20px;
    padding: 0 10px 10px;
}

.comment_post_but_txt {
    margin: 0;
    padding: 6px 10px;
}

.comment_post_but {
    height: 30px;
    border-radius: 7px;
}

.comment_edit_buts {
    height: 30px;
    border-radius: 7px;
    margin-right: 10px;
}

#comments_drawer {
    padding: 0;
    display: flex;
    overflow: scroll;
    position: relative;
    align-items: center;
    flex-direction: column;
    height: fit-content;
    flex-direction: column-reverse;
    max-height: calc(100vh - 152px);
}

.input_comment_title {
    width: 100%;
    border: 0;
    outline: none;
    background: none;
    font-family: Segoe UI;
    font-size: 15px;
    font-weight: 500;
    padding: 5px 10px 0 10px;
}

.p_noDescription {
    font-size: 14px;
}

.input_comment_text {
    font-size: 14px;
    max-width: 100%;
    width: 100%;
    border: 0;
    outline: none;
    background: none;
    font-family: Segoe UI;
    padding: 0 10px 0;
    max-height: 12rem;
    min-height: 60px;
}

.div_btn_add_comment {
    cursor: pointer;
    position: absolute;
    right: 6%;
}

.div_add_comment_icon {
    width: 45px;
    display: flex;
    justify-content: center;
}

.div_delete_modal {
    width: fit-content;
    margin: 30px auto 0;
}
#delete_modal, #delete_node_modal {
    --dialog-height: 145px;
    --dialog-width: 390px;
    z-index: 100 !important;
}
.p_delete_modal {
    margin-bottom: 25px;
}
.div_delete_modal_actions {
    width: 100%;
    display: flex;
    justify-content: flex-end;
}
.delete_modal_action {
    margin-right: 10px;
}
.cancel_modal_action {
    width: 80px;
}

#properties_modal {
    --dialog-width: calc(100vw - 200px) !important;
    /*--dialog-height: calc(100vh - 200px) !important;*/
    --dialog-height: unset !important;
    z-index: 200 !important;
}
@media screen and (max-width: 620px) {
    #properties_modal {
        --dialog-width: 95% !important;
    }
}

@media screen and (min-width: 1200px) {
    #properties_modal {
        --dialog-width: 800px !important;
    }
}
#quickeditnode_modal {
    --dialog-width: calc(100vw - 200px) !important;
    --dialog-height: unset !important;
    /*--dialog-height: calc(100vh - 200px) !important;*/
    z-index: 200 !important;
}
@media screen and (max-width: 620px) {
    #quickeditnode_modal {
        --dialog-width: 95% !important;
    }
}
@media screen and (min-width: 1200px) {
    #quickeditnode_modal {
        --dialog-width: 800px !important;
    }
}
fluent-dialog::part(control) {
    outline: none !important;
}
#linkShare_modal {
    --dialog-height: 200px;
    z-index: 200 !important;
}
@media screen and (max-width: 620px) {
    #linkShare_modal {
        --dialog-width: 80%;
    }
}

#genAI_modal {
    --dialog-width: calc(100vw - 200px) !important;
    /*--dialog-height: calc(100vh - 200px) !important;*/
    --dialog-height: unset !important;
    z-index: 2000 !important;
}
@media screen and (min-width: 1200px) {
    #genAI_modal {
        --dialog-width: 800px !important;
    }
}
@media screen and (max-width: 620px) {
    #genAI_modal {
        --dialog-width: 95% !important;
    }
}
