:root{
    --global-notice-height: 60px;
    --nav-bar-height: 75px;
}

/*-- Global Alert --*/
#global-notice{
    height: var(--global-notice-height);
    background: white;
    width: 100%;
    display: grid;
    align-items: center;
    grid-template-columns: 63px 1fr 63px;
    position: sticky;
    top: 0;
    z-index: 1;
}
#global-notice > button{
    height: var(--global-notice-height);
    width: unset;
}
.carousel-inner {
    grid-column-start: 2;
    grid-column-end: 3;
}
.carousel p{
    margin: 0;
}
.carousel-item .notice {
    display: grid;
    align-items: center;
    grid-template-columns: 30px 1fr;
    gap: 10px;
    height: var(--global-notice-height);
}

/* Login */

#login {
    max-width: 400px;
    padding: 1rem;
    z-index: 1;
}
form[data-purpose="validateUsername"] .manual-login,
form[data-purpose="requestPasswordReset"] .password-fields{
    display: none;
}
div.password > input[type=password] + .show-password:before{
    content: 'Show';
}
div.password > input[type=text] + .show-password:before{
    content: 'Hide';
}
div.password{
    position: relative;
}
.product-logo{
    background-image: url('../../images/abi-white-on-transparent.svg');
    display: inline-block;
    background-size: contain;
    margin-top: -10px;
    margin-bottom: -30px;
    height: 59px;
    width: 177px;
    background-repeat: no-repeat;
}
#ams-icon {
    background-size: 75%;
    background-repeat: no-repeat;
    height: 100%;
    width: 100%;
    position: fixed;
    right: 0;
    background-position-x: right;
    bottom: 0;
    z-index: 0;
    background-image: url("../../images/abi-black-on-transparent.svg");
    background-position-y: bottom;
}
div.password > button{
    position: absolute;
    right: 10px;
    top: 9px;
    border: none;
    border-radius: 15px;
    padding: 1px 10px;
    font-size: .8em;
    outline: none;
}

/* Helpers */
.alert:empty,
input.controller,
input.controller{
    display:none;
}
.flex{
    display: flex;
}
.gap-20{
    gap: 20px;
}
#table_div{
    z-index: 1;
}
/* Bootstrap Select */

/* Main */
.right-frame, main{
    --bs-gutter-x: calc(1.5rem * 2);
    padding: calc(var(--bs-gutter-x) * 1);
}
main{
    position: relative;
    z-index: 0;
}
main.grid-left-panel{
    display: grid;
    grid-template-columns: 333px 1fr;
    align-items: stretch;
    justify-content: start;
    padding: 0;
}
.left-frame{
    position: relative;
    width: 100%;
    height: calc(100vh - (var(--global-notice-height) + var(--nav-bar-height)));
}
.left-frame.alert-banner-on > aside{
    height: calc(100vh - (var(--nav-bar-height) + var(--global-notice-height)));
    top: calc(var(--nav-bar-height) + var(--global-notice-height));
}
.left-frame tr > td:first-child,
.left-frame tr > th{
    padding-left: 1.6rem;
}
.left-frame tr > td:last-child{
    padding-right: 1.6rem;
    padding-left: 0;
    text-align: right;
    color: var(--bs-gray-700);
}
.left-frame > aside tr + tr > td{
    border-top: 1px dotted #dfdfdf;
}
.left-frame > aside tr > td:first-child{
    font-weight: 500;
}
.left-frame > aside{
    position: fixed;
    top: var(--nav-bar-height);
    overflow-y: auto;
    overflow-x: hidden;
    height: calc(100vh - var(--nav-bar-height));
    width: 333px;
    border-right: 1px solid var(--bs-border-color);
}
.left-frame > aside > button{
    display: none;
    margin: 0.5rem;
}
main.grid-left-panel.hide-left{
    grid-template-columns: 57px 1fr;
}
main.grid-left-panel.hide-left > .left-frame > aside{
    background-color: var(--bs-secondary-bg);
    width: 57px;
}
main.grid-left-panel.hide-left > .left-frame > aside > button{
    display: block;
}
main.grid-left-panel.hide-left > .left-frame > aside > div{
    display: none;
}
.right-frame{
    position: relative;
}

/* Select 2 */
.select2-container{
    z-index: 1055;
}

