/*!
Theme Name:CiviChild
Theme URI: https://civi.uxper.co/
Author: Uxper
Author URI: http://uxper.co/
Description: This is a child theme of Civi
Template: civi
Version: 1.0.0
Requires at least: 5.0
Tested up to: 5.4
Requires PHP: 7.4
License URI: https://choosealicense.com/licenses/gpl-2.0/
Text Domain:civichild
Tags: editor-style, featured-images, microformats, post-formats, rtl-language-support, sticky-post, threaded-comments, translation-ready
*/

:root {
	--civi-color-accent: #004286 !important;
}

.elementor-kit-2407 {
	--e-global-color-accent: #004286 !important;
}

.elementor-widget-civi-jobs-category .cate-inner,
.civi-company-item .label-categories,
div.jobs-apply-details,
div.jobs-apply-sidebar,
.civi-jobs-item .label-price,
.label-location,
.list-jobs-insights .icon-jobs, .list-jobs-insights-sidebar .icon-jobs,
.nav-dashboard .nav-dashboard-footer,
.label-skills {
	background: rgb(29 0 116 / 5%)!important;
}

.site-footer .inner-footer .elementor-icon path:first-child {
	fill: var(--civi-color-accent) !important;
}

.site-footer .inner-footer .elementor-icon path:nth-child(2) {
	fill: #d0c0ff !important;
	opacity: .1;
}

.nav-dashboard .list-nav-dashboard .nav-item a:hover,
.nav-dashboard .list-nav-dashboard .nav-item.active a{
	background: rgb(29 0 116 / 5%)!important;
	color: var(--civi-color-accent) !important;
}

.nav-dashboard .list-nav-dashboard .nav-item a:hover img,
.nav-dashboard .list-nav-dashboard .nav-item.active img{
	filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(1828%) hue-rotate(197deg) brightness(92%) contrast(101%);
}

.testimonial-logo img {
	filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(1828%) hue-rotate(197deg) brightness(92%) contrast(101%);
}

.archive-layout .archive-filter-top.has-bg h2 {
	color: #fff !important; 
}

.nav-candidate_dashboard .nav-profile-strength .left-strength span {
	background-color: #004286 !important;
}

.resume.block-from > h6 {
  display: none;
}

/* Scoped CSS for disabling only the 'Publish' button */
button.btn-update-profile.civi-button:disabled,
button.btn-update-profile.civi-button.disabled {
  opacity: 0.5;
  pointer-events: none;
  cursor: not-allowed;
}

.mess-content.empty img {
	display: none;
}

.mess-content.empty::before {
  content: "";
  display: inline-block;
  width: 100px;
  height: 100px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100' height='100' fill='none' viewBox='0 0 100 100'%3E%3Cpath fill='%23004286' d='M43.103 16.527C19.298 16.527 0 33.83 0 55.172c0 7.866 2.628 15.178 7.13 21.281C6.537 83.505 4.835 93.438 0 98.276c0 0 14.603-2.054 24.609-8.02.01-.006.015-.017.024-.022 3.093-1.907 6.567-4.133 7.417-4.798a1.726 1.726 0 0 1 2.29-.467c.513.312.84.882.841 1.482.005 1.004-.014 1.283-6.295 5.204a47.45 47.45 0 0 0 14.216 2.162c23.805 0 43.103-17.302 43.103-38.645 0-21.343-19.296-38.645-43.102-38.645Z'/%3E%3Cpath fill='%23004286' d='M100 40.367c0-21.343-19.3-38.644-43.104-38.644-17.19 0-32.026 9.024-38.947 22.076 7.081-4.571 15.762-7.273 25.154-7.273 23.805 0 43.103 17.302 43.103 38.645 0 8.164-2.83 15.73-7.65 21.97C88.21 81.806 100 83.472 100 83.472c-4.836-4.836-6.538-14.77-7.13-21.823 4.503-6.103 7.13-13.415 7.13-21.28Z' opacity='.5'/%3E%3Cpath fill='%23fff' d='M56.034 44.827H31.896a1.724 1.724 0 1 1 0-3.448h24.138a1.724 1.724 0 1 1 0 3.448Zm9.483 12.071H22.414a1.724 1.724 0 1 1 0-3.449h43.103a1.724 1.724 0 1 1 0 3.449Zm0 12.066H22.414a1.724 1.724 0 1 1 0-3.448h43.103a1.724 1.724 0 1 1 0 3.448Z'/%3E%3C/svg%3E");
  background-size: contain;
  background-repeat: no-repeat;
}

