html {
    scroll-padding-top: 65px;
}     
section.body-text p {
    font-size: 1.1rem;
    line-height: 1.9rem;
}
h1, h2, h3, h4, h5 {
    line-height: 1em;
}       
.split-header h2 span {
    color: #0085CA;
}
.split-p {
    border-left: 4px solid #0085CA;
}

.btn-primary {
    background-color: #0085CA !important;
}

div.counting {
    font-size: 3em;
    color: white;
    padding:0.5em 0 0.5em 0;
    font-weight: 700;
    letter-spacing: -2px;
}

div.stats i{
    font-size: 3em;
    color: #0085CA;
}
.home-title {
    color:#a7e1ff;
    font-size: 3.5rem;
    line-height: 3.5rem;
    position: relative;
    overflow: hidden;
    display: block;
}
.statsContainer {
    display: flex;
    align-items: center;
    justify-content: center;
  }
.image {
    /* flex-basis: 70%; */
    order: 1;
  }
.text {
    order: 2;
    padding-top: 6px;
}
.imageAfter {
     order: 2;
  }
.textBefore {
    order: 1;
    padding-top: 11px;
}

.bkgrd-headers {
    color: rgb(0, 48, 135, 1);
    background-color: white;
    margin-top:-45px;
    padding: 7px;
}

/* CUSTOM ACCORDION HEADER COLOR */
.accordion-button:not(.collapsed) {
    color: white;
    background-color: #0085CA;
    box-shadow: inset 0 -1px 0 rgb(0 0 0 / 13%);
}
.accordion-button:not(.collapsed)::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23fff'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
    transform: rotate(-180deg);
}
.accordion-header .accordion-button {
    font-size: 0.38em;
}
/* HERO CONTAINER */
.head-wrapper {
    height: 80vh;
    position: relative;
    /* margin-left: -15px; */
    width: calc(100% + 30px);
    background-color: black;
}

.head-wrapper .header-video {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%,-50%);
    -o-object-fit: cover;
    object-fit: cover;
    width: 100%;
    height: 80vh;
    opacity: 0.5;
    min-height: 450px;
}

.head-wrapper .headline {
    margin-top: 0;
    margin-bottom: 0;
    position: absolute;
    z-index: 10;
    top: 20%;
    transform: translate(25%);
    color: #fff;
    /* background-color: rgba(0,0,0,.4); */
    padding: 30px;
    max-width: 720px;
}
.head-wrapper figcaption {
    position: absolute;
    /* top: 80vh; */
}
.head-wrapper::after {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    content: '';
    background-image: linear-gradient(to left, rgba(255,0,0,0), rgba(0,47,135,0.8));
}

.signature {
    line-height: 1.3em !important;
}

hr.customHR {
    width: 15%;
    height: 4px;
    border: none;
    background-color: #0085CA;
    opacity: 1;
}
/* BEGIN sticky header with nav */
div.stickyheader-placeholder{
    display:block;
    height:0;
    z-index:1;
    position:relative
}
div.stickyheader{
    display:flex;
    position: absolute;
    justify-content:space-between;
    align-items:center;
    background-color:#fff;
    padding-top:1.9375rem;
    padding-bottom:2.3125rem;
    z-index:2;
    width:100%;
    box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
}
div.stickyheader.on{
    position:fixed!important;
    top:0;
    left:0;
    z-index:99998;
    margin-top:0!important;
}

div.stickyheader a{
    color:#003087;
    font-size:1.1em;
    margin-right:1.5em;
    line-height:1em;
    font-weight:700;
    text-decoration:underline;
    transition:color .25s ease-out
}
div.stickyheader a:hover{
    color:#0085CA;
}
div.stickyheader a:focus{
    outline:2px solid #0085CA;
    outline-offset:1px
}
div.stickyheader a.stickyheader-nav{
    display:none;
}
.menu-item-on {
    color:#0085CA !important;
}
@media screen and (max-width:800px) and (min-width:421px){
    div.stickyheader a {
        font-size:16px
    }

}

