/**
 * Job CSS
 */
body.single-ce_job .page-title {
   display: none;
}

body.single-ce_job #content .sp {
   margin: 0 auto;
   max-width: inherit !important;
}

body.single-ce_job #content .sp .sp__header {
   display: none;
}

body.single-ce_job .all_jobs_link_wrapper {
   margin-top: 20px;
}

body.single-ce_job form.ce_apply .ce_apply_lead_in {
   margin: 10px 0;
}

body.single-ce_job form.ce_apply label {
   padding-top: 10px;
}

body.single-ce_job form.ce_apply input.error,
body.single-ce_job form.ce_apply select.error {
   border: 1px solid red;
}

body.single-ce_job form.ce_apply label.error,
#ce_apply_dialog_invalid_lower,
#phone_error {
   color: red;
}

label[for="ce_apply_optin"] {
   display: inline-block !important;
}

.ce_status_message {
   text-align: center;
   font-size: 1.2em;
}

.jobs_side_categories>a.tax_child {
   margin-left: 20px;
}

/**
* Subscribe
*/
#ce_subscribe_modal {
   display: none;
}

@media only screen and (min-width: 800px) {
   body.single-ce_job .job_wrapper {
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-content: flex-start;
      justify-content: flex-start;
      align-items: flex-start;
   }

   body.single-ce_job .job_wrapper .job_content {
      flex-basis: 500rem;
      padding-right: 30px;
   }

   body.single-ce_job .template-b .job_content {
      margin-top: 20px;
   }
}

body.single-ce_job .job_attributes {
   padding-left: 28px;
}

.ce_apply input[type="text"],
.ce_apply input[type="email"],
.ce_apply select {
   width: 95%;
}

@media only screen and (min-width: 1450px) {
   body.single-ce_job .template-b .job_attributes_wide {
      display: flex;
      justify-content: space-around;
      align-items: center;
   }

   body.single-ce_job .job_attributes {
      padding: 30px;
      display: flex;
      flex-direction: row;
      flex-wrap: nowrap;
      align-items: center;
      justify-content: space-around;
      align-content: center;
   }

   body.single-ce_job .job_attributes div:first {
      margin-right: 30px;
   }

   body.single-ce_job form.ce_apply fieldset div {
      display: flex;
      flex-direction: column;
   }

   body.single-ce_job .all_jobs_link_wrapper {
      margin: 0 auto;
      text-align: center;
   }
}

@media only screen and (max-width: 778px) {
   .job_attributes_box {
      margin-bottom: 30px;
   }

   .ce_apply {
      padding: 0 !important;
   }

   .ce_apply_lead_in {
      max-width: 90%;
   }

   .ce_apply fieldset {
      border: none !important;
      padding: 0 !important;
   }

   .ce_apply input[type="text"],
   .ce_apply input[type="email"],
   select {
      width: 90%;
   }
}

body.single-ce_job .job_attributes {
   padding: 30px;
   margin: 20px 0 30px 0;
}


body.single-ce_job form.ce_apply {
   padding: 20px;
}

.ce_apply label {
   display: block;
}

body.single-ce_job .job_related {
   margin-bottom: 20px;
   margin-top: 20px;
   padding: 20px;
}

body.single-ce_job .job_application_sidebar {
   margin-bottom: 20px;
   padding: 0 20px 20px;
}

body.single-ce_job .job_bottom_links {
   clear: both;
   margin: 20px 0;
}

body.single-ce_job .job_footer {
   margin: 20px 0;
}

.ce_apply_submit_wrapper,
#ce_apply_modal_open {
   margin-top: 20px;
   margin-bottom: 20px;
}

.ce_apply_status {
   margin-top: 20px;
}

/** GRIDS **/

#wpupg-grid-jobs-filter-search-label {
   margin-top: 0;
}

#wpupg-grid-jobs-list-filters {
   vertical-align: baseline;
   align-content: flex-start;
}

/** FORMS **/
#ce_apply_form input:focus {
   border: 1px solid black;
}


