/*=============== team ===============*/

/*
 * 1. core styles
 */

.teamy {
  position: relative;
  z-index: 1;
  overflow: hidden;
}
.teamy_layout {
  position: relative;
  width: 100%;
  border: 0;
  background: transparent;
  max-width: 150px;
  margin: 0 auto;
}
.teamy_preview {
  position: relative;
  overflow: hidden;
  padding-bottom: 0;
  /*max-height: 165px;*/
}
.teamy_avatar {
  display: block;
  max-width: 100%;
  position: relative;
  z-index: 1;
  margin: 0 auto;
}
.teamy_preview:before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 2;
}
.teamy_back {
  width: 100%;
  /* height: 100%;*/
  box-sizing: border-box;
  opacity: 0;
  will-change: opacity;
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 3;
}
.teamy:hover .teamy_back {
  /*opacity: 1;*/
  /*height: 100%;*/
  /*transition: opacity .4s cubic-bezier(0.71, 0.05, 0.29, 0.9) .2s;*/
}
.teamy_name {
  margin-top: 0;
  margin-bottom: 0;
}
.teamy_post {
  display: block;
}
/*
 * 2. visual styles
 */

/* common styles for visual styles */

.teamy_back {
  padding-left: 10px;
  padding-right: 10px;
  text-align: center;
}
.teamy_content {
  padding: 10px 5px;
  padding-top: 5px;
  padding-bottom: 0;
  max-width: 200px;
  margin: 0 auto;
}
.teamy_name {
  font-size: 11px;
  letter-spacing: 1px;
  color: #1964B6;
}
.teamy_post {
  margin-top: .5em;
  color: #6f6f6f;
  font-size: 11px;
}
/* style 1 */
.col20{
  flex: 0 0 20%;
  max-width: 20%;
  position: relative;
  width: 100%;
  padding-right: 15px;
  padding-left: 15px;
}
.teamy_style1 {
  text-align: center;
  border: 0;
  min-height: 200px;
  margin-bottom: 0px;
  background: transparent;
}
.teamy_style3 .teamy_name {
  font-size: 2em;
}

/* zoom */

.teamy_zoom-photo .teamy_avatar {
  transition: transform .4s cubic-bezier(0.71, 0.05, 0.29, 0.9);
  will-change: transform;
  transform: scale(1);
}
.teamy_zoom-photo:hover .teamy_avatar {
  transform: scale(1.2);
}
/* zoom and rotate */

.teamy_zoom-rotate-photo .teamy_avatar {
  transition: transform .4s cubic-bezier(0.71, 0.05, 0.29, 0.9);
  will-change: transform;
  transform: scale(1) rotate(0);
}
.teamy_zoom-rotate-photo:hover .teamy_avatar {
  transform: scale(1.2) rotate(5deg);
}
/* zoom and slide */

.teamy_zoom-slide-photo .teamy_avatar {
  transition: transform .4s cubic-bezier(0.71, 0.05, 0.29, 0.9);
  will-change: transform;
  transform: scale(1) translate(0, 0);
}
.teamy_zoom-slide-photo:hover .teamy_avatar {
  transform: scale(1.2) translate(4%, 4%);
}

/*
 * 5. default skin
 */

@media screen and (max-width: 360px) {
  .melnik909 {
    display: none;
  }
}
/* layout */

.section:nth-of-type(even) {
  background-color: var(--colorGray);
}
.section_header {
  position: relative;
  text-align: center;
  text-transform: capitalize;
}
.section_header:before {
  content: "";
  width: 5rem;
  height: 3px;
  background-color: var(--colorAlternative);
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
}
.section_title {
  font-size: 25px;
}
.section_title span {
  color: #1964B6;
}
.section_hint {
  font-size: 18px;
  display: block;
  margin-top: 0rem;
  text-transform: none;
}
.section_content {
  display: flex;
  flex-wrap: wrap;
  align-items: flex-start;
}

@media screen and (min-width: 641px) {
  .section {
    padding-top: 3rem;
    padding-bottom: 3rem;
  }
  .section_header {
    margin-bottom: 1rem;
  }
  .section_content {
    justify-content: center;
  }
}

@media screen and (max-width: 640px) {
  .section {
    padding-top: 4rem;
    padding-bottom: 4rem;
  }
}
/* demo params */

.teamy_preview:before {
  background-color: var(--demoColorMask, rgba(1, 94, 186, .8));
}
.teamy_style2 .teamy_content {
  background-color: var(--demoColorContent, rgba(72, 27, 174, .85));
}
/* social-team buttons */

.social-team {
  box-sizing: border-box;
  width: 35px;
  height: 35px;
  padding: 6px;
  /* background-color: #fff;*/
  color: #fff;
  border-radius: 100%;
  margin: 0px;
  position: relative;
  display: inline-block;
  vertical-align: middle;
}
.social-team:hover {
  box-sizing: border-box;
  background-color: #fff;
}
.social-team_icon {
  width: 100%;
  height: 100%;
  fill: rgba(72, 27, 174, 1);
  fill: var(--demoColorIcon, rgba(72, 27, 174, 1));
}
.social-team_name {
  position: absolute;
  left: -9999px;
}
/* grid */

.teamy-team {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
}

@media screen and (max-width: 768px) {
  .col20 {
    width: 50% !important;
    flex: 0 0 50%;
    max-width: 50%;
  }

  .teamy_name {
    font-size: 11px;
  }
  .teamy_post {
    font-size: 11px;
  }
}

@media screen and (max-width: 424px) {
  .teamy {
    width: 100%;
  }
  .teamy:not(:first-child) {
    margin-top: 3rem;
  }
}
/*=============== team ===============*/
.teams-info {
  padding: 15px 0px;
}

.row-eq-height {
  display: -webkit-box;
  display: -webkit-flex;
  display: -ms-flexbox;
  display:         flex;
}