@media screen and (min-width:1200px){
    div.stickyheader
    {
        padding-left:5%;
        padding-right:5%;
    }
    div.stickyheader a
    {
        font-size:1.25em;
    }
}
@media screen and (max-width:1138px){
    div.stickyheader a
    {
        font-size:1.09em;
    }
}
@media screen and (max-width:1199px)and (min-width:860px){
    div.stickyheader {
        padding-left:7%;
        padding-right:7%
    }

}
@media screen and (max-width:859px){
    div.stickyheader {
        padding-left:30px;
        padding-right:30px
    }
    .accordion-header .accordion-button {
        font-size: 0.58em;
    }
}
@media screen and (max-width:991px){
    div.stickyheader {
        justify-content:center;
        align-items:flex-start;
        padding:2.25em .5em
    }
    div.stickyheader a {
        margin-right: 0;
    }
    div.stickyheader>div {
        max-height:1.2em;
        overflow:hidden;
        position:relative;
        margin-top:.9em;
        margin-right:1em;
        transition:max-height .5s ease-in-out
    }
    div.stickyheader>div>a{
        display:block;
        margin-bottom:1em
    }
    div.stickyheader>div>a.stickyheader-nav{
        display:block;
        text-decoration:none
    }
    div.stickyheader>div>a.stickyheader-nav:after{
        content:" ";
        width:.75rem;
        height:.75rem;
        display:inline-block;
        margin-left:12%;
        background:url(https://oceanexplorer.noaa.gov/about/annual-reports/scripts/css/media/chevron-down.svg) 50%/100% auto no-repeat;
    }
    div.stickyheader.nav-on>div{
        max-height:250px
    }
    div.stickyheader.nav-on>div a.stickyheader-nav:after{
        transform:rotate(180deg)
    }
    .split-p {
        border-left: none;
    }

}
@media screen and (max-width:480px){
    div.stickyheader>div>a {
        margin-right:1em
    }
    div.stickyheader>div>a.stickyheader-nav:after{
        right:1%
    }
    .image-stack__item--top {
        grid-column: 1/span 10 !important;
        padding-top: 60% !important;
    }   
    .image-stack__item--top2 {
        grid-row: 1;
        grid-column: 3/span 8 !important;
        padding-top: 70% !important;
        z-index: 1;
    }    
    .image-stack__item--top3 {
        padding-top: 40% !important;
        z-index: 1;
    }  
    .overlay-caption-lrg-img {
        margin-top: -40px !important;
    }
}
@media screen and (max-width:430px){
    div.stickyheader {
        padding-left:15px;
        padding-right:15px
    }

}
@media screen and (max-width:420px){
    div.stickyheader>div {
        max-height:1.1em;
        margin-top:.65em;
        margin-right:0
    }
    div.stickyheader>div>a{
        font-size:18px
    }
    div.stickyheader>div>a.stickyheader-nav:after{
        width:9px;
        height:9px;
        right:0;
        top:1px
    }
}
@media (min-width: 1200px) {
    .h2, h2 {
        font-size: 3rem;
    }
}

/* overlapping images */
.image-stack {
    display: grid;
    position: relative;
    grid-template-columns: repeat(12, 1fr);
}
.image-stack__item img {
    border-radius: 50%;
    border: white 5px solid;
}
.image-stack__item2 img {
    border: white 5px solid;
}
.image-stack__item--bottom {
    grid-column: 4/-1;
    grid-row: 1;
}
.image-stack__item--bottom2 {
    grid-column: 1/10;
    grid-row: 1;
}
.image-stack__item--top {
    grid-row: 1;
    grid-column: 1/span 8;
    padding-top: 25%;
    z-index: 1;
}
.image-stack__item--top2 {
    grid-row: 1;
    grid-column: 8/span 8;
    padding-top: 70%;
    z-index: 1;
} 
.image-stack__item--top3 {
    grid-row: 1;
    grid-column: 1/span 8;
    z-index: 1;
}       
.circleTxt{
    border-radius: 50%;
    background-color: #003087;
    border: 5px solid white;
    color: white;
    height: 300px;
    width: 300px;
    text-align: center;
    padding: 76px;
}
.circleTxtLrg{
    border-radius: 50%;
    background-color: #003087;
    border: 5px solid white;
    color: white;
    height: 450px;
    width: 450px;
    text-align: center;
    padding: 54px;
}
#lg-backdrop-1 {
    z-index: 99999 !important;
}
#lg-outer-1 {
    z-index: 999999 !important;
}

