a:focus {
  text-decoration: none;
}

/* Increases line-height on bios */
.bio-detail-copy-wrapper {
  line-height: 1.4em;
}

/* Rich Text Lists same font color as standard content */
.rich-text-container ul li {
  color: #5B5E5A;
}


/* Removes additional "Contact Us" labels from Contact Us Page */
.interior-left .nap-wrapper:not(:first-child) .nap .nap-title-wrapper {
  display: none;
}

/* Adds padding below bio image to make sure website/social content doesn't jam up next to it */
.bio-detail-headshot {
  padding-bottom: 20px;
}

/* Updates color of list items inside of a bio to be the same color as other text */
.bio-detail-copy-wrapper li {
  color: #5B5E5A;
}

/* Removes default padding from column on At A Glance on homepage */
.no-padding {
  padding: 0;
}

/* Ensures contact icons on bio card do not move to next line */
.yearbook-four-links a {
  margin-right: 10px;
}

/* Adds padding between each item on ordered lists, increases line height of text, and pushes items slightly to the left */
ol li {
  padding-bottom: 20px;
  line-height: 1.3em;
  margin-left: 20px;
}

/* Adds padding between each item on unordered lists */
ul li {
  padding-bottom: 10px;
}

/* Taking out the link on Account Access icon on main nav*/
ul.primary-nav > li:nth-child(7) > a {pointer-events: none; }

/* Adds padding to bottom of CTA on home page of RJA */
.container-rja.bottom-cta {
  padding-bottom: 60px;
}

/* Makes small elements act as they are supposed to */
small {
  display: block;
  font-size: 0.8em;
  padding-bottom: 10px;
}
/*Makes vanilla image components responsive*/
.image-container img {
  display: block;
  max-width: 100%;
  height: auto;
}

/*Styles disclosures and disclaimers*/
.disclaimers, .disclosures {
  font-size: 12px;
  font-style: italic;
}

/* Removes padding on line under nav item caused by adding bottom padding to unordered lists */
nav ul li {
  padding-bottom: 0;
}
.primary-link i {
  display: none;
}
/* Updates styling of "In this Issue" links on Commentary and Insights */
.resource-detail-copy-wrapper a {
  color: #5489b6;
  font-weight: 700;
}

.resource-detail-copy-wrapper a:hover {
  color: #002949;
}

.resource-detail-copy-wrapper div {
  padding: 10px;
}

/* Updates style title of article on Commentary and Insights page */
.resource-detail-heading {
  font-weight: 700;
  color: #002949;
  padding-bottom: 20px;
  font-size: 2em;
}

/* Updates style of meta information of article on Commentary and Insights page */
.resource-detail-info-share-wrapper {
  padding-bottom: 20px;
}

.resource-detail-info-share-wrapper a {
  color: #5489b6;
}

.resource-detail-info-share-wrapper a:hover {
  color: #002949;
}

.social-media-share-wrapper
  .social-media-share-link-wrapper
  .social-media-share-link,
.social-media-share-wrapper
  .social-media-share-link-wrapper
  .social-media-share {
  color: #5489b6;
}

.social-media-share-wrapper
  .social-media-share-link-wrapper
  .social-media-share-link:hover,
.social-media-share-wrapper
  .social-media-share-link-wrapper
  .social-media-share:hover {
  color: #002949 !important;
}

.resource-detail-previous-link-wrapper, .resource-detail-next-link-wrapper {
    display: none;
}

.resource-detail-next-resource,
.resource-detail-prev-resource,
.resource-detail-next,
.resource-detail-prev {
  display: none;
  font-weight: 700;
  text-transform: capitalize;
  color: #002949;
}


/*Contact Us - Sitecore form button styling*/
.simple-form.branch-sites-form input[type="submit"] {
    margin-top: 0;
    padding: 12px 15px;
    border-radius: 4px;
    font-weight: 600;
    min-width: 180px;
    color: #002949;
    background: transparent;
    text-align: center;
    border: 1px solid #002949;
    display: inline-block;
    transition: all 400ms ease-in-out;
}

.simple-form.branch-sites-form input[type="submit"]:hover {
    border: 1px solid #002949;
    background: #002949;
    color: #FFFFFF;
}

.simple-form.branch-sites-form .select2-container--default .select2-selection--single .select2-selection__arrow:after {
	color: #002949;
}
.simple-form.branch-sites-form .select2-container--default .select2-results__option--highlighted[aria-selected] {
  background-color: #002949;
}

/*Removes banner image and breadcrumbs from Commentary and Insights List page*/
.resource-card-landing-banner {
  background-size:  cover !important;
  background-position: center !important;
}

