html {
    scroll-behavior: smooth;
}

body {
    font-size: 0.9rem;
    font-weight: 300;
    min-height: 100vh;
    position: relative;
    margin: 0;
    display: flex;
    flex-direction: column;
}

footer {
    width: 100%;
    color: white;
    background-image: url(/static/img/hero_footer_background_min.svg), linear-gradient(#1a3143, #152d41);
    background-size: cover;
    background-position: center center;
    margin-top: auto;
}

svg.hero-footer-mask {
    width: 100%;
    height: 5vw;
}

section {
    padding-top: 4rem;
    padding-bottom: 4rem;
}

section h2.section-heading {
    font-size: 40px;
    margin-top: 0;
    margin-bottom: 15px;
}

section h3.section-subheading {
    font-size: 16px;
    font-weight: 400;
    font-style: italic;
    margin-bottom: 75px;
    text-transform: none;
}

.bg-grey {
    background-color: rgb(58, 65, 79);
}

header.masthead {
    text-align: center;
    color: white;
}

.service-heading {
    margin: 15px 0;
    text-transform: none;
}

#upload-file-area {
    width: 100%;
}

.faq-header {
    font-size: 27px;
    margin: 1em;
}

.faq-container .card {
    margin: 0 0 1em;
}

@media screen and (max-height: 575px) {
    #rc-imageselect {
        transform: scale(0.77);
        -webkit-transform: scale(0.77);
        transform-origin: 0 0;
        -webkit-transform-origin: 0 0;
    }
}


/*
The stepper stuff is largely taken from the bs-stepper library, but I needed to customize things and I didn't really
need some parts of it at all.
*/

.bs-stepper .step-trigger {
    display: block;
    align-items: center;
    justify-content: center;
    padding: 20px;
    font-size: 1rem;
    font-weight: 700;
    line-height: 1.5;
    color: #6c757d;
    text-align: center;
    text-decoration: none;
    white-space: nowrap;
    vertical-align: middle;
    user-select: none;
    background-color: transparent;
    border: none;
    border-radius: .25rem;
    transition: background-color .15s ease-out, color .15s ease-out;
}

.bg-dark .bs-stepper .step-trigger,
.bg-grey .bs-stepper .step-trigger {
    color: #f8f9fa !important;
}

.bs-stepper button.step-trigger:not(:disabled):not(.disabled) {
    cursor: pointer;
}

.bs-stepper button.step-trigger:disabled,
.bs-stepper button.step-trigger.disabled {
    pointer-events: none;
    opacity: .65;
}

.bs-stepper button.step-trigger:focus {
    color: #007bff;
    outline: none;
}

.bs-stepper button.step-trigger:hover {
    text-decoration: none;
    background-color: rgba(0, 0, 0, .06);
}

@media (max-width: 520px) {
    .bs-stepper .step-trigger {
        flex-direction: row;
        padding: 10px;
    }
}

.bs-stepper-label {
    display: inline-block;
    margin: .25rem;
}

.bs-stepper-header {
    display: flex;
    align-items: center;
}

@media (max-width: 520px) {
    .bs-stepper-header {
        margin: 0 -10px;
        text-align: center;
    }
}

.bs-stepper-line,
.bs-stepper .line {
    flex: 1 0 32px;
    min-width: 1px;
    min-height: 1px;
    margin: auto;
    background-color: rgba(0, 0, 0, .12);
}

.bg-grey .bs-stepper-line,
.bg-grey .bs-stepper .line,
.bg-dark .bs-stepper-line,
.bg-dark .bs-stepper .line {
    background-color: rgba(255, 255, 255, .12);
}

@media (max-width: 400px) {

    .bs-stepper-line,
    .bs-stepper .line {
        flex-basis: 20px;
    }
}

.bs-stepper-circle {
    display: block;
    align-content: center;
    justify-content: center;
    width: 2em;
    height: 2em;
    padding: .5em 0;
    margin: .25rem;
    line-height: 1em;
    color: #fff;
    background-color: #6c757d;
    border-radius: 1em;
    margin-left: auto;
    margin-right: auto;
    break-after: always;
}

.active .bs-stepper-circle {
    background-color: #007bff;
}

.bs-stepper-content {
    padding: 0 20px 20px;
}

