


html,
body {
    overflow: hidden;
    background-color: white;
    height: 100%;
    width: 100%;
    flex: 1;
    padding: 0;
    margin: 0;
    position: fixed;

    
    
}


html {
    overflow-y: hidden !important;
}

body {
    touch-action: auto;
    overscroll-behavior-x: none;
    overflow-x: auto;

}

@media screen and (max-width: 600px) {
    #wpadminbar {
        position: fixed !important;
        top: 0 !important;
    }
}



#ui-root {
    display: flex;
    all:initial;
    flex: 1;
        /* font-family: "Comic Sans MS", cursive; */

    font-family: Arial, Helvetica, sans-serif !important;
    line-height: 1.55;
}

#MainContainer {
    display: flex;
    position: absolute;
    left: 0;
    flex: 1;
    flex-direction: column;
    transition: left 0.2s ease;

}

#ThreeContainer {
    display: flex;
    background-color: green;
    position: absolute;
    top: 0;
    left: 10000px;
    /* height: 100px;
  width: 100px; */
    z-index: 122000;
    transition: left 0.2s ease;

}

canvas {
    display: flex;
    background-color: LightSlateGray;
    /*DarkSlateGray; */
    flex: 1
}

#flinks-canvas {
    /* display: none; */
    background-color: transparent;
    flex: 1;
    position: absolute;

    left: 0;
    right: 0;
    top: 50px;
    bottom: 0;

    pointer-events: none;
    z-index: 30000;
}


#middle-canvas-topDiv {
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    padding-bottom: 10px;
    width: 50px;
    /* padding-top: 4px; */
    flex-shrink: 0;
    color: #515152;

    background-color: rgba(233, 233, 233, 0.3);
    align-items: center;
    /* justify-content: space-around; */
    border-bottom-style: solid;
    border-bottom-width: 1px;
    border-bottom-color: rgba(37, 38, 39, 0.2);
    box-sizing: border-box;
    pointer-events: all;
}

#middle-space-div {
    display: flex;
    position: absolute;
    box-sizing: border-box;
    touch-action: auto;
    pointer-events: all;
}

#LinksListContainerDiv {
    display: none;
    position: absolute;
    flex-grow: 0;
    background-color: white;
    box-sizing: border-box;
    flex-direction: column;
    border-radius: 8px;
    width: 600px;
    /* height: 450px; */
    z-index: 40000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    pointer-events: all;

}

#LinksListTopRow {
    display: flex;
    height: 30px;
    margin-top: 10px;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 10px;
}

#LinksListTopRowLeftSortButtonContainer,
#LinksListTopRowRightSortButtonContainer {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
}

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

#FlinksScrollDiv {
    display: flex;
    /* flex:1; */
    flex-direction: column;
    padding-top: 5px;
    padding-right: 30px;
    padding-left: 30px;
    padding-bottom: 30px;
    overflow-y: scroll;


}

.FlinksListOneRow {
    display: flex;
    height: 40px;
    margin-bottom: 15px;
    align-items: center;
}

.FlinkOneEndContainer {
    display: flex;
    flex: 1;
    color: rgba(37, 38, 39, 0.5);
    align-items: center;
    padding-left: 16px;
    padding-right: 8px;
    height: 40px;
    border-radius: 8px;
    background-color: rgba(37, 38, 39, 0.05);
    border-style: solid;
    border-width: 1px;
    border-color: rgba(37, 38, 39, 0.1);
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
    cursor: default;
}

.FlinkOneEndContainerBroken {
    border-style: dashed;
    border-width: 1px;
    border-color: rgba(246, 19, 19, 1);
}

.FlinksMiddleLineContainerDiv {
    display: flex;
    height: 40px;
    justify-content: center;
    align-items: center;
    width: 42px
}

.FlinksMiddleLineDiv {
    display: flex;
    height: 2px;
    width: 22px;
    margin-left: 10px;
    margin-right: 10px;
}

.FlinkPointCircle {
    width: 20px;
    height: 20px;
    border-radius: 10px;
}

.DeleteFlinkButton {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 30px;
}

#LinksListBottomRow {
    display: flex;
    /* width:100%; */
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}


#LinksListModificationMessage{
    display: flex;
    margin-left: 30px;
    margin-right: 30px;
    margin-bottom: 30px;
}



.LinksListBottomRowMiddleSpacer{
    width:10px;
}

.OpacityResponsiveButton:hover {
    opacity: 0.5;
}

#overlay {
    position: absolute;
    top: 0;
    left: 0;
    flex: 1;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2000;
    opacity: 0;
    /* background-color: red; */
    background-color: #D4D4D4;
    /* rgb(169, 169, 169); */
}

