@font-face {
    font-family: 'Material Icons';
    font-style: normal;
    font-weight: 400;
    src: url('assets/font/material.woff2') format('woff2');
}

.authenticating {
    font-size: 1rem;
}

.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;
    line-height: 1em;
    letter-spacing: normal;
    text-transform: none;
    white-space: nowrap;
    word-wrap: normal;
    direction: ltr;
    -moz-font-feature-settings: 'liga';
    -moz-osx-font-smoothing: grayscale;
}

.general-error .material-icons {
    font-size: 2.5rem;
}

.dropdown {
    display: block;
}

.dropdown-content {
    border-style: solid;
    border-color: lightgray;
    border-width: thin;
}

.textarea {
    resize: none;
}

.file-label:has(input:focus) {
    border: solid 1px #485fc7;
}

.file.is-boxed.has-name .file-name {
    max-width: none;
}

.file.is-boxed.has-name .recipients .file-name {
    border-width: 1px 1px 0px 1px;
}

.new-recipient {
    font-weight: 500;
    font-style: italic;
}

.file.is-boxed.has-name .file-cta {
    flex-direction: row;
    padding: 0 1.5em 0 0;
}

.file.is-boxed.has-name .file-icon {
    margin-right: 0;
}

.file.is-boxed.has-name .file-name-text, .file.is-boxed.has-name .new-recipient {
    display: inline-block;
    max-width: 88%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-name-text {
    text-wrap: auto;
}

.file-name .material-icons {
    vertical-align: top;
    font-size: 17px;
    padding-left: 1em;
    margin-top: 0.1em;
}

.is-small .card-header-title, .is-small .card-header-icon {
    font-size: 0.75rem;
    padding: 0.5rem 1rem;
}

.contact {
    border-bottom: solid thin lightgray;
}

.contact .columns {
    margin-bottom: 0;
}

.contact .column {
    padding-bottom: 0;
}

.file-summary {
    border-bottom: solid thin lightgray;
    padding: 0.5rem 0 0.5rem 0.5rem;
}

.file-summary .columns {
    margin: 0;
}

.file-summary .column {
    padding: 0;
}

.file-summary .status-text, .file-summary .pwd-notification, .file-summary .otd-notification {
    color: #999;
}

.file-summary .material-icons {
    color: #999;
    font-size: 1.25rem;
    padding-right: 0.1rem;
}

.file-summary .filename {
    width: fit-content;
    max-width: 100%;
}

.file-summary.is-expanded {
    background-color: #eee;
}

.file-summary.is-expanded.active {
    background-color: rgba(207, 228, 250, 0.5);
}

.file-summary.active.is-expanded {
    margin-bottom: 0.5rem;
}

.file-summary.active.is-expanded:last-child {
    margin-bottom: 0;
}

.file-summary.active + .file-summary.active.is-expanded {
    margin-top: 0.5rem;
}

.file-summary.is-expanded .emails, .file-summary.is-expanded .filename {
    overflow-wrap: anywhere;
}

.file-summary:not(.is-expanded) .emails, .file-summary:not(.is-expanded) .filename {
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.file-summary:not(.is-expanded) .details {
    display: none;
}

.file-summary.active {
    border-left: 4px solid #0078d4;
}

.radio-heading {
    cursor: pointer;
    pointer-events: all;
    color: #7A7A7A;
    padding: 0.4rem 1rem 0.4rem 1rem;
    opacity: 0.8;
}

.radio-heading.first {
    margin-left: -1rem;
}

.radio-heading:hover {
    background-color: #F5F5F5;
}

.radio-heading.is-active {
    color: inherit;
    text-decoration: underline;
    font-weight: 500;
}

#receivedList {
    border-top: solid thin lightgray;
}

main {
    position: relative;
    min-height: 100vh;
}

.version {
    font-size: 0.7rem;
    opacity: 0.5;
    position: absolute;
    bottom: 0;
    width: 100%;
}

.modal {
    justify-content: normal;
}

.notification.is-small {
    font-weight: bold;
    padding: 1rem 2.5rem 1rem 1.5rem;
}

.notification {
  animation: shake 0.25s;
  animation-iteration-count: 2;
}

@keyframes shake {
  0% { transform: translate(0px); }
  25% { transform: translate(-1px); }
  50% { transform: translate(1px); }
  75% { transform: translate(-1px); }
  100% { transform: translate(0px); }
}

.is-size-4-adjust {
    font-size: 1rem;
}

.text-height {
    max-height: 0.75rem;
}

.is-small {
    font-size: 0.75rem;
}

.is-small .control {
    font-size: 0.75rem;
}

.is-small .button {
    font-size: 0.75rem;
}

.is-small .dropdown-item {
    font size: 0.75rem;
}

.added-item {
    padding-bottom: calc(.5em - 1px);
    padding-left: calc(.75em - 1px);
    padding-right: calc(.75em - 1px);
    padding-top: calc(.5em - 1px);
}

@media (width > 500px) {
    .is-small {
        font-size: inherit !important;
    }
    .is-small .card-header-title {
        font-size: inherit;
    }

    .is-small .control {
        font-size: inherit;
    }

    .is-small .button {
        font-size: inherit;
    }

    .is-small .dropdown-item {
        font-size: inherit;
    }

    .main-content {
        margin-top: 20px;
    }

    .is-size-4-adjust {
        font-size: 1.5rem;
    }

    .text-height {
        max-height: 1rem;
    }
}

.main-content {
    max-width: 1000px;
    overflow-wrap: break-word;
}

.tabs {
    overflow-x: visible;
    overflow-y: visible;
}

.tabs ul:has(#logoutTab) {
    padding-right: 0px;
}

.recall-icon {
    position: relative;
    top: 0.2em;
}

.summary {
    text-align: right;
    cursor: default;
}

.logo-icon {
    height: 2.5em;
    margin-top: 0.3em;
    margin-right: 0.3em;
}

.dropdown-menu {
    min-width: inherit;
}

.dropdown-trigger a {
    font-size: 1.6em;
    padding: 0 1em;
}

.dropdown-content a {
    padding: .15em 1em;
}

.modal-card-foot {
    justify-content: flex-end;
    padding: 10px;
}

.logo {
    height: 2em;
}

#extra-dropdown a:hover {
    background-color: inherit;
}

