/* Colors */

h1.blue,
h2.blue,
h3.blue,
p.blue,
span.blue {
    color: #006ECE;
}

h1.turquoise,
h2.turquoise,
h3.turquoise,
p.turquoise,
span.turquoise {
    color: #00857F;
}

h1.turquoise50,
h2.turquoise50,
h3.turquoise50,
p.turquoise50,
span.turquoise50 {
    color: #8DD1CE;
}

h1.white,
h2.white,
h3.white,
p.white,
span.white {
    color: #FFFFFF;
}

h1.red,
h2.red,
h3.red,
p.red,
span.red {
    color: #961515;
}

h1.red-dark,
h2.red-dark,
h3.red-dark,
p.red-dark,
span.red-dark {
    color: #660026;
}

h1.black,
h2.black,
h3.black,
p.black,
span.black {
    color: #040505;
}

h1.black18,
h2.black18,
h3.black18,
p.black18,
span.black18 {
    color: #D1D1D1;
}

/* Tags */

h1,
h2,
h3,
p {
    color: #040505;
}

p.small {
    font-size: 12px;
}

p.small_link {
    font-size: 13px;
}

a {
    color: #961515;
    text-decoration: underline;
}

img {
    pointer-events: none;
}

/* Font weights */

.bold {
    font-weight: 500;
}

.bold2 {
    font-weight: 900;
}

/* Layouts */

.grid>.turquoise>:first-child {
    background-color: #00857F;
}

.grid>.gradient>:first-child {
    margin-left: 40%;
    background: linear-gradient(66deg, #FFFFFF 50%, rgba(247,248,249,1) 50%);
}

.full-grid .container,
.full-grid .row,
.full-grid [class^="col-md"] {
    margin: 0 !important;
    padding: 0 !important;
}

.full-grid .container {
    max-width: none !important;
}

.full-grid.right-image>.container>.row>[class^="col-md"]:first-child {
    display: flex;
}

.full-grid.right-image.turquoise>.container>.row>[class^="col-md"]:first-child {
    background-color: #00857F;
}

.full-grid.right-image.turquoise50>.container>.row>[class^="col-md"]:first-child {
    background-color: #ECEDEE;
}

.full-grid.right-image>.container>.row>[class^="col-md"]:first-child>div {
    margin: auto;
    padding: 40px;
}

.full-grid.right-image>.container>.row>[class^="col-md"]:last-child div,
.full-grid.right-image>.container>.row>[class^="col-md"]:last-child img {
    max-height: 450px;
    height: 100%;
    width: 100%;
    object-fit: cover;
}

.full-grid.right-image>.container>.row>[class^="col-md"]:first-child {
    max-height: 450px;
}

.full-grid.advisor-questions>.container>.row>[class^="col-md"]:first-child {
    max-height: 450px;
    display: flex;
}

.full-grid.advisor-questions>.container>.row>[class^="col-md"]:first-child>div {
    margin: auto;
    padding: 0px;
}

/* Specific sections ****************************************************/

#invest-rewards .icon {
    color: #00857F !important;
    fill: #00857F !important;
}

#invest-rewards .icon::before {
    font-size: 6rem;
}

#rewards .container {
    border-bottom: 2px solid black;
}

.invest-sticky-nav .san-container {
    width: min-content;
}

.invest-sticky-nav li:last-child {
    margin: auto 0 auto 0;
}

#features .richtext div {
    display: flex;
    height: 100%;
}

#features .richtext > div > * {
    margin: auto 0 auto 0;
}

#new-customers .icon::before {
    font-size: 6rem;
}

#how-it-works .icon {
    color: #00857F !important;
    fill: #00857F !important;
}

#consultation .icon::before {
    font-size: 6rem;
}

#questions img {
    width: 100%;
    max-height: 540px;
    object-fit: cover;
}

#privacy .icon {
    color: #00857F !important;
    fill: #00857F !important;
}

#privacy .icon::before {
    font-size: 7rem;
}

#get-started .richtext, #get-started .icons {
    height: 100%;
    }

