@import url(https://fonts.googleapis.com/css?family=Public+Sans:400,600&subset=latin);

#header {
    width: 100%;
    color: #fff;
    background: #f62811;
    position: fixed;
    z-index: 10;
}

#header .ui.container {
    /* otherwise there's too much space between the menu items */
    width: 950px !important;
}

#header .item {
    font-weight: bold;
    text-transform: uppercase;
}

#header .ui.menu, .nfb-red-column .ui.header {
    font-family: "Public Sans", sans-serif;
    font-weight: 600;
}

#nfb-large-logo img {
    padding-top: 20px;
}

.hidden {
    display: none;
}


.nfb-article-title {
    margin-top: 5px !important;
}
.nfb-article-title .sub.header {
    padding-top: 10px !important;
}
.nfb-article-title + .nfb-article-byline {
    margin-top: 0;
}

.nfb-article-subtitle {
    font-size: 1.15em;
    font-style: italic;
    padding: 30px 0;
}

.nfb-article-lead {
    font-size: 1.1em;
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
}

.nfb-article-metadata {
    font-size: 0.8em;
}

.article-content p {
    line-height: 1.8em;
}

.article-content hr {
    margin: 50px 0;
}

.footnote {
    /* For long URLs in article footnotes. */
    word-break: break-word;
}

article {
    padding-bottom: 50px;
}

hr {
    overflow: visible; /* For IE */
    padding: 0;
    border: none;
    border-top: 1px solid #aaa;
    color: #777;
    text-align: center;
}

.page-content ul, .page-content ol {
    line-height: 1.5em;
}
.page-content li {
    padding-top: 0.5em;
}
.page-content ol ol ol {
    list-style-type: lower-roman;
}
.page-content ol ol {
    list-style-type: lower-alpha;
}

.page-content .section {
    padding: 50px;
}

#footer {
    background: #f62811;
    width: 100%;
    padding: 40px 0;    
    color: #fff;
}

#footer p {
    padding-top: 10px;
    font-size: 0.9em;
    padding-bottom: 0;
}

#footer .input {
}

#footer a {
    color: #fff;
    font-weight: bold;
}

#footer a:hover {
    color: rgba(255, 255, 255, 0.8);
}

.footnote hr {
    margin-top: 50px 0;
}

.footnote li {
    transition: background 1s ease;
}

.footnote .highlighted {
    background-color: #fdd7d3;
}

.page-content {
    padding-top: 150px;
    padding-bottom: 50px;
}

.nfb-issue-thumb .header {
    margin-top: 5px !important;
}

.nfb-footer-issue {
    margin-bottom: 0 !important;
}

.nfb-footer-issue +.header {
    margin-top: 10px;
}

.nfb-translation-buttons {
    text-align: center;
    padding-top: 50px;
}

#hamburger {
    visibility: hidden;
    position: absolute;
    right: 10px;
}

@media only screen and (max-width: 1200px) and (min-width: 767px)  {
    #header .stackable.secondary.menu {
        flex-direction: column;
    }
    #header .mobile-hidden.menu.visible {
        display: flex;
    }
    #header .ui.stackable.mobile-hidden .item {
        width: auto!important;
    }
}

@media only screen and (max-width: 400px) {
    #nfb-mobile-logo img {
        max-width: 80%;
    }
}

.mobile-only {
    display: none;
}

@media only screen and (max-width: 1200px) {
    #masthead.screen {
        display: none;
    }
    .mobile-only {
        display: block;
    }
    img.mobile-only {
        width: 100%;
    }
    .non-mobile-only {
        display: none;
    }
    #hamburger-item {
        width: 100%;
    }
    #hamburger {
        visibility: visible;
    }
    #header .mobile-hidden {
        display: none;
    }
    #header .mobile-hidden.visible {
        display: flex;
    }
    #header .mobile-hidden.menu.visible {
        display: block;
    }
}

.inverted a {
    color: rgba(255, 255, 255, 0.9);
}

.inverted a:hover {
    color: #fff;
}

.page-content {
    font-size: 1.2rem;
}

.print-only {
    display: none;
}
#print-banner {
    display: none;
}

