/* ------------------------------------------------------------------------------------------------------------------------------ */
/* This file contains all styles for blocks from the content_blocks app, compiled here to avoid repetition. */
/* Blocks -- search the name of the block in ALL CAPS to jump to a block (i.e. ICONS BLOCK) They are organized alphabetically. */
/* ------------------------------------------------------------------------------------------------------------------------------ */

/* ----- */
/* ACCORDIONS -- All */
/* ----- */

.accordion-block,
.nested-accordion-block {
    .card>a .card-header {
        position: relative;
        width: 100%;
        padding: .75rem 0;
        border: none;
        background-color: transparent
    }


    .card {
        width: 100%;
        padding-right: 15px;
        padding-left: 15px;
        border: none
    }


    .card>a .icon-Up {
        display: block;
        position: absolute;
        left: calc(100% - 3.7rem);
        top: 0;
        font-weight: 700;
        font-size: 2.2rem
    }

    .card>a.collapsed .icon-Up {
        -webkit-transform: rotate(180deg);
        transform: rotate(180deg)
    }

    .card>a:hover {
        text-decoration: none;
        color: var(--copy-gray)
    }
}

/* ----- */
/* ACCORDIONS -- Regular */
/* ----- */

.accordion-block {
    .container-fluid {
        background-color: transparent !important;
    }

    .accordion-link {
        border-radius: 10px 10px 0 0 !important;
    }

    .accordion-body.show {
        border-radius: 0 0 10px 10px !important;
    }

    .accordion-body .card-block {
        border-top: 3px solid var(--lighter-gray);
    }

    .accordion-link.collapsed,
    .accordion-body {
        min-height: unset;
        border-radius: 10px !important;
    }

    .card-header p {
        font-size: 2.4rem;
        font-weight: bold;
        font-family: var(--ITCStone);
    }


    .card.accordion-card.single-accordion {
        box-shadow: none;
    }

    .toggle-circle-div {
        margin-left: 2rem;
    }

    .toggle-circle {
        padding: 2rem !important;
    }

    @media (max-width: 992px) {
        .card-header p {
            font-size: 2rem;
        }
    }
}

/* ----- */
/* BIG BUTTONS BLOCK */
/* ----- */



.big-buttons-block {
    background-color: var(--light-blue-600);
    background-image: url("/static/images/light-blue-bg.webp");
    background-size: cover;
    background-position: center center;

}

.big-buttons-block {
    .big-button {
        color: white;
        font-weight: bold;
        background-color: #ffffff55;
        border-radius: 5rem;
        max-width: 40rem;
    }

    p {
        font-size: 2.4rem;
        font-family: var(--ITCStoneBold);
        font-weight: 400;
        margin-bottom: 0;
    }

    .big-buttons-text {
        text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.4);
        ;
    }

    .big-button i,
    .big-button p {
        color: white;
    }


    .icon-wrap {
        display: flex !important;
        justify-content: center;
        align-items: center;
    }

    .icon-wrap .icon-wrap-inner {
        display: flex !important;
        justify-content: space-evenly;
        align-items: center;
        gap: 2rem;
    }

    @media (min-width: 992px) {
        p {
            font-size: 3.0rem;
            margin-top: 0.5rem;
        }
    }
}

/* ----- */
/* BUTTON BLOCK */
/* ----- */

.button-block .btn {
    max-width: 30rem;
    width: 100%;
    margin-top: 1rem;
    margin-bottom: 1rem;
}

@media (min-width: 992px) {

    .button-block.justify-content-lg-start .btn:not(:first-of-type),
    .button-block.justify-content-lg-center .btn,
    .button-block.justify-content-lg-end .btn:not(:last-of-type) {
        margin: 1rem;
    }
}

/* ----- */
/* CARDS BLOCK */
/* ----- */

