/*.formbackground {
background-image: url("/formbackground.png") !important;
background-repeat: round !important;
height: 628px;
padding: 0px !important;
    display: flex !important;
    flex-wrap: none !important;
 }*/

* {
   outline: none;
   font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

html {
   overflow-y: scroll;
}

/* -------------------------------------- Custom Styles ----------------------- */

.headerbg {
   background-image: url("/header bg.png");
   background-size: cover;
   background-repeat: repeat-y;
   min-height: 64px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
}

.page-copy {
   background-image: url("/Portal-bg.png");
   background-repeat: no-repeat;
   background-size: auto;
   background-position-x: right;
   background-position-y: -100px;
   min-height: 735px;
}

@media (max-width: 768px) {
  .page-copy {
    background-image: none !important;
  }
}

.page-copy.no-value {
   min-height: auto !important;
}

.signinpage {
   background-image: url("/Portal-bg.png");
   background-repeat: no-repeat;
   background-size: auto;
   background-position-x: right;
   background-position-y: -100px;
   min-height: 735px !important;
   padding-top: 20px;
}

#content {
   background-color: rgba(255, 255, 255, 0.9) !important;
   border-radius: 15px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
   padding: 20px;
   margin-top: 20px;
}

/*.watermark {
   position: absolute;
   top: 0;
   left: 0;
   width: 100%;
   height: 100%;
   background: url('/background1.png') center center no-repeat;
   background-size: contain;
  /* z-index: -1;
}*/

.sectionBlockLayout {
   position: relative;
   z-index: 1;
}

/* Responsive adjustments 
 @media (max-width: 768px) {
   .watermark {
     background-size: contain;
     opacity: 0.3;
   }
 }*

 @media (max-width: 480px) {
   .watermark {
     background-size: 80%; 
     opacity: 0.4;
   }
 }*/

.footertext {
   color: #884616 !important;
   text-align: left;
   font-size: 12px;
   font-weight: 600;
   padding-left: 11px;
}

.logoimg {
   width: 203px !important;
   height: 66px !important;
}


/*.footerimg{
   display: inline;  
   width:104px;
   height:35;
}*/

#mainContent .crmEntityFormView,
.entitylist {
   color: #595959 !important;
   background-color: rgba(255, 255, 255, 0.8) !important;
   border-radius: 15px;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.5);
   padding: 20px;
}

#mainContent .container.mmtUnauthUser {
   background-color: rgba(255, 255, 255, 0.8) !important;
}

/* START: Abrie css */

form#content_form .crmEntityFormView {
   border: none;
   box-shadow: none;
   padding: 0px;
}

h1.siteTitle {
   margin-bottom: 0px;
   margin-top: 10px;
}

.sectionBlockLayout .columnBlockLayout {
   margin-top: 0px !important;
}

/* END: Abrie css */

.entity-grid {
   box-shadow: none;
   background-color: none;
}

