/* 모달 */

.modal .modal-header button.close {
  opacity: 1;
}

.modal {
  overflow-x: hidden;
}

.form-control,
.single-line {
  background-color: #ffffff;
  background-image: none;
  border: 1px solid #e5e6e7;
  border-radius: 4px;
  color: inherit;
  display: block;
  padding: 6px 12px;
  width: 100%;
  font-size: 14px;
}

.modal-body .text-center {
  text-align: center;
}

#loginbutton,
#registsubmit {
  width: 100%;
  color: #fff;
}

#alert-x,
#alert-xx {
  float: right;
}

.alert {
  padding: 15px;
  margin-bottom: 20px;
  border: 1px solid transparent;
  border-radius: 4px;
}

.alert-danger {
  color: #a94442;
  background-color: #f2dede;
  border-color: #ebccd1;
}

_:-ms-fullscreen,
:root .form-control,
.single-line {
  padding: 0px 0px;
  color: grey;
}

_:-ms-fullscreen,
:root #findPasswordModal .close {
  right: -50px;
}

.text-left {
  width: 100%;
}

_:-ms-fullscreen,
:root .modal-footer .col-sm-6 {
  float: left;
  width: 50%;
  padding-right: 15px;
  padding-left: 15px;
}

@media screen and (min-width: 0\0) {
  /*IE10,0에 대한 CSS 내용을 기술*/
  modal-footer .col-sm-6 {
    float: left;
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
  }
}

@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none) {
  /* IE10-specific styles go here */
  modal-footer .col-sm-6 {
    float: left;
    width: 50%;
    padding-right: 15px;
    padding-left: 15px;
  }
}

.form-group label {
  display: inline-block;
  max-width: 100%;
  margin-bottom: 5px;
  font-weight: 700;
}

_:-ms-fullscreen,
:root #zero-invite-form .modal-body > * {
  padding: 12px 0px;
}

:-ms-fullscreen,
:root #loginForm > input {
  width: 328px;
}

:-ms-fullscreen,
:root #name,
#registerEmail,
#registerPassword,
#registerConfirm {
  width: 378px;
}

button.close {
  background-color: transparent;
  border-color: transparent;
}

.modal .modal-header button.close:hover {
  opacity: 0.5;
}

/* 로그인 폼 */

#login-form {
  cursor: auto;
}

#login-form .loginWrap {
  padding: 0 4px;
}

#login-form .modal-dialog {
  border-radius: 5px;
  height: 100vh;
  width: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
}

#login-form .modal-content {
  width: 450px;
}

#regist-form .modal-dialog {
  width: 450px;
}
#regist-form .modal-body {
  max-height: calc(100vh - 110px);
  overflow-y: auto;
}
#login-form h1 {
  font-size: 30px;
  font-weight: 500;
  color: #818181;
  margin-top: 0;
  margin-bottom: 20px;
}

_:-ms-fullscreen,
:root #regist-form .modal-dialog {
  width: 500px;
}

#paylist .modal-header,
#login-form .modal-header,
#regist-form .modal-header {
  border: none;
  border-radius: 5px;
  height: 50px;
}

#paylist .modal-header button,
#login-form .modal-header button,
#regist-form .modal-header button {
  position: absolute;
  right: 14px;
  top: 18px;
}

#paylist img.title-logo,
#login-form img.title-logo,
#regist-form img.title-logo {
  margin-bottom: 50px;
  height: 40px;
}

#paylist .modal-body,
#login-form .modal-body,
#regist-form .modal-body {
  padding-left: 40px;
  padding-right: 40px;
  padding-bottom: 26px;
}

#login-form input[type='text'],
#login-form input[type='password'],
#regist-form input[type='text'],
#regist-form input[type='email'],
#regist-form input[type='password'] {
  height: 45px;
  border: 1px solid #eaeaea;
  -webkit-box-shadow: 0 0 0 1000px white inset;
  width: 100%;
}

#login-form input::placeholder {
  color: #c4c4c4;
}

/* google chrome autofill remove */

#login-form input[type='text'] {
  margin-bottom: 12px;
}

#login-form input[type='password'] {
  margin-bottom: 10px;
}

#login-form button[type='submit'] {
  height: 45px;
  background-color: #1db177;
  border: 1px solid #fff;
  color: #fff;
  font-weight: 500;
  border-radius: 2px;
  font-size: 14px;
  margin-top: 10px;
  margin-bottom: 12px;
}

#login-form .btn.btn-kakao,
.btn.btn-naver,
.btn.btn-facebook,
.btn.btn-apple {
  height: 45px;
  margin-bottom: 8px;
}

#regist-form .text-left {
  text-align: left;
}

#login-form .btn {
  padding: 0;
}

#login-form .btn-naver strong,
#login-form .btn-facebook strong {
  display: block;
  margin-top: -1px;
}

#regist-form .selector {
  word-break: break-all;
}

#login-form .btn img {
  margin-top: -5px;
  width: 24px;
}

#login-form .btn-simple-phone,
#login-form .btn-kakao,
#login-form .btn-naver,
#login-form .btn-facebook,
#login-form .btn-apple {
  font-size: 14px;
  line-height: 45px;
}

#login-form .btn-simple-phone {
  position: relative;
}

