#login_register {
  position:fixed;
  background:rgba(255,255,255,.9);
  top:0;
  left:0;
  right:0;
  bottom:0;
}
#header .close_user_box {
  position:fixed;
  width:50px;
  height:50px;
  line-height:50px;
  top:0;
  right:0;
  font-size:25px;
  cursor:pointer;
}
.account_shout {
   font-size: 25px;
   text-transform: uppercase;
   letter-spacing: 1px;
   margin: 1.5% 0;
}
#account .account_button {
  display:block;
  background:white;
  margin:0 auto;
  border:0;
  padding:15px;
  margin-bottom:15px;
  width:500px;
  max-width:100%;
  font-size:22px;
  text-transform:uppercase;
  border-radius:3px;
  box-sizing:border-box;
  cursor:pointer;
  text-decoration:none;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
.currently_working {
  cursor:not-allowed;
}

#messages_wrap {
  position:fixed;
  left:0;
  right:0;
}
.message {
  background:rgba(0,0,0,0.66);
  color:#eee;
  width:90%;
  max-width:768px;
  padding:8px;
  margin:0 auto;
  margin-top:8px;
  margin-bottom:8px;
  border-radius:3px;
  font-size:18px;
}
.message.success {
  background:rgba(28, 152, 60, 0.66);
}
.message.error {
  background:rgba(187, 23, 23, 0.66);
}
#account {
  text-align:center;
}
#account form {
  padding-top:0;
}
#login_panel, #register_panel {
  margin:2% 0;
}
#login_panel input,
#register_panel input {
  display:block;
  margin:15px auto;
  width:500px;
  max-width:100%;
  border:solid 1px #eee;
  font-size:22px;
  padding:15px;
  border-radius:3px;
  box-sizing:border-box;
}
#login_panel input:focus,
#register_panel input:focus {
  border:solid 1px #ccc;
  box-shadow:0;
  outline:0;
}

#user {
  font-size:0;
  background:white;
  margin:0 auto;
  max-width:1280px;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
#user .user_section {
  display:block;
  text-align:left;
  border-bottom:solid 1px #eee;
  font-size:28px;
  text-decoration:none;
}
#user .user_section h2 {
  font-weight:normal;
  font-size:28px;
  position:relative;
  color:#333;
  margin:0;
  padding:2%;
  cursor:pointer;
}

#user .user_section h2:after {
  font-family: "Ionicons";
  position: absolute;
  right: 3%;
  top: 50%;
  transform: translateY(-50%);
  font-size: 32px;
  color: #d6d6d6;
}
#user .user_section.collapsed_section h2:after {
  content: "\f3d0";
}
#user .user_section.expanded_section h2:after {
  content: "\f3d8";
}
#user .user_section.collapsed_section .hidden_area {
  display:none;
}
#user .user_section.expanded_section .hidden_area {
  display:block;
  font-size:0;
}
input.changed_value {
  border:solid 2px red;
}
#cc_number_masked {
  cursor:not-allowed;
}

.header_row {
  font-weight:bold;
}

