.regist-container {
  justify-content: center;
  flex-direction: row;
  margin-top: 3em;
  margin-bottom: 3em;
}

.notice {

  width: 500px;
  background: url('http://localhost:8888/formosa_test/wp-content/uploads/2018/07/window-view-1081788_1280.jpg');
  background-size: cover;
  background-position: right;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 1px -1px 1px rgba(0, 0, 0, 0.15);

}

.notice .content {
  box-sizing: border-box;

  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.5);
  color: white;
  margin: 0;
  padding: 40px;
  line-height: 26px;

}

.notice .content h2 {
  margin: 0;
  padding-bottom: 20px;
}

.form-container {
  box-sizing: border-box;
  font-family: 'Roboto';
  max-width: 600px;
  width: 600px;
  display: block;
  background: #FFF;
  padding: 10px 50px 50px;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.25), 0 10px 10px rgba(0, 0, 0, 0.22), 1px -1px 1px rgba(0, 0, 0, 0.15);
}

.form-container .title {
  font-size: 2em;
  text-align: center;
  padding: .5em;

}

.form-container h2 {
  text-align: center;
  margin-bottom: 50px;
}

.form-container h2 small {
  font-weight: normal;
  color: #888;
  display: block;
}

.form-container .footer {
  text-align: center;
}

.form-container .footer a {
  color: #53B2C8;
}

/* form starting stylings ------------------------------- */
.form-container .group {
  position: relative;
  margin-bottom: 20px;
  margin-left: 50px;
}

.form-container .hint-group {
  margin-bottom: 15px;

}

.form-container .group .hint {
  padding-left: 5px;
  margin-top: 2px;
  font-size: .8em;
  color: #ccc;
}

.form-container input[type="date"]::placeholder {
  display: none;
}

.form-container input[type="text"],
.form-container input[type="email"],
.form-container input[type="tel"],
.form-container input[type="date"] {
  font-size: 1.2em;
  padding: 10px 10px 10px 5px;
  display: block;
  box-sizing: border-box;
  width: 100%;
  border: none;
  border-bottom: 1px solid #757575;
  outline: none;
  background: white;
  border-radius: 0;
}

.form-container input[type="text"]:focus {
  outline: none;
}

.form-container .result {
  padding: 24px 0;
  font-size: 1.3em;
}

/* LABEL ======================================= */
.form-container label {
  color: #999;
  font-size: 1.2em;
  font-weight: normal;
  position: absolute;
  pointer-events: none;
  left: 5px;
  top: 10px;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
  top: -14px;
  font-size: 14px;
}

/* active state */

/* 有問題沒辦法判斷是否有職，先將此段程式碼拿掉
 input:focus ~ label, input:valid ~ label, input:invalid ~ label 		 		{
  top:-20px;
  font-size:14px;
  color:#5264AE;
}
*/


input:focus~label {

  color: #5264AE;
}


/* BOTTOM BARS ================================= */
.form-container .bar {
  position: relative;
  display: block;
  width: 100%;
  border-radius: 0 !important;
}

.form-container .bar:before,
.bar:after {
  content: '';
  height: 2px;
  width: 0;
  bottom: 1px;
  position: absolute;
  background: #5264AE;
  transition: 0.2s ease all;
  -moz-transition: 0.2s ease all;
  -webkit-transition: 0.2s ease all;
}

.form-container .bar:before {
  left: 50%;
}

.form-container .bar:after {
  right: 50%;
}

/* active state */
.form-container input:focus~.bar:before,
input:focus~.bar:after {
  width: 50%;
}

/* HIGHLIGHTER ================================== */
.form-container .highlight {
  position: absolute;
  height: 60%;
  width: 100px;
  top: 25%;
  left: 0;
  pointer-events: none;
  opacity: 0.5;
}

/* active state */
.form-container input:focus~.highlight {
  -webkit-animation: inputHighlighter 0.3s ease;
  -moz-animation: inputHighlighter 0.3s ease;
  animation: inputHighlighter 0.3s ease;
}