@media (max-width: 520px) {
    .bs-stepper-content {
        padding: 0;
    }
}

.bs-stepper.vertical {
    display: flex;
}

.bs-stepper.vertical .bs-stepper-circle {
    break-after: always;
}

.bs-stepper.vertical .step {
    text-align: center;
}

.bs-stepper.vertical .bs-stepper-header {
    flex-direction: column;
    align-items: stretch;
    margin: 0;
}

.bs-stepper.vertical .bs-stepper-pane,
.bs-stepper.vertical .content {
    display: block;
}

.bs-stepper.vertical .bs-stepper-pane:not(.fade),
.bs-stepper.vertical .content:not(.fade) {
    display: block;
    visibility: hidden;
}

.bs-stepper-pane:not(.fade),
.bs-stepper .content:not(.fade) {
    display: none;
}

.bs-stepper .content.fade,
.bs-stepper-pane.fade {
    visibility: hidden;
    transition-duration: .3s;
    transition-property: opacity;
}

.bs-stepper-pane.fade.active,
.bs-stepper .content.fade.active {
    visibility: visible;
    opacity: 1;
}

.bs-stepper-pane.active:not(.fade),
.bs-stepper .content.active:not(.fade) {
    display: block;
    visibility: visible;
}

.bs-stepper-pane.dstepper-block,
.bs-stepper .content.dstepper-block {
    display: block;
}

.bs-stepper:not(.vertical) .bs-stepper-pane.dstepper-none,
.bs-stepper:not(.vertical) .content.dstepper-none {
    display: none;
}

.vertical .bs-stepper-pane.fade.dstepper-none,
.vertical .content.fade.dstepper-none {
    visibility: hidden;
}

.upload-card {
    margin-bottom: 1em;
}

video {
    width: 100% !important;
    height: auto !important;
}

.sidebar {
    top:5rem; 
    max-height:95vh;
}

.carousel-item {
    height: 485px;
}

:target::before {
    content: "";
    display: block;
    height: 66px;
    margin: -66px 0 0;
}

.dropdown-toggle::after {
    vertical-align: middle;
}

.page-title {
    padding-top: 1rem;
}

.page-title h1 {
    margin: 0;
    margin-bottom: 0.25em;
}

.editable-empty,
.editable-empty:hover,
.editable-empty:focus {
    color: #dc3545 !important;
}

.popover-header {
    color: #1d232c !important;
}

.is-breakable {
    word-break: break-word;
}

.editable-fullname {
    width: 300px;
}

.cursor-pointer {
    cursor: pointer;
}

.cc-revoke,
.cc-window {
    font-family: inherit !important;
}

#mainNav {
    z-index: 2000;
    background-color: rgba(21, 42, 59, 0);

    -webkit-transition: background .25s ease-out;
    -moz-transition: background .25s ease-out;
    -o-transition: background .25s ease-out;
    transition: background .25s ease-out;
}

@media only screen and (max-width: 991px) {
    #mainNav {
        background-color: rgba(21, 42, 59, .95);
    }
}

.scrolled#mainNav {
    background-color: rgba(21, 42, 59, 0.95);
}

.navbar-dark .navbar-nav .nav-link {
    color: rgba(255, 255, 255, .75);
}

.navbar-dark .navbar-nav .nav-link:hover {
    color: rgba(255, 255, 255, 1.0);
}

.bg-blue {
    background-color: #172f42 !important;
}

