@font-face {
    font-family: 'constantineregular';
    src: url('../fonts/constantine-webfont.eot');
    src: url('../fonts/constantine-webfont.eot?#iefix') format('embedded-opentype'),
         url('../fonts/constantine-webfont.woff2') format('woff2'),
         url('../fonts/constantine-webfont.woff') format('woff'),
         url('../fonts/constantine-webfont.ttf') format('truetype'),
         url('../fonts/constantine-webfont.svg#constantineregular') format('svg');
    font-weight: normal;
    font-style: normal;
}

body {
    /*background: blue;*/
    font-family: sans-serif;
    font-size: 16px;
    color: #555;
    background: #f8f8f8;
    margin: 0;
}

a {
    text-decoration: none;
    color: #4769c4;
}

a:hover {
    color: #6789e4;
}

h1 {
    font-family: 'constantineregular';
    color: #888;
    line-height: 1.4;
    font-weight: 400;
    font-size: 24px;
    /*text-transform: uppercase;*/
    /*font-family: futura;*/
    /*font-variant: small-caps;*/
}

h1 span {
    display: block;
}

h2 {
    font-family: 'constantineregular';
    font-size: 36px;
    margin: 10px 0;
}

h3 {
    /*font-family: 'constantineregular';*/
    font-size: 20px;
    margin: 10px 0;
    color: #af0a14;
    font-weight: normal;
}

.page-container,
.header-inner {
/*    max-width: 960px;
    margin: 0 auto;
*/
}

.header {
    position: fixed;
    left: 0;
    top: 0;
    right: 0;
    height: 50px;
    background: rgba(248, 248, 248, 0.95);
    /*background: red;*/
    text-align: center;
    font-size: 0;
    padding: 10px 0;
    /*transform: translateY(0);*/
    opacity: 1;
    transition: all 0.4s ease;
    z-index: 2;
}

.header:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100px;
    /*background: linear-gradient(#f8f8f8 0px, #f8f8f8 20px, rgba(248, 248, 248, 0.9) 80px, rgba(248, 248, 248, 0) 120px);*/
}

.page-scrolled .header {
    transform: translateY(-10px);
    opacity: 1;
    /*transition: opacity 0.4s linear;*/
}

.page-scrolled .header-logo {
    /*transform: scale(0.666666) translateY(-5px);*/
}

.header-logo {
    display: inline-block;
    width: 289px;
    height: 50px;
    background: url(../images/america-2051-logo2.png) no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
    font-size: 0;
    position: relative;
    z-index: 1;
    margin-top: 10px;
    /*transition: all 0.25s ease-in;*/
}

.home-container .header {
    display: none;
}

.home-intro {
    text-align: center;
    padding: 40px 0 10px 0;
}

.home-intro-logo {
    display: inline-block;
    width: 467px;
    height: 220px;
    background: url(../images/america-2051-full-logo.png) no-repeat;
    background-size: 100% 100%;
    text-indent: -9999px;
    font-size: 0;
    position: relative;
    z-index: 1;
    margin: 0 0 20px 0;
    opacity: 0;
    transform: scale(0.95);
    transition: all 0.2s linear;
}

.home-intro h1 {
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s linear;
    transition-delay: 0.2s;
}

.page-loaded .home-intro-logo {
    opacity: 1;
    transform: scale(1);
}

.page-loaded .home-intro h1 {
    opacity: 1;
    transform: translateY(0);
}

.intro {
    text-align: center;
    padding: 70px 0 20px 0;
}

