/* 
Temporary styling:
- Mega menu parent + child blocks
- Content feed width on mobile
- Breadcrumbs on mobile
- Button spacing on smaller mobiles in header areas
- Boxout
- Quicklinks sticky nav
- Tabs
- Footer social icons
- Ektron CMS legacy styling

*/

.desktop-only .menu-block {
  -webkit-column-break-inside: avoid; /* Chrome, Safari, Opera */
  page-break-inside: avoid;           /* Firefox */
  break-inside: avoid;                /* IE 10+, modern browsers */
}

@media screen and (max-width: 600px) {
  .header .header__main-navigation .level-0 {
    max-height: calc(100vh - 60px);
    overflow-y: auto; /* Add overflow here instead of on .is-open */
  }
}

/* Content feed fix for mobile */
.feed {
  /* width: 384px; */
width: 100%;
}

/* Breadcrumb mobile */
@media (max-width: 768px) {
  .breadcrumb {
    padding-top: var(--s-1);
    padding-bottom: var(--s-1);
    white-space: nowrap;
    overflow: auto;
  }
}

/* Button spacing on smaller mobiles in header areas */
@media (max-width: 768px) {
.page-header .contentWrapper .btn {
	margin-bottom: 10px;
}
}

/* Boxout */
.boxout {
    background: #d3e6fb;
    padding: 20px;
    margin-bottom: 30px;
}

/* Quicklinks */

.quicklinks-sentinel {
  height: 1px;
  width: 100%;
  visibility: hidden;
  pointer-events: none;
}

.quicklinks {
 padding: 10px 7px 0 7px;
  transition: all 0.3s ease;
  justify-content: center;
  display: flex;
  background: #ffffff;
  flex-flow: wrap;
}

.quicklinks p {
  	margin: 0;
}

.ql-title {
  font-size: var(--s-2);
  opacity: 0.6;
}

.quicklinks ul {
	display: flex; 
	flex-direction: row;
	margin-left: 0;
	margin-top: 0;
}

.quicklinks ul li {
	padding-left: 2px;
	margin-bottom: 10px !important;
}

.quicklinks ul li a {
	font-size: var(--s-2);
}

.quicklinks ul li:before {
	display: none;
}
   
.quicklinks ul li:after {
	content: "|"; 
	padding-left: 8px;
	padding-right: 1px;
}

.quicklinks ul li:last-of-type::after {
  display: none;
}

/* Sticky Behavior */
.quicklinks.is-sticky {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;
  box-shadow: 0 2px 5px rgba(0,0,0,0.1);
}

/* Mobile Accordion */
@media (max-width: 767px) {
  .quicklinks.mobile-accordion {
    max-height: 50px;
    overflow: hidden;
    transition: max-height 0.3s ease;
    flex-direction: column;
  }

  .quicklinks.mobile-accordion.is-open {
    max-height: 500px; /* Adjust based on content */
  }

  .accordion-toggle {
    display: block;
    width: 100%;
    border: none;
    padding: 2px 10px 10px;
    text-align: left;
    cursor: pointer;
    background: #fff;
    position: relative;
  }

  .quicklinks.mobile-accordion:not(.is-open) .accordion-toggle {
    margin-bottom: 0;
  }
  
.accordion-toggle::after {
  top: 0px;
  right: -10px;
  height: 14px;
  width: 14px;
  display: inline-block;
  position: relative;
  color: white;
  border: 2px solid white;
  border-radius: 14px;
  box-shadow: 0 0 3px #444;
  box-sizing: content-box;
  text-align: center;
  text-indent: 0 !important;
  line-height: 14px;
  content: '+';
  background-color: #0070ba;
}

.is-open .accordion-toggle::after {
  content: '-';
}

  .quicklinks.mobile-accordion:not(.is-open) ul {
    display: none;
  }

  .quicklinks.mobile-accordion.is-open ul {
    display: block;
  }
  
  .quicklinks ul li::after {
  display: none;
}
  
  .quicklinks p {
  	display: none;
  }
}
  
/* Quicklinks END */

/* Tabs */
ul.tabs-nav {
	list-style: none;
	margin: 0;
	overflow: auto;
	display: flex;
	background: #ffffff;
	gap: 2px;
	border-radius: 5px 5px 0 0;
	margin-bottom: -1px;
}

ul.tabs-nav li {
    flex-basis: 0;
    flex-grow: 1;
    margin-bottom: 0;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #0189eb;
    border-radius: 5px 5px 0 0;
}

ul.tabs-nav li:before {
    content: none;
}

ul.tabs-nav li:hover {
   /*  border-bottom: 1px solid #000; */
	background-color: #004388;
    border-color: #004388;
}


ul.tabs-nav li:hover a {
	color: #f1f1f1 !important;
}


