﻿#dropdownMenu {
    max-height: 14.571429rem;
}

#searchInput {
    border: 1px solid #794AFF;
    color: #794AFF;
}

#menu_city_search {
    border: 1px solid #794AFF;
    max-height: 15.014286rem;
}

#dropdownMenu_mobile {
    max-height: 9.571429rem;
}

    #dropdownMenu_mobile .item.selected {
        color: #794AFF !important;
        font-weight: 500;
        background-color: rgba(121, 74, 255, 0.05);
        position: relative;
    }

        /* Thêm icon tick cho item đã chọn */
        #dropdownMenu_mobile .item.selected:after {
            content: "\f00c"; /* Unicode cho icon check/tick từ Font Awesome hoặc UI framework */
            font-family: Icons; /* Font family của Semantic UI */
            position: absolute;
            right: 10px;
            color: #794AFF;
        }

#default-text-city-mobile {
    display: flex;
    align-items: center;
}

    #default-text-city-mobile i {
        margin-left: auto;
    }

#mySidebar {
    position: fixed;
    top: 0;
    left: -100%;
    /* Ẩn sidebar ban đầu */
    width: 100%;
    height: 100%;
    background-color: white;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.2);
    transition: left 0.3s ease;
    /* Thêm hiệu ứng chuyển động */
    /* padding-top: 20px; */
    padding: 10px;
    z-index: 101;
}

.header-sidebar-filter {
    display: flex;
    justify-content: space-between;
    flex-direction: row;
    padding: 15px;
    align-items: center;
    border-bottom: 1px solid #794AFF;
}

    .header-sidebar-filter .title-filter {
        font-size: 17px;
        font-weight: 700;
    }

#mySidebar.open {
    left: 0;
    /* Hiển thị sidebar khi có class 'open' */
}

#mySidebar .sidebar-item {
    padding: 15px 20px;
    text-decoration: none;
    font-size: 16px;
    color: #7158E2;
    border: 1px solid #7158E2;
    /*        margin: 15px;*/
    margin-top: 15px;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    margin-bottom: 20px;
    /* background: #f3f3f3; */
}

.sidebar-item .sidebar-item-content {
    display: flex;
    margin-top: 10px;
    border: 1px solid #794AFF;
    border-radius: 10px;
    padding: 10px;
}

.sidebar-item-content .icon-sidebar-item-first {
    width: 20px;
    height: 20px;
}

.sidebar-item .item-content-filter-exp {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-item .item-content-filter-salary {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-item .item-content-filter-level {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.sidebar-item .item-content-filter-empT {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

#name-span {
    font-size: 16px;
    font-weight: 600;
}

#item-content {
    padding: 7px 10px;
    border-radius: 15px;
    cursor: pointer;
    font-size: 14px;
    font-weight: 400;
    background: #f2f1f3;
    cursor: pointer;
}

.bottom-sidebar-filter {
    display: flex;
    justify-content: space-evenly;
    align-items: center;
    padding: 10px 15px;
    position: absolute;
    border-top: 1px solid #794AFF;
    bottom: 0;
    left: 0;
    width: 100%;
    background: white;
    z-index: 100;
    box-sizing: border-box;
}


.sidebar-item .sidebar-item-group {
    display: flex;
    width: 100%;
    margin-left: 10px;
    justify-content: space-between;
}

#mySidebar .close-btn {
    background: none;
    color: #7158E2;
    border: none;
    font-size: 35px;
    padding-bottom: 10px;
    /* padding-right: 10px; */
    cursor: pointer;
    /* width: 100%; */
    text-align: right;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 100;
}

    .overlay.active {
        display: block;
        /* Hiển thị overlay khi có class 'active' */
    }

#scroll-bar-filter-pro {
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    overscroll-behavior: contain;
    height: 100%; /* Fallback */
    max-height: 100%;
    touch-action: pan-y;
}

#mySidebar {
    overflow: hidden;
}

/*SKELETON*/
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}
/*SEARCHJOBS*/
.List_job_new_2 {
    margin-top: 30px;
}

.pagination-group {
    text-align: center;
    margin: 10px;
}

#page-info {
    font-weight: bold;
}

#pagination {
    text-align: center;
}

#prev-page {
    color: #7158E2;
    border: 1px solid #7158E2;
    height: 30px;
    background: white;
    width: 30px;
    border-radius: 50%;
}

    #prev-page:hover {
        background: #7158E2;
        color: white;
    }

