/*
########## PBSC SNIPPET STYLES READ ME ##########

This style sheet is a living document. It's purpose is to provide a dedicated stylesheet to our creative snippets. This is intended to be a resource shareable via http.

Please repsect the structure and formatting of this file and do not create your own. Conform to what has been established and please consult me if you wish to alter the structure or format of this sheet. -1/31/25-JD

**When updating this sheet, USE RELATIVE UNITS, not fixed units like px. A fixed unit referecne shuld be a clear indicator of a style that has not been update yet.

The intended structure of this sheet is to be as follows when complete:

1. FONT file LINKAGE
2. BASE ELEMENTS
3. CLASSES (by section/page/module)
4. ID's (by section/page/module)
5. MEDIA QUERIES (by section/page/module)

~ JD 10/17/25

########## END OF LINE ##########
*/


/* ################################################################################################# */
/* --------------------------------------- PBSC3 Link List --------------------------------------- */
/* ################################################################################################# */

section.pbsc3-link-list
{
	
	background-color: var(--Light_Gray_Background);
    padding: 2rem;
    border: .062rem solid var(--Medium_Blue);
    border-radius: .25rem;
	
	.description {
		margin-bottom: 0;
	}
	.link-list-container {
		display: flex;
		flex-direction: column;
		list-style: none;
		padding-left: 0;
		margin-bottom: 0;
		background-color: var(--Light_Gray_Background);
		padding: 2rem;
		border: .062rem solid var(--Medium_Blue);
		border-radius: .25rem;
		
		ul {
			list-style-type: disc;
			padding-left: 1rem;
			
			li {
				padding-left: 0;
				line-height: 2rem;

				a {
					display: inline-block;
					line-height: 1.3;
					vertical-align: middle;
					margin-top: 0;
					margin-bottom: 0;
					padding-top: 0;
					padding-bottom: 0;
					text-decoration: none;
					font-weight: 600;
				}
			}
			
			li::before {
				content: "";
				margin-right: .5rem;
			}
		}
		
	}
}

/* Turning this style off as I do not see an impact in doing so. Existing collapsing is seeing to that already and I am not sure why this exists. If need be I will re-activate.  - JD 9/22/26 */
section.pbsc3-link-list .snippet-content > div {
	/*margin-bottom: 1rem;*/
}
section.pbsc3-link-list [class*="inline-column-"] > * {
	margin-top: 0;
	padding-top: 0;
}
section.pbsc3-link-list [class*="inline-column-"] > ul {
	padding-left: 1rem;
}


@media (max-width: 500px) {
	section.pbsc3-link-list {
		li {
			margin: 1rem 0;
		}
	}
}

@media (max-width: 630px) {
	section.pbsc3-link-list .link-list-container {
		padding: 1rem;
	}

}
@media (max-width: 768px) {
	section.pbsc3-link-list .link-list-container ul.pbsc3-dynamic-links li::before {
		width: revert;
		height: revert;
		top: revert;
	}
}
@media (min-width: 1025px) {
	section.pbsc3-link-list .link-list-container ul {
		display: revert;
		column-count: 2;
		column-gap: 2rem;
	}
}



/* ################################################################################################# */
/* --------------------------------------- PBSC3 2-Column Wysiwyg ---------------------------------- */
/* ################################################################################################# */
/* -- 
	This style supports the positioning of iframes and images when thwey are the sole content of the second col of the 2-col wysiwg to balance out the layout.
	This may need to be applied to the text wrap snippet as well, not sure at this time. - JD
-- */

section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(2) .col-two.snippet-content > p:has(> iframe:only-child, > img:only-child) {
	margin: auto;/* Chnages from 0 to auto in lightof placement? - JD 11-17-26 */
	font-size: 0;
	width: 100%;
	text-align: center;
}

section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(2) .col-two.snippet-content > :not(p, h2, h3, h4, h5, h6):first-child:has(> iframe:only-child, > img:only-child) {
    margin: 0;
}




section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(1) .col-one.snippet-content,
section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(2) .col-two.snippet-content {
	height: 100%;
	display: flex;
	flex-flow: column;
}






/* ################################################################################################# */
/* --------------------------------------- PBSC3 3-Column Wysiwyg ---------------------------------- */
/* ################################################################################################# */

.pbsc3.ou-three-col-wysiwyg {
	.three-col-parent-revised {
		margin-top: 2rem;
	}
}





