/*!
 * Jetpack CRM
 * https://jetpackcrm.com
 *
 * Copyright 2021 Automattic
 *
 * Date: 1 June 2021
 */
/*!
 * Jetpack CRM
 * https://jetpackcrm.com
 */
.wp-core-ui .button,
.wp-core-ui .button-primary,
.wp-core-ui .button-secondary {
  height: auto;
}

#adminmenu ul li,
#adminmenu ul li a,
#adminmenu div {
  font-family: sans-serif;
}

#wpfooter {
  clear: both;
  position: relative;
  margin-top: 2em;
}

.quicktags.icon,
.search.icon {
  background-color: transparent !important;
}

.ui.menu {
  padding-top: 0 !important;
}

ul#adminmenu a.wp-has-current-submenu::after,
ul#adminmenu > li.current > a.current::after {
  border-right-color: none !important;
}

.ui p {
  font-size: 1em;
}

i.card {
  padding: 0;
  min-width: auto;
  border: 0;
  box-shadow: none;
  background: none;
}

.ui.segment.borderless {
  border: none !important;
  box-shadow: none !important;
}

.ui.inverted.segment.zbstrans {
  background: rgba(245, 237, 237, 0.3) !important;
}

.ui.zbsclear::after {
  clear: both;
  content: ".";
  display: block;
  height: 0;
  visibility: hidden;
}

.ui.segment.zbsbigico {
  text-align: center;
  font-size: 3em;
  line-height: 1;
  padding-top: 1em;
  padding-bottom: 0.5em;
}

div [class*="left floated"] {
  float: left;
  margin-left: 0.25em;
}

div [class*="right floated"] {
  float: right;
  margin-right: 0.25em;
}

.button-primary.right,
.button-secondary.right,
.button.right {
  float: none;
}

i.alternate {
  background-color: transparent;
}

.ui.animated.button .hidden.content {
  display: block !important;
}

.wp-core-ui .ui.button {
  cursor: pointer;
  display: inline-block;
  min-height: 1em;
  outline: none;
  border: none;
  vertical-align: baseline;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen-Sans, Ubuntu, Cantarell, "Helvetica Neue", sans-serif;
  margin: 0 0.25em 0 0;
  padding: 0.78571429em 1.5em 0.78571429em;
  text-transform: none;
  text-shadow: none;
  font-weight: 500;
  line-height: 1;
  font-style: normal;
  text-align: center;
  text-decoration: none;
  border-radius: 0.28571429rem;
  box-shadow: 0 0 0 1px transparent inset, 0 0 0 0 rgba(34, 36, 38, 0.15) inset;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
  transition: opacity 0.1s ease, background-color 0.1s ease, color 0.1s ease, box-shadow 0.1s ease, background 0.1s ease;
  will-change: "";
  -webkit-tap-highlight-color: transparent;
  height: auto;
}

.ui[class*="right labeled"].input input,
.ui.fluid.input > input {
  height: auto !important;
}

/*
.form-control {
    padding: 6px 12px !important;
    line-height: 1.42857 !important;
} */
/* stylelint-disable-next-line no-invalid-position-at-import-rule -- this is an intentional override */
/*!
 * Jetpack CRM: Modal style overrides
 */
.ui.modals.page {
  z-index: 999999;
}

.ui.modals.page .modal,
.ui.modals.page .ui.modal {
  /* max-width: 500px; */
  max-width: 1400px !important;
  padding: 0 !important;
  /* styles introduced with first-use-dash gh-1822 */
  border-radius: 8px !important;
  overflow-y: auto !important;
}

.ui.modals.page .jpcrm-modal-mobile-only {
  display: none;
}