/* Iframe */
iframe{
    vertical-align: top;
}

/* Nav Bar Brand */
.navbar{
    --bs-navbar-padding-y: 1rem;
    height: var(--nav-bar-height);
    position: sticky;
    top: 0;
    z-index: 20;
}
#global-notice + .navbar{
    top: var(--global-notice-height);
}
.navbar-brand{
    --width: 140px;
    background-image: url('../../images/abi-white-on-transparent.svg');
    display: block;
    width: var(--width);
    background-size: var(--width);
    text-indent: calc(100% + var(--width));
    overflow: hidden;
    height: 25px;
    padding: 0;
    margin: 5px 0 0 0;
}
.navbar-toggler{
    padding: 0;
    margin: 0;
    border: none;
    box-shadow: none !important;
}
#navbarNavAltMarkup{
    position: absolute;
    top: var(--nav-bar-height);
    left: 0;
    padding: 20px;
    background-color: #000;
    width: 300px;
    height: calc(100vh - var(--nav-bar-height));
}
header.alert-banner-on #navbarNavAltMarkup{
    height: calc(100vh - (var(--nav-bar-height) + var(--global-notice-height)));
}
.statusDisplay{
    font-size: .8rem;
    display: inline-flex;
    overflow: hidden;
    vertical-align: top;
    flex-direction: row;
    flex-wrap: nowrap;
    align-items: center;
    white-space: nowrap;
}
.statusDisplay > span{
    padding: 0 .5rem;
    display: inline-block;
    max-width: 125px;
    overflow: hidden;
    text-overflow: ellipsis;
}
.statusDisplay > span:empty{
    display:none;
}
.statusDisplay > span + span:not(:empty){
    color: #5c5c5c;
    background-color: #fff;
}
/* Wells */
.well{
    border-radius: 3px;
    margin-bottom: 30px;
}
.tab-pane:not(.tab-group){
    border-bottom-left-radius: 3px;
    border-bottom-right-radius: 3px;
    border-bottom: 1px solid #dee2e6;
}
.well,
.tab-pane:not(.tab-group){
    background: #FFFFFF;
    z-index: 4;
    position: relative;
}
.tab-content:not(.tab-group){
    position: relative;
    z-index: 1;
    border-left: 1px solid #dee2e6;
    border-right: 1px solid #dee2e6;
}

/* Datatables */
.details-control > i.bi{
    font-size: 20px;
    line-height: 30px;
}
.btn-group > .btn:first-child {
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}
.btn-spaced-right{
    margin-right: 20px;
    border-top-right-radius: 3px !important;
    border-bottom-right-radius: 3px !important;
}
.btn-spaced-right + .btn{
    border-top-left-radius: 3px !important;
    border-bottom-left-radius: 3px !important;
}
.filters {
    position: relative;
    margin-left: -25px;
    margin-right: -25px;
}
#filter-form:not(.active){
    display: none;
}
#FiscalYearTable{
    margin-right: 20px;
    display: inline-block;
    width: 90px;
}
select.dropdown-arrow{
    background: transparent url("data:image/svg+xml;utf8,<svg fill='black' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>") no-repeat;
    background-position-x: calc(100% - 3px);
    background-position-y: 7px;
    background-size: 20px;
}
button[data-bs-target="#filter-container"][data-filter]:not([data-filter='0']):after{
    --bs-badge-font-size: 0.75em;
    content: attr(data-filter);
    display: inline-block;
    color: #fff;
    background-color: #222;
    padding: 1px 10px;
    font-size: var(--bs-badge-font-size);
    border-radius: var(--bs-border-radius);
    margin-left: 10px;
    position: relative;
    top: -1px;
}
.filter-form > div{
    padding: 30px;
}
.filter-form > div > .row:last-child{
    margin-top: 20px !important;
}
.filter-container{
    padding: unset;
}
.dt-container .pagination-wrap,
.dt-container .toolbar,
.well tr .dt-container .toolbar,
.well tr .dt-container .pagination-wrap
{
    display: flex;
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
}
.pagination-wrap:empty{
    display: none;
}
.dt-container .toolbar .dropdown-menu{
    max-height: 300px;
    overflow: auto;
}
table.table.dataTable.table-striped>tbody>tr:nth-of-type(2n+1).selected>*,
table.table.dataTable>tbody>tr.selected>*{
    box-shadow: unset !important;
    color: inherit !important;
}

