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

.text-right {
    text-align: right;
}

.text-justify {
    text-align: justify;
}

.card {
    background-color: #fff;
    box-shadow: 0 1px 1px rgba(0,0,0,.05);
    border-radius: 4px;
    border: 1px solid #dddd;
}

.navbar {
    transition: background-color 200ms linear;
    /*height: 55px;*/
    border-top: 1px solid rgba(34, 36, 38, 0.15);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 3;
}

.navbar-brand {
    display: inline;
}

.nav-btn, .nav-divider {
    display: none;
}

.nav-links {
    float: right;
    font-size: 18px;
}

.nav-links > a {
    display: inline-block;
    padding: 14px 1em;
    font-size: 16px;
}

.nav-btn {
    cursor: pointer;
}

.bar1, .bar2, .bar3 {
    width: 21px;
    height: 4px;
    background-color: #2c3e50;
    margin: 3px 0;
    border-radius: 4px;
}

.main {
    width: 100%;
    height: 100vh;
    overflow: hidden;
}

.main.experiment-background-image {
    background: url(../img/header-bg4.jpeg) no-repeat center center;
    background-size: cover;
}

.main.experiment-gradient {
    background-image: linear-gradient(0deg, #f3f3f3 0%, #fff 100%);
}

.main .labels .label {
    margin: 0 0.1em;
}

.main {
    text-align: center;
    color: black;
}

.main .container {
    top: 55%!important;
    transform: translateY(-55%)!important;
}

.main .wrapper {
    position: absolute;
    width: 100%;
    top: 50%;
    transform: translateY(-50%);
}

.main .mouse {
    position: absolute;
    width: 100%;
    bottom: 60px;
    color: red;
}

.main .main-title {
    text-align: center;
    font-size: 2.8em;
    text-shadow: 0px 0px 6px white;
    margin: 0 0 0.1em 0;
}

.main .hero-image {
    width: 100%;
    max-width: 400px;
    aspect-ratio: 1 / 1;
}

.main .hero-image-vet {
    width: 100%;
    max-width: 400px;
}

/* .doc-count {
    color: grey;
 } */

.press-banner-scrollable {
    text-align: center;
    overflow: auto;
    white-space: nowrap;
    /* margin-top: 2em; */
    margin-bottom: 1em;
}

.press-banner-scrollable a {
    display: inline-block;
    padding: 0.5em 0.5em;
    vertical-align: middle;
}

.press-banner-scrollable a:hover img {
    filter: grayscale(0%) opacity(100%);
}

.press-banner-scrollable a img {
    max-height: 2em;
    filter: grayscale(100%) opacity(50%);
}

.press-banner-title {
    margin-top: 1em;
    margin-bottom: 0.5em;
    text-align: center;
    font-size: 1.2em;
    color: grey;
    font-family: 'Nunito Sans', 'Montserrat', sans-serif;
}

.doc-count.experiment-text-shadow {
    text-shadow: 0px 0px 4px white;
}

.doc-count.experiment-no-text-shadow {
    text-shadow: none;
}

.main .labels {
    display: flex;
    justify-content: center;
    margin-bottom: 42px;
}

.main .label {
    white-space: nowrap;
    padding: .2em .6em .15em;
    border-radius: 1em;
}

.main .label.experiment-raised {
    background-color: rgba(255, 255, 255, 0.70);
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.35);
}

.main .label.experiment-flat {
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: none;
}

.main .label.label-shadow {
    background-color: rgba(255, 255, 255, 0.90);
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
}

/* .main .label.label-shadow i {
    color: #ed1a1e;
} */

.main .sub-label {
    display:none;
    width: 200px;
    margin: 20px auto 0 auto;
}

.main .sub-label.en {
    width: 230px;
}

.doctor-mini-avatars {
    margin-bottom: -0.5em;
}

.doctor-mini-avatars img {
    width: 40px;
    height: 40px;
    border-radius: 100%;
    /* filter: grayscale(100%); */
    margin: 0 -0.19em;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
}

.doctors-btn {
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
    background-color: #ed1a1e;
    color: #fff;
    white-space: nowrap;
    border-radius: 6px;
    letter-spacing: 1px;
    padding: 1.2em 1.5em;
}

.doctors-btn:hover {
    cursor: pointer;
    background-color: #ef5b5d;
    color: #fff;
}

.doctors-btn-secondary {
    background-color: rgba(255, 255, 255, 0.8);
    white-space: nowrap;
    border-radius: 6px;
    letter-spacing: 1px;
    padding: 20px 32px;
}

