@charset "UTF-8";

.fw-medium,
.modal-title {
    font-weight: 500;
    font-family: 'Chiron Hei HK M';
}

.loading {
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    display: flex;
    z-index: 99999;
    position: fixed;
    align-items: center;
    pointer-events: none;
    transition: all .125s;
    justify-content: center;
    background-color: rgba(0, 0, 0, .375);
}

.SeriaCAPTCHA_div_bg {
    background-color: rgba(0, 0, 0, .375) !important;
}

.container,
.container-fluid {
    max-width: 900px;
}

.avatar {
    --bs-border-width: 1px;
    border-radius: 50%;
    border: var(--bs-border-width) var(--bs-border-style) var(--bs-border-color-translucent) !important;
}

.card-action {
    --bs-border-width: 1px;
    margin-bottom: var(--bs-gutter-x);
    background-size: contain;
    background-repeat: no-repeat;
    background-position: bottom right;
}

.card-action:hover {
    background-color: #fcfcfc;
}

.card-action-privacy {
    background-image: url('/assets/images/texture/privacy.png');
}

.card-action-info {
    background-image: url('/assets/images/texture/info.png');
}

.card-action-security {
    background-image: url('/assets/images/texture/security.png');
}

.card-action-relay {
    background-image: url('/assets/images/texture/relay.png');
}

.small-btn,
.change-login-type,
.enable-two-factor {
    padding: .5rem 1rem;
}

.info-item {
    gap: .875rem;
    display: flex;
    overflow: hidden;
    position: relative;
    width: 100%;
    padding: 1rem 1.5rem;
    color: var(--bs-body-color);
    align-items: center;
    background-color: #f8f9fa;
    text-decoration: none;
    justify-content: space-between;
}

.info-item-content {
    flex: 1 1 auto;
    min-width: 0;
}

.info-item-label {
    font-size: .875em;
    margin-bottom: .25rem;
}

.info-item-label,
.info-item-value {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.info-item-action {
    flex: 0 0 auto;
    text-align: end;
    text-wrap: nowrap;
    white-space: nowrap;
    margin-left: 1rem;
}

.img-container {
    background-color: #f8f9fa;
    border: 1px solid #dee2e6;
    border-radius: 0.375rem;
}

.cropper-container {
    max-width: 100%;
}

.cropper-view-box,
.cropper-face {
    border-radius: 50%;
}

.cropper-line,
.cropper-point {
    background-color: #007bff;
}

.cropper-view-box {
    outline: 2px solid #007bff;
    outline-color: rgba(0, 123, 255, 0.75);
}

.toast {
    --bs-toast-bg: #f8f9fa;
}

.breadcrumb {
    font-size: .75em;
    margin-bottom: .75rem;
}

.page-title {
    height: 36px;
    line-height: 36px;
    margin: 0 0 1.5rem 0;
}

.modal-dialog {
    display: flex;
    transform: none !important;
    max-width: 400px;
    margin: var(--bs-modal-margin);
    box-shadow: none;
    align-items: center;
    min-height: calc(100% - var(--bs-modal-margin) * 2);
}

.modal-content {
    padding: 1.5rem;
    box-shadow: var(--bs-box-shadow);
}

.modal-header {
    padding: 1rem;
    border-bottom: 0;
    padding-bottom: 1.5rem;
}

.email-viewer-header {
    background-color: #f8f9fa;
    background-image: linear-gradient(#fff, #fff, #f8f9fa, #f2f3f5);
    border-bottom: 1px solid #dee2e6;
}

.security-alert {
    gap: .5rem;
    width: 100%;
    display: flex;
    align-items: center;
    padding: .75rem 1rem;
    padding-top: 0;
}

.message-item {
    --bs-list-group-item-padding-y: .75rem;
    border-bottom: 1px solid var(--bs-list-group-border-color);
}

.message-item:last-child {
    border-bottom: none;
}

.modal-dialog {
    margin-right: auto;
    margin-left: auto;
}

.SeriaCAPTCHA_div_bg {
    z-index: 9999999 !important;
}

.SeriaCAPTCHA {
    z-index: 10000000 !important;
}

@media (max-width: 768px) {
    .modal-fullscreen-md-down {
        width: 100vw;
        max-width: none;
        height: 100%;
        margin: 0;
    }
}

@media (min-width: 768px) {
    .modal.fade .modal-dialog {
        transform: translate(0, -8px) !important;
    }

    .modal.show .modal-dialog {
        transform: none !important;
    }
}

@media (min-height: 768px) {
    #emailViewerModal .modal-content {
        min-height: 648px;
    }

    .external-link-contents {
        max-height: 256px
    }
}

@media (max-width: 576px) {
    .modal-fullscreen-sm-down {
        --bs-modal-margin: 0
    }
}

@media (min-width: 576px) {
    .modal-p-sm {
        padding: 1.5rem !important;
    }
}