.popover {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 1060;
  display: block;
  max-width: 297px;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: padding-box;
  border: 1px solid rgba(221, 221, 221, 0.25);
  border-radius: 4px;
  box-shadow: 0px 2px 16px rgba(0, 0, 0, 0.04), 0px 0px 2px rgba(0, 0, 0, 0.04);
}
.popover-header {
    margin: 0;
}
.popover-body {
  padding: 14px;
  font-weight: normal;
  font-size: 11px;
  line-height: 1.48;
  color: rgba(43, 43, 43, 0.75);
}
.popover-body a:not([class]) {
  color: rgba(43, 43, 43, 0.75);
  border-bottom: 1px solid rgba(43, 43, 43, 0.5);
}
.popover-body a:not([class]):hover {
  color: #0097D4;
  border-color: transparent;
}
.popover-body .text-medium {
  color: #2b2b2b;
}
.popover-body .text-medium:not(:last-child) {
  margin-bottom: 4px;
}
.popover-img {
  margin: 0 auto 16px;
}
.popover .arrow {
  position: absolute;
  display: block;
  margin: 0;
  width: 30px;
  height: 12px;
  margin: 0 8px;
}
.popover .arrow::before, .popover .arrow::after {
  position: absolute;
  display: block;
  content: "";
  border-color: transparent;
  border-style: solid;
}
.popover-icon {
  display: inline-block;
  width: 16px;
  height: 16px;
  border: 1px solid #DDDDDD;
  border-radius: 50%;
  position: relative;
  text-align: center;
  vertical-align: -20%;
  margin: 0 2px;
  cursor: pointer;
}
.popover-icon:before {
  content: "\e907";
  font-family: "baikal-icons";
  font-weight: normal;
  font-size: 8px;
  line-height: 1;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
.popover-title {
    font-weight: 600;
    color: #000;
    margin-bottom: 4px;
}
.popover-text {
    font-weight: 500;
    line-height: 1.6;
    color: #2b2b2b;
    font-size: 13px;
}
.popover-text + .popover-buttons {
    margin-top: 16px;
}
.popover-close {}
.popover-buttons {
    display: flex;
    align-items: center;
    justify-content: space-between;
}
.popover-buttons__btn {}
.popover-buttons__link {
    font-weight: 500;
    font-size: 13px;
}
.popover-buttons__link + .popover-buttons__btn {
    margin-left: 16px;
}



@media screen and (max-width: 575px) {
    .popover-buttons {
        flex-direction: column;
    }
    .popover-buttons__link + .popover-buttons__btn {
       margin: 16px 0 0;
    }
}
@media screen and (min-width: 576px) {
    .popover_mgg {
       max-width: 380px;
    }
}

.bs-popover-top {
  margin-bottom: 9px;
}
.bs-popover-top > .arrow {
  bottom: -12px;
}
.bs-popover-top > .arrow::before {
  top: 0;
  left: 50%;
  transform: translate(-50%, 0);
  border-width: 9px 9px 0;
  border-top-color: rgba(221, 221, 221, 0.25);
}
.bs-popover-top > .arrow::after {
  top: -1px;
  left: 50%;
  transform: translate(-50%, 0);
  border-width: 9px 9px 0;
  border-top-color: #fff;
}
.bs-popover-right {
  margin-left: 12px;
}
.bs-popover-right > .arrow {
  left: -15px;
  width: 15px;
  height: 30px;
  margin: 8px 0;
}
.bs-popover-right > .arrow::before {
  top: 50%;
  transform: translate(0, -50%);
  right: 0;
  border-width: 9px 9px 9px 0;
  border-right-color: rgba(221, 221, 221, 0.25);
}
.bs-popover-right > .arrow::after {
  top: 50%;
  transform: translate(0, -50%);
  right: -1px;
  border-width: 9px 9px 9px 0;
  border-right-color: #fff;
}
.bs-popover-bottom {
  margin-top: 12px;
}
.bs-popover-bottom > .arrow {
  top: -15px;
  height: 15px;
}
.bs-popover-bottom > .arrow::before {
  bottom: 0;
  left: 50%;
  transform: translate(-50%, 0);
  border-width: 0 9px 9px;
  border-bottom-color: rgba(221, 221, 221, 0.25);
}
.bs-popover-bottom > .arrow::after {
  bottom: -1px;
  left: 50%;
  transform: translate(-50%, 0);
  border-width: 0 9px 9px;
  border-bottom-color: #fff;
}
.bs-popover-left {
  margin-right: 10px;
}
.bs-popover-left > .arrow {
  right: -13px;
  width: 13px;
  height: 30px;
  margin: 8px 0;
}
.bs-popover-left > .arrow::before {
  top: 50%;
  transform: translate(0, -50%);
  left: 0;
  border-width: 9px 0 9px 9px;
  border-left-color: rgba(221, 221, 221, 0.25);
}
.bs-popover-left > .arrow::after {
  top: 50%;
  transform: translate(0, -50%);
  left: -1px;
  border-width: 9px 0 9px 9px;
  border-left-color: #fff;
}