.hero {
    position: relative;
    padding-top:7rem;
    padding-bottom: 7rem;
}
#hero {
    margin-top: 2.5rem;
    padding-top:4rem;
    padding-bottom: 4rem;
}
.hero-overlay {
    position: absolute;
    right: 0;
    bottom: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.hero-overlay>img {
    position: absolute;
    top: 50%;
    left: 25%;
    -webkit-transform: translateY(-50%) translateX(-25%);
    opacity: 0.09;
}

svg.hero-mask {
    position: absolute;
    bottom: -0.9px;
    width: 100%;
    height: 5vw;
}

.icon-dots {
    background: linear-gradient(90deg, #fff 7px, transparent 1%) center, linear-gradient(#fff 7px, transparent 1%) center, #d3d5d9;
    background-size: 10px 10px;
    padding-top: 10px;
    margin-top: -10px;
    height: 140px;
    width: 90px;
    left: 50%;
    position: absolute;
    z-index: -1;
    opacity: 0.25;
}

.icon-bg-square-rounded {
    display: inline-block;
    width: 2em;
    height: 2em;
    line-height: 2em;
    border-radius: 0.25em;
    font-size: 4em;
    text-align: center;
}

.icon-bg-square-rounded>span {
    vertical-align: middle;
}

.border-between>[class*='col-']:before {
    background: #e3e3e3;
    opacity: 0.5;
    bottom: 10%;
    content: " ";
    left: 0;
    position: absolute;
    width: 1px;
    top: 10%;
}

.border-between>[class*='col-']:first-child:before {
    display: none;
}

.border-between>li:before {
    background: #e3e3e3;
    opacity: 0.5;
    content: " ";
    position: absolute;
    top: 0;
    left: 1em;
    right: 0;
    height: 1px;
}

.border-between>li:first-child:before {
    display: none;
}

.grecaptcha-badge {
    z-index: 100;
}

.social-links a {
    margin: 0.2em;
}

.icon-ul {
    list-style-type: none;
    margin-left: 2.5em;
    padding-left: 0;
}

.icon-ul-2x {
    margin-left: 3em;
}

.icon-ul>li {
    position: relative;
    min-height: 1em;
}

.icon-li {
    left: -1em;
    position: absolute;
    text-align: center;
    width: 1em;
    line-height: 1;
    font-size: 1em;
}

.icon-ul-2x .icon-li {
    left: -2em;
    width: 2em;
    font-size: 2em;
}

.icon-ul-2x>li {
    min-height: 2em;
    padding-left: 1em;
    padding-top: 1em;
    padding-bottom: 1em;
}

.dnasolves-slider-wrapper {
    font-weight: bold;
    display: flex;
    font-family: "Helvetica Neue", "Helvetica", "Arial", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
    justify-content: left;
}

.dnasolves-logo {
    font-family: "Helvetica Neue", "Helvetica", "Arial", "Franklin Gothic Medium", "Arial Narrow", Arial, sans-serif;
}

a.dnasolves-logo {
    text-decoration: none;
}

.dnasolves-logo span:nth-of-type(1) {
    font-weight: 700;
}

.dnasolves-logo span:nth-of-type(2) {
    font-weight: 200;
}

.dnasolves-slider {
    height: 1.5em;
    text-align: left;
    overflow-y: hidden;
}

.dnasolves-slider div {
    height: 1em;
    margin-bottom: 1em;
    box-sizing: border-box;
}

.dnasolves-slider-text0 {
    animation: dnasolves-slide 20s linear;
}

@keyframes dnasolves-slide {
    0% {
        margin-top: -10em;
    }

    17% {
        margin-top: -10em;
    }

    20% {
        margin-top: -8em;
    }

    37% {
        margin-top: -8em;
    }

    40% {
        margin-top: -6em;
    }

    57% {
        margin-top: -6em;
    }

    60% {
        margin-top: -4em;
    }

    77% {
        margin-top: -4em;
    }

    80% {
        margin-top: -2em;
    }

    97% {
        margin-top: -2em;
    }

    100% {
        margin-top: 0em;
    }
}

@media (min-width: 768px) {
    .dnasolves-slider-wrapper {
        font-size: 48px;
    }
}

@media (min-width: 768px) {
    .row.vdivide-md [class*='col-']:not(:last-child):after {
        background: #e0e0e0;
        width: 1px;
        content: "";
        display: block;
        position: absolute;
        top: 0;
        bottom: 0;
        right: 0;
        min-height: 70px;
    }
}

.family-mobile img {
    height: 4rem;
}

.hero-overlap-panel {
    display: block;
    position: relative;
    top: -5vw;
    margin-bottom: -3vw;
    border-radius: 0.25em;
    padding: 2em;
    background: white;
    /*box-shadow: 10px 10px 5px grey;*/
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.2), 0 6px 20px 0 rgba(0, 0, 0, 0.19);
}

@media (max-width: 991px) {
    #hero {
        padding-top:3rem;
        padding-bottom: 3rem;
    }
}

