.bgbox {
  background: #e4e4e2;
  padding: 50px 30px;
  margin: 50px auto;
  max-width: 800px;
  width: 100%;
}
.form-success {
  max-width: 800px;
  margin: 30px auto 0px;
}
.bgbox-inner {
  max-width: 480px;
  width: 100%;
  margin: 0 auto;
}
.bgbox input[type="password"],
.bgbox input[type="email"],
.bgbox input[type="tel"],
.bgbox input[type="text"],
.bgbox input[type="password"]:focus,
.bgbox input[type="email"]:focus,
.bgbox input[type="tel"]:focus,
.bgbox input[type="text"]:focus
{
  background: white;
  border: 1px solid #ccc !important;
  padding: 8px 10px !important;
  margin: 0 auto 20px;
}
.bgbox input[type="submit"],
form #customer_register_link,
.btn-large
{
  background: #555;
  color: white;
  font-weight: bold;
  display: inline-block;
  padding: 10px 0;
  max-width: 400px;
  width: 100%;
  margin: 20px auto;
  font-size: 16px;
  text-decoration: none !important
}
.bgbox p {
  margin: 20px 0;
}
.bgbox p a {
  text-decoration: underline;
}
.bgbox p a:hover {
  cursor: pointer;
}
.bgbox p span {
  display: inline-block;
}
@media screen and (max-width: 767px){
  display: inline;
}
.bgbox hr {
  margin: 30px auto;
  border: none;
  border-top: 1px solid #ccc;
}

.bgbox button {
  width: 200px;
}
.bgbox button[type="button"] {
  background:  #7c7c7c;
}
@media screen and (max-width: 767px){
  .bgbox button {
    width: 100px;
  }
}

form#customer_login {
  padding-top: 30px;
}
.account-customer-name {
  display: block;
  text-align: center;
  font-size: 21px;
  margin: 20px 0 40px;
}
.account-customer-name span {
  font-size: .7em;
}


.accordion {
  margin: 0 0 40px;
}
.accordion .accordion-body {
  display: none;
}
.accordion.open .accordion-body {
  /*display: block;*/
}

.accordion h2 {
  position: relative;
  padding-left: 10px;
  font-size: 18px;
}
.accordion h2:hover {
  cursor: pointer;
}
.accordion h2 span.plus {
  display: block;
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  right: 10px;
  width: 16px;
  height: 16px;
}
.accordion h2 span.plus:before {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-right: 1px solid #7c7c7c;
  position: absolute;
  left: -50%;
}
.accordion.open h2 span.plus:before {
  display: none;
}
.accordion h2 span.plus:after {
  content: '';
  display: block;
  width: 100%;
  height: 100%;
  border-bottom: 1px solid #7c7c7c;
  position: absolute;
  top: -50%;
}
.account-subtitle {
  font-size: 21px;
  border-top: 1px solid #7c7c7c;
  border-bottom: 1px solid #7c7c7c;
  padding: 15px 0;
  line-height: 1.3;
}
.account-subtitle i {
  display: inline-block;
  min-width: 20px;
  text-align: center;
}
.bgbox table th,
.bgbox table td
{
  border: none;
}
.bgbox table td a {
  text-decoration: underline;
}
@media screen and  (max-width: 767px){
  .bgbox table th,
  .bgbox table td
  {
    display: block; 
  }
  .bgbox table th {
    padding-bottom: 0;
  }
}
.bgbox table.address {
  margin-top: 40px;
  border-top: 1px solid #ccc;
}
.bgbox table.address th,
.bgbox table.address td {
  border-bottom: 1px solid #ccc;
}
@media screen and  (max-width: 767px){
  .bgbox table.address td {
    border: none;
  }
  .bgbox table.address td:last-child {
    border-bottom: 1px solid #ccc;
  }
}
tr.form-vertical td {
  padding-top: 40px;
}
a.account-btn,
.btn--address-edit a {
  display: inline-block;
  padding: 8px 15px;
  background: #f5f5f5;
  border: 1px solid #7c7c7c;
  text-decoration: none !important;
  margin-bottom: 8px;
}

p.btn-members {
  display: none;
  margin: 30px 0 0;
}
.btn-members a {
  display: inline-block;
  width: 100%;
  padding: 10px 0;
  border: 2px solid #666;
  text-decoration: none !important;
  font-weight: bold;
  font-size: 16px;
}
@media screen and (max-width: 767px){
  p.btn--address-edit {
    margin: 0;
  }
  .btn--address-edit br {
    display: none;
  }
  .btn--address-edit a {
    margin-right: 10px;
  }
  p.btn-members {
    display: block;
  }
}

a.account-btn:hover {
  background: white;
}
.cf-edit-account-link-spacer,
.cf-edit-account-link {
  display: none  !important;
}
.page-main--wrapper {
  padding-top: 0;
}
h1.page--title {
  padding-top: 50px;
}

.account--sub-title {
  font-weight: bold !important;
}
table.account-area--order-details {
  width: 100%;
}
.form-label p {
  margin-bottom: 0;
}
.black {
  color: black;
}

