﻿search_term {
    text-decoration: none;
    background-color: yellow;
}

ins {
    text-decoration: none;
    background-color: #d4fcbc;
}

del {
    text-decoration: line-through;
    background-color: #fbb6c2;
    color: #555;
}

ul {
    list-style-type: none;
}

.btn {
    margin: 0.125REM;
}

button {
    background-color: #f1f1f1;
    border-width: 4px;
    border-style: solid;
    border-color: darkgray;
}

    button:hover {
        color: #002654;
        border-color: #1275d6;
        background-color: #e6f9ff;
    }

.navwrapper {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    justify-items: center;
    min-width: 500px;
}

.buttonStyling {
    background-color: #ffffff;
    color: #002654;
    font-family: Calibri;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    width: 18REM;
    height: 18.5REM;
    font-size: 1REM;
    padding: 5px;
    border-style: solid;
    border-color: #f2f2f2;
    overflow: hidden;
    justify-content: space-between;
}

    .buttonStyling h3 {
        color: black;
        font-size: 1.75REM;
    }

    .buttonStyling:hover {
        color: #002654;
        border-color: #1275d6;
        background-color: #e6f9ff;
    }

    .buttonStyling .imgContainer {
        position: relative !important;
        width: 10.5REM !important;
        height: 11REM !important;
        text-align: center;
        margin-top: 1REM;
        margin-bottom: 1REM;
        margin-left: auto;
        margin-right: auto;
    }

    .buttonStyling .imgContainer2 {
        position: relative !important;
        width: 13.5REM !important;
        height: 14REM !important;
        text-align: center;
        margin-top: 1REM;
        margin-bottom: 3REM;
        margin-left: auto;
        margin-right: auto;
    }

    .buttonStyling img {
        width: 100%;
        height: 100%;
    }

h1, h2, h3, h4, h5, h6 {
    color: #3574e3;
}

.imgContainer {
    position: relative;
    /*    bottom: 7%;*/
}

.txtContainer {
    position: relative;
    top: 4%
}

body {
    min-height: 100vh;
    min-height: 99.9vh;
}

.portalCol {
    max-width: fit-content !important; 
    max-height: fit-content !important; 
    min-width: min-content !important; 
    min-height: min-content !important;
}

/*.toc-hover:hover {
    font-weight: bold;
    font-size: medium;
    border-bottom: 1px solid #1275d6;
    background-color: e6f9ff;
    color: black;
}
.toc-hover {
    font-weight: normal;
    font-size: medium;
    cursor: pointer;
    border-bottom: 1px solid red;
}

.toc-sub {
    font-weight: normal;
    font-size: medium;
    border-bottom: 1px solid red;
}

    .toc-sub:hover {
        font-weight: bold;
        font-size: medium;
        border-bottom: 1px solid #1275d6;
        background-color: e6f9ff;
        color: black;
    }

.toc-article {
    font-weight: normal;
    font-size: medium;
    border-bottom:1px solid red;
}

    .toc-article:hover {
        font-weight: bold;
        font-size: medium;
        border-bottom: 1px solid #1275d6;
        background-color: e6f9ff;
        color: black;
    }

.toc-knowledge-article {
    font-weight: normal;
    font-size: medium;
    border-bottom: 1px solid red;
}

    .toc-knowledge-article:hover {
        font-weight: bold;
        font-size: medium;
        border-bottom: 1px solid #1275d6;
        background-color: e6f9ff;
        color: black;
    }

.toc-link {
    font-weight: normal;
    font-size: medium;
}

    .toc-link:hover {
        font-weight: bold;
        font-size: medium;
        background-color:lightblue;
        color:black;
    }

.tree {
    font-size: .875rem;
}

ul.tree {
    max-height: 82vh;
    max-height: calc(100vh - 140px);
}

.tree ul, ul.tree {
    list-style-type: none;
}

.tree a {
    color: black;
    display: block;
    padding-left: 0rem;
    padding-top: 2px;
    padding-bottom: 2px;
}

.tree ul {
    padding-inline-start: 20px;
}

.tree .is-selected {
    background-color: #eee;
}

.tree a:hover, .tree a:visited {
    color: black;
    cursor:pointer;
}

.tree-item > ul {
    display: none;
    cursor: pointer;
    border-bottom: 1px solid #1275d6;
}

.tree-item.is-expanded > ul {
    display: block;
}

.tree-item {
    outline: none;
    cursor: pointer;
    border-bottom: 1px solid #1275d6;
}
    .tree-item:hover > ul {
        outline: none;
        cursor: pointer;
        border-bottom: 1px solid #1275d6;
        background-color: e6f9ff;
    }

.tree-item-title {
    position: relative;
    cursor: pointer;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}
*/
.toc-group-header {
    font-size: large;
    padding-left: 10px;
    border-bottom: 1px solid silver;
    margin-top: 1px;
    margin-left: 1px;
}

    .toc-group-header:hover {
        font-size: large;
        border: 1px solid #1275d6;
        background-color: #e6f9ff;
        color: black;
        padding-left: 10px;
        margin-top: unset;
        margin-left: unset;
        cursor: pointer;
    }

