/*
 Theme Name:   PublicEntity
 Template:     dictum
 Description:  Child theme for Dictum
 Author:       Public Entity
 Version:      1.0
*/

/**** Home Accordion Styles ****/

/* Height of accordion*/
@media only screen and (max-width: 1512px) {
  .qodef-horizontal-accordion-showcase.qodef--min-height {
    min-height: 700px;
  }
}
  

/* Normalize and align accordion numbers (01, 02, 03) to consistent width and style */
.qodef-m-title::before {
  display: inline-block;
  text-align: center; /* Centers the number visually */
  font-variant-numeric: tabular-nums; /* Enables monospaced digits if supported by font */
  
}

.qodef-horizontal-accordion-showcase .qodef-m-header .qodef-m-title::before {
  color: rgba(255, 255, 255, 0.35); /* White color with 70% opacity */

}


/* Override border colors between panels */
.qodef-horizontal-accordion-showcase .qodef-m-header {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}

/* Override last border on right */
.qodef-horizontal-accordion-showcase .qodef-m-item:last-of-type .qodef-m-header {
  border-right: 1px solid rgba(255, 255, 255, 0.35);
}


/**** Override Content Bottom Above footer *****/
#qodef-page-content-bottom {
  background-color: #00478c;
}


/**** Override About Us History of Company Slider ****/


/* Year */
.qodef-thumbnail-slider.qodef-layout--standard .qodef-m-year {
  color: #004f9c;
}

/* Active Bar */
.qodef-thumbnail-slider.qodef-layout--standard .qodef-active-line {
  background-color: #00478c;
}

/* Inactive Bar */
qodef-thumbnail-slider.qodef-layout--standard .qodef-m-thumbnails-holder::before {
  background-color: rgba(0, 71, 140, 0.17);
}

/* Hypen before year */
.qodef-thumbnail-slider.qodef-layout--standard .qodef-m-title::before {
  background-color: ;

}



/* HEADER Style only the textual button inside custom 'header-partner-light' section */

.header-menu ul:not(.wp-block) {
  margin: 0 0 0 !important;
}



/*** Scoped Scrollbar Styling for Notable Litigation
   Applies ONLY within the 'notable-litigation-home' section
    ***/

/* Outer wrapper (no scrolling itself, just a frame) */
.notable-litigation-home .litigation-scroll {
  max-height: 400px;         /* desired scrollable area height */
  overflow: hidden;          /* outer container doesn’t scroll */
  box-sizing: border-box;
  position: relative;        /* ensures internal positioning works */
}

/* Inner scrollable content */
.notable-litigation-home .litigation-scroll .scroll-content {
  max-height: 100%;          /* fill the outer container height */
  overflow-y: auto;          /* only this inner area scrolls */

  box-sizing: border-box;    /* include padding in size */
  scrollbar-gutter: stable;  /* reserve space for scrollbar */
}

/*** Scrollbar styling ***/

/* Firefox */
.notable-litigation-home .litigation-scroll .scroll-content {
  scrollbar-width: thin;                      /* slim scrollbar */
  scrollbar-color: #a09a93 #e4e0dc;           /* thumb and track */
}

/* WebKit browsers (Chrome, Safari, Edge) */
.notable-litigation-home .litigation-scroll .scroll-content::-webkit-scrollbar {
  width: 6px;
}

.notable-litigation-home .litigation-scroll .scroll-content::-webkit-scrollbar-track {
  background: #e4e0dc;                        /* track color */
}

.notable-litigation-home .litigation-scroll .scroll-content::-webkit-scrollbar-thumb {
  background: #a09a93;                        /* thumb color */
  border-radius: 4px;
}

.notable-litigation-home .litigation-scroll .scroll-content::-webkit-scrollbar-thumb:hover {
  background: #7a736c;                        /* hover color */
}

/* Reserve space for scrollbar so it doesn’t overlap text */
.notable-litigation-home .litigation-scroll .scroll-content {
  scrollbar-gutter: stable both-edges;
  padding-right: 15px; /* your design padding */
}

/* Reserve space for scrollbar so it doesn’t overlap text */
.notable-litigation-home .qodef-button.qodef-layout--textual {
  margin-top: 10px !important;
}



/*** Sticky Header ***/
.sticky-header {
 opacity: 0;
 -moz-transition: opacity .25s ease-out!important;
  -webkit-transition: opacity .25s ease-out!important;
  transition: opacity .25s ease-out!important;
	margin-top:0px !important;
}

.elementor-sticky--effects.sticky-header  {
 opacity: 1!important;
	margin-top:0px !important;
}

