/*
Theme Name: Astra Child
Theme URI: https://topweb360.com/
Author: Adrian
Author URI: https://topweb360.com/
Description: Astra Child Theme
Template: astra
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Tags: translation-ready
Text Domain: astra-child
*/

/* Enrolment Form */
.matri_form_compact_label > label {
  padding-bottom: 0px;
  position: absolute;
  top: 8px;
  left: 16px;
  padding: 0 4px;
  background: rgba(255, 255, 255, 0);

  transition: all 0.3s ease-in-out;
}

.matri_form_compact_label.form_floating label,
.matri_form_compact_label input:autofill ~ label,
.matri_form_compact_label input:focus ~ label,
.matri_form_compact_label:hover > label,
.matri_form_compact_label:active > label,
.matri_form_active_label > label {
  top: -10px !important;
  left: 16px !important;
  font-size: 0.85em !important;
  background: rgba(255, 255, 255, 1) !important;
}

.matri_form_compact_label.elementor-field-group-phone.form_floating label,
.matri_form_compact_label.elementor-field-group-phone input:autofill ~ label,
.matri_form_compact_label.elementor-field-group-phone input:focus ~ label,
.matri_form_compact_label.elementor-field-group-phone:hover > label,
.matri_form_compact_label.elementor-field-group-phone:active > label,
.matri_form_active_label.elementor-field-group-phone > label,
.matri_form_compact_label.elementor-field-group-phone > label,
.matri_form_compact_label.elementor-field-group-referral_code > label {
  position: relative;
  top: 0 !important;
  left: 0 !important;
  font-size: 16px!important;
  padding: 0;
  transition: none;
}

.elementor-field-group-referral_code input {
  text-transform: uppercase;
}

/* Enrolment Section */
@media screen and (max-width: 767px) {
  .enrolment_form_section .elementor-container {
    flex-direction: column-reverse;
  }
}

/* Dashboard */
#quickly_add_career_widget .inside {
  margin: 0;
  padding: 0;
}
#quickly_add_career_widget .postbox .inside {
  margin-bottom: 0;
}
#quickly_add_career_widget form {
  margin: 12px;
}
#quickly_add_career_widget label {
  display: inline-block;
  margin-bottom: 4px;
}
#quickly_add_career_widget form .input-text-wrap input {
  width: 100%;
}
#quickly_add_career_widget input,
#quickly_add_career_widget textarea {
  box-sizing: border-box;
  margin: 0;
}
p.submit.dashboard_form input {
  margin-top: 10px;
}

/* Careers page */
.tax-centre .site-content {
  background-image: url("https://unifriend.es/wp-content/uploads/unifriend/bg-unifriend.jpg");
  background-repeat: repeat;
}

.centre_taxonomy_page h1 {
  color: #e65644;
  padding: 20px 30px;
  margin-bottom: 25px;
  border-radius: 3px;
}

.centre_taxonomy_page h1 span {
  display: block;
  font-size: 18px;
  vertical-align: middle;
}

.centre_taxonomy_page .centre_descrip {
  margin-bottom: 38px;
}

.centre_taxonomy_page .table_menu {
  display: flex;
  flex-direction: row;
  justify-content: start;
  gap: 21px;
  flex-wrap: wrap;
  padding: 4px 4px 8px 4px;
}

.table_menu > a {
  padding: 2px 5px;
  border: 1px solid var(--ast-global-color-0);
  border-radius: 4px;
}

