html {
    height: 100vh;
}

body {
    margin: 0;
    height: 100%;
    background-color: #f6f6f6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
}

body.loaded {
    opacity: 1;
}

img {
    max-width: 100%;
    display:block;
}

.modal-dialog .modal-header {
    border-bottom: none;
}

.modal .modal-dialog {
    z-index: 99;
}

.ellipse-blue
.ellipse-blue h1,
.ellipse-blue h2,
.ellipse-blue p,
.ellipse-blue a,
.ellipse-blue .sub-title,
.ellipse-blue .block-title h2,
.ellipse-blue .large-detail, 
.blueGrad h1,
.blueGrad h2,
.blueGrad p,
.blueGrad a,
.blueGrad .sub-title,
.blueGrad .block-title h2,
.blueGrad .large-detail {
    color: white;
}

/* Blue overlay */
.blue-overlay {
    position: relative;
    z-index: 1;
    background-blend-mode: multiply;
}
.blue-overlay::before,
.blue-overlay::after {
    content: "";
    position: absolute;
    inset: 0;
    background-size: cover;
    width: 100%;
    height: 100%;
    display: block;
}
.blue-overlay::before {
    opacity: 0.15;
    z-index: -1;
}
.blue-overlay::after {
    background: url(../images/simplify-planning-bg.jpg) no-repeat;
    z-index: -1;
}
.blue-overlay * {
    color: white;
}
.blue-overlay hr {
    margin: -10px 10px 50px;
    border: solid 1px white;
    width: 100%;
}
.discover-wrapBtn{
    text-align: centert;
}

    .firm-block.ellipse-nobg {
        background-color: #fff;
        box-shadow:
            inset 0 0 20px rgba(0, 0, 0, 0.7),
            0 12px 25px rgba(0, 0, 0, 0.12);
        transition: box-shadow 0.3s ease;
    }

    .firm-block.ellipse-nobg * {
        color: var(--charcoalBlue) !important;
    }

    .common-detail.ellipse-blue {
        margin: 20px 0 0 10px;
        color: white;
    }

    .common-detail.ellipse-nobg {
        margin: 20px 0 0 10px;
    }

@media(max-width: 767px) {
    .header.home-header {
        top: 76px;
    }
    .notification-bar {
        padding: 10px 20px;
    }
    .insightes-img img {
        height: 150px;
    }
    .firm-block .extra-small-title {
        margin: 10px 0 10px 0;
    }
    section{
        padding:20px 15px;
    }
}