.doctors-btn-secondary:hover {
    cursor: pointer;
    background-color: white;
}

.login-btn {
    display: inline-block;
    padding: 0 1em;
    box-shadow: 0 0.5em 1em -0.125em rgb(10 10 10 / 10%), 0 0 0 1px rgb(10 10 10 / 2%);
    border: 1px solid grey;
    border-radius: 6px;
    padding-top: 0.3em !important;
    padding-bottom: 0.2em !important;
}

.login-btn:hover {
    cursor: pointer;
    border: 1px solid #ef5b5d;
}

.column.how-it-works-col {
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    max-width: 30em !important;
    justify-content: center;
}

.how-it-works-steps {
    text-align: justify;
}

.how-it-works-steps .column {
    margin-bottom: 1.5em;
    white-space: nowrap;
    font-size: 1.2em;
}

.how-it-works-steps .column span:nth-of-type(1) {
    background-color: #ed1a1e;
    padding: 0.1em 0.5em;
    border-radius: 100%;
    color: white;
    font-size: 0.9em;
}

.benefit-icon {
    font-size: 6em;
    margin-bottom: 0.1em;
}

.use-case-img {
    border-radius: 100%;
    max-width: 12em;
    margin-bottom: 1em;
}

section h2 {
    font-size: 1.8em;
}

#faq .card-header h4, #faq .card-header h3 {
    font-size: 1.3em;
    min-height: 3.7em;
}

#faq .card a { color: blue; }
#faq .card a:hover { text-decoration: underline; }

#footer {
    color: white;
}

#footer a {
    color: #b5b5b5;
}

#footer a:hover {
    color: white;
}

#footer .footer-logo img {
    max-width: 12.4em;
    display: block;
    margin-bottom: 0.5em;
    display: inline-block;
}

#footer svg .hovered {
    fill: #b5b5b5;
}

#footer svg:hover .hovered {
    fill: white;
}

#footer h4 {
    margin-bottom: 0.5em;
}

#footer h2 {
    margin-bottom: 0.5em;
    font-size: 1.4em;
}

#footer .footer-link-col a {
    display: block;
}

#footer .footer-social-icon {
    margin-right: 1em;
}

#footer .footer-payment-processor {
    display: block;
    margin-top: -0.1em;
}

#footer .footer-payment-processor img {
    max-width: 9em;
}

#footer .bottom-footer {
    margin-top: 1em;
    padding-top: 1em;
    border-top: 1px solid rgb(106, 106, 106);
}

.left-cta {
    text-align: right;
}
.right-cta {
    text-align: left;
}
.two-cta-row {
    height: 10em;
}
@media (max-width: 768px) {
    .left-cta {
        text-align: center;
    }
    .right-cta {
        text-align: center;
    }
}

.swing {
    animation: swing ease-in-out 0.6s infinite alternate;
}

.main svg #wheel {
    animation: scroll linear 1.5s infinite;
    position: absolute;
    bottom: 0;
}

.collapse {
    padding: 0 15px;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.2s ease-out;
}

.specialty-btn {
    border: 1px solid #ef5b5d;
    border-radius: 6px;
    padding: 5px 0;
    color: #ef5b5d;
    display: block;
    margin-bottom: 0.5em;
}

.specialty-btn > a {
    color: #ef5b5d;
}

.specialty-btn:hover {
    cursor: pointer;
    background-color: #ef5b5d;
    color: white;
}

.specialty-btn:hover a {
    color: white;
}

.lab-test-btn {
    border: 1px solid #ef5b5d;
    display: block;
    border-radius: 6px;
    padding: 20px 20px;
    color: #ef5b5d;
}

.lab-test-btn:hover {
    color: white;
    cursor: pointer;
    background-color: #ef5b5d;
}

.lab-test-btn > a {
    color: #ef5b5d;
}

.lab-test-btn:hover > a {
    color: #fff;
}

.word-cloud {
    height: 280px;
    text-align: center;
    font: 0.5em Helvetica, Arial, sans-serif;
    line-height: normal;
    overflow: hidden;
    position: relative;
    list-style: none;
}

.word-cloud a:hover {
    text-decoration: underline;
}

.w1 a {
    color: #f0aaaa;
    font-size: 100%
}

.w2 a {
    color: rgb(238, 153, 153);
    font-size: 150%
}

.w3 a {
    color: #ffa0a0;
    font-size: 200%
}

.w4 a {
    color: #f09090;
    font-size: 250%
}

