/*
 * this should contain general css that applies to Header / footer bars
 * to overwrite editor styles, use editor.scss
 */
body {
  .thrv_wrapper {
    &.thrv_ult_bar {
      margin: 0;
    }
  }
}

/* Header / footer bars */
.tve-ult-bar {
  top: -100%;
  left: 0;
  min-height: 20px;
  position: fixed;
  right: 0;
  z-index: 90000;

  .tve_editor_page & {
    z-index: 0;
  }

  transition: top .7s;

  &.tvu-triggered {
    top: 0;
    transition: top .6s;
  }

  .admin-bar & {
    &.tvu-header.tvu-triggered {
      top: 32px;
    }
  }

  &.tvu-footer {
    top: auto !important;
    bottom: -100%;
    transition: bottom .7s;

    &.tvu-triggered {
      bottom: 0;
      transition: bottom .6s;
    }
  }

  .single-tve_ult_campaign & {
    .admin-bar {
      z-index: 0;
      top: 32px;
    }
  }

  .tve-ult-bar-content {
    margin: 0 auto;
  }

  .thrv-ult-bar {
    box-shadow: 0 1px 1px rgba(0, 0, 0, .3);
    padding: 10px 0;
    margin: 0;
  }
}

.tve-ult-bar-close-editable {
  position: absolute;
  top: 10px;
  right: 10px;
  border: 1px solid #cdcdcd;
  border-radius: 22px;
  z-index: 100;
  margin: 0 !important;
  padding: 0;
  cursor: pointer;
}


/* shortcode design */
.tve-ult-shortcode {
  position: relative;
  z-index: 0;
  opacity: 0;
  visibility: hidden;

  &.tvu-triggered {
    opacity: 1;
    transition: opacity .6s;
    visibility: visible;
  }

  .thrv_ult_shortcode {
    padding: 10px;
    margin: 0;
  }
}

@media (max-width: 380px) {
  .tve-ult-shortcode {
    .thrv_ult_shortcode {
      padding: 10px 0;
    }
  }
}

.tve-ult-widget {
  position: relative;
  z-index: 0;
  opacity: 0;

  &.tvu-triggered {
    opacity: 1;
    transition: opacity .6s;
  }

  .thrv_ult_widget {
    padding: 10px;
    margin: 0;

    .thrv_bullets_shortcode {
      li {
        background: none;
        border-bottom: 0;
        padding: 0;
      }
    }
  }
}
