.job .job_content {
    background: white;
}
.job .job_content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 3;
    position: relative;
    border-top: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
    overflow: hidden;
    font-weight: 400;
    padding: 27px 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin-bottom: -2px;
}
.job__description {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    /*overflow: hidden;*/
    padding-left: 15px;
}
.job__body {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}
.job .job_content .details {
    font-size: 13px;
    overflow: hidden;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.job .job_content .details .description {
    margin-top: 10px;
    color: #727272;
    text-align: justify;
    overflow: hidden;
    width: 100%;
    line-height: 1.3em;
}
.job .job_content .job-bottom {
    margin-top: 12px;
    width: 100%;
    font-size: 0;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
}
.job .job_content .job-bottom .tag-list {
    margin: 0;
    display: inline-block;
}

.ilabel:visited {
    color: #575656;
}
.ilabel {
    -webkit-transition: all 0.2s ease;
    transition: all 0.2s ease;
    margin: 0 10px 0 0;
    padding: 4px 5px;
    background: transparent;
    border: 1px solid #D2D3D3;
    color: #575656;
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    line-height: 100%;
    display: inline-block;
}

.job .job_content .city_and_posted_date {
    font-size: 13px;
    display: inline-block;
    margin-right: 20px;
    margin-left: 10px;
    text-align: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 100px;
}
.job .job_content .city_and_posted_date .feature {
    background: #fc2d42;
    font-family: "Roboto Condensed", sans-serif;
    display: inline-block;
}

.job .job_content .city_and_posted_date .new {
    padding: 2px 10px;
    min-width: 45px;
    color: white;

    text-align: center;
    display: inline-block;
    -ms-flex-item-align: end;
    align-self: flex-end;
}
.job .job_content .city_and_posted_date .text {
    display: block;
}
h2.title {
    margin-top: 0px;
}
.job .job_content:hover .details .title a {
    color: #EA2635;
}
.job .job_content:hover {
    background: white !important;
    z-index: 5;
    border-color: transparent;
    box-shadow: 0 0 5px 1px #bcbcbc;
}
.recruitment_showmore{
    width: 50%;
}
.images_w_table{
    width: 130px;
    height: 130px;
    box-shadow: 0 0px 9px #00000047 !important;

}
.a-color{
    color: #03a9f4;
}

.intership-color{
    background: #c122cc;
    color: white !important;
    padding: 6px 11px;
    font-size: 13px;
    border: none !important
}

.full_time-color{
    background: #48c529;
    color: white !important;
    padding: 6px 11px;
    font-size: 13px;
    border: none !important


}

.part_time-color{
    background: #ff6f00;
    color: white !important;
     padding: 6px 11px;
    font-size: 13px;
    border: none !important

}

.collaborators-color{
    background: #fc2d42;
     color: white !important;
     padding: 6px 11px;
    font-size: 13px;
    border: none !important


}
.ilabel-cp-workplace{
    font-size: 12px;
    font-weight: normal;
    text-decoration: none;
    display: inline-block;
    color: grey;
}
.feature-view_detail {
    color: #03a9f4 !important;
    border: 2px solid #03a9f4 !important;
    font-weight: 600;
    font-size: 17px;
    padding: 6px 16px !important;
}

.feature-view_detail a:hover{
    color: #03a9f4 !important;
}
.job-description {
    /*margin-top: 11px;*/
   height: 57px;

}

.job_content.col-md-12 {
    height: 220px;
}

#panel_body_job {
    background: #c1c1c16e;
    
}

h2.card-title.bold.campaign-title {
    font-size: 31px;
}

.company-title {
    color: #03a9f4;
}

.buton-margin{
    margin-left: 10px;
}
.button-action-row{
    display: flex;
    flex-direction: row;
}
.images_w_table_detail{
    width: 116px;
    height: 116px;
    box-shadow: 0 0px 9px #00000047 !important;
}
.job__description_detail{
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
    overflow: hidden;
    padding-left: 15px;
    margin-left: 18px;
}

