#minside .custinfo-form {
  display: none;
}
#minside .form-visible .custinfo-info {
  display: none;
}
#minside .form-visible .custinfo-form {
  display: block;
}
#minside .minside-wrap {
  width: 100%;
}
#minside .minside-wrap::after {
  content: " ";
  display: block;
  height: 0;
  clear: both;
}

#minside a.with-a-margin {
  margin-right: 1em;
}

#minside .subscriptions {
  width: 48%;
  float: left;
}

#minside .balance {
  margin-bottom: 15px;
}

#minside .balance small {
  display: block;
  border-top: 1px solid rgba(0, 0, 0, 0.7);
  opacity: 0.7;
  padding: 5px 0;
}

#minside .minside-customer, #minside .invoices {
  width: 48%;
  float: right;
  clear: right;
}

#minside .invoices {
  padding-top: 30px;
}

#minside .minside-customer::after {
  display: block;
  content: "";
  clear: both;
}

#minside h3 {
  border-bottom: 1px solid black;
}

#minside table {
  border: none;
}

#minside table.info {
  padding: 0;
}

#minside table.info td,
#minside table.info th {
  border: none;
  padding-bottom: 10px;
}

#minside table.info th {
  text-transform: none;
  opacity: 0.7;
  width: 40%;
}

#minside table.invs th {
  text-transform: uppercase;
  font-weight: bold;
}

#minside table.invs tr:last-child td,
#minside table.invs tr:last-child th {
  border-right: none;
}

#minside table.invs tr:nth-child(even) {
  background-color: #eee;
}

#minside .minside-subs {
  list-style-type: none;
  margin: 0;
}

#minside .minside-subs h4 {
  font-weight: normal;
}

#minside .minside-subs h4 small {
  display: block;
  text-transform: uppercase;
}

#minside .minside-subs .sub-active h4 small {
  color: green;
}

#minside .minside-subs .sub-inactive h4,
#minside .minside-subs .sub-inactive small,
#minside .minside-subs .sub-inactive p {
  color: #999;
}

#minside .minside-subs > li {
  border-bottom: 1px solid #d6d6d6;
  padding-bottom: 1.2em;
}

#minside .minside-subs > li + li {
  padding-top: 0.5em;
}

#minside .minside-deactivate-subscription-form,
#minside .minside-change-date-form {
  display: none;
}

#minside .minside-activate-subscription-form p {
  margin-bottom: 0;
}

#minside .minside-activate-subscription-form p small {
  display: inline-block;
  max-width: 60%;
  vertical-align: middle;
}

#minside .minside-activate-subscription-form p input {
  display: inline-block;
  margin-right: 15px;
  vertical-align: middle;
}

#minside .minside-deactivate-subscription-form {
  z-index: 100;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(255, 255, 255, 0.7);
  text-align: center;
  padding-top: 200px;
}

#minside .minside-deactivate-subscription-form form {
  display: block;
  background-color: white;
  border: 1px solid black;
  padding: 2em 3em;
  max-width: 800px;
  margin: 0 auto;
  box-shadow: 3px 3px 25px rgba(0, 0, 0, 0.1);
}

#minside .retain-content {
  text-align: left;
}

#minside p + .retain-content {
  margin-top: 1em;
}

@media screen and (max-width: 800px) {
  #minside .subscriptions,
  #minside .minside-customer,
  #minside .invoices {
    width: 100%;
    float: none;
    padding-top: 50px;
  }
}