#bluroverlay {
    display: none;
    position: absolute;
    background-color: rgba(0, 0, 0, 0.5);
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 130000;
}

.CommonPupupTitle {
    font-family: 'Inter', sans-serif;
    font-size: 24px;
    font-weight: 700;
    color: rgba(51, 53, 64, 1);
    margin-top: 30px;
    margin-bottom: 20px;
}

.CommonPupupText {
    font-family: 'Inter', sans-serif;
    font-size: 18px;
    font-weight: 500;
    color: rgb(51, 53, 64);
    margin-top: 10px;
    margin-bottom: 30px;
}

.CommonInputContainer {
    display: flex;
    width: 100%;
    flex-direction: column;
    height: 72px;
}


#ui-root .CancelButton {
    display: flex;
    flex: 1;
    height: 40px;
    background-color: transparent;
    border-radius: 8px;
    border-color: rgb(188, 194, 203);
    border-style: solid;
    border-width: 1px;
    justify-content: center;
    align-items: center;
    color: rgb(37, 38, 39);
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: default;
}

#ui-root .ActionButton {
    display: flex;
    flex: 1;
    height: 40px;
    border-radius: 8px;
    justify-content: center;
    align-items: center;
    background-color: rgb(72, 77, 233);
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 700;
    cursor: default;
    border-width: 0;
}

#ui-root .CancelButton:hover {
    background-color: rgba(37, 38, 39, 0.05);
    border-color: rgba(37, 38, 39, 0.5);

}

#ui-root .CancelButton:active {
    outline: 4px solid rgba(103, 110, 118, 0.16);
}



#ui-root .ActionButton:hover {
    color: rgb(246, 247, 251);
    background-color: rgb(76, 100, 255);
}


#ui-root .ActionButton:active {
    outline: 4px solid rgba(72, 77, 233, 0.16);
}

#ui-root .ActionButton:disabled {
    color: rgb(246, 247, 251);
    background-color: rgba(72, 77, 233, 0.5);
    border-width: 0;
}


#LoadFromBackupButton {
    margin-top: 30px;
    color: rgba(76, 100, 255);
}

#LoadFromBackupButton:hover {
    cursor: pointer;
}


#linkInputTypeSelector,
#docTypeSelectorInSourceCodeViewer {
    display: flex;
    height: 40px;
    /* border-radius: 8px;
  border-color: rgba(37, 38, 39, 0.3);
  border-style: solid;
  border-width: 1px; */
    margin-bottom: 20px;

}

blockquote,
pre,
code {
    z-index: -1;
}

.linkInputTypeSelectorButton {
    display: flex;
    flex: 1;
    justify-content: center;
    align-items: center;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 600;
    /* border-top-width: 1px;
  border-bottom-width: 1px; */
    cursor: default;

}

#linkInputTypeSelectorSeparator {
    width: 1px;
    background-color: rgb(72, 77, 233);
}

#linkInputTypeSelectorLeftButton,
#docTypeSelectorCondocButton {
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
    border-style: solid;
    border-width: 1px;
    border-right-width: 0;
}

#linkInputTypeSelectorRightButton,
#docTypeSelectorEmbeddedDocButton {
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
    border-style: solid;
    border-width: 1px;
    border-left-width: 0;
}

.linkInputTypeSelectedButton {
    border-color: rgb(72, 77, 233);
    background-color: rgba(72, 77, 233, 0.1);
    color: rgb(72, 77, 233)
}

.linkInputTypeUnselectedButton {
    border-color: rgba(37, 38, 39, 0.3);
    background-color: white;
    color: rgb(37, 38, 39)
}


#linkAddressInputContainer {
    margin-bottom: 16px;
}

#markdownLinkAddressInputContainer {
    margin-bottom: 16px;
}

.CommonInputTitle {
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: rgba(37, 38, 39, 0.8);
    margin-bottom: 4px;
}

.CommonInput {
    display: flex;
    height: 48px;
    background-color: rgba(37, 38, 39, 0.05);
    border-radius: 8px;
    border-width: 1px;
    border-color: rgba(37, 38, 39, 0.1);
    border-style: solid;
    padding-left: 16px;
    padding-right: 16px;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    outline: none;

}

.TransparentInput {
    background-color: transparent;
    height: unset;
    flex: 1;
    border-style: none;
    border-width: unset;
    padding-left: 0;
}


.RowWithCentrallyAlignedItems {
    display: flex;
    flex-direction: row;
    align-items: center;
}

.ElementWithPointer:hover {
    cursor: pointer;
}

