.ova-team-loader {
  text-align: center;
  margin-bottom: 30px;
}
.ova-team-loader .loader {
  margin: 0 auto;
  width: 35px;
  height: 35px;
  border: 5px solid;
  border-color: var(--primary) transparent;
  border-radius: 50%;
  display: none;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
}
.ova-team-loader .loader.is-active {
  display: inline-block;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.archive_team {
  margin-bottom: 110px;
}
@media screen and (max-width: 1024px) {
  .archive_team {
    margin-bottom: 70px;
  }
}
.archive_team p, .archive_team h3 {
  margin: 0;
  padding: 0;
  list-style: none;
}
.archive_team .content_inner.overlay {
  opacity: 0.5;
}
.archive_team .content {
  margin: 0;
  padding: 165px 0 0 0;
  list-style: none;
  display: grid;
  column-gap: 30px;
  row-gap: 195px;
}
.archive_team .content.no-image {
  padding: 0;
  row-gap: 55px;
}
.archive_team .content.no-image .items {
  border: none;
}
.archive_team .items {
  text-align: center;
  border-width: 2px;
  border-bottom: 0;
  border-style: solid;
  border-image-slice: 1;
  border-image-source: linear-gradient(to bottom, var(--primary), rgba(0, 0, 0, 0));
}
.archive_team .ova-media {
  margin: -165px 15px 25px 15px;
}
.archive_team .ova-media img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}
.archive_team .job {
  margin: 4px 0 0 0;
  font-size: 14px;
  font-weight: 500;
  line-height: 1.2;
}
.archive_team .name {
  margin-top: 5px;
  font-size: 24px;
}
.archive_team .name a {
  color: var(--heading);
  transition: all 0.3s linear;
  position: relative;
}
.archive_team .name a:hover {
  color: var(--primary);
}
.archive_team .name a:hover:after {
  width: 100%;
}
.archive_team .name a:after {
  position: absolute;
  content: "";
  width: 0%;
  height: 1px;
  bottom: 0;
  left: 0;
  background: var(--primary);
  transition: all 0.3s linear;
}
.archive_team .ova-social {
  margin: 24px -4px -4px -4px;
  padding: 0;
  list-style: none;
}
.archive_team .ova-social .icon {
  display: inline-block;
  margin: 4px;
}
.archive_team .ova-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  color: var(--heading);
  background: #f3f4f7;
  transition: all 0.3s linear;
}
.archive_team .ova-social a:hover {
  transition: all 0.3s linear;
  color: var(--primary);
}
.archive_team .ova-social i {
  display: inline-flex;
  font-size: 18px;
}
.archive_team.classic .items {
  border-image: none;
  border: none;
}
.archive_team.classic .content {
  padding: 0;
  row-gap: 30px;
}
.archive_team.classic .ova-media {
  margin: 0 0 30px 0;
}
.archive_team.classic .ova-media img {
  height: 280px;
}
.archive_team.classic .job {
  color: var(--primary);
  font-weight: 800;
  text-transform: uppercase;
}
.archive_team.classic .name {
  margin: 10px 0 0 0;
  font-size: 22px;
}
.archive_team.classic .ova-social {
  margin: 18px -4px -4px -4px;
}
.archive_team.classic .ova-social a {
  width: 38px;
  height: 38px;
  background-color: transparent;
  border-radius: 0;
  border: 1px solid #DADEEA;
}
.archive_team.classic .ova-social i {
  font-size: 15px;
}
.archive_team.classic.classic_type2 .items {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 30px;
  padding: 25px;
  border: 1px solid #E6E8EE;
  text-align: left;
}
.archive_team.classic.classic_type2 .ova-media {
  margin: 0;
}
.archive_team.classic.classic_type2 .ova-media img {
  width: 200px;
  min-width: 200px;
  height: 200px;
  border-radius: 50%;
}
.archive_team.modern .content {
  padding: 0;
  row-gap: 30px;
}
.archive_team.modern.modern_type2 .ova-team-items-modern .ova-info-content {
  width: calc(100% - 36px);
  margin: -20px auto 0 auto;
  padding: 20px;
  background-color: #fff;
  box-shadow: 0px 10px 60px 0px rgba(0, 0, 0, 0.1);
}
.archive_team.modern.modern_type2 .ova-team-items-modern .ova-social-modern {
  bottom: calc(100% - 20px);
}
.archive_team.modern.modern_type2 .ova-team-items-modern .share-button {
  top: -40px;
  left: 20px;
  background-color: var(--primary);
}
.archive_team.modern.modern_type2 .ova-team-items-modern .share-button i {
  color: #fff;
}
.archive_team .ova-team-items-modern {
  text-align: left;
  border: none;
}
.archive_team .ova-team-items-modern:hover .share-button {
  transition: all 0.3s ease;
  opacity: 0;
  visibility: hidden;
}
.archive_team .ova-team-items-modern:hover .ova-social-modern {
  transition: all 0.5s ease;
  -webkit-transform: scaleX(1);
  transform: scaleX(1);
}
.archive_team .ova-team-items-modern:hover .ova-info-content {
  transition: all 0.3s ease;
}
.archive_team .ova-team-items-modern .ova-media {
  margin: 0;
}
.archive_team .ova-team-items-modern .ova-media img {
  height: 250px;
}
.archive_team .ova-team-items-modern .ova-info-content {
  transition: all 0.3s ease;
  position: relative;
  display: flex;
  justify-content: space-between;
  gap: 5px;
  margin: 25px 0 0 0;
}
.archive_team .ova-team-items-modern .name {
  margin: 0;
  font-size: 20px;
}
.archive_team .ova-team-items-modern .job {
  font-weight: normal;
}
.archive_team .ova-team-items-modern .ova-social-modern {
  transition: all 0.5s ease;
  position: absolute;
  bottom: 100%;
  right: 0;
  background-color: var(--primary);
  margin: 0;
  padding: 18px 12px 16px 12px;
  list-style-type: none;
  -webkit-transform-origin: center;
  transform-origin: center;
  -webkit-transform-style: preserve-3d;
  transform-style: preserve-3d;
  -webkit-transform: scaleX(0);
  transform: scaleX(0);
}
.archive_team .ova-team-items-modern .ova-social-modern .icon {
  line-height: 1;
}
.archive_team .ova-team-items-modern .ova-social-modern .icon:not(:last-child) {
  margin: 0 0 12px 0;
}
.archive_team .ova-team-items-modern .ova-social-modern .icon i {
  display: inline-flex;
  color: #fff;
}
.archive_team .ova-team-items-modern .ova-social-modern .icon i:hover {
  color: var(--heading);
}
.archive_team .ova-team-items-modern .share-button {
  transition: all 0.5s ease;
  position: relative;
  display: inline-flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: #fff;
  box-shadow: 0px 5px 20px 0 rgba(0, 0, 0, 0.1);
}
.archive_team .ova-team-items-modern .share-button i {
  transition: all 0.3s ease;
  display: inline-flex;
  font-size: 12px;
  color: var(--primary);
}