.cards-block {
    .card {
        width: 100%;
        max-width: 33rem;
        min-width: 25rem;
        border-radius: 5px;
        box-shadow: 0px 0px 3px var(--dark-gray);
    }

    .card.add-margin {
        margin-top: 10rem;
        padding-top: 18rem;
    }

    .card-content {
        border-radius: 0 0 5px 5px;
    }


    .card .card-img {
        height: 18rem;
        object-fit: cover;
        margin: 2rem;
        width: calc(100% - 4rem);
    }

    .card .card-img.circle {
        height: 29rem;
        position: absolute;
        top: -15rem;
    }

    .card-title {
        font-family: var(--ITCStoneRegular);
    }

    /* horizontal cards */
    @media (min-width: 768px) {
        .card.flex-md-column.add-margin {
            margin-top: 18rem;
            padding-top: 18rem;   
        }

        .card.flex-md-row {
            margin-top: 0;
            min-height: 25rem;
            max-width: 60rem
        }

        .card.flex-md-row .card-content {
            padding-top: 3rem;
        }

        .card.flex-md-row .card-img:not(.circle) {
            height: calc(100% - 40px);
            min-height: 23rem;
            width: 14rem;
            margin-right: 0;
        }
    
        /* Circle images */

        .card.flex-md-row.card.add-margin {
            padding-top: 0rem;
        }

        .card.flex-md-row.card.add-margin {
            .card-img.circle {
                height: 20rem;
                width: 20rem;
                left: -6rem;
                top: -4rem;
            }
    
            .card-content {
                margin-left: 16rem;
            }   
        }
    }

    @media (min-width: 992px) {
        .card.flex-md-row {
            max-width: 50rem
        }
    }

    /* Place last button at bottom of card */

    .card-body .btn:last-of-type {
        margin-top: auto;
    }
}

/* Used for cards in many blocks */

.card-bottom-accent {
    height: 6px;
    border-radius: 0 0 5px 5px;
    margin-top: auto;
    position: absolute;
    bottom: 0;
    left: 0;
}

/* ----- */
/* COLUMNS and TABS responsive padding */
/* ----- */

@media (max-width: 576px) {

    .cust-column .container.rich-text-container,
    .tab-pane .container.rich-text-container {
        margin-left: 15px;
        margin-right: 15px;
    }

    .cust-column .container.rich-text-container ol,
    .tab-pane .container.rich-text-container ol {
        padding-inline-start: 10px;
    }

    .cust-column .container.rich-text-container ul,
    .tab-pane .container.rich-text-container ul {
        padding-left: 1rem;
    }
}

@media (max-width: 992px) {
    .cust-column {
        width: 100% !important;
    }
}

/* Remove margin from rich text in blog and columns to line up text */
@media (max-width: 576px) {
    .blog-entry .container.rich-text-container {
        margin-left: 0 !important;
        margin-right: 0 !important;
    }
}

/* ----- */
/* FEATURED PRODUCT BLOCK */
/* ----- */

.featured-product-block {
    margin-top: 21rem;
}

@media (min-width: 992px) {
    .featured-product-block {
        margin-top: 9rem;
    }
}

.featured-product-block {
    .card-header {
        background: linear-gradient(to right, var(--federal-blue-700), var(--federal-blue-500));
        color: white;
        padding-top: 15rem;
    }

    .divider {
        background-color: #ffffff99 !important;
    }

    .button-block {
        padding-top: 2rem !important;
        padding-bottom: 1rem !important;
        padding-left: 1.5rem !important;
        padding-right: 1.5rem !important;
    }

    .pinwheel-frame {
        position: absolute;
        top: -12rem;
        left: 50%;
        transform: translateX(-50%);
        width: 30rem;
    }

    .container {
        padding-left: 0;
        padding-right: 0;
    }

    ul:not([class]) li::before {
        background: var(--light-blue);
    }

    @media (min-width: 992px) {
        .card-header-inner {
            margin-left: 30rem;
        }

        .pinwheel-frame {
            top: -3.5rem;
            left: -5.5rem;
            width: 35rem; 
            transform: translateX(0);
        }

        .card-header {
            padding-top: 2rem;
        }

    }
}

/* ----- */
/* FEATURES BLOCK */
/* ----- */


.features-block {
    .features-container {
        gap: 4rem;
    }

    .feature {
        width: 34rem;
        box-shadow: 0px 0px 25px 0px #00000033 !important;
    }

    p {
        padding-right: 1.5rem;
        padding-left: 1.5rem;
        text-align: left;
        color: var(--navy);
    }    

    i {
        color: var(--dark-gray)
    }

    .circle {
        width: 12rem;
    }

    .card-bottom-accent {
        opacity: 0;
        transition: all 0.2s ease;
    }

    .feature-link .feature-title {
        text-decoration: underline;
    }

    .feature-link:hover {
        cursor: pointer;
    }

    .feature-link:hover .card-bottom-accent {
        cursor: pointer;
        opacity: 1;
    }

    @media (max-width: 768px) {
        .features-block .feature p {
            font-size: 1.6rem;
        }
    }

    @media (min-width: 1200px) {
        .features-container.max-4 {
            gap: 2rem;   
        }
        .max-4 .feature {
            width: 27rem;
            box-shadow: 0px 0px 21px 0px #00000025 !important;   
        }
    }
}