.ce_loader,
.ce_loader:before,
.ce_loader:after {
   border-radius: 50%;
   width: 2.5em;
   height: 2.5em;
   -webkit-animation-fill-mode: both;
   animation-fill-mode: both;
   -webkit-animation: load7 1.8s infinite ease-in-out;
   animation: load7 1.8s infinite ease-in-out;
}

.ce_loader {
   color: #000;
   font-size: 6px;
   margin: 80px auto;
   position: relative;
   text-indent: -9999em;
   -webkit-transform: translateZ(0);
   -ms-transform: translateZ(0);
   transform: translateZ(0);
   -webkit-animation-delay: -0.16s;
   animation-delay: -0.16s;
}

.ce_loader:before,
.ce_loader:after {
   content: '';
   position: absolute;
   top: 0;
}

.ce_loader:before {
   left: -3.5em;
   -webkit-animation-delay: -0.32s;
   animation-delay: -0.32s;
}

.ce_loader:after {
   left: 3.5em;
}

@-webkit-keyframes load7 {

   0%,
   80%,
   100% {
      box-shadow: 0 2.5em 0 -1.3em;
   }

   40% {
      box-shadow: 0 2.5em 0 0;
   }
}

@keyframes load7 {

   0%,
   80%,
   100% {
      box-shadow: 0 2.5em 0 -1.3em;
   }

   40% {
      box-shadow: 0 2.5em 0 0;
   }
}

/* JOB LIST */
.jobs_header {
   background: black;
   padding: 20px 30px;
   border: 2px solid black;
}

@media only screen and (min-width: 1025px) {
   .jobs_header {
      display: flex;
   }
}

.job_counts {
   padding-right: 20px;
   flex-basis: 50%;
}

@media only screen and (max-width: 1024px) {
   .job_counts h4 {
      text-align: center;
   }

   .wf-wrap {
      padding: 0 !important;
   }

   .jobs_section_wrapper {
      padding: 20px;
   }
}

.jobs_header h4,
.jobs_header .job_pages {
   color: #ffffff;
}

@media only screen and (min-width: 1025px) {
   .jobs_section_wrapper {
      display: flex;
      flex-direction: row;
      justify-content: flex-start;
      align-items: flex-start;
   }

   .jobs_section_wrapper {
      padding: 20px 50px;
   }
}

.jobs_filters {
   flex-basis: 80%;
   padding-right: 30px;
}

#page .jobs_filters select:focus,
#page .jobs_filters input:focus,
#page #job_order {
   border: 1px solid #309090 !important;
}

.jobs_list {
   scroll-behavior: smooth;
   max-height: 100vh;
   overflow: scroll;
   margin-bottom: 20px;
}

.required_message {
   font-size: 0.8em;
   font-style: italic;
}

.jobs_list.no_jobs {
   flex-basis: 100%;
   overflow: hidden;
}

.job_wrapper h3 {
   margin-bottom: 5px !important;
}

.job_wrapper strong {
   font-weight: bold;
}

.jobs_header .button .button__arrow.arrow_back {
   border-radius: 1.2rem 0 0 1.2rem;
   border-right: 0 !important;
   border-left: 2px solid white !important;
}

.jobs_header .button .button__text.arrow_back {
   border-radius: 0 1.2rem 1.2rem 0;
}

.job_page_count {
   text-align: center;
   margin-bottom: 10px;
}

#job_next_page {
   position: relative;
   top: -2px;
}

@media only screen and (max-width: 1024px) {
   #job_prev_page {
      width: 100px;
   }

   #job_next_page {
      width: 100px;
      margin-left: 30%;
   }
}

.job_list_label,
#page #job_order {
   display: inline-block;
}

#page #job_order {
   max-width: 300px;
   font-size: 0.8em;
   padding: 0 10px;
   margin: 0;
}

h1 {
   margin: 35px 0;
}

.dimmed:after {
   content: " ";
   z-index: 10;
   display: block;
   position: absolute;
   height: 100%;
   top: 0;
   left: 0;
   right: 0;
   background: rgba(0, 0, 0, 0.3);
}

.dimmed {
   position: relative;
}

@media only screen and (max-width: 1024px) {
   .job_page_count {
      padding: 20px 50px;
   }
}

.ce_apply_wrapper.ce_apply_modal.job_section_wrapper {
   width: 100% !important;
}