/*Extra Small Margin Utility Class*/
@media (min-width: 0px) {
  .m-xs-0 {
    margin: 0 !important;
  }
  .mt-xs-0,
  .my-xs-0 {
    margin-top: 0 !important;
  }
  .mr-xs-0,
  .mx-xs-0 {
    margin-right: 0 !important;
  }
  .mb-xs-0,
  .my-xs-0 {
    margin-bottom: 0 !important;
  }
  .ml-xs-0,
  .mx-xs-0 {
    margin-left: 0 !important;
  }
  .m-xs-1 {
    margin: 0.25rem !important;
  }
  .mt-xs-1,
  .my-xs-1 {
    margin-top: 0.25rem !important;
  }
  .mr-xs-1,
  .mx-xs-1 {
    margin-right: 0.25rem !important;
  }
  .mb-xs-1,
  .my-xs-1 {
    margin-bottom: 0.25rem !important;
  }
  .ml-xs-1,
  .mx-xs-1 {
    margin-left: 0.25rem !important;
  }
  .m-xs-2 {
    margin: 0.5rem !important;
  }
  .mt-xs-2,
  .my-xs-2 {
    margin-top: 0.5rem !important;
  }
  .mr-xs-2,
  .mx-xs-2 {
    margin-right: 0.5rem !important;
  }
  .mb-xs-2,
  .my-xs-2 {
    margin-bottom: 0.5rem !important;
  }
  .ml-xs-2,
  .mx-xs-2 {
    margin-left: 0.5rem !important;
  }
  .m-xs-3 {
    margin: 1rem !important;
  }
  .mt-xs-3,
  .my-xs-3 {
    margin-top: 1rem !important;
  }
  .mr-xs-3,
  .mx-xs-3 {
    margin-right: 1rem !important;
  }
  .mb-xs-3,
  .my-xs-3 {
    margin-bottom: 1rem !important;
  }
  .ml-xs-3,
  .mx-xs-3 {
    margin-left: 1rem !important;
  }
  .m-xs-4 {
    margin: 1.5rem !important;
  }
  .mt-xs-4,
  .my-xs-4 {
    margin-top: 1.5rem !important;
  }
  .mr-xs-4,
  .mx-xs-4 {
    margin-right: 1.5rem !important;
  }
  .mb-xs-4,
  .my-xs-4 {
    margin-bottom: 1.5rem !important;
  }
  .ml-xs-4,
  .mx-xs-4 {
    margin-left: 1.5rem !important;
  }
  .m-xs-5 {
    margin: 3rem !important;
  }
  .mt-xs-5,
  .my-xs-5 {
    margin-top: 3rem !important;
  }
  .mr-xs-5,
  .mx-xs-5 {
    margin-right: 3rem !important;
  }
  .mb-xs-5,
  .my-xs-5 {
    margin-bottom: 3rem !important;
  }
  .ml-xs-5,
  .mx-xs-5 {
    margin-left: 3rem !important;
  }
  .p-xs-0 {
    padding: 0 !important;
  }
  .pt-xs-0,
  .py-xs-0 {
    padding-top: 0 !important;
  }
  .pr-xs-0,
  .px-xs-0 {
    padding-right: 0 !important;
  }
  .pb-xs-0,
  .py-xs-0 {
    padding-bottom: 0 !important;
  }
  .pl-xs-0,
  .px-xs-0 {
    padding-left: 0 !important;
  }
  .p-xs-1 {
    padding: 0.25rem !important;
  }
  .pt-xs-1,
  .py-xs-1 {
    padding-top: 0.25rem !important;
  }
  .pr-xs-1,
  .px-xs-1 {
    padding-right: 0.25rem !important;
  }
  .pb-xs-1,
  .py-xs-1 {
    padding-bottom: 0.25rem !important;
  }
  .pl-xs-1,
  .px-xs-1 {
    padding-left: 0.25rem !important;
  }
  .p-xs-2 {
    padding: 0.5rem !important;
  }
  .pt-xs-2,
  .py-xs-2 {
    padding-top: 0.5rem !important;
  }
  .pr-xs-2,
  .px-xs-2 {
    padding-right: 0.5rem !important;
  }
  .pb-xs-2,
  .py-xs-2 {
    padding-bottom: 0.5rem !important;
  }
  .pl-xs-2,
  .px-xs-2 {
    padding-left: 0.5rem !important;
  }
  .p-xs-3 {
    padding: 1rem !important;
  }
  .pt-xs-3,
  .py-xs-3 {
    padding-top: 1rem !important;
  }
  .pr-xs-3,
  .px-xs-3 {
    padding-right: 1rem !important;
  }
  .pb-xs-3,
  .py-xs-3 {
    padding-bottom: 1rem !important;
  }
  .pl-xs-3,
  .px-xs-3 {
    padding-left: 1rem !important;
  }
  .p-xs-4 {
    padding: 1.5rem !important;
  }
  .pt-xs-4,
  .py-xs-4 {
    padding-top: 1.5rem !important;
  }
  .pr-xs-4,
  .px-xs-4 {
    padding-right: 1.5rem !important;
  }
  .pb-xs-4,
  .py-xs-4 {
    padding-bottom: 1.5rem !important;
  }
  .pl-xs-4,
  .px-xs-4 {
    padding-left: 1.5rem !important;
  }
  .p-xs-5 {
    padding: 3rem !important;
  }
  .pt-xs-5,
  .py-xs-5 {
    padding-top: 3rem !important;
  }
  .pr-xs-5,
  .px-xs-5 {
    padding-right: 3rem !important;
  }
  .pb-xs-5,
  .py-xs-5 {
    padding-bottom: 3rem !important;
  }
  .pl-xs-5,
  .px-xs-5 {
    padding-left: 3rem !important;
  }
  .m-xs-n1 {
    margin: -0.25rem !important;
  }
  .mt-xs-n1,
  .my-xs-n1 {
    margin-top: -0.25rem !important;
  }
  .mr-xs-n1,
  .mx-xs-n1 {
    margin-right: -0.25rem !important;
  }
  .mb-xs-n1,
  .my-xs-n1 {
    margin-bottom: -0.25rem !important;
  }
  .ml-xs-n1,
  .mx-xs-n1 {
    margin-left: -0.25rem !important;
  }
  .m-xs-n2 {
    margin: -0.5rem !important;
  }
  .mt-xs-n2,
  .my-xs-n2 {
    margin-top: -0.5rem !important;
  }
  .mr-xs-n2,
  .mx-xs-n2 {
    margin-right: -0.5rem !important;
  }
  .mb-xs-n2,
  .my-xs-n2 {
    margin-bottom: -0.5rem !important;
  }
  .ml-xs-n2,
  .mx-xs-n2 {
    margin-left: -0.5rem !important;
  }
  .m-xs-n3 {
    margin: -1rem !important;
  }
  .mt-xs-n3,
  .my-xs-n3 {
    margin-top: -1rem !important;
  }
  .mr-xs-n3,
  .mx-xs-n3 {
    margin-right: -1rem !important;
  }
  .mb-xs-n3,
  .my-xs-n3 {
    margin-bottom: -1rem !important;
  }
  .ml-xs-n3,
  .mx-xs-n3 {
    margin-left: -1rem !important;
  }
  .m-xs-n4 {
    margin: -1.5rem !important;
  }
  .mt-xs-n4,
  .my-xs-n4 {
    margin-top: -1.5rem !important;
  }
  .mr-xs-n4,
  .mx-xs-n4 {
    margin-right: -1.5rem !important;
  }
  .mb-xs-n4,
  .my-xs-n4 {
    margin-bottom: -1.5rem !important;
  }
  .ml-xs-n4,
  .mx-xs-n4 {
    margin-left: -1.5rem !important;
  }
  .m-xs-n5 {
    margin: -3rem !important;
  }
  .mt-xs-n5,
  .my-xs-n5 {
    margin-top: -3rem !important;
  }
  .mr-xs-n5,
  .mx-xs-n5 {
    margin-right: -3rem !important;
  }
  .mb-xs-n5,
  .my-xs-n5 {
    margin-bottom: -3rem !important;
  }
  .ml-xs-n5,
  .mx-xs-n5 {
    margin-left: -3rem !important;
  }
  .m-xs-auto {
    margin: auto !important;
  }
  .mt-xs-auto,
  .my-xs-auto {
    margin-top: auto !important;
  }
  .mr-xs-auto,
  .mx-xs-auto {
    margin-right: auto !important;
  }
  .mb-xs-auto,
  .my-xs-auto {
    margin-bottom: auto !important;
  }
  .ml-xs-auto,
  .mx-xs-auto {
    margin-left: auto !important;
  }
}