@media print {
    body {
        padding: 15mm 10mm !important;
        margin: 0 !important;
        margin-bottom: 20mm !important;
    }


    .article-category {
        font-size: 0.8em;
    }
    .article-title {
        text-align: left;
    }
    .inverted a, .ui.inverted.header, .ui.inverted.header .sub.header {
        color: #000;
    }
    .page-content {
        font-size: 0.8rem;
        padding: 0;
    }
    .page-content .section {
        padding: 0;
    }
    .print-only {
        display: block;
    }
    .non-mobile-only, iframe {
        display: none;
    }
    .article-lead {
        padding: 20px;
    }
    .article-content {
        margin-top: 30px;
        column-count: 2;
        -webkit-column-count: 2;
        -moz-column-count: 2;
        column-gap: 25px;
        -webkit-column-gap: 25px;
        -moz-column-gap: 25px;
    }
    .article-content h2 {
        font-size: 1.2em;
        margin-top: 0;
    }
    .break-after {
        page-break-after: always;
    }
    .print-hide {
        display: none;
    }
    #print-banner {
        display: block;
        font-size: 0.8em;
    }

    .interview-quote {
        background: none !important;
        border: 1px solid #000;
        color: #000 !important;
        margin-top: -8px;
        width: 40px;
        height: 40px;
        line-height: 40px;
        margin-left: 0 !important;
        margin-right: 10px;
    }
}

blockquote::before {
    content: "\201C";
    font-weight: bold;
    font-size: 60px;
    font-family: Georgia, serif;
    position: absolute;
    left: -25px;
    top: 15px;
}

blockquote::after {
    content: "";
}

blockquote {
    display: block;
    position: relative;
    padding: 10px;
    margin: 0 0 20px;
    text-indent: 35px;
    color: #666;
}

blockquote cite {
    text-align: right;
    display: block;
}

blockquote cite::before {
    content: "\2014";
}

.author-bio {
    font-size: 0.8em;
}

.nfb-image-credit a {
    float: right;
    font-size: 0.8em;
    color: rgba(0, 0, 0, 0.7);
    text-decoration: underline;
}

.nfb-image-credit a:hover {
    color: #000;
}

@media only screen and (max-width: 767px) {
    .nfb-homepage-box {
        border-bottom: none !important;
    }

    .nfb-red-column .header {
        padding-left: 15px;
    }

    /* Otherwise it might be too big and cause overflow */
    h2.nfb-article-title.ui.header {
        font-size: 1.5rem;
    }

    h3.nfb-article-title.ui.header {
        font-size: 1rem;
    }

    .page-content {
        font-size: 1.1rem;
    }

    #article-metadata .column {
        text-align: center;
    }

    #footer {
        background: #f62811;
    }

    #footer h2.ui.header {
        font-size: 1.3rem;
    }

    #footer .column {
        text-align: center;
    }

    .page-content .section {
        padding: 25px 10px;
    }

    .interview-quote {
        margin-left: 0 !important;
        margin-right: 10px !important;
        margin-top: 10px !important;
    }
}

.uploaded-image {
    text-align: center;
}

.uploaded-image span {
    display: block;
    font-style: italic;
    padding-bottom: 1rem;
}

.uploaded-image img {
    max-width: 100%;
}

.uploaded-file {
    text-align: center;
    padding-bottom: 1rem;
}

.interview-quote {
    display: block;
    color: white;
    width: 50px;
    height: 50px;
    line-height: 50px;
    text-align: center;
    border-radius: 25px;
    box-sizing: border-box;
    margin-top: -10px;
    margin-left: -60px;
    float: left;
}

.interview-quote.author-5 {
    background: #ccc;
    color: black;
}

.interview-quote.author-4 {
    background: #777;
}

.interview-quote.author-3 {
    background: #fff;
    color: black;
    border: 1px solid #000;
}

.interview-quote.author-2 {
    background: #000;
}

.interview-quote.author-1 {
    background: #f62811;
}

.twitter-tweet {
    margin: 0 auto;
}

#search-dropdown form {
    width: 100%;
}

#search-dropdown {
    margin-top: 0;
    padding: 10px 0;
    display: none;
}

#search-dropdown.visible {
    display: block;
}

#top-menu {
    margin-top: 0;
    margin-bottom: 0;
}

.nfb-homepage-box {
    border-bottom: 5px solid #f62811;
    margin-bottom: 50px;
}

.nfb-content-box {
    border: 2px solid #f62811;
}

.nfb-category-list {
  columns: 2;
  -webkit-columns: 2;
  -moz-columns: 2;
}

.nfb-divider {
    border-top: 1px solid #f62811;
}

.nfb-red-column {
    background-color: #f62811;
}

.nfb-red-column .ui.header {
    border-bottom: 2px solid #fff;
    padding-bottom: 10px;
}

/* for better spacing on the homepage */
.nfb-article-thumb img, .nfb-issue-thumb img {
    padding-top: 10px;
    padding-bottom: 10px;
}

.nfb-image-link:hover {
    filter: brightness(110%);
}

.featured-subtitle {
    font-size: 1.5em;
}
