.banner.no-bg .banner-bg {
    display: none;
}

.banner.no-bg {
    height: 100px;
    border: none;
    background-color: transparent;
}

.banner.no-bg.profile_fade {
    height: 250px;
    margin-bottom: 0rem !important;
}


.banner.no-bg .profile_pic.w-100 {
    border: 0 !important;
    height: auto;
    width: 100%;
    left: 0;
    transform: none;
    box-shadow: none !important;
    background-color: transparent;
    bottom: 0;
    border-radius: 0%;
}

.profile_pic.w-100 .profile_pic_fade {
    display: block !important;

}

.banner:not(.profile_pic_section_center) ~ .card-content .info-section {
    margin-top: 1rem !important;
}

.banner.profile_fade ~ .card-content .info-section {
    margin-top: 0.2rem !important;
}

.no-bg:not(.profile_pic_section_center) ~ .card-content .info-section{
    margin-top: 4rem !important;
}

.banner.no-bg:not(.profile_pic_section_center)  ~ .card-content .profile_name {
    margin-top: -7rem !important;
    margin-bottom: 10%;
    width: 60%;
    position: absolute;
    top: -55px;
    height: 150px;
    display: flex;
    align-items: center;
}

.banner.no-bg.profile_pic_section_left ~ .card-content .profile_name {
    right: 0;
    justify-content: right;
    text-align: right;
}

.banner.no-bg.profile_pic_section_right ~ .card-content .profile_name {
    left: 0;
    text-align: left;
    justify-content: left;
}

.banner.profile_pic_section_center ~ .card-content .company_bio {
    text-align: center;
}

.banner.profile_pic_section_left ~ .card-content .company_bio {
    text-align: right;
}

.banner.profile_pic_section_right ~ .card-content .company_bio {
    text-align: left;
}

.banner.no-bg.profile_pic_section_left ~ .card-content .company_bio {
    text-align: left;
}

.banner.no-bg.profile_pic_section_right ~ .card-content .company_bio {
    text-align: right;
}

.banner.no-bg.profile_pic_section_center ~ .card-content .company_bio {
/*    padding-top: 10px;*/
}

#theme_customization,.container-fluid {
    background-color: var(--background-color) !important;
    color: var(--text-color) !important;
}

#theme_customization:not(.F7F7F7)::before {
    content: "";
    position: fixed;
    inset: 0;
/*    background-image: url("https://test.eylet.com/storage/assets/new_theme/images/paper.svg");*/
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

.theme_icon,.icon_style_labels {
    overflow: hidden;
    background-color: var(--icon-background-color) !important;
}
.theme_icon.original
{
/*     background-color: transparent !important;*/
     background-color: #f5f5f5 !important;
}

.theme_border_color {
    border-color: var(--banner-border-color,#000) !important;
    border: 3px solid;
}

.theme_text {
    color: var(--text-color) !important;
}

.listviewbtn {
    background-color: var(--listviewbtn-color) !important;
    color: var(--text-color) !important;
}

.profile_pic_fade {
    display: none;
    background-image: linear-gradient(to bottom, rgba(255, 255, 255, 0) 5%,var(--background-color) 95%) !important;
}

#theme_customization {
    padding-bottom: 3rem;
    overflow-x: hidden;
    overflow-y: auto;
    border-radius: 0px;
    box-shadow: unset;
}


.banner {
    position: relative;
    height: 160px;
    border-radius: 24px;
    border: 3px solid #AFD2D1;
    text-align: center;
    color: white;
    overflow: visible;
    background-color: transparent;
    margin-bottom: 3rem;
}

.banner-bg {
    position: absolute;
    inset: 0;
    border-radius: 20px;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: 0;
}