.DMSHeader {
   background-color: rgba(0, 93, 40, 0.1) !important;
   box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

/* ------------------------- Bootstrap overrides --------------------------------- */
label {
   font-weight: 600 !important;
   color: #595959 !important;
   font-size: 0.9rem;
}

.list-group-item {
   color: #595959 !important;
   display: flex;
   gap: 15px;
   /* Adjust spacing */
   background-color: transparent !important;
   margin-right: 20px;
}

.list-group-item.active {
   z-index: 0;
   color: #EF4718 !important;
   background-color: transparent;
   border: none;
   font-weight: bold;
}

.list-group-item-success {
   border: none;
   color: #ABCAB8;
}

.list-group-item-success .number {
   z-index: 0;
   color: var(--bs-list-group-active-color);
   background-color: #ABCAB8;
   border-radius: 25px !important;
   text-align: center;
   width: 30px;
   height: 30px;
   display: inline-block;
}

ol.progress li span.fa-check {
   color: #ABCAB8;
   font-size: 1.3rem;
   padding-top: 5px;
}

.list-group-item.active .number {
   z-index: 0;
   color: var(--bs-list-group-active-color);
   background-color: #EF4718;
   border-radius: 25px !important;
   text-align: center;
   width: 30px;
   height: 30px;
   display: inline-block;
}

.list-group-item.incomplete .number {
   z-index: 0;
   color: var(--bs-list-group-active-color);
   background-color: #DCDCDC;
   border-radius: 25px !important;
   text-align: center;
   width: 30px;
   height: 30px;
   display: inline-block;
}

/* uncomment this when there are more than 2 steps in the portal */
/*.list-group-item.incomplete .number:last-child
{
   background-color:#ffffff;
   color:#afafaf;
   border:1px dashed #afafaf;
}*/

.progress {
   --bs-progress-height: 1rem;
   --bs-progress-font-size: 0.75rem;
   --bs-progress-bg: transparent;
   --bs-progress-bar-color: transparent;
   --bs-progress-bar-transition: width 0.6s ease;
   display: flex;
   overflow: hidden;
}

.nav-account {
   margin-top: 0;
}

.modal-dialog {
   box-shadow: 0 5rem 5rem rgba(0, 0, 0, 0.8);
   z-index: 100000000 !important;
   --bs-modal-zindex: 100000000 !important;
}

/*  
.modal-backdrop {
    
    --bs-backdrop-bg: #000;
    --bs-backdrop-opacity: 0.5;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: var(--bs-backdrop-bg);
}

.modal {
   --bs-modal-zindex: 1055;
   --bs-modal-width: 500px;
   --bs-modal-padding: 1rem;
   --bs-modal-margin: 0.5rem;
   --bs-modal-color: ;
   --bs-modal-bg: #fff;
   --bs-modal-border-color: var(--bs-border-color-translucent);
   --bs-modal-border-width: 1px;
   --bs-modal-border-radius: 0.5rem;
   --bs-modal-box-shadow: 0 0.125rem 0.25rem rgba(0, 0, 0, 0.075);
   --bs-modal-inner-border-radius: calc(0.5rem - 1px);
   --bs-modal-header-padding-x: 1rem;
   --bs-modal-header-padding-y: 1rem;
   --bs-modal-header-padding: 1rem 1rem;
   --bs-modal-header-border-color: var(--bs-border-color);
   --bs-modal-header-border-width: 1px;
   --bs-modal-title-line-height: 1.5;
   --bs-modal-footer-gap: 0.5rem;
   --bs-modal-footer-bg: ;
   --bs-modal-footer-border-color: var(--bs-border-color);
   --bs-modal-footer-border-width: 1px;
   position: fixed;
   top: 0;
   left: 0;
   z-index: var(--bs-modal-zindex);
   display: none;
   width: 100%;
   height: 100%;
   overflow-x: hidden;
   overflow-y: auto;
   outline: 0;
}*/

/* Change nav-link color only when collapsed (i.e., on smaller screens) 
@media (max-width: 1200px) {
  .navbar-dark .navbar-nav > li > a, .navbar-dark .navbar-nav > li.dropdown > a {
    color: red !important; /
  }
  .navbar-nav>li>a
  {
      line-height:1 !important;
      padding-top:10px !important;
  }
    .navbar-collapse {
    text-align: right;
  }

  .navbar-nav {
    margin-left: auto;
    margin-right: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
  }

  .nav-item {
    width: auto;
  }

  .navbar-collapse {
    background-color: #00ff00; 
    padding: 1rem;
    margin-top: 0.2rem;
    border-radius: 0.375rem;
  }
}*/
@media (max-width: 1200px) {
  .navbar-dark .navbar-nav > li > a, .navbar-dark .navbar-nav > li.dropdown > a {
    color: #531A17 !important; /* Set your desired color */
  }
  .static-top.navbar .menu-bar > .navbar-nav > li > a {
    font-family: Helvetica;
    font-weight: 600 !important;
    font-size: 14px;
    border: 1px solid transparent;
}
  
.static-top .navbar-collapse .nav > .divider-vertical {
        display: inline;
    }
  .navbar-nav {
    display: flex;
    flex-direction: row;
  }

  #navbar
  {
   max-height:400px !important;
  }

  .navbar-nav > .divider-vertical {
    height: 21px;
    margin: 0 4px;
    margin-top: 10px;
    border-right: 1px solid #874515;
    border-left: 1px solid #825B32;
}

   /* Target the collapsed navbar */
  .navbar-collapse {
    background-color:transparent; /* Your desired background */
    padding: 1rem;
    margin-top: 0.1rem;
    border-radius: 0.375rem;
  }
  .dropdown-menu > li > a {
    display: block;
    padding: 3px 20px;
    clear: both !important;
    white-space: nowrap;
    width: auto;
}
}

/* ---------------------------------- theme.css ------------------------------------- */




/* --------------------------------- preform bootstrap overrides ------------------------ */

ol.progress.list-group.top {
   font-size: 16px;
}

/*ol.progress.top
{
   background-image: url('/Line 5.png');
   background-repeat: repeat-x;
   background-position-y: 20px;
   z-index: 0;
}*/

input.form-control {
   border: 1px solid #E8E8E8;
}

ol.progress li.incomplete {
   background: 0 0;
   border: 1px solid transparent;
}

ol.progress li span.number {
   padding-right: 0 !important;
   padding-top: 2px;
}

.form-control:focus,
.form-select:focus {
   border: 1px solid #b3b3b3;
   box-shadow: none;
}

.dropdown-item:hover,
.dropdown-item:focus {
   --bs-dropdown-link-hover-bg: #ff00ff !important;
}

/* -------------------------- portalbasic overrides --------------------- */

h2.login-heading-section {
   color: #884616;
}

.form-control {
   background-color: #FFFFFF !important;
   color: #595959 !important;
}

.static-top.navbar .menu-bar>.navbar-nav>li>a:hover,
.static-top.navbar .menu-bar>.navbar-nav>li>a:active,
.static-top.navbar .menu-bar>.navbar-nav>li>a:focus {
   background-color: transparent;
}

.navbar-dark .navbar-nav .show.dropdown-menu>li>a:hover {
   background-color: transparent !important;
   color: #ffffff !important;
}

.columnBlockLayout {
   margin-top: 20px !important;
   margin-bottom: 10px !important;
   padding: 8px !important;
}

/* -------------------------------- browser overrides ----------------------------- */

input:focus,
input:active {
   background-color: #ffffff !important;
}


/* ------------------------------------------- Accordion styles ------------------------- */
.accordion {
   --bs-accordion-color: #005D28;
   --bs-accordion-bg: transparent;
   --bs-accordion-border-color: var(--bs-border-color);
   border: none;
   border-bottom: 1px solid;
   --bs-accordion-btn-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23CA9831'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
   --bs-accordion-btn-active-icon: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23ffffff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
   --bs-accordion-btn-color: #005D28;
   --bs-accordion-btn-bg: var(--bs-accordion-bg);
   --bs-accordion-btn-focus-border-color: transparent;
   --bs-accordion-active-color: #ffffff;
   --bs-accordion-active-bg: #DACEB6;
}

.accordion {
   border: none;
}

.accordion {
   --bs-accordion-btn-focus-box-shadow: none;
   /* Removes the focus box shadow. Not recommended to remove this. */
   --bs-accordion-btn-focus-border-color: transparent !important;
   /* Sets the border color. accordion-button doesn't have a border by the way. */
}

.accordion-button:not(.collapsed) {
   box-shadow: none;
}

.accordion-button:focus {
   outline: none !important;
   box-shadow: none !important;
}

.accordion-button {
   font-size: 1.2rem;
   color: var(--bs-accordion-btn-color);
   text-align: left;
   border: 0;
   border-radius: 0;
   overflow-anchor: none;
   transition: var(--bs-accordion-transition);
}

.accordion-item {
   color: var(--bs-accordion-color);
   background-color: var(--bs-accordion-bg);
   border: none;
   border-bottom: 1px dashed #B5B5C3;
}

.accordion-item:last-child {
   border-bottom: none;
   margin-bottom: 30px;
}


div.accordion-item>.collapse:not(.show) {
   display: block;
   opacity: 0;
   overflow: hidden;
   height: 0;
}

.modal-backdrop {
   display: none;
}

/*Suzi to implement actual fix*/