@media (max-width: 768px) {
    .sidebar {
        top:0;
        position: relative;
    }
    #hero {
        padding-top:1.5rem;
        padding-bottom: 1.5rem;
    }
    .hero {
        padding-top:3rem;
        padding-bottom: 3rem;
    }

    .page-title h1 {
        font-size: 1.5rem;
    }
    .rounded-sm-screen {
        border-radius: .25rem !important;
    }
}

.detail-field-primary {
    position: relative;
}

.detail-field-primary:before {
    position: absolute;
    height: 60%;
    top: 20%;
    left: -1em;
    content: "";
    border-left-color: #f27e0a;
    border-left-width: 3px;
    border-left-style: solid;
}

.detail-field-secondary {
    position: relative;
}

.detail-field-secondary:before {
    position: absolute;
    top: 0.5em;
    bottom: 0.5em;
    left: -1em;
    content: "";
    border-left-color: grey;
    border-left-width: 3px;
    border-left-style: solid;
}

.upload-status-badge {
    font-size: 1em;
    padding: 5px;
    width: 100%;
}

.report-card {
    padding: 0.5em;
}

.report-card img.avatar {
    width: 100%;
    padding: 0.5em;
    background: lightgrey;
}

.report-card .dob {
    font-size: 1.2em;
}


.report-card h5 {
    word-break: break-word;
}

.report-map {
    width: 100%;
}

.report-map-coming-soon {
    position: absolute;
    text-align: center;
    top: 33%;
    line-height: 1em;
    width: 100%;
    font-size: 3em;
    background-color: white;
    border-radius: 0.25em;
    opacity: 0.8;
}

.timeline {
    width: 100%;
    position: relative;
    padding-top: 50px;
}

.timeline:before {
    content: "";
    position: absolute;
    top: 0px;
    left: calc(33% - 2px);
    bottom: 0px;
    width: 4px;
    background: #ddd;
}

.timeline:after {
    content: "";
    display: table;
    clear: both;
}

.timeline .entry {
    clear: both;
    text-align: left;
    position: relative;
    break-inside: avoid;
}

.timeline .entry .title {
    margin-bottom: 0.5em;
    float: left;
    width: 33%;
    padding-right: 15px;
    text-align: right;
    position: relative;
}

.timeline .entry .title:before {
    content: "";
    position: absolute;
    width: 1em;
    height: 1em;
    border: 0.3em solid #f37e0a;
    background-color: #fff;
    border-radius: 100%;
    top: 0.25em;
    right: -8px;
    z-index: 99;
}

.timeline .entry .title h3 {
    margin: 0;
    font-size: 120%;
    color: #f27e0a;
}

.timeline .entry .title p {
    margin: 0;
    font-size: 100%;
}

.timeline .entry .body {
    margin: 0 0 3em;
    float: right;
    width: 66%;
    padding-left: 15px;
}

.timeline .entry .body h3 {
    font-size: 120%;
    font-weight: 600;
}

.timeline .entry .body h4 {
    font-size: 100%;
    font-weight: 700;
}

.timeline .entry .body p {
    line-height: 1.4em;
}

.timeline .entry .body p:first-child {
    margin-top: 0;
    font-weight: 400;
}

.report-listing-item {
    padding-top: 2em;
    padding-bottom: 2em;
    display: flex;
    flex-direction: column;
    break-inside: avoid;
}

[aria-expanded="false"]>.expanded,
[aria-expanded="true"]>.collapsed {
    display: none;
}

.read-more-link {
    position: relative;
    top: -0.5rem;
}

.btn-multiline {
    white-space: normal;
}

.btn-xs {
    padding: 0.125rem 0.25rem;
    font-size: 0.7rem;
    line-height: 1.2;
    border-radius: 0.2rem;
}

.progress-bar {
    max-width: 100%;
}

.debug-banner {
    font-size: 2rem;
    font-weight: bolder;
    text-align: center;
    z-index: 9999;
    width: 100%;
    padding: 0.5rem 0;
    margin: 0;
    border: none;
    border-radius: 0;
}

#featured-cases-slider,
#featured-cases-slider .card {
    background-color: rgba(21, 45, 65, 1);
    color: white;
    border: 0
}

#featured-cases-slider .carousel-inner,
#featured-cases-slider {
    border-radius: .25em;
}

#featured-cases-slider .card {
    border-radius: 0;
}

#featured-cases-slider small {
    color: #ccc;
}