table.dataTable tbody > tr.selected > td, table.dataTable tbody > tr > .selected{
    background-color: rgba(var(--bs-primary-rgb), 15%) !important;
}
div.table-wrap table.dataTable td.child-row {
    padding: 20px !important;
}
th{
    font-weight: 500;
}
table.table.dataTable thead > tr > th,
table.table.dataTable thead > tr > td{
    background-color: var(--bs-primary);
    color: #fff;
}
div.dt-container div.dt-search input{
    width: 300px !important;
    height: 36px;
    border-radius: 40px;
    text-indent: 10px;
}
table.dataTable>tbody>tr.selected input.dt-select-checkbox:checked{
    border: unset !important;
}
table.dataTable input.dt-select-checkbox {
    appearance: auto !important;
    position: unset !important;
    display: unset !important;
    width: unset !important;
    height: unset !important;
    border: unset !important;
    border-radius: unset !important;
    vertical-align: unset !important;
    margin-top: unset !important;
    color: unset !important;
    font-size: unset !important;
    line-height: unset !important;
}
table.dataTable input.dt-select-checkbox:checked:after{
    content: unset !important;
    margin-top: unset !important;
}
.dataTable tfoot:empty {
    /*height: 30px;*/
    /*display: block !important;*/
}
.dataTable tfoot th{
    border-width: 0;
}
.buttons-colvis ~ .dt-button-collection {
    width: 250px !important;
    font-size: 90%;
    line-height: 1.25em;
}
/* Zendesk */
iframe#launcher{
    visibility: hidden;
}

/* Deliverables Table */
#deliverablesSelectionPanelBody thead{
    position: sticky;
    top: 0;
}
#deliverablesSelectionPanelBody div.dt-container div.dt-search input{
    margin-left: unset;
}
#deliverablesSelectionPanelBody div.dt-search{
    margin-bottom: 20px;
}
#deliverablesSelectionPanelBody div.dt-search > label{
    display: none;
}
#deliverablesSelectionPanelBody div.dt-search > input[type=search]{
    width: 100% !important;
}
#deliverablesSelectionPanelBody div.table-wrap{
    border-radius: 3px;
    max-height: calc(100vh - 239px);
    overflow-y: auto;
    overflow-x: hidden;
    border: 1px solid #dee2e6;
}
.modal-backdrop + .offcanvas.show,
.offcanvas-backdrop + .modal.show{
    z-index: 1057;
}
.deliverables-filter{
    gap: 10px;
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
}
.modal-backdrop + .offcanvas.show + .offcanvas-backdrop,
.offcanvas-backdrop + .modal.show + .modal-backdrop{
    z-index: 1056;
}
ul.pagination{
    padding: 0;
    margin: 0;
}
#deliverablesSelectionPanelFooter > .pagination-wrap {
    display: flex;
    width: 100%;
    flex-direction: row;
    justify-content: space-between;
}
/* Editor */

