@media screen and (min-width: 768px) {
  div#register {
    width: 900px;
    min-height: 300px;
  }
}

@media screen and (max-width: 767px) and (min-width: 480px) {
  div#register .error {
    font-size: 16px;
  }
  div#register div.row {
    width: 75% !important;
  }
}

@media screen and (max-width: 480px) {
  div#register .error {
    font-size: 14px;
  }
  div#register div.row {
    width: 90% !important;
  }
  #btn_find_addr {
    padding: 10px 6px !important;
    font-size: 12px !important;
  }
  .btn-register {
    margin: 15px 20px !important;
  }
  #return-btn {
    margin-left: 30px !important;
  }
}

div#register {
  line-height: 2;
  margin-top: 75px;
}

#register div.row {
    margin: 0.4em auto;
    padding: 0.25em 0.5em;
    vertical-align: text-bottom;
}

div#register {
  margin-left: auto;
  margin-right: auto;
}

div#register .error {
  font-size: 14px;
  color: #C22D07;

  text-align: left;
}

/* register steps */
.progressbar {
  display: flex;
  justify-content: center;
  counter-reset: step;
}

.progressbar li{
  list-style-type: none;
  float: left;
  width: 16.66%;
  position:relative;
  text-align: center;
  font-weight: 600;
}

.progressbar li:before {
  /* CSS for creating steper block before the li item*/
  content:counter(step);
  counter-increment: step;
  height:30px;
  width:30px;
  line-height: 30px;
  border: 2px solid #ddd;
  display:block;
  text-align: center;
  margin: 0 auto 10px auto;
  border-radius: 50%;
  background-color: white;
}

.progressbar li:after {
  /* CSS for creating horizontal line*/
  content:'';
  position: absolute;
  width:100%;
  height:2px;
  background-color: #ddd;
  top: 15px;
  left: -50%;
  z-index: -1;
}
.progressbar li:first-child:after {
  content:none;
}
.progressbar li.active {
  color: #6BB81A;
}
.progressbar li.active:before {
  border-color: #6BB81A;
}
.progressbar li.active + li:after{
  background-color: #6BB81A;
}

#privacy_check, #term_condition {
  -ms-transform: scale(1.5); 
  -moz-transform: scale(1.5); 
  -webkit-transform: scale(1.5); 
  -o-transform: scale(1.5); 
  transform: scale(1.5);
  margin-right: 10px;
  margin-bottom: 10px;
}

/* New Design */
.container {
  border-radius: 5px;
  background-color: #f2f2f2;
  padding: 20px;
  width: 80%;
  margin: 20px auto;
}

.container .row {
  width: 65%;
}

.row label {
  font-size: 18px;
  font-weight: bold;
  margin-left: 10px;
}

.row span.any {
  margin-left: 20px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  padding: 2px 5px;
  background-image: linear-gradient(lightgrey, grey);
  vertical-align: text-bottom;
  border-radius: 5px;
}

.row span.required {
  margin-left: 20px;
  font-size: 12px;
  font-weight: bold;
  color: white;
  padding: 2px 5px;
  background-image: linear-gradient(#85E024, #6BB81A);
  border: none;
  vertical-align: text-bottom;
  border-radius: 5px;
}

#zip_code {
  width: 40%;
}

#btn_find_addr {
  float: right;
  padding: 12px 8px;
  font-size: 14px;
  font-weight: bold;
  border-radius: 8px;
  background-image: linear-gradient(#85E024, #6BB81A);
  border: none;
  color: white;
}

input[type=text], input[type=email], input[type=password] {
  width: 100%;
  padding: 12px;
  border: 2px solid #ccc;
  border-radius: 8px;
  background-color: white;
  resize: vertical;
  font-size: 14px;
  box-sizing: border-box;
}

input:focus {
  border: 2px solid #6BB81A;
}

input[type=button]:focus, input[type=submit]:focus {
  border: none;
}

div.privacy-content:focus, div.terms-content:focus {
  border: 1px solid #6BB81A;
}
.privacy-label, .terms-label {
  padding-left: 5px;
}

.btn-register {
  width: 90%;
  margin: 25px 40px;
  padding: 15px 8px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  background-image: linear-gradient(to bottom right, #85E024, #6BB81A);
  border: none;
  color: white;
  box-shadow: 0px 2px 8px 2px rgba(0,0,0,0.2);
}

.btn-register:hover, #return-btn:hover {
  opacity: 0.9;
}

#return-btn {
  width: 50%;
  margin-bottom: 30px;
  margin-left: 50px;
  padding: 15px 8px;
  font-size: 16px;
  font-weight: bold;
  border-radius: 8px;
  background-image: linear-gradient(to bottom right, #9797a3, #646369);
  border: none;
  color:white;
  box-shadow: 0px 2px 8px 2px rgba(0,0,0,0.2);
}

.action {
  text-align: center;
}

/* terms and privacy */
.privacy-content, .terms-content {
  font-size: 15px;
  margin: -10px;
  margin-right: -20px;
  background-color: white; 
  height: 300px;
  overflow-y: scroll;
  border: 1px solid #ccc;
  border-radius: 5px;
}

.captionXL {
  margin-top: 10px;
  padding: 0px 20px 0px;
  font-size: 20px;
  font-weight: bold;
  /* background: url(../images/common/cap_large.png) repeat-x; */
  border-bottom: 1px solid #999;
  border-left: 10px solid #23538D;
  border-top: 1px solid #CCC;
  border-right: 10px solid #23538D;
}

.contentsBox{
  padding: 0px 15px;
  line-height: 1.5;
}

.list_decimal {
  list-style-type: decimal;
  padding: 0px 0px 0px 30px;
}

/*.privacy-label, .terms-label {
  display: block;
  position: relative;
  padding-left: 35px;
  margin-bottom: 12px;
  cursor: pointer;
  font-size: 22px;
  -webkit-user-select: none;
  -moz-user-select: none;
  -ms-user-select: none;
  user-select: none;
}

.privacy-label input, .terms-label input {
  position: absolute;
  opacity: 0;
  cursor: pointer;
  height: 0;
  width: 0;
}

.privacy-span, .terms-span {
  position: absolute;
  top: 6px;
  left: 0;
  height: 20px;
  width: 20px;
  background:white;
  border-radius: 5px;
  border: 2px solid #ccc;
}

.privacy-span:foucs, .terms-span:focus {
  border: 2px solid #6BB81A;
}

.privacy-label input:checked ~ .privacy-span, .terms-label input:checked ~ .terms-span {
  background-color: #2196F3;
}

.privacy-span:after, .terms-span:after {
  content: "";
  position: absolute;
  display: none;
}

.privacy-label input:checked ~ .privacy-span:after, .terms-label input:checked ~ .terms-span:after {
  display: block;
}

.privacy-label .privacy-span:after, .terms-label .terms-span:after {
  left: 6px;
  top: 3px;
  width: 5px;
  height: 10px;
  border: solid white;
  border-width: 0 3px 3px 0;
  -webkit-transform: rotate(45deg);
  -ms-transform: rotate(45deg);
  transform: rotate(45deg);
}*/