/* animated image container */
.img-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.box {
    width: 60vmin;
    height: 60vmin;
    position: relative;
}
.box2 {
    width: 55vmin;
    height: 55vmin;
    position: relative;
}
.box3 {
    width: 40vmin;
    height: 40vmin;
    position: relative;
}
.box::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    border: 1px dashed #0085CA;
    transform: scale(1.2);
}
.box2::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    border: 1px dashed #0085CA;
    transform: scale(1.2);
}
.box3::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    border-radius: 50%;
    border: 1px dashed #0085CA;
    transform: scale(1.2);
}
.spin-container {
    width: 100%;
    height: 100%;
    -webkit-animation: spin 24s ease-in-out infinite alternate;
    animation: spin 24s ease-in-out infinite alternate;
    position: relative;
}

.shape {
    width: 100%;
    height: 100%;
    transition: border-radius 1s ease-out;
    border-radius: 60% 40% 30% 70%/60% 30% 70% 40%;
    -webkit-animation: morph 16s ease-in-out infinite both alternate;
    animation: morph 16s ease-in-out infinite both alternate;
    position: absolute;
    overflow: hidden;
    z-index: 5;
    border: white 8px solid;
}

.bd {
    width: 142%;
    height: 142%;
    position: absolute;
    left: -21%;
    top: -21%;
    background: url(https://oceanexplorer.noaa.gov/about/annual-reports/scripts/css/media/mystic-program-net-800.jpg);
    background-size: 130%;
    background-position: center center;
    display: flex;
    color: #003;
    font-size: 5vw;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    animation: spin 24s ease-in-out infinite alternate-reverse;
    opacity: 1;
    z-index: 2;
}
.bd2 {
    width: 142%;
    height: 142%;
    position: absolute;
    left: -21%;
    top: -21%;
    background: url(../../../../news/oer-updates/2022/media/dive-cert-hires.jpg);
    background-size: 100%;
    background-position: center center;
    display: flex;
    color: #003;
    font-size: 5vw;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    animation: spin 24s ease-in-out infinite alternate-reverse;
    opacity: 1;
    z-index: 2;
}

.bd3 {
    width: 142%;
    height: 142%;
    position: absolute;
    left: -21%;
    top: -21%;
    background: url(https://oceanexplorer.noaa.gov/about/annual-reports/scripts/css/media/cam1_20220419065353_0.jpg);
    background-size: 130%;
    background-position: center center;
    display: flex;
    color: #003;
    font-size: 5vw;
    font-weight: bold;
    align-items: center;
    justify-content: center;
    text-align: center;
    text-transform: uppercase;
    animation: spin 24s ease-in-out infinite alternate-reverse;
    opacity: 1;
    z-index: 2;
}

@-webkit-keyframes morph {
0% {
    border-radius: 40% 60% 60% 40%/60% 30% 70% 40%;
}
100% {
    border-radius: 40% 60%;
}
}

@keyframes morph {
0% {
    border-radius: 40% 60% 60% 40%/60% 30% 70% 40%;
}
100% {
    border-radius: 40% 60%;
}
}
@-webkit-keyframes spin {
to {
    transform: rotate(1turn);
}
}
@keyframes spin {
to {
    transform: rotate(1turn);
}
}


.overlay-caption {
    color: #fff;
    background-color: rgba(0, 0, 0, .6);
}
.overlay-caption-lrg-img {
    color: #fff;
    background-color: rgba(0, 0, 0, .6);
}