.bx-yellow,
.bx-theme-yellow {
  --primary: #f9a91d;
  --theme-color-primary: #f9a91d;
  --theme-color-second: #faba4a;
  --theme-color-light: #f0f0f0;
  --theme-b-link: #f9a91d;
  --theme-b-link-hover: #faba4a;
  --theme-b-tx-primary: #fff;
  --theme-b-bg-primary: #f9a91d;
  --theme-b-bd-primary: #f9a91d;
  --theme-b-sd-primary: rgba(249, 169, 29, 0.5);
  --theme-b-tx-primary-hover: #fff;
  --theme-b-bg-primary-hover: #faba4a;
  --theme-b-bd-primary-hover: #daa53e;
  --theme-b-tx-primary-active: #fff;
  --theme-b-bg-primary-active: #faba4a;
  --theme-b-bd-primary-active: #daa53e;
  --theme-b-tx-primary-disabled: #fff;
  --theme-b-bg-primary-disabled: #daa53e;
  --theme-b-bd-primary-disabled: #b7853b;
}

.bx-blue,
.bx-theme-blue {
  --primary: #0083d1;
  --theme-color-primary: #0083d1;
  --theme-color-second: #5ca6e4;
  --theme-color-light: #f0f6f8;
  --theme-b-link: #44b1c9;
  --theme-b-link-hover: #5cc3d1;
  --theme-b-tx-primary: #fff;
  --theme-b-bg-primary: #0083d1;
  --theme-b-bd-primary: #0083d1;
  --theme-b-sd-primary: rgba(0, 131, 209, 0.5);
  --theme-b-tx-primary-hover: #fff;
  --theme-b-bg-primary-hover: #5ca6e4;
  --theme-b-bd-primary-hover: #5599d2;
  --theme-b-tx-primary-active: #fff;
  --theme-b-bg-primary-active: #5ca6e4;
  --theme-b-bd-primary-active: #5599d2;
  --theme-b-tx-primary-disabled: #fff;
  --theme-b-bg-primary-disabled: #5599d2;
  --theme-b-bd-primary-disabled: #4d8bbf;
}

.bx-red,
.bx-theme-red {
  --primary: #e22b2b;
  --theme-color-primary: #e22b2b;
  --theme-color-second: #e95c5c;
  --theme-color-light: #f0f0f0;
  --theme-b-link: #e22b2b;
  --theme-b-link-hover: #e95c5c;
  --theme-b-tx-primary: #fff;
  --theme-b-bg-primary: #e22b2b;
  --theme-b-bd-primary: #e22b2b;
  --theme-b-sd-primary: rgba(226, 43, 43, 0.5);
  --theme-b-tx-primary-hover: #fff;
  --theme-b-bg-primary-hover: #e95c5c;
  --theme-b-bd-primary-hover: #d05454;
  --theme-b-tx-primary-active: #fff;
  --theme-b-bg-primary-active: #e95c5c;
  --theme-b-bd-primary-active: #d05454;
  --theme-b-tx-primary-disabled: #fff;
  --theme-b-bg-primary-disabled: #d05454;
  --theme-b-bd-primary-disabled: #c04e4e;
}

.bx-green,
.bx-theme-green {
  --primary: #63aa28;
  --theme-color-primary: #63aa28;
  --theme-color-second: #5b9f0b;
  --theme-color-light: #a8d95b;
  --theme-b-link: #44b1c9;
  --theme-b-link-hover: #5cc3d1;
  --theme-b-tx-primary: #fff;
  --theme-b-bg-primary: #63aa28;
  --theme-b-bd-primary: #63aa28;
  --theme-b-sd-primary: rgba(99, 170, 40, 0.5);
  --theme-b-tx-primary-hover: #fff;
  --theme-b-bg-primary-hover: #5b9f0b;
  --theme-b-bd-primary-hover: #56940b;
  --theme-b-tx-primary-active: #fff;
  --theme-b-bg-primary-active: #5b9f0b;
  --theme-b-bd-primary-active: #56940b;
  --theme-b-tx-primary-disabled: #fff;
  --theme-b-bg-primary-disabled: #56940b;
  --theme-b-bd-primary-disabled: #497c09;
}

body {
  margin: 0;
  padding: 0;
}

body.twpx-zd-no-scroll {
  overflow: hidden;
}

.twpx-zd-modal {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: #0000001a;
  font-size: 16px;
  -webkit-transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: opacity 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  pointer-events: none;
  opacity: 0;
  z-index: -1;
}
.twpx-zd-modal-body {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translateX(-50%) translateY(-40%);
  -webkit-transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  transition: transform 0.5s cubic-bezier(0.4, 0, 0.2, 1);
  width: 100%;
  max-width: 1088px;
  height: 890px;
  max-height: calc(100vh - 40px);
  background-color: #fff;
  border-radius: 15px;
  overflow: hidden;
  z-index: 10;
}

.twpx-zd-modal.twpx-zd-modal--show {
  pointer-events: auto;
  opacity: 1;
}

