﻿/*
// <copyright file="publication-article" company="Federal Reserve Bank of Boston">
//     © 2016 Federal Reserve Bank of Boston
// </copyright>
// <summary>This is the publication-article file.</summary>
//-----------------------------------------------------------------------
// Internal FR – Source Code
*/

/* ReSharper disable UnknownCssVendorExtension */
/* ReSharper disable CssBrowserCompatibility */



.article-by-author-row
{
    margin-top: 15px;
}
.article-date-row {
    margin-top: 35px;
}
.article-download-bttn-row {
    margin-top: 35px;
}
.social-subtitle-row {
    margin-top: 44px;
}
.article-social-row {
    margin-top: 35px;
}
.byline {
    font-weight: 400;
    font-size: 17px;
    line-height: 20px;
    color: #3F4041;
}
.byline-link {
    font-weight: 600;
    font-size: 17px;
    line-height: 20px;
    color: #6BA2B9;
}
.content-nav .list-inline > li {
    padding-left: 0;
    padding-right: 25px;
    margin-bottom: 5px;
}
.content-nav a {
    color: #003A5D;
    line-height: 20px;
}

.cbendnotes {
    counter-reset: list;
    padding-left: 0px;
}
.cbendnotes > li {
    list-style: none;
    margin: 0;
    padding: 0 0 10px;
}
.cbendnotes > li:before {
    content: "[" counter(list) "] "; 
    counter-increment: list;
}

.bodytextlist > .frb-anchor:first-child {
    display: none;
}

/* Styles for 'speech' type of FRBPubArticle */
.speech-event-name,
.speech-host {
  font-size: 15px;
}

.speech-event-name {
  margin-top: 35px;
  margin-bottom: 0px;
}

@media print {
  /* header + footer */
  #topbar {
    display: none !important;
  }

  .article-nav__container {
    display: none !important;
  }

  /* hide social icons */
  li.shared {
    display: none !important;
  }
  /* hide image links */
  img[src]:after {
    content: none !important;
  }
  /* hide masthead links */
  .masthead a::after {
    content: none !important;
  }

  .floating-button-link {
    display: none;
  }
  /* hide iContact signup form */
  #ic_signupform {
    display: none;
  }
  /* hide the accordions at the bottom of the page 'collapse/expand all' */
  .accordion-buttons-container {
    display: none
  }

  .download-button-container {
    display: none;
  }
  /* hide carousel alt text */
  .single-image-slide-inner-2 a {
    display: none;
  }

  .gallery-small-inner2_2 {
    display: none !important;
  }
  /* a[href]:after { 
   content: " (" attr(href) ")";
   position:fixed;
   left: 50px;
   bottom:50px;
   display:inline
 }
*/
}

/*
  Article Navigation
*/

.frb-anchor {
  height: 75px;
  display: block;
  position: relative;
  top: -70px;
}

.frb-anchor::before {
  content: "";
  display: block;
  margin: none;
}

.article-nav__container {
  width: 100%;
  position: fixed;
  top: 0;
  z-index: 999;
  transform: translateY(-75px);
  transition: 0.2s ease-in;
}

.article-nav__container.show {
  display: block;
  transform: translateY(0);
}

.article-nav {
  padding: 0.75rem 1rem;
  background-color: #f7f7f8;
  position: fixed;
  width: 100%;

}

.article-nav .max-width {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  max-width: 1300px;
  margin: 0px auto;
}

.article-nav__header {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: flex-start;
}

.article-nav__header svg.expand-dropdown-btn {
  position: relative;
  top: 2px;
  right: -6px;
}

.article-nav__header svg.expand-dropdown-btn.flipped {
  transform: rotate(180deg);
}

.article-nav__header h3 {
  color: #003a5d;
  white-space: nowrap;
  overflow: hidden;
  line-height: 32px;
  text-overflow: ellipsis;
  margin-top: 10px;
  margin-bottom: 10px;
}

.article-nav__dropdown {
  border: 1px solid rgba(112, 112, 112, 0.2509803922);
  width: 100%;
  max-width: 500px;
  display: flex;
  justify-content: flex-start;
  flex-direction: column;
  display: none;
  max-width: 550px;
  background-color: white;
  box-shadow: rgba(112, 112, 112, 0.2509803922) 0px 3px 6px;
  position: absolute;
  transition: 0.2s ease-in-out;
  top: 100%;
  left: 0px;
}

.article-nav__container.show .article-nav__dropdown.expanded {
  display: flex;
}

.article-nav__scrolltop {
  width: 40px;
  height: 40px;
  cursor: pointer;
  margin-left: 0.5rem;
}

.article-nav__header-link {
  padding: 1rem;
  line-height: 1.6rem;
  border: none;
  border-bottom: 3px solid transparent;
  cursor: pointer;
  color: #3f4041;
}

.article-nav__header-link:hover {
  background-color: #f7f7f8;
}

.article-nav__header-link.selected {
  font-weight: bold;
  color: #003a5d;
  cursor: unset;
  pointer-events: none;
}

.article-nav__header-link.selected:hover {
  background-color: inherit;
}

@media (max-width:480px) {
  .article-nav__header h3 {
    max-width: 18ch;
  }
}