ul.tabs-nav li a {
    text-decoration: none !important;
    color: #000 !important;
}

ul.tabs-nav li.active {
    background: #ffffff;
    border-left: 1px solid #0189eb;
    border-top: 1px solid #0189eb;
    border-right: 1px solid #0189eb;
}

ul.tabs-nav li.active:hover a {
	color: #000 !important;
} 

ul.tabs-nav li.active a {
    font-weight: bold;
}

.tabs-content {
    border: 1px solid #0189eb;
}

.tab-content {
	padding: 10px 20px 30px;
    background-color: #FFF;
}

/* Tabs END */



/* Scrollable table */
  .about {
    display: block;
    overflow-x: auto;
    margin-bottom: 2rem;
    width: 100%;
    border-collapse: collapse;
 }

.about thead tr {
background-color: #cbd5e1;
}

  .about th {
  color: #333;
}
  
  .about th,
  .about td {
    padding: 10px;
    border: 1px solid #f1f1f1;
    text-align: left;
  }
  
  .about th:first-of-type, 
   .about td:first-of-type, 
   .about td:first-of-type a {
   background-color: #0189eb;
  position: sticky;
  left: 0;
  color: #f1f1f1;
  }
  
  .about tr:nth-child(even) {
        background-color: #f1f1f1;
  }

  
  /* Scrollable table END */

/* Social icons FOOTER - leaving here to ease any updates or additions */
.footer .footer__copyright p {
    text-align: center;
}

@media screen and (min-width: 769px){
    .footer .footer__social-links .footer-social-icons ul {
        flex-wrap: wrap;
        display: flex;
    }
}

.footer .footer__social-links .footer-social-icons ul li {
    flex: 1 0 25%;
    padding: 4px;
}

@media screen and (max-width: 380px){
    .footer .footer__social-links .footer-social-icons ul li {
        padding: 0px;
    }
}

.footer .footer__social-links .footer-social-icons ul li a::before {
    background-image: url(/sites/default/files/images/Icon_Master.jpg);
}
.footer .footer__social-links .linkedin a::before {
    width: 28px;
    height: 28px;
    background: 264px -8px;
    background-size: 380px 110px;
}

.footer .footer__social-links .twitter a::before {
    width: 28px;
    height: 28px;
    background: 194px -8px;
    background-size: 380px 110px;
}

.footer .footer__social-links .instagram a::before {
    width: 28px;
    height: 28px;
    background: 300px -8px;
    background-size: 380px 110px;
}

.footer .footer__social-links .facebook a::before {
    width: 28px;
    height: 28px;
    background: 370px -8px;
    background-size: 380px 110px;
}

.footer .footer__social-links .youtube a::before {
    width: 28px;
    height: 28px;
    background: 229px -8px;
    background-size: 380px 110px;
}

.footer .footer__social-links .tiktok a::before {
    width: 28px;
    height: 28px;
    background: 123px -8px;
    background-size: 380px 110px;
}

/* Footer social END */ 



/* Ektron CMS legacy styling */
.narrowTheH2 p {
    font-size: 1.4em;
    line-height: 110%;
}

.feature_image {
    margin-left: 30px;
    margin-bottom: 20px;
    width: 30%;
    padding: 0 15px;
}

.float_right {background: #f6f6f6;}

.float_right img {
  margin: 0 0 10px !important;
  width: 100% !important;

}

.imageCaptionBottom340,
.imageCaption340R {
    font-size: 1.4rem;
    float: right;
    width: 30%;
    clear: right;
    margin-left: 30px;
}

/* Quotebox */
.QuoteBox {
    position: relative;
    padding: 60px 0 20px 20px;
    margin: 0 40px;
    border-left: 3px solid #fa9234;
    clear: both;
}

.QuoteBox::before {
    content: "";
    position: absolute;
    top: 10px;
    left: 20px;
    display: block;
    font-family: icons;
    font-size: 40px;
    font-size: 4rem;
    color: #fa9234;
}

.QuoteBox p em {
    display: block;
    margin-bottom: -10px;
    font-family: "Frutiger Condensed","Carnero Regular",arial,sans-serif,arial,sans-serif;
    line-height: 30px;
    font-size: 22px;
    font-size: 2.2rem;
    font-style: normal;
}

.QuoteBox p {
    margin: 0;
    font-family: "Frutiger Bold Cond","Carnero Semibold",arial,sans-serif,arial,sans-serif;
    line-height: 24px;
    font-size: 16px;
    font-size: 1.6rem;
}

@media (max-width: 400px) {
    .feature_image {margin-left: 0; width: 100%;}
    .feature_image p {padding: 0;}
    .imageCaptionBottom340,
.imageCaption340R {width: 100%;}
}

/* Ektron legacy END */

