.office {
  display: none;
}
.office.is-active {
  display: block;
}
.office__inner {
  display: -ms-flexbox;
  display: flex;
}
.office__content {
  padding: 56px;
  background-color: #fff;
}
.office__item {
  max-width: 263px;
  margin-right: 80px;
}
.office__title {
  margin-bottom: 16px;
  font-size: 24px;
  font-weight: 800;
}
.office__address {
  margin-bottom: 12px;
  font-size: 19px;
  font-weight: 600;
}
.office__hours {
  margin-bottom: 12px;
  font-weight: 500;
  color: #7A7A7A;
}

.office-phones {
  margin-bottom: 16px;
}
.office-phones__item {
  margin-bottom: 8px;
}
.office-phones__item a {
  border-bottom: 0;
  font-weight: 500;
  color: #303030;
  -moz-transition: color 0.1s linear;
  -o-transition: color 0.1s linear;
  -webkit-transition: color 0.1s linear;
  transition: color 0.1s linear;
}
.office-phones__item a:hover {
  color: #FF671F;
}

.office-emails {
  margin-bottom: 12px;
}
.office-emails__item {
  margin-bottom: 8px;
}
.office-emails__item a {
  border-bottom: 0;
  font-weight: 600;
}

.office-main-phone__item {
  margin-bottom: 4px;
  font-weight: 500;
  font-size: 19px;
}
.office-main-phone__item a {
  border-bottom: 0;
  color: #303030;
  -moz-transition: color 0.1s linear;
  -o-transition: color 0.1s linear;
  -webkit-transition: color 0.1s linear;
  transition: color 0.1s linear;
}
.office-main-phone__item a:hover {
  color: #FF671F;
}
.office-main-phone__legend {
  font-weight: 500;
  font-size: 14px;
}

.office-map {
  position: relative;
  height: 438px;
}
.office-map > ymaps {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

@media (max-width: 1449px) {
  .office__content {
    padding: 40px;
  }
}
@media (max-width: 991px) {
  .office__content {
    padding: 32px;
  }
  .office__title {
    font-size: 20px;
  }
  .office__address {
    font-size: 16px;
  }
}
@media (max-width: 767px) {
  .office__content {
    padding-right: 24px;
    padding-left: 24px;
  }
  .office__inner {
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
  }
  .office__item {
    margin-bottom: 24px;
  }
  .office__phones {
    width: 100%;
  }
  .office__title {
    font-size: 20px;
  }

  .office-phones {
    display: -ms-flexbox;
    display: flex;
    -webkit-flex-wrap: wrap;
    -ms-flex-wrap: wrap;
    flex-wrap: wrap;
    margin: 0 -10px;
  }
  .office-phones__item {
    width: 50%;
    padding: 0 10px;
  }
}
@media (max-width: 359px) {
  .office__content {
    padding-top: 15px;
    padding-left: 15px;
    margin-right: -15px;
    margin-left: -15px;
  }
}
