.page-our-map__block {
  padding: 80px 0 80px;
}

.our-story {
  display: grid;
  grid-template-columns: 1fr 2.4fr;
  gap: 80px;
  margin: 80px 0;
}

@media (max-width: 600px) {
  .our-story {
    grid-template-columns: 1fr;
    gap: 32px;
    margin: 40px 0 0;
  }
}

.storyline {
  display: flex;
  flex-direction: column;
  gap: 0;
  padding-top: 90px;
  padding-bottom: 200px;
}

@media (max-width: 600px) {
  .storyline {
    padding-top: 42px;
    padding-bottom: 0;
  }
}

.year {
  display: grid;
  grid-template-columns: 1fr 60px 1fr;
  gap: 22px;
  min-height: 105px;
}

@media (max-width: 600px) {
  .year {
    grid-template-columns: 60px 1fr;
    gap: 16px;
  }
}

.year__right {
  position: relative;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.year__right--show-on-small-view {
  display: none;
}

.storyline .show-on-small-view {
  display: none;
}

@media (max-width: 600px) {
  .year__right {
    padding-top: 2px;
  }

  .year__right--show-on-small-view {
    display: block;
  }

  .storyline .show-on-small-view {
    display: block;
    color: var(--capti-color--text-secondary);
    margin-bottom: 50px;
  }

  .year__right .history-item__for-small-view {
    color: var(--capti-color--text-secondary);
  }
}

.year__left h2,
.year__right h2 {
  color: var(--capti-color--brand-violet);
  z-index: 5;
}

.year__left {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 12px;
}

@media (max-width: 600px) {
  .year__left {
    display: none;
  }
}

.history-item__timeline {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  margin: 0 32px;
  height: 100%;
}

@media (max-width: 600px) {
  .history-item__timeline {
    margin: 0 26px;
  }
}

.history-item__timeline-marker {
  position: absolute;
  min-width: 28px;
  min-height: 28px;
  max-width: 28px;
  max-height: 28px;
  top: 2px;
  z-index: 2;
}

@media (max-width: 600px) {
  .history-item__timeline-marker {
    min-width: 28px;
    min-height: 28px;
  }
}

.history-item__timeline-line {
  width: 4px;
  height: 100%;
  background-color: var(--capti-color--brand-brand);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.56) 100%), var(--Background-Brand, #0B73EB);
  opacity: 56%;
}

