p, ul {
    margin-bottom: 0px !important;
}

h1, h2, h3, h4, h5, h6 {
    margin-bottom: 0px !important;
}

/* Popup overlay styles */
#job-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Add this */
    bottom: 0; /* Add this */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000; /* Ensure it appears on top of other elements */
    overflow: auto; /* Allow scrolling if content is too large */
    max-width: 100vw;
}

/* Popup content container */
#popup-content {
    position: relative;
    background-color: #fff;
    margin: 10% auto; /* Center the popup vertically and horizontally */
    padding: 30px;
    width: 80%;
    max-width: 800px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Add this to include padding in width calculation */
}

/* Close button */
#close-popup {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333333;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
}

#close-popup:hover {
    background-color: #000000;
}

/* Popup overlay styles */
#job-application-form-popup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0; /* Add this */
    bottom: 0; /* Add this */
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Semi-transparent background */
    z-index: 1000; /* Ensure it appears on top of other elements */
    overflow: auto; /* Allow scrolling if content is too large */
    max-width: 100vw;
}

/* Popup content container */
#popup-content-job-application {
    position: relative;
    background-color: #fff;
    margin: 10% auto; /* Center the popup vertically and horizontally */
    padding: 30px;
    width: 80%;
    max-width: 500px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Add this to include padding in width calculation */
}

/* Close button */
#close-popup-job-application {
    position: absolute;
    top: 10px;
    right: 10px;
    background-color: #333333;
    color: white;
    border: none;
    padding: 3px 10px;
    border-radius: 4px;
    cursor: pointer;
}

#close-popup-job-application:hover {
    background-color: #000000;
}

/* Job listing styles */
.job-item {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
}

.job-item h3 {
    margin-top: 0;
    color: #333;
    margin-bottom: 5px !important;
    line-height: 1.1;
}

.job-item button,
#job-popup .btn-apply {
    margin-right: 10px;
    padding: 8px 12px;
    background-color: #f39126;
    color: white;
    border: none;
    border-radius: 4px;
    line-height: 1.3;
    cursor: pointer;
}

.job-item button:hover,
#job-popup .btn-apply:hover {
    background-color: #d77f1f;
}

#job-popup .btn-actions {
    text-align: center;
}

/* Filter and pagination styles */
#job-filter, #job-pagination {
    margin-bottom: 20px;
}

#job-filter select {
    cursor: pointer;
    background-color: #fbf1e0;
    border-radius: 10px;
}

/* #job-category {
    padding: 8px;
    border-radius: 4px;
    border: 1px solid #ddd;
} */

#job-pagination button {
    padding: 8px 12px;
    background-color: #333333;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin-right: 10px;
}

#job-pagination button:hover {
    background-color: #000000;
}

#job-pagination button:disabled {
    background-color: #ccc;
    cursor: not-allowed;
}

#next-page {
    margin-left: 10px;
}

.job-item-details-more,
.hidden {
    display: none;
}

.job-item-icon {
    font-size: 1em;
    color: #999;
    margin-right: 10px;
    width: 12px;
}

.job-item-detail {
    display: flex;
    font-size: 0.9em;
    align-items: center;
}

.job-item-label {
    font-weight: bold;
    margin-right: 5px;
    display: none;
}

.show-label .job-item-label {
    display: block;
}

.job-item-value {
    font-size: 1em;
	color: #3A4F66;
}

.job-item-detail.job-no {
    color: #999;
}

.job-item-detail.job-no .job-item-value {
    font-size: 0.9em;
	color: #999;
}

/* .job-item-detail.job-locations .job-item-value,
.job-item-detail.job-category .job-item-value,
.job-item-detail.job-salary .job-item-value {
    font-size: 0.9em;
} */

.job-item-detail.job-description .job-item-value,
.job-item-detail.job-requirement .job-item-value,
.job-item-detail.job-hard-requirement .job-item-value,
.job-item-detail.job-races .job-item-value,
.job-item-detail.job-closing-date .job-item-value {
    color: #666;
}

.job-item-detail.job-description .job-item-label,
.job-item-detail.job-requirement .job-item-label,
.job-item-detail.job-hard-requirement .job-item-value,
.job-item-detail.job-races .job-item-label,
.job-item-detail.job-closing-date .job-item-label {
    color: #3A4F66;
}

.job-item-detail.job-description .job-item-label,
.job-item-detail.job-requirement .job-item-label {
    width: 100%;
    margin-bottom: 15px;
}

.item-margin-top {
    margin-top: 30px;
}

.item-flex-column {
    flex-direction: column;
    align-items: start;
}

.job-item-section {
    display: flex;
}

.job-item-section .job-item-column-left {
    width: 90%;
}

.job-item-section .job-item-column-right {
    width: 150px;
    align-content: center;
}

.job-item button.btn-view-details {
    margin: 0 20px 0 0;
    background-color: transparent;
    padding-left: 0;
    color: #f39126;
    font-size: 0.9em;
    font-weight: bold;
}

.job-item button.btn-view-details:hover {
    color: #d77f1f;
}

.btn-apply {
    margin: 20px;
}