/* ANIMATIONS ================ */
@-webkit-keyframes inputHighlighter {
  from {
    background: #5264AE;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@-moz-keyframes inputHighlighter {
  from {
    background: #5264AE;
  }

  to {
    width: 0;
    background: transparent;
  }
}

@keyframes inputHighlighter {
  from {
    background: #5264AE;
  }

  to {
    width: 0;
    background: transparent;
  }
}

.submit-btn {
  padding: .5em 0 !important;
  width: 300px;
  border: none !important;
  font-size: 1.2em !important;
  text-transform: capitalize;
  background: #E2C467;
  color: white !important;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.19), 0 6px 6px rgba(0, 0, 0, 0.23) !important;
  margin: 0 auto !important;
  margin-top: 24px !important;
  display: block !important;
}

.regist-container .notice .content .notice-word {
  color: white;
}


.remove-btn {
  padding: .5em 0;
  text-align: center;
  border: none;
  font-size: 1em;
  background: #943735;
  color: #ccc;
  display: block;
  cursor: pointer;
  transition: .3s ease;
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.19), 0 3px 3px rgba(0, 0, 0, 0.23);

}

.remove-btn:hover {
  background: #946748;
  color: #ddd;
}

.add-btn {
  box-shadow: 0 5px 12px rgba(0, 0, 0, 0.19), 0 3px 3px rgba(0, 0, 0, 0.23);
  padding: .2em .5em;
  text-align: center;
  border: none;
  font-size: 1em;
  background: #313851;
  color: #ccc;
  margin-top: 1em;
  cursor: pointer;
  margin-bottom: 12px;
  transition: .3s ease;
}

.add-btn:hover {
  background: #354958;
}

.add-group {
  text-align: center;
  margin-top: .8em;
}

.form-container .submit-btn-disabled {
  background-color: #666;
  color: black;
  cursor: wait;
}

.form-container .submit-btn-disabled:hover {
  background-color: #666;
  color: black;
  cursor: wait;
}

/* rwd for tablet */
@media only screen and (max-width: 1024px) {
  .regist-container {
    margin-bottom: 50px;
    height: inherit;
    display: flex;
  }

  .regist-container .content {
    position: relative;
    padding: 24px;

    left: 0;
  }

  .form-container {
    position: relative;
    left: 0;

    margin: 0;
    padding: 12px 2px;
    height: inherit;
  }

  .form-container input {
    font-size: 12px;
  }

  .form-container .group {

    margin-left: 10px;
  }

  input[type="text"],
  .form-container input[type="email"],
  .form-container input[type="tel"],
  .form-container input[type="date"] {
    font-size: .8em;
  }
}

/* rwd for phone */
@media only screen and (max-width: 450px) {
  .regist-container {
    height: inherit;
    display: flex;
    flex-direction: column-reverse;
  }

  .regist-container .notice {
    position: relative;
    flex: 1;
    left: 0;
    margin: 0;
    height: inherit;
    width: 100%;
  }

  .form-container {
    position: relative;
    left: 0;
    flex: 1;
    height: inherit;
    width: inherit;
  }

  .submit-btn {
    width: inherit;
    padding: .5em !important;
  }

  .form-container label {
    color: #999;
    font-size: 10px;

  }

  #search_form .search-btn {
    margin-top: 10px;
  }

  .search-container .shadow {
    height: 100%;
  }

}

/* Regist 註冊 - 過場動畫 */

.rsir-shadow-box {
  width: 100%;
  height: 100%;
  position: fixed;
  top: 0;
  left: 0;
  background-color: rgba(0, 0, 0, 0.45);
  z-index: 50;
}

.loader-section {
  z-index: 60;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.loader-section .loader {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #088448;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 1s linear infinite;

}

.rsir-shadow-box.hide {
  display: none;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }

  3% {
    transform: rotate(3deg);
  }

  27% {
    transform: rotate(25deg);
  }

  100% {
    transform: rotate(360deg);
  }
}