.toc-container {
    overflow-y: scroll;
    height: calc(100vh - 240px);
    margin-left: -10px;
    margin-right: -10px;
    margin-bottom: -10px;
}

.toc-article-container {
    padding-left: 15px;
}

.toc-item {
    border-bottom: 1px solid silver;
    padding-left: 5px;
    margin-top: 1px;
    margin-left: 1px;
    cursor: pointer;
}

.toc-item-selected {
    background-color: #f2f2f2;
    color: black;
    border: 1px solid lightgray;
    margin-top: unset;
    margin-left: unset;
    font-weight: bold;
}

.toc-item-viewed {
    color: dodgerblue;
}

    .toc-item-viewed:hover {
        color: dodgerblue;
        text-decoration-line: underline;
        background-color: #f9f9ff;
    }

.toc-item:hover {
    border: 1px solid #1275d6;
    background-color: #e6f9ff;
    margin-top: unset;
    margin-left: unset;
}

.sidebar-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.sidebar-inner {
    position: -webkit-sticky;
    position: sticky;
    top: 0px;
    padding-top: 10px;
}

.is-vertically-scrollable {
    max-height: 98vh;
    /*max-height: calc(100vh - 136px);*/
    overflow-y: auto;
}

.bluelink {
    color: #1275d6;
    text-decoration: underline;
}

    .bluelink a, .bluelink a:visited {
        color: #1275d6;
    }

.Search-Bar {
    border-radius: 15px;
    border: hidden;
    padding: 5px 5px 5px 5px;
    background: #f2f2f2;
    outline: none;
    color: #3574e3;
    font-weight: bold;
}

.search-container {
    position: -webkit-sticky; /* Safari */
    position: sticky;
    background-color: white;
    text-align: center;
    top: 0px;
    padding-top: 10px;
    padding-bottom: 5px;
}

.Header-Search-Bar {
    border-radius: 15px;
    border: hidden;
    padding-left: 15px;
    background: #f2f2f2;
    outline: none;
    color: #3574e3;
    font-weight: bold;
    height: 30px;
    padding-bottom: 5px;
    margin-top: 7px;
}

.Header-Search-Button {
    border: none;
    color: white;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    margin-top: 7px;
    cursor: pointer;
    height: 30px;
}

.buttonheader {
    color: black;
    font-size: 1.25REM;
}

.Header-Search {
    align-items: center;
}

.footer-item {
    display: inline;
}

.footer-vis {
    background-color: rgba(0,0,0,0.05);
    color: #212529;
}

.article-edit-link {
    float: none;
}

.site-login {
    background-color: rgba(0,0,0,0.01);
    width: 400px;
    /*box-shadow: 10px 10px rgba(0,0,0,0.08);*/
    border: solid 2px rgba(0,0,0,0.08);
    border-radius: 10px;
    position: absolute;
    top: calc(50vh - 200px);
    left: calc(50vw - 200px);
    color: black;
}

.site-login-main {
    margin: auto;
}

.body-container {
    height: calc(100vh - 130px);
    overflow: auto;
}

.menu-container {
    height: calc(100vh - 130px);
    overflow: auto;
    display: inline-block;
}