#login-form .simple-phone-ad {
  position: absolute;
  right: 30px;
  color: #ced5e0;
  font-size: 11px;
  font-weight: 500;
}

#login-form .btn.btn-simple-phone strong {
  color: #535c68;
  text-align: center;
  font-size: 14px;
  font-style: normal;
  font-weight: 400;
  line-height: 21px; /* 150% */
  letter-spacing: -0.3px;
}

#login-form .btn.btn-simple-phone span.simple-phone-ad {
  color: #a9b4c6;
  font-size: 10px;
  font-style: normal;
  font-weight: 400;
  line-height: 15px;
  letter-spacing: -0.3px;
  position: absolute;
  right: 2px;
  bottom: 0px;
}

#login-form .btn-simple-phone:hover,
#login-form .btn-simple-phone {
  color: #189966;
  border-color: #8491a4;
}

#login-form .btn-kakao:hover,
#login-form .btn-kakao {
  background-color: #feea00;
  color: #381e1f;
}

#login-form.btn-naver:hover,
#login-form .btn-naver {
  background-color: #1ccb69;
  color: #ffffff;
}

#login-form .btn-facebook:hover,
#login-form .btn-facebook {
  background-color: #1877f2;
  color: #ffffff;
}

#login-form .btn-apple:hover,
#login-form .btn-apple {
  background-color: #fff;
  color: #000;
  border-color: #000;
}

#login-form .btn div {
  width: 24px;
  height: 44px;
  position: absolute;
  margin-left: 16px;
}

#login-form .btn div img {
  width: 24px;
  height: 24px;
}

#login-form .btn a {
  line-height: 45px;
}

#login-form .btn strong {
  font-weight: normal;
}
#login-form .btn-kakao a,
#login-form .btn-kakao a:link,
#login-form .btn-kakao a:visited,
#login-form .btn-kakao a:hover,
#login-form .btn-kakao a:active,
#login-form .btn-kakao a:focus {
  color: #3c1e1e;
}

#login-form .btn-naver a,
#login-form .btn-naver a:link,
#login-form .btn-naver a:visited,
#login-form .btn-naver a:hover,
#login-form .btn-naver a:active,
#login-form .btn-naver a:focus,
#login-form .btn-facebook a,
#login-form .btn-facebook a:link,
#login-form .btn-facebok a:visited,
#login-form .btn-facebook a:hover,
#login-form .btn-facebook a:active,
#login-form .btn-facebook a:focus {
  color: #fff;
}

#login-form .modal-footer {
  height: 55px;
  text-align: center;
  padding: 0;
}

#login-form .modal-footer a {
  font-size: 14px;
  color: #444;
  font-weight: 500;
  box-sizing: border-box;
}

#login-form .modal-footer .join-menu-block:first-of-type {
  border-right: 1px solid #dfdfdf;
}

#login-form .modal-footer .col-sm-6 {
  height: 100%;
  line-height: 55px;
  box-sizing: border-box;
  float: left;
}
.find-button-wrapper {
  color: #e5e5e5;
  margin-bottom: 40px;
}
.find-button-wrapper button {
  border: none;
  background-color: transparent;
  color: #818181;
}

#regist-form input {
  margin-top: -1px;
  font-size: 16px;
}

#regist-form input:focus {
  border-color: #dfdfdf !important;
}

#regist-form .text-left {
  border: 1px solid #dfdfdf;
  margin: 27px 0;
  color: #444;
  font-size: 14px;
}

#regist-form .text-left .form-group {
  margin: 0;
  padding: 12px;
}

#regist-form .text-left .form-group:first-of-type {
  background-color: #eee;
}

#regist-form .text-left .form-group {
  border-bottom: 1px solid #dfdfdf;
}

#regist-form .text-left .form-group:last-child {
  border-bottom: none;
}

#regist-form .text-left .form-group .checkbox {
  margin: 0;
}

#regist-form .gray {
  color: #818181;
}

#regist-form .red {
  color: #1db177;
}

#regist-form div.form-group label + a {
  float: right;
}

#regist-form div.form-group i.fa {
  font-size: 11px;
}

#regist-form button#registsubmit {
  height: 50px;
  font-size: 16px;
  background-color: #1db177;
  border: none;
}

#regist-form input[type='checkbox']#agreeAll + label,
#regist-form input[type='checkbox']#agreeAll:checked + label,
#regist-form input[type='checkbox'].terms + label,
#regist-form input[type='checkbox'].terms:checked + label {
  padding-left: 40px;
  height: 20px;
  line-height: 20px;
  cursor: pointer;
}

#regist-form input[type='checkbox']#agreeAll + label,
#regist-form input[type='checkbox'].terms + label {
  background: url('/images/gray_rounded_checkbox_off.png') no-repeat 0 0;
  background-size: 20px;
}

#regist-form input[type='checkbox']#agreeAll:checked + label {
  background: url('/images/btn-check-all@2x.png') no-repeat 0 0;
  background-size: 20px;
  cursor: pointer;
}

#regist-form input[type='checkbox'].terms:checked + label {
  background: url('/images/gray_rounded_checkbox_on.png') no-repeat 0 0;
  background-size: 20px;
}

#regist-form input[type='checkbox'].terms + label {
  font-weight: normal;
  color: #444;
  font-size: 12px;
}

/* common modal style */

.modal .alert {
  display: none;
}