.w5 a {
    color: #dd9090;
    font-size: 300%
}

.w6 a {
    color: #f09090;
    font-size: 350%
}

.w7 a {
    color: rgb(221, 51, 51);
    font-size: 400%
}

.w8 a {
    color: rgb(255, 0, 0);
    font-size: 450%
}

.w9 a {
    color: rgb(255, 0, 0);
    font-size: 500%
}

.w10 a {
    color: rgb(255, 0, 0);
    font-size: 550%
}

/***************** Animation *******************/

@keyframes scroll {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

@keyframes swing {
    0% { transform: translateX(12px) }
    100% { transform: translateX(0) }
}

/*************** Media Queries *****************/

@media (max-width:1000px) {
    .nav-btn {
        display: inline-block;
        padding: 14px 4px 14px 28px;
        float: right;
    }

    .nav-divider {
        display: block;
        width: 100vw;
        border-color: rgba(0, 0, 0, 0);
        margin: 13px 0 0 -20px;
    }

    .nav-links {
        display: block;
        width: 100%;
        max-height: 0;
        transition: all 0.3s ease-in;
        overflow-y: hidden;
        position: absolute;
        margin-left: -2rem;
        padding: 0 2rem;
        background: #fff;
        box-shadow: 0 2px 2px 0 rgba(34,36,38,.15);
    }

    .nav-links > a {
        display: block;
        padding: 0 28px 20px 4px;
    }

    .nav-links > a:nth-child(1) {
        margin-top: 20px;
    }

    .main .column-40 {
        max-width: 100%!important;
    }

    .main .stack {
        flex-direction: column;
    }

    .main .mouse {
        display: none;
    }
}

@media (max-width: 900px) and (min-width: 640px) {
    .bg {
        max-width: 60%;
    }
}

@media (max-width: 640px) {
    .main.experiment-background-image {
        background: url(../img/header-bg4-mobile.jpeg) no-repeat center center;
        background-size: cover;
    }

    .login-btn {
        width: fit-content;
        padding-left: 1em !important;
        padding-right: 1em !important;
        margin-bottom: 1em;
    }

    .main .main-title {
        font-size: 2em;
    }

    #faq .card-header h4, #faq .card-header h3 {
        min-height: 0;
    }

    .main .bg {
        width: 60%;
    }

    #footer .logo-col{
        text-align: center;
    }

    #footer .column h4, #footer .column h2 {
        margin-top: 1em;
    }

    #footer .bottom-footer .column {
        text-align: center !important;
    }

    header.main > div.container {
        padding: 0;
    }

    header.main > div.container > div.row > div.column:nth-of-type(1) {
        padding: 0.5em 1em 0 1em;
    }

    .word-cloud {
        height: 700px;
    }
}

@media (max-width: 570px) {
    .main .bg {
        width: 40%;
    }
}


@media (max-width: 640px) {
    #benefit-list .container .row {
        padding-left: 1em;
    }
}

#specialties .card p {
    padding: 0 0.5em;
}

#specialties .card h3 {
    font-size: 1.4em;
}

#articles .card h3 {
    font-size: 1.4em;
}

/*************** Mega menu *****************/

.mega-menu {
    display: none;
    background-color: white;
}

.mega-menu-header {
    margin: 0.5em 0.3em;
    font-size: 1.3em;
    font-weight: normal;
    text-align: center;
    border-top: 1px solid #eaeff2;
    padding-top: 0.5em;
}

.mega-menu-footer {
    margin: 0.5em 0.3em;
    font-size: 1.1em;
    text-align: center;
}

.mega-menu-footer a {
    color: #409eff;
}
.mega-menu-footer a:hover {
    color: #ef5b5d;
}

.mega-menu-btn {
    display: none;
    background-color: #eaeff2;
    color: black;
    white-space: nowrap;
    border-radius: 6px;
    letter-spacing: 1px;
    padding: 0.5em 1em;
    width: 100%;
    display: block;
}

.toggle-mega-menu:hover {
    cursor: pointer;
}

.mega-menu-btn:hover {
    cursor: pointer;
    background-color: #d8e0e6;
    color: black;
}

.toggle-mega-menu.active {
    /* background-color: white; */
    color: #ef5b5d;
}

.mega-menu.active {
    display: block;
}

.mega-menu > .row > .column {
    width: 25%;
    padding: 0.3em;
}