.capper-img-container {
  border-radius: 50%;
}

.capper-img-container img.capper-img {
  border-radius: 50%;
  object-fit: cover;
  height: 110px;
  width: 110px;
}

.capper-img-container-md {
  border-radius: 50%;
}

.capper-img-container-md img.capper-img {
  border-radius: 50%;
  object-fit: cover;
  height: 90px;
  width: 90px;
}

.capper-img-container-sm {
  border-radius: 50%;
}

.capper-img-container-sm img.capper-img {
  border-radius: 50%;
  object-fit: cover;
  height: 48px;
  width: 48px;
}

.capper-img-overlay {
  display: flex;
  justify-content: right;
  align-items: end;
  flex-shrink: 0;
}

.capper-img-edit-container {
  position: absolute;
}

.capper-img-edit {
  position: relative;
  display: inline-block;
  cursor: pointer;
}

.capper-img-edit img {
  width: 32px;
  height: 32px;
}

.capper-img-edit .img-hover {
  display: none;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 99;
}

.capper-img-edit:hover .img-hover {
  display: inline;
}

.new-navbar-spacer {
  height: 72px;
}

@media (max-width: 600px) {
  .new-navbar-spacer {
    height: 69.64px;
  }
}

.text-truncate-container {
  -webkit-line-clamp: 2;
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.iti.iti--allow-dropdown {
  display: flex; /* To make it work better with bootstrap forms */
  flex-direction: column;
}

.iti__selected-flag {
  height: 35px !important;
}

/* React app root */
#root {
  display: flex;
  justify-content: center;
  align-items: center;
}