/* Loader css*/
/* Loader animation */
@keyframes spin {
  100% {
    transform: rotate(1turn);
  }
}

/* The spinning loader itself */
.dynamic-loader {
  width: 50px;
  aspect-ratio: 1;
  border-radius: 50%;
  background: 
    radial-gradient(farthest-side, #004286 94%, #0000) top/8px 8px no-repeat,
    conic-gradient(#0000 30%, #004286);
  -webkit-mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  mask: radial-gradient(farthest-side, #0000 calc(100% - 8px), #000 0);
  animation: spin 1s infinite linear;
}

/* Optional: add transition for fade effect if you want */
#loader-overlay {
  transition: opacity 0.3s ease;
}


/*.other-note {
  font-size: 0.875rem;
}*/


/* Hide all .entry-filter blocks */
.archive-layout.archive-jobs .civi-menu-filter .entry-filter {
  display: none;
}

.archive-layout.archive-jobs .civi-menu-filter .filter-jobs-type .entry-filter {
  display: block;
}

.hide-on-incomplete {
  display: none !important;
}


.field-error,
.field-error:focus {
  border: 2px solid red !important;
  background-color: #fff5f5 !important;
}


#jobs-submit-additional {
  display: none !important;
}

/* Hide the 'Save to pdf' from the employer side */
#btn-print-candidate{
  display: none !important;
}

.required-asterisk{
  color:red;
}

/* form CSS*/
.block-archive-inner.candidate-head-details {
    font-family: 'Segoe UI', Roboto, -apple-system, sans-serif;
    line-height: 1.5;
}

/* Header section */
.civi-candidate-header-top {
    display: flex;
    gap: 1.5rem;
    align-items: flex-start;
    margin-bottom: 1.5rem;
}

.image-candidates {
    font-size: 3rem;
    padding: 1rem;
    background: #f5f5f5;
    border-radius: 8px;
}

.info {
    flex: 1;
}

.title-wapper h1 {
    font-size: 2rem;
    font-weight: 600;
    margin: 0 0 0.5rem 0;
}

.candidate-info {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    align-items: center;
}

.civi-rating-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rating-count {
    font-weight: 500;
}

.review-count {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Buttons section */
.civi-candidate-header-bottom {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 2rem;
}

.candidate-head-details .civi-candidate-header-bottom .civi-button {
    font-size: 0.9rem !important;
    padding: 0.6rem 1rem !important;
    border-radius: 6px !important;
    text-decoration: none !important;
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.5rem !important;
}

/* Additional info sections */
.candidate-head-details .additional-wrapper {
    margin: 0 !important;
    break-inside: avoid;
    padding-bottom: 10px;
	padding-top: 10px !important;
    border-top: none !important;
}

.candidate-head-details .additional-wrapper:last-child {
    margin-bottom: 0;
}

.candidate-head-details .title-candidate {
    font-size: 1rem !important;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    opacity: 0.7;
}

.candidate-head-details .content {
    font-size: 0.8rem;
    font-weight: 500;
}

/* Section headings */
.candidate-head-details h3 {
    grid-column: 1 / -1;
    width: 100%;
    padding: 0;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    border-top: 1px solid #eee;
    padding-top: 0.5rem;
}

/* Grid layout */
.block-archive-inner.candidate-head-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1rem;
}

