/*! HTML5 Boilerplate v5.3.0 | MIT License | https://html5boilerplate.com/ */

/*
 * What follows is the result of much research on cross-browser styling.
 * Credit left inline and big thanks to Nicolas Gallagher, Jonathan Neal,
 * Kroc Camen, and the H5BP dev community and team.
 */

/* ==========================================================================
   Base styles: opinionated defaults
   ========================================================================== */

html {
    color: #222;
    font-size: 1em;
    line-height: 1.4;
}

/*
 * Remove text-shadow in selection highlight:
 * https://twitter.com/miketaylr/status/12228805301
 *
 * These selection rule sets have to be separate.
 * Customize the background color to match your design.
 */

::-moz-selection {
    background: #b3d4fc;
    text-shadow: none;
}

::selection {
    background: #b3d4fc;
    text-shadow: none;
}

/*
 * A better looking default horizontal rule
 */

hr {
    display: block;
    height: 1px;
    border: 0;
    border-top: 1px solid #ccc;
    margin: 1em 0;
    padding: 0;
}

/*
 * Remove the gap between audio, canvas, iframes,
 * images, videos and the bottom of their containers:
 * https://github.com/h5bp/html5-boilerplate/issues/440
 */

audio,
canvas,
iframe,
img,
svg,
video {
    vertical-align: middle;
}

/*
 * Remove default fieldset styles.
 */

fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

/*
 * Allow only vertical resizing of textareas.
 */

textarea {
    resize: vertical;
}

/* ==========================================================================
   Browser Upgrade Prompt
   ========================================================================== */

.browserupgrade {
    margin: 0.2em 0;
    background: #ccc;
    color: #000;
    padding: 0.2em 0;
}

/* ==========================================================================
   Author's custom styles
   ========================================================================== */
body{
    font-family: 'Raleway', sans-serif;
}

.nav-container{
    width: 100%;
    background-color: #FFF;
    position: fixed;
    top: 0px;
    left: 0px;
    padding: 5px;
    color: #555;
    z-index: 100;
    border-bottom: 1px solid #CCC;
}
.nav{
    max-width: 800px;
    margin: 0 auto;
}
/*.nav div{
    padding: 8px 15px;
    
    border-radius: 3px;
}*/
.nav div.social{
    margin: 0 0;
    padding: 0;
    display: inline-block;
    border-radius: 3px;
}
.nav a{
    text-decoration: none;
    color: #555;
}
/*.nav div:hover{
    background-color: #DDD;
}*/
.social{
    width: 30px;
    height: 30px;
    border-radius: 2px;
    color: white;
    font-size: 18px;
    text-align: center;
    margin: 15px;
}
.socicon{
    vertical-align: middle;
    line-height: 35px;
}
.social.facebook{
    background-color: #3e5b98;
}
.social.twitter{
    background-color: #4da7de;
}
.social.youtube{
    background-color: #e02a20;
}
.hero-container{
    width: 100vw;
    background-size: cover;
    background-position: left;
    padding: 50px 0;
}
.hero-container.flag{
    background-image: url('../images/american-flag-3-blur2.jpg');
}
.hero-container.wethepeople{
    margin-top: 50px;
    background-image: url('../images/we_the_people.jpg');
    min-height: 250px;
}
.hero-box{
    margin: 20px auto;
    max-width: 800px;
    text-align: center;
}
.hero-box h1{
    font-size: 3em;
    text-shadow: 3px 3px 2px #000;
}
.hero-box h2{
    text-shadow: 2px 2px 1px #000;
    padding-bottom: 30px;
}
.hero-button{
    padding: 10px 20px;
    border-radius: 3px;
    text-decoration: none;
    color: #333;
    background-color: #EEE;
    margin-right: 10px;
}
.hero-button:hover{
    color: #333;
    background-color: #BBB;
}
.mobile-movie{
    display: none;
}
.three-col, .two-col{
    max-width: 900px;
    margin: 0 auto;
    padding: 50px 0;
}
.three-col p, .two-col p {
    padding: 10px 50px;
    line-height: 2em;
}
blockquote{
    padding: 10px 50px;
    line-height: 2em;
    margin-left: 30px;
    margin-top: -10px;
}
.three-col li{
    margin: 0 40px;
    padding: 10px 30px;
    line-height: 1.75em;
}
.three-col li > ul > li, .three-col li > ol > li{
    margin: 0 40px;
    padding: 5px 30px;
    line-height: 1.55em;
}
#content-container h1, #content-container h2, #content-container h3, #content-container h4{
    padding: 0 50px;
}
#content-container{
    min-height: 80vh;
}
.column-3{
    max-width: 275px;
    margin: 0 auto;
    display: inline-block;
    width: 32%;
    vertical-align: top;
    padding: 0 10px;
}
.column-2{
    max-width: 430px;
    margin: 0 auto;
    display: inline-block;
    width: 46%;
    vertical-align: top;
    padding: 0 10px;
}
.column-4{
    width: 23%;
    max-width: 200px;
    padding: 10px;
    display: inline-block;
    vertical-align: top;
}
.column-image{
    max-width: 200px;
    max-height: 200px;
    width: 25vw;
    height: 25vw;
    border-radius: 50%;
    background-size: cover;
    background-position: center;
    margin: 0 auto;
}
.column-image-1{
    background-image: url('../images/we_the_people.jpg');
}
.column-image-2{
    background-image: url('../images/torch-1.jpg');
}
.column-image-3{
    background-image: url('../images/coin-1.jpg');
}
.column-title{
    text-transform: uppercase;
    font-size: 14px;
    text-align: center;
    padding-top: 20px;
}
.column-link{
    /*background-color: #EEE;*/
    width: 90%;
    padding: 10px;
    margin: 10px auto;
    text-align: center;
    border-top: 1px solid #CCC;
    border-bottom: 1px solid #CCC;

}

