/* CSS Document for Screens */

@font-face {
    font-family: 'LatoLight';
    src: url("../../assets/fonts/LatoLatin-Light.woff");
}

html {
    height: 100%;
    font-size: 18px;  
}

body {        
    font-size: 100%;
    font-family: 'LatoLight', Helvetica, 'Open Sans', sans-serif ; /* fontlibrary.org lato */
    font-weight: 300;
    letter-spacing: 1px;
    color: #212121;   
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    background: transparent;
    margin: 0;
    padding: 0;
    height: 100%;
    min-height: 100vh;
    width: 100%;
    min-width: 320px;
    overflow-x: scroll;  
}


#logo a {
    float: left;
    width: 30%;
    margin-top: 20px;
    margin-bottom: 20px;
    margin-left: 40px;
    color: black;
    font-size: 1em;
    font-weight: 200;
    text-transform: uppercase;
    letter-spacing: 9px;
    text-align: left;
}

.wrapper { 
    min-height: 100%; 
/*    max-width: 1200px;  */
    margin: 0 auto;
    position: relative; 
}

main {
    padding-bottom: 200px;
    text-align: center;         /* added to try and center txt content */
}

header, footer, .content {
    font-family: LatoLight;
    font-size: 18px;
    line-height: 1;
    color: #212121;
    background-color: transparent;
}

/* http://stackoverflow.com/questions/71074/how-to-remove-firefoxs-dotted-outline-on-buttons-as-well-as-links */
a:focus, a:active { 
    outline: none;
    background: transparent;
}

/* make ellipsis "title" easier to read */
.horizontal-nav a[title="..."], #vertical-nav a[title="..."] {
    font-size: 2em;
}




button::-moz-focus-inner {
  border: 0;
  background: transparent;
}


/*  RESPONSIVE MENU BUTTON  */

.menu-button {
        display: none; 
        visibility: visible;
        color: black;
        font-size: 1.8em;
        position: relative;
        top: 20px;
        float: right;
        margin-right: 30px;  
}


/* NAV HORIZONTAL */

#vertical-nav {
    visibility: hidden;
} 

#closebtn {
    display: none;
    text-decoration: none;
}

nav {
    float: right;
    width: 60%;
    top: 0px;
    margin-right: 15px;
} 

nav ul{
    list-style: none;
    text-align: right;
    margin-top: 20px;
    padding: 0px;
}

nav ul li {
    display: inline-block;    
}

nav ul li a, nav ul li label {
    font-size: .7em;
    font-weight: bold;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 15px;
    text-decoration: none;
}


.horizontal-nav a {
    color: black;
}

.horizontal-nav a:hover {
    color: gray;
}

.current-pg a {
    color: lightgray;
}

.current-pg a:hover {
    color: black;
}

nav ul li a:active {
    color: #adacac;
}

nav ul li a:hover {
    text-decoration: none;
}

#app-button {
    background-color: #507db2;
    color: white;
    border-radius:30px;
}

#app-button:hover {
    background-color: #719dd1;
}

/* Error Page  */



.page-not-found {
    position: relative;
    padding-top: 30px;
    padding-bottom: 50px;
    width: 50%;
    margin: auto;
    text-align: center;
}

.page-not-found h2 {
    display: inline-block;
    color: white;
    background-color: rgba(48,48,48,0.75);
    border-radius: 0.5em;
    padding: 1em;
}

/*  MAIN index page */


.home-wall-1 {
    background-image: url(../img/home/skyline-1500.jpg);
}

#parallax-image-1 {
    height: 900px;
}

.parallax-image {
    /* Set a specific height */
    height: 600px;
    width: 100%;
    
    /* Create the parallax scrolling effect */

    /* background-attachment: fixed;   */
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover; 
        -webkit-background-size: cover;
        -moz-background-size: cover;
        -o-background-size: cover;
    z-index: 1;
}