.CommonSwitch {
    display: flex;
    flex-direction: row;
    align-items: center;
    width: 36px;
    height: 20px;
    border-radius: 10px;
    background-color: rgb(81, 81, 81);
    padding-left: 2px;
    padding-right: 2px;

}

.CommonSwitchActive {
    justify-content: flex-end;
    background-color: rgb(76, 100, 255);
}

.CommonSwitchDisabled {
    background-color: #9EA5AD;
}

.CommonSwitchKnob {
    width: 16px;
    height: 16px;
    border-radius: 8px;
    background-color: white;
}

.CommonSwitchKnobDisabled {
    background-color: #CED2D6;
}

#fileTypeButton {
    display: flex;
    align-items: center;
    user-select: none;
    cursor: pointer;
    margin-bottom: 20px;
}

#fileTypesListDiv {
    display: flex;
    flex-shrink: 0;
    flex-direction: column;
}

.fileTypeListRow {
    display: flex;
    height: 48px;
    align-items: center;
    cursor: pointer;
    padding-left: 16px;
    padding-right: 16px;
    flex-shrink: 0;
}

.fileTypeIcon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.fileTypeNameSpan {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #252627;
    user-select: none;

}

#ui-root .SimpleBlueButton {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: rgb(72, 77, 233);
    user-select: none;
    cursor: pointer;
}

#textInput {
    display: flex;
    position: absolute;
    width: 200px;
    height: 18px;
    top: -20px;
    left: 0px;
    text-align: center;
    border: none;
    background-color: transparent;
}

#textareaInput {
    display: flex;
    position: absolute;
    width: 200px;
    height: 18px;
    top: -20px;
    left: 0px;
    text-align: center;
    border: none;
    background-color: transparent;
    overflow: hidden;
    overflow-y: hidden;
    resize: none;
}

#tooltip {
    display: none;
    position: absolute;
    background-color: #333;
    color: #fff;
    padding: 5px;
    border-radius: 5px;
    z-index: 1;
}

#linkInputContainer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    /* height: 429px; */
    border-radius: 8px;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
    background-color: white;
    z-index: 130500;

}

#confirmationDialogueContainer {
    /* display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    border-radius: 8px;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    background-color: white;
    z-index: 130500; */

}

#fileTypeSelectorContainer {
    display: none;
    /* height: 300px; */
    /* margin-top: 10px; */
    /* background-color: yellow; */
    margin-bottom: 20px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    /* flex-shrink: 0; */
    overflow-y: scroll;
    height: 144px
}

.CommonDialogueContainer {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 400px;
    /* height: 429px; */
    border-radius: 8px;
    flex-direction: column;
    padding-left: 30px;
    padding-right: 30px;
    padding-bottom: 20px;
    background-color: white;
    z-index: 130500;
}

#SettingsContainer {
    width: 600px;
    height: 90%
}



#SettingsScrollView {
    display: flex;
    flex-direction: column;
    flex: 1;
}

.SettingsSmallTitle {
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    color: #252627;
    margin-top: 20px;
    margin-bottom: 10px;
}


.confirmationButtonsContainer {
    display: flex;

}

#magnetInputContainer {
    display: none;
    position: absolute;
    left: 400px;
    top: 300px;
    width: 500px;
    height: 150px;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    z-index: 1000;
}





#widgetInputContainer {
    display: none;
    position: absolute;
    left: 400px;
    top: 300px;
    width: 500px;
    height: 380px;
    flex-direction: column;
    padding-left: 20px;
    padding-right: 20px;
    background-color: white;
    z-index: 1000;

}

#widgetAddressInput {
    margin-top: 10px;
}

#widgetContentInput {
    height: 100px;
}



#linkCreationButtonsContainer {
    display: flex;
    justify-content: space-evenly;
    height: 40px;
    margin-top: 30px;
    margin-bottom: 30px;

}



#magnetCreationButtonsContainer {
    display: flex;
    justify-content: space-evenly;
}



#magnetNameInput {
    margin-bottom: 20px;
}

.NoteDiv {
    display: flex;
    position: absolute;
    background-color: white;
    flex-direction: column;

}

/* .NoteDiv h1{
    font-size: 18px;
    color:red
  } */

.WidgetContainer {
    display: flex;
    position: absolute;
    background-color: white;
    flex-direction: column;
    pointer-events: none;
}

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

.WidgetIframe {
    display: flex;
    flex: 1;
    /* overflow: hidden; */
}

.BlackWebview {
    background-color: black;
}

.blackBorder {
    border-width: 1px;
    border-color: black;
    border-style: solid;
}

