.popups .popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 997;
}

.mCS-popup-2columns > .mCSB_container {
  margin-right: 0;
}

/*-- popup table --*/
.popups {
  background-color: #e2e2e2;
  font-size: 16px;
  font-size: 1rem;
  box-sizing: border-box;
}

@media (max-width: 90em) {
  .popups {
    font-size: .75rem;
  }
}

.popups .popup-scrollable {
  height: 100%;
  background-color: #f3f3f3;
  /*background-image: url("../img/logo-text.svg"), url("../img/bg-popup.png");*/
  background-image: url("../img/logo-text.png"), url("../img/bg-popup.png");
  background-repeat: no-repeat, no-repeat;
  background-position: 2vw 2vw, bottom left;
  background-size: 300px auto, 80%;
  overflow: hidden;
  overflow-y: auto;
}

@media (max-width: 64em) {
  .popups .popup-scrollable {
    background-size: 210px auto, 80%;
  }
}

.popups .popup-content-t {
  min-height: 100vh;
  height: 100vh;

  padding: 80px 10% 50px 10%;
  box-sizing: border-box;
  border: 10px solid #e2e2e2;

  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;

  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;

}

@media (max-width: 64em) {
  .popups .popup-content-t {
    -webkit-box-align: start;
        -ms-flex-align: start;
            align-items: flex-start;
    min-height: none;
    padding: 8em 1em;
  }
}

.popups .popup-content-t .content-left {
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
  -webkit-box-pack: center;
      -ms-flex-pack: center;
          justify-content: center;
  margin-right: 2%;

  margin-top: -7%;
}

.popups .popup-content-t .content-left,.popups .popup-content-t .content-left .contact-content {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
}

.popups .popup-content-t .content-left .contact-content {
  position: relative;
  padding: 5em 5em 5em 0;
  font-size: 12.8px;
  font-size: 1rem;
  border: 1px solid #535353;
  border: 1px solid rgba(83, 83, 83, .1);
  border-width: 12px;
  border-left-width: 0;
  width: 80%;
}

@media (max-width: 90em) {
  .popups .popup-content-t .content-left .contact-content {
    font-size: .7rem;
  }
}

.popups .popup-content-t .content-left .contact-content:before, .popups .popup-content-t .content-left .contact-content:after {
  position: absolute;
  left: 0;
  width: 12px;
  height: 15%;
  background-color: #535353;
  background-color: rgba(83, 83, 83, .1);
  content: '';
}

.popups .popup-content-t .content-left .contact-content:before {
  top: 0;
}

.popups .popup-content-t .content-left .contact-content:after {
  bottom: 0;
}

.popups .popup-content-t .content-left .contact-content .logo {
  width: 14em;
  height: 14em;
  margin-left: calc(-7em + 6px);
  background-image: url("../img/logo2.png");
  background-repeat: no-repeat;
  background-position: center;
  background-size: auto 90%;
}

.popups .popup-content-t .content-left .contact-content .company {
  margin: 0 2em;
}

.popups .popup-content-t .content-left .contact-content .company .title {
  margin-top: 0;
  color: #231815;
  font-size: 1.9em;
  font-weight: 500;
  letter-spacing: .07em;
  line-height: 1;
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-left .contact-content .company .title {
    margin-bottom: .5em;
    font-size: 1.8em;
  }
}

.popups .popup-content-t .content-left .contact-content .company .info {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  color: #7a7979;
}

.popups .popup-content-t .content-left .contact-content .company .contact-detail {
  margin: 0;
  font-size: 1em;
  line-height: 1.7;
  white-space: pre-line;
}

.popups .popup-content-t .content-left .contact-content .buttons {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  position: absolute;
  bottom: 0;
  left: 50%;
  -webkit-transform: translate(-50%, 50%);
          transform: translate(-50%, 50%);
}

.popups .popup-content-t .content-left .contact-content .buttons .btn-contact {
  display: block;
  margin: 0 .5em;
  padding: 1.2em 1.9em;
  color: #fff;
  font-size: 1em;
  text-decoration: none;
  text-transform: uppercase;
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-left .contact-content .buttons .btn-contact {
    width: 0.2em;
    height: 0.2em;
    padding: 1.5em;
    border: 0;
    border-radius: 100%;
    background-repeat: no-repeat;
    background-position: center;
    color: transparent;
    font-size: 1em;
  }
}

.popups .popup-content-t .content-left .contact-content .buttons .btn-mail {
  border: 1px solid #0294b3;
  background-color: #00b6dd;
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-left .contact-content .buttons .btn-mail {
    background-color: #01a480;
    background-image: url("../img/icon-contact.png");
    background-size: 60% auto;
  }
}