/* ____ */
/* HALF BLOCK */
/* ____ */

.half-block {
    overflow-y: clip;
    overflow-x: visible;
    padding-bottom: 1rem;
}

.half-block {
    .container {
        min-height: 54rem;
    }

    .img-bg {
        position: absolute;
        top: -6rem;
        width: 98%;
        max-width: 40rem;
        min-width: 30rem;
        z-index: 20;
    }

    .cta-block {
        padding-top: 17rem;
        z-index: 10;
    }

    .accent-image-container {
        height: 100%;
        overflow-y: hidden;
    }

    .accent-image {
        background-image: url('/static/images/pinwheel_transparency.webp');
        background-size: contain;
        background-repeat: no-repeat;
        height: 64rem;
        width: 64rem;
        position: absolute;
        top: 5rem;
        opacity: 0.1;
    }

    .theme--white .accent-image, 
    .theme--lightest-gray .accent-image,
    .theme--lighter-gray .accent-image,
    .theme--light-gray .accent-image,
    .theme--light-blue-light .accent-image,
    .theme--bird-egg-blue-light .accent-image,
    .theme--spring-green-light .accent-image,
    .theme--sea-foam-light .accent-image {
        filter: brightness(0.5);
    }

    .accent-triangle {
        position: absolute;
        top: 6rem;
        width: 90%;
        height: 6rem;
    }
}

.half-block.container-offset-right {
    .img-bg {
        left: -1rem;
    }

    .half-block-inner {
        border-bottom-left-radius: 2rem;
        border-top-left-radius: 15rem;
        box-shadow: -2px 4px 4px 0 #00000055;
    }

    .accent-triangle {
        top: 4rem;
        right: -1px;
        transform: rotate(-2deg);
        border-top-left-radius: 20rem;
    }

    .accent-image {
        right: -34rem;
    }
}

.half-block.container-offset-left {
    .img-bg {
        right: -1rem;
    }


    .half-block-inner {
        border-bottom-right-radius: 2rem;
        border-top-right-radius: 15rem;
        box-shadow: 2px 4px 4px 0 #00000055;
    }


    .accent-triangle {
        top: 4rem;
        left: -1px;
        transform: rotate(2deg);
        border-top-right-radius: 20rem;
    }

    .accent-image {
        left: -34rem;
    }
}

@media(min-width: 992px) {

    .half-block .img-bg {
        width: 41.666667%;
        max-width: 55rem;
    }

    .half-block.container-offset-right .img-bg {
        left: -4rem;
    }

    .half-block.container-offset-left .img-bg {
        right: -4rem
    }

    .half-block .cta-block {
        padding-top: 0;
    }

    .half-block .half-block-inner .accent-triangle {
        top: 4rem;
    }

    .half-block.container-offset-right .half-block-inner {
        border-top-left-radius: 20rem;
    }

    .half-block.container-offset-left .half-block-inner {
        border-top-right-radius: 20rem;
    }

    .half-block .accent-image {
        top: -2rem;
    }
}

/* ____ */
/* HERO (Utility Page hero) */
/* ____ */

.hero {
    padding-top: 110px;
    position: relative;
}

.hero-container.container {
    max-width: 1500px;
    width: 94%;
}

.hero-title {
    font-size: 3.2rem;
}

.hero-text-container {
    width: 100%;
    height: 100%;
    position: relative;
    border: 2px solid white;
    border-radius: 0 0 1rem 1rem;
    background-color: white;
    box-shadow: 0px 3px 10px #00000088;
    min-height: 30rem;
}

.hero-img-container {
    position: relative;
    height: 20rem;
    width: 100%;
    border-radius: 1rem 1rem 0 0;
    overflow: hidden;
    border: 2px solid white;
}

.hero-img {
    height: 100%;
    width: 100%;
    background-color: var(--navy-70);
    background-size: cover;
}