.task-list-item {
    align-self: flex-start;
    margin-left: 0;
}

.NotePresentationDiv {
    display: flex;
    flex: 1;
    flex-direction: column;
    /* background-color: 'transparent'; */
    overflow-y: scroll;
    /* font-family: 'Times New Roman', Times, serif; */

    background-color: transparent;




}

.NoteEditingDiv {
    display: flex;
    flex: 1;
    background-color: transparent;
    padding: 20px;
    resize: none;
    /* outline-width: 0; */
    font-family: 'Times New Roman', Times, serif;
}



/* .NotePresentationDiv::-webkit-scrollbar {
    display: none;
  } */

.NoteTopBarDiv {
    height: 50px;
    width: '100%';
    background-color: white;
    /* border-width: 1px;
    border-color: black;
    border-style: solid; */
    border-bottom: 1px solid lightgray;
}

.NoteEditButton {
    display: flex;
    position: absolute;
    /* background-color: red; */
    /* width:40px;
    height: 20px; */
    padding: 5px;
    top: 10px;
    right: 20px;

}


.scrollbar-hidden::-webkit-scrollbar {
    display: none;
}


.ExportDialogueDiv {
    display: none;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 500px;
    height: 400px;
    background-color: white;
    z-index: 5000;
    border-radius: 30px;
    flex-direction: column;
    align-items: center;

}

.ExportDialogueList {
    display: flex;
    flex: 1;
    flex-direction: column;
}

.NoteExportListCell {
    background-color: yellow;
}

.ExportDialogueBottomBar {}


#MainMenuContainer {
    display: flex;
    position: absolute;
    left: -260px;
    top: 0px;
    bottom: 0px;
    width: 210px;
    /* border-radius: 20px; */
    flex-direction: column;
    padding: 20px;
    /* background-color: white; */
    z-index: 10000;
    transition: left 0.2s ease;
    /* background-color: rgb(215, 211, 207); */
    background-color: #F3F3F4;

    /* border-width: 1px;
    border-style: solid;
  
    border-color: rgb(138, 136, 136); */
}

#MainMenuTools {
    display: flex;
    flex: 1;
    flex-direction: column;
}

#MenuItemsList {
    display: flex;
    flex: 1;
    flex-direction: column;
}















#CurrentUrl {
    display: none;
    position: absolute;
    left: 0;
    bottom: 0;
    background-color: white;
    /* height:20px; */
    align-items: center;
    padding-left: 10px;
    padding-right: 10px;
    border-top-right-radius: 5px;
    z-index: 150000;

}






@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.spinner {
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* Light grey */
    border-top: 2px solid #000;
    /* Black */
    border-radius: 50%;
    width: 8px;
    height: 8px;
    animation: spin 1s linear infinite;
    position: absolute;
    z-index: 1000;
    display: none;
    pointer-events: none;
    /* Ensure it doesn't block clicks */
}


#mainDocSpinner{
    border: 2px solid rgba(0, 0, 0, 0.1);
    /* Light grey */
    border-top: 2px solid #000;
    /* Black */
    border-radius: 50%;
    width: 16px;
    height: 16px;
    animation: spin 1s linear infinite;
    flex-shrink: 0;

   
    display: none;
    pointer-events: none;
    margin-right: 10px;
}


.iframe-loading-spinner {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    border: 4px solid rgba(0, 0, 0, 0.1);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border-top-color: #007bff;
    animation: spin 1s ease-in-out infinite;
    display: none;
    /* Hidden by default */
    z-index: 1500;
}

.iframe-placeholder {
    display: flex;
    flex: 0 0 auto;
    /* don’t grow, don’t shrink, use the height I set */

    border: 1px solid #000;

    background-color: #eee;
}

#ui-root .load-button {
    display: flex;
    cursor: pointer;
    /* padding: 10px 20px; */
    width: 100%;
    color: white;
    background-color: #007bff;
    /* color: white; */
    /* border: none; */
    /* border-radius: 5px; */
    /* font-size: 16px; */
    height: 100%;
    justify-content: center;
    align-items: center;
    flex: 1;
}


.text-color-red {
    color: red;
}




#DataTransferDiv {
    display: flex;
    position: absolute;
    top: 3000px;
    /* background-color: blue; */
}

#DataTransferCanvas {
    display: flex;
    /* flex:1; */
    /* background-color: red; */
    background-color: #ffffff;
}

#AllDocumentsContainer {
    display: flex;
    position: relative;
    /* left: 0;
    right: 0;
    top: 0;
    bottom: 0; */
    height: 100%;
    box-sizing: border-box;

    /* background-color: yellow; */
    pointer-events: none;
    z-index: 0;
}