@media (max-width: 640px) {
    .mega-menu {
        max-height: 90vh;
        overflow-y: scroll;
        padding: 0.2em;
    }
    .mega-menu > .row > .column {
        display: block;
        width: 100%;
    }
}

.specialty-image {
    width: 150px;
    height: 150px;
    margin: 10px 0 0 0;
}

.article-image {
    margin: 10px 0 -20px 0;
}

.cm_primary_btn {
    background-color: #ed1a1e !important;
}

.doctor-card {
	padding: 1rem;
    border-radius: 0.8rem;
    box-shadow: 5px 5px 20px #6d6b6b6b;
    color: white;
    margin: 20px 20px 20px 0px;
	background: white;
    color: black;
} 
.userdetails
{
	display: flex;
}
.imgbox
{
	margin-right: 1rem;
    width: 60px;
}
.imgbox img
{
	border-radius: 50%;
}

.detbox
{
	display: flex;
    flex-direction: column;
    justify-content: center;
}
.detbox p
{
	margin: 0;
}
.detbox .name
{
    margin-bottom: 0.1rem;
    font-weight: 600;
}
.detbox .designation
{
    opacity: 50%;
    font-size: 0.8rem;
}
.review h4
{
	font-size: 1.4rem;
    font-weight: 600;
    line-height: 1.5;
    margin-bottom: 0.8rem;
}
.review p
{
	font-size: 0.95rem;
    font-weight: 500;
    opacity: 50%;
    line-height: 1.5;
}

.doctor-activity {
    margin-top: 1em;
}

.doctor-activity > * {
    display: flex;
    align-items: center;
    height: 25px;
}

.doctor-activity * {
    margin-bottom: 0.25rem;
    margin-right: 0.5rem;
}

.detbox > * {
    display: flex;
}

:root {
    --gutter: 20px;
  }

#testimonials2 {
    padding: var(--gutter) 0;
    display: grid;
    grid-gap: var(--gutter) 0;
    grid-template-columns: var(--gutter) 1fr var(--gutter);
    align-content: start;
    font-size: large;
}

#testimonials2 > * {
    grid-column: 2 / -2;
}

#testimonials2 > .full {
    grid-column: 1 / -1;
}

.hs {
    display: grid;
    grid-template-columns: 20px repeat(4, min(calc(90% - 20px), 460px)) 0px;
    grid-template-rows: minmax(150px, 1fr);
    
    overflow-x: scroll;
    scroll-snap-type: x proximity;
    padding-bottom: calc(.75 * var(--gutter));
    margin-bottom: calc(-.25 * var(--gutter));
}

.hs::before, .hs::after {
  content: '';
}

.testimonial {
    display: flex;
    font-style: italic;
    height: 100px;
    margin-top: 1em;
    /* font-size: medium; */
    flex-direction: column;
    align-items: flex-end;
    line-height: 2.5ex;
}

.testimonial-doctor-button {
    display: flex;
}

.testimonial-doctor-button > * {
    width: 100%;
    text-align: center;
}

.testimonials-texts {
    display: flex;
    flex-direction: column;
    height: 25ex;
}

@media (min-width: 550px) {
    .testimonials-texts {
        height: 20ex;
    }
}

/* @media (min-width: 1450px) {
    .hs {
        display: grid;
        grid-gap: 0px;
        grid-template-columns: repeat(6, 230px);
        grid-template-areas: "emp doctor-card1 doctor-card1 doctor-card2 doctor-card2 emp2"
                             "doctor-card3 doctor-card3 doctor-card4 doctor-card4 doctor-card5 doctor-card5";
        grid-template-rows: 1fr 1fr;
      }
      
      .hs .doctor-card {
        margin: 20px 20px 20px 20px;
      }
      
      .hs .doctor-card:nth-child(1) {
        grid-area: doctor-card1;
      }
      
      .hs .doctor-card:nth-child(2) {
        grid-area: doctor-card2;
      }
      
      .hs .doctor-card:nth-child(3) {
        grid-area: doctor-card3;
      }
      
      .hs .doctor-card:nth-child(4) {
        grid-area: doctor-card4;
      }
      
      .hs .doctor-card:nth-child(5) {
        grid-area: doctor-card5;
      }

    #testimonials2 {
        display: flex;
        justify-content: center;
        flex-direction: column;
        align-items: center;
    }
} */

#testimonials2 .testimonials-header {
    text-align: center;
}

#testimonials2 .testimonials-header .main-title {
    margin-bottom: 0; 
}

#testimonials2 .cta-button {
    text-align: center;
    margin-top: 2em;
}