body {
    background: #f0eee9;
}

.mainContent {
    background: #fff;
    min-height: initial !important;
}

.page .alert+.pageHeader {
    margin-top: 0;
}

.pageHeader .alertSection:first-child {
    margin-left: -20px;
    margin-right: -20px;
}

.dnaPadded {
    padding: 20px;
}

.dnaSpacer {
    margin-bottom: 20px;
    margin-top: 20px;
}

.dnaPositionRelative {
    position: relative;
}

.dnaCenter {
    margin-left: auto;
    margin-right: auto;
}

.dnaEqualCon .dnaAlignMiddle {
    vertical-align: middle;
}


/* Flexbox */

.dnaFlex {
    display: -ms-flexbox;
    display: flex;
}


/* These are the flex defaults, but may be required in some cases for IE10 on children of .dnaFlex. */

.dnaFlexCol {
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    -ms-flex-direction: column;
    flex-direction: column;
}

.dnaFlexChild {
    display: block;
    -ms-flex: 0 1 auto;
    flex: 0 1 auto;
    word-break: break-word;
}

.dnaFlexWrap {
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
}

.dnaFlexJustifySpaceAround {
    -ms-flex-pack: distribute;
    justify-content: space-around;
}

.dnaFlexCenterVertical {
    -ms-flex-item-align: center;
    -ms-grid-row-align: center;
    align-self: center;
}

.dnaVisibilityHidden {
    visibility: hidden;
}


/* Radio Cards */

.card.icon {
    border: 1px solid #D4D4D4;
}


/* Embed Video Directive */

.videoContainer .video .embedVideo,
.embedVideo {
    position: relative;
    padding-bottom: 56.25%;
    padding-top: 0;
    height: 0;
}

.videoContainer .video .embedVideo iframe,
.embedVideo iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.spacingBlock {
    margin-top: 20px;
}