/* turn off parallax for iOS touch (esp. iPad) */
@supports (-webkit-overflow-scrolling: touch) {
    .parallax-image {     
        background-attachment: scroll;
    }
}

/* default */
@supports not (-webkit-overflow-scrolling: touch) {
    .parallax-image {     
        background-attachment: fixed;
    }
}

.title-bar {
    text-align: left;
    font-family: LatoLight;
    padding-top: 2em;
    padding-left: 10%;
    padding-right: 10%;
    text-transform: uppercase;  
    font-size: 3em;
/*    text-shadow: 0 0 2px #adacac;  */
    line-height: 1.4;
} 

.tb-white {
    color: white;
}

h1.title-bar span {
    display: inline-block;
    background-color: rgba(65, 65, 65, 0.6);
    padding: 5px;
    border-radius: 5px;
    color: white;
}

.content-container {
    display: inline-block;
    text-align: center;
    margin: auto;
}

.content {
    max-width: 1200px;
    margin-left: auto;  /* doesn't work with max-width and display table cell */
    margin-right: auto;

    background-color:rgb(255, 250, 250,.7);
    padding-left: 10%;
    padding-right: 10%;
    text-align: left;
    display: table-cell;
    vertical-align: middle;
    padding-top: 30px;
    padding-bottom: 30px;
    font-size: 1.3em;
    line-height: 1.5;
    height:300px;
    z-index: 2;
}

.content h3 {
    font-size: 1.5em;
    font-weight: 400;
    padding-bottom: 30px;
}

header{
    height: 120px;
}

#content-1 {
    height:200px;
}

/* ZERO Images and Content */

.small-font {
    font-size: 0.7em;
    padding-bottom: 20px;
}

.center {
    text-align: center;
}

.center img, .center p, .fred-graph-iframe {
/*    display: inline-block;  */
    max-width: 100%;
 }

.center img, .center p:nth-child(1), .center iframe {
    margin-top: 20px;
}

.center img, .center p:nth-last-of-type(1), .center iframe {
    margin-bottom: 30px; 
}

.center iframe {
    overflow:hidden; 
    width:670px; 
    height:475px;
}

.fred-graph-img {
    display: none;
}




.zero-wall-1 {
    background-image: url(../img/Zero/Domenico-Fetti_Archimedes_1620-1500.jpg);
    background-position: 50% 0%;
}

.zero-wall-2 {
    background-image: url(../img/Zero/Marinus_Claesz._van_Reymerswaele-1500.jpg);
}

.zero-wall-3 {
    background-image: url(../img/Zero/Landscape_with_Cottage_and_Haybam-1500.jpg);
}

.zero-wall-4 {
    background-image: url(../img/Zero/Jakob_Jordaens_016-1500.jpg);
}

.zero-wall-5 {
    background-image: url(../img/Zero/Domenico-Fetti_Archimedes_1620-1500.jpg);
}


/* ONE Images and Content */

.one-wall-1 {
    background-image: url(../img/One/craftsman-house-1500.jpg);
}

.one-wall-3 {
    background-image: url(../img/One/tuscany-1500.jpg);
}

.one-wall-4 {
    background-image: url(../img/One/tromso-cityscape-1500.jpg);
}

.one-wall-5 {
    background-image: url(../img/One/Frank-lloyd-wright-wausau-1500.jpg);
}

.one-wall-6 {
    background-image: url(../img/One/cottage-1500.jpg);
    background-position: 10% 50%;
}

.one-wall-7 {
    background-image: url(../img/One/figure-on-the-shortest-term-1500.jpg);
    background-position: 0% 50%;
}


#one-table {
    display: table;
    padding-left: 25%;
    padding-top: 15px;
    padding-bottom: 30px;
}

#one-table>div {
    display: table-row;
}

#one-table>div:nth-child(2) {
    display: table-row;
    text-decoration: underline;
}

#one-table>div div {
    text-decoration: none;
    display: table-cell;
}

