/**
 * Team detail layout + sidebar — ported from travel-agent-support-DMC our_team_detail.css
 */

#main_content_pc {
  width: 100%;
  box-sizing: border-box;
}

.main_content {
  max-width: 1140px;
  width: 100%;
  margin: 0 auto;
  box-sizing: border-box;
}

.pc_content {
  width: 100%;
  /* max-width: 750px; */
  float: left;
  min-height: 590px;
  box-sizing: border-box;
}

.advisor_info {
  width: 100%;
}

.info_ad_title {
  margin-block-start: 10px;
  border-left: 5px solid var(--primary);
  padding-left: 15px;
  margin-block-end: 15px;
  font-weight: 600;
  font-size: 1.375rem;
  color: var(--primary);
}

.right_ad_list ul {
  padding-left: 20px;
  margin-block-start: -10px;
  margin-block-end: 50px;
  list-style: none;
}

.right_ad_list ul li {
  list-style: none;
  border-bottom: 1px solid #d1d1d1;
  padding: 10px 0;
  line-height: 1.3rem;
}

.right_ad_list ul li:last-child {
  border-bottom: 0;
}

.right_ad_list ul li a {
  text-decoration: none !important;
  color: #303030;
  border-bottom: 0;
}

.right_ad_list ul li a::before {
  content: '';
  position: absolute;
  width: 5px;
  height: 5px;
  transition: transform 0.5s;
  -webkit-transition-timing-function: cubic-bezier(0.68, -0.55, 0.265, 1.55);
  border-top: 2px solid var(--primary);
  border-right: 2px solid var(--primary);
  transform: rotate(45deg);
  margin-block-start: 6px;
  margin-inline-start: -18px;
}

.right_ad_list ul li a {
  position: relative;
  display: inline-block;
}

.infoimage,
.infovideo {
  clear: both;
  margin: 0 auto 30px;
  color: #999;
  position: relative;
}

@media (max-width: 767px) {
  .elementor-widget.elementor-widget-tas-team-advisor-profile,
  .elementor-widget.elementor-widget-tas-team-advisor-sidebar-links {
    --container-widget-width: 100% !important;
    --max-width: 100% !important;
    width: 100% !important;
    max-width: 100% !important;
  }
}

@media (max-width: 750px) {
  .e-con.e-flex:has(.team-advisor-profile),
  .e-con.e-flex:has(.team-advisor-sidebar-links) {
    flex-wrap: wrap;
  }

  .e-con.e-flex:has(.team-advisor-profile) > .e-con.e-child,
  .e-con.e-flex:has(.team-advisor-sidebar-links) > .e-con.e-child,
  .elementor-element.e-con.e-child:has(.elementor-widget-tas-team-advisor-profile),
  .elementor-element.e-con.e-child:has(.team-advisor-profile) {
    flex: 1 1 100% !important;
    width: 100% !important;
    max-width: 100% !important;
    min-width: 0;
    margin-left: 0 !important;
  }

  .wp-caption {
    width: auto !important;
  }

  .main_content {
    max-width: 100%;
  }

  .pc_content {
    float: none;
    max-width: 100%;
    min-height: 0;
  }

  .infoimage img {
    border-radius: 4px;
  }

  .right_ad_list ul {
    margin-block-end: 0;
  }
}

@media (min-width: 768px) {
  .e-con.e-flex:has(.team-advisor-profile) + .e-con.e-child,
  .e-con.e-flex:has(.team-advisor-sidebar-links) {
    min-width: 0;
  }
}