.feature-view_detail_related {
    color: #03a9f4 !important;
    border: 2px solid #03a9f4 !important;
    font-weight: 600;
    font-size: 13px;
    padding: 6px 24px !important;
    text-align: center;
}

.h3-job-related{
    margin-top: 0px !important;
}
.job_content_related.col-md-12 {
    height: 179px;
}

.job .job_content_related {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    z-index: 3;
    position: relative;
    border-top: 2px solid #e7e7e7;
    border-bottom: 2px solid #e7e7e7;
    overflow: hidden;
    font-weight: 400;
    padding: 13px 0;
    -webkit-transition: all 0.25s ease;
    transition: all 0.25s ease;
    margin-bottom: -2px;
    background: white;
}

.job .job_content_related .city_and_posted_date {
    font-size: 13px;
    display: inline-block;
    margin-right: 20px;
    margin-left: 10px;
    text-align: right;
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    -webkit-box-pack: justify;
    -ms-flex-pack: justify;
    justify-content: space-between;
    min-width: 100px;
}

.job .job_content_related .city_and_posted_date .text {
    display: block;
}
.job .job_content_related .city_and_posted_date .new {
    padding: 2px 10px;
    min-width: 45px;
    color: white;
    text-align: center;
    display: inline-block;
    -ms-flex-item-align: end;
    align-self: flex-end;
}
.job .job_content_related .city_and_posted_date .feature {
    background: #fc2d42;
    font-family: "Roboto Condensed", sans-serif;
    display: inline-block;
}
.job .job_content_related .details {
    font-size: 13px;
    overflow: hidden;
    -webkit-box-flex: 1;
    -ms-flex-positive: 1;
    flex-grow: 1;
}
.job__description_margin{
    margin-left: 35px;
}
.skill-margin{
    margin-bottom: 4px;
}

@media only screen
  and (min-device-width: 300px) 
  and (max-device-width: 700px) {
  .images_w_table{
    width: 50px;
    height: 50px;
  } 
  .feature-view_detail{
    padding: 0px !important;
  }
  .job-company-logo, .job__description,.city_and_posted_date{
    padding-left: 5px;
    padding-right: 5px;
  }
  .job .job_content .city_and_posted_date{
    margin-left: 5px;
    margin-right: 5px;
  }
  .feature-view_detail a{
    margin: 2px;
  }
  .card-body img{
    width: 100% !important;
    max-width: 400px;
    height: auto !important;
  }
  .job_content .job-description{
    display: none !important;
  }
 
}

.navbar-nav>li>.dropdown-menu.notifications {
    position: absolute !important;
    top: 100% !important;
    left: 0 !important;
    right: auto !important;
    max-height: 600px;
    min-width: 300px;
    border-top: 0;
    overflow: auto;
    z-index: 1050 !important;
    display: none;
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 5px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    transform: none !important;
    margin-top: 2px;
}

/* Ensure dropdown shows on hover/click */
.navbar-nav>li.dropdown:hover>.dropdown-menu.notifications,
.navbar-nav>li.dropdown.open>.dropdown-menu.notifications,
.navbar-nav>li.dropdown.show>.dropdown-menu.notifications {
    display: block !important;
}

/* Ensure parent dropdown has relative positioning */
.navbar-nav>li.dropdown {
    position: relative !important;
}

.navbar-nav>li>.dropdown-menu.notifications li {
    z-index: 1051;
    position: relative;
}

.navbar-nav>li>.dropdown-menu.notifications li .media-body {
    font-size: 13px;
}

.navbar-nav>li>.dropdown-menu>li:last-child>a {
    border-radius: 0;
}

.navbar-nav>li>.dropdown-menu.notifications li img {
    margin-right: 10px;
}

.notification_link {
    cursor: pointer;
}

