/* adds space to account for sticky header when scrolling to clicked anchors */
html {
  scroll-padding-top: 5rem;
}
/* */

/* ABOUT US CSS */

.hub .column-wrapper {
  max-width: 1064px;
  display: block;
  margin: auto;
}
.hub .txt-bg {
  display: block;
  height: 313px;
  margin: auto;
  margin-bottom: 20px;
  max-width: 493px;
}
.hub .txt-bg .container,
.hub .txt-bg .container .row {
  height: inherit;
}
.hub .txt-bg .container .row .col-md-12 > div {
  display: flex;
  flex-direction: column;
  height: 100%;
}
.hub .txt-bg h2 {
  padding-top: 20px !important;
  padding-bottom: 16px;
}
.hub .txt-bg p {
  padding-bottom: 24px;
}
.hub .txt-bg .container .row .col-md-12 > div .button {
  margin-top: auto;
}
.hub .hub-cta {
  width: 210px;
}
.topics {
  max-width: 1115px;
  display: block;
  margin: auto;
}

/*@media (max-width: 1279px) { 
  .hub .txt-bg .glossary-p {
    padding-bottom: 30px;
  }
}
@media (max-width: 1023px) { 
  .hub .txt-bg .glossary-p {
    padding-bottom: 58px;
  }
}
@media (max-width: 767px) { 
  .hub .txt-bg .glossary-p {
    padding-bottom: 30px;
  }
}*/

@media all and (min-width: 769px) and (max-width: 1023px) {
  .credit-intel-explore-life-event.flex-justify-between {
    justify-content: flex-start !important;
  }
  .col-md-8.col-md-offset-2 {
    flex: 0 0 100%;
    margin-left: 0;
    max-width: 100%;
  }
  .hub .txt-bg {
    height: 350px;
  }
}

@media only screen and (max-width: 768px) {
  .hub .txt-bg {
    height: auto;
  }
  .about-intro .heading-4 {
    font-size: 20px !important;
    line-height: 28px !important;
  }
  .txt-bg .heading-5 {
    font-size: 18px;
    line-height: 24px;
  }
  .txt-bg .heading-4 {
    font-size: 15px;
    line-height: 18px;
  }
  .hub .hub-cta {
    width: auto;
  }
  .hub .hub-cta .btn {
    max-width: 100%;
  }
  .column-wrapper .margin-2-t {
    margin-top: 0 !important;
  }
  .column-wrapper .pad-3-t {
    padding-top: 20px !important;
  }
  .column-wrapper .pad-3-b {
    padding-bottom: 0 !important;
  }

  /* */

  /*.flex-align-items-center {
    justify-content: center !important;
    align-items:center !important;
  }
  .link-underlined {
    flex-direction: row !important;
    align-items: center !important;
    width:80% !important;
    height:60px !important;
    padding-top: 5px !important;
    margin: 0 0 5px !important;
  }
  div.img-size {
    flex-direction: row !important;
  }
  /*.link-underlined img {
    margin-left: 20px !important; 
    width: 30px !important; 
    height: 30px !important;
  }
  .link-underlined span {
    text-align: left !important;
    margin-left: 2rem !important;
    font-size: large !important;
    font-weight: 500 !important;
  }
  .link-underlined, .topics span {
    text-align: left !important;
    margin-left: 0rem !important;
    font-weight: 500 !important;
  }
  a.text-link {
    padding-bottom: 0px !important;
  }
  .desktop-only-br {
    display: none;
  }
  .custom_grid-buttons1 .btn {
    text-align: left;
  }*/
}

/* AUTHOR HUB CSS */

.alpha-mobile {
  display: none;
}

.authors-alpha {
  display: flex;
  font-family: BentonSans, Helvetica Neue, Helvetica, sans-serif;
  font-size: 1.875rem;
  flex-wrap: wrap;
  line-height: 2.375rem;
  list-style: none;
  margin-bottom: 0;
  margin-left: -12px;
  padding-left: 0;
  padding-top: 6px;
}

.authors-alpha li {
  text-align: center;
  width: 46px;
}

.authors-alpha li.no-authors {
  color: #8E9092;
  font-weight: 400;
}

.authors-alpha a {
  color: #00175A;
  font-weight: 400 !important;
  margin: 0 !important;
  padding-top: 0 !important;
  text-decoration: none;
}

.authors-alpha a:hover {
  color: #00175A;
  font-weight: 700;
}

.authors {
  padding-top: 40px;
}

