/* -----general----- */

.profile_bg{
    background-color: #EFF1F6;
}
.rounded_1{
    border-radius: 4px;
}
.rounded_2{
    border-radius: 6px;
}
.rounded_3{
    border-radius: 8px;
}
.rounded_4{
    border-radius: 12px;
}
.rounded_5{
    border-radius: 16px;
}

.badge_yellow {
    background-color: #FFF5C6;
}
.badge_yellow > * {
    color: #E6A81E !important;
}
.badge_blue {
    background-color: #C5E7ED;
}
.badge_blue >* {
    color: #17A2B8 !important;
}

.badge_green {
    background-color: #d9f2bd;
}
.badge_green >* {
    color: #64a353 !important;
}
.divider{
    margin-bottom: 30px;
    padding-bottom: 5px;
    font-size: 1rem;
    color: #555;
}

@media (max-width:991px) {
    i {
        font-size: 0.8rem !important;
    }
}
.bg_light{
    background-color: #F9F8F8;
}
.tbtn_small {
    padding: 2px 9px;
    font-size: 0.7rem;
    font-weight: 500;
}
/* -----head----- */


.profile_cover{
    height: 0;
    padding-bottom: 22%;
}
.profile_cover img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover;
}
.profile_main_info{
    top: -88px;
}
.profile_img {
    width: 172px;
    height: auto;
}
.profile_img img {
    box-shadow: 0px 0px 0px 5px #FFFFFF;
}
.prof_info_height {
    height: 100px;
}
.social-span {
    background-color: #EBEBEB;
    padding: 10px;
}
.badge_box{
    min-height: 26px;
}

@media (max-width:991px) {
    .profile_img {
        width: 90px;
    }
    .prof_info_height {
            height: 180px;
        }
    .profile_main_info {
        top: -65px;
    }
    .profile_name h1{
        font-size: 1rem !important;
    }
    .jobDetails{
        font-size: 0.9rem !important;
    }
    i {
        font-size: 0.8rem !important;
    }
}


/* ------------tabs-------------*/

.nav.profile_nav {
    border: 0;
    flex-wrap: nowrap;
    overflow-x: auto;
    height: 55px;
}

.nav.profile_nav li {
    display: inline-block;
}
.nav.profile_nav .nav-item {
   border:0;
}
.nav.profile_nav .nav-link {
    position: relative;
    border:0;
    padding: 0px 15px;
    color: #555;
    font-weight: 500;
    line-height: 55px;
    white-space: nowrap;

}


.nav.profile_nav li {
    border-bottom: 1px solid #ececec;
}

.nav.profile_nav .nav-item.show .nav-link
, .profile_nav .nav-link.active {
    color: #db3037;
}
.nav.profile_nav li a::before {
    content: "";
    position: absolute;
    height: 2px;
    width: 100%;
    background: #db3037;
    opacity: 0;
    left: 0;
    transition: .3s;
    visibility: hidden;
    bottom: 0;


}
 .nav.profile_nav li a.active:before {
    opacity: 1;
    visibility: visible;
}
/* ---- */
.sticky_menu{
    z-index: 10;
}

.tcard .card-img-top {
    height: 200px;
    object-fit: cover;
    object-position: center;
}

.card-img-top {
    transition: all 0.2s ease-in-out;
}
.card-img-top:hover {
    transform: scale(1.05);
}
.cardLogo{
    position: absolute;
    top: 8px;
    right: 8px;
    z-index: 9;
    width: 40px;
}

/* ----Side---- */
.profile_side{

}
.side_card{
    background-color: white;
    border-radius: 8px;
    padding: 16px;
    margin-bottom: 12px;

}
.side_card_title{
    font-size: 1rem;
    color: #333;
    margin-bottom: 16px;
    font-weight: 500;
}

.userHonours{
    max-height: 333px;
    overflow-y: auto;
}

.side_honors{
    width: 40px;
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    margin-bottom: 6px;
}
.gold_medal{
    background-color: #F9ECCF;
    color: #E6A81E;
}
.silver_medal{
    background-color: #F1F1F1;
    color: #7E7E7E;
}
.bronze_medal{
    background-color: #F5E7DA;
    color: #CE8946;
}
.finalist_medal{
    background-color: #E5F0DA;
    color: #5A8D4D;
}
.side_honors_txt {
    color: #767676;
    font-size: 0.65rem;
    line-height: 18px;
    font-weight: 500;
}
.side_honors_num {
    color: #3B3B3B;
    font-size: 0.8rem;
    line-height: 20px;
    font-weight: 500;
    margin-bottom: 4px;
}
.side_bio{
text-align: justify;
}

.gift {
    margin-bottom: 20px;
}

.gift-title {
    font-weight: bold;
    font-size: 14px;
    color: #333;
}

.gift-description {
    position: relative;
    font-size: 13px;
    color: #777;
    border-right: 2px solid #eee;
    padding-right: 15px;
    margin-top: 4px;
}

.gift-description::after{
    content: "";
    width: 10px;
    height: 2px;
    position: absolute;
    right: 0;
    background-color: #eee;
    bottom: 0;
}
.gift-description_inner{
    bottom: -8px;
    position: relative;
    padding-right: 0px;

}
.memberImg{
    width: 30px;
    height: 30px;
    border-radius: 50%;
}

.memberProfileItem{
    margin-left: -13px;
    transition: all 0.25s ease;

}
.memberProfileItem:hover{
    z-index: 30;
    transform: translateY(-7px);
}

.card-deck {
    background: #F4F6F9;
}

/* MENU */
#bodypath {
    margin-top: 0 !important;
}

.section {
    scroll-margin-top: 140px;
}

nav#t2tnav {
    position: sticky;
    top: 0;
    z-index: 1050;
    background-color: white;
}

.sticky_menu {
    position: sticky;
    top: 72px;
    z-index: 1020;
    background-color: white;
    border-bottom: 1px solid #eee;
}
/*  */

.phone-show-btn {
    cursor: pointer;
}

   /* tom select */
    [id$="-ts-control"] {
        height: 30px;
    }

    .ts-control{
        padding-bottom: 5px !important;
        padding-top: 10px !important;
        padding-right: 7px !important;
        direction: rtl;
        text-align: right;
    }
    .ts-control .item {
        direction: rtl;
        text-align: right;
        margin-left: 5px;
        margin-right: 0;
        font-size: 0.7rem;
    }

    .ts-dropdown {
        direction: rtl;
        text-align: right;
    }

    .ts-dropdown .option {
        direction: rtl;
        text-align: right;
    }

/*  */