.ui.modals.page .jpcrm-modal-close {
  z-index: 100000;
  width: 24px;
  height: 24px;
  background-image: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAwCAYAAABXAvmHAAAACXBIWXMAABYlAAAWJQFJUiTwAAAAAXNSR0IArs4c6QAAAARnQU1BAACxjwv8YQUAAAKcSURBVHgB7ZgxjhoxFIY9IAGigK0QEgJNmZLtUrIdZXKC7B4hJwjbpUubLqRMleQEpEu65QizICRKQhUhAXk/8kNmMpP12I/VSutPQho/xvb/+9kzYysVCAQCgcBzodvtfur1eu/UmUDb6KNInbLtjWg4iqJruhw0m83fxC8liB6YEfXRbzQa8Xq9/m5Tr2RzUxzHF2jYCH2gDt8oIXRbIy6jL/RpUzdSlqDB3W43oUvTyPVsNvusPNDix0ZoWiqVrpIkWdnUtzYAtIk7XBphZxMZ4hMtPrFswm4KHVunUUEHuDTCY5fpJCEeFMoAQ5mI9XSKObbdbi8Xi8XUpn6n0+mXy+U7I+QkHhTKwLE3Ip0JEjSBsIfqavETszlX8cApA0xGJlaUiau8TBji+QnjJR54GQC2Js4hHngbAFkmNpvN5XK5TFBot9txpVLBnBcVD0QMgAwTCZnAOlEk/iQuJR6IGQDaxMlI819clhQPRA0A8tDXmUh/Cqy0eKtHrS1Oj9H/AYH7/f4mHUdMWjwQz4BesCcvOc1hTfDClkLUQIZ4/iA7rglpE2IGskaeps3rQydR9NW4VdSEyBrIEX8zn8+/4ZdaE4d7UUcJYL0jy+OCqNfrP9W/4sdcpt3VlHZZ95SJV1yN3soDKn/5QygPvAxAPAnDyL/gWFo8k2GiXa1Wh74mnA0Y4s0v0Lck/mNeHZjAfpouhzrkbcLJQI74W9qZvX+oLg4DyAQeHgMd8jLhZKDVamHOp8WPbOuTiR9pE7Va7SXFC29NCxvQxytDI1RIPJNhIi5ynMIUMmCcDTFO4pm0iaJnQsDlYIvxEs/4mrAycC7xjI8JqzcxNXhvFEXFM7rN25w+/aFznBF+6sw8Vj+BQCAQCDwJ/gLKn3smB8hfvQAAAABJRU5ErkJggg==);
  background-size: 24px;
  position: absolute;
  top: 10px;
  right: 10px;
}

.ui.modals.page .jpcrm-modal-close:hover {
  cursor: pointer;
}

.ui.modals.page .jpcrm-modal-body .jpcrm-modal-cta-group {
  padding-left: 80px;
  padding-right: 50px;
}

.ui.modals.page .jpcrm-modal-body .jpcrm-modal-cta-group .jpcrm-modal-title {
  font-size: 36px;
  font-weight: 700;
  line-height: 40px;
  margin-bottom: 16px;
}

.ui.modals.page .jpcrm-modal-body .jpcrm-modal-cta-group .jpcrm-modal-paragraph {
  font-size: 16px;
  line-height: 24px;
  margin-bottom: 12px;
}

.ui.modals.page .jpcrm-modal-body .jpcrm-modal-cta-group .jpcrm-modal-actions .ui.button {
  margin-top: 12px;
  margin-right: 24px;
}

.ui.modals.page .jpcrm-modal-body .jpcrm-modal-illustration img {
  /*

      original:
      max-width: 1094px;
      max-height: 1029px;

      1/2
      max-width: 515px;
      max-height: 515px;

      40%

      */
  max-width: 438px;
  max-height: 412px;
  vertical-align: middle;
  margin: 15px 0 10px 0;
}