/* Base styles for viewports >= 768px */
@media (min-width: 768px) {
    /* resize */
    .btn {
        font-size: 18px;
        line-height: 22px;
        letter-spacing: 1px;
        padding: 12.5px 25px;
    }

    .main-title * {
        font-size: 70px;
        line-height: 72px;
    }

    /* END resize */

    /* section{
        padding:75px 0;
    } */

    #platformPartnerCarousel .modal-body-right{
      max-width:400px;
    }

    .is-invalid {
        border: solid 1px red !important;
    }

    .blogs-story-description a {
        color: var(--trueBlue);
    }

    #infographic {
        width: 85% !important;
    }

    .solutions-wrp {
        padding: 75px 0 100px 0;
    }

    .solutions-wrp .solutions-header {
        max-width: unset;
        margin-bottom: 2rem;
    }

    .craft-firm-title {
        margin-bottom: 60px;
    }

    .banner-content .main-title {
        max-width: 830px;
    }
    .content.container-fluid {
        width: 1920px;
        max-width: 100%;
        background-color: white;
    }

    strong {
        font-weight: bolder !important;
    }

    ul li p {
        display: block;
        text-align: left;
    }

    .two-col img {
        width: 100%;
    }
    .two-col.richText {
        padding: 0 4rem;
    }

    .insightes-img img {
        min-height: 331px;
        max-height: 331px;
        width: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.5s ease;
        -webkit-transition: transform 0.5s ease;
        -moz-transition: transform 0.5s ease;
        -ms-transition: transform 0.5s ease;
        -o-transition: transform 0.5s ease;
    }

    .title-block .block-title {
        margin: 0 auto 17px auto;
    }

    .cardGridSection .who-we-serve-title {
        max-width: 990px !important;
        margin: 0 auto 67px;
    }

    .richText img {
        /* width: 100%;
        max-width: 1200px; */
        margin:auto;
    } 

    .richText .team-potential-main {
        margin-bottom: 0;
    }

    .richText-content-wrapper ul {
        width: fit-content;
        margin: auto;
        text-align: left;
    }

    .richText-content-wrapper ul li {
        margin-bottom: 22px;
        font-size: 22px;
        line-height: normal;
    }

    .richText-content-wrapper ul:has(+ a.btn),
    .richText-content-wrapper ul:has(+ p + a.btn),
    .richText-content-wrapper ul:has(+ p + p + a.btn) {
        &+a.btn,
        &+p+a.btn,
        &+p+p+a.btn {
            margin-top: 55px;
        }
    }


    .solutionScreenshot .card-body {
        text-align: left;
    }

    .banner-content .large-detail {
        max-width: 605px;
    }

    .banner-wrp-content {
        max-width: 8697px;
    }

    .firm-block {
        padding: 46px;
    }

    #main .request-form-wrapper {
        padding: 59px 0 85px 0;
    }

    .request-form-wrapper .join-firm-main {
        margin-bottom: 50px;
    }

    .request-form-wrapper .left-side {
        flex: 0 0 63%;
    }

    .request-form-wrapper .right-side {
        flex: 0 0 35%;
    }

    .request-form-wrapper input::placeholder,
    .request-form-wrapper textarea::placeholder {
        text-transform: capitalize !important;
        color: #888 !important;
    }

    .request-form-inner form .form-control {
        color: #888 !important;
    }

    .getResource-btn {
        padding: 2rem 0;
        text-align: center;
    }

    .request-form-inner .btn-submit {
        margin-bottom: 3rem;
    }

    .discover-wrapBtn,
    .discover-wrap.cta {
        text-align: center;
        max-width: 1088px;
        margin: 68px auto 0 auto;
    }


    /* Universal and responsive utilities */
    .no-padding, .no-padding * {
        padding: 0 !important;
    }
    .no-padding-bottom {
        padding-bottom: 0 !important;
    }
    .no-padding-top {
        padding-top: 0 !important;
    }

    .w-5 {
        width: 5% !important;
    }
    .w-10 {
        width: 10% !important;
    }
    .w-15 {
        width: 15% !important;
    }
    .w-20 {
        width: 20% !important;
    }
    .w-30 {
        width: 30% !important;
    }
    .w-35 {
        width: 35% !important;
    }
    .w-40 {
        width: 40% !important;
    }
    .w-45 {
        width: 45% !important;
    }
    .w-55 {
        width: 55% !important;
    }
    .w-60 {
        width: 60% !important;
    }
    .w-65 {
        width: 65% !important;
    }
    .w-70 {
        width: 70% !important;
    }
    .w-80 {
        width: 80% !important;
    }
    .w-85 {
        width: 85% !important;
    }
    .w-90 {
        width: 90% !important;
    }
    .w-95 {
        width: 95% !important;
    }

    /* Layout */
    .flex-container {
        display: flex;
        flex-wrap: wrap;
    }
    .left-side, .right-side {
        padding: 1rem;
    }
    .left-side {
        flex: 0 0 60%;
    }
    .right-side {
        flex: 0 0 40%;
    }

    .timeline {
        display: grid;
        gap: 10rem !important;
        grid-template-columns: 1fr 1fr;
        place-content: center;
        position: relative;
    }

    /* Responsive layout for small screens */
    @media (max-width: 768px) {
        .left-side,
        .right-side {
            flex: 0 0 100%;
        }
    }



    /* Gradient background utility */
    .has-gradient {
        position: relative;
        overflow: hidden;
        z-index: 0;
        background: none;
    }
    .has-gradient::before,
    .has-gradient::after {
        content: "";
        position: absolute;
        width: 100%;
        height: 620px;
        background-repeat: no-repeat;
        background-size: cover;
        z-index: 0;
        display: none;
        pointer-events: none;
    }
    .show-top-left::before {
        top: 0;
        left: 0;
        display: block;
    }
    .show-bottom-right::after {
        bottom: 0;
        right: 0;
        display: block;
    }
    .blue-before::before {
        background-image: url('/images/gradient.svg');
        height: 500px;
        width: 1500px;
    }
    .blue-after::after {
        background-image: url('/images/gradient.svg');
        transform: scaleX(-1) scaleY(-1);
        height: 500px;
        width: 1500px;
    }
    .yellow-before::before {
        background-image: url('/images/yellow-vector.svg');
        transform: scaleX(-1) scaleY(-1);
        height: 500px;
        width: 1500px;
    }
    .yellow-after::after {
        background-image: url('/images/yellow-vector.svg');
        height: 500px;
        width: 1500px;
    }

    /* Sections and components */
    .custom-col-5 {
        flex: 0 0 20%;
        max-width: 20%;
    }
    .large-detail {
        margin: 22px 0 42px;
    }
    .section-title .sub-title,
    .craft-firm-title .sub-title {
        margin-bottom: 29px;
        color: var(--trueBlue);
    }
    .simplify-planning-inner .large-detail {
        max-width: unset;
    }

    .filter .large-detail {
        margin: initial;
    }

    .deepen-client-wrap>*:nth-child(even) {
        flex-direction: row;
    }
    .deepen-client-left.deepen-client-right p {
        max-width: 540px;
    }
    /* .deepen-client-left.deepen-client-right p:first-of-type {
    font-size: 1.3rem;
  } */
    .deepen-client-left li,
    .deepen-client-left p,
    .deepen-client-right li,
    .deepen-client-right p {
        margin-bottom: 31px;
    }

    /* Misc */
    .diamond-left {
        position: absolute;
        left: 0;
        bottom: -338px;
        z-index: 11;
    }
    .diamond-right {
        position: absolute;
        top: 50%;
        right: 0;
        transform: translateY(-50%);
        z-index: -1;
    }

    /* Blog & team section */
    .author-block-section,
    .filter-blogs-main {
        background-color: white;
    }
    .author-block-section .action ul li a {
        background: #f4f4f4;
    }
    .leadership-card {
        margin-bottom: 5rem;
    }
    .leadership-img img {
        border-radius: 1rem;
    }
    .leadership-details .extra-small-title {
        margin: 1rem 0;
    }
    .resource.blog-block-box {
        max-height: 315px;
        height: fit-content;
    }
    .team-potential-main {
        margin-bottom: 4rem;
    }



    /* Form input spacing and visibility */
    li>p:first-of-type {
        margin: 0;
        padding: 0;
        display: inline;
    }



    #partnerCarousel {
        width: 100%;
    }
    .carousel-control-prev,
    .carousel-control-next {
        position: relative;
    }

    .carousel-item {
        height: 640px;
        width: fit-content;
        max-width:1120px;
    }

    .modal-body {
        height: 100%;
    }

    .carousel-item .modal-body-left {
        height: 100%;
        overflow-y: auto;
    }

    .shadow-grad-top {
        position: relative;
    }

    .shadow-grad-top::before {
        content: '';
        position: absolute;
        display: block;
        width: 75%;
        height: 140px;
        margin: -75px auto 0 auto;
        background: url('/media/wvgeqkc5/gradient-divider.png') no-repeat center;
        background-size: cover;
        z-index: 10;
        left: 12.5%;
    }

    .shadow-grad-top-timeline::before {
        content: '';
        position: absolute;
        display: block;
        width: 75%;
        height: 100px;
        margin: -10px auto 0 auto;
        background: url(/media/wvgeqkc5/gradient-divider.png) no-repeat center;
        background-size: cover;
        z-index: 10;
        left: 12.5%;
    }

    .shadow-grad-top-timeline-bottom::before {
        content: '';
        position: absolute;
        display: block;
        width: 75%;
        height: 100px;
        margin: -107px auto 0 auto;
        background: url(/media/wvgeqkc5/gradient-divider.png) no-repeat center;
        background-size: cover;
        z-index: 10;
        left: 12.5%;
    }

    .testimonial-main {
        padding-bottom: 8em;
    }

    /* .deepen-client-left.deepen-client-right p{
    font-size:2rem;
    line-height:2.1rem;
    width:80%;
  } */

    .blog-author-post-card.blog-block-inner .row>* {
        padding: 0 25px;
    }

    .blog-author-post-card .blog-block-box .blog-block-detail .common-detail {
        padding-top: 0;
    }

    .firm-block.icon-block {
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        text-align: center;
        padding: 0 50px;
    }

    .diamond-arrow-left,
    .diamond-arrow-right {
        z-index: 0;
    }
    .diamond-arrow-left img,
    .diamond-arrow-right img {
        height: 100%;
        max-height: 525px;
    }

    .simplify-planning-wrapper {
        padding: 92px 0 69px 0;
    }

    .blog-block-inner .partnerCard .common-detail {
        padding-top: 10px;
    }
    .richText-content-wrapper a+a {
        margin-left: 1rem;
    }

    .simpleCardRow.powerful-accounting .extra-small-title {
        color: var(--charcoalBlue);
    }

    .software-managed-services li {
        line-height: 3rem;
    }

    .software-managed-services hr {
        border-color: white;
        opacity: 1;
    }

    .software-managed-services h1,
    .software-managed-services h2,
    .software-managed-services h3,
    .software-managed-services h4,
    .software-managed-services h5,
    .software-managed-services h6,
    .software-managed-services p,
    .software-managed-services a,
    .software-managed-services .sub-title,
    .software-managed-services .block-title h2,
    .software-managed-services .large-detail,
    .software-managed-services li {
        color: white;
    }

    .deepen-client-video-inner .deepen-client-video>.vidyard-player-container>div[role="region"][aria-label="Vidyard media player"] {
        padding-bottom: 56% !important;
    }

    .featured-blog-podcast {
        padding: 0 0 130px;
    }

    select.mktoField {
        appearance: auto;
        /* resets to default for most browsers */
        -webkit-appearance: menulist;
        /* Safari/Chrome */
        -moz-appearance: menulist;
        /* Firefox */
    }

    .wide-card {
        width: 100%;
        max-width: 1050px;
        margin-left: auto;
        margin-right: auto
    }

    #cg-small .infographic-container {
        padding: 0;
        margin: 0;
        margin-top: -115px;
    }

    .anchor-offset {
        display: block;
        height: 170px;
        margin-top: -170px;
        visibility: hidden;
    }
    .narrow-content .richText-content-wrapper {
        width:50%;
        margin:auto;
    }
    .image-section-wrapper{
        margin-top:-10px;
        padding-bottom:50px;
    }
    .image-section-wrapper img{
        margin: auto;
    }
    .featured-blog-img img{
        width:700px;
        height:500px!important;
    }
    .park-of-partnership.wide-card .row{
        width:100%;
    }

    .tetsimonial-from .common-detail{
        max-width: unset;
    }   
}