/*
 * This file is used to override the default styles for the PA theme.
*/
.overflow-hidden{
    overflow: hidden;
}
.bg-white {
    background-color: #ffffff;
}
.strong{
    font-weight: bold;
}
.d-flex{
    display: flex;
}
.justify-content-between{
    justify-content: space-between;
}
.justify-content-end{
    justify-content: flex-end;
}
.justify-content-start{
    justify-content: flex-start;
}
.justify-content-center{
    justify-content: center;
}
.justify-content-stretch{
    justify-content: stretch;
}
.align-items-center{
    align-items: center;
}
.align-items-start{
    align-items: flex-start;
}
.align-items-end{
    align-items: flex-end;
}
.align-items-stretch{
    align-items: stretch;
}
.flex-fill{
    flex: 1 1 auto;
}
.flex-wrap{
    flex-wrap: wrap;
}
.gap-0-5{
    gap: 0.5rem;
}
.gap-1{
    gap: 1rem;
}
.gap-2{
    gap: 2rem;
}
.w-100{
    width: 100%;
}
.h-100{
    height: 100%;
}
.font-normal{
    font-weight: normal !important;
}
#mb-pnl .modal-title, #mb-pnl .mfp-close{
    color: #000;
}
#mb-pnl .mfp-close:focus{
    outline-color: #000;
}
 .blog-content img{
    max-width: 100% !important;
    height: auto !important;
 }
.padding-0 {
    padding: 0 !important;
}
.margin-0 {
    margin: 0 !important;
}
.mt-0{
    margin-top: 0 !important;
}
.mt-2{
    margin-top: 0.5rem !important
}
.mt-3{
    margin-top: 1rem !important
}
.mt-4{
    margin-top: 1.5rem !important;
}
.mt-5{
    margin-top: 2rem !important;
}
.mt-6{
    margin-top: 2.5rem !important;
}
.mt-7{
    margin-top: 3rem !important;
}
.mt-8{
    margin-top: 3.5rem !important;
}
.mb-0{
    margin-bottom: 0 !important;
}
.mb-0-5{
    margin-bottom: 0.5rem !important;
}
.mb-1{
    margin-bottom: 1rem !important;
}
.mb-1-5{
    margin-bottom: 1.5rem !important;
}
.mb-c-2{
    margin-bottom: 2rem !important;
}
.pt-2{
    padding-top: 0.5rem !important;
}
.text-break {
    word-wrap: break-word;
    word-break: break-word;
  }
#wb-sm h2 {
    color: white !important;
}
.btn.disabled, .btn[disabled], fieldset[disabled] .btn {
    cursor: not-allowed;
    opacity: 1;
    background-color: #263441;
}
.help-block {
    color: #4A4A4A !important;
}
.help-block ul.list-unstyled{
    margin-top: 30px !important;
}
.text-bold {
    font-weight: bold;
}
.form-group-p-headline{
    display: inline-block;
    max-width: 100%;
    margin-bottom: 5px;
    font-weight: bold;
}
.form-group-p-headline.control-label.c-required:before{
    content: "* ";
    margin-left: -0.665em;
    color: #d3080c;
    font-weight: 700;
}
legend.control-label.mb0 {
    margin-bottom: 0 !important;
}
.user-profile-title{
    margin-top: 38px;
    font-size: 34px;
    font-weight: 700;
    margin-bottom: 11.5px;
    line-height: 1.1;
    font-family: inherit;
}
.alert-text {
    color: #A2180B;
}
.caption-title {
    width: 100%;
    background-color: #455664;
    margin-bottom: 0;
    padding: 10px 10px 8px 10px;
    color: #fff;
    text-align: start;
    font-weight: 400;
}
caption:not(.caption-title) {
    margin-bottom: 1rem;
}
/* Fix placeholder text contrast for accessibility */
::placeholder {
    color: #4A4A4A !important; /* Darker gray for excellent contrast */
    opacity: 1; /* Firefox requires this */
}

::-webkit-input-placeholder {
    color: #4A4A4A !important; /* Webkit browsers */
}

:-ms-input-placeholder {
    color: #4A4A4A !important; /* IE/Edge */
}

/* Ensure all form inputs have proper placeholder contrast */
.form-control::placeholder {
    color: #4A4A4A !important;
}
#refine-search-container .multiinput-input .form-control {
    width: 100%;
}

/*
 * This is the default style for the active tab in the side navigation menu of profile.
 */