body.admin-bar #AllDocumentsContainer {
    /* top: 32px; */
    /* z-index: 99998; */
}

@media screen and (max-width: 782px) {
    body.admin-bar #AllDocumentsContainer {
        /* top: 0; */
    }
}

#OneDocumentContainer {
    display: flex;
    position: absolute;
    /* display: none; */
    left: 0px;
    top: 0px;
    bottom: 0px;
    /* background-color: yellow; */
    /* width:700px; */
    /* width: 700px; */
    /* border-radius: 20px; */
    flex-direction: column;
    /* padding: 20px; */
    /* background-color: white; */
    z-index: 10000;
    /* transition: left 0.2s ease;  */
    /* background-color: rgb(215, 211, 207); */

    border-right-style: solid;
    border-right-width: 1px;
    border-right-color: rgba(37, 38, 39, 0.3);
    pointer-events: all;
    background-color: white;

    box-sizing: border-box;
}

.DocumentMainRow {
    display: flex;
    flex: 1;
    box-sizing: border-box;
    overflow: hidden;
    height: 100%;
}


.DocumentColumn {
    display: flex;

    position: relative;

    /* flex:1; */

    flex-direction: column;
    /* flex:6; */
    /* width:400px; */
    /* border-width: 1px;
  border-style: solid;

  border-color: black; */
    /* border-radius: 20px; */

    overflow-y: auto;
    box-sizing: border-box;


    min-height: 100%;

    overflow-x: hidden;

    /* overflow: hidden; */


}



.TopPanelLogoLink {
    display: flex;
    text-decoration: none;
    align-items: center;
    height: 100%;
    vertical-align: auto;

}

.TopPanelTitle {
    padding-left: 20px;
    color: white;
    font-size: 20px;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    line-height: 20px;


}

.js-enabled .DocumentSidePanel {
    display: none;
    flex-shrink: 0;
    width: 200px;
}



.js-enabled .DocumentTopPanel {
    display: none;
    background-color: rgb(57, 56, 56);
    height: 50px;
    flex-shrink: 0;
    /* justify-content: space-between; */
    box-sizing: border-box;
    flex-direction: row;
    align-items: center;
}

#CurrentDocumentTopPanel{
    display: flex;
}

.DocumentTopPanelOptionsRow {
    display: flex;
    height: 100%;
    flex-direction: row;
    align-items: center;
    /* padding-left: 20px; */
    padding-right: 20px;
    overflow: hidden;
}




.AuthorAvatar {
    width: 40px;
    height: 40px;
    border-radius: 20px;
}

.AuthorBadge {
    width: 20px;
    height: 20px;
}



a.TopPanelOptionLink {
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    /* color:white; */
    text-decoration: none;
    margin-left: 20px;

}

a.TopPanelOptionLink:hover {
    text-decoration: underline;
}



.js-enabled .DocumentBottomPanel {
    display: none;
    background-color: rgb(57, 56, 56);
    /* height:50px; */
    flex-direction: column;
    flex-shrink: 0;
}

#CurrentDocumentBottomPanel {
    display: flex;
}

.DocumentBottomPanelRow {
    display: flex;

    flex: 1;
    /* height:50px; */
    flex-shrink: 0;
    flex-direction: row;
    justify-content: space-evenly;
    margin-bottom: 30px;
}

.DocumentBottomPanelBottomMessage {
    color: white;
    padding-left: 20px;
    margin-bottom: 20px;

}



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

.FooterSectionTitle {
    color: white;
}

.FooterOptionLink {
    color: white;
    text-decoration: none;
    margin-bottom: 10px;
}

.FooterOptionLink:hover {
    text-decoration: underline;
}








#CurrentDocumentTopBar {
    display: flex;
    height: 50px;
    width: '100%';
    flex-direction: column;
    /* align-items: center; */
    /* padding-left: 20px;
  padding-right: 20px; */
    background-color: rgba(37, 38, 39, 0.1);
    /* background-color: rgb(230, 223, 223); */
    border-bottom: 1px solid lightgray;
    flex-shrink: 0;
    padding-left: 20px;
    padding-right: 20px;
    box-sizing: content-box;
}

.TitleContainer{
    display: flex;
    flex-direction: column;
    flex:1;
    min-width: 0;
}

#CurrentDocumentTitleSpan,
#RightDocumentTitleSpan {
    display: block;
    margin-right: 20px;
    
    color: rgba(37, 38, 39, 0.5);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    /* cursor: default; */
}

#RightDocumentTitleSpan::-webkit-scrollbar {
    display: none; 
}


