
/* Add to the END of:
   /public_html/catalog/view/theme/moneymaker2/stylesheet/stylesheet.custom.store0.css
   PLITS: consent modal, Bootstrap 3. */
#modal-agree {
  overflow: hidden !important;
}
#modal-agree .modal-dialog {
  width: 760px;
  max-width: calc(100% - 32px);
  margin: 24px auto !important;
}
#modal-agree .modal-content {
  display: flex;
  flex-direction: column;
  max-height: calc(100vh - 48px);
  max-height: calc(100dvh - 48px);
  overflow: hidden;
  background: #fff;
  border: 1px solid #dce6d8;
  border-radius: 14px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, .22);
}
#modal-agree .modal-header {
  position: relative;
  flex: 0 0 auto;
  padding: 20px 64px 20px 24px;
  background: #f3f7ef;
  border-bottom: 1px solid #dce6d8;
}
#modal-agree .modal-title {
  margin: 0;
  color: #24551b;
  font-size: 21px;
  font-weight: 600;
  line-height: 1.35;
  overflow-wrap: break-word;
}
#modal-agree .modal-header .close {
  position: absolute;
  top: 14px;
  right: 16px;
  width: 36px;
  height: 36px;
  margin: 0;
  border: 1px solid #d5e1cf;
  border-radius: 50%;
  background: #fff;
  color: #24551b;
  font-size: 27px;
  line-height: 32px;
  text-shadow: none;
  opacity: 1;
  transition: background .18s, color .18s;
}
#modal-agree .modal-header .close:hover,
#modal-agree .modal-header .close:focus {
  background: #24551b;
  color: #fff;
}
#modal-agree .modal-header .close:focus-visible {
  outline: 2px solid #24551b;
  outline-offset: 3px;
}
#modal-agree .modal-body {
  flex: 1 1 auto;
  min-height: 0;
  padding: 22px 24px 26px;
  overflow-x: hidden;
  overflow-y: auto !important;
  overscroll-behavior: contain;
  -webkit-overflow-scrolling: touch;
  scrollbar-width: thin;
  scrollbar-color: #829b76 #f3f7ef;
  color: #414741;
  font-size: 15px;
  line-height: 1.65;
  text-align: left !important;
  overflow-wrap: break-word;
}
#modal-agree .modal-body p,
#modal-agree .modal-body div {
  text-align: left !important;
}
#modal-agree .modal-body p {
  margin: 0 0 14px;
}
#modal-agree .modal-body ul,
#modal-agree .modal-body ol {
  margin: 0 0 16px;
  padding-left: 24px;
}
#modal-agree .modal-body li {
  margin-bottom: 5px;
}
#modal-agree .modal-body::-webkit-scrollbar {
  width: 8px;
}
#modal-agree .modal-body::-webkit-scrollbar-track {
  background: #f3f7ef;
}
#modal-agree .modal-body::-webkit-scrollbar-thumb {
  background: #829b76;
  border: 2px solid #f3f7ef;
  border-radius: 8px;
}
@media (max-width: 767px) {
  #modal-agree .modal-dialog {
    max-width: calc(100% - 20px);
    margin: 10px auto !important;
  }
  #modal-agree .modal-content {
    max-height: calc(100vh - 20px);
    max-height: calc(100dvh - 20px);
    border-radius: 10px;
  }
  #modal-agree .modal-header {
    padding: 17px 58px 17px 18px;
  }
  #modal-agree .modal-title {
    font-size: 18px;
  }
  #modal-agree .modal-body {
    padding: 18px;
    font-size: 14px;
    line-height: 1.6;
  }
}

