.event__description {
  margin: 35px 0 80px;
}
@media (max-width: 1025px) {
  .event__description {
    margin: 35px 0 50px;
  }
}
@media (max-width: 420px) {
  .event__description {
    margin: 0 0 40px;
  }
}

.event__day {
  font-family: 'Halvar Breitschrift', Arial, sans-serif;
  font-size: 35px;
  line-height: 39px;
  text-transform: uppercase;
  color: #ffffff;
  padding: 30px 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--accent-color);
}
.event__day:nth-child(odd) {
  background: #d0b182;
}
.event__day:hover,
.event__day.active {
  background: var(--accent-sub-color);
}

#event {
  padding-bottom: 100px;
}
@media (max-width: 420px) {
  #event {
    padding-bottom: 50px;
  }
}
@media (max-width: 769px) {
  .event__content {
    width: auto;
    overflow-x: auto;
    overflow-y: visible;
  }
}
@media (max-width: 420px) {
  .event__content {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding-bottom: 10px;
  }
}

.event__days,
.event__places {
  display: flex;
}
.event__places {
  margin-left: 100px;
  z-index: 4;
}
@media (max-width: 769px) {
  .event__places {
    margin-left: 60px;
  }
}
@media (max-width: 420px) {
  .event__places {
    margin-left: 0;
  }
}

.event__times {
  margin-top: -30px;
  position: relative;
}
@media (max-width: 420px) {
  .event__times {
    margin-top: -21px;
    padding-top: 10px;
  }
}
.event__time {
  border-bottom: 1px solid rgba(208, 177, 130, 0.4);
  padding-bottom: 12px;
}
@media (max-width: 420px) {
  .event__time {
    padding-bottom: 4px;
  }
}

.event__text {
  position: absolute;
  padding: 10px;
  color: white;
  font-size: 14px;
  line-height: 17px;
  width: 100%;
  border-left: 5px solid var(--accent-color);
  background: #40a36e;
  border-right: 1px solid white;
  z-index: 3;
  cursor: pointer;
  left: 0;
}
@media (max-width: 769px) {
  .event__text {
    font-size: 12px;
    line-height: 15px;
  }
}
@media (max-width: 420px) {
  .event__text {
    left: 100%;
    width: calc(100% - 64px);
    transition: margin-left 1s ease;
    margin-left: 87%;
  }
  .event__place-wrap.active .event__text {
    left: 54px;
    margin-left: 0;
  }
}
.event__time-block {
  padding-bottom: 10px;
  border-bottom: 0.5px solid rgba(255, 255, 255, 0.3);
  margin-bottom: 10px;
}
@media (max-width: 769px) {
  .event__time-block {
    padding-bottom: 8px;
    margin-bottom: 8px;
  }
}
.event__time-block_modal {
  border-color: rgba(163, 163, 163, 0.3);
}
.event__text .material-icons-outlined {
  font-size: 18px;
  margin-right: 11px;
}
.event__modal-text {
  font-size: 16px;
  line-height: 23px;
}
@media (max-width: 769px) {
  .event__modal-text {
    font-size: 12px;
  }
}
.event__modal-participles {
  margin: 20px 0;
}
.event__modal-participle {
  font-size: 16px;
  line-height: 23px;
  font-weight: 700;
  margin-bottom: 5px;
}
@media (max-width: 769px) {
  .event__modal-participle {
    font-size: 14px;
    line-height: 23px;
  }
}
.event__modal-translation {
  font-weight: 500;
  font-size: 14px;
  line-height: 1;
  color: var(--accent-color);
  margin-bottom: 14px;
}

.event__text .popover__close {
  right: 15px;
  top: 12px;
}

.event__modal {
  display: none;
  position: absolute;
  left: calc(100% + 5px);
  top: 0;
  background: #f1f1f1;
  box-shadow: 0px 4px 15px rgba(0, 0, 0, 0.15);
  padding: 10px 20px;
  color: #000000;
  min-width: 351px;
  cursor: auto;
}
@media (max-width: 769px) {
  .event__modal {
    position: fixed;
    left: 50% !important;
    right: 50% !important;
    top: 50%;
    transform: translate(-50%, -50%);
  }
}
.event__modal:before {
  right: 100%;
  top: 60px;
  border: solid transparent;
  content: '';
  height: 0;
  width: 0;
  position: absolute;
  pointer-events: none;
}

.event__modal:before {
  border-color: rgba(248, 243, 236, 0);
  border-right-color: #f1f1f1;
  border-width: 15px;
  margin-top: -36px;
}
@media (max-width: 769px) {
  .event__modal:before {
    display: none;
  }
}
.event__text.show {
  z-index: 4;
}
.event__text.show .event__modal {
  display: flex;
}

.event__text.show.left-position .event__modal {
  left: auto;
  right: calc(100% + 5px);
}

.event__text.show.left-position .event__modal:before {
  left: 100%;
  right: 0;
}

.event__text.show.left-position .event__modal:before {
  border-left-color: #f1f1f1;
  border-right-color: transparent;
}