.hero-attribution {
    position: absolute;
    right: 1rem;
    bottom: -1rem;
    font-size: 0.8rem;
    color: #ffffffaa;
}

.hero-pinwheel {
    position: absolute;
    bottom: -3rem;
    left: 50%;
    transform: translateX(-50%);
    object-fit: contain;
    width: 5rem;
    height: 5rem;
}

.bg-diagonal {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -1;
    clip-path: polygon(0 0, 100% 0, 100% 65%, 0% 100%);
    background-color: #243a7a;
    overflow: hidden;
}

.bg-diagonal,
[class^="bg-d-sec"] {
    height: 600px;
    width: 100%;
}

[class^="bg-d-sec"] {
    position: absolute;
    top: 1rem;
    left: -2rem;
}

.bg-d-sec-one {
    clip-path: polygon(0 0, 0 80%, 85% 0);
    background-color: var(--federal-blue-800);
}

.bg-d-sec-two {
    clip-path: polygon(0 0, 10% 100%, 60% 100%);
    background-color: #243a7a77;
}

@media (min-width: 768px) {
    .hero-img-container {
        height: 25rem;
    }
}

@media (min-width: 992px) {

    .hero-container.container {
        max-width: 1500px;
        width: calc(100% - 8rem);
    }

    .hero-title {
        font-size: 4.8rem;
    }

    .hero-img-container {
        border-radius: 1rem;
        height: 100%;
    }

    .hero .hero-text-container,
    .carousel-block .hero-text-container {
        min-height: 45rem;
        height: fit-content;
        width: calc(50% - 6rem);
        z-index: 100;
        border-radius: 1rem;
        background-color: #ffffffe9;
        border: 1px solid var(--federal-silver);
        box-shadow: 3px 3px 10px #00000088;
    }

    .hero .hero-text-container {
        background-color: #ffffffe9;
    }

    .hero .hero-img-container {
        border-radius: 1rem;
        position: absolute;
        top: 0;
        right: 0;
        height: 100%;
    }

    .hero-pinwheel {
        position: absolute;
        bottom: -3rem;
        left: 50%;
        transform: translateX(-50%);
        object-fit: contain;
        width: 6rem;
        height: 6rem;
    }
}

@media (min-width: 1200px) {
    .hero-title {
        font-size: 5.2rem;
    }
}


/* _____ */
/* HERO -- PROMOTIONS CAROUSEL -- uses some hero styles*/
/* _____ */

.carousel-block {
    padding-top: 100px;
    height: 680px;
}

.carousel-fade .carousel-item {
    transition: opacity 1.5s ease;
}

.carousel-block .carousel-inner {
    overflow: visible;
}

@media (min-width: 992px) {

    .carousel-block {
        height: 700px;
    }

    .carousel-block .hero-img-container {
        width: 60%;
        padding-bottom: 5rem;
    }

    .carousel-block .hero-img {
        border-radius: 1rem;
    }

    .carousel-block .hero-text-container {
        background-color: white;
        height: 510px;
    }
}

@media (min-width: 1200px) {
    .carousel-block .hero-text-container {
        background-color: white;
        height: 490px;
    }
}

/* Unique mobile styles for carousel */

@media (max-width: 992px) {

    .carousel-block .hero-text-container {
        flex-grow: 1;
        height: 100%;
    }


    .carousel-block .hero-img-container {
        flex-grow: 0;
        min-height: 20rem;
    }

    .carousel-block h1.add-margin {
        padding-top: 2rem;
    }
}

/* _____ */
/* HERO -- FULLSCREEN HERO (Used on Loan officer page and Hero Structblock)*/
/* _____ */

.fullscreen-hero {
    position: relative;
}

.fullscreen-hero:before {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    content: "";
}

.fullscreen-hero:not(.no-shade):before {
    background: rgba(0, 0, 0, .573)
}