.content {
    line-height: 1.6;
    position: relative;
    padding-top: 20px;
    background: linear-gradient(#ffffff 0, rgba(255, 255, 255, 0) 200px);
}

.content:before {
    /*content: " ";*/
    /*position: absolute;*/
    /*top: -10px;
    left: 37.5%;
    border-top: 1px solid #ccc;
    width: 25%;*/
}

.footer {
    max-width: 960px;
    margin: 60px auto;
    padding: 20px 10px;
    border-top: 1px solid #ccc;
    color: #aaa;
}

.footer-name {
    float: left;
}

.footer-address {
    float: right;
}

.home-container .content {
    background: transparent;
}

.home-content {
    text-align: center;
    max-width: 960px;
    margin: 0 auto;
    font-size: 0;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.2s linear;
    transition-delay: 0.4s;
}

.page-loaded .home-content {
    opacity: 1;
    transform: translateY(0);
}

.home-section {
    width: 32%;
    display: inline-block;
    vertical-align: top;
    margin: 10px 0.5%;
}

.home-section p {
    font-size: 16px;
    color: #888;
    margin: 0;
    padding: 5px 0;
}

.home-section em {
    color: #ccc;
}

.home-section img {
    display: block;
    margin: 0 auto;
}

.home-section a {
    display: block;
    padding: 30px 20px 20px 20px;
    cursor: pointer;
    position: relative;
    min-height: 160px;
    box-sizing: border-box;
    background: #fff;
    background: linear-gradient(#ffffff 0, rgba(255, 255, 255, 0.5) 150px);
    border-bottom: 2px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 0 2px 0 #ddd;
}

.home-section a:hover {
    box-shadow: 0 0 6px 0 #ccc;
    background: #fff;
}

.home-section a:hover h3 {
    color: #cf2a34;
}

.home-section a h3,
.home-section a p,
.home-section a img {
    position: relative;
    z-index: 1;
}

.home-section a h3 {
    /*color: #4769c4;*/
    margin: 0;
    padding: 5px 0;
    line-height: 1.2;
}



/*
.home-section a:hover:before {
    opacity: 1;
    transform: translateY(0px);
}

.home-section a:before {
    content: " ";
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(#ffffff 0%, rgba(255, 255, 255, 0) 100%);
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.25s ease;
}
*/

.home-buy-book a {
    background: transparent;
    border: none;
    box-shadow: none;
}

.home-buy-book a:hover {
    box-shadow: none;
    background: transparent;
}

.home-buy-book a h3 {
    font-size: 16px;
    color: #888;
}

.home-buy-book-title {
    font-size: 14px;
    line-height: 1.3;
    display: none;
}

.home-buy-book-author {
    font-size: 13px;
    color: #888;
    padding: 0 0 5px 0;
    display: none;
}

.home-content .home-buy-book-cover {
    margin-top: 10px;
    margin-bottom: 10px;
}


.home-twitter {
    box-shadow: 0 0 2px 0 #ddd;
    border-bottom: 2px solid #ddd;
    height: 400px;
    overflow: scroll;
    background: transparent;
    margin: 40px 0;
}


.about-content {
    text-align: center;
    font-size: 0;
}

.about-section {
    display: inline-block;
    vertical-align: top;
    max-width: 420px;
    margin: 20px 30px 20px 30px;
    font-size: 16px;
}

.about-section-content {
    text-align: left;
}

.about-section h2 {
    margin-top: 0;
}

.about-section h3 {
    margin-bottom: 20px;
    text-align: center;
}

.about-section ol {
    font-weight: bold;
}

.about-section li {
    font-weight: normal;
}

.about-how {
    max-width: 960px;
}

.about-how .about-section-content {
    max-width: 420px;
    display: inline-block;
    vertical-align: top;
}

.content-body {
    max-width: 960px;
    margin: 0 auto;
    box-sizing: border-box;
    padding: 0 30px;
    min-height: 300px;
}

.find-reps-form-container {
    text-align: center;
    padding: 20px 0 40px 0;
}

#find-reps-form {
    display: inline-block;
}

#find-reps-loc {
    border: 1px solid #aaa;
    background: #fff;
    padding: 10px 15px;
    font-size: 15px;
    font-family: sans-serif;
    border-radius: 4px;
    -webkit-appearance: none;
    width: 220px;
}

#find-reps-loc:focus {
    border: 1px solid #888;
    outline: 0;
}

button[type=submit] {
    border: 1px solid #4769c4;
    background: #4769c4;
    color: #fff;
    padding: 10px 15px;
    font-size: 15px;
    font-family: sans-serif;
    border-radius: 4px;
    -webkit-appearance: none;
}

#find-reps-map {
    width: 300px;
    height: 300px;
    margin: 0 auto;
}

#find-reps-list {
    width: 60%;
    float: left;
    border-top: 1px solid #ccc;
}
#find-reps-map {
    float: right;
}
.clearfix {
    clear: both;
}

.rep {
    border-bottom: 1px solid #ccc;
    padding: 20px 0;
}

.rep-photo {
    min-width: 100px;
    min-height: 100px;
    background: #eee;
    float: left;
}

.rep-info {
    margin-left: 120px;
    font-size: 14px;
}

.rep-name {
    font-weight: bold;
    font-size: 16px;
}

.rep-photo img {
    display: block;
    width: 100px;
}

.rep-contact {
    color: #ccc;
}

@media only screen and (max-width: 736px) {
    h1, h3 {
        font-size: 18px;
    }
    .home-intro {
        padding: 20px 0;
    }
    .home-intro-logo {
        width: 300px;
        height: 142px;
    }
    .content {
        padding: 0 10px;
    }
    .content-body {
        padding: 0 10px;
    }
    .footer {
        padding: 20px 10px;
    }
    .home-section {
        display: block;
        width: auto;
        height: auto;
        margin: 5px 0;
    }
    .home-section a {
        min-height: 0;
        max-width: 350px;
        margin: 0 auto;
    }
    .home-section a h3 {
        font-weight: bold;
    }
    .home-twitter {
        max-width: 350px;
        margin: 40px auto;
        height: 400px;
    }
    .about-section {
        margin: 10px;
    }
    #find-reps-list {
        width: auto;
        float: none;
    }
    #find-reps-map {
        float: none;
        margin: 40px auto;
    }
    
}

@media only screen and (max-width: 320px) {
}