/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 1.0.1
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/
:root{
	--shadow: 0px 3px 6px rgb(0 0 0 / 10%);
}

@media screen and (max-width: 767px) {
	.page-content,
	[data-elementor-type="single-post"]{
		padding: 0 20px;
	}
}

/* Form publicar oferta de empleo */
.form-publicar-oferta {
	& fieldset{
		display: flex;
		justify-content: space-between;
		align-items: center;
		&:nth-child(even){
			background-color: var(--e-global-color-1f484c1);
		}
	}
	& small{
		margin: 5px 0 0 0!important;
	}
	& h2{
		margin-top: 80px;
		border-bottom: 1px solid var(--e-global-color-e7bb643);
		padding-bottom: 20px;
		padding-left: 20px;
	}

	& .button{
		border: 0;
		margin-top: 60px;
		
		&:hover{
			background-color: var(--e-global-color-primary)!important;
		}
	}

	& .account-sign-in .button{
		background: none!important;
		color: var(--e-global-color-secondary)!important;
		text-decoration: underline;
		font-size: .9em!important;
		margin-left: 10px;
		&:hover{
			text-decoration: none;
		}
	}

	& .select2-selection{
		min-height: 42px;
	    display: flex;
	    flex-direction: column;
	    justify-content: center;
		& .select2-selection__arrow{
			top: 8px;
			right: 10px;
		}
	}
	
	& input[type="file"]{
		border: 0;
	}
}

@media screen and (max-width: 767px){
	.form-publicar-oferta {
		& fieldset{
			flex-direction: column;
			display: flex;
			align-items: flex-start;
			& label, & .field{
				width: 100%!important;
			}
		}
		& .button{
			width: 100%;
			margin: 20px 0 0px 0;
		}
	}
}

form#job_preview{
	& .job_listing_preview_title{
		background-color: transparent!important;
		padding: 0;
		margin: 0;
		display: flex;
		flex-direction: row-reverse;
		align-items: center;
		border-bottom: 1px solid var(--e-global-color-e7bb643);
		& h2{
			flex-grow: 1;
			border: 0;
		}
	}
	& a{
		color: var(--e-global-color-secondary);
		&:hover{
			text-decoration: underline;
		}
	}

	& li:before{
		color: var(--e-global-color-primary);
	}

	& .button{
		border: 0;
		background-color: var(--e-global-color-secondary)!important;
		color: #fff;
		text-transform: uppercase;
		
		&:hover{
			background-color: var(--e-global-color-primary)!important;
		}
	}
}

.job_listing_preview{
	margin-top: 40px;
	border: 2px dashed var(--e-global-color-e7bb643);
	padding: 30px 40px;
}

@media screen and (max-width: 767px) {
	form#job_preview{
		& .job_listing_preview_title{
			flex-direction: column-reverse;
			& h2{
				margin: 0;
				padding: 0;
			}
		}
	}
	.job_listing_preview{
		padding: 20px;
		& h1{
			font-size: 1.6em;
		}
	}
}
/* Form publicar oferta de empleo */