.fullscreen-hero.no-shade.scheme-light:before {
    background: linear-gradient(to bottom, #ffffff80 0%, #ffffff80 80%, white 100%)
}

@media (min-width: 992px) {
    .fullscreen-hero:not(.no-shade):before {
        background: linear-gradient(to right, rgba(0, 0, 0, .5) 0, rgba(0, 0, 0, .08) 100%)
    }
}

.fullscreen-hero {
    .cta-block {
        height: 100%;
        padding: 0;
        z-index: 30;
    }

    .cta-block h1 {
        min-height: 19rem
    }

    .breadcrumbs {
        position: absolute;
        bottom: 0;
        left: 0;
        padding-left: 0
    }

    .breadcrumbs ul {
        display: -webkit-flex;
        display: -ms-flexbox;
        display: flex;
        -webkit-flex-direction: row;
        -ms-flex-direction: row;
        flex-direction: row;
        -webkit-flex-wrap: wrap;
        -ms-flex-wrap: wrap;
        flex-wrap: wrap;
        padding-left: 0;
        margin-bottom: 0;
        list-style: none
    }

    .breadcrumbs li {
        line-height: 1.1
    }

    .breadcrumbs a,
    .breadcrumbs p {
        font-size: 1.4rem;
        padding: 1rem 2rem 1rem 0;
        margin: 0;
        position: relative;
        vertical-align: bottom
    }

    .breadcrumbs a {
        text-decoration: underline;
        margin-right: .5rem
    }

    .breadcrumbs a::after {
        top: 1.2rem;
        right: 0;
        position: absolute;
        width: 1rem;
        content: "/"
    }

    .breadcrumbs p {
        padding-top: .6rem
    }

    @media (min-width: 576px) {
        .cta-block h1 {
            min-height: auto
        }
    }

    @media (min-width: 992px) {
        .cta-block {
            padding-bottom: 13rem
        }
    }
}


/* _____ */
/* HERO --LOAN OFFICER */
/* _____ */

.loan-officer-container.scheme-light {
    .lo-about,
    h1,
    p {
        color: var(--navy) !important;       
    }
}

.loan-officer-container.scheme-dark {
    .lo-about,
    h1,
    p {
        color: white !important;
    }
}

.lo-about h1 {
    font-size: 4.4rem;
    font-weight: 700;
    font-family: var(--ITCStoneBold);
}

.lo-description p {
    display: block !important;
}

.loan-officer-hero img {
    max-width: 100%;
    width: 300px;
    height: 300px;
    margin: 0 auto;
    border-radius: 100%;
    aspect-ratio: 1 / 1;
    object-fit: cover;
    border: 5px solid var(--light-blue-light)
}

@media (min-width: 576px) {
    .lo-about h1 {
        font-size: 5rem;
    }
}


/* _____ */
/* HERO -- HERO BLOCK */
/* _____ */

.hero-block {
    overflow: hidden;
    min-height: 50rem;
}

.hero-block.hero-add-bg {
    background: linear-gradient(to right,
            var(--federal-blue),
            var(--light-blue));
}

.hero-block .accent-image {
    position: absolute;
    top: 5rem;
    left: 50%;
    transform: translateX(-30%);
    z-index: 10;
}

.hero-shade {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    box-sizing: border-box;
    content: "";
    background: rgba(0, 0, 0, .573);
    z-index: 20;
}

.hero-content {
    min-height: 40rem;
}

.hero-cta-banner {
    z-index: 40;
    position: relative;
    align-items: start;
    width: fit-content;
    flex-direction: column;
    box-shadow: 1px 1px 3px var(--navy);
    background: linear-gradient(to right, var(--navy), var(--federal-blue));
}

.hero-cta-banner.dark {
    background: linear-gradient(to right, var(--navy), var(--federal-blue));
}

.hero-cta-banner.light {
    background: linear-gradient(to top right, var(--bootstrap-blue), var(--light-blue));
}

.hero-cta-banner .hero-cta-banner-item {
    width: 100%;
    flex-direction: row;
}

.hero-cta-banner a:hover {
    text-decoration: underline;
}

@media (min-width: 768px) {
    .hero-cta-banner .hero-cta-banner-item {
        max-width: 25rem;
        min-width: 20rem;
        flex-direction: column;
    }

    .hero-cta-banner {
        flex-direction: row;
        justify-content: center;
    }
    .hero-shade {
        background: rgba(0, 0, 0, .473);
    }

}

@media (min-width: 992px) {
    .hero-cta-banner .hero-cta-banner-item {
        max-width: 30rem;
        min-width: 27rem;
        flex-direction: row;
    }

    .hero-shade {
        background: transparent;
    }

    .hero-block .accent-image {
        transform: translateX(-50%);
    }
}

/* ----- */
/* TABLE -- PRODUCT TABLE BLOCK */
/* ----- */

.product-table-block {
    max-width: 100vw;
}

.product-table-block {
    .table-product {
        box-shadow: 1px 1px 0px 2px var(--federal-blue-100);
        max-width: 1140px;
        width: 100%;
        margin-left: auto;
        margin-right: auto;
    }

    .table-product thead th {
        border: none;
    }

    .table-product tr {
        position: relative;
        height: 6rem
    }

    .table-product tbody tr {
        border-bottom: 1px solid var(--light-gray)
    }

    .table-product tbody td,
    .table-product thead .table-product-header {
        text-align: center;
        vertical-align: middle;
    }

    .table-product tbody tr td:first-of-type {
        text-align: left;
        min-width: 35rem;
        padding: 1rem 3rem;
    }

    .table-product-blank {
        position: relative;
        transform: translate(2px 3px);
        border-bottom: 2px solid var(--federal-blue-100);
    }

    .table-product-blank::before {
        position: absolute;
        content: '';
        width: 100%;
        height: 100%;
        top: 0px;
        left: 0px;
        box-shadow: inset -6px -6px 4px -6px var(--white-accent);
    }

    .table-product-blank::after {
        position: absolute;
        content: '';
        width: calc(100% + 6px);
        height: calc(100% + 6px);
        top: -9px;
        left: -9px;
        border: none;
        background-color: white;
        z-index: 10;
    }

    .table-product tbody tr td:nth-child(odd),
    .table-product .table-product-footer tr td:nth-child(odd) {
        background-color: var(--light-blue-light);
    }

    .table-product tbody tr td:nth-of-type(even),
    .table-product .table-product-footer tr td:nth-of-type(even) {
        background-color: white;
    }

    .table-product thead .table-product-header {
        color: white;
    }

    .table-product thead th:nth-of-type(4n + 2) {
        background: var(--light-blue-gradient);
    }

    .table-product thead th:nth-of-type(4n + 3) {
        background: var(--federal-blue-gradient);
    }

    .table-product thead th:nth-of-type(4n + 4) {
        background: var(--navy-gradient);
    }

    .table-product thead th:nth-of-type(4n + 5) {
        background-color: var(--navy);
    }

    @media screen and (max-width: 992px) {
        .table-product tbody tr td:first-of-type {
            min-width: 20rem;
        }
    }

    @media screen and (max-width: 768px) {
        .table-product tbody tr td:first-of-type {
            min-width: 12rem;
            padding: .5rem;
            padding-left: 1rem;
        }
    }

    @media screen and (max-width: 576px) {
        .table-product tbody tr td:first-of-type {
            min-width: 8rem;
        }
    }
}

/* ----- */
/* TABLE -- RATES TABLE BLOCK */
/* ----- */


.table-rate {
    max-width: 1140px;
    margin-right: auto;
    margin-left: auto;
    box-shadow: 1px 1px 0px 2px var(--federal-blue-100);
    max-width: 1140px;
}

.table-rate td,
.table-rate th {
    padding: 1rem;
    font-size: 1.6rem;
    text-align: left;
}

.table-rate thead tr {
    background-color: var(--light-blue-50)
}

.table-rate td:first-child,
.table-rate th:first-child {
    padding-left: 1.8rem
}

.table-rate td:last-child,
.table-rate th:last-child {
    padding-right: 1.5rem
}

.table-rate.table-striped tbody tr:nth-of-type(odd) {
    background-color: white;
}

.table-rate.table-striped tbody tr:nth-of-type(even) {
    background-color: var(--lightest-gray);
}

.table-rate thead th {
    color: var(--dark-gray);
    font-family: ITCStoneSansCom-Semi, sans-serif;
    font-weight: 400;
    text-align: left;
}

.table-rate tbody td,
.table-rate tbody th {
    max-width: 50%;
    color: var(--dark-gray)
}

.table-rate tbody th {
    font-weight: 400
}

.table-rate tbody td:first-child {
    width: auto;
    text-align: left
}

@media (min-width: 992px) {

    .table-rate td,
    .table-rate th {
        font-size: 2rem;
    }
}


@media (min-width: 576px) {

    .table-rate td,
    .table-rate th,
    .table-rate thead th {
        padding: 1rem;
        text-align: center;
    }

     .table-rate thead th {
        padding-top: 1.2rem;
     }
}