.column-3 a{
    text-decoration: none;
}
.column-link:hover{
    background-color: #EEE;
}
.reel{
    padding: 20px 0;
}
.reel article {
    padding: 0 30px;
}
.reel img {
    width: 100%;
}
.reel a{
    text-decoration: none;
}
.reel h3{
    margin-top: 5px;
}
.news-image{
    width: 100%;
    height: 150px;
    background-size: cover;
    background-position: center;
}
.news-date{
    margin: 20px 0 0 0;
}
/*.slick-arrow{
    z-index: 50;
}
.slick-prev{
    position: absolute;
    top: 50%;
    left: 0px;
}
.slick-next{
    position: absolute;
    top: 50%;
    right: 0px;
}*/
.quotes{
    text-align: center;
    /*background-color: #FFF;
    background-image: url("../images/torch-1.jpg");
    background-size: cover;
    background-position: center;*/
}
.twitter{
    text-align: center;
    background-color: #FFF;
}
.quotes article{
    height: 350px!important;
    vertical-align: middle;
    display: table-cell;
    padding: 0 20px;
}
.quotes a{
    text-decoration: none;
    color: black;
}
/*.faces{
    height: 5vw;
    width: 5%;
    margin: 0 -0.28vw;
    padding: 0;
    display: inline-block;
}*/
footer{
    width: 100%;
    padding: 15px;
    background-color: #333;
    color: #BBB;
    font-size: 12px;
}
footer a{
    text-decoration: none;
    color: #BBB;
}
footer a > div:hover{
    background-color: #555;
}
.footer-container{
    max-width: 900px;
    margin: 0 auto;
}
.footer-link{
    border-top: 1px solid #BBB;
    padding: 5px 8px;
    margin: 0px;
}


body, html, main {
    /* important */
    height: 100%;
}
 
.fixed-bg {
    min-height: 400px;
    background-size: cover;
    background-attachment: fixed;
    background-repeat: no-repeat;
    background-position: center center;
    display: table;
    width: 100%;
}
.fixed-bg > div{
    display: table-cell;
    vertical-align: middle;
}
.fixed-bg h2{
    text-align: center;
    color: white;
    font-size: 3em;
    width: 70%;
    max-width: 800px;
    margin: 140px auto;
    text-shadow: 2px 2px 1px #000;
}
 
.fixed-bg.bg-1 {
  background-image: url("../images/we_the_people.jpg");
}
.fixed-bg.bg-2 {
  background-image: url("../images/coin-1.jpg");
}
.fixed-bg.bg-3 {
  background-image: url("../images/torch-2.jpg");
}
.fixed-bg.bg-4 {
  background-image: url("../images/architectural_3.jpg");
}
/*.fixed-bg.bg-5 {
  background-image: url("../images/torch-1.jpg");
}*/
.fixed-bg.bg-6 {
  background-image: url("../images/architectural_1.jpg");
}
 
