/* override banner overlay color */
.adjustable-parallax-bg:after {
	background: rgba(0, 0, 0, 0.5);
}

/* add bottom margin to html modules in fixed fourths */
.DnnModule-DNN_HTML, .DnnModule-ICGModulesExpandableTextHtml {
	margin-bottom: 40px;
}

/* adjust hexagons and content start top margin */
#dnn_HeaderTrimImage, #dnn_HeaderTrimImage + *:not(:has(.DnnModule-ArticleCSViewArticle)),
#dnn_HeaderTrimImage, #dnn_HeaderTrimImage + *:not(:has(.DnnModule-ArticleCS)) { margin-top: -70px;}

/* fallback for hexagon margin if no banner and Blog */
.d-flex:has(#dnn_HeaderPane.DNNEmptyPane) + #dnn_HeaderTrimImage,
#dnn_HeaderTrimImage + *:not(:has(.DnnModule-ArticleCS)) {
    margin-top: 0px;
}

/* rif dashboard list layout */
ul.rif-columns-2 {
    list-style: none; 
    columns: 1;
}

ul.rif-columns-2 li {
    text-decoration: none;
    padding-left: 2em;      
    text-indent: -2em;     
}

@media (min-width: 992px) {
    ul.rif-columns-2:has(li:nth-last-child(n+6)) {
        columns: 2;
        padding-right: 2em;     
    }
}



/* adjust top margin of RIF article pages
.DnnModule-ArticleCSViewArticle:has(.content-type-resilience-in-focus),
.DnnModule-ArticleCS:has(.content-type-resilience-in-focus) {
    margin-top: 70px;
} */

/* inner accordions start */
.custom-accordion {
  margin-bottom: 20px;
}

.custom-accordion .card {
  border: none;
  border-bottom: 1px solid #dee2e6;
  background-color: transparent;
  border-radius: 0;
}

.custom-accordion .card-header {
  background-color: transparent;
  border: none;
  padding: 0;
}

.custom-accordion .card-header h5 * {
  text-transform: none !important;
}

.custom-accordion .btn-link {
  color: #212529;
  text-transform: none;
  text-decoration: none;
  display: flex;
  align-items: flex-start; 
  padding: 1rem 0;
  white-space: normal;
  text-align: left; 
}

.custom-accordion .btn-link:hover,
.custom-accordion .btn-link:focus {
  color: #212529;
  text-decoration: none;
}

.custom-accordion .btn-link::before {
  content: "\f054";
  font-family: "Font Awesome 6 Free", "Font Awesome 5 Free", "FontAwesome", sans-serif;
  font-weight: 900;
  margin-right: 12px;
  margin-top: 0.15rem; /* Reduced to pull the arrow up slightly */
  transition: transform 0.2s ease-in-out;
  font-size: 0.8rem; /* Reduced so it isn't taller than your base text */
}

.custom-accordion .btn-link[aria-expanded="true"]::before {
  transform: rotate(90deg);
}

.custom-accordion .card-body {
  padding: 0 0 1.25rem 1.6rem;
  color: #212529;
}

.custom-accordion .card:first-of-type {
  border-top: 1px solid #dee2e6;
}
/* inner accordions end */

/* override class for photodashboard standalone */
.height-auto-override .theme-container-inner .ModPhotoDashboardC .standAlonePane img {width:100%; height: auto;}

/* add space after image links for h4 */
a:has(img) + h4 {margin-top: 15px;}

/* zozo tab horizontal padding */
.z-tabs.clean.horizontal>.z-container>.z-content>.z-content-inner {
    padding-left: 24px !important;
	padding-right: 24px !important;
}

/* add padding for logo to match gutter on left nav */
/* Targets any div containing an image that is immediately followed by the Accordion Menu div */
@media (min-width: 768px) {
	div:has(img):has(+ div.DnnModule-AccordionMenu) {
    padding-right: 40px !important;
	}
}

.bg-army-accenttan {
    background-color: var(--armygold);
}

/* blockquote fix */
blockquote{
	margin-left:0 !important;
	margin-bottom: 0 !important;
	font-size:135%;
	text-align:center;
	display:block;
	}
blockquote:before{
	content:none !important;
	}
	
	
	
/* rif article banner fix */
body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .article-title-block,
body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .slick-gallery,
body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .article-image {
  min-height: unset !important;
}

body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .article-title-block,
body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .slick-gallery {
  height: auto !important;
}

body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .slick-list,
body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .slick-track {
  height: 100% !important;
}

body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .article-image {
  aspect-ratio: 40 / 13 !important;
  width: 100% !important;
  height: auto !important;
  background-size: contain !important;
  background-repeat: no-repeat !important;
  background-position: center center !important;
}

@media (min-width: 992px) {
  body.at2-body .content-type-resilience-in-focus.adetail-news .article-header {
    align-items: stretch !important;
  }

  body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .slick-gallery,
  body.at2-body .content-type-resilience-in-focus.adetail-news .article-header .article-image {
    height: 100% !important;
  }
}

.content-type-resilience-in-focus .header-trim-image + .article-body {
  margin-top: -70px !important;
}

/* mobile banner text */

@media (max-width: 991.9999px) {
.adjustable-parallax figcaption h1 {font-size: 2em !important; -webkit-line-clamp: unset !important; overflow:visible; max-width:95%; margin-left:auto; margin-right:auto;}
.adjustable-parallax figcaption {padding-left:0; padding-right:0;} 
}