/* Listado de ofertas */
.listado-ofertas{
	& div.job_listings{
		display: grid;
		grid-template-columns: 300px 1fr;
		gap: 40px;
		& .form_wrap{
			position: sticky;
			top: 60px;
		}
	}
	
	& .search_jobs{
		/* Cuadro de busqueda */
		background-color: var(--e-global-color-primary)!important;
		color: #fff;
		font-size: .85em;
		padding: 30px 30px 5px 30px;
		border-bottom: 1px solid var(--e-global-color-e7bb643);
		border-radius: 10px 10px 0 0;
		display: flex;
		flex-direction: column;
		gap: 10px;
		border: 0!important;
		accent-color: var(--e-global-color-secondary);
		
		& div{
			width: 100%!important;
			float: none!important;
			margin: 0!important;
			padding: 0!important;
		}
		& input[type="text"]{
			border: 1px solid var(--e-global-color-e7bb643);
		}
		& input[type="checkbox"]{
			position: relative;
			top: 3px;
			margin-right: 5px;
		}
		& .select2-selection{
			min-height: 42px;
		    display: flex;
		    flex-direction: column;
		    justify-content: center;
			& .select2-selection__arrow{
				top: 8px;
				right: 10px;
			}
		}
		& .tag-cloud-link{
			background-color: #fff;
			color: var(--e-global-color-primary);
			text-transform: uppercase;
			font-size: .7em!important;
			letter-spacing: 1px;
			border-radius: 50px;
			padding: 3px 12px!important;
			&.active{
				background-color: var(--e-global-color-secondary)!important;
				color: #fff;
			}
		}
		& .filter_by_tag_cloud{
			gap: 10px;
			display: flex;
			flex-wrap: wrap;
			width: 100%;
			margin-top: 10px;
		}

	}

	& .job_types{
		background-color: var(--e-global-color-primary);
		color: #fff;
		border-radius: 0 0 10px 10px;
		accent-color: var(--e-global-color-secondary);
		padding: 0px 15px 30px 15px;
		columns: 2;
		border: 0!important;
		& li{
			border: 0;
		}
	}

	& input[type="submit"]{
		border: 0;
		background-color: var(--e-global-color-secondary)!important;
		color: #fff;
		text-transform: uppercase;
		font-weight: 500;
		font-size: 1.1em;
		
		&:hover{
			background-color: #fff!important;
			color: var(--e-global-color-primary);
		}
	}

	& .showing_jobs{
		background-color: var(--e-global-color-1f484c1)!important;
		display: block!important;
		padding: 5px 0;
		font-size: .78em;
		& span{
			display: block;
			margin-bottom: 5px;
		}
		& a{
			float: none!important;
			margin: 0!important;
			padding: 0!important;
			color: var(--e-global-color-secondary);
			font-size: 1.1em;
			margin-right: 10px!important;
			&:hover{
				text-decoration: underline;
			}
		}
	}

	& ul.job_listings{
		/* Listado de ofertas */
		display: flex;
		flex-direction: column;
		gap: 20px;
		& > li{
			border: 0!important;
			background-color: #fff;
			border-radius: 10px;
			border: 2px solid transparent!important;
			box-shadow: var(--shadow);
			-webkit-transition: all 300ms ease-in-out;
			-moz-transition: all 150ms ease-in-out;
			-ms-transition: all 150ms ease-in-out;
			-o-transition: all 150ms ease-in-out;
			transition: all 150ms ease-in-out;
			&:hover{
				border: 2px solid var(--e-global-color-secondary)!important;
			}
			& a{
				padding: unset;
				display: grid!important;
				padding: 25px;
				border-radius: 10px;
				grid-template-columns: 60px 1fr 125px;
				align-items: center;
				gap: 20px 30px;
				& img, & div{
					padding: 0!important;
					float: none!important;
				}
				& div{
					width: 100%!important;
				}
				& img{
					all: unset!important;
					max-width: 60px!important;
					height: auto!important;
					object-fit: contain!important;
				}
				& h3{
					color: var(--e-global-color-primary);
					font-weight: bold;
				}
				& ul.meta{
					grid-column: span 3;
				    width: 100%;
				    padding: 15px 0 0 0;
				    text-align: left;
					display: flex;
					align-items: center;
					justify-content: space-between;
					border-top: 1px solid var(--e-global-color-e7bb643);
					& li{
						padding: 0;
						font-size: .8em;
						&.job-type{
							background-color: var(--e-global-color-primary);
							color: #fff;
							text-transform: uppercase;
							font-size: .7em;
							font-weight: 400;
							padding: 0 7px!important;
							border-radius: 5px;
						}
					}
				}
			}
			& .location{
				font-size: .9em;
				font-weight: 400;
				line-height: 1.2em!important;
				color: #000!important;
				text-align: right!important;
				& small{
					display: block;
				}
			}
			
			& .application-deadline,
			& .date{
				display: flex!important;
				align-items: center;
				gap: 3px;
			}
		}
	}
	& .job-manager-applications-applied-notice{
		position: absolute;
	    right: 10px;
	    top: 10px;
	    background: var(--e-global-color-primary);
	    color: #fff!important;
	    text-transform: uppercase;
	    font-size: .65em;
	    border-radius: 25px;
	    padding: 0px 10px 0px 5px;
	    float: none;
	}
}
@media screen and (max-width: 767px){
	.listado-ofertas{
		& div.job_listings{
			grid-template-columns: 1fr;
			gap: 40px;
		}

		& ul.job_listings{
			& li a{
				grid-template-columns: 40px 1fr;
				gap: 0px;
				padding: 15px;
				& .position{
					padding-left: 20px!important;
					& h3 {
						font-size: .9em!important;
						line-height: 1.1em!important;
					}
				}
				& .company{
					font-size: .8em!important;
					line-height: 1.1em!important;
					margin-top: 5px;
				}
				& img {
					max-width: 45px!important;
				}
				& .tagline{
					display: none;
				}
				& .meta{
					margin-top: 15px;
				}
				&:has(.job-manager-applications-applied-notice){
					padding-top: 35px;
					& .job-manager-applications-applied-notice{
						padding: 1px 10px 1px 4px;
					}
				}
			}
		}
	}
}
/* Listado de ofertas */

