/*General*/

h1,
h2 {
    font-family: Montserrat;
    font-weight: 700;
}

.h1,
h1 {
    font-size: 3rem;
}

.h3,
h3 {
    font-size: 2rem;
    font-weight: 800;
    text-align: center;
    text-transform: uppercase;
}

p {
    margin-bottom: 1.6em;
}

dl,
ol,
ul {
    margin-bottom: 1.6em;
}

body {
    font-family: 'Lato';
    overflow-x: hidden;
}

.btn {
    border-radius: 10px;
    display: inline-block;
    border: solid 2px #f5c635;
    padding: 1em 1.6em;
    color:#fff;
}

.container {
    max-width: 960px;
    padding-top: 4em;
    padding-bottom: 4em;
}

.main-intro {
    background-image: url('includes/images/header-bg.jpg');
    background-position: center;
    background-size: cover;
    color: #fff;
    border-bottom: solid 10px #f5c635;
    padding-top: 2em;
    text-align: center;
    overflow: hidden;
}

input {
    background-color: #f2f1f1;
    box-shadow: none;
    border: solid 1px #000;
    padding: 0.4em;
}

/*Home Hero*/

.home-hero p {
    font-size: 2em;
}

.logo-container {
    position: absolute;
    left: 1em;
    top: 1em;
}

/*Optimize*/

.optimize h2 {
    text-align: center;
    margin-bottom: 2em;
}
/*
.optimize .questions {
    list-style: none;
    display: flex;
    font-weight: 900;
    justify-content: space-between;
    padding: 0px;
}

.optimize .questions li {
    position: relative;
    display: flex;
    align-items: center;
    padding-right: 1em;
    text-transform: uppercase;
}

.optimize .questions li:last-child {
    padding-right: 0px;
}

.optimize .questions li:before {
    content: '';
    width: 6px;
    display: block;
    float: left;
    height: 1.6em;
    margin-right: 0.4em;
    background-color: #f5c635;
}
*/
.premium-image {
    color: #fff;
    background: #4871b7;
    /* padding-top: 6em; */
    /* padding-bottom: 7em; */
    text-align: center;
    font-size: 1.2em;
    padding: 3em 1em;
    border-radius: 1em;
    border: solid 1px #325591;
    margin-left: 0.6em;
}

.cta {
    margin-top: 2em;
}

.cta input[type="text"] {
    display: block;
    margin-bottom: 1em;
    width: 100%;
    max-width: 300px;
}

.cta .input-group {
    margin-left: 1em;
}

.cta h2 {
    margin-bottom: 1em;
}

.form-fields form {
    max-width: 400px;
    width: 100%;
    margin-left: 1em;
}

.form-fields .input-group {
    max-width: 48%;
    float: left;
    display: block;
    margin-right: 1%;
    margin-bottom: 1em;
}

.form-fields label {
    display: block;
    margin-bottom: 0.2em;
}

.form-fields input {
    width: 100%;
}

.form-fields .address {
    float: none;
}

.form-fields .state {
    max-width: 12%;
}

.input-group.zip {
    max-width: 35%;
}

.form-fields .input-group.expiry {
    max-width: 98%;
}

.month {
    max-width: 48%;
    margin-right: 6%;
    float: left;
}

.year {
    max-width: 48%;
    float: left;
}

.year:before {
    content: '/';
    position: absolute;
    bottom: 0px;
    height: 1.4em;
    font-size: 2em;
    left: -0.6em;
}

.creditcards {
    width: 100%;
    background: #c0bfbf;
}

.payments {
    margin-left: 3em;
    margin-bottom: 0.4em;
}

.payments span {
    padding: 0.4em 1em;
    display: inline-block;
}

.payments span:last-child {
    background: #f2f1f1;
}

.cta-button {
    padding: 0.6em;
    font-size: 1.4em;
    color: #fff;
    background: #4e75ba;
    margin-top: 1em;
    border-radius: 20px;
    text-align: center;
    border: solid 1px #000;
    margin-bottom: 1em;
}

.premium-image:before {
    content: '';
    position: absolute;
    left: -1em;
    top: -1em;
    height: 100%;
    width: 100%;
    z-index: -1;
    background: #4871b7;
    border-radius: 1em;
    border: solid 1px #325591;
}

/*Interactive Area*/

.interactive {
    background-image: url('includes/images/embedbg.jpg');
    background-size: 100% auto;
    background-position: center;
    background-attachment: fixed;
}

