* {
  margin: 0;
  padding: 0;
  list-style: none;
}
dl, ol, ul, li, p, h1, h2, h3, h4, h5 {
  margin: 0;
  padding: 0;
}
body {
  background: url('../images/loginbg.jpg') no-repeat;
  background-size: cover;
  height: 100vh;
}

a {
  color: #333;
  text-decoration: none;
  outline: none; 
}
a:active {
  star: expression(this.onFocus=this.blur()); 
}
a:link {
  text-decoration: none;
  outline: none; 
}
a:visited {
  text-decoration: none;
  outline: none; 
}
a:hover {
  text-decoration: none;
  color: #fb2600;
  outline: none; 
}


.modal-backdrop {
  z-index: inherit;
}

.cd-user-modal {
  width: 100vw;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
}
.login-box {
  display: flex;
}
.login-left {
  padding: 40px 40px 20px;
  width: 400px;
  background-color: rgba(0, 0, 0, .4);
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.login-left .adv {
  margin-top: 30px;
  line-height: 40px;
  font-size: 18px;
  color: rgba(255, 255, 255, .7);
}
.login-left .pic {
  margin-top: 20px;
}

.login-right {
  padding: 20px;
  width: 540px;
  background-color: #fff;
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
  box-sizing: border-box;
}

.cd-user-modal.is-visible {
  visibility: visible;
  opacity: 1;
  -webkit-transition: opacity 0.3s 0, visibility 0 0;
  -moz-transition: opacity 0.3s 0, visibility 0 0;
  transition: opacity 0.3s 0, visibility 0 0;
}

.cd-user-modal-container {
  position: relative;
  cursor: auto;
}
.cd-user-modal-container .cd-switcher:after {
  content: "";
  display: table;
  clear: both;
}
.cd-user-modal-container .cd-switcher li {
  width: 40%;
  text-align: center;
  float:left;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
}
.cd-user-modal-container .cd-switcher li:first-child a {
  border-radius: .25em 0 0 0;
}
.cd-user-modal-container .cd-switcher li:last-child a {
  border-radius: 0 .25em 0 0;
}
.cd-user-modal-container .cd-switcher a {
  display: block;
  width: 50%;
  height: 50px;
  line-height: 50px;
  font-size: 1.4rem;
  font-weight: bold;
  color: #666;
}
.cd-user-modal-container .cd-switcher a.selected {
    color: #3198E9;
    border-bottom: 3px solid #3198E9;
}
@media only screen and (min-width: 600px) {
  .cd-user-modal-container .cd-switcher a {
    height: 70px;
    line-height: 70px;
  }
}

.cd-form {
  padding: 1.4em;
 
}
.cd-form .fieldset {
  position: relative;
  margin: 1.4em 0;
}
.cd-form .fieldset:first-child {
  margin-top: 0;
}
.cd-form .fieldset:last-child {
  margin-bottom: 0;
}
.cd-form label {
  font-size: 14px;
  font-size: 0.875rem;
}
.cd-form label.image-replace {
  /* replace text with an icon */
  display: inline-block;
  position: absolute;
  left: 15px;
  top: 50%;
  bottom: auto;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
  height: 20px;
  width: 20px;
  overflow: hidden;
  text-indent: 100%;
  white-space: nowrap;
  color: transparent;
  text-shadow: none;
  background-repeat: no-repeat;
  background-position: 50% 0;
}
.cd-form label.cd-username {
  background-image: url("../images/cd-icon-username.png");
  background-size: 100%;
}
.cd-form label.cd-email {
  background-image: url("../images/cd-icon-email.svg");
    background-size: 100%;
}
.cd-form label.cd-password {
  background-image: url("../images/cd-icon-password.png");
    background-size: 100%;
}
.cd-form input {
  background-color: #F1F4F9;
  border-radius: 0.25em;
}
.cd-form input.full-width {
  width: 100%;
  
}
.cd-form input.has-padding {
  padding: 12px 20px 12px 50px;
}
.cd-form input.has-border {
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
}
.cd-form input.has-border:focus {
  border-color: #343642;
  box-shadow: 0 0 5px rgba(52, 54, 66, 0.1);
  outline: none;
}
.cd-form input.has-error {
  border: 1px solid #d76666;
}
.cd-form input[type=password] {
  padding-right: 65px;
}
.cd-form input[type=button] {
  margin-top: 2em;
  padding: 16px 0;
  font-size: 1.2rem;
  color: #fff;
  background: #3198E9;
  border: 0;
  border-radius: 5px;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  cursor: pointer;
}

.cd-form .hide-password {
  display: inline-block;
  position: absolute;
  top: 50%;
  right: 10px;
  bottom: auto;
  cursor: pointer;
  padding: 12px 10px;
  width: 100px;
  font-size: 1rem;
  color: #3198E9;
  background: none;
  border-radius: 3px;
  border: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  -ms-appearance: none;
  -o-appearance: none;
  appearance: none;
  -webkit-transform: translateY(-50%);
  -moz-transform: translateY(-50%);
  -ms-transform: translateY(-50%);
  -o-transform: translateY(-50%);
  transform: translateY(-50%);
}
.cd-form .hide-password:focus{
  outline:none
}
.cd-form .cd-error-message {
  display: inline-block;
  position: absolute;
  left: -5px;
  bottom: -35px;
  background: rgba(215, 102, 102, 0.9);
  padding: .8em;
  z-index: 2;
  color: #FFF;
  font-size: 13px;
  font-size: 0.8125rem;
  border-radius: 0.25em;
  pointer-events: none;
  visibility: hidden;
  opacity: 0;
  -webkit-transition: opacity 0.2s 0, visibility 0 0.2s;
  -moz-transition: opacity 0.2s 0, visibility 0 0.2s;
  transition: opacity 0.2s 0, visibility 0 0.2s;
}
.cd-form .cd-error-message::after {
  content: '';
  position: absolute;
  left: 22px;
  bottom: 100%;
  height: 0;
  width: 0;
  border-left: 8px solid transparent;
  border-right: 8px solid transparent;
  border-bottom: 8px solid rgba(215, 102, 102, 0.9);
}
.cd-form .cd-error-message.is-visible {
  opacity: 1;
  visibility: visible;
  -webkit-transition: opacity 0.2s 0, visibility 0 0;
  -moz-transition: opacity 0.2s 0, visibility 0 0;
  transition: opacity 0.2s 0, visibility 0 0;
}
.bottom-info {
    padding: 0 1.4rem;
    font-size: 1rem;
}
.bottom-info a {
    color: #3198E9;
}

.modal-titleDiv {
    width: 100%; 
    display: flex;
    justify-content: center; 
   align-items: center;
}

.modal-title {
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}
.service-txt {
    margin-bottom: 20px;
    font-size: .875rem;
    line-height: 1.5;
}


@media only screen and (min-width: 1080px) {
  .cd-form {
    padding: 2em;
  }
  .cd-form .fieldset {
    margin: 2em 0;
  }
  .cd-form .fieldset:first-child {
    margin-top: 0;
  }
  .cd-form .fieldset:last-child {
    margin-bottom: 0;
  }
  .cd-form input.has-padding {
    padding: 16px 20px 16px 50px;
  }
  .cd-form input[type=submit] {
    padding: 14px 0;
  }
  .bottom-info {
    padding:  0 2em;
  }
}
@media only screen and (max-width: 1079px) {
    .login-left {
        display: none;
    }
    .login-right {
        border-radius: 10px;
    }
}
@media only screen and (max-width: 767px) {
    .login-right {
        width: inherit;
    }
    .cd-user-modal-container .cd-switcher li {
        width: 50%;
    }
    .cd-form input[type=submit] {
        padding-top: 12px;
        padding-bottom: 12px;
        font-size: 1rem;
    }
    .bottom-info {
        font-size: .875rem;
    }
    .cd-user-modal-container .cd-switcher a {
        font-size: 1.1rem;
    }
}


#cd-login, #cd-signup {
  display: none;
}

#cd-login.is-selected, #cd-signup.is-selected {
  display: block;
}
#service{
   padding-right:470px ! important;
}
#policy{
   padding-right:470px ! important;
}
.modal-content{
  width: 200%;
  overflow: auto;
  max-height: 600px
}