.notification-box-all {
    border: 1px solid #f0f0f0;
    padding: 7px 10px;
    border-radius: 4px;
    margin-bottom: 10px;
}

.notification-box-all:hover {
    background: #fbfbfb;
}

.notification-box-all img {
    margin-right: 10px;
}

.notification-box-all a {
    display: block;
}

.notification-box {
    padding: 10px 10px;
    border-bottom: 1px solid #f0f0f0;
}

.notification-box.unread,
.notification-box-all.unread {
    background: #f0f4fd;
    border-bottom: 1px solid #F7F9FA;
}

a.notification-top {
    cursor: pointer;
}

.navbar-nav>li>a:hover,
.navbar-nav>li>a:focus,
.navbar-nav .open>a,
.navbar-nav .open>a:hover,
.navbar-nav .open>a:focus {
    background: none;
    border-radius: 0;
    color: #D0D0D0;
}
.nav.navbar-right .open>a,
.nav.navbar-right .open>a:focus,
.nav.navbar-right .open>a:hover {
    border-color: #535f6d;
}
@media (min-width: 768px)
.navbar-nav>li {
    float: left;
}

.width400 {
    width: 400px;
}

.navbar-nav>li a>.icon-total-indicator {
    line-height: 12px;
    padding: 2px 5px;
    padding-bottom: 3px;
    color: #fff;
    position: absolute;
    right: 1px;
    font-size: 11px;
    top: 25px;
    font-family: Verdana, serif;
    vertical-align: middle;
    text-align: center;
    border-radius: 8px;
}
.bg-warning {
    background-color: #FF6F00;
}


.navbar-right .dropdown-menu.notifications li:not(:last-child)>a {
    padding: 0;
}

.navbar-right .dropdown-menu.notifications .divider {
    margin: 0;
}

.navbar-right .dropdown-menu.notifications li:last-child {
    padding: 15px;
    font-weight: 500;
    text-align: center;
}
ul.mobile-icon-menu .notifications .notification-box img {
    margin-right: 8px;
}
.notifications .not_mark_all_as_read {
    padding: 5px;
    text-align: right;
    border-bottom: 1px solid #f0f0f0;
}

.notifications .not_mark_all_as_read a:hover,
.notifications .not_mark_all_as_read a:active,
.notifications .not_mark_all_as_read a:focus {
    border-radius: 0 !important;
    color: #888;
    background-color: transparent !important;
}
.navbar-nav>li>.dropdown-menu.notifications li .media-body {
    font-size: 13px;
}
.media-body {
    word-break: break-all;
}
.media-body, .media-left, .media-right {
    display: table-cell;
    vertical-align: top;
}
.media-body {
    width: 10000px;
}
.media, .media-body {
    overflow: hidden;
    zoom: 1;
}
.dropdown-menu>li>a {
    width: 100%;
    word-wrap: break-word;
    white-space: normal;
}
.not-mark-as-read-inline {
    width: auto !important;
    position: absolute;
    right: 5px;
    bottom: 7px;
}
.pull-right {
    float: right!important;
}

/* Vertical Sidebar Navigation Styles */
.sidebar-nav-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 280px;
    height: 100vh;
    z-index: 1000;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-right: 1px solid rgba(255,255,255,0.1);
    box-shadow: 4px 0 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
}

.sidebar-nav {
    height: 100%;
    display: flex;
    flex-direction: column;
}

/* Profile Section Styling */
.sidebar-profile {
    padding: 30px 20px;
    text-align: center;
    background: rgba(255,255,255,0.1);
    border-bottom: 1px solid rgba(255,255,255,0.2);
    backdrop-filter: blur(10px);
}

.profile-image-container {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 4px solid rgba(255,255,255,0.3);
    object-fit: cover;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: rgba(255,255,255,0.6);
    box-shadow: 0 12px 35px rgba(0,0,0,0.3);
}

.profile-info {
    color: #fff;
}