#get-started .richtext > div, #get-started .icons > div {
    margin: auto 0 auto 0;
}

#get-started .icon {
    color: #00857F !important;
    fill: #00857F !important;
}

#get-started .btn, #begin-enrollment-enroll-sec .btn     {
    background-color: #961515;
    white-space: normal;
}

#begin-enrollment-clarify-goal-sec .btn{
    background-color: #00857F;
    border: 2px solid #fff;
    color: #fff;
}

#begin-enrollment-automate-invest-sec .btn, #begin-enrollment-confidence-sec .btn {
    color: #961515;
    background: #fff;
    border: 2px solid #96151D;
    border-radius: 4px;
}

#personalized-advice .icon::before {
    font-size: 7rem;
}

#interested .btn {
    background-color: #00857F;
    text-decoration: none;
}

#resources .btn {
    text-overflow: unset;
    background: none;
    color: #96151D;
    padding: 0;
}

#resources .btn > :last-child{
    display: none;
}

#resources [class^="col-md"]:last-child  {
    padding: 0;
}

#resources a {
    color: black;
    text-decoration: none;
}

#faq .collapsible-panel h3>button {
    color: #00857F;
    font-weight: 500;
}

#faq .collapsible-caret {
    color: #96151D !important;
    fill: #96151D !important;
}

#toc p {
    font-size: 12px;
}

#toc p:not(:first-child) {
    margin-top: 8px;
}

#toc a {
    text-decoration: initial;
}

#carousel-heading p {
    font-size: 1.875rem;
    line-height: 2.375rem;
    font-weight: 900;
    margin-top: 3rem;
}

section.carousel.icc-carousel {
    padding: 0 6rem !important;
}

.icc-testimonial p {
    color: #00857F;
}

/* #download-ico-file {
    color: black;
} */

#carousel-heading p {
    font-weight: 900;
}

.feecalc-black.pad-2-b.feecalc-header {
    font-weight: 900;
}

.feecalc-footer{
    margin-bottom: 5rem;
}

#resources .button a {
    width: fit-content;
}

#features img {
    min-height: 225px;
    min-width: 210px;
}

div#question-card-rounded .card-img-bg{
    border-radius: 30px;
}

#enroll-div {
    background: linear-gradient(90.91deg, #53565A 0%, #424242 0.01%, #333333 100%);
}

@media screen and (max-width: 768px) {
    #high-yield-savings > .container > .row {
        flex-direction: column-reverse;
    }
}

.isn-wrapper .nav-vertical .navbar-collapse {
    width: 70vw;
}

.isn-wrapper .nav-dropdown {
    width: 67vw;
}

section.carousel.icc-carousel {
    height: 400px;
}

@media(max-width: 940px) {
    section.carousel.icc-carousel {
        height: 500px;
        padding-left: 5rem !important;
        padding-right: 5rem !important;
    }
}

@media(max-width: 768px) {
    section.carousel.icc-carousel {
        padding-left: 2rem !important;
        padding-right: 2rem !important;
    }
}

@media(max-width: 500px) {
    section.carousel.icc-carousel {
        height: 400px;
        padding: 0 0.5rem !important;
    }
}

.icc-carousel-heading.row {
    text-align: center;
    justify-content: center;
}

.carousel-inner.icc-carousel-inner {
    min-height: unset;
}

#carousel-heading p {
    line-height: 1.25;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

@media(max-width: 768px) {
    #carousel-heading p {
        margin-bottom: 1rem;
        margin-top: 1.5rem;
    }
}

@media(max-width: 580px) {
    #carousel-heading p {
        font-size: 22px !important;
        margin-bottom: 0.5rem;
    }
}

.icc-gradient {
    left: 0;
    height: 180%;
}

.carousel-controls {
    width: unset;
    left: 30%;
    right: 30%;
}

.icc-image-container {
    padding-bottom: 1rem;
}

@media (max-width: 459px) {
    .icc-control-button {
        display: flex !important;
        top: 35% !important;
    }
}

.cb-parent-wrapper {
    display: flex;
    justify-content: center;
    gap: 200px;
    height: fit-content;
    padding: 25px 0;
    position: relative;
}

