﻿/*.company-general::before {
  content: ""; 
  position: absolute; 
  top: -52px;
  left: 0;
  width: 100%; 
  height: 400px; 
  background-image: url(../Images/company_info/banner.png);
  background-repeat: no-repeat;
  background-size: 100% 400px; 
  background-position: center;
  z-index: -1; 
}*/
.three.wide.column.follow-NTD_group {
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding-top: 70px;
}
.follow-button.followed {
    background-color: #d3bbf7 !important;
    border-color: #d3bbf7 !important;
    color: #333 !important;
}
.follow-button {
    background-color: #5a23b0 !important;
    color: white !important;
    font-weight: 600;
    border-radius: 6px !important;
}

    .follow-button i.icon {
        margin-right: 6px;
    }

.ui.button.share-copy_link-btn {
    --tw-bg-opacity: 1;
    background-color: rgba(240, 237, 248, var(--tw-bg-opacity));
}

.hidden {
    display: none;
}

.container-header {
    background: linear-gradient(103.05deg, rgb(74 86 255 / 40%) -7.56%, rgb(194 137 255 / 40%) 106.5%), linear-gradient(0deg, rgb(139 63 205), rgb(116 70 157));
    box-shadow: inset 2px 2px 4px rgba(0, 0, 0, 0.3), inset -2px -2px 4px #00000040;
    border-bottom-left-radius: 10px;
    border-bottom-right-radius: 10px;
}

.company-item {
    font-size: small;
    padding: 5px 15px 2px 0px;
}

