/*
Theme Name: aj-india-publisher-child
Description: AJ INDIA Child Theme
Author: Jobsi, Inc
Author URI: https://angularjobs.com
Text Domain: publisher
Template: publisher
*/

/*
 EDITTING
 Must edit in the official repo. 
 * Do not edit this file directly on the server otherwise the changes will be lost.

 PUBLISHING
 Must Empty Cache and Hard Reload to Get Updates
*/

/* 3 column locations list */
@media (min-width: 801px) {
	ul#jblocations {
			-webkit-column-count: 5;
			-moz-column-count: 5;
			column-count: 5;
	}
	.locations-links-widget ul#jblocations {
			-webkit-column-count: 3;
			-moz-column-count: 3;
			column-count: 3;		
	}
}
@media (min-width: 420px) and (max-width: 800px) {
	ul#jblocations {
			-webkit-column-count: 3;
			-moz-column-count: 3;
			column-count: 3;
	}

	.locations-search-page {
		display: none;
	}	
}
@media (max-width: 419px) {
	ul#jblocations {
			-webkit-column-count: 2;
			-moz-column-count: 2;
			column-count: 2;
	}
	.locations-search-page {
		display: none;
	}
}

/* fix FAQs plus-sign being displayed on top of question on mobile */
@media (max-width: 800px) {
	.ewd-ufaq-post-margin-symbol {
		display: none;
	}
}

.btn.post-job-cta {
background-color:#d0451b !important;
}
.post-job-cta:hover {
background-color:#bc3315 !important;
}
.post-job-cta:active {
background-color:#bc3315 !important;
}

/* Remove theme default search from responsoive header */
.responsive-header .search-container {
    display: none;
}


/* hide default search options */
#wpjb-top-search-form .wpjb-options-list {
	display: none;
}

/* fix for WPJB ajax more listings button */
.wpjb-button {
    background: #F2F2F2 !important;
}

/* featured created at date */ 
.wpjb-featured .wpjb-job_created_at {
	display: none !important;
}

/* Hide email and phone on resume page */
.wpjr-page-resume div.wpjb-grid.wpjb-grid-closed-top > div:nth-child(2), 
.wpjr-page-resume div.wpjb-grid.wpjb-grid-closed-top > div:nth-child(3) {
	display: none;
}

/* hide website arrow icon */
.wpjr-page-resume div.wpjb-grid.wpjb-grid-closed-top .wpjb-icon-empty:before {
	content: '\f14c';
}

/* hide progress bar from dashboard */
.wpjr-page-my-home .wpjb-layer-inside:first-child {
    display: none;
}

/* hide resume profile created at date */
.wpjb-resume-modified-at {
	display: none !important;
}

/* Make customer logos vertically aligned */
.customer_logos .vc_item>.vc_inner>img {
    position: relative;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    max-height: 150px;
    width: auto;
}
.customer_logos .vc_item>.vc_inner {
    height: 100%;
}

/* make elemenets inheritfrom theme instead of wpjb */
#wpjb-top-search, .wpjb .wpjb-form div label.wpjb-label, .wpjb a.wpjb-button, .wpjb .wpjb-upload-actions a.button {
    font-size: inherit !important;
  }

/* remove border from job post example link table */
.job-post-form-table td {
  border: none !important;
	vertical-align: top;
}

/* Prevent Job Post Package Text from overlapping price tag */
.wpjb .wpjb-listing-type-title {
    margin-right: 80px;
}

/* remove Browse Category pre-title from Category Archive Pages */
.archive-title > .pre-title{
  display: none;
}
/* hide rss link on category archive pages */
.archive-title .rss-link{
  display: none;
}

/* hide company twitter on job post page */
.wpjb-page-single .wpjb-grid-row.wpjb-row-meta-job_twitter{
	display: none;
}

/* hide company street address on job post page */
.wpjb-page-single .wpjb-grid-row.wpjb-row-meta-company_street_address{
	display: none;
}

/* center and limit images on job post pages */
.wpjb-page-single .wpjb-text-box p img {
	max-width: 75% !important;
	text-align: center !important;
	margin: auto !important;
	display: block;
	max-height: 200px;
}