/* Oferta individual */
.oferta{
	& h1{
		border-bottom: 1px solid var(--e-global-color-e7bb643);
		padding-bottom: 20px;
		margin-bottom: 30px;
	}

	& .job_shortcode .single_job_listing{
		display: grid!important;
	    grid-template-columns: 1fr 310px!important;
	}

	& .job-type{
		background-color: var(--e-global-color-primary)!important;
		color: #fff!important;
		text-transform: uppercase;
		border-radius: 5px;
	}

	& .company{
		display: grid;
		grid-template-columns: 60px 1fr;
		gap: 30px;
		align-items: center;
		background-color: transparent!important;
		box-shadow: unset!important;
		padding: 20px 0;
		border: 0;
		border-bottom: 1px solid var(--e-global-color-e7bb643);
		margin-top: 20px;
		grid-column: span 2;
		& .company_logo, & .company_header{
		all: unset!important;
		}
		& .company_logo{
			width: 60px!important;
			height: auto!important;
			objetct-fit: contain!important;
		}
		& .company_header{
			flex-grow: 1!important;
			& p{
				padding: 0;
				margin: 0;
			}
		}
		& .company_video{
			grid-column: span 2!important;
		}
	}

	& .job_description{
		background-color: #fff;
		padding: 50px;
		border-radius: 5px;
		box-shadow: var(--shadow);
		font-size: 1em!important;
		font-weight: 400!important;
		line-height: 1.6em!important;
		grid-column: span 2;
		& .job_tags{
			border-top: 1px solid var(--e-global-color-e7bb643);
			padding-top: 20px;
			margin-top: 20px;
			margin-bottom: 0;
			font-style: oblique;
			color: var(--e-global-color-e7bb643);
		}
	}

	& .job_application{
		margin-top: 40px!important;
		grid-column: span 2;
		& input[type="button"]{
			border: 0!important;
			width: 100%;
			padding: 20px;
			&:hover{
				background-color: var(--e-global-color-primary)!important;
			}
		}
	}
	
	& .application_details{
		background-color: #fff;
		padding: 60px!important;
		border-radius: 5px;
		box-shadow: var(--shadow);
		& input[type="submit"]{
			background-color: var(--e-global-color-secondary);
			border: 0;
			color: #fff;
			text-transform: uppercase;
			font-weight: 500;
			margin: 20px 0;
			&:hover{
				background-color: var(--e-global-color-primary);
			}
		}
		& .apply_with_resume p{
			padding-top: 20px!important;
		}
		& input[type="text"]{
			border: 1px solid var(--e-global-color-e7bb643);
		}
	}
	& .job-manager-applications-applied-notice{
		order: 2;
		background-color: var(--e-global-color-primary);
		border-radius: 5px;
		font-size: 1.1em;
		color: #fff;
		grid-column: span 2;
		text-align: center;
		margin: 0;
	}
}
@media screen and (max-width: 767px){
	.oferta{
		& .job_shortcode .single_job_listing{
		    display: flex!important;
			flex-direction: column;
		}
		& .application_details{
			padding: 30px!important;
			& label{
				font-size: .9em;
				font-weight: 400;
				margin-bottom: 5px!important;
			}
			& input[type="submit"]{
				width: 100%!important;
				display: block!important;
				font-size: .9em;
			}
		}
	}
}
/* Oferta individual */