.button.is-primary {
    background-color: #0078d4;
    border-color: #0078d4;
}

.button.is-primary:disabled {
    background-color: #0078d4;
    border-color: #0078d4;
}

.button.is-primary:hover {
    background-color: #115ea3;
    border-color: #115ea3;
}

.button.is-primary:active {
    background-color: #0c3b5e;
    border-color: #0c3b5e;
}

input.email-input, input.email-input:hover, input.email-input:focus, input.email-input:active {
    border: none;
    box-shadow: none;
    border-bottom: 2px solid #dbdbdb;
    border-radius: 0;
    padding-left: 0;
    background-color: white;
}

input.email-input:hover, input.email-input:focus {
    border-color: #0078d4;
    box-shadow: none;
}

input.email-input.is-danger:active, input.email-input.is-danger:focus {
    box-shadow: none;
}

.added-item {
    border: 1px solid #dbdbdb;
    border-radius: 0px;
    border-bottom: none;
    overflow-wrap: anywhere;
}

.added-item:last-child {
    border-bottom: 1px solid #dbdbdb;
}

.added-item .material-icons {
    cursor: pointer;
}

input.input[disabled] {
    border-color: #dbdbdb;
}

.message-footer {
    background-color: #f5f5f5;
    border: 1px solid #dbdbdb;
    border-top: none;
}

.message-footer.is-small {
    font-size: 0.75rem;
}

button.button.search, button.button.search:focus, button.button.search:focus-visible {
    border: none;
    box-shadow: none;
}

button.button.search:hover, button.button.search.active {
    background-color: #f5f5f5;
}

.card.search-box {
    border-top: solid thin lightgray;
    box-shadow: none;
    background-color: #f5f5f5;
}

#historicalSentList {
    border-top: solid thin lightgray;
}

.message-text {
    border: solid 1px gray;
}

.tab-title {
    border-bottom: solid thin lightgray;
}

.nowrap {
    white-space: nowrap;
}

.time {
    padding-right: 22px;
}

.recipients {
    overflow-x: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.is-expanded .recipients {
    white-space: normal;
}

[data-expand-control] {
    cursor: pointer;
}

.is-expanded .recipient {
    display: block;
}

.brand-logo {
    max-height: 6rem;
    max-width: 50%;
}