#CurrentDocumentTitleSpan0,
#RightDocumentTitleSpan {
       display: block;
    margin-right: 20px;
    
    color: rgba(37, 38, 39, 0.5);
    font-size: 14px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
    /* cursor: default; */
}

#CurrentDocumentOptionalTitleSpan,
#RightDocumentOptionalTitleSpan{
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    min-width: 0;
}


#CurrentDocumentTitleLink,
#RightDocumentTitleLink {
    color:rgba(37, 38, 39, 0.5);
    text-decoration: none;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

#RightDocumentTitleLink:hover {
    text-decoration: underline;
}

.onHoverUnderlineDecoration:hover{
    text-decoration: underline !important;
}

#CurrentDocumentTopBarRow {
    display: flex;
    /* height: 50px; */
    width: '100%';
    flex-direction: row-reverse;
    align-items: center;

    flex: 1;
    /* background-color: rgba(37, 38, 39, 0.1); */
    /* background-color: rgb(230, 223, 223); */
    flex-shrink: 0;

}

.DocumentSaveButton {
    display: none;
    width: 80px;
    height: 28px;
    color: white;
    background-color: #484DE9;
    font-size: 12px;
    font-family: 'Inter', sans-serif;
    font-weight: 700;
    justify-content: center;
    align-items: center;
    cursor: default;
    border-radius: 8px;
}

#CurrentDocumentMainDiv {
    display: block;
    position: relative;
    padding: 20px;
    z-index: 2;
    box-sizing: border-box;
    white-space: normal;
    min-width: 0;
    max-width: 100%;
}

.CurrentDocumentTopButtonCountDiv {
    display: flex;
    position: absolute;
    top: 0px;
    right: 0px;
    height: 10px;
    min-width: 10px;
    border-radius: 5px;
    color: white;
    font-size: 7px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    /* padding-left: 3px;
  padding-right: 3px; */
    justify-content: center;
    align-items: center;
    z-index: 2;


}



.CurrentDocumentInfoButtonCountDivComplete {
    color: rgb(22, 21, 21);
    /* padding-left: 2px;
  padding-right: 2px; */
    top: 20px;
    left: 0;
    right: 0;
    background-color: transparent;
}

.CurrentDocumentInfoButtonCountDivIncomplete {
    color: red;
    /* padding-left: 2px;
  padding-right: 2px; */
    top: 20px;
    left: 0;
    right: 0;
    background-color: transparent;
}

.CurrentDocumentInfoButtonCountDivSelected {
    color: white;
    top: 20px;
    left: 0;
    right: 0;
    background-color: transparent;
}

#test {
    background-color: yellow;
}

.spacer {
    display: flex;
    flex: 1;
}

.spacer10px {
    width: 10px;
}


#CurrentDocumentMainCollageDiv {
    display: none;
    flex: 1;
    background-color: red;
    box-sizing: border-box;
    overflow: hidden;
}

#CurrentDocumentMainCollageCanvas {
    display: flex;
    /* flex:1; */
    width: 500px;
    height: 500px;
}

.RightDocumentPresentationDiv {
    display: block;
    position: relative;
    padding: 20px;
    z-index: 2;
    box-sizing: border-box;
    max-width: 100%;
}

#CurrentDocumentTextarea {

    display: none;
    flex: 1;
    background-color: transparent;
    padding: 20px;
    resize: none;
    outline-width: 0;
    font-family: 'Times New Roman', Times, serif;
}

.RightDocumentTextArea {
    display: none;
    flex: 1;
    background-color: transparent;
    padding: 20px;
    resize: none;
    outline-width: 0;
    font-family: 'Times New Roman', Times, serif;
}



#AllRightDocumentsContainer {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 0px;
    bottom: 0px;
    /* left:800px; */
    /* width:700px; */
    background-color: white;
    /* border-radius: 8px; */
    overflow: hidden;
    pointer-events: all;
    box-sizing: border-box;


    border-left-style: solid;
    border-left-width: 1px;
    border-left-color: rgba(37, 38, 39, 0.3);


}

#RightDocumentsTabsContainer {
    display: flex;
    height: 20px;
    width: 100%;

    background-color: white;
}

#RightDocumentsTopBar {
    display: flex;
    height: 60px;
    /* width:100%; */
    background-color: rgba(37, 38, 39, 0.1);
    flex-direction: row-reverse;
    align-items: center;
    padding-left: 20px;
    padding-right: 20px;

    border-bottom: 1px solid lightgray;
    
    box-sizing: content-box;

}

#RightDocumentCollectionContainer {
    display: flex;
    flex: 1;
    overflow: hidden;
    box-sizing: border-box;

}