/* Bookmarks */
.wp-job-manager-bookmarks-form{
	all: unset!important;
	& a{
		display: block!important;
		text-align: center;
		background-color: var(--e-global-color-primary);
		border-radius: 5px;
		padding: 10px!important;
		color: #fff!important;
		margin-bottom: 20px!important;
		&:before{
			margin-right: 5px!important;
		}
		&:hover{
			background-color: var(--e-global-color-secondary);
		}
	}
	& .bookmark-details{
		background-color: #fff;
		padding: 20px 30px!important;
		border-radius: 5px;
		margin-bottom: 20px;
		box-shadow: var(--shadow);
		& textarea{
			margin-top: 5px;
			border: 1px solid var(--e-global-color-e7bb643);
		}
		& input[type="submit"]{
			background-color: var(--e-global-color-secondary);
			font-size: .9em;
			text-transform: uppercase;
			color: #fff;
			border: 0px!important;
			width: 100%;
			&:hover{
				background-color: var(--e-global-color-primary);
			}
		}
	}
	&.has-bookmark .remove-bookmark-wrapper{
		display: flex!important;
		flex-direction: column-reverse;
		gap: 5px;
	}
	&.has-bookmark .remove-bookmark-wrapper a.bookmarked{
		margin: 0px!important;
		padding: 10px 5px!important;
		font-size: .85em;
		line-height: 1.5em;
	}
	&.has-bookmark .remove-bookmark-wrapper a.remove-bookmark{
		visibility: visible!important;
		float: none!important;
		background-color: transparent;
		color: red!important;
		padding: 0px!important;
		text-decoration: underline;
		&:hover{
			text-decoration: none;
		}
	}
}
/* Bookmarks */

/* Dashboard */
#job-manager-job-applications{
	& a{
		color: var(--e-global-color-secondary)!important;
	}

	& input[type="text"],
	& input[type="number"],
	& select{
		border: 1px solid var(--e-global-color-e7bb643)!important;
		font-weight: 500!important;
	}

	& input[type="submit"]{
		border: 0;
		background-color: var(--e-global-color-secondary)!important;
		color: #fff;
		text-transform: uppercase;
		font-weight: 500;
		&:hover{
			background-color: var(--e-global-color-primary)!important;
		}
	}

	& .meta li{
		color: #000!important;
	}
}

@media screen and (max-width: 767px) {
	#job-manager-job-applications{
		& > a{
			display: block!important;
			width: 100%;
			margin-bottom: 10px;
		}
		& > p {
			padding: 0!important;
			width: 100%!important;
		}
		& .filter-job-applications{
			display: flex;
			flex-direction: column;
			& p{
				width: 100%;
			}
		}
		& .job-application-meta{
			width: 100%;
		}
	}
}

#job-manager-job-dashboard{
	& tbody{
		& td{
			padding: 20px!important;
			border: 0px;
			background-color: #e8e8e8!important;
			vertical-align: middle!important;
		}
		& tr:nth-child(odd){
			& td{
				background-color: #f6f6f6!important;
			}
		}
	}
	& tfoot{
		& td{
			border: 0;
			padding: 40px 0!important;
			text-align: center;
		}
		
		& a{
			border: 0;
			background-color: var(--e-global-color-secondary)!important;
			color: #fff;
			text-transform: uppercase;
			font-weight: 500;
			border-radius: 5px;
			padding: 10px 16px;
			&:hover{
				background-color: var(--e-global-color-primary)!important;
			}
		}
	}
}

@media screen and (max-width: 767px) {
	#job-manager-job-dashboard{
		& table{
			display: block;
		    overflow-x: auto;
		    white-space: nowrap;
			padding-bottom: 30px;
		}
		& tfoot td{
			text-align: left;
			& a{
				position: absolute;
				bottom: 60px;
			}
		}
	}
}
/* Dashboard */