@media (min-width: 992px) {
    .block-archive-inner.candidate-head-details {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.4rem;
    }
    
    .civi-candidate-header-top,
    .civi-candidate-header-bottom,
    .candidate-head-details h3 {
        grid-column: 1 / -1;
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .civi-candidate-header-top {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .civi-candidate-header-bottom {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .title-wapper h1 {
        font-size: 1.75rem;
    }
}

/* minimal styles for the toast */
#toast-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}
.toast {
    background: #1e3a8a; /* dark blue */
    color: white;
    padding: 16px;
    border-radius: 8px;
    min-width: 300px;
    position: relative;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    opacity: 0.95;
    display: flex;
    gap: 1rem;
    align-items: center;
}
.toast-success.show {
    display: flex !important;
}

.toast-close {
    position: absolute;
    top: 8px;
    right: 12px;
    cursor: pointer;
}
.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    animation: toastProgress 5s linear forwards;
}
@keyframes toastProgress {
    from { width: 100%; }
    to { width: 0%; }
}

/* Style for "View Full Profile" button beside the DG Shipping Profile Attachment label */
.label-button-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 5px;
}

.view-full-profile-btn {
    margin-top: 10px;
    margin-left: 25px;
    padding: 6px 12px;
    background-color: #000;
    color: #fff;
    border: none;
    border-radius: 0.75rem;
    font-size: 13px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.view-full-profile-btn:hover {
    background-color: #252525;
}


/* Default state: white background, dark text and icon for the message of candidate profile on the employer side */
/* Default state: white background, dark text and icon */
#civi-add-messages {
	border-radius: 3em;
}

#civi-add-messages i {
    color: inherit;
    transition: color 0.3s ease;
}

#civi-add-messages:hover {
    background-color: rgb(0, 64, 128) !important;
    color: #fff !important;
    border-color: rgb(0, 64, 128);
}

/* Hide the About Me block completely */
.block-archive-inner.candidate-overview-details {
    display: none !important;
}