.single-letter .container {
  padding-bottom: 20px;
  padding-left: 0;
  padding-right: 0;
}

.author-list > .container {
  padding-left: 0;
  padding-right: 0;
}

.author-card {
  align-content: center;
  max-width: 550px;
  margin-bottom: 40px;
  min-height: 110px;
}

.author-list .author-card:hover {
  box-shadow: 0px 13px 26px 0px rgba(0, 0, 0, 0.10);
}

.author-list .author-card:focus {
  border: 2px solid #006fcf;
}

.author-card .card-img-bg {
  background-color: #ffffff;
  background-position: left center;
  background-repeat: no-repeat;
  background-size: contain;
}

.author-card .col-md-3 {
  max-width: 100px;
}

.author-card .col-md-9 {
  align-content: center;
  position: unset;
}

/*.author-card-link {
  height: 100%;
  position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
  z-index: 100;
}*/

.author-card .author-card-link a {
  height: 100% !important;
  padding: 0;
  position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    top: 0;
  z-index: 999;
}

.author-card a,
.author-card a:hover {
  color: #333333;
  display: block;
  height: auto !important;
  margin-bottom: 0 !important;
  padding-bottom: 0;
  padding-top: 0 !important;
  text-decoration: none;
  width: 100% !important;  
}

.author-card .heading-4,
.author-card p {
  position: relative;
}

.author-image img {
  max-width: 80px;
  width: 100%;
}

.author-card-arrow {
  position: absolute;
  right: 20px;
  top: 44px;
}

.author-card-arrow img {
  max-width: 22px;
}

.back-to-top a {
  background-color: #00175A;
  border: 1px solid #ffffff;
  border-radius: 4px;
  color: #ffffff;
  display: inline-block;
  height: auto !important;
  margin: 0 !important;
  opacity: 0.8;
  padding: 12px 30px !important;
  position: fixed;
    bottom: 20px;
    right: 20px;
  text-decoration: none;
  z-index: 100;
  width: auto !important;
}

.richtext.cq-Editable-dom .back-to-top a {
  position: relative;
    bottom: auto;
    right: auto;
}

.back-to-top a:hover {
  color: #ffffff;
  opacity: 1;
}

.back-to-top a img {
  height: 28px !important;
  margin-left: 0 !important;
  margin-right: 10px;
  max-width: 28px;
  position: relative;
  top: -2px;
  width: 28px !important;
}

@media only screen and (max-width: 1023px) {
  .author-card {
    min-height: 84px;
  }

  .author-card .row {
    flex-wrap: nowrap;
  }

  .author-card .card-img-bg {
    background-size: 46px;
  }

  .author-card .col-md-3 {
    flex: 0 0 25%;
  }

  .author-image {
    padding-left: 6px;
  }

  .author-image img {
    max-width: 60px;
  }

  .author-card .col-md-9 {
    flex: 1 0 75%;
  }

  .author-card-arrow {
    top: 18px;
  }

  .author-card .link-underlined span {
    margin-left: 0 !important;
  }
}

@media screen and (min-width:768px) and (max-width:1023px) {
  .author-image {
    padding-left: 0;
  }
}

@media only screen and (max-width: 767px) {
  .authors-alpha {
    display: none;
  }
  .alpha-mobile {
    display: block;
    padding-top: 14px;
  }
  .alpha-mobile select {
    background-color: #F7F8F9;
    border-color: #00175A;
    border-radius: 4px;
    color: #00175A;
    cursor: pointer;
    font-size: 16px;
    height: 50px;
    padding-left: 5px;
    width: 100%;
  }
  .single-letter .container {
    padding-bottom: 0;
  }
  .authors {
    padding-top: 0;
  }
  .author-card {
    margin-bottom: 20px;
  }
  .author-card .heading-4 {
    font-size: 16px;
    line-height: 24px;
  }
  .author-card .heading-4 span {
    font-weight: 400 !important;
  }
  .author-card p {
    font-size: 13px;
    line-height: 20px;
  }
}

/* Author Bios */