.centre_taxonomy_page .table_title {
  background-color: #fad2d2;
  font-size: 25px;
  color: #ef4444;
  margin: 60px 0 14px 0;
  padding: 15px 2px 5px 15px;
  border-bottom: 2px solid #ef4444;
  border-radius: 3px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.centre_taxonomy_page .table_title:first-of-type {
  margin: 14px 0;
}

.centre_taxonomy_page .table_title span:last-child {
  margin-right: 10px;
}

.centre_taxonomy_page .table_title.table_subtitle {
  background-color: #d9534f;
  font-size: 22px;
  color: #ffffff;
  margin: 0;
  padding: 8px 2px 3px 15px;
  border-bottom: 0 solid transparent;
}

.table_career_prices {
  box-shadow: 0 0 3px rgba(66, 66, 66, .25);
}

.table_career_prices .row.th,
.table_career_prices .row.body {
  padding-top: 10px;
  padding-bottom: 10px;
  padding-left: 15px;
  padding-right: 15px;
  column-gap: 20px;
  color: #343434;
}

.table_career_prices .row.th {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e65644;
  color: #646464;
}

.table_career_prices .row.body {
  display: flex;
  justify-content: space-between;
  border-bottom: 1px solid #e4e4e4;
}

.table_career_prices .row.body:nth-child(2n) {
  background-color: #ffefed;
}

.table_career_prices .row.body:hover {
  background-color: #edcfcc;
}

.centre_taxonomy_page .pagination {
  display: block;
  margin: 30px auto 0 auto;
  width: 100%;
  text-align: right;
}

.centre_taxonomy_page .pagination .page-numbers {
  background-color: #ffffff;
  color: #e65644;
  padding: 5px;
  border: 1px solid #e65644;
  border-radius: 3px;
}

.centre_taxonomy_page .pagination .page-numbers.dots {
  border: 0px solid transparent;
}

.centre_taxonomy_page .pagination .page-numbers.current {
  background-color: #ffffff;
  padding: 5px;
  border: 1px inset #fdfdfd;
}

.table_career_prices .row.body:hover {
  border-radius: 4px;
  box-shadow: 0 0 3px rgba(66, 66, 66, .25);
  transform: scale(1.025);
  transition: all .2s ease-out;
}

.table_career_prices .row.body > .col:nth-child(2) > div {
  position: relative;
  transform: translateX(0);

  transition: transform .4s ease-in;
}
.table_career_prices .row.body:hover > .col:nth-child(2) > div {
  position: relative;
  transform: translateX(-11px);
}

.table_career_prices a > .hide-sm {
  display: none;
}

.table_career_prices a:hover > .hide-sm,
.table_career_prices .row.body:hover a > .hide-sm,
.table_career_prices .row.body:hover > .col:nth-child(2) {
  display: inline-block;
  font-weight: 900;
  color: #d2691e;
}


.table_career_prices .row.body:hover a,
.table_career_prices a:hover {
  text-decoration: none;
  color: #333333;
}

.un-sticky-column {
  position: sticky;
  top: 0;
  overflow: hidden;
  height: 1200px;
}

@media screen and (max-width: 900px) {
  .un-sticky-column {
    height: 1300px;
  }
}

@media screen and (max-width: 798px) {
  .centre_taxonomy_page h1,
  .centre_taxonomy_page .centre_descrip {
    text-align: center;
  }

  .table_career_prices a > .hide-sm,
  .table_career_prices a:hover > .hide-sm {
    display: none;
  }

  /*enrollment forms es en*/
  .elementor-591 .elementor-element.elementor-element-58a4384 > .elementor-element-populated,
  .elementor-390 .elementor-element.elementor-element-43b47506 > .elementor-element-populated,
  .elementor-65742 .elementor-element.elementor-element-73ecf097 > .elementor-element-populated,
  .elementor-61136 .elementor-element.elementor-element-3b090c4a > .elementor-element-populated {
    box-shadow: 0px 31px 84px -40px rgba(49.00000000000001, 49.00000000000001, 49.00000000000001, 0.22) !important;
  }
}

@media screen and (max-width: 768px) {
  .un-sticky-column {
    position: sticky;
    height: auto;
  }
}

/*animations*/
@-webkit-keyframes pulse-animation {
	0% {
	  box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.4);
	}
	100% {
	  box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
	}
  }

@keyframes pulse-animation {
  0% {
    box-shadow: 0 0 0 0px rgba(0, 0, 0, 0.4);
  }
  100% {
    box-shadow: 0 0 0 20px rgba(0, 0, 0, 0);
  }
}
