body, html {
    height: 100%;
}
body{
    background-color: white;
}
/* .main-content.customer-success-story .container{
    background: white;
} */
.content-container{
    padding: 4em 0em;
}
.title-heading{
    /* font-size: 4em; */
}
.customer-success-story p:not(.customer-success-story h1 p, .landing-page-heading p):not(.customer-success-story p.app-deployed):not(.customer-success-story .quote p ){
    /* font-size: 1.5em; */
    /* line-height: 1em; */
    margin-bottom:1em;
}
.with-prophix p{
    margin-bottom: 0em !important;
}
.customer-success-story p.app-deployed{
    line-height: 1em;
}
.white{
    background-color: #fff;
  }
.blue{
    color: #448CCF !important;
}
.red{
    color: #EF373E !important;
}
.almost-grey{
    color: #E5E4EB;
}
.dary-grey{
    color: #4F4F4F;
}
.almostGrey-background, .almost-grey-background{
    background-color: #E5E4EB;
}
.daryGrey-background, .dark-grey-background{
    background-color: #4F4F4F;
    color: #f9f9f9;
}
.Grey-background, .grey-background{
    background-color: #e5e4eb !important;
}
.White-background, .white-background{
    background-color: #fff !important;
}
.Blue-background, .blue-background{
    background-color: #448CCF !important;
    color: #f9f9f9;
}
.Red-background, .red-background{
    /* background-color: #EF373E !important; */
    background-color: #de333a !important;
    color: #f9f9f9;
}
#loadMoreContent img{
    max-width: 8em;
}
/* Hero Banner */
.hero-container{
    width:100%;
    max-width: 100vw;
}
.customer-success-story ul, .customer-success-story ol{
    list-style: disc;
}
.customer-success-story ul li, .customer-success-story ol li{
    margin-bottom: 0.25rem;
}
/* The hero image */
.hero-image {
  /* Use "linear-gradient" to add a darken background effect to the image (photographer.jpg). This will make the text easier to read 
  background-image: linear-gradient(rgba(0, 0, 0, 0.5), rgba(0, 0, 0, 0.5)), url("photographer.jpg");*/ 
  /* background-image: url("{{content.bannerImage.one().url}}"); */

  /* Set a specific height */
  height: 90%;
  /* min-height: 700px; */
 
min-height: 500px;
  width: 100%;
  /* Position and center the image to scale nicely on all screens */
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
  position: relative;
      height: 70vh;
}
.hero-image .container{
    position: relative;
    height: inherit;
    min-height: inherit;
}
.hero-image .landing-page-heading{
    /* top: 60%;
    position: absolute;
    left: 50%;
    width: 89%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 2em;
    line-height: 5em;; */
    top: 50%;
    position: absolute;
    left: 0%;
    width: 100%;
    transform: translate(0%, -50%);
    color: white;
    font-size: 2em;
    line-height: 5em;
}
.hero-image .row{
    height: inherit;
}