.author-bio-card {
  box-shadow: 0px 13px 26px 0px rgba(0, 0, 0, 0.10);
  margin-bottom: 10px;
  margin-top: 30px;
  min-height: 192px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.author-bio-card .card-img-bg {
  background-position: bottom right;
  background-repeat: no-repeat;
  background-size: cover;
}

.author-bio-card .author-card {
  min-height: auto;
}

.author-bio-card .author-card .card-img-bg {
  background: none;
}

.author-bio-card .author-card .heading-4,
.author-bio-card .author-card h1 {
  font-size: 30px;
  line-height: 38px;
}

.author-articles > .container {
  padding-left: 2px;
  padding-right: 2px;
}

.author-articles h2 {
  color: #00175A;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
}

.author-articles .text-list {
  border-top: 1px solid #C8C9C7;
  padding: 20px 10px;
}

.author-articles .text-list a {
  color: #000000;
  font-family: Helvetica Neue, Helvetica, sans-serif;
  font-size: 16px;
  font-weight: 700;
  text-decoration: underline;
}

.article-pagination {
  text-align: center;
  margin-bottom: 45px;
  margin-top: 54px;
  width: 100%;
}

.article-pagination button {
  border-radius: 4px;
  color: #006FCF;
  cursor: pointer;
  margin: 0 8px;
  padding: 5px 12px;
  text-decoration: underline;
}

.hidden {
  clip: rect(0 0 0 0);
  clip-path: inset(50%);
  height: 1px;
  overflow: hidden;
  position: absolute;
  white-space: nowrap;
  width: 1px;
}

.article-pagination button.active {
  background-color: #006FCF;
  color: white;
}

@media only screen and (max-width: 1023px) {
  .author-bio-card .author-image img {
    max-width: 80px;
    width: 80px;
  }
  .author-bio-card .author-card .heading-4,
  .author-bio-card .author-card h1 {
    font-size: 20px;
    line-height: 28px;
  }
}

@media only screen and (max-width: 767px) {
  .author-bio-card {
    margin-top: 0;
    padding-bottom: 0;
    padding-top: 0;
  }
  .author-bio-card .card-img-bg {
    background-position: bottom ;
    background-repeat: no-repeat;
    background-size: 100%;
  }
  .author-bio-card .author-card p {
    font-size: 15px;
    line-height: 22px;
  }
  .author-bio-card .col-md-6 .richtext .pad-2-r {
    padding-left: 18px;
  }
  .article-pagination {
    margin-bottom: 26px;
    margin-top: 30px;
  }
}

/* --------------- .accordion-menu a, .mobile-sub-menu, .mobile-sub-menu a */

.pad{
  background-color: #F7F8F9!important;
  box-shadow: 0px 10px 11px #F0F0F0!important;
}
.pad h4{
  color: #00175A!important;
  font-weight: 500!important;
}

h1, h2, h3 {
  color: #00175A!important;
}

h2{
  padding-top: 10px!important;
}

h3 .heading-6{
  color: #ffffff!important;
}

.ra-header h2{
  color: #000000!important;
}

.heading-5 {
  font-weight: bold !important;
}

.aboutus_hp.heading-5 {
  font-size: 14px;
  line-height: 18px;
  font-weight: 400 !important;
}

.col-pan .col-md-12{
  margin-top: 0!important;
  padding-left: 0px!important;
}

.col-pan .col-md-12 .body-3{
  font-size: 12px!important;
}

.takeaway h2, .share-border{
  border-top: #c8c9c7 1px solid !important;
  padding-top: 20px!important;
}
.takeaway div.richtext.parbase div.pad-2-t, .glance{
  border-bottom: #c8c9c7 1px solid !important;
  padding-bottom: 20px!important;
}

.author-bio .dls-gray-02-bg{
  background-color: #F7F8F9!important;
}

/* Sub-Nav Bar */
/* .siteareanav, .san-head-spacer, .san-child-wrapper, .san-container, .nav-menu{
  background-color: #00175A!important;
}
.san-container.dls-bright-blue-bg, .nav.dls-bright-blue-bg, .expfragvarition .siteareanav .san-child-wrapper{
  background-color: #00175A!important;
} */
/* .san-wrapper .nav-menu {
  height: 60px; don't un-comment
} */
/* .expfragvarition .siteareanav.border {
  border:0px !important;
}
.expfragvarition .siteareanav.border {
  border:0px !important;
}
.icon--new-window.btn.btncomp.btn-icon.icon-hover.btn-white-secondary.display-block.margin-1-b.margin-center{
  text-align: left!important;
}  
.icon--new-window.btn.btncomp.btn-icon.icon-hover.btn-white-secondary.display-block.margin-1-b.margin-center{
  padding-left: 0px!important;
}   */

/* Unordered and Ordered List */
ol.bp, ul.bp{
  /* padding-top: 10px!important;  wasn't commented out at first*/
  padding-left: 40px!important;
  margin-bottom: 0;
}
.bp li{
  padding-top: 10px!important;
}

/* share icons */
.share-amex-default-style .shareAmex-icons-svg, .share_icons{
  width: 35px!important;
}

.share-amex-floating-style {
    background-color: #fff;
    border-radius: 0;
    position: relative;
    padding: 4px 0;
    z-index: 98;
}
.share-amex-kit .shareAmex-icons-svg {
    background-repeat: no-repeat;
}
.shareAmex-icons-svg {
    background-repeat: no-repeat;
    display: block;
    overflow: hidden;
    height: 35px;
    line-height: 35px;
    width: 35px;
}
.share-amex-default-style a {
    float: left;
    padding: 0 10px 0 0 !important;
}


/* Home & Category pages */
div.img-size {
  width: 37px !important;
  height: auto !important;
  padding-bottom: 10px !important;
}
.employment_icon, .auto_icon, .retirement_icon, .house_icon, .college_icon, .taxes_icon, .family_icon {
  object-fit: contain !important;
}
.popular-videos .hero.carousel-item.dls-gray-02-bg {
  background-color: #ffffff !important;
}
.credit-intel-logo {
  width: 260px !important;
}
@media only screen and (min-width: 770px) {
  .feature-art-top, .all-cs-art {
    padding-bottom: 20px !important;
  }
}

/* Button (Homepage) */
.small_width_button {
  max-width: 150px;
  }
  
  /* Related Articles */
  .offer.parbase .card .pad div.text-align-center.margin-b {
    margin-bottom: 0 !important;
  }
  .offer.parbase .card .pad {
    padding-bottom: 1.563rem !important;
  }
  
  /* Did you know box */
  .card-with-star-inner .grid .container {
    padding-left: 0 !important;
    padding-right: 0 !important;
  }
  
  .card-with-star img {
    left: -18px;
    max-width: 30px;
    position: relative;
  }
  
  .card-with-star-inner .col-md-11 .richtext {
    position: relative;
    left: -34px;
    top: 2px;
  }
  @media screen and (min-width:1024px) and (max-width:1279px){
    .card-with-star img {
        left: -8px;
    }
    
    .card-with-star-inner .col-md-11 .richtext {
        left: -24px;
    }
  }
  
  @media screen and (min-width:768px) and (max-width:1023px){
    .card-with-star img {
        left: -4px;
    }
    
    .card-with-star-inner .col-md-11 .richtext {
        left: -10px;
    }
  }
  
  @media screen and (max-width:767px) {
    .card-with-star-inner .col-md-1 {
        flex: 0 0 30px;
        max-width: 30px;
    }
  
    .card-with-star-inner .col-md-11 {
        flex: 0 0 80%;
        max-width: 80%;
    }
  
    .card-with-star img {
        left: -2px;
    }
    
    .card-with-star-inner .col-md-11 .richtext {
        left: 4px;
    }
    .siteareanav, .san-head-spacer, .san-child-wrapper, .san-container, .nav-menu{
      background-color: #ffffff!important;
    }
  }

/* Footer */
#article_footer_var11211 .btn {
  padding: .688rem 0;
  text-align: left;
}