.truncate-text-1 {
    white-space: nowrap;
    text-overflow: ellipsis;
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.grid-container-body-item-header {
    padding: 13px 20px 0px 20px !important;
    /*background: #7e41f6;*/
    background: linear-gradient(103.05deg, rgb(74 86 255 / 40%) -7.56%, rgb(194 137 255 / 40%) 106.5%), linear-gradient(0deg, rgb(139 63 205), rgb(116 70 157));
    height: 45px;
    /*margin: 2em 0 0 0 !important;*/
    border-top-left-radius: 5px;
    border-top-right-radius: 5px;
    color: #ffffff;
    font-size: 20px;
    font-weight: 500;
}

.grid-container-detail {
    display: grid;
    grid-template-columns: 0.7fr 4fr 0.7fr;
    gap: 5px;
    width: 100%;
    border-radius: 8px;
    border: 0.5px solid rgba(183, 151, 248, 0.3);
    padding: 1em;
    margin-top: 1em;
    transition: border-color 0.1s ease-in-out;
    height: 130px;
}

    .grid-container-detail:hover {
        outline: 1px solid var(--relate-job-item-tim);
        cursor: pointer;
        box-shadow: 0 1px 7px var(--relate-job-item-tim-nhat);
    }

        .grid-container-detail:hover a {
            color: rgb(126, 65, 246);
        }

.img-item-detail-container {
    float: left;
    width: 100px;
    height: 100px;
    display: block;
    margin-right: 1em;
    object-fit: contain;
    padding: 10px;
    background: #ffffff;
    border: 1px solid #e9eaec;
    border-radius: 8px;
}

.title-item-detail {
    padding-top: 5px;
    padding-bottom: 5px;
    font-size: 16px;
    font-weight: 600;
}

    .title-item-detail a {
        font-size: 16px;
        font-weight: 700;
        color: #000000;
        margin-bottom: .3em;
    }


.inactive-detail {
    color: gray !important;
}

.grid-item-detail-apply-favorite {
    display: grid;
    grid-template-columns: 3fr 1fr;
    gap: 5px;
    width: 100%;
}

.grid-infomation {
    display: grid;
    grid-template-columns: 1fr 8fr;
    gap: 5px;
    width: 100%;
}

.save-button {
    background: white !important;
    font-weight: normal !important;
    outline: 1px solid #6435c9 !important;
    outline-offset: -1px;
    color: #6435c9 !important;
}

    .save-button:hover {
        outline: 1px solid #b193f2 !important;
        background: #b193f2 !important;
        color: #FFFFFF !important;
    }

.button-apply-search {
    border-radius: 15px;
    border: 2px solid #794AFF;
    background-color: #794AFF;
    color: #ffffff;
    height: 40px;
    width: 98%;
}

.button-apply-detail {
    border-radius: 8px;
    border: 1px solid #794AFF;
    background-color: #ffffff;
    margin-top: 18%;
    height: 40px;
    width: 100px;
    padding-top: 7px;
    color: #794AFF;
}

    .button-apply-detail a {
        margin-left: 20px;
        color: inherit;
    }

.grid-container-detail:hover .button-apply-detail {
    background-color: #794AFF;
    color: #ffffff;
}

.item-header {
    display: ruby;
}

.icon-hear {
    width: 40px; /* Chiều rộng */
    height: 40px; /* Chiều cao */
    background-color: #6202ee; /* Màu nền (xanh lá cây) */
    border-radius: 50%; /* Tạo hình tròn */
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

    .icon-hear i {
        position: absolute;
        color: white;
        font-size: large;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.icon-contact {
    width: 40px;
    height: 40px;
    margin-left: 15px;
    background-color: #dfe2e5;
    border-radius: 5px;
    display: flex;
    position: relative;
    justify-content: center;
    align-items: center;
}

    .icon-contact i {
        position: absolute;
        color: #6913d8;
        font-size: large;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
    }

.company-list-contact {
    display: flex;
    padding-top: 23%;
    justify-content: flex-end;
}

.header h1 {
    font-size: 1.3rem;
}

.mt-10 {
    margin-top: 10px;
}

.mt-20 {
    margin-top: 20px;
}

.img-icon {
    background: #b8b8b8 !important;
}

/* Company Info Section */
.company-info {
    color: #000;
    font-weight: normal;
    font-size: medium;
}

.follow .ui.active.button {
    background: #4c0002;
    color: white;
    transition: all 0.3s ease; /* Hiệu ứng chuyển đổi mượt */
}

    .follow .ui.active.button:hover {
        background: #a83926; /* Màu nền khi hover */
        color: #fff; /* Màu chữ khi hover */
    }

.ui.grid > .row {
    margin-bottom: 5px; /* Giảm khoảng cách giữa các hàng */
}

.follow {
    text-align: right;
}

/* details */

/*.custom-card {
  padding: 0px 22px 0px 22px;
}*/

.map-container img {
    width: 100%;
    max-height: 300px;
    border-radius: 10px;
    padding-top: 5px;
    object-fit: cover;
    object-position: center;
}

.list-image img {
    max-width: 250px;
    max-height: 250px;
    height: 100%;
    width: 100%;
}

.custom-title h6 {
    font-size: 18px;
    margin-bottom: 10px;
}

.description {
    margin-top: 10px;
    max-height: 258px;
    overflow: hidden;
    text-overflow: ellipsis;
    position: relative;
    transition: max-height 0.3s ease;
    text-align: justify;
}

    .description.expanded {
        max-height: none;
    }

.show-more {
    display: block;
    margin-top: 10px;
    color: #4183c4;
    text-decoration: none;
    cursor: pointer;
}

.slick-cpn-img {
    width: 100%;
    height: 600px;
    object-fit: contain;
}

/* Reponsive */

@media only screen and (max-width: 1024px) {
    .slick-cpn-img {
        height: 450px;
    }
    /* Màn hình iPad (chế độ ngang và dọc) */
    .company-head {
        padding-top: 280px;
    }

    .company-list-contact {
        padding-top: 15%; /* Điều chỉnh khoảng cách */
        justify-content: center; /* Canh giữa nội dung */
    }

    .icon-hear,
    .icon-contact {
        width: 30px;
        height: 30px;
    }

    .company-logo {
        width: 100px; /* Tăng kích thước logo cho iPad */
        height: 100px;
    }

    .header h1 {
        font-size: 1.1rem; /* Điều chỉnh kích thước tiêu đề */
    }

    .description {
        font-size: 0.9rem; /* Giảm font chữ */
    }

    .custom-title h6 {
        font-size: 16px; /* Điều chỉnh tiêu đề nhỏ hơn */
    }
}

@media only screen and (max-width: 767px) {
    .slick-cpn-img {
        height: 250px;
    }

    .company-head {
        padding-top: 38%;
    }

    .company-logo {
        width: 100px;
        height: 100px;
        /*    margin-left: 25px;*/
        object-fit: contain;
    }

    .list-image img {
        max-height: none;
        max-width: none;
    }

    .company-list-contact {
        margin-top: 80px !important;
    }

    .three.wide.column.follow-NTD_group {
        display: flex;
        flex-direction: row;
        gap: 10px;
    }
}

.cpnif-swiper {
    min-height: 600px;
}

.cpnif-img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: pointer;
}

.cpnj-header-wrapper {
    background: #8734F1;
    border-top-left-radius: 4px;
    border-top-right-radius: 4px;
    padding: 2em;
}

    .cpnj-header-wrapper .header {
        color: white;
        font-size: 14px;
        font-weight: bold;
    }

.cpnj-jobs-wrapper {
    border: 1px solid #E9EAED;
    border-bottom-left-radius: 8px;
    border-bottom-right-radius: 8px;
    padding: 16px;
    max-height: 550px;
    overflow-y: auto;
}

    .cpnj-jobs-wrapper .ui.grid {
        border: 1px solid #E9EAED;
        border-radius: 4px;
        margin: 0 0 16px 0 !important;
        /* */
        /*opacity: 0;
    transform: translateY(50px);
    transition: opacity 0.3s ease, transform 0.3s ease;*/
    }

        .cpnj-jobs-wrapper .ui.grid:last-of-type {
            margin-bottom: 0 !important;
        }

        .cpnj-jobs-wrapper .ui.grid img[alt="logo"] {
            width: 100%;
        }

        .cpnj-jobs-wrapper .ui.grid .title {
            color: #040404;
            font-weight: bold;
            font-size: 16px;
        }

            .cpnj-jobs-wrapper .ui.grid .title .cpnj-inactive {
                color: gray;
            }

        .cpnj-jobs-wrapper .ui.grid .type {
            color: #1572B5;
            font-size: 10px;
        }

        .cpnj-jobs-wrapper .ui.grid .company {
            font-size: 12px;
            font-weight: bold;
        }

        .cpnj-jobs-wrapper .ui.grid .verified img {
            height: 16px;
            transform: translateY(2px);
        }

        .cpnj-jobs-wrapper .ui.grid .info {
            padding-left: 0;
            padding-right: 0;
        }

        .cpnj-jobs-wrapper .ui.grid .info-vertical {
            padding-top: 0;
        }

    .cpnj-jobs-wrapper .small-if {
        font-size: 10px;
        margin-right: 0.5em;
    }

    .cpnj-jobs-wrapper .small-ic {
        height: 16px;
        transform: translateY(4px);
    }

    .cpnj-jobs-wrapper .button.apply {
        background: #6913D80F;
        border-radius: 12px;
        font-size: 14px !important;
        height: 30px;
        padding: 0 15px 0 15px;
        color: #029D97;
        /*font-family: ui-sans-serif, -apple-system, system-ui, Segoe UI, Helvetica, Apple Color Emoji, Arial, sans-serif, Segoe UI Emoji, Segoe UI Symbol !important;*/
        align-content: center;
    }

    .cpnj-jobs-wrapper .bookmark {
        font-size: 24px;
        margin-bottom: 5px;
    }

    .cpnj-jobs-wrapper .mobile-only {
        display: none;
    }

@media (max-width: 767px) {
    .cpnj-jobs-wrapper .mobile-only {
        display: block;
    }

    .cpnj-jobs-wrapper .ui.grid {
        margin: 0 -17px 16px -17px !important;
    }

    .cpnj-jobs-wrapper {
        border: none;
    }
}

@media (min-width: 992px) {
    .three.wide.column.follow-NTD_group{
        padding-top: 90px;
    }
    .company-general {
        position: relative;
    }
    .company-list-head{
        margin-top: 40px !important;
    }
    .img-banner {
        width: 100%;
        height: 100%;
        background-size: 100%;
        background-position: center;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        z-index: -1;
    }

    .logo-company {
        text-align: center;
    }

    .company-logo {
        border-radius: 5px;
        border: 1px solid #7f817f;
        height: 137px;
        width: 137px;
        object-fit: contain;
        padding: 10px;
        background: white;
    }

    .grid-container-body {
        display: grid;
        grid-template-columns: 5fr 2fr;
        gap: 10px;
        width: 100%;
    }

    .grid-container-apply-filter {
        display: grid;
        grid-template-columns: 4fr 2fr 1fr;
        gap: 10px;
        width: 100%;
        margin-bottom: 20px;
    }

    .company-head {
        margin-top: -150px;
        padding-top: 70px;
    }

    .company-body-margin {
        margin-bottom: 25px;
    }

/*    .company-list-head {
        padding-top: 14% !important;
    }*/

    .grid-container-body-item {
        border-radius: 10px;
        box-shadow: 0px 0px 2px 2px #B39DDB80 inset, 2px 2px 2px 5px rgba(255, 255, 255, 0.5);
    }

    .grid-container-body-item-body {
        padding: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .grid-container-detail {
        display: grid;
        grid-template-columns: 0.7fr 4fr 0.7fr;
        gap: 5px;
        width: 100%;
        border-radius: 8px;
        border: 1px solid #14141480;
        margin: 5px 0px 5px 0px;
    }

    .grid-item-detail-bottom {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1.2fr;
        gap: 5px;
        width: 100%;
    }

    .grid-item-detail-apply-favorite {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 5px;
        width: 100%;
    }

    #item-favorite-mobile {
        display: none;
    }

    #time-remaining {
        background-color: #E5E3E3AB;
        border-radius: 20px;
        padding: 5px;
        margin-left: 20%
    }
}

@media(min-width: 768px) {
    .company-head-items {
        padding: 10px !important;
    }

    .nine.wide.column.group_company_name_short_name {
        padding: 0;
        align-content: center;
    }

    .company-list-head .company-name {
        padding-top: 25px;
    }

    .three.wide.column.follow-NTD_group {
        justify-content: flex-end;
    }

    .three.wide.column.follow-NTD_group {
        width: 21.75% !important
    }

    .three.wide.column.logo-company {
        width: 21.75% !important
    }

    .ui.button.follow-button {
        padding: 11px 0px;
    }

    .three.wide.column.follow-NTD_group {
        gap: 10px;
    }
}

@media (max-width: 992px) {

    .img-banner {
        width: 100%;
        height: 190px;
        background-size: 100%;
        background-position: center;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        z-index: -1;
    }

    .company-general {
        position: relative;
    }
    /*
    .company-head-items {
        margin-top: -25px;
        padding-left: 25px !important;
    }*/

    .logo-company {
        text-align: center;
    }

    .company-logo {
        border-radius: 5px;
        border: 1px solid #7f817f;
        height: 137px;
        width: 137px;
        padding: 5px;
        object-fit: contain;
        background: white;
    }

    .company-head {
        margin-top: -180px;
        padding-top: 125px;
    }

    .grid-container-apply-filter {
        display: grid;
        grid-template-columns: 4fr 2fr 1fr;
        gap: 10px;
        width: 100%;
        margin-bottom: 20px;
    }

    .grid-container-body {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .grid-container-body-item-body {
        padding: 10px;
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .company-body-margin {
        margin-bottom: 25px;
    }
    /*    .company-list-head {
        padding-top: 20% !important;
        padding-left: 15px;
    }*/
    .grid-container-body-item {
        border-radius: 10px;
        box-shadow: 0px 0px 2px 2px #B39DDB80 inset, 2px 2px 2px 5px rgba(255, 255, 255, 0.5);
    }

    .grid-container-detail {
        display: grid;
        grid-template-columns: 0.7fr 4fr 0.7fr;
        gap: 5px;
        width: 100%;
        border-radius: 8px;
        border: 1px solid #14141480;
        margin: 5px 0px 5px 0px;
    }

    .grid-item-detail-bottom {
        display: grid;
        grid-template-columns: 1fr 1.2fr 1.2fr;
        gap: 5px;
        width: 100%;
    }

    .grid-item-detail-apply-favorite {
        display: grid;
        grid-template-columns: 3fr 1fr;
        gap: 5px;
        width: 100%;
    }

    #item-favorite-mobile {
        display: none;
    }

    #time-remaining {
        background-color: #E5E3E3AB;
        border-radius: 20px;
        padding: 5px;
        margin-left: 20%
    }

    #map {
        width: 100%;
        height: 250px;
    }
}

