/* override zso_app.css */

/* sidebar height */
html, body {
    min-height: inherit;
}

.with-sidebar .actionbar {
    margin-left: -30px;
}

.with-sidebar .actionbar.actionbar__container {
    margin-left: -30px;
    padding: 10px 23px 10px 30px;
}

.actionbar .btn.info.nav-back-btn {
    margin-right: 5%;
}

/**
- Float left to adapt google material design a little bit
- display none because we don't need to show the bar if message is not yet decrypted
 */
#content > .containerbox .kmhtml2.actionbar {
    float: left;
    display: none;
    margin-top: 5px;
}

#container .with-sidebar .containerbox {
    min-height: 300px;
}

/* composing subject and text area too small */
.wide {
    width: 100%;
}

fieldset .actions {
    margin-top: 20px;
}

/* mobile fieldset */
fieldset.mobile-fieldset {
    min-width: 250px;
}

.container .footer {
    margin-bottom: 16px;
    margin-top: 20px;
}

/* The right margin of the message list table is too small */

.globalalert li {
    margin-bottom: 30px;
}

.alert {
    padding: 8px 35px 8px 14px;
}

#login-alerts .alert-warn {
    margin-bottom: 10px;
}

.success-check-img {
    width: 48px;
    vertical-align: bottom;
}

.subject {
    width: 40%;
}

.messagelink {
    width: 280px;
}

.table-message-history tr td.from {
    max-width: 320px;
    overflow: hidden;
    white-space: nowrap;
    text-overflow: ellipsis;
}

.form-horizontal .form-actions {
    padding-left: 160px;
}


fieldset .controls .delivery-radio input {
    width: 13px;
}

.radio-select input {
    margin-top: 0px;
    margin-bottom: 4px;
}

.radio-select label {
    display: inline;
    font-weight: bold;
}

.radio-select div {
    margin-bottom: 12px;
    font-weight: normal;
    margin-left: 15px;
}

.sprite.remove-mini {
    background-position: -647px -573px;
    width: 13px;
    height: 15px;
}

table.attachments td.action .sprite.download-mini,
table.attachments td.action .sprite.remove-mini {
    background-position: -646px -571px;
}

.sprite.print-mini {
    background-position: -599px -111px;
    width: 11px;
    height: 14px;
}

.sprite.forward-mini {
    background-position: -618px -50px;
    width: 15px;
    height: 15px;
}

.sprite.more-mini {
    background-position: -574px -355px;
    width: 11px;
    height: 14px;
}

.sprite.send-options {
    background-position: -14px -133px;
    width: 25px;
    height: 21px;
}

.sprite.pencil {
    background-position: -14px -225px;
    width: 27px;
    height: 24px;
}

.sprite.refresh {
    background-position: -61px -456px;
    width: 25px;
    height: 25px;
}

.sprite.terms-of-use {
    background-position: -430px -176px;
    height: 27px;
    width: 27px;
}

.sprite.upload-certificate {
    background-position: -430px -1710px;
    height: 27px;
    width: 27px;
}

.sprite.read-mini {
    background-position: -501px -208px;
    width: 15px;
    height: 15px;
}

.sprite.unread-mini {
    background-position: -526px -208px;
    width: 15px;
    height: 15px;
}

.sprite.empty-trash-mini {
    background-position: -647px -233px;
    width: 15px;
    height: 15px;
}

.sprite.restore-mini {
    background-position: -598px -281px;
    width: 15px;
    height: 15px;
}

.sprite.refresh-mini {
    background-position: -501px -281px;
    width: 16px;
    height: 16px;

}

.sprite.back-mini {
    background-position: -477px -599px;
    width: 10px;
    height: 11px;
}

.sprite.question-mark-mini {
    background-position: -574px -550px;
    width: 15px;
    height: 15px;
}

/* overwrite poorly defined sprite */
.sprite.trash-mini {
    background-position: -624px -109px;
    width: 9px;
}

#drop-down-export-button .sprite.fullcircle-question-mini {
    margin-left: 5px;
    margin-right: -10px;
    margin-top: -5px;
}

.print-view-mini {
    background: url('../img/icon-print-view-small.png') no-repeat;
    width: 17px;
    height: 14px;
}

.sprite.mail-open-mini {
    background-position: -477px -377px;
    width: 15px;
    height: 15px;
}

.sprite.envelope-mini {
    background-position: -477px -110px;
    width: 15px;
    height: 15px;
}

/* compose attachment list */

.attachments tr {
    cursor: pointer;
}