.profile_pic {
    position: absolute;
    bottom: -40px;
    left: 50%;
    transform: translateX(-50%);
    background-color: #f1f1f2;
    width: 120px;
    height: 120px;
/*    border-radius: 50%;*/
    /*  overflow: hidden;*/
    box-shadow: 0 0 8px rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.profile_pic #profile_image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}
.profile_pic_fade {
    width: 100%;
    height: 50px;
    position: absolute;
    bottom: -1px;
}

.card-content {
    padding-bottom: 8rem;
}

.info-section {
    text-align: center;
    margin-top: 45px;
}

.info-section .profile_name {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 0px;
}

.bio_data,.company_name {
    font-size: 17px;
    margin: 0px 0;
}

/* THEME Buttons SETTING  */
.btn_group {
    display: flex;
    gap: 16px;
    margin-top: 12px;
    margin-bottom: 20px;
}
.theme_button {
    background-color: var(--icon-background-color,#e6e7e9);
    color: var(--text-color,#434343);
    box-shadow: 0px 0px 12px -7px var(--text-color);
}
.theme_button.original {
    background-color: #e6e7e9;
    color: #434343;
    box-shadow: 0px 0px 12px -7px #000000;
}
.btn_group .theme_button:first-child {
    flex: 7;
}
.btn_group .theme_button:last-child {
    flex: 3;
}
.theme_button {
    padding: 16px 0;
    font-size: 17px;
    font-weight: 600;
    border: none;
    border-radius: 50px;
    text-align: center;
    cursor: pointer;
    text-decoration: none;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-tap-highlight-color: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
}
.theme_button:hover {
    background-color: #000 !important;
    color: #fff !important;
    box-shadow: 0px 0px 10px -2px #fff inset !important;
}

/*ICON IMAGE SETTING*/
.theme_icon img {
    width: 80%;
    object-fit: contain;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.theme_icon.original img , .theme_icon_custom {
    width: 100% !important;
    height: 100% !important;
}

/*LIST SETTING*/
.contact-card:not(.grid-rich-row.contact-card) {
    margin-top: 10px;
    margin-bottom: 12px;
}
.contact-card {
    display: flex;
    align-items: center;
    
    position: relative;
}
.contact-content {
    background-color: #FAFFFE;
    color: #5B7E7D;
    flex-grow: 1;
    height: 55px;
    padding: 0 10px 0 45px;
    border-radius: 15px;
/*    box-shadow: 0px 4px 20px rgba(0, 0, 0, 0.1);*/
    box-shadow: 0px 1px 5px rgba(0, 0, 0, 0.1);
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: center;
    border: none;
    cursor: pointer;
    text-align: left;
    transition: background-color 0.5s ease, color 0.5s ease;
    -webkit-tap-highlight-color: transparent;
    max-width: 100%;
    overflow: hidden;
}
.theme_icon {
    box-shadow: 0px 0px 3px -1px var(--text-color);
}
.contact-icon.theme_icon {
    width: 45px;
    height: 45px;
    border-radius: 20%;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    margin-right: -30px;
    position: relative;
}
.contact-label {
    font-size: 13px;
    font-weight: 600;
}

.contact-value {
    font-size: 12px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.contact-arrow {
    position: absolute;
    top: 50%;
    right: 16px;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
}

.contact-arrow img {
    width: 100%;
    height: 100%;
    display: block;
}

.tab-content.theme_text .contact-content:hover {
    background-color: #000;
    color: #fff;
}

/*GRID SETTING*/



.theme_icon-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    text-align: center;
    margin-top: 32px;
    gap: 20px 10px;
}



/*.theme_icon-grid > :last-child:nth-child(3n + 1):not(.rich_contnet_divider) {
/*.theme_icon-grid > :last-child:nth-child(3n + 1):not(.grid-rich-row.contact-card) {
    grid-column: 2 / 3;
}*/

.theme_icon-grid > .icon-item.rich_contnet_divider:not(.p_link_preview) {
    grid-column: 1 / -1;
    width: 33%;
    margin: 0 auto;
}
.theme_icon-grid .icon-item .theme_icon {
    width: 60px;
    height: auto;
    aspect-ratio: 1 / 1;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 11px auto;
}

.icon-item {
    text-decoration: none;
    font-weight: 500;
    font-size: 12px;
    transition: transform 0.2s ease, color 0.3s ease;
    -webkit-tap-highlight-color: transparent;
    overflow-wrap: break-word;
}
.tab-content.theme_text .icon-item:hover {
    transform: scale(1.05);
    color: var(--text-color);
    font-weight: bold;
}



.grid_section_preview > :last-child:nth-child(3n + 1):not(.rich_contnet) {
    grid-column: 2 / span 1;
    justify-self: center;
}

.grid_section_preview .icon-item.rich_contnet:not(.rich_contnet_embed_a_pdf) {
    grid-column: 1 / span 3 !important;
    justify-self: stretch; 
    text-align: left; 
    transform: none !important;
    font-weight:100 !important;
    width: 100%;
}


.theme_icon-grid > .grid-rich-row.contact-card {
    grid-column: 1 / -1;
    width: 100%;
    text-align: left;
    display: flex;
    align-items: center;
/*    margin-top: 10px;*/
/*    margin-bottom: 12px;*/
}

/* Undo grid icon centering on list-style rows */
.theme_icon-grid > .grid-rich-row .contact-icon.theme_icon,
.theme_icon-grid > .grid-rich-row .contact-icon .theme_icon {
    /*width: 45px;
    height: 45px;
    min-width: 45px;*/
    margin: 0 -30px 0 0;
    aspect-ratio: unset;
    border-radius: 20%;
}

.theme_icon-grid > .grid-rich-row .contact-content.listviewbtn {
    flex-direction: row;
    align-items: center;
    height: auto;
    min-height: 55px;
    flex-grow: 1;
    color: #000;
}

/*.theme_icon-grid > .grid-rich-row .contact-label,
.theme_icon-grid > .grid-rich-row .contact-value {
    color: #000 !important;
}*/

/*.tab-content.text-black .theme_icon-grid > .grid-rich-row .contact-label,
.tab-content.text-black .theme_icon-grid > .grid-rich-row .contact-value,
.tab-content.text-black .theme_icon-grid > .grid-rich-row .listviewbtn {
    color: #000 !important;
}*/

.theme_icon-grid > .grid-rich-row .contact-content .dwrap {
    margin-top: 4px;
    margin-bottom: 0;
}

.theme_icon-grid > .grid-rich-row .rich-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 4px;
}

.theme_icon-grid > .grid-rich-row .rich-value {
    font-size: 18px !important;
    line-height: 1.45;

}

.theme_icon-grid > .grid-rich-row .contact-label,
.theme_icon-grid > .grid-rich-row .rich-title,
.theme_icon-grid > .grid-rich-row .rich-value {
    color: var(--text-color) !important;
}


.theme_icon-grid > .grid-rich-row.p_link_preview.grid-rich-preview-active,
.theme_icon-grid > .grid-rich-row.p_link_preview,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview {
    display: block;
    align-items: stretch;
}

.theme_icon-grid > .grid-rich-row.p_link_preview .contact-icon,
.theme_icon-grid > .grid-rich-row.p_link_preview .contact-content,
.theme_icon-grid > .grid-rich-row.p_link_preview .edit-btn,
.theme_icon-grid > .grid-rich-row.p_link_preview .contact-arrow,
.theme_icon-grid > .grid-rich-row.p_link_preview .preview_part,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .contact-icon,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .contact-content {
    display: none !important;
}

.theme_icon-grid > .grid-rich-row.p_link_preview .grid-rich-preview-pane.rich_content_preview,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .grid-rich-preview-pane.rich_content_preview {
    display: block !important;
    width: 100%;
    background: transparent !important;
    box-shadow: none !important;
    padding: 0;
    text-align: left;
}

.theme_icon-grid > .grid-rich-row.p_link_preview .grid-rich-preview-pane .rich-title,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .grid-rich-preview-pane .rich-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.theme_icon-grid > .grid-rich-row.p_link_preview .grid-rich-preview-pane .rich-value,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .grid-rich-preview-pane .rich-value {
    font-size: 15px;
    margin-bottom: 0;
    white-space: normal;
    overflow: visible;
    text-overflow: unset;
}

.theme_icon-grid > .grid-rich-row.p_link_preview .grid-rich-preview-pane .dwrap,
.theme_icon-grid > .grid-rich-row.grid-rich-profile-preview .grid-rich-preview-pane .dwrap {
    width: 100%;
    margin: 0;
}

/* List view profile: rich divider/text_block full width */
.contact-card.grid-rich-profile-preview,
.contact-card:has(> .grid-rich-preview-pane:only-child) {
    display: block;
    width: 100%;
}



/*FOOTER GET EYLET*/

.footer_get_eylet {
    cursor: pointer;
}

.footer-line {
    width: 100%;
    background-color: var(--text-color);
    opacity: 1;
}

.top-line {
    height: 1px;
    margin-bottom: 12px;
}

.bottom-line {
    height: 1px;
    margin-top: 12px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-logo svg {
    width: 80px;
    height: auto;
    fill: currentcolor;
    display: block;
    margin: 0 auto;
}

.footer-cta {
    display: flex;
    width: 100%;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: var(--text-color);
    text-decoration: none;
    font-size: 16px;
    font-weight: 600;
    line-height: 1;
}

.arrow-icon svg {
    width: 18px;
    height: 18px;
    fill: currentColor;
    display: block;
}


/*RESPOSIVE*/

@media (min-width:330px) {
    .theme_icon-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (min-width:370px) {
    .profile_pic_section_right .profile_pic {
        left: 80%;
    }

    .profile_pic_section_left .profile_pic {
        left: 20%;
    }

    .theme_icon-grid .icon-item .theme_icon {
        width: 80px;
    }

    .theme_icon-grid > .grid-rich-row .contact-icon.theme_icon {
       /* width: 45px !important;
        height: 45px !important;*/
        margin-right: -30px !important;
    }

    .icon-item {
        font-size: 14px;
    }

    .contact-content {
        height: 70px;
    }

    .theme_icon-grid > .grid-rich-row .contact-content.listviewbtn {
        min-height: 70px;
    }

    .contact-icon.theme_icon {
        width: 60px;
        height: 60px;
        margin-right: -30px;
    }
}

@media (min-width:450px) {
    .profile_pic_section_right .profile_pic {
        left: 82%;
    }

    .profile_pic_section_left .profile_pic {
        left: 18%;
    }
    .theme_icon-grid {gap: 24px;}

    .theme_icon {
        width: 100%;
    }

    .contact-label {
        font-size: 14px;
    }

    .contact-value {
        font-size: 12px;
    }
}

.rich_content_preview{
    text-align: left;
    color: var(--text-color) !important;
}
.rich-title{
    font-size: 17px !important;
    font-weight: 600;
    margin-bottom: 1rem;
}
.rich-value{
    font-size: 15px !important;
    margin-bottom: 1rem;
}
.dwrap{
    background:transparent;
    color: var(--text-color) !important;
}
.dwrap div::before{
    color: var(--text-color) !important;
    background: var(--listviewbtn-color)  !important;
}
.rich_content_preview .dwrap div::before{
    color: var(--text-color) !important;
    background: var(--background-color) !important;
}
.rich_contnet_divider .dwrap div{
    border-color:var(--text-color) !important;
}
.rich_contnet_divider .listviewbtn,.rich_contnet_text_block .listviewbtn  {
    color: var(--text-color) !important;
}

