@import url('https://fonts.googleapis.com/css2?family=Source+Sans+3:ital,wght@0,200..900;1,200..900&display=swap');

body.profile {
    font-family: "Source Sans 3", sans-serif !important;
    color: #333;
    font-size: 14px;
    line-height: 20px;
    font-weight: 400;
    font-optical-sizing: auto;
    font-style: normal;
}
body.profile[style="overflow: hidden;"] .tbx_profile_modal {
    z-index: 999999;
}
.tbx_profile_profile_wrapper {
    height: 100vh;
    height: 100svh;
    max-height: -webkit-fill-available;
    overflow-y: hidden;
}
.tbx_profile_layout {
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    height: calc(100% - 60px);
    position: relative;
}
.tbx_profile_image {
    aspect-ratio: 1 / 1;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px 0 19px;
}
.tbx_profile_img {
    aspect-ratio: 1 / 1;
    position: absolute;
    max-width: 132px;
    max-height: 132px;
    border-radius: 50%;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
    overflow: hidden;
}
.tbx_profile_img img {
    aspect-ratio: 1 / 1;
    max-height: 100%;
}
.tbx_profile_texts {
    --background: linear-gradient(91.77deg, #212529 0%, #343A40 100.19%, #343A40 100.19%);
    --background-clip: text;
    --text-fill-color: transparent;
    --svg-stroke: #212529;
    color: #737373;
    margin-top: auto;
    padding: 30px 20px 30px 19px;
    z-index: 1;
}
.tbx_profile_layout_gallery .tbx_profile_texts {
    --background: none;
    --background-clip: initial;
    --text-fill-color: initial;
    --svg-stroke: #fff;
    color: #fff;
}
.tbx_profile_name {
    align-items: flex-start;
    column-gap: 10px;
    display: flex;
    justify-content: space-between;
    padding-right: 6px;
}
.tbx_profile_name > div {
    display: flex;
    flex-direction: column;
    row-gap: 7px;
    transition: .4s;
}
.tbx_profile_title {
    -webkit-background-clip: var(--background-clip);
    -webkit-text-fill-color: var(--text-fill-color);
    background: var(--background);
    background-clip: var(--background-clip);
    color: inherit;
    font-family: inherit;
    font-size: 26px;
    font-weight: 600;
    line-height: 30px;
    margin: 0;
}
.tbx_profile_position {
    -webkit-background-clip: var(--background-clip);
    -webkit-text-fill-color: var(--text-fill-color);
    background: var(--background);
    background-clip: var(--background-clip);
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 22px;
    margin: 0;
}
.tbx_profile_qr_code_btn {
    all: unset;
    cursor: pointer;
}
.tbx_profile_qr_code_btn path {
    stroke: var(--svg-stroke);
}
.tbx_profile_description {
    color: inherit;
    font-size: 14px;
    font-weight: 600;
    line-height: 18px;
    margin: 10px 0 0;
}
.tbx_profile_gallery_navigation li {
    cursor: pointer;
}
.tbx_profile_gallery_navigation {
    display: inline-flex;
    justify-content: space-between;
    list-style: none;
    padding: 0 19px 0 20px;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 100%;
    z-index: 1;
}

/* Profile modal */
.tbx_profile_modal {
    background-color: #F1F1F1;
    display: flex;
    flex-direction: column;
    height: 100%;
    justify-content: space-between;
    /* padding: 105px 20px 24px; */
    padding: 24px 20px 24px;
    position: absolute;
    transform: translateY(calc(100% + 60px));
    top: 0;
    transition: .3s ease-in-out;
    width: 100%;
    z-index: 1000000;
    overflow-y: auto;
    overflow-x: hidden;
}
.tbx_profile_modal.has_qr {
    padding-top: 105px;
}
.tbx_profile_modal.opened {
    transform: translateY(0);
}
.tbx_profile_modal_close_btn {
    all: unset;
    cursor: pointer;
    position: absolute;
    right: 25px;
    top: 27px;
    z-index: 1;
}
.tbx_profile_modal_texts {
    align-items: center;
    display: flex;
    flex-direction: column;
    row-gap: 17px;
    text-align: center;
    height: 100%;
}
.tbx_profile_modal_image {
    height: 100%;
    max-height: 372px;
    position: relative;
} 
.tbx_profile_modal_image .tbx_lottie_player {
    max-width: 372px;
    position: absolute;
    width: 100%;
}
.tbx_profile_qr_code {
    background-color: #fff;
    padding: 8px 7.5px 8px 8.5px;
    max-width: 132px;
    max-height: 132px;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    height: 100%;
}
.tbx_profile_modal_name {
    --background: none;
    --background-clip: initial;
    --text-fill-color: initial;
    color: #212529;
}
.tbx_profile_modal_name .tbx_profile_position {
    margin-top: 3.75px;
}
.tbx_profile_modal_name .tbx_profile_description {
    color: #343A40;
    line-height: 16px;
    font-weight: 600;
}
.tbx_action_btns {
    display: flex;
    flex-direction: column;
    row-gap: 10px;
    margin-top: 10px;
}
.tbx_action_btn {
    background-color: #fff;
}
.tbx_action_btn button {
    all: unset;
    align-items: center;
    -webkit-background-clip: text;
    -webkit-text-fill-color: #333;
    background: linear-gradient(91.77deg, #212529 0%, #343A40 100.19%, #343A40 100.19%);
    background-clip: text;
    border: 1px solid #C7C7CC;
    box-sizing: border-box;
    cursor: pointer;
    column-gap: 5px;
    display: flex;
    font-size: 14px;
    justify-content: center;
    line-height: 20px;
    padding: 8px 32px;
    width: 100%;
}

/* Profile gallery */
.tbx_profile_gallery {
    height: 100%;
    max-width: inherit;
    position: absolute !important;
    width: 100%;
}
.tbx_profile_gallery * {
    height: inherit;
}
.gallery-slide:after {
    background: linear-gradient(180deg, rgba(0, 0, 0, 0) 50%, rgba(0, 0, 0, 0.5) 100%);
    content: '';
    height: 100%;
    position: absolute;
    top: 0;
    width: inherit;
}
.gallery-slide * {
    object-fit: cover;
    width: 100%;
}
@media screen and (min-width: 450px) {
    body {
        background-color: #F5F5F6 !important;
    }
    .tbx_profile_profile_wrapper {
        background-color: #fff;
        border: 1px solid #E0E0E2;
        box-shadow: 0 0 5px 0px #E0E0E2;
        height: calc(100vh - 20px);
        max-width: 414px;
        margin: 20px auto 0;
        width: 100%;
    }
    #tabclix___div_root,.preloader, .navbar_mobile_bar_menu__7dh6M {
        max-width: 414px !important;
    }
    .navbar_mobile_bar_menu__7dh6M {
        display: flex;
        flex-wrap: nowrap;
        justify-content: space-evenly;
        margin-left: auto;
        margin-right: auto;
        max-width: 100%;
        padding: 0 1vw;
    }
    .navbarIcon_mobile_bar_icon_description__jHHfO {
        font-size: 10px !important;
    }
}

.powered-by {
    margin: 10px auto;
}
.powered-by a {
    color: #333;
    text-decoration: none;
}
.tbx_profile_modal .powered-by {
    margin-top: 0;
}
.preloader{
    border: none;
    position: fixed;
    width: 100%;
    z-index: 9999999;
    top: auto;
    bottom: 0;
    display: -webkit-flex;
    margin-right: auto;
    margin-left: auto;
    height: 63px;
    background-color: #f1f1f1;
    justify-content: center;
    align-items: center;
    left: 0;
    right: 0;
}
/* HTML: <div class="loader"></div> */
.preloader .loader {
    width: 40px;
    height:20px;
    aspect-ratio: 1;
    --c: linear-gradient(#000 0 0);
    --r1: radial-gradient(farthest-side at bottom,#000 93%,#0000);
    --r2: radial-gradient(farthest-side at top   ,#000 93%,#0000);
    background:
            var(--c) ,var(--r1),var(--r2),
            var(--c) ,var(--r1),var(--r2),
            var(--c) ,var(--r1),var(--r2);
    background-repeat: no-repeat;
    animation: l2 1s infinite alternate;
}
@keyframes l2 {
    0%,25% {
        background-size: 8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
        background-position: 0 50%,0 calc(50% - 2px),0 calc(50% + 2px),50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
    }
    50% {
        background-size: 8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
        background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(50% - 2px),50% calc(50% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
    }
    75% {
        background-size: 8px 100%,8px 4px,8px 4px,8px 100%,8px 4px,8px 4px,8px 0,8px 4px,8px 4px;
        background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),100% 50%,100% calc(50% - 2px),100% calc(50% + 2px);
    }
    95%,100% {
        background-size: 8px 100%,8px 4px, 8px 4px,8px 100%,8px 4px,8px 4px,8px 100%,8px 4px,8px 4px;
        background-position: 0 50%,0 calc(0% - 2px),0 calc(100% + 2px),50% 50%,50% calc(0% - 2px),50% calc(100% + 2px),100% 50%,100% calc(0% - 2px),100% calc(100% + 2px);
    }
}