/* Footer */
@media screen and (min-width:1280px) {

  .custom_grid-buttons1 .container .row{
    display: flex !important;
    justify-content: center !important;
  }
 
  .custom_grid-buttons1 .container .row .col-md-4 {
    max-width: 25% !important;
    margin-bottom: 20px!important;
  }
}

@media screen and (min-width:1024px) {
  .custom_grid-buttons1 .container .row .col-md-4 {margin-bottom: 10px !important;}
}


@media screen and (max-width: 1023px) and (min-width: 768px) {
  .custom_grid-buttons1 .container .row .col-md-4{
    flex: 0 0 100% !important;
    max-width: 100% !important;
    padding-bottom: 10px!important;
  }
}

/* CI Nav Bar */

/* @media screen and (max-width:767px) {
  #secondary-nav_secondary-nav21 nav.san.nav.nav-chevron.nav-vertical{
    background-color: #00175A!important;
  }
  .ci-at-a-glance-mob, div.col-md-12.margin-0-tb{
    padding-bottom: 20px!important;
  }
  ol.bp, ul.bp{
    padding-top: 0px!important;
    padding-left: 30px!important;
  }
} */

/* Custom Build - 7 Links Navigation Bar */
.navbar {
  background-color: #00175a;
  padding-right: 1rem;
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: relative;
}

