.file-browser {

}

div#file-browser-search-wrapper {
    padding: 0 4vw 0;
}

.file-browser-search {
    /* padding: 0 4vw 0; */
    position: relative;
    margin-bottom: 1em;
}

.file-browser>ul>li>div>.folder-icon {
    display: none;
}

.file-browser ul {
    list-style: none;
    margin: 0;
    padding: 0;
}

.file-browser>ul>li>div>.folder-name {
    width: 100%;
    border-bottom-color: var(--mr-color-primary);
    border-bottom-width: 5px;
    border-bottom-style: solid;
    display: block;
    font-size: 2.3rem;
    line-height: 1;
    padding-bottom: 0.3rem;
    font-family: var(--mr-font-heading);
    position: relative;
    margin-top: 0;
    margin-bottom: 0.5rem;
    font-weight: 900;
    line-height: 1.2;
}

.file-browser ul ul {
    /* padding: 0.3rem 1.3rem 0.7rem; */
}

.file-browser ul ul>li>div>.folder-name {
    /* font-size: 1.3rem; */
}

.file-browser ul ul>li>div>i {
    /* font-size: 1.7rem; */
    /* margin-right: 1rem; */
    /* color: #2a9481; */
}

.file-browser ul ul ul.hidden {
    /* visibility: collapse; */
    /* height: 0; */
    /* padding: 0; */
}

.file-browser ul ul>li .file {
    /* font-size: 1.2rem; */
    /* margin-right: 1rem; */
    /* color: #1f5aa0; */
    /* background: whitesmoke; */
    /* padding: 0.6rem; */
    /* margin-bottom: .5rem; */
    position: relative;
    /* border-radius: .5rem; */
    /* height: 2.6rem; */
}

.file-browser ul ul>li .file a {
    /* position: absolute; */
    /* top: 0; */
    /* left: 0; */
    /* right: 0; */
    /* bottom: 0; */
    /* padding-left: 2.5rem; */
    /* text-decoration: none; */
    /* color: #1f5aa0; */
}

.file-browser ul ul>li .file>i {
    /* position: absolute; */
    /* left: 0.85rem; */
}

.file-browser ul ul>li .file a span {
    /* align-self: center; */
    /* display: block; */
    /* padding: 0.5rem; */
    /* white-space: nowrap; */
    /* overflow: hidden; */
    /* text-overflow: ellipsis; */
}

.file-browser ul ul>li .file a:hover span {
    text-decoration: underline;
}

.file-browser ul ul>li>div.folder-name {
    cursor: pointer;
}

.file-browser ul ul>li>div.folder-name:hover {
    font-weight: 900;
}

input#search_document_keywords {
    display: block;
    position: relative;
    z-index: 9;
    font-size: 22px;
    line-height: 31px;
    padding: 8px 24px;
    padding-left: 2.5em;
    margin-top: -2px;
    margin-bottom: -4px;
    /*color: #FFFFFF;*/
    background: #ebeae8;
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 1em;
    font-weight: 400;
    outline: 0;
    width: 100%;
    margin-right: 0;
    font-family: 'Poppins', Arial, sans-serif, "Helvetica Neue";
    box-shadow: inset 1px 1px 5px rgb(0 0 0 / 19%);
    color: black;
}

.file-browser-search input[type="text"] {
    display: block;
    position: relative;
    z-index: 9;
    font-size: 22px;
    line-height: 31px;
    padding: 8px 24px;
    padding-left: 2.5em;
    margin-top: -2px;
    margin-bottom: -4px;
    background: #ebeae8;
    border-top: none;
    border-right: none;
    border-left: none;
    border-radius: 1em;
    font-weight: 400;
    outline: 0;
    width: 100%;
    margin-right: 0;
    font-family: 'Poppins', Arial, sans-serif, "Helvetica Neue";
    box-shadow: inset 1px 1px 5px rgb(0 0 0 / 19%);
    color: black;
}

