.fav_img {
    overflow: hidden;
    border-radius: 6px;
    height: 40px;
    width: 60px;
}

.fav_img img {
    object-fit: cover;
    width: 100%;
    height: 100%;
}

.fav_item,
.fav_item_contacts,
.fav-item-dev {
    display: flex;
    align-items: center;
    background-color: #F7F8FA;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 6px;
    cursor: pointer;
    gap: 5px;
    position: relative;
}

.fav_item:last-child,
.fav_item_contacts:last-child {
    margin-bottom: 0 !important;
}

.fav_item:hover,
.fav_item_selected,
.fav_src_item:hover,
.fav_item_contacts:hover,
.fav-item-dev a:hover,
.fav-item-dev:hover {
    background-color: var(--gris-7) !important;
    text-decoration: none;
}

.fav_item a,
.fav_item_contacts a,
.fav-item-dev a {
    display: flex;
    gap: 5px;
    align-items: center;
}

.my_profile_img_tooltip img {
    object-fit: cover;
    border-radius: 50%;
}

.my_profile_img_tooltip i {
    font-size: 30px;
    color: var(--gris-5);
}

.not_available_favourite,
.available_favourite,
.reserved_favourite {
    width: 100%;
    font-family: var(--fuente-tokko);
    font-weight: 700;
    font-size: 10px;
    line-height: 11px;
    margin-bottom: 2px;
}

.not_available_favourite {
    color: #A71601;
}

.reserved_favourite {
    color: #E97000;
}

.available_favourite {
    color: #00B775
}

.fav_name,
.fav_ref {
    font-family: var(--fuente-tokko);
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
    width: 115px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.fav-ellipsis {
    width: 135px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sub-title-fav {
    font-family: var(--fuente-tokko);
    font-style: normal;
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
    color: var(--gris-3);
}

.fav_data {
    display: flex;
    flex-direction: column;
    justify-content: end;
}

.fav_src_item {
    display: flex;
    align-items: center;
    background: #F3F6F8;
    border-radius: 10px;
    padding: 8px;
    margin-bottom: 4px;
    cursor: pointer;
}

.fav_src_item input[type="checkbox"],
.fav_src_item i,
.fav_src_item:last-child,
.selectAllContainer input[type="checkbox"],
.fav_item input[type="checkbox"],
.fav_item_contacts input[type="checkbox"],
.fav-item-dev input[type="checkbox"] {
    margin: 0;
}

.fav_srch_name,
.selectAllContainer p,
.contact_rightbar_name,
.fav_contact_wkpos {
    font-family: var(--fuente-tokko);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
    color: var(--gris-2);
}

.fav_srch_name {
    flex-grow: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.fav_srch_name p {
    margin: 0px 8px;
    width: 156px;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: normal;
    -webkit-line-clamp: 2;
}

.selectAllContainer {
    display: flex;
    align-items: center;
    gap: 8px;
    padding-top: 0px !important;
    padding: 12px 8px;
}

.font-bolder-title {
    font-weight: 600;
}

.right-arrow-contacts {
    color: var(--gris-3);
    font-size: 12px;
    transform: rotate(180deg);
}

.fav_tabs_container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0px 10px;
    width: 100%;
    margin-top: 18px;
    margin-bottom: 5px;
}

.fav-tab-item {
    display: flex;
    align-items: center;
    gap: 5px;
    border-bottom: 2px solid transparent;
    padding-bottom: 4px;
    cursor: pointer;
}

.fav-tab-item span {
    font-family: var(--fuente-tokko);
    font-style: normal;
    font-weight: 600;
    font-size: 12px;
    line-height: 16px;
}

.fav-tab-item i {
    font-size: 14px;
}

.fav-tab-item i,
.fav-tab-item span {
    color: var(--gris-3);
}

.fav_tab_selected {
    border-bottom: 2px solid var(--rojo-tokko);
}

.fav_tab_selected i,
.fav_tab_selected span {
    color: var(--rojo-tokko) !important;
}

#favouritesheader .title {
    margin-top: 4px;
    margin-left: 10px;
    flex-grow: 1;
}

.favourites-title-cont {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

#fav_options i {
    font-size: 18px;
    cursor: pointer;
    color: var(--gris-2) !important;
}

.fav_cont_options_item {
    padding: 5px;
    white-space: nowrap;
    cursor: pointer;
}

.last-child-fav {
    border-top: 1px solid var(--gris-8);
}

.fav_cont_options_item:hover,
.fav-tab-item:hover i,
.fav-tab-item:hover span {
    color: var(--gris-2);
}

#fav_cont_options {
    position: absolute;
    top: 30px;
    right: -7px;
    display: flex;
    flex-direction: column;
    gap: 6px;
    background: #FFFFFF;
    padding: 6px 12px;
    border-radius: 8px;
    box-shadow: 8px 8px 16px rgb(77 91 100 / 15%);
    opacity: 0;
    visibility: hidden;
    transition: all .3s ease-in-out;
    z-index: 1;
}

.show_fav_options {
    opacity: 1 !important;
    visibility: visible !important;
}

#fav_options {
    position: relative;
    padding: 5px;
    border-radius: 9px;
}

#fav_options:hover {
    background: #EFF3F5 !important;
}

#favourites .card-body {
    max-height: 346px;
    overflow: auto;
    overscroll-behavior: contain;
}

#favourites .card-body::-webkit-scrollbar,
#rightbar_contents::-webkit-scrollbar {
    display: none;
}

.empty_event_fav {
    text-align: center;
    list-style: none;
}

.empty_event_fav p {
    font-family: var(--fuente-tokko);
    font-weight: 400;
    font-size: 12px;
    line-height: 16px;
}

.empty_event_fav a {
    font-family: var(--fuente-tokko);
    font-weight: 700;
    font-size: 10px;
    line-height: 11px;
    color: #4268EF;
    cursor: pointer;
}

.empty_event_fav a:hover {
    text-decoration: none;
}

#fav_list {
    width: 100%;
}

.more_events,
.more_events span {
    font-family: var(--fuente-tokko);
    font-weight: 700;
    font-size: 10px;
    line-height: 11px;
    color: #4268EF;
    text-decoration: none !important;
    display: flex;
    justify-content: center;
    gap: 5px;
}

.more_events_cont {
    padding: 2px 0px;
    text-align: center;
}

.network-badge {
    position: absolute;
    top: 8px;
    right: 14px;
    background: #FFF502;
    border-radius: 10px;
    padding: 2px 4px;
    color: var(--gris-1);
    font-family: var(--fuente-tokko);
    font-weight: 400;
    font-size: 11px;
    line-height: 13px;
}

#favourites_icon i {
    color: #DF1E02;
    font-size: 20px;
}

.fav_srch_name i {
    color: #6F838D;
}

.fav_srch_name-icon:hover {
    color: #49565D !important;
}

.fav-tab-item:not(.fav_tab_selected):hover{
    border-bottom: 2px solid var(--gris-2);
}

.fav-tab-item:not(.fav_tab_selected):hover i,
.fav-tab-item:not(.fav_tab_selected):hover span{
    animation: jump 0.5s ease-out;
}

@keyframes jump {
    from {
        transform: translateY(0px);
    }

    25% {
        transform: translateY(-4px);
    }

    75% {
        transform: translateY(0px);
    }

    to{
        transform: translateY(-1px);
    }
}