.landing-page-image-block .mask-image{
    -webkit-mask-image: url("https://www.prophix.com/images/uploads/icons/gino_laltrella.webp");
    mask-image: url("https://www.prophix.com/images/uploads/icons/gino_laltrella.webp");
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: center;
    mask-position: center;
    width: 100%;
    height: 100%;
    background-position: center;
}
.landing-page-image-block{
    max-width: 341px;
    min-width: 297px;
    height: 377px;
    width: 80%;
    position: absolute;
    right: 3em;
    top: 50%;
    transform: translate(0px, -50%);
}
.landing-page-image-block:before{
    position: absolute;
    top: -32px;
    right: 80%;
    content: "";
    background: url(../images/Red-Octagon.svg);
    width: 45px;
    height: 51px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.landing-page-image-block:after{
    position: absolute;
    bottom: -32px;
    right: 0;
    content: "";
    background: url(../images/Red-Octagon.svg);
    width: 45px;
    height: 51px;
    background-size: cover;
    background-repeat: no-repeat;
    background-position: center;
}
.landing-page-video-block-container {
    display: flex;
    justify-content: center;
    align-items: center;
}
.landing-page-video-block{
    width: 100%;
    position: absolute;
}
.landing-page-video-block-container .video-overlay .object-fit-cover-contain{
    border: .75rem solid rgba(249, 249, 249);
    border-radius: 16px;
}

.hero-image .landing-page-heading h1{
    font-size: 2.5em;
    line-height: 1em;
}
.hero-image .landing-page-heading p{
    font-size: 0.7em;
    line-height: 1em;
    margin-top: 1em;
}

/* Place text in the middle of the image */
.hero-text {
    position: absolute;
    /* top: 18%; */
    left: 8em;
    /* transform: translate(-50%, -50%); */
    color: #EF373E;
    max-width: 75%;
    min-width: 50%;
    text-align: left;
    top: 50%;
    transform: translate(0, -50%);
}
.hero-text h1{
    font-size: 4em;
    letter-spacing: -3px;
    line-height: 1em;
}
.hero-text img{
    margin-bottom: 1em;
    /* width: 100%; */
    max-width: 200px;
    /* max-height: 5em; */
}
.hex-mask{
    -webkit-mask-image: url("https://www.prophix.com/images/uploads/icons/gino_laltrella.webp");
    mask-image: url("https://www.prophix.com/images/uploads/icons/gino_laltrella.webp");
    -webkit-mask-position: center center;
    mask-position: center center;
    -webkit-mask-repeat: no-repeat;
    mask-repeat: no-repeat;
    -webkit-mask-size: 100%;
    mask-size: 100%;
    -webkit-mask-position: center;
    mask-position: center;
    width: 100%;
    height: 100%;
      background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.hex-shape {
    width: 31vw;
    max-width: 53vh;
    min-width: 26em;
    height: inherit;
    min-height: inherit;
    /* left: 7%; */
    top: 0;
    left: 0;
    position: absolute;
}
.hex-container{
    height: inherit;
    min-height: inherit;
    top: 0%;
    position: relative;
    width: 91%;
    left: 0em;
}

/* Hero Banner End */

/* Key Results Snapshots */
.snapshots{
    background-color: #e5e4eb !important;
}
.snapshot-items{
    gap: 1em;
}
.snap-card{
    /* flex: 1 1 30%; */
    flex: 1 1 0px;
    padding: 2em;
    border-radius: 18px;
    background-color: #fff;

}
.snap-card p {
    /* font-size: 2.0em;
    line-height: 1em; */
}
.snap-card img{
    width: 5em;
    margin-bottom: 1em;
    display: block;
}
h2:not(footer h2), h3:not(footer h3){
    font-size:2.5em;
    line-height: 1em;
}
/* Key Results Snapshots end*/

/* Who is cards */
.tall-card-outer{
    /* height: 100%; */
    background: #1c8dd4;
    border-radius: 20px;
    padding-bottom:0.75em;
}

.font-weight-900{
    font-weight: 900;
}

.tall-card{
    height: 100%;
    border-radius: 20px;
    width: calc(100% + 2px);
    padding: 3em 2em;
    /* border: 0px solid #e5e4eb; */
    left: -1px;
    top: -1px;
    position: relative;
}
.tall-card img{
    max-height: 6em;
}
.tall-card .app-deployed-items .app-deployed-item{
    font-size: 18px;
    gap: 1rem;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}
h3.Red-color{

        /* font-size: 3em; */
        margin-bottom: 1rem;
        font-weight: 900;
        line-height: 1em;
}
.tall-card hr{
    background-color: #EF373E;
    margin-top:1em;
    margin-bottom:1em;
}
/* who is cards end*/

/* QUote block */
.quote-block{
    gap: 2em;
}
.quote-block img{
    width:6em;
   
}
.quote-block.red-background .quote{
    color: white;
}
.quote-block.white-background .quote{
    color: black;
}

.quote-block .quote{
    padding: 0em 2em;
    
    line-height: 1.3em;
    font-size: 2em;
}
.quotee{
    gap: 1em;
}
.customer-success-story.landing-page .quotee p:nth-child(1){
    color: #EF373E !important;
}
.customer-success-story.landing-page .quotee p:nth-child(2){
     color: #448CCF !important;
}
.quote-hex{
    width: 4em;
    height:5em;
    position: relative;
    bottom:0;
    
    
}
.padding-heavy{
    padding: 6em 4em !important;
}
/* Quote block end */

/* Rich Text  */

.text-content-container{
    padding: 2em;
}
.firstBlock{
    padding-top: 6em;
    padding-bottom: 2em;
}
/* .additionalBlocks{
    padding: 0 4em 4em;
} */

/* Rich text end */

/* With prophix table */

.container-outline{
    border: 1px solid black;
    border-radius: 20px;
    padding: 4em 1.5em;
    position: relative;
}
.container-outline div{
    gap: 1em;
}
.container-outline span.heading{
    position: absolute;
    background-color: white;
    /* width: 80%; */
    top: -1em;
    /* padding: 1em; */
    width: 90%;
    display: block;
    left: 50%;
    transform: translate(-50%, 0%);
}
.container-outline span h3{
    text-align: center;
    font-size: 1.8em;
}
.item-hex{
    width: 2em;
    height: 4em;
    position: relative;
}

/* With prophix table end */

.gap-1{
    /* gap: 1em; */
    gap: 3em 2em;
}
.cards-3{
    /* flex: 1 1 30%; */
    flex: 0 1 30%;
}
.height-unset{
    height: unset;
}
.object-fit-contain-important{
    object-fit: contain !important;
}
.object-fit-left{
    object-position: 0 0;
}
/* Video Block  */
.customer-success-story .iframe-container {
    position: relative;
    overflow: hidden;
    width: 100%;
    padding-top: 56.25%; /* 16:9 Aspect Ratio (divide 9 by 16 = 0.5625) */
  }

  /* Quote Video Block Edits */
.customer-success-story .quote-video .iframe-container{
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}
.customer-success-story .quote-video .padding-heavy {
    padding: 0em 1em !important;
}
.customer-success-story .quote-video .quote-block img {
    width: 2em;
}
.customer-success-story .quote-video .quote-block .quote {
    padding: 0em 0em;
    line-height: 1.3em;
    font-size: 1.5em;
}



/* Then style the iframe to fit in the container div with full height and width */
.customer-success-story .responsive-iframe {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    right: 0;
    width: 100%;
    height: 100%;
    }
.customer-success-story .video-overlay{
    height: 100%;
    width: 100%;
    position: absolute;
    top: 0;
    background-size: cover; 
    background-repeat: no-repeat;
}

.video-modal{
    position: relative;
    background-color: #fefefe;
    margin: 10% auto;
    padding: 0;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 15px;
}
.videoModal-content{
    position: relative;
    background-color: #fefefe;
    margin: 3% auto;
    padding: 0;
    width: 60%;
    box-shadow: 0 4px 8px 0 rgba(0,0,0,0.2), 0 6px 20px 0 rgba(0,0,0,0.19);
    animation-name: animatetop;
    animation-duration: 0.4s;
    border-radius: 15px;
}
.videoModalClose{
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
}
#videoModalBody .iframe-container {
    min-height: 550px;
}
.video-block-customer-success .iframe-container .video-overlay img {
    border-radius: 12px;
    border: 12px rgb(249, 249, 249) solid;
    box-sizing: border-box;
}


/* .play-icon{
    transition: transform 0.5s ease-in-out;
} */
/* .play-icon:hover{
    transform: scale(1.3)
} */
.customer-success-story .play-icon {
    width: 20%;
    position: absolute;
    left: 50%;
    transform: scale(1) translate(-50%, -50%);
    top: 50%;
    transition: transform 0.5s ease-in-out;
}
.customer-success-story .play-icon:hover {
    transform: scale(1.3) translate(-38%, -38%);
}

/* Image Block */

.image-block-customer-success {
    display: flex;
    align-items: center;
    min-height: 400px;
    padding-top: 3rem;
    padding-bottom: 3rem;
}

.image-block-customer-success h2,
.video-block-customer-success h2 {
    color: #de333a;
}

.image-block-customer-success .red-background h2,
.image-block-customer-success .blue-background h2,
.image-block-customer-success.purple-background h2,
.video-block-customer-success.red-background h2,
.video-block-customer-success.blue-background h2,
.video-block-customer-success.purple-background h2 {
    color: #f9f9f9;
}

.customer-success-story .purple-background {
    background: #4E4EAC;
    color: #f9f9f9;
}

.image-block-customer-success img {
    border-radius: 16px;
}

.image-block-customer-success .singleColumn .text-column {
    padding-bottom: 1.5rem;
}

.image-block-customer-success .twoColumns .text-column {
    padding-bottom: 0;
}

@media (max-height: 768px){

    .hero-text h1 {
        font-size: 4em;
        /* font-size: 5em; */
    }
    .hero-text {
        /* top: 12%; */
        left: 7em;
    }
    .hex-shape {
        min-width: 24em;
    }
}
@media (max-width: 1200px)
{   
    .item-hex{
        width: 3em;
        height: 4em;
        position: relative;
    }
    .hero-text h1 {
        font-size: 3.5em;
        letter-spacing: -1px;
        line-height: 1em;
    }
    .hex-container {
        /* height: 29em;
        top: 7em;
        position: relative;
        width: 91%;
        left: 4em; */
    }
    .hex-shape {
        width: 25em;
    }
    .tall-card .app-deployed-items .app-deployed-item{
        font-size: 16px;
    }
}
/* Rich Text End */
@media (max-width: 991px){
    .gap-1{
        gap: 1em 1em;
    }
    /* with prophix */
    .item-hex{
        width: 2em;
        height: 3em;
        position: relative;
    }
    .main-content.customer-success-story .container{
        width: 100%;
        max-width: 100%;
        min-height: inherit;
    }
    .main-content.customer-success-story .container.content-container {
        padding: 5em 2em;
    }
    
    .main-content.customer-success-story .quote-video .container.content-container {
        padding: 3em 2em;
    }
    .customer-success-story .quote-video .quote-block img {
        width: 2em;
        margin-top:2em;
    }

    .cards-3{
        flex: 1 1 30%;
    }

    /* Key results snap shots */

    .snap-card img{
        margin: 0em 0 2em 0;
    }
    /* key results snap shots end */

    /* Quote block */
    .padding-heavy {
        padding: 3em 2em !important;
    }
    .quote-block .quote {
        padding: 0em 0em;
        font-size: 1.25em;
    }
    .quote-block img {
        width: 5em;
    }
    
    /*  */
    .main-content.customer-success-story .container.content-container.firstBlock{
        padding-top: 4em;
        padding-bottom: 4em;
    }
    .main-content.customer-success-story .container.content-container.additionalBlocks{
        padding: 0 2em 4em;
    }

    .tall-card{
        text-align: center;
    }

    .hero-image .landing-page-heading{
        line-height: 2em;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        /* padding: 0 1em; */
        width: 100%;
        text-align: center;
    }
    .landing-page-image-block {
        max-width: 232px;
        height: 260px;
        /* width: 80%; */
        min-width: 220px;
        /* right: 3em; */
        left: 50%;
        top: 4em;
        transform: translate(-50%, 0%);
    }
    .landing-page-image-block:before{
        top: -12px;
    }
    .landing-page-image-block:after{
        bottom: -12px;
    }

    .landing-page-video-block{
        max-width: 60%;
        top: 10%;
    }
    .mobile-order-1{
        order:1;
        padding: 0;
        
    }
    .mobile-order-2{
        order:2;
        padding: 0;
    }
    .image-block-customer-success .twoColumns .text-column {
        padding-bottom: 1.5rem;
    }
}

@media (max-width: 768px){
    .hero-image .row{
        margin: 0;
    }
    /* Landing page banner text */
    .customer-success-story .title-heading {
        font-size: 3em;
    }
    .customer-success-story h3{
        font-size: 2em;
    }
    .hero-image .landing-page-heading h1{
        font-size: 2em;
    }
    .hero-image .landing-page-heading span{
        font-size: 0.75em;

    }
    /* with prophix */
    .item-hex{
        width: 2em;
        height: 3em;
        position: relative;
    }
    /* load cards */
    .cards-3{
        flex: 1 1 100%;
    }
     /* Hero Banner */
     .hex-container {
        top: 50%;
        width: 100%;
        left: -6em;
        transform: translate(0, -50%);
        position: absolute;
    }
    .hero-image {
        /* min-height: 80vh; */
        min-height: 70vh;
    }
    .hero-text {
        width: calc(100% - 4em);
        /* top: 25%; */
        max-width: unset;
    }
    .hero-text h1 {
        font-size: 3em;
        letter-spacing: -3px;
    }

    .landing-page-video-block{
        max-width: 70%;
        top: 14%;
    }
}
@media (max-width: 576px){
    .landing-page-video-block{
        max-width: 85%;
        top: 18%;
    }
    .landing-page-image-block {
        max-width: 180px;
        height: 200px;
        min-width: 150px;
    }
    .landing-page-image-block:before{
        top: -30px;
    }
    .landing-page-image-block:after{
        bottom: -32px;
    }
    .tall-card .app-deployed-items .app-deployed-item{
        font-size: 14px;
    }
    .tall-card .app-deployed-items .c-btn{
        font-size: 14px;
    }
}