.admin-panel {
    background-color: #efc4cc;
    border: 1px solid #ef6780;
    padding: 5px;
    border-radius: 10px;
}

.full-width {
    display: block;
    width: 99%;
    padding: 4px;
    margin: 2px 2px 2px 2px;
    border: 2px solid black;
}

.pasteImageBox {
    border: 2px dashed #ccc;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    transition: 200ms ease-in-out;
}
    .pasteImageBox.drag-over {
        border-color: #1275d6;
    }

.attachmentsPreviewContainer {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
}

.attachmentsPreviewItem {
    display: flex;
    float: none;
    max-width: 250px;
    width: 200px;
    height: 175px;
    margin: 5px;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    padding: 5px;
}

.attachmentsPreviewItemImage {
    display: flex;
    max-width: 200px;
    margin-left: auto;
}

.removeAttachmentsPreview {
    position: relative;
    top: -10px;
    right: 20px;
    color: red;
    cursor: pointer;
    font-size: 26px;
}

.fileNameSpan {
    text-align: center;
    max-width: 225px;
    max-height: 24px;
    font-size: 16px;
    background-color: gray;
    color: ghostwhite;
    padding: 0px 5px 5px 5px;
    overflow: hidden;
}

.FullscreenOverlayContainer {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    z-index: 999;
}

.FullscreenOverlayContent {
    max-width: 90%;
    max-height: 90%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.HideFullscreenOverlayButton {
    position: fixed;
    top: -0.5REM;
    right: 0.25REM;
    color: red;
    cursor: pointer;
    font-size: 32px;
}

.general-btn {
    background-color: #f1f1f1;
    border-width: 2px;
    border-style: solid;
    border-color: darkgrey;
}

    .general-btn:hover {
        color: #002654;
        border-color: #1275d6;
        background-color: #e6f9ff;
    }


.form-group {
    margin-bottom: 1rem;
}

.NoteItem {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    max-width: 75vw;
    min-height: 20vh;
    overflow-x: auto;
}

.NoteAttachmentList {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-evenly;
    align-items: flex-start;
    margin-block: 1REM;
    max-height: 25REM;
    width: 75vw;
}

.NoteAttachment {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: flex-start;
    align-items: center;
    min-width: 8REM;
    min-height: 6REM;
    max-width: 32%;
    max-height: 12REM;
    margin-block: 0.25REM;
    margin-top: 1REM;
    overflow: hidden;
    flex-grow: 0;
}

.NoteAttachmentHeader {
    width: 100%;
    height: 3REM;
    text-align: center;
}

.NoteIframe {
    width: 100%;
    height: 75%;
}

/*.EmailItem {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 80vw;
    min-height: 20vh;
    max-height: 40vh;
    margin-block: 4px;
    padding-block: 2px;
    border: 1px solid grey;
    border-radius: 25px;
    overflow-y: auto;
}*/

.EmailItem {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    width: 80vw;
    max-height: 25vh;
    margin-block: 4px;
    padding-block: 2px;
    border: 1px solid grey;
    border-radius: 25px;
    overflow: hidden;
}

.EmailHeader {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: left;
    width: 79vw;
    font-size: 1REM;
}


.dt-body-center {
    text-align: center;
    vertical-align: middle;
}

.iframe {
    width: 100%;
    height: 100vh;
}

.FullScreenIframe {
    max-height: 98%;
    overflow: auto;
    background-color: white;
}

.FlexList {
    display: flex;
    flex-direction: column;
    flex-wrap: nowrap;
    justify-content: center;
    align-items: center;
    margin-block: 2px;
    max-width: 90vw;
}

.InnerSpinnerMsg {
    position: relative;
    bottom: 9REM;
    width: fit-content;
    font-size: large;
    font-weight: bold;
    line-height: 1.2;
}

.plswait_overlay {
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,.5);
    color: white;
    line-height: 700px;
    position: fixed;
    top: 0;
    text-align: center;
    font-size: 20px;
    font-weight: bold;
    z-index: 1000000;
}

.datepicker {
    min-width: 12REM;
    width: 15REM;
    max-width: var(--bs-modal-width);
}

    .datepicker
    .table-condensed {
        min-width: 100%;
    }