.cb-content-wrapper {
    width: 770px;
}

.cb-heading {
    font-size: 28px;
    font-weight: bolder;
    color: #00857F;
    margin-bottom: 16px;
}

.cb-sub-heading {
    font-size: 18px;
    font-weight: bold;
    color: #040505;
}

.cb-button-wrapper {
    height: auto;
    display: flex;
    align-items: center;
}

.cb-cta-button {
    margin: auto 0;
    background: #00857F;
    padding: 12px 34px;
    border: none;
    border-radius: 4px;
    color: #ffffff;
    font-size: 18px;
    display: flex;
    gap: 8px;
    align-items: center;
    margin-right: 38px;
    z-index: 9;
}

.cb-background-svg {
    position: absolute;
    right: 0;
    top: auto;
    bottom: auto;
    z-index: 0;
}

@media screen and (max-width:769px){
    .cb-parent-wrapper {
		gap: 30px;
        flex-wrap: wrap;
        justify-content: flex-end
	}

    /* Make dls-icon-no-fee centered on small screens when contents stack */
    #new-customers .icons .text-align-right {
        text-align: center !important;
        margin-bottom: 16px;
    }

    /* Make text centered on small screen widths */
    #hero .richtext div, #new-customers .richtext div, #how-it-works .richtext div, #rewards .richtext div, #high-yield-savings .richtext div {
        text-align: center;
    }

    /* Make feature text centered on small screen widths */
    #features .richtext div {
        text-align: center;
        padding-left: 8px;
        padding-right: 8px;
        margin-bottom: 16px;
    }

    /* Reset col width on small screens for Recommended Resources section. Make next icons appear next to test instead of below. */
    #resources .next-icon-container .col-md-10 {
        flex: 0 0 184px;
    }
    #resources .next-icon-container .col-md-1 {
        flex: 1;
    }
}

@media screen and (max-width:1024px) {
    .three-icons .col-md-4 {
        flex: 0 0 100%;
        max-width: 100%;
    }
}

#ipad-gif img {
    max-height: 350px !important;
}

.circle-icon {
    background: #00857f;
}

.icc-gradient {
    opacity: 1 !important;
}

#isn-get-started.nav-link:focus {
    outline-offset: 2px!important;
}

#isn-get-started {
    margin-top: 3px;
}

@media screen and (max-width:768px) {
    div#question-card-rounded .col-md-10 {
        flex: 0 0 83.3333333333%;
        max-width: 83.3333333333% !important;
    }

    div#question-card-rounded .col-md-2 {
        flex: 0 0 16.6666666667%;
        max-width: 16.6666666667% !important;
    }

    .full-grid.right-image>.container>.row>[class^="col-md"]:first-child>div {
        margin: auto;
        padding: 0px;
    }

    #invest-vanguard-logo{
        padding-top: 4rem;
    }
}

.slider-inner {
    width: 0% !important;
}

div#invest-fee-calculator-entire-content {
    display: none;
}

div.invest-sticky-nav ul li:nth-child(6) {
    display: none;
}

.width-200 {
    max-width: 200px;
}

#features .col-md-8{
    margin: auto !important;
}

@media screen and (max-width:768px) {
    div#question-card-rounded .col-md-10 {
        flex: 0 0 83.3333333333%;
        max-width: 83.3333333333% !important;
    }

    div#question-card-rounded .col-md-2 {
        flex: 0 0 16.6666666667%;
        max-width: 16.6666666667% !important;
    }

    .full-grid.right-image>.container>.row>[class^="col-md"]:first-child>div {
        margin: auto;
        padding: 0px;
    }
}

@media (min-width:1280px) {
    #enroll-div .col-md-9{
        padding-left: 50px !important;
    }
}

@media (min-width:768px) and (max-width: 1023px){
    #enroll-div .col-md-9 {
        flex: 0 0 70%;
        max-width: 70%;
    }
    #enroll-div .col-md-3 {
        flex: 0 0 30%;
        max-width: 30%;
    }
}