.OneRightCollageContainer {
    display: none;
    flex: 1;
    position: relative;
    background-color: red;
    flex-direction: column;
    /* overflow-y: scroll; */
    /* padding: 20px; */
    pointer-events: all;
    z-index: 2;
    overflow: hidden;
}

.OneCollageCanvas {
    display: flex;
    flex: 1;
    /* background-color: blue; */
    touch-action: none;
}

.DocumentTopBarButton {
    display: flex;
    position: relative;
    /* margin-left: 10px; */
    align-items: center;
    z-index: 1;

}

.DocumentTopBarButtonWrapper {
    display: flex;
    position: relative;
    height: 100%;
    background-color: transparent;
    justify-content: center;
    align-items: center;
    width: 40px;
    flex-shrink: 0;
    cursor: pointer;
    color:red;
}

.Reader-OneIconComponent {
    display: flex;
    position: relative;
    align-items: center;

}

ul.no-bullets {
    list-style-type: none;
    /* Remove bullets */
    padding: 0;
    /* Remove padding */
    margin: 0;
    /* Remove margins */
}

li.menu-item {
    display: flex;
    height: 36px;
    margin-bottom: 4px;
}

div.menu-item {
    display: flex;
    height: 36px;
    margin-bottom: 4px;
}

a.menu-item-link {
    display: flex;
    color: rgba(37, 38, 39, 1);
    text-decoration: none;
    flex-direction: row;
    align-items: center;
    /* margin-left: 10px; */
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
}

img.menu-item-icon {
    display: flex;
    margin-right: 10px;
}

div.MenuHorizontalLine {
    height: 1px;
    width: 180px;
    background-color: #d3d4d4;
    margin-top: 8px;
    margin-bottom: 8px;
}



.separatorH4 {
    height: 4px;
}

.separatorH8 {
    height: 8px;
}

.separatorH16 {
    height: 16px;
}

.separatorW10 {
    width: 10px;
}


.RightDocumentTab {
    display: flex;
    position: absolute;
    /* border-right-color: #000;
  border-right-style: solid;
  border-right-width: 1px; */
    box-shadow: inset -1px 0 0 0 rgba(0, 0, 0, 0.3);
    padding-left: 10px;
    align-items: center;
    box-sizing: border-box;
    overflow: hidden;
    flex-shrink: 0;
    flex-grow: 0;
    background-color: gray;
}

.RightDocumentTabSelected {
    border-right-color: transparent;
    border-right-width: 0px;
    background-color: rgba(37, 38, 39, 0.1);
    box-shadow: none;
}

.RightDocumentTabTitle {
    display: inline-block;
    /* Ensures the element respects width */
    white-space: nowrap;
    /* Prevents the text from wrapping to the next line */
    overflow: hidden;
    /* Hides overflowing content */
    text-overflow: ellipsis;
    color: rgba(37, 38, 39, 0.5);
    font-size: 12px;
    font-weight: 500;
    font-family: 'Inter', sans-serif;
    cursor: default;

}

.TabCircleDiv {
    display: flex;
    flex-shrink: 0;
    width: 10px;
    height: 10px;
    border-radius: 5px;
    margin-right: 8px;
}





.SandwichButton {
    display: none;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    width: 24px;
    height: 24px;
    /* margin-left: 20px; */
    margin-right: 20px;
}

.SandwichButton:hover {
    opacity: 0.5;
}

.LeftSandwichLine,
.RightSandwichLine {
    width: 18px;
    height: 2px;
    border-radius: 1px;
}

.SandwichMiddleLine {
    margin-top: 4px;
    margin-bottom: 4px;
}


.DocumentDropDownMenu {
    display: none;
    position: absolute;
    flex-direction: column;
    top: 60px;
    right: 10px;
    z-index: 150000;

    border-radius: 8px;
    padding: 10px;
    background-color: red;

    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

}


.scroll-container::-webkit-scrollbar {
    display: none;
    /* Hides scrollbar in WebKit browsers */
}



.SearchContainer {
    display: none;
    position: absolute;
    align-items: center;
    top: 55px;
    right: 50px;
    background-color: white;
    width: 370px;
    height: 55px;
    border-radius: 8px;
    z-index: 160000;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

}

.SearchMainWidthDiv {
    display: flex;
    flex-direction: row;
    align-items: center;
    padding-left: 10px;
    width: 250px;
}

.SearchActionIcon {
    margin-left: 11px;
}

#ToastMessageDiv {
    display: flex;
    position: absolute;
    background-color: #393636;
    color: white;
    font-family: 'Inter', sans-serif;
    font-size: 16px;
    font-weight: 500;
    padding: 20px;
    border-radius: 8px;
    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000;
}

