/* custom DMS css -- START */

.header-nav {
    background: white;
}

.navbar-custom {
    padding: 1rem 4rem !important;
}

.text-nav {
    font-family: Poppins !important;
    color: #333;
}

ul li a.nav-link {
    color: #333 !important;
    padding-left: 1rem !important;
    padding-right: 1rem !important;
    font-family: Poppins;
}

ul li a.nav-link.active {
    border-bottom: 2px solid #F06920;
}

button.btn-main {
    background-color: #F06920;
    color: white;
    font-size: 14px;
    font-family: Poppins;
}

button.btn-secondary {
    background-color: white;
    color: #F06920;
    border-color: #F06920;
    font-size: 14px;
    font-family: Poppins;
    margin-right: 10px;
}

button.btn-main2 {
    background-color: #F06920;
    color: white;
    font-size: 16px;
    padding: 1rem 3rem;
}

button.btn-main:hover , button.btn-main2:hover {
    background-color: #AD4208;
    color: white;
}

button.btn-main-white {
    padding: 0.7rem 1.5rem;
    background-color: white;
    color: #F06920;
    font-size: 14px;
    float: right;
    margin-top: 25px;
}

button.btn-main-white:hover {
    background-color: white;
}

/* contentDMS */

#wrapperContent {
    position: relative;
}

.contentDMS {
    padding: 5rem 5rem 0 5rem;
    margin: 0 auto;
    font-family: Poppins;
}

.contentOther {
    padding: 3rem 5rem;
    margin: 0 auto;
    font-family: Poppins;
    text-align: center;
}

.bg {
  position: absolute; 
  z-index: -1;
  top: 5rem;
}

.MainTagline {
    color: #333;
    font-size: 56px;
    font-weight: bold;
    line-height: 5rem;
}

.ShortDesc {
    color: #999;
    margin: 1rem 0 2rem 0;
    line-height: 1.5rem;
}

.JobVacancy {
    text-align: center;
    margin: 4rem 0 5rem 0;
}

.Client {
    text-align: center;
    margin: 6rem 0 4rem 0;
}

.JobVacancy > .Title , .Client > .Title {
    font-size: 40px;
    font-weight: bold;
    margin-bottom: 2rem;
}

.JobList {
    background-color: #FEF0E9;
    padding: 20px;
    border-radius: 10px;
    color: #333;
    text-align: left;
}

.iconJob {
    text-align: left;
    margin-bottom: 10px;
}

.JobList h1 {
    font-size: 20px;
    font-weight: bold;
}

.JobList h2 {
    font-size: 14px;
    margin-top: 10px;
    line-height: 1.5rem;
    color: #999;
}

.whyDMS {
    font-size: 40px;
    color: #333;
    font-weight: bold;
}

.whyDMS span {
    margin-bottom: 20px;
    display: block;
}

.uspList {
    font-size: 16px;
    margin: 10px 0;
}

.uspList img {
    width: 32px;
    display: block;
    float: left;
    margin-right: 10px;
}

.uspList span {
    margin-bottom: 12px;
    text-align: left;
    vertical-align: middle;
}

.Client img {
    height: 80px;
    width: auto;
    margin: 0 20px 50px 20px;
}

.ButtonBot {
    background-color: #F06920;
    padding: 3rem;
    border-radius: 20px;
    position: relative;
}

.clear {
    clear: both;
}

.ButtonBot-Text {
    float: left;
    font-size: 36px;
    color: white;
    font-weight: bold;
}

.footer {
    width: 100%;
    padding: 10rem 0 3rem 0;
    background-color: #333;
    color: white;
    font-family: Poppins;
    text-align: center;
    font-size: 14px;
    margin-top: -100px;
}

.footer2 {
    width: 100%;
    padding: 4rem 1.5rem;
    background-color: #333;
    color: white;
    font-family: Poppins;
    text-align: center;
    font-size: 14px;
    margin-top: 60px;
}

.img-mobile {
    display: none;
}

.contentOther h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: left;
}

.contentOther h2 {
    font-size: 16px;
    color: #333;
    line-height: 28px;
    margin-top: 20px;
    text-align: left;
    margin-bottom: 40px;
}

.contentOther img {
    width: 40%;
    margin-top: 20px;
}

.map-img img {
    width: 80%;
    margin-top: -30px;
}

.contact-info {
    margin-top: 20px;
    margin-bottom: 20px;
    text-align: left;
    position: relative;
}

.contact-info img {
    width: 48px;
    float: left;
    margin-right: 20px;
    margin-top: 0;
}

.contact-info span {
    font-size: 16px;
    margin: 0;
    position: absolute;
}

.contentVacancy , .contentRegistration {
    font-family: Poppins;
    margin: 20px auto 0 auto;
    width: 780px;
}

.contentVacancy h1 , .contentRegistration h1 {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    text-align: center;
    margin-top: 50px;
}

.contentVacancy span {
    display: block;
    margin-top: 20px;
    margin-bottom: 10px;
}

.vacancyList {
    border: 1px solid #ddd;
    background-color: white;
    padding: 1rem;
    border-radius: 10px;
    margin: 10px 3px 20px 3px;
}

.vacancyName {
    font-size: 18px;
    color: #F06920;
    font-weight: bold;
}

.vacancyLoc {
    display: grid;
    grid-template-columns: 20px 4fr;
    margin: 5px 0 5px 0;
}