.scrolling-bg {
    /*min-height: 40%;*/
}
.logo{
    height: 36px;
}

/* Style The Dropdown Button */
.dropbtn {
    background-color: white;
    color: white;
    padding: 15px 15px;
    font-size: 16px;
    border: none;
    cursor: pointer;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}
.dropdown.right{
    margin-right: 30px;
}
.dropdown.left{
    margin-left: 30px;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: #f9f9f9;
    min-width: 200px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.2);
    z-index: 100;
    margin-top: 10px;
    font-size: 14px;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: black;
    padding: 10px 14px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {background-color: #f1f1f1}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {
    display: block;
}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: #f9f9f9;
}

img.image{
    width: 40%;
    border-style: none;
    margin: 10px 30px 30px;
}
img.image.right{
    float: right;
    margin-right: 0;
}
img.image.left{
    float: left;
    margin-left: 0;
}
.chapter-note{
    color: #999;
}
p.orglist{
    margin: 5px 80px;
    padding: 0px;
    line-height: 1.5em;
}
.press-title{
    font-style: italic;
}
.scholar-title{
    font-style: italic;
}
#scholars h3, #press h3, #releases h3, #timeline h3, #faq h3{
    margin-top: 35px;
}
.scholar {
    margin: -10px 0px 10px;
}

.prev{
    float: left;
}
.next{
    float: right;
}
.newsHeaderLeft, .newsHeaderRight{
    display: inline-block;
    margin: 0;
    padding: 0;
    vertical-align: top;
    line-height: 1.45em;
}
.newsHeaderLeft{
    width: 75%;
    margin-bottom: 20px;
}
.emphasis{
    text-decoration: underline;
}
.scholarly{
    max-width: 40%;
    margin: 0 auto;
}
#featured{
    /*background-color: #083542;*/ /* A on logo */
    /*background-color: #4d7283;*/ /* M on logo */
    /*background-color: #eee;*/ /* button hover color */
    /*background-color: #f6d980;*/
    background-color: #FFF;
    color: white;
    text-align: center;
    display: none;
}
#featured section{
    padding: 50px 80px 5px;
}
#featured h1{
    font-weight: 300;
    font-size: 1.35em;
}
#featured a{
    text-decoration: none;
    /*color: white;*/
}
.quoter{
    display: block;
}
.quoter img{
    width: 60px;
    border-radius: 50%;
    margin-bottom: 15px;
}
.textLogoPre{
    color: #043441;
    font-family: 'Cabin', sans-serif;
    font-size: 2em;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    text-shadow: 1px 1px 1px #FFF;
}
.textLogo{
    font-family: 'Work Sans', sans-serif;
    font-size: 4em;
    text-shadow: 1px 1px 1px #FFF;
}




/* ==========================================================================
   Helper classes
   ========================================================================== */

/*
 * Hide visually and from screen readers
 */

.hidden {
    display: none !important;
}

/*
 * Hide only visually, but have it available for screen readers:
 * http://snook.ca/archives/html_and_css/hiding-content-for-accessibility
 */

.visuallyhidden {
    border: 0;
    clip: rect(0 0 0 0);
    height: 1px;
    margin: -1px;
    overflow: hidden;
    padding: 0;
    position: absolute;
    width: 1px;
}

/*
 * Extends the .visuallyhidden class to allow the element
 * to be focusable when navigated to via the keyboard:
 * https://www.drupal.org/node/897638
 */

.visuallyhidden.focusable:active,
.visuallyhidden.focusable:focus {
    clip: auto;
    height: auto;
    margin: 0;
    overflow: visible;
    position: static;
    width: auto;
}

/*
 * Hide visually and from screen readers, but maintain layout
 */

.invisible {
    visibility: hidden;
}

/*
 * Clearfix: contain floats
 *
 * For modern browsers
 * 1. The space content is one way to avoid an Opera bug when the
 *    `contenteditable` attribute is included anywhere else in the document.
 *    Otherwise it causes space to appear at the top and bottom of elements
 *    that receive the `clearfix` class.
 * 2. The use of `table` rather than `block` is only necessary if using
 *    `:before` to contain the top-margins of child elements.
 */

