#employees main #intro {
  margin: 20px 0 20px;
}
#employees main #intro .container {
  width: 95%;
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  padding: 20px 0;
  justify-content: space-between;
  border: 2px solid #f4f0ea;
  border-radius: 10px;
  row-gap: 20px;
}
#employees main #intro .container .title {
  width: 100%;
  display: flex;
  flex-direction: column;
}
#employees main #intro .container .title p {
  font-size: 22px;
  color: #60707a;
  font-style: normal;
  font-weight: 200;
  line-height: 150%;
  letter-spacing: 2.2px;
  text-transform: uppercase;
  padding: 0 15px;
}
#employees main #intro .container .title p.motto {
  text-align: center;
  font-size: 16px;
  font-style: normal;
  font-weight: 300;
  line-height: 150%;
  letter-spacing: 1.6px;
  text-transform: inherit;
}
#employees main #intro .container .title h1 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#employees main #intro .container .title h1 > small {
  background-color: #fcfbf9;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > small {
    color: #fcfbf9;
    background-color: #434333;
  }
}
#employees main #intro .container .title h1 > span {
  position: relative;
  font-size: 42px;
  font-weight: 200;
  color: #60707a;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 4.2px;
  line-height: 1;
  padding: 0 10.5px 0 10.5px;
  z-index: 2;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > span {
    color: #fcfbf9;
  }
}
#employees main #intro .container .title h1 > span:not(:last-child) {
  margin-bottom: 8.4px;
}
#employees main #intro .container .title h1 > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  background-color: #f4f0ea;
  border-radius: 0 20px 20px 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  #employees main #intro .container .title h1 > span::before {
    background-color: #434333 !important;
  }
}
@media screen and (max-width: 900px) {
  #employees main #intro .container .title h1 > span::before {
    border-radius: 0 8px 8px 0;
  }
}
#employees main #intro .container .title h1 {
  text-transform: uppercase;
  margin: 20px 0;
}
#employees main #intro .container .desc {
  position: relative;
  width: 100%;
  display: flex;
  justify-content: center;
}
#employees main #intro .container .desc img {
  width: 90%;
  display: block;
  height: auto;
}
#employees main #intro .container .desc > p {
  max-width: 50%;
  position: absolute;
  display: block;
  text-align: center;
  font-size: 25px;
  font-weight: 400;
  line-height: 150%;
  letter-spacing: 2.5px;
  top: 57%;
  transform: translateY(-50%);
}
#employees main #intro .container .desc > p span {
  display: block;
  font-size: 15px;
  font-weight: 200;
  line-height: 150%;
  letter-spacing: 1.5px;
}
#employees main #groups .container {
  width: 95%;
  margin: 0 auto;
}
#employees main #groups .container .list li {
  border-top: 4px solid #f4f0ea;
  padding-bottom: 10px;
}
#employees main #groups .container .list li .header {
  display: flex;
  flex-direction: row;
  flex-wrap: wrap;
  padding: 10px 0;
}
#employees main #groups .container .list li .header .title {
  width: 100%;
}
#employees main #groups .container .list li .header .title h2 {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}
#employees main #groups .container .list li .header .title h2 > small {
  background-color: #fcfbf9;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > small {
    color: #fcfbf9;
    background-color: #434333;
  }
}
#employees main #groups .container .list li .header .title h2 > span {
  position: relative;
  font-size: 23px;
  font-weight: 200;
  color: #60707a;
  text-align: left;
  text-transform: uppercase;
  letter-spacing: 2.3px;
  line-height: 1;
  padding: 0 5.75px 0 5.75px;
  z-index: 2;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > span {
    color: #fcfbf9;
  }
}
#employees main #groups .container .list li .header .title h2 > span:not(:last-child) {
  margin-bottom: 4.6px;
}
#employees main #groups .container .list li .header .title h2 > span::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  transform: none;
  background-color: #f4f0ea;
  border-radius: 0 20px 20px 0;
  width: 100%;
  height: 100%;
  z-index: -1;
}
@media (prefers-color-scheme: dark) {
  #employees main #groups .container .list li .header .title h2 > span::before {
    background-color: #434333 !important;
  }
}
@media screen and (max-width: 900px) {
  #employees main #groups .container .list li .header .title h2 > span::before {
    border-radius: 0 8px 8px 0;
  }
}
#employees main #groups .container .list li .header .title h2 {
  text-transform: uppercase;
  padding: 10px 0;
}
#employees main #groups .container .list li .header .title h2 span {
  width: 100%;
  padding: 5px;
}
#employees main #groups .container .list li .header .info {
  width: 100%;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  gap: 15px;
}
#employees main #groups .container .list li .header .info p {
  font-size: 15px;
  font-style: normal;
  font-weight: 200;
  line-height: normal;
  letter-spacing: 1.5px;
  background-color: #f4f0ea;
  padding: 5px 10px;
  border-radius: 10px;
  cursor: pointer;
  user-select: none;
}
#employees main #groups .container .list li .header .info p span {
  font-weight: 400;
  line-height: 100%;
}
#employees main #groups .container .list li .header .info p:nth-child(3) {
  margin-left: auto;
  text-align: center;
}
#employees main #groups .employee-list {
  display: none;
}
#employees main #groups .employee-list .container {
  display: flex;
  flex-direction: row;
}
#employees main #groups .employee-list .container .list {
  width: 100%;
  padding: 30px 0;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  row-gap: 35px;
}
#employees main #groups .employee-list .container .list .item {
  display: flex;
  flex-direction: column;
  align-content: flex-start;
  align-items: center;
  cursor: pointer;
}
#employees main #groups .employee-list .container .list .item .image_box {
  position: relative;
}
#employees main #groups .employee-list .container .list .item .image_box .image {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  border: 2px solid #f4f0ea;
  overflow: hidden;
}
#employees main #groups .employee-list .container .list .item .image_box .image img {
  width: 100%;
  filter: grayscale(1);
}
#employees main #groups .employee-list .container .list .item .image_box .years {
  position: absolute;
  top: -10px;
  right: -10px;
  padding: 3px 0;
  min-width: 25px;
  background-color: #f4f0ea;
  border-radius: 10px;
  font-size: 12px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  text-align: center;
  color: #ffffff;
}
#employees main #groups .employee-list .container .list .item p {
  font-size: 11px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.2px;
  text-align: center;
  padding-top: 5px;
  word-spacing: 100vw;
}
#employees main #groups .employee-list .container .list .item.active .image_box .image img {
  filter: grayscale(0);
}
#employees main #groups .employee-list .container .list .item.active .image_box .years {
  background-color: #60707a;
}
#employees main #groups .employee-list .container .detail {
  grid-column: 1/-1;
  width: 100%;
  display: flex;
  flex-direction: column;
  padding-top: 70px;
}
#employees main #groups .employee-list .container .detail .card {
  width: 100%;
  display: flex;
  flex-direction: column;
  background-color: #f4f0ea;
  border-radius: 20px;
  text-align: center;
  padding-bottom: 35px;
}
#employees main #groups .employee-list .container .detail .card .inner {
  height: 80px;
}
#employees main #groups .employee-list .container .detail .card .inner .top {
  width: 70%;
  height: 120px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  column-gap: 4px;
  border: 2px solid #f4f0ea;
  background-color: #f4f0ea;
  border-radius: 20px;
  margin: 0 auto;
  overflow: hidden;
  transform: translateY(-50%);
}
#employees main #groups .employee-list .container .detail .card .inner .top .photo {
  width: 50%;
}
#employees main #groups .employee-list .container .detail .card .inner .top .photo img {
  width: 100%;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info {
  width: 50%;
  background-color: #ffffff;
  padding: 10px 0;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info .years {
  color: #212111;
  text-align: center;
  font-size: 42px;
  font-weight: 500;
  line-height: 100%;
  letter-spacing: 4.2px;
}
#employees main #groups .employee-list .container .detail .card .inner .top .info .cat, #employees main #groups .employee-list .container .detail .card .inner .top .info .years_text {
  font-size: 13px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1.4px;
}
#employees main #groups .employee-list .container .detail .card .desc {
  width: 100%;
  box-sizing: border-box;
  padding: 0 30px;
}
#employees main #groups .employee-list .container .detail .card .desc .name {
  font-size: 16px;
  font-style: normal;
  font-weight: 500;
  line-height: normal;
  letter-spacing: 1.6px;
  text-transform: uppercase;
  padding-bottom: 5px;
}
#employees main #groups .employee-list .container .detail .card .desc .tel, #employees main #groups .employee-list .container .detail .card .desc .email {
  font-size: 14px;
  font-style: normal;
  font-weight: 300;
  line-height: normal;
  letter-spacing: 1.4px;
}
#employees main #groups .employee-list .container .detail .card .desc .slogan {
  font-size: 16px;
  font-style: normal;
  font-weight: 400;
  line-height: normal;
  letter-spacing: 1.6px;
  padding-top: 30px;
}
