/* Standalone visual layer for the pre-login member registration page. */
html { overflow-y: scroll; }
* { box-sizing: border-box; }
html, body { min-height: 100%; }

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  margin: 0;
  color: #263442;
}

body > .hidden-xs.hidden-sm,
body > .visible-xs-block.visible-sm-block { margin-top: auto; }

.join-container {
  width: calc(100% - 24px);
  max-width: 1080px;
  margin: 32px auto 60px;
  padding: 0;
}

.join-container > .row { margin: 0; }

.join-container .col-md-8.col-md-offset-2 {
  float: none;
  width: 100%;
  max-width: 960px;
  margin: 0 auto;
  padding: 0;
}

.join-form {
  display: block;
  width: 100%;
  margin: 0;
  padding: 28px 36px 36px;
  border: 1px solid #dfe7ed;
  border-radius: 12px;
  background: #fff;
  box-shadow: 0 5px 18px rgba(40, 67, 84, .08);
}

.join-form .page-header {
  position: relative;
  margin: 6px 0 26px;
  padding: 0 0 14px;
  border-bottom: 1px solid #dfe7ed;
  text-align: left;
}

.join-form .page-header center { text-align: left; }

.join-form .sectionTitle {
  margin: 0 0 5px;
  color: #263442;
  font-size: 24px;
  font-weight: bold;
  line-height: 1.4;
}

.join-form .page-header small {
  color: #6c7a89;
  font-size: 14px;
  font-weight: normal;
}

.join-form .page-header:not(:first-of-type) {
  margin-top: 34px;
}

.join-form .page-header:not(:first-of-type) small {
  color: #263442;
  font-size: 19px;
  font-weight: bold;
}

.join-form .form-group {
  margin-right: 0;
  margin-bottom: 17px;
  margin-left: 0;
}

.join-form .control-label {
  padding-top: 9px;
  color: #52616f;
  font-size: 15px;
  font-weight: bold;
}

.join-form .form-control {
  height: 40px;
  margin-top: 0 !important;
  margin-bottom: 0 !important;
  border: 1px solid #cbd8e1;
  border-radius: 6px;
  background: #fff;
  color: #263442;
  font-size: 15px;
  box-shadow: none;
}

.join-form .form-control:focus {
  border-color: #1677b8;
  outline: 0;
  box-shadow: 0 0 0 2px rgba(22, 119, 184, .12);
}

.join-form .form-control-static {
  min-height: 0;
  margin: 5px 0 0;
  padding: 0;
  color: #c53d3d;
  font-size: 13px;
}

.join-form .col-sm-9 > span {
  display: block;
  margin-top: 6px;
  color: #6c7a89;
  font-size: 13px;
  line-height: 1.5;
}

.join-form input[type="radio"] {
  width: 16px;
  height: 16px;
  margin: 0 7px 0 0;
  vertical-align: middle;
  accent-color: #1677b8;
}

.join-form .form-group > .control-label.col-sm-2 + .control-label {
  display: flex;
  align-items: center;
  min-height: 40px;
  padding-top: 0;
  text-align: left;
}

.join-form #imgcode {
  width: 110px;
  height: 36px;
  border: 1px solid #cbd8e1;
  border-radius: 5px;
  vertical-align: middle;
}

.join-form #txtcode {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  margin-left: 7px;
  border: 1px solid #cbd8e1;
  border-radius: 5px;
  color: #1677b8;
  text-decoration: none;
  vertical-align: middle;
}

.join-form #txtcode:hover {
  border-color: #1677b8;
  background: #eaf5fb;
}

.join-form > center {
  margin-top: 28px;
  padding-top: 24px;
  border-top: 1px solid #dfe7ed;
}

.join-form #submit-btn {
  min-width: 160px;
  padding: 11px 28px;
  border: 0;
  border-radius: 7px;
  background: #1677b8;
  color: #fff;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
  box-shadow: 0 3px 8px rgba(22, 119, 184, .24);
}

.join-form #submit-btn:hover,
.join-form #submit-btn:focus {
  border: 0;
  background: #0d5f96;
  color: #fff;
}

@media screen and (max-width: 768px) {
  .join-container {
    width: 100%;
    margin: 0;
  }

  .join-form {
    padding: 20px 14px 28px;
    border: 0;
    border-radius: 0;
    box-shadow: none;
  }

  .join-form .page-header { margin-bottom: 22px; }
  .join-form .sectionTitle { font-size: 21px; }

  .join-form .control-label {
    display: block;
    width: 100%;
    padding: 0 0 6px;
    text-align: left;
  }

  .join-form .form-group > div[class*="col-sm-"] {
    padding-right: 0;
    padding-left: 0;
  }

  .join-form .col-sm-offset-2 { margin-left: 0; }

  .join-form .form-group > .control-label.col-sm-2 + .control-label {
    display: inline-flex;
    width: auto;
    margin-right: 24px;
  }

  .join-form #submit-btn { width: 100%; }
}