#fileInfoPopup {
    display: none;
    position: absolute;
    flex-direction: column;
    background-color: white;
    border-radius: 8px;
    padding: 10px;
    border-color: #9EA5AD;
    border-style: solid;
    border-width: 1px;

    top: 20%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 1000000;
}


.StaticCommentsSection {
    display: flex;
    flex: 1;
    flex-direction: column;
    overflow-y: scroll;
}

.OneCommentContainerDiv {
    display: flex;
    flex-direction: column;
    padding: 20px;
}

.OneCommentTopRow {
    display: flex;
    flex-direction: row;
    align-items: center;

}

.OneCommentAvatar {
    width: 48px;
    height: 48px;
    border-radius: 24px;
    margin-right: 10px;

}

.OneCommentNameColumn {
    display: flex;
    flex-direction: column;

}

.OneCommentAuthorName {
    font-weight: bold;

}

.OneCommentDate {}

.OneCommentContent {}


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

.RowInHeaderDiv {
    display: flex;
    justify-content: space-between;

}

#MainDocDownloadLink{
    display: none;
    position: absolute;
    left:50%;
    top:50%;
    transform: translateX(-50%);

}


#multiple-links-popup{
    display: none;
    position: absolute;
    background-color: white;
    z-index: 1000000;
    flex-direction: column;
    padding:4px;
    gap:4px;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);

}

.multiple-links-popup-row{
    display: flex;
    flex:1;
    align-items: center;
    border-radius: 8px;
    padding-left:8px;
    padding-right:8px;
    cursor: pointer;
    text-decoration: none;
    color:black;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

p {
    /* font-family: "Comic Sans MS", cursive; */
    /* font-family: Arial, Helvetica, sans-serif !important; */
    line-height: 1.4;
}

/* ── Comment posting UI ─────────────────────────────────────────────────── */

.swp-leave-comment-btn {
    display: block;
    margin: 10px 0 14px;
    padding: 6px 14px;
    font-size: 13px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    text-transform: none;
    cursor: pointer;
    background: transparent;
    color: #191919;
    border: 1px solid #191919;
    border-radius: 4px;
    opacity: 0.75;
}
.swp-leave-comment-btn:hover {
    opacity: 1;
    background: transparent;

}

.swp-reply-btn {
    display: inline-block;
    margin-top: 6px;
    padding: 3px 10px;
    font-size: 12px;
    font-weight: 400;
    font-family: Arial, sans-serif;
    text-transform: none;
    cursor: pointer;
    background: transparent;
    color: #191919;
    border: 1px solid #191919;
    border-radius: 4px;
    opacity: 0.6;
}
.swp-reply-btn:hover {
    opacity: 1;
    background: transparent;
}

/* ── Comment popup overlay / modal ──────────────────────────────────────── */

.swp-comment-popup-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
}

.swp-comment-popup {
    position: relative;
    width: min(480px, 92vw);
    height: min(520px, 85vh);
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    display: flex;
    flex-direction: column;
    overflow: hidden;
}

.swp-comment-popup-close {
    position: absolute;
    top: 8px;
    right: 10px;
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 16px;
    line-height: 1;
    cursor: pointer;
    background: rgba(0,0,0,0.08);
    border: none;
    border-radius: 50%;
    z-index: 1;
}
.swp-comment-popup-close:hover {
    background: rgba(0,0,0,0.18);
}

.swp-comment-popup-iframe {
    flex: 1;
    width: 100%;
    border: none;
}

/* ── Open-in-new-tab alert dialog ───────────────────────────────────────── */

.swp-open-tab-dialog {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.25);
    padding: 24px 24px 20px;
    width: min(360px, 92vw);
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.swp-open-tab-dialog__message {
    margin: 0;
    font-size: 15px;
    line-height: 1.5;
    color: #222;
}

.swp-open-tab-dialog__actions {
    display: flex;
    gap: 10px;
    justify-content: space-around;
}

.swp-open-tab-dialog__btn {
    padding: 7px 16px;
    border-radius: 5px;
    border: none;
    font-size: 14px;
    cursor: pointer;
}

.swp-open-tab-dialog__btn--open {
    background: #0073aa;
    color: #fff;
}

.swp-open-tab-dialog__btn--open:hover {
    background: #005a87;
}

.swp-open-tab-dialog__btn--cancel {
    background: rgba(0,0,0,0.08);
    color: #333;
}

.swp-open-tab-dialog__btn--cancel:hover {
    background: rgba(0,0,0,0.16);
}

