.material-icons {
    font-family: 'Material Icons';
    font-weight: normal;
    font-style: normal;
    font-size: 24px;  /* Preferred icon size */
    display: inline-block;
    line-height: 1;
    text-transform: none;
    letter-spacing: normal;
    word-wrap: normal;
    white-space: nowrap;
    direction: ltr;

    /* Support for all WebKit browsers. */
    -webkit-font-smoothing: antialiased;
    /* Support for Safari and Chrome. */
    text-rendering: optimizeLegibility;

    /* Support for Firefox. */
    -moz-osx-font-smoothing: grayscale;

    /* Support for IE. */
    font-feature-settings: 'liga';
}

nav.navbar {
    padding: 0.75rem;
}

.navbar-vertical.navbar-expand-xs::-webkit-scrollbar {
    display: none;
}

.navbar-vertical.navbar-expand-xs .navbar-collapse {
    height: calc(100vh - 120px);
}

.navbar-collapse::-webkit-scrollbar {
    display: none;
}

.input-group {
    background-color: #fff;
}

label.attribute {
    margin-bottom: 0;
    margin-left: 0;
}

label.form-label > span {
    color:red;
    font-size:8px;
}

.page-item .page-link, .page-item span {
    border-radius: 3px !important;
    margin: 0;
}

nav.btn {
    padding: 0.625rem;
    margin-bottom: 0;
}

ul.pagination {
    margin-bottom: 0;
}

.modal-header {
    border-bottom: 0px;
}

.modal-header .btn-close {
    color: #6c757d;
}

.modal-footer {
    border-top: 0px;
}

a:link {
    text-decoration: none !important;
}

a:link.contract {
    color: #007bff;
    text-decoration: underline !important;
}

a:link.nda {
    color: #007bff;
    text-decoration: underline !important;
}

.col-md-12.text-end > button {
    width:  288px;
}

.table th {
    font-weight: 400;
}

.input-group.input-group-outline > select.form-control {
    padding: 0.5rem 0.75rem !important;
}

.input-group.input-group-dynamic .form-control:not(:first-child), .input-group.input-group-static .form-control:not(:first-child) {
    border-top: 0;
    border-bottom: 0;
    border-right: 0;
}

.maillist-title {
    overflow: hidden;
    max-width: 560px;
    text-overflow: ellipsis;
}

.maillist-sender {
    overflow: hidden;
    max-width: 200px;
    text-overflow: ellipsis;
}

.mail-without-click-box {
    background-color: #F2F2F2;
    cursor: pointer;
    width: 100%;
    border: solid 1px;
}

td.mail-without-click-sender {
    display: inline-block;
    font-size: 0.75rem;
}

.mail-sender-address-collapse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

@media screen and (min-width:992px){
    td.mail-without-click-mailbody {
        display: inline-block;
        font-size: 0.75rem;
        max-width: 65.667%;
    }

    td.mail-without-click-datetime {
        display: inline-block;
        font-size: 0.75rem;
        max-width: 15.667%;
    }
}

@media only screen and (max-width:991px){
    td.mail-without-click-mailbody {
        display: inline-block;
        font-size: 0.75rem;
    }

    td.mail-without-click-datetime {
        display: inline-block;
        font-size: 0.75rem;
    }
}

.mailbody-table {
    table-layout: fixed;
    white-space: nowrap;
    width: 100%;
}

.mailbody-collapse {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.table-layout-fixed {
    table-layout: fixed;
}

td.normal {
    white-space: normal;
}

td.pre-line {
    white-space: pre-line;
}

@media screen and (min-width:576px){
    .sp {
      display: none;
    }

    tr.sp-mail-detail > th.col-sm-2 {
        width: 16.66667%
    }

    tr.sp-mail-detail > td.col-sm-10 {
        width: 83.33333%;
    }
}

@media only screen and (max-width:575px){
    .pc {
        display: none !important;
    }

    input.sp-maillist-dateform {
        width: 80%;
    }

    table.sp-mail-detail {
        display: block;
        width: 100%;
    }

    table tbody.sp-mail-detail {
        display: block;
        width: 100%;
    }

    table tr.sp-mail-detail {
        display: block;
        width: 100%;
    }

    table th.sp-mail-detail {
        display: block;
        width: 100%;
    }

    table td.sp-mail-detail {
        display: block;
        width: 100%;
    }

}

td.pre-line * table {
    table-layout: fixed;
    width: 100% !important;
}

td.pre-line > table > tbody > tr:last-child td {
    padding: 0;
    white-space: pre-line;
}

.table th {
    font-weight: 400;
}

.mail-text-height {
    height: 300px;
}

.mail-text-fix {
    resize: none;
    overflow: auto;
}

label > input[type=file] {
    display: none;
}

.file-background {
    background-color: #f5f5f5;
    font-weight: bold;
    max-width: 533px;
    margin: 0 0 9px;
    padding: 4px 4px 4px 8px;
}

.file-download {
    display: flex;
    width: max-content;
}

.file-name {
    overflow: hidden;
    white-space: nowrap;
    max-width: 380px;
    text-overflow: ellipsis;
}

.file-size {
    color: #444746;
    min-width: 80px;
    text-align: center;
    font-size: 90%;
}

.file-delete {
    position: relative;
    float: right;
    bottom: 10px;
    right: 5px;
    width: 10px;
    height: 10px;
}

.file-delete::before, .file-delete::after {
    content: "";
    position: absolute;
    width: 2px;
    height: 10px;
    background: #444746;
}

.file-delete::before {
    transform: translate(-50%,-50%) rotate(45deg);
}

.file-delete::after {
    transform: translate(-50%,-50%) rotate(-45deg);
}
