html {
    -webkit-box-sizing: border-box;
       -moz-box-sizing: border-box;
            box-sizing: border-box;
}
*,
*::before,
*::after {
    -webkit-box-sizing: inherit;
        -moz-box-sizing: inherit;
            box-sizing: inherit;
}

body {
    font-family: 'Libre Caslon Text', serif;
    line-height: 1.8;
    font-size: 16px;
}


.wrapper {
    max-width: 1440px;
    margin: 0 auto;
}
@media screen and (min-width: 1441px) {
    body {
        background: url(../images/genealogy/marble-bg.jpg););
        background-size: cover;
    }
    .wrapper {
        box-shadow: 0 0 20px black;
    }
}


h1, h2, h3 {
    font-family: 'Libre Caslon Display', serif;
}
em {
    font-style: normal;
    color:#FFB800;
}
img {
    display: inline-block;
    max-width: 100%;
}

section {
    padding: 0 8% 100px;
    margin-top: -62px;
    border-bottom: 10px solid #FFB800;
    background-image: url(../images/genealogy/marble-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    min-height: 300px;
}
.section-header {
    width: 100%;
    position: relative;
    text-align: center;
    padding: 0 0 5px;
    background-color: rgba(255, 184, 0, .4);
    text-shadow: 0 0 4px rgba(0, 0, 0, .35);
    z-index: 8;
}
.section-header.intro-header {
    text-align: left;
    text-indent: 8%;
}
.section-header h2 {
    font-size: 48px;
    letter-spacing: -1px;
    margin: 0;
    padding: 0;
}

.hero-container,
.story-container,
.results-container {
    background-image: url(../images/genealogy/lushgreen-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    min-height: 300px;
    color: white;
}

.hero-content, 
.intro-content, 
.story-content,
.results-content,
.how-content,
.discover-content,
.sample-content,
.testimonial-row {
    width: 60%;
    display: inline-block;
    vertical-align: top;
    /* margin-right: 3%; */
    margin-top: 100px;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, .5);
}
.intro-content,
.how-content,
.discover-content,
.testimonial-row {
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
}
.intro-content,
.how-content {
    padding-right: 8%;
}

.sidebar {
    position: relative;
    width: 36%;
    max-width: 460px;
    display: inline-block;
    background-color: white;
    box-shadow: 0 0 4px rgba(0, 0, 0, .3);
    z-index: 9;
}
.sidebar h3 {
    text-align: center;
    color: #FFB800;
    font-size: 42px;
    text-transform: capitalize;
    background-image: url(../images/genealogy/lushgreen-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    padding: 20px;
}
.sidebar ul {
    padding: 0 20px;
}
.sidebar li {
    margin: 20px 20px;
}

.cta-btn {
    background-color: #FFB800;
    padding: 10px 20px;
    margin: 20px 0;
    display: inline-block;
    width: 280px;
    color: black;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
    box-shadow: 0 0 18px rgba(0, 0, 0, .2);
    font-size: 18px;
    text-transform: capitalize;
}
a.cta-btn:hover {
    color: black;
    text-decoration: none;
}

.hero-container {
    height: 540px;
    position: relative;
}
.hero-image {
    width: 50%;
    height: 530px;;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    clip-path: polygon(0 0%, 100% 0,100% 100%,20% 100%);
    background-image: url(../images/genealogy/hero-bg.jpg);
    background-repeat: no-repeat;    
    background-size: 170%;
    background-position-x: 100%;
}
@media screen and (max-width: 959px) {
    .hero-image {
        width: 42%;
        background-size: cover;
        background-position-x: -400px;
    }
}


.hero-content {
    width: 60%;
    max-width: 560px;
    z-index: 999;
    position: relative;
    padding-top: 20px;
}

.hero-content h4 {
    font-size: 20px;
}
.hero-content h1 {
    font-size: 44px;
    margin-bottom: 20px;
}
.hero-content p {
    font-size: 20px;
    line-height: 1.8;
    font-weight: 900;
}

.hero-cta img {
    width: 80px;
    margin-left: 40px;
}




.story-container {
    position: relative;
    padding: 0;
    height: 560px;
    border-top: 10px solid #FFB800;
}
.story-castles {
    width: 46%;
    height: 500px;
    display: inline-block;
    vertical-align: top;
    clip-path: polygon(0 0%, 100% 0,80% 100%,0 100%);
    background-image: url(../images/genealogy/story-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: right;
    vertical-align: middle;
}
.story-castles img {
    /* position: absolute; */
    height: 400px;
}
.story-content:before {
    content: '';
    background-image: url(../images/genealogy/castles.png);
    background-size: contain;
    background-repeat: no-repeat;
    height: 36vw;
    max-height: 440px;
    width: 90%;
    position: absolute;
    display: block;
    z-index: 999;
    overflow: hidden;
    left: 2%;
    top: 15px;
}
.story-content {
    font-size: 13px;
    width: 50%;
    margin-top: 40px;
    vertical-align: middle;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, .5)
}
.story-content strong {
    font-size: 15px;
}
.story-content img {
    position: absolute;
    width: 14%;
    max-width: 190px;
    top: 10px;
    min-width: 120px;
    margin-left: -12%;
}
.story-content > div {
    width: 90%;
    margin: 0 0 0 10%;
    max-width: 640px;
}



form {
    padding: 0 15px;
}
input[type='text'],
input[type='email'],
input[type='tel'], 
textarea {
    display: block;
    margin-bottom: 20px;
    width: 100%;
    border-radius: 0 !important;
    background-color: #EEEEEE;
    border: 0;
    box-shadow: inset 0px 0px 3px rgba(0,0,0,.35);
    padding: 5px 15px !important;
}
textarea {
    height: 160px;
}
textarea#pay-text::placeholder {
    font-size: 16px;
}
form .req {
    color: red;
}
.file_div_clean {
    width: 96% !important;
    margin: 0 auto !important;
}
input#proceed_to_paypal {
    background-color: #FFB800;
    padding: 10px 20px;
    margin: 20px auto 15px;
    display: inline-block;
    width: 100%;
    color: black;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .1);
    font-size: 18px;
    text-transform: capitalize;
}
.paypal_form p {
    font-size: 13px;
    color: black;
    text-align: center;
    font-weight: 900;
}
#wordpress_file_upload_form_1 input[type="button"] {
    color: black;
}

