/* -- popup --*/
.mg-popup {
  width: 100%;
  position: relative;
  background: #FFF;
  margin: 35px auto;
  padding: 25px 20px;
  -webkit-background-clip: padding-box;
  -moz-background-clip: padding;
  background-clip: padding-box;
  -webkit-border-radius: 4px;
  -moz-border-radius: 4px;
  border-radius: 4px;
}

.mg-popup {
  zoom: 1;
}

.mg-popup:after {
  content: ".";
  display: block;
  clear: both;
  height: 0;
  overflow: hidden;
  visibility: hidden;
}

.mg-popup .pp-container {
  width: 100%;
}

.mg-popup .content-title {
  width: 100%;
  text-align: center;
  font-size: 18px;
  line-height: 1.4;
  font-weight: bold;
  margin-bottom: 20px;
  color: #a0489c;
}

.mg-popup .content-txt {
  width: 100%;
  text-align: center;
  font-size: 16px;
  line-height: 1.5;
  margin-bottom: 20px;
  color: #676767;
}

.mg-popup .mp-btn-block {
  width: 100%;
  position: relative;
  text-align: center;
  margin-top: 30px;
}

.mg-popup .mp-btn-block .btn {
  width: auto;
  min-width: 150px;
  margin: 0 8px;
  padding: 0 20px;
  height: 45px;
  line-height: 45px;
  color: white;
  font-size: 20px;
}

.mg-popup .mfp-close {
  color: #FFF;
  width: 24px;
  height: 24px;
  line-height: 31px;
  text-align: center;
  font-size: 40px;
  top: 20px;
  right: 20px;
  background: transparent;
  opacity: 0.8;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=40);
  -webkit-transition: 0.3s;
  -moz-transition: 0.3s;
  -ms-transition: 0.3s;
  transition: 0.3s;

  background: url('../images/events/ap-nav-icon-cxl.svg') center center / contain no-repeat;
  text-indent: 999%;
  overflow: hidden;
}

.mg-popup .mfp-close:hover {
  opacity: 1;
  filter: progid:DXImageTransform.Microsoft.Alpha(Opacity=80);
}

.mg-popup .df-table {
  display: table;
  width: 100%;
}

.mg-popup .df-table dl {
  display: table-row;
}

.mg-popup .df-table dt, .mg-popup .df-table dd {
  display: table-cell;
  padding: 7px 10px;
  font-size: 15px;
  line-height: 1.4;
  vertical-align: middle;
}

.mg-popup .mp-tip {
  font-size: 14px;
  line-height: 1.6;
  width: 100%;
  text-align: left;
}

.mg-popup .red {
  color: #ec4040;
}

.mg-popup .blue {
  color: #0D64CD;
}

.temp-popup {
  width: 500px;
  text-align: center;
}

.temp-popup .tp-txt {
  font-size: 15px;
  line-height: 1.6;
  color: #676767;
}

.basic-popup {
  width: 500px;
  text-align: center;
}

.basic-popup .tp-txt {
  font-size: 15px;
  line-height: 1.6;
  color: #676767;
}

.famiprint-process-popup {
  width: 1016px;
  text-align: center;
  background-color: #fff;
  border-radius: 30px;
  position: relative;
}


.famiprint-process-popup .box-title {
  color: #676767;
  font-size: 45px;
  text-align: center;
}
.famiprint-process-popup .content-txt {
    color: #ff4e00;
    font-size: 18px;
    line-height: 1.5;
    padding: 20px;
}
.famiprint-process-popup .box-subtitle {
    background-color: #DCEEFF;
    border-radius: 30px;
    color: #004DA0;
    display: inline-block;
    font-size: 16px;
    padding: 8px 24px;
    margin: 0 0 16px;
}
.famiprint-process-popup .process-box {
    width: 100%;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-around;
}
.famiprint-process-popup .process-box dl {
    width: calc(100% / 4 - 16px);
    margin: 0 8px 16px;
}
.famiprint-process-popup .process-box dl .img {
    width: 100%;
    margin: 0 0 8px;
}
.famiprint-process-popup .process-box dl .img img {
    width: 100%;
}
.famiprint-process-popup .process-box dl .txt {
    color: #676767;
    font-size: 14px;
    line-height: 1.5;
}
@media screen and (max-width: 768px) {
    .famiprint-process-popup {
        width: calc(100% + 12px);
        height: 100vh;
        margin: 0px auto;
        left: -6px;
        padding-top: 50px;
    }
    .famiprint-process-popup .box-title {
        font-size: 22px;
    }
    .famiprint-process-popup .process-box {
        width: 100%;
        height: calc(100vh - 270px);
        overflow-y: scroll;
    }
    .famiprint-process-popup .process-box dl {
        width: calc(100% / 2 - 16px);
    }
    .famiprint-process-popup .process-box dl .img {
        width: 100%;
    }
}
@media screen and (max-width: 480px) {
  .famiprint-process-popup .process-box {
    height: calc(100vh - 300px);
  }
}
@media screen and (max-width: 375px) {
    .famiprint-process-popup .process-box {
      height: calc(100vh - 340px);
    }
}