#next-page {
    color: #7158E2;
    border: 1px solid #7158E2;
    height: 30px;
    background: white;
    width: 30px;
    border-radius: 50%;
}

    #next-page:hover {
        background: #7158E2;
        color: white;
    }


    #prev-page:disabled,
    #next-page:disabled {
        background: #ccc;
        color: #888;
        border: 1px solid #ccc;
        cursor: not-allowed;
        opacity: 0.6;
        pointer-events: none;
    }

        #prev-page:disabled:hover,
        #next-page:disabled:hover {
            background: #ccc;
            color: #888;
        }



.list-job-breadcrumb {
    margin-bottom: -10px;
    font-size: 15px;
    font-weight: 600;
    color: #333333;
}

#breadcrum-list-job .section {
    font-size: 15px;
    color: #333333 !important;
    font-weight: 600;
}

#breadcrum-list-job .section a {
    font-size: 15px;
    color: #794AFF !important;
    font-weight: 600;
}

#breadcrum-list-job .divider {
    font-size: 15px;
    color: #794AFF;
    font-weight: 600;
}


.eleven.wide.column .header-right-search-by {
    justify-content: space-between;
    display: flex;
    font-weight: 500;
    align-items: center;
}


.itemlvl2 {
    list-style-type: none;
}

.itemlvl3 {
    list-style-type: none;
}

    /* Tạo wrapper cho input */
    .itemlvl2 label, .itemlvl3 label {
        position: relative;
        display: inline-block;
        padding-left: 25px;
        cursor: pointer;
        display: inline-block;
        max-width: 280px; 
        overflow: hidden;
        text-overflow: ellipsis;
        white-space: nowrap;
    }

    /* Style cho input checkbox */
    .itemlvl2 input[name="foptions"],
    .itemlvl3 input[name="foptions"] {
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        opacity: 1; /* Ẩn checkbox mặc định nhưng vẫn giữ chức năng */
        z-index: 1;
        cursor: pointer;
        accent-color: #671bff;
    }

    /* Tạo custom checkbox */
    /* Tạo custom checkbox */
    .itemlvl2 label::before,
    .itemlvl3 label::before {
        content: '';
        position: absolute;
        left: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 18px;
        height: 18px;
        border: 2px solid #794AFF;
        border-radius: 3px;
        background: #fff;
        pointer-events: none;
    }

    /* Style khi checkbox được check */
    .itemlvl2 input[name="foptions"]:checked + label::before,
    .itemlvl3 input[name="foptions"]:checked + label::before {
        background: #794AFF;
    }

    /* Thêm dấu check */
    .itemlvl2 input[name="foptions"]:checked + label::after,
    .itemlvl3 input[name="foptions"]:checked + label::after {
        content: '✔';
        position: absolute;
        left: 2px;
        top: 0;
        transform: translateY(-50%);
        color: white;
        font-size: 14px;
        pointer-events: none;
    }








/*CHECKBOX CON DANH MUC NGHE*/
#list-checkbox-child {
    font-size: 14px;
}

    #list-checkbox-child input[type="checkbox"] {
        display: none; /* Ẩn checkbox mặc định */
    }

        #list-checkbox-child input[type="checkbox"] + label {
            position: relative;
            padding-left: 30px; /* Tạo không gian cho checkbox giả */
        }

            #list-checkbox-child input[type="checkbox"] + label::before {
                content: '';
                position: absolute;
                left: 0;
                top: 0;
                width: 18px;
                height: 18px;
                background: #fff;
                border-radius: 3px;
                border: 2px solid #794AFF; /* Viền checkbox */
            }

        #list-checkbox-child input[type="checkbox"]:checked + label::before {
            background: #794AFF; /* Màu nền của checkbox khi checked */
        }

        #list-checkbox-child input[type="checkbox"]:checked + label::after {
            content: '✔'; /* Dấu tick */
            position: absolute;
            left: 1px; /* Đặt vị trí dấu tick bên trong checkbox */
            top: 1px;
            color: white; /* Màu trắng cho dấu tick */
            font-size: 16px; /* Điều chỉnh kích thước dấu tick */
        }

        #list-checkbox-child input[type="checkbox"]:checked + label {
            color: #794AFF;
        }


#card-content {
    border-radius: 10px;
    outline: 0.5px solid rgba(183, 151, 248, 0.3);
    margin: 10px 0px 10px 0px;
    padding: 10px;
    background: #FFFFFF;
}

    #card-content:hover {
        outline: 1px solid #602acb;
        box-shadow: 0 1px 7px #b797f8;
    }

    #card-content .bottom-content-list-job {
        display: flex;
        justify-content: space-between;
    }