.resource-card-category {
  display: none !important;
}

.resource-card-landing-info-divider {
  display: none !important;
}

/* Adds option for secondary link */
.sub-link {
  color: #5489b6;
  font-weight: 700;
}

.sub-link:after {
  content: "\f105";
  font-family: FontAwesome;
  padding-left: 10px;
  font-size: 1.3em;
  position: relative;
  top: 2px;
}

.sub-link:hover {
  color: #002949;
}

/* Branch Newsletter Styling */
.newsletter-container {
  width: 100%;
  background-color: #f1f1f1;
  padding: 20px;
  min-height: 220px;
  margin: 20px 0;
}

.newsletter-container h3 {
  margin-bottom: 10px;
}

.newsletter-container h4 {
  text-transform: uppercase;
  color: #5489b6;
  font-size: 1.3em;
}

.newsletter-btn a {
  background-color: transparent;
}

/* Adds margin to top of h3s */
h3 {
  margin-top: 10px;
}

/* Adds 60px padding to bottom of item */
.p60b {
  padding: 60px 0;
}

.yearbook-one .yearbook-links {
  display: none;
}

/* Hide Fax and Toll-Free #s from Bio Detail Page, 
Requires 'hide-fax-toll-free' page class on Bio Wildcard */

.hide-fax-toll-free .bio-detail-container .bio-lines > p.bio-detail-phone-wrapper:nth-last-of-type(-n+2) {
  display: none;
}

/* About Us Heading */
.welcome-letter-container .welcome-letter-headline {font-size: 2rem;}

@media (min-width: 992px) {
  .yearbook-wrapper.yearbook-four {
    margin-left: -15px;
  }
  .aag-left {
    padding: 30px 80px 65px 15px;
  }
  .aag-disclaimer {
    bottom: 0;
  }
}
@media (min-width: 1025px) {
  .yearbook-four-card {
    position: relative;
  }
  .yearbook-four-headshot-wrapper {
    min-height: 230px;
  }
  /* Team Page Headings */
  .yearbook-four-heading {
    margin: 30px 0;
  }
  .yearbook-four-links {
    position: absolute;
    padding: 15px;
    bottom: 0;
  }
  /* Team Page Hover on Icons */
  .yearbook-four-links i {
    transition: 0.4s all ease-in-out;
  }

  .yearbook-four-links i:hover {
    color: #5489b6;
  }

  .yearbook-four-name {
    font-size: 18px;
  }
  .yearbook-four-name-title {
    padding-top: 15px;
  }
  .yearbook-four-title {
    font-weight: bold;
  }
  .yearbook-four-group-name {
    font-size: 14px;
    line-height: 1.5;
  }
  .yearbook-website {
    font-size: 16px;
  }
}

@media (max-width: 1024px) {
  .corp-yearbook .yearbook-headshot-wrapper:hover {
    box-shadow: none;
  }
  .aag-disclaimer {
    position: static;
  }
}

.corp-yearbook .yearbook-headshot-wrapper img {
  max-height: 300px;
}
.corp-yearbook .yearbook-headshot {
  max-height: 325px;
}

/*Hide Prev/Next Bio Links*/
.corp-bio-detail-next-previous-links {
  display: none;
}

/* Updates styling on accordion */
.accord .accord-link-content {
  background-color: #fff;
}

.accord .accord-link,
.accord .accord-inner-link {
  color: #5489b6;
  font-size: 1.2em;
  font-weight: 700;
  border-bottom: 1px solid #f1f1f1;
  padding: 15px 15px 15px 0;
}

.accord li.open .accord-link,
.accord li.open .accord-inner-link,
.accord li.open .fa {
  color: #002949;
}

.accord .fa {
  color: #5489b6;
}

.accord .accord-link-content li,
.accord .accord-inner-link-content li {
  border-bottom: none;
}

.card-rja-complex .billboard-content-wrapper .container {
  background: #fff;
  opacity: 0.95;
  border-bottom: 10px solid #002949;
}
.card-rja-complex .billboard-branch-location {
  border-bottom: 1px solid
}
.card-rja-complex .billboard-branch-location {
  color: #5489B6;
}
.card-rja-complex .billboard-heading {
  color: #002949;
}
.card-rja-complex .billboard-copy {
  color: #5B5E5A;
  padding-top: 10px;
}
.card-rja-complex .billboard-cta {
  background: transparent;
  color: #002949 !important;
  border: 2px solid #002949;
}
.card-rja-complex .billboard-content-wrapper .billboard-cta:hover a {
  background: #002949;
  color: #fff;
}
.billboard-content-wrapper .billboard-cta:hover {
  color: #fff !important;
  background-color: #002949 !important;
}