nav#wb-sec ul.list-group.menu li a.list-group-item.wb-navcurr,
nav#wb-sec ul.list-group.menu li a.list-group-item:focus {
    position: relative; /* make pseudo-element relative to the tab */
    font-weight: bold;
    color: #fff !important;
}
 
nav#wb-sec ul.list-group.menu li a.list-group-item.wb-navcurr::after,
nav#wb-sec ul.list-group.menu li a.list-group-item:focus::after {
    content: "";
    position: absolute;
    top: 4px;    /* space from top edge */
    left: 4px;   /* space from left edge */
    right: 4px;  /* space from right edge */
    bottom: 4px; /* space from bottom edge */
    border: 2px solid #fff; /* thin white border */
    pointer-events: none; /* let clicks pass through */
}
nav#wb-sec ul.list-group.menu li a.list-group-item:hover{
    color: #fff !important;
}
#summary-report-table .rwstotals-header{
    margin-top: 0;
}
#summary-report-table table{
    margin-bottom: 0px;
}
#summary-report-table tbody td{
    padding-top: 4px;
    padding-bottom: 4px;
}
/*
 * This is the default style for the active tab in the side navigation menu of profile.
*/
.rwstotals-table {
    margin-bottom: 20px;
    width: 100%;
}
  
.rwstotals-table th,
.rwstotals-table td {
    padding: 8px 12px;
    border: 1px solid #ddd;
}
  
.rwstotals-table th {
    background-color: #f5f5f5;
    font-weight: bold;
}
  
.rwstotals-table .text-left {
    text-align: left;
}
  
.rwstotals-table .text-right {
    text-align: right;
}

.h4.sub-title{
    padding-bottom: 20px;
}
.panel.panel-wrapper .panel-body{
    padding: 0;
    border: 1px solid #ddd;
}
.panel-item{
    padding: 10px;
}
.panel-heading{
    background-color: #455664;
    color: #fff;
}
.panel-heading-title, .panel-item-title{
    margin-top: 0;
}
.panel-heading-title{
    margin-bottom: 0;
}
.panel-item-title{
    margin-bottom: 0.25rem;
}
.panel-item:nth-of-type(even){
    background-color: #fff;
}
.panel-item:nth-of-type(odd){
    background-color: #f5f5f5;
}

.panel-item-block{
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2.5px;
    padding-bottom: 2.5px;
}
.panel-item-block p{
    margin-bottom: 0;
}


#history-table-wrapper{
    position: relative;
    display: flex;
    justify-content: start;
    align-items: start;
}
/*navbar*/
#history-navbar.navbar-wrapper {
    z-index: 2;
    width: 100px;
    max-width: 6rem;
    background-color: #455664;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all .3s ease;
    border-radius: 0;
    border: 1px solid #455664;
    /* position: absolute;
    top: 0;
    left: 0; */
}
#history-table-wrapper .history-datatable-wrapper{
    width: calc(100% - 6rem);
}
#history-navbar.navbar-wrapper .navbar-container .navbar-header-wrapper{
    padding: 10px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #fff;
}
#history-navbar.navbar-wrapper .navbar-container .navbar-header-wrapper .navbar-header-title{
    margin-bottom: 0;
}
#history-navbar.navbar-wrapper .navbar-container .navbar-header-wrapper .navbar-toggler {
    background-color: transparent;
    border-color: transparent;
    color: #fff;
    transition: .2s ease-in-out;
}

#history-navbar.navbar-wrapper .navbar-container .navbar-header-wrapper .navbar-toggler:hover {
    background-color: #fff;
    color: #394A59;
}
#history-navbar.navbar-wrapper .menu-list-title-wrapper {
    font-size: 90%;
    padding-top: 5px;
    padding-bottom: 5px;
}
#history-navbar.navbar-wrapper .menu-list-title-wrapper,
#history-navbar.navbar-wrapper .menu-list .menu-item .menu-link{ 
    padding-left: 10px;
    padding-right: 10px;
}
#history-navbar.navbar-wrapper:not(.active) .menu-list-title-wrapper,
#history-navbar.navbar-wrapper:not(.active) .menu-list .menu-item .menu-link{ 
    padding-left: 2.5px;
    padding-right: 2.5px;
}
/*menu list*/
#history-navbar.navbar-wrapper .menu-list {
    display: flex;
    flex-direction: column;
    width: 100%;
}

#history-navbar.navbar-wrapper .menu-list .menu-item {    
    width: 100%;
}
#history-navbar.navbar-wrapper .menu-list .menu-item  .menu-link{    
    display: flex;
    align-items: start;
    justify-content: start;
    gap: 0.7rem; 
    transition: 0.2s ease-in-out; 
    color: #fff;
    text-decoration: none;
    padding-top: 10px;
    padding-bottom: 10px;
}
#history-navbar.navbar-wrapper .menu-list .menu-item:not(:last-child){
    border-bottom: 1px solid #fff;
}

