.filial {
  .filial-heading {
    display: flex;
    // flex-wrap: wrap;

    .filial-heading__image {
      margin-right: 50px;
      flex: 0 1 50%;
    }

    .filial-heading__info {
      flex: 0 1 50%;
    }
  }

  .filial-gallery {
    .filial-gallery__row {
      display: flex;
      margin: 0 -15px;
    }
  }

  .filial-docs {
    .filial-docs__items {
      li {
        display: flex;
        align-items: center;
        position: relative;
        height: 46px;
        margin-bottom: 20px;

        a {
          font-weight: 350;
          line-height: 26px;
          color: #292929;
          padding-left: 100px;

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 70px;
            background: #f9f9f9;
          }

          &::after {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 70px;
            background-position: center;
            background-repeat: no-repeat;
          }
        }

        &._docx a::after {
          background-image: url("../img/docx.svg");
        }

        &._pdf a::after {
          background-image: url("../img/pdf.svg");
        }

        &._exl a::after {
          background-image: url("../img/exl.svg");
        }
      }
    }
  }

  .filial-vacancies {
    .filial-vacancies__row {
      .filial-vacancies__row-vacancy {
        background: #f9f9f9;
        padding: 35px;
        display: block;
        margin-bottom: 15px;
        font-weight: 350;
        font-size: 15px;
        line-height: 30px;
        color: #1a1a1a;
        position: relative;

        &:hover::after {
          right: -5px;
        }

        &::before {
          content: "";
          position: absolute;
          bottom: 0;
          right: 0;
          height: 60px;
          width: 60px;
          background: #ffffff;
        }

        &::after {
          content: "";
          position: absolute;
          bottom: 0;
          right: 0;
          height: 60px;
          width: 60px;
          background: url("../img/arrow-blue.svg") no-repeat center;
          transition: $fast-transition;
        }

        .row-vacancy__title {
          font-weight: 700;
          font-size: 18px;
          line-height: 30px;
          text-decoration: underline;
          color: #1a1a1a;
          margin-bottom: 15px;
        }

        .row-vacancy__located {
          position: relative;
          margin-bottom: 30px;
          padding-left: 30px;
          height: 30px;

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 20px;
            background: url("../img/location.svg") no-repeat center;
          }
        }

        .row-vacancy__description {
          font-size: 16px;
          line-height: 26px;
          margin-bottom: 35px;
        }

        .row-vacancy__time {
          position: relative;
          margin-bottom: 30px;
          padding-left: 30px;
          height: 30px;

          &::before {
            content: "";
            position: absolute;
            top: 0;
            left: 0;
            height: 100%;
            width: 20px;
            background: url("../img/calendar.svg") no-repeat center;
          }
        }
      }
    }
  }
}

.filial-double {
  justify-content: unset !important;

  .default-double-second {
    width: 100%;

    ul {
      padding-left: 50px;
      height: 100%;
      display: flex;
      flex-direction: column;
      justify-content: space-between;

      li {
        padding-bottom: 3px;
        border-bottom: 1px solid #f9f9f9;
        margin-bottom: 14px;
        font-weight: 700;
        font-size: 16px;
        line-height: 26px;
        color: #292929;
        display: flex;
        justify-content: space-between;

        &:last-child {
          margin-bottom: 0;
        }

        span {
          font-weight: 350;
        }
      }
    }
  }
}

.filial-gallery {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  margin: 0 -15px;

  &__item {
    padding: 0 15px;
    flex: 0 1 272px;
    height: 175px;

    &-inner {
      position: relative;

      img {
        position: absolute;
        top: 0;
        left: 0;
        min-height: 100%;
        width: 100%;
      }
    }
  }
}
