/* Feature toggler busy spinner */

.super-bundle-wrap .card .spinner {
  margin-top: 0;
  position: absolute;
  right: 0;
}

a.gvc-demo,
a.gvc-settings {
  margin: 0 20px;
  color: #777 !important;
  text-decoration: none;
  font-size: .8em;
  float: right;
  line-height: 20px;
  opacity: .5;
  outline: none;
}

a.gvc-settings {
  opacity: 1;
  display: none;
}

a.gvc-demo:hover,
a.gvc-settings:hover {
  opacity: 1;
  color: #0073aa !important;
}

.gvc-switch.is-enabled ~ a.gvc-settings {
  display: block;
}

/* Settings page help icon */

.super-bundle-wrap .card .dashicons-editor-help {
  text-decoration: none;
}

.super-bundle-wrap .card a {
  color: #ccc;
}

.super-bundle-wrap .card {
  padding: .7em 40px 1em;
}

.super-bundle-wrap .card > p {
  border-bottom: 1px solid #f1f1f1;
  padding: 1em 0;
  margin: 0;
}

.super-bundle-wrap .card > p.gvc-group-title {
  font-weight: bold;
  margin: 1em 0 0;
  text-transform: uppercase;
  font-size: 0.9em;
}

.super-bundle-wrap .card > p:last-child {
  border-bottom: none;
}

/* Settings page tooltips */

.super-bundle-wrap .card p a[data-title] {
  position: relative;
}

.super-bundle-wrap .card p a[data-title]:hover:after {
  content: attr(data-title);
  z-index: 20;
  padding: 8px 12px;
  color: #777;
  background: #fff;
  position: absolute;
  width: 350px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  left: 100%;
  top: 0;
  border-radius: 2px;
  border: 1px solid #ddd;
  -webkit-box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  box-shadow: 2px 2px 8px rgba(0, 0, 0, 0.1);
  margin-left: 10px;
  font-style: italic;
}

/* Settings page switch */

label.gvc-switch {
  float: right;
  display: block;
  width: 100px;
  height: 20px;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

label.gvc-switch > span {
  display: inline-block;
  display: block;
  position: absolute;
  top: 3px;
  line-height: 14px;
  width: 80px;
  z-index: 2;
}

label.gvc-switch > *,
label.gvc-switch .gvc-switch-ui:before {
  -webkit-transition: all .3s ease-in-out;
  transition: all .3s ease-in-out;
}

label.gvc-switch > * {
  will-change: transform;
}

label.gvc-switch .gvc-switch-ui:before {
  will-change: transform, background-color;
}

label.gvc-switch input {
  display: none;
}

label.gvc-switch .gvc-switch-ui {
  width: 14px;
  height: 14px;
  left: 83px;
  position: absolute;
  z-index: 1;
}

label.gvc-switch .gvc-switch-ui:after {
  content: '';
  display: block;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 100%;
  background: #fff;
  z-index: 2;
  position: absolute;
  -webkit-box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
  box-shadow: 1px 1px 1px rgba(0, 0, 0, 0.2);
}

label.gvc-switch .gvc-switch-ui:before {
  content: '';
  display: block;
  width: 200px;
  position: absolute;
  z-index: -1;
  top: -3px;
  left: -100px;
  height: 20px;
  background: #3AC5C9;
}

label.gvc-switch .gvc-switch-on,
label.gvc-switch .gvc-switch-off {
  width: 100px;
  height: 20px;
  top: 0;
  padding: 3px 8px;
  -webkit-box-sizing: border-box;
  box-sizing: border-box;
  font-size: 12px;
  text-transform: uppercase;
  color: #fff;
}

label.gvc-switch .gvc-switch-on {
  left: 0;
}

label.gvc-switch .gvc-switch-off {
  left: 94px;
}

label.gvc-switch input:not(:checked) ~ .gvc-switch-ui:before {
  background: #E85764;
}

label.gvc-switch input:not(:checked) ~ * {
  -webkit-transform: translateX(-80px);
  transform: translateX(-80px);
}

label.gvc-switch + label.gvc-switch {
  margin-top: 5px;
}