.clearfix:before,
.clearfix:after {
    content: " "; /* 1 */
    display: table; /* 2 */
}

.clearfix:after {
    clear: both;
}

/* ==========================================================================
   EXAMPLE Media Queries for Responsive Design.
   These examples override the primary ('mobile first') styles.
   Modify as content requires.
   ========================================================================== */

@media only screen and (min-width: 35em) {
    /* Style adjustments for viewports that meet the condition */
}

@media print,
       (-webkit-min-device-pixel-ratio: 1.25),
       (min-resolution: 1.25dppx),
       (min-resolution: 120dpi) {
    /* Style adjustments for high resolution devices */
}

/* ==========================================================================
   Print styles.
   Inlined to avoid the additional HTTP request:
   http://www.phpied.com/delay-loading-your-print-css/
   ========================================================================== */

@media print {
    *,
    *:before,
    *:after,
    *:first-letter,
    *:first-line {
        background: transparent !important;
        color: #000 !important; /* Black prints faster:
                                   http://www.sanbeiji.com/archives/953 */
        box-shadow: none !important;
        text-shadow: none !important;
    }

    a,
    a:visited {
        text-decoration: underline;
    }

    a[href]:after {
        content: " (" attr(href) ")";
    }

    abbr[title]:after {
        content: " (" attr(title) ")";
    }

    /*
     * Don't show links that are fragment identifiers,
     * or use the `javascript:` pseudo protocol
     */

    a[href^="#"]:after,
    a[href^="javascript:"]:after {
        content: "";
    }

    pre,
    blockquote {
        border: 1px solid #999;
        page-break-inside: avoid;
    }

    /*
     * Printing Tables:
     * http://css-discuss.incutio.com/wiki/Printing_Tables
     */

    thead {
        display: table-header-group;
    }

    tr,
    img {
        page-break-inside: avoid;
    }

    img {
        max-width: 100% !important;
    }

    p,
    h2,
    h3 {
        orphans: 3;
        widows: 3;
    }

    h2,
    h3 {
        page-break-after: avoid;
    }
}
@media(max-width: 1024px){
    .fixed-bg{
        background-attachment: scroll;
    }
    .column-3{
        width: 30%;
    }
    .column-4{
        width: 20%;
    }
    .scholarly{
        max-width: 40%;
        margin: 0 auto;
    }
}
@media(max-width: 640px){
    .nav-container, .desktop-movie{
        display: none;
    }
    .hero-container{
        margin-bottom: 30px;
    }
    .mobile-movie{
        display: block;
    }
    .hero-button{
        display: block;
        margin: 15px 40px;
    }
    .three-col, .two-col{
        max-width: 100%;
        margin: 0 auto;
        padding: 0;
    }
    .column-3, .column-2, .column-4{
        max-width: 100%;
        margin: 0 auto;
        display: block;
        width: 100%;
        vertical-align: top;
        padding: 0;
    }
    .column-image{
        max-width: 100%;
        width: 100%;
        max-height: 500px;
        height: 250px;
        border-radius: 0;
    }
    .column-title{
        font-size: 1.3em;
        padding: 10px 20px;
    }
    .column-link{
        /*background-color: #EEE;*/
        padding: 10px;
        margin: 10px auto;
        border-top: 1px solid #CCC;
        font-size: 1.15em;
    }
    footer{
        width: 100%;
        padding: 0;
        background-color: #333;
        color: #BBB;
        font-size: 12px;
    }
    .footer-container{
        max-width: 100%;
        margin: 0 auto;
        padding: 15px;
    }
    .footer-link{
        border-top: 1px solid #BBB;
        padding: 5px 8px;
        margin: 0px;
        font-size: 1.1em;
    }
    .mobile-hide{
        display: none;
    }
    .fixed-bg{
        background-attachment: scroll;
    }
    img.image{
        width: 100%;
        display: inline-block;
        margin: 30px;
    }
    .scholarly{
        max-width: 100%;
    }
    #featured section{
        /*display: none;*/
        padding: 10px;
    }
    #featured h1{
        font-weight: 300;
        font-size: 1.7em;
    }
}