.interactive h3 {
    margin-bottom: 2em;
}

.interactive .container {
    max-width: 1280px;
}

/*Donation frame*/

.donation-frame {
    background-color: #f2f1f1;
    padding: 1em;
    font-size: 0.8em;
    border: solid 1px #000;
}

.frame-container {
    padding: 1em;
    background-color: #fff;
    border: solid 1px #000;
}

.frame-container .row {
    margin-left: 0px;
    margin-right: 0px;
}

.donation-frame h1 {
    font-size: 2em;
    transition: all 0.4s ease;
}

.donation-frame h2 {
    font-size: 1.6em;
    transition: all 0.4s ease;
}

.donation-frame .logo {
    background-color: #4871b7;
    color: #fff;
    padding: 1em 4em;
    border-bottom: solid 1px #000;
    border-right: solid 1px #000;
}

.donation-frame .header {
    margin-left: -1em;
    margin-top: -1em;
    margin-bottom: 1em;
}

/*Study items*/

.interactive-menu {
    padding-right: 3em;
}

.interactive-menu ul {
    list-style: none;
    padding-left: 0px;
}

.interactive-menu li {
    padding: 1em 1em 1em 3.4em;
    font-weight: 600;
    position: relative;
    display: flex;
    align-items: center;
    border-bottom: solid 2px #000;
    cursor: pointer;
}

.interactive-menu li span {
    z-index: 2;
}

.interactive-menu li:after {
    content: '';
    display: block;
    position: absolute;
    left: 0px;
    top: 0px;
    transition: all 0.4s ease;
    width: 100%;
    height: 100%;
    z-index: 1;
    background-image: url('includes/images/roundedrect.png');
    background-size: 100% 100%;
    background-position: center;
    opacity: 0;
    filter: brightness(1000%);
}

.interactive-menu li:hover:after {
    opacity: 1;
}

.interactive-menu li:hover .number {
    color: #000;
    background-color: #ffc80a;
}

.interactive-menu li.active:after {
    filter: brightness(100%);
    opacity: 1;
}

.interactive-menu li.active span {
    color: #fff;
}

.interactive-menu li.active .number {
    color: #000;
    background-color: #ffc80a;
}

span.subnumber {
    position: absolute;
    right: -12px;
    color: #bfbfbf !important;
}

span.number {
    width: 18px;
    height: 18px;
    display: inline-block;
    text-align: center;
    background: #ababab;
    line-height: 18px;
    border-radius: 50%;
    font-size: 12px;
    color: #fff;
    float: left;
    position: absolute;
    left: 1em;
    z-index: 1;
    font-family: 'Montserrat';
    font-weight: 800;
}

.references {
    padding-left: 1em;
    text-align: left;
    padding-top: 1em;
    position: absolute;
    height: 100%;
}

.references h3 {
    font-size: 1em;
    margin-bottom: 1em;
    text-align: left;
    text-transform: uppercase;
}

.references .number {
    background-color: #000;
    width: 20px;
    height: 20px;
    line-height: 20px;
    font-size: 22px;
    left: -1em;
    top: 0em;
    display: block;
    box-shadow: 0 0 0 8px #000;
}

.ref-container {
    position: sticky;
    top: 20px;
}

.ref-box {
    padding-left: 2em;
    position: absolute;
    top: 0px;
    left: 0px;
    width: 100%;
    opacity: 0;
    pointer-events:none;
}

.ref-box.preview {
    opacity: 1;
    position: relative;
    pointer-events:all;
}

.ref-box.active {
    opacity: 1;
    position: relative;
    pointer-events:all;
    display:block;
}
.ref-box p, .ref-box ul {
    display:none;
}
.ref-box.active p, .ref-box.active ul {
    display:block;
}
.ref-box ul li {
    padding-lefT: 1em;
    list-style: none;
}

.ref-box ul li.title {
    font-weight: 600;
    list-style: initial;
    padding-left: 0px;
}