.results-container {
    position: relative;
    border-top: 3px solid #FFB800;
}

.results-coa > div, 
.result-ancestors {
    display: inline-block;
    margin: 10px auto;
    text-align: center;
    vertical-align: middle;
}
.result-ancestors {
    position: absolute;
    top: 200px;
    left: 41%;
    width: 30%;
    max-width: 360px;
}
.result-earliest {
    display: block;
    z-index: 9999;
    position: absolute;
    right: 6%;
    top: 220px;
    color: black;
    text-align: center;
}
.results-image {
    width: 63%;
    height: 100%;
    position: absolute;
    top: 0;
    right: 0;
    display: block;
    clip-path: polygon(0% 0%, 100% 0%,100% 100%,100% 100%);
    background-color: white;
    background-image: url(../images/genealogy/results-bg.png);
    background-repeat: no-repeat;
    background-size: cover;
    background-position: top;
}
.results-content {
    color: black;
    margin: 0;
    padding: 15px 10% 15px 14%;
    padding: 15px 4% 15px 18%;
    font-size: 15px;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
    position: absolute;
    right: 0;
}
.results-content strong {
    font-size: 18px;
    line-height: 1.3;
}

.results-container a.cta-btn {
    position: absolute;
    right: 160px;
    display: block;
    bottom: 20px;
    z-index: 9;
}

.result-ancestors img {
    width: 86%;
    max-width: 300px;
}

.coa-1 {
    position: absolute;
    top: 50px;
}
.coa-1 img {
    width: 90px;    
    margin-bottom: 20px;
}
.coa-2 {
    position: absolute;
    left: 10%;
    top: 160px;
}
.coa-2 img {
    width: 100%;
    position: relative;
}

.results-coa {
    height: 540px;
}

.caption {
    margin: 0 auto;
    max-width: 300px;
    font-size: 13px;
    font-weight: bold;
    text-shadow: 1px 3px 4px rgba(0, 0, 0, .5);
}
.results-coa .coa-1 .caption {
    display: inline-block;
    text-align: left;
}
.results-coa .coa-2 .caption {
    display: block;
    text-align: center;
    width: 280px;
    margin: 0 auto;
}
.result-earliest .caption {
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
}
.intro-container {
    position: relative;
    overflow: auto;
}
.intro-container .sidebar {
    margin-top: 20px;
    width: 38%;
    max-width: 320px;
    margin-left: 1%;
}
.intro-container .cta {
    position: absolute;
    left: 62%;
    top: 460px;
}

.how-container .sidebar {
    margin-top: 100px;
}



.testimonials-container {
    padding: 0;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
}
.testimonial-row {
    width: 100%;
    overflow: auto;
    margin: 0 auto;
    padding: 0;
}
.testimonial-image,
.testimonial-text {
    width: 50%;
    display: inline-block;
    vertical-align: middle;
}