#one-table>div div:first-child {
    text-align: right;
    padding-left: 30px;
}

#one-table>div div:nth-child(2) {
    text-align: left;
    padding-left: 30px;
}


/* TWO Images and Content */

.two-wall-1 {
    background-image: url(../img/Two/Alamo-Square-San-Francisco-1500.jpg);
}

/* THREE Images and Content */

.three-wall-1 {
    background-image: url(../img/Three/Miller_Ranch_Jackson_WY1-1500.jpg);
}

.three-wall-3 {
    background-image: url(../img/Three/modulating-payments-paying-next-months-principal-this-month-1500.jpg);
}

.three-wall-4 {
    background-image: url(../img/Three/inflation-the-double-edged-sword-1500.jpg);
}

.three-wall-5 {
    background-image: url(../img/Three/investing-the-difference-1500.jpg);
}

.three-wall-6 {
    background-image: url(../img/Three/Inside_a_Post_Office_Savings_Bank_deposit_book-1500.jpg);
}


.leading-p {
    font-size: 1.2em;
    font-weight: bold;
    text-transform: uppercase;
    padding-bottom: 1.5em;
}

.quote {
    text-align: center;
    width: 100%;
    margin: 0;
}

.quote-a {
    display: inline-block;
    width: 70%;
    padding-top: 30px;
    text-align: left;
    font-style: italic;
    font-size: 1.3em;
    padding-left: 40px;
}

.quote-b {
    display: inline-block;
    width: 40%;
    text-align: right;
    padding-bottom: 40px;
}

.quote-c {
    display: inline-block;
    width: 60%;
    padding-top: 30px;
    padding-bottom: 30px;
    text-align: left;
    font-style: italic;
    font-size: 1.3em;
    padding-left: 40px;
}

/* ELLIPSIS Images and Content */

.ellipsis-wall-1 {
    background-image: url(../img/ellipsis/Potola-Palace-1500.jpg);
}

.ellipsis-wall-2 {
    background-image: url(../img/ellipsis/Macbook-Air-1500.jpg);
}

.ellipsis-wall-3 {
    background-image: url(../img/ellipsis/sepia-road-1500.jpg);
}

.ellipsis-wall-4 {
    background-image: url(../img/ellipsis/inflation-and-appreciation-1500.jpg);
}

.ellipsis-wall-5 {
    background-image: url(../img/ellipsis/points-made-simple-just-say-no-1500.jpg);
}

/* FIFTEEN Images and Content */

.fifteen-wall-1 {
    background-image: url(../img/Fifteen/Untitled-1500.jpg);
}
    
#fifteen-inset {
    font-size: 1.4em;
    font-weight: bold;
    text-align: left;
}

#fifteen-inset {
    display: table;
    padding-bottom: 30px;
}

#fifteen-inset>div {
    display: table-row;
}

#fifteen-inset>div a, #fifteen-inset>div div {
    text-decoration: none;
    display: table-cell;
    padding-top: 30px;
}

#fifteen-inset>div a {
    text-align: right;
    padding-left: 30px;
}

#fifteen-inset>div div {
    text-align: left;
    padding-left: 30px;
}


/* CREDITS and PRIVACY-DISCLAIMER */

.credits {   
    display: block;
    text-align: left;
    align-content: space-around;
    margin-top: 30px;
    margin-left: 10%;
    margin-right: 10%;
    
}

.credits img {
    display: inline-block;
    max-width: 100%;
    padding-bottom: 10px;
 }

.credits p, .privacy p {
    display: block;
    max-width: 100%;
    padding-bottom: 10px;
 }



.credits h1, .privacy h1 {
    font-size: 1.5em;
}

.privacy {
    display: inline-block;
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 20%;
    margin-right: 20%;
    font-size: 1em;
}



/* CONTACT */