.profile-name {
    margin: 0 0 5px 0;
    font-size: 18px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.profile-role {
    margin: 0;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    font-weight: 400;
}

/* Sidebar Actions Styling */
.sidebar-actions {
    padding: 0;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    background: rgba(255,255,255,0.05);
}

.action-link {
    display: flex;
    align-items: center;
    padding: 18px 25px;
    color: rgba(255,255,255,0.95);
    text-decoration: none;
    transition: all 0.3s ease;
    border-left: 4px solid transparent;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.action-link:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
    border-left-color: rgba(255,255,255,0.8);
}

.action-link:last-child {
    border-bottom: none;
}

.action-link i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
}

.action-title {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.action-dropdown {
    position: relative;
}

.action-dropdown .caret {
    margin-left: auto;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.action-dropdown.open .caret {
    transform: rotate(180deg);
}

.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    padding: 20px 0;
    scrollbar-width: thin;
    scrollbar-color: rgba(255,255,255,0.3) transparent;
}

.sidebar-menu::-webkit-scrollbar {
    width: 6px;
}

.sidebar-menu::-webkit-scrollbar-track {
    background: transparent;
}

.sidebar-menu::-webkit-scrollbar-thumb {
    background: rgba(255,255,255,0.3);
    border-radius: 3px;
}

.sidebar-menu::-webkit-scrollbar-thumb:hover {
    background: rgba(255,255,255,0.5);
}

.nav-vertical {
    flex-direction: column;
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-vertical li {
    margin-bottom: 2px;
}

.nav-vertical li a {
    display: flex;
    align-items: center;
    padding: 15px 25px;
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    border-radius: 0;
    margin: 0;
    transition: all 0.3s ease;
    font-size: 15px;
    font-weight: 500;
    position: relative;
    border-left: 4px solid transparent;
}

.nav-vertical li a i {
    width: 20px;
    margin-right: 12px;
    font-size: 16px;
    text-align: center;
}

.nav-vertical li a .nav-label {
    flex: 1;
}

.nav-vertical li a .caret {
    margin-left: auto;
    border-top: 4px solid;
    border-right: 4px solid transparent;
    border-left: 4px solid transparent;
    transition: transform 0.3s ease;
}

.nav-vertical li.open a .caret {
    transform: rotate(180deg);
}

.notification-badge {
    background: #ff4757;
    color: white;
    border-radius: 10px;
    padding: 2px 6px;
    font-size: 11px;
    font-weight: 600;
    margin-left: 8px;
    min-width: 18px;
    text-align: center;
}

.nav-vertical li a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 0;
    background: rgba(255,255,255,0.1);
    transition: width 0.3s ease;
    z-index: -1;
}

.nav-vertical li a:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
    text-decoration: none;
    transform: translateX(5px);
    border-left-color: rgba(255,255,255,0.8);
    text-shadow: 0 1px 3px rgba(0,0,0,0.3);
}

.nav-vertical li a:hover::before {
    width: 100%;
}

.nav-vertical li.active a,
.nav-vertical li a.active {
    background: rgba(255,255,255,0.2);
    color: #fff;
    border-left-color: #fff;
    font-weight: 600;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.sidebar-toggle {
    display: none;
    position: absolute;
    top: 20px;
    right: 15px;
    background: none;
    border: none;
    padding: 5px;
}

.sidebar-toggle .icon-bar {
    display: block;
    width: 22px;
    height: 2px;
    background-color: #495057;
    margin: 4px 0;
    transition: 0.3s;
}

/* Main content adjustment when sidebar is present */
#content-wrapper {
    margin-left: 280px;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    background: #f8f9fa;
}

/* When sidebar is disabled or not logged in */
.no-sidebar #content-wrapper,
#wrapper main.container-fluid {
    margin-left: 0;
}

/* Main content styling */
main.container-fluid {
    padding: 30px;
    background: #f8f9fa;
    min-height: calc(100vh - 200px);
}