.header-search-job-load .header-search-job-load-logo {
    width: 80px;
    height: 80px;
    border: 1px solid #e9eaec;
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

    .header-search-job-load .header-search-job-load-logo img {
        width: 65px;
        height: 65px;
        border: none;
        object-fit: contain;
    }

.header-search-job-load .content-job-group {
    margin-left: 10px;
}

.content-job-group .clamp-two-lines {
    font-weight: 600;
    padding: 0;
    margin: 0;
    /*    cursor: pointer;*/
}

.content-job-group .company-name-job {
    font-size: 17px;
    font-weight: 500;
    padding: 0;
    margin-bottom: 5px;
    margin-top: 5px;
    color: #808080;
    text-transform: uppercase;
    cursor: pointer;
}

.card-content .bookmark.icon.active {
    color: #652CD4;
    font-weight: bold;
}

.card-content .disabled {
    pointer-events: none;
    opacity: 0.5;
    cursor: not-allowed;
}

.middle-content-left-list-job {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

    .middle-content-left-list-job .middle-content-job {
        align-items: center;
        background: #80cbc41c;
        border-radius: 100px;
        display: flex;
        font-size: 12px;
        gap: 4px;
        justify-content: center;
        border: 0.5px solid rgba(183, 151, 248, 0.3);
        padding: 4px 10px;
        color: #000000;
    }


.bottom-content-list-job .name-profession-text {
    font-size: 12px;
    color: #757575;
    font-weight: 500;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
    text-overflow: ellipsis;
}

.left-header-loc-nang-cao {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 10px;
    margin-bottom: 10px;
    border-bottom: 1px solid #cccccc66;
}

    .left-header-loc-nang-cao .name-filter-left {
        font-size: 20px;
        color: #000000;
        font-weight: bold;
    }

#left-column-filter {
    position: sticky;
    top: 85px;
    height: 100%;
}

#clear-filter-all {
    padding: 6px;
    background: #794AFF;
    color: white;
    height: 35px;
    border-radius: 10px;
    font-weight: 400;
}

    #clear-filter-all:hover {
        background: #845bf5;
    }

.profession-name-text {
    color: #000000;
    font-size: 14px;
    font-weight: 600;
}

#apply-button-left {
    margin-top: 10px;
    width: 100%;
    padding: 6px;
    background: #794AFF;
    color: white;
    height: 35px;
    border-radius: 10px;
    font-weight: 400;
}

#notification-badge-count {
    position: absolute;
    right: 10px;
    top: 6px;
    background-color: red;
    color: white;
    font-size: 12px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.header-right-search-by .filter-name-choose {
    align-items: center;
    background: #f0f0f0;
    border: 1px solid #e3e6ea;
    border-radius: 24px;
    color: #333333;
    cursor: pointer;
    display: flex;
    font-size: 14px;
    font-weight: 500;
    padding: 1px 10px;
    transition: background-color 0.3s, color 0.3s;
}

    .header-right-search-by .filter-name-choose.active {
        background: #794AFF;
        color: white;
    }

#selection-dropdown-sort-by-pc {
    border: 1px solid #794AFF;
    color: #794AFF;
}

    #selection-dropdown-sort-by-pc .default.text {
        color: #794AFF !important;
    }

#ung-tuyen-job {
    background: #6435c9;
    color: #fff;
    height: 35px;
    border-radius: 5px;
    padding: 8px;
    /*    font-weight: 400;*/
    /*    border: 1px solid #794AFF;*/
}

    #ung-tuyen-job:hover {
        background: #794AFF;
        color: white;
    }

#list-checkbox-child {
    display: none;
}

#see-more-profession {
    text-decoration: none;
    color: #794AFF;
    font-size: 14px;
}


.bottom-left-header-loc-nang-cao {
    overflow-y: auto;
    overflow-x: hidden;
    /*    height: 700px;*/
    padding-right: 5px;
    margin-bottom: 10px;
}

    /* Điều chỉnh chiều rộng thanh trượt */
    .bottom-left-header-loc-nang-cao::-webkit-scrollbar {
        width: 3px;
    }

    /* Điều chỉnh phần thanh trượt nền */
    .bottom-left-header-loc-nang-cao::-webkit-scrollbar-track {
        background: #f1f1f1; /* Màu nền thanh trượt */
    }

    /* Điều chỉnh thanh trượt (handle) */
    .bottom-left-header-loc-nang-cao::-webkit-scrollbar-thumb {
        background: #794AFF; /* Màu thanh trượt */
        border-radius: 10px; /* Bo tròn các góc của thanh trượt */
    }

        /* Hiệu ứng khi hover thanh trượt */
        .bottom-left-header-loc-nang-cao::-webkit-scrollbar-thumb:hover {
            background: #6a3eec; /* Màu khi hover */
        }