.nav-desktop .nav-menu {
  display: flex;
  justify-content: flex-start;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-desktop .nav-menu li {
  margin: 0 10px 0 0;
  position: relative;
  /* Needed for sub-menu positioning */
}

.nav-desktop .nav-menu a {
  color: white;
  text-decoration: none;
  padding: 10px 15px 10px 0px;
  display: block;
  border-radius: 4px;
  transition: color 0.3s ease;
}

.nav-desktop .nav-menu a:hover {
  color: #FFF;
}

.nav-desktop .nav-menu a::after {
  content: "";
  display: block;
  width: 0;
  height: 3px;
  background: white;
  transition: width 0.3s;
}

.nav-desktop .nav-menu a:hover::after {
  width: 100%;
}

.sub-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #00175a; 
  list-style: none;
  padding-top: 15px;
  margin: 0px 0px 0px -30px;
  border-radius: 0px 0px 4px 4px;
  z-index: 100;
}

.nav-item:hover .sub-menu {
  display: block;
  width: 10.5rem;
  padding-bottom: 1rem;
}

.sub-menu li {
  margin: 0;
}

.sub-menu a {
  padding: 10px 15px 10px 30px !important;
  white-space: nowrap;
}

.mobile-accordion,
.nav-mobile {
  position: relative;
  width: 100%;
  margin-top: 10px;
  /* Adjust as needed */
  display: none;
  /* Hide by default */
}

.nav-mobile {
  background: #00175a;
}

.nav-mobile .nav-menu {
  height: auto !important;
  margin-bottom: 0px !important;
  background: #fff;
  border-radius: 5px;
  padding: 0;
  line-height: 2.75;
  margin-top: 4px;
  overflow: auto !important;
}

.nav-mobile .nav-menu li a.link-underlined {
  text-decoration: none;
}

.accordion-toggle {
  cursor: pointer;
  padding: 10px;
  color: #006fcf;
  background-color: #f7f8f9;
  border: 1px solid #006fcf;
  border-radius: 4px;
  display: block;
  text-align: left;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-toggle:hover {
  background-color: #f7f8f9;
}

.accordion-content {
  max-height: 0;
  overflow: hidden;
  transition: max-height 0.3s ease;
  background-color: #fff;
  /* margin-top: 10px; */
  border-radius: 4px;
}

#accordion-toggle:checked~.accordion-content {
  max-height: 460px;
  /* Adjust as needed */
  transition: max-height 0.3s ease;
}

.accordion-menu {
  list-style: none;
  padding: 0;
  margin: 0;
}

.accordion-menu li {
  margin: 0;
  position: relative;
  /* Needed for mobile sub-menu positioning */
}

.accordion-menu a {
  display: block;
  padding: 10px 15px;
  color: #006fcf;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.accordion-menu a:hover {
  background-color: #ffffff;
  color: #00175a;
}

.nav-mobile .nav-menu li {
  margin: 0;
  position: relative;
  /* Needed for mobile sub-menu positioning */
}

.nav-mobile .nav-menu a {
  display: block;
  padding: 10px 15px;
  color: #006fcf;
  text-decoration: none;
  transition: background-color 0.3s ease, color 0.3s ease;
}

.nav-mobile .nav-menu a:hover {
  background-color: #ffffff;
  color: #00175a;
}

.mobile-sub-menu {
  list-style: none;
  padding-left: 20px;
  margin: 0;
  /* display: none; */
  /* Hide by default */
  background-color: #f7f8f9;
}

.mobile-nav-item:hover .mobile-sub-menu {
  display: block;
  /* Show sub-menu on hover */
}

.mobile-sub-menu a {
  padding-left: 40px!important;
}

i.arrow {
  border: solid #006fcf;
  margin-top: 2px;
  float: right;
  border-width: 0 3px 3px 0;
  display: inline-block;
  padding: 3px;
  transform: rotate(45deg);
  -webkit-transform: rotate(45deg);
}

@media (max-width: 854px) and (min-width: 768px) {
  .nav-desktop a {
      padding: 10px 5px;
  }
}

@media (max-width: 768px) {
  .navbar {
      background-color: #00175a;
  }

  .nav-desktop {
      display: none;
      /* Hide desktop menu on mobile */
  }

  .mobile-accordion,
  .nav-mobile {
      display: block;
      /* Show mobile accordion menu */
      margin-bottom: 15px;
      margin-top: 20px;
  }

  .mobile-accordion input[type="checkbox"] {
      display: none;
      /* Hide the checkbox */
  }
}