.vacancyLoc span {
    color: #999;
    font-size: 14px;
    margin: 0px 0 5px 0;
    font-weight: normal;
    max-width: 90%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.vacancyDesc span {
    font-size: 14px;
    margin: 2px 0;
}

a.btn-apply {
    width: 100%;
    padding: 10px 0;
    background-color: #F06920;
    color: white;
    font-size: 14px;
    margin-top: 15px;
    text-align: center;
    text-decoration: none;
    border-radius: 10px;
}

button.btn-apply {
    width: 100%;
    padding: 10px 0;
    background-color: #F06920;
    color: white;
    font-size: 14px;
    margin-top: 15px;
}

.form-group label {
    font-size: 14px;
}

div a span.avatar {
    width: 40px;
    height: 40px;
    background-color: #333;
    border-radius: 50%;
    text-align: center;
    text-transform: uppercase;
    padding-top: 6px;
    display: block;
    color: white;
    text-decoration: none;
}

.big-avatar {
    width: 150px;
    height: 150px;
    margin: 0 auto;
    background-color: #333;
    border-radius: 50%;
    color: white;
    text-align: center;
    font-size: 32px;
    padding-top: 50px;
}

.jobDetail {
    text-align: left;
    font-size: 14px;
}


/*responsive*/
@media (max-width: 576px) {
    .px-5 {
        padding-left: 1rem !important;
        padding-right: 1rem !important;
    }

    ul li a.nav-link {
        padding: .5rem 0 !important;
    }
    
    ul li a.nav-link.active {
        color: #F06920 !important;
        border-bottom: none;
    }

    .bg img {
        display: none;
    }

    .img-desktop img {
        display: none;
    }

    .contentDMS , .contentOther {
        padding: 1rem;
        margin: 0 auto;
        font-family: Poppins;
    }

    .MainTagline {
        color: #333;
        font-size: 40px;
        font-weight: bold;
        line-height: 3.2rem;
        text-align: center;
    }
    
    .ShortDesc {
        color: #999;
        padding: 0;
        line-height: 1.5rem;
        font-size: 16px;
        text-align: center;
    }

    button.btn-main2 {
        background-color: #F06920;
        color: white;
        font-size: 16px;
        padding: 1rem 3rem;
        width: 100%;
    }

    .img-mobile {
        display: block;
        margin-bottom: 20px;
    }

    .JobVacancy , .Client {
        text-align: center;
        margin: 4rem 0 4rem 0;
    }

    .whyDMS {
        font-size: 32px;
        color: #333;
        font-weight: bold;
        margin-top: 20px;
    }

    .Client img {
        height: 50px;
        width: auto;
        margin: 15px 10px;
    }

    .ButtonBot {
        background-color: #F06920;
        padding: 2rem;
        border-radius: 20px;
        position: relative;
    }
    
    .ButtonBot-Text {
        float: none;
        font-size: 24px;
        color: white;
        font-weight: bold;
        text-align: center;
    }

    button.btn-main-white {
        padding: 0.7rem 1.5rem;
        background-color: white;
        color: #F06920;
        font-size: 14px;
        float: none;
        margin-top: 25px;
        width: 100%;
    }

    .footer {
        width: 100%;
        padding: 10rem 1.5rem 3rem 1.5rem;
        background-color: #333;
        color: white;
        font-family: Poppins;
        text-align: center;
        font-size: 13px;
        margin-top: -130px;
    }

    .footer2 {
        width: 100%;
        padding: 2.5rem 1.5rem;
        background-color: #333;
        color: white;
        font-family: Poppins;
        text-align: center;
        font-size: 13px;
        margin-top: 60px;
    }

    .contentOther h2 {
        font-size: 14px;
        color: #333;
        line-height: 24px;
        margin-top: 20px;
        margin-bottom: 40px;
    }

    .contentOther img {
        width: 100%;
        margin-bottom: 20px;
    }

    .map-img img {
        width: 100%;
        margin-top: -30px;
    }

    .contact-info img {
        width: 48px;
        float: left;
        margin-right: 10px;
        margin-top: 0;
    }

    .contact-info span {
        font-size: 14px;
    }

    .contentVacancy , .contentRegistration {
        font-family: Poppins;
        margin: 20px auto 0 auto;
        width: 100%;
    }

    .contentVacancy h1 {
        font-size: 24px;
        font-weight: bold;
        color: #333;
        text-align: center;
        margin-top: 0;
    }

    span.avatar {
        background-color: #333;
        border-radius: 50%;
        text-align: center;
        text-transform: uppercase;
        padding: 7px 10px;
        margin-top: 20px;
        display: block;
    }

}

.grid-container {
    display: grid;
    gap: 16px; /* Adjust the gap between grid items as needed */
}

.grid-item {
    text-decoration: none;
}

.JobList {
    border: 1px solid #ddd; /* Add border for better visibility */
    padding: 16px; /* Add padding for better spacing */
    border-radius: 8px; /* Add border radius for rounded corners */
    transition: box-shadow 0.3s ease; /* Add transition for hover effect */
}

.JobList:hover {
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1); /* Add shadow on hover */
}

.iconJob img {
    display: block;
    margin: 0 0 16px; /* Center the image and add bottom margin */
}

.vacancyDesc {
    margin-top: 8px; /* Add top margin for better spacing */
}

/* Media query for mobile devices */
@media (max-width: 767px) {
    .grid-container {
        grid-template-columns: 1fr; /* 1 column on mobile */
    }
}

/* Media query for desktop devices */
@media (min-width: 768px) {
    .grid-container {
        grid-template-columns: repeat(3, 1fr); /* 3 columns on desktop */
    }
}