.comments {
    display: block;  
    margin-top: 30px;
    margin-bottom: 30px;
    margin-left: 10%;
    margin-right: 10%;
    font-family: 'LatoLight', Helvetica, 'Open Sans', sans-serif;
    font-size: 1.4em;
}

.comments-tagline {
    font-size: 2em;
    text-align: center;
    margin-bottom: 20px;
    display: inline-block;

}

.comments-tagline.active-error-msg {
    font-size: 1.3em;
    color: firebrick;
}

.firstname {
    float: left;
    width: 45%;
}

.lastname {
    float: right;
    width: 45%;
}

input {
    background-color: #f7f7f7;
    border-style: solid;
    border-color: gray;
    border-width: 1px;
    width: 100%;
    font-size: 1em;
    margin-top: 5px;
}

.alert-box {
    min-height: 2em;
}

.email-alert {
    margin: 0px;
    color: firebrick;
}

textarea {
    background-color: #f7f7f7; 
    width: 100%;
    resize: vertical;
    height: 100px;
    margin-top: 5px;
    margin-bottom: 10px;
    border-width: 1px;
    border-style: solid;
    border-color: gray;
    font-size: 1em;
}

button {
    margin-top: 20px;
    margin-bottom: 30px;
    background-color: #2f5779;
    color: white;
    border-radius: 8px;
    padding: 12px 17px 12px 17px;
    font-size: 1.1em;
    letter-spacing: 2px;
    text-transform: uppercase;    
}

fieldset {
    padding-left: 0px;
    padding-right: 0px;
    position: relative;
    border: none;
}



/* FOOTER */

footer {
    width: 100%;
    display: block;
    position: relative;  
    background-color: #5c5858;
    height: 200px;
    margin-top: -200px;
    clear: both;  
}

.footer-content {
    text-align: center;
}

.footer-content p {
    padding-top: 1em;
    padding-bottom: 0;
    color: white;
    text-align: center;
    font-size: 1.2em;
    margin: 0;
}

.footer-content ul {
    list-style: none;
    text-align: center;
    margin-top: 10px;
    padding-top: 0px;
    padding-left: 0px;
}

.footer-content ul li {
    display: inline-block;    
}

.footer-content a {
    font-size: .9em;
    font-weight: 900;
    letter-spacing: 2px;
    color: #adacac;
    padding: 10px 25px;
    text-decoration: none;
}

.footer-content a:hover {
    color: #f7f7f7;
    text-decoration: none;
}

#copyright {
    padding-top: 0.8em;
    font-size: 0.8em;
    color: #adacac;
}

 #return-to-top {
     position: relative;
    background-color: transparent;  
    text-align: center;
    height: 60px;
     margin-top: 1em;
     margin-bottom: 1em;
    margin-right: auto;
     margin-left: auto;
     padding-top: 10;
     padding-bottom: 0;
     padding-left: 0;
     padding-right: 0;
    display: inline-block;
    text-decoration: none;
    -webkit-border-radius: 35px;
    -moz-border-radius: 35px;
    border-radius: 35px;  
    -webkit-transition: all 0.3s linear;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}  

#return-to-top i {
    display: inline-block;
    color: #f7f7f7;
    margin: 0;
    position: relative;
    -webkit-transition: all 0.3s ease;
    -moz-transition: all 0.3s ease;
    -ms-transition: all 0.3s ease;
    -o-transition: all 0.3s ease;
    transition: all 0.3s ease;
}  