.ui.modals.page .jpcrm-modal-footer {
  position: fixed;
  bottom: 0;
  left: 0;
  background-color: #f9f9f6;
  padding-top: 50px;
  padding-bottom: 50px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer {
  padding-left: 80px;
  padding-right: 50px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer .jpcrm-modal-learn-footer-title {
  display: flex;
  align-items: center;
  font-size: 16px;
  font-weight: 700;
  line-height: 24px;
  margin-bottom: 8px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer .jpcrm-modal-learn-footer-title img {
  width: 30px;
  height: 30px;
  border-radius: 50%;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer .jpcrm-modal-learn-footer-paragraph {
  margin-bottom: 16px;
  font-size: 14px;
  line-height: 24px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer .jpcrm-modal-learn-footer-actions a {
  display: flex;
  align-items: center;
  font-size: 14px;
  color: #000;
  text-decoration: underline;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer .jpcrm-modal-learn-footer-actions a img {
  margin-right: 8px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer-videos .jpcrm-modal-learn-footer-video img {
  max-width: 100%;
  border-radius: 4px;
}

.ui.modals.page .jpcrm-modal-footer .jpcrm-modal-learn-footer-videos .jpcrm-modal-learn-footer-video a {
  font-size: 14px;
  font-weight: 700;
  line-height: 20px;
  color: #000;
}

/* Position modal in middle of page */
#jpcrm-first-use-dash {
  position: static !important;
  height: 95%;
  margin: auto auto !important;
  overflow-x: hidden;
}

@media only screen and (min-width: 768px) and (max-width: 1199px) {
  #jpcrm-first-use-dash.ui.large.modal {
    height: 720px;
    width: 95%;
    max-width: 1080px !important;
  }
}
@media only screen and (min-width: 1200px) {
  #jpcrm-first-use-dash.ui.large.modal {
    height: 700px;
  }
}
#jpcrm-first-use-dash.woovariant .jpcrm-modal-cta-group {
  padding-left: 50px;
  padding-right: 40px;
}

@media only screen and (max-width: 1199px) {
  #jpcrm-first-use-dash.woovariant .jpcrm-modal-cta-group {
    padding-left: 40px;
    padding-right: 30px;
  }
}
@media only screen and (max-width: 767px) {
  .ui.modals.page .ui.modal {
    overflow-x: hidden;
    border-radius: 0 !important;
    padding-bottom: 40px;
  }
  .jpcrm-modal-mobile-only {
    display: block !important;
    margin: 0;
    padding: 0;
  }
  .jpcrm-modal-mobile-only img {
    max-width: 220px;
    margin-top: 24px;
  }
  #jpcrm-modal-cta-group {
    width: 100% !important;
    padding: 0 !important;
    text-align: center;
  }
  #jpcrm-modal-cta-group .jpcrm-modal-title {
    font-size: 24px;
    font-weight: 700;
    line-height: 32px;
    text-align: center;
    margin-top: 32px;
    margin-bottom: 16px;
    padding-left: 30px;
    padding-right: 30px;
  }
  #jpcrm-modal-cta-group .jpcrm-modal-paragraph {
    font-size: 14px;
    line-height: 24px;
    margin-bottom: 16px;
    text-align: center;
  }
  #jpcrm-modal-cta-group .jpcrm-modal-action-add {
    width: 100%;
  }
  .jpcrm-modal-illustration img {
    margin: 0 !important;
  }
  .jpcrm-modal-mobile-watch-videos-link {
    text-align: center;
    margin-top: 24px;
    width: 100%;
  }
  .jpcrm-modal-mobile-watch-videos-link a {
    font-size: 16px;
    font-weight: 700;
    line-height: 20px;
    color: #000;
  }
  .jpcrm-modal-body .jpcrm-modal-illustration,
  .ui.modals.page .jpcrm-modal-footer,
  .jpcrm-modal-body .jpcrm-modal-actions .jpcrm-modal-action-import {
    display: none !important;
  }
  #jpcrm-first-use-dash.woovariant .jpcrm-modal-cta-group {
    padding-left: 20px;
    padding-right: 5px;
  }
  #jpcrm-first-use-dash.woovariant .jpcrm-modal-body .jpcrm-modal-actions .jpcrm-modal-action-import {
    display: inline-block !important;
    width: 100%;
  }
}
/* Safari 10.1+ (alternate method) */
@media not all and (min-resolution: 0.001dpcm) {
  @supports (-webkit-appearance: none) {
    .jpcrm-modal-footer {
      position: relative !important;
      margin-top: 80px !important;
    }
    .jpcrm-modal-close {
      position: relative !important;
      float: right !important;
      margin: 0;
      padding: 0;
    }
    body.dimmed #zbs-main-logo-cube-wrap {
      display: none;
    }
  }
}
div.hopscotch-bubble.tour-zbs-welcome-tour {
  z-index: 9999;
}

/*!
 * Jetpack CRM
 * https://jetpackcrm.com
 */
.ui.steps.floated.right {
  float: right;
  margin-right: 0.5em;
}

.ui.steps.floated.left {
  float: left;
  margin-left: 0.5em;
}

.ui.dropdown .menu .left.menu {
  left: auto !important;
  right: 100%;
  margin: 0 0 0 0 !important;
  border-radius: 0.28571429rem !important;
}

.ui.simple.dropdown:hover > .menu > .item:hover > .left {
  left: auto !important;
}

.ui.inverted.menu .active.item,
.ui.inverted.menu .active.item:hover {
  color: #000 !important;
}

.ui.button.white {
  background: #fff !important;
  border: 1px solid #000 !important;
  color: #000 !important;
}

.ui.button.black {
  background: #000 !important;
  border: 1px solid #000 !important;
}

.ui.button.woopink {
  background: #674399 !important;
  color: #fff !important;
  border: 0 !important;
}

.ui.grid {
  margin-left: inherit;
  margin-right: inherit;
}