ul.prices {
  list-style-type: none;
  padding: 0;
  margin: 0;
}

.text-muted-dubclub,
.form-text {
  color: #92989c;
}

/* div.required label::after {
  content: " *";
  color: var(--bs-danger);
} */

.watermarked {
  background-image: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' version='1.1' height='140px' width='200px'><text transform='translate(20, 140) rotate(-45)' fill='rgba(45,245,45,0.5)' font-size='20'>Subscriber Preview</text></svg>");
}

.btn-shadow {
  -webkit-box-shadow: 0 0.8rem 2.1875rem 0 rgba(241, 165, 1, 0.15);
  box-shadow: 0 0.8rem 2.1875rem 0 rgba(241, 165, 1, 0.15);
}

.publish-product-checkbox div label {
  margin: 0;
}

.textpick-title {
  display: flex;
  justify-content: center;
  align-items: center;
  vertical-align: middle;
  border-radius: 2rem;
  height: 80px;
}

@media (min-width: 768px) {
  .textpick-title {
    display: inline-block;
    border-radius: 50rem;
    height: 100%;
  }
}

#textpick-table-form div {
  margin-bottom: 0 !important;
}

.capper-product-card {
  min-width: 260px;
  max-width: 260px;
  height: 250px;
}

.capper-product-card .card-title {
  min-height: 64px;
  max-height: 64px;
}

#capper-products:target .card {
  box-shadow: 0 1.25rem 2.1875rem 0 rgb(241 165 1 / 15%) !important;
}

.capper-best-practice-img-container {
  margin-bottom: 0.5rem;
}

/* default size for xs and sm screens */
.capper-best-practice-img-container img {
  max-height: 16rem;
}

@media (min-width: 768px) {
  .capper-best-practice-img-container img {
    max-height: 21rem;
  }
}

@media (min-width: 992px) {
  .capper-best-practice-img-container img {
    max-height: 23rem;
  }
}

.capper-best-practice-img-container img {
  max-width: 100%;
  object-fit: contain;
  border-radius: calc(1.5rem - 14px);
}

/* default size for xs screens */
.capper-product-tutorials-card {
  min-height: 20rem;
  max-height: 20rem;
  overflow-y: scroll;
}

@media (min-width: 576px) {
  .capper-product-tutorials-card {
    min-height: 23rem;
    max-height: 23rem;
    overflow-y: scroll;
  }
}

@media (min-width: 768px) {
  .capper-product-tutorials-card {
    min-height: 28rem;
    max-height: 28rem;
    overflow-y: scroll;
  }
}

@media (min-width: 992px) {
  .capper-product-tutorials-card {
    min-height: 31rem;
    max-height: 31rem;
    overflow-y: scroll;
  }
}

.product-tutorials-progress-bar {
  background-color: var(--bs-secondary);
}

#id_publish_textpick_form .main-martor {
  margin: 0px;
}

/* Make editor use same font and border radius as app */
.w-md-editor,
.wmde-markdown {
  border-radius: 1.5rem !important;
}

.w-md-editor-toolbar {
  font-family: var(--bs-font-sans-serif) !important;
  border-top-left-radius: 1.5rem !important;
  border-top-right-radius: 1.5rem !important;
  padding: 0 12px !important;
}

/* Fix alignment of ... on bottom right of textarea */
.w-md-editor-bar {
  margin-right: 8px !important;
  margin-top: -18px !important;
}

/* Make editor markdown preview use same font color for p elements as the app */
.wmde-markdown p {
  color: #000000;
  white-space: pre-wrap;
  word-break: break-word;
}

/* Make editor use same font in app */
div.w-md-editor-text,
pre.w-md-editor-text,
.w-md-editor,
.wmde-markdown {
  font-size: 14px !important;
}

/* Decrease padding and border-radius on preview (i.e. right hand side of markdown) */
div.w-md-editor-preview {
  padding: 10px;
  border-radius: 0px !important;
}