/* Hide Description Header on job post pages */
.wpjb-page-single .wpjb-text-box > h3 {
	display: none;
}

/* hide description on jobs lists */
.expand-description {
	display: none;
}

.job-list-details {
	padding-bottom: 10px !important;
}

a.powered-by-sumo {
	left: 10000px !important;
}

/* Hide Advanced Application Customisations by default */ 
.wpjb-element-name-us_only, .wpjb-element-name-h1b_label, .wpjb-element-name-h1b_status{
	display: none;
}

.wpjb.wpjb-page-single .wpjb-job-apply .wpjb-button{
	border: none !important;
	color: #ffffff !important;
	border-radius: 0 !important;
	height: auto !important;
	line-height: 1.4 !important;
	padding: 8px 12px !important;
	vertical-align: middle !important;
	text-transform: uppercase!important;
	-webkit-transition: all .3s ease !important;
	-moz-transition: all .3s ease !important;
	-o-transition: all .3s ease !important;
	transition: all .3s ease !important;
	max-width: 100% !important;
	white-space: normal !important;
	background-color: #0080ce !important;
}

.wpjb-text-box .wpjb-text {
	padding-top: 13px;
}

/* Hide advanced config on form pages */
.wpjb-element-input-textarea.wpjb-element-name-adv_job_config {
	display: none !important;
}


/* Fix spacing between h1b application question(label) and radio button inputs */
.wpjb-element-input-label.wpjb-element-name-h1b_label {
	margin-bottom: 0 !important;
	padding-bottom: 0 !important;
}
.wpjb-element-input-radio.wpjb-element-name-h1b_status {
	margin-top: 0 !important;
	padding-top: 0 !important;
}

/* hide coupon input on payment page */
.wpjb-enter-discount-start {
	display: none;
}

/* hide non-required fields on register employer */
.wpjb-page-company-new .wpjb-fieldset-company, .wpjb-page-company-new .wpjb-fieldset-employer_user_info {
    display: none;
}

/* hide select if profile is public viewable on edit page */
.wpjb-company-edit-form .wpjb-fieldset-default {
    display: none;
}

/* make list items inline for number of open roles questions  */
.wpjb-company-edit-form .wpjb-element-name-open_roles_count ul.wpjb-options-list li {
    display: inline;
    padding: 0 20px;
    max-width: 15%;
		min-width: 100px;
}
/* display hint correctly with inline radio buttons */
.wpjb-company-edit-form .wpjb-element-name-open_roles_count span.wpjb-hint {
    display: inline-block !important;
}

/* remove view profile button from employer profile edit page */
.wpjb-company-edit-form .wpjb-form-actions a {
    display: none;
}

/* move 'complete' button from left to right side */
.wpjb-company-edit-form .wpjb-form-actions>div {
    text-align: right;
}

/* better display candidate types checkboxes as inline */
.wpjb-company-edit-form .wpjb-element-name-employer_candidate_types ul.wpjb-options-list li {
    display: inline;
    padding: 0 20px;
    max-width: 33%;
    min-width: 200px;
}
/* display hint correctly with inline checkboxes */
.wpjb-company-edit-form .wpjb-element-name-employer_candidate_types span.wpjb-hint {
    display: inline-block !important;
}

/* decrease the height of hiring locations textarea */
.wpjb-company-edit-form textarea {
    height: 7em !important;
}

/* hide unneccessarry days display */ 
.wpjb-membership-time {
	display: none;
}

/* Fix select plan button color */
.wpjb div.wpjb-single-membership.wpjb-single-membership-featured div.wpjb-membership-actions a.wpjb-button {
    color: #333 !important;
}

/* hide 'Most Popular' on non-featured plans */
.wpjb-single-membership .wpjb-membership-item-title {
    display: none !important;
}
.wpjb-single-membership.wpjb-single-membership-featured .wpjb-membership-item-title {
    display: inherit !important;
}

/* clean payment form */
.wpjb-fieldset-stripe legend{
	display: none;
}