/* Enlarge the candidate profile image */
.candidate-head-details .civi-candidate-header-top .image-candidates {
    width: 90px !important;
    height: 90px !important;
    padding: 0 !important;
    border-radius: 50%;
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.candidate-head-details .civi-candidate-header-top .image-candidates:hover {
    transform: scale(1.5); 
    z-index: 10;
}

/* Target only candidate archive page */
.archive-layout.archive-candidates .civi-menu-filter .filter-rating,
.archive-layout.archive-candidates .civi-menu-filter .entry-filter-locations,
.archive-layout.archive-candidates .civi-menu-filter .filter-candidate_yoe,
.archive-layout.archive-candidates .civi-menu-filter .filter-candidate_qualification {
    display: none !important;
}

/* Ensure Skills and Gender remain visible */
.archive-layout.archive-candidates .civi-menu-filter .filter-candidate_skills,
.archive-layout.archive-candidates .civi-menu-filter .filter-candidate_gender {
    display: block !important;
}

/* Hide the cities(location) on the candidate listing page on filteration */
.archive-candidates .form-group.civi-form-location {
    display: none !important;
}

/* Target only on the Company archive page filters */
.archive-company .inner-filter {
    display: none !important;
}

/* Optional: hide other filter bar elements like rating, founded, size, etc. */
.archive-layout.archive-company .archive-filter .filter-rating,
.archive-layout.archive-company .archive-filter .filter-company-size,
.archive-layout.archive-company .archive-filter .filter-founded {
    display: none !important;
}

/* Keep the location filter styling intact */
.archive-layout.archive-company .archive-filter .entry-filter-locations {
    display: block !important;
}

/* Hide "View Full Profile" button on the particular company page */
.civi-company-wrap .civi-company-header-bottom a:last-of-type {
    display: none !important;
}

/* Hide cities on the dashboard */
.civi-form-location {
    display: none !important;
}



.select2-container .select2-selection--multiple .select2-selection__rendered {
    /* display: inline-block; */
/*    overflow: auto;*/
    padding-left: 8px;
    text-overflow: ellipsis;
/*    overflow-x: scroll;*/
    overflow-x: auto;
    overflow-y: hidden;
    /* white-space: nowrap; */
    /* overflow: scroll; */
}


.select2-field .select2.select2-container .select2-selection .select2-selection__rendered li {
    margin: 0 !important;
}

/* To remove the red color from the border on the jobs listing */
.archive-layout .civi-jobs-urgent {
    border-color: transparent !important;
}

/* 17 July 2025 css work*/
@media (max-width: 767px) {
    .elementor-3831 .elementor-element.elementor-element-ed737d9 {
        padding: 100px 0px 0px 0px !important;
    }

    .jobs-insights-details.on.active .list-jobs-insights {
        height: auto !important;
    }
	
    .elementor-3831 .elementor-element.elementor-element-3563c84 .icon-box-wrapper,
	.elementor-3831 .elementor-element.elementor-element-d0721d6 .icon-box-wrapper,
	.elementor-3831 .elementor-element.elementor-element-a3f591c .icon-box-wrapper {
        text-align: center !important;
    }
	
	.elementor-3831 .elementor-element.elementor-element-e3f0d34,
	.elementor-3831 .elementor-element.elementor-element-d4a71d5 {
		position: relative !important;
		top: 0 !important;
		margin-bottom: 10px !important;
	}
	
	.elementor-3831 .elementor-element.elementor-element-8171619 > .elementor-element-populated.elementor-element-populated,
	.elementor-3831 .elementor-element.elementor-element-5d1774f > .elementor-element-populated.elementor-element-populated {
        padding: 48px 10px 48px 10px !important;
    }
	
	.elementor-column.elementor-col-100.elementor-inner-column.elementor-element.elementor-element-8171619,
	.elementor-column.elementor-col-100.elementor-inner-column.elementor-element.elementor-element-5d1774f {
		text-align: center !important;
	}
	
	.elementor-3831 .elementor-element.elementor-element-777275d .civi-modern-heading,
	.elementor-3831 .elementor-element.elementor-element-cb8d741 .civi-modern-heading {
    	width: auto !important;
	}
}

.elementor-3831 .elementor-element.elementor-element-3e7b808 {
	padding: 60px 15px 45px 15px !important;
}

.select2-container--default .select2-search--inline .select2-search__field {
	width: 100% !important;
}

.select2-selection__choice[title="Select an option"] {
    display: none !important;
}

.select2-container .select2-selection--multiple .select2-selection__rendered {
    scrollbar-width: thin; 
    scrollbar-color: #ccc transparent;
}

.select2-container .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar {
    height: 3px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar-track {
    background: transparent;
}

.select2-container .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar-thumb {
    background-color: #ccc;
    border-radius: 4px;
}

.select2-container .select2-selection--multiple .select2-selection__rendered::-webkit-scrollbar-corner {
    background: transparent;
}

.account .user-control {
	min-width: 240px !important;
}

.tab-content .tab-info-company .civi-button:nth-of-type(3) {
	display: none !important;
}

.tab-content .tab-info-company .civi-button:nth-of-type(2) {
	justify-content: center;
	border-radius: 3em !important;
	padding: 10px 26px !important;
    font-size: 16px !important;
}

.elementor-counter-number,
.elementor-counter-number-suffix {
	font-size: 36px !important;
}

.jobs-search-inner .form-group:nth-child(2) { 
	display:none !important;
}

.tab-content .tab-info-company .civi-button:not(.civi-send-mess):not(.button-visit) {
  display: none !important;
}

.slick-track {
	margin-left: 0px !important;
	margin-right: 0px !important;
}

.select2-selection__clear {
	margin-top: 0 !important;
}

.site-menu.mobile-menu .add-job {
	margin: 26px !important;
}

.site-menu.mobile-menu .civi-button.add-job {
	padding: 4px 12px !important;
}

.addon-login-wrap .mo-openid-app-icons {
	display: flex !important;
    flex-direction: column;
    justify-content: center;
    align-items: center;
	gap:5px;
}

.ui-autocomplete {
  max-height: 30vh;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  touch-action: pan-y;
  z-index: 9999;
}

/* To hide the "How to apply" section on the post job form */
#jobs-submit-apply {
    display: none !important;
}

#civi_form_apply_jobs {
    display: none !important;
}