.twpx-zd-modal.twpx-zd-modal--z {
  z-index: 10000;
}

.twpx-zd-modal.twpx-zd-modal--show .twpx-zd-modal-body {
  transform: translateX(-50%) translateY(-50%);
}

.twpx-zd-modal-close,
.twpx-zd-balloon-close {
  position: absolute;
  top: 10px;
  right: 10px;
  width: 31px;
  height: 31px;
  cursor: pointer;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  background-color: #fff;
  border-radius: 50%;
  z-index: 10;
}
.twpx-zd-balloon-close {
  top: 8px;
  right: 8px;
}
.twpx-zd-modal-close:hover,
.twpx-zd-balloon-close:hover {
  background-color: #585c65;
}
.twpx-zd-modal-close:before,
.twpx-zd-modal-close:after,
.twpx-zd-balloon-close:before,
.twpx-zd-balloon-close:after {
  content: '';
  position: absolute;
  top: 15px;
  right: 5px;
  border-top: 2px solid #575c66;
  width: 21px;
  -webkit-transform: rotate(45deg);
  transform: rotate(45deg);
  z-index: 10;
}
.twpx-zd-modal-close:after,
.twpx-zd-balloon-close:after {
  -webkit-transform: rotate(-45deg);
  transform: rotate(-45deg);
}
.twpx-zd-modal-close:hover:before,
.twpx-zd-modal-close:hover:after,
.twpx-zd-balloon-close:hover:before,
.twpx-zd-balloon-close:hover:after {
  border-top: 2px solid #fff;
}

.twpx-zd-modal-content {
  height: 100%;
}
#TwpxZdYmap {
  width: 100%;
  height: 100%;
}

.twpx-zd-modal-footer {
  position: absolute;
  bottom: 16px;
  left: 50%;
  -webkit-transform: translateX(-50%);
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  align-items: center;
  height: 80px;
  border-radius: 48px;
  background-color: #fff;
  padding: 0 16px;
}

.twpx-zd-modal-btn {
  width: 180px;
  height: 48px;
  border-radius: 6px;
  display: flex;
  justify-content: center;
  align-items: center;
  font-family: 'Open Sans', 'Arial', sans-serif;
  font-size: 12px;
  font-weight: bold;
  text-transform: uppercase;
  -webkit-transition: all 0.3s ease;
  transition: all 0.3s ease;
  cursor: pointer;
  margin: 0 4px;
  color: #535c69;
  border-radius: 24px;
}

.twpx-zd-balloon {
  position: relative;
  width: calc(100vw - 50px);
  max-width: 400px;
  background: #fff;
  border-radius: 8px;
  padding: 18px 18px 13px;
  position: absolute;
  top: auto !important;
  bottom: 20px !important;
  transform: translateX(-50%);
  box-shadow: 0px 4px 12px #0000001f;
  font-family: Montserrat, Arial, sans-serif;
  box-sizing: border-box;
}

@media (max-width: 767px) {
  .twpx-zd-modal-close {
    right: 20px;
  }
  .twpx-zd-modal-body {
    width: calc(100vw - 32px);
    height: calc(100vh - 60px);
    border-radius: 15px;
    overflow: hidden;
  }
  .twpx-zd-modal-footer {
  }
  .twpx-zd-modal-btn {
    margin: 0;
    width: 50%;
    min-width: 130px;
  }
  .twpx-zd-balloon-close {
    top: 4px;
    right: 4px;
    width: 16px;
    height: 16px;
  }
  .twpx-zd-balloon-close:before,
  .twpx-zd-balloon-close:after {
    border-width: 1px;
    top: 7px;
    right: 2px;
    width: 10px;
  }
}
.twpx-zd-modal-btn.twpx-zd-modal-btn--default {
  /* background-color: #bbed21;
  color: #535c69; */
  border-color: var(--theme-b-bd-primary);
  background-color: var(--theme-b-bg-primary);
  color: var(--theme-b-tx-primary);
}
.twpx-zd-modal-btn.twpx-zd-modal-btn--default:hover {
  /* background-color: #d2f95f;
  color: #535c69; */
  border-color: var(--theme-b-bd-primary-hover);
  background-color: var(--theme-b-bg-primary-hover);
  color: var(--theme-b-tx-primary-hover);
}
.twpx-zd-modal-btn.twpx-zd-modal-btn--close {
  background-color: #fff;
  color: #535c69;
}
.twpx-zd-modal-btn.twpx-zd-modal-btn--close:hover {
  opacity: 0.7;
}
.twpx-zd-modal-btn.twpx-zd-modal-btn--disabled {
  background-color: #f5f5f5;
  color: #bfbfbf;
  pointer-events: none;
}

@keyframes circle {
  0% {
    transform: rotate(0);
  }
  100% {
    transform: rotate(360deg);
  }
}
@-webkit-keyframes circle {
  0% {
    -webkit-transform: rotate(0);
  }
  100% {
    -webkit-transform: rotate(360deg);
  }
}