@media screen and (max-width: 860px) {
    
    #logo a {
        font-size: 1.4em;
    }
    
    #parallax-image-1 {
        height: 800px;
    }
    
    .content {
        height: 500px;
    }
    
    #content-8 {
        height: 340px;
    }
    
    .fred-graph-img {
        display: inline-block;
    }
    
    .fred-graph-iframe {
        display: none;
    }

    
    
    /* NAV converts to vertical under menu button */
   
    nav ul.horizontal-nav {
        display: none;
    } 
    
    .menu-button {
        display: block;
    }
    
    .menu-button.nav-active {
        visibility: hidden;
    }
    
    #vertical-nav.nav-active {
        width:40%;
    }
    
    #closebtn {
        display: block;
        position: absolute;
        top: 0;
        left: 25px;
        font-size: 36px;
    }
        
    nav ul {
        margin-top: 0;
    }
    
    nav ul li {
        display: block;
        padding-top: 0.7em;
        padding-bottom: 0.7em;
    }
    
    #vertical-nav {
        visibility: visible;
 
        height: 100%;
        width: 0;
        position: fixed;  
        z-index: 1;
        top: 0px;
        right: 0; 
        background-color: rgba(47, 47, 47, 0.9);
        overflow-x: hidden;
        transition: width 0.1s;  
        padding-top: 60px;
        
    }
    
    #vertical-nav a { 
        color: #f7f7f7;  
        padding-top: 20px;
    }
    
    
    #vertical-nav .android {
        font-size: 0.5em; 
        color: #8d8a8a;
        padding-top: 0;
    }
    
    #return-to-top {
        margin-top: 5px;
        margin-bottom: 5px;
        padding-top: 0;
        height: 50px;
    }
    
    .footer-content a {
        padding: 15px 20px;
    }
    
    .footer-content {
        line-height: 1.5em;
    }
 
/* page ONE  */
    #one-table {
        padding-left: 15%;
    }

    
/* HOME - Mobile img */
    
.home-wall-1 {
    background-image: url(../img/home-mobile/skyline-860.jpg);
}  
    

/* ZERO - MOBILE */
    
.zero-wall-1 {
    background-image: url(../img/Zero-mobile/Domenico-Fetti_Archimedes_1620-860.jpg);
}

.zero-wall-2 {
    background-image: url(../img/Zero-mobile/Marinus_Claesz._van_Reymerswaele-860.jpg);
}

.zero-wall-3 {
    background-image: url(../img/Zero-mobile/Landscape_with_Cottage_and_Haybam-860.jpg);
}

.zero-wall-4 {
    background-image: url(../img/Zero-mobile/Jakob_Jordaens_016-860.jpg);
}

.zero-wall-5 {
    background-image: url(../img/Zero-mobile/Domenico-Fetti_Archimedes_1620-860.jpg);
}

    
/* ONE Images MOBILE */

.one-wall-1 {
    background-image: url(../img/One-mobile/craftsman-house-860.jpg);
}

.one-wall-3 {
    background-image: url(../img/One-mobile/tuscany-860.jpg);
}

.one-wall-4 {
    background-image: url(../img/One-mobile/tromso-cityscape-860.jpg);
}

.one-wall-5 {
    background-image: url(../img/One-mobile/Frank-lloyd-wright-wausau-860.jpg);
}

.one-wall-6 {
    background-image: url(../img/One-mobile/cottage-860.jpg);
    background-position: 10% 50%;
}

.one-wall-7 {
    background-image: url(../img/One-mobile/figure-on-the-shortest-term-860.jpg);
    background-position: 0% 50%;
}
    
/* TWO Image MOBILE */

.two-wall-1 {
    background-image: url(../img/Two-mobile/Alamo-Square-San-Francisco-860.jpg);
}

/* THREE Images MOBILE */

.three-wall-1 {
    background-image: url(../img/Three-mobile/Miller_Ranch_Jackson_WY1-860.jpg);
}

.three-wall-3 {
    background-image: url(../img/Three-mobile/modulating-payments-paying-next-months-principal-this-month-860.jpg);
}

.three-wall-4 {
    background-image: url(../img/Three-mobile/inflation-the-double-edged-sword-860.jpg);
}

.three-wall-5 {
    background-image: url(../img/Three-mobile/investing-the-difference-860.jpg);
}