.testimonial-image img {
    object-fit: cover;
    height: 560px;
}


.testimonial-row.even-row img {
    object-position: 30%;
    height: 680px;
}

.testimonial-text {
    padding-top: 50px;
    font-size: 13px;
}
.testimonial-text p {
    padding: 0 2% 0 16%;
    width: 90%;
}
.testimonial-text strong {
    font-size: 20px;
}

.testimonial-text .cite strong {
    font-size: 13px;
}
.testimonial-row.odd-row .testimonial-text p:not(.cite) {
    font-size: 1.2em;
}
.testimonial-row.odd-row .testimonial-text strong:not(.cite) {
    font-size: 1.4em;
}
.testimonial-text .cite {
    margin-bottom: 60px;
    font-size: 15px !important;
}
.testimonial-text .cite strong {
    font-size: 15px !important;
}
.testimonial-row.odd-row .testimonial-image {
    float: left;
}
.testimonial-row.even-row .testimonial-image {
    float: right;
}

.how-container,
.how-content {
    position: relative;
}
.how-content p:nth-child(-n+3) {
    width: 90%;
    padding-right: 16%;
}
.how-content:after {
    content: '';
    display: block;
    position: absolute;
    top: 0;
    right: 20px;
    height: 240px;
    width: 156px;
    background-image: url(../images/genealogy/document-1.png);
    background-repeat: no-repeat;
    background-size: cover;
}
.how-container .sidebar:after {
    content: '';
    display: block;
    position: absolute;
    bottom: -220px;
    right: -50px;
    height: 164px;
    width: 320px;
    background-image: url(../images/genealogy/document-2.png);  
    background-repeat: no-repeat;
    background-size: cover;
}



.discover-container {
    overflow: auto;
    position: relative;
    border-bottom: none;
}
.sample-content {
    text-align: center;
    width: 50%;
    margin-bottom: 60px;
}
/* .sample-content .cta-btn {
    width: 300px;
} */

.sample-content form {
    background: white;
    padding: 30px 15px 15px;
    box-shadow: 0 0 4px rgba(0, 0, 0, .3);
    background-image: url(../images/genealogy/lushgreen-bg.jpg);
    background-repeat: no-repeat;
    background-size: cover;
    color: white;
    border-top: 8px solid #feb801;
}
.sample-content form label {
    margin-bottom: 0;
}
.sample-content form span {
    margin-top: 15px;
    display: inline-block;
}
.sample-content form p {
    max-width: 49%;
    display: inline-block;
    text-align: left;
    margin: 0 auto;
}
.sample-content form p:first-of-type {
    padding-right: 1%;
}
.sample-content form p:nth-of-type(3) {
    width: 100%;
    max-width: 100%;
    display: block;
    margin: 0 auto -10px;
    text-align: center;
}
.sample-content input {
    color: black;
}
.sample-content input[type=submit] {
    background-color: #FFB800;
    padding: 10px 20px;
    margin: 0 auto 15px;
    display: inline-block;
    width: 100%;
    color: black;
    text-align: center;
    text-decoration: none;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
    box-shadow: 0 1px 8px rgba(0, 0, 0, .1);
    font-size: 18px;
    text-transform: capitalize;
    max-width: 320px;
    border: none;
}

.discover-content {
    width: 49%;
    padding-left: 8%;
    margin-bottom: 60px;
}
@media screen and (min-width: 1100px) {
    .discover-content {
        margin-top: 160px;
    }
}

.discover-content em {
    font-weight: 900;
    font-size: 1.2em;
    line-height: 1;
    text-shadow: 1px 1px 8px rgba(206, 154, 154, 0.2);
}

.discover-container .sidebar {
    float: right;
    margin-right: 4%;
    padding-bottom: 15px;
}

.discover-container .videos .video {
    margin-bottom: 60px;
}

.discover-container .videos {
    position: relative;
    overflow: visible;
    text-align: center;
    width: 48%;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
}

.discover-container .video h3 {
    font-size: 24px !important;
    font-weight: 900;
    margin-bottom: 15px;
}

.discover-container .video-wrapper {
	position: relative;
	padding-bottom: 56.25%; /* 16:9 */
	padding-top: 25px;
	height: 0;
}
.discover-container .video-wrapper iframe {
	position: absolute;
	top: 0;
	left: 0;
	width: 100%;
	height: 100%;
}