#transaction_info .hidden_area,
#subscription_info .hidden_area {
  max-width: 96%;
  margin: 0 auto;
  margin-bottom:2%;
}
.transaction, .subscription {
  margin-bottom:2%;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
.items_purchased,
.other_info {
  display:inline-block;
  vertical-align:top;
  width:30%;
  text-align:center;
  padding:2%;
  font-size:18px;
  box-sizing:border-box;
}
.other_info {
  padding-left:0;
}
.items_purchased {
  background:whitesmoke;
  width:66%;
  border-radius:3px;
  margin:2%;
}
.items_purchased p {
  margin: 0;
  font-size: 18px;
  margin-bottom: 10px;
  padding-bottom: 8px;
  text-align: left;
  border-bottom: solid 1px #ccc;
}
.items_purchased p.product_total {
  border:0; 
}
.items_purchased p span {
  float:right;
}
.transaction_date, .subscription_next_date, .subscription_frequency {
  color: #909090;
  text-transform: lowercase;
  line-height: 22px;
  font-size:17px;
  margin-top:10px;
  margin-bottom:10px;
  text-align:left;
  padding-bottom:4px;
}
.subscription_next_date span,
.subscription_frequency span {
  float:right;
}
.transaction_url {
  margin-bottom:10px;
}
.manage_subscription {
  position:relative;
  float:right;
}
.manage_subscription a.open_options {
  display:block;
  width: 50px;
  height: 50px;
  line-height: 50px;
  font-size:25px;
  border-radius: 50%;
  text-decoration:none;
  border:solid 1px #eee;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
.manage_subscription a.open_options:after {
  content:"\f20d";
  font-family: "Ionicons";
}
.manage_subscription a.open_options.currently_managing:after {
  content:"\f129";
}
.transaction_url a {
  background:white;
  border-radius:3px;
  display:block;
  width:100%;
  padding:5px 0;
  text-decoration:none;
  border:solid 1px #eee;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
.manage_subscription a.open_options.isPastDue {
  background: #b70000;
  color: #fff;
  border:0;
}

#manage_box_overlay {
  display:none;
  background:rgba(255,255,255,0.8);
  position:fixed;
  top:0;
  bottom:0;
  left:0;
  right:0;
  z-index:2;
  cursor:pointer;
}
#close_freq {
  position:absolute;
  top:2%;
  right:2%;
  cursor:pointer;
}
#close_freq i {
  color:#969696;
}
#manage_box {
  display:none;
  position: absolute;
  bottom: 37px;
  right: 37px;
  z-index: 3;
  background: white;
  border: solid 1px #eee;
  border-radius: 3px;
  text-align: center;
  width: 150px;
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
}
#frequency {
  display:none;
  padding:2%;
  box-sizing:border-box;
  padding-bottom:1%;
  position:fixed;
  background:white;
  text-align:center;
  width:768px;
  max-width:96%;
  top:50%;
  left:50%;
  transform:translate(-50%,-50%);
  box-shadow:0 1px 1px 0 rgba(0,0,0,.07), 0 1px 3px 0 rgba(0,0,0,.06), 0 3px 1px -2px rgba(0,0,0,.1);
  z-index:3;
}
#manage_box p, 
#update_card,
#cancel_sub,
#pay_balance, 
#apply_freq {
  margin: 0;
  padding: 10px 0;
  border: 0;
  display: block;
  cursor: pointer;
  text-decoration: none;
  font-size: 15px;
}
#manage_box #pay_balance {
  display:none;
}

#frequency p {
  font-size:22px;
}
#frequency #time_amount,
#frequency #time_type {
  background:whitesmoke;
  padding:8px;
  border-radius:3px;
  margin:0 5px;
  position:relative;
  cursor:pointer;
}
#frequency #time_type {
  padding-right:0;
}
#frequency .ion-chevron-down {
  font-size: 13px;
  padding-left: 5px;
}
#frequency .freq_value {
  
}
#frequency .freq_pop {
  display:none;
  position:absolute;
  top: 100%;
  right: 0;
  max-height:220px;
  overflow-x:auto;
  background:white;
  z-index:5;
  border-radius:5px;
  width:90px;
  border:solid 1px #eee;
}
#frequency .freq_pop span {
  padding:5px 0px;
  text-align:center;
  display:block;
  font-size:18px;
  border-bottom:solid 1px #eee;
}
#frequency .freq_pop span:hover {
  background:whitesmoke;
}
#time_amount .ion-close-round {
  display:none;
  color:#969696;
  width: 25px;
  height: 25px;
  line-height: 25px;
}
#time_amount.currently_custom .ion-close-round {
  display:inline-block; 
}
#time_amount.currently_custom .freq_value,
#time_amount.currently_custom .ion-chevron-down {
  display:none;
}
#custom_freq {
  display: none;
  width: 50px;
  border: 0;
  font-size: 15px;
  padding-left: 10px;
  height: 26px;
}
#custom_freq:focus {
  outline:0;
  border:solid 1px #ccc;
}
#time_amount.currently_custom #custom_freq {
  display:inline-block;
}