.list-cat-team {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  list-style-type: none;
  padding: 0;
  margin: 0 0 60px 0;
}
.list-cat-team .item.active .cate_name {
  color: #fff;
  background: var(--primary);
}
.list-cat-team .item .cate_name {
  transition: all 0.3s linear;
  display: inline-block;
  font-size: 18px;
  line-height: 1.2;
  font-weight: 600;
  color: var(--heading);
  padding: 7px 15px;
  margin: 0 5px;
  border-radius: 5px;
}
.list-cat-team .item .cate_name:hover {
  transition: all 0.3s linear;
  color: #fff;
  background: var(--primary);
}

.ova_team_single {
  margin-top: 20px;
}
.ova_team_single .summary {
  padding-bottom: 120px;
  border-bottom: 1px solid #d2d5df;
}
@media screen and (max-width: 767px) {
  .ova_team_single .summary {
    padding-bottom: 60px;
  }
}
.ova_team_single .ova_info {
  display: flex;
  gap: 50px;
}
@media screen and (max-width: 767px) {
  .ova_team_single .ova_info {
    flex-direction: column;
    gap: 20px;
  }
}
.ova_team_single .image-team {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .ova_team_single .image-team {
    width: 100%;
  }
}
.ova_team_single .image-team img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
@media screen and (max-width: 767px) {
  .ova_team_single .image-team img {
    margin: 0 auto;
    height: 400px;
  }
}
.ova_team_single .content_info {
  width: 50%;
}
@media screen and (max-width: 767px) {
  .ova_team_single .content_info {
    width: 100%;
  }
}
.ova_team_single .content_info h3, .ova_team_single .content_info h4, .ova_team_single .content_info p, .ova_team_single .content_info ul {
  margin: 0;
  padding: 0;
}
.ova_team_single .content_info .job {
  font-weight: 500;
}
@media screen and (max-width: 767px) {
  .ova_team_single .content_info .job {
    text-align: center;
  }
}
.ova_team_single .content_info .name {
  font-size: 40px;
  font-weight: 800;
  margin-top: 10px;
}
@media screen and (max-width: 767px) {
  .ova_team_single .content_info .name {
    text-align: center;
  }
}
.ova_team_single .content_info .slogan {
  font-size: 24px;
  font-weight: 800;
  color: var(--primary);
  margin-top: 35px;
}
.ova_team_single .content_info .short-desc {
  font-size: 16px;
  margin-top: 35px;
  text-align: justify;
}
.ova_team_single .content_info .ova-experience {
  margin-top: 30px;
}
.ova_team_single .content_info .ova-experience, .ova_team_single .content_info .ova-email, .ova_team_single .content_info .ova-phone {
  margin-bottom: 5px;
}
.ova_team_single .content_info .ova-experience label, .ova_team_single .content_info .ova-email label, .ova_team_single .content_info .ova-phone label {
  font-size: 18px;
  font-weight: 500;
}
.ova_team_single .content_info .ova-experience span, .ova_team_single .content_info .ova-experience a, .ova_team_single .content_info .ova-email span, .ova_team_single .content_info .ova-email a, .ova_team_single .content_info .ova-phone span, .ova_team_single .content_info .ova-phone a {
  color: var(--heading);
  font-weight: 700;
  font-size: 18px;
  position: relative;
  transition: all 0.3s linear;
}
.ova_team_single .content_info .ova-experience span:after, .ova_team_single .content_info .ova-experience a:after, .ova_team_single .content_info .ova-email span:after, .ova_team_single .content_info .ova-email a:after, .ova_team_single .content_info .ova-phone span:after, .ova_team_single .content_info .ova-phone a:after {
  position: absolute;
  content: "";
  bottom: 0;
  left: 0;
  height: 1px;
  width: 0%;
  background: var(--primary);
  transition: all 0.3s linear;
}
.ova_team_single .content_info .ova-experience a:hover, .ova_team_single .content_info .ova-email a:hover, .ova_team_single .content_info .ova-phone a:hover {
  color: var(--primary);
}
.ova_team_single .content_info .ova-experience a:hover:after, .ova_team_single .content_info .ova-email a:hover:after, .ova_team_single .content_info .ova-phone a:hover:after {
  width: 100%;
}
.ova_team_single .content_info .progress-bar {
  list-style: none;
  margin-top: 30px;
}
.ova_team_single .content_info .progress-bar .item {
  margin-bottom: 10px;
}
.ova_team_single .content_info .progress-bar .text {
  margin: 0;
  font-size: 18px;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 5px;
}
.ova_team_single .content_info .progress-bar .bar {
  width: 100%;
  height: 9px;
  background: #f3f4f7;
}
.ova_team_single .content_info .progress-bar .percent {
  width: 0%;
  height: 9px;
  background: var(--primary);
  position: relative;
}
.ova_team_single .content_info .progress-bar .num {
  display: none;
  font-weight: 500;
  line-height: 1;
  position: absolute;
  right: 0;
  top: -27px;
}
.ova_team_single .content_info .ova-social {
  margin: 0;
  padding: 0;
  list-style: none;
  margin-top: 40px;
}
.ova_team_single .content_info .ova-social .icon {
  display: inline-block;
  margin-right: 10px;
  width: 55px;
  height: 55px;
  border-radius: 50%;
  overflow: hidden;
}
.ova_team_single .content_info .ova-social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  color: var(--heading);
  background: #f3f4f7;
  transition: all 0.3s linear;
}
.ova_team_single .content_info .ova-social a:hover {
  color: var(--primary);
}
.ova_team_single .content_info .ova-social i {
  display: inline-flex;
  font-size: 20px;
}

