.carousel-wrapper .list2-item {
  width: calc(100% - 4px);
  margin-left: 2px;
}

.list2-item {
  background: white;
  padding: var(--grid-gutter);
  transition: all 0.4s linear;
  border: 2px dashed var(--main-border-color);
}
.list2-item:before, .list2-item:after {
  position: absolute;
  content: "";
  height: 30%;
  width: 6px;
  background: var(--main-color);
  border-radius: var(--border-radius);
  transform: translateY(-50%);
  top: 50%;
}
.list2-item:before {
  left: -4px;
}
.list2-item:after {
  right: -4px;
}
.list2-item .list2-head {
  display: flex;
  flex-direction: row;
  align-items: center;
}
.list2-item .list2-head .list2-image,
.list2-item .list2-head .list2-image img {
  border-radius: 50%;
}
.list2-item .list2-head .list2-icon {
  width: 45px;
  height: 45px;
  background: var(--main-bg-color);
  border-radius: 50%;
  color: var(--main-color);
  font-size: 23px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.list2-item .list2-head .list2-body {
  flex: 1;
  margin-left: 15px;
}
.list2-item .list2-head .list2-body .list2-date {
  margin-top: 0;
}
.list2-item .list2-links {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  margin: 5px -5px 0;
}
.list2-item .list2-links .list2-link {
  width: 30px;
  height: 30px;
  line-height: 30px;
  background: var(--main-bg-color);
  border-radius: 50%;
  display: flex !important;
  align-items: center;
  justify-content: center;
  color: var(--desc-color);
  transition: all 0.3s linear;
  margin: 0 5px;
  font-size: 16px !important;
  cursor: pointer;
}
.list2-item .list2-links .list2-link:hover {
  color: var(--main-color);
}

.list2-items .owl-default-nav .owl-nav {
  top: -70px;
  position: absolute;
  justify-content: flex-end;
  width: 100%;
}
.list2-items .owl-default-nav .owl-nav button {
  border-color: var(--main-bg-color) !important;
  border-radius: 50%;
  background: var(--main-bg-color);
}
.list2-items .owl-default-nav .owl-nav button:before {
  color: var(--main-color);
}
.list2-items .owl-default-nav .owl-nav button:not(.disabled):hover {
  border-color: var(--main-color) !important;
  background: var(--main-color);
}
.list2-items .owl-default-nav .owl-nav button:not(.disabled):hover:before {
  color: white;
}
.list2-items .owl-default-nav .owl-nav button.disabled {
  opacity: 0.75;
  cursor: default;
}

.list2-carousel .owl-stage,
.list2-carousel .owl-item {
  display: flex;
}

@media only screen and (min-width: 767.98px) and (max-width: 991.98px) {
  .list2-item .list2-head {
    align-items: flex-start;
  }
  .list2-item .list2-head .list2-icon {
    width: 62px;
    height: 62px;
    font-size: 30px;
  }
  .list2-item .list2-head .list2-body {
    width: 100%;
  }
  .list2-item:before,
  .list2-item:after {
    display: none;
  }
}
@media (max-width: 767.98px) {
  .carousel-wrapper .list2-item {
    margin: 0 2px;
  }
}
@media (max-width: 575.98px) {
  .list2-item .list2-head {
    align-items: flex-start;
  }
  .list2-item .list2-head .list2-icon {
    width: 62px;
    height: 62px;
    font-size: 30px;
  }
  .list2-item .list2-head .list2-body {
    margin-left: 10px;
    width: 100%;
  }
  .list2-item .list2-links .list2-link {
    width: 35px;
    height: 35px;
    line-height: 35px;
    font-size: 17px !important;
  }
  .list2-items .owl-default-nav .owl-nav {
    top: 15px;
    position: relative;
    justify-content: center;
  }
  .list2-item:before,
  .list2-item:after {
    display: none;
  }
}