.attachments.reply tr {
    cursor: auto;
}

.attachments .size {
    border-left-width: 0px;
    text-align: right;
    min-width: 65px;
}

.attachment-icon {
    min-width: 16px;
    height: 16px;
}

.attachments .action {
    text-align: center;
    width: 50px;
}

.containerbox {
    min-height: 260px;
}

/* Font changes */
input, button, select, textarea, h1, h2, h3, h4, h5, h6, legend, .lead, blockquote {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    letter-spacing: inherit;
}

.monospace,
#container textarea.monospace {
    font-family: DejaVu Sans Mono, Bitstream Vera Sans Mono, monospace, courier;
}

#head ul .divider {
    padding: 0px 5px 0px 5px;

}

#head ul li {
    display: inline-block;
    color: #CFCFCF;
}

#head ul li a {
    color: #CFCFCF;
}

.tooltip.right .tooltip-arrow {
    border-right-color: #B6A119;
}

.tooltip.right .tooltip-arrow-success {
    border-right-color: #61A142;
}

.tooltip-inner {
    -webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
    list-style: none;
    margin-left: 0;
    border-color: #B6A119;
    color: #736510;
    background-color: #F4E8A8;
    background-image: -moz-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F7ECB7), to(#F0E392));
    background-image: -webkit-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: -o-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: linear-gradient(to bottom, #F7ECB7, #F0E392);
    background-repeat: repeat-x;
    border-width: 1px;
    border-style: solid;
}

.tooltip-inner-success {
    background-color: #86C868;
    border-color: #61A142;
    background-image: -moz-linear-gradient(top, #9EDE82, #62A640);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#9EDE82), to(#62A640));
    background-image: -webkit-linear-gradient(top, #9EDE82, #62A640);
    background-image: -o-linear-gradient(top, #9EDE82, #62A640);
    background-image: linear-gradient(to bottom, #9EDE82, #62A640);
    color: white;
}

.popover.right {
    z-index: 10000;
}

.kmhtml2.actionbar {
    padding: 0;
    border: none;
}

#area-plain {
    display: none;
}

.arrow-pointer {
    cursor: pointer;
}

.compose-text-toolbar {
    border: #ccc thin solid;
    border-bottom: none;
    padding-left: 6px;
    padding-right: 6px;
    padding-bottom: 2px;
}

.message-body-warn-container {
    -webkit-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    -moz-box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    box-shadow: 1px 1px 1px 0px rgba(0, 0, 0, 0.1);
    margin-bottom: 0px;
    list-style: none;
    margin-left: 0;
    border-color: #B6A119;
    color: #736510;
    background-color: #F4E8A8;
    background-image: -moz-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: -webkit-gradient(linear, 0 0, 0 100%, from(#F7ECB7), to(#F0E392));
    background-image: -webkit-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: -o-linear-gradient(top, #F7ECB7, #F0E392);
    background-image: linear-gradient(to bottom, #F7ECB7, #F0E392);
    background-repeat: repeat-x;
    border-width: 1px;
    border-style: solid;
    width: 100%;
    padding: 5px;
    padding-right: 0px;
}

#hugerteSwitch {
    float: right;
    padding-top: 4px;
    padding-left: 5px;
}

.checkboxColumn {
    width: 13px;
}

.attachmentColumn {
    width: 23px;
}

.attachmentInformationNotLoadedYet {
    background: url("../img/action_refresh.gif");
}

.containsAttachmentIcon {
    background: url("../img/sprites-black.png") 40px 40px;
}

.table {
    margin-bottom: 0px;
}

.table-message-history tr, .mailbox tr {
    cursor: pointer;
}

.table-message-history th, .mailbox th {
    cursor: default;
}

.table-striped.mailbox tbody tr:nth-child(even):hover td,
.table-striped.mailbox tbody tr:nth-child(odd):hover td,
.table-striped.table-message-history tbody tr:nth-child(odd):hover td,
.table-striped.table-message-history tbody tr:nth-child(even):hover td {
    background-color: #eee;
}

.table-message-history th {
    cursor: default;
}

.table.table-message-tracking tr td.read-state {
    text-align: center;
}

.table.table-message-tracking .phone-inline {
    display: block;
}

.modal-footer button.btn + button.btn.btn-primary {
    margin-bottom: 3px;
}

.modal-footer .btn + .btn {
    margin-left: 5px;
}

.modal-footer button.btn.btn-primary + a.btn {
    margin-bottom: 6px;
}

.backbtn {
    margin-right: 2%;
}

.horizontal-raw {
    display: flex;
    align-items: center;
}

.password-policy-info {
    position: absolute;
    top: 0;
    right: 0;
    padding-top: 3px;
    padding-right: 10px;
    padding-left: 5px;
    padding-bottom: 5px;
}

.inputFieldWrapper {
    position: relative;
    float: left;
}

input.bottomless, .form-horizontal input.bottomless {
    margin-bottom: 0px;
}

.control-group.presetHeight {
    min-height: 16px;
    margin-bottom: 0px;
}

.modal-body .details {
    margin-top: 20px;
    padding-top: 10px;
    padding-bottom: 1px;
    background-color: #ECECEC;
    font-style: italic;
}

.dropdown-menu a:hover {
    text-decoration: none;
    background-color: #eee;

}

.dropdown-menu .sprite {
    width: 20px;
}

#password.no-margin-bottom, #userName.no-margin-bottom {
    margin-bottom: 0px;
}

#statisticsbar {
    float: left;
    margin-left: 5px;
}

.maildirInfo {
    font-weight: normal;
    float: right;
    margin-right: 20px;
}

#container #head .left {
    float: none;
}

#container #head .right {
    float: right;
}

.table-message-history tr .directionIcon {
    min-width: 25px;
}

/*  Overwrite new zso_app.css changes */
#container #head select {
    background: #3D3D3D;
    color: #CFCFCF;
    border: 1px solid #222;
    margin-right: 20px;
    margin-top: 24px;
    font-size: 12px;
}

/*  Overwrite new zso_app.css changes */
.controls-row [class*="span"], .row-fluid .controls-row [class*="span"] {
    float: none;
}

/* overrides zso_app lower nav css to enhance link clickability */

#container #lower-nav ul li a {
    padding: 9px 14px;
}

#container #lower-nav ul li {
    padding: 0;
}