.discover-container .bullets {
    margin-top: 30px;
    display: inline-block;
    width: 100%;
    text-align: center;
    font-size: 15px;
    line-height: 1.6;
    font-weight: 900;
    text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
}
.discover-container .bullets ul {
    padding: 0;
    margin: 0 auto;
}
.discover-container .bullets li {
    display: inline-block;
    width: 22%;
    vertical-align: top;
    text-align: center;
    margin: 20px 1%;
}
.bullets p {
    max-width: 260px;
    margin: 0 auto;
}
.bullets .family:before,
.bullets .party:before,
.bullets .book:before,
.bullets .guarantee:before {
    content: '';
    height: 80px;
    width: 80px;
    position: relative;
    display: block;
    margin: 0 auto 20px;
}
.bullets .family:before {
    background-image: url(../images/genealogy/family.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.bullets .party:before {
    background-image: url(../images/genealogy/party.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.bullets .book:before {
    background-image: url(../images/genealogy/book.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.bullets .guarantee:before {
    background-image: url(../images/genealogy/guarantee.svg);
    background-size: cover;
    background-repeat: no-repeat;
}
.icon-legal {
    margin: 10px auto;
    text-align: center;
    font-size: 6px;
    color: white;
    font-family: Arial, Helvetica, sans-serif;
}

@media screen and (max-width: 959px) {
    .hero-content, 
    .intro-content, 
    .story-content, 
    .results-content, 
    .how-content, 
    .discover-content, 
    .sample-content, 
    .testimonial-row {
        width: 100%;
    }
    .sidebar {
        width: 100%;
        margin: 0 auto;
        max-width: 100%;
    }
    .intro-container .sidebar {
        margin-top: 20px;
        width: 100%;
        max-width: 100%;
    }
    .intro-container .cta {
        display: none;
    }
    .story-content > div {
        width: 48%;
        max-width: 640px;
        position: absolute;
        right: 4%;
        top: 20px;
    }
    .story-content strong {
        font-size: 18px;
    }
    .story-castles {
        display: none;
    }
    .story-content img {
        right: 53%;
        width: 160px;
    }
    .story-content:before {
        bottom: 20%;
        top: auto;
        height: 34vw;
    }
    .results-container {
        background-image: url(../images/genealogy/marble-bg.jpg);
    }
    .results-container a.cta-btn {
        position: absolute;
        display: block;
        bottom: 20px;
        text-align: center;
        padding: 8px 30px;
        margin-left: auto;
        margin-right: auto;
        left: 0;
        right: 0;
    }
    .results-image {
        display: none;
    }
    .results-content {
        position: relative;
        padding: 15px 0;
        width: 100%;
        text-align: center;
        font-size: 18px;
    }
    .result-earliest {
        display: block;
        position: relative;
        top: initial;
        right: initial;
        text-align: center;
    }
    .result-ancestors {
        position: relative;
        top: initial;
        left: initial;
        max-width: 100%;
        width: 100%;
    }
    .result-ancestors img {
        max-width: 360px;
    }
    .result-ancestors .caption {
        text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
    }
    .results-coa {
        height: auto;
        text-align: center;
    }
    .coa-1,
    .coa-2 {
        position: relative;
        left: initial;
        top: initial;
    }
    .coa-1 img {
        width: 90px
    }

    .how-container .sidebar {
        margin-top: 20px;
    }

    .caption,
    .caption em {
        text-shadow: 1px 0 2px rgba(0, 0, 0, .2);
        color: black;
    }
    .testimonial-content {
        padding-top: 50px;
        margin: 0 auto;
        width: 80%;
        max-width: 800px;
    }
    .testimonial-image,
    .testimonial-text {
        width: 100%;
    }
    .section-header.testimonials-header {
        text-align: left;
        text-indent: 8%;
    }

    .testimonial-text {
        padding-top: 0;
        font-size: 16px;
    }
    .testimonial-text p {
        padding: 0;
    }



    .testimonial-image {
        display: none;
    }

    .sample-content {
        text-align: center;
        width: 100%;
        max-width: 480px;
        margin: 80px auto 20px;
        display: block;
    }
    .discover-content {
        width: 100%;
        max-width: 640px;
        padding: 0 4%;
        vertical-align: middle;
        margin: 20px auto 30px;
        display: block;
    }
    .discover-content strong {
        font-size: 1.2em;
        float: none;
    }

    .discover-container .videos {
        width: 100%;
        overflow: auto;
    }
    .discover-container .video h3 {
        font-size: 24px !important;
        font-weight: 900;
        margin-bottom: 15px;
    }
    .discover-container .videos .video {
        display: inline-block;
        width: 49%;
        float: right;
    }
    .discover-container .videos .video:first-of-type {
        float: left;
    }

    .discover-container .sidebar {
        margin: 0 auto 60px;
        width: 100%;
    }
    .discover-container .bullets li {
        width: 46%;
    }

}

@media screen and (max-width: 679px) {
    .hero-container {
        text-align: center;
    }
    .hero-image {
        display: none;
    }
    .hero-content {
        margin-top: 60px;
    }
    .hero-cta {
        margin-top: 40px;
    }
    .hero-content h4 {
        max-width: 230px;
        margin: -20px auto 10px;
        font-size: 18px;
        line-height: 1.3;
    }
    .hero-content h1 {
        font-size: 34px;
        font-size: 10vw;
        line-height: 10vw;
    }
    .hero-content p {
        font-size: 15px;
        font-weight: 400;
    }
    .hero-cta img {
        display: none;
    }
    .intro-container {
        margin-top: -56px;
    }
    .intro-content {
        margin-top: 80px;
    }
    section {
        border: none;
        background-position: right;
    }
    .section-header {
        padding: 15px;
        text-align: center !important;
        text-shadow: 0 0 4px rgba(0, 0, 0, .35);
        background-color: #f7db9c;
        border: 0;
    }
    .section-header.intro-header {
        text-indent: 0;
    }
    .section-header h2 {
        font-size: 34px;
        line-height: 1.2;
    }
    .sidebar li {
        margin: 20px 0 0 20px;
    }
    .how-container .sidebar {
        margin-top: 10px;
    }
    .how-content,
    .intro-content {
        padding: 0;
    }
    .story-container {
        height: auto;
        text-align: center;
        margin: 0 0 60px;
    }
    .story-content strong {
        font-size: 18px;
    }
    .story-content {
        margin-top: 10px;
        height: 580px;
    }
    .story-content > div {
        width: 100%;
        position: relative;
        margin: 0 auto;
        right: initial;
        top: initial;
        padding: 0 8%;
    }
    .story-content img {
        right: initial;
        position: relative;
        text-align: center;
        margin: -110px auto 30px;
        display: block;
    }
    .story-content:before {
        display: none;
    }
    .results-container {
        border: none;
    }
    .results-content {
        width: 100%;
        text-align: center;
    }
    .results-image {
        /* display: none; */
    }
    .coa-2 {
        position: relative;
        left: initial;
        top: initial;
        margin-top: 0 !important;
    }
    .coa-1 {
        position: relative;
    }
    .how-container {
        padding-bottom: 60px;
        margin-top: 0;
    }
    .how-content {
        padding-top: 20px;
        margin-top: 20px;
    }
    .how-content:after,
    .how-container .sidebar:after {
        display: none;
    }
    .testimonial-row.odd-row .testimonial-text strong:not(.cite) {
        font-size: 1em;
    }
    .how-content p:nth-child(-n+3) {
        padding: 0;
        width: 100%;
    }
    .testimonial-text p {
        width: 100%;
    }
    .sample-content {
        width: 100%;
    }
    .discover-content {
        width: 100%;
        padding: 0;
        margin: 0 auto;
        text-align: center;
    }
    .discover-content strong {
        font-size: 24px;
    }
    .discover-container .videos .video {
        display: block;
        float: none;
        margin: 0 auto;
        width: 100%;
        margin-bottom: 30px;
    }
    .discover-container .bullets li {
        display: block;
        width: 100%;
        margin: 0 auto 30px;
    }
}
@media screen and (min-width: 480px) {
    .story-content {
        height: 460px;
    }
}
@media screen and (min-width: 0) and (max-width: 420px) {
    .story-content {
        height: 620px;
    }
}





/* TWEAKS TO THEME ELEMENTS */
ul.nav.navbar-nav.navbar-right {
    display: none;
}
nav.inner-page-nav.navbar-fixed-top {
    position: relative;
    margin-bottom: 60px;
}
a.cd-nav-trigger.backoverlay {
    display: none;
}
p.logo-text {
    display: none;
}
.navbar-header {
    text-align: center;
    margin-bottom: 10px;
}
.header-call-to-action-btn {
    display: none;
}
.col-xs-4.col-sm-8.col-md-8.col-lg-10 {
    display: none;
}
.col-xs-8.col-sm-4.col-md-4.col-lg-2 {
    min-width: 100%;
}
.navbar-header {
    margin: 0 auto;
    text-align: center;
    float: none;
    width: 140px;
    margin-bottom: 10px;
}
.inner-page-nav .navbar-header .logo img {
    width: 60px;
}