/* Offices Block */

.axoffices {
  width: 100%;
  max-width: 1200px;
  display: block;
  margin: 0 auto;
  padding-block: 50px;
  padding-inline: 3%;
}
.axoffices__wrap:not(:last-child) {
  margin-bottom: 30px;
}
.axoffices__head {
  width: 100%;
  font-size: 24px;
  font-weight: 700;
  color: #004a99;
  text-align: center;
  display: block;
  border: 1px #004a99 solid;
  border-left: 5px #004a99 solid;
  padding: 5px 10px;
  margin-bottom: 15px;
}
.axoffices__head--h3 {
  font-size: 18px;
  text-align: left;
}
.axoffices__head--gray {
  font-size: 18px;
  color: #333;
  text-align: left;
  border-color: #aaa;
}
.axoffices__body {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: start;
      -ms-flex-align: start;
          align-items: flex-start;
  justify-content: space-between;
}
@media screen and (max-width: 768px) {
  .axoffices__body {
    flex-direction: column-reverse;
    justify-content: center;
  }
}
.axoffices__content {
  width: 60%;
  padding-right: 40px;
}
@media screen and (max-width: 768px) {
  .axoffices__content {
    width: 100%;
  }
}
.axoffices__content--full {
  width: 100%;
}
.axoffices__img-wrap {
  width: 300px;
}
@media screen and (max-width: 768px) {
  .axoffices__img-wrap {
    display: block;
    margin: 0 auto 20px;
  }
}
.axoffices__title, .axoffices__desc {
  font-size: 16px;
  color: #333;
  line-height: 2em;
}
.axoffices__title {
  display: block;
  margin-bottom: 10px;
}
.axoffices__subhead {
  font-size: 16px;
  font-weight: 700;
  color: #333;
  border-left: 5px #01588a solid;
  display: block;
  padding: 5px 10px;
  margin-bottom: 15px;
}
.axoffices__group-item:not(:last-child), .axoffices__group-wrap:not(:last-child) {
  margin-bottom: 20px;
}
.axoffices__group-desc {
  font-size: 16px;
  color: #333;
}
.axoffices__group-desc--fs12 {
  font-size: 12px;
}
.axoffices__group-desc--flex {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
@media screen and (max-width: 768px) {
  .axoffices__group-desc--flex {
    flex-wrap: wrap;
    gap: 15px;
  }
}
.axoffices__group-label {
  font-size: 12px;
  color: #01588a;
}
.axoffices__group-label--mr5 {
  margin-right: 5px;
}
.axoffices__group-label--mt10 {
  margin-top: 10px;
}
.axoffices__group-img, .axoffices__group-text {
  margin-left: 20px;
}
@media screen and (max-width: 768px) {
  .axoffices__group-img, .axoffices__group-text {
    margin-left: 0;
  }
}
.axoffices__group-img {
  display: flex;
  align-items: center;
  min-height: 25px;
}
.axoffices__group-img > img {
  width: 18px;
  height: 12px;
}
.axoffices__group-img, .axoffices__group-text--arrow {
  border-bottom: 1px dotted #01588a;
}
.axoffices__group-img::after, .axoffices__group-text--arrow::after {
  content: "";
  width: 20px;
  height: 14px;
  display: inline-block;
  background: url("../assets/img/hef/arrow.gif") center/cover no-repeat;
  margin-left: 5px;
}
.axoffices__note {
  font-size: 12px;
  color: #666;
  border-top: 1px dotted #666;
  display: block;
  margin-top: 10px;
  padding-top: 10px;
}

/* Modals Block */
.axmodal {
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.2);
  display: none;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 999;
}
.axmodal.open {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
}
.axmodal__wrap {
  width: 100%;
  max-width: 1000px;
  height: 80%;
  background-color: #f2f7ff;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}
@media screen and (max-width: 768px) {
  .axmodal__wrap {
    width: 90%;
    max-width: 400px;
  }
}
.axmodal__close {
  width: 50px;
  height: 50px;
  display: flex;
  justify-content: center;
  align-items: center;
  background-color: #004A99;
  border-radius: 50%;
  padding: 5px;
  font-size: 60px;
  color: #fff;
  position: absolute;
  top: 10px;
  right: 10px;
  cursor: pointer;
}
@media screen and (max-width: 768px) {
  .axmodal__close {
    width: 30px;
    height: 30px;
    font-size: 40px;
  }
}
.axmodal__img {
  width: auto;
  height: 90%;
}
@media screen and (max-width: 768px) {
  .axmodal__img {
    width: 70%;
    height: auto;
  }
}