/* new element to structure lists */

.definition-list {
    width: 100%;
}

.definition-list dd {
    max-width: 100%;
    word-wrap: break-word;
    margin-left: 100px;
}

.definition-list dt {
    float: left;
    clear: left;
    text-align: right;
    width: 90px;

}

.definition-list dt:after {
    content: ":";
}

#previewBox {
    padding-right: 14px;
    margin-right: 5px;
    margin-top: 10px;
    cursor: pointer;
    position: absolute;
    left: 80%;
}

#container .with-sidebar #footer {
    margin-top: 20px;
}

#container .with-sidebar {

    margin-bottom: 0;
    padding-bottom: 16px;
    -webkit-border-radius: 0 0 0 18px;
    -moz-border-radius: 0 0 0 18px;
    border-radius: 0 0 0 18px;
}

#container #footer #customFooter {
    text-align: justify;
    margin-left: 2%;
    margin-right: 2%;
}

.username {
    font-weight: normal !important;
    display: inline-block !important;
    border: 0px none;
    padding: 0px !important;
    text-overflow: ellipsis;
    overflow: hidden;
    vertical-align: bottom;
    max-width: 300px;
}

#secureMessageViewContent .actionbar {
    background: rgba(0, 0, 0, 0);
}

#secureMessageViewContent .actionbar a.btn.info {
    margin: 0px 6px;
}

.btn-link.removeStyle {
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -webkit-box-shadow: 0 0 0 rgba(0, 0, 0, 0);
    -moz-box-shadow: 0 0 0 transparent;

    margin-bottom: 2px;
}

form.inline, p.inline {
    display: inline;

}

.list-icon.mail {
    list-style-image: url('../img/list-icon-mail.png');
}

.list-icon.lock {
    list-style-image: url('../img/list-icon-lock.png');
}

.list-icon.window-close {
    list-style-image: url('../img/list-icon-close.png');
}

ul.margin10 li {
    margin-top: 5px;
    margin-bottom: 5px;
}

div.alignCenterTextLeftOuter {
    text-align: center;
}

div.alignCenterTextLeftInner {
    display: inline-block;
    text-align: left;
    max-width: 750px;
}

.form-actions {
    text-align: right;
    padding-right: 0px;
}

.form-actions.top {
    /* Remove this hack when working on [MSG-4267] */
    border-top: none;
    margin-top: -82px;
    padding-top: 0px;
}

.form-horizontal input {
    margin-bottom: 6px;
}

.scrollBox {
    background-color: #fff;
    padding: 10px;
    height: 400px;
    border: 1px solid #ccc;
    overflow: auto;
}