.popups .popup-content-t .content-left .contact-content .buttons .btn-facebook {
  display: none;
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-left .contact-content .buttons .btn-facebook {
    display: block;
    background-color: #226db0;
    background-image: url("../img/icon-facebook.png");
    background-size: auto 60%;
  }
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-left {
    display: none;
  }
}

.popups .popup-content-t .content-right {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-flex: 1;
      -ms-flex: 1 1 0%;
          flex: 1 1 0%;
  -webkit-box-orient: vertical;
  -webkit-box-direction: normal;
      -ms-flex-direction: column;
          flex-direction: column;
  box-sizing: border-box;
	overflow-y: auto;
	height: 100vh;
}

.popups .popup-content-t .content-right .title {
  margin: 0;
  margin-bottom: .5em;
  color: #0f0d0d;
  font-size: 2.5em;
  font-weight: normal;
  line-height: 1;
  text-align: center;
}

.popups .popup-content-t .content-right .form {
  padding: 2em;
  background-color: #fff;
  font-size: 18px;
  box-sizing: border-box;
}

@media (max-width: 90em) {
  .popups .popup-content-t .content-right .form {
    /*font-size: 1.5em;*/
  }
}

@media (max-width: 64em) {
  .popups .popup-content-t .content-right .form {
    /*padding: 1em;*/
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-content-t .content-right .form {
    font-size: 1.25em;
  }
}

.popups .popup-content-t .content-right .form .input-row {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  -webkit-box-align: center;
      -ms-flex-align: center;
          align-items: center;
  padding: 1.3em 0;
  border-bottom: 1px solid #dcdada;
}

.popups .popup-content-t .content-right .form .input-row:last-child {
  border-bottom: 0;
}

.popups .popup-content-t .content-right .form .label {
  -webkit-box-flex: 1;
      -ms-flex: 1;
          flex: 1 1 0%;

  display: inline-block;

}

.popups .popup-content-t .content-right .form .input,
.popups .popup-content-t .content-right .form .select,
.popups .popup-content-t .content-right .form .datepicker {
  -webkit-box-flex: 2;
      -ms-flex: 2;
          flex: 2 1 0%;
  border: 0;
  border-radius: 0;
  background-color: transparent;
  font-weight: lighter;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
  display: inline-block;
}

.popups .popup-content-t .content-right .form textarea {
  height: 29px;
}

.popups .popup-content-t .content-right .form .select {
  position: relative;
}

.popups .popup-content-t .content-right .form .select:after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1em;
  height: 1em;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  background-color: #a0a0a0;
  color: #fff;
  font-size: 1.4em;
  line-height: 1em;
  text-align: center;
  content: '\25be';
  pointer-events: none;
}

.popups .popup-content-t .content-right .form .select select {
  width: 100%;
  cursor: pointer;
}

.popups .popup-content-t .content-right .form .select select::-ms-expand {
  display: none;
}

.popups .popup-content-t .content-right .form .datepicker {
  position: relative;
}

.popups .popup-content-t .content-right .form .datepicker:after {
  position: absolute;
  top: 50%;
  right: 0;
  width: 1.5em;
  height: 1.5em;
  -webkit-transform: translate(0, -50%);
          transform: translate(0, -50%);
  background-image: url("../img/icon-calendar.png");
  background-position: center;
  background-size: cover;
  content: '';
  pointer-events: none;
}

.popups .popup-content-t .content-right .form .datepicker input {
  width: 100%;
  cursor: pointer;
}

