/*!
Theme Name: Health2Tech_v2
Theme URI: http://underscores.me/
Author: Underscores.me
Author URI: http://underscores.me/
Description: Description
Version: 1.0.0
Tested up to: 5.4
Requires PHP: 5.6
License: GNU General Public License v2 or later
License URI: LICENSE
Text Domain: health2tech_v2
Tags: custom-background, custom-logo, custom-menu, featured-images, threaded-comments, translation-ready
*/

@import url(assets/css/base.css);
@import url(assets/css/components.css);
@import url(assets/css/header.css);
@import url(assets/css/events.css);
@import url(assets/css/video.css);
@import url(assets/css/why.css);
@import url(assets/css/hero.css);
@import url(assets/css/subscribe.css);
@import url(assets/css/speakers.css);
@import url(assets/css/founder.css);
@import url(assets/css/community-manager.css);
@import url(assets/css/board.css);
@import url(assets/css/directors.css);
@import url(assets/css/partners.css);
@import url(assets/css/slack.css);
@import url(assets/css/gallery.css);
@import url(assets/css/youtube.css);
@import url(assets/css/footer.css);
@import url(assets/css/error-404.css);
@import url(assets/css/about.css);
@import url(assets/css/mission.css);
@import url(assets/css/banners.css);

/* events */
.events_head {
  justify-content: space-between;
  align-items: center;
}

.events_title h2 {
  text-transform: uppercase;
}

.events_content {
  margin: 30px -10px 0;
  flex-wrap: wrap;
}

@media screen and (max-width: 576px) {
  .events_content {
    margin: 30px 0 0;
  }
}

.events_empty h3 {
  font-weight: 300;
  font-size: 32px;
  margin: 10px 0;
}

