.todo-modal-container {
    display: block;
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 100%;
    margin: auto;
    background: rgba(255, 255, 255, 0.5);
    transition: opacity 0.1s ease-out;
    overflow: visible;
}

.todo-modal-panel {
    flex-direction: column;
    border: 1px solid #BABABA;
    background-color: #FFF;
    border-radius: 5px;
    width: 100%;
    height: 100%;
    margin: auto;
}

.todo-modal-panel.fullscreen {
    max-width: 100%;
    max-height: 100%;
}

.todo-modal-panel.dialog {
    max-width: 600px;
    max-height: 70%;
    margin-top: 5%;
}

.todo-modal-panel.dialog.wide,
.todo-modal-panel.dialog.Flow {
    max-width: 800px;
}

.todo-modal-header h2.announcement-title {
    line-height: 30px;
    max-width: 450px;
    text-align: center;
    white-space: normal;
    overflow: initial;
}

.modal-header-bookends {
    width: 120px;
}

.todo-modal-panel .footer-buttons {
    margin: auto;
    text-align: center;
}

.todo-modal-panel .modal-header-btn {
    padding: 0;
    min-width: 36px;
    line-height: 24px;
    margin: 0;
}

.todo-modal-panel .modal-footer-btn {
    text-transform: none;
    margin: 0;
    padding: 10px 0;
    line-height: normal;
}

.todo-modal-panel .modal-footer-btn .footer-border {
    border: 1px solid rgba(177, 179, 182, 0.5);
    border-radius: 50%;
    padding: 6px;
    max-width: 32px;
    max-height: 32px;
    text-align: center;
    margin: auto;
    margin-bottom: 4px;
}

.todo-modal-panel .modal-footer-btn .footer-border md-icon {
    height: 16px;
    width: 16px;
    min-height: 16px;
    min-width: 16px;
    vertical-align: inherit;
}

.flow-modal-bckgnd,
.todo-modal-bckgnd {
    /*padding: 20px;*/
    /*height: calc(100% - 144px);*/
    overflow-y: auto;
}

.flow-modal-bckgnd,
.todo-modal-panel.Flow .todo-modal-bckgnd {
    height: calc(100% - 74px);
    /*border-bottom: 1px solid #BABABA;*/
}

.todo-modal-panel.Flow flow-segment {
    padding-bottom: 0 !important;
}

/*.flow-modal-bckgnd .flow-continue,
.todo-modal-container .flow-continue {
    position: absolute;
    top: -9999px;
}*/

.todo-modal-header h2 {
    font-size: 24px;
    line-height: 36px;
    margin: 8px 0;
    text-overflow: ellipsis;
    overflow: hidden;
    white-space: nowrap;
}

.todo-modal-header {
    height: 72px;
    border-bottom: 1px solid #BABABA;
}

.todo-modal-footer {
    height: 72px;
    border-top: 1px solid #BABABA;
}