/*CHECKBOX RADIO */
#checkbox-radio-group {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    margin-top: 10px;
}

    /* Style cho từng radio button */
    #checkbox-radio-group .field {
        margin-bottom: 6px;
    }

    #checkbox-radio-group .ui.radio.checkbox {
        display: flex;
        align-items: center;
        cursor: pointer;
    }

        #checkbox-radio-group .ui.radio.checkbox input[type="radio"] {
            width: 16px;
            height: 16px;
            margin-right: 8px;
            background-color: #794AFF;
            border-color: #794AFF;
        }

            #checkbox-radio-group .ui.radio.checkbox input[type="radio"]:checked::before {
                background-color: #794AFF;
            }

            #checkbox-radio-group .ui.radio.checkbox input[type="radio"]:checked + label {
                color: #794AFF;
            }

        #checkbox-radio-group .ui.radio.checkbox label {
            font-size: 14px;
            color: #333;
            cursor: pointer;
        }

#visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    border: 0;
}

@media(max-width:767px) {
    #filter-nang-cao {
        width: 106%;
        height: 100%;
        display: flex;
    }

    #ung-tuyen-job {
        height: 31px;
    }

    .header-search-job-load .header-search-job-load-logo {
        width: 80px;
        height: 80px;
        flex-shrink: 0;
    }

        .header-search-job-load .header-search-job-load-logo img {
            width: 65px;
            height: 65px;
        }

    .content-job-group .clamp-two-lines {
        font-weight: 600;
        font-size: 14px;
        padding: 0;
        margin: 0;
        padding-top: 5px;
        color: #794AFF;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    #selection-dropdown-sort-by-1 {
        min-width: 11em !important;
    }

    #selection-dropdown-sort-by-2 {
        min-width: 11em !important;
    }

    .content-job-group .company-name-job {
        font-size: 12px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .middle-content-left-list-job {
        display: flex;
        flex-wrap: wrap;
        gap: 5px;
    }

        .middle-content-left-list-job .middle-content-job:nth-child(2),
        .middle-content-left-list-job .middle-content-job:nth-child(3) {
            display: none;
        }


        .middle-content-left-list-job .middle-content-job {
            padding: 0px 6px;
        }

    #time-up-job {
        display: none;
    }

    .bottom-content-list-job .name-profession-text {
        width: 53%;
    }
}

@media(max-width: 1199px) {
/*    #card-content {
        border: 1px solid rgba(183, 151, 248, 0.3);
    }*/

    #left-column-filter {
        display: none;
    }

    #filter-nang-cao {
        width: 100%;
        height: 100%;
        display: flex;
    }

    #selection-dropdown-sort-by-1 {
        width: 100%;
    }

    .list-job-breadcrumb {
        margin-bottom: 20px;
    }

    #selection-dropdown-sort-by-2 {
        width: 96%;
    }

    .content-job-group .clamp-two-lines a {
        font-weight: 600;
        font-size: 15px;
        padding: 0;
        color: #000000;
        margin: 0;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        line-height: 1.2;
    }

    .content-job-group .company-name-job {
        font-size: 14px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    .bottom-content-list-job .name-profession-text {
        font-size: 14px;
        color: #808080;
        font-weight: 500;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }


    #right-column-list-job {
        margin-top: -25px !important;
        width: 100% !important;
    }

    .eleven.wide.column .header-right-search-by {
        display: none;
    }
}



@media (min-width:768px) and (max-width: 1199px) {
    .bottom-content-list-job .name-profession-text {
        padding-left: 120px;
    }

    .bottom-content-list-job .name-profession-text {
        width: 60%;
    }
}

@media(max-width: 1199px) {
    .List_job_new_2 {
        margin-top: 10px;
    }
}

@media(min-width: 1200px) {
    #filter-mobile-tablet-display {
        display: none;
    }

    #mobile-show {
        display: none;
    }

    .list-job-breadcrumb {
        margin-top: -20px;
        margin-bottom: 20px;
    }

    .content-job-group .clamp-two-lines {
        font-size: 18px;
        display: -webkit-box;
        -webkit-line-clamp: 2;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .clamp-two-lines .normal-text {
        color: #000000;
        font-size: 15px;
    }

    .content-job-group .company-name-job {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
    }

    .bottom-content-list-job .name-profession-text {
        font-size: 13px;
        display: -webkit-box;
        -webkit-line-clamp: 1;
        -webkit-box-orient: vertical;
        overflow: hidden;
        text-overflow: ellipsis;
        padding-left: 120px;
        width: 50%;
    }

    #right-column-list-job {
        padding-left: 3px;
    }
}