/* ################################################################################################# */
/* --------------------------------------- PBSC3 Full-Width Flood Fill ----------------------------- */
/* ################################################################################################# */
section.pbsc3.fullwidth-floodfill {
	margin: 0;
	padding: 4rem 0;
}


section.pbsc3.fullwidth-floodfill h2 {
	margin-top: 0;
}
.fullwidth-floodfill {
	position: relative;
	z-index: 1;
	color: var(--White);
}
.fullwidth-floodfill::before {
	content: "";
	position: absolute;
	top: 0;
	bottom: 0;
	left: 50%;
	width: 100vw;
	transform: translateX(-50%);
	z-index: -1;
}


/* Light Grey */
.fullwidth-floodfill.theme-light-gray {
	color: #333;
}
.theme-light-gray h2, .theme-light-gray h3, .theme-light-gray h4 {
	color: #212121;
}
.theme-light-gray::before {
	background: #f4f4f4;
}

/* Quantum BLue */
section.pbsc3.fullwidth-floodfill.theme-quantum-blue .pbsc3-primary-button a {
    color: var(--Dark_Teal_Green);
}
section.pbsc3.fullwidth-floodfill.theme-quantum-blue .pbsc3-primary-button a:hover {
    color: var(--White);
}
.theme-quantum-blue h2, .theme-quantum-blue h3, .theme-quantum-blue h4 {
	color:var(--White);
}
.theme-quantum-blue::before {
	background: #10578e;
}

/* Navy Blue */
.theme-navy-blue h2, .theme-navy-blue h3, .theme-navy-blue h4 {
	color:var(--White);
}
.theme-navy-blue::before {
	background: #27336c;
}




@media (max-width: 767px) {
	section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(2) .col-two.snippet-content > p:has(> iframe:only-child, > img:only-child) > iframe,
	section.pbsc3.ou-two-col-wysiwyg .col-12.col-md-6:nth-child(2) .col-two.snippet-content > p:has(> iframe:only-child, > img:only-child) > img{
		width: 100%;
	}
}

@media (max-width: 768px) {
		section.pbsc3-link-list .link-list-container ul.pbsc3-dynamic-links li::before {
		width: revert;
		height: revert;
		top: revert;
	}

}

@media (min-width: 1025px) {
	section.pbsc3-link-list .link-list-container ul {
		display: revert;
		column-count: 2;
		column-gap: 2rem;
	}
}

/* ################################################################################################# */
/* --------------------------------------- PBSC3 Accordion ----------------------------- */
/* ################################################################################################# */

.pbsc3-accordion {
	padding-bottom: 1rem;
	padding-top: 0;

	.accordion-header-primary {
		padding-top: 0;
		margin-top: 0;
		/*height: 0;*/
		flex-flow: column;
	}

	.accordion-header-primary,
	.accordion-item:last-of-type {
		border-color: #dcdde0;
	}
	.accordion-header {
		padding: 0 1rem;
	}
	.accordion-panel-heading h3 {
		margin: 0;
	}
	.accordion-button > .material-symbols-outlined {
		font-size: 0;
	}
	.accordion-button > .material-symbols-outlined::before {
		content: "arrow_drop_down";
		font-size: 2.5rem;
		color: var(--EWS_Secondary);
	}
	
	.accordion-panel-heading img {
		width: 2.75rem;
		height: 2.75rem;
		max-width: 2.75rem;
		max-height: 2.75rem;
		margin-right: 0.5rem;
		-o-object-fit: contain;
		object-fit: contain;
	}	
	
	
	
#PBSC_EWS.main .accordion-item {
    border-right: 0.085rem solid #dcdde0;
    border-left: 0.085rem solid #dcdde0;
  }

  .accordion-content {
    /*background: #f9fafb;*/
    padding: 0 1.5rem;
    margin-left: revert !important;
    margin-right: revert !important;
    column-count: 1;

    p {
      opacity: 0;
      transition: opacity 0.5s ease;
      break-inside: avoid;
      margin: 0 0 0.75rem;
    }
  }
  .accordion-content[style="display: block;"] {
    p {
      opacity: 1;
    }
  }

	.accordion-item.active {
		padding-bottom: .5rem;
	}

	
#PBSC_EWS.main[data-template-type="sitehome"] .accordion-item.active {
		border-radius: 0 0 0.5rem 0.5rem;
	}
	
	
	
 .accordion-item.active .accordion-content {
    margin-left: 1rem;
    margin-right: revert;
  }
}