/* Markdown toolbar title font sizes */
div.w-md-editor-toolbar ul li {
  font-size: 12px !important;
}

@media (min-width: 768px) {
  div.w-md-editor-toolbar ul li {
    font-size: 14px !important;
  }
}

.markdown-container a {
  word-break: break-all;
}

.markdown-container img {
  display: block;
  max-width: 100%;
  max-height: 100%;
}

#capper-bio p,
#capper-performance-info p {
  margin-bottom: 0;
}

.subs-settings-checkbox-wrapper > div {
  margin: 0 !important;
}

.subs-settings-table th,
.subs-settings-table td {
  padding: 0.3rem;
}

.subscription-metadata {
  font-size: 14px;
}

.discount-packages-row {
  border-width: 0 0 6px 0 !important;
}

.disclaimer {
  font-size: 13.76px;
}

ul.pagination li {
  padding-left: 0.3em;
  padding-right: 0.3em;
}

.rc-anchor-normal-footer {
  display: none !important;
}

.grecaptcha-badge {
  visibility: hidden;
}

.discord-tutorial-divider {
  border-right-color: #fff !important;
  border-right-style: solid !important;
}

@media (min-width: 992px) {
  .discord-tutorial-divider {
    padding-right: 15px;
    border-width: 4px;
    border-right-color: #39c44e !important;
    border-right-style: solid !important;
  }
}

/* @media (min-width: 768px) {
  .capper-product-info-container {
    height: 116px;
  }

  .capper-product-info-container .truncate-parent-container {
    height: 72px;
  }
} */

.text-gray {
  color: var(--bs-gray-dark);
}

.profile-img-gradient {
  background-image: linear-gradient(
    rgba(255, 255, 255, 0),
    rgba(0, 0, 0, 0.37)
  );
}

/* Used in the checkout React repo */
.card-element-root,
.StripeElement {
  line-height: 18.4px;
  font-family: "Poppins", "Rubik", -apple-system, BlinkMacSystemFont, "Segoe UI",
    "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji",
    "Segoe UI Symbol";
  border-radius: 16px;
  border: 1px solid rgba(196, 196, 196, 1);
  background-color: #fffefe;
  box-shadow: none;
  padding: 0.75rem;
}

/* For the focused/typing state of the Card Element */
.card-element-root.StripeElement--focus {
  border: 2px solid var(--bs-primary);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(57, 196, 78, 0.2);
}

/* For the invalid state of the Card Element */
.card-element-root.StripeElement--invalid {
  border: 2px solid var(--bs-danger);
  outline: 0;
  box-shadow: 0 0 0 0.25rem rgba(255, 73, 73, 0.25);
}

.digital-wallet-element-root {
  border-radius: 0px;
  border: none;
  padding: 0px;
}

.new-feature-flag {
  background: #92d78c;
  border-radius: 8px;
  font-size: 90%;
  font-weight: 600;
  padding-top: 0.1rem !important;
  padding-bottom: 0.1rem !important;
  padding-right: 0.5rem !important;
  padding-left: 0.5rem !important;
}

.centered-div {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 9999;
}

.app-banner-img-container {
  max-height: 100%;
  max-width: 100%;
}

@media (min-width: 600px) {
  .app-banner-img-container {
    max-height: 130%;
    max-width: 130%;
    width: 130%;
    transform: translateX(-60px);
  }
}

/* used for the messaging channel list on the product tile */
.medium-channels-row {
  display: flex;
  justify-content: center;
  width: 100%;
  gap: 1rem;
}

.medium-channels-column {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  width: 60px;
  flex: 0 0 auto;
}

/* reduce size of channels column on really small screens */
@media (max-width: 400px) {
  .medium-channels-row {
    gap: 0.5rem;
  }

  .medium-channels-column {
    width: 50px;
  }
}

.sticky-header {
    top: 0;
    left: 0;
    width: 100%;
    background-color: #333;
    color: white;
    text-align: center;
    padding: 10px 0;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 999999999;
}

.sticky-header a {
    color: white;
    text-decoration: underline;
}

@media (min-width: 1039px) {
    .main-content {
        padding-top: 89px !important;
    }
 }

 .btn-black {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: #0F0F0F;
  color: white;
  text-decoration: none;
  border: none;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.btn-black:hover, .btn-black:active, .btn-black:focus {
  text-decoration: none;
  color: white !important;
  opacity: 0.5;
}

.btn-white {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 0.5rem;
  background-color: transparent;
  color: black;
  text-decoration: none;
  border: solid 2px #0F0F0F;
  border-radius: 0.5rem;
  padding: 0.75rem;
}

.btn-white:hover, .btn-white:active, .btn-white:focus {
  text-decoration: none;
  color: black !important;
  opacity: 0.5;
}