.rtl .archive_team.modern.modern_type2 .ova-team-items-modern .share-button {
  left: unset;
  right: 20px;
}
.rtl .archive_team.modern.modern_type2 .ova-team-items-modern .ova-social-modern {
  right: unset;
  left: 0;
}
.rtl .archive_team .ova-team-items-modern {
  text-align: right;
}
.rtl .archive_team .ova-team-items-modern .ova-social-modern {
  right: unset;
  left: 0;
}
.rtl .ova_team_single .content_info .progress-bar .num {
  right: unset;
  left: 0;
}
/* Party and municipal body metadata */
.ovateam-member-taxonomies {
	display: flex;
	flex-direction: column;
	gap: 8px;
	margin-top: 10px;
}
.ovateam-party {
	display: flex;
	align-items: center;
	gap: 9px;
	min-width: 0;
}
.ovateam-party-logo {
	width: auto !important;
	height: auto !important;
	max-width: 30px !important;
	max-height: 30px !important;
	object-fit: contain;
	object-position: center;
	flex: 0 1 auto;
	display: block;
}
.ovateam-party-name {
	font-size: 14px;
	line-height: 1.25;
	font-weight: 600;
}
.ovateam-bodies {
	display: flex;
	flex-wrap: wrap;
	gap: 5px;
}
.ovateam-body {
	display: inline-flex;
	align-items: center;
	padding: 3px 8px;
	border: 1px solid currentColor;
	border-radius: 999px;
	font-size: 11px;
	line-height: 1.35;
	opacity: .82;
}
.ovateam-member-taxonomies--single {
	margin: 12px 0 18px;
}
.ovateam-member-taxonomies--single .ovateam-party-logo {
	width: auto !important;
	height: auto !important;
	max-width: 30px !important;
	max-height: 30px !important;
}
.ovateam-member-taxonomies--single .ovateam-party-name {
	font-size: 16px;
}