.pbsc3-accordion .accordion-button {
  padding: 1rem 1rem 1rem 0.5rem;
}






/* Remove Bootstrap arrow */
.pbsc3-accordion .accordion-button::after {
  display: none !important;
}

.pbsc3-accordion .accordion-button:not(.collapsed) {
  background-color: transparent;
  box-shadow: none;
}


.pbsc3-accordion .accordion-header {
  width: 100%;
  border: 0;
}

#PBSC_EWS.main[data-template-type="sitehome"] .accordion-panel-heading > :is(h2, h3, h4, h5, h6) {
	color: var(--EWS_Secondary);
}




#PBSC_EWS.main[data-template-type="sitehome"] .pbsc3-accordion .accordion-header[aria-expanded="false"] {
  background: var(--PBSC_UI_Grey);
}





.pbsc3-accordion .accordion-header[aria-expanded="true"] {
  background: transparent;
}





.pbsc3-accordion.nested .accordion-panel-heading h4 {
  margin-bottom: 0;
}

/* -- When the panel heading is H3 --  */
.pbsc3-accordion.nested .accordion-trigger-wrapper:has(.accordion-panel-heading h3) + .accordion-content {
	margin-left: 3.25rem;
}


/* --- When the panel heading is H4 --- */
.pbsc3-accordion.nested .accordion-trigger-wrapper:has(.accordion-panel-heading h4) + .accordion-content {
	margin-left: 1.75rem;
}


/* Nested PBSC3 Accordion within an PBSC3 accordion */
.pbsc3-accordion .accordion-content:has(.pbsc3-accordion.nested) {
	padding-left: 3.25rem;
	padding-right: 3.25rem;
	
	.expandAllBtn {
		display:none;
	}
	
	.accordion-header-primary {
		border-bottom: 0;
		color: var(--bs-gray-800);
	}
	
	.accordion-header-primary > h4 {
		border-bottom: 0;
		color: var(--bs-gray-700);
	}
	
	.accordion-item {
		    border-color: #b7b3b3;
	}
	
	.accordion-button {
		color: #b7b3b3;
	}
	
	.accordion-content > ul:first-of-type {
		margin: revert;
	}
	
	
	.accordion-panel-heading img {
		display:none
	}
}


.pbsc3-accordion.nested .accordion-header-primary h2, .pbsc3-accordion.nested .accordion-header-primary h3 {
	margin-top: revert !important;
}


.pbsc3-accordion.nested .accordion-panel-heading img {
		margin-top: 0 !important;
		margin-right: 0.75rem;
	}

	#PBSC_EWS.main[data-template-type="sitehome"] 	.accordion-panel-heading::before {
		content: "\e8f9";
		font-family: "Material Symbols Outlined";
		font-weight: normal;
		font-style: normal;
		font-size: 2rem;
		color: var(--EWS_Secondary);
		margin: 0 1rem 0 0;
	}











@media (min-width: 500px) and (min-width: 768px) {

	.accordion-content {
		padding: 0 2rem;
	}

	.accordion-item.active {
		padding-bottom: 1rem;
	}

}



@media (min-width: 769px) {
  .pbsc3-accordion {
    .accordion-content {
      padding: 1rem 3rem;
      column-count: 2;
      column-gap: 2rem;
    }
    .accordion-panel-heading::before {
      margin: 0 1rem;
    }
    .accordion-button {
      padding: var(--bs-accordion-btn-padding-y)
        var(--bs-accordion-btn-padding-x);
    }
	  
	  .accordion-item.active {
		  padding-bottom: revert ;
	  }
	  



	  
	  
  }
	
	

	
	
}





@media (max-width: 768px) {
  /* --- If the accordion is nested, do this --- */
  .pbsc3-accordion.nested .accordion-item.active .accordion-content {
    padding: revert;
    margin: revert;
  }

  .pbsc3-accordion.nested
    .accordion-trigger-wrapper:has(.accordion-panel-heading h4)
    + .accordion-content {
    margin-left: revert;
  }

}

/* When ready, lets override the bootsra file */
#PBSC_EWS.main[data-template-type="sitehome"] .accordion {
	--bs-accordion-bg: var(--PBSC_UI_Grey);
	border: .125rem solid var(--PBSC_UI_Grey_II);
	border-radius: .25rem;
}