.event_card {
  flex-direction: column;
  margin: 10px;
  padding: 20px;
  border-radius: 12px;
  position: relative;
  background: linear-gradient(white, white) padding-box,
    linear-gradient(103.99deg, #14c9f7 0%, #7408f5 100%) border-box;
  border: 1px solid transparent;
}

.event_card.half {
  width: calc(50% - 20px);
}

.event_card.half .btn {
  width: fit-content;
  margin-left: auto;
}

.event_card.quarter {
  width: calc(25% - 20px);
}

@media screen and (max-width: 992px) {
  .event_card.quarter {
    width: calc(33.3333333333% - 20px);
  }
}

@media screen and (max-width: 768px) {
  .events_head {
    flex-direction: column;
    align-items: flex-start;
  }

  .events_head .btn {
    margin-top: 20px;
    width: 100%;
    justify-content: space-between;
  }

  .event_card.quarter {
    width: calc(50% - 20px);
  }
}

@media screen and (max-width: 576px) {
  .event_card.quarter,
  .event_card.half {
    width: 100%;
    margin: 10px 0;
  }

  .event_card.half .btn {
    width: 100%;
    margin-left: inherit;
  }
}

.event_card .location {
  align-items: center;
}

.event_card .location img {
  max-width: 16px;
}
.event_card .date {
  font-size: 24px;
  font-family: var(--font-head);
  font-weight: 500;
}

.event_card .time {
  margin-bottom: 30px;
}

.event_card .btn {
  margin-top: auto;
}

/* why */
.why_row {
  margin: 0 -10px;
}

.why_row_reverse {
  flex-direction: row-reverse;
}

.why_item {
  width: calc(50% - 20px);
  margin: 10px;
}

@media screen and (max-width: 768px) {
  .why_row {
    margin: 0;
    flex-direction: column;
  }

  .why_item {
    width: 100%;
    margin: 10px 0;
  }
}

.why_item.text {
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.why_item.image {
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
}

.why_item.image img {
  height: 100%;
  max-height: 500px;
  object-fit: cover;
}

@media screen and (max-width: 992px) {
  .why_item.image img {
    max-height: inherit;
  }
}

@media screen and (max-width: 768px) {
  .why_item.image img {
    max-height: 500px;
  }
}
/* who */
.who {
  color: var(--light);
}

.who_body {
  background: linear-gradient(270deg, #499bff 0%, #622df6 100%);
}

.who_content {
  width: 70%;
  padding-left: 40px;
}

.who_image {
  width: 30%;
}

@media screen and (max-width: 992px) {
  .who_content {
    width: 100%;
    padding-left: 0;
  }

  .who_image {
    display: none;
  }
}

.who_item img {
  max-width: 30px;
  margin-right: 10px;
}

.who_item span {
  font-size: 24px;
  font-family: var(--font-head-bold);
}

/* attend */
.attend_list {
  margin-top: 40px;
}

.attend_item {
  border: 1px solid var(--primary);
  padding: 20px;
}

.attend_item:not(:last-child) {
  margin-bottom: 15px;
}

.attend_img {
  padding-right: 20px;
  align-items: flex-start;
  border-right: 1px solid var(--primary);
}

.attend_img img {
  width: 40px;
}

.attend_content {
  padding-left: 20px;
}

.attend_content h3 {
  margin-top: 0;
}

/* about */
.about_row {
  margin: 0 -10px;
}

.about_item {
  width: calc(50% - 20px);
  margin: 0 10px;
}

@media screen and (max-width: 768px) {
  .about_row {
    margin: 0;
    flex-direction: column;
  }

  .about_item {
    width: 100%;
    margin: 15px 0;
  }
}

.about_item.text {
  flex-direction: column;
  justify-content: center;
}

.about_item.img {
  border-radius: 24px;
  overflow: hidden;
  line-height: 0;
}

.about_item.img img {
  height: 100%;
  max-height: 540px;
  object-fit: cover;
  object-position: top;
}

@media screen and (max-width: 992px) {
  .about_item.img img {
    max-height: inherit;
  }
}

@media screen and (max-width: 768px) {
  .about_row {
    margin: 0;
    flex-direction: column;
  }

  .about_item {
    width: 100%;
    margin: 15px 0;
  }

  .about_item.img img {
    max-height: 540px;
  }
}

/* board */
.board_list {
  margin: 20px -10px;
  flex-wrap: wrap;
}

.board_card {
  width: calc((100% / 3) - 20px);
  margin: 10px;
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  border: 1px solid var(--primary);
  z-index: 1;
}

.board_card::before {
  content: "";
  width: 100%;
  height: 100%;
  position: absolute;
  background: url(assets/img/board_decor.png) no-repeat center;
  background-size: contain;
  z-index: -1;
  left: 0;
}

.board_card_front {
  height: 100%;
  display: flex;
  flex-direction: column;
}

.board_card_back {
  position: absolute;
  width: 100%;
  height: 100%;
  top: 0;
  left: 0;
  transform: translateY(-150%);
  background-color: var(--light);
  transition: 0.7s;
  overflow: hidden;
  overflow-y: auto;
}

.board_card:hover .board_card_back {
  transform: translateY(0);
}

.card_description {
  line-height: 1.2;
  padding: 15px;
  margin-bottom: 40px;
}

.board_card .card_head {
  padding: 20px 15px;
}

.board_card .card_head h3 {
  margin: 0;
  line-height: 1;
}

.board_card .card_name img {
  max-width: 30px;
  margin-right: 10px;
}

.board_card .card_position {
  font-size: 18px;
  color: var(--primary);
  line-height: 1.6;
}

.board_card .card_img {
  width: 100%;
  margin-top: auto;
  line-height: 0;
}

.board_link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  min-width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid var(--primary);
  background-color: var(--light);
  position: absolute;
  bottom: 10px;
  right: 10px;
  z-index: 5;
}

.board_card .card_decor {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 180px;
  background: linear-gradient(180deg, rgba(85, 99, 230, 0) 0%, #5563e6 100%);
  text-align: center;
  padding: 30px 0;
  align-items: flex-end;
  justify-content: center;
  color: var(--light);
  line-height: 1;
  font-size: 18px;
  display: none;
}

@media (max-width: 992px) {
  .board_card {
    width: calc(50% - 20px);
  }
}

@media (max-width: 768px) {
  .board_card .card_decor {
    display: flex;
  }
}

@media (max-width: 576px) {
  .board_list {
    margin: 20px 0;
  }
  .board_card {
    width: 100%;
  }
}

/* directors  */
.directors_content {
  margin-top: 30px;
}

.directors_swiper .swiper-slide {
  height: 100% !important;
}

.director_card {
  display: flex;
  flex-direction: column;
  align-items: center;
  height: 100%;
}

.director_avatar {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.director_avatar .avatar_wrap {
  width: 250px;
  height: 250px;
  border-radius: 50%;
  overflow: hidden;
  background-color: #5563e6;
}

.director_info {
  border-radius: 24px;
  border: 1px solid var(--primary);
  padding: 20px;
  margin-top: -40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  flex-grow: 1;
}

.director_location {
  display: flex;
  align-items: center;
  background: linear-gradient(270deg, #499bff 0%, #622df6 100%);
  padding: 10px 25px;
  border-radius: 30px;
  color: var(--light);
  position: absolute;
  bottom: -10px;
}

.director_location svg {
  margin-right: 10px;
}

.director_title {
  display: flex;
  align-items: center;
  margin-top: 40px;
}

.director_title h3 {
  margin: 0;
  font-weight: 500;
  font-size: 24px;
}

.director_in {
  margin-left: 10px;
  width: 40px;
  min-width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5563e6;
  display: flex;
  align-items: center;
  justify-content: center;
}

.director_desc p {
  margin-bottom: 0;
  font-size: 14px;
  text-align: center;
}

.directors .past_actions {
  margin-top: 20px;
}

@media (max-width: 576px) {
  .director_avatar .avatar_wrap {
    width: 200px;
    height: 200px;
  }
}

/* contact */
.contact_row {
  margin: 0 -10px;
}
.contact_item {
  width: calc(50% - 20px);
  margin: 0 10px;
}

.contact_item .desc {
  color: var(--light);
}

.contact_head {
  color: var(--light);
}

.contact_item.promo {
  display: flex;
  align-items: center;
}

.contact_item.promo span {
  font-size: 48px;
  text-transform: uppercase;
  font-family: var(--font-head);
  background: linear-gradient(270deg, #499bff 0%, #622df6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
  .contact_row {
    margin: 0;
  }
  .contact_item {
    width: 100%;
    margin: 0;
  }

  .contact_item.promo {
    display: none;
  }
}

@media screen and (max-width: 1200px) {
  .contact_item.promo span {
    font-size: 40px;
  }
}

@media screen and (max-width: 992px) {
  .contact_item.promo span {
    font-size: 36px;
  }
}

.contact_item.form {
  background: linear-gradient(270deg, #499bff 0%, #622df6 100%);
}

.wpcf7-not-valid-tip {
  font-size: 12px;
}

/* past events */
.past_list {
  margin: 30px 0;
}

.past_body {
  overflow: hidden;
}

@media screen and (max-width: 768px) {
  .past_head {
    flex-wrap: wrap;
  }

  .past_head .btn {
    margin-top: 20px;
  }
}

.past_actions {
  justify-content: space-between;
  align-items: center;
}

/* youtube */
.youtube {
  display: none;
}

.youtube_content {
  margin: 30px -15px 0;
  display: flex;
  flex-wrap: wrap;
}

.youtube_head {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.video_card {
  width: calc((100% / 3) - 30px);
  margin: 15px;
  color: var(--dark);
}

.video_card-title {
  display: flex;
  justify-content: center;
  text-align: center;
  margin-top: 10px;
}

.video_card-title h5 {
  color: var(--dark) !important;
  margin: 0;
}

.video_card img {
  border-radius: 24px;
  overflow: hidden;
}

@media (max-width: 768px) {
  .youtube_content {
    margin: 30px 0 0;
  }

  .video_card {
    width: 100%;
    margin: 15px 0;
  }
}

@media (max-width: 576px) {
  .youtube_head {
    flex-direction: column;
    align-items: flex-start;
  }
}

/* subscribe */
.subscribe_body {
  background-color: var(--dark);
  position: relative;
  overflow: hidden;
}

.subscribe_body::after {
  content: "";
  position: absolute;
  background: url(assets/img/subscribe.png) no-repeat right;
  right: 0;
  top: 0;
  height: 100%;
  width: 62%;
  z-index: 0;
}

.subscribe_content {
  width: 70%;
  position: relative;
  z-index: 1;
}

@media screen and (max-width: 992px) {
  .subscribe_body::after {
    width: 100%;
    background-size: cover;
  }

  .subscribe_content {
    width: 100%;
  }
}

.subscribe_head {
  color: var(--light);
}

.subscribe_head img {
  display: inline-flex;
}

.subscribe_head h2 {
  display: inline;
}

.subscribe_desc {
  color: var(--light);
  margin: 15px 0;
}

.subscribe_note {
  color: var(--light);
}

/* footer */
.footer_top {
  align-items: center;
  justify-content: space-between;
}

@media screen and (max-width: 768px) {
  .footer_top {
    align-items: flex-start;
    flex-direction: column;
  }

  .footer_top .social {
    margin-top: 15px;
  }
}

.footer_nav {
  padding: 20px 0;
  margin: 20px 0;
  border: solid var(--dark);
  border-width: 2px 0 2px 0;
}

.footer_nav ul {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  align-items: center;
}

.footer_nav li {
  margin: 0 15px;
}

@media screen and (max-width: 768px) {
  .footer_nav ul {
    display: flex;
    align-items: flex-start;
    flex-direction: column;
  }

  .footer_nav li {
    margin: 15px 0;
  }
}

.footer_nav li:first-child {
  margin-left: 0;
}

.footer_bottom {
  margin-bottom: 30px;
  font-size: 14px;
}

@media screen and (max-width: 768px) {
  .footer_bottom {
    flex-direction: column;
    align-items: center;
  }
}

.footer_bottom .terms_privacy a {
  margin: 0 5px;
  text-decoration: underline;
  color: #333;
}

.footer_bottom .terms_privacy a:hover {
  text-decoration: none;
}

/* social */
.social_item {
  display: flex;
  align-items: center;
  justify-content: center;
}
.social_item.twitter {
  margin: 0 15px;
}

/* category */
.categories {
  margin: 20px 0;
}

.category_body {
  background-color: var(--light);
  overflow: hidden;
}

.category_content.loading {
  min-height: 300px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.category_list {
  margin: 0 -10px;
  flex-wrap: wrap;
}

.category_list .event_item {
  width: calc((100% / 3) - 20px);
  margin: 10px;
  color: #333;
  text-decoration: none;
}

@media screen and (max-width: 768px) {
  .category_list .event_item {
    width: calc(50% - 20px);
  }

  .category_filter {
    flex-direction: column-reverse;
    align-items: center;
  }

  .category_filter .select-menu {
    margin-top: 20px;
  }
}

@media screen and (max-width: 576px) {
  .category_list {
    margin: 0;
  }

  .category_list .event_item {
    width: 100%;
    margin: 15px 0;
  }

  .category_type {
    width: 100%;
  }
}

.no_found {
  margin: 20px 0;
}

.no_found_body {
  align-items: center;
}

.no_found_content {
  margin-right: 30px;
}

.no_found_content h2,
.success_content h2 {
  text-transform: none;
  font-family: var(--font-head);
  background: linear-gradient(270deg, #499bff 0%, #622df6 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

@media screen and (max-width: 768px) {
  .no_found_body {
    flex-direction: column;
  }

  .no_found_img {
    margin-top: 30px;
  }

  .no_found_content {
    margin-right: 0;
  }
}

/* video */
.video_content {
  position: relative;
  width: 100%;
  max-width: 900px;
  margin: 0 auto;
  overflow: hidden;
  aspect-ratio: 16/9;
  border-radius: 12px;
}

.video_poster {
  height: 100%;
  object-fit: cover;
}

.video_content iframe {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  width: 100%;
  height: 100%;
  border: none;
  display: none;
}

/* success  */
.success_body {
  margin: 20px 0;
}

.success_content {
  width: 50%;
}

.success_img {
  width: 50%;
  display: flex;
  align-items: flex-end;
}

.success_img img {
  max-width: 400px;
  margin-left: auto;
}

@media screen and (max-width: 768px) {
  .success_img {
    display: none;
  }

  .success_content {
    width: 100%;
  }
}

.content_container {
  margin: 20px 0;
}

.content_container h1 {
  margin-top: 0;
}

.content_container a {
  color: var(--primary);
  text-decoration: underline;
  word-break: break-word;
}

.content_container a:hover {
  text-decoration: none;
}

.content_container h2 {
  font-size: 28px;
}

.grecaptcha-badge {
  right: -300px !important;
}

.map_content {
  margin-top: 20px;
}