.fadeSlide {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.fadeSlide.in {
    max-height: 50vh;
    overflow: initial;
    opacity: 1;
}

@media only screen and (max-width: 480px) {
    .activationConfirmation .titleHeader {
        font-size: 18px;
    }
    .activationConfirmation .titleText {
        text-align: left;
    }
}

input[type="radio"]:focus+label.card {
    outline: 2px solid #d58a34;
    outline-offset: 5px;
}

.faq {
    margin-top: 40px;
}

.faqHeading {
    margin-bottom: 10px;
}

.faqAccordionSection {
    border-top: 1px solid rgba(190, 187, 179, 0.8);
}

.faqAccordionBtn {
    background: transparent;
    border: none;
    color: #1b88b0;
    display: block;
    padding: 10px 0;
    position: relative;
    text-align: left;
    width: 100%;
}

.faqAccordionBtn.iconAfter::after {
    color: #bebbb3;
    font-size: 140%;
    position: absolute;
    right: 0;
    top: 50%;
}

.faqAccordionContent.in {
    margin-bottom: 10px;
}

.sampleIcon {
    height: 50px;
    margin-right: 10px;
    max-width: 50px;
    width: 100%;
}

.flexRow {
    display: -ms-flexbox;
    display: flex;
}

.bulleted.dnaBullet {
    margin-left: 25px;
}

.institutionModal footer {
    margin-top: 20px;
}

.modalContents .successCheck {
    margin-top: 25px;
}

.modalContents .successCheck img {
    width: 85px;
}

.tutorialPage {
    background-color: #fafaf7;
    overflow: hidden;
}

.tutorialPage .tutorialHeader {
    height: 112px;
    background-color: #0086b4;
    color: #fff;
    overflow: hidden;
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.tutorialPage .tutorialHeader button {
    float: left;
    cursor: pointer;
    padding-left: 27px;
    background: transparent;
    border: none;
    position: absolute;
    left: 20px;
    top: 10px;
    outline: 0;
    font: bolder 14px "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

.tutorialPage .tutorialHeader button:before {
    content: "\e623";
    font: normal normal normal 14px/0 "ancestry-icon";
    color: #fff;
    position: absolute;
    top: 9px;
    left: 0;
}

.tutorialPage .tutorialHeader h1 {
    font: normal 44px "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
    margin: 13px 0 -2px;
}

.tutorialPage .tutorialHeader div {
    font: bold 18px "Source Sans Pro", "Helvetica Neue", Arial, sans-serif;
}

.tutorialPage .tutorialHeader div span {
    text-transform: uppercase;
}

.tutorialPage video {
    width: 100%;
    max-width: 595px;
    display: block;
    margin: 0 auto;
}

.tutorialPage .tutorialGrid {
    margin: 40px 20px;
}

@media only screen and (max-width: 767px) and (min-width: 480px) {
    .tutorialPage .tutorialGrid {
        margin: 20px;
    }
}

@media only screen and (max-width: 480px) {
    .tutorialPage .tutorialGrid {
        margin: 0;
    }
}

.tutorialPage .tutorialContent {
    margin-left: 20px;
}

@media only screen and (max-width: 767px) {
    .tutorialPage .tutorialContent {
        margin: 20px 10px;
    }
}

.tutorialPage .tutorialTitle {
    color: #025e80;
}

.tutorialPage .ctaWrap {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: row-reverse;
    flex-direction: row-reverse;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    -ms-flex-pack: center;
    justify-content: center;
}

.tutorialPage .ctaWrap>button {
    margin: 20px 10px 0;
}


/* ------ PHONE portrait ------- */


/* ------ PHONE landscape ------- */

@media only screen and (max-width: 767px) {
    .tutorialPage .tutorialHeader {
        height: 53px;
        margin-bottom: 0;
    }
    .tutorialPage .tutorialHeader h1 {
        font-weight: bolder;
        font-size: 20px;
        margin-top: 2px;
        font-weight: bolder;
        margin-bottom: 0;
    }
    .tutorialPage .tutorialHeader div {
        font-size: 14px;
    }
    .tutorialPage .tutorialHeader button {
        color: transparent;
        width: 20px;
        padding-left: 20px;
        width: 20px;
        top: 15px;
    }
    .tutorialPage .tutorialHeader button:before {
        content: "\e620";
        font-size: 26px;
        top: 11px;
        left: -3px;
    }
}

.activationSubTitle {
    max-width: 500px;
    width: 100%;
    margin: -20px auto 30px;
    padding: 0 15px;
}

.activationHelpfulInfo {
    background: #f8f7f3;
    padding: 10px 0;
}

.activationHelpfulInfo .activationHelpfulInfoContent {
    margin: 0 auto;
    max-width: 800px;
}

.activationHelpfulInfo .activationHelpfulInfoContent .ancBtn {
    margin-top: 15px;
}

.activationHelpfulInfo .infoGrid {
    display: -ms-flexbox;
    display: flex;
}

.activationHelpfulInfo .infoGridCol {
    -ms-flex-align: center;
    align-items: center;
    display: -ms-flexbox;
    display: flex;
    -ms-flex: 1;
    flex: 1;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: justify;
    justify-content: space-between;
    padding: 10px;
    /* IE11 text overflow fix */
}

.activationHelpfulInfo .infoGridCol>p {
    -ms-flex-item-align: stretch;
    -ms-grid-row-align: stretch;
    align-self: stretch;
}

@media only screen and (max-width: 480px) {
    .activationHelpfulInfo .infoGrid {
        overflow-x: scroll;
        padding: 10px 0;
    }
    .activationHelpfulInfo .infoGrid::before,
    .activationHelpfulInfo .infoGrid::after {
        content: "";
        display: inline-block;
        padding-left: 5vw;
    }
    .activationHelpfulInfo .infoGridCol {
        background-color: #fff;
        border-radius: 6px;
        box-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
        margin: 0 2.5vw;
        min-width: 80vw;
    }
}

#activationHelpfulInfoMobile {
    margin-top: 20px;
}

.helpVideoWrapper {
    position: relative;
    padding-bottom: 55.95%;
    height: 0;
}

.helpVideoWrapper iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.dnaPrivacyIcon {
    margin-left: 40px;
    position: relative;
}

.dnaPrivacyIcon::before {
    color: #9e9a91;
    font-size: 32px;
    left: -40px;
    position: absolute;
    top: 50%;
}

.activation-test-modal h3 {
    font-weight: bold;
    margin-top: 30px;
}

.ancBtn.btnAlt {
    background-image: none;
    padding: 10px 20px;
}

.ancBtn.btnAlt[disabled],
.ancBtn.btnAlt.disabled {
    background-color: #36322d;
    opacity: .3;
}

.ancBtn.btnAlt:hover,
.ancBtn.btnAlt:focus {
    background-image: none !important;
}

.ancBtn.blue:active,
.ancBtn.blue.active {
    background: #003a5b;
}

.underlined {
    text-decoration: underline;
}

.pageHeader.pageHeaderAlt {
    display: -ms-flexbox;
    display: flex;
    -ms-flex-direction: column;
    flex-direction: column;
    -ms-flex-pack: center;
    justify-content: center;
    min-height: 70px;
    padding: 6px;
    position: relative;
}

.pageHeader.pageHeaderAlt .pageTitle {
    font-size: 36px;
    line-height: 1.2;
    padding: 0;
}

.pageHeader.pageHeaderAlt .pageIntro {
    font-size: 18px;
}

.pageHeader.pageHeaderAlt .backBtn {
    display: inline-block;
    padding: 4px 10px;
    position: absolute;
    top: 8px;
    z-index: 1;
}

@media only screen and (min-width: 767px) {
    .pageHeader.pageHeaderAlt .pageIntro+.pageTitle {
        font-size: 28px;
        font-weight: normal;
    }
}

@media only screen and (max-width: 767px) {
    .pageHeader.pageHeaderAlt {
        line-height: inherit;
        min-height: 50px;
    }
    .pageHeader.pageHeaderAlt .pageTitle {
        font-size: 18px;
        font-weight: 600;
    }
    .pageHeader.pageHeaderAlt .pageTitle:only-child {
        line-height: 38px;
    }
    .pageHeader.pageHeaderAlt .pageIntro {
        font-size: 14px;
    }
    .pageHeader.pageHeaderAlt .backBtn {
        bottom: 0;
        top: 0;
    }
}

.dnaPrivacyFooter {
    margin: 0 auto;
    max-width: 100%;
    padding: 0 10px;
    width: 990px;
}

.footer.dnaFooter {
    margin: 20px auto 3px;
    padding: 0 3px;
    text-align: left;
}

.footer.dnaFooter hr {
    border-bottom: 1.5px solid #dedcd6;
    margin: 20px auto 10px;
    max-width: 400px;
    width: calc(100vw - 40px);
}

@media (max-width: 1005px) and (min-width: 480px) {
    .footer.dnaFooter {
        text-align: center;
    }
}

@media only screen and (max-width: 480px) {
    .footer.dnaFooter {
        padding: 0 3px;
    }
    .footer.dnaFooter .footerLink {
        display: block;
        margin-top: 10px;
    }
}

.block {
    display: block;
    width: 100%;
}

.cancelLink {
    margin-top: 8px;
}

.activationCodeForm .activationField {
    font-size: 20px;
    font-weight: bold;
    height: auto;
    min-width: 45px;
    padding: 7.5px;
    text-align: center;
    text-transform: uppercase;
    width: 22.1%;
}

.activationCodeForm .tubeCode {
    display: block;
    margin: 0 0 30px;
}

.modalContents .modalTitle img.logoSmall {
    max-height: 20px;
    vertical-align: middle;
}

.iframeCon {
    border-radius: 10px;
    overflow: hidden;
}

.activationError {
    height: 39.2px;
    margin: 6px 0;
}

.activationError .activationSpinner {
    margin-left: 10px;
}

.activationError .activationSpinner .loading {
    margin-right: 15px;
}

.activationError .errorMessage {
    margin-left: 0;
}

.icon.iconRed::before {
    color: #c14139;
}

.icon.iconGreen::before {
    color: #7a9c0f;
}

.icon.iconBlue::before,
.iconAfter.iconBlue::after {
    color: #1b88b0;
}

.svgIcon {
    height: 50px;
    margin-right: 10px;
    max-width: 50px;
    width: 100%;
}

.form .consentCheckbox:checked+label::before {
    background-color: #7a9c0f;
    background-image: none;
}

.dnaPage {
    margin: 0px auto;
    padding-top: 10px;
}

.pageWidth4 {
    width: 400px;
}

.form.dnaForm label {
    font-weight: normal;
}

.form.dnaForm input[type="text"],
.form.dnaForm input[type="password"],
.form.dnaForm input[type="email"] {
    font-weight: bold;
}

.card.cardHover3:hover {
    box-shadow: 0 0 0 3px #1b88b0;
}

.card.disabled {
    opacity: .6;
    background: rgba(255, 255, 255, 0.6);
    box-shadow: 0 0 1px rgba(0, 0, 0, 0.2) !important;
    color: #706b63;
}

.fadeSlide {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all .5s ease-in-out;
}

.fadeSlide.in {
    max-height: 100vh;
    overflow: inherit;
    overflow: initial;
    opacity: 1;
}

.row {
    display: -ms-flexbox;
    display: flex;
}

.ancGridEqual.vAlignMiddle>.ancCol {
    vertical-align: middle;
}


/*------------------ "DNA" Footer CSS --------------*/

#FooterRegion.footer2 {
    margin-top: 0 !important;
}


/* ------ REGULAR SCREENS ------- */

.dnaFooter {
    padding: 20px;
}

.dnaFooter li {
    border-left: 1px solid rgba(125, 125, 125, 0.4);
    display: inline-block;
    padding: 0 10px;
}

.dnaFooter li:first-child {
    border-left: 0;
}

.dnaFooter locale-preference-picker {
    margin-top: 10px;
    display: block;
}


/* ------ MEDIA QUERIES -> RESPONSIVE ---------- */

@media only screen and (max-width: 420px) {
    .dnaFooter li {
        border: none;
        display: block;
        padding: 2px 10px;
    }
}

.popover {
    position: relative;
    display: block;
    background-color: #706B63;
    color: #FFF;
    font-size: 15px;
    line-height: 15px;
    border-radius: 5px;
    padding: 5px;
    z-index: 900;
    font-weight: normal;
    width: 150px;
    max-width: -moz-max-content;
    max-width: -webkit-max-content;
    max-width: -o-max-content;
    max-width: max-content;
    text-align: left;
}

.popover:hover {
    z-index: 950;
}

.popover .arrow {
    content: '';
    position: absolute;
    width: 0;
    height: 0;
    margin-left: -8px;
    border-right: 8px solid transparent;
    border-left: 8px solid transparent;
}

.popover.bottom .arrow {
    bottom: 100%;
    border-bottom: 8px solid #706B63;
}

.popover.top .arrow {
    top: 100%;
    border-top: 8px solid #706B63;
}

@media only screen and (max-width: 479px) {
    .popover {
        opacity: 0;
    }
    .mainNode .popover {
        opacity: 1;
    }
}