form#file-browser-search::before {
    content: '';
    transition: .3s all ease;
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    text-shadow: none;
    color: rgb(255 255 255);
    font-size: 0.8em;
    display: block;
    width: 43px !important;
    height: 45px;
    z-index: 88;
    position: absolute;
    color: rgb(0 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    left: 8px;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / 1em 1em;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / 1em 1em;
}

.file-browser-search::before {
    content: '';
    transition: .3s all ease;
    -webkit-transform: scale(1) rotate(0deg);
    transform: scale(1) rotate(0deg);
    text-shadow: none;
    color: rgb(255 255 255);
    font-size: 0.8em;
    display: block;
    width: 43px !important;
    height: 45px;
    z-index: 88;
    position: absolute;
    color: rgb(0 0 0);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: none;
    left: 8px;
    background-color: currentColor;
    -webkit-mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / 1em 1em;
    mask: url('https://static.mrwebsites.ca/icon/fa/solid/magnifying-glass.svg') no-repeat center / 1em 1em;
}

form#file-browser-search {
    position: relative;
}

li>div.folder-name+ul.hidden {
    display: none;
}

li>div.folder-name span.folder-name {
    border: 0;
    /* background: #2e3183; */
    color: white;
    padding: 0.9rem;
    font-size: 1.3rem;
    margin-left: 1.8rem;
    width: calc(100% - 1.8rem);
    box-sizing: border-box;
    display: block;
    font-weight: 900;
}

.folder-name>.folder-icon {
    display: block !important;
    position: absolute;
    z-index: 999;
    padding: 0.8rem;
    color: white;
}

.folder-name .icon--folder-open {
    display: none;
}

.folder-name.is-open .icon--folder-open {
    display: inline-block;
}

.folder-name.is-open .icon--folder-closed {
    display: none;
}

li>div.folder-name {
    background: var(--mr-color-primary-shade);
    cursor: pointer;
}

li.file {
    background: whitesmoke;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 4px 10px 0 #00000029;
    margin: .25rem 0 0.75rem;
}

.file_title {
    color: var(--mr-color-accent-contrast);
    font-weight: 700;
}

.file_description {
    font-size: 1.2rem;
}

li.file a {
    margin-top: 1rem;
    display: inline-block;
    font-size: 1rem;
    /* text-decoration: underline; */
    word-wrap: break-word;
}

li.file .file-size {
    font-size: 1rem;
}

li.file .file-icon {
    font-size: 1rem;
    margin-right: 0.3rem;
}

li.file .file-meta {
    display: block;
    line-height: 1.35;
}

li.file .file-meta .file-icon,
li.file .file-meta a,
li.file .file-meta .file-size {
    display: inline;
    vertical-align: baseline;
}

li.file .file-meta a {
    margin-top: 0;
}

li.file .file-meta .file-name {
    overflow-wrap: anywhere;
    word-break: break-all;
    text-decoration: underline;
}

li.file .file-meta .file-link .file-icon {
    margin-right: 0.2rem;
    text-decoration: none;
}

li.file .file-meta .file-link .file-icon::after {
    /* content: "\00a0"; */
}

li.file .file-meta .file-size {
    white-space: normal;
}

.folder-name.is-static {
    cursor: default;
}

div#file_browser_search_results ul {
    list-style: none;
    padding: 0 0 2rem;
}

div#file_browser_search_results {
    padding-top: 2rem;
}

.file-browser-search.showingresults+.file-browser {
    display: none;
}
/* WCP 2026 feature overrides */
.file-browser,
.file-browser-search,
div#file_browser_search_results {
  /* border: 1px solid rgba(27,31,24,.12); */
  /* border-radius: 16px; */
  /* background: #fff; */
}
.folder-name,
.file_title {
  color: var(--mr-color-primary-shade);
}
li.file a {
  color: var(--mr-color-primary);
}
ul ul li>div.folder-name, ul ul li>div.folder-name * {
    background: transparent;
    color: var(--mr-color-primary-shade) !important;
}
ul ul li>div.folder-name .folder-name {
    padding: 0.45em;
}
 ul ul li>div.folder-name .folder-icon {
    padding: 0.75em;
}