@media only screen and (min-width: 1024px) {

    .manager-card {
        border-radius: 20px;
    }

    .fund-manager-pop {
        max-width: 170px;
        width: 170px;
        border-radius: 12px;
    }

    img.linkdin {
        max-width: 72px !important;
    }

    /* blur */
    .team .view-content {
        display: flex;
        overflow-x: auto;
        position: relative;
        padding: 0px 0;
        scroll-snap-type: x mandatory;
    }

    /* Blurred overlay effect */
    .team .view-content::before,
    .team .view-content::after {
        content: "";
        position: absolute;
        top: 0;
        width: 42px;
        height: 100%;
        pointer-events: none;
        z-index: 1;
    }

    .team .view-content::before {
        left: 0;
        background: linear-gradient(to right, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }

    .team .view-content::after {
        right: 0;
        background: linear-gradient(to left, rgba(255, 255, 255, 1), rgba(255, 255, 255, 0));
    }

    .pop-row {
        padding: 12px 12px 0px 12px;
        overflow: scroll;
    }

    .About-Us-Real .team li.grid {
        margin-right: 12px !important;
        max-width: 210px;
    }

    .About-Us-Real .team li.grid:nth-child(1) {
        margin-left: 40px;
    }

    #quicktabs-tabpage-duplicate_of_our_team-1 .views-field-field-name .field-content,
    #quicktabs-tabpage-duplicate_of_our_team-2 .views-field-field-name .field-content,
    .team .views-field-field-name .field-content dl dd {
        margin-bottom: .5rem;
        padding: 16px 0 0 16px;
        font-size: 17px !important;
        line-height: 22px !important;
        font-weight: 700 !important;
        letter-spacing: -0.43px !important;
    }
}

@media only screen and (max-width: 1024px) {

    .team {
        padding-right: 0px !important;
    }

    .manager-card {
        border-radius: 16px !important;
    }

    .About-Us-Real .team .block-column,
    .About-Us-Real .team .blazy.block-column,
    .About-Us-Real .team .item-list>.block-column {
        display: flex;
    }

    .fund-manager-pop {
        max-width: 70px;
        border-radius: 12px;
        border-radius: 12px;
        width: 70px;
    }

    img.linkdin {
        max-width: 66px !important;
    }

    .pop-row {
        padding: 12px 4px 0px 4px;
        overflow: scroll;
    }

    .About-Us-Real .team li.grid {
        margin-right: 8px !important;
        max-width: 210px;
    }

    .About-Us-Real .team li.grid:nth-child(1) {
        margin-left: 32px;
    }

    #quicktabs-tabpage-duplicate_of_our_team-1 .views-field-field-name .field-content,
    #quicktabs-tabpage-duplicate_of_our_team-2 .views-field-field-name .field-content,
    .team .views-field-field-name .field-content dl dd {
        margin-bottom: .5rem;
        padding: 16px 0 0 16px;
        font-size: 17px !important;
        line-height: 22px !important;
        font-weight: 700 !important;
        letter-spacing: -0.43px !important;
    }
}

.manager-card {
    overflow: hidden;
    text-align: center;
    background: #fff;
    transition: transform 0.3s ease-in-out;
    box-shadow: 0px 1px 2px 0px rgba(0, 0, 0, 0.14), 0px 0px 2px 0px rgba(0, 0, 0, 0.12) !important;
}

li#quicktabs-tab-duplicate_of_our_team-2,
li#quicktabs-tab-duplicate_of_our_team-1,
li#quicktabs-tab-duplicate_of_our_team-1,
li#quicktabs-tab-duplicate_of_our_team-0 {
    padding: 0px;
}

.About-Us-Real .team .item-list {
    display: flex;
    flex-wrap: nowrap;
    overflow-x: auto;
    white-space: nowrap;
    width: 100%;
    max-width: 100%;
    border-bottom: 0px;
}

.About-Us-Real .team .blazy {
    display: flex;
    flex-wrap: nowrap;
}

.About-Us-Real .team .field-content img,
.About-Us-Real .team img.image-style-webp {
    max-width: 210px !important;
    min-width: 210px;
    margin-left: -1px;
    margin-top: -1px;
    border-top-right-radius: 17px;
    border-top-left-radius: 17px;
    width: 100%;
}

.About-Us-Real .team .block-column .grid__content {
    border-radius: 20px;
    display: inline-block;
    margin: 0;
    max-width: 100%;
    position: relative;
    vertical-align: top;
    width: 100%;
    margin-right: 10px;
    margin-bottom: 7px;
    background-color: #fff;
    box-shadow: 0 0px 4px rgba(0, 0, 0, 0.1);
    border: 1px solid #0000001c;
    min-height: 300px !important;
}

.About-Us-Real .team span.field-content.team-designation {
    display: flex;
    text-align: left;
    color: #C58D00;
    padding: 10px;
    border: none;
    padding: 0px 16px 16px;
    text-wrap: auto;
}

.About-Us-Real .team li.grid .views-field.views-field-title {
    margin-left: unset;
}

.About-Us-Real .team .active a.quicktabs-loaded {
    padding: 10px 16px !important;
    border: 1px solid #e2e1e1;
    background: #e2e1e1;
    display: inline-table;
    border-radius: 14px 14px 0px 0px;
    border-bottom: 0px;
    color: #000;
    font-size: 16px;
    font-weight: bolder;
    border-bottom: 2px solid #E99500;
}

.About-Us-Real .team a.quicktabs-loaded {
    padding: 10px 16px !important;
    display: inline-table;
    border-radius: 0px 14px 0px 0px;
    border-bottom: 0px;
    border-left: 0px;
    color: #5B6369;
    font-size: 16px;
    position: relative;
}