/* Integration with Perfex header */
.main-header {
    position: relative;
    z-index: 999;
}

/* Ensure sidebar is above Perfex header */
.sidebar-nav-wrapper {
    z-index: 1000;
}

/* Adjust content when Perfex header is present */
body:not(.candidate-logged-in) main.container-fluid {
    margin-top: 0;
    padding-top: 20px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .sidebar-nav-wrapper {
        transform: translateX(-100%);
        transition: transform 0.3s ease;
    }
    
    .sidebar-nav-wrapper.show {
        transform: translateX(0);
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    #content-wrapper {
        margin-left: 0;
    }
    
    main.container-fluid {
        padding: 15px;
    }
    
    /* Mobile toggle button in header area */
    .mobile-nav-toggle {
        position: fixed;
        top: 20px;
        left: 20px;
        z-index: 1001;
        background: #fff;
        border: 1px solid #ddd;
        padding: 8px 10px;
        border-radius: 4px;
        box-shadow: 0 2px 5px rgba(0,0,0,0.1);
    }
    
    .mobile-nav-toggle .icon-bar {
        display: block;
        width: 18px;
        height: 2px;
        background-color: #495057;
        margin: 3px 0;
    }
}

/* Dropdown menu adjustments for sidebar */
.nav-vertical .dropdown-menu {
    position: static;
    float: none;
    width: auto;
    margin-top: 0;
    background: rgba(0,0,0,0.2);
    border: none;
    border-radius: 0;
    box-shadow: inset 0 2px 8px rgba(0,0,0,0.2);
}

.nav-vertical .dropdown-menu li a {
    padding: 10px 35px;
    font-size: 14px;
    color: rgba(255,255,255,0.8);
    border-left: 4px solid transparent;
}

.nav-vertical .dropdown-menu li a:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
    border-left-color: rgba(255,255,255,0.6);
    transform: translateX(3px);
}

.nav-vertical .dropdown-toggle::after {
    float: right;
    margin-top: 8px;
    color: rgba(255,255,255,0.7);
}

.nav-vertical .dropdown-toggle[aria-expanded="true"]::after {
    transform: rotate(180deg);
}

/* Notification dropdown special styling */
.nav-vertical .dropdown-menu.notifications {
    position: absolute;
    left: 100%;
    top: 0;
    min-width: 350px;
    max-height: 450px;
    overflow-y: auto;
    background: rgba(255,255,255,0.98);
    backdrop-filter: blur(15px);
    border-radius: 12px;
    margin-left: 10px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.2);
    z-index: 1050;
}

.nav-vertical .dropdown-menu.notifications::before {
    content: '';
    position: absolute;
    left: -8px;
    top: 20px;
    width: 0;
    height: 0;
    border-top: 8px solid transparent;
    border-bottom: 8px solid transparent;
    border-right: 8px solid rgba(255,255,255,0.98);
}

.nav-vertical .dropdown-menu.notifications li a {
    color: #333;
    border-left: none;
    padding: 12px 15px;
    display: flex;
    align-items: flex-start;
    font-size: 13px;
    line-height: 1.4;
}

.nav-vertical .dropdown-menu.notifications li a:hover {
    background: rgba(102, 126, 234, 0.08);
    color: #333;
    transform: none;
    border-left: none;
}

.nav-vertical .dropdown-menu.notifications li:first-child {
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
}

.nav-vertical .dropdown-menu.notifications li:last-child {
    border-bottom-left-radius: 12px;
    border-bottom-right-radius: 12px;
}

.nav-vertical .dropdown-menu.notifications .notification-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 15px;
    font-weight: 600;
    border-top-left-radius: 12px;
    border-top-right-radius: 12px;
    margin: 0;
}

.nav-vertical .dropdown-menu.notifications .no-notifications {
    text-align: center;
    padding: 30px 20px;
    color: #999;
    font-style: italic;
}