.event__place-wrap {
  position: relative;
}
.event__place-wrap.active .event__place {
  background: var(--accent-color);
  color: white;
}
@media (max-width: 420px) {
  .event__place-wrap {
    position: static;
  }
  .event__places .event__place-wrap.active + .event__place-wrap {
    z-index: 10;
  }
  .event__places .event__place-wrap.active + .event__place-wrap .event__text {
    left: 10%;
  }
}
.event__place-wrap:nth-child(even) .event__text:nth-child(even),
.event__place-wrap:nth-child(odd) .event__text:nth-child(odd) {
  background: #d0b182;
  border-left-color: #bf9437;
}

.event__time span {
  position: relative;
  bottom: -20px;
  z-index: 2;
  background: white;
  padding-right: 24px;
  padding-left: 30px;
}
@media (max-width: 768px) {
  .event__time span {
    padding-right: 10px;
    padding-left: 10px;
  }
}
@media (max-width: 420px) {
  .event__time span {
    padding-right: 10px;
    padding-left: 10px;
    bottom: -14px;
  }
}

.event__place {
  background: #f1f1f1;
  padding: 32px;
  color: #888888;
  text-align: center;
  text-transform: uppercase;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  line-height: 20px;
  border-right: 1px solid white;
  border-bottom: 1px solid white;
  min-width: 130px;
}
@media (max-width: 1025px) {
  .event__place {
    padding: 23px;
  }
}
@media (max-width: 769px) {
  .event__place {
    padding: 15px;
    font-size: 14px;
    line-height: 20px;
  }
}
@media (max-width: 420px) {
  .event__place {
    min-width: 0;
    font-size: 11px;
    line-height: 14px;
    padding: 7px 10px;
  }
}

.popover__close {
  cursor: pointer;
}
.popover__close .material-icons-outlined {
  pointer-events: none;
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  margin: 0 0 40px;
}

.tabs .tab {
  flex: 300px 1 1;
  font-size: 18px;
  line-height: 24px;
  text-align: center;
  color: rgba(58, 61, 58, 0.75);
  padding: 11px;
  background: #fff;
  border: 1px solid #e5e5e5;
  text-decoration: none;
  cursor: pointer;
  transition: 0.3s all;
}

.tabs .tab:hover {
  color: #3a3d3a;
}

.tabs .tab.active {
  background: var(--accent-color);
  color: #fff;
  border-color: var(--accent-sub-color);
}

.tabs .tab input {
  position: absolute;
  opacity: 0;
  z-index: -1;
}

.tab-pane {
  display: none;
}
.tab-pane.active {
  display: block;
}

.digital-section-wrap {
  padding: 90px 0 35px 0;
}

.digital-section {
  border: 1px solid;
  border-color: #fff;
  height: 310px;
  background-color: #f1f1f1;
  transition: border-color 0.2s, background-color 0.2s;
}

.digital-section:hover {
  border-color: var(--accent-sub-color);
  background-color: #fff;
}

.digital-section-link {
  color: #333;
  text-decoration: none;
  display: flex;
  padding: 10px;
  flex-direction: column;
  justify-content: space-around;
  justify-content: space-evenly;
  height: 100%;
}

.digital-section-image-wrap {
  height: 120px;
  display: flex;
  align-items: center;
}

.digital-section-image {
  display: block;
  margin: 0 auto;
}

.digital-section-title {
  text-transform: uppercase;
  text-align: center;
  font-weight: bold;
}

@media (max-width: 1199px) {
  .digital-section-wrap {
    padding: 30px 0 0 0;
  }

  .digital-section {
    height: 232px;
  }

  .digital-section-image {
    margin: 0 auto;
  }

  .digital-section-title {
    font-size: 13px;
  }
}

@media (min-width: 992px) and (max-width: 1199px) {
  .digital-section-image-wrap {
    height: 90px;
  }

  .digital-section-image--bigdata {
    max-width: 80px;
  }

  .digital-section-image--iot {
    max-width: 90px;
  }

  .digital-section-image--robotic {
    max-width: 101px;
  }

  .digital-section-image--services {
    max-width: 72px;
  }
}

@media (max-width: 991px) {
  .digital-section {
    height: 345px;
  }
}

@media (max-width: 767px) {
  .digital-section-wrap {
    padding: 10px 0 0 0;
  }

  .digital-section {
    height: 253px;
  }

  .digital-section-image-wrap {
    height: 90px;
  }

  .digital-section-image--bigdata {
    max-width: 80px;
  }

  .digital-section-image--iot {
    max-width: 90px;
  }

  .digital-section-image--robotic {
    max-width: 101px;
  }

  .digital-section-image--services {
    max-width: 72px;
  }
}

@media (max-width: 575px) {
  .digital-section {
    height: 46vw;
  }

  .digital-section-image {
    margin: 0 auto;
  }

  .digital-section-title {
    font-size: 10px;
  }

  .tabs .tab {
    font-size: 16px;
    line-height: 22px;
  }
}

@media (max-width: 440px) {
  .digital-section-image-wrap {
    height: 60px;
  }

  .digital-section-image--bigdata {
    max-width: 51px;
  }

  .digital-section-image--iot {
    max-width: 57px;
  }

  .digital-section-image--robotic {
    max-width: 64px;
  }

  .digital-section-image--services {
    max-width: 46px;
  }
}