.ref-box a {
    color: #000;
    font-style: italic;
    text-decoration: underline;
}
.ref-box .cta {
    background:#333;
    color:#fff;
    font-style:normal;
    text-decoration:none;
    padding:0.2em;
    border-radius:5px;
    display:block;
    text-align:center;
    clear:both;
    margin-top:0;
    margin-bottom:1em;
    max-width:180px;
}
.ref-box span.subnumber {
    position: relative;
    right: 0px;
    margin-left: 10px;
    color:#000;
}
.frame-container {
    z-index: 2;
    position: relative;
}
.frame-container .active > .connector {
    opacity:1;
}
.donation-frame .active,
.donation-frame .preview {
    box-shadow: 0px 2px 10px 2px rgba(0, 0, 0, 0.6);
    pointer-events:all;
    position:relative;
}

.donation-frame div {
    position: relative;
    transition: box-shadow 0.4s ease;
    cursor: pointer;
}

.donation-frame .connector {
    left: 40%;
    top: 40%;
    height: 12px;
    width: 12px;
    background: #000;
    display: block;
    position: absolute;
    border-radius: 50%;
    box-shadow: 0px 0px 0px 4px #000000;
    opacity: 0;
    z-index: 20;
    pointer-events:none;
}

.donation-frame .connector.active {
    opacity: 1;
}

.donation-frame .connector.preview {
    opacity: 1;
}
.donation-frame div {
    position:relative;
}
/*Line Draw*/
.donation-frame .connector-box {
    position:absolute!important;
    left:0px;
    top:0px;
    width:100%;
    height:100%;
    z-index:20;
}
connection {
    border: 4px solid #000;
    opacity: 0;
    border-radius: 200px;
    pointer-events: none;
    z-index: 4;
    z-index:10;
}

connection.preview {
    opacity: 1;
}

connection.active {
    opacity: 1;
}

.line {
    height: 3px;
    background-color: #aaa;
    transform-origin: left center;
    position: absolute;
    z-index: 1;
}

/*Download form*/

#downloadform {
    max-width: 100%;
    padding-left: 2em;
    padding-right: 2em;
}

#downloadform input {
    width: 100%;
    display: block;
    float: left;
    padding: 1em 2em;
    border-radius: 10px;
    margin-bottom: 1%;
}
#downloadform fieldset {
    max-width:100%;
}
#downloadform .email {
    max-width: 58%
}

#downloadform input[type="submit"] {
    border-color: #f5c635;
    background-color: #f5c635;
    transition: background-color 0.4s ease;
    cursor: pointer;
    margin-top:1em;
}

#downloadform .submit:hover {
    background-color: #ebb933;
}

/*Footer*/
.footer {
    background:#1f1f1f;
    border-top:solid 8px #f5c635;
    color:#fff;
    font-weight:300;
}
.footer .container {
    max-width:1280px;
}
.footer ul {
    list-style:none;
    padding:0;
}
.footer ul li {
    display:inline-block;
    text-transform:uppercase;
}
.footer-logo {
    margin-bottom:2em;
    display:block;
}
.footer a {
    color:#fff;
}
.footer-menu li {
    margin-right:2em;
}
.footer .col-lg-3 p {
    margin-bottom:1em;
}
.social-icons li {
    background:#fff;
    width:24px;
    height:24px;
    border-radius:50%;
    text-align:center;
    margin-right:0.6em;
}
.social-icons i:before {
    color:#1f1f1f;
    line-height:24px;
}
.footer h4 {
    font-weight:800;
    font-size:1.4em;
    letter-spacing:0.1em;
    margin-bottom:0px;
}
.footer .col-lg-5 {
    font-size:0.8em;
    font-weight:300;
}
.footer .lined {
    position:relative;
}
.footer .lined p {
    margin-bottom:0px;
}
.footer .lined:before {
    content:'';
    width:4px;
    height:100%;
    position:absolute;
    left:-2em;
    top:0px;
    background:#f5c635;
}

/*Media Queries*/
@media screen and (max-width:960px) {
    .references {
        position:relative;
        height:auto;
    }
    .references .number {
        background-color: #000;
        width: 20px;
        height: 20px;
        line-height: 20px;
        font-size: 22px;
        left: unset;
        right: 1em;
        top: 0em;
        display: block;
        box-shadow: 0 0 0 8px #000;
    }
    .ref-box {
        padding-top:1em;
    }
    .footer {
        text-align:center;
    }
    .ref-box.preview {
        display:none;
    }
    .ref-box.preview.active {
        display:block;
    }
    .ref-box.preview.active p, .ref-box.preview.active ul {
        display:block;
    }
    connection.preview {
        display:none;
    }
    .donation-frame {
        pointer-events:none;
    }
}

/*Overrides*/