.popups .popup-content-t .content-right .form .btn-submit {
  margin: 0 auto;
  padding: .6em 3em;
  border: 1px solid #020202;
  border-radius: 0;
  background-color: transparent;
  text-transform: uppercase;
  cursor: pointer;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.popups .btn-close {
  position: absolute;
  top: 70px;
  right: 70px;
  width: 40px;
  height: 40px;
  padding: 0;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  border: 0;
  border-radius: 0;
  outline: none;
  background: none;
  color: transparent;
  cursor: pointer;
  z-index: 1;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (max-width: 64em) {
  .popups .btn-close {
    top: 24px;
    right: 20px;
    width: 30px;
    height: 30px;
  }
}

.popups .btn-close:hover {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

@media (max-width: 64em) {
  .popups .btn-close:hover {
    -webkit-transform: none;
            transform: none;
  }
}

.popups .btn-close:before, .popups .btn-close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #c5c5c5;
  content: '';
}

@media (max-width: 64em) {
  .popups .btn-close:before, .popups .btn-close:after {
    width: 30px;
    height: 2px;
  }
}

.popups .btn-close:before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.popups .btn-close:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

/* Custom */
.popups .popup-signin .popup-content-t .content-left {
  margin-top: 0%;
}

.popups .popup-signup .popup-content-t .content-left {
  /*margin-top: -230px;*/
  margin-top: -430px;

}

.popups .popup-signup .popup-content-t .content-right .form .input-row {
  padding: 0.9em 0;
}

/*-- 1.popup-news --*/

.popups .popup-news {
  background-color: #000000;
  background-color: rgba(0, 0, 0, .9);
  text-align: center;
}

.popups .popup-news:before {
  content: "";
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.popups .popup-news.on {
  display: block;
  overflow-y: auto;
}

@media (max-width: 64em) {
  .popups .popup-news.on {

  }
}

.popups .popup-news.plain-text .popup-content .article {
   width: auto;
   height: auto;
}

.popups .popup-news.plain-text .popup-content {
  max-width: 700px;
}

.popups .popup-news.plain-text .popup-content .article .content {
  height: auto;
}

@media (max-width: 64em) {
  .popups .popup-news.plain-text .popup-content .article {
    height: 100%;
  }
}

.popups .popup-news .popup-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  width: 90%;
  max-width: 960px;
  font-size: 16px;
  padding: 120px 0 120px 0;
  margin: 0 auto;
  box-sizing: border-box;
  text-align: left;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content {
    padding: 80px 0 50px 0;
  }
}

@media (max-width: 64em) {
}

.popups .popup-news .popup-content .photos {
  position: relative;
  float: left;
  width: calc(50% - 10px);
  height: 550px;
  margin: 0 10px 0 0;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .photos {
    float: none;
    width: 100%;
    height: auto;
  }
}

.popups .popup-news .popup-content .photos .photo-group {
  position: relative;
  height: 100%;
  width: 100%;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .photos .photo-group {
    margin: 0 0 10px 0;
    height: 550px;
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-news .popup-content .photos .photo-group {
    height: 300px;
  }
}

.popups .popup-news .popup-content .photos .photo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  -webkit-transition: opacity .5s;
  transition: opacity .5s;
  opacity: 0;
  margin: 0;
}

.popups .popup-news .popup-content .photos .photo.on {
  opacity: 1;
}

.popups .popup-news .popup-content .photos .photo img {
  display: block;
  width: 100%;
  height: 100%;
  background-position: center;
  background-size: contain;
	background-repeat: no-repeat;
}

.popups .popup-news .popup-content .photos .photo .caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: .5em;
  background-color: #000000;
  background-color: rgba(0, 0, 0, .5);
  color: #fff;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
  box-sizing: border-box;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .photos .photo .caption {
    font-size: 18px;
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-news .popup-content .photos .photo .caption {
    font-size: 15px;
  }
}

.popups .popup-news .popup-content .photos .controls {
  display: -webkit-box;
  display: -ms-flexbox;
  display: flex;
  position: absolute;
  bottom: 0;
  left: 0;
  -webkit-box-pack: justify;
      -ms-flex-pack: justify;
          justify-content: space-between;
  width: 100%;
  padding-top: 1em;
  -webkit-transform: translateY(100%);
          transform: translateY(100%);
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .photos .controls {
    position: relative;
    padding-top: 0;
    padding-bottom: .5em;
    -webkit-transform: none;
            transform: none;
  }
}

.popups .popup-news .popup-content .photos .btn-switch {
  position: relative;
  width: 3em;
  height: 3em;
  padding: 0;
  -webkit-transition: background-color .3s, border-color .3s;
  transition: background-color .3s, border-color .3s;
  border: 1px solid #707070;
  border-radius: 0;
  outline: none;
  background-color: #404040;
  color: transparent;
  cursor: pointer;
  box-sizing: border-box;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

.popups .popup-news .popup-content .photos .btn-switch:before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0.9em;
  height: 0.9em;
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
  border: 2px solid #fff;
  content: '';
  box-sizing: border-box;
}

.popups .popup-news .popup-content .photos .btn-switch:hover {
  border-color: #434343;
  background-color: #282828;
}

.popups .popup-news .popup-content .photos .btn-switch.btn-prev:before {
  -webkit-transform: translate(-25%, -50%) rotate(45deg);
          transform: translate(-25%, -50%) rotate(45deg);
  border-width: 0 0 2px 2px;
}

.popups .popup-news .popup-content .photos .btn-switch.btn-next:before {
  -webkit-transform: translate(-75%, -50%) rotate(45deg);
          transform: translate(-75%, -50%) rotate(45deg);
  border-width: 2px 2px 0 0;
}

.popups .popup-news .popup-content .article {
  position: relative;
  float: left;
  width: 50%;
  height: 550px;
  padding: 1.5em;
  border: 1px solid #a0a0a0;
  background-color: #5a5959;
  box-sizing: border-box;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .article {
    float: none;
    width: 100%;
    height: auto;
  }
}

.popups .popup-news .popup-content .article .date {
  margin: 0;
  color: #369deb;
  font-weight: normal;
  font-size: 15px;
}

/*@media (max-width: 64em) {
  .popups .popup-news .popup-content .article .date {
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-news .popup-content .article .date {
    font-size: 15px;
  }
}*/

.popups .popup-news .popup-content .article .title {
  margin: .3em 0 1.5em;
  color: #fff;
  font-size: 1.5em;
  font-weight: normal;
  line-height: 1.5;
  white-space: pre-line;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .article .title {
    font-size: 30px;
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-news .popup-content .article .title {
    font-size: 20px;
    margin-bottom: 1em;
  }
}

.popups .popup-news .popup-content .article .content {
  margin: 0;
  color: #a7a6a6;
  line-height: 1.6;
  text-align: justify;
  white-space: pre-line;
  overflow: hidden;
  overflow-y: auto;
  height: 320px;
}

@media (max-width: 64em) {
  .popups .popup-news .popup-content .article .content {
    font-size: 18px;
    height: auto;
  }
}

@media (max-width: 26.5625em) {
  .popups .popup-news .popup-content .article .content {
    font-size: 15px;
  }
}

.popups .popup-news > .btn-close {
  position: absolute;
  top: 70px;
  right: 70px;
  width: 30px;
  height: 30px;
  padding: 0;
  -webkit-transition: -webkit-transform .3s;
  transition: -webkit-transform .3s;
  transition: transform .3s;
  transition: transform .3s, -webkit-transform .3s;
  border: 0;
  border-radius: 0;
  outline: none;
  background: none;
  color: transparent;
  cursor: pointer;
  z-index: 1;
  -webkit-appearance: none;
     -moz-appearance: none;
          appearance: none;
}

@media (max-width: 64em) {
  .popups .popup-news > .btn-close {
    top: 24px;
    right: 20px;
  }
}

.popups .popup-news > .btn-close:hover {
  -webkit-transform: rotate(45deg);
          transform: rotate(45deg);
}

@media (max-width: 64em) {
  .popups .popup-news > .btn-close:hover {
    -webkit-transform: none;
            transform: none;
  }
}

.popups .popup-news > .btn-close:before, .popups .popup-news > .btn-close:after {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 40px;
  height: 2px;
  -webkit-transform: translate(-50%, -50%);
          transform: translate(-50%, -50%);
  background-color: #fff;
  content: '';
}

@media (max-width: 64em) {
  .popups .popup-news > .btn-close:before, .popups .popup-news > .btn-close:after {
    width: 30px;
    height: 2px;
  }
}

.popups .popup-news > .btn-close:before {
  -webkit-transform: translate(-50%, -50%) rotate(45deg);
          transform: translate(-50%, -50%) rotate(45deg);
}

.popups .popup-news > .btn-close:after {
  -webkit-transform: translate(-50%, -50%) rotate(-45deg);
          transform: translate(-50%, -50%) rotate(-45deg);
}

.mCS-popup-content > .mCSB_container {
  margin-right: 0;
}

.mCS-popup-news > .mCSB_container {
  margin-right: 15px;
}

.mCS-popup-news .mCSB_dragger .mCSB_dragger_bar {
  width: 7px;
  border-radius: 5px;
  background-color: #f6f7f9;
  background-image: -webkit-linear-gradient(#f6f7f9, #a4a7a7);
  background-image: linear-gradient(#f6f7f9, #a4a7a7);
}

.mCS-popup-news .mCSB_draggerRail {
  width: 7px;
  border-radius: 0;
  background-color: #898989;
}

/* 組織架構圖 */
.popups .profile_chart {
  position: fixed;
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 100%;
  /*min-width: 890px;*/
  z-index: 9001;
  display: none;
  text-align: center;
  -webkit-overflow-scrolling: touch;
  overflow-scrolling: touch;
  background-color: #000000;
  background-color: rgba(0, 0, 0, .9);
}

.popups .profile_chart.on {
  display: block;
  overflow-x: auto;
  overflow-y: auto;
}

.popups .profile_chart:before {
  content: "";
  height: 100%;
  display: inline-block;
  vertical-align: middle;
}

.popups .profile_chart > .btn-close {
  /*top: 70px;
  right: 70px;*/
}

.popups .profile_chart .popup-content {
  position: relative;
  display: inline-block;
  vertical-align: middle;
  height: auto;
  width: 90%;
  text-align: left;
}

.popups .profile_chart .popup-content .group_profile_chart {
  height: 100%;
  width: 100%;
  text-align: center;
}

.popups .profile_chart .popup-content .group_profile_chart img {
  height: 100%;
  width: 90%;
  max-width: 900px;
  text-align: center;
  margin: 0 auto;
  padding: 20px 0;
}

/*@media (max-width: 48em) {*/
@media (max-width: 64em) {

  .popups .profile_chart .popup-content .group_profile_chart {
    /*width: auto;*/
    height: auto;
  }

  .popups .profile_chart .popup-content .group_profile_chart img {
    height: auto;
    width: 100%;
  }
}
