/**
 * All of the CSS for your admin-specific functionality should be
 * included in this file.
 */

body {
  background-color: #f3f3f3 !important;
}
.wh-kartra-billing-license.active {
  color: green;
}
.hero-active,
.hero-active:hover {
  background-color: black !important ;
  color: white !important;
}
.wh-kartra-billing-license.inactive {
  color: red;
}
.wh-kartra-billing-tokenbox-img {
  width: 100%;
  padding: 15px;
  max-width: 450px;
  display: block;
  margin: auto;
}
#wh-kartra-billing-api-token-remove {
  margin-left: 20px;
  color: white;
}

#wh-kartra-billing-advance-options.card,
#wh-kartra-billing-general-options.card,
#wh-kartra-billing-license-options.card {
  min-width: 100%;
}
.wh-kartra-billing-tokenbox {
  margin: 20px 0 0 0;
  padding: 10px 15px;
  font-weight: 400;
  border-radius: 4px;
  max-width: 200px;
  color: rgb(50, 50, 50);
  min-width: 100%;
}
.wh-kartra-billing-tokenbox-valid {
  background: #ffffff;
}
.wh-kartra-billing-tokenbox-invalid {
  background: #dadada;
}
.use-network-description {
  margin: 20px;
  padding: 0px;
  font-size: 15px;
}
.wh-kartra-billing-token-notice-error {
  margin: 20px 0 0 0;
  padding: 10px 15px;
  background: #f1eded;
  display: flex;
  border-left: 7px solid #e01a1a;
  font-weight: 400;
  border-radius: 4px;
  color: black;
}
.wh-kartra-billing-token-notice-success {
  margin: 20px 0 0 0;
  padding: 10px 15px;
  background: #f1eded;
  display: flex;
  border-left: 7px solid green;
  font-weight: 400;
  border-radius: 4px;
  color: black;
}
.token-created-h4 {
  font-size: 18px;
}
#wh-kartra-billing-api-token-refresh {
  color: white;
}
/* Create two equal columns that floats next to each other */
.wh-kartra-billing-column {
  float: left;
  width: 50%;
  padding: 10px;
}
.wh-kartra-billing-row {
  display: flex;
  align-items: center;
}
/* Clear floats after the columns */
.wh-kartra-billing-row:after {
  content: "";
  display: table;
  clear: both;
}
.wh-kartra-billing-table-token-row {
  max-width: 200px;
}
/* Responsive layout - makes the two columns stack on top of each other instead of next to each other */
@media screen and (max-width: 600px) {
  .wh-kartra-billing-column {
    width: 100%;
  }
}

.wh-kartra-billing-client-secret-input {
  display: block;
  margin-bottom: 10px;
}
.wh-kartra-billing-make-library-box {
  display: flex;
  align-items: center;
}
.wh-kartra-billing-tab-box {
  margin: 35px 0;
}
.wh-kartra-billing-tab-box > .nav-tab-wrapper {
  border-bottom: 0;
  margin: 0;
  padding-top: 9px;
  padding-bottom: 0;
  line-height: inherit;
  margin: 0 0 30px 0;
}

#wh-kartra-billing-api-connect-box.card,
#wh-kartra-billing-api-form-box.card,
.wh-kartra-billing-api-tokens.card {
  position: relative;
  display: -ms-flexbox;
  display: flex;
  -ms-flex-direction: column;
  flex-direction: column;
  min-width: 100%;
  word-wrap: break-word;
  background-color: #fff;
  background-clip: border-box;
  border: 1px solid rgba(0, 0, 0, 0.125);
  border-radius: 0.25rem;
}
.wh-kartra-billing-table-token {
  max-width: 350px;
}
#wh-kartra-billing-api-form-box input,
#wh-kartra-billing-api-form-box label {
  display: block;
}
.wp-core-ui .button .btn-primary-th {
  padding: 5px 10px !important;
  background: blue !important;
  color: white !important;
}
.wh-kartra-billing-table-secret {
  max-width: 450px;
}
.wh-kartra-billing-tab-box > .nav-tab-wrapper > .nav-tab {
  float: left;
  border: 1px solid #ccc;
  border-bottom: 1px solid #ccc;
  margin-left: 0.5em;
  padding: 5px 10px;
  font-size: 14px;
  line-height: 1.71428571;
  font-weight: 600;
  background: #e5e5e5;
  color: #555;
  text-decoration: none;
  white-space: nowrap;
}
.make-lib-description {
  margin-left: 10px;
}

.hide-input {
  display: none;
}
.switch {
  display: inline-block;
  height: 34px;
  position: relative;
  width: 60px;
}

.switch .wh-kartra-billing-make-lib {
  display: none;
}
.switch .wh-kartra-billing-allow-sites {
  display: none;
}

.switch .wh-kartra-billing-del-lib {
  display: none;
}

.switch .wh-kartra-billing-allow-extension {
  display: none;
}

.switch .wh-kartra-billing-make-networkwide {
  display: none;
}

.slider {
  background-color: #ccc;
  bottom: 0;
  cursor: pointer;
  left: 0;
  position: absolute;
  right: 0;
  top: 0;
  transition: 0.4s;
}

.slider:before {
  background-color: #fff;
  bottom: 4px;
  content: "";
  height: 26px;
  left: 4px;
  position: absolute;
  transition: 0.4s;
  width: 26px;
}

.wh-kartra-billing-make-lib:checked + .slider {
  background-color: #66bb6a;
}

.wh-kartra-billing-make-lib:checked + .slider:before {
  transform: translateX(26px);
}

.wh-kartra-billing-allow-extension:checked + .slider {
  background-color: #66bb6a;
}

.wh-kartra-billing-allow-extension:checked + .slider:before {
  transform: translateX(26px);
}

.wh-kartra-billing-del-lib:checked + .slider {
  background-color: #66bb6a;
}

.wh-kartra-billing-del-lib:checked + .slider:before {
  transform: translateX(26px);
}

.wh-kartra-billing-allow-sites:checked + .slider {
  background-color: #66bb6a;
}

.wh-kartra-billing-allow-sites:checked + .slider:before {
  transform: translateX(26px);
}
.wh-kartra-billing-make-networkwide:checked + .slider {
  background-color: #66bb6a;
}

.wh-kartra-billing-make-networkwide:checked + .slider:before {
  transform: translateX(26px);
}

.slider.round {
  border-radius: 34px;
}

.slider.round:before {
  border-radius: 50%;
}

.wh-kartra-settings th {
  vertical-align: top;
  text-align: left;
  padding: 20px 10px 20px 0;
  width: 341px !important;
  line-height: 1.3;
  font-weight: 600;
}
