#doctor {
  color: #2EC0CB;
  font-size: 18px;
  line-height: 1.5;
  padding-bottom: 56px;
}

h1.title {
  margin: 56px 0;
}

.trigger-container {
  display: flex;
  flex-direction: row;
  margin-top: 16px;
  margin-bottom: 24px;
  justify-content: space-evenly;
  flex-wrap: wrap;
}

.trigger {
  display: inline-block;
  background-color: #FFF;
  color: #2EC0CB;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 700;
  cursor: pointer;
}

.trigger.active {
  background-color: #1B7076;
  color: #FFF;
}

.trigger:hover {
  background-color: #1B7076;
  color: #FFF;
}

.trigger + .trigger {
  margin-left: 16px;
}

.filter-divider {
  border-width: 2px;
  border-color: #2EC0CB;
  margin-top: 0;
  margin-bottom: 40px;
}

@media screen and (max-width: 425px) {
  .trigger + .trigger {
    margin: 0;
  }
}

.doctor-container {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
}

.doctor-item {
  display: flex;
  align-items: center;
  flex-direction: column;
  position: relative;
  padding-top: 24px;
  margin-bottom: 24px;
  color: #2EC0CB;
  width: 33%;
  max-width: 330px;
}

.doctor-item .overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: transparent;
  content: '';
  top: 0;
  left: 0;
  border-radius: 8px;
  opacity: 0;
  display: flex;
  justify-content: center;
  align-items: center;
}

.doctor-item::before {
  position: absolute;
  transform: translate(-50%, -50%);
  top: 30%;
  left: 50%;
  content: '';
  width: 240px;
  height: 240px;
  border-radius: 100%;
  background-color: #A1E1ED;
  z-index: 1;
}

.doctor-item .image-doctor {
  width: 65% !important;
  position: relative;
  z-index: 2;
}

.doctor-item > hr {
  border-width: 2px;
  border-color: #2EC0CB;
  width: 60%;
  margin: 8px 0;
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25);
}

.doctor-item .doctor-name {
  position: relative;
  z-index: 2;
}

.doctor-item .doctor-position, .doctor-item .doctor-schedule {
  line-height: 1.5;
  position: relative;
  z-index: 2;
  font-size: 14px;
}

.doctor-item .doctor-position {
  margin-bottom: 4px;
}

.doctor-item:hover .overlay {
  background-color: rgba(93, 206, 215, 0.6);
  z-index: 3;
  opacity: 1;
}

.overlay .more-button {
  background-color: #FFF;
  color: #2EC0CB;
  padding: 4px 8px;
  border-radius: 8px;
  font-weight: 700;
}

@media screen and (max-width: 768px) {
  .doctor-container {
    justify-content: space-between;
    padding: 0 40px;
  }
  
  .doctor-item {
    width: 50%;
  }
}

@media screen and (max-width: 425px) {
  .doctor-container {
    justify-content: space-between;
    padding: 0 16px;
  }
  
  .doctor-item {
    width: 47%;
    padding: 8px;
    margin: 1.5% 1.5%;
  }

  .doctor-item .doctor-name {
    font-size: 16px;
  }

  .doctor-item::before {
    width: 40vw;
    height: 40vw;
  }
}