@media (max-width: 500px) {
    .company-general {
        position: relative;
    }

    .img-banner {
        width: 100%;
        background-size: 100%;
        background-position: center;
        border-top-left-radius: 10px;
        border-top-right-radius: 10px;
        z-index: -1;
    }

    .company-head {
        margin-top: -175px;
    }

    .company-head-items {
        margin-top: -5px;
    }

    .logo-company {
        padding-left: 0px !important;
        margin-left: -10px;
    }

    .company-logo {
        border-radius: 5px;
        border: 1px solid #7f817f;
        height: 100px;
        width: 100px;
        /*        margin-right: -50px;*/
        padding: 2px;
        object-fit: contain;
        background: white;
    }

    /*    .company-list-head {
        padding-top: 28% !important;
        margin-left: 43px;
        width: 250px;
    }*/

    .grid-container-apply-filter {
        display: grid;
        grid-template-columns: 1fr;
        gap: 10px;
        width: 100%;
    }

    .grid-container-body-item-body {
        border-bottom-left-radius: 10px;
        border-bottom-right-radius: 10px;
    }

    .grid-container-body-item {
        border-radius: 10px;
        box-shadow: 0px 0px 2px 2px #B39DDB80 inset, 2px 2px 2px 5px rgba(255, 255, 255, 0.5);
        width: 100%;
    }

    .grid-container-detail {
        display: grid;
        grid-template-columns: 0.7fr 4.7fr;
        gap: 5px;
        width: 100%;
        border-radius: 8px;
        border: 1px solid #14141480;
        margin: 5px 0px 5px 0px;
    }

    .button-apply-detail {
        width: 80px !important;
    }

        .button-apply-detail a {
            margin-left: 5px;
            color: inherit;
        }

    .grid-item-detail-bottom {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        width: 100%;
    }

    #item-favorite {
        display: none;
    }

    #item-favorite-mobile {
        display: flex;
    }

    #time-remaining {
        background-color: #E5E3E3AB;
        border-radius: 20px;
        padding: 5px;
        margin-left: 0px;
    }

    .grid-item-detail-apply-favorite {
        display: grid;
        grid-template-columns: 1fr;
        gap: 5px;
        width: 100%;
        margin: 5px;
    }

    #map {
        width: 100%;
        height: 250px;
    }
}

.fit-image-container {
    overflow: hidden;
}

    .fit-image-container img {
        width: 100%;
        height: 100%;
        object-fit: cover;
    }

#cpnj-keyword {
    border-radius: 8px !important;
    border: 1px solid rgb(139 63 205);
    width: 100%;
    height: 38px;
    padding-left: 10px;
    outline: none;
    transition: border-color 0.3s ease;
}

    #cpnj-keyword:focus {
        border: 2px solid rgb(139 63 205);
    }

#cpnj-dropdown {
    border-radius: 8px !important;
    border: 1px solid rgb(139 63 205);
    width: 100%;
    height: 38px;
    outline: none;
    transition: border-color 0.3s ease;
}

    #cpnj-dropdown:focus {
        border: 2px solid rgb(139 63 205);
    }

#btn-action-search {
    height: 38px;
}

/*#modalCompanyImages {
    border-radius: 10px;
    border: 1px solid rgb(139 63 205);
}*/