.history-item__timeline-line--last {
  width: 4px;
  height: 260px;
  background-color: var(--capti-color--brand-brand);
  background: linear-gradient(0deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.56) 100%), var(--Background-Brand, #0B73EB);
  opacity: 56%;
  position: absolute;
  border-right: 4px solid linear-gradient(0deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.56) 100%), var(--Background-Brand, #0B73EB);
  z-index: 0;

  background: linear-gradient(179deg, rgba(255, 255, 255, 0.00) 0%, #FFF 100%), linear-gradient(0deg, rgba(255, 255, 255, 0.56) 0%, rgba(255, 255, 255, 0.56) 100%), var(--Background-Brand, #0B73EB);
}

.history-item__timeline-line--first {
  margin-top: 12px;
}

.history-item__timeline-horizontal-line {
  position: absolute;
  width: 48px;
  height: 4px;
  opacity: 56%;
}

.history-item__timeline-horizontal-line--right {
  background: linear-gradient(90deg, #94C1F6 25.81%, #FFF 100%);
  opacity: 56%;
  margin-top: 12px;
  margin-left: 51px;
  z-index: 0;
}

.history-item__timeline-horizontal-line--left {
  background: linear-gradient(270deg, #94C1F6 25.81%, #FFF 100%);
  opacity: 56%;
  margin-top: 12px;
  margin-right: 51px;
}

.history-item__for-small-view {
  display: none;
}

@media (max-width: 600px) {
  .history-item__for-small-view {
    display: block;
  }

  .history-item__timeline-horizontal-line--left {
    display: none;
  }
}


/* ========================= Our story spots ========================== */

.our-story-container {
  position: relative;
}

.our-story__spot {
  position: absolute;
  z-index: -1;
}

.our-story__spot--spot_01 {
  height: 383px;
  width: 310px;
  top: 0px;
  left: -13px;
}

.our-story__spot--spot_02 {
  height: 683px;
  width: 610px;
  top: 166px;
  left: 600px;
}

@media (max-width: 600px) {
  .our-story__spot--spot_02 {
    left: 100px;
  }
}

.our-story__spot--spot_03 {
  height: 683px;
  width: 610px;
  top: 800px;
  left: -36px;
}


.section-about-map {
  padding-bottom: 40px;
  margin-top: 48px;
}

@media (min-width: 1024px) {
  .section-about-map {
    padding-bottom: 60px;
  }
}

.section-about-map .about-us-map {
  overflow: hidden;
  border-radius: 60px;
}

@media (min-width: 768px) {
  .section-about-map .about-us-contact-content {
    width: 55%;
    margin-left: 3%;
  }
}

.about-us-content {
  border-top: 0;
  padding-top: 20px
}

.about-us-map {
  position: relative
}

.googlemap {
  height: 350px;
  width: 100%
}

.googlemap:before {
  content: "";
  width: 100%;
  height: 4px;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100
}

@media (max-width: 767px) {
  .googlemap {
    height: 510px
  }
}

@media (max-width: 640px) {
  .googlemap {
    height: 500px
  }
}

@media (max-width: 479px) {
  .googlemap {
    height: 330px
  }
}

@media (max-width: 360px) {
  .googlemap {
    height: 400px
  }
}

.about-us-contact {
  width: 100%;
  position: absolute;
  top: 100%;
  left: 0;
  pointer-events: none;
}

.about-us-contact-content {
  background: hsla(0, 0%, 100%, .8);
  padding: 38px 20px;
  height: 275px;
  margin-top: -312px;
  border: 0;
  position: relative;
  pointer-events: auto;
}

@media (min-width: 768px) and (max-width:991px) {
  .about-us-contact-content {
    margin-left: 25px;
    height: auto;
    margin-top: -300px
  }
}

@media (max-width: 640px) {
  .about-us-contact-content {
    height: 500px;
    margin-top: -500px
  }
}

@media (max-width: 479px) {
  .about-us-contact-content {
    height: 330px;
    margin-top: -330px
  }
}

@media (max-width: 360px) {
  .about-us-contact-content {
    height: 400px;
    margin-top: -400px
  }
}

.about-us-contact-content:before {
  content: "";
  width: 20px;
  position: absolute;
  top: 50%;
  right: -20px;
  margin-top: -54px;
  border-style: solid;
  height: 0;
  width: 0;
  border-color: transparent transparent transparent hsla(0, 0%, 100%, .8);
  border-width: 25px 0 25px 20px
}

@media (max-width: 767px) {
  .about-us-contact-content:before {
    width: 25px;
    position: absolute;
    top: -20px;
    right: auto;
    left: 50%;
    margin-top: 0;
    margin-left: -23px;
    border-style: solid;
    height: 0;
    width: 0;
    border-color: transparent transparent hsla(0, 0%, 100%, .8);
    border-width: 0 25px 20px
  }
}

@media (max-width: 640px) {
  .about-us-contact-content:before {
    display: none
  }
}

.about-us-contact-img {
  height: 200px;
  width: 200px;
  border-radius: 50%;
  border: 2px solid #fff;
  float: left;
  margin-right: 20px;
  overflow: hidden;
}

@media (min-width: 1200px) {
  .about-us-contact-img {
    margin-right: 40px;
  }
}

@media (min-width: 768px) and (max-width:991px) {
  .about-us-contact-img {
    height: 100px;
    width: 100px;
  }
}

@media (max-width: 640px) {
  .about-us-contact-img {
    float: none;
    margin: 0 auto;
    display: block;
  }
}

@media (max-width: 479px) {
  .about-us-contact-img {
    display: none;
  }
}

.about-us-contact-header {
  color: #111;
  font-size: 1.75rem;
  margin: 10px 0;
  white-space: nowrap;
}

@media (min-width: 1200px) {
  .about-us-contact-header {
    font-size: 2rem
  }
}

@media (min-width: 768px) and (max-width:991px) {
  .about-us-contact-header {
    margin: 10px 0 36px;
    white-space: normal
  }

  .about-us-contact-header span {
    display: block;
    margin-left: 125px
  }
}

@media (max-width: 640px) {
  .about-us-contact-header {
    margin: 25px auto;
    white-space: normal;
    max-width: 300px
  }
}

@media (max-width: 479px) {
  .about-us-contact-header {
    margin: 50px 0 10px -10px;
    font-size: 1.5rem;
    white-space: nowrap
  }
}

.about-us-contact-adress,
.about-us-contact-email,
.about-us-contact-phone {
  font-size: 1.0625rem;
  margin-left: 260px;
  position: relative;
}

@media (min-width: 1200px) {

  .about-us-contact-adress,
  .about-us-contact-email,
  .about-us-contact-phone {
    margin-left: 280px;

  }
}

@media (min-width: 768px) and (max-width:991px) {

  .about-us-contact-adress,
  .about-us-contact-email,
  .about-us-contact-phone {
    margin-left: 77px;
    clear: both;
  }
}

@media (max-width: 640px) {

  .about-us-contact-adress,
  .about-us-contact-email,
  .about-us-contact-phone {
    margin: 0 auto;
    max-width: 220px
  }
}

@media (max-width: 479px) {

  .about-us-contact-adress,
  .about-us-contact-email,
  .about-us-contact-phone {
    margin-left: 15px
  }
}

.about-us-contact-adress:before,
.about-us-contact-email:before,
.about-us-contact-phone:before {
  content: "";
  width: 25px;
  height: 25px;
  position: absolute;
  top: 0;
  left: -40px;
  background: url('https://www.captivoice.com/capti-site/themes/capti/images/sprite-svg-support.svg') no-repeat 0 0
}

.about-us-contact-email,
.about-us-contact-phone {
  margin-bottom: 5px
}

.about-us-contact-email:before {
  background-position: 0 -86px
}

.about-us-contact-adress:before {
  background-position: 0 -215px
}

.about-us-contact-phone:before {
  background-position: 0 -257px
}