.text-justify {
    text-align: justify;
}

#decryption-dialogue,
#error-modal,
#irreversible-error-modal {
    display: none;
}

#decryption-dialogue .modal-body {
    max-height: 600px;
}

#decryption-dialogue .modal-body #password {
    width: 100%;
}

#decryption-dialogue .modal-body fieldset {
    width: 80%;
}

#decryption-dialogue .modal-body fieldset .control-group {
    margin-bottom: 8px;
}

#kickmail-content .message-body.printable {
    overflow: auto;
    line-height: normal;
}

#kmhtml2-answer-success-wrapper {
    min-width: 250px;
    max-width: 560px;
    margin: 40px auto 80px;
    padding-left: 28px;
}

#kmhtml2-answer-success-wrapper p {
    text-align: center;
}

#kmhtml2-answer-success-wrapper .control-group .controls.controls-row {
    text-align: center;
}

#browse-files-button.kmhtml2 {
    margin-bottom: 13px;
}

.kmhtml2-message-page-header.page-header {
    padding-bottom: 9px;
    margin: 0 0 30px;
    border-bottom: none;
    height: 0;
}

#eml-download-button {
    margin-left: 0;
    display: none;
    cursor: pointer;
}

.attachment-name {
    font-weight: bold;
    text-overflow: ellipsis;
    white-space: nowrap;
    overflow: hidden;
    width: 95%;
}

.attachments-icon-box {
    width: 16px;
    height: 16px
}

table.attachments.table-bordered > tbody > tr > td.attachments-icon-box + td.name {
    border-left: 0 !important;
}

.message-body pre {
    word-break: normal;
}

.export-button {
    display: inline-block;
}


#export-button span.sprite.fullcircle-question-mini {
    padding-right: 0;
    margin-left: 0;
    margin-right: 0;
}


#export-button a,
#export-button a:hover {
    color: #333;
    text-decoration: none;
}

.btn-group .btn-group > .btn {
    -webkit-border-top-left-radius: 0;
    -moz-border-radius-topleft: 0;
    border-top-left-radius: 0;
    -webkit-border-bottom-left-radius: 0;
    -moz-border-radius-bottomleft: 0;
    border-bottom-left-radius: 0;
    border-left: none;
}

.btn.back-button {
    margin-right: auto !important;
}

.button-bar__container {
    display: flex;
    justify-content: center;
    align-items: center;
    height: 32px;
    padding: 0 16px 0 12px;
    box-sizing: border-box;
    margin: 0 !important;
}

.button-bar__container i {
    width: 18px;
    height: 18px;
    font-size: 18px;
}

.button-bar__container i.caret-svg {
    width: 8px;
    height: 8px;
    font-size: 8px;
    margin-left: 6px;
}

.button-bar__container span {
    font-size: 14px;
    line-height: 1;
    margin-left: 8px;
}

.actionbar.actionbar__container {
    display: flex;
    flex-wrap: wrap;
    flex-direction: row;
    justify-content: space-between;
    padding: 8px 10px 8px 20px;
    gap: 10px;
}

.actionbar.actionbar__container .btn {
    box-shadow: none;
}

.actionbar.actionbar__container:before,
.actionbar.actionbar__container:after {
    display: none !important;
}

.actionbar.actionbar__container .dropdown-menu {
    min-width: auto;
    padding: 12px 0 12px 0 !important;
}

.actionbar.actionbar__container .dropdown-menu li > a {
    display: flex;
    flex-direction: row;
    gap: 12px;
    height: 48px;
    align-items: center;
    font-size: 14px !important;
    padding: 0 24px 0 12px;
}

.actionbar.actionbar__container .dropdown-menu li > a > i {
    font-size: 24px;
    width: 24px;
    height: 24px;
}

.table td.name {
    max-width: 100px;
    width: 80%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.qr-code-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 20px;
}

.backup-code-wrapper {
    margin-top: 10px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.backup-code-input {
    flex: 70%;
}

.icon-button {
    padding: 0;
    min-width: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: none;
}

.spacer-30 {
    height: 30px;
}

.copy-feedback {
    position: absolute;
    transform: translateY(-150%);
    background: #4caf50;
    color: white;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.85em;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
    white-space: nowrap;
}

.note-text {
    margin-top: 8px;
    font-weight: bold;
    font-style: italic;
}

.secret-key-box {
    padding: 2px 12px;
    border: 1px solid rgba(0, 0, 0, 0.3);
    display: inline-block;
    border-radius: 4px;
}