#history-navbar.navbar-wrapper .menu-list .menu-item  .menu-link:hover,
#history-navbar.navbar-wrapper .menu-list .menu-item  .menu-link:hover
{
    color: #dce4e3; 
}

#history-navbar.navbar-wrapper.active .menu-list .menu-item  .menu-link.active {
   background-color: #394A59;
}

#history-navbar.navbar-wrapper:not(.active) i.fa {
    font-size: 2rem;
}
#history-navbar.navbar-wrapper:not(.active) .navbar-container .navbar-header-wrapper{
    justify-content: center;
} 
#history-navbar.navbar-wrapper:not(.active) .navbar-container .navbar-header-wrapper .navbar-header-title{
    display: none;
}
#history-navbar.navbar-wrapper:not(.active) .menu-list-title-wrapper{
   text-align: center;
}
#history-navbar.navbar-wrapper:not(.active) .menu-list-title{
    display: none;
}
#history-navbar.navbar-wrapper:not(.active) .menu-link-text{
    display: none;
}
#history-navbar.navbar-wrapper:not(.active) .menu-link-text-version-number{
    display: block;
    font-size: 14px;
}
#history-navbar.navbar-wrapper:not(.active) .menu-list .menu-item .menu-link{
    flex-direction: column;
    text-align: center;
}
#history-navbar.navbar-wrapper:not(.active) .menu-link-content-wrapper{
    width: 100%;
}
#history-navbar.navbar-wrapper:not(.active) .menu-link-img-wrapper{
    width: 100%;
}
#history-navbar.navbar-wrapper.active {
    width: 350px; 
    max-width: 20%; 
}
#history-navbar.navbar-wrapper.active .menu-link-text{
    display: block;
}
#history-table-wrapper .table tbody tr.different > td{
    background-color: #FFE746;
}
fieldset#shortage_anticipated_start_date,
fieldset#shortage_actual_start_date,
fieldset#shortage_estimated_end_date,
fieldset#shortage_actual_end_date{
    padding-top: 0;
    margin-bottom: -15px;
}
fieldset#shortage_anticipated_start_date legend,
fieldset#shortage_actual_start_date legend,
fieldset#shortage_estimated_end_date legend,
fieldset#shortage_actual_end_date legend{
    margin-top: 0 !important;
}
#refine-search-container.search-page .form-group:nth-child(3),
#refine-search-container.api-search-page form div .form-group:nth-child(1),
#refine-search-container.api-search-page form div .form-group:nth-child(2),
#refine-search-container.search-page .form-group:nth-child(4),
#refine-search-container.search-page fieldset#date_range_date_range_start .form-row .form-group{
    padding-bottom: 0 !important;
}

.app-logo{
    width: 350px;
    max-width: 100%;
    height: auto;
}
#dpd_import_settings_import_date-p-label,
fieldset#blog_post_publish_date legend,
fieldset#maintenance_banner_start_date legend,
fieldset#maintenance_banner_end_date legend{
    padding-bottom: 10px;
    border-bottom: 1px solid #ddd !important;
    display: block;
    font-weight: bold;
}

fieldset#dpd_import_settings_import_time,
fieldset#dpd_import_settings_import_date{
    border-top: none;
}
#blog_post .checkbox{
    margin-top: -15px;
}
nav#sec-pnl h3,
nav#sec-pnl summary{
    color: #000;
}
@media screen and (max-width: 991px) {
    .app-logo{
        width: 250px;
    }
    #wb-glb-mn ul.pnl-btn {
        top: 80px;
    }
}
@media screen and (max-width: 767px) {
    .app-logo{
        width: 200px;
    }
    #wb-glb-mn ul.pnl-btn {
        top: 70px;
    }
    #history-table-wrapper{
        flex-direction: column;
    }
    #history-navbar.navbar-wrapper.active{
        width: 100%;
        max-width: 100%;
    }
    #history-table-wrapper .history-datatable-wrapper{
        width: 100%;
        margin-top: 3rem;
    }
    #history-navbar.navbar-wrapper .navbar-container .navbar-header-wrapper .navbar-toggler{
        display: none;
    }
}
@media screen and (max-width: 575px) {
    .button-height span {
        max-width: 100%;
    }
    .button-height button{
        float: unset !important;
    }
}