.billboard-content-wrapper.invert .billboard-cta {
  color: white;
  background: #002949;
}
.billboard-content-wrapper.invert .billboard-cta:hover {
  color: #002949;
  background: white;
}

/*Adjusts font size of resource homepage carousel*/
.mc-container .mc-heading {
  font-size: 1.5rem;
}


/*Fixes navigation to match DotCom*/
@media (max-width: 1200px) and (min-width: 781px) {
  .logo-container {
    width: auto;
  }
  .nav-overall-wrapper:not(.van-mobile-nav) .nav .primary-nav > li {
    display: block;
  }
}

/*iPad Landscape*/
/* Portrait and Landscape */
@media only screen 
  and (min-device-width: 768px) 
  and (max-device-width: 1024px) 
  and (-webkit-min-device-pixel-ratio: 1) {
    .aag-right {
      padding: 30px 15px 30px 15px;
    }
    .aag-right .aag-right-copy {
      padding-bottom: 0;
    }
    .yearbook-container {
      padding: 0em 2em;
    }
    .container-rja.bottom-cta {
      padding-bottom: 0px;
    }
    .simple-media-carousel .rich-text-container .row .col-md-8 h5 {
      padding-top: 1em;
    }
    .nap-wrapper .nap-items ul {
      padding-left: 0px;
    }
    .yearbook-four-card {
      padding-bottom: 1em;
    }
}
@media (min-width: 992px) and (orientation: landscape) {
  /*Fixes AAG - right width*/
  .aag-right {
    padding: 30px 15px 30px 40px;
  }
  .yearbook-container {
    padding: 0em 2em;
  }
  .mobile-nav {
    display: flex !important;
    flex-direction: row;
    justify-content: space-around;
  }
  .ftr-nav-links {
    display: flex;
  }
  .container-rja.bottom-cta {
    padding-bottom: 60px;
  }
  .nap-wrapper .nap-items ul {
    padding-left: 15px;
  }
}

@media (max-width: 500px), (min-width: 1025px) {
  .yearbook-one .yearbook-name-wrapper {
    min-height: 25%;
    background-color: #002949;
  }
  .yearbook-container .yearbook-first-last-title {
    left: inherit !important;
    position: inherit;
    bottom: 0 !important;
  }
}
@media(min-width: 768px) and (max-width: 1023px){
  .corp-yearbook .yearbook-headshot-wrapper{
    height: 335px;
  }
  .aag-left {
    padding: 30px 80px 30px 55px;
  }
}
@media(min-width: 1024px) and (max-width: 1199px){
  .corp-yearbook .yearbook-headshot-wrapper{
    height: 350px;
  }
}

/* 
  ##Device = Most of the Smartphones Mobiles (Portrait)
  ##Screen = B/w 320px to 479px
*/
@media (min-width: 320px) and (max-width: 480px) {
  .bottom-cta {
    text-align: center;
  }
  .yearbook-branch-location-wrapper {
    padding: 1em;
    text-align: center;
  }
  .yearbook-team {
    padding: 0em 0.4em;
    text-align: center;
  }
  .container-rja.bottom-cta {
    padding-bottom: 20px;
  }
  .nap-wrapper .nap-items ul {
    padding-left: 0px;
  }
  .simple-media-carousel .rich-text-container .row .col-md-4 {
    margin-right: 15px;
  } 
  .simple-media-carousel .rich-text-container .row .col-md-8 {
    padding-left: 20px !important;
  }
  .simple-media-carousel .rich-text-container .row .col-md-8 h5 {
    padding-top: 1em;
  }
  .simple-media-carousel .rich-text-container .disclaimers {
    margin-left: 20px;
  }
  .resource-detail-overall-wrapper {
    padding: 0px 14px;
  }
  .resource-detail-previous-link-wrapper-mobile {
    left: 25px;
  }
  .resource-detail-next-link-wrapper-mobile {
    right: 25px;
  }
}

/* 
  ##Device = Low Resolution Tablets, Mobiles (Landscape)
  ##Screen = B/w 481px to 767px
*/

@media (min-width: 481px) and (max-width: 767px) {
  
  .simple-media-carousel .rich-text-container .row .col-md-4 {
    margin-right: 15px;
  }
  .simple-media-carousel .rich-text-container .row .col-md-8 {
    padding-left: 15px !important;
    padding-top: 1em;
  }
  .simple-media-carousel .rich-text-container .disclaimers {
    margin-left: 20px;
  }
  .yearbook-branch-location-wrapper {
    padding: 1em;
  }
  .yearbook-team {
    padding: 0em 0.4em;
  }
  .mc-container .slick-next {
    right: -10px;
  }
}