.three-wall-6 {
    background-image: url(../img/Three-mobile/Inside_a_Post_Office_Savings_Bank_deposit_book-860.jpg);
}    
    
    

/* ELLIPSIS Images and Content- MOBILE */

.ellipsis-wall-1 {
    background-image: url(../img/ellipsis-mobile/Potola-Palace-860.jpg);
}

.ellipsis-wall-2 {
    background-image: url(../img/ellipsis-mobile/Macbook-Air-860.jpg);
}

.ellipsis-wall-3 {
    background-image: url(../img/ellipsis-mobile/sepia-road-860.jpg);
}

.ellipsis-wall-4 {
    background-image: url(../img/ellipsis-mobile/inflation-and-appreciation-860.jpg);
}

.ellipsis-wall-5 {
    background-image: url(../img/ellipsis-mobile/points-made-simple-just-say-no-860.jpg);
}
    
/* FIFTEEN Image -- MOBILE */

.fifteen-wall-1 {
    background-image: url(../img/Fifteen-mobile/Untitled-860.jpg);
}   
    
    
 /*   section.about-main .comments-tagline {
        font-size: 1.5em;
    }
    
    section.about-main .comments-tagline.active-error-msg {
        font-size: 1em;
    }
    
    
    #contact-btn {
        border: none;   
    }
    
    #contact-btn:hover {
        background: transparent;
        color:white;
    }  */
    
}


@media screen and (max-width: 640px) {
    
    #logo a {
        font-size: 1.2em;
    }
    
    .content {
        height: 440px;
    }
    
    .title-bar {
        font-size: 2em;
    }
        
    .menu-button { 
        font-size: 1.6em;
        margin-right: 10px;
    }
    
 
       
    #copyright {
        padding-top: 0.5em;
        font-size: 0.7em;
    }
    
    /* page ONE  */
    #one-table {
        padding-left: 10%;
    }

    
    /* page THREE  */
    .quote-a {
        width: 100%;
        padding-top: 20px;
 
        font-size: 1.1em;
        padding-left: 40px;
    }

    .quote-b {
        display: inline-block;
        width: 100%;
        text-align: right;
        padding-right: 40px;
        padding-bottom: 20px;
    }
    
    .leading-p {
        padding-bottom: .7em;
    }
}

@media screen and (max-width: 568px) { 
    
    nav {
        width: 20%;
    }
    
    #logo a {
        width: 60%;
        margin-left: 20px;
        font-size: 1em;
    }
    
    #parallax-image-1 {
        height: 500px;
    }
    
    .content {
        font-size: 1.1em;
        height: 380px;
    }
    
    .title-bar {
        font-size: 1.6em;
    }
    
    
    p {
        font-size: 0.8em;
    }
    
    .center {
        font-size: 0.9em;
    }
    

    /* page INDEX */
    
    #tb-debt {
        padding-top: 0.5em;
    }
    
    /* page ONE  */
    #one-table {
        padding-left: 5%;
        font-size: 0.8em;
    }
    
    /* page FIFTEEN */
    #fifteen-inset {
        font-size: 1.1em;
    }
    
    #fifteen-inset>div a {
       padding-left: 10px;
    }
    
    /* fix for ios mobile vertical and landscape */
    .parallax-image {
        height: 300px;
        background-attachment: scroll;
    }  
   
    .menu-button { 
        font-size: 1.4em;
        top: 15px;
        margin-right: 0px;  
    }

    #vertical-nav.nav-active {
        width:60%;
    }
    
     .privacy {
        margin-left: 10%;
        margin-right: 10%;
    }
    
    
   
    .comments-tagline {
        font-size: 1em;
    }
    
    .comments-tagline.active-error-msg {
        font-size: 0.8em;
    }
    
    #contact-form {
        font-size: 0.8em;
    }
    
    .alert-box {
        min-height: 1.3em;
    }
    
    .footer-content {
        line-height: 2.1em;
    }
 
}

    
    
    
    
    
    
    
    