/* Team member departments (ova-dep relationship) */
.ovateam-departments {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin: 0 0 18px;
  font-size: 14px;
  line-height: 1.5;
}
.ovateam-departments-label {
  font-weight: 600;
}
.ovateam-departments-list a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

/* Single member image: preserve its original ratio and use the offset,
   fading side frame supplied in the design reference. */
.ova_team_single .ova_info {
  align-items: flex-start;
}
.ova_team_single .image-team {
  position: relative;
  box-sizing: border-box;
  width: 460px;
  max-width: 46%;
  flex: 0 1 460px;
  padding: 20px 16px 24px;
  border: 0;
  overflow: visible;
}
.ova_team_single .image-team::before {
  content: "";
  position: absolute;
  z-index: 0;
  top: 42%;
  right: 0;
  bottom: 0;
  left: 0;
  background:
    linear-gradient(to bottom, var(--primary), transparent) left top / 1px 100% no-repeat,
    linear-gradient(to bottom, var(--primary), transparent) right top / 1px 100% no-repeat;
  pointer-events: none;
}
.ova_team_single .image-team::after {
  content: "";
  position: absolute;
  z-index: 0;
  top: 42%;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(
    to right,
    var(--primary) 0,
    var(--primary) 16px,
    transparent 16px,
    transparent calc(100% - 16px),
    var(--primary) calc(100% - 16px),
    var(--primary) 100%
  );
  pointer-events: none;
}
.ova_team_single .image-team img {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}
.ova_team_single .content_info {
  width: auto;
  flex: 1 1 0;
  min-width: 0;
}
.ova_team_single .ovateam-member-taxonomies--single {
  margin: 10px 0 18px;
  gap: 8px;
}
.ova_team_single .ovateam-member-taxonomies--single .ovateam-bodies {
  order: 1;
}
.ova_team_single .ovateam-member-taxonomies--single .ovateam-party {
  order: 2;
}
.ova_team_single .ovateam-profile-heading {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  margin: 0 0 24px;
}
.ova_team_single .ovateam-profile-heading .name {
  margin: 0 0 18px;
  line-height: 1.12;
  text-wrap: balance;
}
.ova_team_single .ovateam-profile-heading .ovateam-member-taxonomies--single {
  width: 100%;
  margin: 0;
  gap: 10px;
}
.ova_team_single .ovateam-profile-heading .ovateam-bodies {
  margin: 0 0 2px;
}
.ova_team_single .ovateam-profile-heading .ovateam-body {
  padding: 4px 10px;
  font-size: 12px;
  line-height: 1.25;
  color: var(--heading);
  opacity: 1;
}
.ova_team_single .ovateam-profile-heading .ovateam-party {
  min-height: 30px;
  gap: 10px;
}
.ova_team_single .ovateam-profile-heading .ovateam-party-name {
  font-size: 16px;
  line-height: 1.35;
  font-weight: 500;
}
.ova_team_single .ovateam-profile-heading .job {
  margin: 22px 0 0;
  font-size: 16px;
  line-height: 1.5;
  font-weight: 500;
  color: var(--heading);
}
.ova_team_single .ovateam-profile-heading + .ovateam-departments {
  margin-top: 0;
}
@media screen and (max-width: 767px) {
  .ova_team_single .image-team {
    width: 100%;
    max-width: 460px;
    flex: none;
    margin: 0 auto;
  }
  .ova_team_single .image-team img {
    width: 100%;
    height: auto;
  }
  .ova_team_single .content_info {
    width: 100%;
  }
  .ova_team_single .ovateam-member-taxonomies--single {
    align-items: center;
  }
  .ova_team_single .ovateam-member-taxonomies--single .ovateam-bodies,
  .ova_team_single .ovateam-member-taxonomies--single .ovateam-party {
    justify-content: center;
  }
  .ova_team_single .ovateam-profile-heading {
    align-items: center;
    width: 100%;
    text-align: center;
  }
}

/* Keep the default list photographs vertical and uniform. This deliberately
   does not apply to the single member image. */
.archive_team:not(.classic):not(.modern) .ova-team-items .ova-media img {
  display: block;
  width: 100%;
  height: 400px;
  object-fit: cover;
  object-position: center;
}