.About-Us-Real .team div#quicktabs-container-duplicate_of_our_team {
    padding: 16px 0px 16px 8px;
    margin-left: -40px;
}

.About-Us-Real .team ul.quicktabs-tabs {
    margin-bottom: 0px;
}

.ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
    max-width: 790px !important;
}

.popup {
    top: 153px;
    left: 83px;
    width: 100%;
    padding-top: 10px;
    overflow-x: unset;
    background: #FFFFFF 0% 0% no-repeat padding-box;
    opacity: 1;
}

.ui-dialog .ui-dialog-content {
    position: relative;
    border: 0;
    padding: .5em 1em;
    background: none;
    overflow: unset !important;
}

.modal-open .ui-dialog {
    overflow-x: unset;
    overflow-y: unset;
}

#meet_leaders,
#meet_leaders_3,
#meet_leaders_2 {
    top: 0;
    left: 0;
    width: 100%;
    position: relative;
}

.readmore_text {
    width: unset;
    height: 410px;
    margin: auto;
}

#description {
    top: 110px;
    left: 0px;
    width: unset;
    height: 100%;
    text-align: left;
    font: normal normal normal 16px / 22px Rubik;
    letter-spacing: 0px;
    color: #666666;
}

div#drupal-modal {
    padding: 0px;
}

.node__content.clearfix {
    margin-top: 0px;
}

.popup.gm {
    padding-top: 0px;
}

#cancel {
    float: right;
    width: 24px;
    height: 24px;
    background: transparent 0% 0%;
    opacity: 1;
    margin: -42px 30px;
}

.popup.nilesh-c h3#ganesh_text {
    margin-left: 30px;
    margin-bottom: 15px;
}

.popup.ac #ganesh_text {
    margin-left: -10px;
    margin-bottom: 16px;
}

.popup.rn h3#ganesh_text {
    margin-bottom: 15px;
    margin-left: 35px;
}

.popup.hi h3#ganesh_text {
    margin-left: 60px;
    margin-bottom: 15px;
}

.popup.vd #ganesh_text {
    margin-left: 43px;
    margin-bottom: 15px;
}

.popup.nv h3#ganesh_text {
    margin-bottom: 15px;
}

.media-centre .view-content {
    display: flex;
    overflow-x: auto;
    position: relative;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
}

@media only screen and (max-width: 768px) {
    .About-Us-Real .team li.grid:nth-child(1) {
        margin-bottom: 0px;
    }

    .About-Us-Real .team li.grid {
        margin-bottom: 0px;
    }
}

#quicktabs-tabpage-duplicate_of_our_team-1 .views-field-field-name .field-content,
#quicktabs-tabpage-duplicate_of_our_team-2 .views-field-field-name .field-content,
.team .views-field-field-name .field-content dl dd {
    margin-bottom: .5rem;
    padding: 16px 0 0 16px;
    text-wrap: initial;
}

.team .block .content {
    margin-top: 12px;
}

.popup {
    border-radius: 12px;
}

@media only screen and (max-width: 540px) {

    .ui-dialog,
    .modal-dialog {
        position: absolute !important;
        bottom: -1px !important;
        margin: 0;
        width: 100% !important;
        overflow-y: hidden;
    }

    .ui-dialog {
        height: 600px !important;
    }

    .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
        border-radius: 24px 24px 0px 0px !important;
    }

    .ui-dialog.ui-corner-all.ui-widget.ui-widget-content.ui-front {
        top: unset !important;
        bottom: 0px !important;
        position: fixed !important;
    }

    .pop-row .readmore_text {
        height: 444px;
    }

    .pop-row {
        padding: 12px 16px 0px 16px;
        overflow: scroll;
    }

    .popup.gm .row {
        margin-bottom: 16px;
    }

    .popup.gm .row .col-10.col-md-12 {
        padding-left: 16px;
    }

    .popup.gm .row .subtest.caption-one-strong {
        margin-bottom: 0px !important;
    }
}

.banner-popup {
    border-radius: 12px;
}

.About-Us-Real .team a.quicktabs-loaded:after {
    content: "";
    position: absolute;
    inset: 0px;
    border-radius: 14px;
    padding: 1px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0) 30%, #dcdcdc 80%);
    -webkit-mask: linear-gradient(white, white) content-box, linear-gradient(white, white);
    -webkit-mask-composite: destination-out;
    mask-composite: exclude;
    pointer-events: none;
    border-radius: 0px 14px 0px 0px;
    bottom: -3px;
}

.About-Us-Real .team #quicktabs-duplicate_of_our_team>.item-list {
    border-bottom: 1px solid #E0E0E0;
    overflow-x: unset;
}

#quicktabs-duplicate_of_our_team .item-list:nth-child(0) {
    overflow-x: unset;
}

.team .item-list {
    white-space: nowrap;
    /* Prevent line breaks */
    overflow-x: auto;
    /* Enable horizontal scrolling */
    overflow-y: hidden;
    /* Hide vertical scrolling */
    display: flex;
    /* Align child elements horizontally */
}

.team .grid {
    flex: 0 0 auto;
    /* Prevent items from shrinking */
    margin-right: 10px;
    /* Optional spacing between items */
}

.popup {
    background: unset;
}

@media only screen and (max-width: 1024px) {
    .ui-dialog-content {
        max-height: 100% !important;
        overflow-x: hidden !important;
        border-radius: 12px !important;
    }
}

@media only screen and (device-width:1280px) and (device-height:720px) {
    .ui-dialog {
        height: 450px !important;
        top: 80px !important;
    }

    .readmore_text {
        height: 360px !important;
    }

    .pop-row {
        overflow-y: scroll !important;
        overflow-x: hidden !important;
    }
}