/* Basic styling for tab container */
.tab-container {
    display: flex;
    flex-wrap: wrap;
    /* border-bottom: 1px solid #ccc; */
    margin-bottom: 20px;
}

/* Styling for each tab */
.tab {
    padding: 10px 20px;
    cursor: pointer;
    border: none;
    border-right: 1px solid #f0f2f5;
    background-color: #fff9f9;
    /* margin-right: 5px; */
    font-size: 0.9em;
    font-weight: 500;
}

/* Active tab styling */
.tab.active {
    background-color: #fff;
    border-top: 2px solid #f39126;
    border-left: 1px solid #ccc;
    border-right: 1px solid #ccc;
}

/* Content area for each tab */
.tab-content {
    display: none;
    padding: 20px;
    border: 1px solid #ccc;
    background-color: #fff;
}

/* Show active tab content */
.tab-content.active {
    display: block;
}

/* Form styling */
.apply-job-item {
    margin: 10px 0 20px 0;
    font-size: 0.9em;
    background-color: #eee;
    padding: 10px;
    border-radius: 4px;
}

.apply-job-item .apply-job-item-label {
    font-weight: bold;
    color: #888;
    margin-right: 5px;
}

#job-application-form-popup .fluentform .ff_upload_btn.ff-btn {
    padding: 8px 12px;
}

#job-application-form-popup .ff-btn-submit {
    margin-right: 10px;
    padding: 8px 12px;
    background-color: #f39126;
    color: white;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    width: 100px;
}

#job-application-form-popup .ff-btn-submit:hover {
	background-color: #d77f1f;
}

#job-application-form-popup .ff-message-success p {
    margin-bottom: 0;
}

#job-application-form-popup .iti__flag,
#job-application-form .iti__flag {
    /* To fix Hostinger issue to auto set image size to 1600px for very long image */
	background-image: url(https://templates-elementor.funnelswp.com/wp-content/plugins/funnel-builder-pro/modules/checkout/assets/img/flags.png) !important;
}

#loading-icon {
	margin-bottom: 20px;
}

#job-application-form {
    position: relative;
	margin-top: 20px;
}

#job-application-form .hidden {
    display: none !important;
}

#job-application-form .loader-wrapper{
    position:absolute;
    top:0;
    left:0;
    height:100%;
    width:100%;
    background: rgba(0,0,0,0.33);
    display:flex;
    align-items:center;
    justify-content:center;
}

/* Replace with your loader CSS below */
.lds-ring,
.lds-ring div {
    box-sizing: border-box;
}
.lds-ring {
    display: inline-block;
    position: relative;
    width: 80px;
    height: 80px;
}
.lds-ring div {
    box-sizing: border-box;
    display: block;
    position: absolute;
    width: 64px;
    height: 64px;
    margin: 8px;
    border: 8px solid currentColor;
    border-radius: 50%;
    animation: lds-ring 1.2s cubic-bezier(0.5, 0, 0.5, 1) infinite;
    border-color: currentColor transparent transparent transparent;
}
.lds-ring div:nth-child(1) {
    animation-delay: -0.45s;
}
.lds-ring div:nth-child(2) {
    animation-delay: -0.3s;
}
.lds-ring div:nth-child(3) {
    animation-delay: -0.15s;
}
@keyframes lds-ring {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

#job-application-form-section {
    margin: 0 0 50px 0;
    max-width: 800px;
    padding: 30px;
    border-radius: 8px;
    border: 1px solid #ddd;
	width: 100%;
}

#job-application-form-section .fluentform .ff_upload_btn.ff-btn {
    padding: 8px 12px;
}

#job-application-form-section .ff-btn-submit {
    margin-right: 10px;
    padding: 8px 12px;
    background-color: #f39126;
    color: white;
    border: none;
    border-radius: 4px;
    text-transform: uppercase;
    width: 100px;
}

#job-application-form-section .ff-btn-submit:hover {
    background-color: #d77f1f;
}

#job-application-form-section .apply-job-item {
    display: none;
}

#job-details {
    background-color: #f7f7f8;
    padding: 30px;
    max-width: 800px;
    border-radius: 8px;
	width: 100%;
    display: none;
    margin-bottom: 50px;
}

.job-title a {
    color: #333;
    text-decoration: none;
}

.job-title a:hover {
    color: #f39126;
}

.job-title-wrapper .job-title a {
    display: inline;
    vertical-align: middle;
}

.job-title-wrapper .job-title-copy {
    display: inline-flex;
    vertical-align: middle;
	align-items: center;
    color: #999;
    cursor: pointer;
    font-size: 15px;
    font-weight: normal;
    margin: 0 5px;
}

.job-title-wrapper .job-title-copy:hover {
    color: #f39126;
}

.job-title-wrapper .job-title-copy i {
	margin-right: 3px;
}

@media screen and (max-width: 768px) {
    #popup-content {
        padding: 30px 20px;
        width: 90%;
    }

    #popup-content-job-application {
        padding: 30px 20px;
        width: 90%;
    }
	
	.job-item .job-title {
		font-size: 1.5em;
	}
}