div.DTE div.DTE_Field > label, div.DTE div.DTE_Field > label + div{
    width: 100%;
    color: var(--bs-primary)
}
div.DTE_Field_Type_checkbox > label.col-form-label{
    display: none;
}
div.DTE_Field_Type_checkbox div label.custom-control-inline, div.DTE_Field_Type_radio div label.custom-control-inline{
    margin-left: 0;
}
label[data-dte-e="label"] > span.required{
    color:red;
    padding-left:3px;
}
div.DTE_Field#notice-tags > div{
    display: flex;
    flex-direction: row;
    flex-wrap: wrap;
    gap: 5px;
}
div[data-dte-e="form_content"] > div.DTE_Field.row.col-1,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-2,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-3,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-4,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-5,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-6,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-7,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-8,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-9,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-10,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-11,
div[data-dte-e="form_content"] > div.DTE_Field.row.col-12{
    display: inline-block;
    flex: auto;
    margin-right: 0;
    margin-left: 0;
}
div[data-dte-e="form_content"] > div:not(.DTE_Field){
    --bs-gutter-x: 1.5rem;
    padding-right: calc(var(--bs-gutter-x) * .5);
    padding-left: calc(var(--bs-gutter-x) * .5);
}
input[type=search]{
    background-image: url("data:image/svg+xml;base64,PHN2ZyBoZWlnaHQ9JzMwMHB4JyB3aWR0aD0nMzAwcHgnICBmaWxsPSIjMDAwMDAwIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHZpZXdCb3g9IjAgMCAyMCAyMCIgeD0iMHB4IiB5PSIwcHgiPjxwYXRoIGQ9Ik0xOSAxNy41OWwtNS40LTUuNGE3IDcgMCAxIDAtMS40MSAxLjQxbDUuNCA1LjR6TTggMTNhNSA1IDAgMSAxIDUtNSA1IDUgMCAwIDEtNSA1eiI+PC9wYXRoPjwvc3ZnPg==");
    background-size: 20px;
    background-repeat: no-repeat;
    background-position: center right 10px;
}
/* Drop Down Buttons */
.no-caret:after{
    border: unset;
    margin: unset;
    vertical-align: unset;
    display: unset;
}
.user-timeline-container{
    display: flex;
    flex-wrap: nowrap;
    flex-direction: row;
    justify-content: space-between;
}
input#expand-timeline:not(:checked) + div.timeline-container + .card-footer > label:before{
    content: 'Expand ';
}
input#expand-timeline:checked + div.timeline-container + .card-footer > label:before{
    content: 'Minimize ';
}
input#expand-timeline + .card-footer > label{
    display: none;
}
input#expand-timeline:checked + div.timeline-container{
    max-height: unset !important;
}
input#expand-timeline:checked + div.timeline-container .collapse:not(.show){
    display: block;
}
ul#timelineList > li{
    padding-left: 20px;
    border-left: 5px solid #eaeaea;
    position: relative;
}
.user-timeline-date > button + button {
    margin-left: 10px;
}
ul#timelineList > li + li{
    padding-top: 20px;
}
ul#timelineList > li:before {
    content: '';
    display: block;
    height: 20px;
    width: 20px;
    border: 5px solid #eaeaea;
    border-radius: 50%;
    position: absolute;
    left: calc(0px - (25px / 2));
    background-color: #fff;
}
ul#timelineList > li.collapse.latest:before{
    background-color: #eaeaea;
}
ul#timelineList > li.collapse.current:before {
    background-color: var(--bs-warning) !important;
    border-color: var(--bs-warning) !important;
}
.collapse.latest.not-current-event .user-timeline-title{
    color:unset;
}
.collapse.not-current-event .user-timeline-title,
.collapse.not-current-event .user-timeline-description{
    color:#a7a7a7;
}
div.timeline-container .current-event ~ *{
    display: block;
}
.user-timeline-compact .user-timeline-title{
    font-weight: 600;
}
.reco-state-row{
    --bs-gutter-x: 1.5rem;
    --bs-gutter-y: 0;
    display: flex;
    flex-wrap: wrap;
}
.reco-state-row > .col-4 + .col-4{
    border-left: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.reco-state-row + .reco-state-row > .col-4{
    border-top: var(--bs-card-border-width) solid var(--bs-card-border-color);
}
.editor-container.offcanvas-present{
    top: 0;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: #0000002e;
    z-index: 100;
    position: fixed;
}
.editor-container > .offcanvas > .offcanvas-header{
    border-bottom: 1px solid #dee2e6;
}
.editor-container > .offcanvas > .offcanvas-footer{
    border-top: 1px solid #dee2e6;
}
/* Modal */
div.modal-backdrop.fade.show + div.DTED{
        z-index: 1056;
        position: relative;
}
/* Notifications */
#notification-container{
    max-height: 200px;
    overflow: auto;
}
#notification-container a.dropdown-item{
    display: block;
}

/* Notifications */
#notification-container a.dropdown-item > span{
    max-width: 250px;
    text-overflow: ellipsis;
    overflow: hidden;
    display: block;
}

/* --------------------------------------------------
    importERrorTable
   css is required for backwards compatibility. The tables are generated in a a standard
   ams composer class that supports code with both bootstrap4 and boostrap5
----------------------------------------------------- */
#importErrorTable thead tr {
    background-color: var(--bs-dark);
    color: var(--bs-white);
}
#importErrorTable tr th, #importErrorTable tr td {
    padding: 5px;
    border: 1px solid var(--bs-gray-400);
}